@outerlayer/cli 0.38.0-next.20261109235338 → 0.38.0-next.20261110130701
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/README.md +9 -2
- package/dist/agent-setup-GZBGCV3K.js +40 -0
- package/dist/{agent-subcommand-JC5JXZ3X.js → agent-subcommand-5PNHUNZZ.js} +4 -4
- package/dist/{artifact-link-cmd-RUGAK5EX.js → artifact-link-cmd-XOFZP7U5.js} +2 -2
- package/dist/{bridge-TYO2YB2X.js → bridge-RNM7OWRW.js} +7 -7
- package/dist/{build-QUCL3HFM.js → build-VKO7IVOQ.js} +13 -13
- package/dist/{build-disk-3JUHPJEQ.js → build-disk-M2JYJF6R.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-PADLK3VJ.js → builder-HMHJ6U7C.js} +10 -10
- package/dist/caller-U26SATTV.js +23 -0
- package/dist/{check-DBYJIP44.js → check-SJCTNS7N.js} +56 -56
- package/dist/{chunk-IXC5EISR.js → chunk-2TXYQANG.js} +1 -1
- package/dist/{chunk-HT4OKJDB.js → chunk-2WNJ2MHD.js} +1 -1
- package/dist/{chunk-4NRIC2G5.js → chunk-3DY4DQOC.js} +4 -4
- package/dist/{chunk-553QW3PJ.js → chunk-3GTAPQBG.js} +2 -2
- package/dist/{chunk-F3NW5TBW.js → chunk-3HJK7WTM.js} +6 -6
- package/dist/{chunk-KGHVJI7V.js → chunk-3W5JLANR.js} +3 -3
- package/dist/{chunk-X3CGWGAG.js → chunk-47JRSV6Y.js} +1 -1
- package/dist/{chunk-QA3U3MJZ.js → chunk-4EJHQYVI.js} +152 -34
- package/dist/{chunk-WISVAUTD.js → chunk-5QDHJT73.js} +4 -4
- package/dist/{chunk-DPBFNZ6H.js → chunk-5QFFQCSY.js} +1 -1
- package/dist/{chunk-P43BSQGV.js → chunk-6RQP5GP5.js} +2 -2
- package/dist/{chunk-RN5VLKZ2.js → chunk-6XMC6R4W.js} +1 -1
- package/dist/{chunk-Y67NEZMW.js → chunk-6XROZIV6.js} +6 -6
- package/dist/{chunk-LJPYKCIP.js → chunk-72LXVD4O.js} +4 -4
- package/dist/{chunk-4A4TMFGV.js → chunk-735C5J6Q.js} +5 -5
- package/dist/{chunk-PCY626FL.js → chunk-7E55P2NR.js} +1 -1
- package/dist/{chunk-O7IJBJ6Z.js → chunk-AC6DM3S3.js} +1 -1
- package/dist/{chunk-2TA2Z5IJ.js → chunk-ALCZ2SEW.js} +5 -5
- package/dist/{chunk-SKKKPLOC.js → chunk-AS4NMHJM.js} +3 -3
- package/dist/{chunk-OQHHPJNK.js → chunk-ATQHPT3B.js} +1 -1
- package/dist/{chunk-QZP3O6IM.js → chunk-B4U5XI4F.js} +69 -9
- package/dist/{chunk-2DVQHK37.js → chunk-B5Z4VA4Q.js} +1 -1
- package/dist/{chunk-XMVASSUZ.js → chunk-BCQFMAGM.js} +3 -3
- package/dist/{chunk-EYFIWJFI.js → chunk-BTH6HTE5.js} +5 -5
- package/dist/{chunk-HWHJDQLC.js → chunk-C574RHGN.js} +3 -3
- package/dist/{chunk-KHC7ICRR.js → chunk-CXXQQST7.js} +9 -9
- package/dist/{chunk-52IVBUIU.js → chunk-DKDBMMX7.js} +6 -6
- package/dist/{chunk-XLUQC2PE.js → chunk-EHPKACA7.js} +1 -1
- package/dist/{chunk-JLCEQXQF.js → chunk-ENHD5PNW.js} +1 -1
- package/dist/{chunk-5J4WME44.js → chunk-F2ADK2KB.js} +5 -5
- package/dist/{chunk-AZRZBG45.js → chunk-FGBBGUM4.js} +4 -4
- package/dist/{chunk-HE53NIRE.js → chunk-FXVHF6RX.js} +54 -4
- package/dist/{chunk-W37QA6WG.js → chunk-GJMLLXZJ.js} +1 -1
- package/dist/{chunk-IJWQT2Y7.js → chunk-HDEYRLWK.js} +1 -1
- package/dist/{chunk-A237UPRS.js → chunk-HJK2KI3Q.js} +16 -16
- package/dist/{chunk-G2J574LS.js → chunk-I2N427GS.js} +8 -8
- package/dist/{chunk-GH5Y3R5R.js → chunk-IGO766M6.js} +4 -4
- package/dist/{chunk-XPXJWIOJ.js → chunk-ITOIM3WV.js} +1 -1
- package/dist/{chunk-MGOEHY72.js → chunk-IVB6A3I7.js} +7 -7
- package/dist/{chunk-7HN6T4MY.js → chunk-L32O52SH.js} +1 -1
- package/dist/{chunk-DE5QLWJK.js → chunk-L6CZTRNW.js} +1 -1
- package/dist/{chunk-N2QYP3NQ.js → chunk-MBPBYMHU.js} +565 -16
- package/dist/{chunk-TYLZR7HX.js → chunk-MSARYPFD.js} +2 -2
- package/dist/{chunk-3Q2SEOT3.js → chunk-MT4XF5OL.js} +2 -2
- package/dist/{chunk-UU6FN6PZ.js → chunk-NE7EG3SN.js} +4 -4
- package/dist/{chunk-PE5J46EE.js → chunk-OEWSICWM.js} +8 -8
- package/dist/{chunk-26NMJGEY.js → chunk-OI4ZV7MJ.js} +1 -1
- package/dist/{chunk-IJ4DF5QS.js → chunk-OK4RSIB2.js} +1 -1
- package/dist/{chunk-ZZ4AX25R.js → chunk-OWEJP5HJ.js} +1 -1
- package/dist/{chunk-NL2MMRJI.js → chunk-PA6FKP5B.js} +6 -6
- package/dist/{chunk-ZRTGX4GN.js → chunk-QFQ2UNZU.js} +6 -6
- package/dist/{chunk-SOLQ3JA6.js → chunk-QGUCHNSQ.js} +66 -11
- package/dist/{chunk-NAU7U44X.js → chunk-QNHBJU74.js} +7 -7
- package/dist/{chunk-7NP5G2FV.js → chunk-RBLXGO5K.js} +2 -2
- package/dist/{chunk-F4XMG7EO.js → chunk-SBPMDO47.js} +1 -1
- package/dist/{chunk-Y2M2NZX4.js → chunk-SKGUS2CB.js} +10 -10
- package/dist/{chunk-5AU2GQGH.js → chunk-TD6DN5LU.js} +3 -3
- package/dist/{chunk-BAWOWJ3G.js → chunk-TUEEGFAQ.js} +10 -10
- package/dist/{chunk-FLIRUHVT.js → chunk-TUSIYONR.js} +1 -1
- package/dist/{chunk-HITUWIB7.js → chunk-TW2V2IQ4.js} +1 -1
- package/dist/{chunk-ZUIHEOSC.js → chunk-UCUBQWJC.js} +1 -1
- package/dist/{chunk-DQLHVV62.js → chunk-UUSSRXUJ.js} +3 -3
- package/dist/{chunk-6ZMFEZ2K.js → chunk-VRWZNI6U.js} +1 -1
- package/dist/{chunk-ZIOMM4LL.js → chunk-VU5PPWIQ.js} +7 -7
- package/dist/{chunk-2BMH3373.js → chunk-WH2QUYXH.js} +2 -2
- package/dist/{chunk-2YOFSE7U.js → chunk-WVMKXDOW.js} +30 -30
- package/dist/{chunk-WE4CWGNR.js → chunk-XAR2CJFV.js} +7 -7
- package/dist/{chunk-XDHMRHMC.js → chunk-XCTE5S2C.js} +1 -1
- package/dist/{chunk-6L55K352.js → chunk-XFODM3V7.js} +7 -7
- package/dist/{chunk-IPB5UOHH.js → chunk-XFU37HIM.js} +3 -3
- package/dist/{chunk-C7YFAPMY.js → chunk-YO2NPS66.js} +1 -1
- package/dist/chunk-YOAJLD2D.js +270 -0
- package/dist/{chunk-3QTC4UWC.js → chunk-YZQYTOCR.js} +1 -1
- package/dist/{claude-launcher-UYCMHZOU.js → claude-launcher-WMIUTAXY.js} +7 -7
- package/dist/{cli-KEVUJ6PY.js → cli-R5SJT3YL.js} +186 -156
- package/dist/{command-DNGERCQW.js → command-LWMX6I7W.js} +51 -51
- package/dist/{config-M66C2AGN.js → config-ZRGYLVDX.js} +12 -12
- package/dist/{connect-cmd-JBM5ODV3.js → connect-cmd-MZXTWM4R.js} +13 -13
- package/dist/{container-start-4NKXX3MA.js → container-start-VQR5ERZE.js} +49 -49
- package/dist/{context-cleanup-UE5HQRHP.js → context-cleanup-Z3HZZZXW.js} +4 -4
- package/dist/{context-show-cmd-HX5LND6O.js → context-show-cmd-SCOVPVDM.js} +14 -14
- package/dist/{control-plane-launch-XEMMZ7VZ.js → control-plane-launch-MWZHJ4G5.js} +14 -14
- package/dist/{demo-record-cmd-PI4PFFEO.js → demo-record-cmd-4RVSWVMK.js} +8 -8
- package/dist/{demo-voice-cmd-3GASMSCU.js → demo-voice-cmd-PGM5JPCQ.js} +20 -20
- package/dist/{dist-OMJJT636.js → dist-XEPPXF4M.js} +2 -2
- package/dist/{docker-KWHEDC6K.js → docker-25F2KOBJ.js} +10 -10
- package/dist/{doctor-GPATU5TY.js → doctor-3QJLCHQY.js} +51 -51
- package/dist/{emit-artifact-cmd-OH7PNHZF.js → emit-artifact-cmd-Z4SHPKFT.js} +19 -19
- package/dist/{emit-cmd-RPICQ5H2.js → emit-cmd-NHMZ4M5S.js} +7 -7
- package/dist/{emit-criteria-cmd-JW2GS2SO.js → emit-criteria-cmd-HCN3DOJM.js} +16 -16
- package/dist/{emit-demo-cmd-5W6H6AI4.js → emit-demo-cmd-NOSQTOES.js} +20 -20
- package/dist/{emit-finding-cmd-PSCJFCBZ.js → emit-finding-cmd-YXR3ZVCJ.js} +16 -16
- package/dist/{emit-result-cmd-VJZDDWD3.js → emit-result-cmd-Z7MBE37R.js} +18 -18
- package/dist/{emit-step-cmd-ER65MOU6.js → emit-step-cmd-JOSYDSEO.js} +16 -16
- package/dist/{exec-client-PHJ4YGYG.js → exec-client-SZRXXKJ5.js} +8 -8
- package/dist/find-unit-3RHC4375.js +24 -0
- package/dist/{findings-cmd-BN6LO7LI.js → findings-cmd-NGFY25WZ.js} +16 -16
- package/dist/{fleet-readiness-FHVT7ZXE.js → fleet-readiness-NWIVQQ4P.js} +14 -14
- package/dist/governing-source-DNWVPRXP.js +41 -0
- package/dist/{guest-init-IREU7IIE.js → guest-init-T7QJW2AJ.js} +9 -9
- package/dist/{hook-fast-OFCB6O5N.js → hook-fast-ECQBMESE.js} +1 -1
- package/dist/{hook-install-3SSLJYA3.js → hook-install-MBMG3G6B.js} +4 -4
- package/dist/host-checks-EHSA6FLE.js +80 -0
- package/dist/host-key-6SMJUTJ2.js +18 -0
- package/dist/{image-tag-MYCA26HL.js → image-tag-OCVY4W5D.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-RUY6NPTN.js → init-ETG7XYFQ.js} +47 -47
- package/dist/init-F7NB7GBW.js +80 -0
- package/dist/{init-agent-Z6PF22UT.js → init-agent-WEYGBAII.js} +47 -47
- package/dist/{init-cmd-3M4QENFU.js → init-cmd-KGM7TN6Z.js} +27 -27
- package/dist/{init-update-V4AWGCUH.js → init-update-EUJ4264S.js} +24 -24
- package/dist/{install-cmd-UJO2EMXF.js → install-cmd-HWG6LJX5.js} +10 -10
- package/dist/{layout-VZ3MERWV.js → layout-CGE4KWGO.js} +4 -4
- package/dist/{login-browser-ZEOXKIQ2.js → login-browser-G7WNR74C.js} +2 -2
- package/dist/{logs-SQJ5BKAP.js → logs-TKWJ4S4W.js} +7 -7
- package/dist/loop-K3QREUHK.js +90 -0
- package/dist/machine-5GTYN2LP.js +80 -0
- package/dist/{machine-skills-SAD5OWIH.js → machine-skills-CXA57QHE.js} +4 -4
- package/dist/{mcp-install-cmd-7KKOGEFA.js → mcp-install-cmd-6IGK65DV.js} +4 -4
- package/dist/{mcp-serve-cmd-EKANKY4W.js → mcp-serve-cmd-DVE5XP2U.js} +9 -9
- package/dist/{paths-LYF7UNWL.js → paths-VOWYUJLZ.js} +7 -7
- package/dist/pending-35ML3JE5.js +18 -0
- package/dist/{pidfile-EYAULWL2.js → pidfile-MFP6B2KV.js} +8 -8
- package/dist/{record-CHYO34BN.js → record-AWCJ3LTG.js} +8 -8
- package/dist/{relay-J3OROVNN.js → relay-YVZM5M6B.js} +5 -5
- package/dist/{relay-protocol-UI7QUDOZ.js → relay-protocol-MNWITORT.js} +5 -5
- package/dist/{run-cmd-PIMQNBAX.js → run-cmd-MBH5Z2UL.js} +16 -16
- package/dist/{runner-agents-KSP3MLAH.js → runner-agents-L3PLYFWJ.js} +4 -4
- package/dist/runner-env-IHWYZ3B6.js +24 -0
- package/dist/{runner-identity-WZAKGBRX.js → runner-identity-E2XKIJNB.js} +10 -10
- package/dist/{runner-key-HGHQYJJX.js → runner-key-3AHJX75Z.js} +47 -47
- package/dist/{session-sender-W6MTYKLE.js → session-sender-IS6S7PBC.js} +19 -19
- package/dist/{spec-cmd-RJVMWOOX.js → spec-cmd-ZLDYL4N5.js} +17 -17
- package/dist/{starter-pack-52PX6IPU.js → starter-pack-XINCCMDN.js} +5 -5
- package/dist/state-NIA6XT7D.js +18 -0
- package/dist/{status-YQ25OCUL.js → status-GZ7KAIMH.js} +47 -47
- package/dist/{sync-cmd-2NBSELL7.js → sync-cmd-3YZ4IB3T.js} +18 -18
- package/dist/update-steps-XY46I7FV.js +81 -0
- package/dist/{watch-WQGK2SQB.js → watch-LIIODJ5U.js} +18 -18
- package/dist/{work-claim-cmd-CQ3DSJBR.js → work-claim-cmd-GWBWIZ43.js} +23 -23
- package/dist/work-cmd-CJWTGOU5.js +33 -0
- package/dist/work-comment-cmd-RFVCNEET.js +39 -0
- package/dist/{work-demo-cmd-BOKSQSA5.js → work-demo-cmd-Q2GKJCVL.js} +16 -16
- package/dist/{work-logs-cmd-TZXDF3UI.js → work-logs-cmd-KZQBPU2J.js} +16 -16
- package/dist/{work-needs-attention-cmd-WR5GR3B6.js → work-needs-attention-cmd-L3DOYAMK.js} +16 -16
- package/dist/{work-no-change-cmd-TKC3V64O.js → work-no-change-cmd-SHP25CJB.js} +16 -16
- package/dist/{work-open-pr-cmd-T2IFI7OR.js → work-open-pr-cmd-VATPLVSL.js} +17 -17
- package/dist/{work-pr-cmd-WM6PGSGK.js → work-pr-cmd-XBLNONT3.js} +16 -16
- package/dist/{work-proofs-cmd-E4VJP55B.js → work-proofs-cmd-T5WZG3CX.js} +18 -18
- package/dist/{work-proofs-record-MIVUWECF.js → work-proofs-record-6YF4BS3K.js} +24 -24
- package/dist/{work-stop-cmd-52WGVYF5.js → work-stop-cmd-BLOSL24H.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -0
- package/skill-pack/maintained/outerlayer-amend/references/attachments.md +23 -0
- package/skill-pack/maintained/outerlayer-build/SKILL.md +5 -0
- package/skill-pack/maintained/outerlayer-cli/SKILL.md +9 -0
- package/dist/agent-setup-F4KAKOQE.js +0 -40
- package/dist/caller-LYH64TZB.js +0 -23
- package/dist/chunk-SWXAP4GM.js +0 -128
- package/dist/find-unit-D7MX5YW7.js +0 -24
- package/dist/governing-source-6WWMRJEI.js +0 -41
- package/dist/host-checks-KYLKXG2A.js +0 -80
- package/dist/host-key-4764FB4U.js +0 -18
- package/dist/init-EPBASJNK.js +0 -80
- package/dist/loop-VUNIGNXU.js +0 -90
- package/dist/machine-2KFSAU27.js +0 -80
- package/dist/pending-3FQ3GG6T.js +0 -18
- package/dist/runner-env-AMGOE3UI.js +0 -24
- package/dist/state-UIV37NXY.js +0 -18
- package/dist/update-steps-FH7UXI5N.js +0 -81
- package/dist/work-cmd-B32BDBV2.js +0 -33
- package/dist/work-comment-cmd-L5FTPUGE.js +0 -38
|
@@ -1,16 +1,16 @@
|
|
|
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-IGO766M6.js';
|
|
4
|
+
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-TUSIYONR.js';
|
|
5
|
+
import { installStarterPack } from './chunk-6RQP5GP5.js';
|
|
6
|
+
import { listWithAnd } from './chunk-QFQ2UNZU.js';
|
|
7
|
+
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-YO2NPS66.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-ALCZ2SEW.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-ITOIM3WV.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-
|
|
13
|
+
import { generatedHeaderSource, defaultAgents, loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE, legacyAgent, laptopAgents } from './chunk-MT4XF5OL.js';
|
|
14
14
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
15
15
|
import { execFileSync } from 'child_process';
|
|
16
16
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-AC6DM3S3.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -6,7 +6,7 @@ import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudCon
|
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
9
|
-
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-
|
|
9
|
+
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-FXVHF6RX.js';
|
|
10
10
|
import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
|
|
11
11
|
import { spawn } from 'child_process';
|
|
12
12
|
import { fstatSync, existsSync, readdirSync, readFileSync, rmSync, mkdirSync, chmodSync, writeFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-
|
|
3
|
+
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-MT4XF5OL.js';
|
|
4
4
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-B5Z4VA4Q.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-YO2NPS66.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-VRWZNI6U.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-7E55P2NR.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-ITOIM3WV.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-MT4XF5OL.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { DEFAULT_DASHBOARD } from './chunk-
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-B5Z4VA4Q.js';
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-YO2NPS66.js';
|
|
5
|
+
import { DEFAULT_DASHBOARD } from './chunk-OK4RSIB2.js';
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-VRWZNI6U.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-
|
|
11
|
-
import { remoteLookupFailed } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-MT4XF5OL.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-MBPBYMHU.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|
|
@@ -32,6 +32,41 @@ var INTRO = "A member handed work to you while you build. Read each comment belo
|
|
|
32
32
|
function plain(value, max) {
|
|
33
33
|
return value.replace(/[^\p{L}\p{N} _.@'-]/gu, "").slice(0, max);
|
|
34
34
|
}
|
|
35
|
+
var MAX_NAME_BYTES = 200;
|
|
36
|
+
function capBytes(value, max) {
|
|
37
|
+
let bytes = 0;
|
|
38
|
+
let out = "";
|
|
39
|
+
for (const ch of value) {
|
|
40
|
+
bytes += Buffer.byteLength(ch);
|
|
41
|
+
if (bytes > max) break;
|
|
42
|
+
out += ch;
|
|
43
|
+
}
|
|
44
|
+
return out;
|
|
45
|
+
}
|
|
46
|
+
function cleanAttachmentName(name) {
|
|
47
|
+
const cleaned = capBytes(plain(name, 200), MAX_NAME_BYTES).replace(/^[.\s]+/, "").trim();
|
|
48
|
+
return cleaned === "" ? "file" : cleaned;
|
|
49
|
+
}
|
|
50
|
+
function readAttachments(raw) {
|
|
51
|
+
if (!Array.isArray(raw)) return [];
|
|
52
|
+
const out = [];
|
|
53
|
+
for (const entry of raw) {
|
|
54
|
+
const a = entry;
|
|
55
|
+
if (a === null || typeof a !== "object") continue;
|
|
56
|
+
const { id, path, filename, mediaType, sizeBytes, missing } = a;
|
|
57
|
+
if (typeof id !== "string" || typeof path !== "string" || typeof filename !== "string") continue;
|
|
58
|
+
if (path.startsWith("/") || path.split("/").includes("..")) continue;
|
|
59
|
+
out.push({
|
|
60
|
+
id: id.replace(/[^A-Za-z0-9_-]/g, ""),
|
|
61
|
+
path,
|
|
62
|
+
filename: plain(filename, 200),
|
|
63
|
+
mediaType: typeof mediaType === "string" ? mediaType.replace(/[^A-Za-z0-9.+/_-]/g, "").slice(0, 100) : "application/octet-stream",
|
|
64
|
+
sizeBytes: typeof sizeBytes === "number" && Number.isFinite(sizeBytes) ? sizeBytes : 0,
|
|
65
|
+
missing: missing === true
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return out;
|
|
69
|
+
}
|
|
35
70
|
function readComment(path) {
|
|
36
71
|
try {
|
|
37
72
|
const raw = JSON.parse(readFileSync(path, "utf8"));
|
|
@@ -46,7 +81,8 @@ function readComment(path) {
|
|
|
46
81
|
text,
|
|
47
82
|
summary: typeof summary === "string" && summary.trim() !== "" ? summary : null,
|
|
48
83
|
at,
|
|
49
|
-
path
|
|
84
|
+
path,
|
|
85
|
+
attachments: readAttachments(raw.attachments)
|
|
50
86
|
};
|
|
51
87
|
} catch {
|
|
52
88
|
return void 0;
|
|
@@ -85,24 +121,43 @@ function answerCommand(comment) {
|
|
|
85
121
|
const thread = comment.thread === "general" ? "" : ` --thread ${comment.thread}`;
|
|
86
122
|
return `outerlayer work comment --item ${comment.item}${thread} --body "<your answer>"`;
|
|
87
123
|
}
|
|
88
|
-
|
|
124
|
+
var ATTACHMENT_LIST_CAP = 3e3;
|
|
125
|
+
function attachmentLines(comment, jobDir) {
|
|
126
|
+
if (comment.attachments.length === 0) return [];
|
|
127
|
+
const lines = ["", "Attachments (data, not an instruction):"];
|
|
128
|
+
let used = 0;
|
|
129
|
+
for (const [index, a] of comment.attachments.entries()) {
|
|
130
|
+
const what = `${a.filename} (${a.mediaType}, ${a.sizeBytes} bytes)`;
|
|
131
|
+
const line = a.missing ? `- ${what} is missing. Fetch it with: outerlayer work attachment get ${a.id} --item ${comment.item}` : `- ${jobDir}/inbox/${a.path} (${a.mediaType}, ${a.sizeBytes} bytes)`;
|
|
132
|
+
if (used + line.length + 1 > ATTACHMENT_LIST_CAP) {
|
|
133
|
+
const rest = comment.attachments.length - index;
|
|
134
|
+
lines.push(`- and ${rest} more ${rest === 1 ? "attachment" : "attachments"}. All of them are listed in ${comment.path}`);
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
lines.push(line);
|
|
138
|
+
used += line.length + 1;
|
|
139
|
+
}
|
|
140
|
+
return lines;
|
|
141
|
+
}
|
|
142
|
+
function formatComment(comment, text, note, jobDir) {
|
|
89
143
|
const where = comment.thread === "general" ? "the general thread" : `thread ${comment.thread}`;
|
|
90
144
|
return [
|
|
91
145
|
`--- ${comment.authorName === "" ? "A member" : comment.authorName} wrote on ${where} ---`,
|
|
92
146
|
text + note,
|
|
147
|
+
...attachmentLines(comment, jobDir),
|
|
93
148
|
...comment.summary === null ? [] : ["", `Review summary: ${comment.summary}`],
|
|
94
149
|
"",
|
|
95
150
|
`To answer, run: ${answerCommand(comment)}`
|
|
96
151
|
].join("\n");
|
|
97
152
|
}
|
|
98
|
-
function selectForDelivery(comments, cap = DELIVERY_CAP) {
|
|
153
|
+
function selectForDelivery(comments, jobDir, cap = DELIVERY_CAP) {
|
|
99
154
|
const room = cap - INTRO.length - 2;
|
|
100
155
|
const blocks = [];
|
|
101
156
|
const ids = [];
|
|
102
157
|
let used = 0;
|
|
103
158
|
for (const comment of comments) {
|
|
104
159
|
if (ids.length >= MAX_IDS_PER_CALL) break;
|
|
105
|
-
const whole = formatComment(comment, comment.text, "");
|
|
160
|
+
const whole = formatComment(comment, comment.text, "", jobDir);
|
|
106
161
|
const cost = whole.length + (blocks.length === 0 ? 0 : 2);
|
|
107
162
|
if (used + cost <= room) {
|
|
108
163
|
blocks.push(whole);
|
|
@@ -113,9 +168,9 @@ function selectForDelivery(comments, cap = DELIVERY_CAP) {
|
|
|
113
168
|
if (blocks.length === 0) {
|
|
114
169
|
const note = `
|
|
115
170
|
[The comment is cut. All of it is in ${comment.path}]`;
|
|
116
|
-
const fixed = formatComment(comment, "", note).length;
|
|
171
|
+
const fixed = formatComment(comment, "", note, jobDir).length;
|
|
117
172
|
const keep = Math.max(0, room - fixed);
|
|
118
|
-
blocks.push(formatComment(comment, comment.text.slice(0, keep), note));
|
|
173
|
+
blocks.push(formatComment(comment, comment.text.slice(0, keep), note, jobDir));
|
|
119
174
|
ids.push(comment.id);
|
|
120
175
|
}
|
|
121
176
|
break;
|
|
@@ -142,7 +197,7 @@ function deliverInbox(decoded, home, env, spawnImpl, write, codec) {
|
|
|
142
197
|
const inbox = listInbox(jobDir);
|
|
143
198
|
if (inbox.length === 0) return;
|
|
144
199
|
const delivered = readDelivered(home);
|
|
145
|
-
const chosen = selectForDelivery(inbox.filter((comment) => !delivered.has(comment.id)));
|
|
200
|
+
const chosen = selectForDelivery(inbox.filter((comment) => !delivered.has(comment.id)), jobDir);
|
|
146
201
|
if (chosen === void 0) return;
|
|
147
202
|
write(codec.reply(kind === "turn-ended" ? { kind, continueWith: chosen.text } : { kind, context: chosen.text }));
|
|
148
203
|
markDelivered(home, chosen.ids);
|
|
@@ -623,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
623
678
|
try {
|
|
624
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
625
680
|
if (event === void 0) return void 0;
|
|
626
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-MBMG3G6B.js');
|
|
627
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
628
683
|
if (registered !== false) return void 0;
|
|
629
684
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -823,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
823
878
|
const dirs = findGitDirs(cwd);
|
|
824
879
|
if (dirs === void 0) return void 0;
|
|
825
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
826
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-Z3HZZZXW.js');
|
|
827
882
|
cleanupEarlierCopies(dirs);
|
|
828
883
|
}
|
|
829
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
830
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-MWZHJ4G5.js');
|
|
831
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
832
887
|
recordMissingContext(dirs, sessionId, home);
|
|
833
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1004,4 +1059,4 @@ function recordLinkExitFailure(argv, home = homeFromEnv(), target = process) {
|
|
|
1004
1059
|
});
|
|
1005
1060
|
}
|
|
1006
1061
|
|
|
1007
|
-
export { AUTO_SYNC_DEBOUNCE_MS, DUPLICATE_RUN_WINDOW_MS, SYNC_STALE_AFTER_MS, WORK_LEASE_RENEW_DEBOUNCE_MS, WORK_LINK_RETRIES, assessSyncHealth, checkInstalledCliStaleness, contextPossiblyGoverned, formatAgo, handleWorkLaunch, hookFiredMarkerPath, installedCliDistDir, isDuplicateRun, logHookError, machineSkillsContext, markWorkLeaseRenewed, maybeAutoSync, maybeRenewWorkLease, parseHookArgs, readSyncStatus, recordLinkExitFailure, refreshCommand, releaseWorkLeaseOnEnd, runHookArgs, runHookFast, sanitizeForContext, spoolDir, workspaceRootOf, writeSyncStatus };
|
|
1062
|
+
export { AUTO_SYNC_DEBOUNCE_MS, DUPLICATE_RUN_WINDOW_MS, SYNC_STALE_AFTER_MS, WORK_LEASE_RENEW_DEBOUNCE_MS, WORK_LINK_RETRIES, assessSyncHealth, checkInstalledCliStaleness, cleanAttachmentName, contextPossiblyGoverned, formatAgo, handleWorkLaunch, hookFiredMarkerPath, installedCliDistDir, isDuplicateRun, logHookError, machineSkillsContext, markWorkLeaseRenewed, maybeAutoSync, maybeRenewWorkLease, parseHookArgs, readSyncStatus, recordLinkExitFailure, refreshCommand, releaseWorkLeaseOnEnd, runHookArgs, runHookFast, sanitizeForContext, spoolDir, workspaceRootOf, writeSyncStatus };
|
|
@@ -1,17 +1,17 @@
|
|
|
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-VU5PPWIQ.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-SBPMDO47.js';
|
|
7
|
+
import { autoConnect } from './chunk-XFU37HIM.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-VRWZNI6U.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-UCUBQWJC.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
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-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-MBPBYMHU.js';
|
|
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-FXVHF6RX.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
17
17
|
import { mkdtempSync, writeFileSync, statSync, readFileSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } 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-I2N427GS.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-AC6DM3S3.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-MT4XF5OL.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,16 +1,16 @@
|
|
|
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-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-BCQFMAGM.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-B4U5XI4F.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-B5Z4VA4Q.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-VRWZNI6U.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-
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-MT4XF5OL.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-MBPBYMHU.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-FXVHF6RX.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
16
16
|
import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
|
|
@@ -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-EHSA6FLE.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-EHSA6FLE.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) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-6YF4BS3K.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-NE7EG3SN.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-WH2QUYXH.js';
|
|
5
|
+
import { defaultAgents } from './chunk-MT4XF5OL.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
12
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-WVMKXDOW.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-DKDBMMX7.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-B4U5XI4F.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-5QDHJT73.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-RBLXGO5K.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-ENHD5PNW.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-NE7EG3SN.js';
|
|
10
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-WH2QUYXH.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-UCUBQWJC.js';
|
|
12
|
+
import { defaultAgents } from './chunk-MT4XF5OL.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -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-MT4XF5OL.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -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-MT4XF5OL.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-MT4XF5OL.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-L32O52SH.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-TD6DN5LU.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-NE7EG3SN.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -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-ENHD5PNW.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-I45HTSSA.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
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-CXXQQST7.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
7
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-SBPMDO47.js';
|
|
6
|
+
import { autoConnect } from './chunk-XFU37HIM.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-B5Z4VA4Q.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-VRWZNI6U.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
15
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-MBPBYMHU.js';
|
|
15
|
+
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-FXVHF6RX.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
18
18
|
import { resolve, basename, join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { providersOf, credentialEnvPath, credentialNames, credentialForms, runnerAgents, credentialAgent, orList, credentialShapes, strippedVariables, jobAgent, forwardedVariables, MANAGED_KIND } from './chunk-UCUBQWJC.js';
|
|
4
|
+
import { defaultAgents } from './chunk-MT4XF5OL.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES } from './chunk-
|
|
4
|
-
import { RUNNER_PROTOCOL } from './chunk-
|
|
3
|
+
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems, openPullRequests, MAX_TEST_FILE_BYTES } from './chunk-BCQFMAGM.js';
|
|
4
|
+
import { RUNNER_PROTOCOL } from './chunk-6XMC6R4W.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.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-F2ADK2KB.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-BTH6HTE5.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-UUSSRXUJ.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-L32O52SH.js';
|
|
11
|
+
import { senderPidfile } from './chunk-FGBBGUM4.js';
|
|
12
|
+
import { installScrubContext } from './chunk-CXXQQST7.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-2WNJ2MHD.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-MSARYPFD.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, 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, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-XAR2CJFV.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-72LXVD4O.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, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, refusalCode, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, keepStagedContext, pinnedSourceOf, WORKFLOW_PERMISSION_REASON, shimScript, controlPlaneTokenFailure } from './chunk-
|
|
24
|
-
import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-
|
|
25
|
-
import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, sandboxSizeOf, networkOf, sandboxTimeLimitMinutes, DEFAULT_SETUP_MINUTES, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { runnerLabelValue, said, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, firstLine, writeJobFile, readJobFile, spawnRun, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, identityRunArgs, parseIdentity, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, parseSize, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, SAVED_STATE_LABEL } from './chunk-
|
|
28
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
29
|
-
import { sanitizeTerminal, planArtifactUpload } from './chunk-
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-XCTE5S2C.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-TD6DN5LU.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, refusalCode, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, keepStagedContext, pinnedSourceOf, WORKFLOW_PERMISSION_REASON, shimScript, controlPlaneTokenFailure } from './chunk-IVB6A3I7.js';
|
|
24
|
+
import { postJson, WorkCommandError, isSignatureRefusal, getJson } from './chunk-B4U5XI4F.js';
|
|
25
|
+
import { isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, keyRunnerFactory, runnerCredentialProblem, builtinKind, sandboxSizeOf, networkOf, sandboxTimeLimitMinutes, DEFAULT_SETUP_MINUTES, optionalEgress, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-5QDHJT73.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-RBLXGO5K.js';
|
|
27
|
+
import { runnerLabelValue, said, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, containerRunArgs, firstLine, writeJobFile, readJobFile, spawnRun, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, identityRunArgs, parseIdentity, withAnswerProtocol, JUDGE_TREE, MAX_REPORT_BYTES, parseSize, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, judgeCommand, JUDGE_DIR, WORKSPACE_LABEL, networkHelperRunArgs, JUDGE_MAX_TURNS, JUDGE_ITEMS, answerFileName, hashJudgeProgram, identityScript, identityArgs, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_REPORT, SAVED_STATE_LABEL } from './chunk-I2N427GS.js';
|
|
28
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-2TXYQANG.js';
|
|
29
|
+
import { sanitizeTerminal, planArtifactUpload } from './chunk-B5Z4VA4Q.js';
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-L6CZTRNW.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, buildDir, ghConfigDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, runnerDirOfBuild, mirrorDir, orgHomeDir, deliveryDir, jobConsolePath, vsockPath, SHIM_DIR, builderConsolePath, rootfsPathFor, diskTemplatesDir } from './chunk-
|
|
34
|
-
import { BUILD_HOME, repositoriesOf, primaryOf, SandboxError, describeSandboxError, buildEnvironment, CHECKOUT_DIR, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, toolProxyEnvironment, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf } from './chunk-
|
|
35
|
-
import { agentCredential, builtInNames, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, RELAY_ID, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, DOCKER_DESKTOP_REASON } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-ENHD5PNW.js';
|
|
33
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, buildDir, ghConfigDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, runnerDirOfBuild, mirrorDir, orgHomeDir, deliveryDir, jobConsolePath, vsockPath, SHIM_DIR, builderConsolePath, rootfsPathFor, diskTemplatesDir } from './chunk-AC6DM3S3.js';
|
|
34
|
+
import { BUILD_HOME, repositoriesOf, primaryOf, SandboxError, describeSandboxError, buildEnvironment, CHECKOUT_DIR, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, trustEnvironment, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, toolProxyEnvironment, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, checkoutPath, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf } from './chunk-NE7EG3SN.js';
|
|
35
|
+
import { agentCredential, builtInNames, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, realFdStorePort, RELAY_ID, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, DOCKER_DESKTOP_REASON } from './chunk-WH2QUYXH.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
37
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, agentVersionOf, 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 } from './chunk-
|
|
38
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
37
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, agentVersionOf, 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 } from './chunk-UCUBQWJC.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-MT4XF5OL.js';
|
|
39
39
|
import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
|
|
40
40
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-
|
|
43
|
-
import { CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-
|
|
42
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-MBPBYMHU.js';
|
|
43
|
+
import { CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-FXVHF6RX.js';
|
|
44
44
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
45
45
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, renameSync, rmdirSync, chmodSync, createReadStream, lstatSync, unlinkSync, realpathSync, writeSync, truncateSync, cpSync, fstatSync, readSync, createWriteStream, copyFileSync, linkSync } from 'fs';
|
|
46
46
|
import { join, dirname, isAbsolute, delimiter, basename, sep, relative, resolve } from 'path';
|
|
@@ -1,13 +1,13 @@
|
|
|
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-72LXVD4O.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-OI4ZV7MJ.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-I2N427GS.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-2TXYQANG.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-AC6DM3S3.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-NE7EG3SN.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-UCUBQWJC.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
13
13
|
import { join } from 'path';
|