@hasna/skills 0.10.8 → 0.10.10
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/bin/index.js +1145 -261
- package/bin/mcp.js +4 -4
- package/bin/migrate.js +4 -4
- package/bin/server.js +4 -4
- package/bin/worker.js +4 -4
- package/dist/cli/commands/runtime-copyfile.d.ts +25 -0
- package/dist/index.js +4 -4
- package/dist/lib/infra-identifiers.d.ts +1 -2
- package/dist/lib/release-review-linkage.d.ts +2 -2
- package/dist/lib/selection-cache.d.ts +1 -1
- package/dist/sdk/index.js +4 -4
- package/package.json +4 -4
package/bin/mcp.js
CHANGED
|
@@ -20019,7 +20019,7 @@ var package_default;
|
|
|
20019
20019
|
var init_package = __esm(() => {
|
|
20020
20020
|
package_default = {
|
|
20021
20021
|
name: "@hasna/skills",
|
|
20022
|
-
version: "0.10.
|
|
20022
|
+
version: "0.10.10",
|
|
20023
20023
|
description: "Skills library for AI coding agents",
|
|
20024
20024
|
type: "module",
|
|
20025
20025
|
bin: {
|
|
@@ -20141,12 +20141,12 @@ var init_package = __esm(() => {
|
|
|
20141
20141
|
},
|
|
20142
20142
|
repository: {
|
|
20143
20143
|
type: "git",
|
|
20144
|
-
url: "https://github.com/hasna/
|
|
20144
|
+
url: "https://github.com/hasna/skills.git",
|
|
20145
20145
|
directory: "apps/skills"
|
|
20146
20146
|
},
|
|
20147
|
-
homepage: "https://github.com/hasna/
|
|
20147
|
+
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
20148
20148
|
bugs: {
|
|
20149
|
-
url: "https://github.com/hasna/
|
|
20149
|
+
url: "https://github.com/hasna/skills/issues"
|
|
20150
20150
|
}
|
|
20151
20151
|
};
|
|
20152
20152
|
});
|
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.10.
|
|
10
|
+
version: "0.10.10",
|
|
11
11
|
description: "Skills library for AI coding agents",
|
|
12
12
|
type: "module",
|
|
13
13
|
bin: {
|
|
@@ -129,12 +129,12 @@ var package_default = {
|
|
|
129
129
|
},
|
|
130
130
|
repository: {
|
|
131
131
|
type: "git",
|
|
132
|
-
url: "https://github.com/hasna/
|
|
132
|
+
url: "https://github.com/hasna/skills.git",
|
|
133
133
|
directory: "apps/skills"
|
|
134
134
|
},
|
|
135
|
-
homepage: "https://github.com/hasna/
|
|
135
|
+
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
136
136
|
bugs: {
|
|
137
|
-
url: "https://github.com/hasna/
|
|
137
|
+
url: "https://github.com/hasna/skills/issues"
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
|
package/bin/server.js
CHANGED
|
@@ -24122,7 +24122,7 @@ var init_dist_es9 = __esm(() => {
|
|
|
24122
24122
|
// package.json
|
|
24123
24123
|
var package_default = {
|
|
24124
24124
|
name: "@hasna/skills",
|
|
24125
|
-
version: "0.10.
|
|
24125
|
+
version: "0.10.10",
|
|
24126
24126
|
description: "Skills library for AI coding agents",
|
|
24127
24127
|
type: "module",
|
|
24128
24128
|
bin: {
|
|
@@ -24244,12 +24244,12 @@ var package_default = {
|
|
|
24244
24244
|
},
|
|
24245
24245
|
repository: {
|
|
24246
24246
|
type: "git",
|
|
24247
|
-
url: "https://github.com/hasna/
|
|
24247
|
+
url: "https://github.com/hasna/skills.git",
|
|
24248
24248
|
directory: "apps/skills"
|
|
24249
24249
|
},
|
|
24250
|
-
homepage: "https://github.com/hasna/
|
|
24250
|
+
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
24251
24251
|
bugs: {
|
|
24252
|
-
url: "https://github.com/hasna/
|
|
24252
|
+
url: "https://github.com/hasna/skills/issues"
|
|
24253
24253
|
}
|
|
24254
24254
|
};
|
|
24255
24255
|
|
package/bin/worker.js
CHANGED
|
@@ -24125,7 +24125,7 @@ import { randomUUID as randomUUID6 } from "crypto";
|
|
|
24125
24125
|
// package.json
|
|
24126
24126
|
var package_default = {
|
|
24127
24127
|
name: "@hasna/skills",
|
|
24128
|
-
version: "0.10.
|
|
24128
|
+
version: "0.10.10",
|
|
24129
24129
|
description: "Skills library for AI coding agents",
|
|
24130
24130
|
type: "module",
|
|
24131
24131
|
bin: {
|
|
@@ -24247,12 +24247,12 @@ var package_default = {
|
|
|
24247
24247
|
},
|
|
24248
24248
|
repository: {
|
|
24249
24249
|
type: "git",
|
|
24250
|
-
url: "https://github.com/hasna/
|
|
24250
|
+
url: "https://github.com/hasna/skills.git",
|
|
24251
24251
|
directory: "apps/skills"
|
|
24252
24252
|
},
|
|
24253
|
-
homepage: "https://github.com/hasna/
|
|
24253
|
+
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
24254
24254
|
bugs: {
|
|
24255
|
-
url: "https://github.com/hasna/
|
|
24255
|
+
url: "https://github.com/hasna/skills/issues"
|
|
24256
24256
|
}
|
|
24257
24257
|
};
|
|
24258
24258
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
type JsonObject = Record<string, unknown>;
|
|
2
|
+
interface TarEntry {
|
|
3
|
+
path: string;
|
|
4
|
+
kind: "file" | "directory";
|
|
5
|
+
size: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function preflightTarball(bytes: Uint8Array, limits?: {
|
|
8
|
+
maxExpandedBytes?: number;
|
|
9
|
+
maxEntries?: number;
|
|
10
|
+
}): Promise<{
|
|
11
|
+
entries: TarEntry[];
|
|
12
|
+
expandedBytes: number;
|
|
13
|
+
}>;
|
|
14
|
+
export declare function readBodyCapped(response: Response, limit: number, errorCode: string): Promise<Uint8Array>;
|
|
15
|
+
export declare function updateCopyfileRuntime(version: string, options?: {
|
|
16
|
+
homeDir?: string;
|
|
17
|
+
pathValue?: string;
|
|
18
|
+
registryOrigin?: string;
|
|
19
|
+
fetcher?: typeof fetch;
|
|
20
|
+
onLauncherSwitched?: (path: string) => void;
|
|
21
|
+
}): Promise<JsonObject>;
|
|
22
|
+
export declare function rollbackCopyfileRuntime(receiptId: string, options?: {
|
|
23
|
+
homeDir?: string;
|
|
24
|
+
}): JsonObject;
|
|
25
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -9611,7 +9611,7 @@ import { isAbsolute as isAbsolute11, join as join23, resolve as resolve11 } from
|
|
|
9611
9611
|
// package.json
|
|
9612
9612
|
var package_default = {
|
|
9613
9613
|
name: "@hasna/skills",
|
|
9614
|
-
version: "0.10.
|
|
9614
|
+
version: "0.10.10",
|
|
9615
9615
|
description: "Skills library for AI coding agents",
|
|
9616
9616
|
type: "module",
|
|
9617
9617
|
bin: {
|
|
@@ -9733,12 +9733,12 @@ var package_default = {
|
|
|
9733
9733
|
},
|
|
9734
9734
|
repository: {
|
|
9735
9735
|
type: "git",
|
|
9736
|
-
url: "https://github.com/hasna/
|
|
9736
|
+
url: "https://github.com/hasna/skills.git",
|
|
9737
9737
|
directory: "apps/skills"
|
|
9738
9738
|
},
|
|
9739
|
-
homepage: "https://github.com/hasna/
|
|
9739
|
+
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
9740
9740
|
bugs: {
|
|
9741
|
-
url: "https://github.com/hasna/
|
|
9741
|
+
url: "https://github.com/hasna/skills/issues"
|
|
9742
9742
|
}
|
|
9743
9743
|
};
|
|
9744
9744
|
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
* variables. At most one tracked line may name where that manifest lives.
|
|
10
10
|
*
|
|
11
11
|
* This module expresses that as a set of PROPERTIES rather than a blocklist of
|
|
12
|
-
* known-bad strings, so it survives renaming
|
|
13
|
-
* `widgets-stage-queue` is caught just the same) and catches semantic inversion
|
|
12
|
+
* known-bad strings, so it survives renaming a deployment resource and catches semantic inversion
|
|
14
13
|
* (re-hardcoding a value that used to be parameterized).
|
|
15
14
|
*
|
|
16
15
|
* The five properties:
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
* and the release workflow runs `bun run verify:release-review` before it is
|
|
41
41
|
* allowed to publish.
|
|
42
42
|
*/
|
|
43
|
-
export declare const SKILLS_RELEASE_REPOSITORY = "hasna/
|
|
44
|
-
export declare const SKILLS_RELEASE_REPOSITORY_URL = "https://github.com/hasna/
|
|
43
|
+
export declare const SKILLS_RELEASE_REPOSITORY = "hasna/skills";
|
|
44
|
+
export declare const SKILLS_RELEASE_REPOSITORY_URL = "https://github.com/hasna/skills.git";
|
|
45
45
|
export declare const SKILLS_RELEASE_PACKAGE_PATH = "apps/skills";
|
|
46
46
|
export declare const SKILLS_RELEASE_MANIFEST_PATH = "apps/skills/package.json";
|
|
47
47
|
export declare const SKILLS_RELEASE_PACKAGE_NAME = "@hasna/skills";
|
|
@@ -62,7 +62,7 @@ export declare function readSkillSessionSnapshot(sessionId: string, options?: Se
|
|
|
62
62
|
export declare function skillSessionSnapshotBinding(snapshot: SkillSessionSnapshot): SkillSessionParentBinding;
|
|
63
63
|
export declare function inspectSessionWriteLock(sessionId: string, options?: SelectionCacheOptions): {
|
|
64
64
|
sessionId: string;
|
|
65
|
-
schemaVersion:
|
|
65
|
+
schemaVersion: 1 | 2;
|
|
66
66
|
pid: number;
|
|
67
67
|
lockSha256: string;
|
|
68
68
|
lockMtime: string;
|
package/dist/sdk/index.js
CHANGED
|
@@ -32373,7 +32373,7 @@ var init_event_sink = __esm(() => {
|
|
|
32373
32373
|
// package.json
|
|
32374
32374
|
var package_default = {
|
|
32375
32375
|
name: "@hasna/skills",
|
|
32376
|
-
version: "0.10.
|
|
32376
|
+
version: "0.10.10",
|
|
32377
32377
|
description: "Skills library for AI coding agents",
|
|
32378
32378
|
type: "module",
|
|
32379
32379
|
bin: {
|
|
@@ -32495,12 +32495,12 @@ var package_default = {
|
|
|
32495
32495
|
},
|
|
32496
32496
|
repository: {
|
|
32497
32497
|
type: "git",
|
|
32498
|
-
url: "https://github.com/hasna/
|
|
32498
|
+
url: "https://github.com/hasna/skills.git",
|
|
32499
32499
|
directory: "apps/skills"
|
|
32500
32500
|
},
|
|
32501
|
-
homepage: "https://github.com/hasna/
|
|
32501
|
+
homepage: "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
32502
32502
|
bugs: {
|
|
32503
|
-
url: "https://github.com/hasna/
|
|
32503
|
+
url: "https://github.com/hasna/skills/issues"
|
|
32504
32504
|
}
|
|
32505
32505
|
};
|
|
32506
32506
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hasna/skills",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Skills library for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -122,11 +122,11 @@
|
|
|
122
122
|
},
|
|
123
123
|
"repository": {
|
|
124
124
|
"type": "git",
|
|
125
|
-
"url": "https://github.com/hasna/
|
|
125
|
+
"url": "https://github.com/hasna/skills.git",
|
|
126
126
|
"directory": "apps/skills"
|
|
127
127
|
},
|
|
128
|
-
"homepage": "https://github.com/hasna/
|
|
128
|
+
"homepage": "https://github.com/hasna/skills/tree/main/apps/skills",
|
|
129
129
|
"bugs": {
|
|
130
|
-
"url": "https://github.com/hasna/
|
|
130
|
+
"url": "https://github.com/hasna/skills/issues"
|
|
131
131
|
}
|
|
132
132
|
}
|