@hasna/skills 0.10.18 → 0.10.20
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 +23 -7
- package/bin/index.js +266 -142
- package/bin/mcp.js +1 -1
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +118 -50
- package/dist/lib/codex-native-skill-catalog.d.ts +16 -0
- package/dist/lib/codex-plugin-skill-controls.d.ts +1 -1
- package/dist/sdk/index.js +120 -54
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -466,11 +466,26 @@ preserves and reads back the original policy before writing. Claude upgrades to
|
|
|
466
466
|
verbosity preferences. Provider mappings, environment, hooks, plugins, skill rules
|
|
467
467
|
and all unknown settings stay bound. Runtime hooks never silently upgrade a witness.
|
|
468
468
|
|
|
469
|
-
A
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
469
|
+
A Codex 0.159.2 native skill and installed-plugin receipt can be captured through the
|
|
470
|
+
package-owned client into a new private file, then reviewed and passed to
|
|
471
|
+
`hook install` with `--codex-native-catalog <file>`:
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
skills hook native-catalog --cwd /absolute/project --output /private/catalog.json --json
|
|
475
|
+
skills hook install --agent codex --codex-native-catalog /private/catalog.json --json
|
|
476
|
+
```
|
|
477
|
+
|
|
478
|
+
The capture refuses an existing output file, writes mode `0600`, verifies the
|
|
479
|
+
exact bytes, and reports only version, directory, count, file path and SHA-256.
|
|
480
|
+
Its safe catalog shape is `{version,cwd,skills,plugins}`; skills have
|
|
481
|
+
`{name,path,enabled,pluginId}` and plugins have
|
|
482
|
+
`{id,name,installed,enabled,localVersion}`. Older reviewed catalogs without
|
|
483
|
+
`plugins` remain valid for skills present in `skills/list`. The installer matches the native
|
|
484
|
+
qualified name against bounded frontmatter and the owning plugin manifest.
|
|
485
|
+
If Codex omits a skill from `skills/list` because its exact path is already
|
|
486
|
+
disabled, the installer derives that identity only when the exact installed
|
|
487
|
+
and enabled plugin row matches the cache marketplace, manifest name and
|
|
488
|
+
local version. It preserves path disables and adds exact qualified name disables.
|
|
474
489
|
Known skill identities remain disabled across versioned plugin cache relocation,
|
|
475
490
|
even when their disabled bodies change. Unknown names, conflicting enables,
|
|
476
491
|
changed plugin controls, native hooks and unsupported name syntax still refuse.
|
|
@@ -480,8 +495,9 @@ Only manifest version metadata may vary. Reviewed app declarations use the impli
|
|
|
480
495
|
file and its presence stay bound; it preserves existing connector availability and
|
|
481
496
|
native capability hints. Changed or unknown app fields, custom references, native
|
|
482
497
|
hooks, commands and MCP controls refuse. Name controls suppress Skills, not every
|
|
483
|
-
plugin capability. No prompt hook starts an app server to obtain this receipt:
|
|
484
|
-
startup can maintain caches.
|
|
498
|
+
plugin capability. No prompt hook starts an app server to obtain this receipt:
|
|
499
|
+
native startup can maintain caches. The explicit capture starts and closes only its
|
|
500
|
+
own bounded native client; it does not reload an existing agent session.
|
|
485
501
|
Neither a receipt nor a config write proves an existing session adopted new rules;
|
|
486
502
|
use the actual native session's supported acceptance path separately.
|
|
487
503
|
|