feat: register dsh-watch settings namespace + harness.balance (apiKey) + npm pack

This commit is contained in:
2026-09-01 21:10:19 +08:00
parent 0b9af194a6
commit 863005e7b1
4 changed files with 62 additions and 15 deletions
+11 -1
View File
@@ -49,11 +49,21 @@ DeepSeek Harness 插件:把当前 Harness 变成一个可被 DSHWatch 手机/
userId: "someone"
token: "shared-secret"
## DSH 设置页(手表/手机设置)
插件注册了 dsh-watch 设置命名空间。装好后,在 DSH 的 设置 -> 插件(或对应插件设置区)里可填:
- mode: direct / relay
- serverUrl / userId / token
- apiKey(DeepSeek API Key,用于 harness.balance 直接查余额;留空则用 DEEPSEEK_API_KEY 环境变量/credentials)
- reconnectMs / timeoutMs
- host / port(direct 模式)
## 暴露方法
透传 DSH apiProxy:
- harness.status / harness.prompt / harness.cancel
- harness.status / harness.prompt / harness.cancel / harness.balance
- session.list create history prompt cancel rename fork models selectModel attachment
- goal.* subagent.* workspace.* host.*
- skill.list agentPreset.* llm.* settings.* credentials.*