mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
Move examples/jsonrpc-agent to examples/python-sdk-agent and packages/examples/jsonrpc-demo to packages/sdk/python-runtime while preserving every file byte-for-byte. The directory placement now reflects the example's Python-distribution role and the private runtime carrier's SDK ownership. This commit deliberately keeps the old package names, commands, configuration, and snapshots inside their new directories. All 42 files are 100% renames; API/profile migration and naming changes follow separately so reviewers do not have to disentangle behavior from filesystem movement.
16 lines
551 B
JavaScript
16 lines
551 B
JavaScript
#!/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('sdk-subagent cwd driver requires a config path')
|
|
|
|
const ctx = await boot('sdk-subagent-cwd-e2e', resolveConfigPath(configPath, undefined))
|
|
try {
|
|
await runFixtureTurn(ctx, { task: 'delegate' })
|
|
} finally {
|
|
await ctx.fiber.dispose()
|
|
}
|