2026-08-24 13:10:12 +08:00
|
|
|
# Minimal Python SDK overlay for `dsh --profile sdk`. The SDK server applies
|
|
|
|
|
# the model-facing allowlist to every root session, so later base-bundle tools
|
|
|
|
|
# cannot appear implicitly. The profile still owns JSON-RPC and persistence.
|
test(python): prove installed dsh profile customization
Migrate the packaged-runtime smoke inventory from complete Cordis trees to the sdk profile plus ordered patches. Preserve the focused minimal and advanced behaviors, update the generated durable snapshots for explicit permission events and the smaller RunResult, and keep worker, MCP, ripgrep, PTY/editor, direct JSON-RPC, and real-provider coverage.
Add an installed-only external bundle scenario that invokes the wheel's dsh plugin command with a local file package, verifies profile manifest reconciliation, imports @deepseek-ai/cordis as a peer, asserts the packaged proxy returns the exact host Context instance, and proves its system-prompt contribution reaches the model. Migrate the repository source e2e and runnable minimal example to the same profile grammar.
2026-08-23 14:56:34 +08:00
|
|
|
|
|
|
|
|
- id: system-prompt
|
|
|
|
|
config:
|
|
|
|
|
includeHarnessIdentity: false
|
|
|
|
|
includeRuntimeContext: false
|
|
|
|
|
persona: !!js process.env.DSH_SYSTEM_PROMPT ?? 'You are a helpful software engineer assistant.'
|
2026-08-24 13:10:12 +08:00
|
|
|
personaComplete: true
|
test(python): prove installed dsh profile customization
Migrate the packaged-runtime smoke inventory from complete Cordis trees to the sdk profile plus ordered patches. Preserve the focused minimal and advanced behaviors, update the generated durable snapshots for explicit permission events and the smaller RunResult, and keep worker, MCP, ripgrep, PTY/editor, direct JSON-RPC, and real-provider coverage.
Add an installed-only external bundle scenario that invokes the wheel's dsh plugin command with a local file package, verifies profile manifest reconciliation, imports @deepseek-ai/cordis as a peer, asserts the packaged proxy returns the exact host Context instance, and proves its system-prompt contribution reaches the model. Migrate the repository source e2e and runnable minimal example to the same profile grammar.
2026-08-23 14:56:34 +08:00
|
|
|
|
2026-08-24 13:10:12 +08:00
|
|
|
- id: sdk-jsonrpc-server
|
|
|
|
|
config:
|
|
|
|
|
maxTokensAsSuccess: !!js "process.env.DSH_MAX_TOKENS_AS_SUCCESS === undefined ? true : JSON.parse(process.env.DSH_MAX_TOKENS_AS_SUCCESS)"
|
|
|
|
|
toolFilter:
|
|
|
|
|
allow:
|
|
|
|
|
- bash
|
|
|
|
|
- str_replace_editor
|
|
|
|
|
|
|
|
|
|
# Remove non-tool model inputs and turn rewriting, plus the one-shot Bash row
|
|
|
|
|
# that would conflict with the persistent Bash tool inserted below.
|
test(python): prove installed dsh profile customization
Migrate the packaged-runtime smoke inventory from complete Cordis trees to the sdk profile plus ordered patches. Preserve the focused minimal and advanced behaviors, update the generated durable snapshots for explicit permission events and the smaller RunResult, and keep worker, MCP, ripgrep, PTY/editor, direct JSON-RPC, and real-provider coverage.
Add an installed-only external bundle scenario that invokes the wheel's dsh plugin command with a local file package, verifies profile manifest reconciliation, imports @deepseek-ai/cordis as a peer, asserts the packaged proxy returns the exact host Context instance, and proves its system-prompt contribution reaches the model. Migrate the repository source e2e and runnable minimal example to the same profile grammar.
2026-08-23 14:56:34 +08:00
|
|
|
- id: agent-instructions
|
|
|
|
|
disabled: true
|
|
|
|
|
- id: tool-bash
|
|
|
|
|
disabled: true
|
|
|
|
|
- id: compaction-basic
|
|
|
|
|
disabled: true
|
|
|
|
|
- id: command-compact
|
|
|
|
|
disabled: true
|
|
|
|
|
- id: tool-result-pruner
|
|
|
|
|
disabled: true
|
|
|
|
|
|
|
|
|
|
- id: tool-str-replace-editor
|
|
|
|
|
config:
|
|
|
|
|
maxOutputChars: 16000
|
|
|
|
|
|
|
|
|
|
- insert:
|
|
|
|
|
- id: pty
|
|
|
|
|
name: '@deepseek-ai/dsh-terminal'
|
|
|
|
|
- id: terminal-bash
|
|
|
|
|
name: '@deepseek-ai/dsh-terminal-bash'
|
|
|
|
|
config:
|
|
|
|
|
timeoutMs: 300000
|
|
|
|
|
- id: persistent-bash
|
|
|
|
|
name: '@deepseek-ai/dsh-tool-bash-persistent'
|
|
|
|
|
config:
|
|
|
|
|
timeoutMs: 300000
|