@synap-core/workspace-templates 0.45.0 → 0.45.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 +7 -1
- package/capabilities/media-blender.capability.json +629 -0
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -332,7 +332,7 @@ Some capabilities run on one of the person's computers (a Mac, a Linux box), not
|
|
|
332
332
|
transcriber, a downloader. The person picks the computer, says yes once per tool per computer, and `synap worker`
|
|
333
333
|
on that computer installs, checks and removes the tool from the manifest, with no AI in the loop (decision
|
|
334
334
|
168f34db). The rules live in `schema/computer.ts` (mirroring the backend leaf `@synap-core/types/capability-manifest`);
|
|
335
|
-
the
|
|
335
|
+
the media capabilities in `capabilities/media-*.capability.json` are the reference.
|
|
336
336
|
|
|
337
337
|
**One model, two kinds.** What an installation is comes from the manifest, never from a field you set
|
|
338
338
|
(`installKind`):
|
|
@@ -396,6 +396,12 @@ slideshow, GIF/WebP, keyframes, platform exports). A recipe is:
|
|
|
396
396
|
the runner and the tests alike.
|
|
397
397
|
- **Your own recipes** take the same shape. Where they are stored on the pod (and that the verb looks for yours
|
|
398
398
|
by name first) is plan b647769e wave 5: not built yet.
|
|
399
|
+
- **A recipe may drive another program than ffmpeg.** `media-blender` pins `blender` and every step is a fresh
|
|
400
|
+
`blender -b --factory-startup --python-exit-code 1 --python {script:<helper>.py} -- <params>`: a separate
|
|
401
|
+
background Blender per run (never the person's open session), a Python error fails the run, and the helper
|
|
402
|
+
script (pinned by sha256) carries the rules (Standard view transform, area lights hidden from the camera, a disk
|
|
403
|
+
floor, movies instead of PNG sequences). On a Mac its install step is a script that uses the Blender already in
|
|
404
|
+
/Applications, else Homebrew's cask; it declares no uninstall, so a Blender the person had is never removed.
|
|
399
405
|
- Tests: `schema/recipe.test.ts` renders every recipe of every capability with sample params (a new recipe
|
|
400
406
|
joins by existing); `scripts/catalog-lib.computer.test.ts` proves each manifest rule. Neither runs ffmpeg:
|
|
401
407
|
a recipe is tried on a Mac and on the devbox before it is listed.
|