@hasna/skills 0.10.47 → 0.10.49

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const LAUNCH_CWD_VARIABLE = "HASNA_SKILLS_LAUNCH_CWD";
2
+ export declare function restoreLaunchCwd(env?: Record<string, string | undefined>): {
3
+ restored: boolean;
4
+ cwd: string;
5
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The trusted directory for a child of `entry`: the copyfile runtime version
3
+ * root that holds `node_modules/@hasna/skills` (what the pinned launcher uses),
4
+ * or the entry's own directory for a build or source checkout.
5
+ */
6
+ export declare function selfSpawnRoot(entry: string): string;
7
+ export interface SelfSpawnCommand {
8
+ command: string[];
9
+ cwd: string;
10
+ env: Record<string, string>;
11
+ }
12
+ /**
13
+ * Argv, working directory and environment to run this Skills entry again with
14
+ * `args`. Pass the result to Bun.spawn as `cmd`, `cwd` and `env`.
15
+ */
16
+ export declare function selfSpawnCommand(args: readonly string[], options?: {
17
+ entry?: string;
18
+ runtime?: string;
19
+ env?: Record<string, string | undefined>;
20
+ callerCwd?: string;
21
+ }): SelfSpawnCommand;
@@ -8,6 +8,7 @@
8
8
  * skills-mcp # Direct binary
9
9
  * skills-mcp --http # Streamable HTTP on 127.0.0.1:8836
10
10
  */
11
+ import "../lib/launch-cwd-apply.js";
11
12
  /**
12
13
  * FAIL CLOSED AT STARTUP (owner ruling 2026-09-04, hasna/apps#1720; #1720
13
14
  * validation, round 1): the MCP process resolves the fleet ladder BEFORE it