@hasna/skills 0.10.61 → 0.10.63
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 +41 -0
- package/bin/index.js +2029 -1688
- package/bin/mcp.js +705 -553
- package/bin/migrate.js +8 -3
- package/bin/server.js +8 -3
- package/bin/worker.js +8 -3
- package/dist/cli/commands/runtime-copyfile.d.ts +1 -0
- package/dist/index.js +1118 -873
- package/dist/lib/agent-discovery.d.ts +3 -0
- package/dist/lib/agent-install-selection.d.ts +1 -0
- package/dist/lib/agent-integration.d.ts +19 -0
- package/dist/lib/retained-review-artifacts.d.ts +35 -0
- package/dist/runtime-prerequisites.d.ts +9 -0
- package/dist/runtime-prerequisites.js +3098 -0
- package/dist/sdk/index.js +1260 -1015
- package/docs/runtime-activation.md +23 -0
- package/package.json +8 -3
package/bin/migrate.js
CHANGED
|
@@ -25,7 +25,7 @@ import { join as join5 } from "path";
|
|
|
25
25
|
// package.json
|
|
26
26
|
var package_default = {
|
|
27
27
|
name: "@hasna/skills",
|
|
28
|
-
version: "0.10.
|
|
28
|
+
version: "0.10.63",
|
|
29
29
|
description: "Skills library for AI coding agents",
|
|
30
30
|
type: "module",
|
|
31
31
|
bin: {
|
|
@@ -66,6 +66,7 @@ var package_default = {
|
|
|
66
66
|
"migrations/",
|
|
67
67
|
"docs/skill-standard.md",
|
|
68
68
|
"docs/plugin-admission.md",
|
|
69
|
+
"docs/runtime-activation.md",
|
|
69
70
|
"schemas/",
|
|
70
71
|
"LICENSE",
|
|
71
72
|
"README.md",
|
|
@@ -76,8 +77,8 @@ var package_default = {
|
|
|
76
77
|
types: "./dist/index.d.ts",
|
|
77
78
|
scripts: {
|
|
78
79
|
clean: "rm -rf bin/ dist/",
|
|
79
|
-
build: "bun run clean && bun build --external @hasna/contracts/kernel-lock ./src/cli/index.tsx --outdir ./bin --target bun && bun build --external @modelcontextprotocol/sdk ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/maintenance.ts --outfile ./bin/maintenance.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
80
|
-
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
80
|
+
build: "bun run clean && bun build --external @hasna/contracts/kernel-lock ./src/cli/index.tsx --outdir ./bin --target bun && bun build --external @modelcontextprotocol/sdk ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/maintenance.ts --outfile ./bin/maintenance.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts ./src/runtime-prerequisites.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
81
|
+
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts ./src/runtime-prerequisites.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
81
82
|
test: "bun test --timeout 30000",
|
|
82
83
|
dev: "bun run ./src/cli/index.tsx",
|
|
83
84
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
@@ -154,6 +155,10 @@ var package_default = {
|
|
|
154
155
|
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
155
156
|
bugs: {
|
|
156
157
|
url: "https://github.com/hasna/skills/issues"
|
|
158
|
+
},
|
|
159
|
+
skillsRuntimePrerequisites: {
|
|
160
|
+
version: 1,
|
|
161
|
+
entry: "dist/runtime-prerequisites.js"
|
|
157
162
|
}
|
|
158
163
|
};
|
|
159
164
|
|
package/bin/server.js
CHANGED
|
@@ -24140,7 +24140,7 @@ restoreLaunchCwd();
|
|
|
24140
24140
|
// package.json
|
|
24141
24141
|
var package_default = {
|
|
24142
24142
|
name: "@hasna/skills",
|
|
24143
|
-
version: "0.10.
|
|
24143
|
+
version: "0.10.63",
|
|
24144
24144
|
description: "Skills library for AI coding agents",
|
|
24145
24145
|
type: "module",
|
|
24146
24146
|
bin: {
|
|
@@ -24181,6 +24181,7 @@ var package_default = {
|
|
|
24181
24181
|
"migrations/",
|
|
24182
24182
|
"docs/skill-standard.md",
|
|
24183
24183
|
"docs/plugin-admission.md",
|
|
24184
|
+
"docs/runtime-activation.md",
|
|
24184
24185
|
"schemas/",
|
|
24185
24186
|
"LICENSE",
|
|
24186
24187
|
"README.md",
|
|
@@ -24191,8 +24192,8 @@ var package_default = {
|
|
|
24191
24192
|
types: "./dist/index.d.ts",
|
|
24192
24193
|
scripts: {
|
|
24193
24194
|
clean: "rm -rf bin/ dist/",
|
|
24194
|
-
build: "bun run clean && bun build --external @hasna/contracts/kernel-lock ./src/cli/index.tsx --outdir ./bin --target bun && bun build --external @modelcontextprotocol/sdk ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/maintenance.ts --outfile ./bin/maintenance.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24195
|
-
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24195
|
+
build: "bun run clean && bun build --external @hasna/contracts/kernel-lock ./src/cli/index.tsx --outdir ./bin --target bun && bun build --external @modelcontextprotocol/sdk ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/maintenance.ts --outfile ./bin/maintenance.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts ./src/runtime-prerequisites.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24196
|
+
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts ./src/runtime-prerequisites.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24196
24197
|
test: "bun test --timeout 30000",
|
|
24197
24198
|
dev: "bun run ./src/cli/index.tsx",
|
|
24198
24199
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
@@ -24269,6 +24270,10 @@ var package_default = {
|
|
|
24269
24270
|
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
24270
24271
|
bugs: {
|
|
24271
24272
|
url: "https://github.com/hasna/skills/issues"
|
|
24273
|
+
},
|
|
24274
|
+
skillsRuntimePrerequisites: {
|
|
24275
|
+
version: 1,
|
|
24276
|
+
entry: "dist/runtime-prerequisites.js"
|
|
24272
24277
|
}
|
|
24273
24278
|
};
|
|
24274
24279
|
|
package/bin/worker.js
CHANGED
|
@@ -24143,7 +24143,7 @@ import { randomUUID as randomUUID6 } from "crypto";
|
|
|
24143
24143
|
// package.json
|
|
24144
24144
|
var package_default = {
|
|
24145
24145
|
name: "@hasna/skills",
|
|
24146
|
-
version: "0.10.
|
|
24146
|
+
version: "0.10.63",
|
|
24147
24147
|
description: "Skills library for AI coding agents",
|
|
24148
24148
|
type: "module",
|
|
24149
24149
|
bin: {
|
|
@@ -24184,6 +24184,7 @@ var package_default = {
|
|
|
24184
24184
|
"migrations/",
|
|
24185
24185
|
"docs/skill-standard.md",
|
|
24186
24186
|
"docs/plugin-admission.md",
|
|
24187
|
+
"docs/runtime-activation.md",
|
|
24187
24188
|
"schemas/",
|
|
24188
24189
|
"LICENSE",
|
|
24189
24190
|
"README.md",
|
|
@@ -24194,8 +24195,8 @@ var package_default = {
|
|
|
24194
24195
|
types: "./dist/index.d.ts",
|
|
24195
24196
|
scripts: {
|
|
24196
24197
|
clean: "rm -rf bin/ dist/",
|
|
24197
|
-
build: "bun run clean && bun build --external @hasna/contracts/kernel-lock ./src/cli/index.tsx --outdir ./bin --target bun && bun build --external @modelcontextprotocol/sdk ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/maintenance.ts --outfile ./bin/maintenance.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24198
|
-
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24198
|
+
build: "bun run clean && bun build --external @hasna/contracts/kernel-lock ./src/cli/index.tsx --outdir ./bin --target bun && bun build --external @modelcontextprotocol/sdk ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build --external @hasna/contracts/kernel-lock ./src/server/maintenance.ts --outfile ./bin/maintenance.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts ./src/runtime-prerequisites.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24199
|
+
"build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts ./src/runtime-prerequisites.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist && bun scripts/stage-kernel-lock-assets.ts",
|
|
24199
24200
|
test: "bun test --timeout 30000",
|
|
24200
24201
|
dev: "bun run ./src/cli/index.tsx",
|
|
24201
24202
|
"dev:watch": "bun --watch run ./src/cli/index.tsx",
|
|
@@ -24272,6 +24273,10 @@ var package_default = {
|
|
|
24272
24273
|
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
24273
24274
|
bugs: {
|
|
24274
24275
|
url: "https://github.com/hasna/skills/issues"
|
|
24276
|
+
},
|
|
24277
|
+
skillsRuntimePrerequisites: {
|
|
24278
|
+
version: 1,
|
|
24279
|
+
entry: "dist/runtime-prerequisites.js"
|
|
24275
24280
|
}
|
|
24276
24281
|
};
|
|
24277
24282
|
|
|
@@ -24,6 +24,7 @@ export declare function rollbackCopyfileAliases(receiptId: string, options?: {
|
|
|
24
24
|
export declare function updateCopyfileRuntime(version: string, options?: {
|
|
25
25
|
homeDir?: string;
|
|
26
26
|
pathValue?: string;
|
|
27
|
+
cwd?: string;
|
|
27
28
|
registryOrigin?: string;
|
|
28
29
|
fetcher?: typeof fetch;
|
|
29
30
|
minReleaseAge?: number;
|