@outerlayer/cli 0.40.0-next.20261117012955 → 0.40.0-next.20261117015205
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-BP6CVC2M.js → agent-setup-5UMGRTAY.js} +18 -18
- package/dist/{agent-subcommand-VD5C5ZWX.js → agent-subcommand-JGANAEB4.js} +3 -3
- package/dist/{bridge-XVA4KQLV.js → bridge-YHCQBKZC.js} +6 -6
- package/dist/{build-VLHNIM7K.js → build-SSIBPHPA.js} +12 -12
- package/dist/{build-disk-C3YS565A.js → build-disk-KI2JOKAK.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-6JUYA6GH.js → builder-I562HT2D.js} +9 -9
- package/dist/caller-VTVQPOGC.js +23 -0
- package/dist/{check-BYA3QKH6.js → check-IQLQEMO6.js} +52 -52
- package/dist/{chunk-SWPJWQTW.js → chunk-2EJED3QQ.js} +4 -4
- package/dist/{chunk-WT7VZYAO.js → chunk-3WMULGB4.js} +8 -8
- package/dist/{chunk-YPN4PW2D.js → chunk-3YMOSZRN.js} +1 -1
- package/dist/{chunk-WOSDWWBI.js → chunk-45JV3EMA.js} +4 -4
- package/dist/{chunk-RME4AALZ.js → chunk-4FUTEM37.js} +3 -3
- package/dist/{chunk-OUFKMKDB.js → chunk-6367NG5G.js} +7 -7
- package/dist/{chunk-3KFHI5V2.js → chunk-6DO34552.js} +4 -4
- package/dist/{chunk-YB32CFWZ.js → chunk-6GLSCHX2.js} +8 -8
- package/dist/{chunk-SCY7U54A.js → chunk-6P23FS2Z.js} +2 -2
- package/dist/{chunk-3DILWPBX.js → chunk-6RJBLCPV.js} +1 -1
- package/dist/{chunk-SO4WL3NE.js → chunk-6TF4QU7M.js} +2 -2
- package/dist/{chunk-PJWGLJFB.js → chunk-732WJDYG.js} +12 -7
- package/dist/{chunk-TKHQAEE4.js → chunk-77JLN6GC.js} +4 -4
- package/dist/{chunk-OCYDGALH.js → chunk-7H5JQFWQ.js} +5 -5
- package/dist/{chunk-35NMSK4D.js → chunk-7MKOIOPP.js} +2 -2
- package/dist/{chunk-5L6KJDL7.js → chunk-AL6CJD2X.js} +8 -8
- package/dist/{chunk-2THRR6Z2.js → chunk-BBJC4R6E.js} +4 -4
- package/dist/{chunk-URDI2R7Z.js → chunk-BCBZHDMW.js} +1 -1
- package/dist/{chunk-6C7WHPGM.js → chunk-C6EPHJIV.js} +1 -1
- package/dist/{chunk-LO2INNG7.js → chunk-CCSB6CSX.js} +3 -3
- package/dist/{chunk-MB6OS6TU.js → chunk-CEHT2FCU.js} +69 -20
- package/dist/{chunk-FRUYDEET.js → chunk-CFIYOLCT.js} +6 -6
- package/dist/{chunk-UT33272A.js → chunk-CRATKTFX.js} +27 -27
- package/dist/{chunk-A7M4QXVX.js → chunk-CWJ26A6W.js} +1 -1
- package/dist/{chunk-EBCHAHAR.js → chunk-D5JM2VPO.js} +2 -2
- package/dist/{chunk-VGR27BYJ.js → chunk-DG7525WL.js} +1 -1
- package/dist/{chunk-3MIYTEPW.js → chunk-DLYCHCKQ.js} +1 -1
- package/dist/{chunk-XSXSLUQL.js → chunk-DMWGWD26.js} +3 -3
- package/dist/{chunk-5MRB5ZGK.js → chunk-DUQIP32K.js} +4 -4
- package/dist/{chunk-AQSXWRPI.js → chunk-EHJYBHH7.js} +17 -16
- package/dist/{chunk-UO5ZXQCS.js → chunk-FKC5D6CA.js} +1 -1
- package/dist/{chunk-WNLDTV2M.js → chunk-G3HBBHIK.js} +1 -1
- package/dist/{chunk-ROJMYI5S.js → chunk-GOJ2SPKB.js} +1 -1
- package/dist/{chunk-IPS7A2BK.js → chunk-H7EBNQGW.js} +1 -1
- package/dist/{chunk-4OLIJCT2.js → chunk-IOUBTUS2.js} +7 -7
- package/dist/{chunk-EHYSQJM5.js → chunk-J4F4V3G2.js} +5 -5
- package/dist/{chunk-PJ6AY5TZ.js → chunk-JBGASRRE.js} +5 -5
- package/dist/{chunk-WO3RLQ7Z.js → chunk-JE23PLDE.js} +1 -1
- package/dist/{chunk-VVZYAQN7.js → chunk-JEC2BZN4.js} +40 -36
- package/dist/{chunk-QM4R745Y.js → chunk-JSN2DMPB.js} +1 -1
- package/dist/{chunk-VMYTDPCJ.js → chunk-KNXKFQQ7.js} +10 -10
- package/dist/{chunk-DYL4R2GO.js → chunk-MCJRTOAL.js} +1 -1
- package/dist/{chunk-46D7LPS3.js → chunk-MJGBRYDH.js} +1 -1
- package/dist/{chunk-PN7SCZEN.js → chunk-NE5PE3Q7.js} +6 -6
- package/dist/{chunk-CLVWA4DI.js → chunk-O2324X34.js} +1 -1
- package/dist/{chunk-MHXUQI67.js → chunk-OF6XMZHO.js} +1 -1
- package/dist/{chunk-47NQTKLX.js → chunk-ONDONSBT.js} +1 -1
- package/dist/{chunk-UPWQO73K.js → chunk-OY4EJVUH.js} +1 -1
- package/dist/{chunk-OXSQAKIY.js → chunk-P2I6YVJV.js} +4 -4
- package/dist/{chunk-S33WRZ4U.js → chunk-PC2FA62W.js} +5 -5
- package/dist/{chunk-D3Y5MZ3H.js → chunk-PEN7Y4PB.js} +3 -3
- package/dist/{chunk-F2N6LZL5.js → chunk-QI6YUQWR.js} +3 -3
- package/dist/{chunk-5XEO7FJW.js → chunk-QVTGSGQ5.js} +2 -2
- package/dist/{chunk-ETP7IGQI.js → chunk-RO5YUUN2.js} +1 -1
- package/dist/{chunk-44UZZVEQ.js → chunk-SBSH253O.js} +1 -1
- package/dist/{chunk-QHYRNIBB.js → chunk-TWUEZPWP.js} +2 -2
- package/dist/{chunk-WE2JKEK7.js → chunk-UAOLY4EP.js} +1 -1
- package/dist/{chunk-GMGMEXXK.js → chunk-UELSHBQH.js} +4 -4
- package/dist/{chunk-QSN67PAP.js → chunk-UMFSHU72.js} +2 -2
- package/dist/{chunk-TD7CTDKT.js → chunk-UNGZ25QF.js} +2 -2
- package/dist/{chunk-5RJDLVQJ.js → chunk-UQWBHNTZ.js} +3 -3
- package/dist/{chunk-XAS7GSSM.js → chunk-UXAB2OEM.js} +5 -5
- package/dist/{chunk-5JP5KQZ3.js → chunk-UYQDQQ6A.js} +3 -3
- package/dist/{chunk-N2ACTZT6.js → chunk-VJCILU3C.js} +1 -1
- package/dist/{chunk-FRIFMX7Q.js → chunk-X56RDVCN.js} +7 -7
- package/dist/{chunk-SXSJKTXN.js → chunk-XAOZFBXK.js} +1 -1
- package/dist/{chunk-QTTZ455D.js → chunk-XDWJOYC4.js} +5 -5
- package/dist/{chunk-PNX74XDV.js → chunk-XLU5ZOTK.js} +4 -4
- package/dist/{chunk-2MRD6DR3.js → chunk-YI2HDVUL.js} +4 -4
- package/dist/{chunk-ZQZHAHJ4.js → chunk-YNNTU5IZ.js} +5 -2
- package/dist/{chunk-YGLTXCI5.js → chunk-YSHMGQRD.js} +8 -8
- package/dist/{chunk-UU3A53VB.js → chunk-YUR7GV5L.js} +5 -5
- package/dist/{claude-launcher-GZUZCS2W.js → claude-launcher-TWKHBR6F.js} +6 -6
- package/dist/{cli-YL7GCAES.js → cli-VP6R322C.js} +162 -162
- package/dist/{command-LDCYT2CM.js → command-IYGPJIJX.js} +48 -48
- package/dist/{config-EYUZTNWS.js → config-HYSU7MD3.js} +11 -11
- package/dist/{connect-cmd-WFACE4NX.js → connect-cmd-O4ATJTQV.js} +10 -10
- package/dist/{container-start-U34LMPGS.js → container-start-SXGAF3WH.js} +45 -45
- package/dist/{context-cleanup-PTFQF5A7.js → context-cleanup-SK445SLA.js} +3 -3
- package/dist/{context-show-cmd-GXUPNW3Z.js → context-show-cmd-D3GXL65K.js} +11 -11
- package/dist/{control-plane-launch-ZRJA7W24.js → control-plane-launch-KVROM6BY.js} +13 -13
- package/dist/{demo-record-cmd-6T2P2Z64.js → demo-record-cmd-UMHWHDZ4.js} +7 -7
- package/dist/{demo-voice-cmd-BYSMAY3R.js → demo-voice-cmd-GBI52Y73.js} +17 -17
- package/dist/dist-775TDFCK.js +7 -0
- package/dist/{docker-7EH4LDVU.js → docker-B76MDGCW.js} +9 -9
- package/dist/{doctor-3GXWZU6D.js → doctor-GAAYMZKZ.js} +47 -47
- package/dist/{emit-artifact-cmd-4X3J35G3.js → emit-artifact-cmd-X4AKVBS2.js} +16 -16
- package/dist/{emit-cmd-3YXG5Y56.js → emit-cmd-A6ZGOPLZ.js} +6 -6
- package/dist/{emit-criteria-cmd-DS3W7WKU.js → emit-criteria-cmd-UKZBMIK6.js} +13 -13
- package/dist/{emit-demo-cmd-ZJIVFPHW.js → emit-demo-cmd-QC56Y6P2.js} +17 -17
- package/dist/{emit-finding-cmd-QVXW6AOG.js → emit-finding-cmd-DL2Y7BEV.js} +13 -13
- package/dist/{emit-result-cmd-LK6WL5EX.js → emit-result-cmd-VPWAJBN6.js} +15 -15
- package/dist/{emit-step-cmd-FFN6RK5U.js → emit-step-cmd-REP4IS3F.js} +13 -13
- package/dist/{exec-client-6BJIQ5LO.js → exec-client-KBOKVUU5.js} +7 -7
- package/dist/find-unit-5PUEPP5J.js +24 -0
- package/dist/{findings-cmd-3QJ3ZWQI.js → findings-cmd-BXAXOQB6.js} +13 -13
- package/dist/{fleet-readiness-YNJ6OSDF.js → fleet-readiness-EDJDDAEB.js} +12 -12
- package/dist/{governing-source-QR62MSH2.js → governing-source-AG7KDIIG.js} +18 -18
- package/dist/{guest-init-XQPD7GMT.js → guest-init-DUOJUQFY.js} +8 -8
- package/dist/{hook-fast-O46AILAO.js → hook-fast-ZVZWP7OQ.js} +1 -1
- package/dist/{hook-install-5ICKPUMZ.js → hook-install-VF3X2ZXN.js} +3 -3
- package/dist/host-checks-FJQWUGNV.js +82 -0
- package/dist/{host-key-QSSOG7YP.js → host-key-MNYYPKBU.js} +7 -7
- package/dist/{image-tag-4OF2ALEL.js → image-tag-BTK5342G.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-LORSDQXS.js → init-FU72DRLW.js} +43 -43
- package/dist/{init-E5XXKJFL.js → init-JXXE5VIF.js} +43 -43
- package/dist/{init-agent-CKCHJGYK.js → init-agent-PSPP3EFU.js} +43 -43
- package/dist/{init-cmd-KGA5CYKE.js → init-cmd-DTMCMKGY.js} +25 -25
- package/dist/{init-update-YWDYID5W.js → init-update-ZJSTM46T.js} +21 -21
- package/dist/install-cmd-U4PP4YQE.js +26 -0
- package/dist/launch-agent-BIAPDAVB.js +26 -0
- package/dist/{layout-GIJHRWYO.js → layout-BG6MFUS3.js} +3 -3
- package/dist/{logs-F7A7A3WS.js → logs-L5GX5BWF.js} +6 -6
- package/dist/loop-43RIGVSW.js +92 -0
- package/dist/machine-RZKEE7YW.js +82 -0
- package/dist/{machine-skills-YPZLCYK5.js → machine-skills-B7KO47CH.js} +3 -3
- package/dist/{mcp-install-cmd-BIF6Q2HX.js → mcp-install-cmd-JXD6Q7NN.js} +3 -3
- package/dist/{mcp-serve-cmd-T5LKPDNV.js → mcp-serve-cmd-3B3KWYHN.js} +8 -8
- package/dist/{paths-HPZ3ETKQ.js → paths-26SZBIOA.js} +6 -6
- package/dist/pending-Y62PXWTU.js +18 -0
- package/dist/{pidfile-W57IVEOM.js → pidfile-22HCQHLJ.js} +7 -7
- package/dist/{record-ALYV6NMK.js → record-HFUJLNOV.js} +7 -7
- package/dist/{relay-OOCAHL5K.js → relay-V5GHEWT3.js} +4 -4
- package/dist/{relay-protocol-6L72CQYQ.js → relay-protocol-2S2EAHYH.js} +4 -4
- package/dist/{run-cmd-QDTPPHEH.js → run-cmd-G4LA2YZR.js} +13 -13
- package/dist/{runner-agents-6LXWGCI5.js → runner-agents-CLDURIBZ.js} +3 -3
- package/dist/{runner-env-QVZNYUSN.js → runner-env-RQ3SKLKL.js} +13 -13
- package/dist/{runner-identity-GOC6IDFS.js → runner-identity-V4IUTSCJ.js} +9 -9
- package/dist/{runner-key-U7CZ6QEN.js → runner-key-HHUSWOSO.js} +43 -43
- package/dist/{session-sender-P3MGBUS3.js → session-sender-AAQXJLNE.js} +16 -16
- package/dist/{setup-cmd-IL2IXNEA.js → setup-cmd-4CKPSEJD.js} +11 -11
- package/dist/{setup-wiring-TTDT6N7U.js → setup-wiring-S7F3DBR7.js} +50 -50
- package/dist/{spec-cmd-TOAB7QLG.js → spec-cmd-V2FPAZJ7.js} +14 -14
- package/dist/{starter-pack-Q5EA2XJI.js → starter-pack-WOD4WMUX.js} +4 -4
- package/dist/{state-7REXJETC.js → state-PSFO26DS.js} +7 -7
- package/dist/{status-COW7ZGIA.js → status-MAZ7WEAO.js} +43 -43
- package/dist/{sync-cmd-SZMQ62CY.js → sync-cmd-2TLRGEXR.js} +15 -15
- package/dist/update-steps-4BYFVJAS.js +83 -0
- package/dist/{watch-2NFUY7FB.js → watch-GQAIYCFW.js} +15 -15
- package/dist/{work-claim-cmd-VURHVZOC.js → work-claim-cmd-Z3QNGSMF.js} +19 -19
- package/dist/{work-cmd-TBN3PSPX.js → work-cmd-LA5ZBMBQ.js} +13 -13
- package/dist/{work-comment-cmd-STKRIVHG.js → work-comment-cmd-NP6USSKX.js} +15 -15
- package/dist/{work-demo-cmd-VT43BELH.js → work-demo-cmd-KZDTXCYM.js} +13 -13
- package/dist/{work-logs-cmd-NSPSFB3I.js → work-logs-cmd-3BX5MK2E.js} +13 -13
- package/dist/{work-mock-cmd-J6UYSYN5.js → work-mock-cmd-IT3IKALB.js} +22 -16
- package/dist/{work-needs-attention-cmd-XIEY4UUW.js → work-needs-attention-cmd-BDIFC7I4.js} +13 -13
- package/dist/{work-no-change-cmd-7EEGZLWP.js → work-no-change-cmd-A65QOBQ2.js} +13 -13
- package/dist/{work-open-pr-cmd-LZFPKU7L.js → work-open-pr-cmd-CGSCDYHI.js} +14 -14
- package/dist/{work-pr-cmd-6RBAVTRU.js → work-pr-cmd-DZKJLYLF.js} +13 -13
- package/dist/{work-proofs-cmd-DDEIBUAH.js → work-proofs-cmd-3RHD7FPY.js} +15 -15
- package/dist/{work-proofs-record-YIXDV7MP.js → work-proofs-record-ROJMYVIQ.js} +21 -21
- package/dist/{work-stop-cmd-DRFPP3EH.js → work-stop-cmd-RJESQDZN.js} +13 -13
- package/package.json +2 -2
- package/dist/caller-DH4RYBWQ.js +0 -23
- package/dist/dist-WAAZSUPE.js +0 -7
- package/dist/find-unit-LUVD3FM2.js +0 -24
- package/dist/host-checks-VQTUQUHE.js +0 -82
- package/dist/install-cmd-3QQBTWJA.js +0 -26
- package/dist/launch-agent-NJ3S22WS.js +0 -26
- package/dist/loop-TBPHJREN.js +0 -92
- package/dist/machine-7GAB22S4.js +0 -82
- package/dist/pending-7BSPROGA.js +0 -18
- package/dist/update-steps-AXQAJXCE.js +0 -83
|
@@ -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-UELSHBQH.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-DG7525WL.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-MCJRTOAL.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-77JLN6GC.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-QI6YUQWR.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';
|
|
@@ -16,10 +16,10 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAgents, captureAdapters } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-CEHT2FCU.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-JIMISJV2.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-YNNTU5IZ.js';
|
|
23
23
|
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-MCUI6RHU.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
@@ -1334,6 +1334,11 @@ async function runSyncInner(opts, stats) {
|
|
|
1334
1334
|
if (report.droppedByLimitMinMtimeMs !== void 0) {
|
|
1335
1335
|
noteSkipped(void 0, report.droppedByLimitMinMtimeMs, "unknown");
|
|
1336
1336
|
}
|
|
1337
|
+
const unreadCompressed = report.warnings[WARNING_CODES.zstdUnsupported] ?? 0;
|
|
1338
|
+
if (unreadCompressed > 0 && !opts.quiet) {
|
|
1339
|
+
process.stderr.write(`${C.yellow}!${C.reset} ${ZSTD_UNSUPPORTED_MESSAGE}: ${unreadCompressed} compressed session(s) were skipped. This Node is ${process.version}.
|
|
1340
|
+
`);
|
|
1341
|
+
}
|
|
1337
1342
|
const launchDecisive = launchStatusIsDecisive(launchSpool);
|
|
1338
1343
|
const worthHolding = (sessionId) => {
|
|
1339
1344
|
if (!launchDecisive) return true;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-
|
|
4
|
-
import { strippedVariables } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-QVTGSGQ5.js';
|
|
4
|
+
import { strippedVariables } from './chunk-OF6XMZHO.js';
|
|
5
|
+
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-JIMISJV2.js';
|
|
7
|
-
import { MIN_SCRUBBED_LITERAL } from './chunk-
|
|
7
|
+
import { MIN_SCRUBBED_LITERAL } from './chunk-YNNTU5IZ.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, existsSync, unlinkSync, chmodSync } from 'fs';
|
|
9
9
|
import { request as request$1, createServer } from 'http';
|
|
10
10
|
import { request } from 'https';
|
|
@@ -1,17 +1,17 @@
|
|
|
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-CWJ26A6W.js';
|
|
5
|
+
import { autoConnect } from './chunk-UQWBHNTZ.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DG7525WL.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-CEHT2FCU.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity, scrubText } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity, scrubText } from './chunk-YNNTU5IZ.js';
|
|
15
15
|
import { FindingBatchSchema, findingGaps, FindingsResponseSchema, FINDING_CODE_EXCERPT_MAX_LENGTH, SAME_PROBLEM_RULES, FINDING_TRANSCRIPT_EXCERPT_MAX_LENGTH } from './chunk-MCUI6RHU.js';
|
|
16
16
|
import { readFileSync, existsSync } from 'fs';
|
|
17
17
|
import { homedir } from 'os';
|
|
@@ -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-EHJYBHH7.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-6DO34552.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,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { newTokenRetry } from './chunk-FJGYU2EK.js';
|
|
4
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
5
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
6
|
-
import { buildRefusalReason } from './chunk-
|
|
7
|
-
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-
|
|
8
|
-
import { signingFetchFor } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
11
|
-
import { SandboxError, describeSandboxError } from './chunk-
|
|
4
|
+
import { WorkCommandError, postJson } from './chunk-IOUBTUS2.js';
|
|
5
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-UXAB2OEM.js';
|
|
6
|
+
import { buildRefusalReason } from './chunk-6RJBLCPV.js';
|
|
7
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-RO5YUUN2.js';
|
|
8
|
+
import { signingFetchFor } from './chunk-DG7525WL.js';
|
|
9
|
+
import { signerFor } from './chunk-MCJRTOAL.js';
|
|
10
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-JE23PLDE.js';
|
|
11
|
+
import { SandboxError, describeSandboxError } from './chunk-77JLN6GC.js';
|
|
12
12
|
import { SHIM_SCRIPT, shimScriptFor, GOVERNANCE_VARIABLE } from './chunk-F3J4UKBF.js';
|
|
13
13
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
14
14
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
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-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-77JLN6GC.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-QVTGSGQ5.js';
|
|
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
|
+
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -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-JE23PLDE.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, 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-UAOLY4EP.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,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-CRATKTFX.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-CFIYOLCT.js';
|
|
5
|
+
import { runnerDir } from './chunk-JE23PLDE.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -5,7 +5,7 @@ import { CLAUDE_CODE, CODEX, OPENCODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative
|
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { forkFor, RAW_MIRROR_SEGMENTS, compareVersions, WarningCollector,
|
|
8
|
+
import { WARNING_CODES, forkFor, RAW_MIRROR_SEGMENTS, compareVersions, WarningCollector, isNewerThanSupported, bucketsFromTurns, costOfUsage, ZSTD_UNSUPPORTED_MESSAGE } from './chunk-YNNTU5IZ.js';
|
|
9
9
|
import { CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-MCUI6RHU.js';
|
|
10
10
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
11
11
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
|
|
@@ -10950,6 +10950,7 @@ function createCodexCapture(io) {
|
|
|
10950
10950
|
};
|
|
10951
10951
|
const parseFile = (file) => {
|
|
10952
10952
|
const text = file.endsWith(".zst") ? io.fs.readCompressedText(file) : io.fs.readRawText(file);
|
|
10953
|
+
if (text === void 0 && file.endsWith(".zst") && io.fs.stat(file).kind === "file") return void 0;
|
|
10953
10954
|
if (text === void 0) throw new Error(`cannot read the rollout ${file}`);
|
|
10954
10955
|
return text;
|
|
10955
10956
|
};
|
|
@@ -10962,7 +10963,9 @@ function createCodexCapture(io) {
|
|
|
10962
10963
|
}).filter((entry) => entry.bytes > 0).sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
10963
10964
|
},
|
|
10964
10965
|
parse(entry, options) {
|
|
10965
|
-
|
|
10966
|
+
const text = parseFile(entry.file);
|
|
10967
|
+
if (text === void 0) return { ...emptyResult(0, ZSTD_UNSUPPORTED_MESSAGE), warnings: { [WARNING_CODES.zstdUnsupported]: 1 } };
|
|
10968
|
+
return parseText(text, { fallbackId: idOf(entry.file), ...options.captureTier === void 0 ? {} : { captureTier: options.captureTier } });
|
|
10966
10969
|
},
|
|
10967
10970
|
parseText,
|
|
10968
10971
|
tail(file, completeText, options) {
|
|
@@ -11182,6 +11185,18 @@ function keyPath(text) {
|
|
|
11182
11185
|
}
|
|
11183
11186
|
return parts.length === 0 ? void 0 : parts;
|
|
11184
11187
|
}
|
|
11188
|
+
function equalsOf(line) {
|
|
11189
|
+
let quote;
|
|
11190
|
+
for (let index = 0; index < line.length; index += 1) {
|
|
11191
|
+
const char = line[index];
|
|
11192
|
+
if (quote !== void 0) {
|
|
11193
|
+
if (char === "\\" && quote === '"') index += 1;
|
|
11194
|
+
else if (char === quote) quote = void 0;
|
|
11195
|
+
} else if (char === '"' || char === "'") quote = char;
|
|
11196
|
+
else if (char === "=") return index;
|
|
11197
|
+
}
|
|
11198
|
+
return -1;
|
|
11199
|
+
}
|
|
11185
11200
|
function keyText(name) {
|
|
11186
11201
|
return BARE_KEY.test(name) ? name : JSON.stringify(name);
|
|
11187
11202
|
}
|
|
@@ -11209,7 +11224,7 @@ function tablesOf(lines) {
|
|
|
11209
11224
|
tables.push({ path: header[1] === "[[" ? [...path, "[]"] : path, start: index, end: lines.length });
|
|
11210
11225
|
return;
|
|
11211
11226
|
}
|
|
11212
|
-
const equals = line
|
|
11227
|
+
const equals = equalsOf(line);
|
|
11213
11228
|
if (equals < 1 || keyPath(line.slice(0, equals)) === void 0) throw new TomlTextError(`line ${index + 1} is not a key and a value`);
|
|
11214
11229
|
const value = line.slice(equals + 1).trim();
|
|
11215
11230
|
const triple = /^("""|''')/.exec(value);
|
|
@@ -11233,7 +11248,7 @@ function pairsIn(lines, from, to) {
|
|
|
11233
11248
|
while (index < to) {
|
|
11234
11249
|
const line = lines[index];
|
|
11235
11250
|
index += 1;
|
|
11236
|
-
const equals = line
|
|
11251
|
+
const equals = equalsOf(line);
|
|
11237
11252
|
if (line.trim() === "" || line.trim().startsWith("#") || equals < 1) continue;
|
|
11238
11253
|
const key = keyPath(line.slice(0, equals));
|
|
11239
11254
|
let value = line.slice(equals + 1);
|
|
@@ -11275,16 +11290,27 @@ var literal = (value) => Array.isArray(value) ? `[${value.map((item) => JSON.str
|
|
|
11275
11290
|
var table = (header, pairs) => `[${header}]
|
|
11276
11291
|
${pairs.map(([key, value]) => `${keyText(key)} = ${literal(value)}
|
|
11277
11292
|
`).join("")}`;
|
|
11293
|
+
var VARIABLE = /^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$/;
|
|
11294
|
+
var BEARER_VARIABLE = /^Bearer \$\{([A-Za-z_][A-Za-z0-9_]*)\}$/;
|
|
11278
11295
|
function serverBlock(name, entry) {
|
|
11279
11296
|
const header = `mcp_servers.${keyText(name)}`;
|
|
11280
11297
|
const isUrl = (entry.type === "http" || entry.type === "sse" || entry.command === void 0) && typeof entry.url === "string";
|
|
11281
11298
|
const main = isUrl ? [["url", entry.url]] : [["command", entry.command], ...strings(entry.args).length > 0 ? [["args", strings(entry.args)]] : []];
|
|
11282
|
-
const
|
|
11299
|
+
const pairsOf = (field) => {
|
|
11283
11300
|
const value = entry[field];
|
|
11284
|
-
|
|
11285
|
-
return pairs.length === 0 ? [] : [table(`${header}.${tableName}`, pairs)];
|
|
11301
|
+
return isObject4(value) ? Object.entries(value).filter((pair) => typeof pair[1] === "string") : [];
|
|
11286
11302
|
};
|
|
11287
|
-
|
|
11303
|
+
const sub = (tableName, pairs) => pairs.length === 0 ? [] : [table(`${header}.${tableName}`, pairs)];
|
|
11304
|
+
const headers = [];
|
|
11305
|
+
const fromEnv = [];
|
|
11306
|
+
for (const [key, value] of pairsOf("headers")) {
|
|
11307
|
+
const bearer = BEARER_VARIABLE.exec(value)?.[1];
|
|
11308
|
+
const variable = VARIABLE.exec(value)?.[1];
|
|
11309
|
+
if (bearer !== void 0 && key.toLowerCase() === "authorization") main.push(["bearer_token_env_var", bearer]);
|
|
11310
|
+
else if (variable !== void 0) fromEnv.push([key, variable]);
|
|
11311
|
+
else headers.push([key, value]);
|
|
11312
|
+
}
|
|
11313
|
+
return [table(header, main), ...sub("env", pairsOf("env")), ...sub("http_headers", headers), ...sub("env_http_headers", fromEnv)].join("\n").replace(/\n+$/, "");
|
|
11288
11314
|
}
|
|
11289
11315
|
function serverTables(tables, name) {
|
|
11290
11316
|
return tables.filter((candidate) => candidate.path[0] === "mcp_servers" && candidate.path[1] === name);
|
|
@@ -11347,6 +11373,7 @@ var SHIM_MAX_BYTES = 256;
|
|
|
11347
11373
|
var SHIM = /^#!\/bin\/sh\nexec outerlayer [^\n]*"\$@"\n$/;
|
|
11348
11374
|
var DEFAULT_DOC_BYTES = 32 * 1024;
|
|
11349
11375
|
var STALE_MS = 24 * 60 * 60 * 1e3;
|
|
11376
|
+
var LAUNCHER_PID = "launcher.pid";
|
|
11350
11377
|
var SHARED_FOLDERS = ["sessions", "plugins", ".tmp"];
|
|
11351
11378
|
var BYPASS_HOOK_TRUST = "--dangerously-bypass-hook-trust";
|
|
11352
11379
|
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"]);
|
|
@@ -11373,13 +11400,19 @@ function createLaunch2(io) {
|
|
|
11373
11400
|
const { fs } = io;
|
|
11374
11401
|
const launches = /* @__PURE__ */ new Map();
|
|
11375
11402
|
const foldersBase = (home) => join2(home, ".outerlayer", "codex-home");
|
|
11403
|
+
const isFile = (path) => fs.stat(path).kind === "file";
|
|
11404
|
+
function launcherRuns(folder) {
|
|
11405
|
+
const text = fs.kind(join2(folder, LAUNCHER_PID)) === "file" ? fs.readText(join2(folder, LAUNCHER_PID)) : void 0;
|
|
11406
|
+
const pid = Number((text ?? "").trim());
|
|
11407
|
+
return Number.isInteger(pid) && pid > 0 && io.alive(pid);
|
|
11408
|
+
}
|
|
11376
11409
|
function removeStale(home) {
|
|
11377
11410
|
const base = foldersBase(home);
|
|
11378
11411
|
if (fs.kind(base) !== "directory") return;
|
|
11379
11412
|
for (const name of fs.list(base)) {
|
|
11380
11413
|
const folder = join2(base, name);
|
|
11381
11414
|
const { mtimeMs } = fs.stat(folder);
|
|
11382
|
-
if (mtimeMs > 0 && io.now().getTime() - mtimeMs > STALE_MS) removeFolder(folder);
|
|
11415
|
+
if (mtimeMs > 0 && io.now().getTime() - mtimeMs > STALE_MS && !launcherRuns(folder)) removeFolder(folder);
|
|
11383
11416
|
}
|
|
11384
11417
|
}
|
|
11385
11418
|
function removeFolder(folder) {
|
|
@@ -11387,7 +11420,7 @@ function createLaunch2(io) {
|
|
|
11387
11420
|
fs.remove(folder);
|
|
11388
11421
|
}
|
|
11389
11422
|
function instructionsOf(folder, userHome) {
|
|
11390
|
-
const own =
|
|
11423
|
+
const own = isFile(join2(userHome, "AGENTS.md")) ? fs.readText(join2(userHome, "AGENTS.md")) : void 0;
|
|
11391
11424
|
if (own === void 0 || own.trim() === "") return;
|
|
11392
11425
|
const delivered = fs.kind(join2(folder, "AGENTS.md")) === "file" ? fs.readText(join2(folder, "AGENTS.md")) : void 0;
|
|
11393
11426
|
fs.write(join2(folder, "AGENTS.md"), delivered === void 0 ? own : `${delivered.endsWith("\n") ? delivered : `${delivered}
|
|
@@ -11404,7 +11437,7 @@ ${own}`);
|
|
|
11404
11437
|
}
|
|
11405
11438
|
}
|
|
11406
11439
|
function configOf(folder, userHome) {
|
|
11407
|
-
const own =
|
|
11440
|
+
const own = isFile(join2(userHome, "config.toml")) ? fs.readText(join2(userHome, "config.toml")) ?? "" : "";
|
|
11408
11441
|
try {
|
|
11409
11442
|
let text = CODEX_MCP.setServer(own, "outerlayer", MCP_ENTRY, "if-absent").text;
|
|
11410
11443
|
const agents = fs.kind(join2(folder, "AGENTS.md")) === "file" ? fs.readText(join2(folder, "AGENTS.md")) ?? "" : "";
|
|
@@ -11432,14 +11465,16 @@ ${own}`);
|
|
|
11432
11465
|
const userHome = input.env.CODEX_HOME !== void 0 && input.env.CODEX_HOME !== "" ? input.env.CODEX_HOME : join2(home, ".codex");
|
|
11433
11466
|
const folder = join2(foldersBase(home), `${io.now().getTime().toString(36)}-${Math.random().toString(36).slice(2, 10)}`);
|
|
11434
11467
|
fs.makeDir(folder);
|
|
11435
|
-
|
|
11468
|
+
fs.write(join2(folder, LAUNCHER_PID), `${io.pid()}
|
|
11469
|
+
`);
|
|
11470
|
+
const ownHooks = isFile(join2(userHome, "hooks.json")) ? fs.readText(join2(userHome, "hooks.json")) : void 0;
|
|
11436
11471
|
if (input.controlPlane === void 0) fs.write(join2(folder, "hooks.json"), hooksText(ownHooks));
|
|
11437
11472
|
else composeInto(io, input.controlPlane, folder, input.controlPlane, ownHooks);
|
|
11438
11473
|
instructionsOf(folder, userHome);
|
|
11439
11474
|
linkOwnSkills(folder, userHome);
|
|
11440
11475
|
fs.write(join2(folder, "config.toml"), configOf(folder, userHome));
|
|
11441
11476
|
const login = join2(userHome, "auth.json");
|
|
11442
|
-
const authText =
|
|
11477
|
+
const authText = isFile(login) ? fs.readText(login) : void 0;
|
|
11443
11478
|
if (authText !== void 0) fs.copy(login, join2(folder, "auth.json"));
|
|
11444
11479
|
for (const name of SHARED_FOLDERS) {
|
|
11445
11480
|
fs.makeDir(join2(userHome, name));
|
|
@@ -11454,17 +11489,22 @@ ${own}`);
|
|
|
11454
11489
|
const launched = folder === void 0 ? void 0 : launches.get(folder);
|
|
11455
11490
|
if (folder === void 0 || launched === void 0) return;
|
|
11456
11491
|
launches.delete(folder);
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11492
|
+
const refreshed = fs.kind(join2(folder, "auth.json")) === "file" ? fs.readText(join2(folder, "auth.json")) : void 0;
|
|
11493
|
+
if (refreshed !== void 0 && refreshed !== launched.authText) {
|
|
11494
|
+
const login = join2(launched.userHome, "auth.json");
|
|
11495
|
+
try {
|
|
11496
|
+
const target = fs.kind(login) === "link" ? fs.realPath(login) : login;
|
|
11461
11497
|
fs.makeDir(launched.userHome);
|
|
11462
11498
|
fs.write(`${target}.outerlayer-new`, refreshed);
|
|
11463
11499
|
fs.rename(`${target}.outerlayer-new`, target);
|
|
11500
|
+
} catch (err) {
|
|
11501
|
+
throw new Error(
|
|
11502
|
+
`the refreshed Codex login was not copied to ${login} (${err instanceof Error ? err.message : String(err)}). Copy ${join2(folder, "auth.json")} there before the next launch removes it a day from now.`,
|
|
11503
|
+
{ cause: err }
|
|
11504
|
+
);
|
|
11464
11505
|
}
|
|
11465
|
-
} finally {
|
|
11466
|
-
removeFolder(folder);
|
|
11467
11506
|
}
|
|
11507
|
+
removeFolder(folder);
|
|
11468
11508
|
}
|
|
11469
11509
|
return {
|
|
11470
11510
|
findProgram: (path, delimiter2 = ":") => findProgram2(io, path, delimiter2),
|
|
@@ -12659,7 +12699,16 @@ function createNodeAgentIO() {
|
|
|
12659
12699
|
},
|
|
12660
12700
|
home: () => homeFromEnv() || homedir(),
|
|
12661
12701
|
env: () => ({ ...process.env }),
|
|
12662
|
-
now: () => /* @__PURE__ */ new Date()
|
|
12702
|
+
now: () => /* @__PURE__ */ new Date(),
|
|
12703
|
+
pid: () => process.pid,
|
|
12704
|
+
alive(pid) {
|
|
12705
|
+
try {
|
|
12706
|
+
process.kill(pid, 0);
|
|
12707
|
+
return true;
|
|
12708
|
+
} catch (err) {
|
|
12709
|
+
return err.code === "EPERM";
|
|
12710
|
+
}
|
|
12711
|
+
}
|
|
12663
12712
|
};
|
|
12664
12713
|
}
|
|
12665
12714
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
8
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-45JV3EMA.js';
|
|
4
|
+
import { parseSize } from './chunk-YSHMGQRD.js';
|
|
5
|
+
import { runnerDir } from './chunk-JE23PLDE.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-QVTGSGQ5.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-OF6XMZHO.js';
|
|
8
|
+
import { defaultAgents } from './chunk-CEHT2FCU.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
11
11
|
import { spawnSync } from 'child_process';
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { RUNNER_PROTOCOL } from './chunk-ZWMV7KVB.js';
|
|
4
|
-
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-
|
|
4
|
+
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-MJGBRYDH.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
6
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
8
|
-
import { upgradedStarterText } from './chunk-
|
|
9
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
10
|
-
import { writeDockerClientConfig } from './chunk-
|
|
11
|
-
import { senderPidfile } from './chunk-
|
|
12
|
-
import { installScrubContext } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-XDWJOYC4.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-YUR7GV5L.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-PEN7Y4PB.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-JSN2DMPB.js';
|
|
11
|
+
import { senderPidfile } from './chunk-2EJED3QQ.js';
|
|
12
|
+
import { installScrubContext } from './chunk-732WJDYG.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-DLYCHCKQ.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-TWUEZPWP.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
18
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-6367NG5G.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-BBJC4R6E.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
28
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-3YMOSZRN.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-4FUTEM37.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-AL6CJD2X.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-IOUBTUS2.js';
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, readsOnly, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-45JV3EMA.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-UMFSHU72.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-YSHMGQRD.js';
|
|
28
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-ONDONSBT.js';
|
|
29
29
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-RO5YUUN2.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, retryAfterMsOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-
|
|
35
|
-
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-MCJRTOAL.js';
|
|
33
|
+
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-JE23PLDE.js';
|
|
34
|
+
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, retryAfterMsOf, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-77JLN6GC.js';
|
|
35
|
+
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-QVTGSGQ5.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-F3J4UKBF.js';
|
|
37
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-
|
|
38
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
37
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-OF6XMZHO.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-CEHT2FCU.js';
|
|
39
39
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
40
40
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-
|
|
42
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-YNNTU5IZ.js';
|
|
43
43
|
import { CheckItemsSchema, CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-MCUI6RHU.js';
|
|
44
44
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
45
45
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, lstatSync, chmodSync, renameSync, rmdirSync, createReadStream, unlinkSync, realpathSync, writeSync, truncateSync, cpSync, copyFileSync, fstatSync, readSync, createWriteStream, linkSync } from 'fs';
|
|
@@ -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-CEHT2FCU.js';
|
|
4
4
|
import { openSync, fstatSync, readSync, closeSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-6DO34552.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-DG7525WL.js';
|
|
5
5
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
@@ -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-MCJRTOAL.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-JE23PLDE.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
|
|
4
|
-
import { execStartArgv } from './chunk-
|
|
5
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
6
|
-
import { runnerDir } from './chunk-
|
|
4
|
+
import { execStartArgv } from './chunk-UAOLY4EP.js';
|
|
5
|
+
import { DEFAULT_UNIT_NAME } from './chunk-CFIYOLCT.js';
|
|
6
|
+
import { runnerDir } from './chunk-JE23PLDE.js';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
9
9
|
createRequire(import.meta.url);
|
|
@@ -1,14 +1,14 @@
|
|
|
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-CWJ26A6W.js';
|
|
5
|
+
import { autoConnect } from './chunk-UQWBHNTZ.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-DG7525WL.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';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-YNNTU5IZ.js';
|
|
12
12
|
import { CriteriaListSchema } from './chunk-MCUI6RHU.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|