{"_id":"@arcaneorion/dsh-stage-panel","_rev":"2-31d7fefb4873a3b6a82f425d2818b93c","name":"@arcaneorion/dsh-stage-panel","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@arcaneorion/dsh-stage-panel","version":"0.1.0","keywords":["deepseek","harness","dsh","dsh-plugin","ui","panel","iframe"],"author":{"name":"arcanexis"},"license":"MIT","_id":"@arcaneorion/dsh-stage-panel@0.1.0","maintainers":[{"name":"arcaneorion","email":"3526162625@qq.com"}],"homepage":"https://github.com/arcanexis/dsh-stage-panel#readme","bugs":{"url":"https://github.com/arcanexis/dsh-stage-panel/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["slots"],"platform":"web"}},"dist":{"shasum":"41cdc99c828d8df4b078d84ac5f4c6f34ad7b08c","tarball":"https://registry.npmjs.org/@arcaneorion/dsh-stage-panel/-/dsh-stage-panel-0.1.0.tgz","fileCount":5,"integrity":"sha512-mg+nXbxMdZSGa/a70I/k4zyAhGSpxHnBhMCDNAnX2F9krBuBegbv/0+OLqttbAZwWxHUqWXvbV03ms7Rf4Hi1Q==","signatures":[{"sig":"MEYCIQDPIVg9CDny+d/T9CNF8+yLaftGCiAdYpqYiIlUJB4tJwIhAIpUq0S7AbddVsRKH6gJyc/YxyOh1s5Vwl6S8wL1/ts8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12210},"main":"src/index.js","type":"module","exports":{".":"./src/index.js","./client":"./src/client.js","./package.json":"./package.json"},"gitHead":"d7910b089a0412a5f643624bf1227b6a6393aefd","_npmUser":{"name":"arcaneorion","email":"3526162625@qq.com"},"repository":{"url":"git+https://github.com/arcanexis/dsh-stage-panel.git","type":"git"},"_npmVersion":"11.9.0","description":"DSH in-session panel view: project agent-generated self-contained HTML into a sandboxed iframe, with status bar and choice interactions delivered as real user messages.","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@deepseek-ai/dsh-tools":">=0.1.1-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/dsh-stage-panel_0.1.0_1788621485725_0.47493466834967313","host":"s3://npm-registry-packages-npm-production"},"deprecated":"renamed to @arcaneorion/dsh-teaching-board"}},"time":{"created":"2026-09-05T15:18:05.611Z","modified":"2026-09-15T02:39:02.569Z","0.1.0":"2026-09-05T15:18:05.853Z"},"bugs":{"url":"https://github.com/arcanexis/dsh-stage-panel/issues"},"author":{"name":"arcanexis"},"license":"MIT","homepage":"https://github.com/arcanexis/dsh-stage-panel#readme","keywords":["deepseek","harness","dsh","dsh-plugin","ui","panel","iframe"],"repository":{"url":"git+https://github.com/arcanexis/dsh-stage-panel.git","type":"git"},"description":"DSH in-session panel view: project agent-generated self-contained HTML into a sandboxed iframe, with status bar and choice interactions delivered as real user messages.","maintainers":[{"name":"arcaneorion","email":"3526162625@qq.com"}],"readme":"# @arcaneorion/dsh-stage-panel\n\nDSH 会话内「面板」视图：把 agent 生成的 self-contained HTML 投影为会话的可视化界面（沙箱 iframe），\n交互视情况转为真实用户消息。**单一数据流**：面板 = 会话快照的投影，无私有状态/RPC/wait 闸门。\n\n## 文件\n\n| 文件 | 说明 |\n|---|---|\n| `src/index.js` | host 半：`stage_panel / stage_status / stage_choice` 三个无状态工具（`ctx.tools.register(defineTool(...))`） |\n| `src/client.js` | client 半：「面板」视图（`__ModuleLoader__` handoff + `useSession` 快照投影 + `inputActions` 交互） |\n| `package.json` / `cordis.patch.yml` | bundle 声明（行 id `stage-panel`），已挂载进 `web` profile 并通过 `dsh plugin --profile web install` 链接 |\n| `PROTOTYPE-host.js` / `PROTOTYPE-client.js` | 早期动态原型（`lwst-2`）存档，仅供历史参考 |\n\n## 分层\n\n- **能力层（本 bundle，profile 级）**：投影 + 轻交互。\n- **行为层（preset `arcane-stage-panel`）**：「面板交互模式」人格、内容规范（图型选择/HTML 模式/视觉风格）、教学纪律。\n\n> 静态化踩坑（boot 解析 / host 需 JS 源 / ModuleLoader handoff / 空配置分支）详见 `../README.md` §4。\n\n## 加载/验证\n\n```bash\ndsh plugin --profile web install        # 补 link symlink（改了包源后必须重跑）\n# 重启 dsh --profile web 后：\n# 视图槽位 occupancy 出现 id=stage-panel；工具目录出现 stage_*\n```\n","readmeFilename":"README.md"}