@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.
@@ -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 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/skills",
3
- "version": "0.9.11",
3
+ "version": "0.9.12",
4
4
  "description": "Skills library for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {