
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-grok-acp
Advanced tools
dsh-grok-acp 是 DSH Agent Bridge 的适配器。它通过 Agent Client Protocol(ACP)把 Grok Build 作为根 Agent 接入 DSH Web,并保留 DSH 原有的会话、输入框、工具展示、权限确认和 Markdown diff 界面。
当前只实现 Grok Build。项目名选择 DSH Agent Bridge,是为了后续可以增加 Codex、Claude Code 等适配器,而不把仓库限制在某个厂商或单一协议上。
dsh web 页面选择 DSH 或 Grok Build。Full access 会同步到 Grok ACP 文件访问和批准策略;选择该模式后可读取工作区外的 Grok 内置技能等本机文件。/usage、/context、/session-info、/btw、/model、/models、/effort 等 Grok 命令;兼容 /uasge 拼写。/model 与 /models 只展示当前 Harness 的模型。| DSH | Grok Build |
|---|---|
![]() | ![]() |
DSH Web composer
│
├── DSH ───────────► 官方 AgentLoop、模型、工具与插件
│
└── Grok Build ────► dsh-grok-acp ── ACP/stdio ──► grok agent
│
└── DSH session log / tool UI / approval UI
插件在空白会话切换 Agent preset,并用路由 AgentFactory 选择官方 DSH AgentLoop 或 Grok ACP Agent。模型可见内容仍写入 DSH session log,因此聊天回放、标题、工具结果和 diff 继续使用 DSH Web 的原生展示。
^22.19 或 >=24。0.1.5-rc.3,且 dsh web 能正常启动。grok --version 可以成功执行。直接运行:
dsh plugin --profile web add dsh-grok-acp@latest
dsh web
打开 http://127.0.0.1:3080,新建会话即可看到 Harness 开关。若浏览器仍缓存旧前端,请使用 Cmd/Ctrl + Shift + R 硬刷新。
想使用 GitHub 上的最新代码时,可以先克隆并构建项目,再把项目目录直接交给 DSH:
git clone https://github.com/zmh2000829/DSH-agent-bridge.git
cd DSH-agent-bridge
npm install --legacy-peer-deps
npm run check
dsh plugin --profile web add "$(pwd)"
dsh web
其中 $(pwd) 表示当前克隆项目的完整路径。如果项目已经在本机,也可以直接填写它的完整路径,例如:
dsh plugin --profile web add /Users/your-name/Projects/DSH-agent-bridge
两种安装方式任选一种,不需要重复执行。Grok preset 直接来自插件包,不会复制或覆盖 ~/.dsh/harness-presets。
dsh plugin --profile web exec dsh-grok doctor
应显示 DSH、Grok、Bundle、preset 和客户端构建均已就绪。
dsh web 并打开 3080 页面。Grok Build 会话支持 Grok 返回的命令目录,并额外投影以下常用命令:
| 命令 | 用途 |
|---|---|
/usage、/cost、/uasge | 查看套餐和用量 |
/context | 查看上下文使用情况 |
/session-info | 查看 Grok 会话信息 |
/btw <问题> | 在不中断主任务的情况下提问 |
/model、/models | 选择当前 Harness 的模型;Grok 模式不显示 DSH 模型 |
/model <模型> | 切换 Grok 模型 |
/effort <级别> | 切换推理力度 |
/compact、/goal、/workflow、/deep-research | 交给 Grok Build 执行对应能力 |
Bundle 默认启动 grok agent --no-leader stdio。常用环境变量:
| 变量 | 作用 |
|---|---|
GROK_COMMAND | Grok 可执行文件;默认优先 ~/.grok/bin/grok,否则使用 PATH 中的 grok |
DSH_HOME | DSH home;默认 ~/.dsh |
XAI_API_KEY | 可选,传给 Grok 子进程 |
高级配置可在 Web profile 的 cordis.patch.yml 中覆盖插件行:command、args、env、stateFile、disposeGraceMs、idleDisposeMs、yoloMode、allowOutsideWorkspace。默认需要逐次批准敏感操作,ACP 文件接口也只能访问会话工作目录;只有在明确接受风险时,才同时开启 yoloMode 和 allowOutsideWorkspace。
initialize、authenticate。session/new、session/resume、session/load、session/close。session/prompt、session/cancel、session/set_config_option。fs/read_text_file、fs/write_text_file。更新 npm 安装:
dsh plugin --profile web add dsh-grok-acp@latest
更新源码安装:
git pull
npm install --legacy-peer-deps
npm run check
dsh plugin --profile web add "$(pwd)"
卸载时运行:
dsh plugin --profile web remove dsh-grok-acp
dsh web
不要手工编辑 ~/.dsh/profiles/web/package.json。卸载插件不会删除 Grok 自己的登录信息或会话文件。
npm install --legacy-peer-deps
npm test
npm run build
npm pack --dry-run
lib/*.js 是 Node 端插件与发布入口。src/client/index.tsx 是 Web 客户端源码;npm run build 生成 lib/client.js。presets/grok-build 是包内 Agent preset。.github/workflows/ci.yml 在 Node 24 上执行测试、构建和发布清单检查。项目主页、问题反馈和源码均位于 zmh2000829/DSH-agent-bridge。
.. 或符号链接越界。yoloMode 与 allowOutsideWorkspace 都是显式的高权限选项。latest 的 0.1.5-rc.3 API。0.1.7-alpha 属于另一个预发布系列,客户端会话 API 有额外变化,尚未纳入本次兼容范围。ExternalAgentAdapter 接口。欢迎提交 Issue 和 Pull Request。项目采用 MIT License。
FAQs
Use Grok Build as an ACP-powered root agent inside DeepSeek Harness Web
The npm package dsh-grok-acp receives a total of 0 weekly downloads. As such, dsh-grok-acp popularity was classified as not popular.
We found that dsh-grok-acp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.