@stim-cli/core 1.24.0 → 1.25.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/{core-Bzz_SIGQ.mjs → core-Cd3b_fBm.mjs} +15 -5
- package/dist/{index-B8_6CrJ-.d.mts → index-kR1gVv1b.d.mts} +2 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/phone-protocol.d.mts +2 -2
- package/dist/{protocol-CrDIdn30.d.mts → protocol-XMSnfmrX.d.mts} +24 -10
- package/dist/protocol.d.mts +2 -2
- package/dist/protocol.mjs +3 -0
- package/dist/state.d.mts +1 -1
- package/dist/state.mjs +13 -2
- package/package.json +1 -1
|
@@ -720,6 +720,12 @@ function createMetroBridge({ gatewayPort, peer, secret }) {
|
|
|
720
720
|
//#region react-native-artifact.ts
|
|
721
721
|
const text$1 = (value) => typeof value === "string" && value.length > 0 && value.length <= 256 && !/[\0\r\n]/.test(value);
|
|
722
722
|
const path$2 = (value) => text$1(value) && !/[\\:]/.test(value) && value.split("/").every((part) => part !== "" && part !== ".." && part !== ".git");
|
|
723
|
+
/** `compat` when `value` has a valid one, else its `stimBuild`; null without either. */
|
|
724
|
+
function stimIdentity(value) {
|
|
725
|
+
const { compat } = value;
|
|
726
|
+
if (compat !== void 0) return typeof compat === "number" && Number.isSafeInteger(compat) && compat > 0 ? { compat } : null;
|
|
727
|
+
return text$1(value.stimBuild) ? { stimBuild: value.stimBuild } : null;
|
|
728
|
+
}
|
|
723
729
|
/** Validates and canonicalizes the choices used by completed React Native peer artifacts. */
|
|
724
730
|
function reactNativeArtifactQuery(value) {
|
|
725
731
|
if (!isJsonObject(value) || typeof value.project !== "string" || value.project !== "" && !path$2(value.project) || !text$1(value.fingerprint) || typeof value.isExpo !== "boolean" || Object.keys(value).some((key) => ![
|
|
@@ -732,7 +738,8 @@ function reactNativeArtifactQuery(value) {
|
|
|
732
738
|
"android"
|
|
733
739
|
].includes(key))) return null;
|
|
734
740
|
const tools = value.toolchain;
|
|
735
|
-
|
|
741
|
+
const stim = isJsonObject(tools) ? stimIdentity(tools) : null;
|
|
742
|
+
if (!isJsonObject(tools) || !stim) return null;
|
|
736
743
|
const common = {
|
|
737
744
|
project: value.project,
|
|
738
745
|
fingerprint: value.fingerprint,
|
|
@@ -755,7 +762,7 @@ function reactNativeArtifactQuery(value) {
|
|
|
755
762
|
...common,
|
|
756
763
|
platform: "ios",
|
|
757
764
|
toolchain: {
|
|
758
|
-
|
|
765
|
+
...stim,
|
|
759
766
|
arch: tools.arch,
|
|
760
767
|
xcode: tools.xcode,
|
|
761
768
|
simulatorSdk: tools.simulatorSdk,
|
|
@@ -790,7 +797,7 @@ function reactNativeArtifactQuery(value) {
|
|
|
790
797
|
...common,
|
|
791
798
|
platform: "android",
|
|
792
799
|
toolchain: {
|
|
793
|
-
|
|
800
|
+
...stim,
|
|
794
801
|
jdk: tools.jdk
|
|
795
802
|
},
|
|
796
803
|
android: {
|
|
@@ -826,9 +833,12 @@ function swiftpmArtifactQuery(value) {
|
|
|
826
833
|
"project",
|
|
827
834
|
"sourceDigest",
|
|
828
835
|
"stimBuild",
|
|
836
|
+
"compat",
|
|
829
837
|
"inputs",
|
|
830
838
|
"build"
|
|
831
|
-
].includes(key)) || typeof value.project !== "string" || value.project !== "" && !path$1(value.project) || typeof value.sourceDigest !== "string" || !/^[a-f0-9]{64}$/.test(value.sourceDigest)
|
|
839
|
+
].includes(key)) || typeof value.project !== "string" || value.project !== "" && !path$1(value.project) || typeof value.sourceDigest !== "string" || !/^[a-f0-9]{64}$/.test(value.sourceDigest)) return null;
|
|
840
|
+
const stim = stimIdentity(value);
|
|
841
|
+
if (!stim) return null;
|
|
832
842
|
const { inputs, build } = value;
|
|
833
843
|
if (!isJsonObject(inputs) || inputs.complete !== true || Object.keys(inputs).some((key) => ![
|
|
834
844
|
"complete",
|
|
@@ -850,7 +860,7 @@ function swiftpmArtifactQuery(value) {
|
|
|
850
860
|
return {
|
|
851
861
|
project: value.project,
|
|
852
862
|
sourceDigest: value.sourceDigest,
|
|
853
|
-
|
|
863
|
+
...stim,
|
|
854
864
|
inputs: {
|
|
855
865
|
complete: true,
|
|
856
866
|
ignored: normalized(inputs.ignored),
|
|
@@ -2338,7 +2338,8 @@ declare function readAgentSessionsCache(): AgentSessionsCache | null;
|
|
|
2338
2338
|
//#region state/stim-build.d.ts
|
|
2339
2339
|
/**
|
|
2340
2340
|
* A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
|
|
2341
|
-
* bytes of a `stim` `dist` directory. A
|
|
2341
|
+
* bytes of a `stim` `dist` directory. A remote machine that reports no build compatibility version offloads only
|
|
2342
|
+
* with the same one.
|
|
2342
2343
|
*/
|
|
2343
2344
|
declare function stimBuildDigest(dir: string): string | null;
|
|
2344
2345
|
//#endregion
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as BuildSwiftpmArtifactQuery, M as BuildReactNativeArtifactQuery, m as BuildArtifactIdentity } from "./protocol-XMSnfmrX.mjs";
|
|
2
2
|
import { Server } from "node:net";
|
|
3
3
|
//#region dir-lock.d.ts
|
|
4
4
|
interface DirLockOptions {
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { C as quotedPath } from "./ownership-claim-DG2GMIoo.mjs";
|
|
2
|
-
import { $ as withDirLockAsync, A as createMetroGateway, B as unitLines, C as workspaceName, D as reactNativeArtifactIdentity, E as swiftpmArtifactQuery, F as storeArtifactAsync, G as ambientWrite, H as validMacosResourceDestination, I as artifactIn, K as withAmbientContext, L as resolveArtifact, M as dependencyLockfile, N as reusableDependencies, O as reactNativeArtifactQuery, P as compiledHelper, Q as withDirLock, R as storeArtifact, S as workspaceLogDir, T as workspaceStateDir, U as ambientContext, V as unitWords, W as ambientEnv, _ as rotatedLogPath, a as buildCacheRoot, b as updateCacheManifest, c as cacheNameSegment, d as ensurePrivateDir, et as withDirLockTransaction, f as hostSimulatorArch, g as rotateLog, h as registerCache, i as buildCacheKey, j as dependencyInstall, k as createMetroBridge, l as cachePathSetting, m as readCacheManifest, n as METRO_NAMED_CACHE_LAYOUT, o as cacheDirRefusal, p as metroCacheRoot, r as STORE_ROOT_TAG, s as cacheManifestLockPath, t as LOG_ROTATE_BYTES, u as configDir, v as sharedStoreRoot, w as workspaceSlug, x as workspaceId, y as tagSharedStore, z as quoteUnitWord } from "./core-
|
|
2
|
+
import { $ as withDirLockAsync, A as createMetroGateway, B as unitLines, C as workspaceName, D as reactNativeArtifactIdentity, E as swiftpmArtifactQuery, F as storeArtifactAsync, G as ambientWrite, H as validMacosResourceDestination, I as artifactIn, K as withAmbientContext, L as resolveArtifact, M as dependencyLockfile, N as reusableDependencies, O as reactNativeArtifactQuery, P as compiledHelper, Q as withDirLock, R as storeArtifact, S as workspaceLogDir, T as workspaceStateDir, U as ambientContext, V as unitWords, W as ambientEnv, _ as rotatedLogPath, a as buildCacheRoot, b as updateCacheManifest, c as cacheNameSegment, d as ensurePrivateDir, et as withDirLockTransaction, f as hostSimulatorArch, g as rotateLog, h as registerCache, i as buildCacheKey, j as dependencyInstall, k as createMetroBridge, l as cachePathSetting, m as readCacheManifest, n as METRO_NAMED_CACHE_LAYOUT, o as cacheDirRefusal, p as metroCacheRoot, r as STORE_ROOT_TAG, s as cacheManifestLockPath, t as LOG_ROTATE_BYTES, u as configDir, v as sharedStoreRoot, w as workspaceSlug, x as workspaceId, y as tagSharedStore, z as quoteUnitWord } from "./core-Cd3b_fBm.mjs";
|
|
3
3
|
export { LOG_ROTATE_BYTES, METRO_NAMED_CACHE_LAYOUT, STORE_ROOT_TAG, ambientContext, ambientEnv, ambientWrite, artifactIn, buildCacheKey, buildCacheRoot, cacheDirRefusal, cacheManifestLockPath, cacheNameSegment, cachePathSetting, compiledHelper, configDir, createMetroBridge, createMetroGateway, dependencyInstall, dependencyLockfile, ensurePrivateDir, hostSimulatorArch, metroCacheRoot, quoteUnitWord, quotedPath, reactNativeArtifactIdentity, reactNativeArtifactQuery, readCacheManifest, registerCache, resolveArtifact, reusableDependencies, rotateLog, rotatedLogPath, sharedStoreRoot, storeArtifact, storeArtifactAsync, swiftpmArtifactQuery, tagSharedStore, unitLines, unitWords, updateCacheManifest, validMacosResourceDestination, withAmbientContext, withDirLock, withDirLockAsync, withDirLockTransaction, workspaceId, workspaceLogDir, workspaceName, workspaceSlug, workspaceStateDir };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $t as AndroidDeviceState, Cn as DeviceLeaseState, Cr as ArchivedWorkspace, Dn as EnvironmentDisk, Hr as MaintenanceStatus, In as MachineUsageState, Kn as RemoteDeviceState, Lr as MaintenancePass, Na as HostedMacosPlacement, Nr as MaintenanceAction, On as EnvironmentState, Pn as MachineOwner, Qn as StatusIssue, Rr as MaintenancePressure, Sn as DeviceAppProcess, Sr as ArchivedUsage, Tn as DiskMeasure, Ut as withDerivedFacts, Wn as PhysicalDeviceState, Yn as SimulatorState, Zt as AgentSession, _n as BuildReport, a as MachineView, cn as BuildDiagnostic, dn as BuildMissChange, dr as WorktreeGit, er as StatusPayload, f as statusViews, fn as BuildMissReason, fr as WorktreePullRequest, hn as BuildPlanPayload, hr as MacosBuild, i as ArchivedSummary, in as BuildActivity, jn as LastBuildReport, kn as GitChip, ln as BuildHistoryEntry, lr as WorkspaceStage, mn as BuildPlacement, or as WebBrowserState, pr as MacosAppRecord, r as applyKeyedDelta, sn as BuildDetail, ur as WorktreeFacts, xn as DeviceActivity, yn as BuildWaitingFor, zn as MetroBundleState } from "./index-
|
|
2
|
-
import { $ as
|
|
1
|
+
import { $t as AndroidDeviceState, Cn as DeviceLeaseState, Cr as ArchivedWorkspace, Dn as EnvironmentDisk, Hr as MaintenanceStatus, In as MachineUsageState, Kn as RemoteDeviceState, Lr as MaintenancePass, Na as HostedMacosPlacement, Nr as MaintenanceAction, On as EnvironmentState, Pn as MachineOwner, Qn as StatusIssue, Rr as MaintenancePressure, Sn as DeviceAppProcess, Sr as ArchivedUsage, Tn as DiskMeasure, Ut as withDerivedFacts, Wn as PhysicalDeviceState, Yn as SimulatorState, Zt as AgentSession, _n as BuildReport, a as MachineView, cn as BuildDiagnostic, dn as BuildMissChange, dr as WorktreeGit, er as StatusPayload, f as statusViews, fn as BuildMissReason, fr as WorktreePullRequest, hn as BuildPlanPayload, hr as MacosBuild, i as ArchivedSummary, in as BuildActivity, jn as LastBuildReport, kn as GitChip, ln as BuildHistoryEntry, lr as WorkspaceStage, mn as BuildPlacement, or as WebBrowserState, pr as MacosAppRecord, r as applyKeyedDelta, sn as BuildDetail, ur as WorktreeFacts, xn as DeviceActivity, yn as BuildWaitingFor, zn as MetroBundleState } from "./index-kR1gVv1b.mjs";
|
|
2
|
+
import { $ as DesktopBuildEndedEvent, $n as PushEvent, $r as WorkspacePatch, Ar as SimulatorOptions, Bn as NotificationSuppression, Cn as MachineDetails, Ct as DesktopWorktreeWarmProgressEvent, Dt as DeviceUsageSeries, Et as DevicePosture, Fr as TouchPhase, G as ControlBeginParams, Gt as HelloResult, Ht as FramesSubscribeResult, It as FrameDelayedEvent, J as ControlEndedEvent, Jr as WorkspaceDiff, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Ln as NotificationEntry, Lr as UsageHistory, Lt as FrameEvent, Mr as StatusEvent, O as BuildPlanParams, On as MachineUsage, Pn as Methods, Qn as ProtocolError, Rn as NotificationEvent, Rr as UsageSample, 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 WorkspaceFile, Yn as Platform, Yr as WorkspaceEvent, Yt as InputButton, Zr as WorkspaceFiles, Zt as InputKey, _n as LogsEndedEvent, _r as RotateDirection, _t as DesktopStartProgressEvent, a as ActionResult, br as ServerEvent, bt as DesktopWorktreeRemoveEndedEvent, c as ArchivedListParams, ct as DesktopReloadProgressEvent, dr as ReplayKeyframeParams, ei as WorkspaceRef, er as PushRegisterParams, et as DesktopBuildProgressEvent, fr as ReplayMarker, ft as DesktopRunEndedEvent, gn as LogSource, gt as DesktopStartEndedEvent, hn as LogRecord, hr as ReplayTarget, i as ActionParams, j as BuildProgressEvent, jn as MacosWindowsEvent, jt as ErrorEvent, kn as MachineVolume, kr as SimulatorCommand, lr as ReplayEndedEvent, lt as DesktopReportEvent, mn as LogLevel, mr as ReplaySpan, nn as InputSimulatorParams, nt as DesktopGcProgressEvent, o as ArchiveDetailParams, pn as LogFilter, pr as ReplayRange, pt as DesktopRunProgressEvent, r as ActionName, sn as KeyModifier, st as DesktopReloadEndedEvent, t as ACTIONS, ti as WorkspacesEvent, tt as DesktopGcEndedEvent, u as BUILD_METHODS, ur as ReplayKeyframe, v as BuildClientSummary, vn as LogsEvent, vr as SERVER_UPDATE_METHODS, vt as DesktopStopEndedEvent, wn as MachineEvent, wt as DeviceFrameArtwork, xt as DesktopWorktreeRemoveProgressEvent, yn as LogsQueryResult, yt as DesktopStopProgressEvent, zn as NotificationLevel } from "./protocol-XMSnfmrX.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 { $i as HostedDevicePlatform, Aa as HostedAppLaunch, Cr as ArchivedWorkspace, Ga as HostedAppOffer, Hr as MaintenanceStatus, Ln as MacosBuildPlanPayload, On as EnvironmentState, Qi as HostedDevicePhase, Sr as ArchivedUsage, T as HostedLogsPage, Ua as HostedAppDelivery, Xi as HostedDeviceOffer, Zi as HostedDeviceOfferRequest, Zl as NdjsonRecord, a as MachineView, d as WorktreeRow, ea as HostedDeviceRequest, er as StatusPayload, hn as BuildPlanPayload, i as ArchivedSummary, ln as BuildHistoryEntry, na as HostedDeviceSession, t as KeyedDelta, u as WorkspaceSummary, ur as WorktreeFacts, w as HostedLogsCursor, xo as SettingWriteResult, yo as SettingScope } from "./index-
|
|
1
|
+
import { $i as HostedDevicePlatform, Aa as HostedAppLaunch, Cr as ArchivedWorkspace, Ga as HostedAppOffer, Hr as MaintenanceStatus, Ln as MacosBuildPlanPayload, On as EnvironmentState, Qi as HostedDevicePhase, Sr as ArchivedUsage, T as HostedLogsPage, Ua as HostedAppDelivery, Xi as HostedDeviceOffer, Zi as HostedDeviceOfferRequest, Zl as NdjsonRecord, a as MachineView, d as WorktreeRow, ea as HostedDeviceRequest, er as StatusPayload, hn as BuildPlanPayload, i as ArchivedSummary, ln as BuildHistoryEntry, na as HostedDeviceSession, t as KeyedDelta, u as WorkspaceSummary, ur as WorktreeFacts, w as HostedLogsCursor, xo as SettingWriteResult, yo as SettingScope } from "./index-kR1gVv1b.mjs";
|
|
2
2
|
//#region protocol.d.ts
|
|
3
3
|
declare const PROTOCOL_VERSION = 2;
|
|
4
4
|
declare const PROTOCOL_SCHEMA_FILE = "protocol.schema.json";
|
|
@@ -43,6 +43,8 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
43
43
|
* `swiftpm-peer-cache` queries and fetches completed SwiftPM apps after rechecking worker-private inputs.
|
|
44
44
|
* `build-dependency-cache` checks dependency warmth against the requested project and install selection.
|
|
45
45
|
* `server-update` is `server.update.status`, `server.update.start` and `server.update.chunk`.
|
|
46
|
+
* `build-compat` accepts `compat` on `build.start`, and in place of `stimBuild` in React Native and SwiftPM artifact
|
|
47
|
+
* queries.
|
|
46
48
|
* `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
|
|
47
49
|
* `archived.list`, `worktrees.list` and `maintenance.get`.
|
|
48
50
|
* `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
|
|
@@ -57,7 +59,7 @@ type Capability = (typeof CAPABILITIES)[number];
|
|
|
57
59
|
* `desktop-plan` reads next-build reports for selected folders on the proved local Desktop connection.
|
|
58
60
|
* `desktop-reload` streams reload output and its terminal result on the proved local Desktop connection.
|
|
59
61
|
*/
|
|
60
|
-
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", "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"];
|
|
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"];
|
|
61
63
|
type Feature = (typeof FEATURES)[number];
|
|
62
64
|
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"];
|
|
63
65
|
/**
|
|
@@ -645,6 +647,17 @@ interface BuildOfferParams {
|
|
|
645
647
|
reactNativeArtifact?: BuildReactNativeArtifactQuery;
|
|
646
648
|
swiftpmArtifact?: BuildSwiftpmArtifactQuery;
|
|
647
649
|
}
|
|
650
|
+
/**
|
|
651
|
+
* Which Stim built an artifact: the build compatibility version from a client that saw the `build-compat` feature,
|
|
652
|
+
* else the exact Stim build digest.
|
|
653
|
+
*/
|
|
654
|
+
type BuildStimIdentity = {
|
|
655
|
+
stimBuild: string;
|
|
656
|
+
compat?: never;
|
|
657
|
+
} | {
|
|
658
|
+
compat: number;
|
|
659
|
+
stimBuild?: never;
|
|
660
|
+
};
|
|
648
661
|
/** A post-mutation React Native fingerprint and the requested development build. */
|
|
649
662
|
type BuildReactNativeArtifactQuery = {
|
|
650
663
|
project: string;
|
|
@@ -652,8 +665,7 @@ type BuildReactNativeArtifactQuery = {
|
|
|
652
665
|
isExpo: boolean;
|
|
653
666
|
} & ({
|
|
654
667
|
platform: "ios";
|
|
655
|
-
toolchain: {
|
|
656
|
-
stimBuild: string;
|
|
668
|
+
toolchain: BuildStimIdentity & {
|
|
657
669
|
arch: string;
|
|
658
670
|
xcode: string;
|
|
659
671
|
simulatorSdk: string;
|
|
@@ -672,8 +684,7 @@ type BuildReactNativeArtifactQuery = {
|
|
|
672
684
|
};
|
|
673
685
|
} | {
|
|
674
686
|
platform: "android";
|
|
675
|
-
toolchain: {
|
|
676
|
-
stimBuild: string;
|
|
687
|
+
toolchain: BuildStimIdentity & {
|
|
677
688
|
jdk: string;
|
|
678
689
|
};
|
|
679
690
|
android: BuildAndroidOptions;
|
|
@@ -688,10 +699,9 @@ interface BuildGradleArtifactQuery {
|
|
|
688
699
|
};
|
|
689
700
|
}
|
|
690
701
|
/** A complete SwiftPM source transfer and repeatable build; private input values stay on the worker. */
|
|
691
|
-
|
|
702
|
+
type BuildSwiftpmArtifactQuery = BuildStimIdentity & {
|
|
692
703
|
project: string;
|
|
693
704
|
sourceDigest: string;
|
|
694
|
-
stimBuild: string;
|
|
695
705
|
inputs: {
|
|
696
706
|
complete: true;
|
|
697
707
|
ignored: string[];
|
|
@@ -705,7 +715,7 @@ interface BuildSwiftpmArtifactQuery {
|
|
|
705
715
|
resources: Record<string, string>;
|
|
706
716
|
assetCatalog: string | null;
|
|
707
717
|
};
|
|
708
|
-
}
|
|
718
|
+
};
|
|
709
719
|
/** A native artifact identity whose key includes its complete inputs, target and toolchain. */
|
|
710
720
|
interface BuildArtifactIdentity {
|
|
711
721
|
fingerprint: string;
|
|
@@ -720,6 +730,8 @@ interface CachedBuildArtifact extends BuildArtifactIdentity {
|
|
|
720
730
|
/** The toolchain a build must match exactly on both machines. */
|
|
721
731
|
interface BuildToolchain {
|
|
722
732
|
stimBuild: string | null;
|
|
733
|
+
/** The Stim build compatibility version, compared instead of `stimBuild`; absent from an older stim-server. */
|
|
734
|
+
compat?: number;
|
|
723
735
|
/** The OS stim-server runs on, as Node names it; absent from a stim-server older than this field. */
|
|
724
736
|
os?: string;
|
|
725
737
|
arch: string;
|
|
@@ -857,6 +869,8 @@ interface BuildStartParams {
|
|
|
857
869
|
artifactInputs?: BuildSwiftpmArtifactQuery["inputs"];
|
|
858
870
|
} | null;
|
|
859
871
|
stimBuild: string;
|
|
872
|
+
/** The client's Stim build compatibility version, compared instead of `stimBuild` by a machine that reports one. */
|
|
873
|
+
compat?: number;
|
|
860
874
|
cacheArtifact?: boolean;
|
|
861
875
|
}
|
|
862
876
|
interface BuildJobParams {
|
|
@@ -2144,4 +2158,4 @@ type ServeRoute = {
|
|
|
2144
2158
|
port: number;
|
|
2145
2159
|
};
|
|
2146
2160
|
//#endregion
|
|
2147
|
-
export {
|
|
2161
|
+
export { DesktopBuildEndedEvent as $, PushEvent as $n, WorkspacePatch as $r, InputPostureParams as $t, BuildPlatform as A, MacosWindow as An, SimulatorOptions as Ar, ErrorCode as At, CAPABILITIES as B, NotificationSuppression as Bn, VIDEO_ARTWORK as Br, FramesSeekParams as Bt, BuildJobParams as C, MachineDetails as Cn, ServerUpdateOutcome as Cr, DesktopWorktreeWarmProgressEvent as Ct, BuildOfferResult as D, MachineUpdateStatus as Dn, ServerUpdateStatus as Dr, DeviceUsageSeries as Dt, BuildOfferParams as E, MachineHistoryParams as En, ServerUpdateStartParams as Er, DevicePosture as Et, BuildSwiftpmArtifactQuery as F, NOTIFICATION_LEVELS as Fn, TouchPhase as Fr, Feature as Ft, ControlBeginParams as G, PROTOCOL_SCHEMA_FILE as Gn, VIDEO_UNFOLDED as Gr, HelloResult as Gt, CachedBuildArtifact as H, NotificationsListParams as Hn, VIDEO_FOLDED as Hr, FramesSubscribeResult as Ht, BuildSyncParams as I, NOTIFICATION_SUPPRESSIONS as In, UnsubscribeParams as Ir, FrameDelayedEvent as It, ControlEndedEvent as J, PUSH_TOKEN_PATTERN as Jn, WorkspaceDiff as Jr, INPUT_KEYS as Jt, ControlBeginResult as K, PROTOCOL_VERSION as Kn, VideoCodec as Kr, HostedSessionRow as Kt, BuildSyncResult as L, NotificationEntry as Ln, UsageHistory as Lr, FrameEvent as Lt, BuildReactNativeArtifactQuery as M, MemoryPressure as Mn, StatusEvent as Mr, FEATURES as Mt, BuildStartParams as N, Method as Nn, SubscribeResult as Nr, FRAME_EDGE as Nt, BuildPlanParams as O, MachineUsage as On, SettingsResult as Or, DuoFramePose as Ot, BuildStimIdentity as P, Methods as Pn, TOUCH_PHASES as Pr, FRAME_FPS as Pt, DesktopBootstrapChallenge as Q, ProtocolError as Qn, WorkspaceParams as Qr, InputKeyParams as Qt, BuildToolchain as R, NotificationEvent as Rn, UsageSample as Rr, FrameTarget as Rt, BuildJobOutcome as S, METHODS as Sn, ServerResponse as Sr, DesktopWorktreeWarmEndedEvent as St, BuildMachineReport as T, MachineHistory as Tn, ServerUpdateProgress as Tr, DeviceFrameEvent as Tt, Capability as U, NotificationsListResult as Un, VIDEO_HEADER_VERSION as Ur, GradleOffloadInputs as Ut, CONTROL_END_REASONS as V, NotificationTarget as Vn, VIDEO_CODECS as Vr, FramesSeekResult as Vt, ClientRequest as W, PLATFORMS as Wn, VIDEO_KEYFRAME as Wr, HelloParams as Wt, DEVICE_HOST_METHODS as X, PlatformBuildOptions as Xn, WorkspaceFile as Xr, InputButtonParams as Xt, ControlPlatform as Y, Platform as Yn, WorkspaceEvent as Yr, InputButton as Yt, DEVICE_POSTURES as Z, PlatformRunOptions as Zn, WorkspaceFiles as Zr, InputKey as Zt, BuildCapacity as _, LogsEndedEvent as _n, RotateDirection 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, ServerEvent 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, ReplayKeyframeParams as dr, DesktopReportTarget as dt, WorkspaceRef as ei, InputRotateParams as en, PushRegisterParams as er, DesktopBuildProgressEvent as et, BUILD_RUBY_VERSION_PATTERN as f, LegacyPushEvent as fn, ReplayMarker as fr, DesktopRunEndedEvent as ft, BuildAttachResult as g, LogSource as gn, RequestId as gr, DesktopStartEndedEvent as gt, BuildArtifactResult as h, LogRecord as hn, ReplayTarget as hr, DesktopSettingsWriteResult as ht, ActionParams as i, InputTouchParams as in, REPLAY_RATES as ir, DesktopMachineAccessEndedEvent as it, BuildProgressEvent as j, MacosWindowsEvent as jn, StatsResult as jr, ErrorEvent as jt, BuildPlanResult as k, MachineVolume as kn, SimulatorCommand as kr, ERROR_CODES as kt, ArchivedListResult as l, LEGACY_PUSH_EVENTS as ln, ReplayEndedEvent as lr, DesktopReportEvent as lt, BuildArtifactIdentity as m, LogLevel as mn, ReplaySpan as mr, DesktopSettingsWriteParams as mt, ARCHIVED_PAGE_LIMIT as n, WorkspacesSnapshot 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, ReplayRange as pr, DesktopRunProgressEvent as pt, ControlEndParams as q, PUSH_EVENTS as qn, VideoPacket as qr, INPUT_BUTTONS as qt, ActionName as r, 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, WorkspacesEvent as ti, InputScrollParams as tn, QuietHours as tr, DesktopGcEndedEvent as tt, BUILD_METHODS as u, LOG_LEVELS as un, ReplayKeyframe as ur, DesktopReportSnapshot as ut, BuildClientSummary as v, LogsEvent as vn, SERVER_UPDATE_METHODS as vr, DesktopStopEndedEvent as vt, BuildMachineCapacity as w, MachineEvent as wn, ServerUpdatePackage as wr, DeviceFrameArtwork as wt, BuildGradleArtifactQuery as x, MAX_LOG_TAIL as xn, ServerMessage as xr, DesktopWorktreeRemoveProgressEvent as xt, BuildFile as y, LogsQueryResult as yn, ServeRoute as yr, DesktopStopProgressEvent as yt, BuildsHistoryResult as z, NotificationLevel as zn, UsageSeries as zr, FramesLiveParams as zt };
|
package/dist/protocol.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ 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, 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 WorkspacePatch, $t as InputPostureParams, A as BuildPlatform, An as MacosWindow, Ar as SimulatorOptions, At as ErrorCode, B as CAPABILITIES, Bn as NotificationSuppression, Br as VIDEO_ARTWORK, Bt as FramesSeekParams, C as BuildJobParams, Cn as MachineDetails, Cr as ServerUpdateOutcome, Ct as DesktopWorktreeWarmProgressEvent, D as BuildOfferResult, Dn as MachineUpdateStatus, Dr as ServerUpdateStatus, Dt as DeviceUsageSeries, E as BuildOfferParams, En as MachineHistoryParams, Er as ServerUpdateStartParams, Et as DevicePosture, F as BuildSwiftpmArtifactQuery, Fn as NOTIFICATION_LEVELS, Fr as TouchPhase, Ft as Feature, G as ControlBeginParams, Gn as PROTOCOL_SCHEMA_FILE, Gr as VIDEO_UNFOLDED, Gt as HelloResult, H as CachedBuildArtifact, Hn as NotificationsListParams, Hr as VIDEO_FOLDED, Ht as FramesSubscribeResult, I as BuildSyncParams, In as NOTIFICATION_SUPPRESSIONS, Ir as UnsubscribeParams, It as FrameDelayedEvent, J as ControlEndedEvent, Jn as PUSH_TOKEN_PATTERN, Jr as WorkspaceDiff, Jt as INPUT_KEYS, K as ControlBeginResult, Kn as PROTOCOL_VERSION, Kr as VideoCodec, Kt as HostedSessionRow, L as BuildSyncResult, Ln as NotificationEntry, Lr as UsageHistory, Lt as FrameEvent, M as BuildReactNativeArtifactQuery, Mn as MemoryPressure, Mr as StatusEvent, Mt as FEATURES, N as BuildStartParams, Nn as Method, Nr as SubscribeResult, Nt as FRAME_EDGE, O as BuildPlanParams, On as MachineUsage, Or as SettingsResult, Ot as DuoFramePose, P as BuildStimIdentity, Pn as Methods, Pr as TOUCH_PHASES, Pt as FRAME_FPS, Q as DesktopBootstrapChallenge, Qn as ProtocolError, Qr as WorkspaceParams, Qt as InputKeyParams, R as BuildToolchain, Rn as NotificationEvent, Rr as UsageSample, Rt as FrameTarget, S as BuildJobOutcome, Sn as METHODS, Sr as ServerResponse, St as DesktopWorktreeWarmEndedEvent, T as BuildMachineReport, Tn as MachineHistory, Tr as ServerUpdateProgress, Tt as DeviceFrameEvent, U as Capability, Un as NotificationsListResult, Ur as VIDEO_HEADER_VERSION, Ut as GradleOffloadInputs, V as CONTROL_END_REASONS, Vn as NotificationTarget, Vr as VIDEO_CODECS, Vt as FramesSeekResult, W as ClientRequest, Wn as PLATFORMS, Wr as VIDEO_KEYFRAME, Wt as HelloParams, X as DEVICE_HOST_METHODS, Xn as PlatformBuildOptions, Xr as WorkspaceFile, Xt as InputButtonParams, Y as ControlPlatform, Yn as Platform, Yr as WorkspaceEvent, Yt as InputButton, Z as DEVICE_POSTURES, Zn as PlatformRunOptions, Zr as WorkspaceFiles, Zt as InputKey, _ as BuildCapacity, _n as LogsEndedEvent, _r as RotateDirection, _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 ServerEvent, 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 ReplayKeyframeParams, dt as DesktopReportTarget, ei as WorkspaceRef, en as InputRotateParams, er as PushRegisterParams, et as DesktopBuildProgressEvent, f as BUILD_RUBY_VERSION_PATTERN, fn as LegacyPushEvent, fr as ReplayMarker, ft as DesktopRunEndedEvent, g as BuildAttachResult, gn as LogSource, gr as RequestId, gt as DesktopStartEndedEvent, h as BuildArtifactResult, hn as LogRecord, hr as ReplayTarget, ht as DesktopSettingsWriteResult, i as ActionParams, in as InputTouchParams, ir as REPLAY_RATES, it as DesktopMachineAccessEndedEvent, j as BuildProgressEvent, jn as MacosWindowsEvent, jr as StatsResult, jt as ErrorEvent, k as BuildPlanResult, kn as MachineVolume, kr as SimulatorCommand, kt as ERROR_CODES, l as ArchivedListResult, ln as LEGACY_PUSH_EVENTS, lr as ReplayEndedEvent, lt as DesktopReportEvent, m as BuildArtifactIdentity, mn as LogLevel, mr as ReplaySpan, mt as DesktopSettingsWriteParams, n as ARCHIVED_PAGE_LIMIT, ni as WorkspacesSnapshot, 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 ReplayRange, pt as DesktopRunProgressEvent, q as ControlEndParams, qn as PUSH_EVENTS, qr as VideoPacket, qt as INPUT_BUTTONS, r as ActionName, 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 WorkspacesEvent, tn as InputScrollParams, tr as QuietHours, tt as DesktopGcEndedEvent, u as BUILD_METHODS, un as LOG_LEVELS, ur as ReplayKeyframe, ut as DesktopReportSnapshot, v as BuildClientSummary, vn as LogsEvent, vr as SERVER_UPDATE_METHODS, vt as DesktopStopEndedEvent, w as BuildMachineCapacity, wn as MachineEvent, wr as ServerUpdatePackage, wt as DeviceFrameArtwork, x as BuildGradleArtifactQuery, xn as MAX_LOG_TAIL, xr as ServerMessage, xt as DesktopWorktreeRemoveProgressEvent, y as BuildFile, yn as LogsQueryResult, yr as ServeRoute, yt as DesktopStopProgressEvent, z as BuildsHistoryResult, zn as NotificationLevel, zr as UsageSeries, zt as FramesLiveParams } from "./protocol-XMSnfmrX.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, 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
|
@@ -46,6 +46,8 @@ const CAPABILITIES = [
|
|
|
46
46
|
* `swiftpm-peer-cache` queries and fetches completed SwiftPM apps after rechecking worker-private inputs.
|
|
47
47
|
* `build-dependency-cache` checks dependency warmth against the requested project and install selection.
|
|
48
48
|
* `server-update` is `server.update.status`, `server.update.start` and `server.update.chunk`.
|
|
49
|
+
* `build-compat` accepts `compat` on `build.start`, and in place of `stimBuild` in React Native and SwiftPM artifact
|
|
50
|
+
* queries.
|
|
49
51
|
* `status-views` is `workspaces.subscribe`, `workspace.subscribe`, `machine.subscribe`, `builds.history`,
|
|
50
52
|
* `archived.list`, `worktrees.list` and `maintenance.get`.
|
|
51
53
|
* `desktop-reports` serves cached doctor/GC reports to the authenticated local Desktop connection.
|
|
@@ -96,6 +98,7 @@ const FEATURES = [
|
|
|
96
98
|
"hosted-android-process",
|
|
97
99
|
"hosted-metro-ports",
|
|
98
100
|
"server-update",
|
|
101
|
+
"build-compat",
|
|
99
102
|
"status-views",
|
|
100
103
|
"desktop-reports",
|
|
101
104
|
"desktop-report-platform",
|
package/dist/state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ReadStatsResult, $a as readHostedAppMetadata, $c as getProjectSettings, $i as HostedDevicePlatform, $l as levelRank, $n as StatusIssueCode, $o as recordingEnabled, $r as unreadableHostedIos, $s as LogDirQuery, $t as AndroidDeviceState, A as readLogsSince, Aa as HostedAppLaunch, Ac as EasSessionLedgerRead, Ai as buildDiagnostics, Al as machineCapacity, An as GitChipPart, Ao as isLayeredSetting, Ar as readArchives, As as serverSetupDir, At as StatusCacheEntry, B as HOSTED_METRO_REQUESTS_KEY, Ba as parseHostedMacosDevice, Bc as DEBUG_ENV, Bi as readWarmRecord, Bl as AgentDeviceUsage, Bn as NATIVE_BUILD_STEPS, Bo as RecordedDevice, Br as MaintenanceSize, Bs as workspaceAgentDeviceDir, Bt as readDiskUsageFailure, C as HOSTED_LOGS_PAGE_BYTES, Ca as HOSTED_AGENT_DRIVERS, Cc as recordMatches, Ci as MAINTENANCE_LOG_NAME, Cl as MACHINE_CREDENTIALS_VERSION, Cn as DeviceLeaseState, Co as TUNNEL_MODES, Cr as ArchivedWorkspace, Cs as maintenanceChildLogFile, Ct as DeviceViewersRecord, D as hostedNativeLogsDir, Da as HostedAgentGrant, Dc as CreatedDevicePlatform, Di as WORKSPACE_AGENT_KEY, Dl as MachineCapacity, Dn as EnvironmentDisk, Do as acceptsShape, Dr as readArchive, Ds as maintenanceStateFile, Dt as AgentSessionsCache, E as hostedMacosLogsDir, Ea as HostedAgentDriverName, Ec as countErrorEntries, Ei as WARM_KEY, El as readBuildMachines, En as EndedAgentSession, Eo as WebViewport, Er as linkReplacedArchives, Es as maintenanceRunClaims, Et as stimBuildDigest, F as endpoint, Fa as hostedMacosAppSlot, Fc as readJsonFile, Fi as readDevServerStopRequest, Fl as machineCacheUsageFile, Fn as MachineOwnerKind, Fo as runId, Fr as MaintenanceCheck, Fs as sharedPods, Ft as listStatusCacheEntries, G as DeviceHostMachineCredential, Ga as HostedAppOffer, Gc as ParkedMax, Gi as DeviceHostLimits, Gl as AgentActionReaderOptions, Gn as PlannedPhase, Go as footageDrops, Gr as readMaintenanceAttempt, Gs as workspaceGradleBuild, Gt as ACTIVITY_RECENCY_BASES, H as HostedMetroRequest, Ha as HOSTED_APP_CHUNK_BYTES, Hc as createDebugLog, Hi as readWorkspaceState, Hl as agentDeviceUsageFile, Hn as PHYSICAL_DEVICE_CONNECTIONS, Ho as RecordingPlatform, Hr as MaintenanceStatus, Hs as workspaceDerivedData, Ht as readPullRequestCache, I as findPeer, Ia as hostedMacosBundleId, Ic as readJsonObject, Ii as readDeviceIdleShutdowns, Il as readMachineCacheUsage, In as MachineUsageState, Io as validRunId, Ir as MaintenanceMode, Is as statsFile, It as pullRequestCacheFile, J as CAPACITY_REFUSAL_LIMIT, Ja as hostedAppAttempt, Jc as configCorruptRepair, Ji as HostedAndroidDevice, Jl as createAgentActionReader, Jn as STATUS_ISSUE_CODES, Jo as listSegments, Jr as HostedIosStatus, Js as workspaceMetadataFile, Jt as ActiveBuildState, K as readDeviceHostMachines, Ka as HostedAppRecord, Kc as allMetroPorts, Ki as HOSTED_PARKED_CANDIDATES, Kl as AgentRecordSelection, Kn as RemoteDeviceState, Ko as listRecordedDevices, Kr as readMaintenanceState, Ks as workspaceLogErrorIndex, Kt as AGENT_TOOLS, L as machineEndpoint, La as parseHostedAgentAccess, Lc as readStateFile, Li as readDevicePlacement, Ll as SwiftpmCacheUsage, Ln as MacosBuildPlanPayload, Lo as RECORDING_CAP_BYTES, Lr as MaintenancePass, Ls as supervisorLogFile, Lt as readAgentSessionsCache, M as TAILNET_MACHINE_PATTERN, Ma as HostedMacosDevice, Mc as readEasSessionLedger, Mi as parseMissReason, Ml as tryAcquireBuildSlotClaim, Mn as MACHINE_OWNER_KINDS, Mo as settingDefinition, Mr as DiskPressureLevel, Ms as sharedCcache, Mt as diskUsageCacheFile, N as TailnetPeer, Na as HostedMacosPlacement, Nc as validEasSessionClaim, Ni as readBuildHistory, Nl as MachineCacheUsage, Nn as MEMORY_SOURCES, No as settingValueError, Nr as MaintenanceAction, Ns as sharedCompilationCache, Nt as diskUsageFailureFile, O as parseHostedLogsCursor, Oa as HostedAgentIssuedGrant, Oc as CreatedDevices, Oi as WarmRecord, Ol as buildSlotPath, On as EnvironmentState, Oo as coerceSettingText, Or as readArchiveAsync, Os as pullRequestCacheDir, Ot as ENDED_AGENT_RETENTION_MS, P as cannotHost, Pa as hostedAgentDriverName, Pc as isJsonObject, Pi as readDevServerStop, Pl as SimRuntimeUsage, Pn as MachineOwner, Po as RUN_ID_ENV, Pr as MaintenanceActionKind, Ps as sharedGradle, Pt as endedAgentSessionOf, Q as PLACEMENT_DECISIONS, Qa as readHostedApp, Qc as getProject, Qi as HostedDevicePhase, Ql as SOURCES, Qn as StatusIssue, Qo as recordingDeviceName, Qr as parseHostedIosPlacement, Qs as LogDir, Qt as AgentTool, R as parseMachine, Ra as parseHostedAgentGrant, Rc as withStateReadCache, Ri as readIdleStop, Rl as readSwiftpmCacheUsage, Rn as MemorySource, Ro as RECORDING_FOOTAGE_MS, Rr as MaintenancePressure, Rs as supervisorPidFile, Rt as readBuildDetail, S as HOSTED_LOGS_FIRST_BYTES, Sa as readHostedSessions, Sc as readLogTimeline, Si as LAST_BUILD_KEYS, Sl as BuildMachineCredential, Sn as DeviceAppProcess, So as SettingsPayload, Sr as ArchivedUsage, Ss as maintenanceAttemptFile, St as wholePhases, T as HostedLogsPage, Ta as HostedAgentAccess, Tc as tailRead, Ti as READY_PHASE_MS, Tl as parseMachineCredential, Tn as DiskMeasure, To as WEB_VIEWPORTS, Tr as archivedUsage, Ts as maintenanceNdjsonFile, Tt as readViewedDevices, U as hostedMetroGateways, Ua as HostedAppDelivery, Uc as debugLogDir, Ui as workspaceLastUsed, Ul as readAgentDeviceUsage, Un as PhysicalDeviceConnection, Uo as capDrops, Ur as MemoryCulprit, Us as workspaceEndedAgentsFile, Ut as withDerivedFacts, V as HostedMetroGateway, Va as parseHostedMacosPlacement, Vc as DebugLog, Vi as readWorkspaceAgent, Vl as AgentDeviceUsageRoots, Vn as NativeBuildStep, Vo as RecordedSegment, Vr as MaintenanceState, Vs as workspaceBuildDetailFile, Vt as readEndedAgentSessions, W as hostedMetroRequests, Wa as HostedAppFile, Wc as debugLoggingEnabled, Wi as DEVICE_HOST_LIMITS, Wl as readAgentDeviceUsageCache, Wn as PhysicalDeviceState, Wo as closedSegmentName, Wr as parseMaintenanceState, Ws as workspaceEndedAgentsLock, Wt as withGitChip, X as HISTORY_LIMIT, Xa as parseHostedAppManifest, Xc as getConcurrencyLimits, Xi as HostedDeviceOffer, Xl as LEVELS, Xn as StatsPlatform, Xo as openSegmentName, Xr as hostedIosRecords, Xs as workspaceStateFile, Xt as ActivityRecencyBasis, Y as CAPACITY_REFUSAL_MAX_AGE_MS, Ya as hostedAppBlobs, Yc as findEnclosingWorktreeRoot, Yi as HostedDevice, Yl as createAsyncAgentActionReader, Yn as SimulatorState, Yo as listSegmentsAsync, Yr as hostedIosPlacements, Ys as workspaceRecordingsDir, Yt as ActivityDriver, Z as OffloadSummary, Za as parseHostedAppOffer, Zc as getParkedMax, Zi as HostedDeviceOfferRequest, Zl as NdjsonRecord, Zn as StatusCapacity, Zo as recordedBytes, Zr as hostedIosStatus, Zs as workspaceStateLock, Zt as AgentSession, _ as isSetupJournalPrunable, _a as parseHostedOfferRequest, _c as parseSince, _i as DevServerStopRecord, _l as RepoRecord, _n as BuildReport, _o as SettingDefinition, _r as macosAppState, _s as easSessionLedgerFile, _t as readStatsReport, a as MachineView, aa as HostedNativeOffer, ac as QueryCriteria, ai as hostedAndroidStatus, al as withConfigLock, an as BuildCacheHit, ao as settingsJsonSchema, ar as WarmStep, as as buildMachinesLock, at as StatsCapacityRefusal, b as agentDeviceStateDirs, ba as readHostedDevice, bc as queryLogs, bi as IDLE_STOP_KEY, bl as SupervisorRecord, bn as ChecksState, bo as SettingType, br as readMacosRecord, bs as getConfigPath, bt as trimCapacityWaits, c as SummaryBuild, ca as deviceHostRoot, cc as buildCriteria, ci as HostedNativePlacement, cl as automaticMachineEnabled, cn as BuildDiagnostic, co as ANDROID_PCH_CHOICES, cr as WorkspacePhase, cs as createdDevicesFile, ct as StatsRecord, d as WorktreeRow, da as hostedWorkerSettleMs, dc as fileIdentity, di as unreadableHostedNative, dl as ConcurrencyLimits, dn as BuildMissChange, do as OffloadMode, dr as WorktreeGit, ds as deviceHostMachinesFile, dt as decodeStats, ea as HostedDeviceRequest, ec as openLogDir, ei as HostedAndroidPlacement, el as getRepoSettings, en as AndroidRuntimeFacts, eo as rememberHostedAppBlobRename, er as StatusPayload, es as agentSessionsCacheFile, et as RunEstimates, eu as parseNdjsonLine, f as statusViews, fa as parseHostedAndroidDevice, fc as fileSizes, fi as BUILD_HISTORY_KEY, fl as Config, fn as BuildMissReason, fo as REMOTE_DEVICE_BACKENDS, fr as WorktreePullRequest, fs as deviceHostMachinesLock, ft as findProjectRoot, g as isJournalExpired, ga as parseHostedNativeOffer, gc as markerWindow, gi as DEV_SERVER_STOP_REQUEST_KEY, gl as ProjectRecord, gn as BuildPlatform, go as SETTING_SCOPES, gr as MacosProcess, gs as easMachineStateRoot, gt as readStats, h as SetupJournal, ha as parseHostedLocalDeviceCount, hc as logFiles, hi as DEVICE_RECLAIM_REASON, hl as PlatformRecords, hn as BuildPlanPayload, ho as SETTING_GROUPS, hr as MacosBuild, hs as diskUsageWalkClaims, ht as readRunEstimates, i as ArchivedSummary, ia as HostedIosDevice, ic as NATIVE_CRASH_LOG_PREFIX, ii as hostedAndroidRecords, il as windowsShortDirKey, in as BuildActivity, io as SETTINGS_SCHEMA_URL, ir as WORKSPACE_STAGE_KINDS, is as buildMachinesFile, it as StatsBucket, j as Endpoint, ja as HostedMacosChoice, jc as readCreatedDevices, ji as lastUseFrom, jl as saturation, jn as LastBuildReport, jo as isSensitiveReference, jr as readArchivesAsync, js as setupJournalFile, jt as agentSessionOf, k as readHostedNativeLogsCheckpoint, ka as HostedAgentLease, kc as EasSessionClaim, ki as WorkspaceState, kl as buildSlotsDir, kn as GitChip, ko as expectedShape, kr as readArchiveState, ks as serverLocalSocket, kt as PullRequestCacheEntry, l as SummaryHistoryEntry, la as hostedConsolePort, lc as bundleMarkerPlatform, li as hostedNativeRecords, ll as requireAutomaticMachine, ln as BuildHistoryEntry, lo as IOS_SIMULATOR_APPS, lr as WorkspaceStage, ls as createdDevicesLock, lt as StatsReport, m as SetupCapability, ma as parseHostedDevice, mc as isExpoErrorContext, mi as DEVICE_IDLE_SHUTDOWN_KEY, ml as DoctorRunRecord, mn as BuildPlacement, mo as SETTINGS, mr as MacosAppState, ms as diskUsageCacheDir, mt as projectRootDirectories, n as KeyedEntities, na as HostedDeviceSession, nc as LogQueryOptions, ni as hostedAndroidDeviceName, nl as loadConfig, nn as BUILD_PHASES, no as validHostedAppBlob, nr as WEB_PAGE_STATES, ns as archiveLock, nt as RunSample, nu as readNdjsonGenerations, o as SUMMARY_ARCHIVES, oa as assertHostedDeviceLedger, oc as advanceTail, oi as parseHostedAndroidPlacement, ol as withConfigLockAsync, on as BuildCause, oo as ANDROID_COMPILER_CACHE_CHOICES, or as WebBrowserState, os as clientIdentityKeyFile, ot as StatsCapacityWait, p as workspaceSummary, pa as parseHostedChoice, pc as followLogs, pi as BUILD_HISTORY_LIMIT, pl as DeviceRecord, pn as BuildPhase, po as RemoteDeviceBackend, pr as MacosAppRecord, ps as deviceViewersDir, pt as offloadSummary, q as BuildMachineTotals, qa as hostedAppArea, qc as buildWorkerRoot, qi as HostedAndroidChoice, ql as AgentTarget, qn as RunOutcomeKind, qo as listRecordedDevicesAsync, qr as HostedIosPlacement, qs as workspaceLogsDir, qt as APP_PROCESS_STATES, r as applyKeyedDelta, ra as HostedIosChoice, rc as LogQueryPlan, ri as hostedAndroidPlacements, rl as windowsShortDir, rn as BUILD_RESULTS, ro as SETTINGS_SCHEMA_FILE, rr as WORKSPACE_PHASES, rs as archiveRoot, rt as STATS_VERSION, s as StatusViews, sa as deviceHostArea, sc as attachExpoErrorContext, si as unreadableHostedAndroid, sl as AutomaticPoolRole, sn as BuildDetail, so as ANDROID_EMULATOR_APPS, sr as WebPageState, ss as configLockPath, st as StatsPlacement, t as KeyedDelta, ta as HostedDeviceSelectors, tc as ERROR_SOURCES, ti as HostedAndroidStatus, tl as isPathPrefix, tn as AppPresence, to as validHostedAppArguments, tr as TUTORIAL_VERSION, ts as archiveDir, tt as RunHistory, tu as parseNdjsonText, u as WorkspaceSummary, ua as hostedDeviceId, uc as compileGrep, ui as parseHostedNativePlacement, ul as validateAutomaticPool, un as BuildMissCategory, uo as OFFLOAD_MODES, ur as WorktreeFacts, us as deviceHostMachinesClaims, ut as StatsScope, v as parseSetupJournal, va as parseHostedPlatformDevice, vc as planLogQuery, vi as DevServerStopRequest, vl as SettingsObject, vn as BuildResult, vo as SettingEntry, vr as parseMacosRecord, vs as easSessionLedgerLock, vt as statsProjectKey, w as HostedLogsCursor, wa as HOSTED_MACOS_APP_SLOTS, wc as sortByTs, wi as MetroLastStop, wl as MachineCredential, wn as DevicePlacement, wo as TunnelMode, wr as archiveEnabled, ws as maintenanceDir, wt as ViewedDevice, x as agentDeviceStateDirsAsync, xa as readHostedDeviceLedger, xc as readLogRecords, xi as IdleStopRecord, xl as clientIdentity, xn as DeviceActivity, xo as SettingWriteResult, xr as ArchivedBytes, xs as gitMergeCacheDir, xt as trimSamples, y as readSetupJournal, ya as parseHostedRequest, yc as queryJsonLogs, yi as DeviceIdleShutdownRecord, yl as StimConfig, yn as BuildWaitingFor, yo as SettingScope, yr as readHostedMacosApp, ys as emulatorLogFile, yt as trimCapacityRefusals, z as HOSTED_METRO_GATEWAYS_KEY, za as parseHostedMacosChoice, zc as readHomeIdentity, zi as readLastBuilds, zl as swiftpmCacheUsageFile, zn as MetroBundleState, zo as RECORDING_PLATFORMS, zr as MaintenanceRecord, zs as trashRoot, zt as readDiskUsage } from "./index-B8_6CrJ-.mjs";
|
|
1
|
+
import { $ as ReadStatsResult, $a as readHostedAppMetadata, $c as getProjectSettings, $i as HostedDevicePlatform, $l as levelRank, $n as StatusIssueCode, $o as recordingEnabled, $r as unreadableHostedIos, $s as LogDirQuery, $t as AndroidDeviceState, A as readLogsSince, Aa as HostedAppLaunch, Ac as EasSessionLedgerRead, Ai as buildDiagnostics, Al as machineCapacity, An as GitChipPart, Ao as isLayeredSetting, Ar as readArchives, As as serverSetupDir, At as StatusCacheEntry, B as HOSTED_METRO_REQUESTS_KEY, Ba as parseHostedMacosDevice, Bc as DEBUG_ENV, Bi as readWarmRecord, Bl as AgentDeviceUsage, Bn as NATIVE_BUILD_STEPS, Bo as RecordedDevice, Br as MaintenanceSize, Bs as workspaceAgentDeviceDir, Bt as readDiskUsageFailure, C as HOSTED_LOGS_PAGE_BYTES, Ca as HOSTED_AGENT_DRIVERS, Cc as recordMatches, Ci as MAINTENANCE_LOG_NAME, Cl as MACHINE_CREDENTIALS_VERSION, Cn as DeviceLeaseState, Co as TUNNEL_MODES, Cr as ArchivedWorkspace, Cs as maintenanceChildLogFile, Ct as DeviceViewersRecord, D as hostedNativeLogsDir, Da as HostedAgentGrant, Dc as CreatedDevicePlatform, Di as WORKSPACE_AGENT_KEY, Dl as MachineCapacity, Dn as EnvironmentDisk, Do as acceptsShape, Dr as readArchive, Ds as maintenanceStateFile, Dt as AgentSessionsCache, E as hostedMacosLogsDir, Ea as HostedAgentDriverName, Ec as countErrorEntries, Ei as WARM_KEY, El as readBuildMachines, En as EndedAgentSession, Eo as WebViewport, Er as linkReplacedArchives, Es as maintenanceRunClaims, Et as stimBuildDigest, F as endpoint, Fa as hostedMacosAppSlot, Fc as readJsonFile, Fi as readDevServerStopRequest, Fl as machineCacheUsageFile, Fn as MachineOwnerKind, Fo as runId, Fr as MaintenanceCheck, Fs as sharedPods, Ft as listStatusCacheEntries, G as DeviceHostMachineCredential, Ga as HostedAppOffer, Gc as ParkedMax, Gi as DeviceHostLimits, Gl as AgentActionReaderOptions, Gn as PlannedPhase, Go as footageDrops, Gr as readMaintenanceAttempt, Gs as workspaceGradleBuild, Gt as ACTIVITY_RECENCY_BASES, H as HostedMetroRequest, Ha as HOSTED_APP_CHUNK_BYTES, Hc as createDebugLog, Hi as readWorkspaceState, Hl as agentDeviceUsageFile, Hn as PHYSICAL_DEVICE_CONNECTIONS, Ho as RecordingPlatform, Hr as MaintenanceStatus, Hs as workspaceDerivedData, Ht as readPullRequestCache, I as findPeer, Ia as hostedMacosBundleId, Ic as readJsonObject, Ii as readDeviceIdleShutdowns, Il as readMachineCacheUsage, In as MachineUsageState, Io as validRunId, Ir as MaintenanceMode, Is as statsFile, It as pullRequestCacheFile, J as CAPACITY_REFUSAL_LIMIT, Ja as hostedAppAttempt, Jc as configCorruptRepair, Ji as HostedAndroidDevice, Jl as createAgentActionReader, Jn as STATUS_ISSUE_CODES, Jo as listSegments, Jr as HostedIosStatus, Js as workspaceMetadataFile, Jt as ActiveBuildState, K as readDeviceHostMachines, Ka as HostedAppRecord, Kc as allMetroPorts, Ki as HOSTED_PARKED_CANDIDATES, Kl as AgentRecordSelection, Kn as RemoteDeviceState, Ko as listRecordedDevices, Kr as readMaintenanceState, Ks as workspaceLogErrorIndex, Kt as AGENT_TOOLS, L as machineEndpoint, La as parseHostedAgentAccess, Lc as readStateFile, Li as readDevicePlacement, Ll as SwiftpmCacheUsage, Ln as MacosBuildPlanPayload, Lo as RECORDING_CAP_BYTES, Lr as MaintenancePass, Ls as supervisorLogFile, Lt as readAgentSessionsCache, M as TAILNET_MACHINE_PATTERN, Ma as HostedMacosDevice, Mc as readEasSessionLedger, Mi as parseMissReason, Ml as tryAcquireBuildSlotClaim, Mn as MACHINE_OWNER_KINDS, Mo as settingDefinition, Mr as DiskPressureLevel, Ms as sharedCcache, Mt as diskUsageCacheFile, N as TailnetPeer, Na as HostedMacosPlacement, Nc as validEasSessionClaim, Ni as readBuildHistory, Nl as MachineCacheUsage, Nn as MEMORY_SOURCES, No as settingValueError, Nr as MaintenanceAction, Ns as sharedCompilationCache, Nt as diskUsageFailureFile, O as parseHostedLogsCursor, Oa as HostedAgentIssuedGrant, Oc as CreatedDevices, Oi as WarmRecord, Ol as buildSlotPath, On as EnvironmentState, Oo as coerceSettingText, Or as readArchiveAsync, Os as pullRequestCacheDir, Ot as ENDED_AGENT_RETENTION_MS, P as cannotHost, Pa as hostedAgentDriverName, Pc as isJsonObject, Pi as readDevServerStop, Pl as SimRuntimeUsage, Pn as MachineOwner, Po as RUN_ID_ENV, Pr as MaintenanceActionKind, Ps as sharedGradle, Pt as endedAgentSessionOf, Q as PLACEMENT_DECISIONS, Qa as readHostedApp, Qc as getProject, Qi as HostedDevicePhase, Ql as SOURCES, Qn as StatusIssue, Qo as recordingDeviceName, Qr as parseHostedIosPlacement, Qs as LogDir, Qt as AgentTool, R as parseMachine, Ra as parseHostedAgentGrant, Rc as withStateReadCache, Ri as readIdleStop, Rl as readSwiftpmCacheUsage, Rn as MemorySource, Ro as RECORDING_FOOTAGE_MS, Rr as MaintenancePressure, Rs as supervisorPidFile, Rt as readBuildDetail, S as HOSTED_LOGS_FIRST_BYTES, Sa as readHostedSessions, Sc as readLogTimeline, Si as LAST_BUILD_KEYS, Sl as BuildMachineCredential, Sn as DeviceAppProcess, So as SettingsPayload, Sr as ArchivedUsage, Ss as maintenanceAttemptFile, St as wholePhases, T as HostedLogsPage, Ta as HostedAgentAccess, Tc as tailRead, Ti as READY_PHASE_MS, Tl as parseMachineCredential, Tn as DiskMeasure, To as WEB_VIEWPORTS, Tr as archivedUsage, Ts as maintenanceNdjsonFile, Tt as readViewedDevices, U as hostedMetroGateways, Ua as HostedAppDelivery, Uc as debugLogDir, Ui as workspaceLastUsed, Ul as readAgentDeviceUsage, Un as PhysicalDeviceConnection, Uo as capDrops, Ur as MemoryCulprit, Us as workspaceEndedAgentsFile, Ut as withDerivedFacts, V as HostedMetroGateway, Va as parseHostedMacosPlacement, Vc as DebugLog, Vi as readWorkspaceAgent, Vl as AgentDeviceUsageRoots, Vn as NativeBuildStep, Vo as RecordedSegment, Vr as MaintenanceState, Vs as workspaceBuildDetailFile, Vt as readEndedAgentSessions, W as hostedMetroRequests, Wa as HostedAppFile, Wc as debugLoggingEnabled, Wi as DEVICE_HOST_LIMITS, Wl as readAgentDeviceUsageCache, Wn as PhysicalDeviceState, Wo as closedSegmentName, Wr as parseMaintenanceState, Ws as workspaceEndedAgentsLock, Wt as withGitChip, X as HISTORY_LIMIT, Xa as parseHostedAppManifest, Xc as getConcurrencyLimits, Xi as HostedDeviceOffer, Xl as LEVELS, Xn as StatsPlatform, Xo as openSegmentName, Xr as hostedIosRecords, Xs as workspaceStateFile, Xt as ActivityRecencyBasis, Y as CAPACITY_REFUSAL_MAX_AGE_MS, Ya as hostedAppBlobs, Yc as findEnclosingWorktreeRoot, Yi as HostedDevice, Yl as createAsyncAgentActionReader, Yn as SimulatorState, Yo as listSegmentsAsync, Yr as hostedIosPlacements, Ys as workspaceRecordingsDir, Yt as ActivityDriver, Z as OffloadSummary, Za as parseHostedAppOffer, Zc as getParkedMax, Zi as HostedDeviceOfferRequest, Zl as NdjsonRecord, Zn as StatusCapacity, Zo as recordedBytes, Zr as hostedIosStatus, Zs as workspaceStateLock, Zt as AgentSession, _ as isSetupJournalPrunable, _a as parseHostedOfferRequest, _c as parseSince, _i as DevServerStopRecord, _l as RepoRecord, _n as BuildReport, _o as SettingDefinition, _r as macosAppState, _s as easSessionLedgerFile, _t as readStatsReport, a as MachineView, aa as HostedNativeOffer, ac as QueryCriteria, ai as hostedAndroidStatus, al as withConfigLock, an as BuildCacheHit, ao as settingsJsonSchema, ar as WarmStep, as as buildMachinesLock, at as StatsCapacityRefusal, b as agentDeviceStateDirs, ba as readHostedDevice, bc as queryLogs, bi as IDLE_STOP_KEY, bl as SupervisorRecord, bn as ChecksState, bo as SettingType, br as readMacosRecord, bs as getConfigPath, bt as trimCapacityWaits, c as SummaryBuild, ca as deviceHostRoot, cc as buildCriteria, ci as HostedNativePlacement, cl as automaticMachineEnabled, cn as BuildDiagnostic, co as ANDROID_PCH_CHOICES, cr as WorkspacePhase, cs as createdDevicesFile, ct as StatsRecord, d as WorktreeRow, da as hostedWorkerSettleMs, dc as fileIdentity, di as unreadableHostedNative, dl as ConcurrencyLimits, dn as BuildMissChange, do as OffloadMode, dr as WorktreeGit, ds as deviceHostMachinesFile, dt as decodeStats, ea as HostedDeviceRequest, ec as openLogDir, ei as HostedAndroidPlacement, el as getRepoSettings, en as AndroidRuntimeFacts, eo as rememberHostedAppBlobRename, er as StatusPayload, es as agentSessionsCacheFile, et as RunEstimates, eu as parseNdjsonLine, f as statusViews, fa as parseHostedAndroidDevice, fc as fileSizes, fi as BUILD_HISTORY_KEY, fl as Config, fn as BuildMissReason, fo as REMOTE_DEVICE_BACKENDS, fr as WorktreePullRequest, fs as deviceHostMachinesLock, ft as findProjectRoot, g as isJournalExpired, ga as parseHostedNativeOffer, gc as markerWindow, gi as DEV_SERVER_STOP_REQUEST_KEY, gl as ProjectRecord, gn as BuildPlatform, go as SETTING_SCOPES, gr as MacosProcess, gs as easMachineStateRoot, gt as readStats, h as SetupJournal, ha as parseHostedLocalDeviceCount, hc as logFiles, hi as DEVICE_RECLAIM_REASON, hl as PlatformRecords, hn as BuildPlanPayload, ho as SETTING_GROUPS, hr as MacosBuild, hs as diskUsageWalkClaims, ht as readRunEstimates, i as ArchivedSummary, ia as HostedIosDevice, ic as NATIVE_CRASH_LOG_PREFIX, ii as hostedAndroidRecords, il as windowsShortDirKey, in as BuildActivity, io as SETTINGS_SCHEMA_URL, ir as WORKSPACE_STAGE_KINDS, is as buildMachinesFile, it as StatsBucket, j as Endpoint, ja as HostedMacosChoice, jc as readCreatedDevices, ji as lastUseFrom, jl as saturation, jn as LastBuildReport, jo as isSensitiveReference, jr as readArchivesAsync, js as setupJournalFile, jt as agentSessionOf, k as readHostedNativeLogsCheckpoint, ka as HostedAgentLease, kc as EasSessionClaim, ki as WorkspaceState, kl as buildSlotsDir, kn as GitChip, ko as expectedShape, kr as readArchiveState, ks as serverLocalSocket, kt as PullRequestCacheEntry, l as SummaryHistoryEntry, la as hostedConsolePort, lc as bundleMarkerPlatform, li as hostedNativeRecords, ll as requireAutomaticMachine, ln as BuildHistoryEntry, lo as IOS_SIMULATOR_APPS, lr as WorkspaceStage, ls as createdDevicesLock, lt as StatsReport, m as SetupCapability, ma as parseHostedDevice, mc as isExpoErrorContext, mi as DEVICE_IDLE_SHUTDOWN_KEY, ml as DoctorRunRecord, mn as BuildPlacement, mo as SETTINGS, mr as MacosAppState, ms as diskUsageCacheDir, mt as projectRootDirectories, n as KeyedEntities, na as HostedDeviceSession, nc as LogQueryOptions, ni as hostedAndroidDeviceName, nl as loadConfig, nn as BUILD_PHASES, no as validHostedAppBlob, nr as WEB_PAGE_STATES, ns as archiveLock, nt as RunSample, nu as readNdjsonGenerations, o as SUMMARY_ARCHIVES, oa as assertHostedDeviceLedger, oc as advanceTail, oi as parseHostedAndroidPlacement, ol as withConfigLockAsync, on as BuildCause, oo as ANDROID_COMPILER_CACHE_CHOICES, or as WebBrowserState, os as clientIdentityKeyFile, ot as StatsCapacityWait, p as workspaceSummary, pa as parseHostedChoice, pc as followLogs, pi as BUILD_HISTORY_LIMIT, pl as DeviceRecord, pn as BuildPhase, po as RemoteDeviceBackend, pr as MacosAppRecord, ps as deviceViewersDir, pt as offloadSummary, q as BuildMachineTotals, qa as hostedAppArea, qc as buildWorkerRoot, qi as HostedAndroidChoice, ql as AgentTarget, qn as RunOutcomeKind, qo as listRecordedDevicesAsync, qr as HostedIosPlacement, qs as workspaceLogsDir, qt as APP_PROCESS_STATES, r as applyKeyedDelta, ra as HostedIosChoice, rc as LogQueryPlan, ri as hostedAndroidPlacements, rl as windowsShortDir, rn as BUILD_RESULTS, ro as SETTINGS_SCHEMA_FILE, rr as WORKSPACE_PHASES, rs as archiveRoot, rt as STATS_VERSION, s as StatusViews, sa as deviceHostArea, sc as attachExpoErrorContext, si as unreadableHostedAndroid, sl as AutomaticPoolRole, sn as BuildDetail, so as ANDROID_EMULATOR_APPS, sr as WebPageState, ss as configLockPath, st as StatsPlacement, t as KeyedDelta, ta as HostedDeviceSelectors, tc as ERROR_SOURCES, ti as HostedAndroidStatus, tl as isPathPrefix, tn as AppPresence, to as validHostedAppArguments, tr as TUTORIAL_VERSION, ts as archiveDir, tt as RunHistory, tu as parseNdjsonText, u as WorkspaceSummary, ua as hostedDeviceId, uc as compileGrep, ui as parseHostedNativePlacement, ul as validateAutomaticPool, un as BuildMissCategory, uo as OFFLOAD_MODES, ur as WorktreeFacts, us as deviceHostMachinesClaims, ut as StatsScope, v as parseSetupJournal, va as parseHostedPlatformDevice, vc as planLogQuery, vi as DevServerStopRequest, vl as SettingsObject, vn as BuildResult, vo as SettingEntry, vr as parseMacosRecord, vs as easSessionLedgerLock, vt as statsProjectKey, w as HostedLogsCursor, wa as HOSTED_MACOS_APP_SLOTS, wc as sortByTs, wi as MetroLastStop, wl as MachineCredential, wn as DevicePlacement, wo as TunnelMode, wr as archiveEnabled, ws as maintenanceDir, wt as ViewedDevice, x as agentDeviceStateDirsAsync, xa as readHostedDeviceLedger, xc as readLogRecords, xi as IdleStopRecord, xl as clientIdentity, xn as DeviceActivity, xo as SettingWriteResult, xr as ArchivedBytes, xs as gitMergeCacheDir, xt as trimSamples, y as readSetupJournal, ya as parseHostedRequest, yc as queryJsonLogs, yi as DeviceIdleShutdownRecord, yl as StimConfig, yn as BuildWaitingFor, yo as SettingScope, yr as readHostedMacosApp, ys as emulatorLogFile, yt as trimCapacityRefusals, z as HOSTED_METRO_GATEWAYS_KEY, za as parseHostedMacosChoice, zc as readHomeIdentity, zi as readLastBuilds, zl as swiftpmCacheUsageFile, zn as MetroBundleState, zo as RECORDING_PLATFORMS, zr as MaintenanceRecord, zs as trashRoot, zt as readDiskUsage } from "./index-kR1gVv1b.mjs";
|
|
2
2
|
export { ACTIVITY_RECENCY_BASES, AGENT_TOOLS, ANDROID_COMPILER_CACHE_CHOICES, ANDROID_EMULATOR_APPS, ANDROID_PCH_CHOICES, APP_PROCESS_STATES, ActiveBuildState, ActivityDriver, ActivityRecencyBasis, AgentActionReaderOptions, AgentDeviceUsage, AgentDeviceUsageRoots, AgentRecordSelection, AgentSession, AgentSessionsCache, AgentTarget, AgentTool, AndroidDeviceState, AndroidRuntimeFacts, AppPresence, ArchivedBytes, ArchivedSummary, ArchivedUsage, ArchivedWorkspace, AutomaticPoolRole, BUILD_HISTORY_KEY, BUILD_HISTORY_LIMIT, BUILD_PHASES, BUILD_RESULTS, BuildActivity, BuildCacheHit, BuildCause, BuildDetail, BuildDiagnostic, BuildHistoryEntry, BuildMachineCredential, BuildMachineTotals, BuildMissCategory, BuildMissChange, BuildMissReason, BuildPhase, BuildPlacement, BuildPlanPayload, BuildPlatform, BuildReport, BuildResult, BuildWaitingFor, CAPACITY_REFUSAL_LIMIT, CAPACITY_REFUSAL_MAX_AGE_MS, ChecksState, ConcurrencyLimits, Config, CreatedDevicePlatform, CreatedDevices, DEBUG_ENV, DEVICE_HOST_LIMITS, DEVICE_IDLE_SHUTDOWN_KEY, DEVICE_RECLAIM_REASON, DEV_SERVER_STOP_REQUEST_KEY, DebugLog, DevServerStopRecord, DevServerStopRequest, DeviceActivity, DeviceAppProcess, DeviceHostLimits, DeviceHostMachineCredential, DeviceIdleShutdownRecord, DeviceLeaseState, DevicePlacement, DeviceRecord, DeviceViewersRecord, DiskMeasure, DiskPressureLevel, DoctorRunRecord, ENDED_AGENT_RETENTION_MS, ERROR_SOURCES, EasSessionClaim, EasSessionLedgerRead, EndedAgentSession, Endpoint, EnvironmentDisk, EnvironmentState, GitChip, GitChipPart, HISTORY_LIMIT, HOSTED_AGENT_DRIVERS, HOSTED_APP_CHUNK_BYTES, HOSTED_LOGS_FIRST_BYTES, HOSTED_LOGS_PAGE_BYTES, HOSTED_MACOS_APP_SLOTS, HOSTED_METRO_GATEWAYS_KEY, HOSTED_METRO_REQUESTS_KEY, HOSTED_PARKED_CANDIDATES, HostedAgentAccess, HostedAgentDriverName, HostedAgentGrant, HostedAgentIssuedGrant, HostedAgentLease, HostedAndroidChoice, HostedAndroidDevice, HostedAndroidPlacement, HostedAndroidStatus, HostedAppDelivery, HostedAppFile, HostedAppLaunch, HostedAppOffer, HostedAppRecord, HostedDevice, HostedDeviceOffer, HostedDeviceOfferRequest, HostedDevicePhase, HostedDevicePlatform, HostedDeviceRequest, HostedDeviceSelectors, HostedDeviceSession, HostedIosChoice, HostedIosDevice, HostedIosPlacement, HostedIosStatus, HostedLogsCursor, HostedLogsPage, HostedMacosChoice, HostedMacosDevice, HostedMacosPlacement, HostedMetroGateway, HostedMetroRequest, HostedNativeOffer, HostedNativePlacement, IDLE_STOP_KEY, IOS_SIMULATOR_APPS, IdleStopRecord, KeyedDelta, KeyedEntities, LAST_BUILD_KEYS, LEVELS, LastBuildReport, LogDir, LogDirQuery, LogQueryOptions, LogQueryPlan, MACHINE_CREDENTIALS_VERSION, MACHINE_OWNER_KINDS, MAINTENANCE_LOG_NAME, MEMORY_SOURCES, MachineCacheUsage, MachineCapacity, MachineCredential, MachineOwner, MachineOwnerKind, MachineUsageState, MachineView, MacosAppRecord, MacosAppState, MacosBuild, MacosBuildPlanPayload, MacosProcess, MaintenanceAction, MaintenanceActionKind, MaintenanceCheck, MaintenanceMode, MaintenancePass, MaintenancePressure, MaintenanceRecord, MaintenanceSize, MaintenanceState, MaintenanceStatus, MemoryCulprit, MemorySource, MetroBundleState, MetroLastStop, NATIVE_BUILD_STEPS, NATIVE_CRASH_LOG_PREFIX, NativeBuildStep, NdjsonRecord, OFFLOAD_MODES, OffloadMode, OffloadSummary, PHYSICAL_DEVICE_CONNECTIONS, PLACEMENT_DECISIONS, ParkedMax, PhysicalDeviceConnection, PhysicalDeviceState, PlannedPhase, PlatformRecords, ProjectRecord, PullRequestCacheEntry, QueryCriteria, READY_PHASE_MS, RECORDING_CAP_BYTES, RECORDING_FOOTAGE_MS, RECORDING_PLATFORMS, REMOTE_DEVICE_BACKENDS, RUN_ID_ENV, ReadStatsResult, RecordedDevice, RecordedSegment, RecordingPlatform, RemoteDeviceBackend, RemoteDeviceState, RepoRecord, RunEstimates, RunHistory, RunOutcomeKind, RunSample, SETTINGS, SETTINGS_SCHEMA_FILE, SETTINGS_SCHEMA_URL, SETTING_GROUPS, SETTING_SCOPES, SOURCES, STATS_VERSION, STATUS_ISSUE_CODES, SUMMARY_ARCHIVES, SettingDefinition, SettingEntry, SettingScope, SettingType, SettingWriteResult, SettingsObject, SettingsPayload, SetupCapability, SetupJournal, SimRuntimeUsage, SimulatorState, StatsBucket, StatsCapacityRefusal, StatsCapacityWait, StatsPlacement, StatsPlatform, StatsRecord, StatsReport, StatsScope, StatusCacheEntry, StatusCapacity, StatusIssue, StatusIssueCode, StatusPayload, StatusViews, StimConfig, SummaryBuild, SummaryHistoryEntry, SupervisorRecord, SwiftpmCacheUsage, TAILNET_MACHINE_PATTERN, TUNNEL_MODES, TUTORIAL_VERSION, TailnetPeer, TunnelMode, ViewedDevice, WARM_KEY, WEB_PAGE_STATES, WEB_VIEWPORTS, WORKSPACE_AGENT_KEY, WORKSPACE_PHASES, WORKSPACE_STAGE_KINDS, WarmRecord, WarmStep, WebBrowserState, WebPageState, WebViewport, WorkspacePhase, WorkspaceStage, WorkspaceState, WorkspaceSummary, WorktreeFacts, WorktreeGit, WorktreePullRequest, WorktreeRow, acceptsShape, advanceTail, agentDeviceStateDirs, agentDeviceStateDirsAsync, agentDeviceUsageFile, agentSessionOf, agentSessionsCacheFile, allMetroPorts, applyKeyedDelta, archiveDir, archiveEnabled, archiveLock, archiveRoot, archivedUsage, assertHostedDeviceLedger, attachExpoErrorContext, automaticMachineEnabled, buildCriteria, buildDiagnostics, buildMachinesFile, buildMachinesLock, buildSlotPath, buildSlotsDir, buildWorkerRoot, bundleMarkerPlatform, cannotHost, capDrops, clientIdentity, clientIdentityKeyFile, closedSegmentName, coerceSettingText, compileGrep, configCorruptRepair, configLockPath, countErrorEntries, createAgentActionReader, createAsyncAgentActionReader, createDebugLog, createdDevicesFile, createdDevicesLock, debugLogDir, debugLoggingEnabled, decodeStats, deviceHostArea, deviceHostMachinesClaims, deviceHostMachinesFile, deviceHostMachinesLock, deviceHostRoot, deviceViewersDir, diskUsageCacheDir, diskUsageCacheFile, diskUsageFailureFile, diskUsageWalkClaims, easMachineStateRoot, easSessionLedgerFile, easSessionLedgerLock, emulatorLogFile, endedAgentSessionOf, endpoint, expectedShape, fileIdentity, fileSizes, findEnclosingWorktreeRoot, findPeer, findProjectRoot, followLogs, footageDrops, getConcurrencyLimits, getConfigPath, getParkedMax, getProject, getProjectSettings, getRepoSettings, gitMergeCacheDir, hostedAgentDriverName, hostedAndroidDeviceName, hostedAndroidPlacements, hostedAndroidRecords, hostedAndroidStatus, hostedAppArea, hostedAppAttempt, hostedAppBlobs, hostedConsolePort, hostedDeviceId, hostedIosPlacements, hostedIosRecords, hostedIosStatus, hostedMacosAppSlot, hostedMacosBundleId, hostedMacosLogsDir, hostedMetroGateways, hostedMetroRequests, hostedNativeLogsDir, hostedNativeRecords, hostedWorkerSettleMs, isExpoErrorContext, isJournalExpired, isJsonObject, isLayeredSetting, isPathPrefix, isSensitiveReference, isSetupJournalPrunable, lastUseFrom, levelRank, linkReplacedArchives, listRecordedDevices, listRecordedDevicesAsync, listSegments, listSegmentsAsync, listStatusCacheEntries, loadConfig, logFiles, machineCacheUsageFile, machineCapacity, machineEndpoint, macosAppState, maintenanceAttemptFile, maintenanceChildLogFile, maintenanceDir, maintenanceNdjsonFile, maintenanceRunClaims, maintenanceStateFile, markerWindow, offloadSummary, openLogDir, openSegmentName, parseHostedAgentAccess, parseHostedAgentGrant, parseHostedAndroidDevice, parseHostedAndroidPlacement, parseHostedAppManifest, parseHostedAppOffer, parseHostedChoice, parseHostedDevice, parseHostedIosPlacement, parseHostedLocalDeviceCount, parseHostedLogsCursor, parseHostedMacosChoice, parseHostedMacosDevice, parseHostedMacosPlacement, parseHostedNativeOffer, parseHostedNativePlacement, parseHostedOfferRequest, parseHostedPlatformDevice, parseHostedRequest, parseMachine, parseMachineCredential, parseMacosRecord, parseMaintenanceState, parseMissReason, parseNdjsonLine, parseNdjsonText, parseSetupJournal, parseSince, planLogQuery, projectRootDirectories, pullRequestCacheDir, pullRequestCacheFile, queryJsonLogs, queryLogs, readAgentDeviceUsage, readAgentDeviceUsageCache, readAgentSessionsCache, readArchive, readArchiveAsync, readArchiveState, readArchives, readArchivesAsync, readBuildDetail, readBuildHistory, readBuildMachines, readCreatedDevices, readDevServerStop, readDevServerStopRequest, readDeviceHostMachines, readDeviceIdleShutdowns, readDevicePlacement, readDiskUsage, readDiskUsageFailure, readEasSessionLedger, readEndedAgentSessions, readHomeIdentity, readHostedApp, readHostedAppMetadata, readHostedDevice, readHostedDeviceLedger, readHostedMacosApp, readHostedNativeLogsCheckpoint, readHostedSessions, readIdleStop, readJsonFile, readJsonObject, readLastBuilds, readLogRecords, readLogTimeline, readLogsSince, readMachineCacheUsage, readMacosRecord, readMaintenanceAttempt, readMaintenanceState, readNdjsonGenerations, readPullRequestCache, readRunEstimates, readSetupJournal, readStateFile, readStats, readStatsReport, readSwiftpmCacheUsage, readViewedDevices, readWarmRecord, readWorkspaceAgent, readWorkspaceState, recordMatches, recordedBytes, recordingDeviceName, recordingEnabled, rememberHostedAppBlobRename, requireAutomaticMachine, runId, saturation, serverLocalSocket, serverSetupDir, settingDefinition, settingValueError, settingsJsonSchema, setupJournalFile, sharedCcache, sharedCompilationCache, sharedGradle, sharedPods, sortByTs, statsFile, statsProjectKey, statusViews, stimBuildDigest, supervisorLogFile, supervisorPidFile, swiftpmCacheUsageFile, tailRead, trashRoot, trimCapacityRefusals, trimCapacityWaits, trimSamples, tryAcquireBuildSlotClaim, unreadableHostedAndroid, unreadableHostedIos, unreadableHostedNative, validEasSessionClaim, validHostedAppArguments, validHostedAppBlob, validRunId, validateAutomaticPool, wholePhases, windowsShortDir, windowsShortDirKey, withConfigLock, withConfigLockAsync, withDerivedFacts, withGitChip, withStateReadCache, workspaceAgentDeviceDir, workspaceBuildDetailFile, workspaceDerivedData, workspaceEndedAgentsFile, workspaceEndedAgentsLock, workspaceGradleBuild, workspaceLastUsed, workspaceLogErrorIndex, workspaceLogsDir, workspaceMetadataFile, workspaceRecordingsDir, workspaceStateFile, workspaceStateLock, workspaceSummary };
|
package/dist/state.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as tryAcquireClaim, _ as releaseClaim, f as isClaimRefusal, g as readClaimSet } from "./ownership-claim-DG2GMIoo.mjs";
|
|
2
2
|
import { inspectProcessIdentity } from "./process-identity.mjs";
|
|
3
|
-
import { $ as withDirLockAsync, C as workspaceName, J as readJsonFile, Q as withDirLock, T as workspaceStateDir, U as ambientContext, W as ambientEnv, X as readStateFile, Y as readJsonObject, Z as withStateReadCache, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as isJsonObject, t as LOG_ROTATE_BYTES, u as configDir } from "./core-
|
|
3
|
+
import { $ as withDirLockAsync, C as workspaceName, J as readJsonFile, Q as withDirLock, T as workspaceStateDir, U as ambientContext, W as ambientEnv, X as readStateFile, Y as readJsonObject, Z as withStateReadCache, _ as rotatedLogPath, d as ensurePrivateDir, g as rotateLog, q as isJsonObject, t as LOG_ROTATE_BYTES, u as configDir } from "./core-Cd3b_fBm.mjs";
|
|
4
4
|
import { readOrCreateKeyFile } from "./noise-session.mjs";
|
|
5
5
|
import { validHomeId } from "./workspace-link.mjs";
|
|
6
6
|
import { a as workspaceSummary, i as statusViews, n as applyKeyedDelta, o as withDerivedFacts, r as SUMMARY_ARCHIVES, s as withGitChip, t as KeyedEntities } from "./keyed-delta-BBoOeR2J.mjs";
|
|
@@ -1286,6 +1286,16 @@ const SETTINGS = [
|
|
|
1286
1286
|
default: "ios",
|
|
1287
1287
|
description: "Directory under the app that holds a bare React Native app's Xcode project and Podfile"
|
|
1288
1288
|
},
|
|
1289
|
+
{
|
|
1290
|
+
key: "ios.simslim",
|
|
1291
|
+
type: {
|
|
1292
|
+
kind: "choice",
|
|
1293
|
+
choices: ["on", "off"]
|
|
1294
|
+
},
|
|
1295
|
+
scopes: EVERY,
|
|
1296
|
+
default: "off",
|
|
1297
|
+
description: "Slim every Stim-owned iOS simulator with SimSlim's default categories when no ios.simslimProfile is set; off in a project opts that app out"
|
|
1298
|
+
},
|
|
1289
1299
|
{
|
|
1290
1300
|
key: "ios.simslimProfile",
|
|
1291
1301
|
type: RELATIVE_PATH,
|
|
@@ -4463,7 +4473,8 @@ function readAgentSessionsCache() {
|
|
|
4463
4473
|
//#region state/stim-build.ts
|
|
4464
4474
|
/**
|
|
4465
4475
|
* A digest of Stim's built code: the first 16 hex characters of the sha256 over the sorted `*.mjs` names and
|
|
4466
|
-
* bytes of a `stim` `dist` directory. A
|
|
4476
|
+
* bytes of a `stim` `dist` directory. A remote machine that reports no build compatibility version offloads only
|
|
4477
|
+
* with the same one.
|
|
4467
4478
|
*/
|
|
4468
4479
|
function stimBuildDigest(dir) {
|
|
4469
4480
|
try {
|