@mcp-use/cli 3.6.5-canary.1 → 4.0.0-beta.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.
Files changed (68) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +6 -10099
  4. package/package.json +11 -39
  5. package/LICENSE +0 -22
  6. package/README.md +0 -570
  7. package/dist/commands/auth.d.ts +0 -34
  8. package/dist/commands/auth.d.ts.map +0 -1
  9. package/dist/commands/client-auth.d.ts +0 -4
  10. package/dist/commands/client-auth.d.ts.map +0 -1
  11. package/dist/commands/client.d.ts +0 -29
  12. package/dist/commands/client.d.ts.map +0 -1
  13. package/dist/commands/deploy.d.ts +0 -83
  14. package/dist/commands/deploy.d.ts.map +0 -1
  15. package/dist/commands/deployments.d.ts +0 -3
  16. package/dist/commands/deployments.d.ts.map +0 -1
  17. package/dist/commands/env.d.ts +0 -3
  18. package/dist/commands/env.d.ts.map +0 -1
  19. package/dist/commands/org.d.ts +0 -13
  20. package/dist/commands/org.d.ts.map +0 -1
  21. package/dist/commands/screenshot.d.ts +0 -99
  22. package/dist/commands/screenshot.d.ts.map +0 -1
  23. package/dist/commands/servers.d.ts +0 -3
  24. package/dist/commands/servers.d.ts.map +0 -1
  25. package/dist/commands/skills.d.ts +0 -3
  26. package/dist/commands/skills.d.ts.map +0 -1
  27. package/dist/index.cjs +0 -10118
  28. package/dist/index.cjs.map +0 -1
  29. package/dist/index.js.map +0 -1
  30. package/dist/shims/next-shims-cjs.cjs +0 -42
  31. package/dist/shims/next-shims-loader.mjs +0 -119
  32. package/dist/shims/next-shims-noop.cjs +0 -146
  33. package/dist/shims/next-shims-register.mjs +0 -14
  34. package/dist/shims/next-shims-registry.json +0 -11
  35. package/dist/utils/api.d.ts +0 -329
  36. package/dist/utils/api.d.ts.map +0 -1
  37. package/dist/utils/cdp-screenshot.d.ts +0 -68
  38. package/dist/utils/cdp-screenshot.d.ts.map +0 -1
  39. package/dist/utils/chrome-path.d.ts +0 -14
  40. package/dist/utils/chrome-path.d.ts.map +0 -1
  41. package/dist/utils/cloud-urls.d.ts +0 -13
  42. package/dist/utils/cloud-urls.d.ts.map +0 -1
  43. package/dist/utils/config.d.ts +0 -54
  44. package/dist/utils/config.d.ts.map +0 -1
  45. package/dist/utils/errors.d.ts +0 -6
  46. package/dist/utils/errors.d.ts.map +0 -1
  47. package/dist/utils/format.d.ts +0 -94
  48. package/dist/utils/format.d.ts.map +0 -1
  49. package/dist/utils/git.d.ts +0 -56
  50. package/dist/utils/git.d.ts.map +0 -1
  51. package/dist/utils/next-shims.d.ts +0 -77
  52. package/dist/utils/next-shims.d.ts.map +0 -1
  53. package/dist/utils/oauth.d.ts +0 -22
  54. package/dist/utils/oauth.d.ts.map +0 -1
  55. package/dist/utils/parse-args.d.ts +0 -27
  56. package/dist/utils/parse-args.d.ts.map +0 -1
  57. package/dist/utils/project-link.d.ts +0 -11
  58. package/dist/utils/project-link.d.ts.map +0 -1
  59. package/dist/utils/session-storage.d.ts +0 -46
  60. package/dist/utils/session-storage.d.ts.map +0 -1
  61. package/dist/utils/session.d.ts +0 -39
  62. package/dist/utils/session.d.ts.map +0 -1
  63. package/dist/utils/tarball.d.ts +0 -13
  64. package/dist/utils/tarball.d.ts.map +0 -1
  65. package/dist/utils/update-check.d.ts +0 -6
  66. package/dist/utils/update-check.d.ts.map +0 -1
  67. package/dist/utils/widget-paths.d.ts +0 -2
  68. package/dist/utils/widget-paths.d.ts.map +0 -1
@@ -1,68 +0,0 @@
1
- interface CaptureScreenshotOptions {
2
- url: string;
3
- /**
4
- * Desired output width in CSS pixels. Optional — when omitted, the capture
5
- * clips to the rendered widget's natural width (read from `body[data-view-width]`
6
- * set by the inspector preview route). Falls back to the internal default
7
- * viewport width if the page didn't expose a width.
8
- */
9
- width?: number;
10
- /**
11
- * Desired output height in CSS pixels. Same semantics as `width` — omit to
12
- * fit the widget's natural height.
13
- */
14
- height?: number;
15
- theme: "light" | "dark";
16
- waitForSelector: string;
17
- timeoutMs: number;
18
- outputPath: string;
19
- /** Path to local Chrome. Required unless `cdpUrl` is supplied. */
20
- chromePath?: string;
21
- /**
22
- * Pre-existing CDP WebSocket URL (ws:// or wss://). When set, no local
23
- * Chrome is spawned — we connect directly to this endpoint. Useful for
24
- * driving a hosted Chromium (e.g. Notte) in sandboxed environments.
25
- */
26
- cdpUrl?: string;
27
- /** Extra wait after the readiness selector matches, to let animations settle. */
28
- delayMs?: number;
29
- /**
30
- * Device pixel ratio applied via `Emulation.setDeviceMetricsOverride`. The
31
- * viewport stays `width × height` in CSS pixels but the resulting PNG is
32
- * `(width × dsf) × (height × dsf)` device pixels — same convention as
33
- * Playwright/Puppeteer. Defaults to 1.
34
- */
35
- deviceScaleFactor?: number;
36
- /**
37
- * Optional pre-render bundle. When provided, it is JSON-serialized and
38
- * assigned to `globalThis.__mcpUsePreviewBundle` before any document
39
- * scripts run. The inspector preview route reads this global and renders
40
- * inline data instead of opening a live MCP connection from the browser.
41
- */
42
- bundle?: unknown;
43
- }
44
- /**
45
- * Headlessly render `url` and write a PNG to disk.
46
- *
47
- * Two modes, selected by whether `opts.cdpUrl` is provided:
48
- * - **Remote** (`cdpUrl` set): connect directly to an existing CDP
49
- * WebSocket. No Chrome process is spawned.
50
- * - **Local** (`chromePath` set): spawn Chrome with
51
- * `--headless=new --remote-debugging-port=0` + throwaway user-data-dir
52
- * and parse the WebSocket URL from stderr.
53
- *
54
- * After the WebSocket is connected, the flow is identical:
55
- * - Open a tab via Target.createTarget, attach in flat mode.
56
- * - Apply viewport + prefers-color-scheme via Emulation.* commands.
57
- * - Page.navigate, then poll Runtime.evaluate for `waitForSelector`.
58
- * - Page.captureScreenshot, write PNG, clean up.
59
- */
60
- interface CaptureScreenshotResult {
61
- /** Final clip width in CSS pixels (what the PNG visually represents). */
62
- width: number;
63
- /** Final clip height in CSS pixels. */
64
- height: number;
65
- }
66
- export declare function captureScreenshot(opts: CaptureScreenshotOptions): Promise<CaptureScreenshotResult>;
67
- export {};
68
- //# sourceMappingURL=cdp-screenshot.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cdp-screenshot.d.ts","sourceRoot":"","sources":["../../src/utils/cdp-screenshot.ts"],"names":[],"mappings":"AAMA,UAAU,wBAAwB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA4HD;;;;;;;;;;;;;;;GAeG;AACH,UAAU,uBAAuB;IAC/B,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,wBAAwB,GAC7B,OAAO,CAAC,uBAAuB,CAAC,CA4RlC"}
@@ -1,14 +0,0 @@
1
- /**
2
- * Locate a Chrome-family browser executable.
3
- *
4
- * Priority: MCP_USE_CHROME_PATH → PUPPETEER_EXECUTABLE_PATH → CHROME_PATH →
5
- * platform-specific install paths (Chrome → Canary → Chromium → Edge → Brave).
6
- *
7
- * Returns the absolute path to the executable, or null if none was found.
8
- */
9
- export declare function findChrome(): string | null;
10
- /**
11
- * Like findChrome, but throws a user-facing error with install hints.
12
- */
13
- export declare function resolveChromePath(): string;
14
- //# sourceMappingURL=chrome-path.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chrome-path.d.ts","sourceRoot":"","sources":["../../src/utils/chrome-path.ts"],"names":[],"mappings":"AAqDA;;;;;;;GAOG;AACH,wBAAgB,UAAU,IAAI,MAAM,GAAG,IAAI,CAsC1C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,MAAM,CAQ1C"}
@@ -1,13 +0,0 @@
1
- import type { Deployment } from "./api.js";
2
- /** MCP URL for a deployment: explicit `mcpUrl`, else gateway URL from `serverId`. */
3
- export declare function getMcpServerUrl(deployment: Deployment): string;
4
- /**
5
- * MCP URL for a cloud server row/detail: use API `mcpUrl` when set; otherwise
6
- * gateway host uses **slug** when present (matches production hostnames), else `id`.
7
- */
8
- export declare function getMcpServerUrlForCloudServer(server: {
9
- mcpUrl?: string | null;
10
- slug?: string | null;
11
- id: string;
12
- }): string;
13
- //# sourceMappingURL=cloud-urls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cloud-urls.d.ts","sourceRoot":"","sources":["../../src/utils/cloud-urls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAQ3C,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAI9D;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE;IACpD,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,GAAG,MAAM,CAIT"}
@@ -1,54 +0,0 @@
1
- interface McpConfig {
2
- apiKey?: string;
3
- apiUrl?: string;
4
- orgId?: string;
5
- orgName?: string;
6
- orgSlug?: string;
7
- /** @deprecated Use orgId. Read for backward compat with old config files. */
8
- profileId?: string;
9
- /** @deprecated Use orgName. */
10
- profileName?: string;
11
- /** @deprecated Use orgSlug. */
12
- profileSlug?: string;
13
- }
14
- /**
15
- * Read config from disk, migrating legacy `profile*` keys to `org*`.
16
- */
17
- export declare function readConfig(): Promise<McpConfig>;
18
- /**
19
- * Write config to disk. Persists only the new `org*` keys and removes legacy `profile*` keys.
20
- */
21
- export declare function writeConfig(config: McpConfig): Promise<void>;
22
- /**
23
- * Delete config file
24
- */
25
- export declare function deleteConfig(): Promise<void>;
26
- /**
27
- * Get API URL from config or use default
28
- */
29
- export declare function getApiUrl(): Promise<string>;
30
- /**
31
- * Get API key from config
32
- */
33
- export declare function getApiKey(): Promise<string | null>;
34
- /**
35
- * Check if user is logged in
36
- */
37
- export declare function isLoggedIn(): Promise<boolean>;
38
- /**
39
- * Get the stored organization ID from config
40
- */
41
- export declare function getOrgId(): Promise<string | null>;
42
- /**
43
- * Get web URL (for browser-based auth)
44
- * This is the frontend URL where /device verification page lives
45
- */
46
- export declare function getWebUrl(): Promise<string>;
47
- /**
48
- * Derive the auth base URL from the API URL.
49
- * Better Auth endpoints live at /api/auth/*, not under /api/v1/.
50
- * e.g. "http://localhost:8000/api/v1" -> "http://localhost:8000"
51
- */
52
- export declare function getAuthBaseUrl(): Promise<string>;
53
- export {};
54
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/utils/config.ts"],"names":[],"mappings":"AAIA,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AA0BD;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,SAAS,CAAC,CAarD;AAED;;GAEG;AACH,wBAAsB,WAAW,CAAC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAIlE;AAED;;GAEG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAMlD;AAED;;GAEG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAGjD;AAED;;GAEG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxD;AAED;;GAEG;AACH,wBAAsB,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAGnD;AAED;;GAEG;AACH,wBAAsB,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGvD;AAED;;;GAGG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAEjD;AAED;;;;GAIG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC,CAGtD"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Treats `ApiUnauthorizedError` (401) as a "please re-authenticate" hint
3
- * instead of surfacing the raw API response.
4
- */
5
- export declare function handleCommandError(error: unknown, context: string): never;
6
- //# sourceMappingURL=errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/utils/errors.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,KAAK,CAiBzE"}
@@ -1,94 +0,0 @@
1
- import type { CallToolResult } from "mcp-use/client";
2
- interface TableColumn {
3
- key: string;
4
- header: string;
5
- width?: number;
6
- truncate?: boolean;
7
- }
8
- interface FormatTableOptions {
9
- /**
10
- * Force TSV output regardless of TTY detection. When undefined, auto-detects:
11
- * non-TTY stdout (pipes, agents, CI) gets TSV; TTY gets the borderless table.
12
- */
13
- tsv?: boolean;
14
- /**
15
- * Maximum total line width for the table. Defaults to the terminal width
16
- * (process.stdout.columns) or 100 when unavailable.
17
- */
18
- maxWidth?: number;
19
- }
20
- /**
21
- * Render rows as either a borderless aligned-columns table (TTY, gh-style)
22
- * or tab-separated values (non-TTY, machine-readable). Width math strips
23
- * ANSI escape sequences so colored cells align correctly.
24
- */
25
- export declare function formatTable(data: Array<Record<string, any>>, columns: TableColumn[], options?: FormatTableOptions): string;
26
- /**
27
- * Whether stdout is piped/redirected. Callers use this to suppress decorative
28
- * headers ("Available Tools (N):") in non-TTY mode so output stays parseable.
29
- */
30
- export declare function isStdoutTty(): boolean;
31
- /**
32
- * One-word tool mode badge derived from MCP tool annotations.
33
- * `readOnlyHint` wins; explicit `destructiveHint` is shown red; everything
34
- * else is "write" (yellow), the safer-than-destructive default for the many
35
- * tools that simply don't annotate.
36
- */
37
- export declare function formatToolMode(annotations?: {
38
- readOnlyHint?: boolean;
39
- destructiveHint?: boolean;
40
- }): string;
41
- /**
42
- * Format data as JSON
43
- */
44
- export declare function formatJson(data: any, pretty?: boolean): string;
45
- /**
46
- * Format a tool call result
47
- */
48
- export declare function formatToolCall(result: CallToolResult): string;
49
- /**
50
- * Format resource content
51
- */
52
- export declare function formatResourceContent(content: any): string;
53
- /**
54
- * Format a JSON schema in a readable way
55
- */
56
- export declare function formatSchema(schema: any, indent?: number): string;
57
- /**
58
- * Format a list of items with bullets
59
- */
60
- export declare function formatList(items: string[], bullet?: string): string;
61
- /**
62
- * Format an error message
63
- */
64
- export declare function formatError(error: Error | string): string;
65
- /**
66
- * Format a success message
67
- */
68
- export declare function formatSuccess(message: string): string;
69
- /**
70
- * Format an info message
71
- */
72
- export declare function formatInfo(message: string): string;
73
- /**
74
- * Format a warning message
75
- */
76
- export declare function formatWarning(message: string): string;
77
- /**
78
- * Create a section header
79
- */
80
- export declare function formatHeader(text: string): string;
81
- /**
82
- * Format key-value pairs
83
- */
84
- export declare function formatKeyValue(pairs: Record<string, string | number | boolean>): string;
85
- /**
86
- * Format prompt messages
87
- */
88
- /**
89
- * Format a date string as relative time (e.g., "2 hours ago", "3 days ago")
90
- */
91
- export declare function formatRelativeTime(dateString: string): string;
92
- export declare function formatPromptMessages(messages: any[]): string;
93
- export {};
94
- //# sourceMappingURL=format.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/utils/format.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AA8BrD,UAAU,WAAW;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,kBAAkB;IAC1B;;;OAGG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,EAChC,OAAO,EAAE,WAAW,EAAE,EACtB,OAAO,GAAE,kBAAuB,GAC/B,MAAM,CAyFR;AAED;;;GAGG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,WAAW,CAAC,EAAE;IAC3C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,MAAM,CAIT;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,UAAO,GAAG,MAAM,CAK3D;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAsE7D;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,GAAG,GAAG,MAAM,CAoC1D;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,SAAI,GAAG,MAAM,CAiD5D;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,MAAM,SAAM,GAAG,MAAM,CAEhE;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAGzD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAErD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAElD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAErD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAC/C,MAAM,CASR;AAED;;GAEG;AACH;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CA2B7D;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,MAAM,CAuC5D"}
@@ -1,56 +0,0 @@
1
- interface GitInfo {
2
- isGitRepo: boolean;
3
- remoteUrl?: string;
4
- owner?: string;
5
- repo?: string;
6
- branch?: string;
7
- commitSha?: string;
8
- commitMessage?: string;
9
- hasUncommittedChanges?: boolean;
10
- }
11
- /**
12
- * Error thrown by `gitCommandOrThrow` when a git command exits non-zero.
13
- * Carries the command string plus captured stderr/stdout for actionable errors.
14
- */
15
- export declare class GitCommandError extends Error {
16
- readonly command: string;
17
- readonly stderr: string;
18
- readonly stdout: string;
19
- readonly exitCode: number | null;
20
- constructor(opts: {
21
- command: string;
22
- stderr: string;
23
- stdout: string;
24
- exitCode: number | null;
25
- });
26
- }
27
- /**
28
- * Check if there are uncommitted changes
29
- */
30
- export declare function hasUncommittedChanges(cwd?: string): Promise<boolean>;
31
- /**
32
- * Get all git info for current directory
33
- */
34
- export declare function getGitInfo(cwd?: string): Promise<GitInfo>;
35
- /**
36
- * Initialize a git repo, add all files, commit, and normalize branch to `main`.
37
- *
38
- * Throws `GitCommandError` (typed Error) on any failure so callers can surface
39
- * the real stderr instead of silently continuing (previous behavior left the
40
- * repo in a half-baked state and the CLI still printed "Code pushed").
41
- */
42
- export declare function gitInit(cwd: string, message?: string): Promise<void>;
43
- /**
44
- * Add a remote and push to it. Throws `GitCommandError` on failure.
45
- */
46
- export declare function gitAddRemoteAndPush(cwd: string, cloneUrl: string, branch?: string): Promise<void>;
47
- /**
48
- * Commit all changes and push. Throws `GitCommandError` on failure.
49
- */
50
- export declare function gitCommitAndPush(cwd: string, message: string, branch?: string): Promise<void>;
51
- /**
52
- * Check if remote is a GitHub URL
53
- */
54
- export declare function isGitHubUrl(url: string): boolean;
55
- export {};
56
- //# sourceMappingURL=git.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/utils/git.ts"],"names":[],"mappings":"AAKA,UAAU,OAAO;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAqBD;;;GAGG;AACH,qBAAa,eAAgB,SAAQ,KAAK;IACxC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;gBAErB,IAAI,EAAE;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB;CASF;AAgGD;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,GAAG,GAAE,MAAsB,GAC1B,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED;;GAEG;AACH,wBAAsB,UAAU,CAC9B,GAAG,GAAE,MAAsB,GAC1B,OAAO,CAAC,OAAO,CAAC,CAkClB;AAED;;;;;;GAMG;AACH,wBAAsB,OAAO,CAC3B,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,MAAyB,GACjC,OAAO,CAAC,IAAI,CAAC,CASf;AAED;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,MAAe,GACtB,OAAO,CAAC,IAAI,CAAC,CAGf;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAe,GACtB,OAAO,CAAC,IAAI,CAAC,CAIf;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAkBhD"}
@@ -1,77 +0,0 @@
1
- /**
2
- * Next.js runtime-module shim wiring.
3
- *
4
- * When the CLI runs an MCP server that lives inside a Next.js app (the
5
- * `src/mcp/` drop-in layout), transitive imports from the user's tools
6
- * almost always pull in Next.js server-runtime modules:
7
- *
8
- * - `server-only` — throws on import outside an RSC
9
- * - `next/cache` — revalidatePath / unstable_cache
10
- * - `next/headers` — headers() / cookies()
11
- * - `next/navigation` — redirect() / notFound()
12
- * - `next/server` — NextResponse / NextRequest
13
- *
14
- * These are all meaningful only inside a Next.js request; outside of one
15
- * (i.e., in our MCP server process) they're either unusable or useless.
16
- * Rather than asking the developer to write shim files, the CLI detects
17
- * Next.js and installs an ESM loader hook that resolves these specifiers to
18
- * no-op / inert implementations.
19
- *
20
- * Detection: presence of `next` in the user's package.json dependencies or
21
- * devDependencies.
22
- *
23
- * Registration happens in two places:
24
- * 1. HMR dev mode — inline, via `module.register()` in the parent process
25
- * before `tsImport` is called.
26
- * 2. --no-hmr and build — via `NODE_OPTIONS=--import=<register.mjs>` on the
27
- * spawned tsx/esbuild process.
28
- */
29
- /**
30
- * Returns true when the project has `next` listed in package.json deps.
31
- *
32
- * Missing / unreadable package.json returns false silently — the shims are
33
- * strictly additive, so "can't decide" should mean "don't shim".
34
- */
35
- export declare function detectNextJsProject(projectPath: string): Promise<boolean>;
36
- /**
37
- * Load Next.js's environment-file cascade into `process.env`.
38
- *
39
- * Next.js's dev server reads env files in this priority order (highest
40
- * wins): `.env.development.local` → `.env.local` → `.env.development` →
41
- * `.env`. Tools imported from a Next.js app usually assume these variables
42
- * are populated, so the MCP CLI mirrors the same cascade when it runs
43
- * inside a Next.js project.
44
- *
45
- * The values we set here flow to the spawned tsx child through
46
- * `runCommand`'s `...process.env` merge.
47
- */
48
- export declare function loadNextJsEnvFiles(projectPath: string): Promise<void>;
49
- /**
50
- * Register the shim loader in the CURRENT Node.js process.
51
- *
52
- * Used by the HMR dev path, which imports the user's entry via
53
- * `tsx/esm/api.tsImport` in-process (no child process). We install both:
54
- *
55
- * - The ESM loader hook (handles `import ...` of shimmed specifiers)
56
- * - The CJS `Module._resolveFilename` patch (handles `require(...)`, which
57
- * tsx emits when transpiling TypeScript to CommonJS)
58
- *
59
- * Returns `true` if at least one half succeeded, `false` only when neither
60
- * shim file can be located (graceful degradation — dev still works, users
61
- * just see the raw Next.js error on `server-only` etc.).
62
- */
63
- export declare function registerNextShimsInProcess(): Promise<boolean>;
64
- /**
65
- * Build a child-process env that adds both the CJS preload (`-r ...`) and the
66
- * ESM registration (`--import=...`) to NODE_OPTIONS, preserving any value
67
- * the user already set.
68
- *
69
- * Both are needed because tsx loads user TypeScript as CJS by default (goes
70
- * through `Module._resolveFilename` — covered by `-r`) while some modules are
71
- * imported via ESM (covered by `--import=...`).
72
- *
73
- * If either shim file can't be found on disk, we degrade gracefully — the
74
- * dev loop still starts, we just don't shim that half.
75
- */
76
- export declare function withNextShimsEnv(baseEnv: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
77
- //# sourceMappingURL=next-shims.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"next-shims.d.ts","sourceRoot":"","sources":["../../src/utils/next-shims.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAMH;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,OAAO,CAAC,CAWlB;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAsB3E;AA4DD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,0BAA0B,IAAI,OAAO,CAAC,OAAO,CAAC,CAuBnE;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,CAAC,UAAU,GACzB,MAAM,CAAC,UAAU,CAkBnB"}
@@ -1,22 +0,0 @@
1
- import { NodeOAuthClientProvider, type NodeOAuthOptions } from "mcp-use/auth/node";
2
- /**
3
- * Build a NodeOAuthClientProvider that prints the authorization URL for the
4
- * user to open themselves. We never auto-launch a browser from the CLI — a
5
- * surprise window when an agent or script invokes `mcp-use` is worse than the
6
- * extra click for an interactive user.
7
- */
8
- export declare function buildOAuthProvider(serverUrl: string, options?: Omit<NodeOAuthOptions, "openBrowser">): Promise<NodeOAuthClientProvider>;
9
- /**
10
- * Run the full two-call OAuth dance:
11
- * 1. auth() → triggers redirectToAuthorization (prints URL, binds loopback)
12
- * 2. await provider.getAuthorizationCode()
13
- * 3. auth() with the code → exchanges for tokens, persists via FileKVStore
14
- *
15
- * Mirrors the orchestrator pattern in `useMcp.ts:1121-1145`.
16
- */
17
- export declare function runOAuthFlow(provider: NodeOAuthClientProvider, serverUrl: string, print?: (line: string) => void): Promise<void>;
18
- /** True if the unwrapped error is an SDK 401 we should respond to with OAuth. */
19
- export declare function isUnauthorized(err: unknown): boolean;
20
- /** Minimal yes/no prompt. Returns true on Y/y/yes/<enter>, false otherwise. */
21
- export declare function promptYesNo(question: string, defaultYes?: boolean): Promise<boolean>;
22
- //# sourceMappingURL=oauth.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../src/utils/oauth.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,uBAAuB,EAGvB,KAAK,gBAAgB,EACtB,MAAM,mBAAmB,CAAC;AAG3B;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,IAAI,CAAC,gBAAgB,EAAE,aAAa,CAAM,GAClD,OAAO,CAAC,uBAAuB,CAAC,CAWlC;AAED;;;;;;;GAOG;AACH,wBAAsB,YAAY,CAChC,QAAQ,EAAE,uBAAuB,EACjC,SAAS,EAAE,MAAM,EACjB,KAAK,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAkC,GAC1D,OAAO,CAAC,IAAI,CAAC,CA0Bf;AAED,iFAAiF;AACjF,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAUpD;AAED,+EAA+E;AAC/E,wBAAsB,WAAW,CAC/B,QAAQ,EAAE,MAAM,EAChB,UAAU,UAAO,GAChB,OAAO,CAAC,OAAO,CAAC,CAalB"}
@@ -1,27 +0,0 @@
1
- /**
2
- * Parse positional `key=value` arguments for `tools call` and `prompts get`.
3
- *
4
- * Forms accepted (per token):
5
- * key=value → string by default; coerced using the tool's input schema
6
- * (number/integer/boolean/array/object) when available
7
- * key:=jsonvalue → value is parsed as JSON (httpie convention); use this for
8
- * nested objects/arrays or to force a non-string scalar
9
- * --key=value → leading `--` is accepted and stripped (forgiving for users
10
- * who reach for a flag-style habit)
11
- *
12
- * Backward-compatible fallback: a single token that starts with `{` is parsed
13
- * as a JSON object covering all arguments at once.
14
- */
15
- type JsonSchemaLike = {
16
- type?: string | string[];
17
- properties?: Record<string, JsonSchemaLike>;
18
- required?: string[];
19
- };
20
- export declare function parseToolArgs(rawArgs: string[] | undefined, inputSchema?: JsonSchemaLike): Record<string, unknown>;
21
- /**
22
- * Parse positional `key=value` arguments for prompts. Prompt arguments are
23
- * always strings per the MCP spec, so we skip type coercion entirely.
24
- */
25
- export declare function parsePromptArgs(rawArgs: string[] | undefined): Record<string, string>;
26
- export {};
27
- //# sourceMappingURL=parse-args.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse-args.d.ts","sourceRoot":"","sources":["../../src/utils/parse-args.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,KAAK,cAAc,GAAG;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,EAC7B,WAAW,CAAC,EAAE,cAAc,GAC3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA0DzB;AAkED;;;GAGG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,GAC5B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA0CxB"}
@@ -1,11 +0,0 @@
1
- interface ProjectLink {
2
- deploymentId: string;
3
- deploymentName: string;
4
- deploymentUrl?: string;
5
- linkedAt: string;
6
- serverId?: string;
7
- }
8
- export declare function getProjectLink(cwd: string): Promise<ProjectLink | null>;
9
- export declare function saveProjectLink(cwd: string, link: ProjectLink): Promise<void>;
10
- export {};
11
- //# sourceMappingURL=project-link.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project-link.d.ts","sourceRoot":"","sources":["../../src/utils/project-link.ts"],"names":[],"mappings":"AAMA,UAAU,WAAW;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAS7E;AAGD,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,WAAW,GAChB,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -1,46 +0,0 @@
1
- export interface SessionConfig {
2
- type: "http" | "stdio";
3
- url?: string;
4
- command?: string;
5
- args?: string[];
6
- env?: Record<string, string>;
7
- /** Static Bearer token. Used when authMode is undefined or "bearer". */
8
- authToken?: string;
9
- /**
10
- * How this session authenticates to the server.
11
- * - "bearer": static token in `authToken`.
12
- * - "oauth": tokens live in `~/.mcp-use/oauth/<urlHash>/`, managed by NodeOAuthClientProvider.
13
- * Undefined = legacy bearer (back-compat with sessions saved before OAuth shipped).
14
- */
15
- authMode?: "bearer" | "oauth";
16
- lastUsed: string;
17
- serverInfo?: {
18
- name: string;
19
- version?: string;
20
- };
21
- capabilities?: Record<string, unknown>;
22
- }
23
- interface SessionStorage {
24
- sessions: Record<string, SessionConfig>;
25
- }
26
- /**
27
- * Load persisted servers from disk.
28
- *
29
- * Tolerates older files that include an `activeSession` field — the field is
30
- * silently dropped. The CLI no longer tracks an active server; every command
31
- * names its target explicitly.
32
- */
33
- export declare function loadSessions(): Promise<SessionStorage>;
34
- export declare function saveSession(name: string, config: SessionConfig): Promise<void>;
35
- export declare function removeSession(name: string): Promise<void>;
36
- export declare function getSession(name: string): Promise<SessionConfig | null>;
37
- export declare function listAllSessions(): Promise<Array<{
38
- name: string;
39
- config: SessionConfig;
40
- }>>;
41
- export declare function updateSessionInfo(name: string, serverInfo: {
42
- name: string;
43
- version?: string;
44
- }, capabilities?: Record<string, unknown>): Promise<void>;
45
- export {};
46
- //# sourceMappingURL=session-storage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-storage.d.ts","sourceRoot":"","sources":["../../src/utils/session-storage.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxC;AAED,UAAU,cAAc;IACtB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CACzC;AAaD;;;;;;GAMG;AACH,wBAAsB,YAAY,IAAI,OAAO,CAAC,cAAc,CAAC,CAc5D;AAOD,wBAAsB,WAAW,CAC/B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,aAAa,GACpB,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,wBAAsB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAI/D;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,CAG5E;AAED,wBAAsB,eAAe,IAAI,OAAO,CAC9C,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,aAAa,CAAA;CAAE,CAAC,CAC/C,CAMA;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAC9C,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,OAAO,CAAC,IAAI,CAAC,CASf"}
@@ -1,39 +0,0 @@
1
- import type { MCPSession } from "mcp-use/client";
2
- import { MCPClient } from "mcp-use/client";
3
- export declare const activeSessions: Map<string, {
4
- client: MCPClient;
5
- session: MCPSession;
6
- }>;
7
- /**
8
- * Default clientInfo for mcp-use CLI.
9
- */
10
- export declare function getCliClientInfo(): {
11
- name: string;
12
- title: string;
13
- version: string;
14
- description: string;
15
- icons: {
16
- src: string;
17
- }[];
18
- websiteUrl: string;
19
- };
20
- /**
21
- * Close every in-memory session and exit with `code`.
22
- *
23
- * Each `client` subcommand opens a fresh transport per process invocation,
24
- * which keeps an HTTP/SSE socket alive after the command returns. Without
25
- * this, the Node event loop never goes idle and headless agents hang.
26
- */
27
- export declare function cleanupAndExit(code: number): Promise<never>;
28
- /**
29
- * Get or restore a session by name. For OAuth-mode sessions whose tokens
30
- * have expired and can't be refreshed, prompts to re-auth on TTY or prints
31
- * a clear `connect` command to re-run on non-TTY.
32
- *
33
- * `sessionName` is required — there is no implicit "active" server.
34
- */
35
- export declare function getOrRestoreSession(sessionName: string): Promise<{
36
- name: string;
37
- session: MCPSession;
38
- } | null>;
39
- //# sourceMappingURL=session.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/utils/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAY3C,eAAO,MAAM,cAAc;YAEf,SAAS;aAAW,UAAU;EACvC,CAAC;AAEJ;;GAEG;AACH,wBAAgB,gBAAgB;;;;;;;;;EAa/B;AAED;;;;;;GAMG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAUjE;AAED;;;;;;GAMG;AACH,wBAAsB,mBAAmB,CACvC,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,UAAU,CAAA;CAAE,GAAG,IAAI,CAAC,CAwFvD"}
@@ -1,13 +0,0 @@
1
- /**
2
- * Pack a project directory into a gzip tarball for upload to the cloud
3
- * `POST /servers` (managed) / `POST /servers/:id/source` endpoints.
4
- *
5
- * Every entry is nested under a single wrapper directory (`prefix`) because the
6
- * backend's extractor strips the first path segment (it expects GitHub's
7
- * `owner-repo-sha/` tarball layout). Secrets (`.env*`) and heavy/derived
8
- * directories are excluded.
9
- */
10
- export declare function packProjectTarball(projectDir: string, prefix?: string): Promise<Buffer>;
11
- /** Coerce an arbitrary project name into a valid GitHub repo name. */
12
- export declare function sanitizeRepoName(name: string): string;
13
- //# sourceMappingURL=tarball.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tarball.d.ts","sourceRoot":"","sources":["../../src/utils/tarball.ts"],"names":[],"mappings":"AAmBA;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CACtC,UAAU,EAAE,MAAM,EAClB,MAAM,SAAQ,GACb,OAAO,CAAC,MAAM,CAAC,CAyBjB;AAED,sEAAsE;AACtE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAOrD"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Check npm for a newer version of `mcp-use` and print a notification when
3
- * one is available. Runs silently on any error so it never interrupts the CLI.
4
- */
5
- export declare function notifyIfUpdateAvailable(projectPath: string | undefined): Promise<void>;
6
- //# sourceMappingURL=update-check.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-check.d.ts","sourceRoot":"","sources":["../../src/utils/update-check.ts"],"names":[],"mappings":"AAyIA;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B,OAAO,CAAC,IAAI,CAAC,CAwBf"}
@@ -1,2 +0,0 @@
1
- export declare function getWidgetAssetBase(mcpUrl: string | undefined, widgetName: string): string;
2
- //# sourceMappingURL=widget-paths.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget-paths.d.ts","sourceRoot":"","sources":["../../src/utils/widget-paths.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,UAAU,EAAE,MAAM,GACjB,MAAM,CAOR"}