@sightmap/mcp 0.7.1 → 0.9.0
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/dist/cli.d.ts +13 -1
- package/dist/cli.js +1048 -23
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1002 -12
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/cli.d.ts
CHANGED
|
@@ -8,5 +8,17 @@ interface CliArgs {
|
|
|
8
8
|
}
|
|
9
9
|
/** Argv parser. Exposed for unit testing. */
|
|
10
10
|
declare function parseArgv(argv: string[]): CliArgs;
|
|
11
|
+
/**
|
|
12
|
+
* Write the bippy inject script to a uniquely-named temp directory and return
|
|
13
|
+
* the path. Returns undefined if the script can't be materialized (e.g., bippy
|
|
14
|
+
* IIFE missing in dev contexts) — the caller treats that as "skip pre-nav
|
|
15
|
+
* injection; rely on the post-nav fallback".
|
|
16
|
+
*
|
|
17
|
+
* Visible for unit testing.
|
|
18
|
+
*/
|
|
19
|
+
declare function writeInitScriptToTempDir(): Promise<{
|
|
20
|
+
dir: string;
|
|
21
|
+
scriptPath: string;
|
|
22
|
+
} | undefined>;
|
|
11
23
|
|
|
12
|
-
export { parseArgv };
|
|
24
|
+
export { parseArgv, writeInitScriptToTempDir };
|