@hasna/skills 0.10.45 → 0.10.46
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 +17 -0
- package/bin/index.js +757 -659
- package/bin/mcp.js +553 -497
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +755 -659
- package/dist/lib/agent-discovery.d.ts +1 -1
- package/dist/lib/agent-integration.d.ts +2 -2
- package/dist/lib/agent-sumi.d.ts +3 -0
- package/dist/lib/claude-settings-witness.d.ts +5 -1
- package/dist/lib/sumi-settings-witness.d.ts +14 -0
- package/dist/sdk/index.js +353 -259
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -538,6 +538,23 @@ skills hook rebind-settings --agent codex \
|
|
|
538
538
|
--expected-settings-sha256 <current-settings-sha256> --json
|
|
539
539
|
```
|
|
540
540
|
|
|
541
|
+
For Sumi, use `--agent sumi` and the exact preserved `sumi.json`. A fresh
|
|
542
|
+
review can capture `skills hook witness --kind sumi-settings-v1 --path
|
|
543
|
+
<absolute-sumi.json> --json` and include that witness in its discovery inputs.
|
|
544
|
+
The versioned witness permits JSON whitespace and changes to `$schema`,
|
|
545
|
+
`username`, `experimental.statusline` and `experimental.compact_tools` only.
|
|
546
|
+
All other fields, unknown controls, nested plugin options, permission-map order
|
|
547
|
+
and array order remain protected. Foreign plugin source witnesses and the
|
|
548
|
+
explicit hook review remain required. Missing preserved bytes require a fresh
|
|
549
|
+
review; the runtime never upgrades a stale review automatically.
|
|
550
|
+
|
|
551
|
+
The Sumi plugin emits a fixed `SkillsHookRefusal` error with the own data property
|
|
552
|
+
`skillsHookRefusal: { version: 1, code: "SKILLS_HOOK_REFUSED" }`. Its remediation
|
|
553
|
+
is fixed; child stderr and arbitrary hook reasons are never copied into the
|
|
554
|
+
error. A compatible Sumi adapter can present this refusal without turning it
|
|
555
|
+
into an untyped server error. Regenerate the managed plugin with the normal
|
|
556
|
+
guarded `skills hook install --agent sumi` flow after updating Skills.
|
|
557
|
+
|
|
541
558
|
The plan proves the preserved original matches every witness being replaced,
|
|
542
559
|
permits only the documented non-discovery differences, and labels the replacement
|
|
543
560
|
witness (the JSON receipt lists them under `replacedWitnesses`). `--apply`
|