@outerlayer/cli 0.34.0-next.20261025210240 → 0.34.0-next.20261026145838
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-B4OKU4MV.js → build-ZJK6CPNH.js} +3 -3
- package/dist/{build-disk-ZL46AEN3.js → build-disk-7HS4UF7O.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/{builder-XFPWE74N.js → builder-MHZKDI4H.js} +2 -2
- package/dist/{check-QULEN437.js → check-4W4QUBMP.js} +25 -21
- package/dist/{chunk-FVCHHSHB.js → chunk-35JMYSUD.js} +1 -1
- package/dist/{chunk-2D6CKNR7.js → chunk-3EHDZTRT.js} +2 -2
- package/dist/{chunk-SUOZYOWO.js → chunk-3RLKILPT.js} +1 -1
- package/dist/{chunk-NW26E4YU.js → chunk-4YFMNF5Y.js} +2 -2
- package/dist/{chunk-UN3SQTVL.js → chunk-6JZXIWX7.js} +3 -3
- package/dist/{chunk-AVPLEFQR.js → chunk-7DXVL7TN.js} +2 -2
- package/dist/{chunk-OQLF3MQQ.js → chunk-7JE2WFNK.js} +1 -1
- package/dist/{chunk-JQSZTQSK.js → chunk-7P3H4RY2.js} +36 -13
- package/dist/{chunk-FD5ASWTG.js → chunk-AE3OTPUU.js} +34 -18
- package/dist/{chunk-O4Z2MNNL.js → chunk-CY5TCVBS.js} +3 -3
- package/dist/{chunk-INOUUSYI.js → chunk-EMH2LNIE.js} +2 -2
- package/dist/{chunk-BHSSGVOY.js → chunk-GEQT3RPN.js} +2 -2
- package/dist/{chunk-AJYZNISW.js → chunk-GSSVJNP2.js} +5 -5
- package/dist/{chunk-K2UAQWYO.js → chunk-IM6IL3F4.js} +2 -2
- package/dist/{chunk-HHFZXOBC.js → chunk-KAVZAB3E.js} +8 -8
- package/dist/{chunk-RHV5SRI2.js → chunk-KRTD2F3I.js} +2 -2
- package/dist/{chunk-5AFPP3GZ.js → chunk-M3ME6TLQ.js} +1 -1
- package/dist/{chunk-RFVIQLNB.js → chunk-PP6OX4OT.js} +1 -1
- package/dist/{chunk-VJ34F55N.js → chunk-PWSUNS6Y.js} +12 -12
- package/dist/{chunk-TBKV4L2W.js → chunk-QEIA5Q35.js} +3 -3
- package/dist/{chunk-JBCOUY4M.js → chunk-SKVA4KWD.js} +2 -2
- package/dist/{chunk-KM2HLQE3.js → chunk-UONH72CJ.js} +1 -1
- package/dist/{chunk-EGVHFHY4.js → chunk-VGRCZE6U.js} +2 -2
- package/dist/{chunk-UO4FQAOX.js → chunk-VVOSUGEF.js} +1 -1
- package/dist/{chunk-QQP3S5FU.js → chunk-WHDS6MEG.js} +2 -2
- package/dist/{chunk-PFHTT4PP.js → chunk-WMNPKBX5.js} +3 -3
- package/dist/{chunk-AP2K4LPI.js → chunk-XKJOIQ2Q.js} +27 -3
- package/dist/{chunk-QANM5COC.js → chunk-XTYYF6P7.js} +2 -2
- package/dist/{chunk-6OLVVAOK.js → chunk-YZ375YBI.js} +3 -3
- package/dist/{chunk-DNZYXEMY.js → chunk-ZP7GKJSM.js} +4 -4
- package/dist/{cli-VHQPX2B7.js → cli-PFWJD5QM.js} +86 -86
- package/dist/{command-KFYK3WEF.js → command-CM22HPN5.js} +12 -12
- package/dist/{config-QASNKYM6.js → config-W2XWNR4C.js} +4 -4
- package/dist/{connect-cmd-MEDWMW3L.js → connect-cmd-TOWE4P45.js} +2 -2
- package/dist/{container-start-2DHCWV73.js → container-start-D2OEPMUO.js} +22 -18
- package/dist/{context-show-cmd-VSFCG663.js → context-show-cmd-5UJUWBJL.js} +3 -3
- package/dist/{dist-QGN5R4Y2.js → dist-IOPJIQWK.js} +1 -1
- package/dist/{docker-TAC6G4VU.js → docker-GA63DVME.js} +2 -2
- package/dist/{doctor-LK6E3XOW.js → doctor-GVWQBHBC.js} +13 -13
- package/dist/{emit-artifact-cmd-L4REOPWX.js → emit-artifact-cmd-TUOLSGHB.js} +6 -6
- package/dist/{emit-criteria-cmd-QVFOQARC.js → emit-criteria-cmd-VEUMA7MZ.js} +4 -4
- package/dist/{emit-demo-cmd-L4B6OOTV.js → emit-demo-cmd-YLEZB6FG.js} +7 -7
- package/dist/{emit-finding-cmd-YXFCIWMU.js → emit-finding-cmd-BX3FWGSX.js} +4 -4
- package/dist/{emit-result-cmd-NI4LCTUM.js → emit-result-cmd-AYXGCIPR.js} +5 -5
- package/dist/{emit-step-cmd-HWAUCZZB.js → emit-step-cmd-CU6GQ3WW.js} +4 -4
- package/dist/{find-unit-4UR647S4.js → find-unit-GGBRYOSO.js} +6 -6
- package/dist/{findings-cmd-O2IBO25E.js → findings-cmd-G4V4M3PO.js} +4 -4
- package/dist/{governing-source-JCI7VDQ6.js → governing-source-JQV3ZKD7.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-FAIF7KOK.js → init-3NT4YX2X.js} +12 -12
- package/dist/{init-2CEULE3F.js → init-FY3HP73H.js} +12 -12
- package/dist/{init-cmd-HZUUMO45.js → init-cmd-RXHHEAOT.js} +6 -6
- package/dist/{init-update-TTMFFNMB.js → init-update-RHS6HWLI.js} +4 -3
- package/dist/{loop-7U7MVICV.js → loop-V3GED2WX.js} +24 -20
- package/dist/{machine-S3JHOX4V.js → machine-HLZLH327.js} +12 -12
- package/dist/{runner-env-BJPUHAKZ.js → runner-env-V52JUOD5.js} +6 -6
- package/dist/{runner-identity-ZCPPC2BJ.js → runner-identity-J4NCBSBU.js} +2 -2
- package/dist/{runner-key-CYSUYKSX.js → runner-key-ZUHMQCHZ.js} +12 -12
- package/dist/{session-sender-5T7BXPKC.js → session-sender-XDKMK4SF.js} +6 -6
- package/dist/{spec-cmd-4ABYAFNZ.js → spec-cmd-XQV7EIJW.js} +5 -5
- package/dist/{status-2AP7J2L7.js → status-ZJJEJ52D.js} +20 -16
- package/dist/{sync-cmd-34CGNA6T.js → sync-cmd-BG2M536W.js} +5 -5
- package/dist/{update-steps-JQOCCDWO.js → update-steps-I5JLERXS.js} +21 -17
- package/dist/{watch-6HU7LCUY.js → watch-7A63565I.js} +5 -5
- package/dist/{work-claim-cmd-5QKLHSCR.js → work-claim-cmd-OVPMBIRR.js} +8 -8
- package/dist/{work-cmd-3MKUIE2C.js → work-cmd-KVFRK24I.js} +4 -4
- package/dist/{work-comment-cmd-ESC3DSHI.js → work-comment-cmd-GC3WAFM7.js} +5 -5
- package/dist/{work-demo-cmd-7S23DGYO.js → work-demo-cmd-IOB5UDGQ.js} +4 -4
- package/dist/{work-logs-cmd-46UPNN7Q.js → work-logs-cmd-7II6D2JJ.js} +4 -4
- package/dist/{work-open-pr-cmd-JNGTGLIP.js → work-open-pr-cmd-FYKRKCDL.js} +5 -5
- package/dist/{work-pr-cmd-2J2LKETD.js → work-pr-cmd-KP3RI7TV.js} +4 -4
- package/dist/{work-proofs-cmd-HRWTHYSS.js → work-proofs-cmd-TVU6QFZN.js} +5 -5
- package/dist/{work-proofs-record-6OKAT3IC.js → work-proofs-record-XANZE3K4.js} +10 -10
- package/dist/{work-stop-cmd-Y22XIVQ6.js → work-stop-cmd-5V3DV3HJ.js} +4 -4
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-KAVZAB3E.js';
|
|
4
|
+
import './chunk-XKJOIQ2Q.js';
|
|
5
5
|
import './chunk-KT4CN6OU.js';
|
|
6
6
|
import './chunk-4P6QGMPN.js';
|
|
7
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
7
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-6JZXIWX7.js';
|
|
8
8
|
import './chunk-IP7BIBXJ.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-7DXVL7TN.js';
|
|
10
|
+
import './chunk-35JMYSUD.js';
|
|
11
11
|
import './chunk-Y5YCX6AL.js';
|
|
12
12
|
import './chunk-G2JWZDFA.js';
|
|
13
13
|
import { C, warnDeprecated, API_KEY_FLAG_DEPRECATION, NO_COLOR_FLAG, stripNoColor } from './chunk-ANPNT6PM.js';
|
|
@@ -26,7 +26,7 @@ import './chunk-HCVLP7XA.js';
|
|
|
26
26
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
27
27
|
import './chunk-RCRE42V6.js';
|
|
28
28
|
import './chunk-ZQSANKS4.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-GSSVJNP2.js';
|
|
30
30
|
import './chunk-5BHIBJDA.js';
|
|
31
31
|
import './chunk-CDDED64E.js';
|
|
32
32
|
import { resolveVersion, resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -3799,8 +3799,8 @@ async function installMachineSkillsForSetup() {
|
|
|
3799
3799
|
` : "";
|
|
3800
3800
|
}
|
|
3801
3801
|
async function realConnectDepsForCwd() {
|
|
3802
|
-
const { realConnectDeps } = await import('./connect-cmd-
|
|
3803
|
-
const { resolveRepoIdentity } = await import('./dist-
|
|
3802
|
+
const { realConnectDeps } = await import('./connect-cmd-TOWE4P45.js');
|
|
3803
|
+
const { resolveRepoIdentity } = await import('./dist-IOPJIQWK.js');
|
|
3804
3804
|
return {
|
|
3805
3805
|
...realConnectDeps(),
|
|
3806
3806
|
home: homeFromEnv(),
|
|
@@ -3874,7 +3874,7 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
|
|
|
3874
3874
|
what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
|
|
3875
3875
|
).action(async (opts) => {
|
|
3876
3876
|
if (opts.update || opts.dryRun) {
|
|
3877
|
-
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3877
|
+
const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-RHS6HWLI.js');
|
|
3878
3878
|
const { fleetReadiness } = await import('./fleet-readiness-NJYTQYTA.js');
|
|
3879
3879
|
const problem = updateFlagProblem(opts);
|
|
3880
3880
|
if (problem !== void 0) {
|
|
@@ -3926,13 +3926,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3926
3926
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3927
3927
|
`);
|
|
3928
3928
|
}
|
|
3929
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3929
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-RXHHEAOT.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3930
3930
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3931
3931
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3932
3932
|
return;
|
|
3933
3933
|
}
|
|
3934
3934
|
await installMachineSkillsForSetup();
|
|
3935
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3935
|
+
const { runInitCommand } = await import('./init-cmd-RXHHEAOT.js');
|
|
3936
3936
|
const code = await runInitCommand(
|
|
3937
3937
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3938
3938
|
{
|
|
@@ -3953,7 +3953,7 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3953
3953
|
shellPath: process.env.SHELL,
|
|
3954
3954
|
interactive: Boolean(process.stdin.isTTY && process.stderr.isTTY) && opts.json !== true,
|
|
3955
3955
|
ask: async () => {
|
|
3956
|
-
const { promptOnTerminal } = await import('./connect-cmd-
|
|
3956
|
+
const { promptOnTerminal } = await import('./connect-cmd-TOWE4P45.js');
|
|
3957
3957
|
const answer = await promptOnTerminal({
|
|
3958
3958
|
message: `Should plain claude start Claude Code through ${cliInvocation()} claude? That is how a session in a governed repository gets its control plane. It adds one block to your zsh or bash startup file.`,
|
|
3959
3959
|
options: [
|
|
@@ -3992,7 +3992,7 @@ linked (true, false, or null when it could not be checked) and, when false,
|
|
|
3992
3992
|
linkUrl.
|
|
3993
3993
|
`
|
|
3994
3994
|
).action(async (opts) => {
|
|
3995
|
-
const { runConnectCommand } = await import('./connect-cmd-
|
|
3995
|
+
const { runConnectCommand } = await import('./connect-cmd-TOWE4P45.js');
|
|
3996
3996
|
const code = await runConnectCommand({ factory: opts.factory, json: opts.json }, await realConnectDepsForCwd(), {
|
|
3997
3997
|
stdout: process.stdout,
|
|
3998
3998
|
stderr: process.stderr
|
|
@@ -4070,7 +4070,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4070
4070
|
else fail(found.reason);
|
|
4071
4071
|
return;
|
|
4072
4072
|
}
|
|
4073
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4073
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-BG2M536W.js');
|
|
4074
4074
|
try {
|
|
4075
4075
|
const result = await runSync({
|
|
4076
4076
|
url: opts.url,
|
|
@@ -4101,7 +4101,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4101
4101
|
if (invokedCommandToken(argv) === "watch") {
|
|
4102
4102
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4103
4103
|
}
|
|
4104
|
-
const { runWatch } = await import('./watch-
|
|
4104
|
+
const { runWatch } = await import('./watch-7A63565I.js');
|
|
4105
4105
|
await runWatch({ once: opts.once });
|
|
4106
4106
|
});
|
|
4107
4107
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4191,7 +4191,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4191
4191
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4192
4192
|
});
|
|
4193
4193
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4194
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4194
|
+
const { runSessionSender } = await import('./session-sender-XDKMK4SF.js');
|
|
4195
4195
|
try {
|
|
4196
4196
|
await runSessionSender();
|
|
4197
4197
|
} catch (err) {
|
|
@@ -4287,7 +4287,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4287
4287
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4288
4288
|
return;
|
|
4289
4289
|
}
|
|
4290
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4290
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-AYXGCIPR.js');
|
|
4291
4291
|
try {
|
|
4292
4292
|
const result = await runEmitResult({
|
|
4293
4293
|
name,
|
|
@@ -4338,7 +4338,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4338
4338
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4339
4339
|
`
|
|
4340
4340
|
).action(async (file, opts) => {
|
|
4341
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4341
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-TUOLSGHB.js');
|
|
4342
4342
|
let pr;
|
|
4343
4343
|
if (opts.pr !== void 0) {
|
|
4344
4344
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4394,7 +4394,7 @@ its criterion, and the new record retires the old record. The id must be the ite
|
|
|
4394
4394
|
as \`work demo --item <n> --json\` prints it.
|
|
4395
4395
|
`
|
|
4396
4396
|
).action(async (manifest, opts) => {
|
|
4397
|
-
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-
|
|
4397
|
+
const { runEmitDemo, EmitDemoError } = await import('./emit-demo-cmd-YLEZB6FG.js');
|
|
4398
4398
|
let item;
|
|
4399
4399
|
if (opts.item !== void 0) {
|
|
4400
4400
|
item = parseTrackerNumber(opts.item);
|
|
@@ -4464,7 +4464,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4464
4464
|
item that session was launched for is used automatically.
|
|
4465
4465
|
`
|
|
4466
4466
|
).action(async (opts) => {
|
|
4467
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4467
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-BX3FWGSX.js');
|
|
4468
4468
|
try {
|
|
4469
4469
|
refuseRemovedFindingFlags(opts);
|
|
4470
4470
|
const result = await runEmitFinding({
|
|
@@ -4531,7 +4531,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4531
4531
|
that session was launched for is used automatically.
|
|
4532
4532
|
`
|
|
4533
4533
|
).action(async (file, opts) => {
|
|
4534
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4534
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-BX3FWGSX.js');
|
|
4535
4535
|
try {
|
|
4536
4536
|
const result = await runEmitFindings({
|
|
4537
4537
|
file,
|
|
@@ -4566,7 +4566,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4566
4566
|
the step, the command prints why and exits 1.
|
|
4567
4567
|
`
|
|
4568
4568
|
).action(async (name, opts) => {
|
|
4569
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4569
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-CU6GQ3WW.js');
|
|
4570
4570
|
try {
|
|
4571
4571
|
await runEmitStep({
|
|
4572
4572
|
name,
|
|
@@ -4609,7 +4609,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4609
4609
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4610
4610
|
`
|
|
4611
4611
|
).action(async (file, opts) => {
|
|
4612
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4612
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-VEUMA7MZ.js');
|
|
4613
4613
|
try {
|
|
4614
4614
|
const result = await runEmitCriteria({
|
|
4615
4615
|
file,
|
|
@@ -4633,9 +4633,9 @@ function registerSpecCommands(program2) {
|
|
|
4633
4633
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4634
4634
|
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)");
|
|
4635
4635
|
const run = async (action) => {
|
|
4636
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4636
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4637
4637
|
try {
|
|
4638
|
-
await action(await import('./spec-cmd-
|
|
4638
|
+
await action(await import('./spec-cmd-XQV7EIJW.js'));
|
|
4639
4639
|
} catch (err) {
|
|
4640
4640
|
if (err instanceof WorkCommandError) {
|
|
4641
4641
|
fail(err.message);
|
|
@@ -4670,7 +4670,7 @@ Prints each problem the item covers with its id, its reports and its result.
|
|
|
4670
4670
|
session was launched for is used.
|
|
4671
4671
|
`
|
|
4672
4672
|
).action(async (opts) => {
|
|
4673
|
-
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-
|
|
4673
|
+
const { runFindingsShow, FindingsCommandError } = await import('./findings-cmd-G4V4M3PO.js');
|
|
4674
4674
|
try {
|
|
4675
4675
|
const result = await runFindingsShow({
|
|
4676
4676
|
item: opts.item,
|
|
@@ -4698,7 +4698,7 @@ Give exactly one of --fixed and --not-fixed, and a --note. Run it again for the
|
|
|
4698
4698
|
problem to replace the earlier result. A problem the item does not cover is refused.
|
|
4699
4699
|
`
|
|
4700
4700
|
).action(async (problem, opts) => {
|
|
4701
|
-
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-
|
|
4701
|
+
const { runFindingsResult, FindingsCommandError } = await import('./findings-cmd-G4V4M3PO.js');
|
|
4702
4702
|
try {
|
|
4703
4703
|
const result = await runFindingsResult({
|
|
4704
4704
|
problem,
|
|
@@ -4739,7 +4739,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4739
4739
|
session links itself and holds the item's lease while it works.
|
|
4740
4740
|
`
|
|
4741
4741
|
).action(async (opts) => {
|
|
4742
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4742
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4743
4743
|
try {
|
|
4744
4744
|
await runWorkBuild(opts);
|
|
4745
4745
|
} catch (err) {
|
|
@@ -4762,7 +4762,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4762
4762
|
--ended is given, or another worker already holds a live one.
|
|
4763
4763
|
`
|
|
4764
4764
|
).action(async (number, opts) => {
|
|
4765
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4765
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4766
4766
|
try {
|
|
4767
4767
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4768
4768
|
} catch (err) {
|
|
@@ -4786,8 +4786,8 @@ criterion's new proof; --ready hands the thread back to a person. At
|
|
|
4786
4786
|
most one action flag may be given.
|
|
4787
4787
|
`
|
|
4788
4788
|
).action(async (opts) => {
|
|
4789
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4790
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4789
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-GC3WAFM7.js');
|
|
4790
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4791
4791
|
try {
|
|
4792
4792
|
await runWorkComment(opts);
|
|
4793
4793
|
} catch (err) {
|
|
@@ -4808,8 +4808,8 @@ criterion that carries proof or a comment, each with who is waiting
|
|
|
4808
4808
|
on whom next.
|
|
4809
4809
|
`
|
|
4810
4810
|
).action(async (opts) => {
|
|
4811
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4812
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4811
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-GC3WAFM7.js');
|
|
4812
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4813
4813
|
try {
|
|
4814
4814
|
await runWorkThreads(opts);
|
|
4815
4815
|
} catch (err) {
|
|
@@ -4833,8 +4833,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4833
4833
|
command exits 1.
|
|
4834
4834
|
`
|
|
4835
4835
|
).action(async (opts) => {
|
|
4836
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4837
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4836
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-7II6D2JJ.js');
|
|
4837
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4838
4838
|
try {
|
|
4839
4839
|
await runWorkLogs(opts);
|
|
4840
4840
|
} catch (err) {
|
|
@@ -4857,8 +4857,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4857
4857
|
build is running for the item.
|
|
4858
4858
|
`
|
|
4859
4859
|
).action(async (opts) => {
|
|
4860
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4861
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4860
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-5V3DV3HJ.js');
|
|
4861
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4862
4862
|
try {
|
|
4863
4863
|
await runWorkStop(opts);
|
|
4864
4864
|
} catch (err) {
|
|
@@ -4879,8 +4879,8 @@ Prints the item's newest live demo record: its artifact id, the commit it was re
|
|
|
4879
4879
|
test file that recorded it. With --json, prints { "demo": null } for an item with no demo.
|
|
4880
4880
|
`
|
|
4881
4881
|
).action(async (opts) => {
|
|
4882
|
-
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-
|
|
4883
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4882
|
+
const { runWorkDemo, WorkDemoCommandError } = await import('./work-demo-cmd-IOB5UDGQ.js');
|
|
4883
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4884
4884
|
try {
|
|
4885
4885
|
await runWorkDemo(opts);
|
|
4886
4886
|
} catch (err) {
|
|
@@ -4901,7 +4901,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4901
4901
|
live addition remains on it.
|
|
4902
4902
|
`
|
|
4903
4903
|
).action(async (opts) => {
|
|
4904
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4904
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4905
4905
|
try {
|
|
4906
4906
|
await runWorkRemove(opts);
|
|
4907
4907
|
} catch (err) {
|
|
@@ -4913,7 +4913,7 @@ live addition remains on it.
|
|
|
4913
4913
|
}
|
|
4914
4914
|
});
|
|
4915
4915
|
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) => {
|
|
4916
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4916
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4917
4917
|
try {
|
|
4918
4918
|
await runWorkStatus(opts);
|
|
4919
4919
|
} catch (err) {
|
|
@@ -4957,11 +4957,11 @@ differs from HEAD.
|
|
|
4957
4957
|
fail(trackerNumberError("--pr", opts.pr));
|
|
4958
4958
|
return;
|
|
4959
4959
|
}
|
|
4960
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
4960
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-TVU6QFZN.js');
|
|
4961
4961
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
4962
4962
|
});
|
|
4963
4963
|
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) => {
|
|
4964
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
4964
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
4965
4965
|
try {
|
|
4966
4966
|
await runWorkList(opts);
|
|
4967
4967
|
} catch (err) {
|
|
@@ -4982,7 +4982,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
4982
4982
|
it. --host is a label only.
|
|
4983
4983
|
`
|
|
4984
4984
|
).action(async (opts) => {
|
|
4985
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
4985
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-OVPMBIRR.js');
|
|
4986
4986
|
try {
|
|
4987
4987
|
await runWorkClaim(opts);
|
|
4988
4988
|
} catch (err) {
|
|
@@ -5002,7 +5002,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
5002
5002
|
lease has expired, or a 403 if a different key holds it.
|
|
5003
5003
|
`
|
|
5004
5004
|
).action(async (opts) => {
|
|
5005
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
5005
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-OVPMBIRR.js');
|
|
5006
5006
|
try {
|
|
5007
5007
|
await runWorkRenew(opts);
|
|
5008
5008
|
} catch (err) {
|
|
@@ -5034,7 +5034,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
5034
5034
|
takes the lease again.
|
|
5035
5035
|
`
|
|
5036
5036
|
).action(async (opts) => {
|
|
5037
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
5037
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-OVPMBIRR.js');
|
|
5038
5038
|
try {
|
|
5039
5039
|
await runWorkRelease(opts);
|
|
5040
5040
|
} catch (err) {
|
|
@@ -5061,7 +5061,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
5061
5061
|
needs your own login; an agent session or a factory key is refused.
|
|
5062
5062
|
`
|
|
5063
5063
|
).action(async (number, opts) => {
|
|
5064
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
5064
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-KP3RI7TV.js');
|
|
5065
5065
|
try {
|
|
5066
5066
|
await runWorkPr({ ...opts, number });
|
|
5067
5067
|
} catch (err) {
|
|
@@ -5086,8 +5086,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
5086
5086
|
Run it again after a change to the title or description.
|
|
5087
5087
|
`
|
|
5088
5088
|
).action(async (opts) => {
|
|
5089
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
5090
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
5089
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-FYKRKCDL.js');
|
|
5090
|
+
const { WorkCommandError } = await import('./work-cmd-KVFRK24I.js');
|
|
5091
5091
|
try {
|
|
5092
5092
|
await runWorkOpenPr(opts);
|
|
5093
5093
|
} catch (err) {
|
|
@@ -5103,8 +5103,8 @@ function registerRunnerCommands(program2) {
|
|
|
5103
5103
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
5104
5104
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5105
5105
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5106
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5107
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5106
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-W2XWNR4C.js');
|
|
5107
|
+
const { start, RunnerStartError } = await import('./loop-V3GED2WX.js');
|
|
5108
5108
|
const { RunnerAlreadyRunningError } = await import('./pidfile-EAD2OEM7.js');
|
|
5109
5109
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5110
5110
|
try {
|
|
@@ -5122,9 +5122,9 @@ function registerRunnerCommands(program2) {
|
|
|
5122
5122
|
"after",
|
|
5123
5123
|
"\nReads OUTERLAYER_URL, OUTERLAYER_APP_ID, OUTERLAYER_API_KEY, OUTERLAYER_RUNNER_NAME and one Claude credential\n(CLAUDE_CODE_OAUTH_TOKEN or ANTHROPIC_API_KEY) from the environment. OUTERLAYER_AGENT\nis optional and defaults to claude. On a later start it refuses variables that disagree with the config in the volume.\nThe image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use `runner start`.\n"
|
|
5124
5124
|
).action(async () => {
|
|
5125
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5126
|
-
const { containerStart } = await import('./container-start-
|
|
5127
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5125
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-W2XWNR4C.js');
|
|
5126
|
+
const { containerStart } = await import('./container-start-D2OEPMUO.js');
|
|
5127
|
+
const { start, RunnerStartError } = await import('./loop-V3GED2WX.js');
|
|
5128
5128
|
const { RunnerAlreadyRunningError } = await import('./pidfile-EAD2OEM7.js');
|
|
5129
5129
|
try {
|
|
5130
5130
|
const result = await containerStart({
|
|
@@ -5146,16 +5146,16 @@ function registerRunnerCommands(program2) {
|
|
|
5146
5146
|
"after",
|
|
5147
5147
|
"\nIn the runner image, run it with `docker exec <container> outerlayer runner update-steps`. It reads the\ncontainer with `docker inspect` and changes nothing. The steps rename the old container and never remove it\nbefore the new one runs. They name the container's variables and never print a value.\n"
|
|
5148
5148
|
).action(async (opts) => {
|
|
5149
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5149
|
+
const { defaultRunnerConfigPath } = await import('./config-W2XWNR4C.js');
|
|
5150
5150
|
const { runnerDir } = await import('./paths-T2DEBI62.js');
|
|
5151
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5151
|
+
const { runUpdateSteps } = await import('./update-steps-I5JLERXS.js');
|
|
5152
5152
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5153
5153
|
process.stdout.write(`${text}
|
|
5154
5154
|
`);
|
|
5155
5155
|
});
|
|
5156
5156
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5157
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5158
|
-
const { runRunnerCheck } = await import('./check-
|
|
5157
|
+
const { defaultRunnerConfigPath } = await import('./config-W2XWNR4C.js');
|
|
5158
|
+
const { runRunnerCheck } = await import('./check-4W4QUBMP.js');
|
|
5159
5159
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5160
5160
|
const result = await runRunnerCheck(configPath);
|
|
5161
5161
|
if (!result.ok) {
|
|
@@ -5176,7 +5176,7 @@ function registerRunnerCommands(program2) {
|
|
|
5176
5176
|
`);
|
|
5177
5177
|
});
|
|
5178
5178
|
runnerCmd.command("install").description("Put this CLI in the runner's install layout; --service adds its service").option("--config <path>", configOption).option("--service", "set up the service that keeps the runner running").option("--print", "with --service, print the unit and set up nothing").option("--user <account>", "with --service, the account the service runs as").option("--replace", "replace a unit or launcher file this command did not write").option("--allow-downgrade", "install this CLI even when it is older than the version the runner runs").option("--unit-name <name>", "with --service, the unit's name, to run a second runner beside the first").option("--build-memory-max <size>", "with --service, memory all builds may use together, such as 16g").option("--build-cpus-max <n>", "with --service, CPUs all builds may use together, such as 4").action(async (opts) => {
|
|
5179
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5179
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-W2XWNR4C.js');
|
|
5180
5180
|
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-5H6M2KJ7.js');
|
|
5181
5181
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5182
5182
|
if (opts.service !== true) {
|
|
@@ -5189,13 +5189,13 @@ function registerRunnerCommands(program2) {
|
|
|
5189
5189
|
}
|
|
5190
5190
|
}
|
|
5191
5191
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5192
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5192
|
+
if (buildCpusMax !== void 0 && !(await import('./command-CM22HPN5.js')).cpusAreValid(buildCpusMax)) {
|
|
5193
5193
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5194
5194
|
return;
|
|
5195
5195
|
}
|
|
5196
5196
|
try {
|
|
5197
5197
|
if (opts.service === true) {
|
|
5198
|
-
const { installServiceCommand } = await import('./command-
|
|
5198
|
+
const { installServiceCommand } = await import('./command-CM22HPN5.js');
|
|
5199
5199
|
const result2 = await installServiceCommand({
|
|
5200
5200
|
configPath,
|
|
5201
5201
|
print: opts.print,
|
|
@@ -5252,8 +5252,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5252
5252
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
5253
5253
|
return;
|
|
5254
5254
|
}
|
|
5255
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5256
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5255
|
+
const { defaultRunnerConfigPath } = await import('./config-W2XWNR4C.js');
|
|
5256
|
+
const { uninstallServiceCommand } = await import('./command-CM22HPN5.js');
|
|
5257
5257
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5258
5258
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5259
5259
|
`);
|
|
@@ -5280,12 +5280,12 @@ already in claude.env is used.
|
|
|
5280
5280
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
5281
5281
|
`
|
|
5282
5282
|
).action(async (opts) => {
|
|
5283
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5284
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5285
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5286
|
-
const { detectMachine } = await import('./machine-
|
|
5287
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5288
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
5283
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-W2XWNR4C.js');
|
|
5284
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-3NT4YX2X.js');
|
|
5285
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-ZUHMQCHZ.js');
|
|
5286
|
+
const { detectMachine } = await import('./machine-HLZLH327.js');
|
|
5287
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-FY3HP73H.js');
|
|
5288
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-V52JUOD5.js');
|
|
5289
5289
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5290
5290
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5291
5291
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5435,7 +5435,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5435
5435
|
let serviceUp = false;
|
|
5436
5436
|
let restart;
|
|
5437
5437
|
if (installedLayout) {
|
|
5438
|
-
const { installServiceCommand } = await import('./command-
|
|
5438
|
+
const { installServiceCommand } = await import('./command-CM22HPN5.js');
|
|
5439
5439
|
const service = await installServiceCommand({
|
|
5440
5440
|
configPath,
|
|
5441
5441
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5479,12 +5479,12 @@ Next:
|
|
|
5479
5479
|
"after",
|
|
5480
5480
|
"\nA repository governed by a control plane builds the control plane's image, at the commit\nthe gateway has stored for it. A repository that governs itself fetches the head of its\ndefault branch into the runner's cache. Either way it reads .devcontainer/devcontainer.json\nand builds the image with the devcontainer CLI. Settings\nthat reach the host or widen the container's privileges are ignored and listed. The\nimage holds this CLI and a pinned Claude Code. Nothing runs inside the image.\n"
|
|
5481
5481
|
).action(async (opts) => {
|
|
5482
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5483
|
-
const { buildRepositoryImage, RecipeError } = await import('./build-
|
|
5482
|
+
const { defaultRunnerConfigPath } = await import('./config-W2XWNR4C.js');
|
|
5483
|
+
const { buildRepositoryImage, RecipeError } = await import('./build-ZJK6CPNH.js');
|
|
5484
5484
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5485
|
-
const { createDockerHost } = await import('./docker-
|
|
5486
|
-
const { builderSpec } = await import('./builder-
|
|
5487
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5485
|
+
const { createDockerHost } = await import('./docker-GA63DVME.js');
|
|
5486
|
+
const { builderSpec } = await import('./builder-MHZKDI4H.js');
|
|
5487
|
+
const { loadRunnerConfig } = await import('./config-W2XWNR4C.js');
|
|
5488
5488
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5489
5489
|
const loaded = (() => {
|
|
5490
5490
|
try {
|
|
@@ -5495,11 +5495,11 @@ Next:
|
|
|
5495
5495
|
})();
|
|
5496
5496
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5497
5497
|
try {
|
|
5498
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5498
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-J4NCBSBU.js');
|
|
5499
5499
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5500
5500
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5501
5501
|
});
|
|
5502
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5502
|
+
const { imageTargetFor } = await import('./governing-source-JQV3ZKD7.js');
|
|
5503
5503
|
const target = await imageTargetFor({ config: loaded, repository: opts.repository, fetchImpl: fetch });
|
|
5504
5504
|
if (!target.ok) {
|
|
5505
5505
|
if (opts.json) {
|
|
@@ -5562,17 +5562,17 @@ Next:
|
|
|
5562
5562
|
}
|
|
5563
5563
|
});
|
|
5564
5564
|
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) => {
|
|
5565
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5566
|
-
const { requestStop } = await import('./loop-
|
|
5565
|
+
const { defaultRunnerConfigPath } = await import('./config-W2XWNR4C.js');
|
|
5566
|
+
const { requestStop } = await import('./loop-V3GED2WX.js');
|
|
5567
5567
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5568
5568
|
const { runnerImageVersion } = await import('./image-tag-SEMBVB5D.js');
|
|
5569
5569
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
5570
5570
|
});
|
|
5571
5571
|
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) => {
|
|
5572
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5572
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-W2XWNR4C.js');
|
|
5573
5573
|
const { jobsDir, runnerDir } = await import('./paths-T2DEBI62.js');
|
|
5574
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5575
|
-
const { renderStatus } = await import('./status-
|
|
5574
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-V3GED2WX.js');
|
|
5575
|
+
const { renderStatus } = await import('./status-ZJJEJ52D.js');
|
|
5576
5576
|
const { readHousekeepingRecord } = await import('./record-IMXQNHPB.js');
|
|
5577
5577
|
const path2 = await import('path');
|
|
5578
5578
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5593,7 +5593,7 @@ Next:
|
|
|
5593
5593
|
const processState = runnerProcessState(configPath);
|
|
5594
5594
|
const service = await (async () => {
|
|
5595
5595
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5596
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
5596
|
+
const { inspectRunnerService } = await import('./find-unit-GGBRYOSO.js');
|
|
5597
5597
|
const facts = inspectRunnerService(configPath);
|
|
5598
5598
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5599
5599
|
})();
|
|
@@ -5630,8 +5630,8 @@ Next:
|
|
|
5630
5630
|
);
|
|
5631
5631
|
});
|
|
5632
5632
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory").description("Print the newest attempt's log for one item").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) => {
|
|
5633
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5634
|
-
const { listJobFiles } = await import('./loop-
|
|
5633
|
+
const { defaultRunnerConfigPath } = await import('./config-W2XWNR4C.js');
|
|
5634
|
+
const { listJobFiles } = await import('./loop-V3GED2WX.js');
|
|
5635
5635
|
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-6CMB3DO6.js');
|
|
5636
5636
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5637
5637
|
const item = parseTrackerNumber(itemArg);
|
|
@@ -5884,7 +5884,7 @@ would get, the instruction files and the names of the skills. It warns when the
|
|
|
5884
5884
|
no \`build\`. It needs the context-read permission: a login or a factory key with it is enough.
|
|
5885
5885
|
`
|
|
5886
5886
|
).action(async (opts) => {
|
|
5887
|
-
const { runContextShow, ContextShowError } = await import('./context-show-cmd-
|
|
5887
|
+
const { runContextShow, ContextShowError } = await import('./context-show-cmd-5UJUWBJL.js');
|
|
5888
5888
|
try {
|
|
5889
5889
|
const result = await runContextShow({ repo: opts.repo, json: opts.json, url: opts.url, apiKey: opts.apiKey, appId: opts.appId });
|
|
5890
5890
|
process.stdout.write(result.output);
|
|
@@ -3,29 +3,29 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-GC5PVMIJ.js';
|
|
4
4
|
import './chunk-OS7DJOQJ.js';
|
|
5
5
|
import { currentLink, execStartCommand } from './chunk-UMYYYF7B.js';
|
|
6
|
-
import { detectMachine, helperSocketPath, ensureFirecrackerAndJailer } from './chunk-
|
|
6
|
+
import { detectMachine, helperSocketPath, ensureFirecrackerAndJailer } from './chunk-7P3H4RY2.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-VVOSUGEF.js';
|
|
9
9
|
import './chunk-OGFGZQA3.js';
|
|
10
10
|
import './chunk-2ILU7UAU.js';
|
|
11
11
|
import './chunk-OGPEHSNW.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-PP6OX4OT.js';
|
|
13
13
|
import './chunk-SYVRBBLW.js';
|
|
14
14
|
import './chunk-TQMI335S.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler, UNIT_MARKER } from './chunk-
|
|
17
|
-
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-
|
|
18
|
-
import './chunk-
|
|
19
|
-
import { parseSize, readJobFile } from './chunk-
|
|
15
|
+
import './chunk-7JE2WFNK.js';
|
|
16
|
+
import { unitNameProblem, DEFAULT_UNIT_NAME, checkFit, installService, uninstallService, realTaskScheduler, UNIT_MARKER } from './chunk-EMH2LNIE.js';
|
|
17
|
+
import { runnerVmOf, loadRunnerConfig, builtinKind } from './chunk-3EHDZTRT.js';
|
|
18
|
+
import './chunk-UONH72CJ.js';
|
|
19
|
+
import { parseSize, readJobFile } from './chunk-M3ME6TLQ.js';
|
|
20
20
|
import { HOST_HELPER_ASSETS_VERSION, builderDiskPinned, hostHelperSupportsSlice, HOST_HELPER_SLICE_SINCE, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, FIRECRACKER_BINARY_SHA256, JAILER_BINARY_SHA256, HOST_HELPER_SHA256, HOST_HELPER_BASE_URL, hostHelperPinned } from './chunk-4UPET3R7.js';
|
|
21
21
|
import { realLima } from './chunk-77MM5RYD.js';
|
|
22
22
|
import { writeLaunchAgent, launchAgentPath } from './chunk-LF6MLJCY.js';
|
|
23
23
|
import './chunk-YNMVVQOQ.js';
|
|
24
24
|
import './chunk-JBJTC3UU.js';
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-6JZXIWX7.js';
|
|
26
26
|
import './chunk-IP7BIBXJ.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
27
|
+
import './chunk-7DXVL7TN.js';
|
|
28
|
+
import './chunk-35JMYSUD.js';
|
|
29
29
|
import './chunk-Y5YCX6AL.js';
|
|
30
30
|
import './chunk-G2JWZDFA.js';
|
|
31
31
|
import './chunk-ANPNT6PM.js';
|
|
@@ -41,7 +41,7 @@ import './chunk-FGF52V4V.js';
|
|
|
41
41
|
import './chunk-HCVLP7XA.js';
|
|
42
42
|
import './chunk-BJ3KTMDH.js';
|
|
43
43
|
import './chunk-ZQSANKS4.js';
|
|
44
|
-
import './chunk-
|
|
44
|
+
import './chunk-GSSVJNP2.js';
|
|
45
45
|
import './chunk-5BHIBJDA.js';
|
|
46
46
|
import './chunk-CDDED64E.js';
|
|
47
47
|
import './chunk-RA3O54FC.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, RunnerConfigError, builtinKind, checkHooks, defaultRunnerConfigPath, hasRunnerBlock, imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, keepsHostBuilder, loadRunnerConfig, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, RunnerConfigError, builtinKind, checkHooks, defaultRunnerConfigPath, hasRunnerBlock, imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, keepsHostBuilder, loadRunnerConfig, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-3EHDZTRT.js';
|
|
4
|
+
import './chunk-UONH72CJ.js';
|
|
5
|
+
import './chunk-M3ME6TLQ.js';
|
|
6
6
|
import './chunk-4UPET3R7.js';
|
|
7
7
|
import './chunk-MOI2KDLH.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-GSSVJNP2.js';
|
|
9
9
|
import './chunk-EOTMDIYC.js';
|
|
10
10
|
import './chunk-VNVZDWO3.js';
|
|
11
11
|
import './chunk-PXGU3GKY.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { AGENTS_LAYOUT_COMMIT_LINE, COMMIT_LINE, autoConnectedLine, commitCommandsFor, commitLineFor, listText as factoryListText, slug as factorySlug, fetchFactories, hasUncommittedPolicy, promptOnTerminal, realConnectDeps, runConnect, runConnectCommand, saveFactoryConnection, selectFactory } from './chunk-
|
|
3
|
+
export { AGENTS_LAYOUT_COMMIT_LINE, COMMIT_LINE, autoConnectedLine, commitCommandsFor, commitLineFor, listText as factoryListText, slug as factorySlug, fetchFactories, hasUncommittedPolicy, promptOnTerminal, realConnectDeps, runConnect, runConnectCommand, saveFactoryConnection, selectFactory } from './chunk-35JMYSUD.js';
|
|
4
4
|
import './chunk-Y5YCX6AL.js';
|
|
5
5
|
import './chunk-G2JWZDFA.js';
|
|
6
6
|
import './chunk-ANPNT6PM.js';
|
|
@@ -11,7 +11,7 @@ import './chunk-PJDQPF5N.js';
|
|
|
11
11
|
import './chunk-MOI2KDLH.js';
|
|
12
12
|
import './chunk-BJ3KTMDH.js';
|
|
13
13
|
import './chunk-ZQSANKS4.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-GSSVJNP2.js';
|
|
15
15
|
import './chunk-5BHIBJDA.js';
|
|
16
16
|
import './chunk-CDDED64E.js';
|
|
17
17
|
import './chunk-RA3O54FC.js';
|