@indigoai-us/hq-cli 5.345.214 → 5.345.215
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/CHANGELOG.md +93 -0
- package/assets/scaffold/core/scripts/hq-delegate-verify.sh +5 -2
- package/dist/command-catalog.generated.d.ts +180 -13
- package/dist/command-catalog.generated.js +221 -13
- package/dist/commands/agents.d.ts +51 -1
- package/dist/commands/agents.js +154 -2
- package/dist/commands/bot-jobs.d.ts +2 -15
- package/dist/commands/bot-jobs.js +2 -94
- package/dist/commands/bot-runtime.d.ts +46 -5
- package/dist/commands/bot-runtime.js +228 -18
- package/dist/commands/bot.d.ts +16 -9
- package/dist/commands/bot.js +231 -55
- package/dist/commands/capacity.d.ts +4 -1
- package/dist/commands/capacity.js +46 -10
- package/dist/commands/cloud.d.ts +66 -13
- package/dist/commands/cloud.js +121 -40
- package/dist/commands/company-restore.d.ts +23 -0
- package/dist/commands/company-restore.js +128 -0
- package/dist/commands/company.js +2 -0
- package/dist/commands/core-delegate-w1b.js +15 -1
- package/dist/commands/core-policy.js +67 -8
- package/dist/commands/daemon.js +5 -0
- package/dist/commands/files-browse.d.ts +11 -4
- package/dist/commands/files-browse.js +21 -4
- package/dist/commands/files.d.ts +1 -1
- package/dist/commands/files.js +25 -11
- package/dist/commands/integrations-auth-rules.d.ts +27 -0
- package/dist/commands/integrations-auth-rules.js +79 -0
- package/dist/commands/integrations-connect.d.ts +10 -3
- package/dist/commands/integrations-connect.js +87 -13
- package/dist/commands/integrations-import.js +124 -12
- package/dist/commands/lanes.js +28 -11
- package/dist/commands/mesh.d.ts +2 -0
- package/dist/commands/mesh.js +60 -35
- package/dist/commands/sources.js +6 -0
- package/dist/commands/storage-offload.d.ts +12 -0
- package/dist/commands/storage-offload.js +41 -3
- package/dist/commands/sync-held.js +5 -2
- package/dist/commands/sync-mode.js +5 -0
- package/dist/commands/whoami.js +4 -0
- package/dist/lazy-commands.js +3 -5
- package/dist/lib/bot/config.d.ts +1 -0
- package/dist/lib/bot/config.js +10 -0
- package/dist/lib/bot/eventbridge-cron.d.ts +22 -0
- package/dist/lib/bot/eventbridge-cron.js +104 -0
- package/dist/lib/bot/fleet-cron.d.ts +8 -0
- package/dist/lib/bot/fleet-cron.js +35 -3
- package/dist/lib/bot/fleet-daemon.d.ts +46 -0
- package/dist/lib/bot/fleet-daemon.js +99 -1
- package/dist/lib/bot/fleet-local.d.ts +33 -1
- package/dist/lib/bot/fleet-local.js +215 -31
- package/dist/lib/bot/fleet-python.d.ts +3 -0
- package/dist/lib/bot/fleet-python.js +34 -4
- package/dist/lib/bot/fleet-runtime-sources.d.ts +15 -0
- package/dist/lib/bot/fleet-runtime-sources.js +30 -0
- package/dist/lib/bot/legacy-provider-login.d.ts +8 -0
- package/dist/lib/bot/legacy-provider-login.js +19 -2
- package/dist/lib/bot/probe.js +7 -1
- package/dist/lib/bot/prompt.js +1 -1
- package/dist/lib/bot/readiness.d.ts +8 -0
- package/dist/lib/bot/readiness.js +17 -3
- package/dist/lib/bot/run.js +20 -1
- package/dist/lib/bot/runtime/codex.js +1 -1
- package/dist/lib/bot/runtime/grok-acp.d.ts +5 -1
- package/dist/lib/bot/runtime/grok-acp.js +6 -3
- package/dist/lib/bot/runtime/index.js +19 -9
- package/dist/lib/bot/runtime/messages-stream.js +2 -2
- package/dist/lib/bot/runtime/types.d.ts +15 -0
- package/dist/lib/bot/runtime/types.js +9 -0
- package/dist/lib/bot/runtime-auth.d.ts +30 -0
- package/dist/lib/bot/runtime-auth.js +94 -3
- package/dist/lib/bot/runtime-failure.d.ts +23 -0
- package/dist/lib/bot/runtime-failure.js +43 -1
- package/dist/lib/bot/status.d.ts +2 -0
- package/dist/lib/capacity/accounts.d.ts +8 -0
- package/dist/lib/capacity/accounts.js +19 -0
- package/dist/lib/capacity/available.d.ts +154 -0
- package/dist/lib/capacity/available.js +905 -0
- package/dist/lib/capacity/codex-availability.d.ts +14 -1
- package/dist/lib/capacity/codex-availability.js +26 -1
- package/dist/lib/capacity/collectors/claude-oauth.d.ts +29 -2
- package/dist/lib/capacity/collectors/claude-oauth.js +104 -7
- package/dist/lib/capacity/collectors/codex.js +10 -7
- package/dist/lib/capacity/collectors/grok-refresh.d.ts +80 -0
- package/dist/lib/capacity/collectors/grok-refresh.js +189 -0
- package/dist/lib/capacity/collectors/grok.d.ts +5 -0
- package/dist/lib/capacity/collectors/grok.js +56 -5
- package/dist/lib/capacity/ledger.d.ts +37 -1
- package/dist/lib/capacity/ledger.js +207 -30
- package/dist/lib/capacity/project.d.ts +26 -0
- package/dist/lib/capacity/project.js +137 -8
- package/dist/lib/capacity/refusal-rows.d.ts +31 -0
- package/dist/lib/capacity/refusal-rows.js +61 -0
- package/dist/lib/capacity/refusal.d.ts +53 -2
- package/dist/lib/capacity/refusal.js +284 -65
- package/dist/lib/capacity/route.js +46 -11
- package/dist/lib/capacity/widget.d.ts +12 -1
- package/dist/lib/capacity/widget.js +91 -3
- package/dist/lib/daemon/catalog.js +11 -1
- package/dist/lib/daemon/resolver.d.ts +2 -0
- package/dist/lib/daemon/resolver.js +3 -0
- package/dist/lib/daemon/run.d.ts +9 -0
- package/dist/lib/daemon/run.js +54 -1
- package/dist/lib/daemon/server.d.ts +2 -0
- package/dist/lib/daemon/server.js +10 -1
- package/dist/lib/daemon/tcc-eperm.d.ts +153 -0
- package/dist/lib/daemon/tcc-eperm.js +310 -0
- package/dist/lib/db/sqlite-binding.d.ts +1 -0
- package/dist/lib/db/sqlite-binding.js +1 -1
- package/dist/lib/delivery/admission.d.ts +86 -0
- package/dist/lib/delivery/admission.js +148 -0
- package/dist/lib/delivery/artifacts.d.ts +105 -0
- package/dist/lib/delivery/artifacts.js +567 -0
- package/dist/lib/delivery/attempt-id.d.ts +13 -0
- package/dist/lib/delivery/attempt-id.js +16 -0
- package/dist/lib/delivery/backup.d.ts +78 -0
- package/dist/lib/delivery/backup.js +343 -0
- package/dist/lib/delivery/cache.d.ts +29 -0
- package/dist/lib/delivery/cache.js +33 -0
- package/dist/lib/delivery/contracts.d.ts +142 -0
- package/dist/lib/delivery/contracts.js +289 -0
- package/dist/lib/delivery/credentials.d.ts +54 -0
- package/dist/lib/delivery/credentials.js +119 -0
- package/dist/lib/delivery/disposable-target.d.ts +42 -0
- package/dist/lib/delivery/disposable-target.js +111 -0
- package/dist/lib/delivery/effects.d.ts +136 -0
- package/dist/lib/delivery/effects.js +541 -0
- package/dist/lib/delivery/enrollment.d.ts +146 -0
- package/dist/lib/delivery/enrollment.js +460 -0
- package/dist/lib/delivery/escalations.d.ts +51 -0
- package/dist/lib/delivery/escalations.js +60 -0
- package/dist/lib/delivery/identity.d.ts +25 -0
- package/dist/lib/delivery/identity.js +82 -0
- package/dist/lib/delivery/inbox.d.ts +116 -0
- package/dist/lib/delivery/inbox.js +260 -0
- package/dist/lib/delivery/lease.d.ts +80 -0
- package/dist/lib/delivery/lease.js +134 -0
- package/dist/lib/delivery/migrations.d.ts +255 -0
- package/dist/lib/delivery/migrations.js +823 -0
- package/dist/lib/delivery/mqtt-adapter.d.ts +50 -0
- package/dist/lib/delivery/mqtt-adapter.js +242 -0
- package/dist/lib/delivery/mqtt.d.ts +63 -0
- package/dist/lib/delivery/mqtt.js +119 -0
- package/dist/lib/delivery/outbox.d.ts +95 -0
- package/dist/lib/delivery/outbox.js +187 -0
- package/dist/lib/delivery/provenance.d.ts +129 -0
- package/dist/lib/delivery/provenance.js +93 -0
- package/dist/lib/delivery/reconciler.d.ts +215 -0
- package/dist/lib/delivery/reconciler.js +703 -0
- package/dist/lib/delivery/restore.d.ts +35 -0
- package/dist/lib/delivery/restore.js +134 -0
- package/dist/lib/delivery/rpc/client.d.ts +22 -0
- package/dist/lib/delivery/rpc/client.js +159 -0
- package/dist/lib/delivery/rpc/port.d.ts +40 -0
- package/dist/lib/delivery/rpc/port.js +16 -0
- package/dist/lib/delivery/rpc/server.d.ts +30 -0
- package/dist/lib/delivery/rpc/server.js +205 -0
- package/dist/lib/delivery/rpc/wire.d.ts +85 -0
- package/dist/lib/delivery/rpc/wire.js +143 -0
- package/dist/lib/delivery/store.d.ts +163 -0
- package/dist/lib/delivery/store.js +944 -0
- package/dist/lib/delivery/windows-service-install.d.ts +262 -0
- package/dist/lib/delivery/windows-service-install.js +892 -0
- package/dist/lib/delivery/workers/macos-job-helper.d.ts +103 -0
- package/dist/lib/delivery/workers/macos-job-helper.js +927 -0
- package/dist/lib/delivery/workers/macos.d.ts +191 -0
- package/dist/lib/delivery/workers/macos.js +943 -0
- package/dist/lib/delivery/workers/windows-job-helper.d.ts +35 -0
- package/dist/lib/delivery/workers/windows-job-helper.js +264 -0
- package/dist/lib/delivery/workers/windows-service-live.d.ts +121 -0
- package/dist/lib/delivery/workers/windows-service-live.js +711 -0
- package/dist/lib/delivery/workers/windows-service-runner.d.ts +33 -0
- package/dist/lib/delivery/workers/windows-service-runner.js +82 -0
- package/dist/lib/delivery/workers/windows-service.d.ts +140 -0
- package/dist/lib/delivery/workers/windows-service.js +584 -0
- package/dist/lib/delivery/workers/windows.d.ts +251 -0
- package/dist/lib/delivery/workers/windows.js +594 -0
- package/dist/lib/hot-channels/adapters/meetings.d.ts +15 -0
- package/dist/lib/hot-channels/adapters/meetings.js +36 -3
- package/dist/lib/hot-channels/signals-pass.d.ts +10 -0
- package/dist/lib/hot-channels/signals-pass.js +71 -2
- package/dist/lib/hot-channels/signals-redo.js +10 -2
- package/dist/lib/install/provider-wrappers.d.ts +2 -0
- package/dist/lib/install/provider-wrappers.js +68 -3
- package/dist/lib/lanes/watcher.js +35 -0
- package/dist/lib/signals/steps/extract.js +40 -4
- package/dist/schemas/hq-available-ai.v1.schema.json +76 -0
- package/dist/utils/catalog-runtime-paths.d.ts +34 -0
- package/dist/utils/catalog-runtime-paths.js +53 -0
- package/dist/utils/cognito-callback-port.d.ts +14 -0
- package/dist/utils/cognito-callback-port.js +24 -0
- package/dist/utils/cognito-session.js +3 -3
- package/dist/utils/deleted-company-notice.d.ts +59 -0
- package/dist/utils/deleted-company-notice.js +156 -0
- package/dist/utils/files-browse-acl.js +1 -1
- package/dist/utils/login-browser.d.ts +1 -1
- package/dist/utils/login-browser.js +7 -5
- package/dist/utils/resident-package-preload.js +30 -15
- package/dist/utils/vault-api.js +7 -0
- package/package.json +7 -7
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import type { WorkerAccessPort } from "../rpc/port.js";
|
|
2
|
+
import { helperOutcome, type ContainedLauncher, type ContainedProcess, type ExecutionSpec, type LaunchOutcome, type LaunchRequest, type MatchResult, type Requirements, type StartResult, type TerminalResult, type WindowsWorkerOptions, type WorkerProfile } from "./windows.js";
|
|
3
|
+
/**
|
|
4
|
+
* A macOS job may declare that it can be stopped and restarted elsewhere
|
|
5
|
+
* (undeclared means non-interruptible), the absolute paths it reads besides its
|
|
6
|
+
* attempt directory, and whether it uses the network (undeclared means denied).
|
|
7
|
+
*/
|
|
8
|
+
export type MacExecutionSpec = Omit<ExecutionSpec, "limits"> & {
|
|
9
|
+
limits: MacResourceLimits;
|
|
10
|
+
interruptible?: boolean;
|
|
11
|
+
readPaths?: string[];
|
|
12
|
+
network?: boolean;
|
|
13
|
+
};
|
|
14
|
+
/** The shared limits plus two the macOS kernel enforces per process: the largest file a job may write and how many files each process may have open. */
|
|
15
|
+
export type MacResourceLimits = ExecutionSpec["limits"] & {
|
|
16
|
+
fileSizeBytes?: number;
|
|
17
|
+
openFiles?: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The memory and per-job process limits on macOS are sampled by the helper,
|
|
21
|
+
* not enforced by the kernel (RLIMIT_AS and RLIMIT_DATA return EINVAL, RLIMIT_RSS
|
|
22
|
+
* is not enforced, and RLIMIT_NPROC counts every process of the user), so they
|
|
23
|
+
* are advertised under their own names and a spec that requires the hard
|
|
24
|
+
* memory-limit or process-limit is not matched. The thresholds the G5
|
|
25
|
+
* acceptance probes hold on this host are an overshoot of at most 6 processes
|
|
26
|
+
* against a limit of 6, and of at most 512 MiB against a memory limit of
|
|
27
|
+
* 256 MiB, before the kill. Measured over six runs on 2026-10-28: 0 to 1
|
|
28
|
+
* process and 0 to 320 MiB of overshoot. These are test thresholds and
|
|
29
|
+
* measurements, not proven bounds; a faster forker or allocator can pass them. Memory is sampled every 10 ms;
|
|
30
|
+
* the process count is checked at every fork note and on the 50 ms discovery
|
|
31
|
+
* scan.
|
|
32
|
+
*/
|
|
33
|
+
export declare const MAC_SAMPLED_CAPABILITIES: readonly string[];
|
|
34
|
+
/**
|
|
35
|
+
* Room above the job's maxProcesses in the RLIMIT_NPROC ceiling. That rlimit
|
|
36
|
+
* counts every process of the user, so the helper sets it to the user's
|
|
37
|
+
* process count at start plus maxProcesses plus this room: other processes of
|
|
38
|
+
* the user that start while the job runs eat into the room, not the job's
|
|
39
|
+
* limit.
|
|
40
|
+
*/
|
|
41
|
+
export declare const MAC_NPROC_HEADROOM = 128;
|
|
42
|
+
/**
|
|
43
|
+
* How each advertised limit is enforced. kernel: true means a kernel rlimit
|
|
44
|
+
* set before exec and inherited by every descendant; kernel: false means the
|
|
45
|
+
* helper samples it and kills the tree on a breach.
|
|
46
|
+
*/
|
|
47
|
+
export declare const MAC_LIMIT_ENFORCEMENT: Readonly<Record<string, {
|
|
48
|
+
kernel: boolean;
|
|
49
|
+
detail: string;
|
|
50
|
+
}>>;
|
|
51
|
+
/** What the native macOS launcher contains. */
|
|
52
|
+
export declare const MAC_CAPABILITIES: readonly string[];
|
|
53
|
+
/**
|
|
54
|
+
* The US-006 matcher, plus the macOS-only capabilities it does not know (the
|
|
55
|
+
* sampled limits and the kernel ceilings): those must be in the worker
|
|
56
|
+
* profile. A spec asking for the hard memory-limit or process-limit is
|
|
57
|
+
* refused CAPABILITY_MISSING, since no macOS profile has them.
|
|
58
|
+
*/
|
|
59
|
+
export declare function matchMacCapabilities(profile: WorkerProfile, req: Requirements): MatchResult;
|
|
60
|
+
/** How long a kill, or the reaper after a helper dies, may take before the job is reported as not fully killed. */
|
|
61
|
+
export declare const CLEANUP_WINDOW_MS = 2000;
|
|
62
|
+
/** The profile of this macOS host: node, git when present, and the macOS containment capabilities. */
|
|
63
|
+
export declare function detectMacProfile(): WorkerProfile;
|
|
64
|
+
/** The US-006 checks plus the interruptible, readPaths and network fields, and a declared PATH when git is required. */
|
|
65
|
+
export declare function validateMacSpec(spec: unknown): {
|
|
66
|
+
ok: true;
|
|
67
|
+
} | {
|
|
68
|
+
ok: false;
|
|
69
|
+
code: "INVALID_SPEC";
|
|
70
|
+
detail: string;
|
|
71
|
+
};
|
|
72
|
+
/** A launch request with the macOS-only fields: declared read paths, network, and paths denied even under a declared path. */
|
|
73
|
+
export type MacLaunchRequest = Omit<LaunchRequest, "limits"> & {
|
|
74
|
+
limits: MacResourceLimits;
|
|
75
|
+
readPaths?: string[];
|
|
76
|
+
network?: boolean;
|
|
77
|
+
protectedPaths?: string[];
|
|
78
|
+
};
|
|
79
|
+
/** The Windows outcomes plus a kill that ran out of its cleanup window. */
|
|
80
|
+
export type MacLaunchOutcome = LaunchOutcome | {
|
|
81
|
+
reason: "kill_incomplete";
|
|
82
|
+
detail: string;
|
|
83
|
+
};
|
|
84
|
+
export type MacContainedProcess = Omit<ContainedProcess, "done"> & {
|
|
85
|
+
done: Promise<MacLaunchOutcome>;
|
|
86
|
+
/** The helper's reaper, once the helper has reported it. */
|
|
87
|
+
readonly reaperPid?: number | null;
|
|
88
|
+
/** The job's in-sandbox watchdog, once the helper has reported it. */
|
|
89
|
+
readonly watchdogPid?: number | null;
|
|
90
|
+
};
|
|
91
|
+
export interface MacContainedLauncher {
|
|
92
|
+
launch(req: MacLaunchRequest, run?: unknown): MacContainedProcess;
|
|
93
|
+
prepare?(run?: unknown): void;
|
|
94
|
+
}
|
|
95
|
+
export interface NativeMacosLauncherOptions {
|
|
96
|
+
/** Where the compiled helper is cached, one subdirectory per helper source hash. Per-job marker directories live in helperDir/jobs. */
|
|
97
|
+
helperDir: string;
|
|
98
|
+
/** Defaults to /usr/bin/cc. */
|
|
99
|
+
ccPath?: string;
|
|
100
|
+
/** How long a kill may take, 0 to 2000 ms. Defaults to CLEANUP_WINDOW_MS. */
|
|
101
|
+
cleanupWindowMs?: number;
|
|
102
|
+
/** How many distinct processes the helper tracks per job, 1 to 8192; one more is a process-limit breach. Defaults to 8192. */
|
|
103
|
+
seenCapacity?: number;
|
|
104
|
+
/**
|
|
105
|
+
* false turns the helper's sampled limits off, so only the kernel limits act.
|
|
106
|
+
* For tests that prove the kernel layer alone; defaults to true.
|
|
107
|
+
*/
|
|
108
|
+
limitSampling?: boolean;
|
|
109
|
+
/** Writes the helper's pid file. Defaults to writeFileSync; tests inject a failure here. */
|
|
110
|
+
writeHelperPid?: (path: string, data: string) => void;
|
|
111
|
+
}
|
|
112
|
+
export interface NativeMacosLauncher extends MacContainedLauncher {
|
|
113
|
+
/** Build the helper when needed, self test it, and sweep the jobs of dead helpers. */
|
|
114
|
+
prepare(): void;
|
|
115
|
+
/** The verified helper binary. Builds it when needed. */
|
|
116
|
+
helperPath(): string;
|
|
117
|
+
launch(req: MacLaunchRequest): MacContainedProcess;
|
|
118
|
+
}
|
|
119
|
+
/** The helper's macOS-only exits, then the shared mapping. */
|
|
120
|
+
export declare function macHelperOutcome(h: Parameters<typeof helperOutcome>[0]): MacLaunchOutcome;
|
|
121
|
+
/**
|
|
122
|
+
* The native macOS launcher. Each job gets its own helper process, which puts
|
|
123
|
+
* the root in the job's sandbox and supervises the tree; see
|
|
124
|
+
* macos-job-helper.ts for the protocol and the limits.
|
|
125
|
+
*/
|
|
126
|
+
export declare function nativeMacosLauncher(opts: NativeMacosLauncherOptions): NativeMacosLauncher;
|
|
127
|
+
export type MacosWorkerOptions = Omit<WindowsWorkerOptions, "launcher" | "access"> & {
|
|
128
|
+
/**
|
|
129
|
+
* The controller, through the worker's access port: the in-process access
|
|
130
|
+
* layer (a DeliveryAccess, or inProcessPort) or the loopback RPC client
|
|
131
|
+
* (US-011 slice 4 B). Every call is awaited.
|
|
132
|
+
*/
|
|
133
|
+
access: WorkerAccessPort;
|
|
134
|
+
/**
|
|
135
|
+
* The attempt id the worker claims with, one per start. The worker keeps it so
|
|
136
|
+
* a claim whose answer was lost can be replayed and returned. Default mw-<uuid>.
|
|
137
|
+
*/
|
|
138
|
+
attemptIds?: () => string;
|
|
139
|
+
launcher: MacContainedLauncher | ContainedLauncher;
|
|
140
|
+
/** Paths no job may read even when a declared read path covers them, such as the delivery store. The work directory is always added. */
|
|
141
|
+
protectedPaths?: string[];
|
|
142
|
+
/**
|
|
143
|
+
* How often the worker runs the launcher's orphan sweep while it lives, in
|
|
144
|
+
* ms. Defaults to SWEEP_INTERVAL_MS; 0 turns the periodic sweep off.
|
|
145
|
+
*/
|
|
146
|
+
sweepIntervalMs?: number;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* The periodic orphan sweep interval. A tree whose host, helper and reaper
|
|
150
|
+
* were all killed is ended by its own watchdog within CLEANUP_WINDOW_MS; the
|
|
151
|
+
* sweep is the fallback for a job that killed its watchdog, and removes the
|
|
152
|
+
* job directories the helpers left.
|
|
153
|
+
*/
|
|
154
|
+
export declare const SWEEP_INTERVAL_MS = 5000;
|
|
155
|
+
export declare class MacosWorker {
|
|
156
|
+
private readonly opts;
|
|
157
|
+
private readonly clock;
|
|
158
|
+
private readonly active;
|
|
159
|
+
/** Starts that have not settled yet; optOut waits for them so none strands a claim. */
|
|
160
|
+
private readonly starting;
|
|
161
|
+
private opted;
|
|
162
|
+
private sweepTimer;
|
|
163
|
+
constructor(opts: MacosWorkerOptions);
|
|
164
|
+
/** Stop the periodic orphan sweep. Active jobs are not touched. */
|
|
165
|
+
close(): void;
|
|
166
|
+
/** True once optOut has been called. No new job is admitted after that. */
|
|
167
|
+
get optedOut(): boolean;
|
|
168
|
+
private now;
|
|
169
|
+
private result;
|
|
170
|
+
private refuse;
|
|
171
|
+
/**
|
|
172
|
+
* Report the ledger outcome (or return the attempt), then append the one
|
|
173
|
+
* terminal result. A ledger or result-log failure is reported, never thrown.
|
|
174
|
+
* A failed return is recorded as failed RETURN_NOT_RECORDED and the attempt
|
|
175
|
+
* stays open in the ledger.
|
|
176
|
+
*/
|
|
177
|
+
private finish;
|
|
178
|
+
start(spec: MacExecutionSpec): Promise<StartResult>;
|
|
179
|
+
private startInner;
|
|
180
|
+
/**
|
|
181
|
+
* Stop admitting work. Interruptible active jobs are killed with their whole
|
|
182
|
+
* tree and returned to the ledger; the rest run to completion. Resolves when
|
|
183
|
+
* every job active at the call has its terminal result.
|
|
184
|
+
*/
|
|
185
|
+
optOut(): Promise<{
|
|
186
|
+
returned: TerminalResult[];
|
|
187
|
+
completed: TerminalResult[];
|
|
188
|
+
}>;
|
|
189
|
+
private mapOutcome;
|
|
190
|
+
}
|
|
191
|
+
//# sourceMappingURL=macos.d.ts.map
|