dsh-claude-design 2.9.1 → 2.10.0
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 +9 -8
- package/cordis.patch.yml +8 -2
- package/lib/index.js +47 -758
- package/package.json +4 -18
- package/skills/claude-design/SKILL.md +3 -3
- package/skills/claude-design/scripts/artifact.mjs +1 -1
- package/skills/claude-design/scripts/editor/assets/{index-CYLuwRoc.js → index-CUg1EZUh.js} +27 -9
- package/skills/claude-design/scripts/editor/index.html +1 -1
- package/skills/claude-design/scripts/server.mjs +11 -8
- package/lib/client.js +0 -1800
package/README.md
CHANGED
|
@@ -27,14 +27,15 @@ such as `dsh-claude-design@2.4.0`.
|
|
|
27
27
|
prebuilt `scripts/`: the editor page, `artifact.mjs`, and its server).
|
|
28
28
|
- `lib/index.js`: the plugin. It registers the skill with the Harness skill registry and, when the skill loads, tells
|
|
29
29
|
the agent which Node executable runs `scripts/artifact.mjs`: the Host's own Node, the Node runtime the desktop app
|
|
30
|
-
ships, or `node` on PATH. Set `node` in the `claude-design` row's config to choose another.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
-
|
|
30
|
+
ships, or `node` on PATH. Set `node` in the `claude-design` row's config to choose another. That is all this row does,
|
|
31
|
+
so you can turn it off and [keep the skill to one agent preset](https://github.com/JimLiu/baoyu-design/blob/main/dsh-plugins/README.md#keep-a-skill-to-one-preset).
|
|
32
|
+
- `cordis.patch.yml`: the bundle layer that mounts two rows: this plugin's, and its row of `dsh-claude-artifacts`.
|
|
33
|
+
|
|
34
|
+
[`dsh-claude-artifacts`](https://www.npmjs.com/package/dsh-claude-artifacts) installs with this plugin and does the rest,
|
|
35
|
+
whichever way the skill is set up: whenever the agent opens the editor it waits for comments, so a comment's **Send to Agent** box is there: send one and
|
|
36
|
+
the agent wakes up, changes the artboard, and replies in the comment. It shows what is sent as a card in the chat, and adds **Artifacts**
|
|
37
|
+
to the left sidebar, one entry for all the baoyu-design plugins: the designs and everything else the agent has opened,
|
|
38
|
+
each a click away from its conversation and editor.
|
|
38
39
|
|
|
39
40
|
The editor server listens on 127.0.0.1 only and reads and writes only the canvas's folder.
|
|
40
41
|
|
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# dsh-claude-design bundle patch: installing the package (the Plugins page, or
|
|
2
2
|
# `dsh plugin --profile <name> add <spec>`) adds it to the profile's bundles,
|
|
3
|
-
# and this layer mounts
|
|
4
|
-
#
|
|
3
|
+
# and this layer mounts two rows. claude-design registers the skill with the
|
|
4
|
+
# profile's skill registry, for every preset; to give it to one preset, turn this
|
|
5
|
+
# row off and declare dsh-claude-design among that preset's plugins. claude-artifacts-design
|
|
6
|
+
# is dsh-claude-artifacts, what the baoyu-design plugins share (the Artifacts page, comments
|
|
7
|
+
# reaching the agent). It stays on whichever that is. Each plugin mounts it under its own id, so
|
|
8
|
+
# that the plugin can be removed while another one is installed; one of the rows does the work.
|
|
5
9
|
- insert:
|
|
10
|
+
- id: claude-artifacts-design
|
|
11
|
+
name: dsh-claude-artifacts
|
|
6
12
|
- id: claude-design
|
|
7
13
|
name: dsh-claude-design
|