@stim-cli/core 1.25.0 → 1.26.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-kR1gVv1b.d.mts → index-CVIwytv5.d.mts} +64 -2
- package/dist/index.d.mts +1 -1
- package/dist/phone-protocol.d.mts +2 -2
- package/dist/{protocol-XMSnfmrX.d.mts → protocol-swbEkLsj.d.mts} +39 -4
- package/dist/protocol.d.mts +2 -2
- package/dist/protocol.mjs +5 -0
- package/dist/receive-protocol.mjs +1576 -1423
- package/dist/state.d.mts +2 -2
- package/dist/state.mjs +89 -8
- package/package.json +1 -1
|
@@ -237,6 +237,10 @@ interface IosDeviceRecord {
|
|
|
237
237
|
owned?: boolean;
|
|
238
238
|
serial?: string;
|
|
239
239
|
simslimManaged?: boolean;
|
|
240
|
+
simslimApplied?: {
|
|
241
|
+
profile: string;
|
|
242
|
+
springBoardPid: number;
|
|
243
|
+
};
|
|
240
244
|
schemeApprovals?: string[];
|
|
241
245
|
[key: string]: unknown;
|
|
242
246
|
}
|
|
@@ -458,6 +462,25 @@ declare function readEasSessionLedger(root?: string): EasSessionLedgerRead;
|
|
|
458
462
|
*/
|
|
459
463
|
declare function countErrorEntries(records: readonly NdjsonRecord[]): number;
|
|
460
464
|
//#endregion
|
|
465
|
+
//#region state/fingerprint-memo.d.ts
|
|
466
|
+
declare const FINGERPRINT_MEMO_SCHEMA = 1;
|
|
467
|
+
/** Full native fingerprints shared by every workspace of this Stim home, one file per platform and static digest. */
|
|
468
|
+
declare function fingerprintMemoDir(platform?: string): string;
|
|
469
|
+
declare function fingerprintMemoFile(platform: string, digest: string): string;
|
|
470
|
+
declare function fingerprintMemoLock(): string;
|
|
471
|
+
/** The full fingerprint a tree with this static digest produced, written by the CLI. */
|
|
472
|
+
interface FingerprintMemoRecord {
|
|
473
|
+
schema: typeof FINGERPRINT_MEMO_SCHEMA;
|
|
474
|
+
platform: string;
|
|
475
|
+
digest: string;
|
|
476
|
+
recordedAt: number;
|
|
477
|
+
hash: string;
|
|
478
|
+
sources: unknown[];
|
|
479
|
+
/** The packages the static check counted as native, to name the ones a disagreeing check found it missed. */
|
|
480
|
+
nativePackages: string[];
|
|
481
|
+
}
|
|
482
|
+
declare function readFingerprintMemo(platform: string, digest: string): FingerprintMemoRecord | null;
|
|
483
|
+
//#endregion
|
|
461
484
|
//#region state/logs-query.d.ts
|
|
462
485
|
interface SinceResult {
|
|
463
486
|
ms?: number;
|
|
@@ -663,6 +686,8 @@ declare function maintenanceDir(): string;
|
|
|
663
686
|
declare function maintenanceStateFile(): string;
|
|
664
687
|
declare function maintenanceAttemptFile(): string;
|
|
665
688
|
declare function maintenanceNdjsonFile(): string;
|
|
689
|
+
declare function gcLogDir(): string;
|
|
690
|
+
declare function gcLogFile(): string;
|
|
666
691
|
declare function maintenanceChildLogFile(): string;
|
|
667
692
|
declare function maintenanceRunClaims(): string;
|
|
668
693
|
/** Dependency trees `worktree remove` moved out of a worktree before git removed it; gc deletes what is left. */
|
|
@@ -1322,7 +1347,7 @@ declare function hostedIosPlacements(state: WorkspaceState | null): Record<strin
|
|
|
1322
1347
|
//#endregion
|
|
1323
1348
|
//#region state/maintenance.d.ts
|
|
1324
1349
|
type MaintenanceMode = "off" | "report" | "on";
|
|
1325
|
-
type MaintenanceCheck = "pressure" | "size" | "worktree" | "sweep";
|
|
1350
|
+
type MaintenanceCheck = "pressure" | "size" | "worktree" | "sweep" | "idle";
|
|
1326
1351
|
type MaintenanceActionKind = "would-clear-outputs" | "would-trim-cache" | "would-empty-cache" | "would-shutdown-device" | "would-stop-workspace" | "would-remove-worktree" | "would-remove-orphan" | "would-unregister-cache" | "would-delete-parked-device" | "would-delete-devices" | "would-clear-build-dirs" | "would-delete-dependencies" | "would-stop-gradle-daemons" | "would-delete-gradle-version" | "would-delete-temp-leftovers";
|
|
1327
1352
|
/** Disk pressure: 0 above every threshold, 1 under the budget floor, 2 under the urgent threshold, 3 under the critical threshold or the hard floor. */
|
|
1328
1353
|
type DiskPressureLevel = 0 | 1 | 2 | 3;
|
|
@@ -2560,6 +2585,10 @@ interface TailnetPeer {
|
|
|
2560
2585
|
address: string;
|
|
2561
2586
|
/** Tailscale's `OS` for the node, such as `macOS` or `linux`; absent when the status does not report it. */
|
|
2562
2587
|
os?: string;
|
|
2588
|
+
/** Tailscale's `Online` for the node: whether the control plane sees it connected. Absent when not reported. */
|
|
2589
|
+
online?: boolean;
|
|
2590
|
+
/** When Tailscale last saw the node, as an ISO timestamp; absent when it never did or the status omits it. */
|
|
2591
|
+
lastSeen?: string;
|
|
2563
2592
|
}
|
|
2564
2593
|
declare function parseMachine(entry: string): {
|
|
2565
2594
|
name: string;
|
|
@@ -2622,6 +2651,39 @@ declare function readHostedNativeLogsCheckpoint(home: string, platform?: "ios" |
|
|
|
2622
2651
|
*/
|
|
2623
2652
|
declare function readLogsSince(dir: string, cursor: HostedLogsCursor): HostedLogsPage;
|
|
2624
2653
|
//#endregion
|
|
2654
|
+
//#region state/gc-log.d.ts
|
|
2655
|
+
type GcLogTrigger = "manual" | "desktop" | "maintenance" | "budget";
|
|
2656
|
+
type GcLogStatus = "done" | "kept" | "failed";
|
|
2657
|
+
interface GcLogOptions {
|
|
2658
|
+
delete?: boolean;
|
|
2659
|
+
worktrees?: boolean;
|
|
2660
|
+
olderThan?: number;
|
|
2661
|
+
cache?: string;
|
|
2662
|
+
idleMs?: number;
|
|
2663
|
+
}
|
|
2664
|
+
interface GcLogRecord extends NdjsonRecord {
|
|
2665
|
+
ts: number;
|
|
2666
|
+
src: "gc";
|
|
2667
|
+
level: "info" | "error";
|
|
2668
|
+
msg: string;
|
|
2669
|
+
event: "gc_item";
|
|
2670
|
+
/** The invocation for `stim gc` and budget runs; the `pass` id of `maintenance.ndjson` for maintenance. */
|
|
2671
|
+
runId: string;
|
|
2672
|
+
trigger: GcLogTrigger;
|
|
2673
|
+
/** For maintenance, the command whose invocation started the pass. */
|
|
2674
|
+
via?: string;
|
|
2675
|
+
options?: GcLogOptions;
|
|
2676
|
+
kind: string;
|
|
2677
|
+
status: GcLogStatus;
|
|
2678
|
+
label: string;
|
|
2679
|
+
id: string | null;
|
|
2680
|
+
path: string | null;
|
|
2681
|
+
bytes: number | null;
|
|
2682
|
+
detail: string | null;
|
|
2683
|
+
}
|
|
2684
|
+
declare function isGcLogRecord(record: NdjsonRecord): record is GcLogRecord;
|
|
2685
|
+
declare function readGcLog(file?: string): GcLogRecord[];
|
|
2686
|
+
//#endregion
|
|
2625
2687
|
//#region state/agent-device.d.ts
|
|
2626
2688
|
declare function agentDeviceStateDirs(home?: string, env?: NodeJS.ProcessEnv): string[];
|
|
2627
2689
|
declare function agentDeviceStateDirsAsync(home?: string, env?: NodeJS.ProcessEnv): Promise<string[]>;
|
|
@@ -2736,4 +2798,4 @@ declare class KeyedEntities<T> {
|
|
|
2736
2798
|
/** Applies `delta` to `entities` keyed by `key`, keeping the order of `entities` and appending new keys. */
|
|
2737
2799
|
declare function applyKeyedDelta<T>(entities: readonly T[], delta: KeyedDelta<T>, key: (entity: T) => string): T[];
|
|
2738
2800
|
//#endregion
|
|
2739
|
-
export { ReadStatsResult as $, readHostedAppMetadata as $a, getProjectSettings as $c, HostedDevicePlatform as $i, levelRank as $l, StatusIssueCode as $n, recordingEnabled as $o, unreadableHostedIos as $r, LogDirQuery as $s, AndroidDeviceState as $t, readLogsSince as A, HostedAppLaunch as Aa, EasSessionLedgerRead as Ac, buildDiagnostics as Ai, machineCapacity as Al, GitChipPart as An, isLayeredSetting as Ao, readArchives as Ar, serverSetupDir as As, StatusCacheEntry as At, HOSTED_METRO_REQUESTS_KEY as B, parseHostedMacosDevice as Ba, DEBUG_ENV as Bc, readWarmRecord as Bi, AgentDeviceUsage as Bl, NATIVE_BUILD_STEPS as Bn, RecordedDevice as Bo, MaintenanceSize as Br, workspaceAgentDeviceDir as Bs, readDiskUsageFailure as Bt, HOSTED_LOGS_PAGE_BYTES as C, HOSTED_AGENT_DRIVERS as Ca, recordMatches as Cc, MAINTENANCE_LOG_NAME as Ci, MACHINE_CREDENTIALS_VERSION as Cl, DeviceLeaseState as Cn, TUNNEL_MODES as Co, ArchivedWorkspace as Cr, maintenanceChildLogFile as Cs, DeviceViewersRecord as Ct, hostedNativeLogsDir as D, HostedAgentGrant as Da, CreatedDevicePlatform as Dc, WORKSPACE_AGENT_KEY as Di, MachineCapacity as Dl, EnvironmentDisk as Dn, acceptsShape as Do, readArchive as Dr, maintenanceStateFile as Ds, AgentSessionsCache as Dt, hostedMacosLogsDir as E, HostedAgentDriverName as Ea, countErrorEntries as Ec, WARM_KEY as Ei, readBuildMachines as El, EndedAgentSession as En, WebViewport as Eo, linkReplacedArchives as Er, maintenanceRunClaims as Es, stimBuildDigest as Et, endpoint as F, hostedMacosAppSlot as Fa, readJsonFile as Fc, readDevServerStopRequest as Fi, machineCacheUsageFile as Fl, MachineOwnerKind as Fn, runId as Fo, MaintenanceCheck as Fr, sharedPods as Fs, listStatusCacheEntries as Ft, DeviceHostMachineCredential as G, HostedAppOffer as Ga, ParkedMax as Gc, DeviceHostLimits as Gi, AgentActionReaderOptions as Gl, PlannedPhase as Gn, footageDrops as Go, readMaintenanceAttempt as Gr, workspaceGradleBuild as Gs, ACTIVITY_RECENCY_BASES as Gt, HostedMetroRequest as H, HOSTED_APP_CHUNK_BYTES as Ha, createDebugLog as Hc, readWorkspaceState as Hi, agentDeviceUsageFile as Hl, PHYSICAL_DEVICE_CONNECTIONS as Hn, RecordingPlatform as Ho, MaintenanceStatus as Hr, workspaceDerivedData as Hs, readPullRequestCache as Ht, findPeer as I, hostedMacosBundleId as Ia, readJsonObject as Ic, readDeviceIdleShutdowns as Ii, readMachineCacheUsage as Il, MachineUsageState as In, validRunId as Io, MaintenanceMode as Ir, statsFile as Is, pullRequestCacheFile as It, CAPACITY_REFUSAL_LIMIT as J, hostedAppAttempt as Ja, configCorruptRepair as Jc, HostedAndroidDevice as Ji, createAgentActionReader as Jl, STATUS_ISSUE_CODES as Jn, listSegments as Jo, HostedIosStatus as Jr, workspaceMetadataFile as Js, ActiveBuildState as Jt, readDeviceHostMachines as K, HostedAppRecord as Ka, allMetroPorts as Kc, HOSTED_PARKED_CANDIDATES as Ki, AgentRecordSelection as Kl, RemoteDeviceState as Kn, listRecordedDevices as Ko, readMaintenanceState as Kr, workspaceLogErrorIndex as Ks, AGENT_TOOLS as Kt, machineEndpoint as L, parseHostedAgentAccess as La, readStateFile as Lc, readDevicePlacement as Li, SwiftpmCacheUsage as Ll, MacosBuildPlanPayload as Ln, RECORDING_CAP_BYTES as Lo, MaintenancePass as Lr, supervisorLogFile as Ls, readAgentSessionsCache as Lt, TAILNET_MACHINE_PATTERN as M, HostedMacosDevice as Ma, readEasSessionLedger as Mc, parseMissReason as Mi, tryAcquireBuildSlotClaim as Ml, MACHINE_OWNER_KINDS as Mn, settingDefinition as Mo, DiskPressureLevel as Mr, sharedCcache as Ms, diskUsageCacheFile as Mt, TailnetPeer as N, HostedMacosPlacement as Na, validEasSessionClaim as Nc, readBuildHistory as Ni, MachineCacheUsage as Nl, MEMORY_SOURCES as Nn, settingValueError as No, MaintenanceAction as Nr, sharedCompilationCache as Ns, diskUsageFailureFile as Nt, parseHostedLogsCursor as O, HostedAgentIssuedGrant as Oa, CreatedDevices as Oc, WarmRecord as Oi, buildSlotPath as Ol, EnvironmentState as On, coerceSettingText as Oo, readArchiveAsync as Or, pullRequestCacheDir as Os, ENDED_AGENT_RETENTION_MS as Ot, cannotHost as P, hostedAgentDriverName as Pa, isJsonObject as Pc, readDevServerStop as Pi, SimRuntimeUsage as Pl, MachineOwner as Pn, RUN_ID_ENV as Po, MaintenanceActionKind as Pr, sharedGradle as Ps, endedAgentSessionOf as Pt, PLACEMENT_DECISIONS as Q, readHostedApp as Qa, getProject as Qc, HostedDevicePhase as Qi, SOURCES as Ql, StatusIssue as Qn, recordingDeviceName as Qo, parseHostedIosPlacement as Qr, LogDir as Qs, AgentTool as Qt, parseMachine as R, parseHostedAgentGrant as Ra, withStateReadCache as Rc, readIdleStop as Ri, readSwiftpmCacheUsage as Rl, MemorySource as Rn, RECORDING_FOOTAGE_MS as Ro, MaintenancePressure as Rr, supervisorPidFile as Rs, readBuildDetail as Rt, HOSTED_LOGS_FIRST_BYTES as S, readHostedSessions as Sa, readLogTimeline as Sc, LAST_BUILD_KEYS as Si, BuildMachineCredential as Sl, DeviceAppProcess as Sn, SettingsPayload as So, ArchivedUsage as Sr, maintenanceAttemptFile as Ss, wholePhases as St, HostedLogsPage as T, HostedAgentAccess as Ta, tailRead as Tc, READY_PHASE_MS as Ti, parseMachineCredential as Tl, DiskMeasure as Tn, WEB_VIEWPORTS as To, archivedUsage as Tr, maintenanceNdjsonFile as Ts, readViewedDevices as Tt, hostedMetroGateways as U, HostedAppDelivery as Ua, debugLogDir as Uc, workspaceLastUsed as Ui, readAgentDeviceUsage as Ul, PhysicalDeviceConnection as Un, capDrops as Uo, MemoryCulprit as Ur, workspaceEndedAgentsFile as Us, withDerivedFacts as Ut, HostedMetroGateway as V, parseHostedMacosPlacement as Va, DebugLog as Vc, readWorkspaceAgent as Vi, AgentDeviceUsageRoots as Vl, NativeBuildStep as Vn, RecordedSegment as Vo, MaintenanceState as Vr, workspaceBuildDetailFile as Vs, readEndedAgentSessions as Vt, hostedMetroRequests as W, HostedAppFile as Wa, debugLoggingEnabled as Wc, DEVICE_HOST_LIMITS as Wi, readAgentDeviceUsageCache as Wl, PhysicalDeviceState as Wn, closedSegmentName as Wo, parseMaintenanceState as Wr, workspaceEndedAgentsLock as Ws, withGitChip as Wt, HISTORY_LIMIT as X, parseHostedAppManifest as Xa, getConcurrencyLimits as Xc, HostedDeviceOffer as Xi, LEVELS as Xl, StatsPlatform as Xn, openSegmentName as Xo, hostedIosRecords as Xr, workspaceStateFile as Xs, ActivityRecencyBasis as Xt, CAPACITY_REFUSAL_MAX_AGE_MS as Y, hostedAppBlobs as Ya, findEnclosingWorktreeRoot as Yc, HostedDevice as Yi, createAsyncAgentActionReader as Yl, SimulatorState as Yn, listSegmentsAsync as Yo, hostedIosPlacements as Yr, workspaceRecordingsDir as Ys, ActivityDriver as Yt, OffloadSummary as Z, parseHostedAppOffer as Za, getParkedMax as Zc, HostedDeviceOfferRequest as Zi, NdjsonRecord as Zl, StatusCapacity as Zn, recordedBytes as Zo, hostedIosStatus as Zr, workspaceStateLock as Zs, AgentSession as Zt, isSetupJournalPrunable as _, parseHostedOfferRequest as _a, parseSince as _c, DevServerStopRecord as _i, RepoRecord as _l, BuildReport as _n, SettingDefinition as _o, macosAppState as _r, easSessionLedgerFile as _s, readStatsReport as _t, MachineView as a, HostedNativeOffer as aa, QueryCriteria as ac, hostedAndroidStatus as ai, withConfigLock as al, BuildCacheHit as an, settingsJsonSchema as ao, WarmStep as ar, buildMachinesLock as as, StatsCapacityRefusal as at, agentDeviceStateDirs as b, readHostedDevice as ba, queryLogs as bc, IDLE_STOP_KEY as bi, SupervisorRecord as bl, ChecksState as bn, SettingType as bo, readMacosRecord as br, getConfigPath as bs, trimCapacityWaits as bt, SummaryBuild as c, deviceHostRoot as ca, buildCriteria as cc, HostedNativePlacement as ci, automaticMachineEnabled as cl, BuildDiagnostic as cn, ANDROID_PCH_CHOICES as co, WorkspacePhase as cr, createdDevicesFile as cs, StatsRecord as ct, WorktreeRow as d, hostedWorkerSettleMs as da, fileIdentity as dc, unreadableHostedNative as di, ConcurrencyLimits as dl, BuildMissChange as dn, OffloadMode as do, WorktreeGit as dr, deviceHostMachinesFile as ds, decodeStats as dt, HostedDeviceRequest as ea, openLogDir as ec, HostedAndroidPlacement as ei, getRepoSettings as el, AndroidRuntimeFacts as en, rememberHostedAppBlobRename as eo, StatusPayload as er, agentSessionsCacheFile as es, RunEstimates as et, parseNdjsonLine as eu, statusViews as f, parseHostedAndroidDevice as fa, fileSizes as fc, BUILD_HISTORY_KEY as fi, Config as fl, BuildMissReason as fn, REMOTE_DEVICE_BACKENDS as fo, WorktreePullRequest as fr, deviceHostMachinesLock as fs, findProjectRoot as ft, isJournalExpired as g, parseHostedNativeOffer as ga, markerWindow as gc, DEV_SERVER_STOP_REQUEST_KEY as gi, ProjectRecord as gl, BuildPlatform as gn, SETTING_SCOPES as go, MacosProcess as gr, easMachineStateRoot as gs, readStats as gt, SetupJournal as h, parseHostedLocalDeviceCount as ha, logFiles as hc, DEVICE_RECLAIM_REASON as hi, PlatformRecords as hl, BuildPlanPayload as hn, SETTING_GROUPS as ho, MacosBuild as hr, diskUsageWalkClaims as hs, readRunEstimates as ht, ArchivedSummary as i, HostedIosDevice as ia, NATIVE_CRASH_LOG_PREFIX as ic, hostedAndroidRecords as ii, windowsShortDirKey as il, BuildActivity as in, SETTINGS_SCHEMA_URL as io, WORKSPACE_STAGE_KINDS as ir, buildMachinesFile as is, StatsBucket as it, Endpoint as j, HostedMacosChoice as ja, readCreatedDevices as jc, lastUseFrom as ji, saturation as jl, LastBuildReport as jn, isSensitiveReference as jo, readArchivesAsync as jr, setupJournalFile as js, agentSessionOf as jt, readHostedNativeLogsCheckpoint as k, HostedAgentLease as ka, EasSessionClaim as kc, WorkspaceState as ki, buildSlotsDir as kl, GitChip as kn, expectedShape as ko, readArchiveState as kr, serverLocalSocket as ks, PullRequestCacheEntry as kt, SummaryHistoryEntry as l, hostedConsolePort as la, bundleMarkerPlatform as lc, hostedNativeRecords as li, requireAutomaticMachine as ll, BuildHistoryEntry as ln, IOS_SIMULATOR_APPS as lo, WorkspaceStage as lr, createdDevicesLock as ls, StatsReport as lt, SetupCapability as m, parseHostedDevice as ma, isExpoErrorContext as mc, DEVICE_IDLE_SHUTDOWN_KEY as mi, DoctorRunRecord as ml, BuildPlacement as mn, SETTINGS as mo, MacosAppState as mr, diskUsageCacheDir as ms, projectRootDirectories as mt, KeyedEntities as n, HostedDeviceSession as na, LogQueryOptions as nc, hostedAndroidDeviceName as ni, loadConfig as nl, BUILD_PHASES as nn, validHostedAppBlob as no, WEB_PAGE_STATES as nr, archiveLock as ns, RunSample as nt, readNdjsonGenerations as nu, SUMMARY_ARCHIVES as o, assertHostedDeviceLedger as oa, advanceTail as oc, parseHostedAndroidPlacement as oi, withConfigLockAsync as ol, BuildCause as on, ANDROID_COMPILER_CACHE_CHOICES as oo, WebBrowserState as or, clientIdentityKeyFile as os, StatsCapacityWait as ot, workspaceSummary as p, parseHostedChoice as pa, followLogs as pc, BUILD_HISTORY_LIMIT as pi, DeviceRecord as pl, BuildPhase as pn, RemoteDeviceBackend as po, MacosAppRecord as pr, deviceViewersDir as ps, offloadSummary as pt, BuildMachineTotals as q, hostedAppArea as qa, buildWorkerRoot as qc, HostedAndroidChoice as qi, AgentTarget as ql, RunOutcomeKind as qn, listRecordedDevicesAsync as qo, HostedIosPlacement as qr, workspaceLogsDir as qs, APP_PROCESS_STATES as qt, applyKeyedDelta as r, HostedIosChoice as ra, LogQueryPlan as rc, hostedAndroidPlacements as ri, windowsShortDir as rl, BUILD_RESULTS as rn, SETTINGS_SCHEMA_FILE as ro, WORKSPACE_PHASES as rr, archiveRoot as rs, STATS_VERSION as rt, StatusViews as s, deviceHostArea as sa, attachExpoErrorContext as sc, unreadableHostedAndroid as si, AutomaticPoolRole as sl, BuildDetail as sn, ANDROID_EMULATOR_APPS as so, WebPageState as sr, configLockPath as ss, StatsPlacement as st, KeyedDelta as t, HostedDeviceSelectors as ta, ERROR_SOURCES as tc, HostedAndroidStatus as ti, isPathPrefix as tl, AppPresence as tn, validHostedAppArguments as to, TUTORIAL_VERSION as tr, archiveDir as ts, RunHistory as tt, parseNdjsonText as tu, WorkspaceSummary as u, hostedDeviceId as ua, compileGrep as uc, parseHostedNativePlacement as ui, validateAutomaticPool as ul, BuildMissCategory as un, OFFLOAD_MODES as uo, WorktreeFacts as ur, deviceHostMachinesClaims as us, StatsScope as ut, parseSetupJournal as v, parseHostedPlatformDevice as va, planLogQuery as vc, DevServerStopRequest as vi, SettingsObject as vl, BuildResult as vn, SettingEntry as vo, parseMacosRecord as vr, easSessionLedgerLock as vs, statsProjectKey as vt, HostedLogsCursor as w, HOSTED_MACOS_APP_SLOTS as wa, sortByTs as wc, MetroLastStop as wi, MachineCredential as wl, DevicePlacement as wn, TunnelMode as wo, archiveEnabled as wr, maintenanceDir as ws, ViewedDevice as wt, agentDeviceStateDirsAsync as x, readHostedDeviceLedger as xa, readLogRecords as xc, IdleStopRecord as xi, clientIdentity as xl, DeviceActivity as xn, SettingWriteResult as xo, ArchivedBytes as xr, gitMergeCacheDir as xs, trimSamples as xt, readSetupJournal as y, parseHostedRequest as ya, queryJsonLogs as yc, DeviceIdleShutdownRecord as yi, StimConfig as yl, BuildWaitingFor as yn, SettingScope as yo, readHostedMacosApp as yr, emulatorLogFile as ys, trimCapacityRefusals as yt, HOSTED_METRO_GATEWAYS_KEY as z, parseHostedMacosChoice as za, readHomeIdentity as zc, readLastBuilds as zi, swiftpmCacheUsageFile as zl, MetroBundleState as zn, RECORDING_PLATFORMS as zo, MaintenanceRecord as zr, trashRoot as zs, readDiskUsage as zt };
|
|
2801
|
+
export { BuildMachineTotals as $, hostedAppArea as $a, readHomeIdentity as $c, HostedAndroidChoice as $i, swiftpmCacheUsageFile as $l, RunOutcomeKind as $n, listRecordedDevicesAsync as $o, HostedIosPlacement as $r, workspaceGradleBuild as $s, APP_PROCESS_STATES as $t, HostedLogsCursor as A, HOSTED_MACOS_APP_SLOTS as Aa, readLogTimeline as Ac, MetroLastStop as Ai, ProjectRecord as Al, DevicePlacement as An, TunnelMode as Ao, archiveEnabled as Ar, maintenanceAttemptFile as As, ViewedDevice as At, cannotHost as B, hostedAgentDriverName as Ba, countErrorEntries as Bc, readDevServerStop as Bi, readBuildMachines as Bl, MachineOwner as Bn, RUN_ID_ENV as Bo, MaintenanceActionKind as Br, sharedCcache as Bs, endedAgentSessionOf as Bt, GcLogRecord as C, parseHostedOfferRequest as Ca, logFiles as Cc, DevServerStopRecord as Ci, requireAutomaticMachine as Cl, BuildReport as Cn, SettingDefinition as Co, macosAppState as Cr, easSessionLedgerFile as Cs, readStatsReport as Ct, readGcLog as D, readHostedDeviceLedger as Da, queryJsonLogs as Dc, IdleStopRecord as Di, DeviceRecord as Dl, DeviceActivity as Dn, SettingWriteResult as Do, ArchivedBytes as Dr, gcLogFile as Ds, trimSamples as Dt, isGcLogRecord as E, readHostedDevice as Ea, planLogQuery as Ec, IDLE_STOP_KEY as Ei, Config as El, ChecksState as En, SettingType as Eo, readMacosRecord as Er, gcLogDir as Es, trimCapacityWaits as Et, readHostedNativeLogsCheckpoint as F, HostedAgentLease as Fa, FingerprintMemoRecord as Fc, WorkspaceState as Fi, clientIdentity as Fl, GitChip as Fn, expectedShape as Fo, readArchiveState as Fr, maintenanceStateFile as Fs, PullRequestCacheEntry as Ft, HOSTED_METRO_GATEWAYS_KEY as G, parseHostedMacosChoice as Ga, readCreatedDevices as Gc, readLastBuilds as Gi, saturation as Gl, MetroBundleState as Gn, RECORDING_PLATFORMS as Go, MaintenanceRecord as Gr, supervisorLogFile as Gs, readDiskUsage as Gt, findPeer as H, hostedMacosBundleId as Ha, CreatedDevices as Hc, readDeviceIdleShutdowns as Hi, buildSlotPath as Hl, MachineUsageState as Hn, validRunId as Ho, MaintenanceMode as Hr, sharedGradle as Hs, pullRequestCacheFile as Ht, readLogsSince as I, HostedAppLaunch as Ia, fingerprintMemoDir as Ic, buildDiagnostics as Ii, BuildMachineCredential as Il, GitChipPart as In, isLayeredSetting as Io, readArchives as Ir, pullRequestCacheDir as Is, StatusCacheEntry as It, HostedMetroRequest as J, HOSTED_APP_CHUNK_BYTES as Ja, isJsonObject as Jc, readWorkspaceState as Ji, SimRuntimeUsage as Jl, PHYSICAL_DEVICE_CONNECTIONS as Jn, RecordingPlatform as Jo, MaintenanceStatus as Jr, workspaceAgentDeviceDir as Js, readPullRequestCache as Jt, HOSTED_METRO_REQUESTS_KEY as K, parseHostedMacosDevice as Ka, readEasSessionLedger as Kc, readWarmRecord as Ki, tryAcquireBuildSlotClaim as Kl, NATIVE_BUILD_STEPS as Kn, RecordedDevice as Ko, MaintenanceSize as Kr, supervisorPidFile as Ks, readDiskUsageFailure as Kt, Endpoint as L, HostedMacosChoice as La, fingerprintMemoFile as Lc, lastUseFrom as Li, MACHINE_CREDENTIALS_VERSION as Ll, LastBuildReport as Ln, isSensitiveReference as Lo, readArchivesAsync as Lr, serverLocalSocket as Ls, agentSessionOf as Lt, hostedMacosLogsDir as M, HostedAgentDriverName as Ma, sortByTs as Mc, WARM_KEY as Mi, SettingsObject as Ml, EndedAgentSession as Mn, WebViewport as Mo, linkReplacedArchives as Mr, maintenanceDir as Ms, stimBuildDigest as Mt, hostedNativeLogsDir as N, HostedAgentGrant as Na, tailRead as Nc, WORKSPACE_AGENT_KEY as Ni, StimConfig as Nl, EnvironmentDisk as Nn, acceptsShape as No, readArchive as Nr, maintenanceNdjsonFile as Ns, AgentSessionsCache as Nt, HOSTED_LOGS_FIRST_BYTES as O, readHostedSessions as Oa, queryLogs as Oc, LAST_BUILD_KEYS as Oi, DoctorRunRecord as Ol, DeviceAppProcess as On, SettingsPayload as Oo, ArchivedUsage as Or, getConfigPath as Os, wholePhases as Ot, parseHostedLogsCursor as P, HostedAgentIssuedGrant as Pa, FINGERPRINT_MEMO_SCHEMA as Pc, WarmRecord as Pi, SupervisorRecord as Pl, EnvironmentState as Pn, coerceSettingText as Po, readArchiveAsync as Pr, maintenanceRunClaims as Ps, ENDED_AGENT_RETENTION_MS as Pt, readDeviceHostMachines as Q, HostedAppRecord as Qa, withStateReadCache as Qc, HOSTED_PARKED_CANDIDATES as Qi, readSwiftpmCacheUsage as Ql, RemoteDeviceState as Qn, listRecordedDevices as Qo, readMaintenanceState as Qr, workspaceEndedAgentsLock as Qs, AGENT_TOOLS as Qt, TAILNET_MACHINE_PATTERN as R, HostedMacosDevice as Ra, fingerprintMemoLock as Rc, parseMissReason as Ri, MachineCredential as Rl, MACHINE_OWNER_KINDS as Rn, settingDefinition as Ro, DiskPressureLevel as Rr, serverSetupDir as Rs, diskUsageCacheFile as Rt, GcLogOptions as S, parseHostedNativeOffer as Sa, isExpoErrorContext as Sc, DEV_SERVER_STOP_REQUEST_KEY as Si, automaticMachineEnabled as Sl, BuildPlatform as Sn, SETTING_SCOPES as So, MacosProcess as Sr, easMachineStateRoot as Ss, readStats as St, GcLogTrigger as T, parseHostedRequest as Ta, parseSince as Tc, DeviceIdleShutdownRecord as Ti, ConcurrencyLimits as Tl, BuildWaitingFor as Tn, SettingScope as To, readHostedMacosApp as Tr, emulatorLogFile as Ts, trimCapacityRefusals as Tt, machineEndpoint as U, parseHostedAgentAccess as Ua, EasSessionClaim as Uc, readDevicePlacement as Ui, buildSlotsDir as Ul, MacosBuildPlanPayload as Un, RECORDING_CAP_BYTES as Uo, MaintenancePass as Ur, sharedPods as Us, readAgentSessionsCache as Ut, endpoint as V, hostedMacosAppSlot as Va, CreatedDevicePlatform as Vc, readDevServerStopRequest as Vi, MachineCapacity as Vl, MachineOwnerKind as Vn, runId as Vo, MaintenanceCheck as Vr, sharedCompilationCache as Vs, listStatusCacheEntries as Vt, parseMachine as W, parseHostedAgentGrant as Wa, EasSessionLedgerRead as Wc, readIdleStop as Wi, machineCapacity as Wl, MemorySource as Wn, RECORDING_FOOTAGE_MS as Wo, MaintenancePressure as Wr, statsFile as Ws, readBuildDetail as Wt, hostedMetroRequests as X, HostedAppFile as Xa, readJsonObject as Xc, DEVICE_HOST_LIMITS as Xi, readMachineCacheUsage as Xl, PhysicalDeviceState as Xn, closedSegmentName as Xo, parseMaintenanceState as Xr, workspaceDerivedData as Xs, withGitChip as Xt, hostedMetroGateways as Y, HostedAppDelivery as Ya, readJsonFile as Yc, workspaceLastUsed as Yi, machineCacheUsageFile as Yl, PhysicalDeviceConnection as Yn, capDrops as Yo, MemoryCulprit as Yr, workspaceBuildDetailFile as Ys, withDerivedFacts as Yt, DeviceHostMachineCredential as Z, HostedAppOffer as Za, readStateFile as Zc, DeviceHostLimits as Zi, SwiftpmCacheUsage as Zl, PlannedPhase as Zn, footageDrops as Zo, readMaintenanceAttempt as Zr, workspaceEndedAgentsFile as Zs, ACTIVITY_RECENCY_BASES as Zt, isSetupJournalPrunable as _, hostedWorkerSettleMs as _a, bundleMarkerPlatform as _c, unreadableHostedNative as _i, windowsShortDir as _l, BuildMissChange as _n, OffloadMode as _o, WorktreeGit as _r, deviceHostMachinesFile as _s, decodeStats as _t, MachineView as a, HostedDevicePlatform as aa, workspaceStateLock as ac, unreadableHostedIos as ai, ParkedMax as al, AndroidDeviceState as an, readHostedAppMetadata as ao, StatusIssueCode as ar, recordingEnabled as as, ReadStatsResult as at, AgentActionReaderOptions as au, agentDeviceStateDirs as b, parseHostedDevice as ba, fileSizes as bc, DEVICE_IDLE_SHUTDOWN_KEY as bi, withConfigLockAsync as bl, BuildPlacement as bn, SETTINGS as bo, MacosAppState as br, diskUsageCacheDir as bs, projectRootDirectories as bt, SummaryBuild as c, HostedDeviceSession as ca, openLogDir as cc, hostedAndroidDeviceName as ci, configCorruptRepair as cl, BUILD_PHASES as cn, validHostedAppBlob as co, WEB_PAGE_STATES as cr, archiveLock as cs, RunSample as ct, createAgentActionReader as cu, WorktreeRow as d, HostedNativeOffer as da, LogQueryPlan as dc, hostedAndroidStatus as di, getParkedMax as dl, BuildCacheHit as dn, settingsJsonSchema as do, WarmStep as dr, buildMachinesLock as ds, StatsCapacityRefusal as dt, NdjsonRecord as du, HostedAndroidDevice as ea, workspaceLogErrorIndex as ec, HostedIosStatus as ei, DEBUG_ENV as el, ActiveBuildState as en, hostedAppAttempt as eo, STATUS_ISSUE_CODES as er, listSegments as es, CAPACITY_REFUSAL_LIMIT as et, AgentDeviceUsage as eu, statusViews as f, assertHostedDeviceLedger as fa, NATIVE_CRASH_LOG_PREFIX as fc, parseHostedAndroidPlacement as fi, getProject as fl, BuildCause as fn, ANDROID_COMPILER_CACHE_CHOICES as fo, WebBrowserState as fr, clientIdentityKeyFile as fs, StatsCapacityWait as ft, SOURCES as fu, isJournalExpired as g, hostedDeviceId as ga, buildCriteria as gc, parseHostedNativePlacement as gi, loadConfig as gl, BuildMissCategory as gn, OFFLOAD_MODES as go, WorktreeFacts as gr, deviceHostMachinesClaims as gs, StatsScope as gt, readNdjsonGenerations as gu, SetupJournal as h, hostedConsolePort as ha, attachExpoErrorContext as hc, hostedNativeRecords as hi, isPathPrefix as hl, BuildHistoryEntry as hn, IOS_SIMULATOR_APPS as ho, WorkspaceStage as hr, createdDevicesLock as hs, StatsReport as ht, parseNdjsonText as hu, ArchivedSummary as i, HostedDevicePhase as ia, workspaceStateFile as ic, parseHostedIosPlacement as ii, debugLoggingEnabled as il, AgentTool as in, readHostedApp as io, StatusIssue as ir, recordingDeviceName as is, PLACEMENT_DECISIONS as it, readAgentDeviceUsageCache as iu, HostedLogsPage as j, HostedAgentAccess as ja, recordMatches as jc, READY_PHASE_MS as ji, RepoRecord as jl, DiskMeasure as jn, WEB_VIEWPORTS as jo, archivedUsage as jr, maintenanceChildLogFile as js, readViewedDevices as jt, HOSTED_LOGS_PAGE_BYTES as k, HOSTED_AGENT_DRIVERS as ka, readLogRecords as kc, MAINTENANCE_LOG_NAME as ki, PlatformRecords as kl, DeviceLeaseState as kn, TUNNEL_MODES as ko, ArchivedWorkspace as kr, gitMergeCacheDir as ks, DeviceViewersRecord as kt, SummaryHistoryEntry as l, HostedIosChoice as la, ERROR_SOURCES as lc, hostedAndroidPlacements as li, findEnclosingWorktreeRoot as ll, BUILD_RESULTS as ln, SETTINGS_SCHEMA_FILE as lo, WORKSPACE_PHASES as lr, archiveRoot as ls, STATS_VERSION as lt, createAsyncAgentActionReader as lu, SetupCapability as m, deviceHostRoot as ma, advanceTail as mc, HostedNativePlacement as mi, getRepoSettings as ml, BuildDiagnostic as mn, ANDROID_PCH_CHOICES as mo, WorkspacePhase as mr, createdDevicesFile as ms, StatsRecord as mt, parseNdjsonLine as mu, KeyedEntities as n, HostedDeviceOffer as na, workspaceMetadataFile as nc, hostedIosRecords as ni, createDebugLog as nl, ActivityRecencyBasis as nn, parseHostedAppManifest as no, StatsPlatform as nr, openSegmentName as ns, HISTORY_LIMIT as nt, agentDeviceUsageFile as nu, SUMMARY_ARCHIVES as o, HostedDeviceRequest as oa, LogDir as oc, HostedAndroidPlacement as oi, allMetroPorts as ol, AndroidRuntimeFacts as on, rememberHostedAppBlobRename as oo, StatusPayload as or, agentSessionsCacheFile as os, RunEstimates as ot, AgentRecordSelection as ou, workspaceSummary as p, deviceHostArea as pa, QueryCriteria as pc, unreadableHostedAndroid as pi, getProjectSettings as pl, BuildDetail as pn, ANDROID_EMULATOR_APPS as po, WebPageState as pr, configLockPath as ps, StatsPlacement as pt, levelRank as pu, HostedMetroGateway as q, parseHostedMacosPlacement as qa, validEasSessionClaim as qc, readWorkspaceAgent as qi, MachineCacheUsage as ql, NativeBuildStep as qn, RecordedSegment as qo, MaintenanceState as qr, trashRoot as qs, readEndedAgentSessions as qt, applyKeyedDelta as r, HostedDeviceOfferRequest as ra, workspaceRecordingsDir as rc, hostedIosStatus as ri, debugLogDir as rl, AgentSession as rn, parseHostedAppOffer as ro, StatusCapacity as rr, recordedBytes as rs, OffloadSummary as rt, readAgentDeviceUsage as ru, StatusViews as s, HostedDeviceSelectors as sa, LogDirQuery as sc, HostedAndroidStatus as si, buildWorkerRoot as sl, AppPresence as sn, validHostedAppArguments as so, TUTORIAL_VERSION as sr, archiveDir as ss, RunHistory as st, AgentTarget as su, KeyedDelta as t, HostedDevice as ta, workspaceLogsDir as tc, hostedIosPlacements as ti, DebugLog as tl, ActivityDriver as tn, hostedAppBlobs as to, SimulatorState as tr, listSegmentsAsync as ts, CAPACITY_REFUSAL_MAX_AGE_MS as tt, AgentDeviceUsageRoots as tu, WorkspaceSummary as u, HostedIosDevice as ua, LogQueryOptions as uc, hostedAndroidRecords as ui, getConcurrencyLimits as ul, BuildActivity as un, SETTINGS_SCHEMA_URL as uo, WORKSPACE_STAGE_KINDS as ur, buildMachinesFile as us, StatsBucket as ut, LEVELS as uu, parseSetupJournal as v, parseHostedAndroidDevice as va, compileGrep as vc, BUILD_HISTORY_KEY as vi, windowsShortDirKey as vl, BuildMissReason as vn, REMOTE_DEVICE_BACKENDS as vo, WorktreePullRequest as vr, deviceHostMachinesLock as vs, findProjectRoot as vt, GcLogStatus as w, parseHostedPlatformDevice as wa, markerWindow as wc, DevServerStopRequest as wi, validateAutomaticPool as wl, BuildResult as wn, SettingEntry as wo, parseMacosRecord as wr, easSessionLedgerLock as ws, statsProjectKey as wt, agentDeviceStateDirsAsync as x, parseHostedLocalDeviceCount as xa, followLogs as xc, DEVICE_RECLAIM_REASON as xi, AutomaticPoolRole as xl, BuildPlanPayload as xn, SETTING_GROUPS as xo, MacosBuild as xr, diskUsageWalkClaims as xs, readRunEstimates as xt, readSetupJournal as y, parseHostedChoice as ya, fileIdentity as yc, BUILD_HISTORY_LIMIT as yi, withConfigLock as yl, BuildPhase as yn, RemoteDeviceBackend as yo, MacosAppRecord as yr, deviceViewersDir as ys, offloadSummary as yt, TailnetPeer as z, HostedMacosPlacement as za, readFingerprintMemo as zc, readBuildHistory as zi, parseMachineCredential as zl, MEMORY_SOURCES as zn, settingValueError as zo, MaintenanceAction as zr, setupJournalFile as zs, diskUsageFailureFile as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as BuildSwiftpmArtifactQuery, M as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-
|
|
1
|
+
import { F as BuildSwiftpmArtifactQuery, M as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-swbEkLsj.mjs";
|
|
2
2
|
import { Server } from "node:net";
|
|
3
3
|
//#region dir-lock.d.ts
|
|
4
4
|
interface DirLockOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as DesktopBuildEndedEvent, $n as PushEvent,
|
|
1
|
+
import { Bn as MachineOwner, Cn as BuildReport, Dn as DeviceActivity, Fn as GitChip, Gn as MetroBundleState, Hn as MachineUsageState, Jr as MaintenanceStatus, Ln as LastBuildReport, Nn as EnvironmentDisk, On as DeviceAppProcess, Or as ArchivedUsage, Pn as EnvironmentState, Qn as RemoteDeviceState, Tn as BuildWaitingFor, Ur as MaintenancePass, Wr as MaintenancePressure, Xn as PhysicalDeviceState, Yt as withDerivedFacts, _n as BuildMissChange, _r as WorktreeGit, a as MachineView, an as AndroidDeviceState, bn as BuildPlacement, f as statusViews, fr as WebBrowserState, gr as WorktreeFacts, hn as BuildHistoryEntry, hr as WorkspaceStage, i as ArchivedSummary, ir as StatusIssue, jn as DiskMeasure, kn as DeviceLeaseState, kr as ArchivedWorkspace, mn as BuildDiagnostic, or as StatusPayload, pn as BuildDetail, r as applyKeyedDelta, rn as AgentSession, tr as SimulatorState, un as BuildActivity, vn as BuildMissReason, vr as WorktreePullRequest, xn as BuildPlanPayload, xr as MacosBuild, yr as MacosAppRecord, za as HostedMacosPlacement, zr as MaintenanceAction } from "./index-CVIwytv5.mjs";
|
|
2
|
+
import { $ as DesktopBuildEndedEvent, $n as PushEvent, Ar as SimulatorCommand, Bn as NotificationSuppression, Cn as MachineDetails, Ct as DesktopWorktreeWarmProgressEvent, Dt as DeviceUsageSeries, Et as DevicePosture, G as ControlBeginParams, Gt as HelloResult, Ht as FramesSubscribeResult, Ir as TouchPhase, It as FrameDelayedEvent, J as ControlEndedEvent, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Ln as NotificationEntry, Lt as FrameEvent, Nr as StatusEvent, O as BuildPlanParams, On as MachineUsage, Pn as Methods, Qn as ProtocolError, Qr as WorkspaceFiles, Rn as NotificationEvent, Rr as UsageHistory, Rt as FrameTarget, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tt as DeviceFrameEvent, Un as NotificationsListResult, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xr as WorkspaceEvent, Yn as Platform, Yr as WorkspaceDiff, Yt as InputButton, Zr as WorkspaceFile, Zt as InputKey, _n as LogsEndedEvent, _t as DesktopStartProgressEvent, a as ActionResult, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, ct as DesktopReloadProgressEvent, dr as ReplayKeyframe, ei as WorkspacePatch, er as PushRegisterParams, et as DesktopBuildProgressEvent, fr as ReplayKeyframeParams, ft as DesktopRunEndedEvent, gn as LogSource, gr as ReplayTarget, gt as DesktopStartEndedEvent, hn as LogRecord, hr as ReplaySpan, i as ActionParams, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as SimulatorOptions, jt as ErrorEvent, kn as MachineVolume, lt as DesktopReportEvent, mn as LogLevel, mr as ReplayRange, ni as WorkspacesEvent, nn as InputSimulatorParams, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, pn as LogFilter, pr as ReplayMarker, pt as DesktopRunProgressEvent, r as ActionName, sn as KeyModifier, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspaceRef, tt as DesktopGcEndedEvent, u as BUILD_METHODS, ur as ReplayEndedEvent, v as BuildClientSummary, vn as LogsEvent, vr as RotateDirection, vt as DesktopStopEndedEvent, wn as MachineEvent, wt as DeviceFrameArtwork, xr as ServerEvent, xt as DesktopWorktreeRemoveProgressEvent, yn as LogsQueryResult, yr as SERVER_UPDATE_METHODS, yt as DesktopStopProgressEvent, zn as NotificationLevel, zr as UsageSample } from "./protocol-swbEkLsj.mjs";
|
|
3
3
|
//#region phone-protocol.d.ts
|
|
4
4
|
type PhonePlatform = BuildPlanParams["platform"];
|
|
5
5
|
type PhoneDevicePlatform = Platform;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as HostedLogsCursor, Do as SettingWriteResult, Ia as HostedAppLaunch, Jr as MaintenanceStatus, Or as ArchivedUsage, Pn as EnvironmentState, To as SettingScope, Un as MacosBuildPlanPayload, Ya as HostedAppDelivery, Za as HostedAppOffer, a as MachineView, aa as HostedDevicePlatform, ca as HostedDeviceSession, d as WorktreeRow, du as NdjsonRecord, gr as WorktreeFacts, hn as BuildHistoryEntry, i as ArchivedSummary, ia as HostedDevicePhase, j as HostedLogsPage, kr as ArchivedWorkspace, na as HostedDeviceOffer, oa as HostedDeviceRequest, or as StatusPayload, ra as HostedDeviceOfferRequest, t as KeyedDelta, u as WorkspaceSummary, xn as BuildPlanPayload } from "./index-CVIwytv5.mjs";
|
|
2
2
|
//#region protocol.d.ts
|
|
3
3
|
declare const PROTOCOL_VERSION = 2;
|
|
4
4
|
declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
|
|
@@ -45,10 +45,13 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
45
45
|
* `server-update` is `server.update.status`, `server.update.start` and `server.update.chunk`.
|
|
46
46
|
* `build-compat` accepts `compat` on `build.start`, and in place of `stimBuild` in React Native and SwiftPM artifact
|
|
47
47
|
* queries.
|
|
48
|
+
* `build-jdk` accepts `jdk` on `build.start`, the JDK major an Android build runs on; the machine finds an installed JDK of that
|
|
49
|
+
* major when its default differs.
|
|
48
50
|
* `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
|
|
49
51
|
* `archived.list`, `worktrees.list` and `maintenance.get`.
|
|
50
52
|
* `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
|
|
51
53
|
* `desktop-report-platform` accepts an optional ios/android selector for Desktop doctor reports.
|
|
54
|
+
* `desktop-report-invalidate-target` accepts a report target in `desktop.reports.invalidate`, which then invalidates only it.
|
|
52
55
|
* `desktop-settings` reads settings for a selected folder on the authenticated local Desktop connection.
|
|
53
56
|
* `desktop-settings-schema` supplies this server's registry-derived settings schema to local Desktop clients.
|
|
54
57
|
* `desktop-settings-write` mutates settings on the proved local Desktop connection.
|
|
@@ -59,7 +62,7 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
59
62
|
* `desktop-plan` reads next-build reports for selected folders on the proved local Desktop connection.
|
|
60
63
|
* `desktop-reload` streams reload output and its terminal result on the proved local Desktop connection.
|
|
61
64
|
*/
|
|
62
|
-
declare const FEATURES: readonly ["physical-ios", "physical-android", "notifications", "macos-window", "macos-windows", "macos-window-select", "macos-window-control", "macos-keyboard-extended", "device-frames", "macos-hosted", "ios-hosted", "android-hosted", "hosted-ios-agent", "hosted-android-agent", "duo-frames", "workspace-diff", "hosted-congestion", "hosted-ios-data", "hosted-ios-process", "native-xcode-build", "native-xcode-toolchain", "build-artifact-cache", "native-gradle-build", "native-gradle-artifact-cache", "native-gradle-peer-cache", "react-native-peer-cache", "fingerprint-sources", "fingerprint-ignored", "fingerprint-tracked", "swiftpm-peer-cache", "build-dependency-cache", "hosted-android-data", "hosted-android-process", "hosted-metro-ports", "server-update", "build-compat", "status-views", "desktop-reports", "desktop-report-platform", "desktop-settings", "desktop-settings-schema", "desktop-settings-write", "desktop-full-logs", "desktop-doctor-run", "desktop-machine-access", "desktop-stop", "desktop-reload", "desktop-start", "desktop-run", "desktop-build", "desktop-gc", "desktop-worktree-remove", "desktop-worktree-warm", "desktop-plan"];
|
|
65
|
+
declare const FEATURES: readonly ["physical-ios", "physical-android", "notifications", "macos-window", "macos-windows", "macos-window-select", "macos-window-control", "macos-keyboard-extended", "device-frames", "macos-hosted", "ios-hosted", "android-hosted", "hosted-ios-agent", "hosted-android-agent", "duo-frames", "workspace-diff", "hosted-congestion", "hosted-ios-data", "hosted-ios-process", "native-xcode-build", "native-xcode-toolchain", "build-artifact-cache", "native-gradle-build", "native-gradle-artifact-cache", "native-gradle-peer-cache", "react-native-peer-cache", "fingerprint-sources", "fingerprint-ignored", "fingerprint-tracked", "swiftpm-peer-cache", "build-dependency-cache", "hosted-android-data", "hosted-android-process", "hosted-metro-ports", "server-update", "build-compat", "build-jdk", "status-views", "desktop-reports", "desktop-report-platform", "desktop-report-invalidate-target", "desktop-settings", "desktop-settings-schema", "desktop-settings-write", "desktop-full-logs", "desktop-doctor-run", "desktop-machine-access", "desktop-stop", "desktop-reload", "desktop-start", "desktop-run", "desktop-build", "desktop-gc", "desktop-worktree-remove", "desktop-worktree-warm", "desktop-plan"];
|
|
63
66
|
type Feature = (typeof FEATURES)[number];
|
|
64
67
|
declare const METHODS: readonly ["hello", "desktop.authenticate", "desktop.reports.get", "desktop.reports.subscribe", "desktop.reports.invalidate", "desktop.settings.get", "desktop.settings.schema", "desktop.settings.write", "desktop.logs.subscribe", "desktop.doctor.run", "desktop.machine-access.subscribe", "desktop.stop.subscribe", "desktop.reload.subscribe", "desktop.start.subscribe", "desktop.run.subscribe", "desktop.build.subscribe", "desktop.gc.subscribe", "desktop.worktree.remove.subscribe", "desktop.worktree.warm.subscribe", "desktop.plan.get", "desktop.plan.cancel", "route.setup", "status.subscribe", "workspaces.subscribe", "workspace.subscribe", "machine.subscribe", "builds.history", "archived.list", "worktrees.list", "maintenance.get", "logs.query", "logs.subscribe", "stats.get", "settings.get", "workspace.files", "workspace.diff", "frames.subscribe", "frames.keyframe", "frames.seek", "frames.live", "replay.range", "archive.detail", "replay.keyframe", "recording.set", "build.plan", "machine.get", "machine.history", "machine.details", "unsubscribe", "action", "control.begin", "control.end", "input.touch", "input.text", "input.button", "input.rotate", "input.posture", "input.simulator", "input.scroll", "input.key", "input.window", "push.register", "push.unregister", "notifications.list", "build.offer", "build.sync", "build.start", "build.cancel", "build.artifact", "build.cached-artifact", "build.attach", "device-host.offer", "device-host.reserve", "device-host.attach", "device-host.stop", "device-host.app.offer", "device-host.app.chunk", "device-host.app.handoff", "device-host.app.launch", "device-host.app.attach", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.frames.subscribe", "device-host.frames.keyframe", "device-host.frames.congested", "device-host.unsubscribe", "device-host.control.begin", "device-host.control.end", "device-host.input.touch", "device-host.input.text", "device-host.input.scroll", "device-host.input.key", "device-host.input.button", "device-host.input.rotate", "device-host.input.posture", "device-host.input.window", "server.update.status", "server.update.start", "server.update.chunk", "machines.update.start", "machines.update.status", "device-host.sessions", "device-host.sessions.stop"];
|
|
65
68
|
/**
|
|
@@ -743,12 +746,28 @@ interface BuildToolchain {
|
|
|
743
746
|
runtimes: string[];
|
|
744
747
|
/** The major version of the JDK Gradle runs on there. */
|
|
745
748
|
jdk: string | null;
|
|
749
|
+
/** The majors of every JDK it can find, the one `jdk` names included; absent from a stim-server older than this field. */
|
|
750
|
+
jdks?: string[];
|
|
751
|
+
/** What `xcode-select -p` prints on a Mac; absent from a stim-server older than this field, and while DEVELOPER_DIR is set there. */
|
|
752
|
+
developerDir?: string | null;
|
|
753
|
+
/** The Xcode apps in `/Applications`, with the license and first-launch checks of each while `xcode` is null. */
|
|
754
|
+
xcodeApps?: {
|
|
755
|
+
path: string;
|
|
756
|
+
version: string | null;
|
|
757
|
+
build: string | null;
|
|
758
|
+
license?: boolean;
|
|
759
|
+
firstLaunch?: boolean;
|
|
760
|
+
}[];
|
|
746
761
|
/** The NDK, build-tools and platform directories of its Android SDK; null without an SDK. */
|
|
747
762
|
androidSdk: {
|
|
748
763
|
ndk: string[];
|
|
749
764
|
buildTools: string[];
|
|
750
765
|
platforms: string[];
|
|
751
766
|
} | null;
|
|
767
|
+
/** Whether that SDK has its licenses accepted, so Gradle downloads a missing package; absent from a stim-server older than this field. */
|
|
768
|
+
androidLicenses?: boolean;
|
|
769
|
+
/** The SDK directory `androidSdk` was read from; absent from a stim-server older than this field. */
|
|
770
|
+
androidHome?: string;
|
|
752
771
|
}
|
|
753
772
|
/**
|
|
754
773
|
* How busy the remote machine is. `running` counts offloaded builds and `max` is how many it runs at once.
|
|
@@ -871,6 +890,8 @@ interface BuildStartParams {
|
|
|
871
890
|
stimBuild: string;
|
|
872
891
|
/** The client's Stim build compatibility version, compared instead of `stimBuild` by a machine that reports one. */
|
|
873
892
|
compat?: number;
|
|
893
|
+
/** The JDK major the client's Android build ran on; a machine with the `build-jdk` feature builds on a JDK of that major. */
|
|
894
|
+
jdk?: string;
|
|
874
895
|
cacheArtifact?: boolean;
|
|
875
896
|
}
|
|
876
897
|
interface BuildJobParams {
|
|
@@ -1005,10 +1026,24 @@ interface BuildClientSummary {
|
|
|
1005
1026
|
};
|
|
1006
1027
|
lastAt: string;
|
|
1007
1028
|
}
|
|
1029
|
+
/**
|
|
1030
|
+
* The first layer that stops this machine from using a remote machine, as `stim doctor --json` reports it under
|
|
1031
|
+
* `diagnosis`. `code` is stable; `title` is a short label for a status pill; `message` says what failed and
|
|
1032
|
+
* `remedy` what to do. `guide remote` lists the codes.
|
|
1033
|
+
*/
|
|
1034
|
+
interface RemoteDiagnosis {
|
|
1035
|
+
layer: "tailscale" | "peer" | "route" | "server" | "compat";
|
|
1036
|
+
code: string;
|
|
1037
|
+
title: string;
|
|
1038
|
+
message: string;
|
|
1039
|
+
remedy: string;
|
|
1040
|
+
}
|
|
1008
1041
|
/** One `remote.machines` entry as `stim doctor --json` reports it; `guide facts doctor` defines the fields. */
|
|
1009
1042
|
interface BuildMachineReport {
|
|
1010
1043
|
machine: string;
|
|
1011
1044
|
state: string;
|
|
1045
|
+
/** Present for a state that stops at a layer below approval (`tailscale-off`, `not-on-tailnet`, `unreachable`, `outdated`). */
|
|
1046
|
+
diagnosis?: RemoteDiagnosis;
|
|
1012
1047
|
dnsName?: string;
|
|
1013
1048
|
deviceId?: string;
|
|
1014
1049
|
requestedAt?: string;
|
|
@@ -1452,7 +1487,7 @@ interface Methods {
|
|
|
1452
1487
|
result: SubscribeResult;
|
|
1453
1488
|
};
|
|
1454
1489
|
"desktop.reports.invalidate": {
|
|
1455
|
-
params?: Record<string, never
|
|
1490
|
+
params?: Record<string, never> | DesktopReportTarget;
|
|
1456
1491
|
result: Record<string, never>;
|
|
1457
1492
|
};
|
|
1458
1493
|
"desktop.settings.get": {
|
|
@@ -2158,4 +2193,4 @@ type ServeRoute = {
|
|
|
2158
2193
|
port: number;
|
|
2159
2194
|
};
|
|
2160
2195
|
//#endregion
|
|
2161
|
-
export { DesktopBuildEndedEvent as $, PushEvent as $n,
|
|
2196
|
+
export { DesktopBuildEndedEvent as $, PushEvent as $n, WorkspaceParams as $r, InputPostureParams as $t, BuildPlatform as A, MacosWindow as An, SimulatorCommand as Ar, ErrorCode as At, CAPABILITIES as B, NotificationSuppression as Bn, UsageSeries as Br, FramesSeekParams as Bt, BuildJobParams as C, MachineDetails as Cn, ServerResponse as Cr, DesktopWorktreeWarmProgressEvent as Ct, BuildOfferResult as D, MachineUpdateStatus as Dn, ServerUpdateStartParams as Dr, DeviceUsageSeries as Dt, BuildOfferParams as E, MachineHistoryParams as En, ServerUpdateProgress as Er, DevicePosture as Et, BuildSwiftpmArtifactQuery as F, NOTIFICATION_LEVELS as Fn, TOUCH_PHASES as Fr, Feature as Ft, ControlBeginParams as G, PROTOCOL_SCHEMA_FILE as Gn, VIDEO_KEYFRAME as Gr, HelloResult as Gt, CachedBuildArtifact as H, NotificationsListParams as Hn, VIDEO_CODECS as Hr, FramesSubscribeResult as Ht, BuildSyncParams as I, NOTIFICATION_SUPPRESSIONS as In, TouchPhase as Ir, FrameDelayedEvent as It, ControlEndedEvent as J, PUSH_TOKEN_PATTERN as Jn, VideoPacket as Jr, INPUT_KEYS as Jt, ControlBeginResult as K, PROTOCOL_VERSION as Kn, VIDEO_UNFOLDED as Kr, HostedSessionRow as Kt, BuildSyncResult as L, NotificationEntry as Ln, UnsubscribeParams as Lr, FrameEvent as Lt, BuildReactNativeArtifactQuery as M, MemoryPressure as Mn, StatsResult as Mr, FEATURES as Mt, BuildStartParams as N, Method as Nn, StatusEvent as Nr, FRAME_EDGE as Nt, BuildPlanParams as O, MachineUsage as On, ServerUpdateStatus as Or, DuoFramePose as Ot, BuildStimIdentity as P, Methods as Pn, SubscribeResult as Pr, FRAME_FPS as Pt, DesktopBootstrapChallenge as Q, ProtocolError as Qn, WorkspaceFiles as Qr, InputKeyParams as Qt, BuildToolchain as R, NotificationEvent as Rn, UsageHistory as Rr, FrameTarget as Rt, BuildJobOutcome as S, METHODS as Sn, ServerMessage as Sr, DesktopWorktreeWarmEndedEvent as St, BuildMachineReport as T, MachineHistory as Tn, ServerUpdatePackage as Tr, DeviceFrameEvent as Tt, Capability as U, NotificationsListResult as Un, VIDEO_FOLDED as Ur, GradleOffloadInputs as Ut, CONTROL_END_REASONS as V, NotificationTarget as Vn, VIDEO_ARTWORK as Vr, FramesSeekResult as Vt, ClientRequest as W, PLATFORMS as Wn, VIDEO_HEADER_VERSION as Wr, HelloParams as Wt, DEVICE_HOST_METHODS as X, PlatformBuildOptions as Xn, WorkspaceEvent as Xr, InputButtonParams as Xt, ControlPlatform as Y, Platform as Yn, WorkspaceDiff as Yr, InputButton as Yt, DEVICE_POSTURES as Z, PlatformRunOptions as Zn, WorkspaceFile as Zr, InputKey as Zt, BuildCapacity as _, LogsEndedEvent as _n, RequestId as _r, DesktopStartProgressEvent as _t, ActionResult as a, InputWindowParams as an, ROTATE_DIRECTIONS as ar, DesktopMachineAccessProgressEvent as at, BuildFingerprintSource as b, MAX_INPUT_TEXT as bn, ServeRoute as br, DesktopWorktreeRemoveEndedEvent as bt, ArchivedListParams as c, KeyframeParams as cn, ReloadPlatform as cr, DesktopReloadProgressEvent as ct, BUILD_REPO_PATTERN as d, LOG_SOURCES as dn, ReplayKeyframe as dr, DesktopReportTarget as dt, WorkspacePatch as ei, InputRotateParams as en, PushRegisterParams as er, DesktopBuildProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LegacyPushEvent as fn, ReplayKeyframeParams as fr, DesktopRunEndedEvent as ft, BuildAttachResult as g, LogSource as gn, ReplayTarget as gr, DesktopStartEndedEvent as gt, BuildArtifactResult as h, LogRecord as hn, ReplaySpan as hr, DesktopSettingsWriteResult as ht, ActionParams as i, InputTouchParams as in, REPLAY_RATES as ir, DesktopMachineAccessEndedEvent as it, BuildProgressEvent as j, MacosWindowsEvent as jn, SimulatorOptions as jr, ErrorEvent as jt, BuildPlanResult as k, MachineVolume as kn, SettingsResult as kr, ERROR_CODES as kt, ArchivedListResult as l, LEGACY_PUSH_EVENTS as ln, RemoteDiagnosis as lr, DesktopReportEvent as lt, BuildArtifactIdentity as m, LogLevel as mn, ReplayRange as mr, DesktopSettingsWriteParams as mt, ARCHIVED_PAGE_LIMIT as n, WorkspacesEvent as ni, InputSimulatorParams as nn, RELOAD_PLATFORMS as nr, DesktopGcProgressEvent as nt, ArchiveDetailParams as o, KEY_MODIFIERS as on, RecordingSetParams as or, DesktopPlanRefusal as ot, BuildAndroidOptions as p, LogFilter as pn, ReplayMarker as pr, DesktopRunProgressEvent as pt, ControlEndParams as q, PUSH_EVENTS as qn, VideoCodec as qr, INPUT_BUTTONS as qt, ActionName as r, WorkspacesSnapshot as ri, InputTextParams as rn, REPLAY_MARKER_KINDS as rr, DesktopLogFilter as rt, ArchiveDetailResult as s, KeyModifier as sn, RecordingSetResult as sr, DesktopReloadEndedEvent as st, ACTIONS as t, WorkspaceRef as ti, InputScrollParams as tn, QuietHours as tr, DesktopGcEndedEvent as tt, BUILD_METHODS as u, LOG_LEVELS as un, ReplayEndedEvent as ur, DesktopReportSnapshot as ut, BuildClientSummary as v, LogsEvent as vn, RotateDirection as vr, DesktopStopEndedEvent as vt, BuildMachineCapacity as w, MachineEvent as wn, ServerUpdateOutcome as wr, DeviceFrameArtwork as wt, BuildGradleArtifactQuery as x, MAX_LOG_TAIL as xn, ServerEvent as xr, DesktopWorktreeRemoveProgressEvent as xt, BuildFile as y, LogsQueryResult as yn, SERVER_UPDATE_METHODS as yr, DesktopStopProgressEvent as yt, BuildsHistoryResult as z, NotificationLevel as zn, UsageSample as zr, FramesLiveParams as zt };
|
package/dist/protocol.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as DesktopBuildEndedEvent, $n as PushEvent, $r as
|
|
2
|
-
export { ACTIONS, ARCHIVED_PAGE_LIMIT, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, ArchivedListParams, ArchivedListResult, BUILD_METHODS, BUILD_REPO_PATTERN, BUILD_RUBY_VERSION_PATTERN, BuildAndroidOptions, BuildArtifactIdentity, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildFingerprintSource, BuildGradleArtifactQuery, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildReactNativeArtifactQuery, BuildStartParams, BuildStimIdentity, BuildSwiftpmArtifactQuery, BuildSyncParams, BuildSyncResult, BuildToolchain, BuildsHistoryResult, CAPABILITIES, CONTROL_END_REASONS, CachedBuildArtifact, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DesktopBootstrapChallenge, DesktopBuildEndedEvent, DesktopBuildProgressEvent, DesktopGcEndedEvent, DesktopGcProgressEvent, DesktopLogFilter, DesktopMachineAccessEndedEvent, DesktopMachineAccessProgressEvent, DesktopPlanRefusal, DesktopReloadEndedEvent, DesktopReloadProgressEvent, DesktopReportEvent, DesktopReportSnapshot, DesktopReportTarget, DesktopRunEndedEvent, DesktopRunProgressEvent, DesktopSettingsWriteParams, DesktopSettingsWriteResult, DesktopStartEndedEvent, DesktopStartProgressEvent, DesktopStopEndedEvent, DesktopStopProgressEvent, DesktopWorktreeRemoveEndedEvent, DesktopWorktreeRemoveProgressEvent, DesktopWorktreeWarmEndedEvent, DesktopWorktreeWarmProgressEvent, DeviceFrameArtwork, DeviceFrameEvent, DevicePosture, DeviceUsageSeries, DuoFramePose, ERROR_CODES, ErrorCode, ErrorEvent, FEATURES, FRAME_EDGE, FRAME_FPS, Feature, FrameDelayedEvent, FrameEvent, FrameTarget, FramesLiveParams, FramesSeekParams, FramesSeekResult, FramesSubscribeResult, GradleOffloadInputs, HelloParams, HelloResult, HostedSessionRow, INPUT_BUTTONS, INPUT_KEYS, InputButton, InputButtonParams, InputKey, InputKeyParams, InputPostureParams, InputRotateParams, InputScrollParams, InputSimulatorParams, InputTextParams, InputTouchParams, InputWindowParams, KEY_MODIFIERS, KeyModifier, KeyframeParams, LEGACY_PUSH_EVENTS, LOG_LEVELS, LOG_SOURCES, LegacyPushEvent, LogFilter, LogLevel, LogRecord, LogSource, LogsEndedEvent, LogsEvent, LogsQueryResult, MAX_INPUT_TEXT, MAX_LOG_TAIL, METHODS, MachineDetails, MachineEvent, MachineHistory, MachineHistoryParams, MachineUpdateStatus, MachineUsage, MachineVolume, MacosWindow, MacosWindowsEvent, MemoryPressure, Method, Methods, NOTIFICATION_LEVELS, NOTIFICATION_SUPPRESSIONS, NotificationEntry, NotificationEvent, NotificationLevel, NotificationSuppression, NotificationTarget, NotificationsListParams, NotificationsListResult, PLATFORMS, PROTOCOL_SCHEMA_FILE, PROTOCOL_VERSION, PUSH_EVENTS, PUSH_TOKEN_PATTERN, Platform, PlatformBuildOptions, PlatformRunOptions, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, ReplayEndedEvent, ReplayKeyframe, ReplayKeyframeParams, ReplayMarker, ReplayRange, ReplaySpan, ReplayTarget, RequestId, RotateDirection, SERVER_UPDATE_METHODS, ServeRoute, ServerEvent, ServerMessage, ServerResponse, ServerUpdateOutcome, ServerUpdatePackage, ServerUpdateProgress, ServerUpdateStartParams, ServerUpdateStatus, SettingsResult, SimulatorCommand, SimulatorOptions, StatsResult, StatusEvent, SubscribeResult, TOUCH_PHASES, TouchPhase, UnsubscribeParams, UsageHistory, UsageSample, UsageSeries, VIDEO_ARTWORK, VIDEO_CODECS, VIDEO_FOLDED, VIDEO_HEADER_VERSION, VIDEO_KEYFRAME, VIDEO_UNFOLDED, VideoCodec, VideoPacket, WorkspaceDiff, WorkspaceEvent, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch, WorkspaceRef, WorkspacesEvent, WorkspacesSnapshot };
|
|
1
|
+
import { $ as DesktopBuildEndedEvent, $n as PushEvent, $r as WorkspaceParams, $t as InputPostureParams, A as BuildPlatform, An as MacosWindow, Ar as SimulatorCommand, At as ErrorCode, B as CAPABILITIES, Bn as NotificationSuppression, Br as UsageSeries, Bt as FramesSeekParams, C as BuildJobParams, Cn as MachineDetails, Cr as ServerResponse, Ct as DesktopWorktreeWarmProgressEvent, D as BuildOfferResult, Dn as MachineUpdateStatus, Dr as ServerUpdateStartParams, Dt as DeviceUsageSeries, E as BuildOfferParams, En as MachineHistoryParams, Er as ServerUpdateProgress, Et as DevicePosture, F as BuildSwiftpmArtifactQuery, Fn as NOTIFICATION_LEVELS, Fr as TOUCH_PHASES, Ft as Feature, G as ControlBeginParams, Gn as PROTOCOL_SCHEMA_FILE, Gr as VIDEO_KEYFRAME, Gt as HelloResult, H as CachedBuildArtifact, Hn as NotificationsListParams, Hr as VIDEO_CODECS, Ht as FramesSubscribeResult, I as BuildSyncParams, In as NOTIFICATION_SUPPRESSIONS, Ir as TouchPhase, It as FrameDelayedEvent, J as ControlEndedEvent, Jn as PUSH_TOKEN_PATTERN, Jr as VideoPacket, Jt as INPUT_KEYS, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Kr as VIDEO_UNFOLDED, Kt as HostedSessionRow, L as BuildSyncResult, Ln as NotificationEntry, Lr as UnsubscribeParams, Lt as FrameEvent, M as BuildReactNativeArtifactQuery, Mn as MemoryPressure, Mr as StatsResult, Mt as FEATURES, N as BuildStartParams, Nn as Method, Nr as StatusEvent, Nt as FRAME_EDGE, O as BuildPlanParams, On as MachineUsage, Or as ServerUpdateStatus, Ot as DuoFramePose, P as BuildStimIdentity, Pn as Methods, Pr as SubscribeResult, Pt as FRAME_FPS, Q as DesktopBootstrapChallenge, Qn as ProtocolError, Qr as WorkspaceFiles, Qt as InputKeyParams, R as BuildToolchain, Rn as NotificationEvent, Rr as UsageHistory, Rt as FrameTarget, S as BuildJobOutcome, Sn as METHODS, Sr as ServerMessage, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tr as ServerUpdatePackage, Tt as DeviceFrameEvent, U as Capability, Un as NotificationsListResult, Ur as VIDEO_FOLDED, Ut as GradleOffloadInputs, V as CONTROL_END_REASONS, Vn as NotificationTarget, Vr as VIDEO_ARTWORK, Vt as FramesSeekResult, W as ClientRequest, Wn as PLATFORMS, Wr as VIDEO_HEADER_VERSION, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xn as PlatformBuildOptions, Xr as WorkspaceEvent, Xt as InputButtonParams, Y as ControlPlatform, Yn as Platform, Yr as WorkspaceDiff, Yt as InputButton, Z as DEVICE_POSTURES, Zn as PlatformRunOptions, Zr as WorkspaceFile, Zt as InputKey, _ as BuildCapacity, _n as LogsEndedEvent, _r as RequestId, _t as DesktopStartProgressEvent, a as ActionResult, an as InputWindowParams, ar as ROTATE_DIRECTIONS, at as DesktopMachineAccessProgressEvent, b as BuildFingerprintSource, bn as MAX_INPUT_TEXT, br as ServeRoute, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, cn as KeyframeParams, cr as ReloadPlatform, ct as DesktopReloadProgressEvent, d as BUILD_REPO_PATTERN, dn as LOG_SOURCES, dr as ReplayKeyframe, dt as DesktopReportTarget, ei as WorkspacePatch, en as InputRotateParams, er as PushRegisterParams, et as DesktopBuildProgressEvent, f as BUILD_RUBY_VERSION_PATTERN, fn as LegacyPushEvent, fr as ReplayKeyframeParams, ft as DesktopRunEndedEvent, g as BuildAttachResult, gn as LogSource, gr as ReplayTarget, gt as DesktopStartEndedEvent, h as BuildArtifactResult, hn as LogRecord, hr as ReplaySpan, ht as DesktopSettingsWriteResult, i as ActionParams, in as InputTouchParams, ir as REPLAY_RATES, it as DesktopMachineAccessEndedEvent, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as SimulatorOptions, jt as ErrorEvent, k as BuildPlanResult, kn as MachineVolume, kr as SettingsResult, kt as ERROR_CODES, l as ArchivedListResult, ln as LEGACY_PUSH_EVENTS, lr as RemoteDiagnosis, lt as DesktopReportEvent, m as BuildArtifactIdentity, mn as LogLevel, mr as ReplayRange, mt as DesktopSettingsWriteParams, n as ARCHIVED_PAGE_LIMIT, ni as WorkspacesEvent, nn as InputSimulatorParams, nr as RELOAD_PLATFORMS, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, on as KEY_MODIFIERS, or as RecordingSetParams, ot as DesktopPlanRefusal, p as BuildAndroidOptions, pn as LogFilter, pr as ReplayMarker, pt as DesktopRunProgressEvent, q as ControlEndParams, qn as PUSH_EVENTS, qr as VideoCodec, qt as INPUT_BUTTONS, r as ActionName, ri as WorkspacesSnapshot, rn as InputTextParams, rr as REPLAY_MARKER_KINDS, rt as DesktopLogFilter, s as ArchiveDetailResult, sn as KeyModifier, sr as RecordingSetResult, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspaceRef, tn as InputScrollParams, tr as QuietHours, tt as DesktopGcEndedEvent, u as BUILD_METHODS, un as LOG_LEVELS, ur as ReplayEndedEvent, ut as DesktopReportSnapshot, v as BuildClientSummary, vn as LogsEvent, vr as RotateDirection, vt as DesktopStopEndedEvent, w as BuildMachineCapacity, wn as MachineEvent, wr as ServerUpdateOutcome, wt as DeviceFrameArtwork, x as BuildGradleArtifactQuery, xn as MAX_LOG_TAIL, xr as ServerEvent, xt as DesktopWorktreeRemoveProgressEvent, y as BuildFile, yn as LogsQueryResult, yr as SERVER_UPDATE_METHODS, yt as DesktopStopProgressEvent, z as BuildsHistoryResult, zn as NotificationLevel, zr as UsageSample, zt as FramesLiveParams } from "./protocol-swbEkLsj.mjs";
|
|
2
|
+
export { ACTIONS, ARCHIVED_PAGE_LIMIT, ActionName, ActionParams, ActionResult, ArchiveDetailParams, ArchiveDetailResult, ArchivedListParams, ArchivedListResult, BUILD_METHODS, BUILD_REPO_PATTERN, BUILD_RUBY_VERSION_PATTERN, BuildAndroidOptions, BuildArtifactIdentity, BuildArtifactResult, BuildAttachResult, BuildCapacity, BuildClientSummary, BuildFile, BuildFingerprintSource, BuildGradleArtifactQuery, BuildJobOutcome, BuildJobParams, BuildMachineCapacity, BuildMachineReport, BuildOfferParams, BuildOfferResult, BuildPlanParams, BuildPlanResult, BuildPlatform, BuildProgressEvent, BuildReactNativeArtifactQuery, BuildStartParams, BuildStimIdentity, BuildSwiftpmArtifactQuery, BuildSyncParams, BuildSyncResult, BuildToolchain, BuildsHistoryResult, CAPABILITIES, CONTROL_END_REASONS, CachedBuildArtifact, Capability, ClientRequest, ControlBeginParams, ControlBeginResult, ControlEndParams, ControlEndedEvent, ControlPlatform, DEVICE_HOST_METHODS, DEVICE_POSTURES, DesktopBootstrapChallenge, DesktopBuildEndedEvent, DesktopBuildProgressEvent, DesktopGcEndedEvent, DesktopGcProgressEvent, DesktopLogFilter, DesktopMachineAccessEndedEvent, DesktopMachineAccessProgressEvent, DesktopPlanRefusal, DesktopReloadEndedEvent, DesktopReloadProgressEvent, DesktopReportEvent, DesktopReportSnapshot, DesktopReportTarget, DesktopRunEndedEvent, DesktopRunProgressEvent, DesktopSettingsWriteParams, DesktopSettingsWriteResult, DesktopStartEndedEvent, DesktopStartProgressEvent, DesktopStopEndedEvent, DesktopStopProgressEvent, DesktopWorktreeRemoveEndedEvent, DesktopWorktreeRemoveProgressEvent, DesktopWorktreeWarmEndedEvent, DesktopWorktreeWarmProgressEvent, DeviceFrameArtwork, DeviceFrameEvent, DevicePosture, DeviceUsageSeries, DuoFramePose, ERROR_CODES, ErrorCode, ErrorEvent, FEATURES, FRAME_EDGE, FRAME_FPS, Feature, FrameDelayedEvent, FrameEvent, FrameTarget, FramesLiveParams, FramesSeekParams, FramesSeekResult, FramesSubscribeResult, GradleOffloadInputs, HelloParams, HelloResult, HostedSessionRow, INPUT_BUTTONS, INPUT_KEYS, InputButton, InputButtonParams, InputKey, InputKeyParams, InputPostureParams, InputRotateParams, InputScrollParams, InputSimulatorParams, InputTextParams, InputTouchParams, InputWindowParams, KEY_MODIFIERS, KeyModifier, KeyframeParams, LEGACY_PUSH_EVENTS, LOG_LEVELS, LOG_SOURCES, LegacyPushEvent, LogFilter, LogLevel, LogRecord, LogSource, LogsEndedEvent, LogsEvent, LogsQueryResult, MAX_INPUT_TEXT, MAX_LOG_TAIL, METHODS, MachineDetails, MachineEvent, MachineHistory, MachineHistoryParams, MachineUpdateStatus, MachineUsage, MachineVolume, MacosWindow, MacosWindowsEvent, MemoryPressure, Method, Methods, NOTIFICATION_LEVELS, NOTIFICATION_SUPPRESSIONS, NotificationEntry, NotificationEvent, NotificationLevel, NotificationSuppression, NotificationTarget, NotificationsListParams, NotificationsListResult, PLATFORMS, PROTOCOL_SCHEMA_FILE, PROTOCOL_VERSION, PUSH_EVENTS, PUSH_TOKEN_PATTERN, Platform, PlatformBuildOptions, PlatformRunOptions, ProtocolError, PushEvent, PushRegisterParams, QuietHours, RELOAD_PLATFORMS, REPLAY_MARKER_KINDS, REPLAY_RATES, ROTATE_DIRECTIONS, RecordingSetParams, RecordingSetResult, ReloadPlatform, RemoteDiagnosis, ReplayEndedEvent, ReplayKeyframe, ReplayKeyframeParams, ReplayMarker, ReplayRange, ReplaySpan, ReplayTarget, RequestId, RotateDirection, SERVER_UPDATE_METHODS, ServeRoute, ServerEvent, ServerMessage, ServerResponse, ServerUpdateOutcome, ServerUpdatePackage, ServerUpdateProgress, ServerUpdateStartParams, ServerUpdateStatus, SettingsResult, SimulatorCommand, SimulatorOptions, StatsResult, StatusEvent, SubscribeResult, TOUCH_PHASES, TouchPhase, UnsubscribeParams, UsageHistory, UsageSample, UsageSeries, VIDEO_ARTWORK, VIDEO_CODECS, VIDEO_FOLDED, VIDEO_HEADER_VERSION, VIDEO_KEYFRAME, VIDEO_UNFOLDED, VideoCodec, VideoPacket, WorkspaceDiff, WorkspaceEvent, WorkspaceFile, WorkspaceFiles, WorkspaceParams, WorkspacePatch, WorkspaceRef, WorkspacesEvent, WorkspacesSnapshot };
|
package/dist/protocol.mjs
CHANGED
|
@@ -48,10 +48,13 @@ const CAPABILITIES = [
|
|
|
48
48
|
* `server-update` is `server.update.status`, `server.update.start` and `server.update.chunk`.
|
|
49
49
|
* `build-compat` accepts `compat` on `build.start`, and in place of `stimBuild` in React Native and SwiftPM artifact
|
|
50
50
|
* queries.
|
|
51
|
+
* `build-jdk` accepts `jdk` on `build.start`, the JDK major an Android build runs on; the machine finds an installed JDK of that
|
|
52
|
+
* major when its default differs.
|
|
51
53
|
* `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
|
|
52
54
|
* `archived.list`, `worktrees.list` and `maintenance.get`.
|
|
53
55
|
* `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
|
|
54
56
|
* `desktop-report-platform` accepts an optional ios/android selector for Desktop doctor reports.
|
|
57
|
+
* `desktop-report-invalidate-target` accepts a report target in `desktop.reports.invalidate`, which then invalidates only it.
|
|
55
58
|
* `desktop-settings` reads settings for a selected folder on the authenticated local Desktop connection.
|
|
56
59
|
* `desktop-settings-schema` supplies this server's registry-derived settings schema to local Desktop clients.
|
|
57
60
|
* `desktop-settings-write` mutates settings on the proved local Desktop connection.
|
|
@@ -99,9 +102,11 @@ const FEATURES = [
|
|
|
99
102
|
"hosted-metro-ports",
|
|
100
103
|
"server-update",
|
|
101
104
|
"build-compat",
|
|
105
|
+
"build-jdk",
|
|
102
106
|
"status-views",
|
|
103
107
|
"desktop-reports",
|
|
104
108
|
"desktop-report-platform",
|
|
109
|
+
"desktop-report-invalidate-target",
|
|
105
110
|
"desktop-settings",
|
|
106
111
|
"desktop-settings-schema",
|
|
107
112
|
"desktop-settings-write",
|