@hasna/skills 0.10.75 → 0.10.76
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 +18 -1
- package/bin/index.js +533 -244
- package/bin/mcp.js +6 -1
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.js +440 -154
- package/dist/lib/agent-codex-trust.d.ts +4 -0
- package/dist/lib/agent-integration.d.ts +3 -3
- package/dist/lib/agent-sync.d.ts +6 -4
- package/dist/lib/codex-corpus-write.d.ts +47 -6
- package/dist/lib/codex-hook-rpc.d.ts +3 -0
- package/dist/lib/home-adoption.d.ts +5 -5
- package/dist/lib/installer.d.ts +5 -3
- package/dist/runtime-prerequisites.js +1 -1
- package/dist/sdk/index.js +581 -295
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -882,8 +882,25 @@ handshake alone does not establish those semantics. Admitting a release does not
|
|
|
882
882
|
admit its corpus: the transport still requires the existing native corpus
|
|
883
883
|
admission (see `docs/codex-corpus-writers.md`).
|
|
884
884
|
|
|
885
|
+
Upstream Codex builds that lack `corpus-admission-inspect`, such as 0.160.0 and
|
|
886
|
+
0.162.1, use an interim fallback instead: an exclusive Skills-owned lock at
|
|
887
|
+
`<realpath(dirname(codex home))>/.hasna/skills/codex-corpus-locks/`, outside the
|
|
888
|
+
Codex home and independent of data-root overrides, recorded as
|
|
889
|
+
`nativeAdmission: "unavailable"` with the probe record in every receipt. The
|
|
890
|
+
probe record identifies the selected executable file (for npm installs, the
|
|
891
|
+
launcher script), not the vendor binary it starts. Its guarantee is weaker.
|
|
892
|
+
Upstream Codex's own refresh writes are not coordinated with that lock, only
|
|
893
|
+
Skills writers exclude each other, and preimage checks refuse only the races they
|
|
894
|
+
detect. For a project-level `.codex`, or a symlinked `~/.codex`, the lock lives
|
|
895
|
+
under the target's parent, such as `<project>/.hasna/skills/codex-corpus-locks/`;
|
|
896
|
+
ignore that folder there. Probes run with a fresh, Skills-created `CODEX_HOME` in
|
|
897
|
+
`<Skills data root>/codex-probe-homes/`, removed after each probe.
|
|
898
|
+
The fallback is retired in the first release after the Harnesses
|
|
899
|
+
enrollment/inspect route is live for that build line.
|
|
900
|
+
|
|
885
901
|
The capture refuses an existing output file, writes mode `0600`, verifies the
|
|
886
|
-
exact bytes, and reports only version, directory, count, file path and SHA-256
|
|
902
|
+
exact bytes, and reports only version, directory, count, file path and SHA-256,
|
|
903
|
+
plus the admission record when the interim fallback applies.
|
|
887
904
|
Its safe catalog shape is `{version,cwd,skills,plugins}`; skills have
|
|
888
905
|
`{name,path,enabled,pluginId}` and plugins have
|
|
889
906
|
`{id,name,installed,enabled,localVersion}`. Older reviewed catalogs without
|