demoman 0.2.0-rc.7 → 0.2.0-rc.8
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 +9 -71
- package/THIRD_PARTY_NOTICES +1 -1
- package/dist/demoman.mjs +288 -171
- package/dist/page/render-entry.js +14 -10
- package/dist/recipe.md +1 -2
- package/dist/studio/assets/editor-9vHCNgRJ.js +7 -0
- package/dist/studio/assets/{editor-inline-1958c710.css → editor-inline-3529c61f.css} +165 -135
- package/dist/studio/assets/library-CBouFUcP.js +1 -0
- package/dist/studio/assets/settings-t31CNbmS.js +1 -0
- package/dist/studio/assets/state-A73nO_-0.js +1 -0
- package/dist/studio/assets/switch-D-iOEQie.js +1 -0
- package/dist/studio/assets/theme-B_CrEBdn.js +72 -0
- package/dist/studio/assets/{confirm-dialog-D7aV7h0V.css → theme-D6wPSXx4.css} +1 -1
- package/dist/studio/assets/topbar-D679hxwM.js +1 -0
- package/dist/studio/editor.html +14 -11
- package/dist/studio/fonts/geist-mono-variable.woff2 +0 -0
- package/dist/studio/fonts/geist-variable.woff2 +0 -0
- package/dist/studio/library.html +12 -6
- package/dist/studio/settings.html +12 -6
- package/dist/studio/studio-build.json +3 -3
- package/package.json +1 -1
- package/dist/studio/assets/carried-note-Bnu4PKiM.js +0 -1
- package/dist/studio/assets/confirm-dialog-DAZrgkaB.js +0 -72
- package/dist/studio/assets/editor-CADuuWMJ.js +0 -7
- package/dist/studio/assets/library-Dq8gio0A.js +0 -1
- package/dist/studio/assets/settings-CwOW-KMb.js +0 -1
- package/dist/studio/assets/switch-4Ynpzqyz.js +0 -1
- package/dist/studio/assets/topbar-CCNgl0UW.js +0 -1
package/README.md
CHANGED
|
@@ -13,84 +13,22 @@ macOS, Node 20 or later, and Claude Code, Codex or Cursor:
|
|
|
13
13
|
npx demoman setup
|
|
14
14
|
|
|
15
15
|
Setup downloads Chromium (about 190 MB) and connects Demoman to each coding
|
|
16
|
-
agent it finds
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
agent, then ask for a demo — for example, "make a demo of
|
|
20
|
-
demoman.io/sample". Run setup again after an update, or after removing the
|
|
21
|
-
Node that ran it: Cursor's entry names that Node's `npx`.
|
|
16
|
+
agent it finds, pre-approving its tools so they run without asking. Restart
|
|
17
|
+
the agent, then ask for a demo — for example, "make a demo of
|
|
18
|
+
demoman.io/sample".
|
|
22
19
|
|
|
23
20
|
Another MCP client is expected to work, not yet run: give it this stdio
|
|
24
21
|
server.
|
|
25
22
|
|
|
26
|
-
{"command": "npx", "args": ["-y", "demoman@
|
|
23
|
+
{"command": "npx", "args": ["-y", "demoman@latest", "mcp"]}
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
## Documentation
|
|
29
26
|
|
|
30
|
-
|
|
27
|
+
Full documentation: https://demoman.io/docs
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Each takes the stdio server under Install and the `record-demo` skill,
|
|
37
|
-
which tells the agent to read Demoman's recipe first. OpenCode has made a
|
|
38
|
-
video this way; the others are expected to work, not yet run. Fetch the
|
|
39
|
-
skill into the agent's skills folder:
|
|
40
|
-
|
|
41
|
-
curl -fsSL --create-dirs -o <skills folder>/record-demo/SKILL.md \
|
|
42
|
-
https://raw.githubusercontent.com/demoman-io/plugins/main/skills/record-demo/SKILL.md
|
|
43
|
-
|
|
44
|
-
**OpenCode.** In `~/.config/opencode/opencode.json`; skills folder
|
|
45
|
-
`~/.config/opencode/skills`.
|
|
46
|
-
|
|
47
|
-
{"mcp": {"servers": {"demoman": {"type": "local",
|
|
48
|
-
"command": ["npx", "-y", "demoman@0.2.0-rc.7", "mcp"]}}}}
|
|
49
|
-
|
|
50
|
-
**Pi.** Skills folder `~/.pi/agent/skills`.
|
|
51
|
-
|
|
52
|
-
pi mcp add demoman -- npx -y demoman@0.2.0-rc.7 mcp
|
|
53
|
-
|
|
54
|
-
**Kimi Code.** The block under Install, under `mcpServers`, in
|
|
55
|
-
`~/.kimi-code/mcp.json`; skills folder `~/.kimi-code/skills`. Kimi Code
|
|
56
|
-
asks before each call unless `~/.kimi-code/config.toml` allows them:
|
|
57
|
-
|
|
58
|
-
[[permission.rules]]
|
|
59
|
-
decision = "allow"
|
|
60
|
-
pattern = "mcp__demoman__*"
|
|
61
|
-
|
|
62
|
-
**Hermes**, run on this Mac. Skills folder `~/.hermes/skills`.
|
|
63
|
-
|
|
64
|
-
hermes mcp add demoman --command npx --args -y demoman@0.2.0-rc.7 mcp
|
|
65
|
-
|
|
66
|
-
**DeepSeek's dsh.** A `@deepseek-ai/dsh-mcp-client` row in
|
|
67
|
-
`~/.dsh/profiles/web/cordis.patch.yml` with `transport: stdio`, `command:
|
|
68
|
-
npx`, `args: ['-y', 'demoman@0.2.0-rc.7', 'mcp']` and `cwd` set to your
|
|
69
|
-
project; skills folder `~/.dsh/skills`.
|
|
70
|
-
|
|
71
|
-
## Demo accounts
|
|
72
|
-
|
|
73
|
-
For an app you run locally, the agent creates a demo account and its data,
|
|
74
|
-
writes the sign-in steps to `.demoman/accounts.json` (commit it) and the
|
|
75
|
-
password to `.demoman/secrets.env` (git-ignored), and Demoman signs in by
|
|
76
|
-
itself, whenever a session is missing or has lapsed. Only demo accounts: the
|
|
77
|
-
agent never asks for your own password. In CI, set each `DEMOMAN_SECRET_<NAME>`
|
|
78
|
-
from the provider's secrets, with `DEMOMAN_SECRET_<NAME>_ORIGIN` naming the one
|
|
79
|
-
site it may be typed on, and check the account with:
|
|
80
|
-
|
|
81
|
-
DEMOMAN_SECRET_SELLER_PASSWORD_ORIGIN=https://staging.example.com \
|
|
82
|
-
npx demoman signin --account seller
|
|
83
|
-
|
|
84
|
-
On your own machine, keep secrets in `.demoman/secrets.env`, not your shell:
|
|
85
|
-
an agent may pass Demoman only part of its environment — Codex does — so a
|
|
86
|
-
variable exported in your shell may never reach it.
|
|
87
|
-
|
|
88
|
-
## What it contacts
|
|
89
|
-
|
|
90
|
-
Demoman runs on your machine. Its browser opens only the pages your agent
|
|
91
|
-
asks for, in a fresh profile signed in only where you ran `npx demoman signin <url>`. Once a day it asks the
|
|
92
|
-
npm registry whether a newer `demoman` exists; `DEMOMAN_NO_UPDATE_CHECK=1`
|
|
93
|
-
turns that off.
|
|
29
|
+
- [Agents](https://demoman.io/docs/agents)
|
|
30
|
+
- [Authentication](https://demoman.io/docs/guides/authentication)
|
|
31
|
+
- [Data](https://demoman.io/docs/security/data)
|
|
94
32
|
|
|
95
33
|
## License
|
|
96
34
|
|
package/THIRD_PARTY_NOTICES
CHANGED