@stim-cli/core 1.38.0 → 1.39.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-UT7ghV30.d.mts → index-DRnTwJ-z.d.mts} +23 -3
- package/dist/index.d.mts +1 -1
- package/dist/phone-protocol.d.mts +5 -9
- package/dist/{protocol-CGriFVo2.d.mts → protocol-D8N3IFDO.d.mts} +118 -23
- package/dist/protocol.d.mts +2 -2
- package/dist/protocol.mjs +13 -5
- package/dist/receive-protocol.mjs +5977 -7174
- package/dist/state.d.mts +2 -2
- package/dist/state.mjs +62 -18
- package/package.json +1 -1
|
@@ -484,6 +484,7 @@ interface IdleStopRecord {
|
|
|
484
484
|
}
|
|
485
485
|
declare function readIdleStop(state: WorkspaceState | null | undefined): IdleStopRecord | null;
|
|
486
486
|
declare const DEVICE_RECLAIM_REASON = "reclaimed for a waiting run";
|
|
487
|
+
declare const DEVICE_METRO_IDLE_STOP_REASON = "Metro's idle stop";
|
|
487
488
|
declare const DEVICE_IDLE_SHUTDOWN_KEY = "deviceIdleShutdowns";
|
|
488
489
|
/** An owned simulator or emulator shut down after being idle. */
|
|
489
490
|
interface DeviceIdleShutdownRecord {
|
|
@@ -980,6 +981,8 @@ declare function replacementAdvice(key: string, old: unknown): {
|
|
|
980
981
|
key: string;
|
|
981
982
|
command: string | null;
|
|
982
983
|
} | null;
|
|
984
|
+
declare const SHARE_DEFAULT_PORT = 7790;
|
|
985
|
+
declare const SHARE_EXPOSURES: readonly ["auto", "tailscale", "proxy"];
|
|
983
986
|
declare const WEB_VIEWPORTS: readonly ["desktop", "phone"];
|
|
984
987
|
type WebViewport = (typeof WEB_VIEWPORTS)[number];
|
|
985
988
|
declare const SETTINGS: readonly SettingDefinition[];
|
|
@@ -1003,7 +1006,7 @@ type StatsPlatform = "ios" | "android";
|
|
|
1003
1006
|
/** A platform whose build reports phases: the stats platforms and `macos`. */
|
|
1004
1007
|
type BuildPlatform = StatsPlatform | "macos";
|
|
1005
1008
|
type RunOutcomeKind = "hit" | "cold";
|
|
1006
|
-
declare const BUILD_PHASES: readonly ["prepare", "cache-lookup", "wait", "prebuild", "pods", "compile", "device", "install", "launch"];
|
|
1009
|
+
declare const BUILD_PHASES: readonly ["prepare", "cleanup", "cache-lookup", "wait", "prebuild", "pods", "compile", "device", "install", "launch"];
|
|
1007
1010
|
type BuildPhase = (typeof BUILD_PHASES)[number];
|
|
1008
1011
|
type ActiveBuildState = "running" | "stale" | "unknown";
|
|
1009
1012
|
/**
|
|
@@ -1213,6 +1216,11 @@ interface BuildPlanPayload {
|
|
|
1213
1216
|
};
|
|
1214
1217
|
/** With ios.remote or android.remote set to auto or a Mac, where the plan assumes the device runs, such as `this machine; auto may use janics-mac-mini`. */
|
|
1215
1218
|
placement?: string;
|
|
1219
|
+
/** Resolved build preference; automatic worker availability and compatibility are checked at run time. */
|
|
1220
|
+
buildPlacement?: {
|
|
1221
|
+
preference: string;
|
|
1222
|
+
reason: string;
|
|
1223
|
+
};
|
|
1216
1224
|
}
|
|
1217
1225
|
/** The read-only `stim macos --plan --json` payload; SwiftPM work and worker availability remain unknown. */
|
|
1218
1226
|
interface MacosBuildPlanPayload {
|
|
@@ -1644,6 +1652,8 @@ interface EnvironmentState {
|
|
|
1644
1652
|
stateDir: string;
|
|
1645
1653
|
installed?: boolean;
|
|
1646
1654
|
};
|
|
1655
|
+
/** The verified canonical Git checkout root, including primary checkouts; null outside Git or when unreadable. This does not imply removable worktree ownership. */
|
|
1656
|
+
checkout?: string | null;
|
|
1647
1657
|
worktree?: WorktreeFacts | null;
|
|
1648
1658
|
remoteDevices?: RemoteDeviceState[];
|
|
1649
1659
|
/** The physical devices this workspace leases, in every slot; absent when it leases none. */
|
|
@@ -1828,6 +1838,8 @@ interface MachineCapacity {
|
|
|
1828
1838
|
maxLoadPerCore: number;
|
|
1829
1839
|
}
|
|
1830
1840
|
declare function maxLoadPerCore(): number;
|
|
1841
|
+
/** `server.maxOffloadedBuilds`: how many builds from other machines run here at once, 0 when unlimited. */
|
|
1842
|
+
declare function maxOffloadedBuilds(): number;
|
|
1831
1843
|
/** The 5-minute load average per CPU, rounded to one decimal, and the CPU count it divides by. */
|
|
1832
1844
|
declare function loadPerCore(): {
|
|
1833
1845
|
cpus: number;
|
|
@@ -2083,8 +2095,13 @@ interface StimConfig {
|
|
|
2083
2095
|
acceptClientBuilds?: unknown;
|
|
2084
2096
|
lanAddresses?: unknown;
|
|
2085
2097
|
maxLoadPerCore?: unknown;
|
|
2098
|
+
maxOffloadedBuilds?: unknown;
|
|
2086
2099
|
workerRoot?: unknown;
|
|
2087
|
-
|
|
2100
|
+
};
|
|
2101
|
+
share?: {
|
|
2102
|
+
exposure?: unknown;
|
|
2103
|
+
publicUrl?: unknown;
|
|
2104
|
+
port?: unknown;
|
|
2088
2105
|
};
|
|
2089
2106
|
remote?: {
|
|
2090
2107
|
machines?: unknown;
|
|
@@ -2714,8 +2731,10 @@ interface StatsBucket {
|
|
|
2714
2731
|
misses: number;
|
|
2715
2732
|
coldRuns: number;
|
|
2716
2733
|
coldRunMs: number;
|
|
2734
|
+
coldCleanupMs?: number;
|
|
2717
2735
|
hitRuns: number;
|
|
2718
2736
|
hitRunMs: number;
|
|
2737
|
+
hitCleanupMs?: number;
|
|
2719
2738
|
timeSavedMs: number;
|
|
2720
2739
|
firstRunAt: string;
|
|
2721
2740
|
lastRunAt: string;
|
|
@@ -2723,6 +2742,7 @@ interface StatsBucket {
|
|
|
2723
2742
|
lastPodsMs?: number;
|
|
2724
2743
|
offloadedRuns?: number;
|
|
2725
2744
|
offloadedRunMs?: number;
|
|
2745
|
+
offloadedCleanupMs?: number;
|
|
2726
2746
|
lastOffloadHost?: string;
|
|
2727
2747
|
}
|
|
2728
2748
|
type StatsScope = Partial<Record<StatsPlatform, StatsBucket>>;
|
|
@@ -3149,4 +3169,4 @@ declare class KeyedEntities<T> {
|
|
|
3149
3169
|
/** Applies `delta` to `entities` keyed by `key`, keeping the order of `entities` and appending new keys. */
|
|
3150
3170
|
declare function applyKeyedDelta<T>(entities: readonly T[], delta: KeyedDelta<T>, key: (entity: T) => string): T[];
|
|
3151
3171
|
//#endregion
|
|
3152
|
-
export { hostedMetroLinks as $, machineCapacity as $a, parseHostedAndroidPlacement as $c, getPlatformDeviceLimits as $i, HostedLocalPlatformCounts as $l, easSessionLedgerFile as $n, NATIVE_BUILD_STEPS as $o, fileSizes as $r, coerceSettingText as $s, readPullRequestCache as $t, validHostedAppArguments as $u, BuildLedgerPlatform as A, DEFAULT_SERVER_PORT as Aa, MaintenancePass as Ac, readStateFile as Ai, readDeviceIdleShutdowns as Al, prefersRemote as An, BuildResult as Ao, workspaceLightenedFile as Ar, WorktreeGit as As, trimCapacityWaits as At, HostedMacosDevice as Au, HOSTED_LOGS_FIRST_BYTES as B, findPeer as Ba, HostedIosPlacement as Bc, trace as Bi, HOSTED_PARKED_CANDIDATES as Bl, buildMachinesFile as Bn, EnvironmentState as Bo, LogDirQuery as Br, SETTING_GROUPS as Bs, StatusCacheEntry as Bt, HOSTED_APP_CHUNK_BYTES as Bu, BuildLedgerBoot as C, SupervisorRecord as Ca, readArchives as Cc, parseNdjsonText as Cd, EasSessionLedgerRead as Ci, buildDiagnostics as Cl, recordingDeviceName as Cn, BuildMissChange as Co, trashRoot as Cr, WORKSPACE_STAGE_KINDS as Cs, offloadSummary as Ct, HostedAgentAccess as Cu, BuildLedgerFailure as D, MachineCredential as Da, MaintenanceActionKind as Dc, isJsonObject as Di, readBuildHistory as Dl, PlacementWord as Dn, BuildPlanPayload as Do, workspaceEndedAgentsFile as Dr, WorkspacePhase as Ds, readStatsReport as Dt, HostedAgentLease as Du, BuildLedgerDevice as E, MACHINE_CREDENTIALS_VERSION as Ea, MaintenanceAction as Ec, validEasSessionClaim as Ei, parseMissReason as El, PLACEMENT_WORDS as En, BuildPlacement as Eo, workspaceDerivedData as Er, WebPageState as Es, readStats as Et, HostedAgentIssuedGrant as Eu, GcLogRecord as F, TailnetPeer as Fa, MaintenanceStatus as Fc, Trace as Fi, readWorkspaceAgent as Fl, budgetSweepFile as Fn, DeviceLeaseState as Fo, workspaceStateFile as Fr, IOS_SIMULATOR_APPS as Fs, readViewedDevices as Ft, parseHostedAgentAccess as Fu, hostedNativeLogsDir as G, sameTailnet as Ga, parseHostedIosPlacement as Gc, debugLoggingEnabled as Gi, HostedDeviceOfferRequest as Gl, createdDevicesLock as Gn, MACHINE_OWNER_KINDS as Go, NATIVE_CRASH_LOG_PREFIX as Gr, SettingType as Gs, gitMergeCacheFile as Gt, hostedAppArea as Gu, HostedLogsCursor as H, machineEndpoint as Ha, hostedIosPlacements as Hc, DebugLog as Hi, HostedAndroidDevice as Hl, clientIdentityKeyFile as Hn, GitChipPart as Ho, ERROR_SOURCES as Hr, SettingDefinition as Hs, diskUsageCacheFile as Ht, HostedAppFile as Hu, GcLogStatus as I, WrongTailnet as Ia, MemoryCulprit as Ic, TraceArgs as Ii, readWorkspaceState as Il, budgetSweepLock as In, DevicePlacement as Io, workspaceStateLock as Ir, REMOTE_DEVICE_BACKENDS as Is, stimBuildDigest as It, parseHostedAgentGrant as Iu, readLogsSince as J, MachineCapacity as Ja, HostedAndroidStatus as Jc, buildWorkerRoot as Ji, HostedDeviceRequest as Jl, deviceHostMachinesLock as Jn, MachineOwnerKind as Jo, attachExpoErrorContext as Jr, TUNNEL_MODES as Js, readAgentSessionsCache as Jt, parseHostedAppManifest as Ju, parseHostedLogsCursor as K, tailscaleEnv as Ka, unreadableHostedIos as Kc, ParkedMax as Ki, HostedDevicePhase as Kl, deviceHostMachinesClaims as Kn, MEMORY_SOURCES as Ko, QueryCriteria as Kr, SettingWriteResult as Ks, listStatusCacheEntries as Kt, hostedAppAttempt as Ku, GcLogTrigger as L, cannotHost as La, parseMaintenanceState as Lc, TracePhases as Li, workspaceLastUsed as Ll, buildLedgerDir as Ln, DiskMeasure as Lo, worktreeArchiveRoot as Lr, REPLACED_SETTINGS as Ls, AgentSessionsCache as Lt, parseHostedMacosChoice as Lu, isBuildLedgerRecord as M, MachineTransport as Ma, MaintenanceRecord as Mc, readHomeIdentity as Mi, readIdleStop as Ml, archiveDir as Mn, ChecksState as Mo, workspaceLogsDir as Mr, ANDROID_COMPILER_CACHE_CHOICES as Ms, wholePhases as Mt, hostedAgentDriverName as Mu, readBuildLedger as N, TAILNET_MACHINE_PATTERN as Na, MaintenanceSize as Nc, EndSpan as Ni, readLastBuilds as Nl, archiveLock as Nn, DeviceActivity as No, workspaceMetadataFile as Nr, ANDROID_EMULATOR_APPS as Ns, DeviceViewersRecord as Nt, hostedMacosAppSlot as Nu, BuildLedgerOutcome as O, parseMachineCredential as Oa, MaintenanceCheck as Oc, readJsonFile as Oi, readDevServerStop as Ol, mayRunHere as On, BuildPlatform as Oo, workspaceEndedAgentsLock as Or, WorkspaceStage as Os, statsProjectKey as Ot, HostedAppLaunch as Ou, GcLogOptions as P, TailnetIdentity as Pa, MaintenanceState as Pc, TRACE_ENV as Pi, readWarmRecord as Pl, archiveRoot as Pn, DeviceAppProcess as Po, workspaceRecordingsDir as Pr, ANDROID_PCH_CHOICES as Ps, ViewedDevice as Pt, hostedMacosBundleId as Pu, HostedMetroRequest as Q, loadState as Qa, hostedAndroidStatus as Qc, getParkedMax as Qi, HostedIosDevice as Ql, easMachineStateRoot as Qn, MetroBundleState as Qo, fileIdentity as Qr, acceptsShape as Qs, readEndedAgentSessions as Qt, rememberHostedAppBlobRename as Qu, isGcLogRecord as R, currentTailnet as Ra, readMaintenanceAttempt as Rc, redactArgv as Ri, DEVICE_HOST_LIMITS as Rl, buildLedgerFile as Rn, EndedAgentSession as Ro, createNdjsonTail as Rr, RemoteDeviceBackend as Rs, ENDED_AGENT_RETENTION_MS as Rt, parseHostedMacosDevice as Ru, BUILD_LEDGER_CAP as S, StimConfig as Sa, readArchiveState as Sc, parseNdjsonLine as Sd, EasSessionClaim as Si, WorkspaceState as Sl, recordedBytes as Sn, BuildMissCategory as So, supervisorPidFile as Sr, WORKSPACE_PHASES as Ss, findProjectRoot as St, HOSTED_MACOS_APP_SLOTS as Su, BuildLedgerCacheResult as T, BuildMachineCredential as Ta, DiskPressureLevel as Tc, readEasSessionLedger as Ti, lastUseFrom as Tl, AutomaticPlacement as Tn, BuildPhase as To, workspaceBuildDetailFile as Tr, WebBrowserState as Ts, readRunEstimates as Tt, HostedAgentGrant as Tu, HostedLogsPage as U, parseMachine as Ua, hostedIosRecords as Uc, createDebugLog as Ui, HostedDevice as Ul, configLockPath as Un, LastBuildReport as Uo, LogQueryOptions as Ur, SettingEntry as Us, diskUsageFailureFile as Ut, HostedAppOffer as Uu, HOSTED_LOGS_PAGE_BYTES as V, localEndpoint as Va, HostedIosStatus as Vc, DEBUG_ENV as Vi, HostedAndroidChoice as Vl, buildMachinesLock as Vn, GitChip as Vo, openLogDir as Vr, SETTING_SCOPES as Vs, agentSessionOf as Vt, HostedAppDelivery as Vu, hostedMacosLogsDir as W, parseTailnetIdentity as Wa, hostedIosStatus as Wc, debugLogDir as Wi, HostedDeviceOffer as Wl, createdDevicesFile as Wn, LoadState as Wo, LogQueryPlan as Wr, SettingScope as Ws, endedAgentSessionOf as Wt, HostedAppRecord as Wu, HOSTED_METRO_REQUESTS_KEY as X, buildSlotsDir as Xa, hostedAndroidPlacements as Xc, findEnclosingWorktreeRoot as Xi, HostedDeviceSession as Xl, diskUsageCacheDir as Xn, MacosBuildPlanPayload as Xo, bundleMarkerPlatform as Xr, WEB_VIEWPORTS as Xs, readDiskUsage as Xt, readHostedApp as Xu, HOSTED_METRO_LINKS_KEY as Y, buildSlotPath as Ya, hostedAndroidDeviceName as Yc, configCorruptRepair as Yi, HostedDeviceSelectors as Yl, deviceViewersDir as Yn, MachineUsageState as Yo, buildCriteria as Yr, TunnelMode as Ys, readBuildDetail as Yt, parseHostedAppOffer as Yu, HostedMetroLinks as Z, loadPerCore as Za, hostedAndroidRecords as Zc, getConcurrencyLimits as Zi, HostedIosChoice as Zl, diskUsageWalkClaims as Zn, MemorySource as Zo, compileGrep as Zr, WebViewport as Zs, readDiskUsageFailure as Zt, readHostedAppMetadata as Zu, isSetupJournalPrunable as _, PlatformDeviceLimits as _a, archiveEnabled as _c, createAsyncAgentActionReader as _d, fingerprintMemoLock as _i, MetroLastStop as _l, listRecordedDevices as _n, BuildCacheHit as _o, sharedCompilationCache as _r, StatusIssueCode as _s, StatsPlacement as _t, parseHostedRequest as _u, MachineView as a, windowsShortDir as aa, settingValueError as ac, SwiftpmCacheUsage as ad, planLogQuery as ai, BUILD_HISTORY_KEY as al, RUN_ID_ENV as an, APP_PROCESS_STATES as ao, gitMergeCacheDir as ar, RemoteDeviceState as as, CAPACITY_REFUSAL_MAX_AGE_MS as at, hostedDeviceId as au, agentDeviceStateDirs as b, RepoRecord as ba, readArchive as bc, SOURCES as bd, CreatedDevicePlatform as bi, WORKSPACE_AGENT_KEY as bl, listSegmentsAsync as bn, BuildDiagnostic as bo, statsFile as br, TUTORIAL_VERSION as bs, StatsScope as bt, readHostedSessions as bu, SummaryBuild as c, withConfigLockAsync as ca, MacosBuild as cc, AgentDeviceUsage as cd, readLogRecords as ci, DEVICE_RECLAIM_REASON as cl, RECORDING_CAP_BYTES as cn, ActivityRecencyBasis as co, maintenanceDir as cr, SimulatorState as cs, PLACEMENT_DECISIONS as ct, hostedWorkerSettleMs as cu, WorktreeRow as d, requireAutomaticMachine as da, parseMacosRecord as dc, readAgentDeviceUsage as dd, sortByTs as di, DevServerStopRequest as dl, RecordedDevice as dn, AndroidDeviceState as do, maintenanceStateFile as dr, StatusBuildSlots as ds, RunHistory as dt, parseHostedDevice as du, getProject as ea, expectedShape as ec, validHostedAppBlob as ed, followLogs as ei, unreadableHostedAndroid as el, withDerivedFacts as en, maxLoadPerCore as eo, easSessionLedgerLock as er, NativeBuildStep as es, hostedMetroRequests as et, HostedNativeOffer as eu, statusViews as f, validateAutomaticPool as fa, readHostedMacosApp as fc, readAgentDeviceUsageCache as fd, tailRead as fi, DeviceIdleShutdownRecord as fl, RecordedSegment as fn, AndroidRuntimeFacts as fo, pullRequestCacheDir as fr, StatusCapacity as fs, RunSample as ft, parseHostedLocalDeviceCount as fu, isJournalExpired as g, DoctorRunRecord as ga, ArchivedWorkspace as gc, createAgentActionReader as gd, fingerprintMemoFile as gi, MAINTENANCE_LOG_NAME as gl, footageDrops as gn, BuildActivity as go, sharedCcache as gr, StatusIssue as gs, StatsCapacityWait as gt, parseHostedPlatformDevice as gu, SetupJournal as h, DeviceRecord as ha, ArchivedUsage as hc, AgentTarget as hd, fingerprintMemoDir as hi, LAST_BUILD_KEYS as hl, closedSegmentName as hn, BUILD_RESULTS as ho, setupJournalFile as hr, StatusDeviceSlots as hs, StatsCapacityRefusal as ht, parseHostedOfferRequest as hu, ArchivedSummary as i, loadConfig as ia, settingDefinition as ic, readMachineCacheUsage as id, parseSince as ii, unreadableHostedNative as il, settingsJsonSchema as in, AGENT_TOOLS as io, getConfigPath as ir, PlannedPhase as is, CAPACITY_REFUSAL_LIMIT as it, hostedConsolePort as iu, BuildLedgerRecord as j, Endpoint as ja, MaintenancePressure as jc, withStateReadCache as ji, readDevicePlacement as jl, agentSessionsCacheFile as jn, BuildWaitingFor as jo, workspaceLogErrorIndex as jr, WorktreePullRequest as js, trimSamples as jt, HostedMacosPlacement as ju, BuildLedgerPlacement as k, readBuildMachines as ka, MaintenanceMode as kc, readJsonObject as ki, readDevServerStopRequest as kl, placementWord as kn, BuildReport as ko, workspaceGradleBuild as kr, WorktreeFacts as ks, trimCapacityRefusals as kt, HostedMacosChoice as ku, SummaryHistoryEntry as l, AutomaticPoolRole as la, MacosProcess as lc, AgentDeviceUsageRoots as ld, readLogTimeline as li, DEV_SERVER_STOP_REQUEST_KEY as ll, RECORDING_FOOTAGE_MS as ln, AgentSession as lo, maintenanceNdjsonFile as lr, StatsPlatform as ls, ReadStatsResult as lt, parseHostedAndroidDevice as lu, SetupCapability as m, Config as ma, ArchivedBytes as mc, AgentRecordSelection as md, FingerprintMemoRecord as mi, IdleStopRecord as ml, capDrops as mn, BUILD_PHASES as mo, serverSetupDir as mr, StatusDeviceSlotHolder as ms, StatsBucket as mt, parseHostedNativeOffer as mu, KeyedEntities as n, getRepoSettings as na, isSensitiveReference as nc, SimRuntimeUsage as nd, logFiles as ni, hostedNativeRecords as nl, SETTINGS_SCHEMA_FILE as nn, tryAcquireBuildSlotClaim as no, gcLogDir as nr, PhysicalDeviceConnection as ns, readDeviceHostMachines as nt, deviceHostArea as nu, SUMMARY_ARCHIVES as o, windowsShortDirKey as oa, MacosAppRecord as oc, readSwiftpmCacheUsage as od, queryJsonLogs as oi, BUILD_HISTORY_LIMIT as ol, runId as on, ActiveBuildState as oo, maintenanceAttemptFile as or, RunOutcomeKind as os, HISTORY_LIMIT as ot, hostedIdleStopHours as ou, workspaceSummary as p, ConcurrencyLimits as pa, readMacosRecord as pc, AgentActionReaderOptions as pd, FINGERPRINT_MEMO_SCHEMA as pi, IDLE_STOP_KEY as pl, RecordingPlatform as pn, AppPresence as po, serverLocalSocket as pr, StatusCapacityLoad as ps, STATS_VERSION as pt, parseHostedLocalPlatformCounts as pu, readHostedNativeLogsCheckpoint as q, wrongTailnet as qa, HostedAndroidPlacement as qc, allMetroPorts as qi, HostedDevicePlatform as ql, deviceHostMachinesFile as qn, MachineOwner as qo, advanceTail as qr, SettingsPayload as qs, pullRequestCacheFile as qt, hostedAppBlobs as qu, applyKeyedDelta as r, isPathPrefix as ra, replacementAdvice as rc, machineCacheUsageFile as rd, markerWindow as ri, parseHostedNativePlacement as rl, SETTINGS_SCHEMA_URL as rn, ACTIVITY_RECENCY_BASES as ro, gcLogFile as rr, PhysicalDeviceState as rs, BuildMachineTotals as rt, deviceHostRoot as ru, StatusViews as s, withConfigLock as sa, MacosAppState as sc, swiftpmCacheUsageFile as sd, queryLogs as si, DEVICE_IDLE_SHUTDOWN_KEY as sl, validRunId as sn, ActivityDriver as so, maintenanceChildLogFile as sr, STATUS_ISSUE_CODES as ss, OffloadSummary as st, hostedMemoryRefusal as su, KeyedDelta as t, getProjectSettings as ta, isLayeredSetting as tc, MachineCacheUsage as td, isExpoErrorContext as ti, HostedNativePlacement as tl, withGitChip as tn, saturation as to, emulatorLogFile as tr, PHYSICAL_DEVICE_CONNECTIONS as ts, DeviceHostMachineCredential as tt, assertHostedDeviceLedger as tu, WorkspaceSummary as u, automaticMachineEnabled as ua, macosAppState as uc, agentDeviceUsageFile as ud, recordMatches as ui, DevServerStopRecord as ul, RECORDING_PLATFORMS as un, AgentTool as uo, maintenanceRunClaims as ur, StatusBuildSlotHolder as us, RunEstimates as ut, parseHostedChoice as uu, parseSetupJournal as v, PlatformRecords as va, archivedUsage as vc, LEVELS as vd, readFingerprintMemo as vi, READY_PHASE_MS as vl, listRecordedDevicesAsync as vn, BuildCause as vo, sharedGradle as vr, StatusPayload as vs, StatsRecord as vt, readHostedDevice as vu, BuildLedgerCache as w, clientIdentity as wa, readArchivesAsync as wc, readNdjsonGenerations as wd, readCreatedDevices as wi, lastNativeUseFrom as wl, recordingEnabled as wn, BuildMissReason as wo, workspaceAgentDeviceDir as wr, WarmStep as ws, projectRootDirectories as wt, HostedAgentDriverName as wu, agentDeviceStateDirsAsync as x, SettingsObject as xa, readArchiveAsync as xc, levelRank as xd, CreatedDevices as xi, WarmRecord as xl, openSegmentName as xn, BuildHistoryEntry as xo, supervisorLogFile as xr, WEB_PAGE_STATES as xs, decodeStats as xt, HOSTED_AGENT_DRIVERS as xu, readSetupJournal as y, ProjectRecord as ya, linkReplacedArchives as yc, NdjsonRecord as yd, countErrorEntries as yi, WARM_KEY as yl, listSegments as yn, BuildDetail as yo, sharedPods as yr, StatusPlatformDeviceSlots as ys, StatsReport as yt, readHostedDeviceLedger as yu, readGcLog as z, endpoint as za, readMaintenanceState as zc, redactCommandLine as zi, DeviceHostLimits as zl, buildLedgerLock as zn, EnvironmentDisk as zo, LogDir as zr, SETTINGS as zs, PullRequestCacheEntry as zt, parseHostedMacosPlacement as zu };
|
|
3172
|
+
export { hostedMetroLinks as $, machineCapacity as $a, hostedAndroidPlacements as $c, getPlatformDeviceLimits as $i, HostedDeviceSelectors as $l, easSessionLedgerFile as $n, MetroBundleState as $o, fileSizes as $r, WEB_VIEWPORTS as $s, readPullRequestCache as $t, parseHostedAppOffer as $u, BuildLedgerPlatform as A, DEFAULT_SERVER_PORT as Aa, MaintenanceActionKind as Ac, readStateFile as Ai, parseMissReason as Al, prefersRemote as An, BuildReport as Ao, workspaceLightenedFile as Ar, WorktreeFacts as As, trimCapacityWaits as At, HostedAgentIssuedGrant as Au, HOSTED_LOGS_FIRST_BYTES as B, findPeer as Ba, parseMaintenanceState as Bc, trace as Bi, readWorkspaceState as Bl, buildMachinesFile as Bn, EnvironmentDisk as Bo, LogDirQuery as Br, SETTINGS as Bs, StatusCacheEntry as Bt, parseHostedAgentGrant as Bu, BuildLedgerBoot as C, SupervisorRecord as Ca, readArchive as Cc, NdjsonRecord as Cd, EasSessionLedgerRead as Ci, WARM_KEY as Cl, recordingDeviceName as Cn, BuildMissCategory as Co, trashRoot as Cr, WORKSPACE_PHASES as Cs, offloadSummary as Ct, readHostedDeviceLedger as Cu, BuildLedgerFailure as D, MachineCredential as Da, readArchivesAsync as Dc, parseNdjsonText as Dd, isJsonObject as Di, buildDiagnostics as Dl, PlacementWord as Dn, BuildPlacement as Do, workspaceEndedAgentsFile as Dr, WebPageState as Ds, readStatsReport as Dt, HostedAgentAccess as Du, BuildLedgerDevice as E, MACHINE_CREDENTIALS_VERSION as Ea, readArchives as Ec, parseNdjsonLine as Ed, validEasSessionClaim as Ei, WorkspaceState as El, PLACEMENT_WORDS as En, BuildPhase as Eo, workspaceDerivedData as Er, WebBrowserState as Es, readStats as Et, HOSTED_MACOS_APP_SLOTS as Eu, GcLogRecord as F, TailnetPeer as Fa, MaintenanceRecord as Fc, Trace as Fi, readDevicePlacement as Fl, budgetSweepFile as Fn, DeviceAppProcess as Fo, workspaceStateFile as Fr, ANDROID_PCH_CHOICES as Fs, readViewedDevices as Ft, HostedMacosPlacement as Fu, hostedNativeLogsDir as G, sameTailnet as Ga, hostedIosPlacements as Gc, debugLoggingEnabled as Gi, HostedAndroidChoice as Gl, createdDevicesLock as Gn, LoadState as Go, NATIVE_CRASH_LOG_PREFIX as Gr, SettingDefinition as Gs, gitMergeCacheFile as Gt, HostedAppDelivery as Gu, HostedLogsCursor as H, machineEndpoint as Ha, readMaintenanceState as Hc, DebugLog as Hi, DEVICE_HOST_LIMITS as Hl, clientIdentityKeyFile as Hn, GitChip as Ho, ERROR_SOURCES as Hr, SETTING_SCOPES as Hs, diskUsageCacheFile as Ht, parseHostedMacosDevice as Hu, GcLogStatus as I, WrongTailnet as Ia, MaintenanceSize as Ic, TraceArgs as Ii, readIdleStop as Il, budgetSweepLock as In, DeviceLeaseState as Io, workspaceStateLock as Ir, IOS_SIMULATOR_APPS as Is, stimBuildDigest as It, hostedAgentDriverName as Iu, readLogsSince as J, MachineCapacity as Ja, parseHostedIosPlacement as Jc, buildWorkerRoot as Ji, HostedDeviceOffer as Jl, deviceHostMachinesLock as Jn, MachineOwner as Jo, attachExpoErrorContext as Jr, SettingType as Js, readAgentSessionsCache as Jt, HostedAppRecord as Ju, parseHostedLogsCursor as K, tailscaleEnv as Ka, hostedIosRecords as Kc, ParkedMax as Ki, HostedAndroidDevice as Kl, deviceHostMachinesClaims as Kn, MACHINE_OWNER_KINDS as Ko, QueryCriteria as Kr, SettingEntry as Ks, listStatusCacheEntries as Kt, HostedAppFile as Ku, GcLogTrigger as L, cannotHost as La, MaintenanceState as Lc, TracePhases as Li, readLastBuilds as Ll, buildLedgerDir as Ln, DevicePlacement as Lo, worktreeArchiveRoot as Lr, REMOTE_DEVICE_BACKENDS as Ls, AgentSessionsCache as Lt, hostedMacosAppSlot as Lu, isBuildLedgerRecord as M, MachineTransport as Ma, MaintenanceMode as Mc, readHomeIdentity as Mi, readDevServerStop as Ml, archiveDir as Mn, BuildWaitingFor as Mo, workspaceLogsDir as Mr, WorktreePullRequest as Ms, wholePhases as Mt, HostedAppLaunch as Mu, readBuildLedger as N, TAILNET_MACHINE_PATTERN as Na, MaintenancePass as Nc, EndSpan as Ni, readDevServerStopRequest as Nl, archiveLock as Nn, ChecksState as No, workspaceMetadataFile as Nr, ANDROID_COMPILER_CACHE_CHOICES as Ns, DeviceViewersRecord as Nt, HostedMacosChoice as Nu, BuildLedgerOutcome as O, parseMachineCredential as Oa, DiskPressureLevel as Oc, readNdjsonGenerations as Od, readJsonFile as Oi, lastNativeUseFrom as Ol, mayRunHere as On, BuildPlanPayload as Oo, workspaceEndedAgentsLock as Or, WorkspacePhase as Os, statsProjectKey as Ot, HostedAgentDriverName as Ou, GcLogOptions as P, TailnetIdentity as Pa, MaintenancePressure as Pc, TRACE_ENV as Pi, readDeviceIdleShutdowns as Pl, archiveRoot as Pn, DeviceActivity as Po, workspaceRecordingsDir as Pr, ANDROID_EMULATOR_APPS as Ps, ViewedDevice as Pt, HostedMacosDevice as Pu, HostedMetroRequest as Q, loadState as Qa, hostedAndroidDeviceName as Qc, getParkedMax as Qi, HostedDeviceRequest as Ql, easMachineStateRoot as Qn, MemorySource as Qo, fileIdentity as Qr, TunnelMode as Qs, readEndedAgentSessions as Qt, parseHostedAppManifest as Qu, isGcLogRecord as R, currentTailnet as Ra, MaintenanceStatus as Rc, redactArgv as Ri, readWarmRecord as Rl, buildLedgerFile as Rn, DiskMeasure as Ro, createNdjsonTail as Rr, REPLACED_SETTINGS as Rs, ENDED_AGENT_RETENTION_MS as Rt, hostedMacosBundleId as Ru, BUILD_LEDGER_CAP as S, StimConfig as Sa, linkReplacedArchives as Sc, LEVELS as Sd, EasSessionClaim as Si, READY_PHASE_MS as Sl, recordedBytes as Sn, BuildHistoryEntry as So, supervisorPidFile as Sr, WEB_PAGE_STATES as Ss, findProjectRoot as St, readHostedDevice as Su, BuildLedgerCacheResult as T, BuildMachineCredential as Ta, readArchiveState as Tc, levelRank as Td, readEasSessionLedger as Ti, WarmRecord as Tl, AutomaticPlacement as Tn, BuildMissReason as To, workspaceBuildDetailFile as Tr, WarmStep as Ts, readRunEstimates as Tt, HOSTED_AGENT_DRIVERS as Tu, HostedLogsPage as U, parseMachine as Ua, HostedIosPlacement as Uc, createDebugLog as Ui, DeviceHostLimits as Ul, configLockPath as Un, GitChipPart as Uo, LogQueryOptions as Ur, SHARE_DEFAULT_PORT as Us, diskUsageFailureFile as Ut, parseHostedMacosPlacement as Uu, HOSTED_LOGS_PAGE_BYTES as V, localEndpoint as Va, readMaintenanceAttempt as Vc, DEBUG_ENV as Vi, workspaceLastUsed as Vl, buildMachinesLock as Vn, EnvironmentState as Vo, openLogDir as Vr, SETTING_GROUPS as Vs, agentSessionOf as Vt, parseHostedMacosChoice as Vu, hostedMacosLogsDir as W, parseTailnetIdentity as Wa, HostedIosStatus as Wc, debugLogDir as Wi, HOSTED_PARKED_CANDIDATES as Wl, createdDevicesFile as Wn, LastBuildReport as Wo, LogQueryPlan as Wr, SHARE_EXPOSURES as Ws, endedAgentSessionOf as Wt, HOSTED_APP_CHUNK_BYTES as Wu, HOSTED_METRO_REQUESTS_KEY as X, buildSlotsDir as Xa, HostedAndroidPlacement as Xc, findEnclosingWorktreeRoot as Xi, HostedDevicePhase as Xl, diskUsageCacheDir as Xn, MachineUsageState as Xo, bundleMarkerPlatform as Xr, SettingsPayload as Xs, readDiskUsage as Xt, hostedAppAttempt as Xu, HOSTED_METRO_LINKS_KEY as Y, buildSlotPath as Ya, unreadableHostedIos as Yc, configCorruptRepair as Yi, HostedDeviceOfferRequest as Yl, deviceViewersDir as Yn, MachineOwnerKind as Yo, buildCriteria as Yr, SettingWriteResult as Ys, readBuildDetail as Yt, hostedAppArea as Yu, HostedMetroLinks as Z, loadPerCore as Za, HostedAndroidStatus as Zc, getConcurrencyLimits as Zi, HostedDevicePlatform as Zl, diskUsageWalkClaims as Zn, MacosBuildPlanPayload as Zo, compileGrep as Zr, TUNNEL_MODES as Zs, readDiskUsageFailure as Zt, hostedAppBlobs as Zu, isSetupJournalPrunable as _, PlatformDeviceLimits as _a, ArchivedBytes as _c, AgentActionReaderOptions as _d, fingerprintMemoLock as _i, IDLE_STOP_KEY as _l, listRecordedDevices as _n, BuildActivity as _o, sharedCompilationCache as _r, StatusIssue as _s, StatsPlacement as _t, parseHostedLocalPlatformCounts as _u, MachineView as a, windowsShortDir as aa, isSensitiveReference as ac, MachineCacheUsage as ad, planLogQuery as ai, hostedNativeRecords as al, RUN_ID_ENV as an, AGENT_TOOLS as ao, gitMergeCacheDir as ar, PlannedPhase as as, CAPACITY_REFUSAL_MAX_AGE_MS as at, assertHostedDeviceLedger as au, agentDeviceStateDirs as b, RepoRecord as ba, archiveEnabled as bc, createAgentActionReader as bd, CreatedDevicePlatform as bi, MAINTENANCE_LOG_NAME as bl, listSegmentsAsync as bn, BuildDetail as bo, statsFile as br, StatusPlatformDeviceSlots as bs, StatsScope as bt, parseHostedPlatformDevice as bu, SummaryBuild as c, withConfigLockAsync as ca, settingValueError as cc, readMachineCacheUsage as cd, readLogRecords as ci, BUILD_HISTORY_KEY as cl, RECORDING_CAP_BYTES as cn, ActivityDriver as co, maintenanceDir as cr, STATUS_ISSUE_CODES as cs, PLACEMENT_DECISIONS as ct, hostedConsolePort as cu, WorktreeRow as d, requireAutomaticMachine as da, MacosBuild as dc, swiftpmCacheUsageFile as dd, sortByTs as di, DEVICE_METRO_IDLE_STOP_REASON as dl, RecordedDevice as dn, AgentTool as do, maintenanceStateFile as dr, StatusBuildSlotHolder as ds, RunHistory as dt, hostedMemoryRefusal as du, getProject as ea, WebViewport as ec, readHostedApp as ed, followLogs as ei, hostedAndroidRecords as el, withDerivedFacts as en, maxLoadPerCore as eo, easSessionLedgerLock as er, NATIVE_BUILD_STEPS as es, hostedMetroRequests as et, HostedDeviceSession as eu, statusViews as f, validateAutomaticPool as fa, MacosProcess as fc, AgentDeviceUsage as fd, tailRead as fi, DEVICE_RECLAIM_REASON as fl, RecordedSegment as fn, AndroidDeviceState as fo, pullRequestCacheDir as fr, StatusBuildSlots as fs, RunSample as ft, hostedWorkerSettleMs as fu, isJournalExpired as g, DoctorRunRecord as ga, readMacosRecord as gc, readAgentDeviceUsageCache as gd, fingerprintMemoFile as gi, DeviceIdleShutdownRecord as gl, footageDrops as gn, BUILD_RESULTS as go, sharedCcache as gr, StatusDeviceSlots as gs, StatsCapacityWait as gt, parseHostedLocalDeviceCount as gu, SetupJournal as h, DeviceRecord as ha, readHostedMacosApp as hc, readAgentDeviceUsage as hd, fingerprintMemoDir as hi, DevServerStopRequest as hl, closedSegmentName as hn, BUILD_PHASES as ho, setupJournalFile as hr, StatusDeviceSlotHolder as hs, StatsCapacityRefusal as ht, parseHostedDevice as hu, ArchivedSummary as i, loadConfig as ia, isLayeredSetting as ic, validHostedAppBlob as id, parseSince as ii, HostedNativePlacement as il, settingsJsonSchema as in, ACTIVITY_RECENCY_BASES as io, getConfigPath as ir, PhysicalDeviceState as is, CAPACITY_REFUSAL_LIMIT as it, HostedNativeOffer as iu, BuildLedgerRecord as j, Endpoint as ja, MaintenanceCheck as jc, withStateReadCache as ji, readBuildHistory as jl, agentSessionsCacheFile as jn, BuildResult as jo, workspaceLogErrorIndex as jr, WorktreeGit as js, trimSamples as jt, HostedAgentLease as ju, BuildLedgerPlacement as k, readBuildMachines as ka, MaintenanceAction as kc, readJsonObject as ki, lastUseFrom as kl, placementWord as kn, BuildPlatform as ko, workspaceGradleBuild as kr, WorkspaceStage as ks, trimCapacityRefusals as kt, HostedAgentGrant as ku, SummaryHistoryEntry as l, AutomaticPoolRole as la, MacosAppRecord as lc, SwiftpmCacheUsage as ld, readLogTimeline as li, BUILD_HISTORY_LIMIT as ll, RECORDING_FOOTAGE_MS as ln, ActivityRecencyBasis as lo, maintenanceNdjsonFile as lr, SimulatorState as ls, ReadStatsResult as lt, hostedDeviceId as lu, SetupCapability as m, Config as ma, parseMacosRecord as mc, agentDeviceUsageFile as md, FingerprintMemoRecord as mi, DevServerStopRecord as ml, capDrops as mn, AppPresence as mo, serverSetupDir as mr, StatusCapacityLoad as ms, StatsBucket as mt, parseHostedChoice as mu, KeyedEntities as n, getRepoSettings as na, coerceSettingText as nc, rememberHostedAppBlobRename as nd, logFiles as ni, parseHostedAndroidPlacement as nl, SETTINGS_SCHEMA_FILE as nn, saturation as no, gcLogDir as nr, PHYSICAL_DEVICE_CONNECTIONS as ns, readDeviceHostMachines as nt, HostedIosDevice as nu, SUMMARY_ARCHIVES as o, windowsShortDirKey as oa, replacementAdvice as oc, SimRuntimeUsage as od, queryJsonLogs as oi, parseHostedNativePlacement as ol, runId as on, APP_PROCESS_STATES as oo, maintenanceAttemptFile as or, RemoteDeviceState as os, HISTORY_LIMIT as ot, deviceHostArea as ou, workspaceSummary as p, ConcurrencyLimits as pa, macosAppState as pc, AgentDeviceUsageRoots as pd, FINGERPRINT_MEMO_SCHEMA as pi, DEV_SERVER_STOP_REQUEST_KEY as pl, RecordingPlatform as pn, AndroidRuntimeFacts as po, serverLocalSocket as pr, StatusCapacity as ps, STATS_VERSION as pt, parseHostedAndroidDevice as pu, readHostedNativeLogsCheckpoint as q, wrongTailnet as qa, hostedIosStatus as qc, allMetroPorts as qi, HostedDevice as ql, deviceHostMachinesFile as qn, MEMORY_SOURCES as qo, advanceTail as qr, SettingScope as qs, pullRequestCacheFile as qt, HostedAppOffer as qu, applyKeyedDelta as r, isPathPrefix as ra, expectedShape as rc, validHostedAppArguments as rd, markerWindow as ri, unreadableHostedAndroid as rl, SETTINGS_SCHEMA_URL as rn, tryAcquireBuildSlotClaim as ro, gcLogFile as rr, PhysicalDeviceConnection as rs, BuildMachineTotals as rt, HostedLocalPlatformCounts as ru, StatusViews as s, withConfigLock as sa, settingDefinition as sc, machineCacheUsageFile as sd, queryLogs as si, unreadableHostedNative as sl, validRunId as sn, ActiveBuildState as so, maintenanceChildLogFile as sr, RunOutcomeKind as ss, OffloadSummary as st, deviceHostRoot as su, KeyedDelta as t, getProjectSettings as ta, acceptsShape as tc, readHostedAppMetadata as td, isExpoErrorContext as ti, hostedAndroidStatus as tl, withGitChip as tn, maxOffloadedBuilds as to, emulatorLogFile as tr, NativeBuildStep as ts, DeviceHostMachineCredential as tt, HostedIosChoice as tu, WorkspaceSummary as u, automaticMachineEnabled as ua, MacosAppState as uc, readSwiftpmCacheUsage as ud, recordMatches as ui, DEVICE_IDLE_SHUTDOWN_KEY as ul, RECORDING_PLATFORMS as un, AgentSession as uo, maintenanceRunClaims as ur, StatsPlatform as us, RunEstimates as ut, hostedIdleStopHours as uu, parseSetupJournal as v, PlatformRecords as va, ArchivedUsage as vc, AgentRecordSelection as vd, readFingerprintMemo as vi, IdleStopRecord as vl, listRecordedDevicesAsync as vn, BuildCacheHit as vo, sharedGradle as vr, StatusIssueCode as vs, StatsRecord as vt, parseHostedNativeOffer as vu, BuildLedgerCache as w, clientIdentity as wa, readArchiveAsync as wc, SOURCES as wd, readCreatedDevices as wi, WORKSPACE_AGENT_KEY as wl, recordingEnabled as wn, BuildMissChange as wo, workspaceAgentDeviceDir as wr, WORKSPACE_STAGE_KINDS as ws, projectRootDirectories as wt, readHostedSessions as wu, agentDeviceStateDirsAsync as x, SettingsObject as xa, archivedUsage as xc, createAsyncAgentActionReader as xd, CreatedDevices as xi, MetroLastStop as xl, openSegmentName as xn, BuildDiagnostic as xo, supervisorLogFile as xr, TUTORIAL_VERSION as xs, decodeStats as xt, parseHostedRequest as xu, readSetupJournal as y, ProjectRecord as ya, ArchivedWorkspace as yc, AgentTarget as yd, countErrorEntries as yi, LAST_BUILD_KEYS as yl, listSegments as yn, BuildCause as yo, sharedPods as yr, StatusPayload as ys, StatsReport as yt, parseHostedOfferRequest as yu, readGcLog as z, endpoint as za, MemoryCulprit as zc, redactCommandLine as zi, readWorkspaceAgent as zl, buildLedgerLock as zn, EndedAgentSession as zo, LogDir as zr, RemoteDeviceBackend as zs, PullRequestCacheEntry as zt, parseHostedAgentAccess as zu };
|
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-D8N3IFDO.mjs";
|
|
2
2
|
import { Server, Socket } 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
|
|
1
|
+
import { $o as MetroBundleState, Ao as BuildReport, As as WorktreeFacts, Bo as EnvironmentDisk, Do as BuildPlacement, Es as WebBrowserState, Fo as DeviceAppProcess, Fu as HostedMacosPlacement, Ho as GitChip, Io as DeviceLeaseState, Jo as MachineOwner, Mo as BuildWaitingFor, Ms as WorktreePullRequest, Nc as MaintenancePass, Oo as BuildPlanPayload, Pc as MaintenancePressure, Po as DeviceActivity, Rc as MaintenanceStatus, Ro as DiskMeasure, So as BuildHistoryEntry, To as BuildMissReason, Vo as EnvironmentState, Wo as LastBuildReport, Xo as MachineUsageState, _o as BuildActivity, _s as StatusIssue, a as MachineView, bo as BuildDetail, dc as MacosBuild, en as withDerivedFacts, f as statusViews, fo as AndroidDeviceState, i as ArchivedSummary, is as PhysicalDeviceState, js as WorktreeGit, kc as MaintenanceAction, ks as WorkspaceStage, lc as MacosAppRecord, ls as SimulatorState, os as RemoteDeviceState, r as applyKeyedDelta, uo as AgentSession, vc as ArchivedUsage, wo as BuildMissChange, xo as BuildDiagnostic, yc as ArchivedWorkspace, ys as StatusPayload } from "./index-DRnTwJ-z.mjs";
|
|
2
|
+
import { $ as DesktopBuildEndedEvent, $n as Platform, At as DeviceUsageSeries, Bt as FrameEvent, Cr as SERVER_UPDATE_METHODS, Ct as DesktopWorktreeRemoveProgressEvent, Dn as MachineEvent, Dt as DeviceFrameEvent, En as MachineDetails, Et as DeviceFrameArtwork, Fr as SimulatorOptions, G as ControlBeginParams, Gt as FramesSubscribeResult, Hn as NotificationEvent, Hr as UsageSample, J as ControlEndedEvent, Jt as HelloResult, K as ControlBeginResult, Ln as Methods, Mn as MachineVolume, O as BuildPlanParams, On as MachineHistory, Ot as DevicePosture, Pn as MacosWindowsEvent, Pr as SimulatorCommand, Pt as ErrorEvent, Qt as InputButton, Sn as LogsQueryResult, Sr as RotateDirection, St as DesktopWorktreeRemoveEndedEvent, T as BuildMachineReport, Tr as ServerEvent, Tt as DesktopWorktreeWarmProgressEvent, Un as NotificationLevel, Vn as NotificationEntry, Vr as UsageHistory, Vt as FrameTarget, Wn as NotificationSuppression, X as DEVICE_HOST_METHODS, Xn as PROTOCOL_VERSION, _n as LogLevel, _r as ReplayMarker, a as ActionResult, ai as WorkspacePatch, an as InputSimulatorParams, bn as LogsEndedEvent, br as ReplayTarget, bt as DesktopStopEndedEvent, c as ArchivedListParams, ct as DesktopReloadProgressEvent, dt as DesktopReportEvent, ei as WorkspaceDiff, en as InputKey, et as DesktopBuildProgressEvent, gn as LogFilter, gr as ReplayKeyframeParams, hr as ReplayKeyframe, ht as DesktopRunProgressEvent, i as ActionParams, ir as PushRegisterParams, j as BuildProgressEvent, jn as MachineUsage, lt as DesktopRemedyEndedEvent, mr as ReplayEndedEvent, mt as DesktopRunEndedEvent, ni as WorkspaceFile, nr as ProtocolError, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, oi as WorkspaceRef, qn as NotificationsListResult, qt as HelloParams, r as ActionName, ri as WorkspaceFiles, rr as PushEvent, si as WorkspacesEvent, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspaceEvent, tt as DesktopGcEndedEvent, u as BUILD_METHODS, un as KeyModifier, ut as DesktopRemedyProgressEvent, v as BuildClientSummary, vn as LogRecord, vr as ReplayRange, vt as DesktopStartEndedEvent, wt as DesktopWorktreeWarmEndedEvent, xn as LogsEvent, xt as DesktopStopProgressEvent, yn as LogSource, yr as ReplaySpan, yt as DesktopStartProgressEvent, zr as TouchPhase, zt as FrameDelayedEvent } from "./protocol-D8N3IFDO.mjs";
|
|
3
3
|
//#region phone-protocol.d.ts
|
|
4
4
|
type PhonePlatform = BuildPlanParams["platform"];
|
|
5
5
|
type PhoneDevicePlatform = Platform;
|
|
@@ -413,10 +413,6 @@ type PhoneNotificationsListResult = Omit<NotificationsListResult, "notifications
|
|
|
413
413
|
type PhoneProtocolError = Omit<ProtocolError, "code"> & {
|
|
414
414
|
code: string;
|
|
415
415
|
};
|
|
416
|
-
type PhoneStatusEvent = Omit<StatusEvent, "payload" | "usage"> & {
|
|
417
|
-
payload: PhoneStatusPayload;
|
|
418
|
-
usage?: PhoneStatusUsage;
|
|
419
|
-
};
|
|
420
416
|
type PhoneLogsEndedEvent = LogsEndedEvent;
|
|
421
417
|
type PhoneLogsEvent = Omit<LogsEvent, "records"> & {
|
|
422
418
|
records: PhoneLogRecord[];
|
|
@@ -439,7 +435,7 @@ type PhoneControlEndedEvent = Omit<ControlEndedEvent, "reason"> & {
|
|
|
439
435
|
type PhoneNotificationEvent = Omit<NotificationEvent, "notification"> & {
|
|
440
436
|
notification: PhoneNotificationEntry;
|
|
441
437
|
};
|
|
442
|
-
type PhoneServerEvent = Exclude<ServerEvent, BuildProgressEvent |
|
|
438
|
+
type PhoneServerEvent = Exclude<ServerEvent, BuildProgressEvent | WorkspacesEvent | WorkspaceEvent | MachineEvent | LogsEvent | ErrorEvent | FrameEvent | ControlEndedEvent | NotificationEvent | MacosWindowsEvent | DesktopReportEvent | DesktopStopProgressEvent | DesktopStopEndedEvent | DesktopRemedyProgressEvent | DesktopRemedyEndedEvent | DesktopReloadProgressEvent | DesktopReloadEndedEvent | DesktopStartProgressEvent | DesktopStartEndedEvent | DesktopRunProgressEvent | DesktopRunEndedEvent | DesktopBuildProgressEvent | DesktopBuildEndedEvent | DesktopGcProgressEvent | DesktopGcEndedEvent | DesktopWorktreeRemoveProgressEvent | DesktopWorktreeRemoveEndedEvent | DesktopWorktreeWarmProgressEvent | DesktopWorktreeWarmEndedEvent> | PhoneMacosWindowsEvent | PhoneWorkspacesEvent | PhoneWorkspaceEvent | PhoneMachineEvent | PhoneLogsEvent | PhoneErrorEvent | PhoneFrameEvent | PhoneControlEndedEvent | PhoneNotificationEvent;
|
|
443
439
|
/** Fields introduced after protocol v1's initial release remain optional on the receiving client. */
|
|
444
440
|
type OptionalFields<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
445
441
|
type PhoneHelloResult = OptionalFields<Omit<HelloResult, "server" | "features" | "capabilities" | "actions" | "approval">, "device"> & {
|
|
@@ -452,7 +448,7 @@ type PhoneHelloResult = OptionalFields<Omit<HelloResult, "server" | "features" |
|
|
|
452
448
|
expiresAt: string;
|
|
453
449
|
};
|
|
454
450
|
};
|
|
455
|
-
type PhoneMethods = Omit<Methods, (typeof BUILD_METHODS)[number] | (typeof DEVICE_HOST_METHODS)[number] | (typeof SERVER_UPDATE_METHODS)[number] | "desktop.authenticate" | "desktop.reports.get" | "desktop.reports.subscribe" | "desktop.reports.invalidate" | "desktop.settings.get" | "desktop.settings.write" | "desktop.logs.subscribe" | "desktop.doctor.run" | "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" | "machines.update.start" | "machines.update.status" | "device-host.sessions" | "device-host.sessions.stop" | "route.setup" | "hello" | "logs.query" | "machine.get" | "machine.details" | "machine.history" | "workspace.diff" | "frames.subscribe" | "replay.range" | "archive.detail" | "replay.keyframe" | "build.plan" | "action" | "control.begin" | "notifications.list" | "builds.history" | "archived.list" | "worktrees.list" | "maintenance.get"> & {
|
|
451
|
+
type PhoneMethods = Omit<Methods, (typeof BUILD_METHODS)[number] | (typeof DEVICE_HOST_METHODS)[number] | (typeof SERVER_UPDATE_METHODS)[number] | "desktop.authenticate" | "desktop.reports.get" | "desktop.reports.subscribe" | "desktop.reports.invalidate" | "desktop.settings.get" | "desktop.settings.write" | "desktop.logs.subscribe" | "desktop.doctor.run" | "desktop.remedy.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" | "machines.update.start" | "machines.update.status" | "device-host.sessions" | "device-host.sessions.stop" | "share.start" | "share.stop" | "share.list" | "route.setup" | "hello" | "logs.query" | "machine.get" | "machine.details" | "machine.history" | "workspace.diff" | "frames.subscribe" | "replay.range" | "archive.detail" | "replay.keyframe" | "build.plan" | "action" | "control.begin" | "notifications.list" | "builds.history" | "archived.list" | "worktrees.list" | "maintenance.get"> & {
|
|
456
452
|
"builds.history": {
|
|
457
453
|
params: WorkspaceRef;
|
|
458
454
|
result: {
|
|
@@ -550,4 +546,4 @@ type PhoneResponse<M extends PhoneMethod = PhoneMethod> = {
|
|
|
550
546
|
};
|
|
551
547
|
type PhoneServerMessage = PhoneResponse | PhoneServerEvent;
|
|
552
548
|
//#endregion
|
|
553
|
-
export { ACTIONS, type PhoneActionName as ActionName, PhoneActionName, type PhoneActionParams as ActionParams, PhoneActionParams, type PhoneActionResult as ActionResult, PhoneActionResult, type PhoneAgentSession as AgentSession, PhoneAgentSession, type PhoneAndroidState as AndroidState, PhoneAndroidState, type PhoneAppPresence as AppPresence, PhoneAppPresence, type PhoneArchiveDetailResult as ArchiveDetailResult, PhoneArchiveDetailResult, type PhoneArchivedSummary as ArchivedSummary, PhoneArchivedSummary, type PhoneArchivedWorkspace as ArchivedWorkspace, PhoneArchivedWorkspace, type PhoneBuildActivity as BuildActivity, PhoneBuildActivity, type PhoneBuildCacheHit as BuildCacheHit, PhoneBuildCacheHit, type PhoneBuildClientSummary as BuildClientSummary, PhoneBuildClientSummary, type PhoneBuildDetail as BuildDetail, PhoneBuildDetail, type PhoneBuildDiagnostic as BuildDiagnostic, PhoneBuildDiagnostic, type PhoneBuildHistoryEntry as BuildHistoryEntry, PhoneBuildHistoryEntry, type PhoneBuildMachineReport as BuildMachineReport, PhoneBuildMachineReport, type PhoneBuildMissCategory as BuildMissCategory, PhoneBuildMissCategory, type PhoneBuildMissChange as BuildMissChange, PhoneBuildMissChange, type PhoneBuildMissReason as BuildMissReason, PhoneBuildMissReason, type PhoneBuildPhase as BuildPhase, PhoneBuildPhase, type PhoneBuildPlacement as BuildPlacement, PhoneBuildPlacement, type PhoneBuildPlan as BuildPlan, PhoneBuildPlan, type PhoneBuildPlanParams as BuildPlanParams, PhoneBuildPlanParams, type PhoneBuildReport as BuildReport, PhoneBuildReport, type PhoneBuildResult as BuildResult, PhoneBuildResult, type PhoneControlBeginParams as ControlBeginParams, PhoneControlBeginParams, type PhoneControlBeginResult as ControlBeginResult, PhoneControlBeginResult, type PhoneControlEndedEvent as ControlEndedEvent, PhoneControlEndedEvent, type PhoneDeviceActivity as DeviceActivity, PhoneDeviceActivity, type PhoneDeviceAppProcess as DeviceAppProcess, PhoneDeviceAppProcess, type PhoneDeviceDisk as DeviceDisk, PhoneDeviceDisk, type PhoneDeviceFrameArtwork as DeviceFrameArtwork, PhoneDeviceFrameArtwork, type PhoneDeviceFrameEvent as DeviceFrameEvent, PhoneDeviceFrameEvent, type PhoneDeviceLeaseState as DeviceLeaseState, PhoneDeviceLeaseState, type PhoneDevicePlatform as DevicePlatform, PhoneDevicePlatform, type PhoneDevicePosture as DevicePosture, PhoneDevicePosture, type PhoneEndedAgentSession as EndedAgentSession, PhoneEndedAgentSession, type PhoneEnvironmentState as EnvironmentState, PhoneEnvironmentState, type PhoneErrorEvent as ErrorEvent, PhoneErrorEvent, type PhoneFrameDelayedEvent as FrameDelayedEvent, PhoneFrameDelayedEvent, type PhoneFrameEvent as FrameEvent, PhoneFrameEvent, type PhoneFrameTarget as FrameTarget, PhoneFrameTarget, type PhoneGitChipFacts as GitChipFacts, PhoneGitChipFacts, type PhoneGitChipPart as GitChipPart, PhoneGitChipPart, type PhoneHelloResult as HelloResult, PhoneHelloResult, type PhoneInputButton as InputButton, PhoneInputButton, type PhoneInputKey as InputKey, PhoneInputKey, type PhoneInputSimulatorParams as InputSimulatorParams, PhoneInputSimulatorParams, type PhoneKeyModifier as KeyModifier, PhoneKeyModifier, type PhoneLastBuild as LastBuild, PhoneLastBuild, type PhoneLogFilter as LogFilter, PhoneLogFilter, type PhoneLogLevel as LogLevel, PhoneLogLevel, type PhoneLogRecord as LogRecord, PhoneLogRecord, type PhoneLogSource as LogSource, PhoneLogSource, type PhoneLogsEndedEvent as LogsEndedEvent, PhoneLogsEndedEvent, type PhoneLogsEvent as LogsEvent, PhoneLogsEvent, type PhoneMachineDetails as MachineDetails, PhoneMachineDetails, type PhoneMachineEvent as MachineEvent, PhoneMachineEvent, type PhoneMachineHistory as MachineHistory, PhoneMachineHistory, type PhoneMachineOwner as MachineOwner, PhoneMachineOwner, type PhoneMachineOwnerKind as MachineOwnerKind, PhoneMachineOwnerKind, type PhoneMachineUsage as MachineUsage, PhoneMachineUsage, type PhoneMachineUsageState as MachineUsageState, PhoneMachineUsageState, type PhoneMachineView as MachineView, PhoneMachineView, type PhoneMachineVolume as MachineVolume, PhoneMachineVolume, type PhoneMacosAppState as MacosAppState, PhoneMacosAppState, type PhoneMacosWindowsEvent as MacosWindowsEvent, PhoneMacosWindowsEvent, type PhoneMemoryPressure as MemoryPressure, PhoneMemoryPressure, type PhoneMethod as Method, PhoneMethod, type PhoneMethods as Methods, PhoneMethods, type PhoneMetroBundle as MetroBundle, PhoneMetroBundle, type PhoneNotificationEntry as NotificationEntry, PhoneNotificationEntry, type PhoneNotificationEvent as NotificationEvent, PhoneNotificationEvent, type PhoneNotificationLevel as NotificationLevel, PhoneNotificationLevel, type PhoneNotificationSuppression as NotificationSuppression, PhoneNotificationSuppression, type PhoneNotificationTarget as NotificationTarget, PhoneNotificationTarget, type PhoneNotificationsListResult as NotificationsListResult, PhoneNotificationsListResult, PROTOCOL_VERSION, type PhonePairingPayload as PairingPayload, PhonePairingPayload, PhoneKeyedDelta, PhoneMaintenanceStatus, PhonePhysicalDeviceState, type PhonePhysicalDeviceState as PhysicalDeviceState, PhonePlatform, type PhonePlatform as Platform, PhoneProtocolError, type PhoneProtocolError as ProtocolError, PhonePullRequestFacts, type PhonePullRequestFacts as PullRequestFacts, PhonePushEvent, type PhonePushEvent as PushEvent, PhonePushRegisterParams, type PhonePushRegisterParams as PushRegisterParams, PhoneReloadPlatform, type PhoneReloadPlatform as ReloadPlatform, PhoneRemoteDeviceState, type PhoneRemoteDeviceState as RemoteDeviceState, PhoneReplayEndedEvent, type PhoneReplayEndedEvent as ReplayEndedEvent, PhoneReplayKeyframe, type PhoneReplayKeyframe as ReplayKeyframe, PhoneReplayMarker, type PhoneReplayMarker as ReplayMarker, PhoneReplayRange, type PhoneReplayRange as ReplayRange, PhoneReplayRate, type PhoneReplayRate as ReplayRate, PhoneReplaySpan, type PhoneReplaySpan as ReplaySpan, PhoneResponse, type PhoneResponse as Response, PhoneRotateDirection, type PhoneRotateDirection as RotateDirection, PhoneServerEvent, type PhoneServerEvent as ServerEvent, PhoneServerMessage, type PhoneServerMessage as ServerMessage, PhoneSimState, type PhoneSimState as SimState, PhoneSimulatorCommand, type PhoneSimulatorCommand as SimulatorCommand, PhoneSimulatorOptions, type PhoneSimulatorOptions as SimulatorOptions, PhoneStackFrame, type PhoneStackFrame as StackFrame, PhoneStageFacts, type PhoneStageFacts as StageFacts,
|
|
549
|
+
export { ACTIONS, type PhoneActionName as ActionName, PhoneActionName, type PhoneActionParams as ActionParams, PhoneActionParams, type PhoneActionResult as ActionResult, PhoneActionResult, type PhoneAgentSession as AgentSession, PhoneAgentSession, type PhoneAndroidState as AndroidState, PhoneAndroidState, type PhoneAppPresence as AppPresence, PhoneAppPresence, type PhoneArchiveDetailResult as ArchiveDetailResult, PhoneArchiveDetailResult, type PhoneArchivedSummary as ArchivedSummary, PhoneArchivedSummary, type PhoneArchivedWorkspace as ArchivedWorkspace, PhoneArchivedWorkspace, type PhoneBuildActivity as BuildActivity, PhoneBuildActivity, type PhoneBuildCacheHit as BuildCacheHit, PhoneBuildCacheHit, type PhoneBuildClientSummary as BuildClientSummary, PhoneBuildClientSummary, type PhoneBuildDetail as BuildDetail, PhoneBuildDetail, type PhoneBuildDiagnostic as BuildDiagnostic, PhoneBuildDiagnostic, type PhoneBuildHistoryEntry as BuildHistoryEntry, PhoneBuildHistoryEntry, type PhoneBuildMachineReport as BuildMachineReport, PhoneBuildMachineReport, type PhoneBuildMissCategory as BuildMissCategory, PhoneBuildMissCategory, type PhoneBuildMissChange as BuildMissChange, PhoneBuildMissChange, type PhoneBuildMissReason as BuildMissReason, PhoneBuildMissReason, type PhoneBuildPhase as BuildPhase, PhoneBuildPhase, type PhoneBuildPlacement as BuildPlacement, PhoneBuildPlacement, type PhoneBuildPlan as BuildPlan, PhoneBuildPlan, type PhoneBuildPlanParams as BuildPlanParams, PhoneBuildPlanParams, type PhoneBuildReport as BuildReport, PhoneBuildReport, type PhoneBuildResult as BuildResult, PhoneBuildResult, type PhoneControlBeginParams as ControlBeginParams, PhoneControlBeginParams, type PhoneControlBeginResult as ControlBeginResult, PhoneControlBeginResult, type PhoneControlEndedEvent as ControlEndedEvent, PhoneControlEndedEvent, type PhoneDeviceActivity as DeviceActivity, PhoneDeviceActivity, type PhoneDeviceAppProcess as DeviceAppProcess, PhoneDeviceAppProcess, type PhoneDeviceDisk as DeviceDisk, PhoneDeviceDisk, type PhoneDeviceFrameArtwork as DeviceFrameArtwork, PhoneDeviceFrameArtwork, type PhoneDeviceFrameEvent as DeviceFrameEvent, PhoneDeviceFrameEvent, type PhoneDeviceLeaseState as DeviceLeaseState, PhoneDeviceLeaseState, type PhoneDevicePlatform as DevicePlatform, PhoneDevicePlatform, type PhoneDevicePosture as DevicePosture, PhoneDevicePosture, type PhoneEndedAgentSession as EndedAgentSession, PhoneEndedAgentSession, type PhoneEnvironmentState as EnvironmentState, PhoneEnvironmentState, type PhoneErrorEvent as ErrorEvent, PhoneErrorEvent, type PhoneFrameDelayedEvent as FrameDelayedEvent, PhoneFrameDelayedEvent, type PhoneFrameEvent as FrameEvent, PhoneFrameEvent, type PhoneFrameTarget as FrameTarget, PhoneFrameTarget, type PhoneGitChipFacts as GitChipFacts, PhoneGitChipFacts, type PhoneGitChipPart as GitChipPart, PhoneGitChipPart, type PhoneHelloResult as HelloResult, PhoneHelloResult, type PhoneInputButton as InputButton, PhoneInputButton, type PhoneInputKey as InputKey, PhoneInputKey, type PhoneInputSimulatorParams as InputSimulatorParams, PhoneInputSimulatorParams, type PhoneKeyModifier as KeyModifier, PhoneKeyModifier, type PhoneLastBuild as LastBuild, PhoneLastBuild, type PhoneLogFilter as LogFilter, PhoneLogFilter, type PhoneLogLevel as LogLevel, PhoneLogLevel, type PhoneLogRecord as LogRecord, PhoneLogRecord, type PhoneLogSource as LogSource, PhoneLogSource, type PhoneLogsEndedEvent as LogsEndedEvent, PhoneLogsEndedEvent, type PhoneLogsEvent as LogsEvent, PhoneLogsEvent, type PhoneMachineDetails as MachineDetails, PhoneMachineDetails, type PhoneMachineEvent as MachineEvent, PhoneMachineEvent, type PhoneMachineHistory as MachineHistory, PhoneMachineHistory, type PhoneMachineOwner as MachineOwner, PhoneMachineOwner, type PhoneMachineOwnerKind as MachineOwnerKind, PhoneMachineOwnerKind, type PhoneMachineUsage as MachineUsage, PhoneMachineUsage, type PhoneMachineUsageState as MachineUsageState, PhoneMachineUsageState, type PhoneMachineView as MachineView, PhoneMachineView, type PhoneMachineVolume as MachineVolume, PhoneMachineVolume, type PhoneMacosAppState as MacosAppState, PhoneMacosAppState, type PhoneMacosWindowsEvent as MacosWindowsEvent, PhoneMacosWindowsEvent, type PhoneMemoryPressure as MemoryPressure, PhoneMemoryPressure, type PhoneMethod as Method, PhoneMethod, type PhoneMethods as Methods, PhoneMethods, type PhoneMetroBundle as MetroBundle, PhoneMetroBundle, type PhoneNotificationEntry as NotificationEntry, PhoneNotificationEntry, type PhoneNotificationEvent as NotificationEvent, PhoneNotificationEvent, type PhoneNotificationLevel as NotificationLevel, PhoneNotificationLevel, type PhoneNotificationSuppression as NotificationSuppression, PhoneNotificationSuppression, type PhoneNotificationTarget as NotificationTarget, PhoneNotificationTarget, type PhoneNotificationsListResult as NotificationsListResult, PhoneNotificationsListResult, PROTOCOL_VERSION, type PhonePairingPayload as PairingPayload, PhonePairingPayload, PhoneKeyedDelta, PhoneMaintenanceStatus, PhonePhysicalDeviceState, type PhonePhysicalDeviceState as PhysicalDeviceState, PhonePlatform, type PhonePlatform as Platform, PhoneProtocolError, type PhoneProtocolError as ProtocolError, PhonePullRequestFacts, type PhonePullRequestFacts as PullRequestFacts, PhonePushEvent, type PhonePushEvent as PushEvent, PhonePushRegisterParams, type PhonePushRegisterParams as PushRegisterParams, PhoneReloadPlatform, type PhoneReloadPlatform as ReloadPlatform, PhoneRemoteDeviceState, type PhoneRemoteDeviceState as RemoteDeviceState, PhoneReplayEndedEvent, type PhoneReplayEndedEvent as ReplayEndedEvent, PhoneReplayKeyframe, type PhoneReplayKeyframe as ReplayKeyframe, PhoneReplayMarker, type PhoneReplayMarker as ReplayMarker, PhoneReplayRange, type PhoneReplayRange as ReplayRange, PhoneReplayRate, type PhoneReplayRate as ReplayRate, PhoneReplaySpan, type PhoneReplaySpan as ReplaySpan, PhoneResponse, type PhoneResponse as Response, PhoneRotateDirection, type PhoneRotateDirection as RotateDirection, PhoneServerEvent, type PhoneServerEvent as ServerEvent, PhoneServerMessage, type PhoneServerMessage as ServerMessage, PhoneSimState, type PhoneSimState as SimState, PhoneSimulatorCommand, type PhoneSimulatorCommand as SimulatorCommand, PhoneSimulatorOptions, type PhoneSimulatorOptions as SimulatorOptions, PhoneStackFrame, type PhoneStackFrame as StackFrame, PhoneStageFacts, type PhoneStageFacts as StageFacts, PhoneStatusIssue, type PhoneStatusIssue as StatusIssue, PhoneStatusPayload, type PhoneStatusPayload as StatusPayload, PhoneStatusUsage, type PhoneStatusUsage as StatusUsage, PhoneTouchPhase, type PhoneTouchPhase as TouchPhase, PhoneUsageSample, type PhoneUsageSample as UsageSample, PhoneWebBrowserState, type PhoneWebBrowserState as WebBrowserState, PhoneWorkspaceDiff, type PhoneWorkspaceDiff as WorkspaceDiff, PhoneWorkspaceDisk, type PhoneWorkspaceDisk as WorkspaceDisk, PhoneWorkspaceEvent, type PhoneWorkspaceEvent as WorkspaceEvent, PhoneWorkspaceFile, type PhoneWorkspaceFile as WorkspaceFile, PhoneWorkspaceFiles, type PhoneWorkspaceFiles as WorkspaceFiles, PhoneWorkspacePatch, type PhoneWorkspacePatch as WorkspacePatch, PhoneWorkspaceSummary, type PhoneWorkspaceSummary as WorkspaceSummary, PhoneWorkspacesEvent, type PhoneWorkspacesEvent as WorkspacesEvent, PhoneWorktreeFacts, type PhoneWorktreeFacts as WorktreeFacts, PhoneWorktreeGit, type PhoneWorktreeGit as WorktreeGit, PhoneWorktreeRow, type PhoneWorktreeRow as WorktreeRow, applyKeyedDelta, statusViews, withDerivedFacts };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { As as WorktreeFacts, Cd as NdjsonRecord, Gu as HostedAppDelivery, H as HostedLogsCursor, Jl as HostedDeviceOffer, Mu as HostedAppLaunch, Oo as BuildPlanPayload, Ql as HostedDeviceRequest, Rc as MaintenanceStatus, So as BuildHistoryEntry, U as HostedLogsPage, Vo as EnvironmentState, Xl as HostedDevicePhase, Yl as HostedDeviceOfferRequest, Ys as SettingWriteResult, Zl as HostedDevicePlatform, Zo as MacosBuildPlanPayload, a as MachineView, d as WorktreeRow, eu as HostedDeviceSession, i as ArchivedSummary, qs as SettingScope, qu as HostedAppOffer, t as KeyedDelta, u as WorkspaceSummary, vc as ArchivedUsage, yc as ArchivedWorkspace } from "./index-DRnTwJ-z.mjs";
|
|
2
2
|
//#region protocol.d.ts
|
|
3
3
|
declare const PROTOCOL_VERSION = 2;
|
|
4
4
|
declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
|
|
@@ -27,6 +27,7 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
27
27
|
* bringing it to the front, or with null resumes following the front window.
|
|
28
28
|
* `hosted-ios-data` is iOS build handoff and native log queries, persisted before device deletion.
|
|
29
29
|
* `hosted-android-data` is Android APK build handoff and native log queries, persisted before device deletion.
|
|
30
|
+
* `hosted-app-state` queries the current process state of an installed iOS or Android app attempt.
|
|
30
31
|
* `hosted-ios-process` and `hosted-android-process` accept native app offers in process mode, with live process readiness and no Metro.
|
|
31
32
|
* `hosted-metro-link` carries hosted Metro over `device-host.metro.link` connections the client opens, so the host never
|
|
32
33
|
* connects to the client.
|
|
@@ -53,9 +54,8 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
53
54
|
* `build-reuse-artifact` accepts `reuseArtifact` with `podsOnWorker` on `build.start`.
|
|
54
55
|
* `build-jdk` accepts `jdk` on `build.start`, the JDK major an Android build runs on; the machine finds an installed JDK of that
|
|
55
56
|
* major when its default differs.
|
|
56
|
-
* `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
|
|
57
|
-
* `archived.list`, `worktrees.list` and `maintenance.get`.
|
|
58
57
|
* `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
|
|
58
|
+
* `desktop-machine-history` adds machine-wide build and cleanup history to those reports.
|
|
59
59
|
* `desktop-report-platform` accepts an optional ios/android selector for Desktop doctor reports.
|
|
60
60
|
* `desktop-report-invalidate-target` accepts a report target in `desktop.reports.invalidate`, which then invalidates only it.
|
|
61
61
|
* `desktop-settings` reads settings for a selected folder on the authenticated local Desktop connection.
|
|
@@ -68,9 +68,9 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
68
68
|
* `desktop-plan` reads next-build reports for selected folders on the proved local Desktop connection.
|
|
69
69
|
* `desktop-reload` streams reload output and its terminal result on the proved local Desktop connection.
|
|
70
70
|
*/
|
|
71
|
-
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", "native-gradle-peer-jdk", "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", "hosted-metro-link", "hosted-agent-link", "server-update", "build-compat", "build-jdk", "build-reuse-artifact", "
|
|
71
|
+
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", "hosted-app-state", "native-xcode-build", "native-xcode-toolchain", "build-artifact-cache", "native-gradle-build", "native-gradle-artifact-cache", "native-gradle-peer-cache", "native-gradle-peer-jdk", "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", "hosted-metro-link", "hosted-agent-link", "server-update", "build-compat", "build-jdk", "build-reuse-artifact", "desktop-reports", "desktop-machine-history", "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-remedy", "desktop-device-tools", "desktop-stop", "desktop-reload", "desktop-start", "desktop-run", "desktop-build", "desktop-gc", "desktop-worktree-remove", "desktop-worktree-warm", "desktop-plan"];
|
|
72
72
|
type Feature = (typeof FEATURES)[number];
|
|
73
|
-
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", "
|
|
73
|
+
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.remedy.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", "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.runtime.install", "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.app.state", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.metro.link", "device-host.agent.link", "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", "share.start", "share.stop", "share.list"];
|
|
74
74
|
/**
|
|
75
75
|
* The methods that update this server's `stim-server service`. A machine this one approved for `build` or
|
|
76
76
|
* `device-host` may call them; they need neither `read` nor `control`.
|
|
@@ -79,7 +79,7 @@ declare const SERVER_UPDATE_METHODS: readonly ["server.update.status", "server.u
|
|
|
79
79
|
/** The methods a connection with the `build` capability may call; they need `build`, not `read`. */
|
|
80
80
|
declare const BUILD_METHODS: readonly ["build.offer", "build.sync", "build.start", "build.cancel", "build.artifact", "build.cached-artifact", "build.attach"];
|
|
81
81
|
/** Methods restricted to explicitly approved device-host clients. */
|
|
82
|
-
declare const DEVICE_HOST_METHODS: readonly ["device-host.runtime.install", "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.metro.link", "device-host.agent.link", "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"];
|
|
82
|
+
declare const DEVICE_HOST_METHODS: readonly ["device-host.runtime.install", "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.app.state", "device-host.logs.query", "device-host.metro.open", "device-host.metro.ports", "device-host.metro.close", "device-host.metro.link", "device-host.agent.link", "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"];
|
|
83
83
|
type Method = (typeof METHODS)[number];
|
|
84
84
|
declare const PUSH_TOKEN_PATTERN = "^(Expo|Exponent)PushToken\\[[^\\]\\s]{1,256}\\]$";
|
|
85
85
|
/**
|
|
@@ -222,7 +222,7 @@ type DesktopReportTarget = {
|
|
|
222
222
|
cwd: string;
|
|
223
223
|
platform?: "ios" | "android";
|
|
224
224
|
} | {
|
|
225
|
-
report: "gc";
|
|
225
|
+
report: "gc" | "gc-history" | "builds";
|
|
226
226
|
};
|
|
227
227
|
interface DesktopReportSnapshot {
|
|
228
228
|
pending: boolean;
|
|
@@ -778,7 +778,8 @@ interface BuildToolchain {
|
|
|
778
778
|
androidHome?: string;
|
|
779
779
|
}
|
|
780
780
|
/**
|
|
781
|
-
* How busy the remote machine is. `running` counts offloaded builds and `max` is how many it runs at once
|
|
781
|
+
* How busy the remote machine is. `running` counts offloaded builds and `max` is how many it runs at once, 0 when
|
|
782
|
+
* unlimited (`server.maxOffloadedBuilds`).
|
|
782
783
|
* `cpus`, `loadPerCore` (5-minute load average per CPU), `builds` (its own Stim native builds plus the offloaded
|
|
783
784
|
* ones), `maxBuilds` (its `concurrency.maxBuilds`, 0 when unlimited), `maxLoadPerCore`, `memoryUsedBytes`
|
|
784
785
|
* (Activity Monitor's Memory Used) and `memoryTotalBytes` are absent from a stim-server older than them. `declined` is why it would refuse a build now, null when it would take one.
|
|
@@ -1292,7 +1293,53 @@ interface HostedSessionRow {
|
|
|
1292
1293
|
since: string;
|
|
1293
1294
|
workspace: string;
|
|
1294
1295
|
}
|
|
1296
|
+
/** A live web share, as `share.list` lists it; never its URL token or password. */
|
|
1297
|
+
interface WebShareRow {
|
|
1298
|
+
id: string;
|
|
1299
|
+
workspace: string;
|
|
1300
|
+
platform: "ios" | "android";
|
|
1301
|
+
slot: string;
|
|
1302
|
+
physical: boolean;
|
|
1303
|
+
control: boolean;
|
|
1304
|
+
expiresAt: string;
|
|
1305
|
+
viewers: number;
|
|
1306
|
+
/** How viewers get in: a generated password, one the person set, or the URL alone. */
|
|
1307
|
+
auth: "generated" | "set" | "none";
|
|
1308
|
+
}
|
|
1309
|
+
interface WebShareStartParams {
|
|
1310
|
+
workspace: string;
|
|
1311
|
+
platform: "ios" | "android";
|
|
1312
|
+
slot?: string;
|
|
1313
|
+
physical?: boolean;
|
|
1314
|
+
control?: boolean;
|
|
1315
|
+
expiresMinutes?: number;
|
|
1316
|
+
/** 8 to 128 characters; never sent back. Without it, and without `passwordless`, the server generates one. */
|
|
1317
|
+
password?: string;
|
|
1318
|
+
passwordless?: boolean;
|
|
1319
|
+
}
|
|
1295
1320
|
interface Methods {
|
|
1321
|
+
"share.start": {
|
|
1322
|
+
params: WebShareStartParams;
|
|
1323
|
+
result: WebShareRow & {
|
|
1324
|
+
url: string;
|
|
1325
|
+
password?: string;
|
|
1326
|
+
warning?: string;
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
1329
|
+
"share.stop": {
|
|
1330
|
+
params: {
|
|
1331
|
+
workspace: string;
|
|
1332
|
+
};
|
|
1333
|
+
result: {
|
|
1334
|
+
stopped: WebShareRow[];
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
1337
|
+
"share.list": {
|
|
1338
|
+
params?: Record<string, never>;
|
|
1339
|
+
result: {
|
|
1340
|
+
shares: WebShareRow[];
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1296
1343
|
"device-host.sessions": {
|
|
1297
1344
|
params?: Record<string, never>;
|
|
1298
1345
|
result: {
|
|
@@ -1436,6 +1483,15 @@ interface Methods {
|
|
|
1436
1483
|
};
|
|
1437
1484
|
result: HostedAppLaunch;
|
|
1438
1485
|
};
|
|
1486
|
+
"device-host.app.state": {
|
|
1487
|
+
params: {
|
|
1488
|
+
session: string;
|
|
1489
|
+
attempt: string;
|
|
1490
|
+
};
|
|
1491
|
+
result: {
|
|
1492
|
+
state: "running" | "stopped" | "unknown";
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1439
1495
|
"device-host.logs.query": {
|
|
1440
1496
|
params: {
|
|
1441
1497
|
session: string;
|
|
@@ -1557,6 +1613,23 @@ interface Methods {
|
|
|
1557
1613
|
};
|
|
1558
1614
|
result: Record<string, unknown>;
|
|
1559
1615
|
};
|
|
1616
|
+
"desktop.remedy.subscribe": {
|
|
1617
|
+
params: {
|
|
1618
|
+
cwd: string;
|
|
1619
|
+
} & ({
|
|
1620
|
+
action: "doctor-fix";
|
|
1621
|
+
platform?: "ios" | "android";
|
|
1622
|
+
} | {
|
|
1623
|
+
action: "device-unlock";
|
|
1624
|
+
platform?: "ios" | "android";
|
|
1625
|
+
slot?: string;
|
|
1626
|
+
} | {
|
|
1627
|
+
action: "device-tool";
|
|
1628
|
+
request: DeviceToolRequest;
|
|
1629
|
+
slot?: string;
|
|
1630
|
+
});
|
|
1631
|
+
result: SubscribeResult;
|
|
1632
|
+
};
|
|
1560
1633
|
"desktop.machine-access.subscribe": {
|
|
1561
1634
|
params: {
|
|
1562
1635
|
cwd: string;
|
|
@@ -1647,10 +1720,6 @@ interface Methods {
|
|
|
1647
1720
|
};
|
|
1648
1721
|
result: SubscribeResult;
|
|
1649
1722
|
};
|
|
1650
|
-
"status.subscribe": {
|
|
1651
|
-
params?: Record<string, never>;
|
|
1652
|
-
result: SubscribeResult;
|
|
1653
|
-
};
|
|
1654
1723
|
"workspaces.subscribe": {
|
|
1655
1724
|
params?: Record<string, never>;
|
|
1656
1725
|
result: SubscribeResult;
|
|
@@ -1886,15 +1955,6 @@ interface UsageHistory {
|
|
|
1886
1955
|
})[];
|
|
1887
1956
|
devices: DeviceUsageSeries[];
|
|
1888
1957
|
}
|
|
1889
|
-
/** A full status payload, as `stim status --watch --json` prints it, and the server's usage history, when it has one. */
|
|
1890
|
-
interface StatusEvent {
|
|
1891
|
-
event: "status";
|
|
1892
|
-
subscription: string;
|
|
1893
|
-
payload: StatusPayload;
|
|
1894
|
-
usage?: UsageHistory;
|
|
1895
|
-
/** `grantedAt` of the device leases this server holds for phones; absent when it holds none. */
|
|
1896
|
-
ownLeases?: string[];
|
|
1897
|
-
}
|
|
1898
1958
|
/**
|
|
1899
1959
|
* Records for a `logs.subscribe` subscription: first the last `tail` matching records, then new ones as
|
|
1900
1960
|
* they arrive. An archive subscription sends its matching records, then `logs-ended`.
|
|
@@ -2217,6 +2277,41 @@ interface DesktopMachineAccessEndedEvent {
|
|
|
2217
2277
|
stdout: string;
|
|
2218
2278
|
message: string;
|
|
2219
2279
|
}
|
|
2280
|
+
type DeviceToolRequest = {
|
|
2281
|
+
tool: "location";
|
|
2282
|
+
platform: "ios" | "android";
|
|
2283
|
+
set: string;
|
|
2284
|
+
} | {
|
|
2285
|
+
tool: "location";
|
|
2286
|
+
platform: "ios" | "android";
|
|
2287
|
+
clear: true;
|
|
2288
|
+
} | {
|
|
2289
|
+
tool: "permission";
|
|
2290
|
+
platform: "ios" | "android";
|
|
2291
|
+
action: "grant" | "revoke" | "reset";
|
|
2292
|
+
service: string;
|
|
2293
|
+
} | {
|
|
2294
|
+
tool: "push";
|
|
2295
|
+
platform: "ios";
|
|
2296
|
+
payload: string;
|
|
2297
|
+
} | {
|
|
2298
|
+
tool: "network";
|
|
2299
|
+
platform: "android";
|
|
2300
|
+
state: "on" | "off";
|
|
2301
|
+
};
|
|
2302
|
+
interface DesktopRemedyProgressEvent {
|
|
2303
|
+
event: "desktop-remedy-progress";
|
|
2304
|
+
subscription: string;
|
|
2305
|
+
stream: "stdout" | "stderr";
|
|
2306
|
+
message: string;
|
|
2307
|
+
}
|
|
2308
|
+
interface DesktopRemedyEndedEvent {
|
|
2309
|
+
event: "desktop-remedy-ended";
|
|
2310
|
+
subscription: string;
|
|
2311
|
+
exitCode: 0 | 1;
|
|
2312
|
+
stdout: string;
|
|
2313
|
+
message: string;
|
|
2314
|
+
}
|
|
2220
2315
|
/**
|
|
2221
2316
|
* Sent on a `device-host.metro.link` connection when the host pairs it with one Metro stream; binary frames follow.
|
|
2222
2317
|
* Only device-host links receive it, so it is not a `ServerEvent`.
|
|
@@ -2224,7 +2319,7 @@ interface DesktopMachineAccessEndedEvent {
|
|
|
2224
2319
|
interface MetroLinkOpenEvent {
|
|
2225
2320
|
event: "device-host.metro.link.open";
|
|
2226
2321
|
}
|
|
2227
|
-
type ServerEvent = DesktopMachineAccessProgressEvent | DesktopMachineAccessEndedEvent | DesktopWorktreeWarmProgressEvent | DesktopWorktreeWarmEndedEvent | DesktopWorktreeRemoveProgressEvent | DesktopWorktreeRemoveEndedEvent | DesktopGcProgressEvent | DesktopGcEndedEvent | DesktopBuildProgressEvent | DesktopBuildEndedEvent | DesktopRunProgressEvent | DesktopRunEndedEvent | DesktopStartProgressEvent | DesktopStartEndedEvent | DesktopReloadProgressEvent | DesktopReloadEndedEvent | DesktopStopProgressEvent | DesktopStopEndedEvent | DesktopReportEvent | BuildProgressEvent | NotificationEvent |
|
|
2322
|
+
type ServerEvent = DesktopRemedyProgressEvent | DesktopRemedyEndedEvent | DesktopMachineAccessProgressEvent | DesktopMachineAccessEndedEvent | DesktopWorktreeWarmProgressEvent | DesktopWorktreeWarmEndedEvent | DesktopWorktreeRemoveProgressEvent | DesktopWorktreeRemoveEndedEvent | DesktopGcProgressEvent | DesktopGcEndedEvent | DesktopBuildProgressEvent | DesktopBuildEndedEvent | DesktopRunProgressEvent | DesktopRunEndedEvent | DesktopStartProgressEvent | DesktopStartEndedEvent | DesktopReloadProgressEvent | DesktopReloadEndedEvent | DesktopStopProgressEvent | DesktopStopEndedEvent | DesktopReportEvent | BuildProgressEvent | NotificationEvent | WorkspacesEvent | WorkspaceEvent | MachineEvent | LogsEvent | LogsEndedEvent | FrameEvent | DeviceFrameEvent | MacosWindowsEvent | FrameDelayedEvent | ReplayEndedEvent | ErrorEvent | ControlEndedEvent;
|
|
2228
2323
|
type ServerMessage = ServerResponse | ServerEvent;
|
|
2229
2324
|
type ServeRoute = {
|
|
2230
2325
|
state: "routed";
|
|
@@ -2242,4 +2337,4 @@ type ServeRoute = {
|
|
|
2242
2337
|
port: number;
|
|
2243
2338
|
};
|
|
2244
2339
|
//#endregion
|
|
2245
|
-
export { DesktopBuildEndedEvent as $,
|
|
2340
|
+
export { DesktopBuildEndedEvent as $, Platform as $n, WebShareStartParams as $r, InputButtonParams as $t, BuildPlatform as A, MachineUpdateStatus as An, ServerUpdateProgress as Ar, DeviceUsageSeries as At, CAPABILITIES as B, NOTIFICATION_SUPPRESSIONS as Bn, UnsubscribeParams as Br, FrameEvent as Bt, BuildJobParams as C, MAX_INPUT_TEXT as Cn, SERVER_UPDATE_METHODS as Cr, DesktopWorktreeRemoveProgressEvent as Ct, BuildOfferResult as D, MachineEvent as Dn, ServerResponse as Dr, DeviceFrameEvent as Dt, BuildOfferParams as E, MachineDetails as En, ServerMessage as Er, DeviceFrameArtwork as Et, BuildSwiftpmArtifactQuery as F, MemoryPressure as Fn, SimulatorOptions as Fr, FEATURES as Ft, ControlBeginParams as G, NotificationTarget as Gn, VIDEO_CODECS as Gr, FramesSubscribeResult as Gt, CachedBuildArtifact as H, NotificationEvent as Hn, UsageSample as Hr, FramesLiveParams as Ht, BuildSyncParams as I, Method as In, StatsResult as Ir, FRAME_EDGE as It, ControlEndedEvent as J, PLATFORMS as Jn, VIDEO_KEYFRAME as Jr, HelloResult as Jt, ControlBeginResult as K, NotificationsListParams as Kn, VIDEO_FOLDED as Kr, GradleOffloadInputs as Kt, BuildSyncResult as L, Methods as Ln, SubscribeResult as Lr, FRAME_FPS as Lt, BuildReactNativeArtifactQuery as M, MachineVolume as Mn, ServerUpdateStatus as Mr, ERROR_CODES as Mt, BuildStartParams as N, MacosWindow as Nn, SettingsResult as Nr, ErrorCode as Nt, BuildPlanParams as O, MachineHistory as On, ServerUpdateOutcome as Or, DevicePosture as Ot, BuildStimIdentity as P, MacosWindowsEvent as Pn, SimulatorCommand as Pr, ErrorEvent as Pt, DesktopBootstrapChallenge as Q, PUSH_TOKEN_PATTERN as Qn, WebShareRow as Qr, InputButton as Qt, BuildToolchain as R, MetroLinkOpenEvent as Rn, TOUCH_PHASES as Rr, Feature as Rt, BuildJobOutcome as S, LogsQueryResult as Sn, RotateDirection as Sr, DesktopWorktreeRemoveEndedEvent as St, BuildMachineReport as T, METHODS as Tn, ServerEvent as Tr, DesktopWorktreeWarmProgressEvent as Tt, Capability as U, NotificationLevel as Un, UsageSeries as Ur, FramesSeekParams as Ut, CONTROL_END_REASONS as V, NotificationEntry as Vn, UsageHistory as Vr, FrameTarget as Vt, ClientRequest as W, NotificationSuppression as Wn, VIDEO_ARTWORK as Wr, FramesSeekResult as Wt, DEVICE_HOST_METHODS as X, PROTOCOL_VERSION as Xn, VideoCodec as Xr, INPUT_BUTTONS as Xt, ControlPlatform as Y, PROTOCOL_SCHEMA_FILE as Yn, VIDEO_UNFOLDED as Yr, HostedSessionRow as Yt, DEVICE_POSTURES as Z, PUSH_EVENTS as Zn, VideoPacket as Zr, INPUT_KEYS as Zt, BuildCapacity as _, LogLevel as _n, ReplayMarker as _r, DesktopSettingsWriteResult as _t, ActionResult as a, WorkspacePatch as ai, InputSimulatorParams as an, QuietHours as ar, DesktopMachineAccessProgressEvent as at, BuildFingerprintSource as b, LogsEndedEvent as bn, ReplayTarget as br, DesktopStopEndedEvent as bt, ArchivedListParams as c, WorkspacesSnapshot as ci, InputWindowParams as cn, REPLAY_RATES as cr, DesktopReloadProgressEvent as ct, BUILD_REPO_PATTERN as d, KeyframeParams as dn, RecordingSetResult as dr, DesktopReportEvent as dt, WorkspaceDiff as ei, InputKey as en, PlatformBuildOptions as er, DesktopBuildProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LEGACY_PUSH_EVENTS as fn, ReloadPlatform as fr, DesktopReportSnapshot as ft, BuildAttachResult as g, LogFilter as gn, ReplayKeyframeParams as gr, DesktopSettingsWriteParams as gt, BuildArtifactResult as h, LegacyPushEvent as hn, ReplayKeyframe as hr, DesktopRunProgressEvent as ht, ActionParams as i, WorkspaceParams as ii, InputScrollParams as in, PushRegisterParams as ir, DesktopMachineAccessEndedEvent as it, BuildProgressEvent as j, MachineUsage as jn, ServerUpdateStartParams as jr, DuoFramePose as jt, BuildPlanResult as k, MachineHistoryParams as kn, ServerUpdatePackage as kr, DeviceToolRequest as kt, ArchivedListResult as l, KEY_MODIFIERS as ln, ROTATE_DIRECTIONS as lr, DesktopRemedyEndedEvent as lt, BuildArtifactIdentity as m, LOG_SOURCES as mn, ReplayEndedEvent as mr, DesktopRunEndedEvent as mt, ARCHIVED_PAGE_LIMIT as n, WorkspaceFile as ni, InputPostureParams as nn, ProtocolError as nr, DesktopGcProgressEvent as nt, ArchiveDetailParams as o, WorkspaceRef as oi, InputTextParams as on, RELOAD_PLATFORMS as or, DesktopPlanRefusal as ot, BuildAndroidOptions as p, LOG_LEVELS as pn, RemoteDiagnosis as pr, DesktopReportTarget as pt, ControlEndParams as q, NotificationsListResult as qn, VIDEO_HEADER_VERSION as qr, HelloParams as qt, ActionName as r, WorkspaceFiles as ri, InputRotateParams as rn, PushEvent as rr, DesktopLogFilter as rt, ArchiveDetailResult as s, WorkspacesEvent as si, InputTouchParams as sn, REPLAY_MARKER_KINDS as sr, DesktopReloadEndedEvent as st, ACTIONS as t, WorkspaceEvent as ti, InputKeyParams as tn, PlatformRunOptions as tr, DesktopGcEndedEvent as tt, BUILD_METHODS as u, KeyModifier as un, RecordingSetParams as ur, DesktopRemedyProgressEvent as ut, BuildClientSummary as v, LogRecord as vn, ReplayRange as vr, DesktopStartEndedEvent as vt, BuildMachineCapacity as w, MAX_LOG_TAIL as wn, ServeRoute as wr, DesktopWorktreeWarmEndedEvent as wt, BuildGradleArtifactQuery as x, LogsEvent as xn, RequestId as xr, DesktopStopProgressEvent as xt, BuildFile as y, LogSource as yn, ReplaySpan as yr, DesktopStartProgressEvent as yt, BuildsHistoryResult as z, NOTIFICATION_LEVELS as zn, TouchPhase as zr, FrameDelayedEvent as zt };
|