@outerlayer/cli 0.36.0-next.20261102195652 → 0.36.0-next.20261102211600
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-setup-OYOTPYAR.js +39 -0
- package/dist/{agent-subcommand-4TEUJJNL.js → agent-subcommand-3VJ6PKAT.js} +6 -5
- package/dist/{artifact-link-cmd-ZCMQIT5Y.js → artifact-link-cmd-ZPQXVG5O.js} +2 -2
- package/dist/{bridge-4KPODDN7.js → bridge-RECR25EL.js} +8 -7
- package/dist/{build-3CEFKWGY.js → build-NIKF353A.js} +14 -14
- package/dist/{build-disk-DLW3WKC5.js → build-disk-GKLJQNYQ.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-ALMQ5AWP.js → builder-THQ62YNF.js} +11 -11
- package/dist/caller-6EKJ6C43.js +22 -0
- package/dist/{check-AEDFTYH6.js → check-WODTIKPR.js} +58 -58
- package/dist/{chunk-A24PDRNU.js → chunk-2ICED253.js} +5 -5
- package/dist/{chunk-G35Y4LN5.js → chunk-2QXA7T6F.js} +1 -1
- package/dist/{chunk-6JLYU322.js → chunk-32GBZ7HD.js} +3 -3
- package/dist/{chunk-FIUUESD4.js → chunk-3FZVQRTC.js} +4 -4
- package/dist/{chunk-73E33ZA2.js → chunk-3PDRASIP.js} +9 -9
- package/dist/{chunk-Y2P3HWUG.js → chunk-44B523ZQ.js} +28 -20
- package/dist/{chunk-5XX75FJ6.js → chunk-4K3VEJEE.js} +8 -8
- package/dist/{chunk-KN3TDNF7.js → chunk-4UADHJ6P.js} +7 -7
- package/dist/{chunk-DTQPDMHG.js → chunk-5QMSZFA2.js} +2 -2
- package/dist/{chunk-B5SWBFVE.js → chunk-66UG5SL4.js} +3 -3
- package/dist/{chunk-GBGJGYEE.js → chunk-6IDMWODX.js} +6 -6
- package/dist/{chunk-ML5YKV3B.js → chunk-77MUGWQT.js} +1 -1
- package/dist/{chunk-D74RGORK.js → chunk-7AVQ67PS.js} +1 -1
- package/dist/{chunk-ZSRMJOAK.js → chunk-BF7P3J2H.js} +3 -3
- package/dist/{chunk-HRBSEXYC.js → chunk-D2SEASHI.js} +6 -6
- package/dist/{chunk-H23JP73I.js → chunk-DLHOKPNF.js} +1 -1
- package/dist/{chunk-A2U7T4ZH.js → chunk-DUGZCKCF.js} +18 -18
- package/dist/{chunk-T2KBHW6P.js → chunk-FB7HGLRK.js} +3 -3
- package/dist/{chunk-WVAXJOWG.js → chunk-FCMEWS3G.js} +5 -5
- package/dist/{chunk-2XN34EKQ.js → chunk-FH4CX3CS.js} +3 -3
- package/dist/{chunk-LSLK4RS4.js → chunk-G3BUOMCF.js} +1 -0
- package/dist/{chunk-6Z7R24XA.js → chunk-GQ4GMFHO.js} +8 -8
- package/dist/{chunk-VKKKVYA4.js → chunk-H5QZSOBB.js} +1 -1
- package/dist/{chunk-JBPVEXHQ.js → chunk-HHD5P4TU.js} +8 -8
- package/dist/{chunk-PIZA7OG2.js → chunk-HKJCNBUB.js} +1 -1
- package/dist/{chunk-2YC3TXWX.js → chunk-HOHY6ORJ.js} +1 -1
- package/dist/{chunk-7XTLS5PG.js → chunk-HYDNEYVD.js} +5 -5
- package/dist/{chunk-42DBDDHP.js → chunk-I6GHP6U7.js} +1 -1
- package/dist/{chunk-J2OMKFYB.js → chunk-IBFBBUBJ.js} +3 -3
- package/dist/{chunk-BSPJI5T7.js → chunk-IEFSDAVW.js} +1 -1
- package/dist/{chunk-PSQEGJPN.js → chunk-IJC4JL6B.js} +5 -5
- package/dist/{chunk-NMBXA3AT.js → chunk-JFPDRFAR.js} +3 -3
- package/dist/{chunk-T5QBWM6M.js → chunk-KG5BQFSO.js} +1 -1
- package/dist/{chunk-B36NSEUM.js → chunk-KIY2AUHY.js} +1 -1
- package/dist/{chunk-4DLJ343I.js → chunk-KTL7GFQ3.js} +1 -1
- package/dist/{chunk-4UUKUOS7.js → chunk-L6GYPZEV.js} +3 -3
- package/dist/{chunk-HZVS4MGL.js → chunk-L6OJH3E5.js} +7 -7
- package/dist/{chunk-JVHWWJ2J.js → chunk-LJNFUD3U.js} +6 -6
- package/dist/{chunk-I4DM7SNX.js → chunk-LTAMZ36E.js} +1 -1
- package/dist/{chunk-6KH3NMIT.js → chunk-M7AIU22N.js} +124 -1099
- package/dist/{chunk-Z3MB7SV7.js → chunk-MDP3QN7U.js} +7 -7
- package/dist/{chunk-6QSIK5VA.js → chunk-MFLIYXNY.js} +1 -1
- package/dist/{chunk-UCMIS74X.js → chunk-MSEDA6A2.js} +2 -2
- package/dist/{chunk-DL2RYNXQ.js → chunk-MZQAYZY4.js} +24 -24
- package/dist/{chunk-LZS5EYZ6.js → chunk-NAQWMYQ2.js} +1 -1
- package/dist/{chunk-BACWWK3E.js → chunk-NJMJHUJL.js} +4 -4
- package/dist/{chunk-Y5S2G2EZ.js → chunk-OATJFN2P.js} +7 -7
- package/dist/{chunk-PBGNX3PS.js → chunk-OQZ2B5AN.js} +1 -1
- package/dist/{chunk-CXJC3JLN.js → chunk-P7W7SXX7.js} +3 -3
- package/dist/{chunk-FWKQHKCR.js → chunk-PJ3KUE3L.js} +7 -5
- package/dist/{chunk-J6VC3JCG.js → chunk-PLB2IBJV.js} +1 -1
- package/dist/{chunk-IX6CFXSW.js → chunk-QU4FBCRH.js} +9 -9
- package/dist/{chunk-LO4CK734.js → chunk-REXQKAY7.js} +1 -1
- package/dist/{chunk-CA4OE2QT.js → chunk-S3GZ74UE.js} +4 -4
- package/dist/{chunk-M4HH2F64.js → chunk-SFPDEBBO.js} +6 -6
- package/dist/{chunk-SBZ545DH.js → chunk-STNWA5ZZ.js} +2 -2
- package/dist/{chunk-HTRDL42C.js → chunk-TI32Q3VB.js} +1 -1
- package/dist/{chunk-I6U6QPN6.js → chunk-TOP4K2T6.js} +1138 -80
- package/dist/{chunk-XIDDJSQU.js → chunk-U37FB7ER.js} +2 -2
- package/dist/{chunk-BN5U4RJU.js → chunk-UJD3DINB.js} +8 -8
- package/dist/{chunk-BZSJ77MO.js → chunk-UKQCIZ3R.js} +1 -1
- package/dist/{chunk-LHHDX7FB.js → chunk-UQ2YFDGP.js} +5 -5
- package/dist/{chunk-FWSVWPMS.js → chunk-V6V3NN5G.js} +1 -1
- package/dist/{chunk-HRHWA6TZ.js → chunk-V7ZAPEVS.js} +1 -1
- package/dist/{chunk-Z66CKWOM.js → chunk-VK4MMRYC.js} +1 -1
- package/dist/{chunk-LSZUTI6O.js → chunk-VNXITMKE.js} +1 -1
- package/dist/{chunk-FOSYM7TQ.js → chunk-X4QHDRXT.js} +2 -2
- package/dist/{chunk-F36EKGMP.js → chunk-XCXBR74S.js} +55 -32
- package/dist/{chunk-CI5LFLKH.js → chunk-YPVJ46Y3.js} +2 -2
- package/dist/{chunk-MVPOYQQY.js → chunk-Z4ASKZKN.js} +1 -1
- package/dist/{chunk-H2NJG3TE.js → chunk-ZFDUXKTM.js} +4 -4
- package/dist/{chunk-D6EXW4EB.js → chunk-ZM2SKQJD.js} +2 -2
- package/dist/{chunk-J6HWRVN2.js → chunk-ZPFBNCXW.js} +8 -8
- package/dist/{chunk-7UGMB5VS.js → chunk-ZSHBICCL.js} +34 -37
- package/dist/{claude-launcher-NJGZUB3P.js → claude-launcher-Z6WBFSRK.js} +10 -9
- package/dist/{cli-POIDBCZA.js → cli-KBXHOMUN.js} +148 -148
- package/dist/{command-ZLBFX553.js → command-FPLHTT7R.js} +53 -53
- package/dist/{config-GKSSGMXD.js → config-RKV7FRY5.js} +13 -13
- package/dist/{connect-cmd-6YKNFJJR.js → connect-cmd-ZG7BPIXQ.js} +14 -14
- package/dist/{container-start-55QELXPJ.js → container-start-3NWIL4A3.js} +51 -51
- package/dist/{context-cleanup-3K2AOECJ.js → context-cleanup-ZKAL6X5I.js} +6 -5
- package/dist/{context-show-cmd-FGMRJ7IG.js → context-show-cmd-AM46ZKCT.js} +15 -15
- package/dist/{control-plane-launch-DGPA3ONU.js → control-plane-launch-HW2Y53YI.js} +16 -15
- package/dist/{demo-record-cmd-2OKCGST7.js → demo-record-cmd-T4227FWF.js} +9 -8
- package/dist/{demo-voice-cmd-BPTSL7JA.js → demo-voice-cmd-YSESUTE5.js} +23 -23
- package/dist/dist-64LM4JF4.js +7 -0
- package/dist/{docker-GFEEV42Z.js → docker-JC6S6KH3.js} +11 -11
- package/dist/{doctor-ZOQSI3HL.js → doctor-U3MU6GP5.js} +53 -53
- package/dist/emit-artifact-cmd-J643XZ46.js +43 -0
- package/dist/{emit-cmd-RO4L4PFZ.js → emit-cmd-PTOSSDQK.js} +9 -8
- package/dist/emit-criteria-cmd-BARZ3MBZ.js +34 -0
- package/dist/{emit-demo-cmd-5KL64L74.js → emit-demo-cmd-OAC6RTSK.js} +23 -23
- package/dist/{emit-finding-cmd-R4OEWQQR.js → emit-finding-cmd-BUTFI2GD.js} +17 -17
- package/dist/{emit-result-cmd-5YNQDTYG.js → emit-result-cmd-4E4KX3QZ.js} +21 -21
- package/dist/{emit-step-cmd-Z5WC7UEQ.js → emit-step-cmd-7CAJHMEQ.js} +17 -17
- package/dist/{exec-client-54XKNPTI.js → exec-client-G6B7G3IN.js} +9 -8
- package/dist/find-unit-MX6XITYC.js +23 -0
- package/dist/{findings-cmd-J5ZCY2AT.js → findings-cmd-N66FJR3J.js} +17 -17
- package/dist/{fleet-readiness-DKCFOUYP.js → fleet-readiness-KFTMEUAI.js} +16 -15
- package/dist/governing-source-TO6RRWYS.js +40 -0
- package/dist/{guest-init-5QZRGP62.js → guest-init-J3TELWJG.js} +10 -9
- package/dist/{hook-fast-ICT2PRQX.js → hook-fast-Y4LO3YE7.js} +4 -4
- package/dist/{hook-install-GDNRMML4.js → hook-install-DOEXRPO5.js} +6 -5
- package/dist/{hook-wrap-fast-LWWKKPGK.js → hook-wrap-fast-L5PCBVNI.js} +3 -3
- package/dist/host-checks-AGWZAK4R.js +78 -0
- package/dist/host-key-EOTN4362.js +17 -0
- package/dist/{image-tag-RX4WTHJH.js → image-tag-VHP22FMX.js} +9 -8
- package/dist/index.js +6 -6
- package/dist/{init-BZXVQO22.js → init-B575TM3R.js} +49 -49
- package/dist/init-LADDJ3MR.js +78 -0
- package/dist/{init-cmd-3LWFEKHD.js → init-cmd-5Q2ICZBK.js} +31 -31
- package/dist/{init-update-THEHC25C.js → init-update-AJF4YJ6I.js} +26 -26
- package/dist/{install-cmd-WBVTTE5Z.js → install-cmd-GO3D5F6X.js} +11 -10
- package/dist/{layout-7XMC7S6K.js → layout-KSD373US.js} +6 -5
- package/dist/{login-browser-QH4KYG3F.js → login-browser-NUQQYH5J.js} +2 -2
- package/dist/{logs-7YIXBO2K.js → logs-QV3LNNUJ.js} +8 -7
- package/dist/loop-5CEZVTIU.js +89 -0
- package/dist/machine-CSH5K23R.js +78 -0
- package/dist/{machine-skills-HR4RNRNR.js → machine-skills-IMGN27M7.js} +6 -5
- package/dist/{mcp-install-cmd-SMPLT43Q.js → mcp-install-cmd-25PA5RAI.js} +6 -5
- package/dist/{mcp-serve-cmd-HLS24XCG.js → mcp-serve-cmd-7USDWMS4.js} +10 -9
- package/dist/{paths-2YTU4QIO.js → paths-L3SEA2QQ.js} +8 -7
- package/dist/pending-3EMMPNC7.js +17 -0
- package/dist/{pidfile-SPBTMTCJ.js → pidfile-ROXIFSGN.js} +9 -8
- package/dist/{record-3KXRFK5C.js → record-7OMLXGTG.js} +9 -8
- package/dist/{relay-I2T43PPB.js → relay-663SG53Q.js} +6 -5
- package/dist/{relay-protocol-GI2GC2AM.js → relay-protocol-4V3F6HSZ.js} +6 -5
- package/dist/runner-env-YMBCAQXO.js +23 -0
- package/dist/{runner-identity-32MTGA2F.js → runner-identity-QBFVMEXN.js} +11 -11
- package/dist/{runner-key-FXYWHMMO.js → runner-key-SUZKSV54.js} +49 -49
- package/dist/{session-sender-B6INUY7G.js → session-sender-RI5VITPP.js} +22 -22
- package/dist/{shell-function-GYD2ZQQG.js → shell-function-D2T55XFG.js} +2 -2
- package/dist/{spec-cmd-ZEZFMC4A.js → spec-cmd-IPFZNBCZ.js} +18 -18
- package/dist/{starter-pack-IMKIUA56.js → starter-pack-OLH6O4YX.js} +7 -6
- package/dist/state-ZWCWEDKQ.js +17 -0
- package/dist/{status-VPFIIHOZ.js → status-KSO5RNWL.js} +49 -49
- package/dist/{statusline-fast-NUVHCNRX.js → statusline-fast-36U3TOCL.js} +3 -3
- package/dist/{sync-cmd-W756BQWX.js → sync-cmd-DML4SI6Y.js} +21 -21
- package/dist/update-steps-OVKM7RAH.js +79 -0
- package/dist/{watch-6EDRJZMG.js → watch-X3AKYTTF.js} +29 -26
- package/dist/{work-claim-cmd-7HR4AVCT.js → work-claim-cmd-SIHUKNW4.js} +23 -23
- package/dist/{work-cmd-ZP4UIHBT.js → work-cmd-Z2JX53KE.js} +17 -17
- package/dist/work-comment-cmd-D2OQTFBW.js +37 -0
- package/dist/{work-demo-cmd-3A7Z3VVS.js → work-demo-cmd-Z2PRJSY3.js} +17 -17
- package/dist/{work-logs-cmd-NDPSRSCM.js → work-logs-cmd-4UICP6PY.js} +17 -17
- package/dist/{work-open-pr-cmd-Z5B3ERAU.js → work-open-pr-cmd-BZOYVVM6.js} +18 -18
- package/dist/{work-pr-cmd-ZVPGCDWD.js → work-pr-cmd-6PQLQD66.js} +17 -17
- package/dist/{work-proofs-cmd-VAXJ5UBF.js → work-proofs-cmd-SWESTSKA.js} +19 -19
- package/dist/{work-proofs-record-K467JH24.js → work-proofs-record-55B24QNH.js} +27 -27
- package/dist/{work-stop-cmd-J45Q2QT7.js → work-stop-cmd-6JXCQ277.js} +17 -17
- package/package.json +1 -1
- package/dist/agent-setup-5UWZZMZM.js +0 -39
- package/dist/caller-XNBGW4SP.js +0 -22
- package/dist/dist-VVZIGSAF.js +0 -7
- package/dist/emit-artifact-cmd-3LDJ4VRW.js +0 -43
- package/dist/emit-criteria-cmd-V3ERJXHB.js +0 -34
- package/dist/find-unit-OI56YEX5.js +0 -23
- package/dist/governing-source-7PD4ISRN.js +0 -40
- package/dist/host-checks-GADKYJFN.js +0 -78
- package/dist/host-key-FI6KWMJC.js +0 -16
- package/dist/init-EKF4ILHF.js +0 -78
- package/dist/loop-RUQQ4L5A.js +0 -89
- package/dist/machine-IGHZW3IO.js +0 -78
- package/dist/pending-S2SKIBCB.js +0 -16
- package/dist/runner-env-HOWRS6I6.js +0 -23
- package/dist/state-DVKFUWB3.js +0 -16
- package/dist/update-steps-D6L6AG6E.js +0 -79
- package/dist/work-comment-cmd-CYDOEMW3.js +0 -37
- package/dist/{chunk-TPMLB3VZ.js → chunk-A6RI6KTI.js} +1 -1
- package/dist/{chunk-P6PHY33P.js → chunk-F3T5QJ24.js} +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-
|
|
4
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-TOP4K2T6.js';
|
|
4
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -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-ZSHBICCL.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
7
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-6KH3NMIT.js';
|
|
5
|
+
import { detectActiveSession } from './chunk-V6V3NN5G.js';
|
|
6
|
+
import { autoConnect } from './chunk-FB7HGLRK.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-F3T5QJ24.js';
|
|
9
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NAQWMYQ2.js';
|
|
11
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
13
|
-
import {
|
|
14
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-LSLK4RS4.js';
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
15
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-M7AIU22N.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-WUKLQWGY.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 { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-5QMSZFA2.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|
|
@@ -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-Z4ASKZKN.js';
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-66UG5SL4.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-ZM2SKQJD.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-OQZ2B5AN.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-TOP4K2T6.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
13
13
|
import { 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-TOP4K2T6.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } 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 { 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-2QXA7T6F.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { contextAgents, defaultAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { contextAgents, defaultAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-TOP4K2T6.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-CDDED64E.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-TOP4K2T6.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema } from './chunk-WUKLQWGY.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-
|
|
3
|
+
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-X4QHDRXT.js';
|
|
4
4
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
7
|
-
import { upgradedStarterText } from './chunk-
|
|
8
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
9
|
-
import { senderPidfile } from './chunk-
|
|
10
|
-
import { installScrubContext } from './chunk-
|
|
6
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-S3GZ74UE.js';
|
|
7
|
+
import { upgradedStarterText } from './chunk-UQ2YFDGP.js';
|
|
8
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-IBFBBUBJ.js';
|
|
9
|
+
import { senderPidfile } from './chunk-PJ3KUE3L.js';
|
|
10
|
+
import { installScrubContext } from './chunk-ZSHBICCL.js';
|
|
11
11
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
12
|
-
import { runnerImageVersion } from './chunk-
|
|
13
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
12
|
+
import { runnerImageVersion } from './chunk-77MUGWQT.js';
|
|
13
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-STNWA5ZZ.js';
|
|
14
14
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
15
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
16
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
15
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-4UADHJ6P.js';
|
|
16
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-BF7P3J2H.js';
|
|
17
17
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
18
18
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
19
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
20
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
21
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
22
|
-
import { writeDockerClientConfig } from './chunk-
|
|
23
|
-
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
24
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
25
|
-
import { writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, HASH_ARGV, parseProgramHash, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, JUDGE_PROGRAM, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
26
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
27
|
-
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-
|
|
28
|
-
import { sanitizeTerminal, planArtifactUpload } from './chunk-
|
|
29
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, parseTranscript, scrubDeep } from './chunk-6KH3NMIT.js';
|
|
19
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-V7ZAPEVS.js';
|
|
20
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-ZFDUXKTM.js';
|
|
21
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-GQ4GMFHO.js';
|
|
22
|
+
import { writeDockerClientConfig } from './chunk-HOHY6ORJ.js';
|
|
23
|
+
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-NJMJHUJL.js';
|
|
24
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-YPVJ46Y3.js';
|
|
25
|
+
import { writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, HASH_ARGV, parseProgramHash, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, JUDGE_PROGRAM, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-ZPFBNCXW.js';
|
|
26
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-UKQCIZ3R.js';
|
|
27
|
+
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-QU4FBCRH.js';
|
|
28
|
+
import { sanitizeTerminal, planArtifactUpload } from './chunk-F3T5QJ24.js';
|
|
30
29
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
31
|
-
import { signerFor } from './chunk-
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, credentialAgent, agentCredential, strippedVariables, builtInEnvironment, builtInNames, buildAgent, AGENT_CREDENTIAL_MISSING, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, 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, runnerAgents, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, 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, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, agentVersionOf, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
37
|
-
import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, orderSessions, extractFacts, sessionsToTimeline } from './chunk-
|
|
38
|
-
import { CheckItemsSchema, downconvertSession } from './chunk-WUKLQWGY.js';
|
|
30
|
+
import { signerFor } from './chunk-I6GHP6U7.js';
|
|
31
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, buildDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-2QXA7T6F.js';
|
|
32
|
+
import { CHECKOUT_DIR, JOB_MOUNT, buildEnvironment, parseIsolation, proxyEnvironment, withProxyWarningHidden, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, checkEnvironment, withMiseVariables, checkoutPath, EVAL_INPUT_DIR, isMiseVariableAllowed, BUILD_HOME, primaryOf } from './chunk-P7W7SXX7.js';
|
|
33
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-32GBZ7HD.js';
|
|
34
|
+
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-IEFSDAVW.js';
|
|
35
|
+
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, credentialAgent, agentCredential, strippedVariables, builtInEnvironment, builtInNames, buildAgent, AGENT_CREDENTIAL_MISSING, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, 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, runnerAgents, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, 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, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, agentVersionOf, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-5QMSZFA2.js';
|
|
36
|
+
import { defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, legacyAgent, orderSessions, extractFacts, sessionsToTimeline } from './chunk-TOP4K2T6.js';
|
|
39
37
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
40
38
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
39
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
40
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-M7AIU22N.js';
|
|
41
|
+
import { CheckItemsSchema, downconvertSession } from './chunk-WUKLQWGY.js';
|
|
42
42
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
43
43
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, chmodSync, renameSync, rmdirSync, createReadStream, lstatSync, unlinkSync, realpathSync, writeSync, truncateSync, cpSync, fstatSync, readSync, createWriteStream, copyFileSync, linkSync } from 'fs';
|
|
44
44
|
import { join, dirname, isAbsolute, delimiter, sep, basename, relative, resolve } from 'path';
|
|
@@ -3299,9 +3299,13 @@ async function writeEvalInput(request) {
|
|
|
3299
3299
|
const parsed = [];
|
|
3300
3300
|
const copiedByTrace = /* @__PURE__ */ new Map();
|
|
3301
3301
|
let sessionsUnavailable;
|
|
3302
|
+
const capture = legacyAgent(request.agents).adapter.capture;
|
|
3302
3303
|
if (!request.transcripts.ok) {
|
|
3303
3304
|
sessionsUnavailable = request.transcripts.reason;
|
|
3304
3305
|
log.error(`${tag} the sessions could not be copied for the checks' input: ${sessionsUnavailable}`);
|
|
3306
|
+
} else if (capture === void 0) {
|
|
3307
|
+
sessionsUnavailable = "the legacy agent has no capture part to read the transcripts with";
|
|
3308
|
+
log.error(`${tag} the sessions could not be read for the checks' input: ${sessionsUnavailable}`);
|
|
3305
3309
|
} else {
|
|
3306
3310
|
const { copied, missed } = request.transcripts;
|
|
3307
3311
|
scrubbing(request.scrub, request.job.commitIdentity?.author, () => {
|
|
@@ -3313,7 +3317,7 @@ async function writeEvalInput(request) {
|
|
|
3313
3317
|
const stem = options.fallbackId ?? transcript.path;
|
|
3314
3318
|
let session = null;
|
|
3315
3319
|
try {
|
|
3316
|
-
session =
|
|
3320
|
+
session = capture.parseText(transcript.content, options).session;
|
|
3317
3321
|
} catch {
|
|
3318
3322
|
}
|
|
3319
3323
|
const traceId = traceIdForSession(session?.id ?? stem);
|
|
@@ -8900,11 +8904,18 @@ async function buildInBuilder(opts, deps, prepared) {
|
|
|
8900
8904
|
let tunnel;
|
|
8901
8905
|
let sanitized;
|
|
8902
8906
|
let timedOut = false;
|
|
8907
|
+
let ended = false;
|
|
8903
8908
|
const controller = new AbortController();
|
|
8904
8909
|
const timer = opts.deadlineMs === void 0 ? void 0 : setTimeout(() => {
|
|
8905
8910
|
timedOut = true;
|
|
8906
8911
|
controller.abort();
|
|
8907
8912
|
}, Math.max(0, opts.deadlineMs - Date.now()));
|
|
8913
|
+
const onEnded = () => {
|
|
8914
|
+
ended = true;
|
|
8915
|
+
controller.abort();
|
|
8916
|
+
};
|
|
8917
|
+
if (opts.signal?.aborted === true) onEnded();
|
|
8918
|
+
else opts.signal?.addEventListener("abort", onEnded, { once: true });
|
|
8908
8919
|
const tail = [];
|
|
8909
8920
|
let result;
|
|
8910
8921
|
let enginePanic;
|
|
@@ -8948,7 +8959,7 @@ async function buildInBuilder(opts, deps, prepared) {
|
|
|
8948
8959
|
const exec = (argv) => ({ argv, user: "root", cwd: "/", env: { PATH: ROOT_PATH2 } });
|
|
8949
8960
|
const check = (status, what) => {
|
|
8950
8961
|
if (hostFailure !== void 0) throw new StepFailed(`${what} stopped: ${hostFailure}`);
|
|
8951
|
-
if (controller.signal.aborted) throw new StepFailed(`${what} was stopped at the time limit`);
|
|
8962
|
+
if (controller.signal.aborted) throw new StepFailed(ended ? `${what} was stopped because its build ended` : `${what} was stopped at the time limit`);
|
|
8952
8963
|
if (status !== 0) throw new StepFailed(`${what} failed (exit ${status})`);
|
|
8953
8964
|
};
|
|
8954
8965
|
const cacheSpace = async () => {
|
|
@@ -9109,6 +9120,7 @@ async function buildInBuilder(opts, deps, prepared) {
|
|
|
9109
9120
|
failure3 = await explain(err);
|
|
9110
9121
|
} finally {
|
|
9111
9122
|
if (timer !== void 0) clearTimeout(timer);
|
|
9123
|
+
opts.signal?.removeEventListener("abort", onEnded);
|
|
9112
9124
|
for (const { stream } of inputs) stream.destroy();
|
|
9113
9125
|
const stopped = await stopBuilder();
|
|
9114
9126
|
await tunnel?.close().catch(() => void 0);
|
|
@@ -9145,6 +9157,7 @@ async function buildInBuilder(opts, deps, prepared) {
|
|
|
9145
9157
|
async function explain(err) {
|
|
9146
9158
|
if (err instanceof RecipeError) return err;
|
|
9147
9159
|
if (hostFailure !== void 0) return new RecipeError("image_builder_failed", `the image build stopped: ${hostFailure}`, logPath);
|
|
9160
|
+
if (ended) return new RecipeError("image_builder_failed", `the build ended, so its image build was stopped. The build log is at ${logPath}`, logPath);
|
|
9148
9161
|
if (timedOut) {
|
|
9149
9162
|
const limit = opts.timeLimitMinutes === void 0 ? "runner.timeLimitMinutes" : `runner.timeLimitMinutes (${opts.timeLimitMinutes} minutes)`;
|
|
9150
9163
|
return new RecipeError("image_builder_failed", `the image build ran past ${limit} and the builder microVM was stopped. The build log is at ${logPath}`, logPath);
|
|
@@ -10352,6 +10365,7 @@ async function waitForRelay(runtime, state) {
|
|
|
10352
10365
|
}
|
|
10353
10366
|
return false;
|
|
10354
10367
|
}
|
|
10368
|
+
var ABORT_POLL_MS = 1e3;
|
|
10355
10369
|
async function obtainImage(input) {
|
|
10356
10370
|
const { config, runtime, tokens, repository, tag, log } = input;
|
|
10357
10371
|
for (; ; ) {
|
|
@@ -10369,10 +10383,19 @@ async function obtainImage(input) {
|
|
|
10369
10383
|
try {
|
|
10370
10384
|
const common = { repository, configPath: config.configPath, ...input.organizationId === void 0 ? {} : { organizationId: input.organizationId }, readToken, pinned: input.pinned, log: (line2) => log.line(`${tag} ${line2}`) };
|
|
10371
10385
|
if (input.inBuilder !== void 0) {
|
|
10372
|
-
|
|
10386
|
+
const ended = new AbortController();
|
|
10387
|
+
const watch = setInterval(() => {
|
|
10388
|
+
if (input.aborted()) ended.abort();
|
|
10389
|
+
}, ABORT_POLL_MS);
|
|
10390
|
+
try {
|
|
10391
|
+
return { ok: true, built: await runtime.buildRootDisk({ ...input.inBuilder, ...common, guestHelper: input.guestHelper, deadlineMs: input.deadlineMs, signal: ended.signal }) };
|
|
10392
|
+
} finally {
|
|
10393
|
+
clearInterval(watch);
|
|
10394
|
+
}
|
|
10373
10395
|
}
|
|
10374
10396
|
return { ok: true, built: await runtime.buildImage({ ...common, buildMemory: config.build?.memory ?? "8g", guestHelper: input.guestHelper }) };
|
|
10375
10397
|
} catch (err) {
|
|
10398
|
+
if (input.aborted()) return { ok: false, reason: "ended before provision finished", aborted: true };
|
|
10376
10399
|
if (err instanceof RecipeError && err.code === "build_in_progress" && (input.now?.() ?? /* @__PURE__ */ new Date()).getTime() < input.deadlineMs) {
|
|
10377
10400
|
log.line(`${tag} waiting for another build of ${repository}'s image`);
|
|
10378
10401
|
await runtime.sleep(BUSY_IMAGE_WAIT_MS);
|
|
@@ -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-ZPFBNCXW.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-2QXA7T6F.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-
|
|
6
|
+
import { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-TOP4K2T6.js';
|
|
7
7
|
import { mkdirSync, writeFileSync, existsSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
6
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-P7W7SXX7.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-5QMSZFA2.js';
|
|
5
|
+
import { defaultAgents } from './chunk-TOP4K2T6.js';
|
|
6
|
+
import { PROVIDERS } from './chunk-G3BUOMCF.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, contextAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, legacyAgent, legacySubcommand } from './chunk-
|
|
4
|
-
import { LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, contextAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, legacyAgent, legacySubcommand } from './chunk-TOP4K2T6.js';
|
|
4
|
+
import { LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-UKQCIZ3R.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-I6GHP6U7.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-2QXA7T6F.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-P7W7SXX7.js';
|
|
7
|
+
import { universalImagePinned, UNIVERSAL_IMAGE, primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, BUILDKIT_IMAGE, RELAY_USER } from './chunk-5QMSZFA2.js';
|
|
8
|
+
import { defaultAgents } from './chunk-TOP4K2T6.js';
|
|
9
|
+
import { PROVIDERS } from './chunk-G3BUOMCF.js';
|
|
10
|
+
import { compareVersions } from './chunk-M7AIU22N.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
13
13
|
import { dirname, join, posix, resolve } from 'path';
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-6IDMWODX.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
6
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-6KH3NMIT.js';
|
|
5
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-F3T5QJ24.js';
|
|
7
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-NAQWMYQ2.js';
|
|
9
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
10
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
11
|
-
import {
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-I6GHP6U7.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-P7W7SXX7.js';
|
|
11
|
+
import { writeSyncStatus, spoolDir } from './chunk-LJNFUD3U.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
|
-
import { hookExecSpoolPath } from './chunk-
|
|
13
|
+
import { hookExecSpoolPath } from './chunk-REXQKAY7.js';
|
|
14
14
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
15
15
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-4OD45RBP.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-LSLK4RS4.js';
|
|
19
|
+
import { legacyAgent, captureAdapters } from './chunk-TOP4K2T6.js';
|
|
20
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
22
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-M7AIU22N.js';
|
|
23
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-WUKLQWGY.js';
|
|
23
24
|
import { dirname, basename, join, sep } from 'path';
|
|
24
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
25
26
|
import { execFileSync } from 'child_process';
|
|
@@ -514,21 +515,12 @@ function writeLiveUploadState(state, home) {
|
|
|
514
515
|
} catch {
|
|
515
516
|
}
|
|
516
517
|
}
|
|
517
|
-
function
|
|
518
|
-
|
|
519
|
-
const subagentsIdx = segments.lastIndexOf("subagents");
|
|
520
|
-
if (subagentsIdx <= 0) return { isSubagent: false };
|
|
521
|
-
return {
|
|
522
|
-
isSubagent: true,
|
|
523
|
-
parentSessionId: segments[subagentsIdx - 1] || void 0,
|
|
524
|
-
ownId: sessionIdFromPath(mirrorPath)
|
|
525
|
-
};
|
|
526
|
-
}
|
|
527
|
-
function sessionKeyFor(mirrorPath) {
|
|
528
|
-
return sessionIdFromPath(mirrorPath);
|
|
518
|
+
function sessionKeyFor(capture, mirrorPath) {
|
|
519
|
+
return capture.identify(mirrorPath).sessionId;
|
|
529
520
|
}
|
|
530
|
-
function endSignalKeyFor(mirrorPath) {
|
|
531
|
-
|
|
521
|
+
function endSignalKeyFor(capture, mirrorPath) {
|
|
522
|
+
const info = capture.identify(mirrorPath);
|
|
523
|
+
return info.parentSessionId ?? info.sessionId;
|
|
532
524
|
}
|
|
533
525
|
function sessionHasEnded(home, sessionKey) {
|
|
534
526
|
let text;
|
|
@@ -621,6 +613,10 @@ var LiveUploader = class {
|
|
|
621
613
|
this.stderr = opts.stderr ?? ((s) => void process.stderr.write(s));
|
|
622
614
|
this.build = opts.build;
|
|
623
615
|
this.onUnauthorized = opts.onUnauthorized;
|
|
616
|
+
const legacy = legacyAgent(opts.agents);
|
|
617
|
+
this.capture = legacy.adapter.capture;
|
|
618
|
+
if (this.capture === void 0) this.stderr(`live upload is off: the ${legacy.descriptor.id} agent has no capture part to read its sessions with
|
|
619
|
+
`);
|
|
624
620
|
}
|
|
625
621
|
/**
|
|
626
622
|
* Final pass for a build sender: sends what is pending now, without waiting out the debounce and without
|
|
@@ -641,8 +637,9 @@ var LiveUploader = class {
|
|
|
641
637
|
/** Called for every daemon `mirrored` event. Cheap and synchronous — the
|
|
642
638
|
* actual read/send work happens on the debounced cycle. */
|
|
643
639
|
notify(mirrorPath) {
|
|
644
|
-
|
|
645
|
-
|
|
640
|
+
const capture = this.capture;
|
|
641
|
+
if (this.stopped || capture === void 0) return;
|
|
642
|
+
const key = sessionKeyFor(capture, mirrorPath);
|
|
646
643
|
if (this.finished.has(key)) return;
|
|
647
644
|
const existing = this.cycles.get(key);
|
|
648
645
|
if (existing) {
|
|
@@ -651,7 +648,7 @@ var LiveUploader = class {
|
|
|
651
648
|
return;
|
|
652
649
|
}
|
|
653
650
|
const cycle = { latestFile: mirrorPath, generation: 0, loop: Promise.resolve() };
|
|
654
|
-
cycle.loop = this.runCycle(key, cycle).finally(() => {
|
|
651
|
+
cycle.loop = this.runCycle(key, cycle, capture).finally(() => {
|
|
655
652
|
if (this.cycles.get(key) === cycle) this.cycles.delete(key);
|
|
656
653
|
});
|
|
657
654
|
this.cycles.set(key, cycle);
|
|
@@ -670,7 +667,7 @@ var LiveUploader = class {
|
|
|
670
667
|
* Node's default for those is to exit the process, taking the transcript
|
|
671
668
|
* mirroring down with the sender. A throw ends this session's cycle and
|
|
672
669
|
* nothing else; the next mirrored event for it starts a fresh one. */
|
|
673
|
-
async runCycle(key, cycle) {
|
|
670
|
+
async runCycle(key, cycle, capture) {
|
|
674
671
|
try {
|
|
675
672
|
let processedGeneration = -1;
|
|
676
673
|
for (; ; ) {
|
|
@@ -682,7 +679,7 @@ var LiveUploader = class {
|
|
|
682
679
|
}
|
|
683
680
|
if (cycle.generation === processedGeneration) return;
|
|
684
681
|
const generationAtProcess = cycle.generation;
|
|
685
|
-
const stop = await this.processOnce(key, cycle.latestFile);
|
|
682
|
+
const stop = await this.processOnce(key, cycle.latestFile, capture);
|
|
686
683
|
if (stop) this.finished.add(key);
|
|
687
684
|
processedGeneration = generationAtProcess;
|
|
688
685
|
if (stop || cycle.generation === processedGeneration) return;
|
|
@@ -697,7 +694,7 @@ var LiveUploader = class {
|
|
|
697
694
|
* it. A hold that could lift on a later fire — no credentials yet,
|
|
698
695
|
* `autoSync` off, an undecidable launch spool, a misconfigured tier —
|
|
699
696
|
* returns false instead, because eligibility is re-checked on every fire. */
|
|
700
|
-
async processOnce(key, mirrorPath) {
|
|
697
|
+
async processOnce(key, mirrorPath, capture) {
|
|
701
698
|
const state = readLiveUploadState(this.home);
|
|
702
699
|
const priorEntry = state.sessions[key];
|
|
703
700
|
if (priorEntry?.ended || priorEntry?.failed) return true;
|
|
@@ -717,9 +714,9 @@ var LiveUploader = class {
|
|
|
717
714
|
}
|
|
718
715
|
destination = { ok: true, url, credential, appId, kind: "key" };
|
|
719
716
|
}
|
|
720
|
-
const info =
|
|
721
|
-
const fork = forkFor(readForkRecord(this.home), { sessionId:
|
|
722
|
-
const tail = tailTranscript(mirrorPath, void 0, {
|
|
717
|
+
const info = capture.identify(mirrorPath);
|
|
718
|
+
const fork = forkFor(readForkRecord(this.home), { sessionId: info.sessionId, parentSessionId: info.parentSessionId });
|
|
719
|
+
const tail = tailTranscript(mirrorPath, void 0, capture.tail, {
|
|
723
720
|
isSubagent: info.isSubagent,
|
|
724
721
|
parentSessionId: info.parentSessionId,
|
|
725
722
|
ownId: info.ownId,
|
|
@@ -752,7 +749,7 @@ var LiveUploader = class {
|
|
|
752
749
|
const ackedTurnIndex = priorEntry?.ackedTurnIndex ?? -1;
|
|
753
750
|
const fromTurn = ackedTurnIndex + 1;
|
|
754
751
|
const available = prepared.turns.filter((t) => t.index >= fromTurn);
|
|
755
|
-
const open = !sessionHasEnded(this.home, endSignalKeyFor(mirrorPath));
|
|
752
|
+
const open = !sessionHasEnded(this.home, endSignalKeyFor(capture, mirrorPath));
|
|
756
753
|
if (available.length === 0 && open) return false;
|
|
757
754
|
const wholeCounts = wholeSessionCounts(prepared.turns);
|
|
758
755
|
const groups = groupTurns(available, open, wholeCounts);
|
|
@@ -1071,8 +1068,8 @@ function resolveTier(raw) {
|
|
|
1071
1068
|
function entrySessionId(entry) {
|
|
1072
1069
|
return entry.ownId ?? basename(entry.file).replace(/\.jsonl$/, "");
|
|
1073
1070
|
}
|
|
1074
|
-
function sinceAdapters(sinceMs, alsoSessionIds = /* @__PURE__ */ new Set()) {
|
|
1075
|
-
return
|
|
1071
|
+
function sinceAdapters(sinceMs, alsoSessionIds = /* @__PURE__ */ new Set(), agents) {
|
|
1072
|
+
return captureAdapters(agents).map((adapter) => ({
|
|
1076
1073
|
...adapter,
|
|
1077
1074
|
discover: (roots) => {
|
|
1078
1075
|
const entries = adapter.discover(roots);
|
|
@@ -1256,7 +1253,7 @@ async function runSyncInner(opts, stats) {
|
|
|
1256
1253
|
captureTier: tier,
|
|
1257
1254
|
// An agent job that continued an earlier session left a record of when it started; its transcript opens with a copy of the earlier one.
|
|
1258
1255
|
fork: readForkRecord(home),
|
|
1259
|
-
adapters: sinceAdapters(sinceMs, hookRedeliverySessionIds),
|
|
1256
|
+
adapters: sinceAdapters(sinceMs, hookRedeliverySessionIds, opts.agents),
|
|
1260
1257
|
onSession: (session, entry, blobs) => {
|
|
1261
1258
|
enrichSessionRepo(session);
|
|
1262
1259
|
setRepoRoot(resolveRepoIdentity(session.env.cwd).repoRoot);
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { withInjectedPrograms } from './chunk-
|
|
4
|
-
import { sharedSkillNames } from './chunk-
|
|
5
|
-
import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-
|
|
3
|
+
import { withInjectedPrograms } from './chunk-KTL7GFQ3.js';
|
|
4
|
+
import { sharedSkillNames } from './chunk-32GBZ7HD.js';
|
|
5
|
+
import { GOVERNANCE_VARIABLE, versionAtLeast, CONTROL_PLANE_DIR_VARIABLE } from './chunk-IEFSDAVW.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import { defaultAgents, agentById, legacyAgent } from './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import { LEGACY_AGENT } from './chunk-LSLK4RS4.js';
|
|
7
|
+
import { setupMachineSkills } from './chunk-VNXITMKE.js';
|
|
8
|
+
import { defaultAgents, agentById, legacyAgent } from './chunk-TOP4K2T6.js';
|
|
9
|
+
import './chunk-KG5BQFSO.js';
|
|
10
|
+
import { LEGACY_AGENT } from './chunk-G3BUOMCF.js';
|
|
12
11
|
import './chunk-CDDED64E.js';
|
|
13
12
|
import './chunk-RA3O54FC.js';
|
|
14
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
+
import './chunk-M7AIU22N.js';
|
|
15
|
+
import './chunk-WUKLQWGY.js';
|
|
15
16
|
import './chunk-Z5GEFMRW.js';
|
|
16
17
|
import { spawn, execFileSync } from 'child_process';
|
|
17
18
|
import { existsSync, readdirSync, lstatSync, readFileSync, writeFileSync, rmSync, mkdirSync, realpathSync, symlinkSync, renameSync, readlinkSync, statSync } from 'fs';
|
|
@@ -324,7 +325,7 @@ async function runAgentLauncher(agentId, args, deps = {}) {
|
|
|
324
325
|
return 1;
|
|
325
326
|
}
|
|
326
327
|
} else {
|
|
327
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
328
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-HW2Y53YI.js');
|
|
328
329
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
329
330
|
if (plane.kind === "none") {
|
|
330
331
|
const own2 = ownSkillsDirFor(prefix, cwd, home, /* @__PURE__ */ new Set(), stderr);
|