refactor(agent): make runtime identity explicit

This commit is contained in:
_Kerman committed 2026-08-28 17:44:56 +08:00
1 parent 375af94454
commit ebce3a5f04
61 files changed
+281 -396

No files matched your search

@@ -339,7 +339,7 @@ describe('context-overflow recovery across the real loop and compaction-basic',
provider: 'unconfigured-agent-fallback',
model: 'unconfigured-agent-fallback',
},
})
}, undefined)
agent.followup(createUserMessage({ content: [{ type: 'text', text: 'continue from history' }], source: { kind: 'user' } }))
await agent.whenIdle()
@@ -413,7 +413,7 @@ describe('context-overflow recovery across the real loop and compaction-basic',
sessionId: SessionId('alternating-recovery'),
seed: overflowHistorySeed(),
agentOptions: { provider: 'mock', model: 'mock' },
})
}, undefined)
agent.followup(createUserMessage({ content: [{ type: 'text', text: 'continue from history' }], source: { kind: 'user' } }))
await agent.whenIdle()