@mrciphersmith/keryx 0.4.30 → 0.4.31

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.
Files changed (2) hide show
  1. package/dist/cli.js +39 -23
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -34694,7 +34694,7 @@ var package_default;
34694
34694
  var init_package = __esm(() => {
34695
34695
  package_default = {
34696
34696
  name: "@mrciphersmith/keryx",
34697
- version: "0.4.30",
34697
+ version: "0.4.31",
34698
34698
  description: "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
34699
34699
  private: false,
34700
34700
  publishConfig: {
@@ -354519,6 +354519,14 @@ async function updateCommand(args = []) {
354519
354519
  note(warning);
354520
354520
  }
354521
354521
  }
354522
+ if (summary.routingBlocked !== undefined) {
354523
+ heading("Routing entrypoint not updated");
354524
+ note("Rules, skills and the other service files were updated. Only index.md and routing.md were left as they are:");
354525
+ console.log(summary.routingBlocked.split(`
354526
+ `).slice(1).join(`
354527
+ `));
354528
+ process.exitCode = 1;
354529
+ }
354522
354530
  await offerStaleWorktreePrune(projectRoot, options);
354523
354531
  const steps = [];
354524
354532
  if (options.hooks) {
@@ -354664,28 +354672,35 @@ async function refreshServiceFiles(projectRoot, options) {
354664
354672
  await writeTextIfChanged4(path512.join(metaprojectRoot, "core", "README.md"), renderMetaprojectCoreReadme());
354665
354673
  await writeTextIfChanged4(path512.join(metaprojectRoot, "hooks", "README.md"), renderHooksReadme());
354666
354674
  await writeTextIfChanged4(path512.join(metaprojectRoot, "skills", "project-rules", "README.md"), renderProjectRulesSkillReadme({ sources: ruleSources }));
354667
- await writeRoutingEntrypointPair(metaprojectRoot, {
354668
- enableGdgraph,
354669
- enableGdctx,
354670
- enableGdwiki,
354671
- enableGdskills,
354672
- enableHealth,
354673
- enableTesting,
354674
- enableMemory,
354675
- enableTasks,
354676
- enableSecurity,
354677
- ruleSources,
354678
- hasDistilledEntrypoints: await hasDistilledEntrypoints(metaprojectRoot)
354679
- }, {
354680
- intent: "update",
354681
- steps: [rulesReadmeStep(metaprojectRoot, "managed")],
354682
- ...options.resolution === undefined ? {} : { resolution: options.resolution },
354683
- onNotice: (line) => {
354684
- if (line.trim().length > 0) {
354685
- console.log(` ${line}`);
354675
+ let routingBlocked;
354676
+ try {
354677
+ await writeRoutingEntrypointPair(metaprojectRoot, {
354678
+ enableGdgraph,
354679
+ enableGdctx,
354680
+ enableGdwiki,
354681
+ enableGdskills,
354682
+ enableHealth,
354683
+ enableTesting,
354684
+ enableMemory,
354685
+ enableTasks,
354686
+ enableSecurity,
354687
+ ruleSources,
354688
+ hasDistilledEntrypoints: await hasDistilledEntrypoints(metaprojectRoot)
354689
+ }, {
354690
+ intent: "update",
354691
+ steps: [rulesReadmeStep(metaprojectRoot, "managed")],
354692
+ ...options.resolution === undefined ? {} : { resolution: options.resolution },
354693
+ onNotice: (line) => {
354694
+ if (line.trim().length > 0) {
354695
+ console.log(` ${line}`);
354696
+ }
354686
354697
  }
354687
- }
354688
- });
354698
+ });
354699
+ } catch (error) {
354700
+ if (!(error instanceof InstallPlanBlockedError))
354701
+ throw error;
354702
+ routingBlocked = error.message;
354703
+ }
354689
354704
  console.log(` ${await describeModelChoiceStatus(projectRoot)}`);
354690
354705
  await writeTextIfChanged4(path512.join(metaprojectRoot, "keryx-dashboard.html"), renderMetaprojectDashboardHtml({
354691
354706
  enableGdgraph,
@@ -354870,7 +354885,8 @@ async function refreshServiceFiles(projectRoot, options) {
354870
354885
  hookWarnings,
354871
354886
  entrypointNotices,
354872
354887
  backfilledTasks: backfillTasks,
354873
- recoveredManifest
354888
+ recoveredManifest,
354889
+ ...routingBlocked === undefined ? {} : { routingBlocked }
354874
354890
  };
354875
354891
  }
354876
354892
  async function buildDashboard(projectRoot = process.cwd()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.4.30",
3
+ "version": "0.4.31",
4
4
  "description": "Version-controlled project context for AI coding agents: code graph, architecture wiki, project memory, relevant tests, quality signals, and task flows.",
5
5
  "private": false,
6
6
  "publishConfig": {