@outerlayer/cli 0.8.2 → 0.8.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 +6 -0
- package/dist/{agent-setup-C5X4356W.js → agent-setup-FMTXHWWM.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{check-HQHFAOXW.js → check-AFYUJ5SQ.js} +14 -14
- package/dist/{chunk-R5SPFO6F.js → chunk-2OZH6ZY2.js} +1 -1
- package/dist/{chunk-CMFCCIQN.js → chunk-36H5BONJ.js} +2 -2
- package/dist/{chunk-ZJ3WRVRG.js → chunk-42OX3Q3A.js} +1 -1
- package/dist/{chunk-3J476JZC.js → chunk-4GS22GWM.js} +4 -4
- package/dist/{chunk-NACLOOXP.js → chunk-4NOIKXUL.js} +3 -3
- package/dist/{chunk-KI7VPNKC.js → chunk-7HWIKEU5.js} +1 -1
- package/dist/{chunk-QJPO42VI.js → chunk-BORFBENT.js} +3 -3
- package/dist/{chunk-EQG7L6LM.js → chunk-BPTAOD6W.js} +4 -4
- package/dist/{chunk-GXSMDL4M.js → chunk-KZ2FOICE.js} +1 -1
- package/dist/{chunk-M2F2RAMK.js → chunk-NT5M6LF3.js} +5 -5
- package/dist/{chunk-MJLUWGUD.js → chunk-OCHRV5A6.js} +2 -2
- package/dist/{chunk-JXH6LEEH.js → chunk-OPSPDEVU.js} +1 -1
- package/dist/{chunk-G54QHBTI.js → chunk-OULFBETM.js} +2 -2
- package/dist/{chunk-4ZZR5SKG.js → chunk-SMPKFYKY.js} +2 -2
- package/dist/{chunk-VUGDEUMM.js → chunk-SPUWEK2Q.js} +6 -6
- package/dist/{chunk-LSPJHYHM.js → chunk-VITHLJOZ.js} +1 -1
- package/dist/{chunk-YU4Z2O3W.js → chunk-YCHJIAP2.js} +1 -1
- package/dist/{cli-OWM54BIU.js → cli-L2TU7WDF.js} +45 -45
- package/dist/{command-LIHTWJHQ.js → command-J5KLUIOI.js} +7 -7
- package/dist/{context-adopt-PPCNSN5D.js → context-adopt-3GFYGDRT.js} +4 -4
- package/dist/{context-materialize-YR3JQCUF.js → context-materialize-YBOW5YCC.js} +4 -4
- package/dist/{doctor-PKT42NOJ.js → doctor-M65EXDE6.js} +9 -9
- package/dist/{emit-artifact-cmd-BZYXRBCV.js → emit-artifact-cmd-SGDZQNHP.js} +2 -2
- package/dist/{emit-cmd-IRYNFHPM.js → emit-cmd-KBVRX42C.js} +3 -3
- package/dist/{emit-result-cmd-5P7ZFWMZ.js → emit-result-cmd-ANAY4ZXF.js} +2 -2
- package/dist/{hook-fast-OCHVQZTU.js → hook-fast-B7TFCJR2.js} +1 -1
- package/dist/{import-capture-cmd-2QFLZQFY.js → import-capture-cmd-SD6FI2BM.js} +2 -2
- package/dist/{import-ruler-cmd-BD22GUJS.js → import-ruler-cmd-NUSPILXT.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{init-TQUN5RF7.js → init-EE4JI2E4.js} +8 -8
- package/dist/{init-CY4IMZE4.js → init-S2Z3YDK2.js} +8 -8
- package/dist/{init-cmd-F4TZXQJH.js → init-cmd-X6BETOWP.js} +5 -5
- package/dist/{loop-NZP5FAC3.js → loop-CR46DEHT.js} +14 -14
- package/dist/{machine-RUSNVLKO.js → machine-XZ34ENE2.js} +7 -7
- package/dist/{session-sender-EECVKXTC.js → session-sender-B67S2DHF.js} +3 -3
- package/dist/{starter-pack-VNWPYP5U.js → starter-pack-TC6HZ7JK.js} +3 -3
- package/dist/{status-KCONQLOD.js → status-HIOSSWBN.js} +10 -10
- package/dist/{sync-cmd-R54ZBHXX.js → sync-cmd-JN5RXCJQ.js} +2 -2
- package/dist/{watch-YTFNBO3S.js → watch-2H4RVURC.js} +2 -2
- package/dist/{work-claim-cmd-HRPJ4VUF.js → work-claim-cmd-JUC6E3R2.js} +2 -2
- package/dist/{work-cmd-W4GQUUBC.js → work-cmd-66GA4ETV.js} +1 -1
- package/dist/{work-comment-cmd-DDZ4SZ35.js → work-comment-cmd-J5K47MBZ.js} +1 -1
- package/dist/{work-open-pr-cmd-GXULDTSC.js → work-open-pr-cmd-X46UWSPE.js} +1 -1
- package/package.json +1 -1
|
@@ -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-4GS22GWM.js';
|
|
4
4
|
import './chunk-F47JBIAW.js';
|
|
5
5
|
import './chunk-BKO6JEZI.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-2OZH6ZY2.js';
|
|
7
7
|
import './chunk-WMPO3SKK.js';
|
|
8
8
|
import './chunk-BFESLKPP.js';
|
|
9
9
|
import './chunk-EWBM2USM.js';
|
|
@@ -14,8 +14,8 @@ import './chunk-N6LURUEF.js';
|
|
|
14
14
|
import { C, NO_COLOR_FLAG, warnDeprecated, stripNoColor, API_KEY_FLAG_DEPRECATION } from './chunk-YRYMNBGQ.js';
|
|
15
15
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
16
16
|
import { settingsPath, readSettings, SettingsParseError, listHookCandidates, wrapHooks, writeSettings, unwrapHooks, REGISTERED_EVENTS, cliCommand, removeHooks, removeStatusline, cliBinResolvable, mergeHooks, repointWrappedHooks, AUTO_WRAP_EVENTS, mergeStatusline } from './chunk-5QRP3MVS.js';
|
|
17
|
-
import { pinExists } from './chunk-
|
|
18
|
-
import './chunk-
|
|
17
|
+
import { pinExists } from './chunk-42OX3Q3A.js';
|
|
18
|
+
import './chunk-36H5BONJ.js';
|
|
19
19
|
import './chunk-YO4PSLVB.js';
|
|
20
20
|
import './chunk-PLMTLGYH.js';
|
|
21
21
|
import './chunk-YNJEOGDL.js';
|
|
@@ -23,7 +23,7 @@ import './chunk-EABW6AJQ.js';
|
|
|
23
23
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
24
24
|
import './chunk-V7NIVOFD.js';
|
|
25
25
|
import './chunk-ZM2IMMYN.js';
|
|
26
|
-
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-
|
|
26
|
+
import { hookFiredMarkerPath, installedCliDistDir } from './chunk-7HWIKEU5.js';
|
|
27
27
|
import { managedHookScripts, removeJournalHooks, installPreCommitGuardHook, removePreCommitGuardHook } from './chunk-XCCLFVXM.js';
|
|
28
28
|
import './chunk-BJ3KTMDH.js';
|
|
29
29
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -3641,7 +3641,7 @@ function warnIfApiKeyFlag(opts) {
|
|
|
3641
3641
|
if (opts.apiKey !== void 0) warnDeprecated(API_KEY_FLAG_DEPRECATION);
|
|
3642
3642
|
}
|
|
3643
3643
|
async function installStarterPackInRepo() {
|
|
3644
|
-
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-
|
|
3644
|
+
const { installStarterPack, formatStarterPackOutput } = await import('./starter-pack-TC6HZ7JK.js');
|
|
3645
3645
|
const cwd = process.cwd();
|
|
3646
3646
|
let repoRoot = cwd;
|
|
3647
3647
|
try {
|
|
@@ -3824,7 +3824,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3824
3824
|
).action(async (opts) => {
|
|
3825
3825
|
let starterTemplate;
|
|
3826
3826
|
if (opts.template !== void 0) {
|
|
3827
|
-
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-
|
|
3827
|
+
const { assertKnownTemplate, StarterPackError } = await import('./starter-pack-TC6HZ7JK.js');
|
|
3828
3828
|
try {
|
|
3829
3829
|
assertKnownTemplate(opts.template);
|
|
3830
3830
|
} catch (err) {
|
|
@@ -3855,7 +3855,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3855
3855
|
else process.stdout.write(outcome.text);
|
|
3856
3856
|
return;
|
|
3857
3857
|
}
|
|
3858
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3858
|
+
const { runInitCommand } = await import('./init-cmd-X6BETOWP.js');
|
|
3859
3859
|
const code = await runInitCommand(
|
|
3860
3860
|
{ json: opts.json, factory: opts.factory },
|
|
3861
3861
|
{
|
|
@@ -3867,7 +3867,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3867
3867
|
return { ok, text, detail };
|
|
3868
3868
|
},
|
|
3869
3869
|
runAgentSetup: async () => {
|
|
3870
|
-
const { runAgentSetup } = await import('./agent-setup-
|
|
3870
|
+
const { runAgentSetup } = await import('./agent-setup-FMTXHWWM.js');
|
|
3871
3871
|
return runAgentSetup({ cwd: process.cwd() });
|
|
3872
3872
|
},
|
|
3873
3873
|
runDoctorChecks: gatherDoctorChecks
|
|
@@ -3927,7 +3927,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3927
3927
|
"\nIncremental: only sessions newer than the last checkpoint ship. The tier\nis applied on this machine before anything leaves it; `--dry-run` prints\nexactly what would. The hook-triggered background sync runs `--quiet`.\nExit 2 means the server rejected at least one session.\n"
|
|
3928
3928
|
).action(async (opts) => {
|
|
3929
3929
|
warnIfApiKeyFlag(opts);
|
|
3930
|
-
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-
|
|
3930
|
+
const { runSync, SyncConfigError, SyncTransportError } = await import('./sync-cmd-JN5RXCJQ.js');
|
|
3931
3931
|
try {
|
|
3932
3932
|
const result = await runSync({
|
|
3933
3933
|
url: opts.url,
|
|
@@ -3956,7 +3956,7 @@ function buildProgram(argv = process.argv) {
|
|
|
3956
3956
|
if (invokedCommandToken(argv) === "watch") {
|
|
3957
3957
|
warnDeprecated("`outerlayer watch` is now `outerlayer daemon`; the old name will be removed in a future release.");
|
|
3958
3958
|
}
|
|
3959
|
-
const { runWatch } = await import('./watch-
|
|
3959
|
+
const { runWatch } = await import('./watch-2H4RVURC.js');
|
|
3960
3960
|
await runWatch({ once: opts.once });
|
|
3961
3961
|
});
|
|
3962
3962
|
program2.command("hook <event>", { hidden: true }).description("capture-hook fast path, installed by `init`").action(() => {
|
|
@@ -4010,7 +4010,7 @@ function buildProgram(argv = process.argv) {
|
|
|
4010
4010
|
}
|
|
4011
4011
|
});
|
|
4012
4012
|
program2.command("session-sender", { hidden: true }).description("stream a runner build's sessions to its work item while the build runs").action(async () => {
|
|
4013
|
-
const { runSessionSender } = await import('./session-sender-
|
|
4013
|
+
const { runSessionSender } = await import('./session-sender-B67S2DHF.js');
|
|
4014
4014
|
try {
|
|
4015
4015
|
await runSessionSender();
|
|
4016
4016
|
} catch (err) {
|
|
@@ -4045,7 +4045,7 @@ async function runCli(processArgv) {
|
|
|
4045
4045
|
await buildProgram(argv).parseAsync(argv);
|
|
4046
4046
|
}
|
|
4047
4047
|
async function compileContext(opts) {
|
|
4048
|
-
const { runEmit, EmitError } = await import('./emit-cmd-
|
|
4048
|
+
const { runEmit, EmitError } = await import('./emit-cmd-KBVRX42C.js');
|
|
4049
4049
|
try {
|
|
4050
4050
|
const result = runEmit({ cwd: opts.dir, check: opts.check, json: opts.json });
|
|
4051
4051
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -4068,7 +4068,7 @@ function registerEmitCommands(program2) {
|
|
|
4068
4068
|
return;
|
|
4069
4069
|
}
|
|
4070
4070
|
warnIfApiKeyFlag(opts);
|
|
4071
|
-
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-
|
|
4071
|
+
const { runEmitResult, EmitResultError } = await import('./emit-result-cmd-ANAY4ZXF.js');
|
|
4072
4072
|
try {
|
|
4073
4073
|
const result = await runEmitResult({
|
|
4074
4074
|
name,
|
|
@@ -4119,7 +4119,7 @@ locally so it never uploads. One correction can retire several duplicates.
|
|
|
4119
4119
|
`
|
|
4120
4120
|
).action(async (file, opts) => {
|
|
4121
4121
|
warnIfApiKeyFlag(opts);
|
|
4122
|
-
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-
|
|
4122
|
+
const { runEmitArtifact, EmitArtifactError } = await import('./emit-artifact-cmd-SGDZQNHP.js');
|
|
4123
4123
|
let pr;
|
|
4124
4124
|
if (opts.pr !== void 0) {
|
|
4125
4125
|
pr = parseTrackerNumber(opts.pr);
|
|
@@ -4244,7 +4244,7 @@ function registerWorkCommands(program2) {
|
|
|
4244
4244
|
"\n outerlayer work build --issue 42 # a host builds it\n outerlayer work build --item 7 # retry an item already on Work\n outerlayer work build --issue 42 --local # you build it\n outerlayer work build --issue ENG-123 --tracker linear # a Linear issue\n\nWithout --local, records a build request: a host takes the item when it\nhas a free slot. It never links the calling session and never takes a\nlease, even run from inside one.\n\nWith --local, puts the item on Work with no build request, so no host\ntakes it, and prints the line that starts your session on it. That\nsession links itself and holds the item's lease while it works.\n"
|
|
4245
4245
|
).action(async (opts) => {
|
|
4246
4246
|
warnIfApiKeyFlag(opts);
|
|
4247
|
-
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-
|
|
4247
|
+
const { runWorkBuild, WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4248
4248
|
try {
|
|
4249
4249
|
await runWorkBuild(opts);
|
|
4250
4250
|
} catch (err) {
|
|
@@ -4260,7 +4260,7 @@ function registerWorkCommands(program2) {
|
|
|
4260
4260
|
"\n outerlayer work link-session 42\n\nNames an item that already exists on the calling session \u2014 it never\ncreates one. Create one with `outerlayer work build --local`. Linking\nthe same session to the same item twice is a no-op. Also takes or\nrenews that session's own 20-minute lease, unless --no-lease or\n--ended is given, or another worker already holds a live one.\n"
|
|
4261
4261
|
).action(async (number, opts) => {
|
|
4262
4262
|
warnIfApiKeyFlag(opts);
|
|
4263
|
-
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-
|
|
4263
|
+
const { runWorkLinkSession, WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4264
4264
|
try {
|
|
4265
4265
|
await runWorkLinkSession({ ...opts, number, noLease: opts.lease === false, logFailures: opts.logFailures === true });
|
|
4266
4266
|
} catch (err) {
|
|
@@ -4285,8 +4285,8 @@ most one action flag may be given.
|
|
|
4285
4285
|
`
|
|
4286
4286
|
).action(async (opts) => {
|
|
4287
4287
|
warnIfApiKeyFlag(opts);
|
|
4288
|
-
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4289
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4288
|
+
const { runWorkComment, WorkCommentCommandError } = await import('./work-comment-cmd-J5K47MBZ.js');
|
|
4289
|
+
const { WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4290
4290
|
try {
|
|
4291
4291
|
await runWorkComment(opts);
|
|
4292
4292
|
} catch (err) {
|
|
@@ -4302,8 +4302,8 @@ most one action flag may be given.
|
|
|
4302
4302
|
"\n outerlayer work threads --item 7\n\nPrints the item's general thread, then one thread per acceptance\ncriterion that carries proof or a comment, each with who is waiting\non whom next.\n"
|
|
4303
4303
|
).action(async (opts) => {
|
|
4304
4304
|
warnIfApiKeyFlag(opts);
|
|
4305
|
-
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-
|
|
4306
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4305
|
+
const { runWorkThreads, WorkCommentCommandError } = await import('./work-comment-cmd-J5K47MBZ.js');
|
|
4306
|
+
const { WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4307
4307
|
try {
|
|
4308
4308
|
await runWorkThreads(opts);
|
|
4309
4309
|
} catch (err) {
|
|
@@ -4325,7 +4325,7 @@ live addition remains on it.
|
|
|
4325
4325
|
`
|
|
4326
4326
|
).action(async (opts) => {
|
|
4327
4327
|
warnIfApiKeyFlag(opts);
|
|
4328
|
-
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-
|
|
4328
|
+
const { runWorkRemove, WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4329
4329
|
try {
|
|
4330
4330
|
await runWorkRemove(opts);
|
|
4331
4331
|
} catch (err) {
|
|
@@ -4338,7 +4338,7 @@ live addition remains on it.
|
|
|
4338
4338
|
});
|
|
4339
4339
|
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").option("--repo <owner/name>", "repository (default: the current 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) => {
|
|
4340
4340
|
warnIfApiKeyFlag(opts);
|
|
4341
|
-
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-
|
|
4341
|
+
const { runWorkStatus, WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4342
4342
|
try {
|
|
4343
4343
|
await runWorkStatus(opts);
|
|
4344
4344
|
} catch (err) {
|
|
@@ -4351,7 +4351,7 @@ live addition remains on it.
|
|
|
4351
4351
|
});
|
|
4352
4352
|
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 with an unused build request and 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) => {
|
|
4353
4353
|
warnIfApiKeyFlag(opts);
|
|
4354
|
-
const { runWorkList, WorkCommandError } = await import('./work-cmd-
|
|
4354
|
+
const { runWorkList, WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4355
4355
|
try {
|
|
4356
4356
|
await runWorkList(opts);
|
|
4357
4357
|
} catch (err) {
|
|
@@ -4367,7 +4367,7 @@ live addition remains on it.
|
|
|
4367
4367
|
"\n outerlayer work claim --item 42 --kind implement\n\nRecords a lease held by the API key that sends it. A live lease held\nby a different key is refused; claiming again with the same key extends\nit. --host is a label only.\n"
|
|
4368
4368
|
).action(async (opts) => {
|
|
4369
4369
|
warnIfApiKeyFlag(opts);
|
|
4370
|
-
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-
|
|
4370
|
+
const { runWorkClaim, WorkCommandError } = await import('./work-claim-cmd-JUC6E3R2.js');
|
|
4371
4371
|
try {
|
|
4372
4372
|
await runWorkClaim(opts);
|
|
4373
4373
|
} catch (err) {
|
|
@@ -4383,7 +4383,7 @@ live addition remains on it.
|
|
|
4383
4383
|
"\n outerlayer work renew --item 42\n\nExtends the live lease this API key holds. Refused with a 410 if the\nlease has expired, or a 403 if a different key holds it.\n"
|
|
4384
4384
|
).action(async (opts) => {
|
|
4385
4385
|
warnIfApiKeyFlag(opts);
|
|
4386
|
-
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-
|
|
4386
|
+
const { runWorkRenew, WorkCommandError } = await import('./work-claim-cmd-JUC6E3R2.js');
|
|
4387
4387
|
try {
|
|
4388
4388
|
await runWorkRenew(opts);
|
|
4389
4389
|
} catch (err) {
|
|
@@ -4402,7 +4402,7 @@ live addition remains on it.
|
|
|
4402
4402
|
"\n outerlayer work release --item 42 --outcome ok\n\nMarks the lease this API key holds released, optionally with an\noutcome. A lease held by a different key is refused. Releasing an\nalready-released lease is a no-op that returns the recorded release\ntime and outcome.\n"
|
|
4403
4403
|
).action(async (opts) => {
|
|
4404
4404
|
warnIfApiKeyFlag(opts);
|
|
4405
|
-
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-
|
|
4405
|
+
const { runWorkRelease, WorkCommandError } = await import('./work-claim-cmd-JUC6E3R2.js');
|
|
4406
4406
|
try {
|
|
4407
4407
|
await runWorkRelease(opts);
|
|
4408
4408
|
} catch (err) {
|
|
@@ -4434,8 +4434,8 @@ live addition remains on it.
|
|
|
4434
4434
|
'\n outerlayer work open-pr --title "Add the thing" --body-file pr.md\n\nIn a host build, which holds an item key, the gateway opens the pull\nrequest as the factory\'s GitHub App, from the branch the claim named,\nor edits the one already open on that branch. No gh command runs.\nIn your own session it runs `gh pr create` (or `gh pr edit`) under your\nlogin, then declares the pull request on the item, as `work pr` does.\nRun it again after a change to the title or description.\n'
|
|
4435
4435
|
).action(async (opts) => {
|
|
4436
4436
|
warnIfApiKeyFlag(opts);
|
|
4437
|
-
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-
|
|
4438
|
-
const { WorkCommandError } = await import('./work-cmd-
|
|
4437
|
+
const { runWorkOpenPr, WorkOpenPrCommandError } = await import('./work-open-pr-cmd-X46UWSPE.js');
|
|
4438
|
+
const { WorkCommandError } = await import('./work-cmd-66GA4ETV.js');
|
|
4439
4439
|
try {
|
|
4440
4440
|
await runWorkOpenPr(opts);
|
|
4441
4441
|
} catch (err) {
|
|
@@ -4452,7 +4452,7 @@ function registerRunnerCommands(program2) {
|
|
|
4452
4452
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
4453
4453
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
4454
4454
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-OOBPCY7Q.js');
|
|
4455
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
4455
|
+
const { start, RunnerStartError } = await import('./loop-CR46DEHT.js');
|
|
4456
4456
|
const { RunnerAlreadyRunningError } = await import('./pidfile-UZRH774M.js');
|
|
4457
4457
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4458
4458
|
try {
|
|
@@ -4468,7 +4468,7 @@ function registerRunnerCommands(program2) {
|
|
|
4468
4468
|
});
|
|
4469
4469
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
4470
4470
|
const { defaultRunnerConfigPath } = await import('./config-OOBPCY7Q.js');
|
|
4471
|
-
const { runRunnerCheck } = await import('./check-
|
|
4471
|
+
const { runRunnerCheck } = await import('./check-AFYUJ5SQ.js');
|
|
4472
4472
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4473
4473
|
const result = await runRunnerCheck(configPath);
|
|
4474
4474
|
if (!result.ok) {
|
|
@@ -4497,7 +4497,7 @@ function registerRunnerCommands(program2) {
|
|
|
4497
4497
|
}
|
|
4498
4498
|
try {
|
|
4499
4499
|
if (opts.service === true) {
|
|
4500
|
-
const { installServiceCommand } = await import('./command-
|
|
4500
|
+
const { installServiceCommand } = await import('./command-J5KLUIOI.js');
|
|
4501
4501
|
const result2 = await installServiceCommand({
|
|
4502
4502
|
configPath,
|
|
4503
4503
|
print: opts.print,
|
|
@@ -4553,7 +4553,7 @@ To keep it running, run ${C.yellow}outerlayer runner install --service${C.reset}
|
|
|
4553
4553
|
return;
|
|
4554
4554
|
}
|
|
4555
4555
|
const { defaultRunnerConfigPath } = await import('./config-OOBPCY7Q.js');
|
|
4556
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
4556
|
+
const { uninstallServiceCommand } = await import('./command-J5KLUIOI.js');
|
|
4557
4557
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
4558
4558
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
4559
4559
|
`);
|
|
@@ -4561,9 +4561,9 @@ To keep it running, run ${C.yellow}outerlayer runner install --service${C.reset}
|
|
|
4561
4561
|
});
|
|
4562
4562
|
runnerCmd.command("init").description("Write a runner block that fits this machine; on macOS, offers a Linux VM").option("--config <path>", configOption).option("--vm", "on macOS, run the runner in a Linux VM (Lima), with container builds").option("--no-vm", "on macOS, skip the VM and run builds as unisolated processes").option("--allow-process-builds", "where builds cannot be isolated, run them as processes anyway").addOption(new Option("--config-stdin", "the VM-side hand-off: read the whole config as JSON on stdin").hideHelp()).addOption(new Option("--vm-cli-package <path>", "install this packed CLI tarball in the VM instead of the published version").hideHelp()).addOption(new Option("--unit-name <name>", "the service unit's name").hideHelp()).action(async (opts) => {
|
|
4563
4563
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-OOBPCY7Q.js');
|
|
4564
|
-
const { runRunnerInit, RunnerInitError } = await import('./init-
|
|
4565
|
-
const { detectMachine } = await import('./machine-
|
|
4566
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
4564
|
+
const { runRunnerInit, RunnerInitError } = await import('./init-EE4JI2E4.js');
|
|
4565
|
+
const { detectMachine } = await import('./machine-XZ34ENE2.js');
|
|
4566
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-S2Z3YDK2.js');
|
|
4567
4567
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4568
4568
|
try {
|
|
4569
4569
|
const machine = detectMachine();
|
|
@@ -4663,7 +4663,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
4663
4663
|
}
|
|
4664
4664
|
let serviceUp = false;
|
|
4665
4665
|
if (installedLayout) {
|
|
4666
|
-
const { installServiceCommand } = await import('./command-
|
|
4666
|
+
const { installServiceCommand } = await import('./command-J5KLUIOI.js');
|
|
4667
4667
|
const service = await installServiceCommand({
|
|
4668
4668
|
configPath,
|
|
4669
4669
|
entryPath: process.argv[1] ?? "",
|
|
@@ -4768,15 +4768,15 @@ Next:
|
|
|
4768
4768
|
});
|
|
4769
4769
|
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) => {
|
|
4770
4770
|
const { defaultRunnerConfigPath } = await import('./config-OOBPCY7Q.js');
|
|
4771
|
-
const { requestStop } = await import('./loop-
|
|
4771
|
+
const { requestStop } = await import('./loop-CR46DEHT.js');
|
|
4772
4772
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4773
4773
|
await requestStop(configPath, Boolean(opts.now));
|
|
4774
4774
|
});
|
|
4775
4775
|
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) => {
|
|
4776
4776
|
const { defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-OOBPCY7Q.js');
|
|
4777
4777
|
const { jobsDir, runnerDir } = await import('./paths-OYKMVYJP.js');
|
|
4778
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
4779
|
-
const { renderStatus } = await import('./status-
|
|
4778
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-CR46DEHT.js');
|
|
4779
|
+
const { renderStatus } = await import('./status-HIOSSWBN.js');
|
|
4780
4780
|
const { readHousekeepingRecord } = await import('./record-C43U4PKS.js');
|
|
4781
4781
|
const path2 = await import('path');
|
|
4782
4782
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -4828,7 +4828,7 @@ Next:
|
|
|
4828
4828
|
});
|
|
4829
4829
|
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) => {
|
|
4830
4830
|
const { defaultRunnerConfigPath } = await import('./config-OOBPCY7Q.js');
|
|
4831
|
-
const { listJobFiles } = await import('./loop-
|
|
4831
|
+
const { listJobFiles } = await import('./loop-CR46DEHT.js');
|
|
4832
4832
|
const { newestAttempt, logPathFor, tail, RunnerLogsError } = await import('./logs-H55NWW4H.js');
|
|
4833
4833
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
4834
4834
|
const item = parseTrackerNumber(itemArg);
|
|
@@ -5085,7 +5085,7 @@ function registerMcpCommands(program2) {
|
|
|
5085
5085
|
function registerImportCommands(program2) {
|
|
5086
5086
|
const importCmd = program2.command("import").description("Import an existing config format into .outerlayer/");
|
|
5087
5087
|
importCmd.command("ruler").description("Port a .ruler/ tree into the equivalent .outerlayer/ tree").option("--dir <path>", "repo root to read from (default: cwd)").option("--json", "machine-readable JSON output").addHelpText("after", "\nRuler: https://github.com/intellectronica/ruler. Mostly a rename.\n").action(async (opts) => {
|
|
5088
|
-
const { runImportRuler, ImportRulerError } = await import('./import-ruler-cmd-
|
|
5088
|
+
const { runImportRuler, ImportRulerError } = await import('./import-ruler-cmd-NUSPILXT.js');
|
|
5089
5089
|
try {
|
|
5090
5090
|
const result = runImportRuler({ cwd: opts.dir, json: opts.json });
|
|
5091
5091
|
if (result.exitCode !== 0) process.exitCode = result.exitCode;
|
|
@@ -5101,7 +5101,7 @@ function registerImportCommands(program2) {
|
|
|
5101
5101
|
"after",
|
|
5102
5102
|
"\nInstalls the four maintained skills (emitting-evidence, amend,\nreporting-findings, outerlayer) and an AGENTS.md snippet teaching agents to run\n`emit artifact`. A skill that differs from this CLI's bundle is rewritten to it, and the output says so.\n"
|
|
5103
5103
|
).action(async (opts) => {
|
|
5104
|
-
const { runImportCapture, ImportCaptureError } = await import('./import-capture-cmd-
|
|
5104
|
+
const { runImportCapture, ImportCaptureError } = await import('./import-capture-cmd-SD6FI2BM.js');
|
|
5105
5105
|
try {
|
|
5106
5106
|
runImportCapture({ cwd: opts.dir, json: opts.json });
|
|
5107
5107
|
} catch (err) {
|
|
@@ -5144,7 +5144,7 @@ function registerContextCommands(program2) {
|
|
|
5144
5144
|
await compileContext({ dir: opts.dir, check: opts.check, json: opts.json });
|
|
5145
5145
|
});
|
|
5146
5146
|
contextCmd.command("adopt <stagedDir>", { hidden: true }).description("Copy context the runner staged into this checkout (container builds)").option("--json", "machine-readable JSON output").action(async (stagedDir) => {
|
|
5147
|
-
const { runContextAdopt } = await import('./context-adopt-
|
|
5147
|
+
const { runContextAdopt } = await import('./context-adopt-3GFYGDRT.js');
|
|
5148
5148
|
const { exitCode, stdout } = runContextAdopt(stagedDir, process.cwd());
|
|
5149
5149
|
process.stdout.write(stdout);
|
|
5150
5150
|
process.exitCode = exitCode;
|
|
@@ -5153,7 +5153,7 @@ function registerContextCommands(program2) {
|
|
|
5153
5153
|
"after",
|
|
5154
5154
|
"\nThe same flow SessionStart runs automatically, exposed for a manual retry or a\nfirst check outside a session. Writes AGENTS.md, .claude/**, and .outerlayer/**.\n"
|
|
5155
5155
|
).action(async (opts) => {
|
|
5156
|
-
const { materializeContext } = await import('./context-materialize-
|
|
5156
|
+
const { materializeContext } = await import('./context-materialize-YBOW5YCC.js');
|
|
5157
5157
|
const result = await materializeContext({ cwd: process.cwd(), sessionId: `manual-${Date.now()}` });
|
|
5158
5158
|
const output = formatContextMaterializeOutput(result);
|
|
5159
5159
|
if (output.exitCode !== void 0) process.exitCode = output.exitCode;
|
|
@@ -5,8 +5,8 @@ import './chunk-I2UOAV7X.js';
|
|
|
5
5
|
import { readJobFile } from './chunk-T6OIJQRT.js';
|
|
6
6
|
import './chunk-PTW6W5NR.js';
|
|
7
7
|
import { currentLink, execStartCommand } from './chunk-TI7B7UEO.js';
|
|
8
|
-
import { detectMachine } from './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import { detectMachine } from './chunk-VITHLJOZ.js';
|
|
9
|
+
import './chunk-BPTAOD6W.js';
|
|
10
10
|
import { installService, uninstallService, realTaskScheduler } from './chunk-CRLAB4PM.js';
|
|
11
11
|
import './chunk-FBTE2A2X.js';
|
|
12
12
|
import './chunk-JKIWMRFH.js';
|
|
@@ -21,7 +21,7 @@ import './chunk-CLURXEWV.js';
|
|
|
21
21
|
import './chunk-CX22S5BA.js';
|
|
22
22
|
import './chunk-HWMYGAKF.js';
|
|
23
23
|
import './chunk-2E2MG3KW.js';
|
|
24
|
-
import './chunk-
|
|
24
|
+
import './chunk-2OZH6ZY2.js';
|
|
25
25
|
import './chunk-WMPO3SKK.js';
|
|
26
26
|
import './chunk-BFESLKPP.js';
|
|
27
27
|
import './chunk-EWBM2USM.js';
|
|
@@ -36,11 +36,11 @@ import './chunk-7RQ73DLO.js';
|
|
|
36
36
|
import './chunk-2FWL7CE2.js';
|
|
37
37
|
import './chunk-HKMPVPO7.js';
|
|
38
38
|
import './chunk-WZBHBH3J.js';
|
|
39
|
-
import './chunk-
|
|
39
|
+
import './chunk-4NOIKXUL.js';
|
|
40
40
|
import './chunk-ZJSNLVCE.js';
|
|
41
|
-
import './chunk-
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
41
|
+
import './chunk-42OX3Q3A.js';
|
|
42
|
+
import './chunk-OPSPDEVU.js';
|
|
43
|
+
import './chunk-36H5BONJ.js';
|
|
44
44
|
import './chunk-YO4PSLVB.js';
|
|
45
45
|
import './chunk-PLMTLGYH.js';
|
|
46
46
|
import './chunk-YNJEOGDL.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultGitRunner, hasSymlinkComponent } from './chunk-
|
|
3
|
+
import { defaultGitRunner, hasSymlinkComponent } from './chunk-4NOIKXUL.js';
|
|
4
4
|
import './chunk-ZJSNLVCE.js';
|
|
5
|
-
import { writeContextManifest, writePinIfChanged, touchLastCheck, clearDegraded, writeSourceCache, SOURCE_CACHE_TTL_SUCCESS_MS, writeBuildHold } from './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import { writeContextManifest, writePinIfChanged, touchLastCheck, clearDegraded, writeSourceCache, SOURCE_CACHE_TTL_SUCCESS_MS, writeBuildHold } from './chunk-42OX3Q3A.js';
|
|
6
|
+
import './chunk-OPSPDEVU.js';
|
|
7
|
+
import './chunk-36H5BONJ.js';
|
|
8
8
|
import './chunk-YO4PSLVB.js';
|
|
9
9
|
import './chunk-PLMTLGYH.js';
|
|
10
10
|
import './chunk-YNJEOGDL.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { defaultGitRunner, hasSymlinkComponent, materializeContext, parseOwnerRepo, parseRemoteHost, resolveGitCommonDir } from './chunk-
|
|
3
|
+
export { defaultGitRunner, hasSymlinkComponent, materializeContext, parseOwnerRepo, parseRemoteHost, resolveGitCommonDir } from './chunk-4NOIKXUL.js';
|
|
4
4
|
import './chunk-ZJSNLVCE.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-42OX3Q3A.js';
|
|
6
|
+
import './chunk-OPSPDEVU.js';
|
|
7
|
+
import './chunk-36H5BONJ.js';
|
|
8
8
|
import './chunk-YO4PSLVB.js';
|
|
9
9
|
import './chunk-PLMTLGYH.js';
|
|
10
10
|
import './chunk-YNJEOGDL.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { needsClaudeCredential, claudeCredentialCheck, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
3
|
+
import { needsClaudeCredential, claudeCredentialCheck, missingPermissionOf, missingPermissionFix } from './chunk-BORFBENT.js';
|
|
4
4
|
import { launcherCheck } from './chunk-PTW6W5NR.js';
|
|
5
5
|
import './chunk-TI7B7UEO.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 } from './chunk-
|
|
8
|
+
import './chunk-OCHRV5A6.js';
|
|
9
|
+
import { detectMachine, supportsContainerBuilds, describeMachineDocker, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned } from './chunk-VITHLJOZ.js';
|
|
10
|
+
import { MIN_ENGINE_MAJOR } from './chunk-BPTAOD6W.js';
|
|
11
11
|
import './chunk-Y7UQHKFY.js';
|
|
12
12
|
import './chunk-N5FOE5PS.js';
|
|
13
13
|
import './chunk-OGFGZQA3.js';
|
|
@@ -17,7 +17,7 @@ import { buildxState } from './chunk-CLURXEWV.js';
|
|
|
17
17
|
import { CLAUDE_CODE_VERSION } from './chunk-CX22S5BA.js';
|
|
18
18
|
import './chunk-HWMYGAKF.js';
|
|
19
19
|
import './chunk-2E2MG3KW.js';
|
|
20
|
-
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-
|
|
20
|
+
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-2OZH6ZY2.js';
|
|
21
21
|
import './chunk-WMPO3SKK.js';
|
|
22
22
|
import './chunk-BFESLKPP.js';
|
|
23
23
|
import './chunk-EWBM2USM.js';
|
|
@@ -32,11 +32,11 @@ import { parseSize } from './chunk-7RQ73DLO.js';
|
|
|
32
32
|
import './chunk-2FWL7CE2.js';
|
|
33
33
|
import './chunk-HKMPVPO7.js';
|
|
34
34
|
import './chunk-WZBHBH3J.js';
|
|
35
|
-
import { defaultGitRunner } from './chunk-
|
|
35
|
+
import { defaultGitRunner } from './chunk-4NOIKXUL.js';
|
|
36
36
|
import './chunk-ZJSNLVCE.js';
|
|
37
|
-
import './chunk-
|
|
38
|
-
import './chunk-
|
|
39
|
-
import './chunk-
|
|
37
|
+
import './chunk-42OX3Q3A.js';
|
|
38
|
+
import './chunk-OPSPDEVU.js';
|
|
39
|
+
import './chunk-36H5BONJ.js';
|
|
40
40
|
import { defaultFetch } from './chunk-YO4PSLVB.js';
|
|
41
41
|
import './chunk-PLMTLGYH.js';
|
|
42
42
|
import './chunk-YNJEOGDL.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-YCHJIAP2.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-HHJDN6AU.js';
|
|
5
5
|
import './chunk-TBT347UY.js';
|
|
6
6
|
import './chunk-F7CU5ABH.js';
|
|
@@ -23,7 +23,7 @@ import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_FI
|
|
|
23
23
|
import './chunk-EABW6AJQ.js';
|
|
24
24
|
import './chunk-V7NIVOFD.js';
|
|
25
25
|
import './chunk-ZM2IMMYN.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-7HWIKEU5.js';
|
|
27
27
|
import './chunk-XCCLFVXM.js';
|
|
28
28
|
import './chunk-BJ3KTMDH.js';
|
|
29
29
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { EmitError, runEmit } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { EmitError, runEmit } from './chunk-OULFBETM.js';
|
|
4
|
+
import './chunk-OPSPDEVU.js';
|
|
5
|
+
import './chunk-36H5BONJ.js';
|
|
6
6
|
import './chunk-YNJEOGDL.js';
|
|
7
7
|
import './chunk-RA3O54FC.js';
|
|
8
8
|
import './chunk-Z5GEFMRW.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-YCHJIAP2.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-HHJDN6AU.js';
|
|
5
5
|
import './chunk-TBT347UY.js';
|
|
6
6
|
import './chunk-F7CU5ABH.js';
|
|
@@ -23,7 +23,7 @@ import { EmittedNameSchema, EMITTED_RESULT_MAX_LINK_LENGTH, EMITTED_RESULTS, EMI
|
|
|
23
23
|
import './chunk-EABW6AJQ.js';
|
|
24
24
|
import './chunk-V7NIVOFD.js';
|
|
25
25
|
import './chunk-ZM2IMMYN.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-7HWIKEU5.js';
|
|
27
27
|
import './chunk-XCCLFVXM.js';
|
|
28
28
|
import './chunk-BJ3KTMDH.js';
|
|
29
29
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { AUTO_SYNC_DEBOUNCE_MS, WORK_LEASE_RENEW_DEBOUNCE_MS, WORK_LINK_RETRIES, contextPossiblyGoverned, handleWorkLaunch, handleWorkSessionEnd, hookFiredMarkerPath, logHookError, maybeAutoSync, maybeRenewWorkLease, recordLinkExitFailure, runHookFast, spoolDir } from './chunk-
|
|
3
|
+
export { AUTO_SYNC_DEBOUNCE_MS, WORK_LEASE_RENEW_DEBOUNCE_MS, WORK_LINK_RETRIES, contextPossiblyGoverned, handleWorkLaunch, handleWorkSessionEnd, hookFiredMarkerPath, logHookError, maybeAutoSync, maybeRenewWorkLease, recordLinkExitFailure, runHookFast, spoolDir } from './chunk-7HWIKEU5.js';
|
|
4
4
|
import './chunk-XCCLFVXM.js';
|
|
5
5
|
import './chunk-BJ3KTMDH.js';
|
|
6
6
|
import './chunk-VNVZDWO3.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-OPSPDEVU.js';
|
|
4
|
+
import './chunk-36H5BONJ.js';
|
|
5
5
|
import './chunk-YNJEOGDL.js';
|
|
6
6
|
import './chunk-RA3O54FC.js';
|
|
7
7
|
import './chunk-Z5GEFMRW.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath } from './chunk-
|
|
3
|
+
import { normalizePath } from './chunk-36H5BONJ.js';
|
|
4
4
|
import './chunk-YNJEOGDL.js';
|
|
5
5
|
import './chunk-Z5GEFMRW.js';
|
|
6
6
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
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-B7TFCJR2.js');
|
|
10
10
|
await runHookFast(argv[1]);
|
|
11
11
|
process.exit(0);
|
|
12
12
|
}
|
|
@@ -21,6 +21,6 @@ if (argv[0] === "statusline") {
|
|
|
21
21
|
await runStatuslineFast(argv.slice(1));
|
|
22
22
|
process.exit(0);
|
|
23
23
|
}
|
|
24
|
-
(await import('./hook-fast-
|
|
25
|
-
var { runCli } = await import('./cli-
|
|
24
|
+
(await import('./hook-fast-B7TFCJR2.js')).recordLinkExitFailure(argv);
|
|
25
|
+
var { runCli } = await import('./cli-L2TU7WDF.js');
|
|
26
26
|
await runCli(process.argv);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, readConfigObject, runRunnerInit } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, readConfigObject, runRunnerInit } from './chunk-OCHRV5A6.js';
|
|
4
|
+
import './chunk-VITHLJOZ.js';
|
|
5
|
+
import './chunk-BPTAOD6W.js';
|
|
6
6
|
import './chunk-Y7UQHKFY.js';
|
|
7
7
|
import './chunk-N5FOE5PS.js';
|
|
8
8
|
import './chunk-OGFGZQA3.js';
|
|
@@ -12,7 +12,7 @@ import './chunk-CLURXEWV.js';
|
|
|
12
12
|
import './chunk-CX22S5BA.js';
|
|
13
13
|
import './chunk-HWMYGAKF.js';
|
|
14
14
|
import './chunk-2E2MG3KW.js';
|
|
15
|
-
import './chunk-
|
|
15
|
+
import './chunk-2OZH6ZY2.js';
|
|
16
16
|
import './chunk-WMPO3SKK.js';
|
|
17
17
|
import './chunk-BFESLKPP.js';
|
|
18
18
|
import './chunk-EWBM2USM.js';
|
|
@@ -26,11 +26,11 @@ import './chunk-7RQ73DLO.js';
|
|
|
26
26
|
import './chunk-2FWL7CE2.js';
|
|
27
27
|
import './chunk-HKMPVPO7.js';
|
|
28
28
|
import './chunk-WZBHBH3J.js';
|
|
29
|
-
import './chunk-
|
|
29
|
+
import './chunk-4NOIKXUL.js';
|
|
30
30
|
import './chunk-ZJSNLVCE.js';
|
|
31
|
-
import './chunk-
|
|
32
|
-
import './chunk-
|
|
33
|
-
import './chunk-
|
|
31
|
+
import './chunk-42OX3Q3A.js';
|
|
32
|
+
import './chunk-OPSPDEVU.js';
|
|
33
|
+
import './chunk-36H5BONJ.js';
|
|
34
34
|
import './chunk-YO4PSLVB.js';
|
|
35
35
|
import './chunk-PLMTLGYH.js';
|
|
36
36
|
import './chunk-YNJEOGDL.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-OCHRV5A6.js';
|
|
4
|
+
import './chunk-VITHLJOZ.js';
|
|
5
|
+
import './chunk-BPTAOD6W.js';
|
|
6
6
|
import { VM_SERVICE_NAME } from './chunk-FBTE2A2X.js';
|
|
7
7
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-JKIWMRFH.js';
|
|
8
8
|
import { writeLaunchAgent } from './chunk-LF6MLJCY.js';
|
|
@@ -15,7 +15,7 @@ import './chunk-CLURXEWV.js';
|
|
|
15
15
|
import './chunk-CX22S5BA.js';
|
|
16
16
|
import './chunk-HWMYGAKF.js';
|
|
17
17
|
import './chunk-2E2MG3KW.js';
|
|
18
|
-
import './chunk-
|
|
18
|
+
import './chunk-2OZH6ZY2.js';
|
|
19
19
|
import './chunk-WMPO3SKK.js';
|
|
20
20
|
import './chunk-BFESLKPP.js';
|
|
21
21
|
import './chunk-EWBM2USM.js';
|
|
@@ -30,11 +30,11 @@ import { parseSize } from './chunk-7RQ73DLO.js';
|
|
|
30
30
|
import './chunk-2FWL7CE2.js';
|
|
31
31
|
import './chunk-HKMPVPO7.js';
|
|
32
32
|
import './chunk-WZBHBH3J.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-4NOIKXUL.js';
|
|
34
34
|
import './chunk-ZJSNLVCE.js';
|
|
35
|
-
import './chunk-
|
|
36
|
-
import './chunk-
|
|
37
|
-
import './chunk-
|
|
35
|
+
import './chunk-42OX3Q3A.js';
|
|
36
|
+
import './chunk-OPSPDEVU.js';
|
|
37
|
+
import './chunk-36H5BONJ.js';
|
|
38
38
|
import './chunk-YO4PSLVB.js';
|
|
39
39
|
import './chunk-PLMTLGYH.js';
|
|
40
40
|
import './chunk-YNJEOGDL.js';
|