@hasna/skills 0.8.9 → 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.
Files changed (37) hide show
  1. package/README.md +103 -1
  2. package/bin/index.js +26509 -24016
  3. package/bin/mcp.js +596 -222
  4. package/bin/migrate.js +7 -5
  5. package/bin/server.js +12313 -73626
  6. package/bin/worker.js +7636 -60520
  7. package/dist/cli/commands/plugin-admission.d.ts +2 -0
  8. package/dist/index.d.ts +9 -2
  9. package/dist/index.js +23559 -21779
  10. package/dist/lib/agent-adapters.d.ts +1 -0
  11. package/dist/lib/agent-codex-trust.d.ts +42 -0
  12. package/dist/lib/agent-discovery.d.ts +4 -2
  13. package/dist/lib/claude-marketplace-registry.d.ts +17 -0
  14. package/dist/lib/codex-hook-rpc.d.ts +13 -0
  15. package/dist/lib/codex-hook-trust-files.d.ts +15 -0
  16. package/dist/lib/codex-hook-trust-identity.d.ts +16 -0
  17. package/dist/lib/codex-hook-trust-layout.d.ts +3 -0
  18. package/dist/lib/fleet-credentials.d.ts +18 -0
  19. package/dist/lib/hook-diagnostics.d.ts +7 -0
  20. package/dist/lib/plugin-admission.d.ts +101 -0
  21. package/dist/lib/plugin-discovery.d.ts +13 -0
  22. package/dist/lib/plugin-projection-store.d.ts +14 -0
  23. package/dist/lib/plugin-projection.d.ts +80 -0
  24. package/dist/lib/profile-client.d.ts +10 -0
  25. package/dist/lib/recurring-recovery.d.ts +2 -2
  26. package/dist/lib/recurring-surface.d.ts +1 -1
  27. package/dist/lib/remote-client.d.ts +14 -4
  28. package/dist/lib/remote-credit-checkout.d.ts +22 -0
  29. package/dist/lib/remote-customer-operations.d.ts +3 -4
  30. package/dist/lib/remote-permissions.d.ts +24 -0
  31. package/dist/lib/selection-cache.d.ts +32 -0
  32. package/dist/lib/selection-resolver.d.ts +3 -1
  33. package/dist/lib/session-reconciliation.d.ts +100 -0
  34. package/dist/sdk/index.d.ts +5 -2
  35. package/dist/sdk/index.js +18528 -78089
  36. package/docs/plugin-admission.md +221 -0
  37. package/package.json +7 -5
package/bin/migrate.js CHANGED
@@ -7,7 +7,7 @@ import { join as join5 } from "path";
7
7
  // package.json
8
8
  var package_default = {
9
9
  name: "@hasna/skills",
10
- version: "0.8.9",
10
+ version: "0.8.11",
11
11
  description: "Skills library for AI coding agents",
12
12
  type: "module",
13
13
  bin: {
@@ -45,6 +45,7 @@ var package_default = {
45
45
  "bin/",
46
46
  "migrations/",
47
47
  "docs/skill-standard.md",
48
+ "docs/plugin-admission.md",
48
49
  "schemas/",
49
50
  "LICENSE",
50
51
  "README.md",
@@ -68,10 +69,11 @@ var package_default = {
68
69
  typecheck: "tsc --noEmit",
69
70
  "verify:release": "bun run scripts/release-guard.ts",
70
71
  "verify:consumer-types": "bun run scripts/consumer-types.ts",
71
- prepare: "bun run build:js",
72
- prepack: "bun run build && bun run verify:release && bun run verify:consumer-types",
72
+ prepack: "bun run verify:generated && bun run verify:release && bun run verify:consumer-types",
73
73
  prepublishOnly: "bun run verify:producer && bun run typecheck && bun run test",
74
- "verify:producer": "bun run scripts/release-dependencies.ts"
74
+ "verify:producer": "bun run scripts/release-dependencies.ts",
75
+ "verify:generated": "HASNA_SKILLS_RELEASE_ARTIFACT_TEST=1 bun test src/lib/release-artifacts.test.ts",
76
+ "verify:consumer-credentials": "bun run scripts/consumer-credentials.ts"
75
77
  },
76
78
  keywords: [
77
79
  "skills",
@@ -93,7 +95,6 @@ var package_default = {
93
95
  license: "Apache-2.0",
94
96
  devDependencies: {
95
97
  "@hasna/contracts": "1.1.0",
96
- "@hasna/secrets": "0.4.2",
97
98
  "@types/bun": "1.3.14",
98
99
  "@types/node": "25.2.3",
99
100
  "@types/react": "^18.2.0",
@@ -106,6 +107,7 @@ var package_default = {
106
107
  "@aws-sdk/client-ecs": "^3.1079.0",
107
108
  "@aws-sdk/client-s3": "^3.1079.0",
108
109
  "@hasna/events": "0.1.18",
110
+ "@hasna/secrets": "0.4.2",
109
111
  "@modelcontextprotocol/sdk": "^1.26.0",
110
112
  chalk: "^5.3.0",
111
113
  commander: "^12.1.0",