@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/index.js +717 -712
- package/dist/notify-app-ready-worker.js +1 -1
- package/dist/onboarding-worker.js +338 -333
- package/dist/package.json +1 -1
- package/dist/src/init/command.d.ts +12 -0
- package/dist/src/onboarding/setup-notices.d.ts +1 -1
- package/dist/src/sdk.js +332 -329
- package/dist/src/shared/agent-notices.d.ts +10 -0
- package/dist/src/shared/direct-offer.d.ts +1 -1
- package/dist/src/shared/plan-copy.d.ts +1 -0
- package/dist/src/shared/plan-url.d.ts +2 -0
- package/dist/updater-installed-worker.js +1 -1
- package/package.json +1 -1
- package/skills/usage/SKILL.md +1 -0
package/dist/package.json
CHANGED
|
@@ -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 {};
|