@outerlayer/cli 0.38.0-next.20261111231234 → 0.38.0-next.20261112002049

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.
@@ -1 +1 @@
1
- {"id":"2026-11-11T23:20:06.393Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-11-12T00:28:13.899Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
@@ -3902,7 +3902,7 @@ build, ../outerlayer-build/SKILL.md becomes ~/.agents/skills/outerlayer-build/SK
3902
3902
  what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocation() + " doctor` reports the same\nstates under Starter files.\n"
3903
3903
  ).action(async (opts) => {
3904
3904
  if (opts.update || opts.dryRun) {
3905
- const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-NXDPWHK6.js');
3905
+ const { runInitUpdateWithFleet, formatInitUpdate, updateFlagProblem } = await import('./init-update-6EJKXKFH.js');
3906
3906
  const { fleetReadiness } = await import('./fleet-readiness-NBYN45IT.js');
3907
3907
  const problem = updateFlagProblem(opts);
3908
3908
  if (problem !== void 0) {
package/dist/index.js CHANGED
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-VDN4AFAJ.js');
25
25
  var launcherCode = await runSubcommand(argv);
26
26
  if (launcherCode !== void 0) process.exit(launcherCode);
27
27
  (await import('./hook-fast-JZKCKSXB.js')).recordLinkExitFailure(argv);
28
- var { runCli } = await import('./cli-OUL7NQWX.js');
28
+ var { runCli } = await import('./cli-2FFCAE62.js');
29
29
  await runCli(process.argv);
@@ -31,7 +31,7 @@ import { linkedAgentsPath, hasSymlinkComponent } from './chunk-B2SHUO6J.js';
31
31
  import './chunk-YQR6E6OV.js';
32
32
  import './chunk-CJPTUU2E.js';
33
33
  import './chunk-J6KKJGR7.js';
34
- import { writeMaintainedFiles, maintainedFilesForExistingSkills, loadMaintainedFiles, AGENTS_SKILLS_BASE, MACHINE_SKILL_PATH, OUTERLAYER_SKILLS_BASE, defaultAgents, legacyAgent } from './chunk-QYLBGMTA.js';
34
+ import { writeMaintainedFiles, maintainedFilesForExistingSkills, loadMaintainedFiles, AGENTS_SKILLS_BASE, MACHINE_SKILL_PATH, OUTERLAYER_SKILLS_BASE, resolvePackRoot, defaultAgents, legacyAgent } from './chunk-QYLBGMTA.js';
35
35
  import './chunk-PLVHIQJN.js';
36
36
  import './chunk-7PZDPISM.js';
37
37
  import './chunk-ELPP5OHC.js';
@@ -351,12 +351,18 @@ function removals(root, report, packRoot) {
351
351
  }
352
352
  return planned;
353
353
  }
354
- function plan(report) {
354
+ function compareSource(root, file, packRoot) {
355
+ if (!file.path.endsWith("/spec/SKILL.md")) return file.source;
356
+ if (readFileSync(join(root, file.path), "utf8").includes("outerlayer-spec")) return file.source;
357
+ return join(packRoot, "maintained", "outerlayer-spec", "SKILL.md");
358
+ }
359
+ function plan(root, report, packRoot = resolvePackRoot()) {
355
360
  return report.items.map((item) => {
356
361
  const planned = { path: item.path, state: item.state, action: actionFor(item) };
357
362
  if (item.kind === "mcp") planned.server = item.server;
358
- if (item.kind === "file" && item.state === "edited" && item.file.source !== void 0) {
359
- planned.compare = `git diff --no-index ${item.file.source} ${item.path}`;
363
+ const source = item.kind === "file" && item.state === "edited" ? compareSource(root, item.file, packRoot) : void 0;
364
+ if (source !== void 0) {
365
+ planned.compare = `git diff --no-index ${source} ${item.path}`;
360
366
  }
361
367
  return planned;
362
368
  });
@@ -429,7 +435,7 @@ function runStarterUpdate(opts) {
429
435
  const report = inspectStarterFiles(root, { packRoot: opts.packRoot, base: skillsBase });
430
436
  const maintained = agentsMd ? maintainedRemovals(root) : [];
431
437
  const dropped = [...removals(root, report, opts.packRoot), ...maintained];
432
- const planned = plan(report);
438
+ const planned = plan(root, report, opts.packRoot);
433
439
  const changes = report.items.filter((i) => i.state === "outdated" || i.state === "missing");
434
440
  const replaced = new Set(changes.map((i) => i.path));
435
441
  const rewrites = agentsMd ? maintainedReferenceRewrites(root, maintained.map((m) => m.path)).filter((r) => !replaced.has(r.path)) : [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.38.0-next.20261111231234",
3
+ "version": "0.38.0-next.20261112002049",
4
4
  "description": "OuterLayer CLI — commands: init, claude, opencode, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, run, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Magu Studios, Inc.",