test(subagent-acp): cover inherited cwd through a Loader composition

The inheritance branch ran only under hand-mounted plugin tests, and
the with-key e2e always configures an explicit cwd. Add a test-only
cordis.yml (scripted delegating model + the scripted mock ACP child)
booting the stdio app through the real Loader with cwd omitted: the
child proves it ran in — and was announced — the parent session's
workspace, keylessly.
This commit is contained in:
Yichen Jiang
2026-07-21 16:51:51 +08:00
parent 04117b58bd
commit 822651a2c7
6 changed files with 191 additions and 0 deletions

3
pnpm-lock.yaml generated
View File

@@ -167,6 +167,9 @@ importers:
'@deepseek-ai/dsh-subagent':
specifier: workspace:*
version: link:../packages/subagent/subagent
'@deepseek-ai/dsh-subagent-acp':
specifier: workspace:*
version: link:../packages/subagent/subagent-acp
'@deepseek-ai/dsh-subagent-fork':
specifier: workspace:*
version: link:../packages/subagent/subagent-fork