dfzjb/deskpet-bridge

dfzjb★ 2JavaScript最后同步: 2026-08-14

在 GitHub 打开

DeskPet Bridge - a local JS agent preset for DSH (DeepSeek Harness)

README 摘要

DeskPet Bridge English 中文 A local JavaScript agent preset for DSH (DeepSeek Harness) that exposes the agent's runtime status over HTTP + SSE and adds a programmable approval channel . Overview deskpet-bridge is a standalone agent preset (three files) that you drop into DSH's .agent-presets/ directory. It requires no modification to the DSH codebase . What it does for DSH 1. Extends DSH's web server Registers three new routes on DSH's built-in webServer , giving DSH a few externally-callable endpoints: Endpoint Purpose GET /api/deskpet/v2/get-status Query the current agent status snapshot GET /api/deskpet/v2/events Server-Sent Events realtime stream POST /api/deskpet/v2/approve Submit an approval decision 2. Status observability Listens to DSH's internal agent/status event, maintains a status cache ( idle / running …), and counts state changes ( changes ) plus agent count ( agentCount ) — making DSH's runtime state queryable and subscribable by external programs. 3. Programmable approval channel (core) Acts as an answerer in DSH's approval mechanism: - Registers on approval/request with { prepend: true } , claiming the approval ahead of DSH's default approval panel ( api-proxy ). - …

在 GitHub 查看完整 README →
Agent/智能体dsh-pluginagent

分类