demoman 0.2.0-rc.1 → 0.2.0-rc.2
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 +18 -1
- package/THIRD_PARTY_NOTICES +2 -1
- package/dist/demoman.mjs +2903 -459
- package/dist/page/executor-entry.js +128 -45
- package/dist/page/mux-entry.js +26 -1
- package/dist/page/render-entry.js +33 -4
- package/dist/recipe.md +235 -9
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -16,10 +16,27 @@ Setup downloads Chromium (about 190 MB) and installs the Demoman plugin for
|
|
|
16
16
|
Claude Code. Restart Claude Code, then ask for a demo — for example,
|
|
17
17
|
"make a demo of demoman.io/sample".
|
|
18
18
|
|
|
19
|
+
For an app behind a login, sign in once yourself:
|
|
20
|
+
|
|
21
|
+
npx demoman signin https://app.example.com
|
|
22
|
+
|
|
23
|
+
That is the way for a real account, single sign-on and two-factor.
|
|
24
|
+
|
|
25
|
+
## Demo accounts
|
|
26
|
+
|
|
27
|
+
For an app you run locally, the agent creates a demo account and its data,
|
|
28
|
+
writes the sign-in steps to `.demoman/accounts.json` (commit it) and the
|
|
29
|
+
password to `.demoman/secrets.env` (git-ignored), and Demoman signs in by
|
|
30
|
+
itself, whenever a session is missing or has lapsed. Only demo accounts: the
|
|
31
|
+
agent never asks for your own password. In CI, set `DEMOMAN_SECRET_*` from the
|
|
32
|
+
provider's secrets and check the account with:
|
|
33
|
+
|
|
34
|
+
npx demoman signin --account seller
|
|
35
|
+
|
|
19
36
|
## What it contacts
|
|
20
37
|
|
|
21
38
|
Demoman runs on your machine. Its browser opens only the pages your agent
|
|
22
|
-
asks for, in a fresh profile signed in
|
|
39
|
+
asks for, in a fresh profile signed in only where you ran `npx demoman signin <url>`. Once a day it asks the
|
|
23
40
|
npm registry whether a newer `demoman` exists; `DEMOMAN_NO_UPDATE_CHECK=1`
|
|
24
41
|
turns that off.
|
|
25
42
|
|
package/THIRD_PARTY_NOTICES
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
demoman 0.2.0-rc.
|
|
1
|
+
demoman 0.2.0-rc.2 includes code from these packages, bundled into dist/:
|
|
2
2
|
|
|
3
3
|
== dom-accessibility-api 0.7.1 (MIT) ==
|
|
4
4
|
Source: https://www.npmjs.com/package/dom-accessibility-api/v/0.7.1
|
|
@@ -458,4 +458,5 @@ These packages are installed beside demoman as its dependencies, each under its
|
|
|
458
458
|
- gifenc 1.0.3 (MIT)
|
|
459
459
|
- mediabunny 1.55.2 (MPL-2.0)
|
|
460
460
|
- playwright 1.62.1 (Apache-2.0)
|
|
461
|
+
- tldts 7.4.10 (MIT)
|
|
461
462
|
- zod 4.4.3 (MIT)
|