JinkaiLiu/dsh-autonomy ↗★ 2

dsh-autonomy

在会话中无缝切换对话与智能体模式 适合需要在 DSH 会话中灵活切换直接文本回答(Chat)与工具执行(Agent)模式的用户。

包名
dsh-autonomy
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.5
Cordis 依赖范围
^4.0.1
版本
0.1.2
许可证
MIT
最近更新
2026年9月3日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JinkaiLiu/dsh-autonomy

Configuration

Override the installed row in the profile's cordis.patch.yml:

- id: autonomy
  config:
    defaultMode: agent
    chatGuidance: >-
      You are in Chat mode. Answer directly in text. Do not use tools or take actions.
      Ask the user to switch to Agent mode when the request requires execution.
    denyMessage: >-
      Chat mode does not allow tool execution. Switch to Agent mode to use tools.

Defaults are defaultMode: agent and the guidance shown above in equivalent wording.