@outerlayer/cli 0.26.2 → 0.26.3
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/{build-AW4A2QPK.js → build-EBQYXL7Y.js} +2 -2
- package/dist/build-info.json +1 -1
- package/dist/{builder-TDCBQ2RD.js → builder-WEGLC2F2.js} +2 -2
- package/dist/{check-KL3LDAI3.js → check-WJJ325EQ.js} +14 -14
- package/dist/{chunk-U2FSJBNI.js → chunk-2AKDF6C2.js} +1 -1
- package/dist/{chunk-RO3BRAO6.js → chunk-364XDGOK.js} +2 -2
- package/dist/{chunk-DJILFADE.js → chunk-7LVF4E5V.js} +1 -1
- package/dist/{chunk-2EAVBJMO.js → chunk-FO7F6QSV.js} +39 -2
- package/dist/{chunk-DXHISLCI.js → chunk-J7BXZLSO.js} +1 -1
- package/dist/{chunk-WA7R6U2F.js → chunk-K7FCZCLQ.js} +3 -3
- package/dist/{chunk-OL2O5PEI.js → chunk-SKZG7SAN.js} +8 -8
- package/dist/{chunk-FI66JNLT.js → chunk-TSW4DGV2.js} +2 -2
- package/dist/{chunk-GMPXOQTH.js → chunk-UKCNOAO6.js} +1 -1
- package/dist/{chunk-GUT4IU7K.js → chunk-VHVFU6QU.js} +5 -5
- package/dist/{chunk-PCY7IGSL.js → chunk-W7LGHNXT.js} +2 -2
- package/dist/{chunk-V5LUWRCV.js → chunk-XDHYZWEK.js} +2 -2
- package/dist/{chunk-6OYAW5SF.js → chunk-XF77SNB4.js} +8 -8
- package/dist/{chunk-KZLLLARE.js → chunk-ZLEXMZFW.js} +1 -1
- package/dist/{chunk-TODY3MTS.js → chunk-ZPXI7LMG.js} +3 -3
- package/dist/{cli-UH2YQA5M.js → cli-2UUJM3AE.js} +50 -50
- package/dist/{command-ZECJJNLY.js → command-GQBHC53U.js} +7 -7
- package/dist/{container-start-GFH5LLSG.js → container-start-AUJHF2BC.js} +8 -8
- package/dist/{docker-Q7QJMX7I.js → docker-NYAIIX2F.js} +2 -2
- package/dist/{doctor-3LCCPBX6.js → doctor-NV2PUERZ.js} +9 -9
- package/dist/{emit-artifact-cmd-AIBDDJGW.js → emit-artifact-cmd-XXTCHP6V.js} +2 -2
- package/dist/{emit-result-cmd-LQN6AGGP.js → emit-result-cmd-HRTXGZLK.js} +2 -2
- package/dist/{governing-source-5OU235UP.js → governing-source-PTJ6EAA3.js} +2 -2
- package/dist/hook-fast-SDFXJEAW.js +12 -0
- package/dist/index.js +3 -3
- package/dist/{init-ARB2JUPA.js → init-KIGYMLDM.js} +8 -8
- package/dist/{init-C2RROWQU.js → init-UZWRJMPZ.js} +8 -8
- package/dist/{init-cmd-SLXPX44L.js → init-cmd-SQKWPACS.js} +3 -3
- package/dist/{loop-QQV4PYNX.js → loop-OE32U2IZ.js} +14 -14
- package/dist/{machine-OVXDPPFK.js → machine-L7INJ4JN.js} +7 -7
- package/dist/{runner-identity-QQU6BUUO.js → runner-identity-YYENYKDH.js} +2 -2
- package/dist/{runner-key-WIEESRA5.js → runner-key-AZVXBQIB.js} +8 -8
- package/dist/{session-sender-DFB2N3DO.js → session-sender-VH2EKAT5.js} +3 -3
- package/dist/{spec-cmd-FBA4BJPZ.js → spec-cmd-BOUPLX7X.js} +1 -1
- package/dist/{status-V2DWSLL3.js → status-3WC2IGVI.js} +10 -10
- package/dist/{sync-cmd-KU567KX6.js → sync-cmd-GT2WTQRA.js} +2 -2
- package/dist/{watch-LBPCO6GR.js → watch-JED7SYAA.js} +2 -2
- package/dist/{work-claim-cmd-IT7R7G3E.js → work-claim-cmd-MY4N74HA.js} +3 -3
- package/dist/{work-cmd-SJB6N6FZ.js → work-cmd-UQ45HDM4.js} +1 -1
- package/dist/{work-comment-cmd-FGUQM2F3.js → work-comment-cmd-I7NNSNDP.js} +1 -1
- package/dist/{work-logs-cmd-74GRYFTW.js → work-logs-cmd-YIQJVENH.js} +1 -1
- package/dist/{work-open-pr-cmd-CX7A2BE5.js → work-open-pr-cmd-VP5NNTCW.js} +1 -1
- package/dist/{work-stop-cmd-W6EKY5Y3.js → work-stop-cmd-GN2WX73C.js} +1 -1
- package/package.json +1 -1
- package/dist/hook-fast-LZSHEKUA.js +0 -12
|
@@ -1,9 +1,9 @@
|
|
|
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-K7FCZCLQ.js';
|
|
4
4
|
import './chunk-XFGL53GU.js';
|
|
5
5
|
import './chunk-VJBFQP3H.js';
|
|
6
|
-
import { verifiedTrackerNames, TRACKERS } from './chunk-
|
|
6
|
+
import { verifiedTrackerNames, TRACKERS } from './chunk-UKCNOAO6.js';
|
|
7
7
|
import './chunk-HXFRJKMU.js';
|
|
8
8
|
import './chunk-TEVO3RUV.js';
|
|
9
9
|
import './chunk-BUP5N3X6.js';
|
|
@@ -11,7 +11,7 @@ import './chunk-XSPA5ODY.js';
|
|
|
11
11
|
import './chunk-GOSFARMS.js';
|
|
12
12
|
import './chunk-MQ743JX3.js';
|
|
13
13
|
import './chunk-QRZLUUNN.js';
|
|
14
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
14
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-FO7F6QSV.js';
|
|
15
15
|
import './chunk-ZJSNLVCE.js';
|
|
16
16
|
import './chunk-I7RZHMXW.js';
|
|
17
17
|
import './chunk-BKO6JEZI.js';
|
|
@@ -3900,12 +3900,12 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3900
3900
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3901
3901
|
`);
|
|
3902
3902
|
}
|
|
3903
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3903
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-SQKWPACS.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3904
3904
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3905
3905
|
else process.stdout.write(outcome.text + (shell?.text ?? ""));
|
|
3906
3906
|
return;
|
|
3907
3907
|
}
|
|
3908
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3908
|
+
const { runInitCommand } = await import('./init-cmd-SQKWPACS.js');
|
|
3909
3909
|
const code = await runInitCommand(
|
|
3910
3910
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3911
3911
|
{
|
|
@@ -4043,7 +4043,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4043
4043
|
else fail(found.reason);
|
|
4044
4044
|
return;
|
|
4045
4045
|
}
|
|
4046
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
4046
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-GT2WTQRA.js');
|
|
4047
4047
|
try {
|
|
4048
4048
|
const result = await runSync({
|
|
4049
4049
|
url: opts.url,
|
|
@@ -4074,7 +4074,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4074
4074
|
if (invokedCommandToken(argv) === "watch") {
|
|
4075
4075
|
warnDeprecated(`\`${cliInvocation()} watch\` is now \`${cliInvocation()} daemon\`; the old name will be removed in a future release.`);
|
|
4076
4076
|
}
|
|
4077
|
-
const { runWatch } = await import('./watch-
|
|
4077
|
+
const { runWatch } = await import('./watch-JED7SYAA.js');
|
|
4078
4078
|
await runWatch({ once: opts.once });
|
|
4079
4079
|
});
|
|
4080
4080
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4164,7 +4164,7 @@ code is 1: revoke the token on /profile/security.
|
|
|
4164
4164
|
process.exitCode = await runBuildCommand({ dir: opts.dir, argv: command });
|
|
4165
4165
|
});
|
|
4166
4166
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4167
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4167
|
+
const { runSessionSender } = await import('./session-sender-VH2EKAT5.js');
|
|
4168
4168
|
try {
|
|
4169
4169
|
await runSessionSender();
|
|
4170
4170
|
} catch (err) {
|
|
@@ -4254,7 +4254,7 @@ Compiling .outerlayer/ moved to \`${cliInvocation()} context emit\`.
|
|
|
4254
4254
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
4255
4255
|
return;
|
|
4256
4256
|
}
|
|
4257
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4257
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-HRTXGZLK.js');
|
|
4258
4258
|
try {
|
|
4259
4259
|
const result = await runEmitResult({
|
|
4260
4260
|
name,
|
|
@@ -4304,7 +4304,7 @@ everywhere, bytes and deep link untouched; a still-queued one is cancelled
|
|
|
4304
4304
|
locally so it never uploads. One correction can retire several duplicates.
|
|
4305
4305
|
`
|
|
4306
4306
|
).action(async (file, opts) => {
|
|
4307
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4307
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-XXTCHP6V.js');
|
|
4308
4308
|
let pr;
|
|
4309
4309
|
if (opts.pr !== void 0) {
|
|
4310
4310
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4532,9 +4532,9 @@ function registerSpecCommands(program2) {
|
|
|
4532
4532
|
const specCmd = program2.command("spec").description("Find, file and edit the issue a spec lives in, in your factory's tracker");
|
|
4533
4533
|
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)");
|
|
4534
4534
|
const run = async (action) => {
|
|
4535
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4535
|
+
const { WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4536
4536
|
try {
|
|
4537
|
-
await action(await import('./spec-cmd-
|
|
4537
|
+
await action(await import('./spec-cmd-BOUPLX7X.js'));
|
|
4538
4538
|
} catch (err) {
|
|
4539
4539
|
if (err instanceof WorkCommandError) {
|
|
4540
4540
|
fail(err.message);
|
|
@@ -4576,7 +4576,7 @@ takes it, and prints the line that starts your session on it. That
|
|
|
4576
4576
|
session links itself and holds the item's lease while it works.
|
|
4577
4577
|
`
|
|
4578
4578
|
).action(async (opts) => {
|
|
4579
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4579
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4580
4580
|
try {
|
|
4581
4581
|
await runWorkBuild(opts);
|
|
4582
4582
|
} catch (err) {
|
|
@@ -4599,7 +4599,7 @@ renews that session's own 20-minute lease, unless --no-lease or
|
|
|
4599
4599
|
--ended is given, or another worker already holds a live one.
|
|
4600
4600
|
`
|
|
4601
4601
|
).action(async (number, opts) => {
|
|
4602
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4602
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4603
4603
|
try {
|
|
4604
4604
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4605
4605
|
} catch (err) {
|
|
@@ -4623,8 +4623,8 @@ criterion's new proof; --ready hands the thread back to a person. At
|
|
|
4623
4623
|
most one action flag may be given.
|
|
4624
4624
|
`
|
|
4625
4625
|
).action(async (opts) => {
|
|
4626
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4627
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4626
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-I7NNSNDP.js');
|
|
4627
|
+
const { WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4628
4628
|
try {
|
|
4629
4629
|
await runWorkComment(opts);
|
|
4630
4630
|
} catch (err) {
|
|
@@ -4645,8 +4645,8 @@ criterion that carries proof or a comment, each with who is waiting
|
|
|
4645
4645
|
on whom next.
|
|
4646
4646
|
`
|
|
4647
4647
|
).action(async (opts) => {
|
|
4648
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4649
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4648
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-I7NNSNDP.js');
|
|
4649
|
+
const { WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4650
4650
|
try {
|
|
4651
4651
|
await runWorkThreads(opts);
|
|
4652
4652
|
} catch (err) {
|
|
@@ -4670,8 +4670,8 @@ still running, or that an older runner released, has no log and the
|
|
|
4670
4670
|
command exits 1.
|
|
4671
4671
|
`
|
|
4672
4672
|
).action(async (opts) => {
|
|
4673
|
-
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-
|
|
4674
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4673
|
+
const { runWorkLogs, WorkLogsCommandError } = await import('./work-logs-cmd-YIQJVENH.js');
|
|
4674
|
+
const { WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4675
4675
|
try {
|
|
4676
4676
|
await runWorkLogs(opts);
|
|
4677
4677
|
} catch (err) {
|
|
@@ -4694,8 +4694,8 @@ item is not built again until a new build request. Exits 1 when no host
|
|
|
4694
4694
|
build is running for the item.
|
|
4695
4695
|
`
|
|
4696
4696
|
).action(async (opts) => {
|
|
4697
|
-
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-
|
|
4698
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4697
|
+
const { runWorkStop, WorkStopCommandError } = await import('./work-stop-cmd-GN2WX73C.js');
|
|
4698
|
+
const { WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4699
4699
|
try {
|
|
4700
4700
|
await runWorkStop(opts);
|
|
4701
4701
|
} catch (err) {
|
|
@@ -4716,7 +4716,7 @@ deletes anything \u2014 the item is removed from Work only once no
|
|
|
4716
4716
|
live addition remains on it.
|
|
4717
4717
|
`
|
|
4718
4718
|
).action(async (opts) => {
|
|
4719
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4719
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4720
4720
|
try {
|
|
4721
4721
|
await runWorkRemove(opts);
|
|
4722
4722
|
} catch (err) {
|
|
@@ -4728,7 +4728,7 @@ live addition remains on it.
|
|
|
4728
4728
|
}
|
|
4729
4729
|
});
|
|
4730
4730
|
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) => {
|
|
4731
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4731
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4732
4732
|
try {
|
|
4733
4733
|
await runWorkStatus(opts);
|
|
4734
4734
|
} catch (err) {
|
|
@@ -4740,7 +4740,7 @@ live addition remains on it.
|
|
|
4740
4740
|
}
|
|
4741
4741
|
});
|
|
4742
4742
|
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) => {
|
|
4743
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
4743
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4744
4744
|
try {
|
|
4745
4745
|
await runWorkList(opts);
|
|
4746
4746
|
} catch (err) {
|
|
@@ -4761,7 +4761,7 @@ by a different key is refused; claiming again with the same key extends
|
|
|
4761
4761
|
it. --host is a label only.
|
|
4762
4762
|
`
|
|
4763
4763
|
).action(async (opts) => {
|
|
4764
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
4764
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-MY4N74HA.js');
|
|
4765
4765
|
try {
|
|
4766
4766
|
await runWorkClaim(opts);
|
|
4767
4767
|
} catch (err) {
|
|
@@ -4781,7 +4781,7 @@ Extends the live lease this API key holds. Refused with a 410 if the
|
|
|
4781
4781
|
lease has expired, or a 403 if a different key holds it.
|
|
4782
4782
|
`
|
|
4783
4783
|
).action(async (opts) => {
|
|
4784
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
4784
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-MY4N74HA.js');
|
|
4785
4785
|
try {
|
|
4786
4786
|
await runWorkRenew(opts);
|
|
4787
4787
|
} catch (err) {
|
|
@@ -4813,7 +4813,7 @@ applies to a host's lease only. A later tool call in the session
|
|
|
4813
4813
|
takes the lease again.
|
|
4814
4814
|
`
|
|
4815
4815
|
).action(async (opts) => {
|
|
4816
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
4816
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-MY4N74HA.js');
|
|
4817
4817
|
try {
|
|
4818
4818
|
await runWorkRelease(opts);
|
|
4819
4819
|
} catch (err) {
|
|
@@ -4865,8 +4865,8 @@ login, then declares the pull request on the item, as \`work pr\` does.
|
|
|
4865
4865
|
Run it again after a change to the title or description.
|
|
4866
4866
|
`
|
|
4867
4867
|
).action(async (opts) => {
|
|
4868
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
4869
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4868
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-VP5NNTCW.js');
|
|
4869
|
+
const { WorkCommandError } = await import('./work-cmd-UQ45HDM4.js');
|
|
4870
4870
|
try {
|
|
4871
4871
|
await runWorkOpenPr(opts);
|
|
4872
4872
|
} catch (err) {
|
|
@@ -4883,7 +4883,7 @@ function registerRunnerCommands(program2) {
|
|
|
4883
4883
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
4884
4884
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
4885
4885
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JJ3EO7SB.js');
|
|
4886
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
4886
|
+
const { start, RunnerStartError } = await import('./loop-OE32U2IZ.js');
|
|
4887
4887
|
const { RunnerAlreadyRunningError } = await import('./pidfile-BY5Z6YH7.js');
|
|
4888
4888
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4889
4889
|
try {
|
|
@@ -4902,8 +4902,8 @@ function registerRunnerCommands(program2) {
|
|
|
4902
4902
|
"\nReads OUTERLAYER_URL, OUTERLAYER_APP_ID, OUTERLAYER_API_KEY, OUTERLAYER_RUNNER_NAME and one Claude credential\n(CLAUDE_CODE_OAUTH_TOKEN, ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN) 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"
|
|
4903
4903
|
).action(async () => {
|
|
4904
4904
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JJ3EO7SB.js');
|
|
4905
|
-
const { containerStart } = await import('./container-start-
|
|
4906
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
4905
|
+
const { containerStart } = await import('./container-start-AUJHF2BC.js');
|
|
4906
|
+
const { start, RunnerStartError } = await import('./loop-OE32U2IZ.js');
|
|
4907
4907
|
const { RunnerAlreadyRunningError } = await import('./pidfile-BY5Z6YH7.js');
|
|
4908
4908
|
try {
|
|
4909
4909
|
const result = await containerStart({
|
|
@@ -4923,7 +4923,7 @@ function registerRunnerCommands(program2) {
|
|
|
4923
4923
|
});
|
|
4924
4924
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
4925
4925
|
const { defaultRunnerConfigPath } = await import('./config-JJ3EO7SB.js');
|
|
4926
|
-
const { runRunnerCheck } = await import('./check-
|
|
4926
|
+
const { runRunnerCheck } = await import('./check-WJJ325EQ.js');
|
|
4927
4927
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4928
4928
|
const result = await runRunnerCheck(configPath);
|
|
4929
4929
|
if (!result.ok) {
|
|
@@ -4957,7 +4957,7 @@ function registerRunnerCommands(program2) {
|
|
|
4957
4957
|
}
|
|
4958
4958
|
try {
|
|
4959
4959
|
if (opts.service === true) {
|
|
4960
|
-
const { installServiceCommand } = await import('./command-
|
|
4960
|
+
const { installServiceCommand } = await import('./command-GQBHC53U.js');
|
|
4961
4961
|
const result2 = await installServiceCommand({
|
|
4962
4962
|
configPath,
|
|
4963
4963
|
print: opts.print,
|
|
@@ -5013,7 +5013,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5013
5013
|
return;
|
|
5014
5014
|
}
|
|
5015
5015
|
const { defaultRunnerConfigPath } = await import('./config-JJ3EO7SB.js');
|
|
5016
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5016
|
+
const { uninstallServiceCommand } = await import('./command-GQBHC53U.js');
|
|
5017
5017
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5018
5018
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5019
5019
|
`);
|
|
@@ -5041,10 +5041,10 @@ already in runner.env is used.
|
|
|
5041
5041
|
`
|
|
5042
5042
|
).action(async (opts) => {
|
|
5043
5043
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-JJ3EO7SB.js');
|
|
5044
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-
|
|
5045
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5046
|
-
const { detectMachine } = await import('./machine-
|
|
5047
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5044
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit } = await import('./init-KIGYMLDM.js');
|
|
5045
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-AZVXBQIB.js');
|
|
5046
|
+
const { detectMachine } = await import('./machine-L7INJ4JN.js');
|
|
5047
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-UZWRJMPZ.js');
|
|
5048
5048
|
const { AGENT_COMMANDS, credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-2D7MPOIJ.js');
|
|
5049
5049
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5050
5050
|
if (opts.agent !== void 0 && !isAgentName(opts.agent)) {
|
|
@@ -5195,7 +5195,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5195
5195
|
let serviceUp = false;
|
|
5196
5196
|
let restart;
|
|
5197
5197
|
if (installedLayout) {
|
|
5198
|
-
const { installServiceCommand } = await import('./command-
|
|
5198
|
+
const { installServiceCommand } = await import('./command-GQBHC53U.js');
|
|
5199
5199
|
const service = await installServiceCommand({
|
|
5200
5200
|
configPath,
|
|
5201
5201
|
entryPath: process.argv[1] ?? "",
|
|
@@ -5240,10 +5240,10 @@ Next:
|
|
|
5240
5240
|
"\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"
|
|
5241
5241
|
).action(async (opts) => {
|
|
5242
5242
|
const { defaultRunnerConfigPath } = await import('./config-JJ3EO7SB.js');
|
|
5243
|
-
const { buildRepositoryImage, RecipeError } = await import('./build-
|
|
5243
|
+
const { buildRepositoryImage, RecipeError } = await import('./build-EBQYXL7Y.js');
|
|
5244
5244
|
const { currentCliBuild } = await import('./cli-build-K56DK4DS.js');
|
|
5245
|
-
const { createDockerHost } = await import('./docker-
|
|
5246
|
-
const { builderSpec } = await import('./builder-
|
|
5245
|
+
const { createDockerHost } = await import('./docker-NYAIIX2F.js');
|
|
5246
|
+
const { builderSpec } = await import('./builder-WEGLC2F2.js');
|
|
5247
5247
|
const { loadRunnerConfig } = await import('./config-JJ3EO7SB.js');
|
|
5248
5248
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5249
5249
|
const loaded = (() => {
|
|
@@ -5255,11 +5255,11 @@ Next:
|
|
|
5255
5255
|
})();
|
|
5256
5256
|
const memory = loaded?.build?.memory ?? "8g";
|
|
5257
5257
|
try {
|
|
5258
|
-
const { ensureRunnerIdentity } = await import('./runner-identity-
|
|
5258
|
+
const { ensureRunnerIdentity } = await import('./runner-identity-YYENYKDH.js');
|
|
5259
5259
|
await ensureRunnerIdentity(configPath, { log: (line) => console.error(line) }).catch((err) => {
|
|
5260
5260
|
console.error(`the runner's Docker identity could not be stored: ${err instanceof Error ? err.message : String(err)}`);
|
|
5261
5261
|
});
|
|
5262
|
-
const { imageTargetFor } = await import('./governing-source-
|
|
5262
|
+
const { imageTargetFor } = await import('./governing-source-PTJ6EAA3.js');
|
|
5263
5263
|
const target = await imageTargetFor({ config: loaded, repository: opts.repository, fetchImpl: fetch });
|
|
5264
5264
|
if (!target.ok) {
|
|
5265
5265
|
if (opts.json) {
|
|
@@ -5323,7 +5323,7 @@ Next:
|
|
|
5323
5323
|
});
|
|
5324
5324
|
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) => {
|
|
5325
5325
|
const { defaultRunnerConfigPath } = await import('./config-JJ3EO7SB.js');
|
|
5326
|
-
const { requestStop } = await import('./loop-
|
|
5326
|
+
const { requestStop } = await import('./loop-OE32U2IZ.js');
|
|
5327
5327
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5328
5328
|
const { runnerImageVersion } = await import('./image-tag-5SJ6ZKT7.js');
|
|
5329
5329
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -5331,8 +5331,8 @@ Next:
|
|
|
5331
5331
|
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) => {
|
|
5332
5332
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-JJ3EO7SB.js');
|
|
5333
5333
|
const { jobsDir, runnerDir } = await import('./paths-ZC6BMWMT.js');
|
|
5334
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
5335
|
-
const { renderStatus } = await import('./status-
|
|
5334
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-OE32U2IZ.js');
|
|
5335
|
+
const { renderStatus } = await import('./status-3WC2IGVI.js');
|
|
5336
5336
|
const { readHousekeepingRecord } = await import('./record-K23IN6QN.js');
|
|
5337
5337
|
const path2 = await import('path');
|
|
5338
5338
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5392,7 +5392,7 @@ Next:
|
|
|
5392
5392
|
});
|
|
5393
5393
|
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) => {
|
|
5394
5394
|
const { defaultRunnerConfigPath } = await import('./config-JJ3EO7SB.js');
|
|
5395
|
-
const { listJobFiles } = await import('./loop-
|
|
5395
|
+
const { listJobFiles } = await import('./loop-OE32U2IZ.js');
|
|
5396
5396
|
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-VN2HKDSH.js');
|
|
5397
5397
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5398
5398
|
const item = parseTrackerNumber(itemArg);
|
|
@@ -3,21 +3,21 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runRunnerInstall, launcherSummary, restartNote } from './chunk-JF572PM5.js';
|
|
4
4
|
import './chunk-KDDFI5MR.js';
|
|
5
5
|
import { currentLink, execStartCommand } from './chunk-4IFKLYMM.js';
|
|
6
|
-
import { detectMachine } from './chunk-
|
|
7
|
-
import { helperSocketPath, ensureFirecrackerAndJailer } from './chunk-
|
|
6
|
+
import { detectMachine } from './chunk-364XDGOK.js';
|
|
7
|
+
import { helperSocketPath, ensureFirecrackerAndJailer } from './chunk-VHVFU6QU.js';
|
|
8
8
|
import './chunk-665QWBNW.js';
|
|
9
9
|
import './chunk-TQMI335S.js';
|
|
10
10
|
import { DEFAULT_UNIT_NAME, installService, uninstallService, realTaskScheduler, UNIT_MARKER } from './chunk-MLD2NA7N.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-7LVF4E5V.js';
|
|
12
12
|
import './chunk-PYSKSROG.js';
|
|
13
13
|
import './chunk-JBJTC3UU.js';
|
|
14
14
|
import './chunk-OGFGZQA3.js';
|
|
15
|
-
import { readJobFile } from './chunk-
|
|
16
|
-
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, FIRECRACKER_BINARY_SHA256, JAILER_BINARY_SHA256, HOST_HELPER_SHA256, HOST_HELPER_BASE_URL, HOST_HELPER_ASSETS_VERSION, hostHelperPinned } from './chunk-
|
|
15
|
+
import { readJobFile } from './chunk-ZLEXMZFW.js';
|
|
16
|
+
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, FIRECRACKER_BINARY_SHA256, JAILER_BINARY_SHA256, HOST_HELPER_SHA256, HOST_HELPER_BASE_URL, HOST_HELPER_ASSETS_VERSION, hostHelperPinned } from './chunk-TSW4DGV2.js';
|
|
17
17
|
import './chunk-MXTN35XN.js';
|
|
18
18
|
import './chunk-XLC7KEUV.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-J7BXZLSO.js';
|
|
20
|
+
import './chunk-UKCNOAO6.js';
|
|
21
21
|
import './chunk-HXFRJKMU.js';
|
|
22
22
|
import './chunk-TEVO3RUV.js';
|
|
23
23
|
import './chunk-BUP5N3X6.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-
|
|
4
|
-
import { detectMachine, supportsContainerBuilds, describeMachineDocker } from './chunk-
|
|
5
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
3
|
+
import { RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-W7LGHNXT.js';
|
|
4
|
+
import { detectMachine, supportsContainerBuilds, describeMachineDocker } from './chunk-364XDGOK.js';
|
|
5
|
+
import { MIN_ENGINE_MAJOR } from './chunk-VHVFU6QU.js';
|
|
6
6
|
import { runnerImageVersion, IMAGE_VERSION_VARIABLE } from './chunk-665QWBNW.js';
|
|
7
7
|
import './chunk-TQMI335S.js';
|
|
8
8
|
import { isAgentName, AGENT_COMMANDS } from './chunk-5PMQDQFV.js';
|
|
9
9
|
import './chunk-MLD2NA7N.js';
|
|
10
10
|
import './chunk-6MZSX4M7.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-7LVF4E5V.js';
|
|
12
12
|
import './chunk-PYSKSROG.js';
|
|
13
13
|
import './chunk-JBJTC3UU.js';
|
|
14
14
|
import './chunk-OGFGZQA3.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
15
|
+
import './chunk-ZLEXMZFW.js';
|
|
16
|
+
import './chunk-TSW4DGV2.js';
|
|
17
17
|
import './chunk-MXTN35XN.js';
|
|
18
18
|
import './chunk-XLC7KEUV.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-J7BXZLSO.js';
|
|
20
|
+
import './chunk-UKCNOAO6.js';
|
|
21
21
|
import './chunk-HXFRJKMU.js';
|
|
22
22
|
import './chunk-TEVO3RUV.js';
|
|
23
23
|
import './chunk-BUP5N3X6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { childEnvironment, createDockerHost, spawnRun } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { childEnvironment, createDockerHost, spawnRun } from './chunk-ZLEXMZFW.js';
|
|
4
|
+
import './chunk-TSW4DGV2.js';
|
|
5
5
|
import './chunk-7RQ73DLO.js';
|
|
6
6
|
import './chunk-QE3UQAHK.js';
|
|
7
7
|
import './chunk-QZBXLLTV.js';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launcherCheck } from './chunk-KDDFI5MR.js';
|
|
4
|
-
import { needsClaudeCredential, claudeCredentialCheck, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
4
|
+
import { needsClaudeCredential, claudeCredentialCheck, missingPermissionOf, missingPermissionFix } from './chunk-ZPXI7LMG.js';
|
|
5
5
|
import './chunk-4IFKLYMM.js';
|
|
6
6
|
import { freeBytes, formatBytes } from './chunk-YYYRBYWG.js';
|
|
7
7
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import { detectMachine, supportsContainerBuilds, describeMachineDocker, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned } from './chunk-
|
|
10
|
-
import { MIN_ENGINE_MAJOR, helperFirecrackerNote, probeHelper, helperSocketPath } from './chunk-
|
|
8
|
+
import './chunk-W7LGHNXT.js';
|
|
9
|
+
import { detectMachine, supportsContainerBuilds, describeMachineDocker, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned } from './chunk-364XDGOK.js';
|
|
10
|
+
import { MIN_ENGINE_MAJOR, helperFirecrackerNote, probeHelper, helperSocketPath } from './chunk-VHVFU6QU.js';
|
|
11
11
|
import { runnerImageVersion, imageAdvice, readUpdateStatus, imageTag, pullInstruction } from './chunk-665QWBNW.js';
|
|
12
12
|
import './chunk-TQMI335S.js';
|
|
13
13
|
import './chunk-5PMQDQFV.js';
|
|
14
14
|
import './chunk-MLD2NA7N.js';
|
|
15
15
|
import './chunk-6MZSX4M7.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-7LVF4E5V.js';
|
|
17
17
|
import './chunk-PYSKSROG.js';
|
|
18
18
|
import './chunk-JBJTC3UU.js';
|
|
19
19
|
import './chunk-OGFGZQA3.js';
|
|
20
|
-
import { resolveDevcontainerCli, buildxState, spawnRun } from './chunk-
|
|
21
|
-
import { locateRecipe, assertBuildable, readRecipe, RecipeError, FIRECRACKER_VERSION, CLAUDE_CODE_VERSION } from './chunk-
|
|
20
|
+
import { resolveDevcontainerCli, buildxState, spawnRun } from './chunk-ZLEXMZFW.js';
|
|
21
|
+
import { locateRecipe, assertBuildable, readRecipe, RecipeError, FIRECRACKER_VERSION, CLAUDE_CODE_VERSION } from './chunk-TSW4DGV2.js';
|
|
22
22
|
import './chunk-MXTN35XN.js';
|
|
23
23
|
import './chunk-XLC7KEUV.js';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-
|
|
24
|
+
import './chunk-J7BXZLSO.js';
|
|
25
|
+
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-UKCNOAO6.js';
|
|
26
26
|
import './chunk-HXFRJKMU.js';
|
|
27
27
|
import './chunk-TEVO3RUV.js';
|
|
28
28
|
import './chunk-BUP5N3X6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-2AKDF6C2.js';
|
|
4
4
|
import './chunk-EORWWFPA.js';
|
|
5
5
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
6
6
|
import './chunk-TBT347UY.js';
|
|
@@ -10,7 +10,7 @@ import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned
|
|
|
10
10
|
import './chunk-XSPA5ODY.js';
|
|
11
11
|
import './chunk-GOSFARMS.js';
|
|
12
12
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-QRZLUUNN.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-FO7F6QSV.js';
|
|
14
14
|
import './chunk-ZJSNLVCE.js';
|
|
15
15
|
import './chunk-2O5KA67H.js';
|
|
16
16
|
import './chunk-BKO6JEZI.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectCi } from './chunk-
|
|
3
|
+
import { detectCi } from './chunk-2AKDF6C2.js';
|
|
4
4
|
import './chunk-EORWWFPA.js';
|
|
5
5
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
6
6
|
import './chunk-TBT347UY.js';
|
|
@@ -10,7 +10,7 @@ import './chunk-BUP5N3X6.js';
|
|
|
10
10
|
import './chunk-XSPA5ODY.js';
|
|
11
11
|
import './chunk-GOSFARMS.js';
|
|
12
12
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-QRZLUUNN.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-FO7F6QSV.js';
|
|
14
14
|
import './chunk-ZJSNLVCE.js';
|
|
15
15
|
import './chunk-2O5KA67H.js';
|
|
16
16
|
import './chunk-BKO6JEZI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { imageTargetFor, pinnedSourceOf, resolveGoverningSource } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { imageTargetFor, pinnedSourceOf, resolveGoverningSource } from './chunk-J7BXZLSO.js';
|
|
4
|
+
import './chunk-UKCNOAO6.js';
|
|
5
5
|
import './chunk-HXFRJKMU.js';
|
|
6
6
|
import './chunk-TEVO3RUV.js';
|
|
7
7
|
import './chunk-BUP5N3X6.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
export { AUTO_SYNC_DEBOUNCE_MS, DUPLICATE_RUN_WINDOW_MS, WORK_LEASE_RENEW_DEBOUNCE_MS, WORK_LINK_RETRIES, contextPossiblyGoverned, handleWorkLaunch, handleWorkSessionEnd, hookFiredMarkerPath, isDuplicateRun, logHookError, markWorkLeaseRenewed, maybeAutoSync, maybeRenewWorkLease, recordLinkExitFailure, runHookFast, spoolDir } from './chunk-FO7F6QSV.js';
|
|
4
|
+
import './chunk-ZJSNLVCE.js';
|
|
5
|
+
import './chunk-HCVLP7XA.js';
|
|
6
|
+
import './chunk-BJ3KTMDH.js';
|
|
7
|
+
import './chunk-CRB3POP4.js';
|
|
8
|
+
import './chunk-TUSYOL2O.js';
|
|
9
|
+
import './chunk-VNVZDWO3.js';
|
|
10
|
+
import './chunk-Z5GEFMRW.js';
|
|
11
|
+
|
|
12
|
+
createRequire(import.meta.url);
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ createRequire(import.meta.url);
|
|
|
6
6
|
// src/index.ts
|
|
7
7
|
var argv = process.argv.slice(2);
|
|
8
8
|
if (argv[0] === "hook") {
|
|
9
|
-
const { runHookFast } = await import('./hook-fast-
|
|
9
|
+
const { runHookFast } = await import('./hook-fast-SDFXJEAW.js');
|
|
10
10
|
await runHookFast(argv[1]);
|
|
11
11
|
process.exit(0);
|
|
12
12
|
}
|
|
@@ -25,6 +25,6 @@ if (argv[0] === "claude") {
|
|
|
25
25
|
const { runClaudeLauncher } = await import('./claude-launcher-O2U6P6ZD.js');
|
|
26
26
|
process.exit(await runClaudeLauncher(argv.slice(1)));
|
|
27
27
|
}
|
|
28
|
-
(await import('./hook-fast-
|
|
29
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
(await import('./hook-fast-SDFXJEAW.js')).recordLinkExitFailure(argv);
|
|
29
|
+
var { runCli } = await import('./cli-2UUJM3AE.js');
|
|
30
30
|
await runCli(process.argv);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-W7LGHNXT.js';
|
|
4
|
+
import './chunk-364XDGOK.js';
|
|
5
|
+
import './chunk-VHVFU6QU.js';
|
|
6
6
|
import './chunk-665QWBNW.js';
|
|
7
7
|
import './chunk-TQMI335S.js';
|
|
8
8
|
import './chunk-5PMQDQFV.js';
|
|
9
9
|
import './chunk-MLD2NA7N.js';
|
|
10
10
|
import './chunk-6MZSX4M7.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-7LVF4E5V.js';
|
|
12
12
|
import './chunk-PYSKSROG.js';
|
|
13
13
|
import './chunk-JBJTC3UU.js';
|
|
14
14
|
import './chunk-OGFGZQA3.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
15
|
+
import './chunk-ZLEXMZFW.js';
|
|
16
|
+
import './chunk-TSW4DGV2.js';
|
|
17
17
|
import './chunk-MXTN35XN.js';
|
|
18
18
|
import './chunk-XLC7KEUV.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
19
|
+
import './chunk-J7BXZLSO.js';
|
|
20
|
+
import './chunk-UKCNOAO6.js';
|
|
21
21
|
import './chunk-HXFRJKMU.js';
|
|
22
22
|
import './chunk-TEVO3RUV.js';
|
|
23
23
|
import './chunk-BUP5N3X6.js';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { npmSupportsProvenance } from './chunk-YETTWTAY.js';
|
|
4
|
-
import { RunnerInitError, readConfigObject } from './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-W7LGHNXT.js';
|
|
5
|
+
import './chunk-364XDGOK.js';
|
|
6
|
+
import './chunk-VHVFU6QU.js';
|
|
7
7
|
import './chunk-665QWBNW.js';
|
|
8
8
|
import './chunk-TQMI335S.js';
|
|
9
9
|
import './chunk-5PMQDQFV.js';
|
|
10
10
|
import { checkFit, VM_SERVICE_NAME, RUNNER_RESERVE_BYTES } from './chunk-MLD2NA7N.js';
|
|
11
11
|
import './chunk-6MZSX4M7.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-7LVF4E5V.js';
|
|
13
13
|
import './chunk-PYSKSROG.js';
|
|
14
14
|
import './chunk-JBJTC3UU.js';
|
|
15
15
|
import './chunk-OGFGZQA3.js';
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
16
|
+
import './chunk-ZLEXMZFW.js';
|
|
17
|
+
import './chunk-TSW4DGV2.js';
|
|
18
18
|
import './chunk-MXTN35XN.js';
|
|
19
19
|
import './chunk-XLC7KEUV.js';
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
20
|
+
import './chunk-J7BXZLSO.js';
|
|
21
|
+
import './chunk-UKCNOAO6.js';
|
|
22
22
|
import './chunk-HXFRJKMU.js';
|
|
23
23
|
import './chunk-TEVO3RUV.js';
|
|
24
24
|
import './chunk-BUP5N3X6.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-K7FCZCLQ.js';
|
|
4
4
|
import './chunk-XFGL53GU.js';
|
|
5
5
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-CJJDJ7AT.js';
|
|
6
6
|
import './chunk-VJBFQP3H.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-UKCNOAO6.js';
|
|
8
8
|
import './chunk-HXFRJKMU.js';
|
|
9
9
|
import { runConnect, hasUncommittedPolicy, commitLineFor } from './chunk-TEVO3RUV.js';
|
|
10
10
|
import './chunk-BUP5N3X6.js';
|
|
@@ -12,7 +12,7 @@ import './chunk-XSPA5ODY.js';
|
|
|
12
12
|
import './chunk-GOSFARMS.js';
|
|
13
13
|
import './chunk-MQ743JX3.js';
|
|
14
14
|
import './chunk-QRZLUUNN.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-FO7F6QSV.js';
|
|
16
16
|
import './chunk-ZJSNLVCE.js';
|
|
17
17
|
import './chunk-I7RZHMXW.js';
|
|
18
18
|
import './chunk-BKO6JEZI.js';
|