@outerlayer/cli 0.38.0-next.20261111182110 → 0.38.0-next.20261111231234
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 +4 -0
- package/dist/agent-setup-3GY4FFSC.js +40 -0
- package/dist/{agent-subcommand-NZFPV3MV.js → agent-subcommand-VDN4AFAJ.js} +5 -5
- package/dist/{artifact-link-cmd-L4BXSQQP.js → artifact-link-cmd-A7SROEQS.js} +2 -2
- package/dist/{bridge-OBIGQXDH.js → bridge-QUQYCBQN.js} +8 -8
- package/dist/{build-4IYEB6OE.js → build-SD44TP2B.js} +14 -14
- package/dist/{build-disk-2MOEPIZF.js → build-disk-4PCVGMAT.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-SVI2D35R.js → builder-JG2DHKSN.js} +11 -11
- package/dist/caller-A2K7SLSL.js +23 -0
- package/dist/{check-XIJ2MOWV.js → check-JNQVYVHI.js} +58 -58
- package/dist/{chunk-QHYCF36K.js → chunk-26BFN6DH.js} +1 -1
- package/dist/{chunk-3YJJ2JDV.js → chunk-2UCTMANO.js} +1 -1
- package/dist/{chunk-MOA4PGYL.js → chunk-2VJVPP5Y.js} +1 -1
- package/dist/{chunk-KA4BMGBR.js → chunk-3C23ZPWR.js} +2 -2
- package/dist/{chunk-TH3K67SR.js → chunk-3T7PXUHN.js} +9 -9
- package/dist/{chunk-ZC2BXXKB.js → chunk-3VWX5BYV.js} +17 -16
- package/dist/{chunk-36XB56GG.js → chunk-43R7JHQI.js} +5 -5
- package/dist/{chunk-SIGBRVEF.js → chunk-4FHDVWKO.js} +18 -5
- package/dist/{chunk-MOFT7QCR.js → chunk-4T2NBVC4.js} +5 -5
- package/dist/{chunk-6FQSV7ZK.js → chunk-5NK2KKG6.js} +3 -3
- package/dist/{chunk-NEXKR5RR.js → chunk-5NVF5TAL.js} +6 -1
- package/dist/{chunk-6GZL5RIV.js → chunk-5OSY3LK3.js} +30 -13
- package/dist/{chunk-OKAAVLLW.js → chunk-5TMM2K23.js} +4 -4
- package/dist/{chunk-PBHAM73F.js → chunk-5UFAWMET.js} +3 -3
- package/dist/{chunk-KR34GXEH.js → chunk-6FB7NTJK.js} +1 -1
- package/dist/{chunk-VNHCN75M.js → chunk-6X2BSMRM.js} +1 -1
- package/dist/{chunk-JDOEEKPN.js → chunk-722KABMV.js} +25 -9
- package/dist/{chunk-IN7QCBO5.js → chunk-7DIYEB3X.js} +6 -6
- package/dist/{chunk-6XORUAR7.js → chunk-7GJEQXOH.js} +1 -1
- package/dist/{chunk-J345NEVJ.js → chunk-A4NWDCWS.js} +5 -5
- package/dist/{chunk-LW5RIKAV.js → chunk-B2SHUO6J.js} +1 -1
- package/dist/{chunk-UWLCJZ45.js → chunk-BBRXFXBB.js} +1 -1
- package/dist/{chunk-3SHX2D37.js → chunk-BJIJYPGC.js} +5 -5
- package/dist/{chunk-N3KGXHV4.js → chunk-BUT777XB.js} +1 -1
- package/dist/{chunk-XAVR7JHO.js → chunk-C4R6LMPQ.js} +10 -10
- package/dist/{chunk-BECC4325.js → chunk-DLUBSTLW.js} +8 -8
- package/dist/{chunk-DKRZZBKI.js → chunk-DZFIRKDZ.js} +3 -3
- package/dist/{chunk-TMROYEP4.js → chunk-ECNWHXIO.js} +4 -4
- package/dist/{chunk-NFPJ2XC2.js → chunk-EJ7ZXBXS.js} +3 -3
- package/dist/{chunk-ATEMEVFF.js → chunk-ELPP5OHC.js} +1 -1
- package/dist/{chunk-6BXJESQF.js → chunk-ERG3WCEC.js} +9 -9
- package/dist/{chunk-QBJ7MMOT.js → chunk-EUHUIIGT.js} +16 -5
- package/dist/{chunk-FQPGZOH3.js → chunk-FUZEOWF4.js} +1 -1
- package/dist/{chunk-ZQII2ZRP.js → chunk-I5U6CFH4.js} +1 -1
- package/dist/{chunk-WV4T6ZOQ.js → chunk-I62FX622.js} +2 -2
- package/dist/{chunk-ORLJK7UT.js → chunk-IGBPPM7F.js} +7 -7
- package/dist/{chunk-36M66QKN.js → chunk-J6KKJGR7.js} +2 -1
- package/dist/{chunk-DULO2L5B.js → chunk-JIANCWJ3.js} +1 -1
- package/dist/{chunk-6XMC6R4W.js → chunk-KVWFAAAQ.js} +1 -1
- package/dist/{chunk-USINHGZI.js → chunk-KZU5WQK5.js} +3 -3
- package/dist/{chunk-I45HTSSA.js → chunk-LVELQ635.js} +1 -1
- package/dist/{chunk-RHPEAVKR.js → chunk-MVERFCX4.js} +1 -1
- package/dist/{chunk-BIMHESZG.js → chunk-N6BNN6ZD.js} +1 -1
- package/dist/{chunk-AJ3YUM23.js → chunk-NDQC2WUJ.js} +1 -1
- package/dist/{chunk-ABRGN5OA.js → chunk-NO4N4D32.js} +4 -4
- package/dist/{chunk-33XLQIV4.js → chunk-NRDFBOKE.js} +3 -3
- package/dist/{chunk-LVNMKOWI.js → chunk-OAPWDSBW.js} +2 -2
- package/dist/{chunk-CT4PKI24.js → chunk-OTWTUHWY.js} +339 -113
- package/dist/{chunk-UPUHL3KC.js → chunk-OYRAQXRQ.js} +7 -7
- package/dist/{chunk-DKTXQ7XQ.js → chunk-PCGU6T7J.js} +2 -2
- package/dist/{chunk-OPCFOIZJ.js → chunk-POBH5YCG.js} +1 -1
- package/dist/{chunk-LKLP5YMH.js → chunk-Q7J4T2VP.js} +7 -7
- package/dist/{chunk-PDPBWX67.js → chunk-QYLBGMTA.js} +17 -6
- package/dist/{chunk-3Z5KBFBB.js → chunk-RCK2MJRG.js} +2 -2
- package/dist/{chunk-F3RBGMHL.js → chunk-RUX4M4AX.js} +1 -1
- package/dist/{chunk-QENFVQ7O.js → chunk-SFSE6YDX.js} +56 -16
- package/dist/{chunk-NJ6IJFKR.js → chunk-SLORYOL4.js} +1 -1
- package/dist/{chunk-QH5NV7EQ.js → chunk-T4FSZ7LA.js} +7 -7
- package/dist/{chunk-4G5SYPK2.js → chunk-UXARYJQ4.js} +1 -1
- package/dist/{chunk-CZDYUKA6.js → chunk-VBSKVGWP.js} +7 -7
- package/dist/{chunk-D5GR3U2O.js → chunk-VRDHLSR2.js} +10 -10
- package/dist/{chunk-AMFCM4H7.js → chunk-VV445Q2R.js} +3 -3
- package/dist/{chunk-UKEJBA5Y.js → chunk-W7BF2RXV.js} +4 -4
- package/dist/{chunk-7GUD2FIF.js → chunk-WFYKTAXZ.js} +1 -1
- package/dist/{chunk-4AEOP5PD.js → chunk-WG5OBUIZ.js} +6 -6
- package/dist/{chunk-IHM7K6RS.js → chunk-Y25ONBS6.js} +4 -4
- package/dist/{chunk-BATSP67Z.js → chunk-Y5S6EUGK.js} +6 -6
- package/dist/{chunk-6YOXYZC2.js → chunk-YZVNZWKD.js} +7 -7
- package/dist/{chunk-CAQSGGPJ.js → chunk-Z42UKOZ6.js} +6 -6
- package/dist/{chunk-SASWFX22.js → chunk-Z7XFVFW2.js} +1 -1
- package/dist/{chunk-3BEMKOFH.js → chunk-ZCX43KZ5.js} +1 -1
- package/dist/{chunk-VQ6ZKSNL.js → chunk-ZH5YLKO6.js} +1 -1
- package/dist/{chunk-QMCWSBQO.js → chunk-ZJHWXRT4.js} +2 -2
- package/dist/{chunk-DE3NQAR7.js → chunk-ZU6LNR3G.js} +3 -3
- package/dist/{chunk-R3S2A7YF.js → chunk-ZUUA6ZGD.js} +97 -49
- package/dist/{claude-launcher-GIT7VNYK.js → claude-launcher-5ALZD5WD.js} +8 -8
- package/dist/{cli-Y5CRBNQQ.js → cli-OUL7NQWX.js} +172 -162
- package/dist/{cli-update-notice-OC4SOSZE.js → cli-update-notice-XZ7I7OWP.js} +2 -2
- package/dist/{command-2RX7FULE.js → command-ASXZLHXU.js} +53 -53
- package/dist/config-5KMNGNK5.js +22 -0
- package/dist/{connect-cmd-DSP6HJRP.js → connect-cmd-XR7XPGQ6.js} +15 -15
- package/dist/{container-start-DFFZVSGX.js → container-start-6FHPPHMU.js} +51 -51
- package/dist/{context-cleanup-FIQMPC6F.js → context-cleanup-HHMQV7KH.js} +5 -5
- package/dist/{context-show-cmd-BPZX3OUE.js → context-show-cmd-4EKSCIF4.js} +16 -16
- package/dist/{control-plane-launch-IIHRG233.js → control-plane-launch-AJPCKLBL.js} +16 -16
- package/dist/{demo-record-cmd-PI7QDFRP.js → demo-record-cmd-LVZOYPR7.js} +9 -9
- package/dist/{demo-voice-cmd-CMCPERTJ.js → demo-voice-cmd-DT6VFD2U.js} +22 -22
- package/dist/{dist-JSSJSW2B.js → dist-7JDEWP5U.js} +2 -2
- package/dist/docker-T7A6GZDD.js +20 -0
- package/dist/{doctor-ZVHGEA3C.js → doctor-FATFZWEA.js} +53 -53
- package/dist/emit-artifact-cmd-B5ZYJKFM.js +44 -0
- package/dist/{emit-cmd-QGVMVSLS.js → emit-cmd-P2XWWVFP.js} +8 -8
- package/dist/emit-criteria-cmd-RHFJYNSU.js +35 -0
- package/dist/{emit-demo-cmd-KLYEKCB3.js → emit-demo-cmd-WELKVLD4.js} +22 -22
- package/dist/{emit-finding-cmd-FZWK3Y4Q.js → emit-finding-cmd-KRNEWZQP.js} +18 -18
- package/dist/{emit-result-cmd-TODAXDFJ.js → emit-result-cmd-NQ6LAE4Z.js} +20 -20
- package/dist/{emit-step-cmd-QI52ZB57.js → emit-step-cmd-HKOYFSYL.js} +18 -18
- package/dist/{exec-client-YQCKCZGW.js → exec-client-2JSXFMEW.js} +9 -9
- package/dist/find-unit-3QYPTK6A.js +24 -0
- package/dist/{findings-cmd-O7I2GKRO.js → findings-cmd-EF4QXYRT.js} +18 -18
- package/dist/{fleet-readiness-BY7PY5FF.js → fleet-readiness-NBYN45IT.js} +16 -16
- package/dist/governing-source-C7MY7KB2.js +41 -0
- package/dist/guest-init-FX2NUAW6.js +20 -0
- package/dist/{hook-fast-3BGU6BF2.js → hook-fast-JZKCKSXB.js} +3 -3
- package/dist/{hook-install-6H6W4UM2.js → hook-install-R66RP7ME.js} +5 -5
- package/dist/host-checks-CZGNR4VC.js +80 -0
- package/dist/host-key-ACYKDZ4X.js +18 -0
- package/dist/{image-tag-IJKYPT6D.js → image-tag-H5CZTC42.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-65RN5X55.js → init-5S6A2SYN.js} +49 -49
- package/dist/init-WDYDTJW2.js +80 -0
- package/dist/{init-agent-R4ZOEFI3.js → init-agent-PJFH7OFD.js} +49 -49
- package/dist/{init-cmd-L4EFMAQ4.js → init-cmd-5SCU7AVL.js} +29 -29
- package/dist/{init-update-ACLVXFS7.js → init-update-NXDPWHK6.js} +26 -26
- package/dist/install-cmd-TMUNQF7U.js +21 -0
- package/dist/{layout-MBCG2IHB.js → layout-LTYJDJ5J.js} +5 -5
- package/dist/{login-browser-COSWHZEC.js → login-browser-LSZKECIB.js} +2 -2
- package/dist/{logs-VX2SXLJH.js → logs-ZEXFSBVF.js} +8 -8
- package/dist/loop-Q76PDO7L.js +90 -0
- package/dist/machine-GI6SZMEK.js +80 -0
- package/dist/{machine-skills-RPKQK52T.js → machine-skills-CYCZGBAM.js} +5 -5
- package/dist/{mcp-install-cmd-GN2K2JM3.js → mcp-install-cmd-TVIOPOIO.js} +5 -5
- package/dist/{mcp-serve-cmd-P34CQIBX.js → mcp-serve-cmd-OCQLRUAK.js} +11 -11
- package/dist/{paths-HV3G2EHE.js → paths-IB5XFML7.js} +8 -8
- package/dist/pending-TX4VIF6P.js +18 -0
- package/dist/{pidfile-4ZG5I7ZR.js → pidfile-VET4I455.js} +9 -9
- package/dist/{record-3XWPD2UP.js → record-3V3HQRGY.js} +9 -9
- package/dist/{relay-ZOWT4YLQ.js → relay-V7LX2WR6.js} +6 -6
- package/dist/{relay-protocol-FDFEVLQT.js → relay-protocol-QGEWESBF.js} +6 -6
- package/dist/{run-cmd-ZVNOKJB3.js → run-cmd-M5THCWDD.js} +18 -18
- package/dist/{runner-agents-3NUGNJD6.js → runner-agents-OTYZ73WU.js} +5 -5
- package/dist/runner-env-3QPJQ2H2.js +24 -0
- package/dist/{runner-identity-F2Z3TXJ7.js → runner-identity-GTWFQEIN.js} +11 -11
- package/dist/{runner-key-AOK7W733.js → runner-key-ZXNXWBSP.js} +49 -49
- package/dist/{session-sender-V3INPB34.js → session-sender-AEUNLU5R.js} +21 -21
- package/dist/{spec-cmd-LYGXRFVY.js → spec-cmd-4EB45ELL.js} +109 -22
- package/dist/{starter-pack-7QA7J5FT.js → starter-pack-HMJWEIVX.js} +6 -6
- package/dist/state-O3A3CIDQ.js +18 -0
- package/dist/{status-SPPT7WU5.js → status-R4JD34DO.js} +49 -49
- package/dist/{sync-cmd-EDSOKOXS.js → sync-cmd-2HOFZYI6.js} +20 -20
- package/dist/update-steps-CGWJJ2IA.js +81 -0
- package/dist/{watch-GBDNXFAK.js → watch-ZY62C5WB.js} +20 -20
- package/dist/{work-claim-cmd-SHKDYS7J.js → work-claim-cmd-4KQYRNRC.js} +27 -27
- package/dist/work-cmd-GNYWSA2O.js +33 -0
- package/dist/work-comment-cmd-7D3DHQ3O.js +39 -0
- package/dist/{work-demo-cmd-YJ654BQP.js → work-demo-cmd-PDILNMRF.js} +18 -18
- package/dist/{work-logs-cmd-RUNYYALP.js → work-logs-cmd-ER3AYV62.js} +18 -18
- package/dist/{work-needs-attention-cmd-NRDFGJPP.js → work-needs-attention-cmd-MAFPEANV.js} +18 -18
- package/dist/{work-no-change-cmd-FDA7PYB7.js → work-no-change-cmd-GDN5EE6N.js} +18 -18
- package/dist/{work-open-pr-cmd-LEWPNTW5.js → work-open-pr-cmd-56TRIE5I.js} +19 -19
- package/dist/work-pr-cmd-W3T6ELML.js +34 -0
- package/dist/{work-proofs-cmd-QKIEJJRF.js → work-proofs-cmd-Y2OMM37N.js} +20 -20
- package/dist/{work-proofs-record-2M4A5OIF.js → work-proofs-record-I2VLOMRD.js} +26 -26
- package/dist/{work-stop-cmd-HH2SSJIO.js → work-stop-cmd-PREZOSNY.js} +18 -18
- package/package.json +3 -3
- package/skill-pack/maintained/outerlayer-amend/references/threads.md +10 -4
- package/skill-pack/maintained/outerlayer-build/SKILL.md +8 -0
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +1 -1
- package/skill-pack/maintained/outerlayer-build/references/code-review-judge.md +15 -5
- package/skill-pack/maintained/outerlayer-revise/SKILL.md +68 -0
- package/skill-pack/maintained/outerlayer-spec/SKILL.md +149 -0
- package/skill-pack/maintained/outerlayer-spec/references/revise-an-issue.md +14 -0
- package/skill-pack/shipped.json +1 -0
- package/skill-pack/template/spec/SKILL.md +5 -120
- package/dist/agent-setup-U4XTZO56.js +0 -40
- package/dist/caller-PW7R46M7.js +0 -23
- package/dist/config-AOOR5BPQ.js +0 -22
- package/dist/docker-6MPPSTR4.js +0 -20
- package/dist/emit-artifact-cmd-VJ3C36RU.js +0 -44
- package/dist/emit-criteria-cmd-UOHOOSVV.js +0 -35
- package/dist/find-unit-YT25OH3F.js +0 -24
- package/dist/governing-source-XRLJFSPE.js +0 -41
- package/dist/guest-init-X2HLNETS.js +0 -20
- package/dist/host-checks-U5JKQQMM.js +0 -80
- package/dist/host-key-KQ6JWRB4.js +0 -18
- package/dist/init-CYTHJSTQ.js +0 -80
- package/dist/install-cmd-DHIVJEBO.js +0 -21
- package/dist/loop-4ATDJGQV.js +0 -90
- package/dist/machine-UIA7MN3U.js +0 -80
- package/dist/pending-I2EJ7TMY.js +0 -18
- package/dist/runner-env-JS2WDB5L.js +0 -24
- package/dist/state-64OMLIN4.js +0 -18
- package/dist/update-steps-XPEATLFQ.js +0 -81
- package/dist/work-cmd-QR62TX6Q.js +0 -33
- package/dist/work-comment-cmd-DUDVMT6U.js +0 -39
- package/dist/work-pr-cmd-Y4O34WDA.js +0 -34
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-5OSY3LK3.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-2VJVPP5Y.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-26BFN6DH.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-PCGU6T7J.js';
|
|
8
|
+
import { logHookError } from './chunk-W7BF2RXV.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
|
|
13
|
+
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-5NVF5TAL.js';
|
|
14
14
|
import { randomUUID, createHash } from 'crypto';
|
|
15
15
|
import { mkdirSync, statSync, readFileSync, writeFileSync } from 'fs';
|
|
16
16
|
import { resolve, extname, basename, join } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-I5U6CFH4.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
|
-
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-
|
|
6
|
+
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-LVELQ635.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JIANCWJ3.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-NO4N4D32.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-NDQC2WUJ.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-ERG3WCEC.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-FUZEOWF4.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-JIANCWJ3.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-4FHDVWKO.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-J6KKJGR7.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CLAUDE_CODE_HOOKS, OPENCODE_CODEC } from './chunk-PLVHIQJN.js';
|
|
4
4
|
import { CLAUDE_CODE, OPENCODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from './chunk-7PZDPISM.js';
|
|
5
|
-
import { MAINTAINED_SKILLS } from './chunk-
|
|
5
|
+
import { MAINTAINED_SKILLS } from './chunk-ELPP5OHC.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-
|
|
9
|
-
import { CODE_REVIEW_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-
|
|
8
|
+
import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerThanSupported, bucketsFromTurns, costOfUsage } from './chunk-7GJEQXOH.js';
|
|
9
|
+
import { CODE_REVIEW_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-5NVF5TAL.js';
|
|
10
10
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
11
11
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
|
|
12
12
|
import { join as join$1, dirname, sep, basename, relative, delimiter } from 'path';
|
|
@@ -10452,20 +10452,31 @@ function judge(input) {
|
|
|
10452
10452
|
];
|
|
10453
10453
|
return { program: createClaudeCodeImage().program, args, env, driver: "exec", exitFrom: "code" };
|
|
10454
10454
|
}
|
|
10455
|
+
function readUsage2(parsed) {
|
|
10456
|
+
const count = (value) => typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : void 0;
|
|
10457
|
+
const turns = count(parsed.num_turns);
|
|
10458
|
+
const costUsd = count(parsed.total_cost_usd);
|
|
10459
|
+
const durationMs = count(parsed.duration_ms);
|
|
10460
|
+
if (turns === void 0 && costUsd === void 0 && durationMs === void 0) return void 0;
|
|
10461
|
+
return { ...turns === void 0 ? {} : { turns }, ...costUsd === void 0 ? {} : { costUsd }, ...durationMs === void 0 ? {} : { durationMs } };
|
|
10462
|
+
}
|
|
10455
10463
|
function readJudgeOutput(stdout) {
|
|
10456
10464
|
try {
|
|
10457
10465
|
const parsed = JSON.parse(stdout);
|
|
10458
10466
|
if (typeof parsed !== "object" || parsed === null) return void 0;
|
|
10459
10467
|
const { subtype, result } = parsed;
|
|
10460
|
-
|
|
10461
|
-
|
|
10468
|
+
const usage = readUsage2(parsed);
|
|
10469
|
+
const withUsage = usage === void 0 ? {} : { usage };
|
|
10470
|
+
if (subtype === "error_max_turns") return { kind: "turn-limit", ...withUsage };
|
|
10471
|
+
return { kind: "text", text: typeof result === "string" ? result : "", ...withUsage };
|
|
10462
10472
|
} catch {
|
|
10463
10473
|
return void 0;
|
|
10464
10474
|
}
|
|
10465
10475
|
}
|
|
10466
10476
|
var QUEUE_FLAGS = {
|
|
10467
10477
|
implement: "--model opus --effort medium",
|
|
10468
|
-
amend: "--model sonnet --effort medium"
|
|
10478
|
+
amend: "--model sonnet --effort medium",
|
|
10479
|
+
revise: "--model sonnet --effort medium"
|
|
10469
10480
|
};
|
|
10470
10481
|
var JOB_ENV = {
|
|
10471
10482
|
BASH_DEFAULT_TIMEOUT_MS: "1500000",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
4
|
-
import { orgHomeDir } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-EUHUIIGT.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-JIANCWJ3.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-QYLBGMTA.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-26BFN6DH.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-ZCX43KZ5.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-PCGU6T7J.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-ZJHWXRT4.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
12
|
-
import { MAINTAINED_SKILLS } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-B2SHUO6J.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-QYLBGMTA.js';
|
|
12
|
+
import { MAINTAINED_SKILLS } from './chunk-ELPP5OHC.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
15
15
|
import { join, dirname, posix, basename, isAbsolute, relative } from 'path';
|
|
@@ -74,7 +74,9 @@ function applyReferenceRewrites(root, rewrites) {
|
|
|
74
74
|
|
|
75
75
|
// src/build-skill.ts
|
|
76
76
|
var BUILD_PHASES = ["Intake", "Criteria", "Implement", "Pull request", "Evidence"];
|
|
77
|
+
var SPEC_STEPS = ["Scope", "Draft", "Verdict", "Size", "Reader pass", "Checkpoint", "File", "Build"];
|
|
77
78
|
var MACHINE_CORE = `${MACHINE_SKILL_PATH}/outerlayer-build/SKILL.md`;
|
|
79
|
+
var MACHINE_SPEC_CORE = `${MACHINE_SKILL_PATH}/outerlayer-spec/SKILL.md`;
|
|
78
80
|
var CHANGES_HEADING = "## Changes for this repository";
|
|
79
81
|
var NAME = "Build skill";
|
|
80
82
|
function changeHeadings(text) {
|
|
@@ -99,8 +101,8 @@ function skillsFolders(agents = defaultAgents()) {
|
|
|
99
101
|
}, emitBuilders(agents));
|
|
100
102
|
return [.../* @__PURE__ */ new Set([AGENTS_SKILLS_BASE, ...compiled.files.map((file) => dirname(dirname(file.path)))])];
|
|
101
103
|
}
|
|
102
|
-
function
|
|
103
|
-
const file = loadTemplateFiles().find((f) => f.path === `${skillDir(
|
|
104
|
+
function shortSkill(skill) {
|
|
105
|
+
const file = loadTemplateFiles().find((f) => f.path === `${skillDir(skill)}/SKILL.md`);
|
|
104
106
|
if (file === void 0) return "";
|
|
105
107
|
return splitRawFile(file.content).body.split("\n").filter((line) => !line.startsWith("<!--")).join("\n").trim();
|
|
106
108
|
}
|
|
@@ -111,13 +113,13 @@ var read = (abs) => {
|
|
|
111
113
|
return void 0;
|
|
112
114
|
}
|
|
113
115
|
};
|
|
114
|
-
function
|
|
115
|
-
const source = `${folders[0]}/
|
|
116
|
-
return (existsSync(join(repoRoot, source)) ? [source] : folders.slice(1).map((f) => `${f}/
|
|
116
|
+
function copiesOf(repoRoot, folders, skill) {
|
|
117
|
+
const source = `${folders[0]}/${skill}/SKILL.md`;
|
|
118
|
+
return (existsSync(join(repoRoot, source)) ? [source] : folders.slice(1).map((f) => `${f}/${skill}/SKILL.md`)).map((path) => ({ path, text: read(join(repoRoot, path)) })).filter((b) => b.text !== void 0);
|
|
117
119
|
}
|
|
118
120
|
function checkBuildSkill(repoRoot) {
|
|
119
121
|
const folders = [".outerlayer/skills", ...skillsFolders()];
|
|
120
|
-
const builds =
|
|
122
|
+
const builds = copiesOf(repoRoot, folders, "build");
|
|
121
123
|
const checks = [];
|
|
122
124
|
const detached = builds.filter((b) => !namesCore(b.text));
|
|
123
125
|
if (detached.length > 0) {
|
|
@@ -127,7 +129,7 @@ function checkBuildSkill(repoRoot) {
|
|
|
127
129
|
detail: `${detached.map((b) => b.path).join(", ")} does not name outerlayer-build, so it gets no updates from the core`,
|
|
128
130
|
fix: `Move to the short build, and put your own changes under the name of the phase each applies to:
|
|
129
131
|
|
|
130
|
-
${
|
|
132
|
+
${shortSkill("build")}`
|
|
131
133
|
});
|
|
132
134
|
}
|
|
133
135
|
for (const build of builds.filter((b) => namesCore(b.text))) {
|
|
@@ -164,6 +166,43 @@ ${shortBuild()}`
|
|
|
164
166
|
}
|
|
165
167
|
return checks;
|
|
166
168
|
}
|
|
169
|
+
var SPEC_NAME = "Spec skill";
|
|
170
|
+
function checkSpecSkill(repoRoot) {
|
|
171
|
+
const seen = /* @__PURE__ */ new Set();
|
|
172
|
+
const specs = copiesOf(repoRoot, [".outerlayer/skills", ...skillsFolders()], "spec").filter((spec) => {
|
|
173
|
+
let key = spec.path;
|
|
174
|
+
try {
|
|
175
|
+
key = realpathSync(join(repoRoot, spec.path));
|
|
176
|
+
} catch {
|
|
177
|
+
}
|
|
178
|
+
if (seen.has(key)) return false;
|
|
179
|
+
seen.add(key);
|
|
180
|
+
return true;
|
|
181
|
+
});
|
|
182
|
+
const checks = [];
|
|
183
|
+
const detached = specs.filter((spec) => !spec.text.includes("outerlayer-spec"));
|
|
184
|
+
if (detached.length > 0) {
|
|
185
|
+
checks.push({
|
|
186
|
+
name: SPEC_NAME,
|
|
187
|
+
status: "warn",
|
|
188
|
+
detail: `${detached.map((spec) => spec.path).join(", ")} does not name outerlayer-spec, so it gets no updates from the core`,
|
|
189
|
+
fix: `Move to the short spec, and put your own changes under the name of the step each applies to:
|
|
190
|
+
|
|
191
|
+
${shortSkill("spec")}`
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
for (const spec of specs.filter((s) => s.text.includes("outerlayer-spec"))) {
|
|
195
|
+
const unknown = changeHeadings(spec.text).filter((heading) => !SPEC_STEPS.includes(heading));
|
|
196
|
+
if (unknown.length === 0) continue;
|
|
197
|
+
checks.push({
|
|
198
|
+
name: SPEC_NAME,
|
|
199
|
+
status: "warn",
|
|
200
|
+
detail: `${spec.path} has ${unknown.map((h) => `"${h}"`).join(", ")} under "Changes for this repository", which matches no step`,
|
|
201
|
+
fix: `Rename each heading to a step: ${SPEC_STEPS.join(", ")}.`
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
return checks;
|
|
205
|
+
}
|
|
167
206
|
function committedMaintainedFolders(repoRoot, agents = defaultAgents()) {
|
|
168
207
|
const found = [];
|
|
169
208
|
for (const base of skillBases(agents)) {
|
|
@@ -201,7 +240,8 @@ function checkMaintainedReferences(repoRoot) {
|
|
|
201
240
|
];
|
|
202
241
|
}
|
|
203
242
|
function checkMachineSkills(opts) {
|
|
204
|
-
const
|
|
243
|
+
const folders = [".outerlayer/skills", ...skillsFolders(opts.agents)];
|
|
244
|
+
const build = copiesOf(opts.repoRoot, folders, "build").find((b) => b.text.includes(MACHINE_CORE)) ?? copiesOf(opts.repoRoot, folders, "spec").find((s) => s.text.includes(MACHINE_SPEC_CORE));
|
|
205
245
|
if (build === void 0) return [];
|
|
206
246
|
const problems = machineSkillsState(opts.home, opts.version).filter((s) => s.state !== "current");
|
|
207
247
|
const agentStale = staleAgentSkills(opts.home, opts.version, opts.agents);
|
|
@@ -352,4 +392,4 @@ async function fleetCheck(opts = {}) {
|
|
|
352
392
|
return [{ name: CHECK_NAME, status: "pass", detail }];
|
|
353
393
|
}
|
|
354
394
|
|
|
355
|
-
export { applyReferenceRewrites, checkBuildSkill, checkCommittedMaintainedSkills, checkIgnoredSkillFolders, checkMachineSkills, checkMaintainedReferences, committedMaintainedFolders, describeFleet, fleetCheck, fleetReadiness, maintainedReferenceRewrites, skillsFolders };
|
|
395
|
+
export { applyReferenceRewrites, checkBuildSkill, checkCommittedMaintainedSkills, checkIgnoredSkillFolders, checkMachineSkills, checkMaintainedReferences, checkSpecSkill, committedMaintainedFolders, describeFleet, fleetCheck, fleetReadiness, maintainedReferenceRewrites, skillsFolders };
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-QYLBGMTA.js';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-OTWTUHWY.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-WG5OBUIZ.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-NDQC2WUJ.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-5OSY3LK3.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-EUHUIIGT.js';
|
|
9
|
+
import { signerFor } from './chunk-I5U6CFH4.js';
|
|
10
|
+
import { pidFilePath } from './chunk-JIANCWJ3.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JIANCWJ3.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { buildRefusalReason } from './chunk-
|
|
6
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
7
|
-
import { signingFetchFor } from './chunk-
|
|
8
|
-
import { signerFor } from './chunk-
|
|
9
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-5OSY3LK3.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-43R7JHQI.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-MVERFCX4.js';
|
|
6
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-I62FX622.js';
|
|
7
|
+
import { signingFetchFor } from './chunk-PCGU6T7J.js';
|
|
8
|
+
import { signerFor } from './chunk-I5U6CFH4.js';
|
|
9
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-JIANCWJ3.js';
|
|
10
10
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
11
11
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
12
12
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-722KABMV.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-5OSY3LK3.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-26BFN6DH.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-PCGU6T7J.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-QYLBGMTA.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-5NVF5TAL.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
16
16
|
import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-CZGNR4VC.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-CZGNR4VC.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-I2VLOMRD.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-OTWTUHWY.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-UXARYJQ4.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-T7A6GZDD.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
4
4
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-SF2TBJBP.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
|
-
import { updateNoticeContext, staleMachineCopiesContext } from './chunk-
|
|
6
|
+
import { updateNoticeContext, staleMachineCopiesContext } from './chunk-LVELQ635.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { deadHooksState, huskyPrepareScript, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
9
9
|
import { hookCodec } from './chunk-PLVHIQJN.js';
|
|
@@ -678,7 +678,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
678
678
|
try {
|
|
679
679
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
680
680
|
if (event === void 0) return void 0;
|
|
681
|
-
const { hookRegistered } = await import('./hook-install-
|
|
681
|
+
const { hookRegistered } = await import('./hook-install-R66RP7ME.js');
|
|
682
682
|
const registered = hookRegistered(event, { home, cwd });
|
|
683
683
|
if (registered !== false) return void 0;
|
|
684
684
|
return `This install has no ${event} hook, so this session's work-item lease will never be renewed while it works and may be lost to another worker mid-session. Run \`${cliInvocation()} init\` to register it.`;
|
|
@@ -878,11 +878,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
878
878
|
const dirs = findGitDirs(cwd);
|
|
879
879
|
if (dirs === void 0) return void 0;
|
|
880
880
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
881
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
881
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-HHMQV7KH.js');
|
|
882
882
|
cleanupEarlierCopies(dirs);
|
|
883
883
|
}
|
|
884
884
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
885
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
885
|
+
const { governanceOf } = await import('./control-plane-launch-AJPCKLBL.js');
|
|
886
886
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
887
887
|
recordMissingContext(dirs, sessionId, home);
|
|
888
888
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JIANCWJ3.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
8
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-EUHUIIGT.js';
|
|
4
|
+
import { parseSize } from './chunk-ERG3WCEC.js';
|
|
5
|
+
import { runnerDir } from './chunk-JIANCWJ3.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-EJ7ZXBXS.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-J6KKJGR7.js';
|
|
8
|
+
import { defaultAgents } from './chunk-QYLBGMTA.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
11
11
|
import { spawnSync } from 'child_process';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-2VJVPP5Y.js';
|
|
4
|
+
import { autoConnect } from './chunk-5UFAWMET.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-PCGU6T7J.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
6
|
-
import { acquireSpoolLockAt } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-2VJVPP5Y.js';
|
|
5
|
+
import { autoConnect } from './chunk-5UFAWMET.js';
|
|
6
|
+
import { acquireSpoolLockAt } from './chunk-26BFN6DH.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-PCGU6T7J.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { StepNameSchema, StepBodySchema } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-7GJEQXOH.js';
|
|
13
|
+
import { StepNameSchema, StepBodySchema } from './chunk-5NVF5TAL.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -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-3T7PXUHN.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
7
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-2VJVPP5Y.js';
|
|
6
|
+
import { autoConnect } from './chunk-5UFAWMET.js';
|
|
7
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-26BFN6DH.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-PCGU6T7J.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
15
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-7GJEQXOH.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-5NVF5TAL.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,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { DEFAULT_DASHBOARD } from './chunk-
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-26BFN6DH.js';
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-ZCX43KZ5.js';
|
|
5
|
+
import { DEFAULT_DASHBOARD } from './chunk-BUT777XB.js';
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-PCGU6T7J.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
11
|
-
import { remoteLookupFailed } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-QYLBGMTA.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-7GJEQXOH.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-QYLBGMTA.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-QYLBGMTA.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-POBH5YCG.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
4
|
-
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-QYLBGMTA.js';
|
|
4
|
+
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-ELPP5OHC.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import { randomBytes } from 'crypto';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-OTWTUHWY.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-WG5OBUIZ.js';
|
|
5
|
+
import { runnerDir } from './chunk-JIANCWJ3.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|