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环境下安全调用容器管理等工具的开发者。

Package
@nexus-aethra/dsh-box-sandbox
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.9
Last updated
Oct 20, 2026

Install

$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.