DeepSeek Harness 插件

dsh-kirocrew

KiroCrew bridge for DeepSeek Harness: let your dsh agent delegate to a persistent, self-evolving KiroCrew workspace over ACP (JSON-RPC 2.0 over stdio).(英文原文)

跳到安装方式

来源信息

GitHub 仓库
zoahdev/dsh-kirocrew
最近更新
2026年8月17日
分类
自动化与任务
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/zoahdev/dsh-kirocrew
插件名:dsh-kirocrew
作者:zoahdev

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-kirocrew

![CI](https://github.com/zoahdev/dsh-kirocrew/actions/workflows/ci.yml) ![npm](https://www.npmjs.com/package/dsh-kirocrew)

Bridge KiroCrew into DeepSeek Harness: let your dsh agent delegate a turn to a persistent, self-evolving development workspace over ACP (JSON-RPC 2.0 over stdio).

> KiroCrew is an open-source workspace that runs on your hardware, remembers > across sessions, and keeps working unattended. This plugin exposes that > workspace to a DeepSeek Harness agent as a single kiro_send tool.

What it does

  • Registers one model-facing tool: kiro_send.
  • kiro_send spawns kiro-cli acp, performs the ACP handshake

(initialize → session/new → session/prompt), forwards your prompt, collects the agent's text chunks, and returns the final text.

  • Auto-approves ACP session/request_permission by default (allow_once);

set autoApproveTools: false to deny instead.

This is a thin, honest bridge: it forwards the prompt and returns the text. It does not reimplement KiroCrew.

Requirements

  • Node.js 18+
  • kiro-cli installed and signed in (KiroCrew's CLI). The ACP backend lives

behind kiro-cli acp.

Install KiroCrew from its official one-liner (macOS / Linux / Windows WSL):

curl -fsSL https://download.crew.kiro.dev/cli.sh | sh

See the KiroCrew repo for the desktop app, Docker, and Windows source-install paths.

Install

dsh plugin add dsh-kirocrew

or globally:

npm install -g dsh-kirocrew

Usage

You: kiro_send("Write a failing test and fix it")

Configuration (plugin config):

{
  "bin": "kiro-cli",          // optional: path to kiro-cli
  "cwd": "/path/to/work",     // optional: session working directory
  "mode": "coder",            // optional: KiroCrew agent mode id
  "model": "anthropic/...",   // optional: model id
  "timeoutMs": 120000,        // optional: turn timeout
  "autoApproveTools": true    // optional: auto-allow tool permissions
}

Per-call overrides are also accepted by kiro_send: cwd, mode, model.

Troubleshooting

failed to spawn kiro-cli (is kiro-cli installed and on PATH?)

The bridge could not find kiro-cli. Install KiroCrew, make sure kiro-cli is on PATH, and sign in (kiro-cli guides device-code sign-in on first run). You can point the plugin at an explicit path with "bin": "/absolute/kiro-cli".

kiro-cli exited before the turn completed

kiro-cli acp failed during the handshake or turn. Re-run kiro-cli directly to confirm it is signed in, then check the stderr tail included in the error.

request cancelled or timed out

The turn exceeded timeoutMs. Raise it for long-running unattended tasks.

Development

pnpm install --frozen-lockfile
pnpm typecheck
pnpm build
pnpm test
pnpm pack

Tests cover the ACP protocol (handshake, text-chunk collection, thinking-chunk skip, permission allow/deny, error paths) without requiring a live KiroCrew. The stdio transport's failure path is also verified (missing binary).

Honest status

This is a community plugin, not an official DeepSeek or KiroCrew project. It is verified at the protocol and transport-failure level; a live end-to-end run requires your own kiro-cli installation and sign-in.

License

MIT

---

dsh-kirocrew(中文)

KiroCrew 桥接进 DeepSeek Harness:让 dsh 的 agent 通过 ACP(stdio 上的 JSON-RPC 2.0)把一次对话委托给一个 持久的、自我进化的开发工作区。

> KiroCrew 是一个跑在你自己的硬件上、跨会话记住上下文、并能无人值守继续工作的 > 开源开发工作区。本插件把它暴露成一个 kiro_send 工具。

作用

  • 注册一个面向模型的工具:kiro_send
  • 它启动 kiro-cli acp,完成 ACP 握手(initialize → session/new → session/prompt),

转发你的提示词,收集 agent 的文本分块,返回最终文本。

  • 默认自动批准 ACP 的 session/request_permissionallow_once);设

autoApproveTools: false 改为拒绝。

这是一个轻薄、诚实的桥接:转发提示词、返回文本,并不重新实现 KiroCrew。

前置条件

  • Node.js 18+
  • 已安装并登录 kiro-cli(KiroCrew 的 CLI,ACP 后端就是 kiro-cli acp

安装 KiroCrew(macOS / Linux / Windows WSL):

curl -fsSL https://download.crew.kiro.dev/cli.sh | sh

桌面应用、Docker、Windows 源码安装见 KiroCrew 仓库

安装

dsh plugin add dsh-kirocrew

或全局安装:

npm install -g dsh-kirocrew

使用

你:kiro_send("写一个会失败的测试,然后修好它")

配置(插件 config):

{
  "bin": "kiro-cli",          // 可选:kiro-cli 路径
  "cwd": "/path/to/work",     // 可选:会话工作目录
  "mode": "coder",            // 可选:KiroCrew agent 模式 id
  "model": "anthropic/...",   // 可选:模型 id
  "timeoutMs": 120000,        // 可选:单轮超时
  "autoApproveTools": true    // 可选:自动批准工具权限
}

kiro_send 也支持按调用覆盖 cwdmodemodel

排障

failed to spawn kiro-cli (is kiro-cli installed and on PATH?)

找不到 kiro-cli。请安装 KiroCrew,确认 kiro-cliPATH 上并已登录。也可以用 "bin": "/absolute/kiro-cli" 指定绝对路径。

kiro-cli exited before the turn completed

握手或回合失败。请先直接跑一次 kiro-cli 确认已登录,再看错误里附带的 stderr 尾部。

request cancelled or timed out

超过了 timeoutMs。长时间无人值守任务可适当调大。

开发

pnpm install --frozen-lockfile
pnpm typecheck
pnpm build
pnpm test
pnpm pack

测试在无需真实 KiroCrew 的情况下覆盖 ACP 协议(握手、文本分块收集、思考分块跳过、 权限批准/拒绝、错误路径),并验证 stdio 传输的失败路径(缺失二进制)。

诚实声明

这是社区插件,不是 DeepSeek 或 KiroCrew 官方项目。已在协议与传输失败层面验证; 完整的端到端运行需要你自己的 kiro-cli 安装与登录。

许可证

MIT