@outerlayer/cli 0.34.0 → 0.34.1-next.20261029191024
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{agent-setup-UPIHHKI2.js → agent-setup-G445QZEM.js} +10 -10
- package/dist/{artifact-link-cmd-6LFCTDBD.js → artifact-link-cmd-H3KVDGP3.js} +2 -2
- package/dist/{build-WC5EBFL3.js → build-26BBPGWD.js} +4 -4
- package/dist/{build-disk-RARJJXLL.js → build-disk-UGIMTVLM.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-IIFXZVGN.js → builder-LYFK7SKW.js} +3 -3
- package/dist/{caller-VWXDLYPU.js → caller-YGK3NKQQ.js} +6 -6
- package/dist/{check-FYYNT3UP.js → check-A6QEWYRN.js} +35 -35
- package/dist/{chunk-5DVJQC76.js → chunk-23DAYPF5.js} +4 -4
- package/dist/{chunk-5FWBAM6O.js → chunk-2PMJ7TQR.js} +1 -1
- package/dist/{chunk-2MTBQRCI.js → chunk-2WXFXI36.js} +6 -6
- package/dist/{chunk-IP3HLHWO.js → chunk-5ESKQSQP.js} +1 -1
- package/dist/{chunk-FYVIHKCH.js → chunk-6IIP4KMY.js} +3 -3
- package/dist/{chunk-ZI2E4YMY.js → chunk-6YK3SXCW.js} +1 -1
- package/dist/{chunk-AYMOVIT2.js → chunk-A6QFXRUU.js} +14 -14
- package/dist/{chunk-QM3HMXMU.js → chunk-AW4MYEIW.js} +1 -1
- package/dist/{chunk-PQ5YDDDE.js → chunk-AWNONB6E.js} +2 -2
- package/dist/{chunk-AZLWIUIF.js → chunk-BITJMQJ2.js} +3 -3
- package/dist/{chunk-JBUFM5JN.js → chunk-BMMSKKVA.js} +2 -2
- package/dist/{chunk-CZA37XBG.js → chunk-CANPD2V3.js} +5 -5
- package/dist/{chunk-3NPVOVWY.js → chunk-CPWSPEP5.js} +2 -2
- package/dist/{chunk-DVXUUCOF.js → chunk-CQQWIWYG.js} +1 -1
- package/dist/{chunk-32IASBQV.js → chunk-E3R62JBJ.js} +4 -4
- package/dist/{chunk-25SWTFPA.js → chunk-EBFU4YCI.js} +4 -4
- package/dist/{chunk-2OE4BZRF.js → chunk-EK7MQ56V.js} +3 -3
- package/dist/{chunk-UX7BQX4C.js → chunk-F7CYWR7J.js} +17 -17
- package/dist/{chunk-JXXMOAJG.js → chunk-GWXHRG2N.js} +1 -1
- package/dist/{chunk-DY2HAYJL.js → chunk-HJS267VR.js} +19 -5
- package/dist/{chunk-SVDO6ZQA.js → chunk-HJSNFVKX.js} +8 -8
- package/dist/{chunk-M4MSA6I4.js → chunk-HTJR62XR.js} +1 -1
- package/dist/{chunk-4CGEAKOR.js → chunk-HXCUMPPY.js} +3 -3
- package/dist/{chunk-NB44HOTO.js → chunk-I4TEZU2E.js} +2 -2
- package/dist/{chunk-QZQ2UTPE.js → chunk-L5GF2A43.js} +2 -2
- package/dist/{chunk-UPRZREBO.js → chunk-MGF4254K.js} +1 -1
- package/dist/{chunk-NZDM6KJ2.js → chunk-MTUV27NY.js} +5 -5
- package/dist/{chunk-YTTESG7K.js → chunk-N2XW4NYY.js} +5 -1
- package/dist/{chunk-7NARODRP.js → chunk-NFBWTJ3A.js} +1 -1
- package/dist/{chunk-H25XK3DY.js → chunk-PBAGWT2M.js} +1 -1
- package/dist/{chunk-CDVG2LXT.js → chunk-PILW3YP4.js} +7 -7
- package/dist/{chunk-WG3VIMD2.js → chunk-POZ65DAI.js} +6 -6
- package/dist/{chunk-HS5QEIJT.js → chunk-PPZ47OB6.js} +2 -2
- package/dist/{chunk-WJTIU2A5.js → chunk-Q7ZHL6FY.js} +4 -4
- package/dist/{chunk-HNA33MLR.js → chunk-QJCXP4TA.js} +2 -2
- package/dist/{chunk-H467HI5U.js → chunk-QRDF5A3U.js} +2 -2
- package/dist/{chunk-TJ755TTP.js → chunk-RO2XIOEN.js} +5 -5
- package/dist/{chunk-PUSCE544.js → chunk-SUVS7A7X.js} +4 -4
- package/dist/{chunk-62TMOXQN.js → chunk-TMFKZBOW.js} +2 -2
- package/dist/{chunk-RWQLBHU3.js → chunk-TYRKGKMX.js} +4 -4
- package/dist/{chunk-PHETCXGP.js → chunk-UJTYMT7G.js} +1 -1
- package/dist/{chunk-7SFE6CFO.js → chunk-VE3UM4HU.js} +12 -12
- package/dist/{chunk-XGSJNXH2.js → chunk-VQCAJUDV.js} +2 -2
- package/dist/{chunk-SIF536BT.js → chunk-WJPBZFSF.js} +1 -1
- package/dist/{chunk-PDK35AR4.js → chunk-XSX42Q2H.js} +1 -1
- package/dist/{chunk-7K6MTRN2.js → chunk-Y5CPIOBF.js} +12 -12
- package/dist/{chunk-2B6EKUBD.js → chunk-YC5KTX7D.js} +4 -4
- package/dist/{claude-launcher-MMCKOBND.js → claude-launcher-VA3OAA5V.js} +5 -5
- package/dist/{cli-VLQZS3BV.js → cli-NWOZT6B5.js} +123 -114
- package/dist/{command-Y2HFOL33.js → command-WQG2Y6MV.js} +21 -21
- package/dist/{config-YI5R4K77.js → config-FVSPGZIO.js} +5 -5
- package/dist/{connect-cmd-NHRK6Y4L.js → connect-cmd-NDWWTEHW.js} +8 -8
- package/dist/{container-start-W3BDQAQE.js → container-start-MMTUO3JR.js} +32 -32
- package/dist/{context-cleanup-PASDUBGW.js → context-cleanup-KIWINRKM.js} +3 -3
- package/dist/{context-show-cmd-OLJEKW2G.js → context-show-cmd-HLEHQJTV.js} +9 -9
- package/dist/{control-plane-launch-FV5Q6GVJ.js → control-plane-launch-X2QXGPFW.js} +6 -6
- package/dist/{demo-voice-cmd-W47GNKN6.js → demo-voice-cmd-NSKOX6T7.js} +14 -14
- package/dist/{dist-ZDKMTBJU.js → dist-RR6YVPSF.js} +2 -2
- package/dist/{docker-36W7PA5I.js → docker-LKM7PPDE.js} +3 -3
- package/dist/{doctor-YAPSQYAC.js → doctor-N5R5YUEC.js} +22 -22
- package/dist/{emit-artifact-cmd-72TRW3OL.js → emit-artifact-cmd-72V5FRE3.js} +13 -13
- package/dist/{emit-cmd-UOPHEUW5.js → emit-cmd-ZHYBT2F6.js} +6 -6
- package/dist/{emit-criteria-cmd-TLO4L3FN.js → emit-criteria-cmd-HIE6JLCO.js} +10 -10
- package/dist/{emit-demo-cmd-PISZZ6TE.js → emit-demo-cmd-TR2IS5NY.js} +14 -14
- package/dist/{emit-finding-cmd-MRXMDOQY.js → emit-finding-cmd-3HZBWWP7.js} +10 -10
- package/dist/{emit-result-cmd-UHX7OTY2.js → emit-result-cmd-YIPXXWII.js} +12 -12
- package/dist/{emit-step-cmd-TL73HPJY.js → emit-step-cmd-QQYPX7EF.js} +10 -10
- package/dist/{find-unit-LIJR6HXI.js → find-unit-QS446AID.js} +7 -7
- package/dist/{findings-cmd-WPHPYWZJ.js → findings-cmd-CPNMM5CJ.js} +10 -10
- package/dist/{fleet-readiness-4RNICYSP.js → fleet-readiness-ZQOFJZ5B.js} +8 -8
- package/dist/{governing-source-HAJVYDYG.js → governing-source-YXZXD6LI.js} +13 -13
- package/dist/{hook-fast-5PNO5HRO.js → hook-fast-OPHM3MRK.js} +1 -1
- package/dist/{host-checks-IAF6DYWU.js → host-checks-5YDTGG6B.js} +30 -30
- package/dist/index.js +4 -4
- package/dist/{init-4MUFI7Q7.js → init-7ZFHIK5W.js} +21 -21
- package/dist/{init-HTX7R3O6.js → init-M6GSCMJM.js} +21 -21
- package/dist/{init-cmd-Q337RMX5.js → init-cmd-RBRSD4US.js} +18 -18
- package/dist/{init-update-7F5WWVWX.js → init-update-GFXITSTA.js} +17 -17
- package/dist/{layout-ZE6F2Z7W.js → layout-2YSKJHPC.js} +4 -4
- package/dist/{login-browser-YB7AMKHR.js → login-browser-S6PLZCKK.js} +2 -2
- package/dist/{loop-XZH3TA5Z.js → loop-72U5FJPH.js} +34 -34
- package/dist/{machine-L4U73LZN.js → machine-FQNIDAC5.js} +21 -21
- package/dist/{machine-skills-DMHU7OLO.js → machine-skills-YXN3TMJ5.js} +4 -4
- package/dist/{runner-env-P7BHDTKU.js → runner-env-HUZ2TMAK.js} +7 -7
- package/dist/{runner-identity-BQEM2OHY.js → runner-identity-XKJFHYS7.js} +3 -3
- package/dist/{runner-key-MNVNR6UM.js → runner-key-HU542TOA.js} +21 -21
- package/dist/{session-sender-HPJWCUVZ.js → session-sender-5DTNDRJY.js} +13 -13
- package/dist/{spec-cmd-NPZ2H3ZN.js → spec-cmd-HMPVRZP2.js} +11 -11
- package/dist/{starter-pack-WUNNS6G7.js → starter-pack-3ERHTBBJ.js} +5 -5
- package/dist/{status-G4EL4ZCI.js → status-YOGCWUOD.js} +30 -30
- package/dist/{sync-cmd-AFB3TGYH.js → sync-cmd-45QEXKDM.js} +12 -12
- package/dist/{update-steps-N6U2OWK6.js → update-steps-VI2KVXG6.js} +31 -31
- package/dist/{watch-O6ZO5HBT.js → watch-L5MUTCM2.js} +12 -12
- package/dist/{work-claim-cmd-CN5FR3G4.js → work-claim-cmd-GF6O4PE4.js} +15 -15
- package/dist/{work-cmd-EHDLH3CJ.js → work-cmd-PKQ3UANC.js} +10 -10
- package/dist/{work-comment-cmd-YPNDPDHP.js → work-comment-cmd-X26ER5HH.js} +11 -11
- package/dist/{work-demo-cmd-TM47UETD.js → work-demo-cmd-WBOSB5QG.js} +10 -10
- package/dist/{work-logs-cmd-4PCBHRM2.js → work-logs-cmd-VRPW3AAL.js} +10 -10
- package/dist/{work-open-pr-cmd-ESLHVNO5.js → work-open-pr-cmd-BYQSZHFN.js} +11 -11
- package/dist/{work-pr-cmd-N63H6OJM.js → work-pr-cmd-BQBQORGW.js} +10 -10
- package/dist/{work-proofs-cmd-U6XFQ34N.js → work-proofs-cmd-BSNVSO7A.js} +12 -12
- package/dist/{work-proofs-record-YYRYIYMQ.js → work-proofs-record-LV5UTB3H.js} +18 -18
- package/dist/{work-stop-cmd-RB64IM3K.js → work-stop-cmd-5J5MUNDK.js} +10 -10
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +20 -20
- package/skill-pack/maintained/outerlayer-amend/references/new-proof.md +13 -0
- package/skill-pack/maintained/outerlayer-amend/references/threads.md +56 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-
|
|
3
|
+
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-YC5KTX7D.js';
|
|
4
4
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
5
5
|
import { HELPER_PATH, DOCKERD_LOG, HELPER_RECORD } from './chunk-H2GESWLW.js';
|
|
6
6
|
import { writeDockerClientConfig } from './chunk-MKSZHT6S.js';
|
|
7
7
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
8
|
-
import { senderPidfile } from './chunk-
|
|
9
|
-
import { installScrubContext } from './chunk-
|
|
10
|
-
import { upgradedStarterText } from './chunk-
|
|
11
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, provisionWithFreshFallback, itemTag, hasClaudeCredential, AssetError, obtainImage, taggedLog, planSavedState, clockOf, savedStateBase, savedStatesDir, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, agentUidOf, userIdChangedReason, runBuildSteps, setupInputFor, runtimeStepInput, settleFailedSteps, keepRuntimeStep, keepMissingSetupScripts, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, itemScope, managedBuildSettingsFor, stopContainer, cleanupContainer, recordProofsInContainer, PROOFS_LOG, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, runSetupScripts, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, discardUnusableState, MANAGED_UNJAILED_REASON, uidFromProbe, saveAndPrune, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValuesFor, managedBuildSettingValuesFor, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, RECORD_PROOFS_ARGV, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, writeRecord, containerJudgeEnvironment, deleteRecord, senderSignalScript, copyJudgeTree } from './chunk-
|
|
12
|
-
import { fetchCommit, readBranchHead, diffBetween } from './chunk-
|
|
8
|
+
import { senderPidfile } from './chunk-HXCUMPPY.js';
|
|
9
|
+
import { installScrubContext } from './chunk-RO2XIOEN.js';
|
|
10
|
+
import { upgradedStarterText } from './chunk-Q7ZHL6FY.js';
|
|
11
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, firstLine, provisionWithFreshFallback, itemTag, hasClaudeCredential, AssetError, obtainImage, taggedLog, planSavedState, clockOf, savedStateBase, savedStatesDir, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, agentUidOf, userIdChangedReason, runBuildSteps, setupInputFor, runtimeStepInput, settleFailedSteps, keepRuntimeStep, keepMissingSetupScripts, createContainerRuntime, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, startHostServices, LEASE_SECONDS, itemScope, managedBuildSettingsFor, stopContainer, cleanupContainer, recordProofsInContainer, PROOFS_LOG, outOfMemoryReason, closeHostBuild, dropManagedClaudeKey, dropManagedBuildSettings, startCheckContainer, ranRuntimeStep, provisionRuntimes, lifecycleSteps, lifecycleFailureReason, runSetupScripts, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, syncInContainer, copyTranscriptsFromContainer, senderAliveScript, discardUnusableState, MANAGED_UNJAILED_REASON, uidFromProbe, saveAndPrune, managedMachineLimits, withFactoryHosts, helperFirecrackerNote, said, managedClaudeKeyValuesFor, managedBuildSettingValuesFor, managedClaudeKeyValues, managedBuildSettingValues, stopJailed, deleteBuildDisk, RECORD_PROOFS_ARGV, managedClaudeKeyFor, ROOT_DISK_ID_PREFIX, copyTranscripts, writeRecord, containerJudgeEnvironment, deleteRecord, senderSignalScript, copyJudgeTree } from './chunk-Y5CPIOBF.js';
|
|
12
|
+
import { fetchCommit, readBranchHead, diffBetween } from './chunk-5ESKQSQP.js';
|
|
13
13
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
14
14
|
import { waitForAgent, vmExecArgs } from './chunk-4PH4DVV4.js';
|
|
15
15
|
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-UZGQT6OF.js';
|
|
16
|
-
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-
|
|
17
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
18
|
-
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, optionalEgress } from './chunk-
|
|
19
|
-
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-
|
|
20
|
-
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, parseSize, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-
|
|
16
|
+
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, retrySend, formatClock, keptContextTree, WORKFLOW_PERMISSION_REASON } from './chunk-QRDF5A3U.js';
|
|
17
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-NFBWTJ3A.js';
|
|
18
|
+
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, egressSummary, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, optionalEgress } from './chunk-QJCXP4TA.js';
|
|
19
|
+
import { formatBytes, DEFAULT_CACHE_DISK, allocatedBytes } from './chunk-UJTYMT7G.js';
|
|
20
|
+
import { HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, parseSize, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-CQQWIWYG.js';
|
|
21
21
|
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-PZN4L2DN.js';
|
|
22
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
23
|
-
import { planArtifactUpload } from './chunk-
|
|
22
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-MTUV27NY.js';
|
|
23
|
+
import { planArtifactUpload } from './chunk-XSX42Q2H.js';
|
|
24
24
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
25
25
|
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
26
|
-
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-
|
|
27
|
-
import { scrubText } from './chunk-
|
|
26
|
+
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot } from './chunk-MGF4254K.js';
|
|
27
|
+
import { scrubText } from './chunk-PBAGWT2M.js';
|
|
28
28
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
29
29
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
30
|
-
import { parsePolicy } from './chunk-
|
|
31
|
-
import { CheckItemsSchema } from './chunk-
|
|
30
|
+
import { parsePolicy } from './chunk-2PMJ7TQR.js';
|
|
31
|
+
import { CheckItemsSchema } from './chunk-N2XW4NYY.js';
|
|
32
32
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
33
33
|
import { RUNNER_FILE_MODE, runnerDir, buildDir, orgStoreIn, vsockPath, jobConsolePath, orgHomeDir } from './chunk-YQHUCOUL.js';
|
|
34
34
|
import { JOB_MOUNT, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, claudeCredential, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, fdName, BUILD_HOME, CLAUDE_CREDENTIAL_VARIABLES, currentClaudeCredential, removedClaudeCredentialValues, managedClaudeCredential, checkEnvironment, EVAL_INPUT_DIR, withMiseVariables } from './chunk-GANAOCHR.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME } from './chunk-2PMJ7TQR.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-MTUV27NY.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { sanitizeTerminal } from './chunk-
|
|
6
|
+
import { sanitizeTerminal } from './chunk-XSX42Q2H.js';
|
|
7
7
|
import { defaultFetch } from './chunk-GBMTKV5B.js';
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-PBAGWT2M.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
11
|
import { randomUUID } from 'crypto';
|
|
@@ -30,6 +30,9 @@ async function runWorkComment(opts) {
|
|
|
30
30
|
throw new WorkCommentCommandError(trackerNumberError("--item", opts.item ?? ""));
|
|
31
31
|
}
|
|
32
32
|
const action = resolveAction(opts);
|
|
33
|
+
if (opts.thread !== void 0 && (opts.criterion !== void 0 || action !== void 0)) {
|
|
34
|
+
throw new WorkCommentCommandError("--thread answers one thread and takes no --criterion and no action flag");
|
|
35
|
+
}
|
|
33
36
|
if (action === "attach" && !opts.artifact) {
|
|
34
37
|
throw new WorkCommentCommandError("--attach needs --artifact <id>, naming the artifact that becomes the criterion's proof");
|
|
35
38
|
}
|
|
@@ -48,6 +51,7 @@ async function runWorkComment(opts) {
|
|
|
48
51
|
clientCommentId: opts.clientCommentId ?? randomUUID(),
|
|
49
52
|
body: opts.body ?? "",
|
|
50
53
|
...opts.criterion !== void 0 ? { criterion: opts.criterion } : {},
|
|
54
|
+
thread: opts.thread,
|
|
51
55
|
...action !== void 0 ? { action } : {},
|
|
52
56
|
...opts.artifact !== void 0 ? { artifact: opts.artifact } : {},
|
|
53
57
|
...sessionId !== void 0 ? { sessionId } : {}
|
|
@@ -63,7 +67,7 @@ async function runWorkComment(opts) {
|
|
|
63
67
|
);
|
|
64
68
|
const thread = data.thread;
|
|
65
69
|
const waitingOn = thread?.waitingOn ?? null;
|
|
66
|
-
const criterionLabel = opts.criterion ? `criterion ${opts.criterion}` : "the general thread";
|
|
70
|
+
const criterionLabel = opts.thread ? `thread ${opts.thread}` : opts.criterion ? `criterion ${opts.criterion}` : "the general thread";
|
|
67
71
|
const output = opts.json ? JSON.stringify(data) : `${C.green}\u2713${C.reset} commented on ${criterionLabel} of item #${itemNumber} ${C.dim}\xB7${C.reset} waiting on ${waitingOn ?? "no one"}`;
|
|
68
72
|
if (!opts.quiet) process.stdout.write(output + "\n");
|
|
69
73
|
return { data, output };
|
|
@@ -82,11 +86,21 @@ async function runWorkThreads(opts) {
|
|
|
82
86
|
return { data, output: output2 };
|
|
83
87
|
}
|
|
84
88
|
const page = data;
|
|
85
|
-
const lines = [
|
|
89
|
+
const lines = [
|
|
90
|
+
renderThread("general", page.general),
|
|
91
|
+
...page.criteria.map((t) => renderThread(t.criterion ?? "", t)),
|
|
92
|
+
...(page.threads ?? []).map(renderSourceThread)
|
|
93
|
+
];
|
|
86
94
|
const output = lines.join("\n");
|
|
87
95
|
if (!opts.quiet) process.stdout.write(output + "\n");
|
|
88
96
|
return { data, output };
|
|
89
97
|
}
|
|
98
|
+
function renderSourceThread(thread) {
|
|
99
|
+
const place = thread.anchor ? ` \xB7 ${sanitizeTerminal(thread.anchor.path)}:${thread.anchor.line}` : "";
|
|
100
|
+
const header = `${C.dim}thread ${sanitizeTerminal(thread.id)} \xB7 ${sanitizeTerminal(thread.source)}${place} \xB7 waiting on ${thread.waitingOn ?? "no one"}${C.reset}`;
|
|
101
|
+
const comments = thread.comments.map((c) => ` ${c.authorKind === "person" ? "person" : "agent"} ${sanitizeTerminal(c.authorName)}: ${sanitizeTerminal(c.body)}`);
|
|
102
|
+
return [header, ...comments].join("\n");
|
|
103
|
+
}
|
|
90
104
|
function renderThread(label, thread) {
|
|
91
105
|
const header = `${C.dim}${label === "general" ? "general" : `criterion ${label}`} \xB7 waiting on ${thread.waitingOn ?? "no one"}${C.reset}`;
|
|
92
106
|
const comments = thread.comments.map(
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-YC5KTX7D.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-MTUV27NY.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { sanitizeTerminal } from './chunk-
|
|
6
|
+
import { sanitizeTerminal } from './chunk-XSX42Q2H.js';
|
|
7
7
|
import { defaultFetch } from './chunk-GBMTKV5B.js';
|
|
8
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-PBAGWT2M.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
12
|
-
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH } from './chunk-
|
|
12
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH } from './chunk-N2XW4NYY.js';
|
|
13
13
|
import { createHash } from 'crypto';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { existsSync, statSync, readFileSync } from 'fs';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-5YDTGG6B.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-5YDTGG6B.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-LV5UTB3H.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-BMMSKKVA.js';
|
|
4
4
|
import { inspectService, realInspectProbes } from './chunk-GANAOCHR.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
5
|
-
import { CaptureDaemon } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-RO2XIOEN.js';
|
|
4
|
+
import { spoolDir } from './chunk-PPZ47OB6.js';
|
|
5
|
+
import { CaptureDaemon } from './chunk-PBAGWT2M.js';
|
|
6
6
|
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-F7CYWR7J.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-SQGD4LYW.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-LKM7PPDE.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-TYRKGKMX.js';
|
|
4
4
|
import { resolveGatewayCredentials } from './chunk-GBMTKV5B.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-PBAGWT2M.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
10
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
4
4
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
5
|
-
import { splitRawFile } from './chunk-
|
|
5
|
+
import { splitRawFile } from './chunk-2PMJ7TQR.js';
|
|
6
6
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { workPageUrl } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-L5GF2A43.js';
|
|
5
|
+
import { workPageUrl } from './chunk-TYRKGKMX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
7
|
+
import { sanitizeTerminal } from './chunk-XSX42Q2H.js';
|
|
8
8
|
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-GBMTKV5B.js';
|
|
9
9
|
import { signRunnerRequest } from './chunk-XU5BNWX7.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-PBAGWT2M.js';
|
|
12
12
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
|
|
@@ -471,7 +471,7 @@ async function runWorkLinkSession(opts) {
|
|
|
471
471
|
return await linkSession(opts);
|
|
472
472
|
} catch (err) {
|
|
473
473
|
if (opts.logFailures) {
|
|
474
|
-
const { logHookError } = await import('./hook-fast-
|
|
474
|
+
const { logHookError } = await import('./hook-fast-OPHM3MRK.js');
|
|
475
475
|
const reason = err instanceof Error ? err.message : String(err);
|
|
476
476
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
477
477
|
}
|
|
@@ -22636,7 +22636,11 @@ external_exports.object({
|
|
|
22636
22636
|
action: external_exports.enum(WORK_ITEM_COMMENT_ACTIONS).optional(),
|
|
22637
22637
|
artifact: external_exports.string().min(1).max(128).optional(),
|
|
22638
22638
|
sessionId: external_exports.string().min(1).optional(),
|
|
22639
|
-
reviewSendId: external_exports.string().regex(REVIEW_SEND_ID_PATTERN).optional()
|
|
22639
|
+
reviewSendId: external_exports.string().regex(REVIEW_SEND_ID_PATTERN).optional(),
|
|
22640
|
+
/** The id of the thread the comment answers (`threads[].id` from the
|
|
22641
|
+
* threads read). Refused with `criterion` or an `action`. The answer is
|
|
22642
|
+
* posted back to the source of the thread. */
|
|
22643
|
+
thread: external_exports.string().min(1).max(128).optional()
|
|
22640
22644
|
});
|
|
22641
22645
|
var WORK_ITEM_REVIEW_NOTES_MAX = 50;
|
|
22642
22646
|
var WorkItemReviewNoteSchema = external_exports.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { keyRunnerFactory, RunnerConfigError } from './chunk-
|
|
3
|
+
import { keyRunnerFactory, RunnerConfigError } from './chunk-QJCXP4TA.js';
|
|
4
4
|
import { orgHomeDir } from './chunk-YQHUCOUL.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, SPEED_MAX_LENGTH, inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-
|
|
3
|
+
import { EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, SPEED_MAX_LENGTH, inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-N2XW4NYY.js';
|
|
4
4
|
import { createHash } from 'crypto';
|
|
5
5
|
import { readFileSync, readdirSync, statSync, mkdirSync, copyFileSync, renameSync, unlinkSync, writeFileSync, stat as stat$1, unwatchFile, watchFile, watch as watch$1 } from 'fs';
|
|
6
6
|
import { type, homedir } from 'os';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runEmit } from './chunk-
|
|
3
|
+
import { runEmit } from './chunk-SUVS7A7X.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-OHQMGLJP.js';
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
5
|
+
import { installStarterPack } from './chunk-VQCAJUDV.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
8
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
-
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-
|
|
7
|
+
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-TMFKZBOW.js';
|
|
8
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-EK7MQ56V.js';
|
|
9
|
+
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-MGF4254K.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-GWXHRG2N.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource } from './chunk-
|
|
13
|
+
import { generatedHeaderSource } from './chunk-2PMJ7TQR.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-XSX42Q2H.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-TMFKZBOW.js';
|
|
5
5
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-GBMTKV5B.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-HCVLP7XA.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleClaudeSkills } from './chunk-
|
|
9
|
-
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleClaudeSkills } from './chunk-AW4MYEIW.js';
|
|
9
|
+
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-MGF4254K.js';
|
|
10
10
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { hasSymlinkComponent } from './chunk-
|
|
13
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-
|
|
12
|
+
import { hasSymlinkComponent } from './chunk-GWXHRG2N.js';
|
|
13
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-2PMJ7TQR.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
16
16
|
import { join, dirname, posix, basename, isAbsolute, relative } from 'path';
|
|
@@ -680,11 +680,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
680
680
|
const dirs = findGitDirs(cwd);
|
|
681
681
|
if (dirs === void 0) return void 0;
|
|
682
682
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
683
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
683
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-KIWINRKM.js');
|
|
684
684
|
cleanupEarlierCopies(dirs);
|
|
685
685
|
}
|
|
686
686
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
687
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
687
|
+
const { governanceOf } = await import('./control-plane-launch-X2QXGPFW.js');
|
|
688
688
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
689
689
|
recordMissingContext(dirs, sessionId, home);
|
|
690
690
|
const launcher = `${cliInvocation()} claude`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-OHQMGLJP.js';
|
|
4
|
-
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
4
|
+
import { VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH, POLICY_CONTENT } from './chunk-VQCAJUDV.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-TMFKZBOW.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
7
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-MGF4254K.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
|
-
import { hasSymlinkComponent } from './chunk-
|
|
9
|
+
import { hasSymlinkComponent } from './chunk-GWXHRG2N.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-UJTYMT7G.js';
|
|
4
|
+
import { parseSize } from './chunk-CQQWIWYG.js';
|
|
5
5
|
import { builderDiskPinned } from './chunk-PZN4L2DN.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
7
7
|
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-GANAOCHR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-MTUV27NY.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-EK7MQ56V.js';
|
|
5
5
|
import { signingFetchFor } from './chunk-GBMTKV5B.js';
|
|
6
6
|
import { signerFor } from './chunk-XU5BNWX7.js';
|
|
7
7
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-FGF52V4V.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-EBFU4YCI.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
7
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-XSX42Q2H.js';
|
|
8
8
|
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-GBMTKV5B.js';
|
|
9
9
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
10
10
|
import { signerFor, signRunnerRequest } from './chunk-XU5BNWX7.js';
|
|
11
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
11
|
+
import { writeSyncStatus, spoolDir } from './chunk-PPZ47OB6.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { hookExecSpoolPath } from './chunk-FUJUFLDC.js';
|
|
14
14
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
15
15
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
16
|
-
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
16
|
+
import { setCustomScrubbers, setLocalIdentity, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, sessionIdFromPath, scrubDeep, SOURCE_ADAPTERS } from './chunk-PBAGWT2M.js';
|
|
17
17
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-5WYT3PPE.js';
|
|
18
18
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
19
19
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
20
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
20
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-N2XW4NYY.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
22
|
import { SCRUB_ENV_VARIABLE } from './chunk-GANAOCHR.js';
|
|
23
23
|
import { dirname, basename, join, sep } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
5
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
6
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-
|
|
4
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-TMFKZBOW.js';
|
|
5
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-AWNONB6E.js';
|
|
6
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-MGF4254K.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-
|
|
8
|
+
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-2PMJ7TQR.js';
|
|
9
9
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE } from './chunk-
|
|
4
|
-
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-
|
|
3
|
+
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE } from './chunk-MGF4254K.js';
|
|
4
|
+
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-2PMJ7TQR.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join } from 'path';
|
|
7
7
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_DASHBOARD } from './chunk-
|
|
4
|
-
import { sanitizeTerminal } from './chunk-
|
|
5
|
-
import { isAgentsMdLayout } from './chunk-
|
|
3
|
+
import { DEFAULT_DASHBOARD } from './chunk-6YK3SXCW.js';
|
|
4
|
+
import { sanitizeTerminal } from './chunk-XSX42Q2H.js';
|
|
5
|
+
import { isAgentsMdLayout } from './chunk-TMFKZBOW.js';
|
|
6
6
|
import { cliFetch, resolveGatewayCredentials } from './chunk-GBMTKV5B.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
|
-
import { remoteLookupFailed } from './chunk-
|
|
9
|
+
import { remoteLookupFailed } from './chunk-PBAGWT2M.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { execFileSync } from 'child_process';
|
|
12
12
|
import { lstatSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-CQQWIWYG.js';
|
|
4
4
|
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-YQHUCOUL.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-Q7ZHL6FY.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-MTUV27NY.js';
|
|
5
|
+
import { isLinkedRepository } from './chunk-TYRKGKMX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
8
|
-
import { sanitizeTerminal } from './chunk-
|
|
9
|
-
import { checkFormerSkillNames } from './chunk-
|
|
7
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-POZ65DAI.js';
|
|
8
|
+
import { sanitizeTerminal } from './chunk-XSX42Q2H.js';
|
|
9
|
+
import { checkFormerSkillNames } from './chunk-AWNONB6E.js';
|
|
10
10
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-GBMTKV5B.js';
|
|
11
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-PPZ47OB6.js';
|
|
12
12
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-YBAVN6WS.js';
|
|
13
13
|
import { hookCommandEscapesControlPlane, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-
|
|
15
|
+
import { resolveRepoIdentity, compareVersions, SUPPORTED_VERSIONS } from './chunk-PBAGWT2M.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
17
|
import { readSettings, settingsPath, isOurStatuslineSlot, statuslineWrappedOriginal, REGISTERED_EVENTS, isOurHookCommand, ourCommandBins, cliBinResolvable, ourDirectScriptBins, wrappedOriginalCommand } from './chunk-KYDEBGJG.js';
|
|
18
18
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
@@ -1195,8 +1195,8 @@ function doctorExitCode(checks) {
|
|
|
1195
1195
|
|
|
1196
1196
|
// src/doctor-report.ts
|
|
1197
1197
|
async function gatherDoctorChecks() {
|
|
1198
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1199
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1198
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-UGIMTVLM.js');
|
|
1199
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-FVSPGZIO.js');
|
|
1200
1200
|
const configPath = defaultRunnerConfigPath();
|
|
1201
1201
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1202
1202
|
const hooks = (() => {
|
|
@@ -1224,7 +1224,7 @@ async function gatherDoctorChecks() {
|
|
|
1224
1224
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1225
1225
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1226
1226
|
} else if (hasRunnerBlock(configPath)) {
|
|
1227
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1227
|
+
const { runnerHostChecks } = await import('./doctor-N5R5YUEC.js');
|
|
1228
1228
|
const gateway = (() => {
|
|
1229
1229
|
try {
|
|
1230
1230
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1252,7 +1252,7 @@ async function gatherDoctorChecks() {
|
|
|
1252
1252
|
const service = await (async () => {
|
|
1253
1253
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1254
1254
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1255
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1255
|
+
const { inspectRunnerService } = await import('./find-unit-QS446AID.js');
|
|
1256
1256
|
return inspectRunnerService(configPath);
|
|
1257
1257
|
})();
|
|
1258
1258
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
4
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-MGF4254K.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { linkedAgentsPath } from './chunk-
|
|
8
|
+
import { linkedAgentsPath } from './chunk-GWXHRG2N.js';
|
|
9
9
|
import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-BMMSKKVA.js';
|
|
4
4
|
import { RUNNER_FILE_MODE } from './chunk-YQHUCOUL.js';
|
|
5
5
|
import { claudeEnvPath, withoutCredentialLines, parseRunnerEnv } from './chunk-GANAOCHR.js';
|
|
6
6
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
3
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-N2XW4NYY.js';
|
|
4
4
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|