@lincyaw/skills 1.0.0-rc.45 → 1.0.0-rc.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lincyaw/skills",
3
- "version": "1.0.0-rc.45",
3
+ "version": "1.0.0-rc.47",
4
4
  "description": "Presmium's bundled authoring, animation, presentation and plugin-development skills for coding agents",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "jiti": "^2.7.0",
39
- "@lincyaw/kernel": "1.0.0-rc.45"
39
+ "@lincyaw/kernel": "1.0.0-rc.47"
40
40
  },
41
41
  "presmium": {
42
42
  "skills": [
package/skills/index.json CHANGED
@@ -12,8 +12,8 @@
12
12
  "references/publishing.md",
13
13
  "references/writing.md"
14
14
  ],
15
- "version": "1.0.0-rc.45",
16
- "hash": "6f4617e0851f68d25b41b966c206e9584bead22392a74ad1200e72114da31eda"
15
+ "version": "1.0.0-rc.47",
16
+ "hash": "9b6965b182c71104e72cc1a544876553b3aecb3fad567b6954e84a70384021e8"
17
17
  },
18
18
  {
19
19
  "name": "presmium-animate",
@@ -545,7 +545,7 @@
545
545
  "references/team.md",
546
546
  "references/timeline.md"
547
547
  ],
548
- "version": "1.0.0-rc.45",
548
+ "version": "1.0.0-rc.47",
549
549
  "hash": "76dc5b50143b8134b36c010e5416033652071373500f214f4e7b1792af8a0c4a"
550
550
  },
551
551
  {
@@ -556,7 +556,7 @@
556
556
  "references/plugin.md",
557
557
  "references/testing.md"
558
558
  ],
559
- "version": "1.0.0-rc.45",
559
+ "version": "1.0.0-rc.47",
560
560
  "hash": "af8f48dbe9dbc5bd772fa3d6172ae9c9b96626fec2cd7933b4e08f7c5f154b75"
561
561
  }
562
562
  ]
@@ -52,8 +52,12 @@ When the MCP server `presmium` offers author actions (the studio's assistant; or
52
52
 
53
53
  Discover `undo_document_change` for saved history and `get_document_history` for its entries. `editor_action` controls advertised browser actions, supplying connection/revision/source metadata internally and waiting briefly for a real acknowledgement. Pending returns a request reference to inspect; never resend an action merely because its acknowledgement was lost. Use its `native-history.undo/redo` actions for the mounted editor’s native stack, and `view.set` to change the actual view. Its `recording.*` actions share the native microphone candidate and audition; read state through existing client reads. Cancel an exact pending request through `cancel_authoring_client_request`, then inspect its real acknowledgement. Cancellation does not roll back a saved transaction. Required-review workspaces refuse browser source writes.
54
54
 
55
+ For project files, discover `list_files` and `read_source` for current paths and bounded raw-text fragments, including invalid documents. Pin the returned version for later fragments. `edit_source` accepts a unique find/replace or complete content, with `create:true` for an exclusive new file; `edits[]` saves up to 16 related files as one transaction. Its source/version checks stay on the server. This requires an external unbound owner and workspace write confirmation, and respects required-review policy. Valid documents use canonical actions; raw document writing only repairs an existing invalid served entry. Read current source/history before repeating a write after a lost reply or `current:false`. `get_project_capabilities` lists selectable templates and `nextTemplatesOffset`; use the existing project creation action with the chosen name.
56
+
55
57
  Workspace review tools are reserved for an external, unbound owner credential. Discover `get_review` for a small summary, then page files/steps or read one exact file diff as needed. Discover `change_review` to accept, reject or restore a checkpoint after workspace write confirmation; reject/restore require `confirm:true`. The server supplies the candidate binding. An optional snapshot pins an earlier read; changed or running candidates are refused. Document-bound assistants cannot accept their own work. After a lost reply, inspect the review/history before deciding another action.
56
58
 
59
+ For uncommitted file changes, discover `get_workspace_changes` and `change_workspace_changes`. Commit needs only `action:commit` and `message`; discard needs `action:discard` and `confirm:true`. Optional paths select exact files; omission captures the current set before confirmation. Versions, index guards and filtered commit blobs are managed internally. Use an optional snapshot only to pin a prior read. Independent changes preserve unrelated staging. Unsupported entries are marked; choose other files explicitly. These writes require an external unbound owner and workspace confirmation, and respect required review. Lost replies require inspecting changes/history before another write. `refreshed:false` means discard succeeded but the document-list notification failed. Saved-history undo and review acceptance remain separate operations.
60
+
57
61
  Skill discovery returns short summaries; use `list_skills` with a name and `details:true` only when the complete resource file list is needed. `build` reads the current saved source internally; pass its optional source only to pin an earlier decision.
58
62
 
59
63
  To connect an AI tool: a project made by `presmium new` has `.mcp.json` for Claude Code; otherwise run `claude mcp add presmium -- presmium mcp` or `codex mcp add presmium -- presmium mcp` in the project. `presmium mcp` relays to the Presmium Studio or `presmium serve` running for the project and follows it when it starts again (a `presmium dev` only previews: it has no author actions and takes no pictures); with neither running it only reads, checks and exports, and the author starts `presmium studio` then reconnects the server. A script or pipeline without an MCP client calls the same tools of the running service from the project's directory: `presmium mcp tools` lists them, `presmium mcp call <tool> '<JSON arguments>'` prints the result as JSON, and `--out <dir>` saves the pictures a capture returns as PNG files.