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

@nexus-aethra/dsh-box-sandbox

Host-side bridge from a DSH session to the DSH Box daemon: typed box_* tools an agent can call without a shell. 适合需要让Agent在无Shell环境下安全调用容器管理等工具的开发者。

패키지
@nexus-aethra/dsh-box-sandbox
호환성
미검증
Cordis peer 범위
^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.