fix(persistence): preserve subagent session origin

This commit is contained in:
imccyu
2026-08-02 12:51:09 +08:00
committed by Tianyi Cui
parent 9d77a50c23
commit d950150cdc
30 files changed
+53 -36

No files matched your search

@@ -168,6 +168,7 @@ describe('rowToMeta', () => {
cwd: null,
parent_session: null,
seed_length: null,
origin: null,
incarnation: 'fractional',
revision: 1,
delegation_depth: null,
@@ -609,7 +610,7 @@ describe('SessionPersistenceSqlite: durability and crash semantics', () => {
})
it('exposes the schema version constant', () => {
expect(SCHEMA_VERSION).toBe(12)
expect(SCHEMA_VERSION).toBe(13)
})
it('keeps the revision stable for an empty repair hook', async () => {