dsh-subagent-grok
One-shot Grok CLI subagent provider for DeepSeek Harness
karthuslorin
@karthuslorin
⬇ 1
★ 0
main
安装
dsh plugin --profile web add github:karthuslorin/dsh-subagent-grok
需要可复现安装时,可在仓库后追加 #commit 固定提交。
One-shot Grok CLI subagent provider for DeepSeek Harness
该插件未提供要点说明,请参考仓库 README。
dsh-plugingroksubagent
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/karthuslorin/dsh-subagent-grok |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-29 |
| 收录日期 | 2026-09-19 |
| 分类 | 模型与提供方 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-subagent-grok
Install:
```sh
export DSH_HOME=/tmp/dsh-subagent-grok-home
dsh plugin --profile headless add dsh-subagent-grok
```
[中文](README.zh.md)
Uses the locally authenticated Grok CLI as the default one-shot DSH subagent provider. Each delegation runs one `grok -p --output-format json` process in the parent session's working directory.
## Requirements
- Node.js 20 or newer
- `@deepseek-ai/dsh` 0.1.1 release-candidate line
- Grok CLI on `PATH`, already authenticated through its own local configuration
The plugin never logs in and never accepts or writes an API key. Missing CLI, missing authentication, invalid JSON, non-text input, and empty prompts produce an explicit failed delegation.
## Safety
The default command combines `--always-approve` with Grok's built-in `workspace` sandbox. The sandbox limits writes to the parent working directory, Grok's state directory, and temporary directories.
To use another restricted profile, patch the provider config:
```yaml
- id: subagent-grok
name: dsh-subagent-grok
config:
providerName: grok
sandbox: strict
```
Disabling the sandbox requires both `sandbox: off` and `allowUnconfined: true`. This explicit opt-in is intentionally unavailable in the bundled defaults.
## Verify
```sh
npm test
dsh --profile headless --dump-config
```
An ACP initialize handshake succeeds with Grok CLI 1.0.13 on macOS. ACP remains a possible v2 transport; v1 uses the documented one-shot JSON command.
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。