je00/dsh-codex-agent-bridge ↗★ 2
@jadynchou/dsh-codex-agent-bridge
将 DSH 智能体连接到已认证的 Codex 应用服务器会话的桥接插件。
AI 分析
核心用途是打通 DSH 智能体与 Codex 沙箱环境的连接。适合需要在已认证的 Codex 服务器会话中执行动态工具和代码,且需要遵循 DSH 权限策略的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:je00/dsh-codex-agent-bridge說明文件
閱讀完整 README ↗Configuration
The default configuration uses the native Codex read-only sandbox. DSH dynamic Tools still execute through ctx.tools.execute() and the DSH permission policy. Override the plugin row in the profile's cordis.patch.yml when needed:
- id: codex-agent-bridge
config:
codexCommand: codex
sandbox: read-only
modelCacheMs: 300000
DSH patch rows replace the complete config value instead of deeply merging keys, so keep every non-default key you still need when overriding this row.
| Option | Default | Description |
|---|---|---|
codexCommand | codex | Executable name or absolute Codex CLI path; Windows .cmd and .bat launchers are supported. |
env | {} | Variables layered onto DSH's scrubbed subprocess environment. Do not store secrets in YAML. |
disposeGraceMs | 3000 | Grace period before the managed App Server process tree is forcefully terminated. |
modelCacheMs | 300000 | Successful model-catalog cache duration; use 0 to refresh every time. |
includeHiddenModels | false | Include models hidden from the default Codex picker. |
sandbox | read-only | Native Codex sandbox: read-only, workspace-write, or danger-full-access. |
catalogCwd | DSH process cwd | Absolute working directory used only for the model-catalog App Server. |