Files
deepseek-harness/scripts/snapshots/python-sdk-single-exe/restart/requests.json
T
Tianyi Cui 01da043737 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-24 17:28:26 +08:00

67 lines
2.0 KiB
JSON

[
{
"model": "smoke-model",
"messages": [
{
"role": "system",
"content": "{{system}}"
},
{
"role": "user",
"content": "Complete the first isolated Python SDK process turn."
},
{
"role": "user",
"content": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
}
],
"toolNames": [
"cordis_define",
"cordis_inspect_list",
"cordis_inspect_query",
"cordis_inspect_self",
"cordis_run",
"cordis_stop",
"cordis_undefine",
"job_kill",
"job_list",
"job_output",
"run_code",
"subagent",
"workflow"
]
},
{
"model": "smoke-model",
"messages": [
{
"role": "system",
"content": "{{system}}"
},
{
"role": "user",
"content": "Complete the second isolated Python SDK process turn."
},
{
"role": "user",
"content": "Current runtime context. This snapshot supersedes earlier runtime-context snapshots.\n\nCurrent DSH file policy: danger-full-access. The DSH file sandbox does not restrict file modifications by available operations.\n\nApproval prompts are disabled in this session: actions that require approval are rejected automatically — do not request sandbox escalation (do not set `sandbox_permissions`)."
}
],
"toolNames": [
"cordis_define",
"cordis_inspect_list",
"cordis_inspect_query",
"cordis_inspect_self",
"cordis_run",
"cordis_stop",
"cordis_undefine",
"job_kill",
"job_list",
"job_output",
"run_code",
"subagent",
"workflow"
]
}
]