Skip to main content

agentmux_srv_core/backend/providers/
dsh.rs

1// Copyright 2026, AgentMux Corp.
2// SPDX-License-Identifier: Apache-2.0
3
4use super::{Tier, ControllerType, ProviderConfig};
5
6// DeepSeek Harness (`dsh`): `dsh --profile acp` speaks ACP over stdio. A
7// prerelease upstream (breaking changes promised), shown as a preview. It
8// runs signed out until a prompt needs DEEPSEEK_API_KEY. Checked against
9// 0.2.0-rc.2 on 2026-10-14 (SPEC_NINE_NEW_HARNESSES_2026_10_14.md ยง7.6) and read again at 0.2.2-rc.1 on
10// 2026-11-08: the same ACP surface (`initialize` offers `sessionCapabilities.resume`, no `loadSession`,
11// http MCP only), so a session is taken back with `session/resume` (blockcontroller/acp.rs).
12pub(super) static DSH: ProviderConfig = ProviderConfig {
13    id: "dsh",
14    tier: Tier::Preview,
15    cli_command: "dsh",
16    controller_type: ControllerType::Acp,
17    app_server: None,
18    launch_args: &["--profile", "acp"],
19    persistent_launch_args: None,
20    resume_flag: None,
21    session_id_field: "sessionId",
22    styled_output_format: "acp",
23    // Moves ~/.dsh: profiles, sessions, credentials. The session-log upload
24    // is turned off by a patch in it (blockcontroller/acp_prelaunch.rs).
25    auth_config_dir_env_var: "DSH_HOME",
26    auth_dir_name: "dsh",
27    history_native_subdir: None,
28    auth_extra_env: &[("DSH_TELEMETRY_DISABLED", "1")],
29    unset_env: &[],
30    npm_package: "@deepseek-ai/dsh",
31    pinned_version: "0.2.2-rc.5",
32    base_url_env_var: None,
33    supported_vendors: &["deepseek"],
34    startup_instructions_filename: Some("AGENTS.md"),
35    native_instruction_sources: &["AGENTS.md", "CLAUDE.md"],
36    native_instruction_dirs: &[],
37};