ryugi-artifacts 1.112.0 → 1.113.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 CHANGED
@@ -1,18 +1,20 @@
1
- # ryugi-artifacts
1
+ # artideck
2
2
 
3
- Server, viewer and CLI for [Ryugi](https://github.com/Innei/ryugi)'s artifacts:
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 ryugi-artifacts # open the library of the current project
9
- npx ryugi-artifacts monitor # list running project servers
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 ryugi-artifacts install
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/ryugi` launcher. Windows uses a `ryugi.cmd` shim. The launcher
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 ryugi-artifacts install --mode artifacts --harness codex,pi
33
- npx ryugi-artifacts install --mode full --harness claude-code
34
- npx ryugi-artifacts install --mode artifacts --harness none
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
- ryugi update # CLI through its original owner, then recorded plugins and the daemon
54
- ryugi update --check # check CLI version; apply nothing
55
- ryugi update --cli-only
56
- ryugi update --plugins-only --plugin-source /path/to/ryugi
57
- ryugi doctor
58
- ryugi uninstall --harness pi # only this integration; keep CLI
59
- ryugi uninstall # recorded integrations and owned command
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
- `ryugi update`. Downloads are staged and validated before activation; a failed
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 `ryugi daemon` is moved to the
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 ryugi-artifacts` also provides `ryugi`; `ryugi-artifacts` remains
78
- an alias. The server reads `.ryugi/artifacts/` in the selected project. Ryugi's
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/ryugi](https://github.com/Innei/ryugi).
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
- ryugi publish --artifact document/spec
93
+ adeck publish --artifact document/spec
92
94
 
93
95
  # Persist to local credentials via stdin (remote machines)
94
- printf '%s' "$TOKEN" | ryugi publish --login --with-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
- `ryugi start --artifact slides/<id>` prints the writing rules for a new deck;
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/ryugi](https://github.com/Innei/ryugi).
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
- ryugi check --artifact document/plan --format brief
136
- ryugi publish --list --limit 10 --visibility private --format json
137
- ryugi get https://ryugi.innei.dev/a/ID --format brief
138
- ryugi get ID --detail --snapshot TOKEN --format json
139
- ryugi get ID --download --out ./new-download --format json
140
- ryugi config --output-format brief --project
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
- `ryugi comment list --artifact document/plan --sections all --detail`.
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
- ryugi comment list --artifact document/plan --section threads --format brief
170
- ryugi comment read --artifact document/plan --thread THREAD --detail
171
- ryugi comment ack --artifact document/plan --receipt RECEIPT
172
- ryugi changes --artifact document/plan --detail
173
- ryugi changes ack --artifact document/plan --receipt RECEIPT
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
package/bin/ryugi.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  const [major, minor] = process.versions.node.split('.').map(Number);
3
3
  if (major < 20 || (major === 20 && minor < 12)) {
4
4
  process.stderr.write(
5
- 'Ryugi requires Node.js 20.12 or newer. Upgrade Node, then run this command again.\n',
5
+ 'Artideck requires Node.js 20.12 or newer. Upgrade Node, then run this command again.\n',
6
6
  );
7
7
  process.exit(1);
8
8
  }