@hasna/skills 0.10.68 → 0.10.70
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 +42 -0
- package/bin/index.js +11977 -11351
- package/bin/mcp.js +2764 -2199
- package/bin/migrate.js +2 -1
- package/bin/server.js +2 -1
- package/bin/worker.js +2 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +9721 -9269
- package/dist/lib/agent-discovery.d.ts +5 -1
- package/dist/lib/codex-hook-mcp-dependencies.d.ts +16 -0
- package/dist/lib/codex-numeric-provenance-v6.d.ts +14 -0
- package/dist/lib/codex-settings-witness.d.ts +9 -0
- package/dist/mcp/invitation-recovery.d.ts +6 -0
- package/dist/mcp/package-tool-list.d.ts +19 -0
- package/dist/mcp/server.d.ts +2 -0
- package/dist/runtime-prerequisites.js +18 -3
- package/dist/sdk/index.js +4424 -3972
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -2810,6 +2810,48 @@ all changes outside V5 refuse. The guarded upgrade changes policy only, preserve
|
|
|
2810
2810
|
native settings, other witnesses and session pins, and revalidates before apply.
|
|
2811
2811
|
|
|
2812
2812
|
|
|
2813
|
+
`codex-settings-v6` is an opt-in fresh review for native hooks that reference local
|
|
2814
|
+
stdio MCP providers. Capture it with `skills hook witness --kind codex-settings-v6
|
|
2815
|
+
--path <config.toml> --reviewed-hook-sources <raw-source-witnesses.json>`. The JSON
|
|
2816
|
+
array contains exact `{path, sha256}` raw witnesses, including verified absences.
|
|
2817
|
+
The package derives home declarations and the conservative selected cache roots:
|
|
2818
|
+
native literal `local`, otherwise the highest version under the native strict
|
|
2819
|
+
Rust semver ordering (including build metadata), with lexical comparison when
|
|
2820
|
+
either name is not semver. Routine retained versions stay supported; mixed-name
|
|
2821
|
+
cycles or comparison ties refuse rather than depend on filesystem enumeration.
|
|
2822
|
+
Selection has an aggregate 65,536-comparison bound. Root AgentPlugin
|
|
2823
|
+
format refuses; all three legacy manifest locations and their absences are bound
|
|
2824
|
+
in native precedence order. Explicit homogeneous nonempty path/inline hook lists
|
|
2825
|
+
replace defaults; unsupported fallback shapes refuse. A shorter provider list
|
|
2826
|
+
cannot omit a declared route. Remote state can enable a locally disabled plugin,
|
|
2827
|
+
so local `enabled = false` never removes its selected root from this union. This
|
|
2828
|
+
does not establish native effective activation, feature eligibility or trust.
|
|
2829
|
+
Include the
|
|
2830
|
+
returned witness and its independently reviewed raw hook sources in the complete
|
|
2831
|
+
`--discovery-inputs` review. There is no automatic upgrade or V6 rebind-settings.
|
|
2832
|
+
|
|
2833
|
+
V6 binds every supported hook-referenced route's command, arguments, environment,
|
|
2834
|
+
cwd, tool/approval settings and source population. Missing or unknown referenced
|
|
2835
|
+
routes, reserved Apps routes and unsupported native forms refuse. Higher precedence
|
|
2836
|
+
project hook declarations or referenced provider overrides also refuse; unrelated
|
|
2837
|
+
project MCP/UI settings remain usable. It preserves V5 display tolerances, omits only boolean `tui.screen_reader_detection_done` accessibility-probe receipts, and omits supported unrelated
|
|
2838
|
+
ordinary MCP routes across table, dotted and inline TOML forms. Parsed values are
|
|
2839
|
+
canonical with path-attributed integer/float provenance; nonfinite numbers and
|
|
2840
|
+
unsafe integers refuse. Numeric attribution retains native type and exact decimal
|
|
2841
|
+
values, with a 1 MiB input and 16 MiB total reparse bound. Unsupported parser shapes
|
|
2842
|
+
refuse. V1–V5 meanings remain
|
|
2843
|
+
unchanged. Hook trust and native admission remain separately owned.
|
|
2844
|
+
|
|
2845
|
+
For a reviewed provider executable larger than the raw-source limit, capture
|
|
2846
|
+
`skills hook witness --kind executable-v1 --path <canonical-executable>`. This
|
|
2847
|
+
explicit V6-only discovery role reuses the plugin executable integrity reader:
|
|
2848
|
+
streaming, safe executable permissions/custody, no-follow and race checks,
|
|
2849
|
+
256 MiB per executable and the existing aggregate budget. Raw/text limits remain
|
|
2850
|
+
64 MiB. Bind the provider's full reviewed code/runtime closure and directory
|
|
2851
|
+
membership too; an executable digest does not prove dynamic backend behavior or
|
|
2852
|
+
native adoption. These captures read files and never launch a native consumer.
|
|
2853
|
+
|
|
2854
|
+
|
|
2813
2855
|
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`; name each already reviewed native `mcp_tool` parent with `--reviewed-hook-parent`. Hook parents require exact enrolled manifest and hook bytes. When the owning installer created a remote-install receipt, its exact schema, identity and bytes are required. A local marketplace install with no receipt is accepted only when the exact full marketplace source is already enrolled and the unchanged Codex settings enable that exact plugin identity. The complete cache census refuses unknown parents, cache-member aliases, new skills, direct hooks selecting cache inputs, and changed app/MCP/hook/receipt or marketplace 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.
|
|
2814
2856
|
|
|
2815
2857
|
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.
|