Merge branch 'codex/simp-hide-concrete-agent-loop' into codex/simp-hide-subagent-internals
This commit is contained in:
@@ -145,7 +145,7 @@ describe('config-driven session id', () => {
|
|||||||
const config = { agents: [{ id: 'main', sessionId, model: 'mock' }] }
|
const config = { agents: [{ id: 'main', sessionId, model: 'mock' }] }
|
||||||
const firstLoop = await ctx.plugin(AgentLoop, config)
|
const firstLoop = await ctx.plugin(AgentLoop, config)
|
||||||
await expect.poll(() => ctx.agents.get(sessionId)).toBeDefined()
|
await expect.poll(() => ctx.agents.get(sessionId)).toBeDefined()
|
||||||
const first = ctx.agents.get(sessionId) as ReactLoopAgent
|
const first = ctx.agents.get(sessionId) as Agent
|
||||||
|
|
||||||
const flushGate = Promise.withResolvers<undefined>()
|
const flushGate = Promise.withResolvers<undefined>()
|
||||||
ctx.on('session/flush', (session) => {
|
ctx.on('session/flush', (session) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user