@stim-cli/core 1.14.0 → 1.16.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/README.md +18 -0
- package/dist/{core-CmZJEFj_.mjs → core-DWOUn9xp.mjs} +179 -5
- package/dist/index-DPo8Bexj.d.mts +2228 -0
- package/dist/index.d.mts +42 -1
- package/dist/index.mjs +2 -2
- package/dist/oversight.d.mts +308 -0
- package/dist/oversight.mjs +666 -0
- package/dist/ownership-claim-Xxxr9MPp.d.mts +152 -0
- package/dist/ownership-claim.d.mts +1 -151
- package/dist/phone-protocol.d.mts +458 -0
- package/dist/phone-protocol.mjs +2 -0
- package/dist/process-identity-BTyww2Xj.d.mts +37 -0
- package/dist/process-identity.d.mts +2 -30
- package/dist/process-identity.mjs +10 -2
- package/dist/protocol-B0KcaUee.d.mts +1465 -0
- package/dist/protocol.d.mts +2 -0
- package/dist/protocol.mjs +379 -0
- package/dist/receive-protocol.d.mts +12 -0
- package/dist/receive-protocol.mjs +19751 -0
- package/dist/state.d.mts +2 -777
- package/dist/state.mjs +4126 -1133
- package/package.json +21 -1
package/dist/state.d.mts
CHANGED
|
@@ -1,777 +1,2 @@
|
|
|
1
|
-
//#region state/config-types.d.ts
|
|
2
|
-
|
|
3
|
-
interface SupervisorRecord {
|
|
4
|
-
processToken?: string;
|
|
5
|
-
pid?: number;
|
|
6
|
-
port?: number;
|
|
7
|
-
startedAt?: string;
|
|
8
|
-
serverPid?: number;
|
|
9
|
-
mode?: string;
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
interface IosDeviceRecord {
|
|
13
|
-
deviceUdid?: string;
|
|
14
|
-
deviceName?: string | null;
|
|
15
|
-
owned?: boolean;
|
|
16
|
-
serial?: string;
|
|
17
|
-
simslimManaged?: boolean;
|
|
18
|
-
[key: string]: unknown;
|
|
19
|
-
}
|
|
20
|
-
interface AndroidDeviceRecord {
|
|
21
|
-
avdName?: string;
|
|
22
|
-
consolePort?: number;
|
|
23
|
-
serial?: string;
|
|
24
|
-
kind?: string;
|
|
25
|
-
deviceName?: string | null;
|
|
26
|
-
owned?: boolean;
|
|
27
|
-
setupIncomplete?: boolean;
|
|
28
|
-
bootPending?: boolean;
|
|
29
|
-
[key: string]: unknown;
|
|
30
|
-
}
|
|
31
|
-
type DeviceRecord = IosDeviceRecord | AndroidDeviceRecord;
|
|
32
|
-
interface PlatformRecords {
|
|
33
|
-
ios?: IosDeviceRecord;
|
|
34
|
-
android?: AndroidDeviceRecord;
|
|
35
|
-
[platform: string]: DeviceRecord | undefined;
|
|
36
|
-
}
|
|
37
|
-
interface ProjectRecord {
|
|
38
|
-
ports?: Record<string, number>;
|
|
39
|
-
metroPort?: number | null;
|
|
40
|
-
platforms?: PlatformRecords;
|
|
41
|
-
deviceSlots?: Record<string, PlatformRecords>;
|
|
42
|
-
supervisor?: SupervisorRecord;
|
|
43
|
-
settings?: SettingsObject;
|
|
44
|
-
worktreeRoot?: boolean;
|
|
45
|
-
worktreeBranch?: string;
|
|
46
|
-
worktreeBranchOwned?: boolean;
|
|
47
|
-
worktreeMainRoot?: string;
|
|
48
|
-
worktreeRemovalComplete?: boolean;
|
|
49
|
-
worktreePendingBranchSha?: string;
|
|
50
|
-
label?: string;
|
|
51
|
-
bundleId?: string;
|
|
52
|
-
androidPackage?: string;
|
|
53
|
-
isExpo?: boolean;
|
|
54
|
-
lastBuild?: Record<string, unknown>;
|
|
55
|
-
doctorRuns?: Partial<Record<"ios" | "android", DoctorRunRecord>>;
|
|
56
|
-
[key: string]: unknown;
|
|
57
|
-
}
|
|
58
|
-
interface DoctorRunRecord {
|
|
59
|
-
at: string;
|
|
60
|
-
version: string;
|
|
61
|
-
}
|
|
62
|
-
interface RepoRecord {
|
|
63
|
-
settings?: SettingsObject;
|
|
64
|
-
[key: string]: unknown;
|
|
65
|
-
}
|
|
66
|
-
interface ConcurrencyLimits {
|
|
67
|
-
maxBuilds: number;
|
|
68
|
-
maxDevices: number;
|
|
69
|
-
}
|
|
70
|
-
interface StimConfig {
|
|
71
|
-
version?: number;
|
|
72
|
-
projects: Record<string, ProjectRecord>;
|
|
73
|
-
repos: Record<string, RepoRecord>;
|
|
74
|
-
tempDir?: unknown;
|
|
75
|
-
iosSimulatorApp?: unknown;
|
|
76
|
-
androidEmulatorApp?: unknown;
|
|
77
|
-
optimizations?: unknown;
|
|
78
|
-
concurrency?: {
|
|
79
|
-
maxBuilds?: unknown;
|
|
80
|
-
maxDevices?: unknown;
|
|
81
|
-
};
|
|
82
|
-
pool?: {
|
|
83
|
-
iosParkedMax?: unknown;
|
|
84
|
-
androidParkedMax?: unknown;
|
|
85
|
-
};
|
|
86
|
-
parked?: {
|
|
87
|
-
ios?: unknown;
|
|
88
|
-
android?: unknown;
|
|
89
|
-
};
|
|
90
|
-
caches?: {
|
|
91
|
-
buildCache?: unknown;
|
|
92
|
-
metroCache?: unknown;
|
|
93
|
-
};
|
|
94
|
-
[key: string]: unknown;
|
|
95
|
-
}
|
|
96
|
-
type Config = StimConfig;
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region state/config.d.ts
|
|
99
|
-
declare function withConfigLock<T>(fn: () => T): T;
|
|
100
|
-
declare function configCorruptRepair(path?: string): string;
|
|
101
|
-
declare function loadConfig(): Config | null;
|
|
102
|
-
declare function getProject(projectPath: string): ProjectRecord | null;
|
|
103
|
-
declare function getConcurrencyLimits({ env }?: {
|
|
104
|
-
env?: NodeJS.ProcessEnv;
|
|
105
|
-
}): ConcurrencyLimits;
|
|
106
|
-
declare function getProjectSettings(projectPath: string): Record<string, unknown>;
|
|
107
|
-
declare function getProjectSetting(projectPath: string, dottedKey: string): unknown;
|
|
108
|
-
declare function getRepoSettings(gitCommonDir: string): Record<string, unknown>;
|
|
109
|
-
declare function isPathPrefix(prefix: string, path: string): boolean;
|
|
110
|
-
declare function findEnclosingWorktreeRoot(projectPath: string): string | null;
|
|
111
|
-
declare function allMetroPorts(): number[];
|
|
112
|
-
declare function findProjectByMetroPort(port: number): string | null;
|
|
113
|
-
//#endregion
|
|
114
|
-
//#region state/json-file.d.ts
|
|
115
|
-
/**
|
|
116
|
-
* Runs `fn` with each state file read from disk at most once: inside it, including after an `await`, `readStateFile`
|
|
117
|
-
* returns the text of the first read of that path, and a path found missing stays missing. Callers still parse every time, so no two
|
|
118
|
-
* share a mutable object. Only for computations that write none of the files they read.
|
|
119
|
-
*/
|
|
120
|
-
declare function withStateReadCache<T>(fn: () => T): T;
|
|
121
|
-
declare function readStateFile(path: string): string;
|
|
122
|
-
declare function readJsonFile(path: string): unknown;
|
|
123
|
-
declare function isJsonObject(value: unknown): value is Record<string, unknown>;
|
|
124
|
-
declare function readJsonObject(path: string): Record<string, unknown> | null;
|
|
125
|
-
//#endregion
|
|
126
|
-
//#region state/ledgers.d.ts
|
|
127
|
-
type CreatedDevicePlatform = "ios" | "android" | "web";
|
|
128
|
-
/** `web` lists the absolute paths of browser profile directories Stim created. */
|
|
129
|
-
interface CreatedDevices {
|
|
130
|
-
ios: ReadonlySet<string>;
|
|
131
|
-
android: ReadonlySet<string>;
|
|
132
|
-
web: ReadonlySet<string>;
|
|
133
|
-
}
|
|
134
|
-
declare function readCreatedDevices(): CreatedDevices;
|
|
135
|
-
interface EasSessionClaim {
|
|
136
|
-
sessionId: string;
|
|
137
|
-
name: string;
|
|
138
|
-
platform: "ios" | "android";
|
|
139
|
-
workspaceRoot: string;
|
|
140
|
-
workspaceHome: string;
|
|
141
|
-
stateFile: string;
|
|
142
|
-
}
|
|
143
|
-
interface EasSessionLedgerRead {
|
|
144
|
-
claims: Map<string, EasSessionClaim>;
|
|
145
|
-
notice: string | null;
|
|
146
|
-
safe: boolean;
|
|
147
|
-
}
|
|
148
|
-
/** Returns the claim normalized to canonical paths, or null when it is not a valid claim for `id`. */
|
|
149
|
-
declare function validEasSessionClaim(id: string, value: unknown): EasSessionClaim | null;
|
|
150
|
-
declare function readEasSessionLedger(root?: string): EasSessionLedgerRead;
|
|
151
|
-
//#endregion
|
|
152
|
-
//#region state/ndjson.d.ts
|
|
153
|
-
interface NdjsonRecord {
|
|
154
|
-
ts?: number;
|
|
155
|
-
src?: string;
|
|
156
|
-
level?: string;
|
|
157
|
-
msg?: string;
|
|
158
|
-
/** With `logs --errors --json`: the code frame and stack lines Expo printed after this error. */
|
|
159
|
-
context?: string[];
|
|
160
|
-
[key: string]: unknown;
|
|
161
|
-
}
|
|
162
|
-
declare const LEVELS: string[];
|
|
163
|
-
declare const SOURCES: string[];
|
|
164
|
-
declare function levelRank(level?: string): number;
|
|
165
|
-
declare function parseNdjsonLine(line: unknown): NdjsonRecord | null;
|
|
166
|
-
declare function parseNdjsonText(text: unknown): NdjsonRecord[];
|
|
167
|
-
declare function readNdjsonGenerations(file: string): NdjsonRecord[];
|
|
168
|
-
//#endregion
|
|
169
|
-
//#region state/logs-query.d.ts
|
|
170
|
-
interface SinceResult {
|
|
171
|
-
ms?: number;
|
|
172
|
-
error?: string;
|
|
173
|
-
}
|
|
174
|
-
interface GrepResult {
|
|
175
|
-
re?: RegExp;
|
|
176
|
-
error?: string;
|
|
177
|
-
}
|
|
178
|
-
interface MarkerWindow {
|
|
179
|
-
launchTs: number | null;
|
|
180
|
-
bundleTs: number | null;
|
|
181
|
-
pageLoadTs: number | null;
|
|
182
|
-
}
|
|
183
|
-
interface QueryCriteria {
|
|
184
|
-
slot?: string;
|
|
185
|
-
includeAppDeviceErrors?: boolean;
|
|
186
|
-
sources?: string[];
|
|
187
|
-
minLevel?: string;
|
|
188
|
-
grep?: RegExp;
|
|
189
|
-
sinceTs?: number;
|
|
190
|
-
errorsOnly?: boolean;
|
|
191
|
-
markerTs?: number;
|
|
192
|
-
bundleMarkerTs?: number;
|
|
193
|
-
}
|
|
194
|
-
interface TailState {
|
|
195
|
-
offset: number;
|
|
196
|
-
partial: string;
|
|
197
|
-
}
|
|
198
|
-
declare function parseSince(text: unknown): SinceResult;
|
|
199
|
-
declare function compileGrep(pattern: unknown): GrepResult;
|
|
200
|
-
declare const ERROR_SOURCES: string[];
|
|
201
|
-
declare function markerWindow(records: NdjsonRecord[]): MarkerWindow;
|
|
202
|
-
declare function recordMatches(record: NdjsonRecord | null | undefined, criteria?: QueryCriteria): boolean;
|
|
203
|
-
declare function buildCriteria({ slot, sources, minLevel, since, grep, errorsOnly, markerTs, bundleMarkerTs, now }?: {
|
|
204
|
-
slot?: string;
|
|
205
|
-
sources?: string[];
|
|
206
|
-
minLevel?: string;
|
|
207
|
-
since?: string | null;
|
|
208
|
-
grep?: string | RegExp | null;
|
|
209
|
-
errorsOnly?: boolean;
|
|
210
|
-
markerTs?: number;
|
|
211
|
-
bundleMarkerTs?: number;
|
|
212
|
-
now?: number;
|
|
213
|
-
}): QueryCriteria;
|
|
214
|
-
declare function logFiles(dir: string): string[];
|
|
215
|
-
declare function fileSizes(dir: string): Record<string, number>;
|
|
216
|
-
declare function readLogRecords(dir: string, include?: (name: string) => boolean): NdjsonRecord[];
|
|
217
|
-
type ExpoContextTarget = "msg" | "field";
|
|
218
|
-
/**
|
|
219
|
-
* Adds the code frame and stack lines Expo printed after each Expo error record, either joined into
|
|
220
|
-
* `msg` or as a `context` string array.
|
|
221
|
-
*/
|
|
222
|
-
declare function attachExpoErrorContext(all: NdjsonRecord[], matched: NdjsonRecord[], into?: ExpoContextTarget): NdjsonRecord[];
|
|
223
|
-
declare function queryLogs({ slot, dir, records, sources, minLevel, since, grep, tail, errorsOnly, errorContext, now }?: {
|
|
224
|
-
slot?: string;
|
|
225
|
-
dir?: string;
|
|
226
|
-
records?: NdjsonRecord[];
|
|
227
|
-
sources?: string[];
|
|
228
|
-
minLevel?: string;
|
|
229
|
-
since?: string;
|
|
230
|
-
grep?: string | RegExp;
|
|
231
|
-
tail?: number;
|
|
232
|
-
errorsOnly?: boolean;
|
|
233
|
-
errorContext?: boolean;
|
|
234
|
-
now?: number;
|
|
235
|
-
}): NdjsonRecord[];
|
|
236
|
-
declare function tailRead(prev: TailState | null | undefined, size: number): {
|
|
237
|
-
start: number;
|
|
238
|
-
prev: TailState;
|
|
239
|
-
};
|
|
240
|
-
declare function advanceTail(prev: TailState | null | undefined, chunk: string | null | undefined, size: number): {
|
|
241
|
-
state: TailState;
|
|
242
|
-
records: NdjsonRecord[];
|
|
243
|
-
};
|
|
244
|
-
declare function followLogs({ dir, onRecord, criteria, intervalMs, offsets, errorContext }: {
|
|
245
|
-
dir: string;
|
|
246
|
-
onRecord: (record: NdjsonRecord) => void;
|
|
247
|
-
criteria?: QueryCriteria;
|
|
248
|
-
intervalMs?: number;
|
|
249
|
-
offsets?: Record<string, number> | null;
|
|
250
|
-
/** Holds each Expo error until a poll adds no more of its code frame or stack lines, then attaches them. */
|
|
251
|
-
errorContext?: ExpoContextTarget;
|
|
252
|
-
}): () => void;
|
|
253
|
-
declare function sortByTs(records: NdjsonRecord[]): NdjsonRecord[];
|
|
254
|
-
//#endregion
|
|
255
|
-
//#region state/paths.d.ts
|
|
256
|
-
declare function getConfigPath(): string;
|
|
257
|
-
declare function configLockPath(): string;
|
|
258
|
-
declare function workspaceMetadataFile(projectRoot: string): string;
|
|
259
|
-
declare function workspaceLogsDir(projectRoot: string): string;
|
|
260
|
-
declare function workspaceLogErrorIndex(projectRoot: string): string;
|
|
261
|
-
declare function workspaceDerivedData(projectRoot: string): string;
|
|
262
|
-
declare function workspaceGradleBuild(projectRoot: string): string;
|
|
263
|
-
declare function supervisorPidFile(projectRoot: string): string;
|
|
264
|
-
declare function workspaceStateFile(projectRoot: string): string;
|
|
265
|
-
declare function workspaceStateLock(projectRoot: string): string;
|
|
266
|
-
declare function supervisorLogFile(projectRoot: string): string;
|
|
267
|
-
declare function emulatorLogFile(projectRoot: string): string;
|
|
268
|
-
declare function sharedCompilationCache(): string;
|
|
269
|
-
declare function sharedCcache(): string;
|
|
270
|
-
declare function sharedGradle(): string;
|
|
271
|
-
declare function sharedPods(): string;
|
|
272
|
-
declare function createdDevicesFile(): string;
|
|
273
|
-
declare function gitMergeCacheDir(): string;
|
|
274
|
-
declare function createdDevicesLock(): string;
|
|
275
|
-
/** The EAS session ledger lives under the real home directory, never under STIM_HOME. */
|
|
276
|
-
declare function easMachineStateRoot(): string;
|
|
277
|
-
declare function easSessionLedgerFile(root?: string): string;
|
|
278
|
-
declare function easSessionLedgerLock(root?: string): string;
|
|
279
|
-
//#endregion
|
|
280
|
-
//#region state/settings-registry.d.ts
|
|
281
|
-
declare const ANDROID_COMPILER_CACHE_CHOICES: readonly ["auto", "ccache", "cas", "none"];
|
|
282
|
-
declare const ANDROID_PCH_CHOICES: readonly ["auto", "on", "off"];
|
|
283
|
-
type TunnelMode = "auto" | "off" | "expo" | "cloudflared" | "ngrok";
|
|
284
|
-
declare const TUNNEL_MODES: readonly TunnelMode[];
|
|
285
|
-
type RemoteDeviceBackend = "proxy" | "eas";
|
|
286
|
-
type SettingScope = "machine" | "workspace" | "repo" | "committed";
|
|
287
|
-
declare const SETTING_SCOPES: readonly SettingScope[];
|
|
288
|
-
type SettingType = {
|
|
289
|
-
kind: "string";
|
|
290
|
-
pattern?: string;
|
|
291
|
-
patternHelp?: string;
|
|
292
|
-
} | {
|
|
293
|
-
kind: "path";
|
|
294
|
-
absolute?: boolean;
|
|
295
|
-
relative?: boolean;
|
|
296
|
-
} | {
|
|
297
|
-
kind: "strings";
|
|
298
|
-
} | {
|
|
299
|
-
kind: "number";
|
|
300
|
-
integer?: boolean;
|
|
301
|
-
minimum?: number;
|
|
302
|
-
maximum?: number;
|
|
303
|
-
} | {
|
|
304
|
-
kind: "boolean";
|
|
305
|
-
} | {
|
|
306
|
-
kind: "choice";
|
|
307
|
-
choices: readonly string[];
|
|
308
|
-
} | {
|
|
309
|
-
kind: "object";
|
|
310
|
-
} | {
|
|
311
|
-
kind: "bundle-url";
|
|
312
|
-
};
|
|
313
|
-
/**
|
|
314
|
-
* One setting Stim reads. `scopes` are the layers the setting may be written to;
|
|
315
|
-
* `committedAt: 'repository'` reads the committed layer from the repository root's
|
|
316
|
-
* `.stim.json` instead of the app's. A `sensitive` value is never printed and is
|
|
317
|
-
* written to `.stim.json` only as an `env:` or `file:` reference. `scopedHomeValue`
|
|
318
|
-
* replaces every layer and the default while STIM_HOME is set and `env` is not.
|
|
319
|
-
* `desktopDefault` replaces `default` on macOS while Stim Desktop is installed.
|
|
320
|
-
*/
|
|
321
|
-
interface SettingDefinition {
|
|
322
|
-
key: string;
|
|
323
|
-
type: SettingType;
|
|
324
|
-
scopes: readonly SettingScope[];
|
|
325
|
-
description: string;
|
|
326
|
-
default?: string | number | boolean;
|
|
327
|
-
env?: string;
|
|
328
|
-
sensitive?: boolean;
|
|
329
|
-
committedAt?: "repository";
|
|
330
|
-
scopedHomeValue?: number;
|
|
331
|
-
desktopDefault?: string;
|
|
332
|
-
}
|
|
333
|
-
interface SettingEntry {
|
|
334
|
-
key: string;
|
|
335
|
-
value: unknown;
|
|
336
|
-
origin: SettingScope | "env" | "default" | null;
|
|
337
|
-
layers: Partial<Record<SettingScope, unknown>>;
|
|
338
|
-
env?: {
|
|
339
|
-
name: string;
|
|
340
|
-
value: string;
|
|
341
|
-
};
|
|
342
|
-
sensitive?: true;
|
|
343
|
-
defaultReason?: string;
|
|
344
|
-
}
|
|
345
|
-
/** The payload `stim settings --json` prints. */
|
|
346
|
-
interface SettingsPayload {
|
|
347
|
-
project: string | null;
|
|
348
|
-
files: Partial<Record<SettingScope, string>>;
|
|
349
|
-
settings: SettingEntry[];
|
|
350
|
-
unknown: Array<{
|
|
351
|
-
key: string;
|
|
352
|
-
scope: SettingScope;
|
|
353
|
-
file: string;
|
|
354
|
-
value: unknown;
|
|
355
|
-
}>;
|
|
356
|
-
}
|
|
357
|
-
declare const REMOTE_DEVICE_BACKENDS: readonly RemoteDeviceBackend[];
|
|
358
|
-
declare const IOS_SIMULATOR_APPS: readonly ["xcode", "siniulator", "stim-desktop"];
|
|
359
|
-
declare const ANDROID_EMULATOR_APPS: readonly ["emulator", "stim-desktop"];
|
|
360
|
-
declare const WEB_VIEWPORTS: readonly ["desktop", "phone"];
|
|
361
|
-
type WebViewport = (typeof WEB_VIEWPORTS)[number];
|
|
362
|
-
declare const SETTINGS: readonly SettingDefinition[];
|
|
363
|
-
declare function settingDefinition(key: string): SettingDefinition | null;
|
|
364
|
-
declare function isLayeredSetting(setting: SettingDefinition): boolean;
|
|
365
|
-
declare const SETTING_GROUPS: readonly string[];
|
|
366
|
-
declare function expectedShape(type: SettingType): string;
|
|
367
|
-
declare function acceptsShape(setting: SettingDefinition, value: unknown): boolean;
|
|
368
|
-
declare function settingValueError(setting: SettingDefinition, value: unknown): string | null;
|
|
369
|
-
declare function isSensitiveReference(value: unknown): boolean;
|
|
370
|
-
/**
|
|
371
|
-
* Coerces raw text (a CLI argument or an environment variable) through a setting's
|
|
372
|
-
* registry type, the same way for both sources. Types whose values are not written
|
|
373
|
-
* as bare text (boolean, number, strings, object) are read as JSON; a value that
|
|
374
|
-
* fails to parse is left as the original string so `settingValueError` reports it.
|
|
375
|
-
*/
|
|
376
|
-
declare function coerceSettingText(setting: SettingDefinition, raw: string): unknown;
|
|
377
|
-
//#endregion
|
|
378
|
-
//#region state/settings-schema.d.ts
|
|
379
|
-
declare const SETTINGS_SCHEMA_FILE = "settings.schema.json";
|
|
380
|
-
declare const SETTINGS_SCHEMA_URL: string;
|
|
381
|
-
type JsonSchema = Record<string, unknown>;
|
|
382
|
-
/**
|
|
383
|
-
* The published settings schema. The root describes a committed `.stim.json`;
|
|
384
|
-
* `$defs.machine` describes the settings keys of `$STIM_HOME/config.json`.
|
|
385
|
-
* Every leaf carries `x-stim` with its dotted key, kind, writable scopes,
|
|
386
|
-
* environment override, and sensitivity.
|
|
387
|
-
*/
|
|
388
|
-
declare function settingsJsonSchema(): JsonSchema;
|
|
389
|
-
//#endregion
|
|
390
|
-
//#region state/workspace-state.d.ts
|
|
391
|
-
interface WorkspaceState {
|
|
392
|
-
supervisor?: Record<string, unknown>;
|
|
393
|
-
collectors?: Record<string, unknown>;
|
|
394
|
-
lastBuild?: Record<string, unknown>;
|
|
395
|
-
launches?: Record<string, unknown>;
|
|
396
|
-
remoteDevice?: Record<string, unknown>;
|
|
397
|
-
metroTunnel?: Record<string, unknown>;
|
|
398
|
-
[key: string]: unknown;
|
|
399
|
-
}
|
|
400
|
-
declare const IDLE_STOP_KEY = "devServerStop";
|
|
401
|
-
/** Why the supervisor last stopped the dev server on its own: `metro.idleStopMinutes` with no use. */
|
|
402
|
-
interface IdleStopRecord {
|
|
403
|
-
reason: "idle";
|
|
404
|
-
at: string;
|
|
405
|
-
idleMinutes: number;
|
|
406
|
-
}
|
|
407
|
-
declare function readIdleStop(state: WorkspaceState | null | undefined): IdleStopRecord | null;
|
|
408
|
-
declare const DEV_SERVER_STOP_REQUEST_KEY = "devServerStopRequest";
|
|
409
|
-
/** A Stim component's intent to stop the supervisor with `processToken`, written before it signals. */
|
|
410
|
-
interface DevServerStopRequest {
|
|
411
|
-
processToken: string;
|
|
412
|
-
by: string;
|
|
413
|
-
pid: number;
|
|
414
|
-
at: string;
|
|
415
|
-
workspace?: string;
|
|
416
|
-
}
|
|
417
|
-
declare function readDevServerStopRequest(state: WorkspaceState | null | undefined): DevServerStopRequest | null;
|
|
418
|
-
/**
|
|
419
|
-
* Why the dev server last stopped, stored under `IDLE_STOP_KEY`. `requested` names the Stim component that
|
|
420
|
-
* asked; `signal` is a SIGTERM or SIGINT no Stim component asked for; `server-exited` is the dev server
|
|
421
|
-
* process exiting on its own.
|
|
422
|
-
*/
|
|
423
|
-
type DevServerStopRecord = IdleStopRecord | {
|
|
424
|
-
reason: "requested";
|
|
425
|
-
at: string;
|
|
426
|
-
by: string;
|
|
427
|
-
byPid: number;
|
|
428
|
-
byWorkspace?: string;
|
|
429
|
-
} | {
|
|
430
|
-
reason: "signal";
|
|
431
|
-
at: string;
|
|
432
|
-
signal: string;
|
|
433
|
-
} | {
|
|
434
|
-
reason: "server-exited";
|
|
435
|
-
at: string;
|
|
436
|
-
mode: string;
|
|
437
|
-
code: number | null;
|
|
438
|
-
signal: string | null;
|
|
439
|
-
};
|
|
440
|
-
/** A stopped dev server's last cause in status; `vanished` is a supervisor proven gone that recorded none. */
|
|
441
|
-
type MetroLastStop = DevServerStopRecord | {
|
|
442
|
-
reason: "vanished";
|
|
443
|
-
pid: number;
|
|
444
|
-
startedAt: string | null;
|
|
445
|
-
};
|
|
446
|
-
declare function readDevServerStop(state: WorkspaceState | null | undefined): DevServerStopRecord | null;
|
|
447
|
-
/** Each platform's latest run; `lastBuild` holds whichever platform ran last. */
|
|
448
|
-
declare const LAST_BUILD_KEYS: Readonly<Record<StatsPlatform, string>>;
|
|
449
|
-
declare const BUILD_HISTORY_KEY = "buildHistory";
|
|
450
|
-
declare const BUILD_HISTORY_LIMIT = 10;
|
|
451
|
-
/**
|
|
452
|
-
* The first diagnostics of a failed build in the shape a last-build record stores and `status` reports, the
|
|
453
|
-
* ones with a source position first.
|
|
454
|
-
*/
|
|
455
|
-
declare function buildDiagnostics(value: unknown): BuildDiagnostic[];
|
|
456
|
-
declare function readLastBuilds(state: WorkspaceState | null | undefined): Partial<Record<StatsPlatform, LastBuildReport>>;
|
|
457
|
-
/** Each platform's recorded runs, newest first, at most `BUILD_HISTORY_LIMIT` each. */
|
|
458
|
-
declare function readBuildHistory(state: WorkspaceState | null | undefined): Partial<Record<StatsPlatform, BuildHistoryEntry[]>>;
|
|
459
|
-
declare function readWorkspaceState(root: string): WorkspaceState | null;
|
|
460
|
-
declare function lastUseFrom(state: WorkspaceState | null, logMtimes: readonly number[]): number;
|
|
461
|
-
declare function workspaceLastUsed(root: string): number;
|
|
462
|
-
//#endregion
|
|
463
|
-
//#region state/status.d.ts
|
|
464
|
-
type StatsPlatform = "ios" | "android";
|
|
465
|
-
type RunOutcomeKind = "hit" | "cold";
|
|
466
|
-
declare const BUILD_PHASES: readonly ["prepare", "cache-lookup", "wait", "prebuild", "pods", "compile", "install", "launch"];
|
|
467
|
-
type BuildPhase = (typeof BUILD_PHASES)[number];
|
|
468
|
-
type ActiveBuildState = "running" | "stale" | "unknown";
|
|
469
|
-
interface BuildReport {
|
|
470
|
-
platform: StatsPlatform;
|
|
471
|
-
slot: string;
|
|
472
|
-
state: ActiveBuildState;
|
|
473
|
-
phase: BuildPhase;
|
|
474
|
-
startedAt: string;
|
|
475
|
-
phaseStartedAt: string;
|
|
476
|
-
outcome: RunOutcomeKind | null;
|
|
477
|
-
expectedMs: number | null;
|
|
478
|
-
expectedPhaseMs: number | null;
|
|
479
|
-
basis: number;
|
|
480
|
-
}
|
|
481
|
-
/** Where a build's app came from: a cache tier, or `false` when it compiled or failed before one was found. */
|
|
482
|
-
type BuildCacheHit = "local" | "remote" | false;
|
|
483
|
-
/** A platform's most recent `ios` or `android` run in one workspace. */
|
|
484
|
-
interface LastBuildReport {
|
|
485
|
-
platform: StatsPlatform;
|
|
486
|
-
status: "ok" | "failed";
|
|
487
|
-
cacheHit: BuildCacheHit;
|
|
488
|
-
cacheSkipped: boolean;
|
|
489
|
-
durationMs: number | null;
|
|
490
|
-
fingerprint: string | null;
|
|
491
|
-
startedAt: string;
|
|
492
|
-
finishedAt: string | null;
|
|
493
|
-
errorCode?: string;
|
|
494
|
-
missReason?: BuildMissReason;
|
|
495
|
-
/** The first compiler diagnostics of a failed build, when the build tool reported any. */
|
|
496
|
-
diagnostics?: BuildDiagnostic[];
|
|
497
|
-
}
|
|
498
|
-
/** How a recorded build ended. `interrupted` is a run whose process ended without recording a result. */
|
|
499
|
-
declare const BUILD_RESULTS: readonly ["succeeded", "failed", "cancelled", "interrupted"];
|
|
500
|
-
type BuildResult = (typeof BUILD_RESULTS)[number];
|
|
501
|
-
/**
|
|
502
|
-
* One run in a workspace's recent build history. `configuration` is the iOS configuration or the Android
|
|
503
|
-
* variant the run built, `Debug` or `debug` by default, and null when the run ended before resolving it.
|
|
504
|
-
* `phases` holds the milliseconds spent in each phase the run entered. An interrupted run has null
|
|
505
|
-
* `durationMs` and `finishedAt`, no cache facts, and 0 for the phase it stopped in.
|
|
506
|
-
*/
|
|
507
|
-
interface BuildHistoryEntry extends LastBuildReport {
|
|
508
|
-
result: BuildResult;
|
|
509
|
-
slot: string;
|
|
510
|
-
configuration: string | null;
|
|
511
|
-
cacheKey: string | null;
|
|
512
|
-
phases: Partial<Record<BuildPhase, number>>;
|
|
513
|
-
}
|
|
514
|
-
/** One compiler error from a failed build: where it is, when the tool said, and its message. */
|
|
515
|
-
interface BuildDiagnostic {
|
|
516
|
-
file: string | null;
|
|
517
|
-
line: number | null;
|
|
518
|
-
column: number | null;
|
|
519
|
-
message: string;
|
|
520
|
-
}
|
|
521
|
-
/** What kind of native input a changed fingerprint source is. */
|
|
522
|
-
type BuildMissCategory = "native-dependency" | "config-plugin" | "app-config" | "app-asset" | "package" | "native-dir" | "autolinking" | "package-scripts" | "file" | "other";
|
|
523
|
-
interface BuildMissChange {
|
|
524
|
-
source: string;
|
|
525
|
-
change: "added" | "removed" | "changed";
|
|
526
|
-
category: BuildMissCategory;
|
|
527
|
-
}
|
|
528
|
-
/**
|
|
529
|
-
* Why a run compiled instead of installing a cached app. `changes` holds at most 20 entries,
|
|
530
|
-
* ordered by importance; `changeCount` is the full number of changed fingerprint sources.
|
|
531
|
-
* Only a plan reports `prebuild-pending`: the run would prebuild before compiling, so the changes
|
|
532
|
-
* compare the fingerprint before that prebuild.
|
|
533
|
-
*/
|
|
534
|
-
interface BuildMissReason {
|
|
535
|
-
kind: "changed" | "no-baseline" | "same-sources" | "cache-skipped" | "fingerprint-error" | "prebuild-pending";
|
|
536
|
-
summary: string;
|
|
537
|
-
changes: BuildMissChange[];
|
|
538
|
-
changeCount: number;
|
|
539
|
-
/** `cacheKey` is kept in workspace state so a later miss can find this baseline; status omits it. */
|
|
540
|
-
baseline: {
|
|
541
|
-
fingerprint: string;
|
|
542
|
-
cacheKey?: string;
|
|
543
|
-
from: "workspace" | "project";
|
|
544
|
-
} | null;
|
|
545
|
-
rekeyedBy: string[];
|
|
546
|
-
}
|
|
547
|
-
/** The payload `stim ios --plan --json` and `stim android --plan --json` print. */
|
|
548
|
-
interface BuildPlanPayload {
|
|
549
|
-
platform: StatsPlatform;
|
|
550
|
-
slot?: string;
|
|
551
|
-
fingerprint: string;
|
|
552
|
-
cacheKey: string | null;
|
|
553
|
-
cacheHit: BuildCacheHit;
|
|
554
|
-
provider: string | null;
|
|
555
|
-
cacheSkipped: boolean;
|
|
556
|
-
prebuild: "none" | "generate" | "regenerate" | "refuse" | null;
|
|
557
|
-
outcome: RunOutcomeKind | null;
|
|
558
|
-
expectedMs: number | null;
|
|
559
|
-
basis: number;
|
|
560
|
-
/** On a predicted miss with cache reads on, why the cache has no app; `baseline` omits `cacheKey`. */
|
|
561
|
-
missReason?: BuildMissReason;
|
|
562
|
-
refusal?: {
|
|
563
|
-
code: string;
|
|
564
|
-
message: string;
|
|
565
|
-
remedy: string;
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
type ActivityState = "driven" | "active" | "idle" | "unknown";
|
|
569
|
-
interface ActivityDriver {
|
|
570
|
-
tool: string;
|
|
571
|
-
pid: number | null;
|
|
572
|
-
since: string | null;
|
|
573
|
-
}
|
|
574
|
-
interface DeviceActivity {
|
|
575
|
-
state: ActivityState;
|
|
576
|
-
driver?: ActivityDriver;
|
|
577
|
-
lastActivityAt?: string;
|
|
578
|
-
basis: string[];
|
|
579
|
-
}
|
|
580
|
-
/** Every state a device's app process can report. */
|
|
581
|
-
declare const APP_PROCESS_STATES: readonly ["running", "stopped", "unknown"];
|
|
582
|
-
/**
|
|
583
|
-
* Whether the workspace's app process is alive on a device now. This is current process state, not launch evidence:
|
|
584
|
-
* `launched` in an `ios` or `android` result stays the record of one launch. `id` is the bundle identifier or
|
|
585
|
-
* package that was checked; `state` is "unknown" when the process listing could not be read.
|
|
586
|
-
*/
|
|
587
|
-
interface DeviceAppProcess {
|
|
588
|
-
id: string;
|
|
589
|
-
state: (typeof APP_PROCESS_STATES)[number];
|
|
590
|
-
}
|
|
591
|
-
/**
|
|
592
|
-
* A linked worktree's `git status`. `changed` counts tracked paths with staged or unstaged changes, including
|
|
593
|
-
* conflicts; `untracked` counts untracked entries as `git status` lists them, so an untracked directory counts once.
|
|
594
|
-
* `ahead` and `behind` compare HEAD with `upstream`, and are null when there is no upstream or it no longer exists.
|
|
595
|
-
* `mergedInto` names the default branch (`origin/main`) when `gc` would consider the branch merged into it, judged
|
|
596
|
-
* from local refs without fetching.
|
|
597
|
-
*/
|
|
598
|
-
interface WorktreeGit {
|
|
599
|
-
changed: number;
|
|
600
|
-
untracked: number;
|
|
601
|
-
upstream: string | null;
|
|
602
|
-
ahead: number | null;
|
|
603
|
-
behind: number | null;
|
|
604
|
-
mergedInto: string | null;
|
|
605
|
-
}
|
|
606
|
-
interface WorktreeFacts {
|
|
607
|
-
path: string;
|
|
608
|
-
branch?: string;
|
|
609
|
-
repository?: string;
|
|
610
|
-
/** Null when git could not be read in time, or the worktree is in a folder status does not open. */
|
|
611
|
-
git?: WorktreeGit | null;
|
|
612
|
-
}
|
|
613
|
-
interface AndroidRuntimeFacts {
|
|
614
|
-
serial: string | null;
|
|
615
|
-
state: "detected" | "not-detected" | "missing" | "unknown";
|
|
616
|
-
error?: string;
|
|
617
|
-
}
|
|
618
|
-
interface RemoteDeviceState {
|
|
619
|
-
platform: "ios" | "android" | null;
|
|
620
|
-
backend: "eas";
|
|
621
|
-
sessionId: string;
|
|
622
|
-
state: "claimed" | "unclaimed" | "unknown";
|
|
623
|
-
startedAt: string | null;
|
|
624
|
-
webPreviewUrl: string | null;
|
|
625
|
-
}
|
|
626
|
-
/** Every code a status issue can carry. */
|
|
627
|
-
declare const STATUS_ISSUE_CODES: readonly ["port-not-ours", "sim-missing", "sim-without-metro", "avd-serial-changed", "avd-missing", "avd-not-detected", "avd-unchecked", "supervisor-unverified", "browser-unverified", "browser-orphaned"];
|
|
628
|
-
type StatusIssueCode = (typeof STATUS_ISSUE_CODES)[number];
|
|
629
|
-
/**
|
|
630
|
-
* One thing in a workspace that needs the user. `remedy` is a command to run from `workspace`; `slot` is absent
|
|
631
|
-
* for the default device slot. `warnings` carries the same issues as text.
|
|
632
|
-
*/
|
|
633
|
-
interface StatusIssue {
|
|
634
|
-
code: StatusIssueCode;
|
|
635
|
-
severity: "error" | "warning";
|
|
636
|
-
message: string;
|
|
637
|
-
remedy: string;
|
|
638
|
-
workspace: string;
|
|
639
|
-
slot?: string;
|
|
640
|
-
}
|
|
641
|
-
/**
|
|
642
|
-
* The workspace's Stim-owned Chrome. `pid` is Chrome's process and `supervisorPid` the Stim process that holds
|
|
643
|
-
* its DevTools session. `cdpEndpoint` is the loopback DevTools HTTP endpoint agents can attach to, null when the
|
|
644
|
-
* browser is not running. `profile` is the Stim-owned user data directory.
|
|
645
|
-
*/
|
|
646
|
-
interface WebBrowserState {
|
|
647
|
-
browser: "chrome";
|
|
648
|
-
version: string | null;
|
|
649
|
-
running: boolean;
|
|
650
|
-
pid: number | null;
|
|
651
|
-
supervisorPid: number | null;
|
|
652
|
-
url: string;
|
|
653
|
-
headless: boolean;
|
|
654
|
-
viewport: WebViewport;
|
|
655
|
-
profile: string;
|
|
656
|
-
cdpEndpoint: string | null;
|
|
657
|
-
}
|
|
658
|
-
interface EnvironmentState {
|
|
659
|
-
slots?: {
|
|
660
|
-
slot: string;
|
|
661
|
-
ios: EnvironmentState["ios"];
|
|
662
|
-
android: EnvironmentState["android"];
|
|
663
|
-
}[];
|
|
664
|
-
path: string;
|
|
665
|
-
live: boolean;
|
|
666
|
-
/**
|
|
667
|
-
* A fixed estimate, not a measurement: a set amount per booted simulator, detected emulator, running Metro and
|
|
668
|
-
* running Chrome. `capacity.committedMb` sums it. What the workspace's processes use now is in `machine`.
|
|
669
|
-
*/
|
|
670
|
-
memoryMb: number;
|
|
671
|
-
warnings: string[];
|
|
672
|
-
issues: StatusIssue[];
|
|
673
|
-
ios?: {
|
|
674
|
-
name: string | null;
|
|
675
|
-
udid: string;
|
|
676
|
-
owned: boolean;
|
|
677
|
-
state: string;
|
|
678
|
-
activity?: DeviceActivity;
|
|
679
|
-
app?: DeviceAppProcess;
|
|
680
|
-
} | null;
|
|
681
|
-
android?: {
|
|
682
|
-
name: string | undefined;
|
|
683
|
-
owned: boolean;
|
|
684
|
-
physical: boolean;
|
|
685
|
-
serial?: string | null;
|
|
686
|
-
state?: AndroidRuntimeFacts["state"];
|
|
687
|
-
deviceProfile?: string | null;
|
|
688
|
-
activity?: DeviceActivity;
|
|
689
|
-
app?: DeviceAppProcess;
|
|
690
|
-
} | null;
|
|
691
|
-
metro?: {
|
|
692
|
-
port: number;
|
|
693
|
-
running: boolean;
|
|
694
|
-
pid: number | null;
|
|
695
|
-
idleStop?: IdleStopRecord;
|
|
696
|
-
lastStop?: MetroLastStop;
|
|
697
|
-
} | null;
|
|
698
|
-
web?: WebBrowserState | null;
|
|
699
|
-
supervisor?: {
|
|
700
|
-
pid: number | null;
|
|
701
|
-
mode: string | null;
|
|
702
|
-
startedAt: string | null;
|
|
703
|
-
healthy: boolean;
|
|
704
|
-
} | null;
|
|
705
|
-
logs?: {
|
|
706
|
-
dir: string;
|
|
707
|
-
errorsSinceMarker: number;
|
|
708
|
-
} | null;
|
|
709
|
-
worktree?: WorktreeFacts | null;
|
|
710
|
-
remoteDevices?: RemoteDeviceState[];
|
|
711
|
-
build?: BuildReport | null;
|
|
712
|
-
lastBuilds?: Partial<Record<StatsPlatform, LastBuildReport>>;
|
|
713
|
-
/** Each platform's recent runs, newest first, at most `BUILD_HISTORY_LIMIT` each. */
|
|
714
|
-
builds?: Partial<Record<StatsPlatform, BuildHistoryEntry[]>>;
|
|
715
|
-
}
|
|
716
|
-
/** `committedMb` sums the environments' estimated `memoryMb`; `overCapacity` is that sum over 60% of `totalMemoryMb`. */
|
|
717
|
-
interface StatusCapacity {
|
|
718
|
-
liveCount: number;
|
|
719
|
-
committedMb: number;
|
|
720
|
-
totalMemoryMb: number;
|
|
721
|
-
overCapacity: boolean;
|
|
722
|
-
}
|
|
723
|
-
interface DeviceLeaseState {
|
|
724
|
-
slot?: string;
|
|
725
|
-
path: string;
|
|
726
|
-
platform: string;
|
|
727
|
-
id: string | null;
|
|
728
|
-
deviceName: string | null;
|
|
729
|
-
holder: string | null;
|
|
730
|
-
grantedAt: string | null;
|
|
731
|
-
expiresAt: string | null;
|
|
732
|
-
mine: boolean;
|
|
733
|
-
expired: boolean;
|
|
734
|
-
parsed: boolean;
|
|
735
|
-
}
|
|
736
|
-
/** Every kind of process owner the status machine section reports. */
|
|
737
|
-
declare const MACHINE_OWNER_KINDS: readonly ["simulator", "emulator", "metro", "build", "browser", "server", "shared"];
|
|
738
|
-
type MachineOwnerKind = (typeof MACHINE_OWNER_KINDS)[number];
|
|
739
|
-
/**
|
|
740
|
-
* One thing using this Mac's CPU and memory now. Each process is counted in exactly one owner: the one whose root
|
|
741
|
-
* process is its nearest ancestor. `workspace` and `slot` (absent for the default slot) name the workspace a
|
|
742
|
-
* simulator, emulator, Metro, build or Chrome belongs to; a device no workspace records has a null workspace, and
|
|
743
|
-
* machine-wide processes are `shared`. `id` is the simulator's UDID, the emulator's AVD name, Metro's port as text,
|
|
744
|
-
* the build's platform, or null. `owned` is true only for what Stim started and stops: a workspace's owned device,
|
|
745
|
-
* Metro, build or Chrome. `cpuPercent` is `ps` %CPU summed over the owner's processes, where 100 is one core.
|
|
746
|
-
* `residentMb` sums their resident set sizes; pages shared between processes count once per process, so a
|
|
747
|
-
* simulator, whose processes all map the runtime's shared libraries, reports well above its physical footprint.
|
|
748
|
-
*/
|
|
749
|
-
interface MachineOwner {
|
|
750
|
-
kind: MachineOwnerKind;
|
|
751
|
-
name: string;
|
|
752
|
-
workspace: string | null;
|
|
753
|
-
slot?: string;
|
|
754
|
-
id: string | null;
|
|
755
|
-
owned: boolean;
|
|
756
|
-
cpuPercent: number;
|
|
757
|
-
residentMb: number;
|
|
758
|
-
processes: number;
|
|
759
|
-
}
|
|
760
|
-
/** Where this machine's CPU and resident memory go, from one pass over the host process table. */
|
|
761
|
-
interface MachineUsageState {
|
|
762
|
-
owners: MachineOwner[];
|
|
763
|
-
}
|
|
764
|
-
/** The payload `stim status --json` prints, and `status --watch --json` prints on each change. */
|
|
765
|
-
interface StatusPayload {
|
|
766
|
-
environments: (EnvironmentState & {
|
|
767
|
-
labelOnly?: true;
|
|
768
|
-
})[];
|
|
769
|
-
capacity: StatusCapacity;
|
|
770
|
-
deviceLeases: DeviceLeaseState[];
|
|
771
|
-
unprovisionedWorktrees: WorktreeFacts[];
|
|
772
|
-
simctlAvailable: boolean;
|
|
773
|
-
/** Null when nothing runs that status attributes, so it read no process table, or when the table was unreadable. */
|
|
774
|
-
machine: MachineUsageState | null;
|
|
775
|
-
}
|
|
776
|
-
//#endregion
|
|
777
|
-
export { ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, AndroidRuntimeFacts, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildCacheHit, BuildDiagnostic, BuildHistoryEntry, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlanPayload, BuildReport, BuildResult, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEV_SERVER_STOP_REQUEST_KEY, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceLeaseState, DeviceRecord, DoctorRunRecord, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EnvironmentState, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, LAST_BUILD_KEYS, LEVELS, LastBuildReport, MACHINE_OWNER_KINDS, MachineOwner, MachineOwnerKind, MachineUsageState, MetroLastStop, NdjsonRecord, PlatformRecords, ProjectRecord, QueryCriteria, REMOTE_DEVICE_BACKENDS, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunOutcomeKind, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATUS_ISSUE_CODES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingsObject, SettingsPayload, StatsPlatform, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StimConfig, SupervisorRecord, TUNNEL_MODES, TunnelMode, WEB_VIEWPORTS, WebBrowserState, WebViewport, WorkspaceState, WorktreeFacts, WorktreeGit, acceptsShape, advanceTail, allMetroPorts, attachExpoErrorContext, buildCriteria, buildDiagnostics, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, createdDevicesFile, createdDevicesLock, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, expectedShape, fileSizes, findEnclosingWorktreeRoot, findProjectByMetroPort, followLogs, getConcurrencyLimits, getConfigPath, getProject, getProjectSetting, getProjectSettings, getRepoSettings, gitMergeCacheDir, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, lastUseFrom, levelRank, loadConfig, logFiles, markerWindow, parseNdjsonLine, parseNdjsonText, parseSince, queryLogs, readBuildHistory, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readEasSessionLedger, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readNdjsonGenerations, readStateFile, readWorkspaceState, recordMatches, settingDefinition, settingValueError, settingsJsonSchema, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, supervisorLogFile, supervisorPidFile, tailRead, validEasSessionClaim, withConfigLock, withStateReadCache, workspaceDerivedData, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceStateFile, workspaceStateLock };
|
|
1
|
+
import { $ as trimSamples, $a as createdDevicesLock, $i as validHostedAppBlob, $n as MaintenanceAction, $o as queryLogs, $r as HostedDevicePhase, $s as AgentDeviceUsageRoots, $t as EnvironmentDisk, A as DeviceHostMachineCredential, Aa as RECORDING_CAP_BYTES, Ai as HostedMacosDevice, An as WebBrowserState, Ao as workspaceEndedAgentsFile, Ar as READY_PHASE_MS, As as withConfigLock, At as AndroidRuntimeFacts, B as STATS_VERSION, Ba as listSegments, Bi as HostedAppDelivery, Bn as MacosProcess, Bo as NATIVE_CRASH_LOG_PREFIX, Br as readDevServerStopRequest, Bs as SupervisorRecord, Bt as BuildMissChange, C as pinnedEndpoint, Ca as acceptsShape, Ci as HOSTED_MACOS_APP_SLOTS, Cn as StatusIssue, Co as sharedPods, Cr as DevServerStopRecord, Cs as getConcurrencyLimits, Ct as APP_PROCESS_STATES, D as HostedMetroRequest, Da as isSensitiveReference, Di as HostedAgentLease, Dn as WORKSPACE_PHASES, Do as workspaceAgentDeviceDir, Dr as IdleStopRecord, Ds as getRepoSettings, Dt as AgentSession, E as HostedMetroGateway, Ea as isLayeredSetting, Ei as HostedAgentGrant, En as WEB_PAGE_STATES, Eo as supervisorPidFile, Er as IDLE_STOP_KEY, Es as getProjectSettings, Et as ActivityRecencyBasis, F as PLACEMENT_DECISIONS, Fa as RecordingPlatform, Fi as parseHostedAgentGrant, Fn as WorktreeGit, Fo as workspaceMetadataFile, Fr as buildDiagnostics, Fs as PlatformRecords, Ft as BuildCause, G as StatsScope, Ga as agentSessionsCacheFile, Gi as hostedAppAttempt, Gn as ArchivedBytes, Go as bundleMarkerPlatform, Gr as readWorkspaceAgent, Gs as buildSlotsDir, Gt as BuildReport, H as StatsPlacement, Ha as recordedBytes, Hi as HostedAppOffer, Hn as parseMacosRecord, Ho as advanceTail, Hr as readIdleStop, Hs as readBuildMachines, Ht as BuildPhase, I as ReadStatsResult, Ia as capDrops, Ii as parseHostedMacosChoice, In as WorktreePullRequest, Io as workspaceRecordingsDir, Ir as lastUseFrom, Is as ProjectRecord, It as BuildDetail, J as offloadSummary, Ja as archiveRoot, Ji as parseHostedAppOffer, Jn as archiveEnabled, Jo as followLogs, Jr as HostedAndroidChoice, Js as tryAcquireBuildSlotClaim, Jt as DeviceActivity, K as decodeStats, Ka as archiveDir, Ki as hostedAppBlobs, Kn as ArchivedUsage, Ko as compileGrep, Kr as readWorkspaceState, Ks as machineCapacity, Kt as BuildResult, L as RunEstimates, La as closedSegmentName, Li as parseHostedMacosDevice, Ln as MacosAppRecord, Lo as workspaceStateFile, Lr as parseMissReason, Ls as RepoRecord, Lt as BuildDiagnostic, M as BuildMachineTotals, Ma as RECORDING_PLATFORMS, Mi as hostedMacosAppSlot, Mn as WorkspacePhase, Mo as workspaceGradleBuild, Mr as WORKSPACE_AGENT_KEY, Ms as Config, Mt as BUILD_PHASES, N as HISTORY_LIMIT, Na as RecordedDevice, Ni as hostedMacosBundleId, Nn as WorkspaceStage, No as workspaceLogErrorIndex, Nr as WarmRecord, Ns as DeviceRecord, Nt as BUILD_RESULTS, O as hostedMetroGateways, Oa as settingDefinition, Oi as HostedAppLaunch, On as WORKSPACE_STAGE_KINDS, Oo as workspaceBuildDetailFile, Or as LAST_BUILD_KEYS, Os as isPathPrefix, Ot as AgentTool, P as OffloadSummary, Pa as RecordedSegment, Pi as parseHostedAgentAccess, Pn as WorktreeFacts, Po as workspaceLogsDir, Pr as WorkspaceState, Ps as DoctorRunRecord, Pt as BuildCacheHit, Q as statsProjectKey, Qa as createdDevicesFile, Qi as validHostedAppArguments, Qn as readArchives, Qo as queryJsonLogs, Qr as HostedDeviceOfferRequest, Qs as AgentDeviceUsage, Qt as EndedAgentSession, R as RunHistory, Ra as footageDrops, Ri as parseHostedMacosPlacement, Rn as MacosAppState, Ro as workspaceStateLock, Rr as readBuildHistory, Rs as SettingsObject, Rt as BuildHistoryEntry, S as parseMachine, Sa as WebViewport, Si as HOSTED_AGENT_DRIVERS, Sn as StatusCapacity, So as sharedGradle, Sr as DEV_SERVER_STOP_REQUEST_KEY, Ss as findProjectByMetroPort, St as AGENT_TOOLS, T as HOSTED_METRO_REQUESTS_KEY, Ta as expectedShape, Ti as HostedAgentDriverName, Tn as StatusPayload, To as supervisorLogFile, Tr as DeviceIdleShutdownRecord, Ts as getProjectSetting, Tt as ActivityDriver, U as StatsRecord, Ua as recordingDeviceName, Ui as HostedAppRecord, Un as readHostedMacosApp, Uo as attachExpoErrorContext, Ur as readLastBuilds, Us as MachineCapacity, Ut as BuildPlacement, V as StatsBucket, Va as openSegmentName, Vi as HostedAppFile, Vn as macosAppState, Vo as QueryCriteria, Vr as readDeviceIdleShutdowns, Vs as BuildMachineCredential, Vt as BuildMissReason, W as StatsReport, Wa as recordingEnabled, Wi as hostedAppArea, Wn as readMacosRecord, Wo as buildCriteria, Wr as readWarmRecord, Ws as buildSlotPath, Wt as BuildPlanPayload, X as readStats, Xa as buildMachinesLock, Xi as readHostedAppMetadata, Xn as linkReplacedArchives, Xo as markerWindow, Xr as HostedDevice, Xs as readSwiftpmCacheUsage, Xt as DeviceLeaseState, Y as readRunEstimates, Ya as buildMachinesFile, Yi as readHostedApp, Yn as archivedUsage, Yo as logFiles, Yr as HostedAndroidDevice, Ys as SwiftpmCacheUsage, Yt as DeviceAppProcess, Z as readStatsReport, Za as configLockPath, Zi as rememberHostedAppBlobRename, Zn as readArchive, Zo as parseSince, Zr as HostedDeviceOffer, Zs as swiftpmCacheUsageFile, Zt as DiskMeasure, _ as Endpoint, _a as SettingType, _i as parseHostedPlatformDevice, _n as RemoteDeviceState, _o as pullRequestCacheDir, _r as parseHostedIosPlacement, _s as withStateReadCache, _t as readEndedAgentSessions, a as parseSetupJournal, aa as ANDROID_PCH_CHOICES, ac as createAgentActionReader, ai as HostedIosDevice, an as MEMORY_SOURCES, ao as easMachineStateRoot, ar as MaintenanceRecord, as as countErrorEntries, at as AgentSessionsCache, b as endpoint, ba as TunnelMode, bi as readHostedDeviceLedger, bn as SimulatorState, bo as sharedCcache, br as BUILD_HISTORY_LIMIT, bs as configCorruptRepair, bt as withGitChip, c as HOSTED_LOGS_FIRST_BYTES, ca as OffloadMode, cc as SOURCES, ci as deviceHostArea, cn as MachineUsageState, co as emulatorLogFile, cr as MaintenanceStatus, cs as EasSessionClaim, ct as StatusCacheEntry, d as HostedLogsPage, da as SETTINGS, dc as parseNdjsonText, di as hostedDeviceId, dn as NATIVE_BUILD_STEPS, do as maintenanceAttemptFile, dr as readMaintenanceState, ds as readEasSessionLedger, dt as endedAgentSessionOf, ea as SETTINGS_SCHEMA_FILE, ec as agentDeviceUsageFile, ei as HostedDevicePlatform, en as EnvironmentState, eo as deviceHostMachinesClaims, er as MaintenanceActionKind, es as readLogRecords, et as wholePhases, f as hostedIosLogsDir, fa as SETTING_GROUPS, fc as readNdjsonGenerations, fi as parseHostedAndroidDevice, fn as NativeBuildStep, fo as maintenanceChildLogFile, fr as HostedIosPlacement, fs as validEasSessionClaim, ft as listStatusCacheEntries, g as readLogsSince, ga as SettingScope, gi as parseHostedOfferRequest, gn as PlannedPhase, go as maintenanceStateFile, gr as hostedIosStatus, gs as readStateFile, gt as readDiskUsage, h as readHostedIosLogsCheckpoint, ha as SettingEntry, hi as parseHostedNativeOffer, hn as PhysicalDeviceState, ho as maintenanceRunClaims, hr as hostedIosRecords, hs as readJsonObject, ht as readBuildDetail, i as isSetupJournalPrunable, ia as ANDROID_EMULATOR_APPS, ic as AgentTarget, ii as HostedIosChoice, in as MACHINE_OWNER_KINDS, io as diskUsageCacheDir, ir as MaintenancePressure, is as tailRead, it as stimBuildDigest, j as readDeviceHostMachines, ja as RECORDING_FOOTAGE_MS, ji as HostedMacosPlacement, jn as WebPageState, jo as workspaceEndedAgentsLock, jr as WARM_KEY, js as ConcurrencyLimits, jt as AppPresence, k as hostedMetroRequests, ka as settingValueError, ki as HostedMacosChoice, kn as WarmStep, ko as workspaceDerivedData, kr as MetroLastStop, ks as loadConfig, kt as AndroidDeviceState, l as HOSTED_LOGS_PAGE_BYTES, la as REMOTE_DEVICE_BACKENDS, lc as levelRank, li as deviceHostRoot, ln as MemorySource, lo as getConfigPath, lr as parseMaintenanceState, ls as EasSessionLedgerRead, lt as agentSessionOf, m as parseHostedLogsCursor, ma as SettingDefinition, mi as parseHostedDevice, mn as PhysicalDeviceConnection, mo as maintenanceNdjsonFile, mr as hostedIosPlacements, ms as readJsonFile, mt as readAgentSessionsCache, n as SetupJournal, na as settingsJsonSchema, nc as readAgentDeviceUsageCache, ni as HostedDeviceSelectors, nn as GitChipPart, no as deviceHostMachinesLock, nr as MaintenanceMode, ns as recordMatches, nt as ViewedDevice, o as readSetupJournal, oa as IOS_SIMULATOR_APPS, oc as LEVELS, oi as HostedNativeOffer, on as MachineOwner, oo as easSessionLedgerFile, or as MaintenanceSize, os as CreatedDevicePlatform, ot as ENDED_AGENT_RETENTION_MS, p as hostedMacosLogsDir, pa as SETTING_SCOPES, pi as parseHostedChoice, pn as PHYSICAL_DEVICE_CONNECTIONS, po as maintenanceDir, pr as HostedIosStatus, ps as isJsonObject, pt as pullRequestCacheFile, q as findProjectRoot, qa as archiveLock, qi as parseHostedAppManifest, qn as ArchivedWorkspace, qo as fileSizes, qr as workspaceLastUsed, qs as saturation, qt as ChecksState, r as isJournalExpired, ra as ANDROID_COMPILER_CACHE_CHOICES, rc as AgentActionReaderOptions, ri as HostedDeviceSession, rn as LastBuildReport, ro as deviceViewersDir, rr as MaintenancePass, rs as sortByTs, rt as readViewedDevices, s as agentDeviceStateDirs, sa as OFFLOAD_MODES, sc as NdjsonRecord, si as assertHostedDeviceLedger, sn as MachineOwnerKind, so as easSessionLedgerLock, sr as MaintenanceState, ss as CreatedDevices, st as PullRequestCacheEntry, t as SetupCapability, ta as SETTINGS_SCHEMA_URL, tc as readAgentDeviceUsage, ti as HostedDeviceRequest, tn as GitChip, to as deviceHostMachinesFile, tr as MaintenanceCheck, ts as readLogTimeline, tt as DeviceViewersRecord, u as HostedLogsCursor, ua as RemoteDeviceBackend, uc as parseNdjsonLine, ui as hostedConsolePort, un as MetroBundleState, uo as gitMergeCacheDir, ur as readMaintenanceAttempt, us as readCreatedDevices, ut as diskUsageCacheFile, v as TAILNET_MACHINE_PATTERN, va as SettingsPayload, vi as parseHostedRequest, vn as RunOutcomeKind, vo as serverSetupDir, vr as unreadableHostedIos, vs as allMetroPorts, vt as readPullRequestCache, w as HOSTED_METRO_GATEWAYS_KEY, wa as coerceSettingText, wi as HostedAgentAccess, wn as StatusIssueCode, wo as statsFile, wr as DevServerStopRequest, ws as getProject, wt as ActiveBuildState, x as findPeer, xa as WEB_VIEWPORTS, xi as readHostedSessions, xn as StatsPlatform, xo as sharedCompilationCache, xr as DEVICE_IDLE_SHUTDOWN_KEY, xs as findEnclosingWorktreeRoot, xt as ACTIVITY_RECENCY_BASES, y as TailnetPeer, ya as TUNNEL_MODES, yi as readHostedDevice, yn as STATUS_ISSUE_CODES, yo as setupJournalFile, yr as BUILD_HISTORY_KEY, ys as buildWorkerRoot, yt as withDerivedFacts, z as RunSample, za as listRecordedDevices, zi as HOSTED_APP_CHUNK_BYTES, zn as MacosBuild, zo as ERROR_SOURCES, zr as readDevServerStop, zs as StimConfig, zt as BuildMissCategory } from "./index-DPo8Bexj.mjs";
|
|
2
|
+
export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedUsage, ArchivedWorkspace, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildReport, BuildResult, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEVICE_IDLE_SHUTDOWN_KEY, DEV_SERVER_STOP_REQUEST_KEY, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DeviceRecord, DeviceViewersRecord, DiskMeasure, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, LAST_BUILD_KEYS, LEVELS, LastBuildReport, MACHINE_OWNER_KINDS, MEMORY_SOURCES, MachineCapacity, MachineOwner, MachineOwnerKind, MachineUsageState, MacosAppRecord, MacosAppState, MacosBuild, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimulatorState, StatsBucket, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StimConfig, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorktreeFacts, WorktreeGit, WorktreePullRequest, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, capDrops, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createdDevicesFile, createdDevicesLock, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectByMetroPort, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getProject, getProjectSetting, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosLogsDir, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listSegments, listStatusCacheEntries, loadConfig, logFiles, machineCapacity, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, pinnedEndpoint, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchives, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDiskUsage, readEasSessionLedger, readEndedAgentSessions, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedIosLogsCheckpoint, readHostedMacosApp, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, saturation, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedIos, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, wholePhases, withConfigLock, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock };
|