DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

cocofhu /

cocofhu/dsh-aio-agent

Verified

This plugin has no description yet.

★ 3 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@a546722a

@cocofhu/dsh-aio-agent

English | 中文

Run sessions in Cursor, Claude Code, Codex, OpenCode, CodeBuddy or Kimi Code from inside DeepSeek Harness (DSH). Each agent appears as a mode in the mode menu, and its models appear in the native model selector. Every turn of such a session runs in the agent CLI on the DSH machine. Cursor, Claude Code, Codex, OpenCode and CodeBuddy run one process per turn in their JSON stream mode (cursor-agent --print, claude -p, codex exec --json, opencode run --format json, codebuddy --print), which reports token usage and resumes the CLI's own session by id; Kimi Code runs over the Agent Client Protocol (ACP). DSH only renders the conversation and keeps the session log; it never calls its own model for these sessions.

Switching to Cursor in the DSH mode menu, searching its models, a live turn, the trajectory and token usage

Install

Open Plugins → Add plugin, enter github:cocofhu/dsh-aio-agent, choose Install, then Enable now. From a terminal, the same install is:

dsh plugin add github:cocofhu/dsh-aio-agent

A release tarball (cocofhu-dsh-aio-agent-<version>.tgz, built with npm pack) installs the same way by its path or URL. To upgrade, uninstall the plugin and install the new version; settings stay in the profile.

Then install and sign in to the agents you want, on the machine that runs DSH:

Agent Install Sign in
Cursor curl https://cursor.com/install -fsS | bash cursor-agent login
Claude Code npm install -g @anthropic-ai/claude-code claude auth login
Codex npm install -g @openai/codex codex login
OpenCode npm install -g opencode-ai opencode auth login
CodeBuddy npm install -g @tencent-ai/codebuddy-code run codebuddy, then /login; models in ~/.codebuddy/models.json need no sign-in
Kimi Code curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash kimi acp --login

An agent that is not installed or not signed in stays out of the model selector instead of showing an error. Its settings page shows the steps above with copy buttons.

Use

  1. Pick Cursor, Claude Code, Codex, OpenCode, CodeBuddy or Kimi Code from the mode menu of a new session.
  2. Choose one of that agent's models in the model selector, or keep its default. Where the agent offers reasoning levels (Codex, OpenCode variants, Kimi Code thinking), pick one under Reasoning effort; Codex lists the models and levels of its own picker (~/.codex/models_cache.json).
  3. Send messages as usual. Replies stream in as the agent writes them. Stop, queueing and the transcript work as in any session; tool calls show up as native shell, read, write and edit steps.

The CLI keeps its own conversation context: each turn resumes the CLI session the first turn started, also after a DSH restart.

Configure

Plugins → AIO Agent lists one switchable component per agent; switching one off removes its mode and its models. Configure opens the agent's page:

  • Status: ready with its model count, or the install and sign-in steps when DSH cannot start it. Check again re-reads it.
  • Default model: used until a session picks a model.
  • Launch command: replaces the built-in executable, e.g. "/opt/Cursor Agent/cursor-agent" or /opt/codex --profile work; options after it are kept. Quote paths that contain spaces.
  • Approve permission requests: answers the requests the agent sends before acting, such as running a command. On approves, off declines. Actions the agent takes without asking follow its own settings.

Saved values go to the profile's cordis.patch.yml and apply from the next turn, without a reload.

Session log

Every line of a JSON stream is recorded in the session log as plugin:dsh-aio-agent/stream, and every ACP frame in both directions as plugin:dsh-aio-agent/acp, with secrets redacted. Permission answers are recorded as plugin:dsh-aio-agent/permission, and the binding between a DSH session and its CLI session as plugin:dsh-aio-agent/binding.

Known limitations

  • Codex and OpenCode report each reply and tool call once it is complete, so their text arrives in whole messages rather than token by token.
  • A Claude Code, Codex or OpenCode session begun with an earlier version of this plugin, over ACP, continues in a new CLI session; its DSH transcript stays.
  • The composer's access mode does not restrict the external agent.
  • The status cannot tell an agent that is not installed from one that is not signed in.

Develop

npm test               # node --test
npm run build:logos    # re-inline assets/provider-logos into lib/client.js
npm pack               # tarball to install through Add plugin for a local trial

Provider logos come from lobe-icons (MIT); see assets/provider-logos/README.md.

License

MIT

—/ 5

No ratings yet

Verified DSH bundle

Commit a546722a62c8

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout