qwen-audio-agent 1.9.1 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,6 +26,10 @@ tells you:
26
26
 
27
27
  ## News
28
28
 
29
+ - **2026-08-15 · [v1.10.1](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.10.1)**
30
+ 🐛 Fixed known issues; 🖥️ improved desktop usability.
31
+ - **2026-08-13 · [v1.10.0](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.10.0)**
32
+ 🐋 Added experimental DeepSeek Harness backend support with one-click installation.
29
33
  - **2026-08-13 · [v1.9.1](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.9.1)**
30
34
  🖥️ Improved desktop task card presentation and fixed several known issues.
31
35
  - **2026-08-13 · [v1.9.0](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.9.0)**
@@ -73,11 +77,13 @@ https://github.com/user-attachments/assets/42022655-36d1-46b2-9c26-ff0765284000
73
77
  ### Core Features
74
78
 
75
79
  - Full-duplex realtime voice interaction, natural interruption, and sustained multi-turn conversation
80
+ - DashScope Qwen Audio and Qwen3.5 Omni Realtime model selection from one shared model catalog
76
81
  - One-click selection of your preferred coding Agent, reusing existing tools, MCP, and Skills
77
82
  - Frontend conversation and background tasks run in parallel; ask about progress or cancel at any time
78
83
  - Create multiple independent tasks executed asynchronously by the backend Agent, with continuous status tracking
79
84
  - Task results automatically return to the current conversation, supporting follow-up questions and modifications
80
85
  - WebUI, terminal TUI, and desktop floating orb (macOS / Windows / Linux)
86
+ - Desktop auto-sleep disconnects cloud Realtime without stopping submitted tasks; wake with a configurable shortcut or the local wake word
81
87
  - Per-user long-term personalization and cross-session memory
82
88
 
83
89
  ## Architecture
@@ -111,6 +117,7 @@ For the full design and module breakdown, see the [architecture document](docs/a
111
117
  | CodeBuddy | Native ACP | One-click install, user config required | ★★★★☆ |
112
118
  | Codex | External ACP adapter | One-click install (base + adapter), user config required | ★★★★☆ |
113
119
  | Claude Code | External ACP adapter | One-click install (base + adapter), user config required | ★★★★☆ |
120
+ | DeepSeek | Native ACP (experimental) | One-click install, DeepSeek API key required | ★★★★☆ |
114
121
 
115
122
  Ratings reflect current integration completeness, compatibility, and
116
123
  verification level: five stars indicate a thoroughly tested recommended
@@ -138,7 +145,7 @@ qwenaudio config
138
145
 
139
146
  ```dotenv
140
147
  DASHSCOPE_API_KEY=your-key
141
- # Voice frontend model: Omni Flash/Plus or Audio Flash/Plus (Plus is default)
148
+ # Voice frontend model: Omni Flash/Plus or Audio Flash/Plus (Audio Plus is default)
142
149
  QWEN_AUDIO_REALTIME_MODEL=qwen-audio-3.0-realtime-plus
143
150
  # Backend Agent: optional, leave empty or set to none for frontend-only mode
144
151
  AGENT_PROTOCOL=openclaw
@@ -171,7 +178,11 @@ platform notes, see [quick start](docs/getting-started/quickstart.md),
171
178
  ## Desktop App
172
179
 
173
180
  The desktop app provides a floating voice orb that stays on your desktop,
174
- with a built-in Gateway, auto-hide, shortcut recall, and voice wake word.
181
+ with a built-in Gateway, automatic idle sleep, a configurable wake shortcut,
182
+ and a local voice wake word. Sleep disconnects the Realtime frontend while
183
+ keeping the app, Gateway, backend Agent, and submitted tasks alive; it is not
184
+ the same as quitting or restarting the desktop app. Completed tasks can wake
185
+ the app and return their results to the conversation.
175
186
  Download the installer for your platform from the releases page, or build
176
187
  from source:
177
188
 
@@ -187,8 +198,12 @@ For visuals, orb behavior, and build instructions, see the [desktop documentatio
187
198
 
188
199
  `AGENT_PROTOCOL` is optional. Leave empty for frontend-only mode; when set,
189
200
  it reuses the installed Agent's user-level models, tools, MCP, Skills, and
190
- authentication. OpenCode and OpenClaw support one-click install with Bailian
191
- configuration.
201
+ authentication. The CLI and desktop app share one onboarding contract: reuse
202
+ an existing Agent when available, install only missing components when the
203
+ user requests one-click installation, and keep installation, configuration,
204
+ and runtime readiness as separate states. Configuration stays backend-owned;
205
+ the desktop app opens the Agent's native setup entry instead of copying or
206
+ rewriting its credentials.
192
207
 
193
208
  ```bash
194
209
  qwenaudio setup # View available backend Agents
package/README_ZH.md CHANGED
@@ -20,6 +20,10 @@
20
20
 
21
21
  ## News
22
22
 
23
+ - **2026-08-15 · [v1.10.1](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.10.1)**
24
+ 🐛 修复若干已知问题;🖥️ 提升桌面版易用性。
25
+ - **2026-08-13 · [v1.10.0](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.10.0)**
26
+ 🐋 新增实验性 DeepSeek Harness 后台接入,支持一键安装。
23
27
  - **2026-08-13 · [v1.9.1](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.9.1)**
24
28
  🖥️ 优化桌面端任务卡片展示,并修复若干已知问题。
25
29
  - **2026-08-13 · [v1.9.0](https://github.com/QwenAudio/qwen-audio-agent/releases/tag/v1.9.0)**
@@ -66,11 +70,13 @@ https://github.com/user-attachments/assets/42022655-36d1-46b2-9c26-ff0765284000
66
70
  ### 核心特色
67
71
 
68
72
  - 全双工实时语音交互、自然打断和持续多轮对话
73
+ - 从统一模型目录选择 DashScope Qwen Audio 与 Qwen3.5 Omni Realtime 模型
69
74
  - 一键选择你喜欢的办事 Agent,复用已有的工具、MCP、Skill
70
75
  - 前台对话与后台任务并驾齐驱,可随时追问任务进度或取消任务
71
76
  - 支持创建多个独立任务,由后台 Agent 异步执行,并持续追踪任务状态
72
77
  - 任务结果自动回到当前对话,支持继续追问和修改
73
78
  - 支持 WebUI、终端 TUI 和桌面悬浮球(macOS / Windows / Linux)
79
+ - 桌面版自动休眠时断开云端 Realtime,但不停止已提交任务;可通过自定义快捷键或本地唤醒词恢复
74
80
  - 支持当前用户的长期个性化覆盖与跨会话记忆
75
81
 
76
82
  ## 参考架构
@@ -103,6 +109,7 @@ https://github.com/user-attachments/assets/42022655-36d1-46b2-9c26-ff0765284000
103
109
  | CodeBuddy | 原生 ACP | 支持一键安装,需用户配置 | ★★★★☆ |
104
110
  | Codex | 外部 ACP 适配 | 支持一键安装本体与适配器,需用户配置 | ★★★★☆ |
105
111
  | Claude Code | 外部 ACP 适配 | 支持一键安装本体与适配器,需用户配置 | ★★★★☆ |
112
+ | DeepSeek | 原生 ACP(实验性) | 支持一键安装,需 DeepSeek API Key | ★★★★☆ |
106
113
 
107
114
  推荐指数综合反映当前集成完整度、兼容性和实际验证程度:五星表示已经过充分测试的
108
115
  推荐集成,四星表示正在开发或尚未完成同等范围验证。
@@ -129,7 +136,7 @@ qwenaudio config
129
136
 
130
137
  ```dotenv
131
138
  DASHSCOPE_API_KEY=your-key
132
- # 语音前台模型:Omni Flash/Plus 或 Audio Flash/Plus(Plus 默认)
139
+ # 语音前台模型:Omni Flash/Plus 或 Audio Flash/Plus(默认 Audio Plus)
133
140
  QWEN_AUDIO_REALTIME_MODEL=qwen-audio-3.0-realtime-plus
134
141
  # 后台Agent:可选,不设置或设置为 none 时,启动仅前台模式
135
142
  AGENT_PROTOCOL=openclaw
@@ -159,8 +166,10 @@ qwenaudio tui # 终端 2:TUI
159
166
 
160
167
  ## 桌面版
161
168
 
162
- 桌面版提供常驻桌面的语音悬浮球,内置 Gateway,支持自动隐藏、快捷键唤回和语音
163
- 唤醒。从发布页下载对应平台安装包,或从源码构建:
169
+ 桌面版提供常驻桌面的语音悬浮球,内置 Gateway,支持空闲自动休眠、自定义唤醒
170
+ 快捷键和本地语音唤醒。休眠时会断开 Realtime 前台,但桌面进程、Gateway、后台
171
+ Agent 和已提交任务仍继续运行;它不等于退出或重启桌面版。任务完成后可以唤醒
172
+ 桌面版,并把结果带回当前对话。从发布页下载对应平台安装包,或从源码构建:
164
173
 
165
174
  ```bash
166
175
  npm run desktop:build:local # macOS
@@ -173,7 +182,10 @@ npm run desktop:build:linux # Linux(AppImage + deb,无需签名)
173
182
  ## 后台 Agent
174
183
 
175
184
  `AGENT_PROTOCOL` 可选。留空即仅前台模式;选择后可复用已安装 Agent 的用户级
176
- 模型、工具、MCP、Skill 和认证。OpenCode 和 OpenClaw 支持一键安装与百炼配置。
185
+ 模型、工具、MCP、Skill 和认证。CLI 与桌面版共用同一套接入规范:检测到已有 Agent
186
+ 时直接复用;用户选择一键安装时只补齐缺失组件;安装、配置和运行状态分别判断。
187
+ 配置仍由后台 Agent 自己负责,桌面版打开其原生配置入口,不读取、复制或改写它的
188
+ 凭据。
177
189
 
178
190
  ```bash
179
191
  qwenaudio setup # 查看当前可用的后台 Agent
package/cli/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qwen-audio-agent/cli",
3
3
  "private": true,
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "qwenaudio": "./bin/qwenaudio.mjs"
@@ -233,11 +233,12 @@ export async function main(argv, {
233
233
  ? `✓ ${label} 已安装\n`
234
234
  : `✓ ${label} 安装完成\n`,
235
235
  )
236
+ const configurationHint = result.configurationHint || result.loginHint
236
237
  if (
237
- result.loginHint
238
+ configurationHint
238
239
  && result.authentication?.status !== 'authenticated'
239
240
  ) {
240
- stdout.write(`${result.loginHint}\n`)
241
+ stdout.write(`${configurationHint}\n`)
241
242
  }
242
243
  return 0
243
244
  }
@@ -0,0 +1,59 @@
1
+ # Minimal automation composition for qwen-audio-agent. DeepSeek Harness is a
2
+ # Developer Preview; keep vendor-specific runtime details inside this adapter.
3
+ - id: llm-deepseek
4
+ name: '@deepseek-ai/dsh-llm-deepseek'
5
+ config:
6
+ thinking: enabled
7
+ reasoningEffort: max
8
+ models:
9
+ - id: deepseek-v4-flash
10
+ - id: deepseek-v4-pro
11
+
12
+ - id: sandbox
13
+ name: '@deepseek-ai/dsh-sandbox-local'
14
+ - id: sandbox-policy
15
+ name: '@deepseek-ai/dsh-sandbox-policy'
16
+ config:
17
+ mode: !!js "process.env.DSH_PERMISSION_MODE ?? 'workspace-write'"
18
+ workspaceRoot: !!js process.cwd()
19
+ - id: subprocess
20
+ name: '@deepseek-ai/dsh-subprocess-local'
21
+ - id: bash
22
+ name: '@deepseek-ai/dsh-bash-sandbox'
23
+ config:
24
+ timeoutMs: 60000
25
+ - id: approval
26
+ name: '@deepseek-ai/dsh-user-approval'
27
+ config:
28
+ policy: !!js "process.env.DSH_PERMISSION_MODE === 'danger-full-access' ? 'never' : 'ask'"
29
+
30
+ - id: acp-agent
31
+ name: '@deepseek-ai/dsh-acp-demo'
32
+ config:
33
+ provider: deepseek-official
34
+ model: !!js "process.env.DSH_MODEL ?? 'deepseek-v4-pro'"
35
+ persistenceRoot: !!js "process.env.DEEPSEEK_HARNESS_SESSION_ROOT ?? './.sessions'"
36
+ workspaceContext:
37
+ maxBytes: 65536
38
+ persona: |
39
+ You are a capable coding and task assistant. Your working directory is {{cwd}}.
40
+ Use the available tools to complete the user's request. Verify changes when practical.
41
+ Keep the final answer concise and factual.
42
+
43
+ - id: token-meter
44
+ name: '@deepseek-ai/dsh-token-meter'
45
+ - id: compaction-basic
46
+ name: '@deepseek-ai/dsh-compaction-basic'
47
+ config:
48
+ thresholdRatio: 0.8
49
+ retainRatio: 0.08
50
+ maxTokens: 8192
51
+ compactionRetries: 1
52
+ - id: fs-sandbox
53
+ name: '@deepseek-ai/dsh-fs-sandbox'
54
+ config:
55
+ cwd: !!js process.cwd()
56
+ - id: fs-observation-policy
57
+ name: '@deepseek-ai/dsh-fs-observation-policy'
58
+ - id: tool-fs
59
+ name: '@deepseek-ai/dsh-tool-fs'
@@ -16,6 +16,7 @@ The Backend Agent handles tasks that require tools, file operations, or sustaine
16
16
  | CodeBuddy | Native ACP | Supports one-click install, requires user configuration | ★★★★☆ |
17
17
  | Codex | External ACP adapter | Supports one-click install of both the core and adapter, requires user configuration | ★★★★☆ |
18
18
  | Claude Code | External ACP adapter | Supports one-click install of both the core and adapter, requires user configuration | ★★★★☆ |
19
+ | DeepSeek | Native ACP (experimental) | Supports one-click install, requires a DeepSeek API key | ★★★★☆ |
19
20
 
20
21
  The recommendation rating reflects the current integration completeness, compatibility, and extent of real-world verification: five stars indicates a fully tested and recommended integration, while four stars indicates ongoing development or incomplete verification of the same scope.
21
22
 
@@ -25,10 +26,20 @@ Uninstalled backend agents can be installed locally with a unified command:
25
26
 
26
27
  ```bash
27
28
  qwenaudio install codex
29
+ qwenaudio install deepseek
28
30
  ```
29
31
 
30
32
  Before installation, a detection step runs to **only fill in missing components**: native ACP backends are ready to use once installed; if the core is missing, the core is installed; if the core is already installed and only the ACP adapter is missing, only the adapter is installed; if everything is ready, a prompt confirms availability. In the desktop settings page's "Backend Agent" list, an "Install" button appears at the end of rows for uninstalled backends that support one-click install, using the same installation logic as the CLI.
31
33
 
34
+ DeepSeek Harness is currently a Developer Preview. This initial integration
35
+ supports voice-triggered tasks, permission decisions, cancellation of the current
36
+ run, and final-result delivery. Its ACP endpoint does not yet expose historical
37
+ Session resume, Gateway MCP injection, or fine-grained tool progress. After
38
+ installation, run `dsh web` and configure the API key in DeepSeek's model
39
+ settings; `DEEPSEEK_API_KEY` remains available as a per-run override. Optionally
40
+ set `DEEPSEEK_HARNESS_MODEL` to
41
+ `deepseek-v4-pro` (default) or `deepseek-v4-flash`.
42
+
32
43
  View currently available backend agents:
33
44
 
34
45
  ```bash
@@ -17,6 +17,7 @@
17
17
  | CodeBuddy | 原生 ACP | 支持一键安装,需用户配置 | ★★★★☆ |
18
18
  | Codex | 外部 ACP 适配 | 支持一键安装本体与适配器,需用户配置 | ★★★★☆ |
19
19
  | Claude Code | 外部 ACP 适配 | 支持一键安装本体与适配器,需用户配置 | ★★★★☆ |
20
+ | DeepSeek | 原生 ACP(实验性) | 支持一键安装,需 DeepSeek API Key | ★★★★☆ |
20
21
 
21
22
  推荐指数综合反映当前集成完整度、兼容性和实际验证程度:五星表示已经过充分测试的
22
23
  推荐集成,四星表示正在开发或尚未完成同等范围验证。
@@ -27,6 +28,7 @@
27
28
 
28
29
  ```bash
29
30
  qwenaudio install codex
31
+ qwenaudio install deepseek
30
32
  ```
31
33
 
32
34
  安装前先检测,**只补齐缺失的组件**:原生 ACP 后台装好即可用;本体缺失时装本体;
@@ -34,6 +36,12 @@ qwenaudio install codex
34
36
  的“后台 Agent”列表中,未安装且支持一键安装的后台行尾会显示“安装”按钮,与 CLI
35
37
  使用同一份安装逻辑。
36
38
 
39
+ DeepSeek Harness 当前处于 Developer Preview。初步接入支持语音发起任务、权限确认、
40
+ 取消当前执行和最终结果回传;其 ACP 暂不支持历史 Session 续接、Gateway MCP 注入与
41
+ 细粒度工具进度。安装后运行 `dsh web`,在 DeepSeek 的模型设置中配置 API Key;
42
+ `DEEPSEEK_API_KEY` 仍可作为单次运行覆盖。可用
43
+ `DEEPSEEK_HARNESS_MODEL` 选择 `deepseek-v4-pro`(默认)或 `deepseek-v4-flash`。
44
+
37
45
  查看当前可用的后台 Agent:
38
46
 
39
47
  ```bash
@@ -43,7 +43,7 @@ It checks the backend executable, ACP integration method, and necessary Adapters
43
43
  displays the current selection. The check command itself does not install or download the backend
44
44
  Agent, does not trigger login, and does not output or validate credentials or modify model
45
45
  configuration. It indicates whether OpenCode/OpenClaw can automatically download and configure
46
- itself at formal startup; the authentication status of other backends is managed by the Agent
46
+ itself at formal startup; the configuration status of other backends is managed by the Agent
47
47
  itself.
48
48
 
49
49
  To check only a specified backend or get machine-readable results:
@@ -63,6 +63,7 @@ command:
63
63
 
64
64
  ```bash
65
65
  qwenaudio install codex
66
+ qwenaudio install deepseek
66
67
  ```
67
68
 
68
69
  - Before installation, it detects and only fills in missing components: a native ACP backend is
@@ -77,8 +78,8 @@ qwenaudio install codex
77
78
  - ACP adapters for Codex and Claude Code are provided together with the main body; Hermes uses
78
79
  the official installation script. Script-type steps display the full command before execution
79
80
  and wait for confirmation; `--yes` skips confirmation (use with caution).
80
- - After installation is complete, the availability of the backend is automatically re-detected;
81
- backends that require login will provide login instructions.
81
+ - After installation, backend availability is detected again automatically; backends that need
82
+ initialization, login, or credentials expose one consistent **Configure** action.
82
83
  - The generic `acp` backend does not provide one-click installation; please install it yourself
83
84
  and configure it via `ACP_COMMAND`.
84
85
  - In the "Backend Agent" list on the desktop edition settings page, backends that are not
@@ -86,6 +87,25 @@ qwenaudio install codex
86
87
  the row, using the same installation logic as the CLI; script-type installations will pop up
87
88
  a native confirmation dialog.
88
89
 
90
+ Desktop provides a shared shell for installation, configuration, and connection state without
91
+ encoding any Agent-specific login flow. Each backend onboarding adapter declares its trusted
92
+ configuration entry and status probe. An adapter may open a terminal today and can later provide
93
+ a browser, form, or instructions action without changing product-specific logic in Settings.
94
+ The renderer submits only a backend ID and can never assemble or execute configuration commands.
95
+
96
+ DeepSeek Harness is currently an experimental integration. After installation,
97
+ run `dsh web` and configure the official API key in its model settings. The ACP
98
+ integration reuses that credential. Its model setting is intentionally separate
99
+ from other backends so Qwen or other provider model names are not forwarded to DeepSeek:
100
+
101
+ ```dotenv
102
+ AGENT_PROTOCOL=deepseek
103
+ # Optional: deepseek-v4-pro (default) or deepseek-v4-flash
104
+ DEEPSEEK_HARNESS_MODEL=deepseek-v4-pro
105
+ ```
106
+
107
+ `DEEPSEEK_API_KEY` may still be set as an explicit per-run override.
108
+
89
109
  ## Minimal Configuration
90
110
 
91
111
  The minimal configuration only requires real-time voice credentials:
@@ -39,7 +39,7 @@ qwenaudio setup
39
39
  它会检查后台可执行文件、ACP 接入方式和必要的 Adapter,并明确显示当前选择。
40
40
  检查命令本身不会安装或下载后台 Agent,不会触发登录,也不会输出或验证凭据、修改模型
41
41
  配置。它会提示 OpenCode/OpenClaw 是否能在正式启动时自动下载和配置;其他后台
42
- 的认证状态由 Agent 自己管理。
42
+ 的配置状态由 Agent 自己管理。
43
43
 
44
44
  只检查指定后台或获取机器可读结果:
45
45
 
@@ -56,6 +56,7 @@ JSON 输出与 CLI 使用同一个共享检测模块,可供桌面版和其他
56
56
 
57
57
  ```bash
58
58
  qwenaudio install codex
59
+ qwenaudio install deepseek
59
60
  ```
60
61
 
61
62
  - 安装前先检测,只补齐缺失的组件:原生 ACP 后台装好即可用;本体缺失时装本体;
@@ -66,11 +67,29 @@ qwenaudio install codex
66
67
  - Codex、Claude Code 的 ACP 适配器随本体一并提供;Hermes 使用官方安装
67
68
  脚本。脚本类步骤执行前会逐个展示完整命令并等待确认,`--yes` 跳过确认
68
69
  (谨慎使用)。
69
- - 安装完成后自动重新检测该后台的可用状态;需要登录的后台会给出登录提示。
70
+ - 安装完成后自动重新检测该后台的可用状态;需要初始化、登录或填写凭据的后台会
71
+ 给出统一的“配置”入口。
70
72
  - 通用 `acp` 后台不提供一键安装,请自行安装后通过 `ACP_COMMAND` 配置。
71
73
  - 桌面版设置页的“后台 Agent”列表中,未安装且支持一键安装的后台行尾会显示
72
74
  “安装”按钮,与 CLI 使用同一份安装逻辑;脚本类安装会弹出原生确认框。
73
75
 
76
+ 桌面版只提供统一的安装、配置和连接状态外壳,不理解具体 Agent 的登录流程。
77
+ 每个后台 Onboarding Adapter 声明自己的受信配置入口与状态检测方式;目前入口可以
78
+ 打开官方终端流程,后续也可扩展为网页、表单或纯说明,而不需要修改设置页的产品逻辑。
79
+ 渲染层只提交后台 ID,不能自行拼接或执行配置命令。
80
+
81
+ DeepSeek Harness 当前为实验性接入。安装后运行 `dsh web`,在模型设置中配置官方
82
+ API Key,ACP 接入会直接复用该凭据。它的模型配置独立于其他后台,避免把 Qwen 等
83
+ 模型名称误传给 DeepSeek:
84
+
85
+ ```dotenv
86
+ AGENT_PROTOCOL=deepseek
87
+ # 可选:deepseek-v4-pro(默认)或 deepseek-v4-flash
88
+ DEEPSEEK_HARNESS_MODEL=deepseek-v4-pro
89
+ ```
90
+
91
+ 仍可通过 `DEEPSEEK_API_KEY` 为单次运行显式覆盖凭据。
92
+
74
93
  ## 最小配置
75
94
 
76
95
  最小配置只需要填写实时语音凭据:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qwen-audio-agent",
3
3
  "desktopName": "qwen-audio-agent.desktop",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "description": "A realtime voice frontend for mainstream AI agents.",
6
6
  "author": "qwen-audio-agent contributors",
7
7
  "license": "Apache-2.0",
@@ -22,7 +22,8 @@
22
22
  "openclaw",
23
23
  "qoder",
24
24
  "kimi-code",
25
- "claude-code"
25
+ "claude-code",
26
+ "deepseek"
26
27
  ],
27
28
  "type": "module",
28
29
  "bin": {
@@ -34,6 +35,7 @@
34
35
  "cli/package.json",
35
36
  "config/frontend-agent/",
36
37
  "config/openclaw/openclaw.json5",
38
+ "config/deepseek-harness/cordis.yml",
37
39
  "config/codebuddy/workspace/.codebuddy/models.json",
38
40
  "docs/architecture.md",
39
41
  "docs/architecture.zh.md",
@@ -0,0 +1,59 @@
1
+ import { readFileSync, statSync } from 'node:fs'
2
+ import { homedir } from 'node:os'
3
+ import { join, resolve } from 'node:path'
4
+ import {
5
+ commandAvailable,
6
+ spawnAndProxy,
7
+ } from './lib/launcher.mjs'
8
+
9
+ const binary = process.env.DEEPSEEK_HARNESS_ACP_BIN || 'dsh-acp-demo'
10
+ const configPath = process.env.DEEPSEEK_HARNESS_CONFIG
11
+ || resolve(process.cwd(), 'cordis.yml')
12
+
13
+ function yamlScalar(value) {
14
+ const text = String(value || '').trim()
15
+ if (!text) return ''
16
+ if (text.startsWith('"') && text.endsWith('"')) {
17
+ try { return JSON.parse(text) } catch { return '' }
18
+ }
19
+ if (text.startsWith("'") && text.endsWith("'")) {
20
+ return text.slice(1, -1).replaceAll("''", "'")
21
+ }
22
+ return text.replace(/\s+#.*$/, '').trim()
23
+ }
24
+
25
+ // dsh web stores provider credentials in Harness's owner-only credential
26
+ // document. The standalone ACP composition does not boot the Web profile's
27
+ // credential plugin, so bridge that official store into this one child only.
28
+ function storedDeepSeekCredential(env = process.env) {
29
+ const dshHome = String(env.DSH_HOME || '').trim() || join(homedir(), '.dsh')
30
+ const path = join(dshHome, '.credentials.yaml')
31
+ try {
32
+ const stat = statSync(path)
33
+ if (process.platform !== 'win32' && (stat.mode & 0o077) !== 0) return ''
34
+ const line = readFileSync(path, 'utf8')
35
+ .split(/\r?\n/)
36
+ .find(value => /^\s*DEEPSEEK_API_KEY\s*:/.test(value))
37
+ return yamlScalar(line?.replace(/^\s*DEEPSEEK_API_KEY\s*:/, ''))
38
+ } catch {
39
+ return ''
40
+ }
41
+ }
42
+
43
+ const apiKey = String(process.env.DEEPSEEK_API_KEY || '').trim()
44
+ || storedDeepSeekCredential()
45
+ if (!apiKey) {
46
+ console.error('DeepSeek is not configured. Run `dsh web` and add your API key.')
47
+ process.exit(1)
48
+ }
49
+ if (!commandAvailable(binary)) {
50
+ console.error(
51
+ 'DeepSeek ACP runtime is not installed. Run: '
52
+ + 'qwenaudio install deepseek',
53
+ )
54
+ process.exit(1)
55
+ }
56
+
57
+ await spawnAndProxy(binary, ['--config', configPath], {
58
+ env: { ...process.env, DEEPSEEK_API_KEY: apiKey },
59
+ })
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qwen-audio-agent/server",
3
3
  "private": true,
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "node --watch src/index.mjs",