rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lim1202/dsh-agent-theater
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
Turns a DSH session into a character stage: a conversation.view called Theater sits beside Chat and Trajectory. The character reacts to real tool events, your message becomes a short comic bubble, the agent's output becomes a subtitle, and when a turn ends she presents the result and its deliverables on stage.

conversation.view slot, standard Client hooks, the ctx.sidebarRight / ctx.uiConversation services).present descriptions render under the file name, a file row opens in the right Sidebar and a thumbnail opens an in-stage lightbox.pet.json + spritesheet.webp folder and the character becomes a frame-by-frame sprite animation; without a Pet it uses a built-in placeholder character.| Working (with an imported Pet) | Completion |
|---|---|
![]() |
![]() |
| Attention | No Pet (built-in placeholder) |
|---|---|
![]() |
![]() |
The character in these screenshots is a locally imported Codex Pet; no character art ships with this repository. Without a Pet the built-in placeholder is used.
Requires DSH Desktop 0.2.1-rc.x (tested on 0.2.1-rc.5; the package declares engines.dsh). After installing, refresh the page once (Client modules are read at page load) and the view switcher above the conversation will offer Theater.
In DSH's Plugins page choose install and paste:
github:lim1202/dsh-agent-theater
Or from the command line (install the app's command-line tool first; the desktop profile requires an initialized profile and the app fully quit):
dsh plugin --profile desktop add github:lim1202/dsh-agent-theater
# tarball from the GitHub Release
dsh plugin --profile desktop add https://github.com/lim1202/dsh-agent-theater/releases/download/v0.1.1/dsh-agent-theater-0.1.1.tgz
# or a directory you cloned/copied locally
dsh plugin --profile desktop add /path/to/dsh-agent-theater
The Plugins page also accepts a local directory path.
DSH 0.2.1+ can read plugin-market indexes (JSON, format 1) under Plugins → Discover → Index sources. This repository ships one; add this URL to search and install it from Discover:
https://cdn.jsdelivr.net/gh/lim1202/dsh-agent-theater@v0.1.1/index.json
Fallback (not a CDN; on some networks it can exceed the 15-second budget DSH gives an index source):
https://raw.githubusercontent.com/lim1202/dsh-agent-theater/v0.1.1/index.json
Click Select Pet assets in the Theater toolbar → the native folder picker → choose a folder containing pet.json. The assets are copied into a dedicated directory; the source folder stays read-only and untouched:
$DSH_HOME/agent-theater/ # defaults to ~/.dsh/agent-theater
├── config.json # {"active": "laffey-ii"}
└── pets/<id>/
├── pet.json # normalized manifest written on import
└── spritesheet.webp # copied from the source folder
pet.json fields: id, displayName, description, spriteVersionNumber (only 2 is accepted) and spritesheetPath (a relative path inside the Pet folder; .. and absolute paths are rejected). Sheets may be up to 24MB, webp/png/jpeg/avif, and their pixel size must be a multiple of the frame grid.
One frame is 192x208, 8 columns × 11 rows = 1536x2288 (frames per row are determined from transparent pixels and start at column 0):
| Row | Frames | Content | Used for |
|---|---|---|---|
| 0 | 7 | Idle: breathing, blinking | idle |
| 4 | 5 | Crouch, jump, land | success |
| 5 | 8 | Head down, sigh | error |
| 6 | 6 | Arms crossed, waiting | waiting |
| 7 | 6 | Quick busy fidget | working |
| 8 | 6 | Hands folded, thinking | thinking / research |
| 1/2/3/9/10 | — | Run left/right, wave, turn | Reserved, unused |
Without an imported Pet the built-in placeholder from src/art.js (SVG + CSS animation) is used, with identical scenes and bubble behaviour.
| Scene | Stage | Bottom status bar |
|---|---|---|
| Idle | Character rests, occasionally a line | ● Idle |
| Working | Character acts + prop, live tool and timer | ● Working… · run node --test · 3 ops · 00:42 |
| Completion | Character + report card | ● Done · 2 files · 1 attachment |
| Attention | Character + request card | ● Waiting for you · handle it below |
Your latest message appears as a comic bubble (fades after 9s); the agent's live output shows as a subtitle; only one text beat is kept at a time — earlier history is in Chat.
present), Edited files (successful write / edit / mutating str_replace_editor, deduplicated, failures excluded) and Attachments (the turn's real image references).present description renders under the file name.dsh-resource://file/session/<sid>/<path>); a thumbnail opens an in-stage lightbox.×; afterwards the stage returns to idle and the footer keeps the turn's deliverable counts.The request card shows the real type (waiting for approval / waiting for your answer), tool · reason, and for questions the real prompts and options (read-only). The plugin never renders its own approval buttons and never auto-approves — you always act in the native composer / approval UI.
prefers-reduced-motion.0.2.1-rc.5 (macOS; CI runs Ubuntu + macOS). Public interfaces used:ctx.slots.inject('conversation.view', () => ctx.slots.register({ name, id, order, label, locale }, Component))useChat ({order, nodes}), useSessionStatus (running / pendingInteraction), openView('chat', focus)ctx.sidebarRight.openResource, ctx.uiConversation.imageUrl / peekImageUrlctx.connection.admit, plus uiWorkspace.pickDirectoryctx.locale.register/bind; styling uses theme tokens only (--dsw-alias-*)slot entry crashed in 'conversation.view' in an issue.No third-party dependencies (Node 20+):
node build.mjs # rebuild client.js from src/*.js
node build.mjs --check # verify the artifact is current
node --test test/*.test.mjs # unit tests (130)
node tools/scene-preview.mjs --help # offline scene screenshots (needs a local Chrome)
src/*.js): run node build.mjs, then refresh the page.index.js): the Loader does not hot-reload Host plugins; remove and reinstall the bundle on the Plugins page, or restart DSH.dsh plugin --profile desktop remove dsh-agent-theater.rm -rf ~/.dsh/agent-theater.theaterPoseForTool); unknown tools fall back to the generic working pose.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。