@outerlayer/cli 0.36.0-next.20261103102716 → 0.36.0-next.20261103103134
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/build-info.json +1 -1
- package/dist/{check-QLJ2O7VO.js → check-D6NMQ6LP.js} +8 -8
- package/dist/{chunk-QKLCIJEU.js → chunk-52Z7AOZ2.js} +15 -9
- package/dist/{chunk-RGKJ5J72.js → chunk-B5UBTIIP.js} +1 -1
- package/dist/{chunk-U6HCTKPH.js → chunk-GWJUEJR4.js} +2 -2
- package/dist/{chunk-WNQGSAUE.js → chunk-IDYLPN4X.js} +1 -1
- package/dist/{chunk-H4G26OZC.js → chunk-KVO4MJWS.js} +13 -2
- package/dist/{chunk-N3SO5VCM.js → chunk-LISVY7JZ.js} +1 -1
- package/dist/{chunk-XSGWMQJF.js → chunk-NDCN3R5C.js} +1 -1
- package/dist/{chunk-BTGNFRRT.js → chunk-NH4EZRBM.js} +4 -4
- package/dist/{chunk-YWCK4EOT.js → chunk-R63T46P7.js} +1 -1
- package/dist/{chunk-A64EXQUL.js → chunk-S7YU25AF.js} +14 -11
- package/dist/{chunk-RKV3UQCG.js → chunk-XAMTNTOH.js} +2 -2
- package/dist/{chunk-HX6B34ZF.js → chunk-XW2KXLZB.js} +2 -2
- package/dist/{cli-4M74XOWW.js → cli-TZW5XJRE.js} +48 -47
- package/dist/{command-RY76GIQG.js → command-5VOKN4HI.js} +4 -4
- package/dist/{container-start-SUBTHQME.js → container-start-NJGGT4E3.js} +5 -5
- package/dist/{doctor-GEG64FBO.js → doctor-ZAB6SDWF.js} +5 -5
- package/dist/{governing-source-IR3KUGQF.js → governing-source-CZSYE7QE.js} +2 -2
- package/dist/{host-checks-OB45XC67.js → host-checks-KLMATCMD.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{init-HHD2NNWY.js → init-BB2LERCZ.js} +3 -3
- package/dist/{init-G34M5Y4W.js → init-G7D7ABKV.js} +3 -3
- package/dist/{init-cmd-GDT27DWD.js → init-cmd-5GHIMFSS.js} +2 -2
- package/dist/{loop-6MSKJN52.js → loop-7MAMONQJ.js} +8 -8
- package/dist/{machine-LGD4UVCI.js → machine-HDHSI7WF.js} +3 -3
- package/dist/{runner-key-Z2IQ5TS7.js → runner-key-JGIDJTHH.js} +3 -3
- package/dist/{spec-cmd-TON4PYGQ.js → spec-cmd-QAOTQPI6.js} +1 -1
- package/dist/{status-ROMTDMFO.js → status-OKZHXEYB.js} +3 -3
- package/dist/{update-steps-A5OSPYAS.js → update-steps-W56ITCKQ.js} +4 -4
- package/dist/{work-claim-cmd-5EYXVPKH.js → work-claim-cmd-E2D4YHCS.js} +3 -3
- package/dist/{work-cmd-RUOTA5K7.js → work-cmd-VD362634.js} +1 -1
- package/dist/{work-comment-cmd-7UM3O3EL.js → work-comment-cmd-EUI5IOQI.js} +2 -2
- package/dist/{work-demo-cmd-K4NRR2AK.js → work-demo-cmd-MGL3U6ZF.js} +1 -1
- package/dist/{work-logs-cmd-QW7PNI6V.js → work-logs-cmd-QAJG75DG.js} +1 -1
- package/dist/{work-open-pr-cmd-Y6MTWQG5.js → work-open-pr-cmd-SXVSMG44.js} +1 -1
- package/dist/{work-proofs-cmd-5LMTROA6.js → work-proofs-cmd-AAHTMSCF.js} +2 -2
- package/dist/{work-proofs-record-3JGUT2F5.js → work-proofs-record-LLUEXW7I.js} +3 -3
- package/dist/{work-stop-cmd-R5F5VRUM.js → work-stop-cmd-RZLGWQJ5.js} +1 -1
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-03T10:
|
|
1
|
+
{"id":"2026-11-03T10:43:39.623Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-S7YU25AF.js';
|
|
4
4
|
import './chunk-K373UCEV.js';
|
|
5
5
|
import './chunk-B5VKRKLJ.js';
|
|
6
6
|
import './chunk-2W5C47AE.js';
|
|
7
7
|
import './chunk-3JVYMD4G.js';
|
|
8
8
|
import './chunk-E7R2GIAW.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
9
|
+
import './chunk-GWJUEJR4.js';
|
|
10
|
+
import './chunk-NDCN3R5C.js';
|
|
11
|
+
import './chunk-IDYLPN4X.js';
|
|
12
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-XAMTNTOH.js';
|
|
13
13
|
import './chunk-P4Q6M6PI.js';
|
|
14
14
|
import { findServiceUnit } from './chunk-CDTBXABP.js';
|
|
15
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
15
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-52Z7AOZ2.js';
|
|
16
16
|
import './chunk-GPBTTHK3.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
18
18
|
import './chunk-I3LTIAOR.js';
|
|
@@ -37,8 +37,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
37
37
|
import './chunk-OGFGZQA3.js';
|
|
38
38
|
import './chunk-WAGHPZP2.js';
|
|
39
39
|
import './chunk-MPVTZLOM.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
40
|
+
import './chunk-LISVY7JZ.js';
|
|
41
|
+
import './chunk-KVO4MJWS.js';
|
|
42
42
|
import './chunk-T5I2H7TJ.js';
|
|
43
43
|
import './chunk-UZSMDU4U.js';
|
|
44
44
|
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-6J3QWXTA.js';
|
|
@@ -19,8 +19,8 @@ import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
|
19
19
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
20
20
|
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-WAGHPZP2.js';
|
|
21
21
|
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-MPVTZLOM.js';
|
|
22
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
23
|
-
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-
|
|
22
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-LISVY7JZ.js';
|
|
23
|
+
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-KVO4MJWS.js';
|
|
24
24
|
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-6J3QWXTA.js';
|
|
25
25
|
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-IEVARJ6G.js';
|
|
26
26
|
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-6UI4ELNA.js';
|
|
@@ -30,7 +30,7 @@ import { sharedSkillNames, skillConflictMessage } from './chunk-3XEYA3QF.js';
|
|
|
30
30
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
31
31
|
import { signerFor } from './chunk-KHJPRTOW.js';
|
|
32
32
|
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-L3SHPR2M.js';
|
|
33
|
-
import { BUILD_HOME, JOB_MOUNT, buildEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, maxDestinations, resolveDestinations, isReservedVariable, classifyAddress, carried6to4, EVAL_INPUT_DIR, isMiseVariableAllowed
|
|
33
|
+
import { BUILD_HOME, JOB_MOUNT, buildEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, maxDestinations, resolveDestinations, isReservedVariable, classifyAddress, primaryOf, carried6to4, EVAL_INPUT_DIR, isMiseVariableAllowed } from './chunk-LDKF6B2R.js';
|
|
34
34
|
import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, builtInNames, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-7UYXSF62.js';
|
|
35
35
|
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
36
36
|
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-IEDO26G4.js';
|
|
@@ -3041,10 +3041,11 @@ var DISK_REASON_TEXT = {
|
|
|
3041
3041
|
other_disk_size: "the kept disk was made with another runner.build.disk size",
|
|
3042
3042
|
disk_not_restored: "the kept disk could not be copied",
|
|
3043
3043
|
checkout_not_switched: "the kept checkout could not be switched to the branch",
|
|
3044
|
-
build_type_cannot_restore: "this build type cannot restore a disk"
|
|
3044
|
+
build_type_cannot_restore: "this build type cannot restore a disk",
|
|
3045
|
+
fresh_requested: "a member asked for a fresh disk"
|
|
3045
3046
|
};
|
|
3046
3047
|
function itemDiskDecision(input) {
|
|
3047
|
-
if (input.
|
|
3048
|
+
if (input.fresh === true) return { state: { restored: false, reason: "fresh_requested" } };
|
|
3048
3049
|
if (!input.builtin) return { state: { restored: false, reason: "build_type_cannot_restore" } };
|
|
3049
3050
|
let kept;
|
|
3050
3051
|
try {
|
|
@@ -3053,6 +3054,7 @@ function itemDiskDecision(input) {
|
|
|
3053
3054
|
kept = void 0;
|
|
3054
3055
|
}
|
|
3055
3056
|
if (kept === void 0) return { state: { restored: false, reason: "no_kept_disk" } };
|
|
3057
|
+
if (kept.record.repository !== input.repository) return { state: { restored: false, reason: "no_kept_disk" } };
|
|
3056
3058
|
if (kept.record.imageId !== input.imageId) return { state: { restored: false, reason: "other_image" } };
|
|
3057
3059
|
if (kept.record.diskBytes !== input.diskBytes) return { state: { restored: false, reason: "other_disk_size" } };
|
|
3058
3060
|
if (kept.record.kind !== input.backend) return { state: { restored: false, reason: "disk_not_restored" } };
|
|
@@ -3944,9 +3946,9 @@ async function provisionMicroVmOnce(input, allowRestore, itemDiskFailed) {
|
|
|
3944
3946
|
if (!obtained.ok) return obtained.aborted === true ? { ok: false, reason: obtained.reason, aborted: true } : fail(obtained.reason);
|
|
3945
3947
|
const { report } = obtained.built;
|
|
3946
3948
|
const tagged = taggedLog(log, tag);
|
|
3947
|
-
const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({
|
|
3949
|
+
const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({ fresh: input.fresh, builtin: true, backend: "disk", configPath: config.configPath, organizationId: input.organizationId, workItemId: input.workItemId, repository, imageId: report.imageId, diskBytes: limits2.diskBytes });
|
|
3948
3950
|
const keptDisk = itemDisk.kept;
|
|
3949
|
-
if (itemDisk.state?.restored === false) tagged(`this
|
|
3951
|
+
if (itemDisk.state?.restored === false) tagged(`this job starts without a kept disk: ${DISK_REASON_TEXT[itemDisk.state.reason]}`);
|
|
3950
3952
|
const plan = keptDisk !== void 0 ? keptDiskPlan() : await planSavedState({
|
|
3951
3953
|
config,
|
|
3952
3954
|
repositories,
|
|
@@ -6147,6 +6149,7 @@ function recordOf(input, kind, bytes, volume) {
|
|
|
6147
6149
|
workItemId: input.workItemId,
|
|
6148
6150
|
claimId: input.claimId,
|
|
6149
6151
|
queue: input.queue,
|
|
6152
|
+
...input.repository === void 0 ? {} : { repository: input.repository },
|
|
6150
6153
|
imageId: input.imageId,
|
|
6151
6154
|
diskBytes: input.diskBytes,
|
|
6152
6155
|
kind,
|
|
@@ -6244,16 +6247,19 @@ async function keepContainerDisk(input) {
|
|
|
6244
6247
|
// src/runner/workspace/finish.ts
|
|
6245
6248
|
function noDiskReason(job, config) {
|
|
6246
6249
|
if (job.workItemId === void 0) return "the job names no work item";
|
|
6250
|
+
if (job.reason === "disk_limit_exceeded" || job.reason === "disk_check_failed") return "the build passed its disk limit, so a rerun would start from a full disk";
|
|
6247
6251
|
if (config.managed === true && (job.managedVariables?.length ?? 0) > 0) return "the build held a factory build variable, and the runner cannot remove a value that a command stored in an encoded form";
|
|
6248
6252
|
return void 0;
|
|
6249
6253
|
}
|
|
6250
6254
|
function target(input, imageId, diskBytes) {
|
|
6255
|
+
const primary = primaryOf(repositoriesOf({ repositories: input.job.repositories, repository: input.job.repository, branch: input.job.branch }));
|
|
6251
6256
|
return {
|
|
6252
6257
|
configPath: input.config.configPath,
|
|
6253
6258
|
...input.job.organizationId === void 0 ? {} : { organizationId: input.job.organizationId },
|
|
6254
6259
|
workItemId: input.job.workItemId,
|
|
6255
6260
|
claimId: input.job.claimId,
|
|
6256
6261
|
queue: input.job.queue,
|
|
6262
|
+
...primary === void 0 ? {} : { repository: primary.repository },
|
|
6257
6263
|
imageId,
|
|
6258
6264
|
diskBytes,
|
|
6259
6265
|
now: input.now(),
|
|
@@ -10422,9 +10428,9 @@ async function provisionContainerOnce(input, allowRestore, itemDiskFailed) {
|
|
|
10422
10428
|
const { report } = built;
|
|
10423
10429
|
const tagged = taggedLog(log, tag);
|
|
10424
10430
|
const diskBytes = parseSize(config.build?.disk ?? DEFAULT_BUILD_DISK) ?? 0;
|
|
10425
|
-
const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({
|
|
10431
|
+
const itemDisk = input.workItemId === void 0 ? { state: void 0 } : itemDiskFailed !== void 0 ? { state: { restored: false, reason: itemDiskFailed } } : itemDiskDecision({ fresh: input.fresh, builtin: true, backend: "volume", configPath: config.configPath, organizationId: input.organizationId, workItemId: input.workItemId, repository, imageId: report.imageId, diskBytes });
|
|
10426
10432
|
const keptDisk = itemDisk.kept;
|
|
10427
|
-
if (itemDisk.state?.restored === false) tagged(`this
|
|
10433
|
+
if (itemDisk.state?.restored === false) tagged(`this job starts without a kept disk: ${DISK_REASON_TEXT[itemDisk.state.reason]}`);
|
|
10428
10434
|
const plan = keptDisk !== void 0 ? keptDiskPlan() : await planSavedState({
|
|
10429
10435
|
config,
|
|
10430
10436
|
repositories,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-KVO4MJWS.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-T5I2H7TJ.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-HO4DPX5N.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-KVO4MJWS.js';
|
|
8
8
|
import { keyRunnerFactory } from './chunk-6J3QWXTA.js';
|
|
9
9
|
import { signerFor } from './chunk-KHJPRTOW.js';
|
|
10
10
|
import { pidFilePath } from './chunk-L3SHPR2M.js';
|
|
@@ -376,6 +376,12 @@ async function postJsonWithRetry(url, path, apiKey, appId, body, fetchImpl, retr
|
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
+
function freshDiskLine(asked, data) {
|
|
380
|
+
if (!asked) return "";
|
|
381
|
+
return data.fresh === true ? `
|
|
382
|
+
the build starts from a fresh disk` : `
|
|
383
|
+
${C.yellow}!${C.reset} the gateway did not record the fresh-disk request, so the build may start from the earlier job's disk`;
|
|
384
|
+
}
|
|
379
385
|
function tokenWarning(data) {
|
|
380
386
|
const tokens = data.repositoryTokens;
|
|
381
387
|
if (tokens === void 0 || tokens === null || tokens.earnable !== false) return "";
|
|
@@ -420,6 +426,9 @@ async function runWorkBuild(opts) {
|
|
|
420
426
|
"--instructions applies to host builds: with --local you build the item yourself, so give your instructions in your own session"
|
|
421
427
|
);
|
|
422
428
|
}
|
|
429
|
+
if (opts.local && opts.fresh === true) {
|
|
430
|
+
throw new WorkCommandError("--fresh applies to host builds: with --local you build the item yourself, so no kept disk is restored");
|
|
431
|
+
}
|
|
423
432
|
const runner = parseRunnerKind(opts.runner);
|
|
424
433
|
if (opts.local && runner !== void 0) {
|
|
425
434
|
throw new WorkCommandError("--runner applies to host builds: with --local you build the item yourself, so no runner takes it");
|
|
@@ -451,10 +460,12 @@ async function runWorkBuild(opts) {
|
|
|
451
460
|
return { data: data2, output: output2 };
|
|
452
461
|
}
|
|
453
462
|
const instructions = opts.instructions !== void 0 ? { instructions: opts.instructions } : {};
|
|
454
|
-
const
|
|
463
|
+
const fresh = opts.fresh === true ? { fresh: true } : {};
|
|
464
|
+
const body = itemNumber !== void 0 ? { workItemId: String(itemNumber), note: opts.note, ...instructions, ...fresh, runner, ...facts } : {
|
|
455
465
|
subject: resolveWorkSubject({ issue: opts.issue, tracker: opts.tracker, repo: opts.repo, cwd }),
|
|
456
466
|
note: opts.note,
|
|
457
467
|
...instructions,
|
|
468
|
+
...fresh,
|
|
458
469
|
runner,
|
|
459
470
|
...facts
|
|
460
471
|
};
|
|
@@ -466,7 +477,7 @@ async function runWorkBuild(opts) {
|
|
|
466
477
|
});
|
|
467
478
|
const page = itemPageUrl(home, cwd, appId, data.workItemId, data.number);
|
|
468
479
|
const output = opts.json ? JSON.stringify(data) : `${C.green}\u2713${C.reset} build requested ${C.dim}\xB7${C.reset} ${itemLabel(data)}${"subject" in body ? ` (${issueLabel(body.subject)})` : ""}${runnerLabel(data, runner)} ${C.dim}\xB7${C.reset} by ${data.attestor}` + (page !== void 0 ? `
|
|
469
|
-
${page}` : "") + tokenWarning(data);
|
|
480
|
+
${page}` : "") + freshDiskLine(opts.fresh === true, data) + tokenWarning(data);
|
|
470
481
|
if (!opts.quiet) process.stdout.write(output + "\n");
|
|
471
482
|
return { data, output };
|
|
472
483
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-KVO4MJWS.js';
|
|
4
4
|
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-J4NJWTNO.js';
|
|
5
5
|
import { buildRefusalReason } from './chunk-YEZGNCSK.js';
|
|
6
6
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-3XEYA3QF.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-EUWTGCK5.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-GPBTTHK3.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-KVO4MJWS.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { defaultFetch } from './chunk-HR4PJLOO.js';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-KLMATCMD.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-KLMATCMD.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-LLUEXW7I.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-ZZ4WIQRF.js';
|
|
5
5
|
import { runnerDir } from './chunk-L3SHPR2M.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -5,12 +5,12 @@ import { writePendingUpdate } from './chunk-B5VKRKLJ.js';
|
|
|
5
5
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-2W5C47AE.js';
|
|
6
6
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
7
7
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
8
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
9
|
-
import { renderUpdateSteps } from './chunk-
|
|
10
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
8
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-GWJUEJR4.js';
|
|
9
|
+
import { renderUpdateSteps } from './chunk-NDCN3R5C.js';
|
|
10
|
+
import { RUNNER_PROTOCOL } from './chunk-IDYLPN4X.js';
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-XAMTNTOH.js';
|
|
12
12
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-P4Q6M6PI.js';
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-52Z7AOZ2.js';
|
|
14
14
|
import { RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
|
|
15
15
|
import { RepoFilter } from './chunk-K26KMWU4.js';
|
|
16
16
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
@@ -19,8 +19,8 @@ import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js'
|
|
|
19
19
|
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-VMPVQE4D.js';
|
|
20
20
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-HO4DPX5N.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
22
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-LISVY7JZ.js';
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-KVO4MJWS.js';
|
|
24
24
|
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-6J3QWXTA.js';
|
|
25
25
|
import { allocatedBytes, freeBytes, formatBytes } from './chunk-IEVARJ6G.js';
|
|
26
26
|
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-6UI4ELNA.js';
|
|
@@ -2205,7 +2205,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2205
2205
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2206
2206
|
);
|
|
2207
2207
|
async function tryClaimAndStart(state, item, queue) {
|
|
2208
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2208
|
+
const { postJson: postJson2 } = await import('./work-cmd-VD362634.js');
|
|
2209
2209
|
const log = logOf(state);
|
|
2210
2210
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2211
2211
|
const claim = await retrySend(
|
|
@@ -2343,7 +2343,7 @@ async function startClaimedBuild(state, item, queue, data, fleet) {
|
|
|
2343
2343
|
log.line(`${tag}: ${entry.repository} is left out of this build because its GitHub App installation is suspended`);
|
|
2344
2344
|
}
|
|
2345
2345
|
try {
|
|
2346
|
-
await startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet);
|
|
2346
|
+
await startJob(state, item, queue, claimId, itemKey, branch, identity, repositories, fleet, data.freshDisk === true);
|
|
2347
2347
|
} catch (err) {
|
|
2348
2348
|
const stranded = [...state.jobs.values()].find((active) => active.job.claimId === claimId);
|
|
2349
2349
|
if (stranded === void 0) throw err;
|
|
@@ -2400,7 +2400,7 @@ async function prepareSession(state, active, item, queue, tag) {
|
|
|
2400
2400
|
return void 0;
|
|
2401
2401
|
}
|
|
2402
2402
|
}
|
|
2403
|
-
async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet) {
|
|
2403
|
+
async function startJob(state, item, queue, claimId, itemKey, branch, identity, claimed, fleet, freshDisk) {
|
|
2404
2404
|
const log = logOf(state);
|
|
2405
2405
|
const startedAt = nowOf(state);
|
|
2406
2406
|
const repositories = repositoriesOf({ repositories: claimed, repository: item.specRepository, branch });
|
|
@@ -2419,6 +2419,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2419
2419
|
commitIdentity: identity,
|
|
2420
2420
|
// The work item the kept session belongs to. A fleet claim names it too, from the same listing.
|
|
2421
2421
|
workItemId: item.id,
|
|
2422
|
+
...freshDisk ? { freshDisk: true } : {},
|
|
2422
2423
|
...fleet === void 0 ? {} : { appId: fleet.appId, organizationId: fleet.organizationId, size: fleet.size },
|
|
2423
2424
|
...primary === void 0 ? {} : { repository: primary.repository, repositories },
|
|
2424
2425
|
startedAt: startedAt.toISOString()
|
|
@@ -2518,6 +2519,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2518
2519
|
runtime: runtimeOf(state),
|
|
2519
2520
|
queue,
|
|
2520
2521
|
workItemId: item.id,
|
|
2522
|
+
...freshDisk ? { fresh: true } : {},
|
|
2521
2523
|
item,
|
|
2522
2524
|
itemKey,
|
|
2523
2525
|
tokens,
|
|
@@ -2562,6 +2564,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
2562
2564
|
runtime: runtimeOf(state),
|
|
2563
2565
|
queue,
|
|
2564
2566
|
workItemId: item.id,
|
|
2567
|
+
...freshDisk ? { fresh: true } : {},
|
|
2565
2568
|
item,
|
|
2566
2569
|
itemKey,
|
|
2567
2570
|
tokens,
|
|
@@ -3555,7 +3558,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3555
3558
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3556
3559
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
3557
3560
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
3558
|
-
return (await import('./check-
|
|
3561
|
+
return (await import('./check-D6NMQ6LP.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3559
3562
|
},
|
|
3560
3563
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3561
3564
|
log
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-ZZ4WIQRF.js';
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-KVO4MJWS.js';
|
|
6
6
|
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-6J3QWXTA.js';
|
|
7
7
|
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-IEVARJ6G.js';
|
|
8
8
|
import { ensureHostKey } from './chunk-KHJPRTOW.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-4MLH5MDB.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-KVO4MJWS.js';
|
|
5
5
|
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-PYK6GCCU.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-2SBNZ4EC.js';
|
|
7
7
|
import { isLinkedRepository } from './chunk-PDRWRFB2.js';
|
|
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
|
|
|
1079
1079
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1080
1080
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1081
1081
|
} else if (hasRunnerBlock(configPath)) {
|
|
1082
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1082
|
+
const { runnerHostChecks } = await import('./doctor-ZAB6SDWF.js');
|
|
1083
1083
|
const gateway = (() => {
|
|
1084
1084
|
try {
|
|
1085
1085
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-XW2KXLZB.js';
|
|
4
4
|
import './chunk-4MLH5MDB.js';
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-KVO4MJWS.js';
|
|
6
6
|
import './chunk-T5I2H7TJ.js';
|
|
7
7
|
import './chunk-UZSMDU4U.js';
|
|
8
8
|
import './chunk-PYK6GCCU.js';
|
|
@@ -3943,13 +3943,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3943
3943
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3944
3944
|
`);
|
|
3945
3945
|
}
|
|
3946
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3946
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-5GHIMFSS.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3947
3947
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3948
3948
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3949
3949
|
return;
|
|
3950
3950
|
}
|
|
3951
3951
|
await installMachineSkillsForSetup();
|
|
3952
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3952
|
+
const { runInitCommand } = await import('./init-cmd-5GHIMFSS.js');
|
|
3953
3953
|
const code = await runInitCommand(
|
|
3954
3954
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3955
3955
|
{
|
|
@@ -4691,9 +4691,9 @@ function registerSpecCommands(program2) {
|
|
|
4691
4691
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4692
4692
|
const credentialOptions = (command) => command.option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)");
|
|
4693
4693
|
const run = async (action) => {
|
|
4694
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4694
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4695
4695
|
try {
|
|
4696
|
-
await action(await import('./spec-cmd-
|
|
4696
|
+
await action(await import('./spec-cmd-QAOTQPI6.js'));
|
|
4697
4697
|
} catch (err) {
|
|
4698
4698
|
if (err instanceof WorkCommandError) {
|
|
4699
4699
|
fail(err.message);
|
|
@@ -4779,13 +4779,14 @@ problem to replace the earlier result. A problem the item does not cover is refu
|
|
|
4779
4779
|
}
|
|
4780
4780
|
});
|
|
4781
4781
|
const workCmd = program2.command("work").description("Start, remove, or read what the factory is working on (the Work page)");
|
|
4782
|
-
workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
4782
|
+
workCmd.command("build").description("Start work on an item: a host builds it, or with --local you do").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123 (adds it to Work first)").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue \u2014 required if more than one is connected").option("--item <number>", "the item's own number inside this factory \u2014 must already exist").option("--local", "you build it in a session you start; no host takes it").option("--repo <owner/name>", "repository \u2014 the checkout's remote for a number, never guessed for a key").option("--note <text>", "a short note for people to read; the agent never sees it").option("--instructions <text>", "text the build's agent receives, up to 2000 characters; not with --local").option("--runner <kind>", "kind of runner that takes the build: managed or self-hosted; not with --local").option("--fresh", "start from a fresh disk, not the item's kept disk; not with --local").option("--session-id <id>", "session id to record as-is, skipping detection").option("--retry <count>", "retries after a gateway answer worth trying again").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
4783
4783
|
"after",
|
|
4784
4784
|
`
|
|
4785
4785
|
${cliInvocation()} work build --issue 42 # a host builds it
|
|
4786
4786
|
${cliInvocation()} work build --item 7 # retry an item already on Work
|
|
4787
4787
|
${cliInvocation()} work build --issue 42 --instructions "skip the docs" # the agent reads this
|
|
4788
4788
|
${cliInvocation()} work build --issue 42 --runner managed # a managed runner builds it
|
|
4789
|
+
${cliInvocation()} work build --item 7 --fresh # no kept disk is restored
|
|
4789
4790
|
${cliInvocation()} work build --issue 42 --local # you build it
|
|
4790
4791
|
${cliInvocation()} work build --issue ENG-123 --tracker linear # a Linear issue
|
|
4791
4792
|
|
|
@@ -4798,7 +4799,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4798
4799
|
session links itself and holds the item's lease while it works.
|
|
4799
4800
|
`
|
|
4800
4801
|
).action(async (opts) => {
|
|
4801
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4802
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4802
4803
|
try {
|
|
4803
4804
|
await runWorkBuild(opts);
|
|
4804
4805
|
} catch (err) {
|
|
@@ -4821,7 +4822,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4821
4822
|
--ended is given, or another worker already holds a live one.
|
|
4822
4823
|
`
|
|
4823
4824
|
).action(async (number, opts) => {
|
|
4824
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4825
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4825
4826
|
try {
|
|
4826
4827
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4827
4828
|
} catch (err) {
|
|
@@ -4852,8 +4853,8 @@ thread at its source. It takes a plain answer: no --criterion and no
|
|
|
4852
4853
|
action flag.
|
|
4853
4854
|
`
|
|
4854
4855
|
).action(async (opts) => {
|
|
4855
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4856
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4856
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-EUI5IOQI.js');
|
|
4857
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4857
4858
|
try {
|
|
4858
4859
|
await runWorkComment(opts);
|
|
4859
4860
|
} catch (err) {
|
|
@@ -4875,7 +4876,7 @@ nothing and exits 0 when the call fails: the line goes to hook-errors.log,
|
|
|
4875
4876
|
and the comment waits for the next agent job.
|
|
4876
4877
|
`
|
|
4877
4878
|
).action(async (ids, opts) => {
|
|
4878
|
-
const { runWorkCommentsRead } = await import('./work-comment-cmd-
|
|
4879
|
+
const { runWorkCommentsRead } = await import('./work-comment-cmd-EUI5IOQI.js');
|
|
4879
4880
|
await runWorkCommentsRead({ ...opts, commentIds: ids });
|
|
4880
4881
|
});
|
|
4881
4882
|
workCmd.command("threads").description("Read a work item's general thread, its criterion threads and its source threads").requiredOption("--item <number>", "the item's number inside this factory").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").addHelpText(
|
|
@@ -4891,8 +4892,8 @@ that started outside OuterLayer, such as the line comments of a
|
|
|
4891
4892
|
GitHub review, each with its id, source and comments.
|
|
4892
4893
|
`
|
|
4893
4894
|
).action(async (opts) => {
|
|
4894
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4895
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4895
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-EUI5IOQI.js');
|
|
4896
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4896
4897
|
try {
|
|
4897
4898
|
await runWorkThreads(opts);
|
|
4898
4899
|
} catch (err) {
|
|
@@ -4916,8 +4917,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4916
4917
|
command exits 1.
|
|
4917
4918
|
`
|
|
4918
4919
|
).action(async (opts) => {
|
|
4919
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4920
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4920
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-QAJG75DG.js');
|
|
4921
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4921
4922
|
try {
|
|
4922
4923
|
await runWorkLogs(opts);
|
|
4923
4924
|
} catch (err) {
|
|
@@ -4940,8 +4941,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4940
4941
|
build is running for the item.
|
|
4941
4942
|
`
|
|
4942
4943
|
).action(async (opts) => {
|
|
4943
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4944
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4944
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-RZLGWQJ5.js');
|
|
4945
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4945
4946
|
try {
|
|
4946
4947
|
await runWorkStop(opts);
|
|
4947
4948
|
} catch (err) {
|
|
@@ -4962,8 +4963,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4962
4963
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4963
4964
|
`
|
|
4964
4965
|
).action(async (opts) => {
|
|
4965
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4966
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4966
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-MGL3U6ZF.js');
|
|
4967
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4967
4968
|
try {
|
|
4968
4969
|
await runWorkDemo(opts);
|
|
4969
4970
|
} catch (err) {
|
|
@@ -4984,7 +4985,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4984
4985
|
live addition remains on it.
|
|
4985
4986
|
`
|
|
4986
4987
|
).action(async (opts) => {
|
|
4987
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4988
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
4988
4989
|
try {
|
|
4989
4990
|
await runWorkRemove(opts);
|
|
4990
4991
|
} catch (err) {
|
|
@@ -4996,7 +4997,7 @@ live addition remains on it.
|
|
|
4996
4997
|
}
|
|
4997
4998
|
});
|
|
4998
4999
|
workCmd.command("status").description("Show one item's stage, gate ledger, and additions").option("--item <number>", "the item's number inside this factory").option("--issue <number>", "issue number, or a Linear/Jira key like ENG-123").option(TRACKER_OPTION_FLAG, "tracker for a keyed --issue, when both hold the key").option("--repo <owner/name>", "repository for an issue number (default: the checkout's remote)").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
4999
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
5000
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
5000
5001
|
try {
|
|
5001
5002
|
await runWorkStatus(opts);
|
|
5002
5003
|
} catch (err) {
|
|
@@ -5041,11 +5042,11 @@ differs from HEAD.
|
|
|
5041
5042
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5042
5043
|
return;
|
|
5043
5044
|
}
|
|
5044
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5045
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-AAHTMSCF.js');
|
|
5045
5046
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5046
5047
|
});
|
|
5047
5048
|
workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
5048
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
5049
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
5049
5050
|
try {
|
|
5050
5051
|
await runWorkList(opts);
|
|
5051
5052
|
} catch (err) {
|
|
@@ -5066,7 +5067,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
5066
5067
|
it. --host is a label only.
|
|
5067
5068
|
`
|
|
5068
5069
|
).action(async (opts) => {
|
|
5069
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
5070
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-E2D4YHCS.js');
|
|
5070
5071
|
try {
|
|
5071
5072
|
await runWorkClaim(opts);
|
|
5072
5073
|
} catch (err) {
|
|
@@ -5086,7 +5087,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5086
5087
|
lease has expired, or a 403 if a different key holds it.
|
|
5087
5088
|
`
|
|
5088
5089
|
).action(async (opts) => {
|
|
5089
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5090
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-E2D4YHCS.js');
|
|
5090
5091
|
try {
|
|
5091
5092
|
await runWorkRenew(opts);
|
|
5092
5093
|
} catch (err) {
|
|
@@ -5118,7 +5119,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5118
5119
|
takes the lease again.
|
|
5119
5120
|
`
|
|
5120
5121
|
).action(async (opts) => {
|
|
5121
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5122
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-E2D4YHCS.js');
|
|
5122
5123
|
try {
|
|
5123
5124
|
await runWorkRelease(opts);
|
|
5124
5125
|
} catch (err) {
|
|
@@ -5170,8 +5171,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5170
5171
|
Run it again after a change to the title or description.
|
|
5171
5172
|
`
|
|
5172
5173
|
).action(async (opts) => {
|
|
5173
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5174
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5174
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-SXVSMG44.js');
|
|
5175
|
+
const { WorkCommandError } = await import('./work-cmd-VD362634.js');
|
|
5175
5176
|
try {
|
|
5176
5177
|
await runWorkOpenPr(opts);
|
|
5177
5178
|
} catch (err) {
|
|
@@ -5204,7 +5205,7 @@ function registerRunnerCommands(program2) {
|
|
|
5204
5205
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5205
5206
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5206
5207
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-23EBIGW4.js');
|
|
5207
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5208
|
+
const { start, RunnerStartError } = await import('./loop-7MAMONQJ.js');
|
|
5208
5209
|
const { RunnerAlreadyRunningError } = await import('./pidfile-PAX5XHQJ.js');
|
|
5209
5210
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5210
5211
|
try {
|
|
@@ -5228,8 +5229,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5228
5229
|
`
|
|
5229
5230
|
).action(async () => {
|
|
5230
5231
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-23EBIGW4.js');
|
|
5231
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5232
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5232
|
+
const { containerStart, containerStartExit } = await import('./container-start-NJGGT4E3.js');
|
|
5233
|
+
const { start, RunnerStartError } = await import('./loop-7MAMONQJ.js');
|
|
5233
5234
|
const { RunnerAlreadyRunningError } = await import('./pidfile-PAX5XHQJ.js');
|
|
5234
5235
|
try {
|
|
5235
5236
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5253,14 +5254,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5253
5254
|
).action(async (opts) => {
|
|
5254
5255
|
const { defaultRunnerConfigPath } = await import('./config-23EBIGW4.js');
|
|
5255
5256
|
const { runnerDir } = await import('./paths-VIBBLJ2W.js');
|
|
5256
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5257
|
+
const { runUpdateSteps } = await import('./update-steps-W56ITCKQ.js');
|
|
5257
5258
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5258
5259
|
process.stdout.write(`${text}
|
|
5259
5260
|
`);
|
|
5260
5261
|
});
|
|
5261
5262
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5262
5263
|
const { defaultRunnerConfigPath } = await import('./config-23EBIGW4.js');
|
|
5263
|
-
const { runRunnerCheck } = await import('./check-
|
|
5264
|
+
const { runRunnerCheck } = await import('./check-D6NMQ6LP.js');
|
|
5264
5265
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5265
5266
|
const result = await runRunnerCheck(configPath);
|
|
5266
5267
|
if (!result.ok) {
|
|
@@ -5294,13 +5295,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5294
5295
|
}
|
|
5295
5296
|
}
|
|
5296
5297
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5297
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5298
|
+
if (buildCpusMax !== void 0 && !(await import('./command-5VOKN4HI.js')).cpusAreValid(buildCpusMax)) {
|
|
5298
5299
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5299
5300
|
return;
|
|
5300
5301
|
}
|
|
5301
5302
|
try {
|
|
5302
5303
|
if (opts.service === true) {
|
|
5303
|
-
const { installServiceCommand } = await import('./command-
|
|
5304
|
+
const { installServiceCommand } = await import('./command-5VOKN4HI.js');
|
|
5304
5305
|
const result2 = await installServiceCommand({
|
|
5305
5306
|
configPath,
|
|
5306
5307
|
print: opts.print,
|
|
@@ -5358,7 +5359,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5358
5359
|
return;
|
|
5359
5360
|
}
|
|
5360
5361
|
const { defaultRunnerConfigPath } = await import('./config-23EBIGW4.js');
|
|
5361
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5362
|
+
const { uninstallServiceCommand } = await import('./command-5VOKN4HI.js');
|
|
5362
5363
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5363
5364
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5364
5365
|
`);
|
|
@@ -5386,10 +5387,10 @@ already in ${words().envFile} is used.
|
|
|
5386
5387
|
`
|
|
5387
5388
|
).action(async (opts) => {
|
|
5388
5389
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-23EBIGW4.js');
|
|
5389
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5390
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5391
|
-
const { detectMachine } = await import('./machine-
|
|
5392
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5390
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-BB2LERCZ.js');
|
|
5391
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-JGIDJTHH.js');
|
|
5392
|
+
const { detectMachine } = await import('./machine-HDHSI7WF.js');
|
|
5393
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-G7D7ABKV.js');
|
|
5393
5394
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-R2C5LYCX.js');
|
|
5394
5395
|
const { headlessNames } = await import('./runner-agents-WUMCXVS2.js');
|
|
5395
5396
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5529,7 +5530,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5529
5530
|
let serviceUp = false;
|
|
5530
5531
|
let restart;
|
|
5531
5532
|
if (installedLayout) {
|
|
5532
|
-
const { installServiceCommand } = await import('./command-
|
|
5533
|
+
const { installServiceCommand } = await import('./command-5VOKN4HI.js');
|
|
5533
5534
|
const service = await installServiceCommand({
|
|
5534
5535
|
configPath,
|
|
5535
5536
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5601,7 +5602,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5601
5602
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5602
5603
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5603
5604
|
});
|
|
5604
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5605
|
+
const { imageTargetFor } = await import('./governing-source-CZSYE7QE.js');
|
|
5605
5606
|
const { runnerCalls } = await import('./caller-WSMJJSFL.js');
|
|
5606
5607
|
const target = await imageTargetFor({ config: loaded === void 0 || loaded.fleet === true ? void 0 : runnerCalls(loaded), repository: opts.repository, fetchImpl: fetch });
|
|
5607
5608
|
if (!target.ok) {
|
|
@@ -5667,7 +5668,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5667
5668
|
});
|
|
5668
5669
|
runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
|
|
5669
5670
|
const { defaultRunnerConfigPath } = await import('./config-23EBIGW4.js');
|
|
5670
|
-
const { requestStop } = await import('./loop-
|
|
5671
|
+
const { requestStop } = await import('./loop-7MAMONQJ.js');
|
|
5671
5672
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5672
5673
|
const { runnerImageVersion } = await import('./image-tag-MAMFM4SO.js');
|
|
5673
5674
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5675,8 +5676,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5675
5676
|
runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
|
|
5676
5677
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-23EBIGW4.js');
|
|
5677
5678
|
const { jobsDir, runnerDir } = await import('./paths-VIBBLJ2W.js');
|
|
5678
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5679
|
-
const { renderStatus } = await import('./status-
|
|
5679
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-7MAMONQJ.js');
|
|
5680
|
+
const { renderStatus } = await import('./status-OKZHXEYB.js');
|
|
5680
5681
|
const { readHousekeepingRecord } = await import('./record-QPXOUL6F.js');
|
|
5681
5682
|
const path2 = await import('path');
|
|
5682
5683
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5742,7 +5743,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
5742
5743
|
});
|
|
5743
5744
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
|
|
5744
5745
|
const { defaultRunnerConfigPath } = await import('./config-23EBIGW4.js');
|
|
5745
|
-
const { listJobFiles } = await import('./loop-
|
|
5746
|
+
const { listJobFiles } = await import('./loop-7MAMONQJ.js');
|
|
5746
5747
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-BM644OOJ.js');
|
|
5747
5748
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5748
5749
|
const jobs = listJobFiles(configPath);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-OPEZVPF7.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-R63T46P7.js';
|
|
5
5
|
import './chunk-ZE2JJQPC.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-P4Q6M6PI.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-52Z7AOZ2.js';
|
|
8
8
|
import './chunk-GPBTTHK3.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
@@ -30,8 +30,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
30
30
|
import './chunk-OGFGZQA3.js';
|
|
31
31
|
import './chunk-WAGHPZP2.js';
|
|
32
32
|
import './chunk-MPVTZLOM.js';
|
|
33
|
-
import './chunk-
|
|
34
|
-
import './chunk-
|
|
33
|
+
import './chunk-LISVY7JZ.js';
|
|
34
|
+
import './chunk-KVO4MJWS.js';
|
|
35
35
|
import './chunk-T5I2H7TJ.js';
|
|
36
36
|
import './chunk-UZSMDU4U.js';
|
|
37
37
|
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-6J3QWXTA.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-
|
|
4
|
-
import { readOwnContainer } from './chunk-
|
|
5
|
-
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-GWJUEJR4.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-NDCN3R5C.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-52Z7AOZ2.js';
|
|
6
6
|
import './chunk-GPBTTHK3.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
@@ -27,8 +27,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
27
27
|
import './chunk-OGFGZQA3.js';
|
|
28
28
|
import './chunk-WAGHPZP2.js';
|
|
29
29
|
import './chunk-MPVTZLOM.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
30
|
+
import './chunk-LISVY7JZ.js';
|
|
31
|
+
import './chunk-KVO4MJWS.js';
|
|
32
32
|
import './chunk-T5I2H7TJ.js';
|
|
33
33
|
import './chunk-UZSMDU4U.js';
|
|
34
34
|
import './chunk-6J3QWXTA.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperBinaryFor } from './chunk-
|
|
3
|
+
import { helperBinaryFor } from './chunk-R63T46P7.js';
|
|
4
4
|
import { launcherCheck } from './chunk-ZE2JJQPC.js';
|
|
5
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
5
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-XAMTNTOH.js';
|
|
6
6
|
import './chunk-P4Q6M6PI.js';
|
|
7
|
-
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
7
|
+
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-52Z7AOZ2.js';
|
|
8
8
|
import './chunk-GPBTTHK3.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
@@ -29,8 +29,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
29
29
|
import './chunk-OGFGZQA3.js';
|
|
30
30
|
import './chunk-WAGHPZP2.js';
|
|
31
31
|
import './chunk-MPVTZLOM.js';
|
|
32
|
-
import './chunk-
|
|
33
|
-
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-
|
|
32
|
+
import './chunk-LISVY7JZ.js';
|
|
33
|
+
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-KVO4MJWS.js';
|
|
34
34
|
import './chunk-T5I2H7TJ.js';
|
|
35
35
|
import './chunk-UZSMDU4U.js';
|
|
36
36
|
import { builtinKind, keepsHostBuilder, allowHostProblem, MAX_ALLOW_HOSTS } from './chunk-6J3QWXTA.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { imageTargetFor, pinnedSourceOf, resolveGoverningSource } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { imageTargetFor, pinnedSourceOf, resolveGoverningSource } from './chunk-LISVY7JZ.js';
|
|
4
|
+
import './chunk-KVO4MJWS.js';
|
|
5
5
|
import './chunk-T5I2H7TJ.js';
|
|
6
6
|
import './chunk-UZSMDU4U.js';
|
|
7
7
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
3
|
+
export { MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import './chunk-GPBTTHK3.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -25,8 +25,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-WAGHPZP2.js';
|
|
27
27
|
import './chunk-MPVTZLOM.js';
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
28
|
+
import './chunk-LISVY7JZ.js';
|
|
29
|
+
import './chunk-KVO4MJWS.js';
|
|
30
30
|
import './chunk-T5I2H7TJ.js';
|
|
31
31
|
import './chunk-UZSMDU4U.js';
|
|
32
32
|
import './chunk-6J3QWXTA.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-WRHH6SRD.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-HYRZAY5K.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-TZW5XJRE.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import './chunk-GPBTTHK3.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -25,8 +25,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-WAGHPZP2.js';
|
|
27
27
|
import './chunk-MPVTZLOM.js';
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
28
|
+
import './chunk-LISVY7JZ.js';
|
|
29
|
+
import './chunk-KVO4MJWS.js';
|
|
30
30
|
import './chunk-T5I2H7TJ.js';
|
|
31
31
|
import './chunk-UZSMDU4U.js';
|
|
32
32
|
import './chunk-6J3QWXTA.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { npmSupportsProvenance } from './chunk-E7R2GIAW.js';
|
|
4
|
-
import { RunnerInitError, readConfigObject } from './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-52Z7AOZ2.js';
|
|
5
5
|
import './chunk-GPBTTHK3.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
@@ -27,8 +27,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
27
27
|
import './chunk-OGFGZQA3.js';
|
|
28
28
|
import './chunk-WAGHPZP2.js';
|
|
29
29
|
import './chunk-MPVTZLOM.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
30
|
+
import './chunk-LISVY7JZ.js';
|
|
31
|
+
import './chunk-KVO4MJWS.js';
|
|
32
32
|
import './chunk-T5I2H7TJ.js';
|
|
33
33
|
import './chunk-UZSMDU4U.js';
|
|
34
34
|
import { runnerCredentialProblem, resolveBuild, resolveHousekeeping, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-6J3QWXTA.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-XW2KXLZB.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-2QIK3JRV.js';
|
|
5
5
|
import './chunk-4MLH5MDB.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-KVO4MJWS.js';
|
|
7
7
|
import './chunk-T5I2H7TJ.js';
|
|
8
8
|
import './chunk-UZSMDU4U.js';
|
|
9
9
|
import './chunk-PYK6GCCU.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-
|
|
3
|
+
export { RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-S7YU25AF.js';
|
|
4
4
|
import './chunk-K373UCEV.js';
|
|
5
5
|
import './chunk-B5VKRKLJ.js';
|
|
6
6
|
import './chunk-2W5C47AE.js';
|
|
7
7
|
import './chunk-3JVYMD4G.js';
|
|
8
8
|
import './chunk-E7R2GIAW.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
9
|
+
import './chunk-GWJUEJR4.js';
|
|
10
|
+
import './chunk-NDCN3R5C.js';
|
|
11
|
+
import './chunk-IDYLPN4X.js';
|
|
12
|
+
import './chunk-XAMTNTOH.js';
|
|
13
13
|
import './chunk-P4Q6M6PI.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-52Z7AOZ2.js';
|
|
15
15
|
import './chunk-GPBTTHK3.js';
|
|
16
16
|
import './chunk-2PGI6RDE.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
@@ -36,8 +36,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
36
36
|
import './chunk-OGFGZQA3.js';
|
|
37
37
|
import './chunk-WAGHPZP2.js';
|
|
38
38
|
import './chunk-MPVTZLOM.js';
|
|
39
|
-
import './chunk-
|
|
40
|
-
import './chunk-
|
|
39
|
+
import './chunk-LISVY7JZ.js';
|
|
40
|
+
import './chunk-KVO4MJWS.js';
|
|
41
41
|
import './chunk-T5I2H7TJ.js';
|
|
42
42
|
import './chunk-UZSMDU4U.js';
|
|
43
43
|
import './chunk-6J3QWXTA.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-
|
|
3
|
+
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import './chunk-GPBTTHK3.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -25,8 +25,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-WAGHPZP2.js';
|
|
27
27
|
import './chunk-MPVTZLOM.js';
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
28
|
+
import './chunk-LISVY7JZ.js';
|
|
29
|
+
import './chunk-KVO4MJWS.js';
|
|
30
30
|
import './chunk-T5I2H7TJ.js';
|
|
31
31
|
import './chunk-UZSMDU4U.js';
|
|
32
32
|
import './chunk-6J3QWXTA.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import './chunk-GPBTTHK3.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -25,8 +25,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-WAGHPZP2.js';
|
|
27
27
|
import './chunk-MPVTZLOM.js';
|
|
28
|
-
import './chunk-
|
|
29
|
-
import { getJson } from './chunk-
|
|
28
|
+
import './chunk-LISVY7JZ.js';
|
|
29
|
+
import { getJson } from './chunk-KVO4MJWS.js';
|
|
30
30
|
import './chunk-T5I2H7TJ.js';
|
|
31
31
|
import './chunk-UZSMDU4U.js';
|
|
32
32
|
import { runnerCredentialProblem } from './chunk-6J3QWXTA.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaFromAcceptanceFile, runEmitCriteria } from './chunk-BEJJJZXF.js';
|
|
4
4
|
import './chunk-WGC7UFRM.js';
|
|
5
|
-
import { getJson, postJson, patchJson, WorkCommandError, resolveCredentials } from './chunk-
|
|
5
|
+
import { getJson, postJson, patchJson, WorkCommandError, resolveCredentials } from './chunk-KVO4MJWS.js';
|
|
6
6
|
import './chunk-T5I2H7TJ.js';
|
|
7
7
|
import { autoConnect } from './chunk-UZSMDU4U.js';
|
|
8
8
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-
|
|
3
|
+
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-52Z7AOZ2.js';
|
|
4
4
|
import './chunk-GPBTTHK3.js';
|
|
5
5
|
import './chunk-2PGI6RDE.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -25,8 +25,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-WAGHPZP2.js';
|
|
27
27
|
import './chunk-MPVTZLOM.js';
|
|
28
|
-
import { formatDuration, formatClock, relativeToRunner } from './chunk-
|
|
29
|
-
import './chunk-
|
|
28
|
+
import { formatDuration, formatClock, relativeToRunner } from './chunk-LISVY7JZ.js';
|
|
29
|
+
import './chunk-KVO4MJWS.js';
|
|
30
30
|
import './chunk-T5I2H7TJ.js';
|
|
31
31
|
import './chunk-UZSMDU4U.js';
|
|
32
32
|
import './chunk-6J3QWXTA.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-NDCN3R5C.js';
|
|
4
|
+
import './chunk-52Z7AOZ2.js';
|
|
5
5
|
import './chunk-GPBTTHK3.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
@@ -26,8 +26,8 @@ import './chunk-JBJTC3UU.js';
|
|
|
26
26
|
import './chunk-OGFGZQA3.js';
|
|
27
27
|
import './chunk-WAGHPZP2.js';
|
|
28
28
|
import './chunk-MPVTZLOM.js';
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
29
|
+
import './chunk-LISVY7JZ.js';
|
|
30
|
+
import './chunk-KVO4MJWS.js';
|
|
31
31
|
import './chunk-T5I2H7TJ.js';
|
|
32
32
|
import './chunk-UZSMDU4U.js';
|
|
33
33
|
import './chunk-6J3QWXTA.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
4
|
-
import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-
|
|
5
|
-
export { WorkCommandError } from './chunk-
|
|
3
|
+
import { RUNNER_PROTOCOL } from './chunk-IDYLPN4X.js';
|
|
4
|
+
import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-KVO4MJWS.js';
|
|
5
|
+
export { WorkCommandError } from './chunk-KVO4MJWS.js';
|
|
6
6
|
import './chunk-T5I2H7TJ.js';
|
|
7
7
|
import './chunk-UZSMDU4U.js';
|
|
8
8
|
import { defaultRunnerConfigPath } from './chunk-6J3QWXTA.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { WorkCommandError, environmentFacts, findLiveItemForIssue, getJson, parsePositiveInt, patchJson, postJson, resolveCredentials, runWorkBuild, runWorkLinkSession, runWorkList, runWorkRemove, runWorkStatus } from './chunk-
|
|
3
|
+
export { WorkCommandError, environmentFacts, findLiveItemForIssue, getJson, parsePositiveInt, patchJson, postJson, resolveCredentials, runWorkBuild, runWorkLinkSession, runWorkList, runWorkRemove, runWorkStatus } from './chunk-KVO4MJWS.js';
|
|
4
4
|
import './chunk-T5I2H7TJ.js';
|
|
5
5
|
import './chunk-UZSMDU4U.js';
|
|
6
6
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { WorkCommentCommandError, runWorkComment, runWorkCommentsRead, runWorkThreads } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { WorkCommentCommandError, runWorkComment, runWorkCommentsRead, runWorkThreads } from './chunk-B5UBTIIP.js';
|
|
4
|
+
import './chunk-KVO4MJWS.js';
|
|
5
5
|
import './chunk-T5I2H7TJ.js';
|
|
6
6
|
import './chunk-UZSMDU4U.js';
|
|
7
7
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { resolveCredentials, WorkCommandError } from './chunk-
|
|
4
|
+
import { resolveCredentials, WorkCommandError } from './chunk-KVO4MJWS.js';
|
|
5
5
|
import './chunk-T5I2H7TJ.js';
|
|
6
6
|
import './chunk-UZSMDU4U.js';
|
|
7
7
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, getJson } from './chunk-KVO4MJWS.js';
|
|
4
4
|
import './chunk-T5I2H7TJ.js';
|
|
5
5
|
import './chunk-UZSMDU4U.js';
|
|
6
6
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { itemLabel, runWorkPr, WorkPrCommandError } from './chunk-42X6CTBI.js';
|
|
4
|
-
import { resolveCredentials } from './chunk-
|
|
4
|
+
import { resolveCredentials } from './chunk-KVO4MJWS.js';
|
|
5
5
|
import './chunk-T5I2H7TJ.js';
|
|
6
6
|
import './chunk-UZSMDU4U.js';
|
|
7
7
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-NH4EZRBM.js';
|
|
4
4
|
import './chunk-GPBTTHK3.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-KVO4MJWS.js';
|
|
6
6
|
import './chunk-T5I2H7TJ.js';
|
|
7
7
|
import './chunk-UZSMDU4U.js';
|
|
8
8
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, classifyProofsAt, runWorkProofs, proofsCommentId, kindProblem, proofsCommentBody } from './chunk-
|
|
3
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, classifyProofsAt, runWorkProofs, proofsCommentId, kindProblem, proofsCommentBody } from './chunk-NH4EZRBM.js';
|
|
4
4
|
import { runEmitDemo } from './chunk-U7MLC45I.js';
|
|
5
5
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
6
|
-
import { runWorkComment } from './chunk-
|
|
6
|
+
import { runWorkComment } from './chunk-B5UBTIIP.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-NMMGRG5V.js';
|
|
8
8
|
import { runnerMatcher } from './chunk-GPBTTHK3.js';
|
|
9
9
|
import './chunk-2PGI6RDE.js';
|
|
10
10
|
import { runSync } from './chunk-K26KMWU4.js';
|
|
11
11
|
import './chunk-LXXP5HRJ.js';
|
|
12
12
|
import './chunk-WGC7UFRM.js';
|
|
13
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
13
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-KVO4MJWS.js';
|
|
14
14
|
import './chunk-T5I2H7TJ.js';
|
|
15
15
|
import './chunk-UZSMDU4U.js';
|
|
16
16
|
import './chunk-PDRWRFB2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, WorkCommandError } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, WorkCommandError } from './chunk-KVO4MJWS.js';
|
|
4
4
|
import './chunk-T5I2H7TJ.js';
|
|
5
5
|
import './chunk-UZSMDU4U.js';
|
|
6
6
|
import './chunk-PDRWRFB2.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.36.0-next.
|
|
3
|
+
"version": "0.36.0-next.20261103103134",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, claude, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Magu Studios, Inc.",
|