@hasna/skills 0.10.19 → 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 +10 -5
- package/bin/index.js +174 -110
- 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,7 +466,7 @@ 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 Codex 0.159.2 native
|
|
469
|
+
A Codex 0.159.2 native skill and installed-plugin receipt can be captured through the
|
|
470
470
|
package-owned client into a new private file, then reviewed and passed to
|
|
471
471
|
`hook install` with `--codex-native-catalog <file>`:
|
|
472
472
|
|
|
@@ -477,10 +477,15 @@ skills hook install --agent codex --codex-native-catalog /private/catalog.json -
|
|
|
477
477
|
|
|
478
478
|
The capture refuses an existing output file, writes mode `0600`, verifies the
|
|
479
479
|
exact bytes, and reports only version, directory, count, file path and SHA-256.
|
|
480
|
-
Its safe catalog shape is `{version,cwd,skills}`;
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
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.
|
|
484
489
|
Known skill identities remain disabled across versioned plugin cache relocation,
|
|
485
490
|
even when their disabled bodies change. Unknown names, conflicting enables,
|
|
486
491
|
changed plugin controls, native hooks and unsupported name syntax still refuse.
|