@hasna/skills 0.10.0 → 0.10.2
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 +32 -0
- package/bin/index.js +379 -132
- package/bin/mcp.js +245 -49
- package/bin/migrate.js +2 -6
- package/bin/server.js +5 -6
- package/bin/worker.js +2 -6
- package/dist/cli/profile-selection.d.ts +1 -1
- package/dist/index.js +257 -67
- package/dist/lib/cli-credential-profile.d.ts +2 -0
- package/dist/lib/selection-cache.d.ts +12 -0
- package/dist/sdk/index.js +330 -141
- package/package.json +1 -1
|
@@ -60,6 +60,18 @@ export declare function readSkillSession(sessionId: string, options?: SelectionC
|
|
|
60
60
|
export declare function readSkillSessionSnapshotIfExists(sessionId: string, options?: SelectionCacheOptions): SkillSessionSnapshot | null;
|
|
61
61
|
export declare function readSkillSessionSnapshot(sessionId: string, options?: SelectionCacheOptions): SkillSessionSnapshot;
|
|
62
62
|
export declare function skillSessionSnapshotBinding(snapshot: SkillSessionSnapshot): SkillSessionParentBinding;
|
|
63
|
+
export declare function inspectSessionWriteLock(sessionId: string, options?: SelectionCacheOptions): {
|
|
64
|
+
sessionId: string;
|
|
65
|
+
schemaVersion: 2 | 1;
|
|
66
|
+
pid: number;
|
|
67
|
+
lockSha256: string;
|
|
68
|
+
lockMtime: string;
|
|
69
|
+
receiptSha256: string | null;
|
|
70
|
+
receiptGeneration: number | null;
|
|
71
|
+
reviewDigest: string;
|
|
72
|
+
hostBound: boolean;
|
|
73
|
+
};
|
|
74
|
+
export declare function recoverSessionWriteLock(sessionId: string, reviewDigest: string, options?: SelectionCacheOptions): string;
|
|
63
75
|
export declare function nextSkillSessionGeneration(generation: number): number;
|
|
64
76
|
/** Receipt creation and updates are exact-snapshot CAS operations. Child creation also fences its parent. */
|
|
65
77
|
export declare function writeSkillSession(receipt: SkillSessionReceipt, expected: SkillSessionWritePrecondition, options?: SelectionCacheOptions): void;
|