@hasna/skills 0.8.10 → 0.8.11
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 +52 -1
- package/bin/index.js +1304 -574
- package/bin/mcp.js +329 -82
- package/bin/migrate.js +6 -5
- package/bin/server.js +12312 -73626
- package/bin/worker.js +7635 -60520
- package/dist/index.d.ts +4 -1
- package/dist/index.js +817 -261
- package/dist/lib/agent-discovery.d.ts +1 -1
- package/dist/lib/claude-marketplace-registry.d.ts +17 -0
- package/dist/lib/fleet-credentials.d.ts +18 -0
- package/dist/lib/hook-diagnostics.d.ts +7 -0
- package/dist/lib/recurring-recovery.d.ts +2 -2
- package/dist/lib/recurring-surface.d.ts +1 -1
- package/dist/lib/remote-client.d.ts +10 -3
- package/dist/lib/remote-credit-checkout.d.ts +22 -0
- package/dist/lib/remote-customer-operations.d.ts +2 -3
- package/dist/lib/selection-cache.d.ts +32 -0
- package/dist/lib/selection-resolver.d.ts +3 -1
- package/dist/lib/session-reconciliation.d.ts +100 -0
- package/dist/sdk/index.d.ts +3 -1
- package/dist/sdk/index.js +13212 -73972
- package/docs/plugin-admission.md +23 -0
- package/package.json +6 -5
package/docs/plugin-admission.md
CHANGED
|
@@ -173,6 +173,29 @@ new loaders still require their dedicated review. API failure refuses an update;
|
|
|
173
173
|
stale projection as synchronized. Claude may retain its previous installation
|
|
174
174
|
after a refused update, whose existing local drift checks continue to apply.
|
|
175
175
|
|
|
176
|
+
## Marketplace registry timestamps
|
|
177
|
+
|
|
178
|
+
For an explicitly reviewed `known_marketplaces.json`,
|
|
179
|
+
`captureClaudeMarketplaceRegistry(path)` emits a separate
|
|
180
|
+
`claude-marketplace-registry` witness. It preserves every marketplace name,
|
|
181
|
+
source, install location and unknown value. Only a valid UTC `lastUpdated`
|
|
182
|
+
timestamp can vary, and only for exact rows containing `source`,
|
|
183
|
+
`installLocation` and `lastUpdated`, with a recognized GitHub repository or local
|
|
184
|
+
directory source. Rows with any extra field, including `autoUpdate`, retain
|
|
185
|
+
their entire contents in the digest. Registration changes still refuse.
|
|
186
|
+
|
|
187
|
+
This mode is opt-in for reviewed Claude discovery. It cannot project fields,
|
|
188
|
+
carry managed-plugin rules, accept an absent registry or synthesize registry
|
|
189
|
+
changes during hook installation. It does not replace the separate settings,
|
|
190
|
+
installed-plugin, marketplace catalog, loader, root or payload witnesses.
|
|
191
|
+
Capture requires a bounded regular file with strict UTF-8 and unambiguous JSON;
|
|
192
|
+
links, duplicate keys and concurrent file replacement refuse.
|
|
193
|
+
|
|
194
|
+
Existing byte witnesses retain their exact behavior. A prior hash mismatch is
|
|
195
|
+
not proof of a timestamp-only change: review the complete current registration
|
|
196
|
+
and its complementary sources before explicitly replacing an old witness.
|
|
197
|
+
Capturing this witness does not write a policy or approve native registration.
|
|
198
|
+
|
|
176
199
|
## Verification and limits
|
|
177
200
|
|
|
178
201
|
Unit tests cover provenance and mapping failures, offline/revoked authorities,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/skills",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.11",
|
|
4
4
|
"description": "Skills library for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -62,10 +62,11 @@
|
|
|
62
62
|
"typecheck": "tsc --noEmit",
|
|
63
63
|
"verify:release": "bun run scripts/release-guard.ts",
|
|
64
64
|
"verify:consumer-types": "bun run scripts/consumer-types.ts",
|
|
65
|
-
"
|
|
66
|
-
"prepack": "bun run build && bun run verify:release && bun run verify:consumer-types",
|
|
65
|
+
"prepack": "bun run verify:generated && bun run verify:release && bun run verify:consumer-types",
|
|
67
66
|
"prepublishOnly": "bun run verify:producer && bun run typecheck && bun run test",
|
|
68
|
-
"verify:producer": "bun run scripts/release-dependencies.ts"
|
|
67
|
+
"verify:producer": "bun run scripts/release-dependencies.ts",
|
|
68
|
+
"verify:generated": "HASNA_SKILLS_RELEASE_ARTIFACT_TEST=1 bun test src/lib/release-artifacts.test.ts",
|
|
69
|
+
"verify:consumer-credentials": "bun run scripts/consumer-credentials.ts"
|
|
69
70
|
},
|
|
70
71
|
"keywords": [
|
|
71
72
|
"skills",
|
|
@@ -87,7 +88,6 @@
|
|
|
87
88
|
"license": "Apache-2.0",
|
|
88
89
|
"devDependencies": {
|
|
89
90
|
"@hasna/contracts": "1.1.0",
|
|
90
|
-
"@hasna/secrets": "0.4.2",
|
|
91
91
|
"@types/bun": "1.3.14",
|
|
92
92
|
"@types/node": "25.2.3",
|
|
93
93
|
"@types/react": "^18.2.0",
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"@aws-sdk/client-ecs": "^3.1079.0",
|
|
101
101
|
"@aws-sdk/client-s3": "^3.1079.0",
|
|
102
102
|
"@hasna/events": "0.1.18",
|
|
103
|
+
"@hasna/secrets": "0.4.2",
|
|
103
104
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
104
105
|
"chalk": "^5.3.0",
|
|
105
106
|
"commander": "^12.1.0",
|