@warmio/mcp 10.0.0 → 11.0.1

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/install.d.ts CHANGED
@@ -1,7 +1,25 @@
1
- import { type PrivateMcpMode } from '@warmio/contracts/mcp';
1
+ type PromptOptions = {
2
+ hidden: boolean;
3
+ };
2
4
  export interface InstallOptions {
5
+ /** Replace an existing Warm server configuration without an additional confirmation. */
3
6
  force?: boolean;
4
- mode?: PrivateMcpMode;
5
- validateApiKey?: boolean;
7
+ /** Test seam for the API request. It is not used by the CLI. */
8
+ fetchImplementation?: typeof fetch;
9
+ /** Test seam for local client discovery. It is not used by the CLI. */
10
+ homeDir?: string;
11
+ /** Test seam for the API endpoint. It is not used by the CLI. */
12
+ apiUrl?: string;
13
+ /** Test seam for installer interaction. It is not used by the CLI. */
14
+ prompt?: (question: string, options: PromptOptions) => Promise<string>;
15
+ /** Test seam for installer interaction. It is not used by the CLI. */
16
+ confirm?: (question: string) => Promise<boolean>;
17
+ /** Test seam for project client discovery. It is not used by the CLI. */
18
+ workingDirectory?: string;
19
+ /** Test seam for atomic file replacement failures. It is not used by the CLI. */
20
+ atomicReplaceFile?: (target: string, content: string, mode: number) => void;
6
21
  }
22
+ /** Configure detected supported MCP clients for the local stdio server. */
7
23
  export declare function install(options?: InstallOptions): Promise<void>;
24
+ export {};
25
+ //# sourceMappingURL=install.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AAsCA,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,wFAAwF;IACxF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gEAAgE;IAChE,mBAAmB,CAAC,EAAE,OAAO,KAAK,CAAC;IACnC,uEAAuE;IACvE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACvE,sEAAsE;IACtE,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IACjD,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7E;AAuUD,2EAA2E;AAC3E,wBAAsB,OAAO,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BzE"}