Files

16 lines
551 B
JavaScript
Raw Permalink Normal View History

#!/usr/bin/env node
/** Test driver: one delegation turn through a headless Loader composition. */
import { boot, resolveConfigPath } from '@deepseek-ai/dsh-app-boot'
import { runFixtureTurn } from '@deepseek-ai/dsh-loader-smoke'
const configPath = process.argv[2]
if (configPath === undefined) throw new Error('acp-subagent cwd driver requires a config path')
const ctx = await boot('acp-subagent-cwd-e2e', resolveConfigPath(configPath, undefined))
try {
2026-08-08 03:08:37 +08:00
await runFixtureTurn(ctx, { task: 'delegate' })
} finally {
await ctx.fiber.dispose()
}