| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- # Test-only composition: the SDK subagent backend on the real Loader/app path.
- # The scripted model delegates once; the child — a COMPLETE second harness
- # runtime speaking stdio JSON-RPC — echoes its process cwd, so parent-session
- # cwd inheritance is asserted keylessly end to end across the SDK wire.
- # `cwd` is deliberately omitted — the inheritance branch under test. The child
- # profile patch and isolated Harness home are machine-absolute, supplied by
- # the driving e2e.
- - id: mock-llm
- name: './mock-delegating-llm.ts'
- - id: subagent
- name: '@deepseek-ai/dsh-subagent'
- # providerName is omitted: the composition exercises the shipped default
- # (`dsh-sdk`) through the real Loader.
- - id: subagent-dsh-sdk
- name: '@deepseek-ai/dsh-subagent-dsh-sdk'
- config:
- profile: sdk
- patches: !!js JSON.parse(process.env.DSH_TEST_CHILD_PATCHES ?? '[]')
- dshHome: !!js process.env.DSH_TEST_CHILD_HOME
- provider: mock
- model: mock-echo
- env:
- DSH_TELEMETRY_DISABLED: '1'
- - id: tool-subagent
- name: '@deepseek-ai/dsh-tool-subagent'
- config:
- provider: dsh-sdk
- toolName: subagent
- # The SDK backend advertises no depthLimit: the child harness owns its own
- # recursion budget, so the local numeric default cannot apply here.
- maxDepth: 'provider-managed'
- - id: agent-spine
- name: '@deepseek-ai/dsh-agent-spine-demo'
- config:
- agents:
- - id: main
- provider: mock
- model: mock-delegate
- cwd: !!js process.cwd()
- persona: 'Test SDK subagent cwd inheritance.'
- workspaceContext: false
- - id: persistence
- name: '@deepseek-ai/dsh-session-persistence-jsonl'
- config:
- root: './.sessions'
- compression: 'none'
- - id: checkpoint-policy
- name: '@deepseek-ai/dsh-session-checkpoint-policy'
|