@outerlayer/cli 0.36.0-next.20261030225631 → 0.36.0-next.20261031161320
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-XZGB4JPQ.js} +7 -7
- package/dist/{build-disk-H5VDB4G2.js → build-disk-YLQT3UHL.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{builder-QW6N3XBA.js → builder-TS3QFXN4.js} +5 -5
- package/dist/{caller-TUO3VAKG.js → caller-VHISEQAD.js} +8 -8
- package/dist/{check-LUDLYHUR.js → check-ARDGJYVM.js} +39 -38
- package/dist/{chunk-VVUMAXFY.js → chunk-27DQ3DDF.js} +4 -4
- package/dist/{chunk-MJEUD4PD.js → chunk-3GFZSLSP.js} +4 -4
- package/dist/{chunk-YQDXFFOK.js → chunk-3PQTOKML.js} +1 -1
- package/dist/{chunk-OUMMLC45.js → chunk-3SQZ5LIK.js} +2 -2
- package/dist/{chunk-4PH4DVV4.js → chunk-46OBCATR.js} +4 -0
- package/dist/{chunk-VOURWC2H.js → chunk-4NMAJYYE.js} +1 -1
- package/dist/{chunk-Y6FSSKLW.js → chunk-4RSTPRMH.js} +2 -2
- package/dist/{chunk-OJ2KWQPQ.js → chunk-4SFHEARD.js} +1 -1
- 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-QH6RZLDV.js → chunk-6O33JZ3X.js} +3 -3
- package/dist/{chunk-7GX4X25F.js → chunk-7O7LJWQO.js} +1 -1
- package/dist/{chunk-ZJX3KECE.js → chunk-7SDVHXP7.js} +14 -14
- package/dist/{chunk-A2QQGMQ7.js → chunk-C4YULCXX.js} +7 -7
- package/dist/{chunk-TV5ITSVY.js → chunk-CIUD3436.js} +1 -1
- package/dist/chunk-F3ZMVUAS.js +40 -0
- 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-HSSECQOA.js → chunk-H3S5LJI2.js} +3 -3
- package/dist/{chunk-TGVIFTKI.js → chunk-IGHAPIKZ.js} +1 -1
- package/dist/{chunk-BR2WJ6BX.js → chunk-IP7F4CQH.js} +2 -2
- 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-ZFGGCEH2.js → chunk-JVQYYVDS.js} +293 -119
- package/dist/{chunk-H3MLZ4EA.js → chunk-KB5B6ZT5.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-RUML4JVG.js → chunk-LXYWSGEW.js} +1 -1
- package/dist/{chunk-KSMN2FUF.js → chunk-LZ7PAU55.js} +6 -2
- package/dist/{chunk-BIAXDR3K.js → chunk-MMXPNEEQ.js} +8 -8
- package/dist/{chunk-ZGFUZPJP.js → chunk-MR5MAX77.js} +2 -2
- package/dist/{chunk-7K7TGHDF.js → chunk-MXWPLGO6.js} +74 -707
- package/dist/{chunk-QLWEXEEA.js → chunk-NRTRPGCW.js} +1 -1
- package/dist/{chunk-EA57H6AT.js → chunk-OLENS2DD.js} +1 -1
- package/dist/{chunk-7SO2VHTQ.js → chunk-OUPQTA7N.js} +2 -2
- package/dist/{chunk-O6NQYFPH.js → chunk-PDQWXH3F.js} +5 -5
- package/dist/{chunk-H5XPKNQZ.js → chunk-PGWK2FH5.js} +6 -6
- package/dist/{chunk-GGNG6CVE.js → chunk-PN6TNCQI.js} +14 -7
- package/dist/{chunk-YTNZ237E.js → chunk-RGH5GYU2.js} +7 -7
- package/dist/{chunk-4A7GNO4U.js → chunk-RUK7QHSH.js} +4 -4
- package/dist/{chunk-UCRCIRQQ.js → chunk-S6OD32NC.js} +5 -5
- package/dist/{chunk-MVI3J4FN.js → chunk-SK7ZXQIV.js} +5 -5
- package/dist/{chunk-D3H37WUD.js → chunk-T3AJOPUR.js} +2 -2
- package/dist/{chunk-K6KO7TBK.js → chunk-TXJMHMPO.js} +12 -12
- package/dist/{chunk-UHD5ZR46.js → chunk-U553JKMO.js} +4 -4
- package/dist/{chunk-IZVBCDSH.js → chunk-VG2NIWR4.js} +4 -4
- package/dist/{chunk-6HRYB7M6.js → chunk-VHR3WQTP.js} +8 -8
- 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-YLO3M2X4.js} +117 -119
- package/dist/{command-XLXJGPRZ.js → command-IANIXN6N.js} +35 -34
- package/dist/{config-NVGVPL3L.js → config-FF3E73ZE.js} +7 -7
- package/dist/{connect-cmd-KO2TIY6J.js → connect-cmd-IRJ3MBPY.js} +8 -8
- package/dist/{container-start-ZCG3EHAO.js → container-start-EUTOX4EU.js} +36 -35
- 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-record-cmd-NUGDPXWS.js → demo-record-cmd-Y57UWBCX.js} +3 -3
- package/dist/{demo-voice-cmd-VIMMLCLO.js → demo-voice-cmd-QFVATHAQ.js} +15 -15
- package/dist/dist-2SPMAD7Z.js +7 -0
- package/dist/{docker-3AZ3ZFLA.js → docker-6QIZVYF3.js} +5 -5
- package/dist/{doctor-TIBTSPML.js → doctor-VSPDIR6T.js} +36 -35
- 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-ZYMLB5R5.js} +15 -15
- 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/{exec-client-UHL7WPDO.js → exec-client-FGGPQSYQ.js} +1 -1
- package/dist/find-unit-EX5ETHGL.js +19 -0
- 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-3QBPJLSG.js} +34 -33
- package/dist/index.js +4 -4
- package/dist/{init-JQTQWAM7.js → init-5QYRPZ63.js} +34 -33
- package/dist/{init-ZZJ57EDL.js → init-JLOGNKPC.js} +34 -33
- package/dist/{init-cmd-UKT7YW5U.js → init-cmd-NDXN2XPU.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-I7ZM4CEZ.js} +38 -37
- package/dist/{machine-7Z2IVG7X.js → machine-7NYF2WBI.js} +34 -33
- package/dist/{machine-skills-FWIZV5HO.js → machine-skills-VRUJVBQV.js} +4 -4
- package/dist/{runner-env-IDGTVTYW.js → runner-env-LWKAYARL.js} +9 -9
- package/dist/{runner-identity-RJYVFQ5K.js → runner-identity-WUAQLGRY.js} +5 -5
- package/dist/{runner-key-ESSC2IKR.js → runner-key-VVLYZFP6.js} +34 -33
- 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-I3TV7ZZV.js} +34 -33
- package/dist/{sync-cmd-7LESBUTT.js → sync-cmd-Z6PU33GC.js} +12 -12
- package/dist/{update-steps-JH7PPGPD.js → update-steps-VOSUXXMS.js} +35 -34
- package/dist/{watch-RSUPBIJS.js → watch-XNBXSIEI.js} +12 -12
- package/dist/{work-claim-cmd-HX7DGFY3.js → work-claim-cmd-KG3VBBZ2.js} +17 -17
- 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-74Z72ZG6.js} +12 -12
- package/dist/{work-proofs-record-XJFVH7B4.js → work-proofs-record-LT7UXHNZ.js} +19 -19
- 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
- package/dist/find-unit-CNYGB5AN.js +0 -19
|
@@ -1,7 +1,8 @@
|
|
|
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-S6OD32NC.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-PN6TNCQI.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-F3ZMVUAS.js';
|
|
5
6
|
import { signingFetchFor } from './chunk-YQHEJ5SV.js';
|
|
6
7
|
import { signerFor } from './chunk-4DJZSNVT.js';
|
|
7
8
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-FGF52V4V.js';
|
|
@@ -438,6 +439,9 @@ async function stageGovernedContext(input) {
|
|
|
438
439
|
}
|
|
439
440
|
// An unreachable result is a timeout, a network failure, or a failure to write the fetched files. Its message says which.
|
|
440
441
|
default:
|
|
442
|
+
if (result.invalidConfig !== void 0) {
|
|
443
|
+
return finish({ kind: "refused", reason: buildRefusalReason(readDegraded(join(tree, ".git"))?.repository ?? input.repository, result.invalidConfig) });
|
|
444
|
+
}
|
|
441
445
|
return finish(unavailable(result.message ?? `the context of ${input.repository} could not be materialized (${result.status})`));
|
|
442
446
|
}
|
|
443
447
|
} catch (err) {
|
|
@@ -1,11 +1,12 @@
|
|
|
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 {
|
|
6
|
-
import {
|
|
4
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-LRCGXRQI.js';
|
|
5
|
+
import { invalidConfigMessage } from './chunk-F3ZMVUAS.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-T3AJOPUR.js';
|
|
7
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-7O7LJWQO.js';
|
|
7
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-
|
|
9
|
+
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-JFMSFHER.js';
|
|
9
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
10
11
|
import { join, dirname } from 'path';
|
|
11
12
|
|
|
@@ -16,7 +17,7 @@ var NO_CONFIG_MESSAGE = 'no .outerlayer/config.json with a non-empty targets arr
|
|
|
16
17
|
var EmitError = class extends Error {
|
|
17
18
|
};
|
|
18
19
|
var EMIT_NOT_NEEDED_NOTICE = `Claude Code and Codex read AGENTS.md and .agents/skills/ without a generated copy. Run \`${cliInvocation()} init --update\` to move this repository there and stop committing generated files.`;
|
|
19
|
-
var NATIVE_TARGETS = /* @__PURE__ */ new Set(["claude-code"
|
|
20
|
+
var NATIVE_TARGETS = /* @__PURE__ */ new Set(["claude-code"]);
|
|
20
21
|
function noticeFor(repoRoot, targets) {
|
|
21
22
|
if (targets.length === 0 || !targets.every((t) => NATIVE_TARGETS.has(t))) return void 0;
|
|
22
23
|
return isAgentsMdLayout(repoRoot) ? void 0 : EMIT_NOT_NEEDED_NOTICE;
|
|
@@ -29,8 +30,7 @@ function resolveTargetsFromConfig(repoRoot) {
|
|
|
29
30
|
const result = parseOuterlayerConfig(raw);
|
|
30
31
|
if (result.ok) return result.config.targets;
|
|
31
32
|
if (result.errors.some((e) => e.code === "no_targets")) throw new EmitError(NO_CONFIG_MESSAGE);
|
|
32
|
-
|
|
33
|
-
throw new EmitError(`invalid .outerlayer/config.json \u2014 ${detail}`);
|
|
33
|
+
throw new EmitError(invalidConfigMessage(result.errors));
|
|
34
34
|
}
|
|
35
35
|
function buildEmitInput(repoRoot, targets, maintained, excluded = /* @__PURE__ */ new Set()) {
|
|
36
36
|
const bundled = new Map(maintained.map((f) => [f.path, f.content]));
|
|
@@ -275,7 +275,7 @@ function inspectReplacedOutputs(repoRoot) {
|
|
|
275
275
|
configured = resolveTargetsFromConfig(repoRoot);
|
|
276
276
|
} catch {
|
|
277
277
|
}
|
|
278
|
-
const targets = [.../* @__PURE__ */ new Set([...configured, "claude-code"
|
|
278
|
+
const targets = [.../* @__PURE__ */ new Set([...configured, "claude-code"])];
|
|
279
279
|
const maintained = maintainedFilesForExistingSkills(repoRoot, loadMaintainedFiles());
|
|
280
280
|
const maintainedPaths = new Set(maintained.map((f) => f.path));
|
|
281
281
|
const built = buildEmitInput(repoRoot, targets, maintained, new Set(retiredSkillPaths(repoRoot)));
|
|
@@ -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-JVQYYVDS.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-6QIZVYF3.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 = "";
|