@dogsbay/artifact-viewer 0.0.0-stage → 0.2.0-beta.130
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 +25 -2
- package/dist/pack.mjs +8187 -0
- package/dist/viewer/chunks/chunk-BWUOKSP3.mjs +10 -0
- package/dist/viewer/chunks/chunk-J554WTEZ.mjs +1 -0
- package/dist/viewer/chunks/dogsbay-grammars-QTFFN4OR.mjs +1 -0
- package/dist/viewer/chunks/highlight-RH4Q5TXN-PIAFRDV4.mjs +154 -0
- package/dist/viewer/chunks/katex-7RASWIHN-GFN7OKEB.mjs +257 -0
- package/dist/viewer/files.json +8 -0
- package/dist/viewer/index.html +144 -0
- package/dist/viewer/viewer.mjs +3750 -0
- package/dist/viewer.version +1 -0
- package/package.json +41 -3
package/README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @dogsbay/artifact-viewer
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Publish a Dogsbay Markdown document as a claude.ai Artifact. The artifact holds a fixed viewer
|
|
4
|
+
page, the `.md` and its images. The page renders the Markdown in the reader's browser, so an
|
|
5
|
+
edit is a change to the `.md` alone.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx -y @dogsbay/artifact-viewer guide.md # → guide.artifact/
|
|
9
|
+
npx -y @dogsbay/artifact-viewer guide.md --start-review # with a review baseline
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Publish the folder with the Artifact tool: `index.html` as the page, the paths in
|
|
13
|
+
`files.json` as its files (the folder as `root`), and the capability
|
|
14
|
+
`{"comments":{"customAnchors":true}}`.
|
|
15
|
+
|
|
16
|
+
What readers get:
|
|
17
|
+
|
|
18
|
+
- the document rendered with `@dogsbay/render`, with Contents, Problems and Source;
|
|
19
|
+
- comments anchored to source lines (`guide.md L12: …`), which Claude reads with each comment;
|
|
20
|
+
- a **Changes** view of everything since a review round started (`guide.baseline.md`).
|
|
21
|
+
|
|
22
|
+
Options: `--out <dir>`, `--start-review` (the document now is the baseline, with the time in
|
|
23
|
+
`guide.baseline.json`), `--baseline <earlier.md>`. The output folder is replaced only when it is
|
|
24
|
+
missing, empty, or an earlier pack's output.
|
|
25
|
+
|
|
26
|
+
The `dogsbay-documents` skill (in `@dogsbay/render`) has the full recipe for agents.
|