zcode-app-cli 3.14.1-27 → 3.14.3-28

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.
@@ -0,0 +1,29 @@
1
+ # bundled-skills
2
+
3
+ Skills that ship with the ZCode CLI as a built-in capability, outside the plugin system.
4
+
5
+ A skill lives here when a product feature depends on it: the feature's tools are registered
6
+ by the runtime, so the skill that teaches the model how to use them must be just as
7
+ unremovable. Unlike an official plugin, this pack is never listed in the plugin store, has no
8
+ enable/disable switch, cannot be uninstalled, and does not appear in the Settings skill list
9
+ or the composer's `$` skill picker. The runtime discovers its `skills/` directory as a
10
+ `source: "bundled"`, `scope: "system"` skill root on every start.
11
+
12
+ | Skill | Feature | Contract |
13
+ | ------------------- | ------------------------------------------------- | ------------------------------------ |
14
+ | `dynamic-workflows` | dynamic workflows (`/workflow`, `CreateWorkflow`) | `docs/dynamic-workflow/authoring.md` |
15
+
16
+ ## How it reaches users
17
+
18
+ - **Development and Electron desktop**: the directory is resolved on disk next to the CLI entry
19
+ (`packages/bundled-skills` relative to the entry, the same candidate walk official plugins
20
+ use) and read in place; nothing is copied.
21
+ - **SEA binaries**: `scripts/sea-bundled-skill-assets.mjs` embeds `skills/**` under the
22
+ `zcode-bundled-skills/` asset prefix. On start the CLI extracts them once into
23
+ `~/.zcode/cli/bundled-skills/<content-hash>/` and reads from there.
24
+ - **Remote hosts**: `scripts/prepare-prebuilds.mjs` stages the directory next to the remote
25
+ `zcode.cjs`, like the official plugin packages.
26
+
27
+ The resolver is `apps/zcode-cli/packages/bootstrap/src/app/bundled-skills.ts`. Every file
28
+ under `skills/dynamic-workflows/` is a required asset: a stage or seed that loses one refuses
29
+ the whole pack and logs a warning instead of shipping a skill with a missing reference file.