Răsfoiți Sursa

test(snapshot): avoid duplicate projection registry setup

Tianyi Cui 5 zile în urmă
părinte
comite
eec9c3b694
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      scripts/python-snapshot-workflow-order.spec.ts

+ 0 - 2
scripts/python-snapshot-workflow-order.spec.ts

@@ -6,7 +6,6 @@ import SessionStore, { SessionId } from '@deepseek-ai/dsh-session'
 import { WorkflowRunId } from '@deepseek-ai/dsh-workflow'
 import AgentLoop from '@deepseek-ai/dsh-agent-loop'
 import { mountAgentLoopTestDependencies } from '@deepseek-ai/dsh-agent-loop-testkit'
-import SessionProjectionRegistry from '@deepseek-ai/dsh-session-projection'
 import SubagentRuntime from '@deepseek-ai/dsh-subagent'
 import * as spawn from '@deepseek-ai/dsh-subagent-spawn-in-process'
 import { MockAdapter, textResponse } from '../packages/core/agent-loop/tests/mock-adapter.ts'
@@ -60,7 +59,6 @@ describe('advanced Python snapshot workflow ordering', () => {
       async apply(inner: Context) {
         await mountAgentLoopTestDependencies(inner)
         await inner.plugin(AgentLoop, { agents: [] })
-        await inner.plugin(SessionProjectionRegistry)
         await inner.plugin(SubagentRuntime)
         await inner.plugin(spawn, { providerName: 'spawn' })
         inner.on('agent/pre-step', ({ agent }, next) => {