@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,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-C2AA5SKC.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-EM6PU2AC.js';
|
|
7
|
+
import { autoConnect } from './chunk-LZQN5PXB.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-KDASHEYT.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-OHZC2YUD.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
14
14
|
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-MCUI6RHU.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-
|
|
4
|
-
import { LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-A43LWCIT.js';
|
|
4
|
+
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
7
7
|
|
|
@@ -63,6 +63,57 @@ var CLAUDE_CODE = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
+
// ../agents/src/codex/descriptor.ts
|
|
67
|
+
var CODEX = {
|
|
68
|
+
id: "codex",
|
|
69
|
+
label: "Codex",
|
|
70
|
+
color: "#10A37F",
|
|
71
|
+
program: "codex",
|
|
72
|
+
// The one version the rollout parser and the launch were recorded against. `packages/cli/src/runner/image/pins.ts` pins the same version as `CODEX_VERSION`.
|
|
73
|
+
versions: { minimum: "0.169.0", tested: { from: "0.169.0", to: "0.169.0" } },
|
|
74
|
+
providers: ["openai"],
|
|
75
|
+
credentials: {
|
|
76
|
+
label: "Codex",
|
|
77
|
+
setupCommand: "codex login",
|
|
78
|
+
forwarded: ["OPENAI_API_KEY"],
|
|
79
|
+
stripped: ["OPENAI_API_KEY"],
|
|
80
|
+
placeholders: {
|
|
81
|
+
OPENAI_API_KEY: "sk-proj-placeholder-not-a-real-key"
|
|
82
|
+
},
|
|
83
|
+
kinds: {
|
|
84
|
+
OPENAI_API_KEY: { pattern: "^sk-(?!ant-)[A-Za-z0-9_-]+$", provider: "openai", providerKind: "api-key", starts: "sk-" }
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
capture: { sessionFolder: "~/.codex/sessions" },
|
|
88
|
+
context: {
|
|
89
|
+
// Codex reads `AGENTS.md` and `.agents/skills`, which the control plane shares with other agents.
|
|
90
|
+
instructionFiles: [],
|
|
91
|
+
repoSkillFolders: [],
|
|
92
|
+
userSkillFolder: "~/.agents/skills",
|
|
93
|
+
// A launch gives Codex a `CODEX_HOME` of its own, in place of the person's, and copies the person's config and login into it.
|
|
94
|
+
attach: "replaces-user-config",
|
|
95
|
+
native: ["agents-md", "skills", "settings-hooks", "mcp"]
|
|
96
|
+
},
|
|
97
|
+
capabilities: {
|
|
98
|
+
sessionId: "generated",
|
|
99
|
+
resume: false,
|
|
100
|
+
fork: false,
|
|
101
|
+
subagents: { spawnTools: [], transcript: "inline" },
|
|
102
|
+
cost: "events",
|
|
103
|
+
longCommands: "blocking",
|
|
104
|
+
permission: {},
|
|
105
|
+
structuredOutput: false,
|
|
106
|
+
mcp: true,
|
|
107
|
+
judge: false
|
|
108
|
+
},
|
|
109
|
+
hooks: {
|
|
110
|
+
contextCap: 0,
|
|
111
|
+
timeoutCeilingMs: 6e5,
|
|
112
|
+
// Codex runs a hook before a tool too, and the delivered hooks.json does not register it.
|
|
113
|
+
spans: { PostToolUse: "post_tool_use", Stop: "stop" }
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
|
|
66
117
|
// ../agents/src/opencode/descriptor.ts
|
|
67
118
|
var OPENCODE = {
|
|
68
119
|
id: "opencode",
|
|
@@ -117,7 +168,8 @@ var OPENCODE = {
|
|
|
117
168
|
// ../agents/src/native/agents.ts
|
|
118
169
|
var NATIVE_AGENTS = {
|
|
119
170
|
"claude-code": CLAUDE_CODE,
|
|
120
|
-
opencode: OPENCODE
|
|
171
|
+
opencode: OPENCODE,
|
|
172
|
+
codex: CODEX
|
|
121
173
|
};
|
|
122
174
|
var LEGACY_AGENT = "claude-code";
|
|
123
175
|
|
|
@@ -133,6 +185,14 @@ var PROVIDERS = {
|
|
|
133
185
|
],
|
|
134
186
|
droppedHeaders: ["x-api-key", "authorization"],
|
|
135
187
|
destination: { name: "claude", port: 3127, socket: "claude.sock" }
|
|
188
|
+
},
|
|
189
|
+
openai: {
|
|
190
|
+
id: "openai",
|
|
191
|
+
label: "OpenAI",
|
|
192
|
+
upstream: "https://api.openai.com/",
|
|
193
|
+
credentialKinds: [{ id: "api-key", label: "API key", header: "Authorization", prefix: "Bearer " }],
|
|
194
|
+
droppedHeaders: ["authorization"],
|
|
195
|
+
destination: { name: "openai", port: 3128, socket: "openai.sock" }
|
|
136
196
|
}
|
|
137
197
|
};
|
|
138
198
|
|
|
@@ -141,4 +201,4 @@ function homeRelative(folder) {
|
|
|
141
201
|
return folder.replace(/^~\//, "");
|
|
142
202
|
}
|
|
143
203
|
|
|
144
|
-
export { CLAUDE_CODE, LEGACY_AGENT, NATIVE_AGENTS, OPENCODE, PROVIDERS, homeRelative };
|
|
204
|
+
export { CLAUDE_CODE, CODEX, LEGACY_AGENT, NATIVE_AGENTS, OPENCODE, PROVIDERS, homeRelative };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runEmit } from './chunk-
|
|
4
|
-
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
7
|
-
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
3
|
+
import { runEmit } from './chunk-HW62ZXKA.js';
|
|
4
|
+
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-X5TL4MVO.js';
|
|
5
|
+
import { installStarterPack } from './chunk-Q7AP5O5B.js';
|
|
6
|
+
import { listWithAnd } from './chunk-ZKEPPOR6.js';
|
|
7
|
+
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-JGUGZA3I.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-NFXQXWIL.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-RP4A25IW.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-
|
|
14
|
-
import { LEGACY_AGENT } from './chunk-
|
|
13
|
+
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-A43LWCIT.js';
|
|
14
|
+
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
15
15
|
import { execFileSync } from 'child_process';
|
|
16
16
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
17
17
|
import { join, dirname } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-QGAX44JA.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-A43LWCIT.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { recordReportedCost } from './chunk-BKO6JEZI.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
5
|
import { decodeWrappedCommand } from './chunk-ZHQC43NH.js';
|
|
6
|
-
import { hookCodec } from './chunk-
|
|
6
|
+
import { hookCodec } from './chunk-HS45JMDJ.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { readFileSync } from 'fs';
|
|
9
9
|
import { spawn } from 'child_process';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-EM6PU2AC.js';
|
|
5
|
+
import { autoConnect } from './chunk-LZQN5PXB.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KDASHEYT.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-ZKEPPOR6.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-KDASHEYT.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
8
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-5RKCQYXR.js';
|
|
4
|
+
import { parseSize } from './chunk-P2DC7QO7.js';
|
|
5
|
+
import { runnerDir } from './chunk-VZPW4RPS.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-FWKYG2DQ.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-OHZC2YUD.js';
|
|
8
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
11
11
|
import { spawnSync } from 'child_process';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-VZPW4RPS.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-5RKCQYXR.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-VZPW4RPS.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-ASYPP2M6.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-KDASHEYT.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-QGAX44JA.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-EOFA37VL.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-3Q3BM2MK.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
|
-
import { hookExecSpoolPath } from './chunk-
|
|
14
|
+
import { hookExecSpoolPath } from './chunk-2ZF62BAK.js';
|
|
15
15
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAgents, captureAdapters } from './chunk-
|
|
20
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-A43LWCIT.js';
|
|
20
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
22
|
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-Y55ARAPE.js';
|
|
23
23
|
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-MCUI6RHU.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RemovedTargetError, removedTargetError } from './chunk-
|
|
4
|
-
import { removeRetiredSkills } from './chunk-
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-A32NRZ74.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-KEQ6ZVKI.js';
|
|
5
5
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
6
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
7
|
-
import { withTokenHeader } from './chunk-
|
|
6
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-KDASHEYT.js';
|
|
7
|
+
import { withTokenHeader } from './chunk-EOFA37VL.js';
|
|
8
8
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
10
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-
|
|
11
|
+
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-A43LWCIT.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-DWUDIRL2.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-QLNWEME3.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-GWEDQ6WA.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-OH34EJKB.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-ZKEPPOR6.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
13
|
-
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-KEQ6ZVKI.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-KDASHEYT.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-3Q3BM2MK.js';
|
|
13
|
+
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { readStatuslineState, STATE_FRESH_MS } from './chunk-
|
|
15
|
+
import { readStatuslineState, STATE_FRESH_MS } from './chunk-LA66NWUO.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-UEB6ENFZ.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-A43LWCIT.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
23
|
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
24
24
|
import { CRITERIA_JUDGE_NAME } from './chunk-MCUI6RHU.js';
|
|
@@ -1093,8 +1093,8 @@ function doctorExitCode(checks) {
|
|
|
1093
1093
|
|
|
1094
1094
|
// src/doctor-report.ts
|
|
1095
1095
|
async function gatherDoctorChecks(options = {}) {
|
|
1096
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1097
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1096
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-QJXWKNIT.js');
|
|
1097
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-RM7KS3VB.js');
|
|
1098
1098
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1099
1099
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1100
1100
|
const hooks = (() => {
|
|
@@ -1122,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-ZESKTMJR.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1150,7 +1150,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1150
1150
|
const service = await (async () => {
|
|
1151
1151
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1152
1152
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1153
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1153
|
+
const { inspectRunnerService } = await import('./find-unit-5LWPI53X.js');
|
|
1154
1154
|
return inspectRunnerService(configPath);
|
|
1155
1155
|
})();
|
|
1156
1156
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-A43LWCIT.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RUNNER_PROTOCOL } from './chunk-JXZ3LIHN.js';
|
|
4
|
-
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-
|
|
4
|
+
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-NYXPJ2EM.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
8
|
-
import { upgradedStarterText } from './chunk-
|
|
9
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
10
|
-
import { writeDockerClientConfig } from './chunk-
|
|
11
|
-
import { senderPidfile } from './chunk-
|
|
12
|
-
import { installScrubContext } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-4IYZRQ77.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-DWUDIRL2.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-3JCZM2IZ.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-RLKCG6MX.js';
|
|
11
|
+
import { senderPidfile } from './chunk-DJCZ26UT.js';
|
|
12
|
+
import { installScrubContext } from './chunk-MUAHDK6Y.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-5U6AUT4A.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-MP2Z5ALN.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
18
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-WSU5ADF2.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-HATKUSIR.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
28
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-754IBIFB.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-XQ2FPOXF.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-2RXPL7QY.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-QLNWEME3.js';
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-5RKCQYXR.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-Q2P2PCQE.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-P2DC7QO7.js';
|
|
28
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-4QXABXJR.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-4JBEGQFS.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-
|
|
35
|
-
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
36
|
-
import { versionAtLeast } from './chunk-
|
|
37
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-
|
|
38
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-QGAX44JA.js';
|
|
33
|
+
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-VZPW4RPS.js';
|
|
34
|
+
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-EOFA37VL.js';
|
|
35
|
+
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-FWKYG2DQ.js';
|
|
36
|
+
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
37
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-OHZC2YUD.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-A43LWCIT.js';
|
|
39
39
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
40
40
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-A43LWCIT.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
4
|
-
import { PROVIDERS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-A43LWCIT.js';
|
|
4
|
+
import { PROVIDERS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import { ensureHostKey } from './chunk-
|
|
5
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
6
|
-
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
7
|
-
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-
|
|
8
|
-
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
9
|
-
import { defaultAgents } from './chunk-
|
|
10
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-4QXABXJR.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-QGAX44JA.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-VZPW4RPS.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-EOFA37VL.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-FWKYG2DQ.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-OHZC2YUD.js';
|
|
9
|
+
import { defaultAgents } from './chunk-A43LWCIT.js';
|
|
10
|
+
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
11
11
|
import { compareVersions } from './chunk-Y55ARAPE.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
13
13
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-P2DC7QO7.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-VZPW4RPS.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
7
|
-
import { LEGACY_AGENT } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-RP4A25IW.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-A43LWCIT.js';
|
|
7
|
+
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
10
10
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-VZPW4RPS.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-EM6PU2AC.js';
|
|
4
|
+
import { autoConnect } from './chunk-LZQN5PXB.js';
|
|
5
|
+
import { workPageUrl } from './chunk-ZKEPPOR6.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-KDASHEYT.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-QGAX44JA.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
15
15
|
|
|
@@ -563,7 +563,7 @@ async function runWorkLinkSession(opts) {
|
|
|
563
563
|
return await linkSession(opts);
|
|
564
564
|
} catch (err) {
|
|
565
565
|
if (opts.logFailures) {
|
|
566
|
-
const { logHookError } = await import('./hook-fast-
|
|
566
|
+
const { logHookError } = await import('./hook-fast-7ZBDTVKP.js');
|
|
567
567
|
const reason = err instanceof Error ? err.message : String(err);
|
|
568
568
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
569
569
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-VZPW4RPS.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-EOFA37VL.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-A43LWCIT.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|