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.