@outerlayer/cli 0.36.1-next.20261104161854 → 0.37.0-next.20261104191505
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-setup-DUE6IXPP.js +40 -0
- package/dist/{agent-subcommand-ASYEDGY2.js → agent-subcommand-C625JDSN.js} +4 -4
- package/dist/{artifact-link-cmd-ZPQXVG5O.js → artifact-link-cmd-72FQTBGO.js} +2 -2
- package/dist/{bridge-JYWNVBZW.js → bridge-UHNGV6DM.js} +7 -7
- package/dist/{build-G25G35OY.js → build-ALG3MYX2.js} +13 -13
- package/dist/{build-disk-LCBVNYLL.js → build-disk-JU2QHE64.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-VV5Q3IOR.js → builder-4LK2FDCX.js} +10 -10
- package/dist/caller-JQC4VW36.js +23 -0
- package/dist/{check-3DBOM5UT.js → check-VOJWXIRZ.js} +55 -55
- package/dist/{chunk-WUKLQWGY.js → chunk-2JIGPSVF.js} +6 -3
- package/dist/{chunk-XGGXKR4M.js → chunk-2KFLMNQU.js} +1 -1
- package/dist/{chunk-FHKZZHM3.js → chunk-2LXO2YIW.js} +6 -6
- package/dist/{chunk-2CSXFU4A.js → chunk-2QFRAMJX.js} +1 -1
- package/dist/{chunk-G3JG75DP.js → chunk-3LT6REKE.js} +2 -2
- package/dist/{chunk-IHW5KZN7.js → chunk-3Z5GISKU.js} +42 -142
- package/dist/{chunk-ALPMGHDV.js → chunk-4U57GP2X.js} +2 -2
- package/dist/{chunk-SMT2K2AR.js → chunk-62RPMJXQ.js} +3 -3
- package/dist/{chunk-2BUZUDSH.js → chunk-6BS4DDCY.js} +8 -8
- package/dist/{chunk-MA4ZUS4A.js → chunk-6MWBZHBW.js} +1 -1
- package/dist/{chunk-ZDFZWQUF.js → chunk-6SC66WGJ.js} +94 -122
- package/dist/{chunk-DU2QDWHB.js → chunk-A75ZPAOP.js} +5 -5
- package/dist/{chunk-R6G7OGS6.js → chunk-DQZ7XFCI.js} +1 -1
- package/dist/{chunk-GXZTSNVW.js → chunk-E2DJ6TWB.js} +3 -3
- package/dist/{chunk-5Y7ZBX4U.js → chunk-EDEBGBPL.js} +4 -4
- package/dist/{chunk-ZOT3CD34.js → chunk-ERGU3OZP.js} +25 -25
- package/dist/{chunk-CQWXQDAZ.js → chunk-FBZE3LGM.js} +1 -1
- package/dist/{chunk-EKPSKSEJ.js → chunk-FV52S3JR.js} +2 -2
- package/dist/{chunk-TADKX7OA.js → chunk-FX4ZG4E5.js} +16 -16
- package/dist/{chunk-6C6WH6KL.js → chunk-FYPVUT27.js} +1 -1
- package/dist/{chunk-KNGCCNVO.js → chunk-G43WGW64.js} +4 -4
- package/dist/{chunk-ULFMR5UJ.js → chunk-G62P3EFL.js} +3 -3
- package/dist/{chunk-3Z5KIYBR.js → chunk-GBCQ3KHH.js} +3 -3
- package/dist/{chunk-A72Q4LSP.js → chunk-GF4O3M23.js} +1 -1
- package/dist/{chunk-PDBYH3V5.js → chunk-GQA54433.js} +2 -2
- package/dist/{chunk-IZKRPQIU.js → chunk-HN76DIHX.js} +7 -7
- package/dist/{chunk-C47K5UDL.js → chunk-HOTRWPVM.js} +4 -4
- package/dist/{chunk-TLVRBSOX.js → chunk-IHPJFMSV.js} +8 -8
- package/dist/{chunk-L2J7B7V6.js → chunk-IJU6DMQA.js} +1 -1
- package/dist/{chunk-EJ4MVQYZ.js → chunk-JAHR4LAD.js} +4 -4
- package/dist/{chunk-DOSM5H4B.js → chunk-JNGKTJ7L.js} +7 -7
- package/dist/{chunk-3TEZYUG6.js → chunk-JO2FOEZE.js} +4 -4
- package/dist/{chunk-R6CQLTRC.js → chunk-KCNL7KX2.js} +9 -9
- package/dist/{chunk-RFNETJEH.js → chunk-KSSHEWPV.js} +3 -3
- package/dist/{chunk-2A5LRRGL.js → chunk-L2PT4NRI.js} +1 -1
- package/dist/{chunk-ZV5QX3GK.js → chunk-LLZG5A2J.js} +9 -9
- package/dist/{chunk-QQVX4HUP.js → chunk-LNTZH3UL.js} +5 -5
- package/dist/{chunk-ULIDETYK.js → chunk-LUQWY7BX.js} +5 -5
- package/dist/{chunk-VB6ODZL2.js → chunk-LVZ3UV7T.js} +1 -1
- package/dist/{chunk-JXHN4E4Q.js → chunk-MITBH4LH.js} +3 -3
- package/dist/{chunk-UDX4B237.js → chunk-MZ2OOMOT.js} +1 -1
- package/dist/{chunk-4LA7E3HT.js → chunk-N3FPRSUZ.js} +6 -6
- package/dist/{chunk-UYCK4L43.js → chunk-NBGBMZE4.js} +1 -1
- package/dist/{chunk-4PGTFUTY.js → chunk-NSDQESOY.js} +1 -1
- package/dist/{chunk-NKQL3LHK.js → chunk-NSX2KF4L.js} +1 -1
- package/dist/{chunk-V6VMFAKC.js → chunk-OG6RJXQ3.js} +1 -1
- package/dist/{chunk-TYLXRXDY.js → chunk-OLZVQCDX.js} +1 -1
- package/dist/{chunk-S6AZPAUS.js → chunk-P3KL3ZJF.js} +1 -1
- package/dist/{chunk-UN6X7TYJ.js → chunk-P4YTEF6T.js} +1 -1
- package/dist/{chunk-K72IBKLA.js → chunk-PNZN656P.js} +1 -1
- package/dist/{chunk-FFJHFOFD.js → chunk-Q6FXWSN3.js} +7 -7
- package/dist/{chunk-HNKGBQFA.js → chunk-R2IPYS6A.js} +11 -11
- package/dist/{chunk-YATN35MN.js → chunk-RFCAK6OI.js} +7 -7
- package/dist/{chunk-KWOQTSSZ.js → chunk-RXWFZB3P.js} +1 -1
- package/dist/{chunk-Q7CXOTVR.js → chunk-SQWYFCEU.js} +3 -3
- package/dist/{chunk-R6SOMMDQ.js → chunk-TCWYLSE3.js} +1 -1
- package/dist/{chunk-MFVANFEJ.js → chunk-THL7WJ3F.js} +2 -2
- package/dist/{chunk-GBTHXD74.js → chunk-TSYTPW6Y.js} +161 -155
- package/dist/{chunk-KQSRABR6.js → chunk-UZNSGMUZ.js} +2 -2
- package/dist/{chunk-3NWBJVIL.js → chunk-VNMTA2JE.js} +3 -3
- package/dist/{chunk-PCIWQUBH.js → chunk-VTJ5MGGC.js} +6 -6
- package/dist/{chunk-KYFMMW65.js → chunk-VV3Y32EV.js} +1 -1
- package/dist/{chunk-F3T5QJ24.js → chunk-VVZIFOAN.js} +1 -1
- package/dist/{chunk-YMYYRYKE.js → chunk-W6GP4CNN.js} +7 -7
- package/dist/{chunk-RTPGEOBA.js → chunk-WCJCGFVQ.js} +1 -1
- package/dist/{chunk-RJTFSUZI.js → chunk-XGJXLITW.js} +6 -6
- package/dist/{chunk-GPVZFUTD.js → chunk-XMIUPI5N.js} +6 -6
- package/dist/{chunk-BCQDEM2N.js → chunk-YLJXRXPX.js} +1 -1
- package/dist/{chunk-A6RI6KTI.js → chunk-ZBPUHNUZ.js} +1 -1
- package/dist/{chunk-ZEM4IRBH.js → chunk-ZHOPDD7U.js} +5 -5
- package/dist/{chunk-FGA3EXGJ.js → chunk-ZQNYV4OZ.js} +1 -1
- package/dist/{chunk-3GHHGCNU.js → chunk-ZRITZJ36.js} +6 -6
- package/dist/{claude-launcher-WZPO6HPI.js → claude-launcher-HW5YVYWR.js} +7 -7
- package/dist/{cli-UPBWBSZK.js → cli-FFPFIMPZ.js} +148 -148
- package/dist/{command-FJIGATGO.js → command-MYYGFCW3.js} +50 -50
- package/dist/{config-2APX7UB2.js → config-CZJINZN5.js} +12 -12
- package/dist/{connect-cmd-NA6MMPXY.js → connect-cmd-4ZEF4WNR.js} +13 -13
- package/dist/{container-start-SUDA7O4K.js → container-start-ICNSSPBS.js} +48 -48
- package/dist/{context-cleanup-2PECPCE4.js → context-cleanup-7QZQJXID.js} +4 -4
- package/dist/{context-show-cmd-PCKELSP2.js → context-show-cmd-JYV7RKMC.js} +14 -14
- package/dist/{control-plane-launch-T33K3464.js → control-plane-launch-HLFLGLW6.js} +14 -14
- package/dist/{demo-record-cmd-6TY4YHDY.js → demo-record-cmd-MDPZD53Q.js} +8 -8
- package/dist/{demo-voice-cmd-LAYGJR4O.js → demo-voice-cmd-4JEXQP4I.js} +20 -20
- package/dist/{dist-P4VFDPWT.js → dist-NEH3H3EL.js} +2 -2
- package/dist/{docker-PS5OVPIF.js → docker-F4S3PBPD.js} +10 -10
- package/dist/{doctor-D6IRPOAQ.js → doctor-LEGPWSQ3.js} +50 -50
- package/dist/{emit-artifact-cmd-PQZZORYH.js → emit-artifact-cmd-QDYKKQT5.js} +19 -19
- package/dist/{emit-cmd-7JNFV35K.js → emit-cmd-ANJGKYSQ.js} +7 -7
- package/dist/{emit-criteria-cmd-HXP5RCRU.js → emit-criteria-cmd-OCLNKIL4.js} +16 -16
- package/dist/{emit-demo-cmd-7SGOM2YU.js → emit-demo-cmd-RO3OXK4U.js} +20 -20
- package/dist/{emit-finding-cmd-2LEHV4FK.js → emit-finding-cmd-M4OKFZPF.js} +16 -16
- package/dist/{emit-result-cmd-P4NAJ2CH.js → emit-result-cmd-CUTNYSOQ.js} +18 -18
- package/dist/{emit-step-cmd-K6HYSFGW.js → emit-step-cmd-SY54AQYM.js} +16 -16
- package/dist/{exec-client-GEN7MH5Q.js → exec-client-3ZVMZRZD.js} +8 -8
- package/dist/find-unit-5ALT2LU3.js +24 -0
- package/dist/{findings-cmd-KCDAXNUH.js → findings-cmd-246XYZSE.js} +16 -16
- package/dist/{fleet-readiness-OBHMDNEQ.js → fleet-readiness-SOSSKSII.js} +14 -14
- package/dist/{governing-source-4PJ6W6RY.js → governing-source-2UXHLXCS.js} +21 -21
- package/dist/{guest-init-XN7ZOOK5.js → guest-init-ZNSEHMXA.js} +9 -9
- package/dist/{hook-fast-J26JZG67.js → hook-fast-27GO6BM2.js} +1 -1
- package/dist/{hook-install-SVEA6RYI.js → hook-install-5OS6ZH4B.js} +4 -4
- package/dist/host-checks-VGJVO23Y.js +79 -0
- package/dist/host-key-ZRJ4CGFC.js +18 -0
- package/dist/{image-tag-MAWC5FC5.js → image-tag-WQB5HVLI.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/{init-RTJUSLNZ.js → init-F3L4CTBJ.js} +46 -46
- package/dist/init-Z6ZVLUJ5.js +79 -0
- package/dist/{init-agent-ZQICLASB.js → init-agent-DO233UTF.js} +46 -46
- package/dist/{init-cmd-QCLXU6F3.js → init-cmd-AKIPYTNP.js} +27 -27
- package/dist/{init-update-4MNOI44P.js → init-update-BIHC42CB.js} +24 -24
- package/dist/{install-cmd-LTIF23I4.js → install-cmd-YMPTGHE4.js} +10 -10
- package/dist/{layout-J7NA2HJ3.js → layout-DBSSMC4R.js} +4 -4
- package/dist/{login-browser-NUQQYH5J.js → login-browser-AMCRDS5C.js} +2 -2
- package/dist/{logs-44SEY5AH.js → logs-HIXNEXBT.js} +7 -7
- package/dist/loop-MUPQOIW6.js +90 -0
- package/dist/machine-WFZ5KM76.js +79 -0
- package/dist/{machine-skills-UOF5X7OU.js → machine-skills-QEAB6375.js} +4 -4
- package/dist/{mcp-install-cmd-6CP7ODB4.js → mcp-install-cmd-ZL2TJUIK.js} +4 -4
- package/dist/{mcp-serve-cmd-QOPRMVCR.js → mcp-serve-cmd-4EGVZBCK.js} +9 -9
- package/dist/{paths-IMTP2VFJ.js → paths-AGOA7QX6.js} +7 -7
- package/dist/{pending-6LTQDPDQ.js → pending-625SL7WI.js} +8 -8
- package/dist/{pidfile-2FKC65BM.js → pidfile-H2DZIODT.js} +8 -8
- package/dist/{record-KD3622E7.js → record-UHMPQIUU.js} +8 -8
- package/dist/{relay-3RRPUZKH.js → relay-MS7QJ53J.js} +5 -5
- package/dist/{relay-protocol-ZFQ3QL76.js → relay-protocol-7LG6NHYA.js} +5 -5
- package/dist/{runner-agents-3A2SJEZ7.js → runner-agents-QJCL4MO3.js} +4 -4
- package/dist/runner-env-YPIZG3VG.js +24 -0
- package/dist/{runner-identity-6UUYHJVJ.js → runner-identity-RPRUONRJ.js} +10 -10
- package/dist/{runner-key-R5HMAPIW.js → runner-key-2SKLS37E.js} +46 -46
- package/dist/{session-sender-SOYN2W4Z.js → session-sender-B526LNJ6.js} +19 -19
- package/dist/{spec-cmd-HVQQ73ST.js → spec-cmd-6TZVHED2.js} +17 -17
- package/dist/{starter-pack-RI3RMOOM.js → starter-pack-6TS4PJYJ.js} +5 -5
- package/dist/state-ALHXVNOS.js +18 -0
- package/dist/{status-AGLJZQF2.js → status-WZCEHCL2.js} +46 -46
- package/dist/{sync-cmd-LGYH6DQH.js → sync-cmd-NMWPCIFU.js} +18 -18
- package/dist/update-steps-5BGDQTVG.js +80 -0
- package/dist/{watch-CHUOAXUM.js → watch-INJRAQRE.js} +18 -18
- package/dist/{work-claim-cmd-2LDQQYWT.js → work-claim-cmd-2IOJVHR5.js} +22 -22
- package/dist/{work-cmd-ALCIHXMP.js → work-cmd-6JUZHKXN.js} +16 -16
- package/dist/{work-comment-cmd-OSC5UISU.js → work-comment-cmd-KK7H6F67.js} +18 -18
- package/dist/{work-demo-cmd-EUQ733UV.js → work-demo-cmd-32PXKPZK.js} +16 -16
- package/dist/{work-logs-cmd-ILW6PUQT.js → work-logs-cmd-QYSBE2SP.js} +16 -16
- package/dist/{work-open-pr-cmd-6IZNKXUC.js → work-open-pr-cmd-PSATZ2BK.js} +17 -17
- package/dist/{work-pr-cmd-NC3L2W73.js → work-pr-cmd-BEYPR7TL.js} +16 -16
- package/dist/{work-proofs-cmd-24BTANI3.js → work-proofs-cmd-P33QGSIQ.js} +18 -18
- package/dist/{work-proofs-record-KGB7FN5R.js → work-proofs-record-FN6M7BIZ.js} +24 -24
- package/dist/{work-stop-cmd-C6TTKZW3.js → work-stop-cmd-MUSKJC5M.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +4 -6
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +13 -12
- package/skill-pack/maintained/outerlayer-build/references/criteria-judge.md +40 -36
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +5 -7
- package/skill-pack/maintained/outerlayer-build/references/release.md +6 -4
- package/skill-pack/maintained/outerlayer-build/references/review-briefs.md +5 -5
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +44 -80
- package/skill-pack/maintained/outerlayer-cli/references/merge-base-branch.md +28 -11
- package/skill-pack/shipped.json +2 -0
- package/skill-pack/template/writing-tests/SKILL.md +6 -11
- package/skill-pack/validators/acceptance-criteria.yaml +11 -9
- package/dist/agent-setup-PBHLFTH5.js +0 -40
- package/dist/caller-GSOX6OEA.js +0 -23
- package/dist/find-unit-UCWO22YS.js +0 -24
- package/dist/host-checks-OLB3DXCU.js +0 -79
- package/dist/host-key-V6D7QGRX.js +0 -18
- package/dist/init-5LCIMEBR.js +0 -79
- package/dist/loop-7T33PKFZ.js +0 -90
- package/dist/machine-D7P4L63X.js +0 -79
- package/dist/runner-env-CDNYK5XI.js +0 -24
- package/dist/state-LBWBA36C.js +0 -18
- package/dist/update-steps-HN2DF4QW.js +0 -80
|
@@ -609,7 +609,7 @@ async function missingRenewalHookContext(home, cwd, codec) {
|
|
|
609
609
|
try {
|
|
610
610
|
const event = codec.events.find((name) => kindOf(codec, name) === "tool-used");
|
|
611
611
|
if (event === void 0) return void 0;
|
|
612
|
-
const { hookRegistered } = await import('./hook-install-
|
|
612
|
+
const { hookRegistered } = await import('./hook-install-5OS6ZH4B.js');
|
|
613
613
|
const registered = hookRegistered(event, { home, cwd });
|
|
614
614
|
if (registered !== false) return void 0;
|
|
615
615
|
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.`;
|
|
@@ -809,11 +809,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
809
809
|
const dirs = findGitDirs(cwd);
|
|
810
810
|
if (dirs === void 0) return void 0;
|
|
811
811
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
812
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
812
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-7QZQJXID.js');
|
|
813
813
|
cleanupEarlierCopies(dirs);
|
|
814
814
|
}
|
|
815
815
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
816
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
816
|
+
const { governanceOf } = await import('./control-plane-launch-HLFLGLW6.js');
|
|
817
817
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
818
818
|
recordMissingContext(dirs, sessionId, home);
|
|
819
819
|
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 { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-RXWFZB3P.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession, transcriptPathForSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession, transcriptPathForSession } from './chunk-6MWBZHBW.js';
|
|
5
|
+
import { autoConnect } from './chunk-GBCQ3KHH.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-FYPVUT27.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-
|
|
12
|
+
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-UZNSGMUZ.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity, scrubText } from './chunk-
|
|
15
|
-
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity, scrubText } from './chunk-ZQNYV4OZ.js';
|
|
15
|
+
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-2JIGPSVF.js';
|
|
16
16
|
import { readFileSync, existsSync } from 'fs';
|
|
17
17
|
import { homedir } from 'os';
|
|
18
18
|
import { join, dirname } from 'path';
|
|
@@ -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-RXWFZB3P.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-OV4XTV5M.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-UZNSGMUZ.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -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, agentRootFolders } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME, agentRootFolders } from './chunk-UZNSGMUZ.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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-KSSHEWPV.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -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-UZNSGMUZ.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-UZNSGMUZ.js';
|
|
4
4
|
import { LEGACY_AGENT, PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-RXWFZB3P.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { buildRefusalReason } from './chunk-
|
|
6
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
7
|
-
import { signingFetchFor } from './chunk-
|
|
8
|
-
import { signerFor } from './chunk-
|
|
9
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-6BS4DDCY.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-LUQWY7BX.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-L2PT4NRI.js';
|
|
6
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-NSDQESOY.js';
|
|
7
|
+
import { signingFetchFor } from './chunk-FYPVUT27.js';
|
|
8
|
+
import { signerFor } from './chunk-MZ2OOMOT.js';
|
|
9
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-RXWFZB3P.js';
|
|
10
10
|
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-OV4XTV5M.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,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import { ensureHostKey } from './chunk-
|
|
5
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
6
|
-
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
7
|
-
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-
|
|
8
|
-
import { jobAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
9
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-2KFLMNQU.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-MZ2OOMOT.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-RXWFZB3P.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-KSSHEWPV.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-FV52S3JR.js';
|
|
8
|
+
import { jobAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-P4YTEF6T.js';
|
|
9
|
+
import { defaultAgents } from './chunk-UZNSGMUZ.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
11
|
-
import { compareVersions } from './chunk-
|
|
11
|
+
import { compareVersions } from './chunk-ZQNYV4OZ.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
13
13
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
14
14
|
import { dirname, join, posix, resolve } from 'path';
|
|
@@ -446,8 +446,8 @@ function judgeCommand(input, agents = defaultAgents()) {
|
|
|
446
446
|
return { argv: [spec.program, ...spec.args], env: spec.env, cwd: JUDGE_DIR };
|
|
447
447
|
}
|
|
448
448
|
function withAnswerProtocol(brief, subjects) {
|
|
449
|
-
const inputs = subjects === "criteria" ? `\`${JUDGE_DIR}/criteria.json\` lists the criteria to judge, \`${JUDGE_DIR}/
|
|
450
|
-
const items = subjects === "criteria" ? `one entry per criterion in criteria.json, with its id: \`{"items":[{"id":"<criterion id>","result":"pass"|"fail","reason":"<one to three sentences>"}]}\`. A criterion you do not list fails.` : `your overall result and, when you judged separate parts, one entry per part with an id you choose (a file path or a short name): \`{"result":"pass"|"fail","items":[{"id":"<part>","result":"pass"|"fail","reason":"<one to three sentences>"}]}\`. A failing part fails the whole.`;
|
|
449
|
+
const inputs = subjects === "criteria" ? `\`${JUDGE_DIR}/criteria.json\` lists the criteria to judge, \`${JUDGE_DIR}/diff.patch\` the change and \`${JUDGE_TREE}/\` the files of the pushed commit. Nothing tells you which tests prove a criterion: find them in \`${JUDGE_TREE}/\` yourself. No list of citing tests exists, so where the brief above reads one, or fails a criterion that no test cites, search for the criterion's tests instead.` : `\`${JUDGE_DIR}/diff.patch\` holds the change and \`${JUDGE_TREE}/\` the files of the pushed commit.`;
|
|
450
|
+
const items = subjects === "criteria" ? `one entry per criterion in criteria.json, with its id and the tests your result rests on: \`{"items":[{"id":"<criterion id>","result":"pass"|"fail","reason":"<one to three sentences>","tests":[{"path":"<path relative to ${JUDGE_TREE}/>","line":<the line the test starts on>}]}]}\`. A criterion you do not list fails. A pass must name at least one test file of the tree that proves it, or it fails.` : `your overall result and, when you judged separate parts, one entry per part with an id you choose (a file path or a short name): \`{"result":"pass"|"fail","items":[{"id":"<part>","result":"pass"|"fail","reason":"<one to three sentences>"}]}\`. A failing part fails the whole.`;
|
|
451
451
|
return `${brief.trimEnd()}
|
|
452
452
|
|
|
453
453
|
## How to answer
|
|
@@ -921,4 +921,4 @@ function ensureBuilder(rawRun, spec, options = {}) {
|
|
|
921
921
|
);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
export { BUILD_LABEL, COMMAND_DIR, JUDGE_DIR, JUDGE_ITEMS, JUDGE_MAX_TURNS, JUDGE_REPORT, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, MIN_BUILDX_VERSION, NETWORK_HELPER_MEMORY, NETWORK_READY_FILE, RUNNER_LABEL, SAVED_STATE_LABEL, WORKSPACE_LABEL, builderName, builderNameFor, builderSpec, buildxState, childEnvironment, containerExecArgs, containerRunArgs, createDockerHost, dockerIdentity, ensureBuilder, ensureFailureCount, ensureRunnerIdentity, exceedsDisk, firstLine, hashJudgeProgram, homeCopyArgs, homeCopyRunArgs, homeCopyScript, identityArgs, identityDockerFor, identityRunArgs, identityScript, isOutOfDisk, isOutOfMemory, judgeCommand, judgeProgramRecord, mountableHome, networkHelperName, networkHelperRunArgs, parseIdentity, parseSize, pathLabelValue, prepareRunArgs, proxyEnvironment, readDu, readJobFile, readJobFileChecked, readRunnerIdentity, runnerLabelValue, said, spawnRun, trackImageBuild, withAnswerProtocol, writeJobFile };
|
|
924
|
+
export { BUILD_LABEL, COMMAND_DIR, JUDGE_DIR, JUDGE_ITEMS, JUDGE_MAX_TURNS, JUDGE_REPORT, JUDGE_TREE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, MIN_BUILDX_VERSION, NETWORK_HELPER_MEMORY, NETWORK_READY_FILE, RUNNER_LABEL, SAVED_STATE_LABEL, WORKSPACE_LABEL, builderName, builderNameFor, builderSpec, buildxState, childEnvironment, containerExecArgs, containerRunArgs, createDockerHost, dockerIdentity, ensureBuilder, ensureFailureCount, ensureRunnerIdentity, exceedsDisk, firstLine, hashJudgeProgram, homeCopyArgs, homeCopyRunArgs, homeCopyScript, identityArgs, identityDockerFor, identityRunArgs, identityScript, isOutOfDisk, isOutOfMemory, judgeCommand, judgeProgramRecord, mountableHome, networkHelperName, networkHelperRunArgs, parseIdentity, parseSize, pathLabelValue, prepareRunArgs, proxyEnvironment, readDu, readJobFile, readJobFileChecked, readRunnerIdentity, runnerLabelValue, said, spawnRun, trackImageBuild, withAnswerProtocol, writeJobFile };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-HN76DIHX.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
|
-
import { detectActiveSession } from './chunk-
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { detectActiveSession } from './chunk-6MWBZHBW.js';
|
|
7
|
+
import { autoConnect } from './chunk-GBCQ3KHH.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-FYPVUT27.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-P4YTEF6T.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
-
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-
|
|
13
|
+
import { resolveRepoIdentity } from './chunk-ZQNYV4OZ.js';
|
|
14
|
+
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-2JIGPSVF.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
17
17
|
import { mkdtempSync, writeFileSync, statSync, readFileSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
|
|
@@ -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-TSYTPW6Y.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-NBGBMZE4.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-F4S3PBPD.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 = "";
|
|
@@ -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-UZNSGMUZ.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-NSX2KF4L.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-UZNSGMUZ.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|