@outerlayer/cli 0.38.0-next.20261110212358 → 0.38.0-next.20261111024231
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 +8 -0
- package/dist/agent-setup-T2VITZUY.js +40 -0
- package/dist/{agent-subcommand-5PNHUNZZ.js → agent-subcommand-KV3JO5YD.js} +4 -4
- package/dist/{artifact-link-cmd-XOFZP7U5.js → artifact-link-cmd-L4BXSQQP.js} +2 -2
- package/dist/{bridge-RNM7OWRW.js → bridge-7MCKZXCR.js} +7 -7
- package/dist/{build-VKO7IVOQ.js → build-N2MRLYFW.js} +13 -13
- package/dist/{build-disk-M2JYJF6R.js → build-disk-IJZYZ2K5.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-HMHJ6U7C.js → builder-ATKIRCDJ.js} +10 -10
- package/dist/caller-OWXJDYPI.js +23 -0
- package/dist/{check-3XHEVEXS.js → check-F7RN65GG.js} +55 -55
- package/dist/{chunk-2TXYQANG.js → chunk-2FUJ5PSV.js} +1 -1
- package/dist/{chunk-SBPMDO47.js → chunk-2HLMGVK6.js} +1 -1
- package/dist/{chunk-TW2V2IQ4.js → chunk-2KUFDLLY.js} +1 -1
- package/dist/{chunk-L32O52SH.js → chunk-2PRDLE4L.js} +1 -1
- package/dist/{chunk-DKDBMMX7.js → chunk-3VEPVZV4.js} +6 -6
- package/dist/{chunk-5QFFQCSY.js → chunk-4HUYH65P.js} +1 -1
- package/dist/{chunk-NE7EG3SN.js → chunk-4YAFIOIV.js} +19 -4
- package/dist/{chunk-3HJK7WTM.js → chunk-5NJ367OD.js} +137 -14
- package/dist/{chunk-2WNJ2MHD.js → chunk-64ROJ5LD.js} +1 -1
- package/dist/{chunk-C574RHGN.js → chunk-6T2X2JI6.js} +3 -3
- package/dist/{chunk-OI4ZV7MJ.js → chunk-6U3UTAWQ.js} +1 -1
- package/dist/{chunk-67BVM7JK.js → chunk-7G2HRTSG.js} +3 -3
- package/dist/{chunk-IGO766M6.js → chunk-7GYY7RHR.js} +4 -4
- package/dist/{chunk-XCTE5S2C.js → chunk-7HYXJVU6.js} +1 -1
- package/dist/{chunk-UUSSRXUJ.js → chunk-7LWASV77.js} +3 -3
- package/dist/{chunk-WH2QUYXH.js → chunk-7U43B2UB.js} +2 -2
- package/dist/{chunk-QFQ2UNZU.js → chunk-AB4GMYIH.js} +6 -6
- package/dist/{chunk-S56J4BMQ.js → chunk-ASCXEXYJ.js} +10 -10
- package/dist/{chunk-6XROZIV6.js → chunk-BY2YRJSC.js} +6 -6
- package/dist/{chunk-ITOIM3WV.js → chunk-CSFMIUYS.js} +1 -1
- package/dist/{chunk-MBPBYMHU.js → chunk-E5G6K7C4.js} +1 -1
- package/dist/{chunk-XFU37HIM.js → chunk-ECMQNH2H.js} +3 -3
- package/dist/{chunk-3GTAPQBG.js → chunk-EWGHEMEO.js} +2 -2
- package/dist/{chunk-VNHDMOZW.js → chunk-FB2UT5XA.js} +57 -32
- package/dist/{chunk-KGHYNTF6.js → chunk-FT5NDSSG.js} +7 -7
- package/dist/{chunk-MT4XF5OL.js → chunk-G2CRPYFO.js} +2 -2
- package/dist/{chunk-RBLXGO5K.js → chunk-GGKXYHT5.js} +2 -2
- package/dist/{chunk-YOAJLD2D.js → chunk-GPP5EZV7.js} +7 -7
- package/dist/{chunk-TUSIYONR.js → chunk-HWXBOHEA.js} +1 -1
- package/dist/{chunk-HMDEF3UT.js → chunk-I5C667TJ.js} +16 -16
- package/dist/{chunk-OEWSICWM.js → chunk-IB2UHXZ7.js} +8 -8
- package/dist/{chunk-F2ADK2KB.js → chunk-ICW75TS5.js} +5 -5
- package/dist/{chunk-UCUBQWJC.js → chunk-IEX5FXEU.js} +3 -3
- package/dist/{chunk-47JRSV6Y.js → chunk-J4DTF5MN.js} +1 -1
- package/dist/{chunk-MSARYPFD.js → chunk-JPAO6HRN.js} +2 -2
- package/dist/{chunk-PA6FKP5B.js → chunk-K6KUWUUT.js} +6 -6
- package/dist/{chunk-I64CTY4U.js → chunk-KGJAYD7F.js} +829 -640
- package/dist/{chunk-ENHD5PNW.js → chunk-KM2IMFAG.js} +1 -1
- package/dist/{chunk-ALCZ2SEW.js → chunk-LXREVZX7.js} +5 -5
- package/dist/{chunk-VU5PPWIQ.js → chunk-M5DYOU5G.js} +7 -7
- package/dist/{chunk-HDEYRLWK.js → chunk-MPF7CVQM.js} +1 -1
- package/dist/{chunk-L6CZTRNW.js → chunk-MRSN67FY.js} +1 -1
- package/dist/{chunk-OK4RSIB2.js → chunk-N3KGXHV4.js} +1 -1
- package/dist/{chunk-7E55P2NR.js → chunk-NAKFPE2V.js} +1 -1
- package/dist/{chunk-VQQF6MDT.js → chunk-NC6HUEMI.js} +10 -10
- package/dist/{chunk-FXVHF6RX.js → chunk-NEXKR5RR.js} +64 -13
- package/dist/{chunk-FGBBGUM4.js → chunk-NWSKP5VI.js} +4 -4
- package/dist/{chunk-5QDHJT73.js → chunk-O53PVAUY.js} +6 -5
- package/dist/{chunk-QGUCHNSQ.js → chunk-OBSWWJJ3.js} +3 -3
- package/dist/{chunk-3DY4DQOC.js → chunk-OBXRHBOM.js} +4 -4
- package/dist/{chunk-BTH6HTE5.js → chunk-OUKSF3LK.js} +5 -5
- package/dist/{chunk-6RQP5GP5.js → chunk-OVJSVC5U.js} +2 -2
- package/dist/{chunk-YO2NPS66.js → chunk-PG33WPRF.js} +1 -1
- package/dist/{chunk-E27XMQKR.js → chunk-PP7MPUX7.js} +3 -3
- package/dist/{chunk-B5Z4VA4Q.js → chunk-QHYCF36K.js} +1 -1
- package/dist/{chunk-EHPKACA7.js → chunk-QM3M7QN3.js} +1 -1
- package/dist/{chunk-IVB6A3I7.js → chunk-R35KRBTS.js} +7 -7
- package/dist/{chunk-VRWZNI6U.js → chunk-R7BS36HP.js} +1 -1
- package/dist/{chunk-I2N427GS.js → chunk-REZNW2YV.js} +8 -8
- package/dist/{chunk-735C5J6Q.js → chunk-RPIYENP2.js} +5 -5
- package/dist/{chunk-GJMLLXZJ.js → chunk-RWXLTF3K.js} +1 -1
- package/dist/{chunk-AC6DM3S3.js → chunk-T5CN56UE.js} +1 -1
- package/dist/{chunk-CXXQQST7.js → chunk-U5YHNSSI.js} +9 -9
- package/dist/{chunk-72LXVD4O.js → chunk-W2H6JURI.js} +4 -4
- package/dist/{chunk-BCQFMAGM.js → chunk-WPGGRTF4.js} +3 -3
- package/dist/{chunk-YZQYTOCR.js → chunk-XMIL73Y2.js} +1 -1
- package/dist/{chunk-25G5KXBE.js → chunk-XSVZFWZ4.js} +7 -7
- package/dist/{chunk-OWEJP5HJ.js → chunk-YB3M2TM3.js} +1 -1
- package/dist/{chunk-B4U5XI4F.js → chunk-YFMVZBLO.js} +8 -8
- package/dist/{chunk-XAR2CJFV.js → chunk-YFQIK6LZ.js} +7 -7
- package/dist/{chunk-ATQHPT3B.js → chunk-YI2XPK7A.js} +1 -1
- package/dist/{chunk-TD6DN5LU.js → chunk-ZGCIFD5Y.js} +3 -3
- package/dist/{claude-launcher-WMIUTAXY.js → claude-launcher-ZC664P33.js} +7 -7
- package/dist/{cli-PS6GSOAE.js → cli-XWXX6PJD.js} +157 -157
- package/dist/{command-XQPL75PX.js → command-D656K4AE.js} +50 -50
- package/dist/{config-ZRGYLVDX.js → config-U2OR7MQW.js} +12 -12
- package/dist/{connect-cmd-MZXTWM4R.js → connect-cmd-73BBTTU5.js} +13 -13
- package/dist/{container-start-M7SFF62T.js → container-start-JFJYC4GQ.js} +48 -48
- package/dist/{context-cleanup-Z3HZZZXW.js → context-cleanup-JPPSK7DE.js} +4 -4
- package/dist/{context-show-cmd-SCOVPVDM.js → context-show-cmd-ETWKBHXZ.js} +14 -14
- package/dist/{control-plane-launch-MWZHJ4G5.js → control-plane-launch-JOH7FS5U.js} +14 -14
- package/dist/{demo-record-cmd-4RVSWVMK.js → demo-record-cmd-GBHPIYJA.js} +8 -8
- package/dist/{demo-voice-cmd-TQP3PZE2.js → demo-voice-cmd-GUYFA2NG.js} +20 -20
- package/dist/{dist-XEPPXF4M.js → dist-5VKIP767.js} +2 -2
- package/dist/{docker-25F2KOBJ.js → docker-RC4CFNKI.js} +10 -10
- package/dist/{doctor-Z3U3ICVR.js → doctor-TW6VREAT.js} +50 -50
- package/dist/{emit-artifact-cmd-Z4SHPKFT.js → emit-artifact-cmd-CQLCPM4R.js} +19 -19
- package/dist/{emit-cmd-NHMZ4M5S.js → emit-cmd-AIAY4WTW.js} +7 -7
- package/dist/{emit-criteria-cmd-HCN3DOJM.js → emit-criteria-cmd-VM7AO3E3.js} +16 -16
- package/dist/{emit-demo-cmd-R3TIGMFX.js → emit-demo-cmd-3NSODQTO.js} +20 -20
- package/dist/{emit-finding-cmd-YXR3ZVCJ.js → emit-finding-cmd-4CRLSMOK.js} +16 -16
- package/dist/{emit-result-cmd-Z7MBE37R.js → emit-result-cmd-GM43QMCM.js} +18 -18
- package/dist/{emit-step-cmd-JOSYDSEO.js → emit-step-cmd-J7KS2QXL.js} +16 -16
- package/dist/{exec-client-SZRXXKJ5.js → exec-client-DY7673SD.js} +8 -8
- package/dist/find-unit-ZVHHFTL2.js +24 -0
- package/dist/{findings-cmd-NGFY25WZ.js → findings-cmd-25F44AB4.js} +16 -16
- package/dist/{fleet-readiness-NWIVQQ4P.js → fleet-readiness-Z4C6W7XN.js} +14 -14
- package/dist/governing-source-IURJZXUR.js +41 -0
- package/dist/{guest-init-T7QJW2AJ.js → guest-init-4B5MMXIQ.js} +9 -9
- package/dist/{hook-fast-ECQBMESE.js → hook-fast-LB3VTEIW.js} +1 -1
- package/dist/{hook-install-MBMG3G6B.js → hook-install-QQXREIMI.js} +4 -4
- package/dist/host-checks-AQTZ7IKK.js +80 -0
- package/dist/host-key-ZWMN7VIH.js +18 -0
- package/dist/{image-tag-OCVY4W5D.js → image-tag-4DKLSTO6.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/init-P2PDGLTU.js +80 -0
- package/dist/{init-NRN2DQC3.js → init-XYFDIEOA.js} +46 -46
- package/dist/{init-agent-GDOZHPQH.js → init-agent-EGNFBPM5.js} +46 -46
- package/dist/{init-cmd-QJYX47LS.js → init-cmd-C2I22ZJA.js} +27 -27
- package/dist/{init-update-EUJ4264S.js → init-update-H4LSR7H4.js} +24 -24
- package/dist/{install-cmd-HWG6LJX5.js → install-cmd-BI4C3MGF.js} +10 -10
- package/dist/{layout-CGE4KWGO.js → layout-CE6QLPNH.js} +4 -4
- package/dist/{login-browser-G7WNR74C.js → login-browser-COSWHZEC.js} +2 -2
- package/dist/{logs-TKWJ4S4W.js → logs-7DD6J3M6.js} +7 -7
- package/dist/loop-KEGBBAV4.js +90 -0
- package/dist/machine-JK27TGT6.js +80 -0
- package/dist/{machine-skills-CXA57QHE.js → machine-skills-YJLPUAYZ.js} +4 -4
- package/dist/{mcp-install-cmd-6IGK65DV.js → mcp-install-cmd-VSWX5BSZ.js} +4 -4
- package/dist/{mcp-serve-cmd-DVE5XP2U.js → mcp-serve-cmd-HK2ODMHU.js} +9 -9
- package/dist/{paths-VOWYUJLZ.js → paths-EHWU5QWB.js} +7 -7
- package/dist/pending-K4A23JIC.js +18 -0
- package/dist/{pidfile-MFP6B2KV.js → pidfile-PG3L2CVV.js} +8 -8
- package/dist/{record-AWCJ3LTG.js → record-PXCRTDQU.js} +8 -8
- package/dist/{relay-YVZM5M6B.js → relay-2MJY25BV.js} +5 -5
- package/dist/{relay-protocol-MNWITORT.js → relay-protocol-VBCRA347.js} +5 -5
- package/dist/{run-cmd-MBH5Z2UL.js → run-cmd-F7ANZPSX.js} +16 -16
- package/dist/{runner-agents-L3PLYFWJ.js → runner-agents-HZ5FIFPU.js} +4 -4
- package/dist/runner-env-5AM2XYEN.js +24 -0
- package/dist/{runner-identity-E2XKIJNB.js → runner-identity-CL2KMFGC.js} +10 -10
- package/dist/{runner-key-W5M6AYY5.js → runner-key-CJ66VZE3.js} +46 -46
- package/dist/{session-sender-IS6S7PBC.js → session-sender-RSAHCLL6.js} +19 -19
- package/dist/{spec-cmd-ZLDYL4N5.js → spec-cmd-ED6DKB54.js} +17 -17
- package/dist/{starter-pack-XINCCMDN.js → starter-pack-IT2KYFWU.js} +5 -5
- package/dist/state-MV53BATE.js +18 -0
- package/dist/{status-L7R6FKWD.js → status-CZTCYZLU.js} +46 -46
- package/dist/{sync-cmd-3YZ4IB3T.js → sync-cmd-PQZD77PE.js} +18 -18
- package/dist/update-steps-DCFEKNW2.js +81 -0
- package/dist/{watch-LIIODJ5U.js → watch-FAQXAAUA.js} +18 -18
- package/dist/{work-claim-cmd-GWBWIZ43.js → work-claim-cmd-XPXHRV74.js} +22 -22
- package/dist/{work-cmd-CJWTGOU5.js → work-cmd-ME7DWBI6.js} +16 -16
- package/dist/{work-comment-cmd-RFVCNEET.js → work-comment-cmd-ZT4O56QR.js} +18 -18
- package/dist/{work-demo-cmd-Q2GKJCVL.js → work-demo-cmd-YV22MZXG.js} +16 -16
- package/dist/{work-logs-cmd-KZQBPU2J.js → work-logs-cmd-LUK7THB2.js} +16 -16
- package/dist/{work-needs-attention-cmd-L3DOYAMK.js → work-needs-attention-cmd-KTLWMBJV.js} +16 -16
- package/dist/{work-no-change-cmd-SHP25CJB.js → work-no-change-cmd-TWGW5ZOO.js} +16 -16
- package/dist/{work-open-pr-cmd-VATPLVSL.js → work-open-pr-cmd-VEM5MEUS.js} +17 -17
- package/dist/{work-pr-cmd-XBLNONT3.js → work-pr-cmd-M4G35ZIV.js} +16 -16
- package/dist/{work-proofs-cmd-7HSLB52S.js → work-proofs-cmd-7EZ4QZUR.js} +18 -18
- package/dist/{work-proofs-record-BE6UMZPH.js → work-proofs-record-AY72YKNC.js} +24 -24
- package/dist/{work-stop-cmd-BLOSL24H.js → work-stop-cmd-FX5QTUYJ.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-findings/SKILL.md +46 -41
- package/skill-pack/maintained/outerlayer-findings/references/examples.md +23 -0
- package/dist/agent-setup-GZBGCV3K.js +0 -40
- package/dist/caller-U26SATTV.js +0 -23
- package/dist/find-unit-3RHC4375.js +0 -24
- package/dist/governing-source-DNWVPRXP.js +0 -41
- package/dist/host-checks-QLGWXKOC.js +0 -80
- package/dist/host-key-6SMJUTJ2.js +0 -18
- package/dist/init-JY3XYZI6.js +0 -80
- package/dist/loop-HWYHQ374.js +0 -90
- package/dist/machine-NVXRV4BO.js +0 -80
- package/dist/pending-35ML3JE5.js +0 -18
- package/dist/runner-env-IHWYZ3B6.js +0 -24
- package/dist/state-NIA6XT7D.js +0 -18
- package/dist/update-steps-6SPAPBAB.js +0 -81
|
@@ -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-T5CN56UE.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RemovedTargetError, removedTargetError } from './chunk-
|
|
4
|
-
import { removeRetiredSkills } from './chunk-
|
|
5
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
-
import { withTokenHeader } from './chunk-
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-YB3M2TM3.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-2KUFDLLY.js';
|
|
5
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-R7BS36HP.js';
|
|
6
|
+
import { withTokenHeader } from './chunk-4YAFIOIV.js';
|
|
7
7
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-
|
|
10
|
+
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-G2CRPYFO.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
@@ -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-U5YHNSSI.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-2HLMGVK6.js';
|
|
6
|
+
import { autoConnect } from './chunk-ECMQNH2H.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-QHYCF36K.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-R7BS36HP.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-E5G6K7C4.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-NEXKR5RR.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,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-T5CN56UE.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
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-SF2TBJBP.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-G2CRPYFO.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -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-NEXKR5RR.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 { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-G2CRPYFO.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-ATEMEVFF.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-KGJAYD7F.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-3VEPVZV4.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-YFMVZBLO.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-O53PVAUY.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-GGKXYHT5.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-KM2IMFAG.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-4YAFIOIV.js';
|
|
10
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-7U43B2UB.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-IEX5FXEU.js';
|
|
12
|
+
import { defaultAgents } from './chunk-G2CRPYFO.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -5516,8 +5516,8 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
5516
5516
|
const _normalized = cached(() => normalizeDef(def));
|
|
5517
5517
|
const memo2 = globalConfig.memoizer;
|
|
5518
5518
|
const generateFastpass = (shape) => {
|
|
5519
|
-
const
|
|
5520
|
-
const syms =
|
|
5519
|
+
const normalized2 = _normalized.value;
|
|
5520
|
+
const syms = normalized2.symbolKeys;
|
|
5521
5521
|
const doc = new Doc(["payload", "ctx"], { shape, inst, memo: memo2, syms });
|
|
5522
5522
|
const parseStr = (k) => `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
|
|
5523
5523
|
const prefixStr = (id, k) => `
|
|
@@ -5535,11 +5535,11 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
5535
5535
|
doc.write(`const input = payload.value;`);
|
|
5536
5536
|
const ids = /* @__PURE__ */ Object.create(null);
|
|
5537
5537
|
let counter = 0;
|
|
5538
|
-
for (const key of
|
|
5538
|
+
for (const key of normalized2.allKeys) {
|
|
5539
5539
|
ids[key] = `key_${counter++}`;
|
|
5540
5540
|
}
|
|
5541
5541
|
doc.write(memo2 ? `const newResult = memo.alloc(inst, payload, {}, ctx);` : `const newResult = {};`);
|
|
5542
|
-
for (const key of
|
|
5542
|
+
for (const key of normalized2.allKeys) {
|
|
5543
5543
|
if (key === "__proto__")
|
|
5544
5544
|
continue;
|
|
5545
5545
|
const id = ids[key];
|
|
@@ -21368,23 +21368,23 @@ function fromJSONSchema(schema, params) {
|
|
|
21368
21368
|
if (typeof schema === "boolean") {
|
|
21369
21369
|
return schema ? z.any() : z.never();
|
|
21370
21370
|
}
|
|
21371
|
-
let
|
|
21371
|
+
let normalized2;
|
|
21372
21372
|
try {
|
|
21373
|
-
|
|
21373
|
+
normalized2 = JSON.parse(JSON.stringify(schema));
|
|
21374
21374
|
} catch {
|
|
21375
21375
|
throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
|
|
21376
21376
|
}
|
|
21377
|
-
const version2 = detectVersion(
|
|
21378
|
-
const defs =
|
|
21377
|
+
const version2 = detectVersion(normalized2, params?.defaultTarget);
|
|
21378
|
+
const defs = normalized2.$defs || normalized2.definitions || {};
|
|
21379
21379
|
const ctx = {
|
|
21380
21380
|
version: version2,
|
|
21381
21381
|
defs,
|
|
21382
21382
|
refs: /* @__PURE__ */ new Map(),
|
|
21383
21383
|
processing: /* @__PURE__ */ new Set(),
|
|
21384
|
-
rootSchema:
|
|
21384
|
+
rootSchema: normalized2,
|
|
21385
21385
|
registry: params?.registry ?? globalRegistry
|
|
21386
21386
|
};
|
|
21387
|
-
return convertSchema(
|
|
21387
|
+
return convertSchema(normalized2, ctx);
|
|
21388
21388
|
}
|
|
21389
21389
|
|
|
21390
21390
|
// ../../node_modules/zod/v4/core/visit.js
|
|
@@ -22299,8 +22299,8 @@ var KIND_BY_MEDIA_TYPE = {
|
|
|
22299
22299
|
};
|
|
22300
22300
|
function inferArtifactKind(mediaType) {
|
|
22301
22301
|
var _a3, _b, _c;
|
|
22302
|
-
const
|
|
22303
|
-
return (_c = KIND_BY_MEDIA_TYPE[
|
|
22302
|
+
const normalized2 = (_b = (_a3 = mediaType.split(";")[0]) == null ? void 0 : _a3.trim().toLowerCase()) != null ? _b : "";
|
|
22303
|
+
return (_c = KIND_BY_MEDIA_TYPE[normalized2]) != null ? _c : "file";
|
|
22304
22304
|
}
|
|
22305
22305
|
var MEDIA_TYPE_BY_EXTENSION = {
|
|
22306
22306
|
webm: "video/webm",
|
|
@@ -22518,6 +22518,8 @@ var FINDING_COMMAND_MAX_LENGTH = 500;
|
|
|
22518
22518
|
var FINDING_ERROR_MAX_LENGTH = 1e3;
|
|
22519
22519
|
var FINDING_TEST_MAX_LENGTH = 500;
|
|
22520
22520
|
var FINDING_SYMBOL_MAX_LENGTH = 300;
|
|
22521
|
+
var FINDING_CODE_EXCERPT_MAX_LENGTH = 2e3;
|
|
22522
|
+
var FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH = 4e3;
|
|
22521
22523
|
var FINDING_EVENT_ID_MAX_LENGTH = 64;
|
|
22522
22524
|
var FINDING_PROBLEMS_MAX = 5;
|
|
22523
22525
|
var FINDING_LINK_REASON_MAX_LENGTH = 1e3;
|
|
@@ -22531,6 +22533,12 @@ var FindingRuleSchema = external_exports.strictObject({
|
|
|
22531
22533
|
quote: external_exports.string().min(1).max(FINDING_RULE_QUOTE_MAX_LENGTH).optional(),
|
|
22532
22534
|
relation: external_exports.enum(FINDING_RULE_RELATIONS)
|
|
22533
22535
|
});
|
|
22536
|
+
var FindingCodeExcerptSchema = external_exports.strictObject({
|
|
22537
|
+
path: external_exports.string().min(1).max(FINDING_FILE_MAX_LENGTH),
|
|
22538
|
+
startLine: external_exports.number().int().min(1).max(FINDING_LINE_MAX),
|
|
22539
|
+
text: external_exports.string().min(1).max(FINDING_CODE_EXCERPT_MAX_LENGTH),
|
|
22540
|
+
sha: external_exports.string().min(1).max(64).optional()
|
|
22541
|
+
});
|
|
22534
22542
|
var FindingWhereSchema = external_exports.object({
|
|
22535
22543
|
label: external_exports.string().min(1).max(FINDING_WHERE_LABEL_MAX_LENGTH),
|
|
22536
22544
|
traceId: external_exports.string().min(1).max(FINDING_TRACE_ID_MAX_LENGTH).optional(),
|
|
@@ -22552,6 +22560,11 @@ var FindingRecordSchema = external_exports.strictObject({
|
|
|
22552
22560
|
error: external_exports.string().min(1).max(FINDING_ERROR_MAX_LENGTH).optional(),
|
|
22553
22561
|
test: external_exports.string().min(1).max(FINDING_TEST_MAX_LENGTH).optional(),
|
|
22554
22562
|
symbol: external_exports.string().min(1).max(FINDING_SYMBOL_MAX_LENGTH).optional(),
|
|
22563
|
+
/** Captured by the CLI, never typed by the agent: the code at `line`,
|
|
22564
|
+
* and the session's own record of where the problem began. Optional on
|
|
22565
|
+
* the wire, so a finding from an older CLI is still stored. */
|
|
22566
|
+
codeExcerpt: FindingCodeExcerptSchema.optional(),
|
|
22567
|
+
transcriptExcerpt: external_exports.string().min(1).max(FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH).optional(),
|
|
22555
22568
|
/** Where the problem began and where the agent got past it: two events of
|
|
22556
22569
|
* the recording session. Both or neither. */
|
|
22557
22570
|
startedAt: FindingEventSchema.optional(),
|
|
@@ -22649,6 +22662,44 @@ var FindingsResponseSchema = external_exports.object({
|
|
|
22649
22662
|
count: external_exports.number().int(),
|
|
22650
22663
|
results: external_exports.array(FindingResultSchema)
|
|
22651
22664
|
});
|
|
22665
|
+
function blank(value) {
|
|
22666
|
+
return value === void 0 || value.trim() === "";
|
|
22667
|
+
}
|
|
22668
|
+
function normalized(text) {
|
|
22669
|
+
return text.toLowerCase().replace(/[^a-z0-9]+/g, " ").trim();
|
|
22670
|
+
}
|
|
22671
|
+
function findingGaps(record2) {
|
|
22672
|
+
const gaps = [];
|
|
22673
|
+
if (blank(record2.detail)) {
|
|
22674
|
+
gaps.push({ field: "detail", reason: "say what happened: what you ran, what you expected, and what you saw" });
|
|
22675
|
+
} else if (normalized(record2.detail) === normalized(record2.title)) {
|
|
22676
|
+
gaps.push({ field: "detail", reason: "the detail repeats the title; say what happened, not what the problem is" });
|
|
22677
|
+
}
|
|
22678
|
+
if (blank(record2.cause)) {
|
|
22679
|
+
gaps.push({ field: "cause", reason: "say what is actually wrong, or write unknown" });
|
|
22680
|
+
}
|
|
22681
|
+
switch (record2.category) {
|
|
22682
|
+
case "context":
|
|
22683
|
+
if (record2.rule && record2.rule.relation !== "missing" && (record2.rule.line === void 0 || record2.rule.line === null)) {
|
|
22684
|
+
gaps.push({ field: "rule.line", reason: "name the line of the rule you quote" });
|
|
22685
|
+
}
|
|
22686
|
+
break;
|
|
22687
|
+
case "flaky-test":
|
|
22688
|
+
if (blank(record2.test)) gaps.push({ field: "test", reason: "name the test that failed and then passed" });
|
|
22689
|
+
if (blank(record2.command)) gaps.push({ field: "command", reason: "give the command that failed" });
|
|
22690
|
+
break;
|
|
22691
|
+
case "tooling":
|
|
22692
|
+
case "environment":
|
|
22693
|
+
if (blank(record2.command)) gaps.push({ field: "command", reason: "give the command that misbehaved" });
|
|
22694
|
+
if (blank(record2.error)) gaps.push({ field: "error", reason: "copy the first error line exactly as the output printed it" });
|
|
22695
|
+
break;
|
|
22696
|
+
case "defect":
|
|
22697
|
+
if (record2.line === void 0 || record2.line === null) gaps.push({ field: "line", reason: "name the line the bug is on" });
|
|
22698
|
+
if (blank(record2.symbol)) gaps.push({ field: "symbol", reason: "name the function the bug is in" });
|
|
22699
|
+
break;
|
|
22700
|
+
}
|
|
22701
|
+
return gaps;
|
|
22702
|
+
}
|
|
22652
22703
|
var SAME_PROBLEM_RULES = [
|
|
22653
22704
|
"1. Same problem means one fix resolves both. The same error or symptom is not enough.",
|
|
22654
22705
|
"2. A gap in the instructions is its own problem, separate from the thing it fails to mention. They are fixed in different places.",
|
|
@@ -23000,4 +23051,4 @@ xmlchars/xmlns/1.0/ed3.js:
|
|
|
23000
23051
|
*)
|
|
23001
23052
|
*/
|
|
23002
23053
|
|
|
23003
|
-
export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_FILENAME_HEADER, ATTACHMENT_SHA256_HEADER, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEMS_MAX, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CODE_REVIEW_NAME, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, JUDGE_NOT_RUN_ITEM_ID, RESERVED_EMIT_NAMES, REVIEWED_COMMIT_ITEM_ID, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, UNREVIEWED_FILES_ITEM_ID, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, attachmentKind, bannedPathsForTier, bindTests, cleanAttachmentFilename, downconvertSession, inferArtifactKind, inputBandOf, isHumanUserTurn, isTestSourcePath, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
|
|
23054
|
+
export { ARTIFACT_KINDS, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, ARTIFACT_MAX_FILENAME_LENGTH, ARTIFACT_MAX_REPLACES_TARGETS, ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_FILENAME_HEADER, ATTACHMENT_SHA256_HEADER, ArtifactCriterionIdSchema, ArtifactSpoolRecordSchema, ArtifactTombstoneRecordSchema, BUCKET_MODEL_MAX_LENGTH, CAPTURE_TIERS, CHECK_ITEMS_MAX, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_REFS_MAX, CHECK_ITEM_REF_PATH_MAX_LENGTH, CLI_LOGIN_KIND, CLI_LOGIN_MACHINE_NAME_MAX, CODE_REVIEW_NAME, CheckItemsSchema, CliLoginPollResponseSchema, CliLoginRefusalSchema, CliLoginStartedSchema, CriteriaListSchema, DEMO_MANIFEST_LATEST_VERSION, DEMO_RECORD_MEDIA_TYPE, DemoManifestSchema, EMITTED_RESULTS, EMITTED_RESULT_MAX_BODY_LENGTH, EMITTED_RESULT_MAX_LINK_LENGTH, EVENT_TYPES, EmittedNameSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH, FindingBatchSchema, FindingsResponseSchema, INPUT_BAND_BOUNDARIES, JUDGE_NOT_RUN_ITEM_ID, RESERVED_EMIT_NAMES, REVIEWED_COMMIT_ITEM_ID, SAME_PROBLEM_RULES, SCHEMA_VERSION, SPEED_MAX_LENGTH, StepBodySchema, StepNameSchema, UNREVIEWED_FILES_ITEM_ID, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, attachmentKind, bannedPathsForTier, bindTests, cleanAttachmentFilename, downconvertSession, findingGaps, inferArtifactKind, inputBandOf, isHumanUserTurn, isTestSourcePath, itemsAllowResult, mediaTypeForArtifactPath, parseAgentSession, parseJunit, parseTestSelector, turnCountBound };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-U5YHNSSI.js';
|
|
4
|
+
import { spoolDir } from './chunk-OBSWWJJ3.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-G2CRPYFO.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-E5G6K7C4.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-GGKXYHT5.js';
|
|
4
|
+
import { parseSize } from './chunk-REZNW2YV.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-4YAFIOIV.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-IEX5FXEU.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -151,6 +151,7 @@ var BUILTIN_CONTAINER = "builtin:container";
|
|
|
151
151
|
var PROCESS_HOOK = "builtin:process";
|
|
152
152
|
var BUILTIN_VM = "builtin:vm";
|
|
153
153
|
var BUILTIN_SANDBOX = "builtin:sandbox";
|
|
154
|
+
var SANDBOX_RUNNER_MIN_FREE_DISK = "5g";
|
|
154
155
|
function isBuiltinContainer(hook) {
|
|
155
156
|
return hook === BUILTIN_CONTAINER;
|
|
156
157
|
}
|
|
@@ -430,7 +431,7 @@ function loadRunnerConfig(configPath) {
|
|
|
430
431
|
const build = resolveBuild(configPath, runner.build);
|
|
431
432
|
const sandbox = isBuiltinSandbox(runner.hooks.provision) ? resolveSandbox(runner.sandbox, build, (field, problem) => fail(configPath, field, problem)) : void 0;
|
|
432
433
|
if (sandbox === void 0 && runner.sandbox !== void 0) fail(configPath, "runner.sandbox", `is used only when the hooks are ${BUILTIN_SANDBOX}`);
|
|
433
|
-
const housekeeping = resolveHousekeeping(configPath, runner.housekeeping, build.disk);
|
|
434
|
+
const housekeeping = resolveHousekeeping(configPath, runner.housekeeping, sandbox === void 0 ? build.disk : SANDBOX_RUNNER_MIN_FREE_DISK);
|
|
434
435
|
const checks = resolveChecks(configPath, runner.checks);
|
|
435
436
|
const update = resolveUpdate(configPath, runner.update);
|
|
436
437
|
if (config.scrub?.literals !== void 0 && !Array.isArray(config.scrub.literals)) {
|
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-QQXREIMI.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
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.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-JPPSK7DE.js');
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-JOH7FS5U.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-2HLMGVK6.js';
|
|
4
|
+
import { autoConnect } from './chunk-ECMQNH2H.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-R7BS36HP.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
4
|
-
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
3
|
+
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-HWXBOHEA.js';
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-OVJSVC5U.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-PG33WPRF.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { hasSymlinkComponent } from './chunk-
|
|
8
|
+
import { hasSymlinkComponent } from './chunk-CSFMIUYS.js';
|
|
9
9
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
10
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-G2CRPYFO.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -2,8 +2,8 @@
|
|
|
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, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-CSFMIUYS.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-G2CRPYFO.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-ATEMEVFF.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-G2CRPYFO.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-KGJAYD7F.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-3VEPVZV4.js';
|
|
5
|
+
import { runnerDir } from './chunk-T5CN56UE.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
4
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
4
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-NEXKR5RR.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
7
7
|
|
|
@@ -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, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-T5CN56UE.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { buildRefusalReason } from './chunk-
|
|
6
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
7
|
-
import { signingFetchFor } from './chunk-
|
|
8
|
-
import { signerFor } from './chunk-
|
|
9
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-YFMVZBLO.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-LXREVZX7.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-YB3M2TM3.js';
|
|
6
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-MRSN67FY.js';
|
|
7
|
+
import { signingFetchFor } from './chunk-R7BS36HP.js';
|
|
8
|
+
import { signerFor } from './chunk-KM2IMFAG.js';
|
|
9
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-T5CN56UE.js';
|
|
10
10
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
11
11
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
12
12
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -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-KM2IMFAG.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,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-2FUJ5PSV.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-KM2IMFAG.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-T5CN56UE.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-4YAFIOIV.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-7U43B2UB.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-IEX5FXEU.js';
|
|
9
|
+
import { defaultAgents } from './chunk-G2CRPYFO.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
11
|
-
import { compareVersions } from './chunk-
|
|
11
|
+
import { compareVersions } from './chunk-E5G6K7C4.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
13
13
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
14
14
|
import { dirname, join, posix, resolve } from 'path';
|
|
@@ -1,15 +1,15 @@
|
|
|
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-2HLMGVK6.js';
|
|
5
|
+
import { autoConnect } from './chunk-ECMQNH2H.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-R7BS36HP.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';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
-
import { CriteriaListSchema } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-E5G6K7C4.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-NEXKR5RR.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
15
15
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-G2CRPYFO.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-BY2YRJSC.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
5
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-QHYCF36K.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-R7BS36HP.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-KM2IMFAG.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-4YAFIOIV.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-OBSWWJJ3.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-RNCCRUT5.js';
|
|
@@ -16,11 +16,11 @@ 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-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-G2CRPYFO.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
23
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-E5G6K7C4.js';
|
|
23
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-NEXKR5RR.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
5
|
-
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-4YAFIOIV.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-7U43B2UB.js';
|
|
5
|
+
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-IEX5FXEU.js';
|
|
6
|
+
import { defaultAgents } from './chunk-G2CRPYFO.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
5
|
-
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, 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-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-QHYCF36K.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-G2CRPYFO.js';
|
|
5
|
+
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, 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-NEXKR5RR.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
import { pathToFileURL } from 'url';
|