@cyber-dash-tech/revela 0.15.1 → 0.15.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.
Files changed (41) hide show
  1. package/README.md +58 -104
  2. package/README.zh-CN.md +59 -104
  3. package/designs/starter/DESIGN.md +33 -14
  4. package/designs/starter/preview.html +23 -16
  5. package/designs/summit/DESIGN.md +35 -42
  6. package/designs/summit/preview.html +49 -49
  7. package/lib/commands/brief.ts +1 -1
  8. package/lib/commands/designs-new.ts +6 -6
  9. package/lib/commands/designs.ts +9 -9
  10. package/lib/commands/domains.ts +9 -9
  11. package/lib/commands/edit.ts +1 -1
  12. package/lib/commands/help.ts +34 -37
  13. package/lib/commands/init.ts +1 -1
  14. package/lib/commands/inspect.ts +2 -20
  15. package/lib/commands/narrative.ts +3 -3
  16. package/lib/commands/pdf.ts +3 -3
  17. package/lib/commands/pptx.ts +2 -2
  18. package/lib/commands/review.ts +13 -6
  19. package/lib/decks-state.ts +6 -6
  20. package/lib/edit/deck-state.ts +1 -1
  21. package/lib/edit/prompt.ts +12 -0
  22. package/lib/edit/resolve-deck.ts +1 -1
  23. package/lib/inspect/prompt.ts +6 -1
  24. package/lib/inspect/server.ts +2 -2
  25. package/lib/media/download.ts +36 -11
  26. package/lib/media/save.ts +24 -0
  27. package/lib/media/search.ts +385 -0
  28. package/lib/media/types.ts +12 -0
  29. package/lib/prompt-builder.ts +20 -14
  30. package/lib/qa/checks.ts +2 -1
  31. package/lib/qa/index.ts +73 -2
  32. package/lib/refine/server.ts +758 -68
  33. package/package.json +1 -1
  34. package/plugin.ts +133 -283
  35. package/skill/NARRATIVE_SKILL.md +15 -17
  36. package/skill/SKILL.md +220 -477
  37. package/tools/edit.ts +1 -1
  38. package/tools/inspection-result.ts +1 -1
  39. package/tools/media-save.ts +6 -0
  40. package/lib/commands/disable.ts +0 -14
  41. package/lib/commands/enable.ts +0 -48
package/README.md CHANGED
@@ -17,8 +17,8 @@ Its first render target is still the HTML slide deck: start a Revela workflow co
17
17
 
18
18
  ## What It Does
19
19
 
20
- - injects one-shot workflow instructions for explicit commands such as `/revela init`, `/revela story`, and `/revela make deck`
21
- - switches into deck-render prompt mode only when you explicitly start `/revela make deck`
20
+ - injects one-shot workflow instructions for explicit commands such as `/revela init`, `/revela story`, and `/revela make --deck`
21
+ - switches into deck-render prompt mode only when you explicitly start `/revela make --deck`
22
22
  - supports workspace document discovery, transparent text extraction for `.pdf`, `.docx`, `.pptx`, and `.xlsx`, and cached embedded-material extraction for those formats
23
23
  - keeps `DECKS.json` as the current workspace state engine for sources, research actions, findings, claims, evidence, narrative intent, render targets, and readiness
24
24
  - reviews narrative readiness before artifact rendering, then separately gates deck HTML writes through deck/artifact readiness
@@ -95,8 +95,8 @@ Optionally switch design or domain:
95
95
 
96
96
  ```text
97
97
  /revela design
98
- /revela design use summit
99
- /revela domains deeptech-investment
98
+ /revela design --use summit
99
+ /revela domain --use deeptech-investment
100
100
  ```
101
101
 
102
102
  Then shape, research, or review the story. When the narrative is ready and approved, make the deck:
@@ -104,32 +104,14 @@ Then shape, research, or review the story. When the narrative is ready and appro
104
104
  ```text
105
105
  /revela story
106
106
  /revela research
107
- /revela make deck
108
- ```
109
-
110
- If you need to check only the deck/artifact gate before HTML writing, use:
111
-
112
- ```text
113
- /revela make deck --review
107
+ /revela make --deck
114
108
  ```
115
109
 
116
110
  Export when needed, either manually or by asking the agent to export:
117
111
 
118
112
  ```text
119
- /revela pdf decks/humanoid-robotics.html
120
- /revela pptx decks/humanoid-robotics.html
121
- ```
122
-
123
- If you want normal chat messages to stay in Revela narrative mode between explicit commands, enable optional ambient mode:
124
-
125
- ```text
126
- /revela enable
127
- ```
128
-
129
- Disable ambient mode when done:
130
-
131
- ```text
132
- /revela disable
113
+ /revela export --deck pdf decks/humanoid-robotics.html
114
+ /revela export --deck pptx decks/humanoid-robotics.html
133
115
  ```
134
116
 
135
117
  ---
@@ -137,64 +119,49 @@ Disable ambient mode when done:
137
119
  ## Commands
138
120
 
139
121
  ```text
140
- /revela show status and help
141
- /revela enable optional ambient narrative mode for normal chat
142
- /revela disable disable ambient Revela mode
122
+ /revela show REVELA help
143
123
 
144
124
  /revela init initialize or refresh narrative workspace state
145
125
  /revela research research, bind evidence, and reduce story gaps/caveats
146
126
  /revela story open the read-only story workspace UI
147
- /revela make deck make a deck from approved story state
148
- /revela make deck --review review deck/artifact readiness before writing HTML
149
- /revela make brief [file.md] render executive brief from approved story
150
- /revela remember <text> save an explicit user/workflow preference
151
- /revela refine open unified reading, inspection, and editing workspace
152
- /revela inspect deprecated shim to /revela refine Inspect mode
153
-
154
- /revela review legacy readiness report for story state
155
- /revela narrative compatibility alias for /revela story
156
- /revela deck compatibility alias for /revela make deck
157
- /revela brief [file.md] compatibility alias for /revela make brief
127
+ /revela make --deck make a deck from approved story state
128
+ /revela make --brief [file.md] render executive brief from approved story
129
+ /revela refine --deck open unified deck reading, inspection, and editing workspace
130
+ /revela export --deck pdf [file] export an HTML deck to PDF in the same directory
131
+ /revela export --deck pptx [file] [--notes] export an HTML deck to editable PPTX
158
132
 
159
133
  /revela design list installed designs
160
- /revela design use <name> activate a design
161
- /revela design new <name> create a custom design with AI
162
- /revela design edit <name> refine an existing custom design with AI
163
- /revela design preview [name] open a design preview in the browser
164
- /revela design add <source> install a design from URL, local path, or github:user/repo
165
- /revela design rm <name> remove an installed design
166
- /revela designs list installed designs
167
- /revela designs <name> activate a design
168
- /revela designs-new <name> create a custom design with AI
169
- /revela designs-edit <name> refine an existing custom design with AI
170
- /revela designs-preview [name] open a design preview in the browser
171
- /revela designs-add <source> install a design from URL, local path, or github:user/repo
172
- /revela designs-rm <name> remove an installed design
173
-
174
- /revela domains list installed domains
175
- /revela domains <name> activate a domain
176
- /revela domains-add <source> install a domain from URL, local path, or github:user/repo
177
- /revela domains-rm <name> remove an installed domain
178
-
179
- /revela pdf <file> export an HTML deck to PDF in the same directory
180
- /revela pptx <file> export an HTML deck to editable PPTX in the same directory
134
+ /revela design --use <name> activate a design
135
+ /revela design --new <name> create a custom design with AI
136
+ /revela design --edit <name> refine an existing custom design with AI
137
+ /revela design --preview [name] open a design preview in the browser
138
+ /revela design --add <source> install a design from URL, local path, or github:user/repo
139
+ /revela design --rm <name> remove an installed design
140
+
141
+ /revela domain list installed domains
142
+ /revela domain --use <name> activate a domain
143
+ /revela domain --add <source> install a domain from URL, local path, or github:user/repo
144
+ /revela domain --rm <name> remove an installed domain
181
145
  ```
182
146
 
183
- Most `/revela` commands run locally with zero LLM cost. `/revela init`, `/revela research`, `/revela story`, `/revela review`, `/revela make deck`, `/revela remember`, `/revela design new`, and `/revela design edit` start AI-assisted workflows because they need to read or update project files. These workflow commands keep the visible chat message short and inject their detailed instructions through a one-shot system-prompt command intent. `/revela refine` is the unified post-artifact workspace. It opens a local browser workspace with Edit and Inspect tabs that share the same Cmd/Ctrl-click element references. Edit sends targeted comments back into the current OpenCode session; Inspect sends grounded selection context to the current OpenCode session and renders localized Narrative Reading, Exploratory Reading, Source, and Purpose cards, has no chat box, and does not edit the deck. Deterministic preprocessing is kept as fallback context rather than the normal first UI. If a generated result omits newer reading cards, Refine keeps the deterministic Narrative Reading and Exploratory Reading cards instead of dropping context. Narrative Reading also shows artifact coverage for the selected canonical claim, including whether each recorded artifact contains the claim and whether coverage is current, stale, partial, or missing. Exploratory Reading is explicitly non-official and bounded to recorded claims, evidence, caveats, objections, risks, and artifact coverage. `/revela edit` has been removed; use `/revela refine` instead. `/revela inspect` remains only as a deprecated compatibility shim to Refine.
147
+ Most `/revela` commands run locally with zero LLM cost. `/revela init`, `/revela research`, `/revela story`, `/revela make --deck`, `/revela design --new`, `/revela design --edit`, and `/revela export --deck pptx --notes` start AI-assisted workflows because they need to read or update project files. These workflow commands keep the visible chat message short and inject their detailed instructions through a one-shot system-prompt command intent. `/revela refine --deck` is the unified post-artifact workspace. It opens a local browser workspace with Edit and Inspect tabs that share the same Cmd/Ctrl-click element references. Edit sends targeted comments back into the current OpenCode session; Inspect sends grounded selection context to the current OpenCode session and renders localized Narrative Reading, Exploratory Reading, Source, and Purpose cards, has no chat box, and does not edit the deck. Deterministic preprocessing is kept as fallback context rather than the normal first UI. If a generated result omits newer reading cards, Refine keeps the deterministic Narrative Reading and Exploratory Reading cards instead of dropping context. Narrative Reading also shows artifact coverage for the selected canonical claim, including whether each recorded artifact contains the claim and whether coverage is current, stale, partial, or missing. Exploratory Reading is explicitly non-official and bounded to recorded claims, evidence, caveats, objections, risks, and artifact coverage. `/revela edit` and `/revela inspect` are no longer public commands; use `/revela refine --deck` instead.
184
148
 
185
149
  ---
186
150
 
187
151
  ## How It Works
188
152
 
189
- Explicit Revela workflow commands append one-shot command instructions to the current agent's system prompt. `/revela enable` is optional ambient mode for keeping normal chat in Revela narrative mode between explicit commands.
153
+ Explicit Revela workflow commands append one-shot command instructions to the current agent's system prompt and choose the needed prompt mode automatically.
190
154
 
191
- The default prompt is narrative-first: it follows `Init -> Research -> Story -> Make -> Refine` and focuses on audience belief shift, decision/action, thesis, claims, evidence boundaries, objections, risks, research gaps, and approval. Active design CSS, layout catalogs, component indexes, chart rules, and deck HTML skeletons are intentionally omitted until `/revela make deck` switches the session into deck-render mode or `/revela design` starts explicit design work.
155
+ The default prompt is narrative-first: it follows `Init -> Research -> Story -> Make -> Refine -> Export` and focuses on audience belief shift, decision/action, thesis, claims, evidence boundaries, objections, risks, research gaps, and approval. Active design CSS, layout catalogs, component indexes, chart rules, and deck HTML skeletons are intentionally omitted until `/revela make --deck` switches the session into deck-render mode or `/revela design` starts explicit design work.
192
156
 
193
- Deck-render mode is built from 3 layers:
157
+ Deck-render mode is built from 2 layers:
194
158
 
195
159
  1. `skill/SKILL.md` - the core deck-render workflow
196
- 2. active domain - domain-specific report structure and terminology
197
- 3. active design - visual system, layouts, components, and chart rules
160
+ 2. active design - visual system, layouts, components, and chart rules
161
+
162
+ Active domain guidance is narrative-only. It helps `init`, `research`, and `story`
163
+ shape the canonical narrative; `make --deck` renders that approved narrative
164
+ without injecting the full domain prompt again.
198
165
 
199
166
  Persistent preferences live in `~/.config/revela/config.json`.
200
167
  The ambient enabled or disabled state is session-level only.
@@ -211,7 +178,7 @@ The state records:
211
178
  - render targets such as the active HTML deck plus derived PDF and PPTX artifacts
212
179
  - review snapshots with input hashes so old readiness results become stale after meaningful state changes
213
180
 
214
- Existing root `DECKS.json` workspaces remain compatible. Running `/revela init` or `/revela review` on an older project can normalize canonical narrative state and refresh projection fields without requiring a manual migration, moving files, or replacing `DECKS.json` with a database. `writeReadiness.status: "ready"` is deck/artifact readiness only; it is never narrative approval.
181
+ Existing root `DECKS.json` workspaces remain compatible. Running `/revela init` or `/revela story` on an older project can normalize canonical narrative state and refresh projection fields without requiring a manual migration, moving files, or replacing `DECKS.json` with a database. `writeReadiness.status: "ready"` is deck/artifact readiness only; it is never narrative approval.
215
182
 
216
183
  Decks remain the primary authored artifact, but they are now treated as render targets from the same workspace state that can later support briefs, appendix material, Evidence Inspector views, Q&A, and interactive reading layers without duplicating source/evidence logic.
217
184
 
@@ -225,26 +192,16 @@ Use Revela as a narrative-first artifact workflow:
225
192
  2. Use `/revela research` when story gaps or unsupported central claims need external evidence; it should loop through research, evidence binding, claim/relation narrowing, and re-review until public research stops improving the state.
226
193
  3. Use `/revela story` to open the story workspace UI and inspect claim flow, evidence, caveats, research gaps, approval state, and artifact coverage.
227
194
  4. Approve the narrative or request revisions. If you intentionally render before full strategic approval, record an explicit render override.
228
- 5. Run `/revela make deck` to compile the approved narrative into deck slide specs and enter deck-render mode, or `/revela make brief` to render an executive brief.
229
- 6. Choose or confirm design only during deck handoff, then run the deck/artifact gate with `/revela make deck --review` or the handoff workflow.
195
+ 5. Run `/revela make --deck` to compile the approved narrative into deck slide specs and enter deck-render mode, or `/revela make --brief` to render an executive brief.
196
+ 6. Choose or confirm design only during deck handoff; `/revela make --deck` runs the deck/artifact gate after plan confirmation.
230
197
  7. Let the agent write the HTML deck under `decks/` only after the artifact gate is ready.
231
- 8. Use `/revela refine` for visual comments, targeted revisions, read-only Narrative Reading, bounded Exploratory Reading, Source, and Purpose inspection, and claim-to-artifact coverage for selected deck elements.
232
- 9. Use `/revela refine` for post-artifact changes; `/revela edit` has been removed and `/revela inspect` remains only for old scripts or habits.
233
- 10. Export with `/revela pdf <file>` or `/revela pptx <file>`.
234
-
235
- Use `/revela enable` only when you want ordinary chat messages, not just explicit `/revela ...` commands, to stay in Revela narrative mode.
236
-
237
- `/revela story` opens the read-only story workspace UI. `/revela review` produces the legacy readiness report for unclear audience, missing belief shift, missing decision/action, weak thesis, unsupported central claims, weak evidence, unsupported scope, unhandled objections, missing risk/assumption handling, stale approval, or missing approval. Neither command reviews design/layout readiness or writes the final deck.
198
+ 8. Use `/revela refine --deck` for visual comments, targeted revisions, read-only Narrative Reading, bounded Exploratory Reading, Source, and Purpose inspection, and claim-to-artifact coverage for selected deck elements.
199
+ 9. Use `/revela refine --deck` for post-artifact changes; `/revela edit` and `/revela inspect` are no longer public commands.
200
+ 10. Export with `/revela export --deck pdf <file>` or `/revela export --deck pptx <file>`.
238
201
 
239
- If Revela blocks a deck write, ask the agent to run `/revela make deck --review`, resolve the reported artifact gaps, and try again. This protects the deck file from being overwritten before the slide specs, evidence projection, design/layout readiness, review snapshot, and deck HTML contract are ready.
240
-
241
- To remember long-term preferences, use:
242
-
243
- ```text
244
- /revela remember Prefer concise Chinese consulting-style decks.
245
- ```
202
+ `/revela story` opens the read-only story workspace UI for unclear audience, missing belief shift, missing decision/action, weak thesis, unsupported central claims, weak evidence, unsupported scope, unhandled objections, missing risk/assumption handling, stale approval, or missing approval. It does not review design/layout readiness or write the final deck.
246
203
 
247
- Do not use `remember` for temporary checklist state; use it only for durable user or workflow preferences.
204
+ If Revela blocks a deck write, ask the agent to continue `/revela make --deck`, resolve the reported artifact gaps, and try again. This protects the deck file from being overwritten before the slide specs, evidence projection, design/layout readiness, review snapshot, and deck HTML contract are ready.
248
205
 
249
206
  ---
250
207
 
@@ -329,7 +286,7 @@ You can also run QA manually with the `revela-qa` tool.
329
286
 
330
287
  ## Designs And Domains
331
288
 
332
- Use `/revela design` and `/revela domains` to inspect what is installed in your environment. Older `/revela designs*` commands remain compatibility aliases.
289
+ Use `/revela design` and `/revela domain` to inspect what is installed in your environment. Older `/revela designs*` commands now show migration help.
333
290
 
334
291
  Bundled domains in this repository:
335
292
 
@@ -356,8 +313,7 @@ unless the installer infers another name from the source.
356
313
  You can ask Revela to create a new local design interactively:
357
314
 
358
315
  ```text
359
- /revela designs-new my-design
360
- /revela design new my-design
316
+ /revela design --new my-design
361
317
  ```
362
318
 
363
319
  The agent will interview you for visual references, summarize a design brief for confirmation, then save `DESIGN.md` and `preview.html` into your local Revela designs directory. For AI-authored designs, `preview.html` is required: it must include cover and closing slides, and it must showcase every `@component:*` before `revela-designs-author` will accept the package. The default structural base is an internal neutral `starter` design, which is hidden from the normal design list. Use `--base summit` or `--base monet` only when you want to derive from those specific styles.
@@ -365,8 +321,7 @@ The agent will interview you for visual references, summarize a design brief for
365
321
  Refine an existing local design:
366
322
 
367
323
  ```text
368
- /revela designs-edit my-design
369
- /revela design edit my-design
324
+ /revela design --edit my-design
370
325
  ```
371
326
 
372
327
  The agent will ask what to change, inspect the current design, confirm an edit brief, then overwrite the local design package through the controlled authoring tool.
@@ -374,8 +329,7 @@ The agent will ask what to change, inspect the current design, confirm an edit b
374
329
  Open a design preview in your browser:
375
330
 
376
331
  ```text
377
- /revela designs-preview my-design
378
- /revela design preview my-design
332
+ /revela design --preview my-design
379
333
  ```
380
334
 
381
335
  Omit the name to preview the active design. If a design has no `preview.html`, Revela will report that no preview is available.
@@ -583,9 +537,9 @@ If a design has no markers, Revela falls back to injecting the full `DESIGN.md`
583
537
  Install a custom design:
584
538
 
585
539
  ```text
586
- /revela design add github:your-org/your-design
587
- /revela design add https://example.com/my-design.zip
588
- /revela design add ./path/to/local/design-folder
540
+ /revela design --add github:your-org/your-design
541
+ /revela design --add https://example.com/my-design.zip
542
+ /revela design --add ./path/to/local/design-folder
589
543
  ```
590
544
 
591
545
  ---
@@ -595,7 +549,7 @@ Install a custom design:
595
549
  A custom domain is a folder containing `INDUSTRY.md`.
596
550
 
597
551
  ```text
598
- /revela domains-add github:your-org/your-domain
552
+ /revela domain --add github:your-org/your-domain
599
553
  ```
600
554
 
601
555
  `INDUSTRY.md` is a legacy filename kept for compatibility.
@@ -607,10 +561,10 @@ A custom domain is a folder containing `INDUSTRY.md`.
607
561
  Use the unified refinement workspace for normal post-write review and revision:
608
562
 
609
563
  ```text
610
- /revela refine
564
+ /revela refine --deck
611
565
  ```
612
566
 
613
- `/revela refine` opens the active HTML deck with two tabs. Use `Ctrl`/`Cmd` + click once to reference deck elements, then choose Edit for fast natural-language change comments or Inspect for read-only Narrative Reading, bounded Exploratory Reading, Source, Purpose, and artifact coverage review. Inspect does not mutate the deck; Edit remains the mutation path. This is the recommended entry for post-artifact reading, inspection, and editing.
567
+ `/revela refine --deck` opens the active HTML deck with two tabs. Use `Ctrl`/`Cmd` + click once to reference deck elements, then choose Edit for fast natural-language change comments or Inspect for read-only Narrative Reading, bounded Exploratory Reading, Source, Purpose, and artifact coverage review. Inspect does not mutate the deck; Edit remains the mutation path. This is the recommended entry for post-artifact reading, inspection, and editing.
614
568
 
615
569
  Removed command:
616
570
 
@@ -618,25 +572,25 @@ Removed command:
618
572
  /revela edit
619
573
  ```
620
574
 
621
- `/revela edit` has been removed. Use `/revela refine` for the unified reading, inspection, and editing workspace.
575
+ `/revela edit` has been removed. Use `/revela refine --deck` for the unified reading, inspection, and editing workspace.
622
576
 
623
577
  Use `Ctrl`/`Cmd` + click to reference deck elements, write a natural-language comment in the Edit tab, then send it back to OpenCode. Revela sends a structured edit prompt that includes the deck file, slide context, selected element metadata, and your comment.
624
578
 
625
579
  LLM tool equivalent: `revela-edit` with no target. The tool remains a compatibility shim and opens Refine in Edit mode when you say things like “I want to edit the deck”.
626
580
 
627
- For existing decks, `/revela refine` prepares whatever minimal project context is needed so targeted edits can still use the normal safety checks.
581
+ For existing decks, `/revela refine --deck` prepares whatever minimal project context is needed so targeted edits can still use the normal safety checks.
628
582
 
629
583
  ---
630
584
 
631
585
  ## Evidence Inspector
632
586
 
633
- Use `/revela refine` for evidence inspection and narrative reading. Deprecated compatibility command:
587
+ Use `/revela refine --deck` for evidence inspection and narrative reading. Removed compatibility command:
634
588
 
635
589
  ```text
636
590
  /revela inspect
637
591
  ```
638
592
 
639
- `/revela inspect` no longer opens a separate inspector shell. It opens `/revela refine` in Inspect mode. The Inspect tab shows Narrative Reading and Exploratory Reading cards alongside the fixed Source and Purpose cards. Narrative Reading preserves canonical claim ids, evidence binding ids, supported scope, unsupported scope, caveats, objections, risks, and artifact coverage when the selected element maps to canonical narrative state. Coverage shows whether the selected claim appears in recorded deck/brief/export artifacts and whether those artifacts are current, stale, partial, or missing against the current narrative hash. Exploratory Reading provides non-official objection prep, audience reframing boundaries, appendix leads, and meeting-prep cues from the same recorded context only. Use `Ctrl`/`Cmd` + click to reference deck elements, then click `Inspect Selection`. Selection is locked while the request is being processed.
593
+ `/revela inspect` no longer opens a separate inspector shell. Use `/revela refine --deck` and the Inspect tab. The Inspect tab shows Narrative Reading and Exploratory Reading cards alongside the fixed Source and Purpose cards. Narrative Reading preserves canonical claim ids, evidence binding ids, supported scope, unsupported scope, caveats, objections, risks, and artifact coverage when the selected element maps to canonical narrative state. Coverage shows whether the selected claim appears in recorded deck/brief/export artifacts and whether those artifacts are current, stale, partial, or missing against the current narrative hash. Exploratory Reading provides non-official objection prep, audience reframing boundaries, appendix leads, and meeting-prep cues from the same recorded context only. Use `Ctrl`/`Cmd` + click to reference deck elements, then click `Inspect Selection`. Selection is locked while the request is being processed.
640
594
 
641
595
  The inspector is not chat and has no freeform prompt. It does not mutate `DECKS.json` or the deck HTML. It uses recorded slide specs, narrative state, and slide-level evidence trace as grounded context. Inspect is LLM-first in the UI: it shows a reading/loading state, then renders structured generated cards. Deterministic preprocessing remains internal fallback context and is shown only if generation fails or times out. The Inspect tab includes a fixed display-language selector; language changes affect card copy only and never alter claim ids, evidence ids, source paths, URLs, numbers, quotes, or canonical facts. When an older or partial generated result only returns Source/Purpose, Refine preserves the deterministic reading cards so generated inspection cannot silently remove claim, evidence-boundary, artifact-coverage, or exploratory context.
642
596
 
@@ -649,7 +603,7 @@ Refine uses the active HTML deck render target recorded in workspace state. The
649
603
  PDF export:
650
604
 
651
605
  ```text
652
- /revela pdf decks/my-deck.html
606
+ /revela export --deck pdf decks/my-deck.html
653
607
  ```
654
608
 
655
609
  LLM tool equivalent: `revela-pdf` with `{ "file": "decks/my-deck.html" }`.
@@ -657,12 +611,12 @@ LLM tool equivalent: `revela-pdf` with `{ "file": "decks/my-deck.html" }`.
657
611
  Editable PPTX export:
658
612
 
659
613
  ```text
660
- /revela pptx decks/my-deck.html
614
+ /revela export --deck pptx decks/my-deck.html
661
615
  ```
662
616
 
663
617
  LLM tool equivalent: `revela-pptx` with `{ "file": "decks/my-deck.html" }`.
664
618
 
665
- Both commands and tools write output beside the source HTML deck. Use the tools when you want the agent to run export as part of the deck workflow instead of asking the user to invoke `/revela pdf` or `/revela pptx` manually.
619
+ Both commands and tools write output beside the source HTML deck. Use the tools when you want the agent to run export as part of the deck workflow instead of asking the user to invoke `/revela export --deck pdf` or `/revela export --deck pptx` manually.
666
620
 
667
621
  ---
668
622