@outerlayer/cli 0.36.0-next.20261030225631 → 0.36.0-next.20261031161320
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 +7 -14
- package/dist/{agent-setup-RZE6O737.js → agent-setup-UYTS2PHZ.js} +11 -10
- package/dist/{artifact-link-cmd-DLKYKNWF.js → artifact-link-cmd-W7LRR76D.js} +2 -2
- package/dist/{build-GVNOXEDV.js → build-XZGB4JPQ.js} +7 -7
- package/dist/{build-disk-H5VDB4G2.js → build-disk-YLQT3UHL.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{builder-QW6N3XBA.js → builder-TS3QFXN4.js} +5 -5
- package/dist/{caller-TUO3VAKG.js → caller-VHISEQAD.js} +8 -8
- package/dist/{check-LUDLYHUR.js → check-ARDGJYVM.js} +39 -38
- package/dist/{chunk-VVUMAXFY.js → chunk-27DQ3DDF.js} +4 -4
- package/dist/{chunk-MJEUD4PD.js → chunk-3GFZSLSP.js} +4 -4
- package/dist/{chunk-YQDXFFOK.js → chunk-3PQTOKML.js} +1 -1
- package/dist/{chunk-OUMMLC45.js → chunk-3SQZ5LIK.js} +2 -2
- package/dist/{chunk-4PH4DVV4.js → chunk-46OBCATR.js} +4 -0
- package/dist/{chunk-VOURWC2H.js → chunk-4NMAJYYE.js} +1 -1
- package/dist/{chunk-Y6FSSKLW.js → chunk-4RSTPRMH.js} +2 -2
- package/dist/{chunk-OJ2KWQPQ.js → chunk-4SFHEARD.js} +1 -1
- package/dist/{chunk-D4BIUQPA.js → chunk-5H57X7YC.js} +1 -1
- package/dist/{chunk-OR2NXZ5Y.js → chunk-5UBNSGK3.js} +3 -3
- package/dist/{chunk-7ABJKQAQ.js → chunk-6IJZL7X2.js} +2 -2
- package/dist/{chunk-QH6RZLDV.js → chunk-6O33JZ3X.js} +3 -3
- package/dist/{chunk-7GX4X25F.js → chunk-7O7LJWQO.js} +1 -1
- package/dist/{chunk-ZJX3KECE.js → chunk-7SDVHXP7.js} +14 -14
- package/dist/{chunk-A2QQGMQ7.js → chunk-C4YULCXX.js} +7 -7
- package/dist/{chunk-TV5ITSVY.js → chunk-CIUD3436.js} +1 -1
- package/dist/chunk-F3ZMVUAS.js +40 -0
- package/dist/{chunk-5TJQBHKO.js → chunk-GDIVOYDA.js} +4 -4
- package/dist/{chunk-O3OREOCP.js → chunk-GDMAN42R.js} +2 -2
- package/dist/{chunk-JII4O3EZ.js → chunk-GU25RNKD.js} +3 -3
- package/dist/{chunk-HSSECQOA.js → chunk-H3S5LJI2.js} +3 -3
- package/dist/{chunk-TGVIFTKI.js → chunk-IGHAPIKZ.js} +1 -1
- package/dist/{chunk-BR2WJ6BX.js → chunk-IP7F4CQH.js} +2 -2
- package/dist/{chunk-6KLNELLP.js → chunk-IVY3PD7P.js} +3 -3
- package/dist/{chunk-AILO7SNG.js → chunk-JFMSFHER.js} +13 -211
- package/dist/{chunk-FCJWPFDS.js → chunk-JPROSTGX.js} +4 -4
- package/dist/{chunk-ZFGGCEH2.js → chunk-JVQYYVDS.js} +293 -119
- package/dist/{chunk-H3MLZ4EA.js → chunk-KB5B6ZT5.js} +1 -1
- package/dist/{chunk-YZXI37NW.js → chunk-LHFG5YUG.js} +2 -2
- package/dist/{chunk-WNM5GXJ3.js → chunk-LRCGXRQI.js} +2 -2
- package/dist/{chunk-RUML4JVG.js → chunk-LXYWSGEW.js} +1 -1
- package/dist/{chunk-KSMN2FUF.js → chunk-LZ7PAU55.js} +6 -2
- package/dist/{chunk-BIAXDR3K.js → chunk-MMXPNEEQ.js} +8 -8
- package/dist/{chunk-ZGFUZPJP.js → chunk-MR5MAX77.js} +2 -2
- package/dist/{chunk-7K7TGHDF.js → chunk-MXWPLGO6.js} +74 -707
- package/dist/{chunk-QLWEXEEA.js → chunk-NRTRPGCW.js} +1 -1
- package/dist/{chunk-EA57H6AT.js → chunk-OLENS2DD.js} +1 -1
- package/dist/{chunk-7SO2VHTQ.js → chunk-OUPQTA7N.js} +2 -2
- package/dist/{chunk-O6NQYFPH.js → chunk-PDQWXH3F.js} +5 -5
- package/dist/{chunk-H5XPKNQZ.js → chunk-PGWK2FH5.js} +6 -6
- package/dist/{chunk-GGNG6CVE.js → chunk-PN6TNCQI.js} +14 -7
- package/dist/{chunk-YTNZ237E.js → chunk-RGH5GYU2.js} +7 -7
- package/dist/{chunk-4A7GNO4U.js → chunk-RUK7QHSH.js} +4 -4
- package/dist/{chunk-UCRCIRQQ.js → chunk-S6OD32NC.js} +5 -5
- package/dist/{chunk-MVI3J4FN.js → chunk-SK7ZXQIV.js} +5 -5
- package/dist/{chunk-D3H37WUD.js → chunk-T3AJOPUR.js} +2 -2
- package/dist/{chunk-K6KO7TBK.js → chunk-TXJMHMPO.js} +12 -12
- package/dist/{chunk-UHD5ZR46.js → chunk-U553JKMO.js} +4 -4
- package/dist/{chunk-IZVBCDSH.js → chunk-VG2NIWR4.js} +4 -4
- package/dist/{chunk-6HRYB7M6.js → chunk-VHR3WQTP.js} +8 -8
- package/dist/{chunk-QZSA5R3L.js → chunk-VUG4IZ7H.js} +1 -1
- package/dist/{chunk-UI2VOW26.js → chunk-XTVVKNRP.js} +5 -8
- package/dist/{claude-launcher-FK5ZQWXC.js → claude-launcher-YV3TDXBU.js} +5 -5
- package/dist/{cli-NPNTAB2B.js → cli-YLO3M2X4.js} +117 -119
- package/dist/{command-XLXJGPRZ.js → command-IANIXN6N.js} +35 -34
- package/dist/{config-NVGVPL3L.js → config-FF3E73ZE.js} +7 -7
- package/dist/{connect-cmd-KO2TIY6J.js → connect-cmd-IRJ3MBPY.js} +8 -8
- package/dist/{container-start-ZCG3EHAO.js → container-start-EUTOX4EU.js} +36 -35
- package/dist/{context-cleanup-2MTGLUYS.js → context-cleanup-TPHCVVFV.js} +3 -3
- package/dist/{context-show-cmd-XLER7QAI.js → context-show-cmd-YQEQ5B34.js} +9 -9
- package/dist/{control-plane-launch-RUJOCYEI.js → control-plane-launch-UWFQWMWB.js} +11 -6
- package/dist/{demo-record-cmd-NUGDPXWS.js → demo-record-cmd-Y57UWBCX.js} +3 -3
- package/dist/{demo-voice-cmd-VIMMLCLO.js → demo-voice-cmd-QFVATHAQ.js} +15 -15
- package/dist/dist-2SPMAD7Z.js +7 -0
- package/dist/{docker-3AZ3ZFLA.js → docker-6QIZVYF3.js} +5 -5
- package/dist/{doctor-TIBTSPML.js → doctor-VSPDIR6T.js} +36 -35
- package/dist/{emit-artifact-cmd-PLTXEBPU.js → emit-artifact-cmd-3YHOU4TI.js} +13 -13
- package/dist/{emit-cmd-6NZOT5DS.js → emit-cmd-HNXRGC5Z.js} +7 -6
- package/dist/{emit-criteria-cmd-BNXWF46E.js → emit-criteria-cmd-NN52H53B.js} +10 -10
- package/dist/{emit-demo-cmd-C6IQPCW7.js → emit-demo-cmd-ZYMLB5R5.js} +15 -15
- package/dist/{emit-finding-cmd-5HZE7W6C.js → emit-finding-cmd-J5UZGNP4.js} +10 -10
- package/dist/{emit-result-cmd-WCNYSHDK.js → emit-result-cmd-IWMACBFI.js} +12 -12
- package/dist/{emit-step-cmd-HSKB3SNR.js → emit-step-cmd-SRWFWEU7.js} +10 -10
- package/dist/{exec-client-UHL7WPDO.js → exec-client-FGGPQSYQ.js} +1 -1
- package/dist/find-unit-EX5ETHGL.js +19 -0
- package/dist/{findings-cmd-2OQMIVHA.js → findings-cmd-BWTLCXDR.js} +10 -10
- package/dist/{fleet-readiness-PCQSCHQ5.js → fleet-readiness-FAKMWCJV.js} +8 -8
- package/dist/{governing-source-7XCL3AYM.js → governing-source-6ANJ4HQI.js} +14 -13
- package/dist/{hook-fast-EMZVAUJ5.js → hook-fast-3HPWMSFB.js} +1 -1
- package/dist/{host-checks-ULFOOLWB.js → host-checks-3QBPJLSG.js} +34 -33
- package/dist/index.js +4 -4
- package/dist/{init-JQTQWAM7.js → init-5QYRPZ63.js} +34 -33
- package/dist/{init-ZZJ57EDL.js → init-JLOGNKPC.js} +34 -33
- package/dist/{init-cmd-UKT7YW5U.js → init-cmd-NDXN2XPU.js} +18 -18
- package/dist/{init-update-2SN2GCTM.js → init-update-4IQPGOA6.js} +24 -31
- package/dist/{layout-YJ2RD5H2.js → layout-TLUOMM6F.js} +4 -4
- package/dist/{login-browser-TWUHD2DS.js → login-browser-ODTJEGDN.js} +2 -2
- package/dist/{loop-M6SSY52X.js → loop-I7ZM4CEZ.js} +38 -37
- package/dist/{machine-7Z2IVG7X.js → machine-7NYF2WBI.js} +34 -33
- package/dist/{machine-skills-FWIZV5HO.js → machine-skills-VRUJVBQV.js} +4 -4
- package/dist/{runner-env-IDGTVTYW.js → runner-env-LWKAYARL.js} +9 -9
- package/dist/{runner-identity-RJYVFQ5K.js → runner-identity-WUAQLGRY.js} +5 -5
- package/dist/{runner-key-ESSC2IKR.js → runner-key-VVLYZFP6.js} +34 -33
- package/dist/{session-sender-NCSDRNCM.js → session-sender-EINASB3R.js} +13 -13
- package/dist/{spec-cmd-OYQEUAMI.js → spec-cmd-253AGRFF.js} +11 -11
- package/dist/{starter-pack-6FOYP6DY.js → starter-pack-7QNUT74O.js} +5 -5
- package/dist/{status-ECHO7NRV.js → status-I3TV7ZZV.js} +34 -33
- package/dist/{sync-cmd-7LESBUTT.js → sync-cmd-Z6PU33GC.js} +12 -12
- package/dist/{update-steps-JH7PPGPD.js → update-steps-VOSUXXMS.js} +35 -34
- package/dist/{watch-RSUPBIJS.js → watch-XNBXSIEI.js} +12 -12
- package/dist/{work-claim-cmd-HX7DGFY3.js → work-claim-cmd-KG3VBBZ2.js} +17 -17
- package/dist/{work-cmd-IEC6XKC6.js → work-cmd-JZUBXXJN.js} +10 -10
- package/dist/{work-comment-cmd-X65LS27O.js → work-comment-cmd-L4R6ZXLO.js} +12 -12
- package/dist/{work-demo-cmd-D7WGXJOC.js → work-demo-cmd-YNPN2PHQ.js} +10 -10
- package/dist/{work-logs-cmd-FQH2UVMI.js → work-logs-cmd-CSQJB5MD.js} +10 -10
- package/dist/{work-open-pr-cmd-EFAFERSF.js → work-open-pr-cmd-Y7YNI2PF.js} +11 -11
- package/dist/{work-pr-cmd-E55GPZKO.js → work-pr-cmd-QGAOPNLV.js} +10 -10
- package/dist/{work-proofs-cmd-V2O2DTAQ.js → work-proofs-cmd-74Z72ZG6.js} +12 -12
- package/dist/{work-proofs-record-XJFVH7B4.js → work-proofs-record-LT7UXHNZ.js} +19 -19
- package/dist/{work-stop-cmd-ANPTSTYS.js → work-stop-cmd-LF4OTNPL.js} +10 -10
- package/package.json +1 -1
- package/dist/dist-4Q4Y6YJL.js +0 -7
- package/dist/find-unit-CNYGB5AN.js +0 -19
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Capture what your coding agents actually did, and sync it to your OuterLayer
|
|
|
4
4
|
cloud workspace.
|
|
5
5
|
|
|
6
6
|
OuterLayer captures the sessions your coding agents already write to disk
|
|
7
|
-
(Claude Code
|
|
7
|
+
(Claude Code) and syncs them to your OuterLayer cloud
|
|
8
8
|
workspace, where you and your team can see what your agents did across every
|
|
9
9
|
repo. Capture itself is local: it reads the session files your agents already
|
|
10
10
|
write to disk. Uploading is a separate, launch-gated step — what reaches the
|
|
@@ -33,9 +33,8 @@ until it ends. A session launched without the variable never leaves the machine,
|
|
|
33
33
|
in any tool, however `sync` is invoked. There is no way to turn upload on
|
|
34
34
|
mid-session — the decision is made once, at launch.
|
|
35
35
|
|
|
36
|
-
Only Claude Code
|
|
37
|
-
|
|
38
|
-
and never upload.
|
|
36
|
+
Only Claude Code sessions are captured, and only Claude Code has a
|
|
37
|
+
session-start hook, so only Claude Code sessions can be launched as work.
|
|
39
38
|
|
|
40
39
|
**`outerlayer sync` is the complete upload, and it sends only launched
|
|
41
40
|
sessions.** It runs when you run it. The hooks also fire `outerlayer sync
|
|
@@ -680,15 +679,12 @@ Opt out of the segment with `outerlayer init --no-statusline`.
|
|
|
680
679
|
| Agent | Source | Status |
|
|
681
680
|
|---|---|---|
|
|
682
681
|
| Claude Code | `~/.claude/projects` (+ raw mirror) | full: turns, tool I/O, thinking, images, subagents, cost |
|
|
683
|
-
| Codex CLI | `~/.codex/sessions` | captured locally only — turns, tool I/O, edits (apply_patch), errors, usage |
|
|
684
|
-
| Cursor | `~/.cursor/chats` | captured locally only — turns, thinking, tool I/O, edits, errors, no cost (Cursor stores no token usage) |
|
|
685
682
|
|
|
686
683
|
Upload needs a session-start hook to record the launch, and only Claude Code
|
|
687
|
-
has one, so only Claude Code sessions can be launched as work
|
|
684
|
+
has one, so only Claude Code sessions can be launched as work.
|
|
688
685
|
|
|
689
|
-
Sessions
|
|
690
|
-
|
|
691
|
-
identically. Adding an agent is one source adapter.
|
|
686
|
+
Sessions land in one canonical schema (`@outerlayer/session-schema`), so sync
|
|
687
|
+
and everything downstream read one shape.
|
|
692
688
|
|
|
693
689
|
## How capture works
|
|
694
690
|
|
|
@@ -709,7 +705,4 @@ your agents never notice.
|
|
|
709
705
|
|
|
710
706
|
## Requirements
|
|
711
707
|
|
|
712
|
-
Node 22+. macOS and Linux; Windows untested (issues welcome).
|
|
713
|
-
**Cursor** sessions additionally needs Node 22.5+ (it reads Cursor's SQLite
|
|
714
|
-
chat store via the `node:sqlite` builtin); on older Node, Cursor is not
|
|
715
|
-
captured at all.
|
|
708
|
+
Node 22+. macOS and Linux; Windows untested (issues welcome).
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { keepHandWritten, runAgentSetup } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { keepHandWritten, runAgentSetup } from './chunk-RGH5GYU2.js';
|
|
4
|
+
import './chunk-MMXPNEEQ.js';
|
|
5
5
|
import './chunk-OHQMGLJP.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-3SQZ5LIK.js';
|
|
7
7
|
import './chunk-2AM6Z5BP.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
8
|
+
import './chunk-LRCGXRQI.js';
|
|
9
|
+
import './chunk-PN6TNCQI.js';
|
|
10
|
+
import './chunk-F3ZMVUAS.js';
|
|
11
|
+
import './chunk-T3AJOPUR.js';
|
|
11
12
|
import './chunk-YQHEJ5SV.js';
|
|
12
13
|
import './chunk-HWVMRETT.js';
|
|
13
14
|
import './chunk-4DJZSNVT.js';
|
|
14
15
|
import './chunk-545P7JY7.js';
|
|
15
16
|
import './chunk-BJ3KTMDH.js';
|
|
16
|
-
import './chunk-
|
|
17
|
+
import './chunk-7O7LJWQO.js';
|
|
17
18
|
import './chunk-OLM2TIOW.js';
|
|
18
19
|
import './chunk-CDDED64E.js';
|
|
19
20
|
import './chunk-RA3O54FC.js';
|
|
20
21
|
import './chunk-FZKNTIOJ.js';
|
|
21
|
-
import './chunk-
|
|
22
|
+
import './chunk-4SFHEARD.js';
|
|
22
23
|
import './chunk-YQR6E6OV.js';
|
|
23
24
|
import './chunk-CJPTUU2E.js';
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-JFMSFHER.js';
|
|
26
|
+
import './chunk-VUG4IZ7H.js';
|
|
26
27
|
import './chunk-352DHUTP.js';
|
|
27
28
|
import './chunk-WT7J2627.js';
|
|
28
29
|
import './chunk-GANAOCHR.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal, readEffectiveArtifactSpoolState } from './chunk-
|
|
3
|
+
import { sanitizeTerminal, readEffectiveArtifactSpoolState } from './chunk-3PQTOKML.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-VUG4IZ7H.js';
|
|
6
6
|
import { spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import './chunk-Z5GEFMRW.js';
|
|
8
8
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { KEY_PREFIX, SHARED_NAME, SHARED_OWNER, SHARED_REPOSITORY, TAG_HOST, UNIVERSAL_SOURCE_LABEL, baseLines, buildRepositoryImage, metadataFromLabels, prepareImageBuild, universalBase, writeRecord } from './chunk-RUK7QHSH.js';
|
|
4
|
+
import './chunk-KB5B6ZT5.js';
|
|
5
5
|
import './chunk-WAZJPDR2.js';
|
|
6
6
|
import './chunk-JBJTC3UU.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
export { RecipeError } from './chunk-
|
|
9
|
-
import './chunk-
|
|
7
|
+
import './chunk-6O33JZ3X.js';
|
|
8
|
+
export { RecipeError } from './chunk-CIUD3436.js';
|
|
9
|
+
import './chunk-OUPQTA7N.js';
|
|
10
10
|
import './chunk-4DJZSNVT.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-MXWPLGO6.js';
|
|
12
|
+
import './chunk-VUG4IZ7H.js';
|
|
13
13
|
import './chunk-WT7J2627.js';
|
|
14
14
|
import './chunk-GANAOCHR.js';
|
|
15
15
|
import './chunk-MESOOLF4.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, DOCKER_CACHE_MS, allocatedBytes, checkDiskFit, realBuildDiskProbe, runDocker, volumeBytes } from './chunk-IGHAPIKZ.js';
|
|
4
|
+
import './chunk-6O33JZ3X.js';
|
|
5
|
+
import './chunk-CIUD3436.js';
|
|
6
|
+
import './chunk-OUPQTA7N.js';
|
|
7
7
|
import './chunk-4DJZSNVT.js';
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
8
|
+
import './chunk-MXWPLGO6.js';
|
|
9
|
+
import './chunk-VUG4IZ7H.js';
|
|
10
10
|
import './chunk-WT7J2627.js';
|
|
11
11
|
import './chunk-GANAOCHR.js';
|
|
12
12
|
import './chunk-MESOOLF4.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-31T16:15:33.663Z+418c02a","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-6O33JZ3X.js';
|
|
4
|
+
import './chunk-CIUD3436.js';
|
|
5
|
+
import './chunk-OUPQTA7N.js';
|
|
6
6
|
import './chunk-4DJZSNVT.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-MXWPLGO6.js';
|
|
8
|
+
import './chunk-VUG4IZ7H.js';
|
|
9
9
|
import './chunk-WT7J2627.js';
|
|
10
10
|
import './chunk-GANAOCHR.js';
|
|
11
11
|
import './chunk-MESOOLF4.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
3
|
+
export { claimCalls, claimItem, itemCalls, leftByRunnerKey, runnerCalls, spoolHomeFor } from './chunk-LXYWSGEW.js';
|
|
4
|
+
import './chunk-H3S5LJI2.js';
|
|
5
|
+
import './chunk-IGHAPIKZ.js';
|
|
6
|
+
import './chunk-6O33JZ3X.js';
|
|
7
|
+
import './chunk-CIUD3436.js';
|
|
8
|
+
import './chunk-OUPQTA7N.js';
|
|
9
9
|
import './chunk-4DJZSNVT.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
10
|
+
import './chunk-MXWPLGO6.js';
|
|
11
|
+
import './chunk-VUG4IZ7H.js';
|
|
12
12
|
import './chunk-352DHUTP.js';
|
|
13
13
|
import './chunk-WT7J2627.js';
|
|
14
14
|
import './chunk-GANAOCHR.js';
|
|
@@ -1,73 +1,74 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-7SDVHXP7.js';
|
|
4
4
|
import './chunk-7Y5VW4JG.js';
|
|
5
5
|
import './chunk-3JVYMD4G.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-27DQ3DDF.js';
|
|
8
|
+
import './chunk-MR5MAX77.js';
|
|
9
9
|
import './chunk-3LCXSD26.js';
|
|
10
10
|
import './chunk-LGV5N5DG.js';
|
|
11
11
|
import './chunk-EZRAR5YG.js';
|
|
12
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
12
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-PGWK2FH5.js';
|
|
13
13
|
import './chunk-AF6DQJ5W.js';
|
|
14
|
-
import { findServiceUnit } from './chunk-
|
|
15
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
16
|
-
import './chunk-
|
|
14
|
+
import { findServiceUnit } from './chunk-4NMAJYYE.js';
|
|
15
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, HELPER_ENV, helperSocketPath, probeHelper, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-JVQYYVDS.js';
|
|
16
|
+
import './chunk-GDIVOYDA.js';
|
|
17
17
|
import './chunk-I3LTIAOR.js';
|
|
18
18
|
import './chunk-2PGI6RDE.js';
|
|
19
|
-
import './chunk-
|
|
20
|
-
import './chunk-
|
|
21
|
-
import './chunk-
|
|
22
|
-
import './chunk-
|
|
19
|
+
import './chunk-U553JKMO.js';
|
|
20
|
+
import './chunk-5UBNSGK3.js';
|
|
21
|
+
import './chunk-XTVVKNRP.js';
|
|
22
|
+
import './chunk-3GFZSLSP.js';
|
|
23
23
|
import './chunk-AAGU5FJF.js';
|
|
24
24
|
import './chunk-ZVB57WI6.js';
|
|
25
25
|
import './chunk-ALEUIS35.js';
|
|
26
26
|
import './chunk-TQMI335S.js';
|
|
27
|
-
import './chunk-
|
|
28
|
-
import './chunk-
|
|
27
|
+
import './chunk-NRTRPGCW.js';
|
|
28
|
+
import './chunk-IP7F4CQH.js';
|
|
29
29
|
import './chunk-NN33FYXG.js';
|
|
30
|
-
import './chunk-
|
|
31
|
-
import './chunk-
|
|
30
|
+
import './chunk-RUK7QHSH.js';
|
|
31
|
+
import './chunk-KB5B6ZT5.js';
|
|
32
32
|
import './chunk-WAZJPDR2.js';
|
|
33
33
|
import './chunk-OGFGZQA3.js';
|
|
34
|
-
import './chunk-
|
|
35
|
-
import './chunk-
|
|
34
|
+
import './chunk-46OBCATR.js';
|
|
35
|
+
import './chunk-LZ7PAU55.js';
|
|
36
36
|
import './chunk-55PYF6S2.js';
|
|
37
37
|
import './chunk-JBJTC3UU.js';
|
|
38
38
|
import './chunk-UZGQT6OF.js';
|
|
39
39
|
import './chunk-MKSZHT6S.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
40
|
+
import './chunk-LXYWSGEW.js';
|
|
41
|
+
import { loadRunnerConfig, RunnerConfigError, checkHooks, keyRunnerFactory } from './chunk-H3S5LJI2.js';
|
|
42
|
+
import './chunk-IGHAPIKZ.js';
|
|
43
|
+
import './chunk-6O33JZ3X.js';
|
|
44
|
+
import './chunk-CIUD3436.js';
|
|
45
|
+
import './chunk-OUPQTA7N.js';
|
|
46
46
|
import './chunk-OHQMGLJP.js';
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-
|
|
47
|
+
import './chunk-3SQZ5LIK.js';
|
|
48
|
+
import './chunk-S6OD32NC.js';
|
|
49
49
|
import './chunk-IP7BIBXJ.js';
|
|
50
|
-
import './chunk-
|
|
51
|
-
import './chunk-
|
|
52
|
-
import './chunk-
|
|
50
|
+
import './chunk-LHFG5YUG.js';
|
|
51
|
+
import './chunk-JPROSTGX.js';
|
|
52
|
+
import './chunk-5H57X7YC.js';
|
|
53
53
|
import './chunk-A2LHHKTT.js';
|
|
54
54
|
import './chunk-2AM6Z5BP.js';
|
|
55
|
-
import './chunk-
|
|
56
|
-
import './chunk-
|
|
57
|
-
import './chunk-
|
|
58
|
-
import './chunk-
|
|
55
|
+
import './chunk-3PQTOKML.js';
|
|
56
|
+
import './chunk-LRCGXRQI.js';
|
|
57
|
+
import './chunk-PN6TNCQI.js';
|
|
58
|
+
import './chunk-F3ZMVUAS.js';
|
|
59
|
+
import './chunk-T3AJOPUR.js';
|
|
59
60
|
import './chunk-YQHEJ5SV.js';
|
|
60
61
|
import './chunk-HWVMRETT.js';
|
|
61
62
|
import './chunk-4DJZSNVT.js';
|
|
62
|
-
import './chunk-
|
|
63
|
+
import './chunk-GDMAN42R.js';
|
|
63
64
|
import './chunk-545P7JY7.js';
|
|
64
65
|
import './chunk-FUJUFLDC.js';
|
|
65
66
|
import './chunk-BKO6JEZI.js';
|
|
66
67
|
import './chunk-FGF52V4V.js';
|
|
67
68
|
import './chunk-HCVLP7XA.js';
|
|
68
69
|
import './chunk-BJ3KTMDH.js';
|
|
69
|
-
import './chunk-
|
|
70
|
-
import './chunk-
|
|
70
|
+
import './chunk-7O7LJWQO.js';
|
|
71
|
+
import './chunk-MXWPLGO6.js';
|
|
71
72
|
import './chunk-OLM2TIOW.js';
|
|
72
73
|
import './chunk-CDDED64E.js';
|
|
73
74
|
import './chunk-RA3O54FC.js';
|
|
@@ -75,11 +76,11 @@ import './chunk-5WYT3PPE.js';
|
|
|
75
76
|
import './chunk-WZBHBH3J.js';
|
|
76
77
|
import './chunk-FZKNTIOJ.js';
|
|
77
78
|
import './chunk-KYDEBGJG.js';
|
|
78
|
-
import './chunk-
|
|
79
|
+
import './chunk-4SFHEARD.js';
|
|
79
80
|
import './chunk-YQR6E6OV.js';
|
|
80
81
|
import './chunk-CJPTUU2E.js';
|
|
81
|
-
import './chunk-
|
|
82
|
-
import './chunk-
|
|
82
|
+
import './chunk-JFMSFHER.js';
|
|
83
|
+
import './chunk-VUG4IZ7H.js';
|
|
83
84
|
import './chunk-352DHUTP.js';
|
|
84
85
|
import './chunk-WT7J2627.js';
|
|
85
86
|
import { claudeEnvPath, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-JVQYYVDS.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-IP7F4CQH.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-WAZJPDR2.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
7
|
+
import { keyRunnerFactory } from './chunk-H3S5LJI2.js';
|
|
8
|
+
import { isSignatureRefusal, postJson } from './chunk-S6OD32NC.js';
|
|
9
9
|
import { signerFor } from './chunk-4DJZSNVT.js';
|
|
10
10
|
import { pidFilePath } from './chunk-WT7J2627.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-LHFG5YUG.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { acquireSpoolLockAt } from './chunk-
|
|
7
|
+
import { acquireSpoolLockAt } from './chunk-3PQTOKML.js';
|
|
8
8
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YQHEJ5SV.js';
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-MXWPLGO6.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
|
-
import { StepNameSchema, StepBodySchema } from './chunk-
|
|
12
|
+
import { StepNameSchema, StepBodySchema } from './chunk-VUG4IZ7H.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
3
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-VUG4IZ7H.js';
|
|
4
4
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
4
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-7O7LJWQO.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { linkedAgentsPath } from './chunk-
|
|
8
|
+
import { linkedAgentsPath } from './chunk-4SFHEARD.js';
|
|
9
9
|
import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -70,11 +70,13 @@ function runExec(socketPath, request, io = {}) {
|
|
|
70
70
|
settled = true;
|
|
71
71
|
clearTimeout(handshakeTimer);
|
|
72
72
|
io.signal?.removeEventListener("abort", kill);
|
|
73
|
+
io.disconnect?.removeEventListener("abort", drop);
|
|
73
74
|
void stdinIterator?.return?.();
|
|
74
75
|
socket.destroy();
|
|
75
76
|
if (outcome instanceof Error) reject(outcome);
|
|
76
77
|
else resolve(outcome);
|
|
77
78
|
};
|
|
79
|
+
const drop = () => finish(new ExecConnectionError("the connection to the exec agent was closed on purpose"));
|
|
78
80
|
const send = (type, payload) => socket.destroyed ? true : socket.write(encodeFrame(type, payload));
|
|
79
81
|
function kill() {
|
|
80
82
|
if (killed || !greeted) return;
|
|
@@ -159,6 +161,8 @@ function runExec(socketPath, request, io = {}) {
|
|
|
159
161
|
socket.on("error", (err) => finish(new ExecConnectionError(`the exec agent at ${socketPath} could not be reached: ${err.message}`)));
|
|
160
162
|
socket.on("close", () => finish(new ExecConnectionError("the connection to the exec agent ended before the command did")));
|
|
161
163
|
io.signal?.addEventListener("abort", kill, { once: true });
|
|
164
|
+
if (io.disconnect?.aborted === true) drop();
|
|
165
|
+
else io.disconnect?.addEventListener("abort", drop, { once: true });
|
|
162
166
|
});
|
|
163
167
|
}
|
|
164
168
|
async function execCapture(socketPath, request, io = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-IP7F4CQH.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-JVQYYVDS.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-IP7F4CQH.js';
|
|
5
5
|
import { runnerDir } from './chunk-WT7J2627.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME } from './chunk-JFMSFHER.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -5,7 +5,7 @@ import { C } from './chunk-2AM6Z5BP.js';
|
|
|
5
5
|
import { readCloudConfigStrict, CloudConfigError, readCloudConfig, writeCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-
|
|
8
|
+
import { CLI_LOGIN_MACHINE_NAME_MAX, CliLoginPollResponseSchema, CLI_LOGIN_KIND, CliLoginRefusalSchema, CliLoginStartedSchema } from './chunk-VUG4IZ7H.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
10
|
import { generateKeyPairSync, privateDecrypt, constants, createPrivateKey } from 'crypto';
|
|
11
11
|
import { spawn } from 'child_process';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
5
|
-
import { CaptureDaemon } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-XTVVKNRP.js';
|
|
4
|
+
import { spoolDir } from './chunk-GDMAN42R.js';
|
|
5
|
+
import { CaptureDaemon } from './chunk-MXWPLGO6.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-LHFG5YUG.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
6
|
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-YQHEJ5SV.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-MXWPLGO6.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-CIUD3436.js';
|
|
4
|
+
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-OUPQTA7N.js';
|
|
5
5
|
import { ensureHostKey } from './chunk-4DJZSNVT.js';
|
|
6
|
-
import { compareVersions } from './chunk-
|
|
6
|
+
import { compareVersions } from './chunk-MXWPLGO6.js';
|
|
7
7
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-WT7J2627.js';
|
|
8
8
|
import { CLAUDE_PORT, BUILD_HOME, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-GANAOCHR.js';
|
|
9
9
|
import { JOIN_DIR, RELAY_ID, JOIN_SOCKET, TARGET_GATEWAY, TARGET_CLAUDE, destinationTarget, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
4
4
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
5
|
-
import { splitRawFile } from './chunk-
|
|
5
|
+
import { splitRawFile } from './chunk-JFMSFHER.js';
|
|
6
6
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
@@ -3,27 +3,27 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-7Y5VW4JG.js';
|
|
4
4
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
7
|
-
import { renderUpdateSteps } from './chunk-
|
|
6
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-27DQ3DDF.js';
|
|
7
|
+
import { renderUpdateSteps } from './chunk-MR5MAX77.js';
|
|
8
8
|
import { RUNNER_PROTOCOL } from './chunk-3LCXSD26.js';
|
|
9
9
|
import { writeFleetState } from './chunk-LGV5N5DG.js';
|
|
10
10
|
import { writePendingUpdate } from './chunk-EZRAR5YG.js';
|
|
11
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-PGWK2FH5.js';
|
|
12
12
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-AF6DQJ5W.js';
|
|
13
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionProcess, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-
|
|
14
|
-
import { RepoFilter } from './chunk-
|
|
13
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, releaseLease, LEASE_SECONDS, itemTag, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionMicroVm, deliverCommitHooks, provisionProcess, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, usableCpus, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, restartSender, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, savedStatesDir, readRecords, removeOldestUntil, ensureNetworkReady, managedBuildSettingsFor, ADOPTED_FETCH_RETRY_WINDOW_MS, gitRemoteFor, startServicesFor, createLeaseChannel, serveLease, vmAlive, writeGuestGhConfig, shellQuote, deliverJobFiles, inTeardown } from './chunk-JVQYYVDS.js';
|
|
14
|
+
import { RepoFilter } from './chunk-XTVVKNRP.js';
|
|
15
15
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
16
16
|
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-ALEUIS35.js';
|
|
17
17
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
18
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
18
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-IP7F4CQH.js';
|
|
19
19
|
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-WAZJPDR2.js';
|
|
20
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
20
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-LZ7PAU55.js';
|
|
21
21
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
22
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-
|
|
23
|
-
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-
|
|
24
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
25
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-
|
|
26
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
22
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls } from './chunk-LXYWSGEW.js';
|
|
23
|
+
import { keyRunnerFactory, isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-H3S5LJI2.js';
|
|
24
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-IGHAPIKZ.js';
|
|
25
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun } from './chunk-6O33JZ3X.js';
|
|
26
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-S6OD32NC.js';
|
|
27
27
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-4DJZSNVT.js';
|
|
28
28
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
29
29
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-WT7J2627.js';
|
|
@@ -2171,7 +2171,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
2171
2171
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
2172
2172
|
);
|
|
2173
2173
|
async function tryClaimAndStart(state, item, queue) {
|
|
2174
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
2174
|
+
const { postJson: postJson2 } = await import('./work-cmd-JZUBXXJN.js');
|
|
2175
2175
|
const log = logOf(state);
|
|
2176
2176
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
2177
2177
|
const claim = await retrySend(
|
|
@@ -3542,7 +3542,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3542
3542
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3543
3543
|
const held = heldClaudeCredential();
|
|
3544
3544
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3545
|
-
return (await import('./check-
|
|
3545
|
+
return (await import('./check-ARDGJYVM.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3546
3546
|
},
|
|
3547
3547
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3548
3548
|
log
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-3PQTOKML.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-LRCGXRQI.js';
|
|
5
5
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-YQHEJ5SV.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-HCVLP7XA.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleClaudeSkills } from './chunk-
|
|
9
|
-
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleClaudeSkills } from './chunk-OLENS2DD.js';
|
|
9
|
+
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-7O7LJWQO.js';
|
|
10
10
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { hasSymlinkComponent } from './chunk-
|
|
13
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-
|
|
12
|
+
import { hasSymlinkComponent } from './chunk-4SFHEARD.js';
|
|
13
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-JFMSFHER.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
16
16
|
import { join, dirname, posix, basename, isAbsolute, relative } from 'path';
|
|
@@ -99,7 +99,7 @@ function skillsFolders() {
|
|
|
99
99
|
assetPaths: [],
|
|
100
100
|
targets: [...ALL_TARGET_IDS]
|
|
101
101
|
});
|
|
102
|
-
return [
|
|
102
|
+
return [.../* @__PURE__ */ new Set([AGENTS_SKILLS_BASE, ...compiled.files.map((file) => dirname(dirname(file.path)))])];
|
|
103
103
|
}
|
|
104
104
|
function shortBuild() {
|
|
105
105
|
const file = loadTemplateFiles().find((f) => f.path === `${skillDir("build")}/SKILL.md`);
|
|
@@ -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-OUPQTA7N.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';
|