@outerlayer/cli 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/{agent-setup-XAJH6MPW.js → agent-setup-LTSLXPS3.js} +6 -6
- package/dist/{build-GTMEADQD.js → build-6WRNZPVR.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-OAUSTZHL.js → builder-G3MLDMTI.js} +4 -4
- package/dist/{check-3YHMJQ3P.js → check-UYKEMQNR.js} +29 -29
- package/dist/{chunk-4NM3I3VV.js → chunk-276D7BJ7.js} +1 -1
- package/dist/{chunk-BLW6GPBZ.js → chunk-2Q3PZ42G.js} +1 -1
- package/dist/{chunk-IRBNIRQJ.js → chunk-3AZYLAJC.js} +4 -4
- package/dist/{chunk-G6DZCKA6.js → chunk-3V5C64Y5.js} +1 -1
- package/dist/{chunk-7V7KG3YM.js → chunk-4AVDD7VX.js} +2 -2
- package/dist/{chunk-G2WME4RG.js → chunk-56X5TOJY.js} +1 -1
- package/dist/{chunk-VX74ND77.js → chunk-5NJIWKD4.js} +8 -8
- package/dist/{chunk-KOQELWQ6.js → chunk-6YBLN4TR.js} +2 -2
- package/dist/{chunk-22DYXLU7.js → chunk-7FEY33MY.js} +17 -17
- package/dist/{chunk-2HT2XGJX.js → chunk-BET347JZ.js} +3 -3
- package/dist/{chunk-ATRIVTRE.js → chunk-BOMRFYTZ.js} +2 -2
- package/dist/{chunk-KPBQYEND.js → chunk-CQAEV3Z5.js} +1 -1
- package/dist/{chunk-C3OVGKVJ.js → chunk-CUFFDEF3.js} +5 -5
- package/dist/{chunk-LOB2SUM3.js → chunk-EFB3FGLC.js} +1 -1
- package/dist/{chunk-WMHYIBJW.js → chunk-ENTHEUKT.js} +6 -6
- package/dist/{chunk-FGW2774C.js → chunk-FOCML5FI.js} +14 -14
- package/dist/{chunk-EXV37PKS.js → chunk-FRNYCJ4W.js} +1 -1
- package/dist/{chunk-KIGSGZBB.js → chunk-IHNQWF6F.js} +1 -1
- package/dist/{chunk-C3HKR67W.js → chunk-JV4YGAAW.js} +3 -3
- package/dist/{chunk-UD3EXMKB.js → chunk-JZGFDTNC.js} +2 -2
- package/dist/{chunk-PHHBYAL6.js → chunk-NYTZ7HVN.js} +1 -1
- package/dist/{chunk-JVB63NIB.js → chunk-O6RJ3QMU.js} +1 -1
- package/dist/{chunk-I66MQDXH.js → chunk-OBCFK4QD.js} +2 -2
- package/dist/{chunk-4JHVPFH6.js → chunk-ORNJJ7XN.js} +6 -6
- package/dist/{chunk-KDHYLBRR.js → chunk-OW52QLK3.js} +1 -1
- package/dist/{chunk-6IO62VJS.js → chunk-QC72I5GQ.js} +1 -1
- package/dist/{chunk-VWLOQ6FI.js → chunk-QF7WZUU6.js} +1 -1
- package/dist/{chunk-2J5JGLW5.js → chunk-UF5L4BAI.js} +1 -1
- package/dist/{chunk-34XORKFD.js → chunk-URAKVDSI.js} +4 -4
- package/dist/{chunk-V7MQKOZY.js → chunk-URWYRAIC.js} +1 -1
- package/dist/{chunk-2CMJLYV6.js → chunk-V5CG75NX.js} +1 -1
- package/dist/{chunk-ZFLOGMUC.js → chunk-XACXXKQ5.js} +1 -1
- package/dist/{chunk-WERZMIKA.js → chunk-XR56WEA5.js} +3 -3
- package/dist/{chunk-4QKLMNI3.js → chunk-ZPSLJFGL.js} +5 -5
- package/dist/{claude-launcher-4BQNXYAF.js → claude-launcher-TBWV3YL3.js} +1 -1
- package/dist/{cli-NMGVZQPB.js → cli-U253V422.js} +83 -83
- package/dist/{command-GE62AJZY.js → command-IQTPFSXY.js} +19 -19
- package/dist/{config-7Q52COZ3.js → config-H4QS332G.js} +2 -2
- package/dist/{control-plane-launch-SZTE4TUS.js → control-plane-launch-OWSNH6YA.js} +5 -5
- package/dist/{docker-2OVBKVRK.js → docker-JU422JL7.js} +4 -4
- package/dist/{doctor-3SQGZVYP.js → doctor-FZTS57ZO.js} +21 -21
- package/dist/{emit-artifact-cmd-R42BE6ID.js → emit-artifact-cmd-YLZ5WLSF.js} +7 -7
- package/dist/{emit-criteria-cmd-MQZE7W4Y.js → emit-criteria-cmd-MF6TVE7C.js} +4 -4
- package/dist/{emit-finding-cmd-ZS5JEGGM.js → emit-finding-cmd-S3YMFTZT.js} +4 -4
- package/dist/{emit-result-cmd-FUE3DXBW.js → emit-result-cmd-JHEUFTPX.js} +7 -7
- package/dist/{emit-step-cmd-T7PRA44X.js → emit-step-cmd-TUI2T3DS.js} +5 -5
- package/dist/{exec-client-YIDTWXMZ.js → exec-client-ATPF2DDB.js} +3 -3
- package/dist/{governing-source-TORXL4I4.js → governing-source-XSEIRSBE.js} +7 -7
- package/dist/{guest-init-TO6HAWIT.js → guest-init-DF7V5D2R.js} +3 -3
- package/dist/{hook-fast-WFB2ZMRB.js → hook-fast-O3UUN6SO.js} +1 -1
- package/dist/{host-key-2LXQDSBO.js → host-key-ATB23GI3.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-2CRAVIUU.js → init-VZE72CR4.js} +18 -18
- package/dist/{init-AHDZCMDC.js → init-ZZZPYGUH.js} +18 -18
- package/dist/{init-cmd-IXDL2ZSL.js → init-cmd-W5VV62ZN.js} +7 -7
- package/dist/{init-update-YB3PODDH.js → init-update-YFPIQS5G.js} +6 -6
- package/dist/{install-CZUIW2AF.js → install-SFACZU7E.js} +4 -4
- package/dist/{install-cmd-Q7RJGFUO.js → install-cmd-6HTP7I43.js} +5 -5
- package/dist/{logs-RJPYTVQE.js → logs-N3ZX7HFV.js} +2 -2
- package/dist/{loop-ZDW6TRAA.js → loop-6WENRS5S.js} +29 -29
- package/dist/{machine-JCOHLASP.js → machine-M4MQBV5A.js} +14 -14
- package/dist/{mcp-serve-cmd-IULQPVHL.js → mcp-serve-cmd-SBW7HYKD.js} +4 -4
- package/dist/{paths-N3LU4O2Z.js → paths-AKX2OOLF.js} +2 -2
- package/dist/{pending-GRCV3ZR4.js → pending-7SGWZCEH.js} +3 -3
- package/dist/{pidfile-IF3TCL5A.js → pidfile-G2J5WBQS.js} +3 -3
- package/dist/{record-73PQE77B.js → record-Q4IEYIVV.js} +3 -3
- package/dist/{runner-env-LDOBJESN.js → runner-env-GZHXM27A.js} +5 -5
- package/dist/{runner-identity-RWCBTY2A.js → runner-identity-FTHZFMGY.js} +4 -4
- package/dist/{runner-key-HMYLP6WN.js → runner-key-QT7GKGEE.js} +18 -18
- package/dist/{session-sender-2G25JYHI.js → session-sender-BK6TGNVO.js} +8 -8
- package/dist/{spec-cmd-LBVXM6XS.js → spec-cmd-ZNJ3GXWC.js} +5 -5
- package/dist/{status-QZB2GWXJ.js → status-JOO7MGIC.js} +20 -20
- package/dist/{sync-cmd-TQQIR4PN.js → sync-cmd-W2FPY3T5.js} +7 -7
- package/dist/{watch-4JES4PCS.js → watch-WLH5ZUZU.js} +7 -7
- package/dist/{work-claim-cmd-XG6O7B63.js → work-claim-cmd-4PLDTEZR.js} +8 -8
- package/dist/{work-cmd-L6WMPAA2.js → work-cmd-KWHAYUYB.js} +5 -5
- package/dist/{work-comment-cmd-SNTDCPGH.js → work-comment-cmd-4CUI7ZDE.js} +5 -5
- package/dist/{work-logs-cmd-3S7IAVII.js → work-logs-cmd-AF253WLM.js} +5 -5
- package/dist/{work-open-pr-cmd-E3WMO5XT.js → work-open-pr-cmd-JETE6HRL.js} +6 -6
- package/dist/{work-pr-cmd-22T6FG4T.js → work-pr-cmd-V5G4CPMG.js} +5 -5
- package/dist/{work-stop-cmd-WR7ESS4Z.js → work-stop-cmd-FIEKUDGE.js} +5 -5
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +17 -6
|
@@ -1,17 +1,17 @@
|
|
|
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-ORNJJ7XN.js';
|
|
4
4
|
import './chunk-VSUXCMMH.js';
|
|
5
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
5
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-BET347JZ.js';
|
|
6
6
|
import './chunk-QOALB6ZD.js';
|
|
7
7
|
import './chunk-JRCSET55.js';
|
|
8
8
|
import './chunk-G3IJ3N6F.js';
|
|
9
9
|
import './chunk-EAQSOE62.js';
|
|
10
10
|
import './chunk-F35VMF5M.js';
|
|
11
11
|
import './chunk-USWVXQIH.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-QF7WZUU6.js';
|
|
13
13
|
import './chunk-NTRCK4NH.js';
|
|
14
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
14
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-QC72I5GQ.js';
|
|
15
15
|
import './chunk-ZJSNLVCE.js';
|
|
16
16
|
import './chunk-IZSVXRDR.js';
|
|
17
17
|
import './chunk-BKO6JEZI.js';
|
|
@@ -33,9 +33,9 @@ import './chunk-WFSUUUAN.js';
|
|
|
33
33
|
import './chunk-7VUK5RFS.js';
|
|
34
34
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
35
35
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
36
|
-
import './chunk-
|
|
37
|
-
import './chunk-
|
|
38
|
-
import './chunk-
|
|
36
|
+
import './chunk-OW52QLK3.js';
|
|
37
|
+
import './chunk-IHNQWF6F.js';
|
|
38
|
+
import './chunk-URWYRAIC.js';
|
|
39
39
|
import './chunk-GISNHSYL.js';
|
|
40
40
|
import './chunk-Z5GEFMRW.js';
|
|
41
41
|
import { EventEmitter } from 'events';
|
|
@@ -3845,7 +3845,7 @@ states under Starter files.
|
|
|
3845
3845
|
`
|
|
3846
3846
|
).action(async (opts) => {
|
|
3847
3847
|
if (opts.update || opts.dryRun) {
|
|
3848
|
-
const { runInitUpdate, formatInitUpdate, updateFlagProblem } = await import('./init-update-
|
|
3848
|
+
const { runInitUpdate, formatInitUpdate, updateFlagProblem } = await import('./init-update-YFPIQS5G.js');
|
|
3849
3849
|
const problem = updateFlagProblem(opts);
|
|
3850
3850
|
if (problem !== void 0) {
|
|
3851
3851
|
fail(problem);
|
|
@@ -3892,12 +3892,12 @@ states under Starter files.
|
|
|
3892
3892
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3893
3893
|
`);
|
|
3894
3894
|
}
|
|
3895
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3895
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-W5VV62ZN.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3896
3896
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3897
3897
|
else process.stdout.write(outcome.text + (shell?.text ?? ""));
|
|
3898
3898
|
return;
|
|
3899
3899
|
}
|
|
3900
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3900
|
+
const { runInitCommand } = await import('./init-cmd-W5VV62ZN.js');
|
|
3901
3901
|
const code = await runInitCommand(
|
|
3902
3902
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3903
3903
|
{
|
|
@@ -3909,7 +3909,7 @@ states under Starter files.
|
|
|
3909
3909
|
return { ok, text, detail };
|
|
3910
3910
|
},
|
|
3911
3911
|
runAgentSetup: async () => {
|
|
3912
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3912
|
+
const { runAgentSetup } = await import('./agent-setup-LTSLXPS3.js');
|
|
3913
3913
|
return runAgentSetup({ cwd: process.cwd() });
|
|
3914
3914
|
},
|
|
3915
3915
|
runDoctorChecks: gatherDoctorChecks,
|
|
@@ -4035,7 +4035,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4035
4035
|
else fail(found.reason);
|
|
4036
4036
|
return;
|
|
4037
4037
|
}
|
|
4038
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4038
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-W2FPY3T5.js');
|
|
4039
4039
|
try {
|
|
4040
4040
|
const result = await runSync({
|
|
4041
4041
|
url: opts.url,
|
|
@@ -4066,7 +4066,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4066
4066
|
if (invokedCommandToken(argv) === "watch") {
|
|
4067
4067
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4068
4068
|
}
|
|
4069
|
-
const { runWatch } = await import('./watch-
|
|
4069
|
+
const { runWatch } = await import('./watch-WLH5ZUZU.js');
|
|
4070
4070
|
await runWatch({ once: opts.once });
|
|
4071
4071
|
});
|
|
4072
4072
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4127,7 +4127,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4127
4127
|
}
|
|
4128
4128
|
});
|
|
4129
4129
|
program2.command("vm-exec", { hidden: true }).description("run a command in a microVM build's guest through its exec agent").requiredOption("--socket <path>", "the Unix socket Firecracker serves the build's vsock device on").option("--user <user>", "the user to run as", "").option("--cwd <dir>", "the working directory", "/").option("--env <NAME=value>", "an environment value the command line carries; repeatable", (value, previous) => [...previous, value], []).option("--pass <NAME>", "an environment variable whose value is read from this process; repeatable", (value, previous) => [...previous, value], []).argument("<argv...>", "the command and its arguments").action(async (argv2, opts) => {
|
|
4130
|
-
const { runVmExec } = await import('./exec-client-
|
|
4130
|
+
const { runVmExec } = await import('./exec-client-ATPF2DDB.js');
|
|
4131
4131
|
const env = {};
|
|
4132
4132
|
for (const entry of opts.env) {
|
|
4133
4133
|
const eq = entry.indexOf("=");
|
|
@@ -4156,7 +4156,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4156
4156
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4157
4157
|
});
|
|
4158
4158
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4159
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4159
|
+
const { runSessionSender } = await import('./session-sender-BK6TGNVO.js');
|
|
4160
4160
|
try {
|
|
4161
4161
|
await runSessionSender();
|
|
4162
4162
|
} catch (err) {
|
|
@@ -4164,7 +4164,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4164
4164
|
}
|
|
4165
4165
|
});
|
|
4166
4166
|
program2.command("vm-init", { hidden: true }).description("lay out a microVM build's guest; the guest helper runs it").action(async () => {
|
|
4167
|
-
const { realGuestHost, runGuestInit } = await import('./guest-init-
|
|
4167
|
+
const { realGuestHost, runGuestInit } = await import('./guest-init-DF7V5D2R.js');
|
|
4168
4168
|
const { readFileSync: readFileSync3 } = await import('fs');
|
|
4169
4169
|
try {
|
|
4170
4170
|
runGuestInit(realGuestHost(), readFileSync3("/proc/cmdline", "utf8"));
|
|
@@ -4239,7 +4239,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4239
4239
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4240
4240
|
return;
|
|
4241
4241
|
}
|
|
4242
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4242
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-JHEUFTPX.js');
|
|
4243
4243
|
try {
|
|
4244
4244
|
const result = await runEmitResult({
|
|
4245
4245
|
name,
|
|
@@ -4289,7 +4289,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4289
4289
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4290
4290
|
`
|
|
4291
4291
|
).action(async (file, opts) => {
|
|
4292
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4292
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-YLZ5WLSF.js');
|
|
4293
4293
|
let pr;
|
|
4294
4294
|
if (opts.pr !== void 0) {
|
|
4295
4295
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4348,7 +4348,7 @@ recent events with their ids. --find <text> searches all of them.
|
|
|
4348
4348
|
item that session was launched for is used automatically.
|
|
4349
4349
|
`
|
|
4350
4350
|
).action(async (opts) => {
|
|
4351
|
-
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4351
|
+
const { runEmitFinding, refuseRemovedFindingFlags, EmitFindingError } = await import('./emit-finding-cmd-S3YMFTZT.js');
|
|
4352
4352
|
try {
|
|
4353
4353
|
refuseRemovedFindingFlags(opts);
|
|
4354
4354
|
const result = await runEmitFinding({
|
|
@@ -4415,7 +4415,7 @@ the whole batch. "untimed": true records one with no time on purpose.
|
|
|
4415
4415
|
that session was launched for is used automatically.
|
|
4416
4416
|
`
|
|
4417
4417
|
).action(async (file, opts) => {
|
|
4418
|
-
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-
|
|
4418
|
+
const { runEmitFindings, EmitFindingError } = await import('./emit-finding-cmd-S3YMFTZT.js');
|
|
4419
4419
|
try {
|
|
4420
4420
|
const result = await runEmitFindings({
|
|
4421
4421
|
file,
|
|
@@ -4450,7 +4450,7 @@ command, the command exits 0, and \`sync\` sends it later. If the gateway refuse
|
|
|
4450
4450
|
the step, the command prints why and exits 1.
|
|
4451
4451
|
`
|
|
4452
4452
|
).action(async (name, opts) => {
|
|
4453
|
-
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-
|
|
4453
|
+
const { runEmitStep, EmitStepError } = await import('./emit-step-cmd-TUI2T3DS.js');
|
|
4454
4454
|
try {
|
|
4455
4455
|
await runEmitStep({
|
|
4456
4456
|
name,
|
|
@@ -4493,7 +4493,7 @@ of the item, and a (proof: <kind>) annotation names its proof.
|
|
|
4493
4493
|
${cliInvocation()} emit criteria acceptance/412-login.md --item 412
|
|
4494
4494
|
`
|
|
4495
4495
|
).action(async (file, opts) => {
|
|
4496
|
-
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-
|
|
4496
|
+
const { runEmitCriteria, EmitCriteriaError } = await import('./emit-criteria-cmd-MF6TVE7C.js');
|
|
4497
4497
|
try {
|
|
4498
4498
|
const result = await runEmitCriteria({
|
|
4499
4499
|
file,
|
|
@@ -4517,9 +4517,9 @@ function registerSpecCommands(program2) {
|
|
|
4517
4517
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4518
4518
|
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)");
|
|
4519
4519
|
const run = async (action) => {
|
|
4520
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4520
|
+
const { WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4521
4521
|
try {
|
|
4522
|
-
await action(await import('./spec-cmd-
|
|
4522
|
+
await action(await import('./spec-cmd-ZNJ3GXWC.js'));
|
|
4523
4523
|
} catch (err) {
|
|
4524
4524
|
if (err instanceof WorkCommandError) {
|
|
4525
4525
|
fail(err.message);
|
|
@@ -4561,7 +4561,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4561
4561
|
session links itself and holds the item's lease while it works.
|
|
4562
4562
|
`
|
|
4563
4563
|
).action(async (opts) => {
|
|
4564
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4564
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4565
4565
|
try {
|
|
4566
4566
|
await runWorkBuild(opts);
|
|
4567
4567
|
} catch (err) {
|
|
@@ -4584,7 +4584,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4584
4584
|
--ended is given, or another worker already holds a live one.
|
|
4585
4585
|
`
|
|
4586
4586
|
).action(async (number, opts) => {
|
|
4587
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4587
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4588
4588
|
try {
|
|
4589
4589
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4590
4590
|
} catch (err) {
|
|
@@ -4608,8 +4608,8 @@ criterion's new proof; --ready hands the thread back to a person. At
|
|
|
4608
4608
|
most one action flag may be given.
|
|
4609
4609
|
`
|
|
4610
4610
|
).action(async (opts) => {
|
|
4611
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4612
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4611
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-4CUI7ZDE.js');
|
|
4612
|
+
const { WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4613
4613
|
try {
|
|
4614
4614
|
await runWorkComment(opts);
|
|
4615
4615
|
} catch (err) {
|
|
@@ -4630,8 +4630,8 @@ criterion that carries proof or a comment, each with who is waiting
|
|
|
4630
4630
|
on whom next.
|
|
4631
4631
|
`
|
|
4632
4632
|
).action(async (opts) => {
|
|
4633
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4634
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4633
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-4CUI7ZDE.js');
|
|
4634
|
+
const { WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4635
4635
|
try {
|
|
4636
4636
|
await runWorkThreads(opts);
|
|
4637
4637
|
} catch (err) {
|
|
@@ -4655,8 +4655,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4655
4655
|
command exits 1.
|
|
4656
4656
|
`
|
|
4657
4657
|
).action(async (opts) => {
|
|
4658
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4659
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4658
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-AF253WLM.js');
|
|
4659
|
+
const { WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4660
4660
|
try {
|
|
4661
4661
|
await runWorkLogs(opts);
|
|
4662
4662
|
} catch (err) {
|
|
@@ -4679,8 +4679,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4679
4679
|
build is running for the item.
|
|
4680
4680
|
`
|
|
4681
4681
|
).action(async (opts) => {
|
|
4682
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4683
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4682
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-FIEKUDGE.js');
|
|
4683
|
+
const { WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4684
4684
|
try {
|
|
4685
4685
|
await runWorkStop(opts);
|
|
4686
4686
|
} catch (err) {
|
|
@@ -4701,7 +4701,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4701
4701
|
live addition remains on it.
|
|
4702
4702
|
`
|
|
4703
4703
|
).action(async (opts) => {
|
|
4704
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4704
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4705
4705
|
try {
|
|
4706
4706
|
await runWorkRemove(opts);
|
|
4707
4707
|
} catch (err) {
|
|
@@ -4713,7 +4713,7 @@ live addition remains on it.
|
|
|
4713
4713
|
}
|
|
4714
4714
|
});
|
|
4715
4715
|
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) => {
|
|
4716
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4716
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4717
4717
|
try {
|
|
4718
4718
|
await runWorkStatus(opts);
|
|
4719
4719
|
} catch (err) {
|
|
@@ -4725,7 +4725,7 @@ live addition remains on it.
|
|
|
4725
4725
|
}
|
|
4726
4726
|
});
|
|
4727
4727
|
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) => {
|
|
4728
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
4728
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4729
4729
|
try {
|
|
4730
4730
|
await runWorkList(opts);
|
|
4731
4731
|
} catch (err) {
|
|
@@ -4746,7 +4746,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
4746
4746
|
it. --host is a label only.
|
|
4747
4747
|
`
|
|
4748
4748
|
).action(async (opts) => {
|
|
4749
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
4749
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-4PLDTEZR.js');
|
|
4750
4750
|
try {
|
|
4751
4751
|
await runWorkClaim(opts);
|
|
4752
4752
|
} catch (err) {
|
|
@@ -4766,7 +4766,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
4766
4766
|
lease has expired, or a 403 if a different key holds it.
|
|
4767
4767
|
`
|
|
4768
4768
|
).action(async (opts) => {
|
|
4769
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
4769
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-4PLDTEZR.js');
|
|
4770
4770
|
try {
|
|
4771
4771
|
await runWorkRenew(opts);
|
|
4772
4772
|
} catch (err) {
|
|
@@ -4798,7 +4798,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
4798
4798
|
takes the lease again.
|
|
4799
4799
|
`
|
|
4800
4800
|
).action(async (opts) => {
|
|
4801
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
4801
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-4PLDTEZR.js');
|
|
4802
4802
|
try {
|
|
4803
4803
|
await runWorkRelease(opts);
|
|
4804
4804
|
} catch (err) {
|
|
@@ -4825,7 +4825,7 @@ Idempotent: declaring the same pull request twice is a no-op.
|
|
|
4825
4825
|
needs your own login; an agent session or a factory key is refused.
|
|
4826
4826
|
`
|
|
4827
4827
|
).action(async (number, opts) => {
|
|
4828
|
-
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-
|
|
4828
|
+
const { runWorkPr, WorkPrCommandError } = await import('./work-pr-cmd-V5G4CPMG.js');
|
|
4829
4829
|
try {
|
|
4830
4830
|
await runWorkPr({ ...opts, number });
|
|
4831
4831
|
} catch (err) {
|
|
@@ -4850,8 +4850,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
4850
4850
|
Run it again after a change to the title or description.
|
|
4851
4851
|
`
|
|
4852
4852
|
).action(async (opts) => {
|
|
4853
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
4854
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4853
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-JETE6HRL.js');
|
|
4854
|
+
const { WorkCommandError } = await import('./work-cmd-KWHAYUYB.js');
|
|
4855
4855
|
try {
|
|
4856
4856
|
await runWorkOpenPr(opts);
|
|
4857
4857
|
} catch (err) {
|
|
@@ -4867,9 +4867,9 @@ function registerRunnerCommands(program2) {
|
|
|
4867
4867
|
const runnerCmd = program2.command("runner").description("Take work from the implement and amend queues on this machine");
|
|
4868
4868
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
4869
4869
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
4870
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
4871
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
4872
|
-
const { RunnerAlreadyRunningError } = await import('./pidfile-
|
|
4870
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-H4QS332G.js');
|
|
4871
|
+
const { start, RunnerStartError } = await import('./loop-6WENRS5S.js');
|
|
4872
|
+
const { RunnerAlreadyRunningError } = await import('./pidfile-G2J5WBQS.js');
|
|
4873
4873
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4874
4874
|
try {
|
|
4875
4875
|
const { realUpdateDeps } = await import('./real-deps-KNNBQC75.js');
|
|
@@ -4883,8 +4883,8 @@ function registerRunnerCommands(program2) {
|
|
|
4883
4883
|
}
|
|
4884
4884
|
});
|
|
4885
4885
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
4886
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
4887
|
-
const { runRunnerCheck } = await import('./check-
|
|
4886
|
+
const { defaultRunnerConfigPath } = await import('./config-H4QS332G.js');
|
|
4887
|
+
const { runRunnerCheck } = await import('./check-UYKEMQNR.js');
|
|
4888
4888
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4889
4889
|
const result = await runRunnerCheck(configPath);
|
|
4890
4890
|
if (!result.ok) {
|
|
@@ -4900,8 +4900,8 @@ function registerRunnerCommands(program2) {
|
|
|
4900
4900
|
`);
|
|
4901
4901
|
});
|
|
4902
4902
|
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").action(async (opts) => {
|
|
4903
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
4904
|
-
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-
|
|
4903
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-H4QS332G.js');
|
|
4904
|
+
const { runRunnerInstall, RunnerInstallError, launcherSummary, restartNote } = await import('./install-cmd-6HTP7I43.js');
|
|
4905
4905
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4906
4906
|
if (opts.service !== true) {
|
|
4907
4907
|
for (const flag of ["print", "user", "unitName"]) {
|
|
@@ -4913,7 +4913,7 @@ function registerRunnerCommands(program2) {
|
|
|
4913
4913
|
}
|
|
4914
4914
|
try {
|
|
4915
4915
|
if (opts.service === true) {
|
|
4916
|
-
const { installServiceCommand } = await import('./command-
|
|
4916
|
+
const { installServiceCommand } = await import('./command-IQTPFSXY.js');
|
|
4917
4917
|
const result2 = await installServiceCommand({
|
|
4918
4918
|
configPath,
|
|
4919
4919
|
print: opts.print,
|
|
@@ -4968,8 +4968,8 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
4968
4968
|
fail(`pass --service: \`${cliInvocation()} runner uninstall --service\` removes the runner's service.`);
|
|
4969
4969
|
return;
|
|
4970
4970
|
}
|
|
4971
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
4972
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
4971
|
+
const { defaultRunnerConfigPath } = await import('./config-H4QS332G.js');
|
|
4972
|
+
const { uninstallServiceCommand } = await import('./command-IQTPFSXY.js');
|
|
4973
4973
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
4974
4974
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
4975
4975
|
`);
|
|
@@ -4996,12 +4996,12 @@ already in runner.env is used.
|
|
|
4996
4996
|
printf '%s' "$CLAUDE_CODE_OAUTH_TOKEN" | ${cliInvocation()} runner init --agent claude --factory <org>/<factory>
|
|
4997
4997
|
`
|
|
4998
4998
|
).action(async (opts) => {
|
|
4999
|
-
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-
|
|
5000
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5001
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5002
|
-
const { detectMachine } = await import('./machine-
|
|
5003
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5004
|
-
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-
|
|
4999
|
+
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-H4QS332G.js');
|
|
5000
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-VZE72CR4.js');
|
|
5001
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-QT7GKGEE.js');
|
|
5002
|
+
const { detectMachine } = await import('./machine-M4MQBV5A.js');
|
|
5003
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-ZZZPYGUH.js');
|
|
5004
|
+
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-GZHXM27A.js');
|
|
5005
5005
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5006
5006
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
5007
5007
|
fail(`--agent ${opts.agent}: runner init writes commands for ${Object.keys(AGENT_COMMANDS).join(", ")}. For another agent, leave --agent out and edit runner.commands.`);
|
|
@@ -5032,7 +5032,7 @@ already in runner.env is used.
|
|
|
5032
5032
|
const chunks = [];
|
|
5033
5033
|
for await (const chunk of process.stdin) chunks.push(Buffer.from(chunk));
|
|
5034
5034
|
const result2 = runRunnerInit(configPath, { machine, configFromStdin: Buffer.concat(chunks).toString("utf8"), requireContainer: true });
|
|
5035
|
-
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-
|
|
5035
|
+
const { ensureHostKey: ensureHostKey2 } = await import('./host-key-ATB23GI3.js');
|
|
5036
5036
|
const hostKey2 = await ensureHostKey2(configPath);
|
|
5037
5037
|
process.stdout.write(`host key ${hostKey2.fingerprint}
|
|
5038
5038
|
hooks: ${result2.hooks}
|
|
@@ -5091,7 +5091,7 @@ hooks: ${result2.hooks}
|
|
|
5091
5091
|
const prepared = prepareRunnerInit(configPath, { machine, allowProcess, agent, credential, keyFromLogin: makeKey !== void 0 });
|
|
5092
5092
|
const created = makeKey === void 0 ? void 0 : await makeKey();
|
|
5093
5093
|
const result = writeRunnerInit(prepared, created);
|
|
5094
|
-
const { ensureHostKey } = await import('./host-key-
|
|
5094
|
+
const { ensureHostKey } = await import('./host-key-ATB23GI3.js');
|
|
5095
5095
|
const hostKey = await ensureHostKey(configPath);
|
|
5096
5096
|
if (created !== void 0) {
|
|
5097
5097
|
process.stdout.write(`${C.green}\u2713${C.reset} saved the runner key in ${result.configPath}
|
|
@@ -5119,7 +5119,7 @@ ${C.yellow}${result.note}${C.reset}
|
|
|
5119
5119
|
To isolate builds in containers instead, run ${C.yellow}${cliInvocation()} runner init --vm${C.reset}.
|
|
5120
5120
|
`);
|
|
5121
5121
|
}
|
|
5122
|
-
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-
|
|
5122
|
+
const { runRunnerInstall, RunnerInstallError, RunnerDowngradeError, launcherSummary } = await import('./install-cmd-6HTP7I43.js');
|
|
5123
5123
|
let installedLayout = false;
|
|
5124
5124
|
let noService = "it starts the runner from the install layout, which needs a CLI installed with npm";
|
|
5125
5125
|
try {
|
|
@@ -5151,7 +5151,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5151
5151
|
let serviceUp = false;
|
|
5152
5152
|
let restart;
|
|
5153
5153
|
if (installedLayout) {
|
|
5154
|
-
const { installServiceCommand } = await import('./command-
|
|
5154
|
+
const { installServiceCommand } = await import('./command-IQTPFSXY.js');
|
|
5155
5155
|
const service = await installServiceCommand({
|
|
5156
5156
|
configPath,
|
|
5157
5157
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5195,12 +5195,12 @@ Next:
|
|
|
5195
5195
|
"after",
|
|
5196
5196
|
"\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"
|
|
5197
5197
|
).action(async (opts) => {
|
|
5198
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5199
|
-
const { buildRepositoryImage, RecipeError } = await import('./build-
|
|
5198
|
+
const { defaultRunnerConfigPath } = await import('./config-H4QS332G.js');
|
|
5199
|
+
const { buildRepositoryImage, RecipeError } = await import('./build-6WRNZPVR.js');
|
|
5200
5200
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5201
|
-
const { createDockerHost } = await import('./docker-
|
|
5202
|
-
const { builderSpec } = await import('./builder-
|
|
5203
|
-
const { loadRunnerConfig } = await import('./config-
|
|
5201
|
+
const { createDockerHost } = await import('./docker-JU422JL7.js');
|
|
5202
|
+
const { builderSpec } = await import('./builder-G3MLDMTI.js');
|
|
5203
|
+
const { loadRunnerConfig } = await import('./config-H4QS332G.js');
|
|
5204
5204
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5205
5205
|
const loaded = (() => {
|
|
5206
5206
|
try {
|
|
@@ -5211,11 +5211,11 @@ Next:
|
|
|
5211
5211
|
})();
|
|
5212
5212
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5213
5213
|
try {
|
|
5214
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5214
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-FTHZFMGY.js');
|
|
5215
5215
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5216
5216
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5217
5217
|
});
|
|
5218
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5218
|
+
const { imageTargetFor } = await import('./governing-source-XSEIRSBE.js');
|
|
5219
5219
|
const target = await imageTargetFor({ config: loaded, repository: opts.repository, fetchImpl: fetch });
|
|
5220
5220
|
if (!target.ok) {
|
|
5221
5221
|
if (opts.json) {
|
|
@@ -5278,22 +5278,22 @@ Next:
|
|
|
5278
5278
|
}
|
|
5279
5279
|
});
|
|
5280
5280
|
runnerCmd.command("stop").description("Take no more work; wait for running jobs to finish, 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) => {
|
|
5281
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5282
|
-
const { requestStop } = await import('./loop-
|
|
5281
|
+
const { defaultRunnerConfigPath } = await import('./config-H4QS332G.js');
|
|
5282
|
+
const { requestStop } = await import('./loop-6WENRS5S.js');
|
|
5283
5283
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5284
5284
|
await requestStop(configPath, Boolean(opts.now));
|
|
5285
5285
|
});
|
|
5286
5286
|
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) => {
|
|
5287
|
-
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-
|
|
5288
|
-
const { jobsDir, runnerDir } = await import('./paths-
|
|
5289
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5290
|
-
const { renderStatus } = await import('./status-
|
|
5291
|
-
const { readHousekeepingRecord } = await import('./record-
|
|
5287
|
+
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-H4QS332G.js');
|
|
5288
|
+
const { jobsDir, runnerDir } = await import('./paths-AKX2OOLF.js');
|
|
5289
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-6WENRS5S.js');
|
|
5290
|
+
const { renderStatus } = await import('./status-JOO7MGIC.js');
|
|
5291
|
+
const { readHousekeepingRecord } = await import('./record-Q4IEYIVV.js');
|
|
5292
5292
|
const path2 = await import('path');
|
|
5293
5293
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5294
5294
|
const all = listJobFiles(configPath);
|
|
5295
5295
|
const housekeeping = readHousekeepingRecord(runnerDir(configPath));
|
|
5296
|
-
const { readPendingUpdate } = await import('./pending-
|
|
5296
|
+
const { readPendingUpdate } = await import('./pending-7SGWZCEH.js');
|
|
5297
5297
|
const pendingUpdate = readPendingUpdate(runnerDir(configPath));
|
|
5298
5298
|
let host = "unknown";
|
|
5299
5299
|
let concurrency = 1;
|
|
@@ -5307,7 +5307,7 @@ Next:
|
|
|
5307
5307
|
const service = await (async () => {
|
|
5308
5308
|
if (process.platform !== "linux" || !existsSync("/run/systemd/system")) return void 0;
|
|
5309
5309
|
const { inspectService, realInspectProbes } = await import('./inspect-6UYAAXH7.js');
|
|
5310
|
-
const { DEFAULT_UNIT_NAME } = await import('./install-
|
|
5310
|
+
const { DEFAULT_UNIT_NAME } = await import('./install-SFACZU7E.js');
|
|
5311
5311
|
const facts = inspectService(DEFAULT_UNIT_NAME, path2.dirname(configPath), realInspectProbes());
|
|
5312
5312
|
return facts === void 0 ? void 0 : { unit: facts.unit, running: facts.mainPid !== void 0, delegated: facts.delegate };
|
|
5313
5313
|
})();
|
|
@@ -5342,9 +5342,9 @@ Next:
|
|
|
5342
5342
|
);
|
|
5343
5343
|
});
|
|
5344
5344
|
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) => {
|
|
5345
|
-
const { defaultRunnerConfigPath } = await import('./config-
|
|
5346
|
-
const { listJobFiles } = await import('./loop-
|
|
5347
|
-
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-
|
|
5345
|
+
const { defaultRunnerConfigPath } = await import('./config-H4QS332G.js');
|
|
5346
|
+
const { listJobFiles } = await import('./loop-6WENRS5S.js');
|
|
5347
|
+
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-N3ZX7HFV.js');
|
|
5348
5348
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5349
5349
|
const item = parseTrackerNumber(itemArg);
|
|
5350
5350
|
if (item === void 0) {
|
|
@@ -5592,7 +5592,7 @@ caller from the bearer token, the gateway answers 401 without that header.
|
|
|
5592
5592
|
"after",
|
|
5593
5593
|
"\nWhat the stdio .mcp.json entry spawns. Reads newline-delimited JSON-RPC 2.0 on\nstdin and writes responses on stdout. The API key comes from OUTERLAYER_API_KEY\nor ~/.outerlayer/config.json at start-up; with neither the command exits 1 and\nprints why, which the MCP client shows as the connect error.\n"
|
|
5594
5594
|
).action(async (opts) => {
|
|
5595
|
-
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-
|
|
5595
|
+
const { runMcpServe, handleMcpServeError } = await import('./mcp-serve-cmd-SBW7HYKD.js');
|
|
5596
5596
|
try {
|
|
5597
5597
|
await runMcpServe({ url: opts.url, appId: opts.appId });
|
|
5598
5598
|
} catch (err) {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runRunnerInstall, launcherSummary, restartNote } from './chunk-
|
|
3
|
+
import { runRunnerInstall, launcherSummary, restartNote } from './chunk-JV4YGAAW.js';
|
|
4
4
|
import './chunk-I2UOAV7X.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import { currentLink, execStartCommand } from './chunk-
|
|
7
|
-
import { installService, uninstallService, realTaskScheduler } from './chunk-
|
|
8
|
-
import { detectMachine } from './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
5
|
+
import './chunk-EFB3FGLC.js';
|
|
6
|
+
import { currentLink, execStartCommand } from './chunk-276D7BJ7.js';
|
|
7
|
+
import { installService, uninstallService, realTaskScheduler } from './chunk-OBCFK4QD.js';
|
|
8
|
+
import { detectMachine } from './chunk-FRNYCJ4W.js';
|
|
9
|
+
import './chunk-5NJIWKD4.js';
|
|
10
|
+
import './chunk-3AZYLAJC.js';
|
|
11
11
|
import './chunk-OGFGZQA3.js';
|
|
12
|
-
import { readJobFile } from './chunk-
|
|
12
|
+
import { readJobFile } from './chunk-XR56WEA5.js';
|
|
13
13
|
import './chunk-3W333NFO.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
14
|
+
import './chunk-NYTZ7HVN.js';
|
|
15
|
+
import './chunk-2Q3PZ42G.js';
|
|
16
|
+
import './chunk-CUFFDEF3.js';
|
|
17
|
+
import './chunk-BET347JZ.js';
|
|
18
18
|
import './chunk-QOALB6ZD.js';
|
|
19
19
|
import './chunk-JRCSET55.js';
|
|
20
20
|
import './chunk-G3IJ3N6F.js';
|
|
21
21
|
import './chunk-EAQSOE62.js';
|
|
22
22
|
import './chunk-F35VMF5M.js';
|
|
23
|
-
import { runnerVmOf, loadRunnerConfig } from './chunk-
|
|
23
|
+
import { runnerVmOf, loadRunnerConfig } from './chunk-V5CG75NX.js';
|
|
24
24
|
import './chunk-UXYLWVTQ.js';
|
|
25
25
|
import './chunk-7RQ73DLO.js';
|
|
26
26
|
import { realLima } from './chunk-77MM5RYD.js';
|
|
27
27
|
import { writeLaunchAgent, launchAgentPath } from './chunk-LF6MLJCY.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-XACXXKQ5.js';
|
|
29
29
|
import './chunk-JBJTC3UU.js';
|
|
30
|
-
import './chunk-
|
|
30
|
+
import './chunk-6YBLN4TR.js';
|
|
31
31
|
import './chunk-USWVXQIH.js';
|
|
32
|
-
import './chunk-
|
|
32
|
+
import './chunk-QF7WZUU6.js';
|
|
33
33
|
import './chunk-NTRCK4NH.js';
|
|
34
34
|
import './chunk-ZJSNLVCE.js';
|
|
35
35
|
import './chunk-ZNPE7FW5.js';
|
|
@@ -46,9 +46,9 @@ import './chunk-WFSUUUAN.js';
|
|
|
46
46
|
import './chunk-7VUK5RFS.js';
|
|
47
47
|
import './chunk-VNVZDWO3.js';
|
|
48
48
|
import './chunk-RA3O54FC.js';
|
|
49
|
-
import './chunk-
|
|
50
|
-
import './chunk-
|
|
51
|
-
import './chunk-
|
|
49
|
+
import './chunk-OW52QLK3.js';
|
|
50
|
+
import './chunk-IHNQWF6F.js';
|
|
51
|
+
import './chunk-URWYRAIC.js';
|
|
52
52
|
import './chunk-GISNHSYL.js';
|
|
53
53
|
import './chunk-Z5GEFMRW.js';
|
|
54
54
|
import { userInfo, totalmem } from 'os';
|
|
@@ -1,10 +1,10 @@
|
|
|
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, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, loadRunnerConfig, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-
|
|
3
|
+
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, RunnerConfigError, builtinKind, checkHooks, defaultRunnerConfigPath, hasRunnerBlock, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, loadRunnerConfig, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-V5CG75NX.js';
|
|
4
4
|
import './chunk-UXYLWVTQ.js';
|
|
5
5
|
import './chunk-7RQ73DLO.js';
|
|
6
6
|
import './chunk-VNVZDWO3.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-URWYRAIC.js';
|
|
8
8
|
import './chunk-GISNHSYL.js';
|
|
9
9
|
import './chunk-Z5GEFMRW.js';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOwnerRepo, lookupGoverningSource, defaultGitRunner, materializeContext } from './chunk-
|
|
3
|
+
import { parseOwnerRepo, lookupGoverningSource, defaultGitRunner, materializeContext } from './chunk-6YBLN4TR.js';
|
|
4
4
|
import './chunk-USWVXQIH.js';
|
|
5
|
-
import { defaultFetch } from './chunk-
|
|
5
|
+
import { defaultFetch } from './chunk-QF7WZUU6.js';
|
|
6
6
|
import { resolveGatewayCredentials } from './chunk-NTRCK4NH.js';
|
|
7
7
|
import './chunk-ZJSNLVCE.js';
|
|
8
8
|
import { layoutRefusalMessage, unsupportedLayout, sharedSkillNames, skillConflictMessage, composeDelivery } from './chunk-ZNPE7FW5.js';
|
|
@@ -18,9 +18,9 @@ import './chunk-WFSUUUAN.js';
|
|
|
18
18
|
import './chunk-7VUK5RFS.js';
|
|
19
19
|
import './chunk-VNVZDWO3.js';
|
|
20
20
|
import './chunk-RA3O54FC.js';
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
21
|
+
import './chunk-OW52QLK3.js';
|
|
22
|
+
import './chunk-IHNQWF6F.js';
|
|
23
|
+
import './chunk-URWYRAIC.js';
|
|
24
24
|
import './chunk-GISNHSYL.js';
|
|
25
25
|
import './chunk-Z5GEFMRW.js';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { childEnvironment, createDockerHost, spawnRun } from './chunk-
|
|
3
|
+
export { childEnvironment, createDockerHost, spawnRun } from './chunk-XR56WEA5.js';
|
|
4
4
|
import './chunk-3W333NFO.js';
|
|
5
5
|
import './chunk-7RQ73DLO.js';
|
|
6
6
|
import './chunk-AEKSX4EY.js';
|
|
7
7
|
import './chunk-7VUK5RFS.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-OW52QLK3.js';
|
|
9
|
+
import './chunk-IHNQWF6F.js';
|
|
10
|
+
import './chunk-URWYRAIC.js';
|
|
11
11
|
import './chunk-GISNHSYL.js';
|
|
12
12
|
import './chunk-Z5GEFMRW.js';
|
|
13
13
|
|