@capgo/cli 8.99.0 → 8.99.3
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/README.md +67 -0
- package/dist/index.js +893 -875
- package/dist/notify-app-ready-worker.js +137 -137
- package/dist/onboarding-worker.js +297 -297
- package/dist/package.json +4 -4
- package/dist/src/analytics/track.d.ts +1 -0
- package/dist/src/app/info.d.ts +3 -0
- package/dist/src/init/command.d.ts +1 -0
- package/dist/src/init/mcp/engine.d.ts +3 -0
- package/dist/src/init/mcp/explanations.d.ts +1 -0
- package/dist/src/init/mcp/live-update-tools.d.ts +2 -0
- package/dist/src/init/upload-recovery.d.ts +2 -2
- package/dist/src/mcp/project-dir.d.ts +10 -6
- package/dist/src/mcp/tool-schemas.d.ts +2 -0
- package/dist/src/run/ios-compatibility.d.ts +19 -0
- package/dist/src/sdk.js +350 -349
- package/dist/src/simulator/session.d.ts +41 -0
- package/dist/src/utils.d.ts +1 -0
- package/dist/updater-installed-worker.js +108 -108
- package/package.json +4 -4
- package/skills/native-builds/SKILL.md +33 -1
- package/skills/release-management/SKILL.md +1 -1
- package/skills/usage/SKILL.md +5 -2
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface SimulatorCommandOptions {
|
|
2
|
+
apikey?: string;
|
|
3
|
+
apiHost?: string;
|
|
4
|
+
platform?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
json?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function simulatorApiRequest(host: string, command: 'start' | 'stop' | 'get', input: {
|
|
9
|
+
appId: string;
|
|
10
|
+
platform?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
}): {
|
|
14
|
+
method: "POST";
|
|
15
|
+
url: string;
|
|
16
|
+
body: {
|
|
17
|
+
app_id: string;
|
|
18
|
+
platform: string | undefined;
|
|
19
|
+
name: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
} | {
|
|
22
|
+
method: "POST";
|
|
23
|
+
url: string;
|
|
24
|
+
body: {
|
|
25
|
+
app_id: string;
|
|
26
|
+
platform?: undefined;
|
|
27
|
+
name?: undefined;
|
|
28
|
+
};
|
|
29
|
+
} | {
|
|
30
|
+
method: "GET";
|
|
31
|
+
url: string;
|
|
32
|
+
body: undefined;
|
|
33
|
+
};
|
|
34
|
+
export declare function simulatorTextOutput(data: {
|
|
35
|
+
id?: string;
|
|
36
|
+
url?: string;
|
|
37
|
+
status?: string;
|
|
38
|
+
} | undefined): string;
|
|
39
|
+
export declare function startSimulatorCommand(appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;
|
|
40
|
+
export declare function stopSimulatorCommand(sessionId: string | undefined, appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;
|
|
41
|
+
export declare function getSimulatorCommand(sessionId: string | undefined, appId: string | undefined, options: SimulatorCommandOptions): Promise<void>;
|
package/dist/src/utils.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ export declare function canOpenExternalUrl(options?: CanOpenExternalUrlOptions):
|
|
|
118
118
|
export declare function openExternalUrl(url: string): Promise<void>;
|
|
119
119
|
export declare function projectIsMonorepo(dir: string): boolean;
|
|
120
120
|
export declare function findRoot(dir: string): string;
|
|
121
|
+
export declare function findProjectRoot(dir?: string): string;
|
|
121
122
|
export declare function getPackageScripts(f?: string, file?: string | undefined): Record<string, string>;
|
|
122
123
|
export declare function getBundleVersion(f?: string, file?: string | undefined): string;
|
|
123
124
|
/**
|