agent-theatre 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/package.json +1 -1
- package/web/assets/browserAll-CZuhb8E5.js +2 -0
- package/web/assets/{browserAll-D9J1RvsL.js.map → browserAll-CZuhb8E5.js.map} +1 -1
- package/web/assets/{index-BPj5KytA.js → index-BW3_w3GY.js} +23 -23
- package/web/assets/index-BW3_w3GY.js.map +1 -0
- package/web/assets/{index-CbTCCKLH.css → index-Bse3NNLR.css} +1 -1
- package/web/assets/webworkerAll-C8_bDDrL.js +2 -0
- package/web/assets/{webworkerAll-NgikUusG.js.map → webworkerAll-C8_bDDrL.js.map} +1 -1
- package/web/index.html +2 -2
- package/web/assets/browserAll-D9J1RvsL.js +0 -2
- package/web/assets/index-BPj5KytA.js.map +0 -1
- package/web/assets/webworkerAll-NgikUusG.js +0 -2
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# agent-theatre
|
|
2
|
+
|
|
3
|
+
**Watch your coding agent work — as a film, not a log.**
|
|
4
|
+
|
|
5
|
+
Agent Theatre turns a Claude Code session into an animated scene. Your repo becomes a stage — folders are districts, files are buildings, test files are beacons — and the agent is a character who walks to the files it reads, builds on the files it edits, runs tests at the beacons and chases gremlins when they fail. Twenty stages, a cast of twelve, every claim checked: **if the agent says it's done but no test has passed since the last edit, a gremlin hides behind it.**
|
|
6
|
+
|
|
7
|
+
Site and playable episodes: **https://agenttheatre.dev**
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
cd your-repo
|
|
13
|
+
npx agent-theatre hooks install # once: adds hooks to ~/.claude/settings.json (backup kept)
|
|
14
|
+
npx agent-theatre # opens the stage for this repo; run Claude Code in another terminal
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Node 22+. Works with the Claude Code CLI, desktop app and IDE extensions — anything that runs hooks. Hooks are picked up without restarting Claude Code.
|
|
18
|
+
|
|
19
|
+
## Commands
|
|
20
|
+
|
|
21
|
+
| Command | What it does |
|
|
22
|
+
|---|---|
|
|
23
|
+
| `agent-theatre` | Start the local server for the current repo and open the stage (live). `--port <n>`, `--no-open`, `--set <id>` |
|
|
24
|
+
| `agent-theatre replay [session]` | Replay a past Claude Code session of this repo; no argument lists them, `--latest` picks the newest |
|
|
25
|
+
| `agent-theatre hooks install` | Add the hooks to `~/.claude/settings.json` (non-destructive, backup at `settings.json.bak-agent-theatre`) |
|
|
26
|
+
| `agent-theatre hooks uninstall` | Remove them, byte-for-byte |
|
|
27
|
+
| `agent-theatre hooks status` | Show whether they are installed |
|
|
28
|
+
|
|
29
|
+
Stage ids: `island orbit metropolis harbour observatory greenhouse workshop arcade kingdom outpost snowfield canopy lagoon volcano cloudtop reef bazaar monastery moonbase lanterns`. The picker suggests the ones that fit your repo.
|
|
30
|
+
|
|
31
|
+
## Privacy
|
|
32
|
+
|
|
33
|
+
Runs entirely on your machine and listens only on `127.0.0.1`. Events carry repo-relative paths, line counts, a command's first word and a classified intent — never file contents, prompts, command bodies or search queries. A test in the repo plants marker strings in all of those and asserts zero leaks. Paths outside the repo appear as `//ext/<name>`; your home directory as `~/`. The hook always exits 0 and never blocks a tool call.
|
|
34
|
+
|
|
35
|
+
## VS Code
|
|
36
|
+
|
|
37
|
+
The same stage inside the editor: the `.vsix` is attached to every [GitHub release](https://github.com/shreyassaw5394/agent-theatre/releases).
|
|
38
|
+
|
|
39
|
+
## Library
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
import { Theatre, scanRepo, repoIdFor, listSessions, installHooks } from "agent-theatre";
|
|
43
|
+
const t = new Theatre({ cwd, repoId: repoIdFor(cwd), files: scanRepo(cwd) });
|
|
44
|
+
await t.listen(0); // t.url → http://127.0.0.1:<port>/
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
MIT · source: https://github.com/shreyassaw5394/agent-theatre
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserAll-
|
|
1
|
+
{"version":3,"file":"browserAll-CZuhb8E5.js","sources":["../../../../node_modules/.pnpm/pixi.js@8.22.0/node_modules/pixi.js/lib/accessibility/init.mjs","../../../../node_modules/.pnpm/pixi.js@8.22.0/node_modules/pixi.js/lib/dom/init.mjs","../../../../node_modules/.pnpm/pixi.js@8.22.0/node_modules/pixi.js/lib/events/init.mjs"],"sourcesContent":["import { extensions } from '../extensions/Extensions.mjs';\nimport { Container } from '../scene/container/Container.mjs';\nimport { AccessibilitySystem } from './AccessibilitySystem.mjs';\nimport { accessibilityTarget } from './accessibilityTarget.mjs';\n\n\"use strict\";\nextensions.add(AccessibilitySystem);\nextensions.mixin(Container, accessibilityTarget);\n//# sourceMappingURL=init.mjs.map\n","import { extensions } from '../extensions/Extensions.mjs';\nimport { DOMPipe } from './DOMPipe.mjs';\nimport './index.mjs';\nexport { CanvasObserver } from './CanvasObserver.mjs';\nexport { DOMContainer } from './DOMContainer.mjs';\n\n\"use strict\";\nextensions.add(DOMPipe);\n\nexport { DOMPipe };\n//# sourceMappingURL=init.mjs.map\n","import { extensions } from '../extensions/Extensions.mjs';\nimport { Container } from '../scene/container/Container.mjs';\nimport { EventSystem } from './EventSystem.mjs';\nimport { FederatedContainer } from './FederatedEventTarget.mjs';\n\n\"use strict\";\nextensions.add(EventSystem);\nextensions.mixin(Container, FederatedContainer);\n//# sourceMappingURL=init.mjs.map\n"],"names":["extensions","AccessibilitySystem","Container","accessibilityTarget","DOMPipe","EventSystem","FederatedContainer"],"mappings":"qHAMAA,EAAW,IAAIC,CAAmB,EAClCD,EAAW,MAAME,EAAWC,CAAmB,ECA/CH,EAAW,IAAII,CAAO,ECDtBJ,EAAW,IAAIK,CAAW,EAC1BL,EAAW,MAAME,EAAWI,CAAkB","x_google_ignoreList":[0,1,2]}
|