@outerlayer/cli 0.36.0-next.20261102135508 → 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-Z6SOLWZW.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-KYXFZQ33.js → build-NIKF353A.js} +14 -14
- package/dist/{build-disk-W6AL5WHI.js → build-disk-GKLJQNYQ.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-IMNOEYV7.js → builder-THQ62YNF.js} +11 -11
- package/dist/caller-6EKJ6C43.js +22 -0
- package/dist/{check-WWX32IGY.js → check-WODTIKPR.js} +59 -59
- package/dist/{chunk-GFZ7PELR.js → chunk-2ICED253.js} +5 -5
- package/dist/{chunk-DTCTXDJP.js → chunk-2QXA7T6F.js} +5 -2
- package/dist/{chunk-6JLYU322.js → chunk-32GBZ7HD.js} +3 -3
- package/dist/{chunk-YJQ7YA7J.js → chunk-3FZVQRTC.js} +4 -4
- package/dist/{chunk-URHS76GV.js → chunk-3PDRASIP.js} +9 -9
- package/dist/{chunk-TKY3SDXH.js → chunk-44B523ZQ.js} +28 -20
- package/dist/{chunk-KRCU66AM.js → chunk-4K3VEJEE.js} +8 -8
- package/dist/{chunk-TJIFYV2Z.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-ENMX3VQ7.js → chunk-6IDMWODX.js} +6 -6
- package/dist/{chunk-ULBYRPAP.js → chunk-77MUGWQT.js} +1 -1
- package/dist/{chunk-B2P72DAE.js → chunk-7AVQ67PS.js} +1 -1
- package/dist/{chunk-ZSRMJOAK.js → chunk-BF7P3J2H.js} +3 -3
- package/dist/{chunk-FRMAQ3C4.js → chunk-D2SEASHI.js} +6 -6
- package/dist/{chunk-K2G3VB7W.js → chunk-DLHOKPNF.js} +1 -1
- package/dist/{chunk-QKOJ22OV.js → chunk-DUGZCKCF.js} +18 -18
- package/dist/{chunk-VUH7KKVD.js → chunk-FB7HGLRK.js} +3 -3
- package/dist/{chunk-WVAXJOWG.js → chunk-FCMEWS3G.js} +5 -5
- package/dist/{chunk-PMA67TIN.js → chunk-FH4CX3CS.js} +3 -3
- package/dist/{chunk-LSLK4RS4.js → chunk-G3BUOMCF.js} +1 -0
- package/dist/{chunk-3YEPLVNW.js → chunk-GQ4GMFHO.js} +8 -8
- package/dist/{chunk-ATKCHMFD.js → chunk-H5QZSOBB.js} +1 -1
- package/dist/{chunk-BUYXEU7J.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-VAYVTUU4.js → chunk-HYDNEYVD.js} +5 -5
- package/dist/{chunk-IKFAJTLZ.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-CSBW4LGL.js → chunk-IJC4JL6B.js} +5 -5
- package/dist/{chunk-YYQ5NOT5.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-FTP7SE6Y.js → chunk-L6GYPZEV.js} +3 -3
- package/dist/{chunk-RF4JHGGB.js → chunk-L6OJH3E5.js} +7 -7
- package/dist/{chunk-O3MJAHLI.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-SJJXDU2J.js → chunk-MDP3QN7U.js} +7 -7
- package/dist/{chunk-DG3M5DZU.js → chunk-MFLIYXNY.js} +1 -1
- package/dist/{chunk-6HDXRDC5.js → chunk-MSEDA6A2.js} +2 -2
- package/dist/{chunk-ENBOAE2W.js → chunk-MZQAYZY4.js} +66 -25
- package/dist/{chunk-NXQK2I3G.js → chunk-NAQWMYQ2.js} +1 -1
- package/dist/{chunk-WACPWYMH.js → chunk-NJMJHUJL.js} +22 -7
- package/dist/{chunk-D5I5SSPU.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-YMVRCSKD.js → chunk-PJ3KUE3L.js} +7 -5
- package/dist/{chunk-E3TP4QTM.js → chunk-PLB2IBJV.js} +1 -1
- package/dist/{chunk-L2BA2HXM.js → chunk-PN4LWT5F.js} +1 -1
- package/dist/{chunk-AQE6E54X.js → chunk-QU4FBCRH.js} +9 -9
- package/dist/{chunk-LO4CK734.js → chunk-REXQKAY7.js} +1 -1
- package/dist/{chunk-K7N6LAPC.js → chunk-S3GZ74UE.js} +4 -4
- package/dist/{chunk-4XXBV37R.js → chunk-SFPDEBBO.js} +6 -6
- package/dist/{chunk-CSVJGW3I.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-6B3V6EGQ.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-D4VGJQY7.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-XEWG4AB2.js → chunk-XCXBR74S.js} +739 -253
- package/dist/{chunk-Y4E7IS7H.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-CDG475ZP.js → chunk-ZPFBNCXW.js} +10 -9
- package/dist/{chunk-3UFX6KH2.js → chunk-ZSHBICCL.js} +34 -37
- package/dist/{claude-launcher-LGKJZH33.js → claude-launcher-Z6WBFSRK.js} +10 -9
- package/dist/{cli-Q5L64EEG.js → cli-KBXHOMUN.js} +148 -148
- package/dist/{command-CGEFJZNC.js → command-FPLHTT7R.js} +53 -53
- package/dist/config-RKV7FRY5.js +21 -0
- package/dist/{connect-cmd-RUBP466E.js → connect-cmd-ZG7BPIXQ.js} +14 -14
- package/dist/{container-start-JRF3SBUA.js → container-start-3NWIL4A3.js} +51 -51
- package/dist/{context-cleanup-3K2AOECJ.js → context-cleanup-ZKAL6X5I.js} +6 -5
- package/dist/{context-show-cmd-4UXO5WQJ.js → context-show-cmd-AM46ZKCT.js} +15 -15
- package/dist/{control-plane-launch-AAH4YH56.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-GEPX7GIG.js → demo-voice-cmd-YSESUTE5.js} +23 -23
- package/dist/dist-64LM4JF4.js +7 -0
- package/dist/{docker-5VWK335X.js → docker-JC6S6KH3.js} +11 -11
- package/dist/{doctor-EQM3JRZI.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-Y2Y6LEL7.js → emit-demo-cmd-OAC6RTSK.js} +23 -23
- package/dist/{emit-finding-cmd-VECM64UR.js → emit-finding-cmd-BUTFI2GD.js} +17 -17
- package/dist/{emit-result-cmd-2ERWFDUN.js → emit-result-cmd-4E4KX3QZ.js} +21 -21
- package/dist/{emit-step-cmd-V2ET66N4.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-QJPPF6BY.js → findings-cmd-N66FJR3J.js} +17 -17
- package/dist/{fleet-readiness-DKAPHAZN.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-VXROB4KF.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-HLLV37NV.js → host-key-EOTN4362.js} +9 -8
- package/dist/{image-tag-PBWQBATH.js → image-tag-VHP22FMX.js} +9 -8
- package/dist/index.js +6 -6
- package/dist/{init-Y2URPVVY.js → init-B575TM3R.js} +49 -49
- package/dist/init-LADDJ3MR.js +78 -0
- package/dist/{init-cmd-XNANUDIW.js → init-cmd-5Q2ICZBK.js} +31 -31
- package/dist/{init-update-EFCTKF6D.js → init-update-AJF4YJ6I.js} +26 -26
- package/dist/{install-cmd-RHFUZFV4.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-E7MGQINH.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-XXERT673.js → mcp-serve-cmd-7USDWMS4.js} +10 -9
- package/dist/{paths-F2ZR2EKC.js → paths-L3SEA2QQ.js} +8 -7
- package/dist/pending-3EMMPNC7.js +17 -0
- package/dist/{pidfile-7M7O2M7T.js → pidfile-ROXIFSGN.js} +9 -8
- package/dist/{record-YCJ6DZOY.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-Y5ZFCC7V.js → runner-identity-QBFVMEXN.js} +11 -11
- package/dist/{runner-key-R47C6374.js → runner-key-SUZKSV54.js} +49 -49
- package/dist/{session-sender-UPACLRGG.js → session-sender-RI5VITPP.js} +22 -22
- package/dist/{shell-function-GYD2ZQQG.js → shell-function-D2T55XFG.js} +2 -2
- package/dist/{spec-cmd-7QRE2SZK.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-BQEYEG2V.js → status-KSO5RNWL.js} +49 -49
- package/dist/{statusline-fast-NUVHCNRX.js → statusline-fast-36U3TOCL.js} +3 -3
- package/dist/{sync-cmd-NBLYEPQG.js → sync-cmd-DML4SI6Y.js} +21 -21
- package/dist/update-steps-OVKM7RAH.js +79 -0
- package/dist/{watch-IHV4V3HZ.js → watch-X3AKYTTF.js} +29 -26
- package/dist/{work-claim-cmd-WGTSU5IT.js → work-claim-cmd-SIHUKNW4.js} +24 -24
- package/dist/{work-cmd-HKOJU5FJ.js → work-cmd-Z2JX53KE.js} +17 -17
- package/dist/work-comment-cmd-D2OQTFBW.js +37 -0
- package/dist/{work-demo-cmd-J4AZAIVP.js → work-demo-cmd-Z2PRJSY3.js} +17 -17
- package/dist/{work-logs-cmd-UOO4JVLG.js → work-logs-cmd-4UICP6PY.js} +17 -17
- package/dist/{work-open-pr-cmd-QFRDDBAM.js → work-open-pr-cmd-BZOYVVM6.js} +18 -18
- package/dist/{work-pr-cmd-3Q2D5RQT.js → work-pr-cmd-6PQLQD66.js} +17 -17
- package/dist/{work-proofs-cmd-7Y3HGT7C.js → work-proofs-cmd-SWESTSKA.js} +19 -19
- package/dist/{work-proofs-record-QPUM6DY4.js → work-proofs-record-55B24QNH.js} +27 -27
- package/dist/{work-stop-cmd-SD2ZRMSY.js → work-stop-cmd-6JXCQ277.js} +17 -17
- package/package.json +3 -3
- package/dist/agent-setup-Q3HDN23U.js +0 -39
- package/dist/caller-NLRE272L.js +0 -22
- package/dist/config-T22KVOOT.js +0 -21
- package/dist/dist-VVZIGSAF.js +0 -7
- package/dist/emit-artifact-cmd-TA3MPHLU.js +0 -43
- package/dist/emit-criteria-cmd-NMTUV2KM.js +0 -34
- package/dist/find-unit-CNAPU7XQ.js +0 -23
- package/dist/governing-source-7PZ6DAJU.js +0 -40
- package/dist/host-checks-WAPO5X7X.js +0 -78
- package/dist/init-EK3PUU6W.js +0 -78
- package/dist/loop-L6TX6OR4.js +0 -89
- package/dist/machine-VJKAY2GX.js +0 -78
- package/dist/pending-VOFQRXP4.js +0 -16
- package/dist/runner-env-YW55JVU7.js +0 -23
- package/dist/state-VAHBIMS5.js +0 -16
- package/dist/update-steps-VGKNGWTZ.js +0 -79
- package/dist/work-comment-cmd-H3JCWQ2J.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 { 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';
|
|
@@ -519,6 +519,7 @@ function homeCopyArgs(home) {
|
|
|
519
519
|
var COMMAND_DIR = "/build/.command";
|
|
520
520
|
var BUILD_LABEL = "ai.outerlayer.build";
|
|
521
521
|
var SAVED_STATE_LABEL = "ai.outerlayer.saved-state";
|
|
522
|
+
var WORKSPACE_LABEL = "ai.outerlayer.workspace";
|
|
522
523
|
function runnerLabelValue(configPath) {
|
|
523
524
|
return readRunnerIdentity(configPath)?.label ?? pathLabelValue(configPath);
|
|
524
525
|
}
|
|
@@ -863,4 +864,4 @@ function ensureBuilder(rawRun, spec, options = {}) {
|
|
|
863
864
|
);
|
|
864
865
|
}
|
|
865
866
|
|
|
866
|
-
export { BUILD_LABEL, COMMAND_DIR, HASH_ARGV, JUDGE_DIR, JUDGE_ITEMS, JUDGE_MAX_TURNS, JUDGE_PROGRAM, JUDGE_REPORT, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, MIN_BUILDX_VERSION, NETWORK_HELPER_MEMORY, NETWORK_READY_FILE, RUNNER_LABEL, SAVED_STATE_LABEL, builderName, builderNameFor, builderSpec, buildxState, childEnvironment, containerExecArgs, containerRunArgs, createDockerHost, dockerIdentity, ensureBuilder, ensureFailureCount, ensureRunnerIdentity, exceedsDisk, homeCopyArgs, homeCopyRunArgs, homeCopyScript, identityArgs, identityDockerFor, identityRunArgs, identityScript, isOutOfMemory, judgeCommand, mountableHome, networkHelperName, networkHelperRunArgs, parseIdentity, parseProgramHash, parseSize, pathLabelValue, prepareRunArgs, proxyEnvironment, readDu, readJobFile, readJobFileChecked, readRunnerIdentity, runnerLabelValue, spawnRun, trackImageBuild, withAnswerProtocol, writeJobFile };
|
|
867
|
+
export { BUILD_LABEL, COMMAND_DIR, HASH_ARGV, JUDGE_DIR, JUDGE_ITEMS, JUDGE_MAX_TURNS, JUDGE_PROGRAM, JUDGE_REPORT, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, MIN_BUILDX_VERSION, NETWORK_HELPER_MEMORY, NETWORK_READY_FILE, RUNNER_LABEL, SAVED_STATE_LABEL, WORKSPACE_LABEL, builderName, builderNameFor, builderSpec, buildxState, childEnvironment, containerExecArgs, containerRunArgs, createDockerHost, dockerIdentity, ensureBuilder, ensureFailureCount, ensureRunnerIdentity, exceedsDisk, homeCopyArgs, homeCopyRunArgs, homeCopyScript, identityArgs, identityDockerFor, identityRunArgs, identityScript, isOutOfMemory, judgeCommand, mountableHome, networkHelperName, networkHelperRunArgs, parseIdentity, parseProgramHash, parseSize, pathLabelValue, prepareRunArgs, proxyEnvironment, readDu, readJobFile, readJobFileChecked, readRunnerIdentity, runnerLabelValue, spawnRun, trackImageBuild, withAnswerProtocol, writeJobFile };
|
|
@@ -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);
|