@hasna/skills 0.10.33 → 0.10.35
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 +26 -0
- package/bin/index.js +610 -345
- package/bin/mcp.js +124 -123
- package/bin/migrate.js +1 -1
- package/bin/server.js +1 -1
- package/bin/worker.js +1 -1
- package/dist/cli/commands/runtime-copyfile.d.ts +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +398 -214
- package/dist/lib/agent-integration.d.ts +27 -0
- package/dist/sdk/index.js +189 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1148,6 +1148,32 @@ semantic version. If discovery or verification fails, it exits nonzero and
|
|
|
1148
1148
|
explains that installation may already have completed. It does not automatically
|
|
1149
1149
|
reinstall or change your PATH.
|
|
1150
1150
|
|
|
1151
|
+
### Exact-version runtime updates
|
|
1152
|
+
|
|
1153
|
+
`skills self-update --version 0.10.34` installs a verified package into a retained
|
|
1154
|
+
copyfile runtime, preserves configuration and launcher preimages, and keeps the
|
|
1155
|
+
previous runtime available for receipt-bound rollback.
|
|
1156
|
+
|
|
1157
|
+
To require a minimum dependency age, pass a positive integer number of days and
|
|
1158
|
+
repeat the exclusion option for package names or package globs:
|
|
1159
|
+
|
|
1160
|
+
```bash
|
|
1161
|
+
skills self-update --version 0.10.34 --min-release-age 7 \
|
|
1162
|
+
--min-release-age-exclude '@hasna/*' \
|
|
1163
|
+
--min-release-age-exclude '@hasna-internal/*' \
|
|
1164
|
+
--min-release-age-exclude '@openai/*' \
|
|
1165
|
+
--min-release-age-exclude '@anthropic-ai/*' \
|
|
1166
|
+
--min-release-age-exclude openai
|
|
1167
|
+
```
|
|
1168
|
+
|
|
1169
|
+
The policy reaches both dependency lock resolution and `npm ci` through private
|
|
1170
|
+
npm configuration. Exemptions match each dependency's own package identity;
|
|
1171
|
+
unrelated transitive dependencies retain the minimum age. These options require
|
|
1172
|
+
an exact version and npm 11.19.0 or newer with both age capabilities. They are
|
|
1173
|
+
refused for rollback, alias adoption or the no-argument updater. Existing ambient
|
|
1174
|
+
npm settings and credentials are not forwarded. Omitting the policy preserves
|
|
1175
|
+
existing exact-version update behavior.
|
|
1176
|
+
|
|
1151
1177
|
### Local environment assignments
|
|
1152
1178
|
|
|
1153
1179
|
`skills env-check --set 'KEY=value'` writes one literal value to the current
|