dsh-claude-motion 2.9.2 → 2.10.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 +12 -11
- package/cordis.patch.yml +8 -2
- package/lib/index.js +28 -753
- package/package.json +4 -18
- package/skills/claude-motion/SKILL.md +3 -3
- package/skills/claude-motion/scripts/artifact.mjs +11 -8
- package/lib/client.js +0 -1800
package/README.md
CHANGED
|
@@ -21,17 +21,18 @@ its own `claude-motion` skill (in `.agents/skills/` or `.dsh/skills/`) uses that
|
|
|
21
21
|
|
|
22
22
|
- `skills/claude-motion/`: the skill as baoyu-design publishes it (`SKILL.md`, `artifact-type/reference/`, and the
|
|
23
23
|
prebuilt `scripts/`: the player page and `artifact.mjs`, which is also its server).
|
|
24
|
-
- `lib/index.js`: the plugin. It registers the skill with the Harness skill registry and, when the skill loads, tells
|
|
25
|
-
agent which Node executable runs `scripts/artifact.mjs`: the Host's own Node, the Node runtime the desktop app
|
|
26
|
-
or `node` on PATH. Set `node` in the `claude-motion` row's config to choose another.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
24
|
+
- `lib/index.js`: the plugin. It registers the skill with the Harness skill registry and, when the skill loads, tells
|
|
25
|
+
the agent which Node executable runs `scripts/artifact.mjs`: the Host's own Node, the Node runtime the desktop app
|
|
26
|
+
ships, or `node` on PATH. Set `node` in the `claude-motion` row's config to choose another. That is all this row does,
|
|
27
|
+
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).
|
|
28
|
+
- `cordis.patch.yml`: the bundle layer that mounts two rows: this plugin's, and its row of `dsh-claude-artifacts`.
|
|
29
|
+
|
|
30
|
+
[`dsh-claude-artifacts`](https://www.npmjs.com/package/dsh-claude-artifacts) installs with this plugin and does the rest,
|
|
31
|
+
whichever way the skill is set up: whenever the agent opens the player it waits for comments, so a comment's **Send to Agent** box is there: send one and
|
|
32
|
+
the agent wakes up, changes the film, and replies in the comment. The player's **Continue**, **Finalize**, **Make the
|
|
33
|
+
animation** and **Ask Agent** buttons reach the agent the same way. It shows what is sent as a card in the chat, and adds **Artifacts**
|
|
34
|
+
to the left sidebar, one entry for all the baoyu-design plugins: the films and everything else the agent has opened,
|
|
35
|
+
each a click away from its conversation and editor.
|
|
35
36
|
|
|
36
37
|
The player's server listens on 127.0.0.1 only and reads and writes only the film's folder.
|
|
37
38
|
|
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# dsh-claude-motion 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-motion 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-motion among that preset's plugins. claude-artifacts-motion
|
|
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-motion
|
|
11
|
+
name: dsh-claude-artifacts
|
|
6
12
|
- id: claude-motion
|
|
7
13
|
name: dsh-claude-motion
|