@outerlayer/cli 0.40.0-next.20261116130533 → 0.40.0-next.20261116130619
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-BJ7IPD3B.js → agent-setup-WO2OJYRM.js} +17 -17
- package/dist/{agent-subcommand-ZSYJ24TR.js → agent-subcommand-627NTYCT.js} +2 -2
- package/dist/{bridge-DORM5LNA.js → bridge-ND2CAJZ5.js} +5 -5
- package/dist/{build-3JVECLY6.js → build-F6YPIWXX.js} +11 -11
- package/dist/{build-disk-2QBW4AIH.js → build-disk-NUB2IQLK.js} +9 -9
- package/dist/build-info.json +1 -1
- package/dist/{builder-Y2TLJ6N4.js → builder-2SO7EBSA.js} +8 -8
- package/dist/{caller-HYEX6DAA.js → caller-EPKVV4XS.js} +11 -11
- package/dist/{check-CJSH53CS.js → check-7ZXMFO5K.js} +51 -51
- package/dist/{chunk-LU4X2VDX.js → chunk-3BA7WFT5.js} +6 -6
- package/dist/{chunk-2O54ZECG.js → chunk-3C2NLRL3.js} +3 -3
- package/dist/{chunk-M7WMIGYO.js → chunk-3DILWPBX.js} +1 -1
- package/dist/{chunk-IPDXIVDG.js → chunk-43GWGP2Z.js} +3 -3
- package/dist/{chunk-B4NLBGYZ.js → chunk-44UZZVEQ.js} +1 -1
- package/dist/{chunk-FCJCOPQV.js → chunk-47NQTKLX.js} +1 -1
- package/dist/{chunk-2KFLHDFI.js → chunk-4BPYPPWG.js} +3 -3
- package/dist/{chunk-47YGPLRB.js → chunk-4UDSLKAQ.js} +26 -26
- package/dist/{chunk-B2WNVPQL.js → chunk-5XAV7LGB.js} +1 -1
- package/dist/{chunk-5YKLXLDJ.js → chunk-5XEO7FJW.js} +2 -2
- package/dist/{chunk-S6H336Y6.js → chunk-65VG7TV5.js} +2 -2
- package/dist/{chunk-AR7MHX5K.js → chunk-7FE6NARL.js} +14 -14
- package/dist/{chunk-TNKDCYIX.js → chunk-7MVTX74D.js} +1 -1
- package/dist/{chunk-WZVOJYSK.js → chunk-7TZ6N25K.js} +5 -5
- package/dist/{chunk-VFUIVDGO.js → chunk-7V6MCI6A.js} +2 -2
- package/dist/{chunk-ASWME2BU.js → chunk-A7M4QXVX.js} +1 -1
- package/dist/{chunk-DQHMMJ4J.js → chunk-C5TJZMYS.js} +1 -1
- package/dist/{chunk-XVU35JXB.js → chunk-CLVWA4DI.js} +1 -1
- package/dist/{chunk-A57YRYSF.js → chunk-DQ77PKPL.js} +4 -4
- package/dist/{chunk-3NWWYXPZ.js → chunk-DWZWXWZP.js} +7 -7
- package/dist/{chunk-HUOYKP7Y.js → chunk-EOTRNAXM.js} +4 -4
- package/dist/{chunk-TNRLNZUC.js → chunk-ETP7IGQI.js} +1 -1
- package/dist/{chunk-GORJSDOM.js → chunk-ETXP6DPT.js} +1 -1
- package/dist/{chunk-G7QDU2TP.js → chunk-EY5PK33O.js} +4 -4
- package/dist/{chunk-Y7WLM4N3.js → chunk-EZ4DZGES.js} +3 -3
- package/dist/{chunk-LFSV6UPI.js → chunk-FKIZCJOQ.js} +7 -7
- package/dist/{chunk-WSINJGQZ.js → chunk-G4TG7RBM.js} +1 -1
- package/dist/{chunk-YG5FKMQC.js → chunk-H32FCHB5.js} +1 -1
- package/dist/{chunk-MBWTG3QK.js → chunk-HHMFCT5K.js} +1 -1
- package/dist/{chunk-XMBYDEP5.js → chunk-IPS7A2BK.js} +1 -1
- package/dist/{chunk-I6KPMUKL.js → chunk-J74SL6JI.js} +1 -1
- package/dist/{chunk-N65FCTDB.js → chunk-JR347MV3.js} +3 -3
- package/dist/{chunk-VBDJCNV5.js → chunk-K5CV7Y7U.js} +10 -10
- package/dist/{chunk-ATYZTCCQ.js → chunk-L7MCKDRU.js} +7 -7
- package/dist/{chunk-J4WGMXVO.js → chunk-LAMPJU6V.js} +1 -1
- package/dist/{chunk-MTWYNTJD.js → chunk-MB6OS6TU.js} +5 -2
- package/dist/{chunk-RLKFY3HU.js → chunk-MHXUQI67.js} +1 -1
- package/dist/{chunk-ZL7HKXFQ.js → chunk-MI2XJJTC.js} +29 -29
- package/dist/{chunk-47FUS6JA.js → chunk-OTB63HQF.js} +1 -1
- package/dist/{chunk-RFFPPB35.js → chunk-PKIXRFB2.js} +3 -3
- package/dist/{chunk-MVGXLVZL.js → chunk-PNX74XDV.js} +4 -4
- package/dist/{chunk-HFE6QGUX.js → chunk-PZAI36UE.js} +2 -2
- package/dist/{chunk-M44Z7IZA.js → chunk-Q7AUTP6Z.js} +8 -8
- package/dist/{chunk-O2JHBBPU.js → chunk-QXKFQDV2.js} +5 -5
- package/dist/{chunk-QVPRJIII.js → chunk-QZ3QG4FE.js} +1 -1
- package/dist/{chunk-SLV5TQR2.js → chunk-QZBZQVZK.js} +7 -7
- package/dist/{chunk-CJXHENJ5.js → chunk-ROJMYI5S.js} +1 -1
- package/dist/{chunk-WZ53E572.js → chunk-RZRR2IUL.js} +3 -3
- package/dist/{chunk-WTDDNY2U.js → chunk-S2FSJ7H2.js} +6 -6
- package/dist/{chunk-RG2CVALO.js → chunk-SBEUAS2P.js} +3 -3
- package/dist/{chunk-AHTBKPTD.js → chunk-SCY7U54A.js} +1 -1
- package/dist/{chunk-JPJ52OED.js → chunk-SQMXHLMF.js} +4 -4
- package/dist/{chunk-DC4F5SXV.js → chunk-SVJKVEUF.js} +2 -2
- package/dist/{chunk-ZH5AVWCU.js → chunk-T3YVHCKG.js} +3 -3
- package/dist/{chunk-UEZFEXOL.js → chunk-TD7CTDKT.js} +2 -2
- package/dist/{chunk-ERMOEB2X.js → chunk-TT6C65II.js} +4 -4
- package/dist/{chunk-MTB3VJIO.js → chunk-U7CJ6EPP.js} +5 -5
- package/dist/{chunk-XS4KKH3I.js → chunk-UBSNF6VG.js} +2 -2
- package/dist/{chunk-34NWHMLT.js → chunk-UEK65YH6.js} +3 -3
- package/dist/{chunk-TY4PEMQO.js → chunk-UPWQO73K.js} +1 -1
- package/dist/{chunk-37XJYLH3.js → chunk-UU3A53VB.js} +5 -5
- package/dist/{chunk-IBQ5O6JN.js → chunk-V3Y2LSIQ.js} +5 -5
- package/dist/{chunk-WX27XHCC.js → chunk-VCPR7TRU.js} +2 -2
- package/dist/{chunk-S7JLFDC5.js → chunk-WNLDTV2M.js} +1 -1
- package/dist/{chunk-OCUDXQUE.js → chunk-XAATEDXK.js} +8 -8
- package/dist/{chunk-VMODSN4J.js → chunk-XEV7LRU3.js} +1 -1
- package/dist/{chunk-NV2NGOIW.js → chunk-XJTA4GJE.js} +6 -6
- package/dist/{chunk-33KJYY4S.js → chunk-YDZV2E5U.js} +3 -3
- package/dist/{chunk-ZCCMINZ2.js → chunk-Z7OGU6UD.js} +4 -4
- package/dist/{chunk-VJTBRDY6.js → chunk-ZSGCCX5U.js} +3 -3
- package/dist/{chunk-52CDCCAV.js → chunk-ZX6NQ4TE.js} +1 -1
- package/dist/{claude-launcher-Q4NJDME3.js → claude-launcher-JUGEXMO7.js} +5 -5
- package/dist/{cli-WS5OZ25F.js → cli-OAJGSXFK.js} +160 -160
- package/dist/{command-ANC5BAUG.js → command-TVXXAAXE.js} +47 -47
- package/dist/{config-ADWWCHNN.js → config-XZL5SJFQ.js} +10 -10
- package/dist/{connect-cmd-UWN6JEZG.js → connect-cmd-SVTZFSRL.js} +9 -9
- package/dist/{container-start-RMFASRXW.js → container-start-VHUXUJY4.js} +44 -44
- package/dist/{context-cleanup-L4RXI5WH.js → context-cleanup-PTFQF5A7.js} +2 -2
- package/dist/{context-show-cmd-VNTQIG5Z.js → context-show-cmd-G2DK7GH3.js} +10 -10
- package/dist/{control-plane-launch-3O3GPQID.js → control-plane-launch-BWUJZAO2.js} +12 -12
- package/dist/{demo-record-cmd-3QO2JEFB.js → demo-record-cmd-DASYPH54.js} +6 -6
- package/dist/{demo-voice-cmd-Y7V752IV.js → demo-voice-cmd-42WXU6GF.js} +16 -16
- package/dist/{docker-BI2LCX7C.js → docker-5IU4WLT5.js} +8 -8
- package/dist/{doctor-66LCTPCG.js → doctor-VA2UFJFP.js} +46 -46
- package/dist/{emit-artifact-cmd-XHZK6HAP.js → emit-artifact-cmd-SVSLY7HB.js} +15 -15
- package/dist/{emit-cmd-CMDT43TZ.js → emit-cmd-3YXG5Y56.js} +5 -5
- package/dist/{emit-criteria-cmd-5M3RCPAB.js → emit-criteria-cmd-AOQHGCV3.js} +12 -12
- package/dist/{emit-demo-cmd-GASVDJJW.js → emit-demo-cmd-AIK3WB2Z.js} +16 -16
- package/dist/{emit-finding-cmd-ZQ2ALRNO.js → emit-finding-cmd-6I4F4UWJ.js} +12 -12
- package/dist/{emit-result-cmd-Z7VL6UNL.js → emit-result-cmd-4QS4GPH2.js} +14 -14
- package/dist/{emit-step-cmd-BJTGMFCX.js → emit-step-cmd-3GFMIVRY.js} +12 -12
- package/dist/{exec-client-AXS6SYB2.js → exec-client-ZZQSNFIT.js} +6 -6
- package/dist/find-unit-WQBMZAYJ.js +24 -0
- package/dist/{findings-cmd-NXR3SP6I.js → findings-cmd-CECQLYVP.js} +12 -12
- package/dist/{fleet-readiness-T77ZS4WG.js → fleet-readiness-EQLBI2IT.js} +11 -11
- package/dist/{governing-source-VZVI7BAK.js → governing-source-ZZTOBIRP.js} +17 -17
- package/dist/{guest-init-VP2QGWYP.js → guest-init-K5475ZQO.js} +7 -7
- package/dist/{hook-fast-IRQGPEWG.js → hook-fast-TBCK3I4E.js} +1 -1
- package/dist/{hook-install-SWL7XFB2.js → hook-install-5ICKPUMZ.js} +2 -2
- package/dist/{host-checks-MVZ67XYA.js → host-checks-C2GDXJPJ.js} +42 -42
- package/dist/{host-key-HKAK3EIG.js → host-key-ZXRIIWZC.js} +6 -6
- package/dist/{image-tag-RG3GSO5M.js → image-tag-DTTH4Z6T.js} +6 -6
- package/dist/index.js +4 -4
- package/dist/{init-JCYKUMDY.js → init-4ERBO6N5.js} +42 -42
- package/dist/{init-CLE6MMNO.js → init-SCINBONF.js} +42 -42
- package/dist/{init-agent-J5VILVK6.js → init-agent-6UGX75WR.js} +42 -42
- package/dist/{init-cmd-S3E45NZF.js → init-cmd-MXQZ4PRU.js} +24 -24
- package/dist/{init-update-TI5OTY2E.js → init-update-NYCGYG6A.js} +20 -20
- package/dist/{install-cmd-AOHF35J6.js → install-cmd-BMXDDBPN.js} +13 -13
- package/dist/{launch-agent-X655ER6S.js → launch-agent-DPDGHYIW.js} +13 -13
- package/dist/{layout-4G64JIIK.js → layout-GIJHRWYO.js} +2 -2
- package/dist/{logs-SOERL6V4.js → logs-I4VXXTV5.js} +5 -5
- package/dist/loop-DE37FAAT.js +92 -0
- package/dist/{machine-REKSM5O6.js → machine-4JUM7RCO.js} +42 -42
- package/dist/{machine-skills-O2MKJ6J6.js → machine-skills-YPZLCYK5.js} +2 -2
- package/dist/{mcp-install-cmd-VI5WXA3V.js → mcp-install-cmd-BIF6Q2HX.js} +2 -2
- package/dist/{mcp-serve-cmd-FZEBWRXI.js → mcp-serve-cmd-5AMUEGSA.js} +7 -7
- package/dist/{paths-RHNTDPFJ.js → paths-OYHBXFV4.js} +5 -5
- package/dist/pending-I5AP7IJ6.js +18 -0
- package/dist/{pidfile-6Q4W774B.js → pidfile-PN5VYXTM.js} +6 -6
- package/dist/{record-UQ2WZN46.js → record-H5TSGSHS.js} +6 -6
- package/dist/{relay-AOJAZ2JQ.js → relay-OOCAHL5K.js} +3 -3
- package/dist/{relay-protocol-MTQ3OK2L.js → relay-protocol-6L72CQYQ.js} +3 -3
- package/dist/{run-cmd-FNH3KZOE.js → run-cmd-ZWHGXBEN.js} +12 -12
- package/dist/{runner-agents-I4WKI2PI.js → runner-agents-6LXWGCI5.js} +2 -2
- package/dist/{runner-env-3QM4DPJL.js → runner-env-PS42B5IJ.js} +12 -12
- package/dist/{runner-identity-RLK2DMMA.js → runner-identity-WSL54Z2Q.js} +8 -8
- package/dist/{runner-key-KOMEGMJ3.js → runner-key-ZTHDMU44.js} +42 -42
- package/dist/{session-sender-37MGJH43.js → session-sender-UML25ESX.js} +15 -15
- package/dist/{setup-cmd-IXUUCFZU.js → setup-cmd-YE6FV6GI.js} +10 -10
- package/dist/{setup-wiring-3F2AZXIM.js → setup-wiring-Z7WTN6R6.js} +49 -49
- package/dist/{spec-cmd-BIP6Z5SC.js → spec-cmd-IKHLMKLA.js} +13 -13
- package/dist/{starter-pack-WYGZOND7.js → starter-pack-Q5EA2XJI.js} +3 -3
- package/dist/{state-L34BBCKO.js → state-ZG4F7Q6L.js} +6 -6
- package/dist/{status-IYPIPVPZ.js → status-CA5UYVDR.js} +42 -42
- package/dist/{sync-cmd-YBRVLAWV.js → sync-cmd-WJCLQ7JV.js} +14 -14
- package/dist/update-steps-E4R6PAT3.js +83 -0
- package/dist/{watch-P6PFN2LE.js → watch-BHICLNXC.js} +14 -14
- package/dist/{work-claim-cmd-6KCXPHQU.js → work-claim-cmd-TE65ALQ3.js} +18 -18
- package/dist/{work-cmd-L3IRQKZQ.js → work-cmd-ISLS6N6K.js} +12 -12
- package/dist/{work-comment-cmd-UJ2K4ZG3.js → work-comment-cmd-2B646ZAR.js} +14 -14
- package/dist/{work-demo-cmd-LHWETHQG.js → work-demo-cmd-GF57UCBF.js} +12 -12
- package/dist/{work-logs-cmd-4FVVL6SP.js → work-logs-cmd-YQYCC3UG.js} +12 -12
- package/dist/{work-mock-cmd-LGHEMHMF.js → work-mock-cmd-BLEOHNZZ.js} +12 -12
- package/dist/{work-needs-attention-cmd-SOD6Y4ZC.js → work-needs-attention-cmd-E645DC2W.js} +12 -12
- package/dist/{work-no-change-cmd-UGQTKMR4.js → work-no-change-cmd-GABW5JNM.js} +12 -12
- package/dist/{work-open-pr-cmd-MXHCNYBN.js → work-open-pr-cmd-WBVUB7PW.js} +13 -13
- package/dist/{work-pr-cmd-WESCT4AS.js → work-pr-cmd-SSYN6MZO.js} +12 -12
- package/dist/{work-proofs-cmd-XWVR57TH.js → work-proofs-cmd-OFJ442KJ.js} +14 -14
- package/dist/{work-proofs-record-HVVFZHJF.js → work-proofs-record-7JY3GSP2.js} +20 -20
- package/dist/{work-stop-cmd-F6YTWYGH.js → work-stop-cmd-75IPCSPF.js} +12 -12
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/references/criteria-judge.md +2 -2
- package/skill-pack/maintained/outerlayer-build/references/criteria.md +27 -8
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +2 -2
- package/dist/find-unit-EM4TJ6FW.js +0 -24
- package/dist/loop-QSFFK3SM.js +0 -92
- package/dist/pending-YUHNYEHU.js +0 -18
- package/dist/update-steps-VDOXQUWU.js +0 -83
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-UU3A53VB.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-XJTA4GJE.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkSpecSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-7TZ6N25K.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-44UZZVEQ.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-RZRR2IUL.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-CLVWA4DI.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-G4TG7RBM.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-43GWGP2Z.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-LA66NWUO.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-UPWQO73K.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-MB6OS6TU.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
23
|
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-ZQZHAHJ4.js';
|
|
24
24
|
import { CRITERIA_JUDGE_NAME } from './chunk-MCUI6RHU.js';
|
|
@@ -1093,8 +1093,8 @@ function doctorExitCode(checks) {
|
|
|
1093
1093
|
|
|
1094
1094
|
// src/doctor-report.ts
|
|
1095
1095
|
async function gatherDoctorChecks(options = {}) {
|
|
1096
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1097
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1096
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-NUB2IQLK.js');
|
|
1097
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-XZL5SJFQ.js');
|
|
1098
1098
|
const configPath = options.configPath ?? defaultRunnerConfigPath();
|
|
1099
1099
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1100
1100
|
const hooks = (() => {
|
|
@@ -1122,7 +1122,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1122
1122
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1123
1123
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1124
1124
|
} else if (hasRunnerBlock(configPath)) {
|
|
1125
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1125
|
+
const { runnerHostChecks } = await import('./doctor-VA2UFJFP.js');
|
|
1126
1126
|
const gateway = (() => {
|
|
1127
1127
|
try {
|
|
1128
1128
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1150,7 +1150,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1150
1150
|
const service = await (async () => {
|
|
1151
1151
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1152
1152
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1153
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1153
|
+
const { inspectRunnerService } = await import('./find-unit-WQBMZAYJ.js');
|
|
1154
1154
|
return inspectRunnerService(configPath);
|
|
1155
1155
|
})();
|
|
1156
1156
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -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-QZ3QG4FE.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-WNLDTV2M.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-G4TG7RBM.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-ROJMYI5S.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-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-IPS7A2BK.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-MB6OS6TU.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -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-EY5PK33O.js';
|
|
4
|
+
import { orgHomeDir } from './chunk-QZ3QG4FE.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 { defaultAgents } from './chunk-
|
|
3
|
+
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-ETXP6DPT.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
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-MB6OS6TU.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-XJTA4GJE.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-G4TG7RBM.js';
|
|
8
|
+
import { logHookError } from './chunk-43GWGP2Z.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';
|
|
@@ -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-4UDSLKAQ.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-3BA7WFT5.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-LAMPJU6V.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-XJTA4GJE.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-EY5PK33O.js';
|
|
9
|
+
import { signerFor } from './chunk-OTB63HQF.js';
|
|
10
|
+
import { pidFilePath } from './chunk-QZ3QG4FE.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession, transcriptPathForSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession, transcriptPathForSession } from './chunk-A7M4QXVX.js';
|
|
5
|
+
import { autoConnect } from './chunk-PZAI36UE.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-G4TG7RBM.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-LGJ56FCM.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-MB6OS6TU.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import { resolveRepoIdentity, scrubText } from './chunk-ZQZHAHJ4.js';
|
|
15
15
|
import { FindingBatchSchema, findingGaps, FindingsResponseSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, SAME_PROBLEM_RULES, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH } from './chunk-MCUI6RHU.js';
|
|
@@ -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-F3J4UKBF.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-MB6OS6TU.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -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-QZ3QG4FE.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,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-65VG7TV5.js';
|
|
4
|
+
import { parseSize } from './chunk-QZBZQVZK.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-YDZV2E5U.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-MHXUQI67.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
4
|
+
import { detectActiveSession } from './chunk-A7M4QXVX.js';
|
|
5
|
+
import { autoConnect } from './chunk-PZAI36UE.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-G4TG7RBM.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
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-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-J74SL6JI.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-XJTA4GJE.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-G4TG7RBM.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-
|
|
11
|
+
import { parseProofsConfig } from './chunk-MB6OS6TU.js';
|
|
12
12
|
import { resolveRepoIdentity } from './chunk-ZQZHAHJ4.js';
|
|
13
13
|
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-MCUI6RHU.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
@@ -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-C2GDXJPJ.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-C2GDXJPJ.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-7JY3GSP2.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
3
|
import { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-OTB63HQF.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-Z7J7JWGF.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -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-QZ3QG4FE.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-MB6OS6TU.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-MB6OS6TU.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEMS_MAX, CheckItemsSchema, problemKind, CHECK_ITEM_REFS_MAX, CHECK_ITEM_ID_MAX_LENGTH, CHECK_ITEM_REF_PATH_MAX_LENGTH, JUDGE_NOT_RUN_ITEM_ID, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-S2FSJ7H2.js';
|
|
4
|
+
import { spoolDir } from './chunk-43GWGP2Z.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-MB6OS6TU.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { CaptureDaemon } from './chunk-ZQZHAHJ4.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
12
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-4UDSLKAQ.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-3BA7WFT5.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-XJTA4GJE.js';
|
|
6
|
+
import { isBuiltinVm, isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-EY5PK33O.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-65VG7TV5.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-OTB63HQF.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-YDZV2E5U.js';
|
|
10
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-5XEO7FJW.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-MHXUQI67.js';
|
|
12
|
+
import { defaultAgents } from './chunk-MB6OS6TU.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -1,15 +1,15 @@
|
|
|
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-Z7OGU6UD.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-LAMPJU6V.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
6
|
import { withNewTokenRetry, REFUSED_BY_REMOTE } from './chunk-FJGYU2EK.js';
|
|
7
|
-
import { runnerLabelValue } from './chunk-
|
|
8
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
7
|
+
import { runnerLabelValue } from './chunk-QZBZQVZK.js';
|
|
8
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-47NQTKLX.js';
|
|
9
9
|
import { removeLeftoverGitLocks } from './chunk-A2WPWZJA.js';
|
|
10
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
11
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
12
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-
|
|
10
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-QZ3QG4FE.js';
|
|
11
|
+
import { withGitConfig, tokenHeader } from './chunk-YDZV2E5U.js';
|
|
12
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION, imageAgentPins } from './chunk-MHXUQI67.js';
|
|
13
13
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
14
14
|
import { tmpdir } from 'os';
|
|
15
15
|
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 { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-QZ3QG4FE.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -11347,6 +11347,7 @@ var SHIM_MAX_BYTES = 256;
|
|
|
11347
11347
|
var SHIM = /^#!\/bin\/sh\nexec outerlayer [^\n]*"\$@"\n$/;
|
|
11348
11348
|
var DEFAULT_DOC_BYTES = 32 * 1024;
|
|
11349
11349
|
var STALE_MS = 24 * 60 * 60 * 1e3;
|
|
11350
|
+
var SHARED_FOLDERS = ["sessions", "plugins", ".tmp"];
|
|
11350
11351
|
var BYPASS_HOOK_TRUST = "--dangerously-bypass-hook-trust";
|
|
11351
11352
|
var VALUE_OPTIONS = /* @__PURE__ */ new Set(["-c", "--config", "-m", "--model", "-p", "--profile", "-s", "--sandbox", "-C", "--cd", "-i", "--image", "--enable", "--disable", "-a", "--ask-for-approval", "--add-dir", "--color", "--output-schema", "-o", "--output-last-message", "--local-provider", "--remote"]);
|
|
11352
11353
|
var MCP_ENTRY = { type: "stdio", command: "outerlayer", args: ["mcp", "serve"] };
|
|
@@ -11440,8 +11441,10 @@ ${own}`);
|
|
|
11440
11441
|
const login = join2(userHome, "auth.json");
|
|
11441
11442
|
const authText = fs.kind(login) === "file" ? fs.readText(login) : void 0;
|
|
11442
11443
|
if (authText !== void 0) fs.copy(login, join2(folder, "auth.json"));
|
|
11443
|
-
|
|
11444
|
-
|
|
11444
|
+
for (const name of SHARED_FOLDERS) {
|
|
11445
|
+
fs.makeDir(join2(userHome, name));
|
|
11446
|
+
fs.link(join2(userHome, name), join2(folder, name));
|
|
11447
|
+
}
|
|
11445
11448
|
launches.set(folder, { userHome, authText });
|
|
11446
11449
|
const env = Object.fromEntries(Object.entries({ ...input.env, CODEX_HOME: folder }).filter((entry) => entry[1] !== void 0));
|
|
11447
11450
|
return { program: input.program, args: [BYPASS_HOOK_TRUST, ...withSkillMention(input.callerArgs, folder)], env, driver: "exec", exitFrom: "code" };
|
|
@@ -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-MB6OS6TU.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-
|
|
3
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-7MVTX74D.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-DWZWXWZP.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-ZSGCCX5U.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
|
-
import { writeFleetState } from './chunk-
|
|
9
|
-
import { writePendingUpdate } from './chunk-
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-
|
|
11
|
-
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
8
|
+
import { writeFleetState } from './chunk-5XAV7LGB.js';
|
|
9
|
+
import { writePendingUpdate } from './chunk-H32FCHB5.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, sliceMemoryOf, checkBlockedWithSlots, largeBuildMemoryBytes, LARGE_BUILD_DISK_BYTES, checkManagedRoom, askFleetMachine } from './chunk-K5CV7Y7U.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-ETXP6DPT.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, unfinishedJobs, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, usableCpus, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, removeOldestUntil, treeFileText, timeoutAfter, scrubReason, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-4UDSLKAQ.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-JXZ3LIHN.js';
|
|
14
|
-
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-
|
|
15
|
-
import { RUNNER_RESERVE_BYTES } from './chunk-
|
|
16
|
-
import { RepoFilter } from './chunk-
|
|
14
|
+
import { criteriaOf, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, wholeEntries, parseJudgeAnswer } from './chunk-J74SL6JI.js';
|
|
15
|
+
import { RUNNER_RESERVE_BYTES } from './chunk-3BA7WFT5.js';
|
|
16
|
+
import { RepoFilter } from './chunk-S2FSJ7H2.js';
|
|
17
17
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
18
|
-
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-
|
|
18
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-ZX6NQ4TE.js';
|
|
19
19
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-7V6MCI6A.js';
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-L7MCKDRU.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-LAMPJU6V.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
25
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
26
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
27
|
-
import { allocatedBytes, freeBytes, formatBytes } from './chunk-
|
|
28
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-
|
|
29
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
30
|
-
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-
|
|
31
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-
|
|
32
|
-
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-
|
|
33
|
-
import { cleanAttachmentName } from './chunk-
|
|
34
|
-
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-
|
|
35
|
-
import { defaultAgents, resolvePackRoot } from './chunk-
|
|
24
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-Q7AUTP6Z.js';
|
|
25
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-XJTA4GJE.js';
|
|
26
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-EY5PK33O.js';
|
|
27
|
+
import { allocatedBytes, freeBytes, formatBytes } from './chunk-65VG7TV5.js';
|
|
28
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, judgeCommand, JUDGE_DIR, JUDGE_MAX_TURNS } from './chunk-QZBZQVZK.js';
|
|
29
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-OTB63HQF.js';
|
|
30
|
+
import { RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, jobsDir, pidFilePath, storeScopes, imagesDir } from './chunk-QZ3QG4FE.js';
|
|
31
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-YDZV2E5U.js';
|
|
32
|
+
import { jobCredentialProblem, COMMAND_LOST_REASON, takeAgentCredentials, heldAgentCredential, CONTAINER_STOPPED_REASON, currentAgentCredential, fdName } from './chunk-5XEO7FJW.js';
|
|
33
|
+
import { cleanAttachmentName } from './chunk-43GWGP2Z.js';
|
|
34
|
+
import { jobAgent, jobCommandEnv, runnerAgents, judgeAgent } from './chunk-MHXUQI67.js';
|
|
35
|
+
import { defaultAgents, resolvePackRoot } from './chunk-MB6OS6TU.js';
|
|
36
36
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
37
37
|
import { CheckItemsSchema, CODE_REVIEW_NAME, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, UNREVIEWED_FILES_ITEM_ID, problemKind, CODE_REVIEW_PROBLEMS_MAX, REVIEWED_COMMIT_ITEM_ID } from './chunk-MCUI6RHU.js';
|
|
38
38
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, rmSync, readFileSync, lstatSync, closeSync } from 'fs';
|
|
@@ -3199,7 +3199,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3199
3199
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3200
3200
|
);
|
|
3201
3201
|
async function tryClaimAndStart(state, item, queue) {
|
|
3202
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3202
|
+
const { postJson: postJson2 } = await import('./work-cmd-ISLS6N6K.js');
|
|
3203
3203
|
const log = logOf(state);
|
|
3204
3204
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3205
3205
|
const claim = await retrySend(
|
|
@@ -4827,7 +4827,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
4827
4827
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
4828
4828
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
4829
4829
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
4830
|
-
return (await import('./check-
|
|
4830
|
+
return (await import('./check-7ZXMFO5K.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
4831
4831
|
},
|
|
4832
4832
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
4833
4833
|
log
|
|
@@ -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-QZ3QG4FE.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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-A7M4QXVX.js';
|
|
4
|
+
import { autoConnect } from './chunk-PZAI36UE.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-G4TG7RBM.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';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-WNLDTV2M.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-3DILWPBX.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-CLVWA4DI.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-MB6OS6TU.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|