@lincyaw/skills 1.0.0-rc.59 → 1.0.0-rc.60

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.59",
3
+ "version": "1.0.0-rc.60",
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.59"
39
+ "@lincyaw/kernel": "1.0.0-rc.60"
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.59",
16
- "hash": "bf746a1d3f195226bea19a548cfd9df46935440c7202c50b53d864e265899c0d"
15
+ "version": "1.0.0-rc.60",
16
+ "hash": "e7ec95300887502c5e209a6a8307ba70bf8159bf8afb009be1f47fecaf4d50a7"
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.59",
548
+ "version": "1.0.0-rc.60",
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.59",
559
+ "version": "1.0.0-rc.60",
560
560
  "hash": "af8f48dbe9dbc5bd772fa3d6172ae9c9b96626fec2cd7933b4e08f7c5f154b75"
561
561
  }
562
562
  ]
@@ -14,6 +14,14 @@ When connected to a workspace MCP host, discover saved entities with `get_docume
14
14
 
15
15
  To see a page as the presentation shows it, call `capture_slides` with its section: it returns PNG pictures (and their files in the service's state directory) of every step's rest frame, or of the steps and `at` moments you name (milliseconds into a step's animation, drawn by the same step clock a lecture export uses, so a picture is the same each time it is taken). `measure` adds the boxes of the elements matching a CSS selector, in slide pixels, with their text and `data-*` attributes; `appearance: 'dark'`, `scale: 2` and `clip` cover the dark theme, fine detail and one region; `captions: false` leaves out the captions drawn over the slide, and each frame's narration is in the result as text either way. At most 12 pictures a call. `arrive: 'backward'` reaches each step from the step after it, as a presenter going back does, with the page's own clock: compare it with the direct picture; `capture-page-reloaded` means going back reloaded the page. `capture_overview` takes every page at once (each page's last step, or every step with `steps: 'all'`) into one directory named in reading order, with sheets of labelled thumbnails; it is the material of a cold-read review. `capture_reading` takes one page of the reading version at a window `width` (default 1280, 390 for a phone), scrolled through so that its components load, at rest, cut at 8000 pixels. A scene whose code doesn't bundle fails alone: its page shows the failure, the capture's `problems` say why, and `check_document` (like `presmium check`) reports it as a `presmium.preview.code` error with its file and line. When the whole document can't be prepared the capture fails with `capture-preview-failed`, and `get_diagnostics` holds the reason.
16
16
 
17
+ For files on the client's machine, use `prepare_media_upload({kind:'image'|'audio'})`, open its URL to
18
+ select a file, and read readiness with the same operation's `{upload}`. SDK consumers can use
19
+ `uploadMedia(document, kind, File, signal?)` directly. Import ready bytes through the existing
20
+ `import_workspace_image({upload})` or `import_workspace_audio({upload})`; do not send base64 through
21
+ model arguments. The temporary upload does not save the document; the import retains approval and
22
+ history. Links last ten minutes, allow one transfer and expire when the service stops. See
23
+ `docs/authoring-actions.md` section 7 for limits and ownership.
24
+
17
25
  For existing workspace audio or images, call `import_workspace_audio({path})` or
18
26
  `import_workspace_image({path})` with a same-document workspace-relative path. No separate capability,
19
27
  source or inspection request is needed. The host pins source and actual SHA-256/bytes before approval and