@hasna/skills 0.10.63 → 0.10.64
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 +26 -0
- package/bin/index.js +2583 -1748
- package/bin/mcp.js +1398 -586
- 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 +1702 -885
- package/dist/lib/agent-discovery.d.ts +26 -2
- package/dist/lib/agent-integration.d.ts +14 -1
- package/dist/lib/codex-plugin-skill-controls.d.ts +9 -0
- package/dist/lib/codex-semantic-cache-witness.d.ts +57 -0
- package/dist/lib/codex-settings-witness.d.ts +14 -0
- package/dist/runtime-prerequisites.js +50 -3
- package/dist/sdk/index.js +1997 -1182
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2759,3 +2759,29 @@ capture as well, so the re-pinned review must bind the catalog another way, such
|
|
|
2759
2759
|
as an exact `bytes` witness, until a reviewed version of this mode covers the
|
|
2760
2760
|
key. There is no bypass, ignore list or relaxed mode. See
|
|
2761
2761
|
[marketplace plugin entry witness](docs/plugin-admission.md#marketplace-plugin-entry-witness).
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
`codex-settings-v5` explicitly projects only schema-valid string vectors at the
|
|
2765
|
+
document-root `tui.status_line` field, including empty, unknown and future display
|
|
2766
|
+
IDs, additions, removal and reordering. OpenAI Codex 0.162.1 declares this field
|
|
2767
|
+
as `Option<Vec<String>>`: its UI parser displays known items and ignores/warns
|
|
2768
|
+
about unknown strings, without executing commands or loading discovery inputs.
|
|
2769
|
+
There is no ID whitelist or entry-count cap; existing whole-file and parser
|
|
2770
|
+
resource guards still apply. Malformed values, nonstrings, profile/nested fields,
|
|
2771
|
+
other TUI fields and discovery controls remain bound. This verified upstream
|
|
2772
|
+
contract does not approve a different native consumer's interpretation.
|
|
2773
|
+
V5 retains V4's availability-count contract and V3's supported ordinary local MCP
|
|
2774
|
+
projection. Existing byte/V1/V2/V3/V4 reviews retain their exact meaning.
|
|
2775
|
+
|
|
2776
|
+
Capture with `skills hook witness --kind codex-settings-v5 --path <config.toml>`.
|
|
2777
|
+
Upgrade with `skills hook rebind-settings --agent codex --codex-witness-version 5
|
|
2778
|
+
--reviewed-preimage <preserved-config.toml> --expected-policy-sha256 <policy-hash>
|
|
2779
|
+
--expected-settings-sha256 <settings-hash>`. Review before adding `--apply`. The
|
|
2780
|
+
preserved config must first match its original digest under its original mode;
|
|
2781
|
+
all changes outside V5 refuse. The guarded upgrade changes policy only, preserves
|
|
2782
|
+
native settings, other witnesses and session pins, and revalidates before apply.
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
Codex cache witnesses migrate separately through `skills hook rebind-cache --agent codex`. Preview requires the exact current policy and configuration SHA-256 values. Name each reviewed remote app-only parent with `--app-only-parent`; skill-bearing parents must already have enrolled qualified-name denies and semantic capability controls. The complete cache census refuses unknown parents, cache-member aliases, new skills, direct hooks selecting cache inputs, and changed app/MCP/receipt capabilities. Reviewed whole Codex root aliases keep their existing identity/CAS guards; hook selection through either the alias or canonical cache path is refused. Commands containing the direct `plugins/cache` selector are conservatively refused, including HOME, tilde and relative spellings; no shell evaluation is performed. App-only bootstrap verifies the old full manifest and receipt sources, then explicitly reviews current app capabilities; it does not claim those app bytes were historically witnessed.
|
|
2786
|
+
|
|
2787
|
+
Review the returned semantic cache digest, then repeat with `--expected-cache-witness-sha256 <digest> --apply`. The owning apply path preserves/readbacks the original policy, recomputes the whole plan, compares policy/config/cache preimages, writes only the Skills policy, and verifies the resulting consumer. Historical directory hashes and source rows remain retained as provenance; this command cannot reconstruct an unavailable old directory tree or waive an ancestor directory containing unrelated inputs. Equivalent version materializations and inert assets then leave the new Codex-specific witness unchanged. Every other discovery source, directory, settings witness, native control and session pin stays under its existing contract. Settings and cache upgrades remain independent; neither silently repairs drift in the other.
|