topchester-ai 0.34.0 → 0.35.0

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/dist/bin.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as runTopchesterCli } from "./cli-jv4-Z3DZ.mjs";
2
+ import { t as runTopchesterCli } from "./cli-CGUyDhFW.mjs";
3
3
  //#region src/bin.ts
4
4
  await runTopchesterCli();
5
5
  //#endregion
@@ -6894,13 +6894,15 @@ async function syncKnowledgeBase(workspaceRoot, options = {}) {
6894
6894
  const queue = createL1QueueFile(queuedFiles, generatedAt);
6895
6895
  options.onProgress?.({ message: options.full ? "Writing full L1 sync queue and manifest..." : "Writing L1 sync queue and manifest..." });
6896
6896
  await writeFile(queuePath, `${JSON.stringify(queue, null, 2)}\n`);
6897
+ const dirtyFilePaths = new Set(dirtyFiles.map((file) => file.path));
6898
+ const currentEntryCount = options.full ? 0 : inventory.files.filter((file) => !dirtyFilePaths.has(file.path)).length;
6897
6899
  const l1 = {
6898
6900
  queued: queuedFiles.length,
6899
6901
  completed: 0,
6900
6902
  failed: 0,
6901
6903
  changed: 0,
6902
6904
  missing: 0,
6903
- currentEntries: 0
6905
+ currentEntries: currentEntryCount
6904
6906
  };
6905
6907
  await writeFile(manifestPath, `${JSON.stringify({
6906
6908
  name: "topchester-kb",
@@ -13677,4 +13679,4 @@ function formatDryRunSyncStatus(status) {
13677
13679
  //#endregion
13678
13680
  export { runTopchesterCli as t };
13679
13681
 
13680
- //# sourceMappingURL=cli-jv4-Z3DZ.mjs.map
13682
+ //# sourceMappingURL=cli-CGUyDhFW.mjs.map