Nexus-Aethra/DSHBox--plugins-dsh-box-sandbox ↗★ 29

@nexus-aethra/dsh-box-sandbox

提供免终端调用DSH Box守护进程的类型化工具桥梁 适合需要让Agent在无Shell环境下安全调用容器管理等工具的开发者。

包名
@nexus-aethra/dsh-box-sandbox
兼容性
待验证
Cordis 依赖范围
^4.0.1
版本
0.1.9
最近更新
2026年10月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Nexus-Aethra/DSHBox#07329b66116e9b5a057f6e65f4bf3621e45950f9&path:plugins/dsh-box-sandbox

Usage

import { getRpc, status } from '@nexus-aethra/dsh-box-sandbox'

const pong = await getRpc().ping()
const containers = await getRpc().call('list_containers')

// Probe without throwing — for prompt surfaces and diagnostics.
const s = await status()
if (s.problem) console.log('dshbox unavailable:', s.problem)

status() never throws: it returns the discovery path, the endpoint when reachable, and a problem string otherwise. A failed mount is never fatal — a missing daemon is a normal first-run state, not a load error.