@outerlayer/cli 0.36.0-next.20261030225631 → 0.36.0-next.20261031112440
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 +7 -14
- package/dist/{agent-setup-RZE6O737.js → agent-setup-UYTS2PHZ.js} +11 -10
- package/dist/{artifact-link-cmd-DLKYKNWF.js → artifact-link-cmd-W7LRR76D.js} +2 -2
- package/dist/{build-GVNOXEDV.js → build-KM6UILOZ.js} +4 -4
- package/dist/{build-disk-H5VDB4G2.js → build-disk-GCEB5EJC.js} +4 -4
- package/dist/build-info.json +1 -1
- package/dist/{builder-QW6N3XBA.js → builder-NRPJGNXU.js} +3 -3
- package/dist/{caller-TUO3VAKG.js → caller-XHNAY4E2.js} +6 -6
- package/dist/{check-LUDLYHUR.js → check-MENIW2MN.js} +35 -34
- package/dist/{chunk-ZFGGCEH2.js → chunk-25GQP6NR.js} +17 -17
- package/dist/{chunk-QLWEXEEA.js → chunk-34YFGWHR.js} +1 -1
- package/dist/{chunk-MJEUD4PD.js → chunk-3GFZSLSP.js} +4 -4
- package/dist/{chunk-YQDXFFOK.js → chunk-3PQTOKML.js} +1 -1
- package/dist/{chunk-HSSECQOA.js → chunk-3QLHEGXK.js} +2 -2
- package/dist/{chunk-OUMMLC45.js → chunk-3SQZ5LIK.js} +2 -2
- package/dist/{chunk-RUML4JVG.js → chunk-3YRJUX6J.js} +1 -1
- package/dist/{chunk-H5XPKNQZ.js → chunk-4AMSCAHT.js} +5 -5
- package/dist/{chunk-OJ2KWQPQ.js → chunk-4SFHEARD.js} +1 -1
- package/dist/{chunk-MVI3J4FN.js → chunk-5AJZGYWC.js} +4 -4
- package/dist/{chunk-D4BIUQPA.js → chunk-5H57X7YC.js} +1 -1
- package/dist/{chunk-OR2NXZ5Y.js → chunk-5UBNSGK3.js} +3 -3
- package/dist/{chunk-7ABJKQAQ.js → chunk-6IJZL7X2.js} +2 -2
- package/dist/{chunk-K6KO7TBK.js → chunk-6T2JWCSZ.js} +12 -12
- package/dist/{chunk-7GX4X25F.js → chunk-7O7LJWQO.js} +1 -1
- package/dist/{chunk-TGVIFTKI.js → chunk-AVJWMOEY.js} +1 -1
- package/dist/{chunk-6HRYB7M6.js → chunk-BFF6AJXM.js} +8 -8
- package/dist/{chunk-A2QQGMQ7.js → chunk-C4YULCXX.js} +7 -7
- package/dist/chunk-F3ZMVUAS.js +40 -0
- package/dist/{chunk-Y6FSSKLW.js → chunk-FRDYAKH3.js} +2 -2
- package/dist/{chunk-5TJQBHKO.js → chunk-GDIVOYDA.js} +4 -4
- package/dist/{chunk-O3OREOCP.js → chunk-GDMAN42R.js} +2 -2
- package/dist/{chunk-JII4O3EZ.js → chunk-GU25RNKD.js} +3 -3
- package/dist/{chunk-6KLNELLP.js → chunk-IVY3PD7P.js} +3 -3
- package/dist/{chunk-AILO7SNG.js → chunk-JFMSFHER.js} +13 -211
- package/dist/{chunk-FCJWPFDS.js → chunk-JPROSTGX.js} +4 -4
- package/dist/{chunk-ZJX3KECE.js → chunk-K2YG2HZN.js} +14 -14
- package/dist/{chunk-4A7GNO4U.js → chunk-LESWXCKZ.js} +1 -1
- package/dist/{chunk-YZXI37NW.js → chunk-LHFG5YUG.js} +2 -2
- package/dist/{chunk-WNM5GXJ3.js → chunk-LRCGXRQI.js} +2 -2
- package/dist/{chunk-KSMN2FUF.js → chunk-LZ7PAU55.js} +6 -2
- package/dist/{chunk-VOURWC2H.js → chunk-MMDGO77D.js} +1 -1
- package/dist/{chunk-BIAXDR3K.js → chunk-MMXPNEEQ.js} +8 -8
- package/dist/{chunk-BR2WJ6BX.js → chunk-MVSC7GCE.js} +2 -2
- package/dist/{chunk-7K7TGHDF.js → chunk-MXWPLGO6.js} +74 -707
- package/dist/{chunk-EA57H6AT.js → chunk-OLENS2DD.js} +1 -1
- package/dist/{chunk-VVUMAXFY.js → chunk-OPF6OJAT.js} +4 -4
- package/dist/{chunk-O6NQYFPH.js → chunk-PDQWXH3F.js} +5 -5
- package/dist/{chunk-QH6RZLDV.js → chunk-PJZKKFQO.js} +1 -1
- package/dist/{chunk-GGNG6CVE.js → chunk-PN6TNCQI.js} +14 -7
- package/dist/{chunk-YTNZ237E.js → chunk-RGH5GYU2.js} +7 -7
- package/dist/{chunk-UCRCIRQQ.js → chunk-S6OD32NC.js} +5 -5
- package/dist/{chunk-D3H37WUD.js → chunk-T3AJOPUR.js} +2 -2
- package/dist/{chunk-UHD5ZR46.js → chunk-U553JKMO.js} +4 -4
- package/dist/{chunk-IZVBCDSH.js → chunk-VG2NIWR4.js} +4 -4
- package/dist/{chunk-ZGFUZPJP.js → chunk-VJYNMGCE.js} +2 -2
- package/dist/{chunk-QZSA5R3L.js → chunk-VUG4IZ7H.js} +1 -1
- package/dist/{chunk-UI2VOW26.js → chunk-XTVVKNRP.js} +5 -8
- package/dist/{claude-launcher-FK5ZQWXC.js → claude-launcher-YV3TDXBU.js} +5 -5
- package/dist/{cli-NPNTAB2B.js → cli-TAFO3WOQ.js} +115 -117
- package/dist/{command-XLXJGPRZ.js → command-TRSFSBT5.js} +31 -30
- package/dist/{config-NVGVPL3L.js → config-YCQV3OQK.js} +5 -5
- package/dist/{connect-cmd-KO2TIY6J.js → connect-cmd-IRJ3MBPY.js} +8 -8
- package/dist/{container-start-ZCG3EHAO.js → container-start-UY2YVY3L.js} +32 -31
- package/dist/{context-cleanup-2MTGLUYS.js → context-cleanup-TPHCVVFV.js} +3 -3
- package/dist/{context-show-cmd-XLER7QAI.js → context-show-cmd-YQEQ5B34.js} +9 -9
- package/dist/{control-plane-launch-RUJOCYEI.js → control-plane-launch-UWFQWMWB.js} +11 -6
- package/dist/{demo-voice-cmd-VIMMLCLO.js → demo-voice-cmd-QAH7KPVO.js} +14 -14
- package/dist/dist-2SPMAD7Z.js +7 -0
- package/dist/{docker-3AZ3ZFLA.js → docker-2247NBIK.js} +3 -3
- package/dist/{doctor-TIBTSPML.js → doctor-VVFPHFS4.js} +32 -31
- package/dist/{emit-artifact-cmd-PLTXEBPU.js → emit-artifact-cmd-3YHOU4TI.js} +13 -13
- package/dist/{emit-cmd-6NZOT5DS.js → emit-cmd-HNXRGC5Z.js} +7 -6
- package/dist/{emit-criteria-cmd-BNXWF46E.js → emit-criteria-cmd-NN52H53B.js} +10 -10
- package/dist/{emit-demo-cmd-C6IQPCW7.js → emit-demo-cmd-V7CP333I.js} +14 -14
- package/dist/{emit-finding-cmd-5HZE7W6C.js → emit-finding-cmd-J5UZGNP4.js} +10 -10
- package/dist/{emit-result-cmd-WCNYSHDK.js → emit-result-cmd-IWMACBFI.js} +12 -12
- package/dist/{emit-step-cmd-HSKB3SNR.js → emit-step-cmd-SRWFWEU7.js} +10 -10
- package/dist/{find-unit-CNYGB5AN.js → find-unit-FEYD4IHC.js} +7 -7
- package/dist/{findings-cmd-2OQMIVHA.js → findings-cmd-BWTLCXDR.js} +10 -10
- package/dist/{fleet-readiness-PCQSCHQ5.js → fleet-readiness-FAKMWCJV.js} +8 -8
- package/dist/{governing-source-7XCL3AYM.js → governing-source-6ANJ4HQI.js} +14 -13
- package/dist/{hook-fast-EMZVAUJ5.js → hook-fast-3HPWMSFB.js} +1 -1
- package/dist/{host-checks-ULFOOLWB.js → host-checks-TX22YEFD.js} +30 -29
- package/dist/index.js +4 -4
- package/dist/{init-ZZJ57EDL.js → init-36AY3ZQZ.js} +30 -29
- package/dist/{init-JQTQWAM7.js → init-IYL3YXEM.js} +30 -29
- package/dist/{init-cmd-UKT7YW5U.js → init-cmd-JK2OGQU5.js} +18 -18
- package/dist/{init-update-2SN2GCTM.js → init-update-4IQPGOA6.js} +24 -31
- package/dist/{layout-YJ2RD5H2.js → layout-TLUOMM6F.js} +4 -4
- package/dist/{login-browser-TWUHD2DS.js → login-browser-ODTJEGDN.js} +2 -2
- package/dist/{loop-M6SSY52X.js → loop-U72FDFQR.js} +34 -33
- package/dist/{machine-7Z2IVG7X.js → machine-S2TYJJPP.js} +30 -29
- package/dist/{machine-skills-FWIZV5HO.js → machine-skills-VRUJVBQV.js} +4 -4
- package/dist/{runner-env-IDGTVTYW.js → runner-env-OPRWKIKI.js} +7 -7
- package/dist/{runner-identity-RJYVFQ5K.js → runner-identity-OY75LG6G.js} +3 -3
- package/dist/{runner-key-ESSC2IKR.js → runner-key-6WN67PRU.js} +30 -29
- package/dist/{session-sender-NCSDRNCM.js → session-sender-EINASB3R.js} +13 -13
- package/dist/{spec-cmd-OYQEUAMI.js → spec-cmd-253AGRFF.js} +11 -11
- package/dist/{starter-pack-6FOYP6DY.js → starter-pack-7QNUT74O.js} +5 -5
- package/dist/{status-ECHO7NRV.js → status-WCQG6SX4.js} +30 -29
- package/dist/{sync-cmd-7LESBUTT.js → sync-cmd-Z6PU33GC.js} +12 -12
- package/dist/{update-steps-JH7PPGPD.js → update-steps-BOKCWGQ6.js} +31 -30
- package/dist/{watch-RSUPBIJS.js → watch-XNBXSIEI.js} +12 -12
- package/dist/{work-claim-cmd-HX7DGFY3.js → work-claim-cmd-2A6D5EYO.js} +15 -15
- package/dist/{work-cmd-IEC6XKC6.js → work-cmd-JZUBXXJN.js} +10 -10
- package/dist/{work-comment-cmd-X65LS27O.js → work-comment-cmd-L4R6ZXLO.js} +12 -12
- package/dist/{work-demo-cmd-D7WGXJOC.js → work-demo-cmd-YNPN2PHQ.js} +10 -10
- package/dist/{work-logs-cmd-FQH2UVMI.js → work-logs-cmd-CSQJB5MD.js} +10 -10
- package/dist/{work-open-pr-cmd-EFAFERSF.js → work-open-pr-cmd-Y7YNI2PF.js} +11 -11
- package/dist/{work-pr-cmd-E55GPZKO.js → work-pr-cmd-QGAOPNLV.js} +10 -10
- package/dist/{work-proofs-cmd-V2O2DTAQ.js → work-proofs-cmd-RPVVD2SC.js} +12 -12
- package/dist/{work-proofs-record-XJFVH7B4.js → work-proofs-record-ULCY5QEP.js} +18 -18
- package/dist/{work-stop-cmd-ANPTSTYS.js → work-stop-cmd-LF4OTNPL.js} +10 -10
- package/package.json +1 -1
- package/dist/dist-4Q4Y6YJL.js +0 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { loadMachineSkillFiles, resolvePackRoot } from './chunk-7O7LJWQO.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-CDDED64E.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-25GQP6NR.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-MVSC7GCE.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-WAZJPDR2.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { keyRunnerFactory } from './chunk-
|
|
8
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
7
|
+
import { keyRunnerFactory } from './chunk-3QLHEGXK.js';
|
|
8
|
+
import { isSignatureRefusal, postJson } from './chunk-S6OD32NC.js';
|
|
9
9
|
import { signerFor } from './chunk-4DJZSNVT.js';
|
|
10
10
|
import { pidFilePath } from './chunk-WT7J2627.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-XTVVKNRP.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-LHFG5YUG.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-
|
|
8
|
+
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-3PQTOKML.js';
|
|
9
9
|
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YQHEJ5SV.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-MXWPLGO6.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
13
|
-
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-
|
|
13
|
+
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-VUG4IZ7H.js';
|
|
14
14
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
15
15
|
import { createHash, randomUUID } from 'crypto';
|
|
16
16
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-TV5ITSVY.js';
|
|
4
4
|
import { universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-7SO2VHTQ.js';
|
|
5
5
|
import { ensureHostKey } from './chunk-4DJZSNVT.js';
|
|
6
|
-
import { compareVersions } from './chunk-
|
|
6
|
+
import { compareVersions } from './chunk-MXWPLGO6.js';
|
|
7
7
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-WT7J2627.js';
|
|
8
8
|
import { CLAUDE_PORT, BUILD_HOME, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-GANAOCHR.js';
|
|
9
9
|
import { JOIN_DIR, RELAY_ID, JOIN_SOCKET, TARGET_GATEWAY, TARGET_CLAUDE, destinationTarget, RELAY_USER } from './chunk-MESOOLF4.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import {
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-F3ZMVUAS.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-T3AJOPUR.js';
|
|
4
5
|
import { defaultFetch, resolveGatewayCredentials } from './chunk-YQHEJ5SV.js';
|
|
5
6
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
6
|
-
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-
|
|
7
|
+
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-7O7LJWQO.js';
|
|
7
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
9
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
9
|
-
import { normalizeRepoName, parseOuterlayerConfig, classifyTree, emitTree } from './chunk-
|
|
10
|
+
import { normalizeRepoName, parseOuterlayerConfig, classifyTree, emitTree } from './chunk-JFMSFHER.js';
|
|
10
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
12
|
import { withTokenHeader } from './chunk-GANAOCHR.js';
|
|
12
13
|
import { execFileSync } from 'child_process';
|
|
@@ -22,7 +23,10 @@ function overlayMaintainedSkills(repoRoot, unsafe) {
|
|
|
22
23
|
const paths = sources.map((file) => file.path);
|
|
23
24
|
const configAbs = join(repoRoot, CONFIG_PATH);
|
|
24
25
|
if (!existsSync(configAbs)) return paths;
|
|
25
|
-
const
|
|
26
|
+
const configText = readFileSync(configAbs, "utf8");
|
|
27
|
+
const removed = removedTargetError(configText);
|
|
28
|
+
if (removed !== void 0) throw new RemovedTargetError(removed);
|
|
29
|
+
const config = parseOuterlayerConfig(configText);
|
|
26
30
|
if (!config.ok || !config.config) return paths;
|
|
27
31
|
const { entries } = classifyTree(sources.map((file) => file.path));
|
|
28
32
|
const input = {
|
|
@@ -288,17 +292,20 @@ async function materializeContext(deps) {
|
|
|
288
292
|
let overlayPaths = [];
|
|
289
293
|
let retiredPaths = /* @__PURE__ */ new Set();
|
|
290
294
|
let overlayFailed = false;
|
|
295
|
+
let invalidConfig;
|
|
291
296
|
try {
|
|
292
297
|
retiredPaths = new Set(removeRetiredSkills(repoRoot, (rel) => hasSymlinkComponent(repoRoot, rel)));
|
|
293
298
|
overlayPaths = overlayMaintainedSkills(repoRoot, (rel) => hasSymlinkComponent(repoRoot, rel));
|
|
294
|
-
} catch {
|
|
299
|
+
} catch (err) {
|
|
295
300
|
overlayFailed = true;
|
|
301
|
+
if (err instanceof RemovedTargetError) invalidConfig = err.message;
|
|
296
302
|
}
|
|
297
303
|
const writtenPaths = [.../* @__PURE__ */ new Set([...writeResult.writtenPaths, ...overlayPaths])].filter((path) => !retiredPaths.has(path));
|
|
298
304
|
if (overlayFailed) {
|
|
299
|
-
|
|
305
|
+
const message = invalidConfig ?? OVERLAY_FAILED_MESSAGE;
|
|
306
|
+
writeDegraded(gitCommonDir, { at: new Date(now()).toISOString(), kind: "unreachable", message, repository, ref });
|
|
300
307
|
record(sha, "unverified", repository, ref);
|
|
301
|
-
return { status: "unreachable", message
|
|
308
|
+
return { status: "unreachable", message, sha, verification: "unverified", ...invalidConfig === void 0 ? {} : { invalidConfig } };
|
|
302
309
|
}
|
|
303
310
|
writeContextManifest(gitCommonDir, { schemaVersion: 1, sha, files: writtenPaths, materializedAt: new Date(now()).toISOString() });
|
|
304
311
|
clearOrFlagIdentity();
|
|
@@ -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-MMXPNEEQ.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-OHQMGLJP.js';
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
5
|
+
import { installStarterPack } from './chunk-3SQZ5LIK.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-LRCGXRQI.js';
|
|
8
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-PN6TNCQI.js';
|
|
9
|
+
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-7O7LJWQO.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-4SFHEARD.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource } from './chunk-
|
|
13
|
+
import { generatedHeaderSource } from './chunk-JFMSFHER.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -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-LHFG5YUG.js';
|
|
5
|
+
import { workPageUrl } from './chunk-JPROSTGX.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { sanitizeTerminal } from './chunk-
|
|
7
|
+
import { sanitizeTerminal } from './chunk-3PQTOKML.js';
|
|
8
8
|
import { resolveGatewayCredentials, unauthorizedMessage, defaultFetch } from './chunk-YQHEJ5SV.js';
|
|
9
9
|
import { signRunnerRequest } from './chunk-4DJZSNVT.js';
|
|
10
10
|
import { readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-MXWPLGO6.js';
|
|
12
12
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
|
|
@@ -473,7 +473,7 @@ async function runWorkLinkSession(opts) {
|
|
|
473
473
|
return await linkSession(opts);
|
|
474
474
|
} catch (err) {
|
|
475
475
|
if (opts.logFailures) {
|
|
476
|
-
const { logHookError } = await import('./hook-fast-
|
|
476
|
+
const { logHookError } = await import('./hook-fast-3HPWMSFB.js');
|
|
477
477
|
const reason = err instanceof Error ? err.message : String(err);
|
|
478
478
|
logHookError(opts.home ?? homeFromEnv(opts.env ?? process.env), new Error(`work link-session #${opts.number} failed: ${reason}`));
|
|
479
479
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { skillDir, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
3
|
+
import { skillDir, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-7O7LJWQO.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree } from './chunk-
|
|
5
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree } from './chunk-JFMSFHER.js';
|
|
6
6
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname, relative, sep } from 'path';
|
|
8
8
|
|
|
@@ -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-3SQZ5LIK.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-LRCGXRQI.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-7O7LJWQO.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
|
-
import { hasSymlinkComponent } from './chunk-
|
|
9
|
+
import { hasSymlinkComponent } from './chunk-4SFHEARD.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -1,12 +1,12 @@
|
|
|
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-S6OD32NC.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-3PQTOKML.js';
|
|
7
7
|
import { defaultFetch } from './chunk-YQHEJ5SV.js';
|
|
8
|
-
import { logHookError } from './chunk-
|
|
9
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
+
import { logHookError } from './chunk-GDMAN42R.js';
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-MXWPLGO6.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
12
|
import { randomUUID } from 'crypto';
|
|
@@ -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-25GQP6NR.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-ALEUIS35.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-2247NBIK.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 = "";
|
|
@@ -21887,7 +21887,7 @@ var AgentSessionSchema = external_exports.looseObject({
|
|
|
21887
21887
|
/** See WORKER_KINDS. Optional on the wire (additive, v1). */
|
|
21888
21888
|
workerKind: external_exports.enum(WORKER_KINDS).optional(),
|
|
21889
21889
|
agent: external_exports.looseObject({
|
|
21890
|
-
/** `claude-code
|
|
21890
|
+
/** `claude-code`; open for future adapters. */
|
|
21891
21891
|
type: external_exports.string().min(1),
|
|
21892
21892
|
version: external_exports.string().optional(),
|
|
21893
21893
|
/** How the agent was invoked (`cli`, `vscode`, …). */
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-3GFZSLSP.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-AAGU5FJF.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
6
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-3PQTOKML.js';
|
|
7
7
|
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YQHEJ5SV.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
9
|
import { signerFor, signRunnerRequest } from './chunk-4DJZSNVT.js';
|
|
10
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
10
|
+
import { writeSyncStatus, spoolDir } from './chunk-GDMAN42R.js';
|
|
11
11
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
12
12
|
import { hookExecSpoolPath } from './chunk-FUJUFLDC.js';
|
|
13
13
|
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
14
14
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-
|
|
15
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, sessionIdFromPath, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep, SOURCE_ADAPTERS } from './chunk-MXWPLGO6.js';
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-5WYT3PPE.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
19
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-VUG4IZ7H.js';
|
|
20
20
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
21
21
|
import { SCRUB_ENV_VARIABLE } from './chunk-GANAOCHR.js';
|
|
22
22
|
import { dirname, basename, join, sep } from 'path';
|
|
@@ -1251,9 +1251,6 @@ async function runSyncInner(opts, stats) {
|
|
|
1251
1251
|
const { report } = scanAll({
|
|
1252
1252
|
root: opts.root,
|
|
1253
1253
|
rawRoot: opts.rawRoot,
|
|
1254
|
-
codexRoot: opts.codexRoot,
|
|
1255
|
-
cursorRoot: opts.cursorRoot,
|
|
1256
|
-
cursorProjectsRoot: opts.cursorProjectsRoot,
|
|
1257
1254
|
limit: opts.limit,
|
|
1258
1255
|
captureTier: tier,
|
|
1259
1256
|
// An agent job that continued an earlier session left a record of when it started; its transcript opens with a copy of the earlier one.
|
|
@@ -4,12 +4,12 @@ import { sharedSkillNames } from './chunk-FGF52V4V.js';
|
|
|
4
4
|
import { GOVERNANCE_VARIABLE, versionAtLeast, MINIMUM_CLAUDE_VERSION, SHIM_SCRIPT, CONTROL_PLANE_DIR_VARIABLE } from './chunk-HCVLP7XA.js';
|
|
5
5
|
export { MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { setupMachineSkills } from './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import { setupMachineSkills } from './chunk-OLENS2DD.js';
|
|
8
|
+
import './chunk-7O7LJWQO.js';
|
|
9
9
|
import './chunk-CDDED64E.js';
|
|
10
10
|
import './chunk-RA3O54FC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import './chunk-JFMSFHER.js';
|
|
12
|
+
import './chunk-VUG4IZ7H.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
14
|
import './chunk-Z5GEFMRW.js';
|
|
15
15
|
import { spawn, execFileSync, spawnSync } from 'child_process';
|
|
@@ -338,7 +338,7 @@ async function runClaudeLauncher(args, deps = {}) {
|
|
|
338
338
|
return 1;
|
|
339
339
|
}
|
|
340
340
|
} else {
|
|
341
|
-
const { resolveLaunchPlane } = await import('./control-plane-launch-
|
|
341
|
+
const { resolveLaunchPlane } = await import('./control-plane-launch-UWFQWMWB.js');
|
|
342
342
|
const plane = env[GOVERNANCE_VARIABLE] === "self" ? { kind: "none" } : await resolveLaunchPlane({ cwd, env, home, fetchImpl: deps.fetchImpl, stderr });
|
|
343
343
|
if (plane.kind === "none") {
|
|
344
344
|
const own2 = ownSkillsDirFor(cwd, home, [], stderr);
|