@hasna/skills 0.9.11 → 0.9.12
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 +67 -0
- package/bin/index.js +17043 -16822
- package/bin/mcp.js +11574 -9832
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/cli/commands/profile-sync.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7917 -7530
- package/dist/lib/agent-codex-trust.d.ts +15 -0
- package/dist/lib/agent-discovery.d.ts +1 -0
- package/dist/lib/agent-integration.d.ts +15 -0
- package/dist/lib/authoring-path.d.ts +10 -0
- package/dist/lib/claude-settings-witness.d.ts +6 -0
- package/dist/lib/codex-hook-additions-review.d.ts +42 -0
- package/dist/lib/native-discovery-roots.d.ts +2 -0
- package/dist/sdk/index.js +779 -395
- package/docs/skill-standard.md +7 -1
- package/package.json +1 -1
package/docs/skill-standard.md
CHANGED
|
@@ -122,7 +122,7 @@ incomplete, invalid, or whose `content_hash` does not match the bundle.
|
|
|
122
122
|
| `name` | string | Lowercase slug; matches the folder name |
|
|
123
123
|
| `description` | string | What this skill does and when to use it |
|
|
124
124
|
| `version` | string | Semver (e.g. `0.1.0`). Any content change requires a version bump |
|
|
125
|
-
| `runtime` | object | The runtime contract below |
|
|
125
|
+
| `runtime` | object | The runtime contract below; optional for explicit `kind: instruction` |
|
|
126
126
|
| `provenance` | object | Source and integrity fields; `content_hash` is required |
|
|
127
127
|
|
|
128
128
|
### Optional fields (legacy-compatible)
|
|
@@ -139,6 +139,12 @@ incomplete, invalid, or whose `content_hash` does not match the bundle.
|
|
|
139
139
|
|
|
140
140
|
### The runtime contract
|
|
141
141
|
|
|
142
|
+
An explicit `kind: instruction` manifest may omit `runtime`. Preparation keeps
|
|
143
|
+
that omission and does not invent an executable entrypoint. If runtime metadata
|
|
144
|
+
is supplied for an instruction, its fields still must satisfy this contract.
|
|
145
|
+
Executable manifests and legacy manifests without an explicit kind retain the
|
|
146
|
+
strict runtime requirement.
|
|
147
|
+
|
|
142
148
|
| field | type | default | meaning |
|
|
143
149
|
|---|---|---|---|
|
|
144
150
|
| `runtime` | `"bun" \| "node" \| "python3"` | *(required)* | Execution runtime. `bun` is the Hasna default |
|