@dsh-codeact-tools/codeact

August 20, 2026 · View on GitHub

Distribution bundle for the minimal-mode tool set: str_replace_editor + execute_bash + finish as a selectable agent preset.

A profile bundle inserts rows into the profile composition — but this mode's tool rows cannot live there (execute_bash needs the owner-scoped PTY registry and str_replace_editor the bare filesystem, which the mode owns per-session behind isolate realms in its preset). So the bundle patch is intentionally empty (cordis.patch.yml) and the bundle's real job is distribution:

  • its dependencies pull the @dsh-codeact-tools tool packages into the deployment's dependency closure;
  • its preset/ holds the agent preset (the mode);
  • its bin (dsh-codeact-install) copies the preset into the user preset root and installs the tool packages into the deployment's plugin resolution.

Install (published)

  1. Add the bundle to a profile's package.json and install:

    {
      "dsh": { "profile": { "bundles": ["@dsh-codeact-tools/codeact"] } }
    }
    
    pnpm install
    
  2. Install the mode:

    pnpm dlx dsh-codeact-install
    
  3. Start a session and pick the CodeAct Mode preset (or set agent-presets.default).

The preset's harness rows (@deepseek-ai/dsh-terminal, dsh-terminal-bash, dsh-fs-local, dsh-persona) come from the published @deepseek-ai/dsh-* packages that every dsh deployment ships; the three tool packages — including the forked editor with undo_edit — come from this repository.