@mrciphersmith/keryx 0.2.133 → 0.2.135

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 (3) hide show
  1. package/dist/cli.js +5191 -5073
  2. package/dist/core.js +13 -1
  3. package/package.json +1 -1
package/dist/core.js CHANGED
@@ -10949,6 +10949,17 @@ async function listFlowDirs(cwd) {
10949
10949
  function flowIdOf(dir) {
10950
10950
  return dir.slice(0, 3);
10951
10951
  }
10952
+ function duplicateFlowIds(ids) {
10953
+ const seen = new Set;
10954
+ const duplicates = new Set;
10955
+ for (const id of ids) {
10956
+ if (seen.has(id)) {
10957
+ duplicates.add(id);
10958
+ }
10959
+ seen.add(id);
10960
+ }
10961
+ return duplicates;
10962
+ }
10952
10963
  function groupFlowDirsById(dirs) {
10953
10964
  const groups = new Map;
10954
10965
  for (const dir of dirs) {
@@ -13404,7 +13415,8 @@ function createFlowService(deps) {
13404
13415
  });
13405
13416
  } catch {}
13406
13417
  }
13407
- return summaries;
13418
+ const shared = duplicateFlowIds(summaries.map((summary) => summary.id));
13419
+ return summaries.map((summary) => ({ ...summary, duplicateId: shared.has(summary.id) }));
13408
13420
  },
13409
13421
  async get({ cwd, id }) {
13410
13422
  return (await load(cwd, id)).flow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrciphersmith/keryx",
3
- "version": "0.2.133",
3
+ "version": "0.2.135",
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": {