artideck 1.112.0 → 1.113.1
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 +39 -37
- package/dist/cli.cjs +176 -176
- package/dist/document-engine.cjs +306 -306
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# artideck
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Formerly `ryugi-artifacts`, which is published from the same build until it is retired.
|
|
4
|
+
|
|
5
|
+
Server, viewer and CLI for [Artideck](https://github.com/Innei/artideck)'s artifacts:
|
|
4
6
|
artboards, documents, whiteboards, slide decks and HTML pages that a coding agent
|
|
5
7
|
writes into a project and you open in the browser.
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
npx
|
|
9
|
-
npx
|
|
10
|
+
npx artideck # open the library of the current project
|
|
11
|
+
npx artideck monitor # list running project servers
|
|
10
12
|
```
|
|
11
13
|
|
|
12
14
|
Node.js 20.12 or newer is required. Install a durable CLI and select your harnesses:
|
|
13
15
|
|
|
14
16
|
```sh
|
|
15
|
-
npx
|
|
17
|
+
npx artideck install
|
|
16
18
|
```
|
|
17
19
|
|
|
18
20
|
The terminal wizard selects **Artifacts** (documents, artboards, slides, HTML and
|
|
@@ -22,16 +24,16 @@ Choose no harnesses to install only the CLI. Ctrl+C cancels the remaining work.
|
|
|
22
24
|
|
|
23
25
|
On Unix, a self-managed install keeps the complete runtime under
|
|
24
26
|
`~/.local/share/ryugi/install` (`$XDG_DATA_HOME/ryugi/install` when set), with a
|
|
25
|
-
stable `~/.local/bin/
|
|
27
|
+
stable `~/.local/bin/adeck` launcher. Windows uses an `adeck.cmd` shim. The launcher
|
|
26
28
|
never points into an npx cache. The installer prints a PATH command when needed,
|
|
27
29
|
including `fish_add_path` for fish. It preserves an existing command owned elsewhere.
|
|
28
30
|
|
|
29
31
|
For scripts, supply both choices; `--yes` never selects all detected harnesses:
|
|
30
32
|
|
|
31
33
|
```sh
|
|
32
|
-
npx
|
|
33
|
-
npx
|
|
34
|
-
npx
|
|
34
|
+
npx artideck install --mode artifacts --harness codex,pi
|
|
35
|
+
npx artideck install --mode full --harness claude-code
|
|
36
|
+
npx artideck install --mode artifacts --harness none
|
|
35
37
|
```
|
|
36
38
|
|
|
37
39
|
Supported targets are `claude-code`, `codex`, `cursor`, `gemini`, `opencode`, `pi`
|
|
@@ -50,22 +52,22 @@ Claude's marketplace entry. `--plugin-source /path/to/ryugi` uses a local checko
|
|
|
50
52
|
for offline installation or development.
|
|
51
53
|
|
|
52
54
|
```sh
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
adeck update # CLI through its original owner, then recorded plugins and the daemon
|
|
56
|
+
adeck update --check # check CLI version; apply nothing
|
|
57
|
+
adeck update --cli-only
|
|
58
|
+
adeck update --plugins-only --plugin-source /path/to/ryugi
|
|
59
|
+
adeck doctor
|
|
60
|
+
adeck uninstall --harness pi # only this integration; keep CLI
|
|
61
|
+
adeck uninstall # recorded integrations and owned command
|
|
60
62
|
```
|
|
61
63
|
|
|
62
64
|
The CLI checks for updates automatically and applies them explicitly with
|
|
63
|
-
`
|
|
65
|
+
`adeck update`. Downloads are staged and validated before activation; a failed
|
|
64
66
|
update leaves the previous runtime usable. npm/pnpm/Yarn/Bun global installs keep
|
|
65
67
|
their original update channel. Use `--no-cli` to install plugins while retaining
|
|
66
68
|
the current CLI. `--install-dir` and `--bin-dir` customize first-install locations;
|
|
67
69
|
`RYUGI_INSTALL_ROOT` and `RYUGI_BIN_DIR` provide equivalent defaults. The managed
|
|
68
|
-
launcher remembers its installation root. A running `
|
|
70
|
+
launcher remembers its installation root. A running `adeck daemon` is moved to the
|
|
69
71
|
same version as the CLI (`--plugins-only` leaves it alone); the hub also does this
|
|
70
72
|
when it starts.
|
|
71
73
|
|
|
@@ -74,12 +76,12 @@ versions. Modified plugin files or a replaced command are preserved and reported
|
|
|
74
76
|
Partial installations report each target and return exit code 5 with a retry
|
|
75
77
|
command. Machine formats never enter the terminal wizard.
|
|
76
78
|
|
|
77
|
-
`npm install -g
|
|
78
|
-
|
|
79
|
+
`npm install -g artideck` provides `adeck` and `artideck`. A global `ryugi-artifacts` install keeps updating under that name; to move it,
|
|
80
|
+
run `npm uninstall -g ryugi-artifacts && npm install -g artideck`. The server reads `.ryugi/artifacts/` in the selected project. Ryugi's
|
|
79
81
|
skills start it for you; this package also runs standalone.
|
|
80
82
|
|
|
81
83
|
Full command reference: [docs/artifacts-cli.md](https://github.com/Innei/ryugi/blob/main/docs/artifacts-cli.md).
|
|
82
|
-
Project overview and install: [Innei/
|
|
84
|
+
Project overview and install: [Innei/artideck](https://github.com/Innei/artideck).
|
|
83
85
|
|
|
84
86
|
## Cloud authentication (headless / CI)
|
|
85
87
|
|
|
@@ -88,10 +90,10 @@ Create a scoped access token (`ryg_…`) in Ryugi Cloud under **Account → Acce
|
|
|
88
90
|
```sh
|
|
89
91
|
# Stateless (CI, Docker, sandboxes) — takes precedence over stored credentials
|
|
90
92
|
export RYUGI_TOKEN="ryg_..."
|
|
91
|
-
|
|
93
|
+
adeck publish --artifact document/spec
|
|
92
94
|
|
|
93
95
|
# Persist to local credentials via stdin (remote machines)
|
|
94
|
-
printf '%s' "$TOKEN" |
|
|
96
|
+
printf '%s' "$TOKEN" | adeck publish --login --with-token
|
|
95
97
|
```
|
|
96
98
|
|
|
97
99
|
A `--token` CLI flag is intentionally omitted to avoid leaking tokens into shell history or process lists.
|
|
@@ -102,7 +104,7 @@ A deck is one `index.html` under `.ryugi/artifacts/slides/<id>/`: a `<section>`
|
|
|
102
104
|
slide with a stable `id`, on a fixed 1280×720 canvas. The server adds the engine
|
|
103
105
|
(reveal.js), the paper theme and its layouts, code highlighting with stepped lines
|
|
104
106
|
and Magic Move, Mermaid diagrams and KaTeX formulas; the page holds the slides only.
|
|
105
|
-
`
|
|
107
|
+
`adeck start --artifact slides/<id>` prints the writing rules for a new deck;
|
|
106
108
|
add `--help` to read them again.
|
|
107
109
|
|
|
108
110
|
- **Authoring.** The viewer shows the current slide, a filmstrip and speaker notes.
|
|
@@ -122,7 +124,7 @@ add `--help` to read them again.
|
|
|
122
124
|
## License
|
|
123
125
|
|
|
124
126
|
Proprietary — see [LICENSE](LICENSE). Ryugi's skills and harness integrations
|
|
125
|
-
remain MIT in [Innei/
|
|
127
|
+
remain MIT in [Innei/artideck](https://github.com/Innei/artideck).
|
|
126
128
|
|
|
127
129
|
## Output protocol
|
|
128
130
|
|
|
@@ -132,12 +134,12 @@ Each operation declares its supported formats; unsupported modes fail before wor
|
|
|
132
134
|
starts. There is no alternate legacy protocol or release gate.
|
|
133
135
|
|
|
134
136
|
```sh
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
adeck check --artifact document/plan --format brief
|
|
138
|
+
adeck publish --list --limit 10 --visibility private --format json
|
|
139
|
+
adeck get https://artideck.dev/a/ID --format brief
|
|
140
|
+
adeck get ID --detail --snapshot TOKEN --format json
|
|
141
|
+
adeck get ID --download --out ./new-download --format json
|
|
142
|
+
adeck config --output-format brief --project
|
|
141
143
|
```
|
|
142
144
|
|
|
143
145
|
Selection order is explicit option, `RYUGI_ARTIFACTS_FORMAT`, project
|
|
@@ -158,7 +160,7 @@ Review reads are read-only. Preview a bounded page, read complete evidence, then
|
|
|
158
160
|
explicitly acknowledge its receipt after using that evidence:
|
|
159
161
|
|
|
160
162
|
For a complete review in one request, run
|
|
161
|
-
`
|
|
163
|
+
`adeck comment list --artifact document/plan --sections all --detail`.
|
|
162
164
|
Documents include threads/asks; artboards include threads/groups/rounds. Each
|
|
163
165
|
collection retains its own page, snapshot and continuation. Only a complete
|
|
164
166
|
unread thread page issues a receipt; state collections do not. Follow every
|
|
@@ -166,11 +168,11 @@ relevant continuation before concluding. Filters, fields and existing cursors
|
|
|
166
168
|
or snapshots require the single-collection form below.
|
|
167
169
|
|
|
168
170
|
```sh
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
adeck comment list --artifact document/plan --section threads --format brief
|
|
172
|
+
adeck comment read --artifact document/plan --thread THREAD --detail
|
|
173
|
+
adeck comment ack --artifact document/plan --receipt RECEIPT
|
|
174
|
+
adeck changes --artifact document/plan --detail
|
|
175
|
+
adeck changes ack --artifact document/plan --receipt RECEIPT
|
|
174
176
|
```
|
|
175
177
|
|
|
176
178
|
`--all` and projected reads never issue receipts. Asks, groups and rounds are
|