@outerlayer/cli 0.40.0-next.20261116030912 → 0.40.0-next.20261116035218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-setup-KUOWKHAG.js → agent-setup-YTNSQJRL.js} +19 -19
- package/dist/{agent-subcommand-BIZMU7EZ.js → agent-subcommand-UKKTMST3.js} +4 -4
- package/dist/{bridge-6IBWOFEJ.js → bridge-NSKQ7OMW.js} +7 -7
- package/dist/{build-3BX3EJC3.js → build-QAJJNEHA.js} +13 -13
- package/dist/{build-disk-KN7OJLKB.js → build-disk-QJXWKNIT.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-DOJUSWGH.js → builder-BY3ICSMA.js} +10 -10
- package/dist/caller-QGY2IGAL.js +23 -0
- package/dist/{check-GR2WNESK.js → check-UPWM6AJX.js} +55 -55
- package/dist/{chunk-SYFVCV2V.js → chunk-2HGS4N64.js} +2 -2
- package/dist/{chunk-YDB72T5Z.js → chunk-2RXPL7QY.js} +9 -9
- package/dist/{chunk-RNCCRUT5.js → chunk-2ZF62BAK.js} +1 -1
- package/dist/{chunk-2PRLSABK.js → chunk-3JCZM2IZ.js} +3 -3
- package/dist/{chunk-E5PWV6H2.js → chunk-3Q3BM2MK.js} +6 -6
- package/dist/{chunk-WEUBA44W.js → chunk-3S6X6OJ5.js} +7 -7
- package/dist/{chunk-HFVTLCI7.js → chunk-4IYZRQ77.js} +5 -5
- package/dist/{chunk-IIYDYHS5.js → chunk-4JBEGQFS.js} +3 -3
- package/dist/{chunk-IRFN2ZHJ.js → chunk-4KCWAP5L.js} +1 -1
- package/dist/{chunk-ZBD2YOGH.js → chunk-4QXABXJR.js} +1 -1
- package/dist/{chunk-PIXDSHVH.js → chunk-5RKCQYXR.js} +4 -4
- package/dist/{chunk-RIITHK4F.js → chunk-5U6AUT4A.js} +1 -1
- package/dist/{chunk-BMMSIGV4.js → chunk-66DSYZNV.js} +1 -1
- package/dist/{chunk-PT3DOY6P.js → chunk-6TJD5B4O.js} +1 -1
- package/dist/{chunk-6FHMWJHK.js → chunk-754IBIFB.js} +1 -1
- package/dist/{chunk-ZCOIE7ZJ.js → chunk-A32NRZ74.js} +2 -2
- package/dist/{chunk-LPQJ5LXP.js → chunk-A43LWCIT.js} +1124 -282
- package/dist/{chunk-PSKNTGC3.js → chunk-A5DPSY2H.js} +3 -3
- package/dist/{chunk-EGYZGB2P.js → chunk-ASYPP2M6.js} +3 -3
- package/dist/{chunk-MGN525G6.js → chunk-BP2FEQPW.js} +1 -1
- package/dist/{chunk-5YEWBLLX.js → chunk-BXFR2IQJ.js} +3 -3
- package/dist/{chunk-EVMSDUK7.js → chunk-C2AA5SKC.js} +5 -5
- package/dist/{chunk-WMXJ3XBP.js → chunk-CA6WQIZX.js} +2 -2
- package/dist/{chunk-LCZGMJXD.js → chunk-DJCZ26UT.js} +3 -3
- package/dist/{chunk-R3RALX7H.js → chunk-DWUDIRL2.js} +5 -5
- package/dist/{chunk-D7S7PQT5.js → chunk-EJBO6QDQ.js} +10 -10
- package/dist/{chunk-IKGAVS5X.js → chunk-EM6PU2AC.js} +3 -1
- package/dist/{chunk-ZJ2PTV3I.js → chunk-EOE7QIQD.js} +3 -3
- package/dist/{chunk-VXU5IAEQ.js → chunk-EOFA37VL.js} +4 -4
- package/dist/{chunk-SF2TBJBP.js → chunk-F3J4UKBF.js} +1 -1
- package/dist/{chunk-XOJRFV3U.js → chunk-FWKYG2DQ.js} +3 -3
- package/dist/{chunk-U5PIM7JH.js → chunk-GN6TT6WD.js} +29 -29
- package/dist/{chunk-ZDXEZPRM.js → chunk-GWEDQ6WA.js} +6 -6
- package/dist/{chunk-YN6EKURT.js → chunk-HATKUSIR.js} +4 -4
- package/dist/{chunk-T5MBLAIO.js → chunk-HELCGKC3.js} +1 -1
- package/dist/{chunk-SEKJKOOB.js → chunk-HNQIZ3Z7.js} +3 -3
- package/dist/{chunk-PLVHIQJN.js → chunk-HS45JMDJ.js} +76 -14
- package/dist/{chunk-YYSW7OKI.js → chunk-HV3ERHDD.js} +4 -4
- package/dist/{chunk-BFZDVD7T.js → chunk-HW62ZXKA.js} +5 -5
- package/dist/{chunk-Y6FI3HCQ.js → chunk-IISG755E.js} +1 -1
- package/dist/{chunk-2YKSBXWU.js → chunk-IOPPIKGX.js} +4 -4
- package/dist/{chunk-4SAXGCD2.js → chunk-IS6JMEQQ.js} +5 -5
- package/dist/{chunk-XDBHRWPQ.js → chunk-JGUGZA3I.js} +2 -2
- package/dist/{chunk-7PZDPISM.js → chunk-JIMISJV2.js} +62 -2
- package/dist/{chunk-WKPOKOUQ.js → chunk-JTTFL5SB.js} +9 -9
- package/dist/{chunk-N7PG5JAD.js → chunk-KDASHEYT.js} +1 -1
- package/dist/{chunk-7GJGSADZ.js → chunk-KEQ6ZVKI.js} +1 -1
- package/dist/{chunk-M53UNEO6.js → chunk-LA66NWUO.js} +1 -1
- package/dist/{chunk-GODZ6QAN.js → chunk-LEYPTQSX.js} +3 -3
- package/dist/{chunk-QFAH525L.js → chunk-LZQN5PXB.js} +2 -2
- package/dist/{chunk-RRRW2M4B.js → chunk-MCXT33TK.js} +6 -6
- package/dist/{chunk-XOKGCNSG.js → chunk-MFRDSVMG.js} +1 -1
- package/dist/{chunk-IZHE3WOW.js → chunk-MP2Z5ALN.js} +2 -2
- package/dist/{chunk-TQ3PXYPJ.js → chunk-MUAHDK6Y.js} +8 -8
- package/dist/{chunk-ISRMDI2H.js → chunk-NFXQXWIL.js} +5 -5
- package/dist/{chunk-S3ZX2GTO.js → chunk-NOAJUMDK.js} +16 -16
- package/dist/{chunk-PG4UW6QW.js → chunk-NYXPJ2EM.js} +1 -1
- package/dist/{chunk-LFAJCUDD.js → chunk-O32OL4Z7.js} +27 -27
- package/dist/{chunk-5SKYWQ64.js → chunk-OH34EJKB.js} +1 -1
- package/dist/{chunk-BFKSIA3V.js → chunk-OHZC2YUD.js} +2 -2
- package/dist/{chunk-TCPWJBH5.js → chunk-P2DC7QO7.js} +8 -8
- package/dist/{chunk-OC3BSNNE.js → chunk-Q2P2PCQE.js} +2 -2
- package/dist/{chunk-TQPFWWND.js → chunk-Q7AP5O5B.js} +3 -3
- package/dist/{chunk-NDDXBJMX.js → chunk-QGAX44JA.js} +1 -1
- package/dist/{chunk-BAPRSDUR.js → chunk-QLNWEME3.js} +7 -7
- package/dist/{chunk-UTSBE4MP.js → chunk-RAKJRPPQ.js} +1 -1
- package/dist/{chunk-55GT5FLR.js → chunk-RLKCG6MX.js} +1 -1
- package/dist/{chunk-TZZU6IAM.js → chunk-RP4A25IW.js} +1 -1
- package/dist/{chunk-RNZQWJSI.js → chunk-SAS6ZL4X.js} +4 -4
- package/dist/{chunk-BD254PYH.js → chunk-UEB6ENFZ.js} +1 -1
- package/dist/{chunk-CG7326ET.js → chunk-VTFCX6IZ.js} +7 -7
- package/dist/{chunk-DYV2OC4S.js → chunk-VZPW4RPS.js} +1 -1
- package/dist/{chunk-SDLWJF6H.js → chunk-WSU5ADF2.js} +7 -7
- package/dist/{chunk-7PFRNOSF.js → chunk-X5TL4MVO.js} +3 -1
- package/dist/{chunk-2Q5OMKDK.js → chunk-XDQQ5SQE.js} +4 -4
- package/dist/{chunk-OUL5E5UC.js → chunk-XQ2FPOXF.js} +4 -4
- package/dist/{chunk-IQWBUZ75.js → chunk-ZKEPPOR6.js} +3 -3
- package/dist/{claude-launcher-ZSCQOG3G.js → claude-launcher-U6QXR47X.js} +27 -10
- package/dist/{cli-CNZMK32P.js → cli-CEQO7L2A.js} +165 -165
- package/dist/{command-DFRKPEN7.js → command-VM4LKQMJ.js} +51 -51
- package/dist/{config-TGFG7IID.js → config-RM7KS3VB.js} +12 -12
- package/dist/{connect-cmd-UYJV435V.js → connect-cmd-5Q2Z2LIF.js} +11 -11
- package/dist/{container-start-6CECWERV.js → container-start-JT36A3OE.js} +48 -48
- package/dist/{context-cleanup-VYUESYGU.js → context-cleanup-6LEQ2KKF.js} +4 -4
- package/dist/{context-show-cmd-XIPY7JXC.js → context-show-cmd-5BHU6JZQ.js} +12 -12
- package/dist/{control-plane-launch-HQPMYL7O.js → control-plane-launch-OIFEGFA6.js} +15 -15
- package/dist/{demo-record-cmd-UBYX2VAE.js → demo-record-cmd-MRZ5Z6GU.js} +8 -8
- package/dist/{demo-voice-cmd-ABTYSDTU.js → demo-voice-cmd-Y4DFOQQY.js} +20 -20
- package/dist/{docker-E35HTSGN.js → docker-YVMDE3NI.js} +10 -10
- package/dist/{doctor-2PHGAJBZ.js → doctor-ZESKTMJR.js} +50 -50
- package/dist/{emit-artifact-cmd-R5BOINKV.js → emit-artifact-cmd-VS73NUKN.js} +19 -19
- package/dist/{emit-cmd-CBCODUWX.js → emit-cmd-JDTZX5DQ.js} +7 -7
- package/dist/{emit-criteria-cmd-VWCPZ3TV.js → emit-criteria-cmd-4CDD2RUG.js} +14 -14
- package/dist/{emit-demo-cmd-QPF3MGY3.js → emit-demo-cmd-DUHHIUCF.js} +20 -20
- package/dist/{emit-finding-cmd-O2HNKNSU.js → emit-finding-cmd-6QHIKSTT.js} +14 -14
- package/dist/{emit-result-cmd-CFS2YAS5.js → emit-result-cmd-65SDT52A.js} +18 -18
- package/dist/{emit-step-cmd-Q43ESQ5J.js → emit-step-cmd-AUPTW6SU.js} +14 -14
- package/dist/{exec-client-QDEZML3U.js → exec-client-Z2ORBB7W.js} +8 -8
- package/dist/find-unit-5LWPI53X.js +24 -0
- package/dist/{findings-cmd-ZWNSAECA.js → findings-cmd-XIUMQTSY.js} +14 -14
- package/dist/{fleet-readiness-VSPHFYWE.js → fleet-readiness-I6IPCWYO.js} +14 -14
- package/dist/{governing-source-MIRABOUE.js → governing-source-JH7PYU5I.js} +20 -20
- package/dist/{guest-init-QYJVWDCD.js → guest-init-J5M336SR.js} +9 -9
- package/dist/{hook-fast-E2JV656K.js → hook-fast-7ZBDTVKP.js} +4 -4
- package/dist/{hook-install-ZZV5WVDH.js → hook-install-RXYTPBDL.js} +4 -4
- package/dist/{hook-wrap-fast-GVS5HF5C.js → hook-wrap-fast-Y5KKK67C.js} +3 -3
- package/dist/host-checks-YFNJUO46.js +82 -0
- package/dist/{host-key-4RD4MTJ2.js → host-key-F46AUWGU.js} +8 -8
- package/dist/{image-tag-SNXCNAGF.js → image-tag-HCLSC7NI.js} +8 -8
- package/dist/index.js +6 -6
- package/dist/{init-N4GNHORE.js → init-GPZVWNC4.js} +46 -46
- package/dist/init-Y6SAA4UN.js +82 -0
- package/dist/{init-agent-6K26WOFF.js → init-agent-KTITQSB3.js} +46 -46
- package/dist/init-cmd-ACOGV7H7.js +53 -0
- package/dist/{init-update-GHLRW7BP.js → init-update-4Y3XAWG2.js} +23 -23
- package/dist/install-cmd-LKVRFYRO.js +26 -0
- package/dist/launch-agent-7XNKDSV4.js +26 -0
- package/dist/{layout-QU4DUYQQ.js → layout-ANEVGSIG.js} +4 -4
- package/dist/{logs-N7TOXQWL.js → logs-FRYVEZNO.js} +7 -7
- package/dist/loop-BMUIHTJ4.js +92 -0
- package/dist/machine-YTKXLOBK.js +82 -0
- package/dist/{machine-skills-DLDDT4BE.js → machine-skills-ZDIGEJXS.js} +4 -4
- package/dist/{mcp-install-cmd-TFKCJSAH.js → mcp-install-cmd-ZESEU7X4.js} +4 -4
- package/dist/{mcp-serve-cmd-YWBSSEYK.js → mcp-serve-cmd-UWTWBJKJ.js} +9 -9
- package/dist/{paths-GUVGFCBQ.js → paths-I4QL5IY5.js} +7 -7
- package/dist/pending-7PMAF3IX.js +18 -0
- package/dist/{pidfile-AOQMDBSW.js → pidfile-BVALR6BG.js} +8 -8
- package/dist/{record-2RQWFYJ4.js → record-NMCBSQOG.js} +8 -8
- package/dist/{relay-VZEEKIKG.js → relay-UMN5CGTS.js} +5 -5
- package/dist/{relay-protocol-DF7PZPX2.js → relay-protocol-Z3WU3UEO.js} +5 -5
- package/dist/{run-cmd-W2XIBU2G.js → run-cmd-W2QHZXC7.js} +14 -14
- package/dist/{runner-agents-O7G6HTWI.js → runner-agents-LMOOIFHS.js} +4 -4
- package/dist/runner-env-6UYXCBB6.js +24 -0
- package/dist/{runner-identity-MU7HDFGF.js → runner-identity-AOUW4J6F.js} +10 -10
- package/dist/{runner-key-C7IELBJA.js → runner-key-OMFGRSVU.js} +46 -46
- package/dist/{session-sender-NDP6HVSG.js → session-sender-VOPQM2VU.js} +19 -19
- package/dist/{setup-cmd-PQTTUAXH.js → setup-cmd-YM2OSU5H.js} +12 -12
- package/dist/{setup-wiring-4GXHD73A.js → setup-wiring-FFVQTX2C.js} +55 -55
- package/dist/{shell-function-RBJR373S.js → shell-function-7N3ILFLG.js} +2 -2
- package/dist/{spec-cmd-LEU2PGWP.js → spec-cmd-YALZTLRU.js} +15 -15
- package/dist/{starter-pack-3HB74L6Q.js → starter-pack-5B3PQLKF.js} +5 -5
- package/dist/state-GXT2YMJ6.js +18 -0
- package/dist/{status-WJ5W32DG.js → status-HFJLKIIK.js} +46 -46
- package/dist/{statusline-fast-WUXKRABL.js → statusline-fast-ZWMTN36K.js} +3 -3
- package/dist/{sync-cmd-Q3FERZNI.js → sync-cmd-KZHUVTLQ.js} +18 -18
- package/dist/update-steps-62PSEKFT.js +83 -0
- package/dist/{watch-2Z2HFUIL.js → watch-APCEAC7T.js} +18 -18
- package/dist/{work-claim-cmd-Q4EXZDXE.js → work-claim-cmd-SLWQIUT2.js} +20 -20
- package/dist/{work-cmd-JNSI6X5D.js → work-cmd-VBWUUTMK.js} +14 -14
- package/dist/{work-comment-cmd-4AD66BWL.js → work-comment-cmd-XIT4UIZJ.js} +17 -17
- package/dist/{work-demo-cmd-BBNNMB4P.js → work-demo-cmd-YVSS46A2.js} +14 -14
- package/dist/{work-logs-cmd-EU2Z2P2F.js → work-logs-cmd-2J4Z5HU2.js} +14 -14
- package/dist/{work-mock-cmd-5W52S7J5.js → work-mock-cmd-OR4RXGD3.js} +14 -14
- package/dist/{work-needs-attention-cmd-6X3DMFB3.js → work-needs-attention-cmd-AUCX5CDX.js} +14 -14
- package/dist/{work-no-change-cmd-JS5GWIV5.js → work-no-change-cmd-LAX7IXTD.js} +14 -14
- package/dist/{work-open-pr-cmd-3KHOY5KT.js → work-open-pr-cmd-GDRGKMJA.js} +15 -15
- package/dist/{work-pr-cmd-LJDDDQS4.js → work-pr-cmd-QAJ2UGKM.js} +14 -14
- package/dist/{work-proofs-cmd-RE7JFHXA.js → work-proofs-cmd-T5YCQZJW.js} +16 -16
- package/dist/{work-proofs-record-R2V7AW6S.js → work-proofs-record-GNVISJ6H.js} +24 -24
- package/dist/{work-stop-cmd-WTKUFCEF.js → work-stop-cmd-Y5ORIVGV.js} +14 -14
- package/package.json +2 -2
- package/dist/caller-YHE7IHC7.js +0 -23
- package/dist/find-unit-HKCVRS7L.js +0 -24
- package/dist/host-checks-CVNA5FU6.js +0 -82
- package/dist/init-6CJYRUWL.js +0 -82
- package/dist/init-cmd-GPESZN5W.js +0 -53
- package/dist/install-cmd-PEFKMYGU.js +0 -26
- package/dist/launch-agent-P5KMBBB5.js +0 -26
- package/dist/loop-ZEQTRVB5.js +0 -92
- package/dist/machine-Y4DDIC7H.js +0 -82
- package/dist/pending-PXRZ7SIJ.js +0 -18
- package/dist/runner-env-TJE5WGPK.js +0 -24
- package/dist/state-YHPOHZ4I.js +0 -18
- package/dist/update-steps-DF275KW3.js +0 -83
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
4
|
-
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-NOAJUMDK.js';
|
|
4
|
+
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-ZKEPPOR6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
8
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-A43LWCIT.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-NYXPJ2EM.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-QLNWEME3.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-KDASHEYT.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-A43LWCIT.js';
|
|
12
12
|
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-MCUI6RHU.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-YFNJUO46.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-YFNJUO46.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-GNVISJ6H.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-HATKUSIR.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-BP2FEQPW.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
8
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-P2DC7QO7.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-4QXABXJR.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
12
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-VZPW4RPS.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-EOFA37VL.js';
|
|
12
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-OHZC2YUD.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
15
15
|
import { join, dirname } from 'path';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-A43LWCIT.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -46,6 +46,8 @@ function installErrorFor(err, relPath) {
|
|
|
46
46
|
switch (err.problem) {
|
|
47
47
|
case "not-json":
|
|
48
48
|
return new McpInstallError(`${relPath} exists and is not valid JSON \u2014 fix or remove it, then run the command again`);
|
|
49
|
+
case "not-toml":
|
|
50
|
+
return new McpInstallError(`${relPath} exists and is not valid TOML \u2014 fix or remove it, then run the command again`);
|
|
49
51
|
case "not-object":
|
|
50
52
|
return new McpInstallError(`${relPath} exists and its top level is not a JSON object \u2014 refusing to overwrite`);
|
|
51
53
|
case "servers-not-object":
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-66DSYZNV.js';
|
|
4
|
+
import { currentVersion, entryIn, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-6TJD5B4O.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { defaultRunnerConfigPath } from './chunk-
|
|
7
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { defaultRunnerConfigPath } from './chunk-5RKCQYXR.js';
|
|
7
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-VZPW4RPS.js';
|
|
8
8
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
9
9
|
import { dirname, sep, join, resolve } from 'path';
|
|
10
10
|
import { spawnSync } from 'child_process';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
6
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-EOFA37VL.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-FWKYG2DQ.js';
|
|
5
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
6
|
+
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
9
9
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-JGUGZA3I.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-DHB3M244.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-KDASHEYT.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
11
11
|
import { remoteLookupFailed } from './chunk-Y55ARAPE.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { withInjectedPrograms } from './chunk-
|
|
4
|
-
import { sharedSkillNames } from './chunk-
|
|
5
|
-
import {
|
|
3
|
+
import { withInjectedPrograms } from './chunk-OH34EJKB.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-4JBEGQFS.js';
|
|
5
|
+
import { versionAtLeast, GOVERNANCE_VARIABLE, CONTROL_PLANE_DIR_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import { defaultAgents, agentById, legacyAgent } from './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import { LEGACY_AGENT } from './chunk-
|
|
7
|
+
import { setupMachineSkills } from './chunk-HELCGKC3.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-A43LWCIT.js';
|
|
9
|
+
import './chunk-HS45JMDJ.js';
|
|
10
|
+
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
11
11
|
import './chunk-VSBG7MMU.js';
|
|
12
12
|
import './chunk-RA3O54FC.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -244,9 +244,18 @@ async function start(context, args, env) {
|
|
|
244
244
|
const spec = launch.interactive({ cwd: context.cwd, program: context.program, callerArgs: [...flags, ...args], env: sessionEnv, controlPlane: context.controlPlane, ownSkills: context.ownSkills });
|
|
245
245
|
return context.controlPlane === void 0 ? spec : { ...spec, env: { ...spec.env, [CONTROL_PLANE_DIR_VARIABLE]: context.controlPlane } };
|
|
246
246
|
};
|
|
247
|
-
const run = (flags) => {
|
|
247
|
+
const run = async (flags) => {
|
|
248
248
|
const spec = specFor(flags);
|
|
249
|
-
|
|
249
|
+
try {
|
|
250
|
+
return await context.runProgram(spec.program, [...spec.args], spec.env, context.cwd, stderr);
|
|
251
|
+
} finally {
|
|
252
|
+
try {
|
|
253
|
+
launch.finish?.(spec);
|
|
254
|
+
} catch (err) {
|
|
255
|
+
stderr(`${prefix} could not clean up after ${spec.program}: ${err instanceof Error ? err.message : String(err)}
|
|
256
|
+
`);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
250
259
|
};
|
|
251
260
|
if (session === void 0) return run(named.args);
|
|
252
261
|
if (sessionId !== void 0 && session.exists(sessionId, sessionEnv)) return run([]);
|
|
@@ -305,6 +314,14 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
305
314
|
`);
|
|
306
315
|
return 127;
|
|
307
316
|
}
|
|
317
|
+
if (launch.minimumReason !== void 0) {
|
|
318
|
+
const found2 = /\d+\.\d+\.\d+/.exec(launch.version(program, env))?.[0];
|
|
319
|
+
if (found2 !== void 0 && !versionAtLeast(found2, descriptor.versions.minimum)) {
|
|
320
|
+
stderr(`${prefix} ${descriptor.label} ${found2} is older than ${descriptor.versions.minimum}, ${launch.minimumReason}; the minimum version is ${descriptor.versions.minimum}
|
|
321
|
+
`);
|
|
322
|
+
return 1;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
308
325
|
try {
|
|
309
326
|
removeStaleOwnSkillsDirs(home);
|
|
310
327
|
} catch {
|
|
@@ -325,7 +342,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
325
342
|
return 1;
|
|
326
343
|
}
|
|
327
344
|
} else {
|
|
328
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
345
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-OIFEGFA6.js');
|
|
329
346
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
330
347
|
if (plane.kind === "none") {
|
|
331
348
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|