@capgo/cli 8.93.0 → 8.95.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "8.93.0",
4
+ "version": "8.95.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -95,6 +95,18 @@ export interface CapacitorRunTarget {
95
95
  api: string | undefined;
96
96
  id: string;
97
97
  }
98
+ /**
99
+ * Updater release that matches the project's Capacitor major, or the reason Capgo cannot be
100
+ * installed (Capacitor below 5, an unparsable version, an unknown package manager). Used by the
101
+ * MCP live-update flow, which must stop instead of installing an incompatible @latest.
102
+ */
103
+ export declare function resolveCompatibleUpdaterInstall(packageJsonPath: string, pm: PackageManagerInfo): Promise<{
104
+ ok: true;
105
+ version: string;
106
+ } | {
107
+ ok: false;
108
+ error: string;
109
+ }>;
98
110
  export declare function runPackageRunnerSync(runner: string, args: string[], options: Parameters<typeof spawnSync>[2]): import("node:child_process").SpawnSyncReturns<string | NonSharedBuffer>;
99
111
  interface InheritedCommandResult {
100
112
  error?: Error;
@@ -22,6 +22,6 @@ export type SetupNotice = {
22
22
  billing: Billing;
23
23
  });
24
24
  export declare function getSetupNotice(appId: string, progress: AppTodoProgress, webHost?: string): SetupNotice | undefined;
25
- export declare function formatSetupNotice(notice: SetupNotice | undefined, now?: number): string | undefined;
25
+ export declare function formatSetupNotice(notice: SetupNotice | undefined, now?: number, agent?: boolean): string | undefined;
26
26
  export declare function reconcileSetupProgress(progress: AppTodoProgress, reported: readonly LocalOnboardingStep[]): AppTodoProgress;
27
27
  export {};