@outerlayer/cli 0.40.0-next.20261117015205 → 0.40.0-next.20261117031847
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-5UMGRTAY.js → agent-setup-E3NJKG6H.js} +7 -7
- package/dist/{agent-subcommand-JGANAEB4.js → agent-subcommand-SNGOSV4D.js} +1 -1
- package/dist/{bridge-YHCQBKZC.js → bridge-C5FNHUYF.js} +2 -2
- package/dist/{build-SSIBPHPA.js → build-YFKCYJR6.js} +7 -7
- package/dist/{build-disk-KI2JOKAK.js → build-disk-ZRWIYYVO.js} +5 -5
- package/dist/build-info.json +1 -1
- package/dist/{builder-I562HT2D.js → builder-334EUQCE.js} +4 -4
- package/dist/{caller-VTVQPOGC.js → caller-6PMFDU4O.js} +7 -7
- package/dist/{check-IQLQEMO6.js → check-LGB3BWZ7.js} +40 -43
- package/dist/{chunk-DMWGWD26.js → chunk-2F3RZT5L.js} +3 -3
- package/dist/{chunk-C6EPHJIV.js → chunk-2MSLNM5V.js} +1 -1
- package/dist/{chunk-JEC2BZN4.js → chunk-2VVSAKM3.js} +55 -173
- package/dist/{chunk-JE23PLDE.js → chunk-3IHZYNZW.js} +1 -1
- package/dist/{chunk-6367NG5G.js → chunk-3TQVQKQ2.js} +5 -5
- package/dist/{chunk-CCSB6CSX.js → chunk-4WRECUUH.js} +3 -3
- package/dist/{chunk-UMFSHU72.js → chunk-5LDYQLE3.js} +2 -2
- package/dist/{chunk-XAOZFBXK.js → chunk-5SAJ23BY.js} +1 -1
- package/dist/{chunk-JSN2DMPB.js → chunk-62EOPMMA.js} +1 -1
- package/dist/{chunk-XDWJOYC4.js → chunk-6JRDP6O4.js} +2 -2
- package/dist/{chunk-DLYCHCKQ.js → chunk-6MF44FPF.js} +1 -1
- package/dist/{chunk-X56RDVCN.js → chunk-A72OH6K3.js} +7 -7
- package/dist/{chunk-DUQIP32K.js → chunk-AAOM7S3Z.js} +2 -2
- package/dist/{chunk-P2I6YVJV.js → chunk-CGYKQEPN.js} +4 -4
- package/dist/{chunk-AL6CJD2X.js → chunk-CJCGE7TW.js} +6 -6
- package/dist/{chunk-YI2HDVUL.js → chunk-CVSREZEZ.js} +2 -2
- package/dist/{chunk-IOUBTUS2.js → chunk-DOJGTDZU.js} +5 -5
- package/dist/{chunk-3WMULGB4.js → chunk-DQQID2EX.js} +2 -2
- package/dist/{chunk-QI6YUQWR.js → chunk-DRF45IQZ.js} +1 -1
- package/dist/{chunk-D5JM2VPO.js → chunk-EO7KUUKZ.js} +2 -2
- package/dist/{chunk-UELSHBQH.js → chunk-ERFVB3TJ.js} +2 -2
- package/dist/{chunk-3YMOSZRN.js → chunk-F2I2GQMF.js} +1 -1
- package/dist/{chunk-7H5JQFWQ.js → chunk-F7EYCXY4.js} +2 -2
- package/dist/{chunk-732WJDYG.js → chunk-FPUFOQEH.js} +5 -5
- package/dist/{chunk-6DO34552.js → chunk-GZLNKW2J.js} +1 -1
- package/dist/{chunk-ZWMV7KVB.js → chunk-HQPB4ZMS.js} +1 -1
- package/dist/{chunk-6GLSCHX2.js → chunk-IQTMXXKU.js} +5 -5
- package/dist/{chunk-7MKOIOPP.js → chunk-IWPU2TDY.js} +2 -2
- package/dist/{chunk-DG7525WL.js → chunk-J6WQ6POX.js} +1 -1
- package/dist/{chunk-77JLN6GC.js → chunk-JDAH6YHU.js} +2 -3
- package/dist/{chunk-2EJED3QQ.js → chunk-JGSIVQVE.js} +2 -2
- package/dist/{chunk-4FUTEM37.js → chunk-KDKMVWHJ.js} +1 -1
- package/dist/{chunk-PEN7Y4PB.js → chunk-M7RI6IMR.js} +3 -3
- package/dist/{chunk-MCJRTOAL.js → chunk-NLOUOUZV.js} +1 -1
- package/dist/{chunk-BCBZHDMW.js → chunk-NO3JPGJW.js} +1 -1
- package/dist/{chunk-KNXKFQQ7.js → chunk-NWYQ7PKS.js} +18 -76
- package/dist/{chunk-NE5PE3Q7.js → chunk-OCXVMUXA.js} +3 -3
- package/dist/{chunk-UQWBHNTZ.js → chunk-OIAWDKSR.js} +2 -2
- package/dist/{chunk-PC2FA62W.js → chunk-OUVDFJ3T.js} +3 -3
- package/dist/{chunk-BBJC4R6E.js → chunk-OVF475U5.js} +1 -1
- package/dist/{chunk-JBGASRRE.js → chunk-PIJWOPSG.js} +3 -3
- package/dist/{chunk-VJCILU3C.js → chunk-QAZOUTEM.js} +1 -1
- package/dist/{chunk-UAOLY4EP.js → chunk-QIO2NIX2.js} +1 -1
- package/dist/{chunk-J4F4V3G2.js → chunk-QVQWIKDP.js} +1 -1
- package/dist/{chunk-YSHMGQRD.js → chunk-R4IC7BKJ.js} +3 -3
- package/dist/{chunk-FKC5D6CA.js → chunk-ROMZCAG7.js} +1 -1
- package/dist/{chunk-CRATKTFX.js → chunk-T3NBGNP5.js} +42 -95
- package/dist/{chunk-UXAB2OEM.js → chunk-WNQMNFJG.js} +2 -2
- package/dist/{chunk-CFIYOLCT.js → chunk-WT74ZSRC.js} +3 -3
- package/dist/{chunk-TWUEZPWP.js → chunk-WYD6XWET.js} +2 -2
- package/dist/{chunk-EHJYBHH7.js → chunk-WZRXXOWB.js} +11 -11
- package/dist/{chunk-UYQDQQ6A.js → chunk-Z3IDEUCC.js} +3 -3
- package/dist/{chunk-45JV3EMA.js → chunk-ZTZFWQBG.js} +5 -7
- package/dist/{claude-launcher-TWKHBR6F.js → claude-launcher-3H5XSXVA.js} +1 -1
- package/dist/{cli-VP6R322C.js → cli-FRR5Q3IX.js} +136 -136
- package/dist/{command-IYGPJIJX.js → command-Y5FG3FWC.js} +34 -34
- package/dist/{config-HYSU7MD3.js → config-V6VQOSHM.js} +6 -6
- package/dist/{connect-cmd-O4ATJTQV.js → connect-cmd-AU2IGAYG.js} +5 -5
- package/dist/{container-start-SXGAF3WH.js → container-start-Z6OCZPUC.js} +31 -31
- package/dist/{context-show-cmd-D3GXL65K.js → context-show-cmd-Z6YW2XPG.js} +6 -6
- package/dist/{control-plane-launch-KVROM6BY.js → control-plane-launch-CNGKWYLK.js} +5 -5
- package/dist/{demo-record-cmd-UMHWHDZ4.js → demo-record-cmd-VEMSRUVR.js} +2 -2
- package/dist/{demo-voice-cmd-GBI52Y73.js → demo-voice-cmd-ABNZ6H7V.js} +11 -11
- package/dist/{docker-B76MDGCW.js → docker-UHQ4LAJE.js} +4 -4
- package/dist/{doctor-GAAYMZKZ.js → doctor-B7XTBO53.js} +43 -48
- package/dist/{emit-artifact-cmd-X4AKVBS2.js → emit-artifact-cmd-WLBQOFGX.js} +10 -10
- package/dist/{emit-criteria-cmd-UKZBMIK6.js → emit-criteria-cmd-S533NEY4.js} +7 -7
- package/dist/{emit-demo-cmd-QC56Y6P2.js → emit-demo-cmd-K4JY5PDP.js} +11 -11
- package/dist/{emit-finding-cmd-DL2Y7BEV.js → emit-finding-cmd-C7RZGGVJ.js} +7 -7
- package/dist/{emit-result-cmd-VPWAJBN6.js → emit-result-cmd-5NLUDBXM.js} +9 -9
- package/dist/{emit-step-cmd-REP4IS3F.js → emit-step-cmd-Q7VIXGYQ.js} +7 -7
- package/dist/{exec-client-KBOKVUU5.js → exec-client-RR6F42IB.js} +3 -3
- package/dist/{chunk-6TF4QU7M.js → find-unit-WRHK3H5X.js} +18 -1
- package/dist/{findings-cmd-BXAXOQB6.js → findings-cmd-74MN2Q7K.js} +7 -7
- package/dist/{fleet-readiness-EDJDDAEB.js → fleet-readiness-R6B3PYU7.js} +5 -5
- package/dist/{governing-source-AG7KDIIG.js → governing-source-M2HYH7ZN.js} +9 -9
- package/dist/{guest-init-DUOJUQFY.js → guest-init-QEWU2H7W.js} +4 -4
- package/dist/{hook-fast-ZVZWP7OQ.js → hook-fast-GPW7D4MD.js} +1 -1
- package/dist/{host-checks-FJQWUGNV.js → host-checks-PKOVCAGU.js} +29 -29
- package/dist/{pending-Y62PXWTU.js → host-key-HICYSAZ5.js} +3 -3
- package/dist/{image-tag-BTK5342G.js → image-tag-LKOD5GRQ.js} +3 -3
- package/dist/index.js +4 -4
- package/dist/{init-JXXE5VIF.js → init-DFC5GUE5.js} +29 -29
- package/dist/{init-FU72DRLW.js → init-UO4SOY57.js} +29 -29
- package/dist/{init-agent-PSPP3EFU.js → init-agent-JVMIDIXN.js} +29 -29
- package/dist/{init-cmd-DTMCMKGY.js → init-cmd-WTJ7KOQ5.js} +11 -11
- package/dist/{init-update-ZJSTM46T.js → init-update-BRUFAWCA.js} +8 -8
- package/dist/{install-cmd-U4PP4YQE.js → install-cmd-2H4QK5O7.js} +9 -9
- package/dist/{launch-agent-BIAPDAVB.js → launch-agent-HPWRSGXZ.js} +9 -9
- package/dist/{logs-L5GX5BWF.js → logs-WNZZNFA3.js} +2 -2
- package/dist/{loop-43RIGVSW.js → loop-WO37TJ5C.js} +37 -37
- package/dist/{machine-RZKEE7YW.js → machine-ZXCUPCDS.js} +29 -29
- package/dist/{mcp-serve-cmd-3B3KWYHN.js → mcp-serve-cmd-4D4P6IA7.js} +4 -4
- package/dist/{paths-26SZBIOA.js → paths-I7LDWR3Q.js} +2 -2
- package/dist/{host-key-MNYYPKBU.js → pending-L65HTOAV.js} +3 -3
- package/dist/{pidfile-22HCQHLJ.js → pidfile-SNTRLZ2Z.js} +3 -3
- package/dist/{record-HFUJLNOV.js → record-QJPGOWYX.js} +3 -3
- package/dist/{run-cmd-G4LA2YZR.js → run-cmd-YY34QRDU.js} +7 -7
- package/dist/{runner-env-RQ3SKLKL.js → runner-env-ACRSRRBW.js} +8 -8
- package/dist/{runner-identity-V4IUTSCJ.js → runner-identity-2374JAQF.js} +4 -4
- package/dist/{runner-key-HHUSWOSO.js → runner-key-JRZ5N4IM.js} +29 -29
- package/dist/{session-sender-AAQXJLNE.js → session-sender-CUM4SRT7.js} +10 -10
- package/dist/{setup-cmd-4CKPSEJD.js → setup-cmd-5ICCOGTJ.js} +6 -6
- package/dist/{setup-wiring-S7F3DBR7.js → setup-wiring-CEGNPVS5.js} +33 -33
- package/dist/{spec-cmd-V2FPAZJ7.js → spec-cmd-6ACWBET6.js} +8 -8
- package/dist/{state-PSFO26DS.js → state-TUO74X72.js} +3 -3
- package/dist/{status-MAZ7WEAO.js → status-H677WBLM.js} +29 -29
- package/dist/{sync-cmd-2TLRGEXR.js → sync-cmd-5UMBZRKI.js} +9 -9
- package/dist/{update-steps-4BYFVJAS.js → update-steps-XCDL66FA.js} +30 -30
- package/dist/{watch-GQAIYCFW.js → watch-34LOYMEQ.js} +9 -9
- package/dist/{work-claim-cmd-Z3QNGSMF.js → work-claim-cmd-NRHTDJC3.js} +13 -13
- package/dist/{work-cmd-LA5ZBMBQ.js → work-cmd-NBYW3LBP.js} +7 -7
- package/dist/{work-comment-cmd-NP6USSKX.js → work-comment-cmd-J4CG33NA.js} +9 -9
- package/dist/{work-demo-cmd-KZDTXCYM.js → work-demo-cmd-APJDOTHV.js} +7 -7
- package/dist/{work-logs-cmd-3BX5MK2E.js → work-logs-cmd-FL7DOHUU.js} +7 -7
- package/dist/{work-mock-cmd-IT3IKALB.js → work-mock-cmd-4MAYOAQS.js} +7 -7
- package/dist/{work-needs-attention-cmd-BDIFC7I4.js → work-needs-attention-cmd-LG5MFGPW.js} +7 -7
- package/dist/{work-no-change-cmd-A65QOBQ2.js → work-no-change-cmd-QATDFQ46.js} +7 -7
- package/dist/{work-open-pr-cmd-CGSCDYHI.js → work-open-pr-cmd-FV43THW5.js} +8 -8
- package/dist/{work-pr-cmd-DZKJLYLF.js → work-pr-cmd-53VAE7HD.js} +7 -7
- package/dist/{work-proofs-cmd-3RHD7FPY.js → work-proofs-cmd-4SF7WZC3.js} +8 -8
- package/dist/{work-proofs-record-ROJMYVIQ.js → work-proofs-record-IGKVQOLA.js} +14 -14
- package/dist/{work-stop-cmd-RJESQDZN.js → work-stop-cmd-V5SPVTY4.js} +7 -7
- package/package.json +1 -1
- package/dist/find-unit-5PUEPP5J.js +0 -24
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-OIAWDKSR.js';
|
|
5
|
+
import { workPageUrl } from './chunk-GZLNKW2J.js';
|
|
6
6
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-
|
|
9
|
-
import { signRunnerRequest } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-J6WQ6POX.js';
|
|
9
|
+
import { signRunnerRequest } from './chunk-NLOUOUZV.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
@@ -556,7 +556,7 @@ async function runWorkLinkSession(opts) {
|
|
|
556
556
|
return await linkSession(opts);
|
|
557
557
|
} catch (err) {
|
|
558
558
|
if (opts.logFailures) {
|
|
559
|
-
const { logHookError } = await import('./hook-fast-
|
|
559
|
+
const { logHookError } = await import('./hook-fast-GPW7D4MD.js');
|
|
560
560
|
const reason = err instanceof Error ? err.message : String(err);
|
|
561
561
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
562
562
|
}
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-XLU5ZOTK.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-6P23FS2Z.js';
|
|
5
5
|
import { installStarterPack } from './chunk-UNGZ25QF.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-GZLNKW2J.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-G3HBBHIK.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-WNQMNFJG.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-H7EBNQGW.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -882,7 +882,7 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
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-CNGKWYLK.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { linkedBranches, setupCommitPaths, commitCommandsFor, ownerAndName } from './chunk-GZLNKW2J.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-J6WQ6POX.js';
|
|
5
5
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-OIAWDKSR.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-DV44KCM6.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-J6WQ6POX.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';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
4
|
import { detectActiveSession, transcriptPathForSession } from './chunk-CWJ26A6W.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-OIAWDKSR.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-J6WQ6POX.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';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-ERFVB3TJ.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-J6WQ6POX.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-NLOUOUZV.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-JDAH6YHU.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-DRF45IQZ.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-2ZF62BAK.js';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
4
|
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-G3HBBHIK.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-DHB3M244.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-J6WQ6POX.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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-MJGBRYDH.js';
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-DOJGTDZU.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-J6WQ6POX.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';
|
|
@@ -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-PKOVCAGU.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-PKOVCAGU.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-IGKVQOLA.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-WZRXXOWB.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
|
-
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-
|
|
5
|
+
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-GZLNKW2J.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
8
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
@@ -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-NLOUOUZV.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';
|
|
@@ -726,7 +726,7 @@ function buildEnvironment(input) {
|
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
const destinations = destinationEnvironment(input.config.build?.destinations, containerLocalAddress);
|
|
729
|
-
const builtInLiterals = builtIns ? builtInEnvironment((name2) => containerBuiltInAddress(name2, input.agents), input.config.
|
|
729
|
+
const builtInLiterals = builtIns ? builtInEnvironment((name2) => containerBuiltInAddress(name2, input.agents), input.config.fleet === true ? managedAgentCredential(input.agents) : agentCredential(input.hostEnv, {}, input.agents), input.agents, void 0, input.job, input.run === true) : {};
|
|
730
730
|
const hooksPath = input.identity?.hooksPath;
|
|
731
731
|
const hooks = {};
|
|
732
732
|
if (hooksPath !== void 0) {
|
|
@@ -936,7 +936,6 @@ function classifyAddress(address) {
|
|
|
936
936
|
|
|
937
937
|
// src/runner/proxied-variables.ts
|
|
938
938
|
var MAX_NAME_IN_ROUTE = 40;
|
|
939
|
-
var STAND_IN = "olvar_placeholder-not-a-real-value";
|
|
940
939
|
function routeNameOf(variables, variable) {
|
|
941
940
|
const position = Math.max(0, variables.indexOf(variable));
|
|
942
941
|
const readable = variable.name.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, MAX_NAME_IN_ROUTE).replace(/-+$/g, "");
|
|
@@ -1358,4 +1357,4 @@ async function startBuildServices(input) {
|
|
|
1358
1357
|
}
|
|
1359
1358
|
}
|
|
1360
1359
|
|
|
1361
|
-
export { BUILD_HOME, CHECKOUT_DIR, CHECK_ITEMS_FILE, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, IMAGE_BUNDLES, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, SANDBOX_VARIABLES, SCRUB_ENV_VARIABLE,
|
|
1360
|
+
export { BUILD_HOME, CHECKOUT_DIR, CHECK_ITEMS_FILE, DESTINATION_BASE_PORT, EVAL_INPUT_DIR, IMAGE_BUNDLES, JOB_MOUNT, PROXY_WARNING_FLAG, RELAY_PORT, SANDBOX_VARIABLES, SCRUB_ENV_VARIABLE, SandboxError, WORK_DIR, applyTrust, authorEnvironment, buildAuthorityFor, buildEnvironment, carried6to4, checkEnvironment, checkoutPath, classifyAddress, commitIdentityRecord, containerLocalAddress, createSandboxClient, dataPlaneOf, describeSandboxError, destinationEnvironment, dropBuildAuthority, droppedRequestHeaders, hasDotDotSegment, headerVariables, heldBuildAuthority, hostKeyOf, isMiseVariableAllowed, isRefusedInConfig, isReservedVariable, lifecycleWorkdir, parseBranchlessRepositories, parseClaimIdentity, parseClaimedRepositories, parseIsolation, parseProxied, parseUnreachable, primaryOf, providerMayAnswerLater, proxyEnvironment, readBundleScript, repositoriesOf, repositoryPath, resolveDestinations, retryAfterMsOf, routeNameOf, sandboxCallOf, sandboxSettingsFrom, sharedUserEnvironment, startBuildServices, tokenHeader, toolProxyEnvironment, trustEnvironment, variableForPath, variablesFor, withGitConfig, withHooksPath, withMiseVariables, withTokenHeader, withTunnelRecord, writeTrustFiles };
|
|
@@ -1,7 +1,7 @@
|
|
|
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-FPUFOQEH.js';
|
|
4
|
+
import { spoolDir } from './chunk-DRF45IQZ.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
6
|
import { sessionFolderIn, legacyAgent } from './chunk-CEHT2FCU.js';
|
|
7
7
|
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 { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-JDAH6YHU.js';
|
|
4
4
|
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-QVTGSGQ5.js';
|
|
5
5
|
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-62EOPMMA.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-KDKMVWHJ.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-JDAH6YHU.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -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-3IHZYNZW.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
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-3IHZYNZW.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import {
|
|
11
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName,
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-T3NBGNP5.js';
|
|
4
|
+
import { checkFit } from './chunk-WT74ZSRC.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-DOJGTDZU.js';
|
|
6
|
+
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-ZTZFWQBG.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-5LDYQLE3.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-NLOUOUZV.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-JDAH6YHU.js';
|
|
10
|
+
import { agentCredentialVariablesSet, agentCredential, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-QVTGSGQ5.js';
|
|
11
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, storeVariables, credentialEnvPath } from './chunk-OF6XMZHO.js';
|
|
12
12
|
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
@@ -26,10 +26,8 @@ function fleetConfigProblem(config) {
|
|
|
26
26
|
if (config.appId !== void 0) {
|
|
27
27
|
return `fleet: the config names an appId (${config.appId}), and a fleet machine belongs to no factory. Remove appId from the config`;
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (!vm && !sandbox) {
|
|
32
|
-
return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:vm or both be builtin:sandbox, because each build of a fleet runner runs in a machine of its own";
|
|
29
|
+
if (!isBuiltinSandbox(config.hooks.provision) || !isBuiltinSandbox(config.hooks.cleanup)) {
|
|
30
|
+
return "fleet: runner.hooks.provision and runner.hooks.cleanup must both be builtin:sandbox, because each build of a fleet runner runs in a sandbox";
|
|
33
31
|
}
|
|
34
32
|
return void 0;
|
|
35
33
|
}
|
|
@@ -75,18 +73,11 @@ function sliceMemoryOf(env) {
|
|
|
75
73
|
}
|
|
76
74
|
function managedProblems(facts, agents = defaultAgents()) {
|
|
77
75
|
const problems = [];
|
|
78
|
-
|
|
79
|
-
if (kind === "sandbox") ; else if (kind !== "vm") {
|
|
76
|
+
if (builtinKind(facts.provision) !== "sandbox") {
|
|
80
77
|
problems.push({
|
|
81
|
-
condition: "
|
|
82
|
-
reason: `a
|
|
78
|
+
condition: "sandbox",
|
|
79
|
+
reason: `a fleet runner builds only in sandboxes, and runner.hooks.provision is ${facts.provision}. Set runner.hooks.provision and runner.hooks.cleanup to builtin:sandbox`
|
|
83
80
|
});
|
|
84
|
-
} else if (facts.jailer === "usable") ; else if (facts.jailer === "unknown") {
|
|
85
|
-
problems.push({ condition: "jailer", reason: "the runner has not yet asked the root helper whether builds run under the jailer, so builds would run without the jailer until it answers" });
|
|
86
|
-
} else {
|
|
87
|
-
const { problem } = facts.jailer;
|
|
88
|
-
const advice = problem.includes("pins no helper") || problem.includes("runner install") ? "" : ". Run `outerlayer runner install --service --replace` to install the root helper, then restart the service";
|
|
89
|
-
problems.push({ condition: "jailer", reason: `builds would run without the jailer, which a managed runner does not allow: ${problem}${advice}` });
|
|
90
81
|
}
|
|
91
82
|
const held = forwardedVariables(agents).filter((variable) => facts.credentials.has(variable));
|
|
92
83
|
const owner = credentialAgent(agents);
|
|
@@ -110,19 +101,6 @@ function managedProblems(facts, agents = defaultAgents()) {
|
|
|
110
101
|
reason: `${off.map((key) => `runner.build.egress.${key}`).join(" and ")} ${off.length === 1 ? "is" : "are"} 0, which turns ${off.length === 1 ? "that limit" : "those limits"} off. A managed runner limits how fast a build opens connections and sends bytes, because every organization on the host shares one address. Remove ${off.length === 1 ? "the key" : "the keys"} to use the default, or set a value above 0`
|
|
111
102
|
});
|
|
112
103
|
}
|
|
113
|
-
if (kind === "vm") {
|
|
114
|
-
if (facts.imageBuild === "host") {
|
|
115
|
-
problems.push({
|
|
116
|
-
condition: "imageBuild",
|
|
117
|
-
reason: "runner.build.imageBuild is host, and a managed runner builds its images in a builder microVM, because a recipe step on the host could reach the host's own services and network. Remove runner.build.imageBuild or set it to vm"
|
|
118
|
-
});
|
|
119
|
-
} else if (!facts.builderDiskPinned) {
|
|
120
|
-
problems.push({
|
|
121
|
-
condition: "imageBuild",
|
|
122
|
-
reason: "this release of the CLI pins no builder root disk, so it cannot build images in a builder microVM, which a managed runner needs for runner.build.imageBuild. Update the CLI to a release that pins one"
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
104
|
return problems;
|
|
127
105
|
}
|
|
128
106
|
function credentialsInFiles(configPath, agents) {
|
|
@@ -144,12 +122,9 @@ function credentialsInFiles(configPath, agents) {
|
|
|
144
122
|
function managedFactsOf(config, probes, agents = defaultAgents()) {
|
|
145
123
|
return {
|
|
146
124
|
provision: config.hooks.provision,
|
|
147
|
-
jailer: probes.jailer ?? "unknown",
|
|
148
125
|
credentials: /* @__PURE__ */ new Set([...agentCredentialVariablesSet(probes.env, {}, agents), ...credentialsInFiles(config.configPath, agents)]),
|
|
149
126
|
allowHosts: config.build?.allowHosts,
|
|
150
|
-
egress: config.build?.egress
|
|
151
|
-
imageBuild: imageBuildOf(config),
|
|
152
|
-
builderDiskPinned: probes.builderDiskPinned ?? builderDiskPinned()
|
|
127
|
+
egress: config.build?.egress
|
|
153
128
|
};
|
|
154
129
|
}
|
|
155
130
|
function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
@@ -157,7 +132,7 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
|
157
132
|
let slots;
|
|
158
133
|
const placeholders = placeholderQueues(config);
|
|
159
134
|
if (placeholders.length > 0) return blocked(`${placeholderProblem(placeholders)}. The runner takes work again once the config is edited`);
|
|
160
|
-
if (config.
|
|
135
|
+
if (config.fleet === true) {
|
|
161
136
|
const unmet = managedProblems(managedFactsOf(config, probes, agents), agents)[0];
|
|
162
137
|
if (unmet !== void 0) return blocked(unmet.reason);
|
|
163
138
|
}
|
|
@@ -208,7 +183,7 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
|
208
183
|
if (builder !== "usable") return { blocked: { reason: `${builder.problem}. The runner takes work again once its image builder works` }, slots };
|
|
209
184
|
}
|
|
210
185
|
const owner = credentialAgent(agents);
|
|
211
|
-
if (kind !== "own" && config.
|
|
186
|
+
if (kind !== "own" && config.fleet !== true && owner !== void 0 && agentCredential(probes.env, {}, agents) === void 0) {
|
|
212
187
|
const forms = credentialForms(owner.descriptor);
|
|
213
188
|
return {
|
|
214
189
|
slots,
|
|
@@ -219,38 +194,5 @@ function checkBlockedWithSlots(config, probes, agents = defaultAgents()) {
|
|
|
219
194
|
}
|
|
220
195
|
return { slots };
|
|
221
196
|
}
|
|
222
|
-
var GIB = 1024 ** 3;
|
|
223
|
-
function largeBuildMemoryBytes() {
|
|
224
|
-
return 32 * GIB;
|
|
225
|
-
}
|
|
226
|
-
var LARGE_BUILD_DISK_BYTES = 3e10;
|
|
227
|
-
function checkManagedRoom(input) {
|
|
228
|
-
const availableBytes = input.sliceBytes ?? Math.max(0, input.totalMemoryBytes - RUNNER_RESERVE_BYTES);
|
|
229
|
-
if (input.runningMemoryBytes + largeBuildMemoryBytes() > availableBytes) {
|
|
230
|
-
const where = input.sliceBytes === void 0 ? "the host's memory less the runner's reserve" : "the memory limit of the runner's build slice";
|
|
231
|
-
return {
|
|
232
|
-
fits: false,
|
|
233
|
-
resource: "memory",
|
|
234
|
-
reason: `one more Large build needs ${gib(largeBuildMemoryBytes())} of memory, and the running builds hold ${gib(input.runningMemoryBytes)} of the ${gib(availableBytes)} in ${where}`
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
if (input.freeDiskBytes !== void 0) {
|
|
238
|
-
const diskBytes = input.freeDiskBytes + input.heldDiskBytes;
|
|
239
|
-
if (input.runningDiskBytes + LARGE_BUILD_DISK_BYTES > diskBytes) {
|
|
240
|
-
return {
|
|
241
|
-
fits: false,
|
|
242
|
-
resource: "disk",
|
|
243
|
-
reason: `one more Large build needs a ${gb(LARGE_BUILD_DISK_BYTES)} build disk beside the ${gb(input.runningDiskBytes)} the running builds' disks may grow to, and the runner's file system has ${gb(diskBytes)} free or held by them`
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
return { fits: true };
|
|
248
|
-
}
|
|
249
|
-
function gib(bytes) {
|
|
250
|
-
return `${(bytes / GIB).toFixed(1)} GiB`;
|
|
251
|
-
}
|
|
252
|
-
function gb(bytes) {
|
|
253
|
-
return `${(bytes / 1e9).toFixed(1)} GB`;
|
|
254
|
-
}
|
|
255
197
|
|
|
256
|
-
export {
|
|
198
|
+
export { askFleetMachine, checkBlockedWithSlots, fleetConfigProblem, managedFactsOf, managedProblems, realBlockedProbes };
|
|
@@ -1,12 +1,12 @@
|
|
|
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-PIJWOPSG.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
7
|
+
import { autoConnect } from './chunk-OIAWDKSR.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-J6WQ6POX.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
11
11
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-OF6XMZHO.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-GZLNKW2J.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-J6WQ6POX.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -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-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-DOJGTDZU.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-CWJ26A6W.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-J6WQ6POX.js';
|
|
8
|
+
import { logHookError } from './chunk-DRF45IQZ.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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-JDAH6YHU.js';
|
|
4
4
|
import { RELAY_ID, RELAY_USER } from './chunk-QVTGSGQ5.js';
|
|
5
5
|
import { imageInstalls, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-OF6XMZHO.js';
|
|
6
6
|
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-FPUFOQEH.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-CWJ26A6W.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-OIAWDKSR.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-DV44KCM6.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-J6WQ6POX.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-JIMISJV2.js';
|
|
@@ -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-3IHZYNZW.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -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-3IHZYNZW.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
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-G3HBBHIK.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-J6WQ6POX.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleAgentSkills } from './chunk-GOJ2SPKB.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-ONDONSBT.js';
|
|
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-
|
|
4
|
+
import { ensureHostKey } from './chunk-NLOUOUZV.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-3IHZYNZW.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-JDAH6YHU.js';
|
|
7
7
|
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-QVTGSGQ5.js';
|
|
8
8
|
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-OF6XMZHO.js';
|
|
9
9
|
import { defaultAgents } from './chunk-CEHT2FCU.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-3IHZYNZW.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|