codebase-snapshot 0.12.2 → 0.12.3

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/CHANGELOG.md CHANGED
@@ -26,6 +26,23 @@ deprecated with an explanatory message instead. `latest` has pointed at 0.9.0 si
26
26
 
27
27
  ---
28
28
 
29
+ ## 0.12.3
30
+
31
+ A read of what the tool says, rather than what it does.
32
+
33
+ - **Drift named the digest instead of the cause.** Editing the brief produced "the settings differ
34
+ (run generate)" and nothing else. `validate` compares `promptTask` and the brief digest directly
35
+ now: "brief: brief.md changed since this snapshot was generated", and "promptTask: manifest audit
36
+ vs current review". The generic line stays, because it is still true.
37
+ - **The digest explanation was incomplete.** `diff` said the digest covers "budgets, preview
38
+ thresholds, redaction rules and artifact selection"; it also covers the prompt task and the owner
39
+ brief since 0.12.0.
40
+ - **Singular counts read as plurals.** "1 path(s) were found; 1 are in the parts", "1 file(s) are
41
+ emitted as head/tail previews", "1 route(s)", "1 handler(s)", "1 file(s), 39 % of the included
42
+ bytes" - the plural is chosen now, the same way the part plan already did.
43
+
44
+ No behaviour changes beyond the words. Verified: 1 178 tests, 1 170 pass, 0 fail, 8 host skips;
45
+ lint 225 files; every gate clean at 0.12.3.
29
46
  ## 0.12.2
30
47
 
31
48
  Six defects in the brief, five of them found by attacking it rather than reading it.
package/README.md CHANGED
@@ -210,7 +210,7 @@ Everything an agent needs is available as data, and the tool can install its own
210
210
  ```bash
211
211
  npx codebase-snapshot describe --format json # contract: workflow, options, exit codes
212
212
  npx codebase-snapshot skill --install # into .claude/skills + .cursor/rules
213
- npx -y codebase-snapshot@0.12.2 mcp # or serve it over MCP
213
+ npx -y codebase-snapshot@0.12.3 mcp # or serve it over MCP
214
214
  ```
215
215
 
216
216
  An agent told only "use `npx codebase-snapshot`" can read the contract, follow its ordered
package/dist/bin.js CHANGED
@@ -2191,7 +2191,7 @@ function applySpansKeepingQuotes(line, spans) {
2191
2191
 
2192
2192
  // src/version.ts
2193
2193
  var GENERATOR_NAME = "codebase-snapshot";
2194
- var GENERATOR_VERSION = "0.12.2";
2194
+ var GENERATOR_VERSION = "0.12.3";
2195
2195
  var SCHEMA_VERSION = "3.0.0";
2196
2196
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
2197
2197
  function isOurGeneratorName(name) {
@@ -6891,6 +6891,20 @@ function validateSnapshot(configInput) {
6891
6891
  `withDependents: manifest ${Boolean(recorded.withDependents)} vs current ${Boolean(config.withDependents)}`
6892
6892
  );
6893
6893
  }
6894
+ const recordedTask = recorded.promptTask;
6895
+ if (recordedTask !== void 0 && recordedTask !== config.promptTask) {
6896
+ drift.configMismatches.push(
6897
+ `promptTask: manifest ${String(recordedTask)} vs current ${config.promptTask}`
6898
+ );
6899
+ }
6900
+ const recordedBrief = recorded.brief;
6901
+ const recordedBriefDigest = recordedBrief !== void 0 && typeof recordedBrief.digest === "string" ? recordedBrief.digest : void 0;
6902
+ const currentBriefDigest = config.brief?.digest;
6903
+ if (recordedBriefDigest !== currentBriefDigest) {
6904
+ drift.configMismatches.push(
6905
+ recordedBriefDigest === void 0 ? "brief: none recorded vs current " + String(config.brief?.path) : currentBriefDigest === void 0 ? "brief: manifest " + String(recordedBrief?.path) + " vs current none" : "brief: " + String(recordedBrief?.path) + " changed since this snapshot was generated"
6906
+ );
6907
+ }
6894
6908
  const effectiveDiscovery = config.discovery ?? "auto";
6895
6909
  const recordedDiscovery = recorded.discovery;
6896
6910
  if (recordedDiscovery !== void 0 && recordedDiscovery !== effectiveDiscovery) {
@@ -7271,7 +7285,7 @@ function describePayloadDiff(before, after, sourceFilesIdentical, secretRules) {
7271
7285
  if (digestDiffers) {
7272
7286
  codes.push("config-digest");
7273
7287
  reasons.push(
7274
- `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules and artifact selection all count)`
7288
+ `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules, artifact selection, the prompt task and the owner brief all count)`
7275
7289
  );
7276
7290
  } else if (digestBefore === null || digestAfter === null) {
7277
7291
  const missing = digestBefore === null && digestAfter !== null ? "before" : digestAfter === null && digestBefore !== null ? "after" : "both";
@@ -10131,9 +10145,17 @@ function systemSection(manifest, code, brief, escape) {
10131
10145
  );
10132
10146
  } else {
10133
10147
  const parts = [];
10134
- if (routes > 0) parts.push(formatNumber(routes) + " route(s), e.g. " + routesShown.join(", "));
10135
- if (handlers > 0) parts.push(formatNumber(handlers) + " handler(s)");
10136
- if (components > 0) parts.push(formatNumber(components) + " component(s), e.g. " + componentsShown.join(", "));
10148
+ if (routes > 0) {
10149
+ parts.push(
10150
+ formatNumber(routes) + (routes === 1 ? " route" : " routes") + ", e.g. " + routesShown.join(", ")
10151
+ );
10152
+ }
10153
+ if (handlers > 0) parts.push(formatNumber(handlers) + (handlers === 1 ? " handler" : " handlers"));
10154
+ if (components > 0) {
10155
+ parts.push(
10156
+ formatNumber(components) + (components === 1 ? " component" : " components") + ", e.g. " + componentsShown.join(", ")
10157
+ );
10158
+ }
10137
10159
  out.push("- Surfaces the index found: " + parts.join("; ") + ".");
10138
10160
  }
10139
10161
  const largest = [...manifest.files].sort((a, b) => b.includedBytes - a.includedBytes).slice(0, MAX_LARGEST_FILES);
@@ -10150,7 +10172,7 @@ function systemSection(manifest, code, brief, escape) {
10150
10172
  const allBytes = manifest.files.reduce((total, file) => total + file.includedBytes, 0);
10151
10173
  const share = allBytes === 0 ? 0 : Math.round(testBytes / allBytes * 100);
10152
10174
  out.push(
10153
- "- Tests: " + formatNumber(tests.length) + " file(s), " + share + "% of the included bytes.",
10175
+ "- Tests: " + formatNumber(tests.length) + (tests.length === 1 ? " file, " : " files, ") + share + "% of the included bytes.",
10154
10176
  " They are evidence of intent, not of behaviour: a fixture can encode a payload shape the",
10155
10177
  " real system never sends."
10156
10178
  );
@@ -10207,8 +10229,11 @@ function coverageSection(manifest, code, auditWritten) {
10207
10229
  reasons.set(record.reason, (reasons.get(record.reason) ?? 0) + 1);
10208
10230
  }
10209
10231
  const tally = [...reasons.entries()].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).map(([reason, count]) => code(reason) + " " + formatNumber(count)).join(", ");
10232
+ const found = manifest.totals.candidateFiles;
10233
+ const included = manifest.totals.includedFiles;
10234
+ const skipped = manifest.counts.skippedCount;
10210
10235
  out.push(
10211
- "- " + formatNumber(manifest.totals.candidateFiles) + " path(s) were found; " + formatNumber(manifest.totals.includedFiles) + " are in the parts and " + formatNumber(manifest.counts.skippedCount) + " were skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
10236
+ "- " + formatNumber(found) + (found === 1 ? " path was" : " paths were") + " found; " + formatNumber(included) + (included === 1 ? " is" : " are") + " in the parts and " + formatNumber(skipped) + (skipped === 1 ? " was" : " were") + " skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
10212
10237
  " `manifest.skipped[]` names each one and why. An absent path is not a clean path."
10213
10238
  );
10214
10239
  out.push(...incompleteSection(manifest, code));
@@ -12677,7 +12702,7 @@ function generateSnapshot(configInput, options) {
12677
12702
  const shown = previewSummaryPaths.slice(0, ENCODING_PATHS_SHOWN).map((entry) => maskPathText(entry, config.secretRules));
12678
12703
  const hidden = previewSummaryPaths.length - ENCODING_PATHS_SHOWN;
12679
12704
  warnings.push(
12680
- `${previewSummaryPaths.length} file(s) are emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12705
+ `${previewSummaryPaths.length} ${previewSummaryPaths.length === 1 ? "file is" : "files are"} emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12681
12706
  );
12682
12707
  }
12683
12708
  if (oversizeSummaryPaths.length > 0) {
@@ -3993,7 +3993,7 @@ function applySpansKeepingQuotes(line, spans) {
3993
3993
 
3994
3994
  // src/version.ts
3995
3995
  var GENERATOR_NAME = "codebase-snapshot";
3996
- var GENERATOR_VERSION = "0.12.2";
3996
+ var GENERATOR_VERSION = "0.12.3";
3997
3997
  var SCHEMA_VERSION = "3.0.0";
3998
3998
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
3999
3999
  function isOurGeneratorName(name) {
@@ -7057,9 +7057,17 @@ function systemSection(manifest, code, brief, escape) {
7057
7057
  );
7058
7058
  } else {
7059
7059
  const parts = [];
7060
- if (routes > 0) parts.push(formatNumber(routes) + " route(s), e.g. " + routesShown.join(", "));
7061
- if (handlers > 0) parts.push(formatNumber(handlers) + " handler(s)");
7062
- if (components > 0) parts.push(formatNumber(components) + " component(s), e.g. " + componentsShown.join(", "));
7060
+ if (routes > 0) {
7061
+ parts.push(
7062
+ formatNumber(routes) + (routes === 1 ? " route" : " routes") + ", e.g. " + routesShown.join(", ")
7063
+ );
7064
+ }
7065
+ if (handlers > 0) parts.push(formatNumber(handlers) + (handlers === 1 ? " handler" : " handlers"));
7066
+ if (components > 0) {
7067
+ parts.push(
7068
+ formatNumber(components) + (components === 1 ? " component" : " components") + ", e.g. " + componentsShown.join(", ")
7069
+ );
7070
+ }
7063
7071
  out.push("- Surfaces the index found: " + parts.join("; ") + ".");
7064
7072
  }
7065
7073
  const largest = [...manifest.files].sort((a, b) => b.includedBytes - a.includedBytes).slice(0, MAX_LARGEST_FILES);
@@ -7076,7 +7084,7 @@ function systemSection(manifest, code, brief, escape) {
7076
7084
  const allBytes = manifest.files.reduce((total, file) => total + file.includedBytes, 0);
7077
7085
  const share = allBytes === 0 ? 0 : Math.round(testBytes / allBytes * 100);
7078
7086
  out.push(
7079
- "- Tests: " + formatNumber(tests.length) + " file(s), " + share + "% of the included bytes.",
7087
+ "- Tests: " + formatNumber(tests.length) + (tests.length === 1 ? " file, " : " files, ") + share + "% of the included bytes.",
7080
7088
  " They are evidence of intent, not of behaviour: a fixture can encode a payload shape the",
7081
7089
  " real system never sends."
7082
7090
  );
@@ -7133,8 +7141,11 @@ function coverageSection(manifest, code, auditWritten) {
7133
7141
  reasons.set(record.reason, (reasons.get(record.reason) ?? 0) + 1);
7134
7142
  }
7135
7143
  const tally = [...reasons.entries()].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).map(([reason, count]) => code(reason) + " " + formatNumber(count)).join(", ");
7144
+ const found = manifest.totals.candidateFiles;
7145
+ const included = manifest.totals.includedFiles;
7146
+ const skipped = manifest.counts.skippedCount;
7136
7147
  out.push(
7137
- "- " + formatNumber(manifest.totals.candidateFiles) + " path(s) were found; " + formatNumber(manifest.totals.includedFiles) + " are in the parts and " + formatNumber(manifest.counts.skippedCount) + " were skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
7148
+ "- " + formatNumber(found) + (found === 1 ? " path was" : " paths were") + " found; " + formatNumber(included) + (included === 1 ? " is" : " are") + " in the parts and " + formatNumber(skipped) + (skipped === 1 ? " was" : " were") + " skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
7138
7149
  " `manifest.skipped[]` names each one and why. An absent path is not a clean path."
7139
7150
  );
7140
7151
  out.push(...incompleteSection(manifest, code));
@@ -8710,6 +8721,20 @@ function validateSnapshot(configInput) {
8710
8721
  `withDependents: manifest ${Boolean(recorded.withDependents)} vs current ${Boolean(config.withDependents)}`
8711
8722
  );
8712
8723
  }
8724
+ const recordedTask = recorded.promptTask;
8725
+ if (recordedTask !== void 0 && recordedTask !== config.promptTask) {
8726
+ drift.configMismatches.push(
8727
+ `promptTask: manifest ${String(recordedTask)} vs current ${config.promptTask}`
8728
+ );
8729
+ }
8730
+ const recordedBrief = recorded.brief;
8731
+ const recordedBriefDigest = recordedBrief !== void 0 && typeof recordedBrief.digest === "string" ? recordedBrief.digest : void 0;
8732
+ const currentBriefDigest = config.brief?.digest;
8733
+ if (recordedBriefDigest !== currentBriefDigest) {
8734
+ drift.configMismatches.push(
8735
+ recordedBriefDigest === void 0 ? "brief: none recorded vs current " + String(config.brief?.path) : currentBriefDigest === void 0 ? "brief: manifest " + String(recordedBrief?.path) + " vs current none" : "brief: " + String(recordedBrief?.path) + " changed since this snapshot was generated"
8736
+ );
8737
+ }
8713
8738
  const effectiveDiscovery = config.discovery ?? "auto";
8714
8739
  const recordedDiscovery = recorded.discovery;
8715
8740
  if (recordedDiscovery !== void 0 && recordedDiscovery !== effectiveDiscovery) {
@@ -9511,7 +9536,7 @@ function describePayloadDiff(before, after, sourceFilesIdentical, secretRules) {
9511
9536
  if (digestDiffers) {
9512
9537
  codes.push("config-digest");
9513
9538
  reasons.push(
9514
- `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules and artifact selection all count)`
9539
+ `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules, artifact selection, the prompt task and the owner brief all count)`
9515
9540
  );
9516
9541
  } else if (digestBefore === null || digestAfter === null) {
9517
9542
  const missing = digestBefore === null && digestAfter !== null ? "before" : digestAfter === null && digestBefore !== null ? "after" : "both";
@@ -12653,7 +12678,7 @@ function generateSnapshot(configInput, options) {
12653
12678
  const shown = previewSummaryPaths.slice(0, ENCODING_PATHS_SHOWN).map((entry) => maskPathText(entry, config.secretRules));
12654
12679
  const hidden = previewSummaryPaths.length - ENCODING_PATHS_SHOWN;
12655
12680
  warnings.push(
12656
- `${previewSummaryPaths.length} file(s) are emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12681
+ `${previewSummaryPaths.length} ${previewSummaryPaths.length === 1 ? "file is" : "files are"} emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12657
12682
  );
12658
12683
  }
12659
12684
  if (oversizeSummaryPaths.length > 0) {
@@ -1,4 +1,4 @@
1
- import { GENERATOR_VERSION, anchorForPath, displayPath, MIN_MAX_PART_BYTES, SCHEMA_VERSION, GENERATOR_NAME, ARTIFACT_NAMES, PRESETS, generateInWorker, validateSnapshot, buildImportResolver, resolveSpecifier, truncateToBytes, explainPath, renderExplainText, describeManifestShapeProblem, loadConfigFileDetailed, parseByteSize, resolveConfig } from './chunk-74ZAF64D.js';
1
+ import { GENERATOR_VERSION, anchorForPath, displayPath, MIN_MAX_PART_BYTES, SCHEMA_VERSION, GENERATOR_NAME, ARTIFACT_NAMES, PRESETS, generateInWorker, validateSnapshot, buildImportResolver, resolveSpecifier, truncateToBytes, explainPath, renderExplainText, describeManifestShapeProblem, loadConfigFileDetailed, parseByteSize, resolveConfig } from './chunk-DEFKIYRZ.js';
2
2
  import * as fs from 'fs';
3
3
  import * as path from 'path';
4
4
 
package/dist/cli.cjs CHANGED
@@ -2220,7 +2220,7 @@ function applySpansKeepingQuotes(line, spans) {
2220
2220
 
2221
2221
  // src/version.ts
2222
2222
  var GENERATOR_NAME = "codebase-snapshot";
2223
- var GENERATOR_VERSION = "0.12.2";
2223
+ var GENERATOR_VERSION = "0.12.3";
2224
2224
  var SCHEMA_VERSION = "3.0.0";
2225
2225
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
2226
2226
  function isOurGeneratorName(name) {
@@ -6887,6 +6887,20 @@ function validateSnapshot(configInput) {
6887
6887
  `withDependents: manifest ${Boolean(recorded.withDependents)} vs current ${Boolean(config.withDependents)}`
6888
6888
  );
6889
6889
  }
6890
+ const recordedTask = recorded.promptTask;
6891
+ if (recordedTask !== void 0 && recordedTask !== config.promptTask) {
6892
+ drift.configMismatches.push(
6893
+ `promptTask: manifest ${String(recordedTask)} vs current ${config.promptTask}`
6894
+ );
6895
+ }
6896
+ const recordedBrief = recorded.brief;
6897
+ const recordedBriefDigest = recordedBrief !== void 0 && typeof recordedBrief.digest === "string" ? recordedBrief.digest : void 0;
6898
+ const currentBriefDigest = config.brief?.digest;
6899
+ if (recordedBriefDigest !== currentBriefDigest) {
6900
+ drift.configMismatches.push(
6901
+ recordedBriefDigest === void 0 ? "brief: none recorded vs current " + String(config.brief?.path) : currentBriefDigest === void 0 ? "brief: manifest " + String(recordedBrief?.path) + " vs current none" : "brief: " + String(recordedBrief?.path) + " changed since this snapshot was generated"
6902
+ );
6903
+ }
6890
6904
  const effectiveDiscovery = config.discovery ?? "auto";
6891
6905
  const recordedDiscovery = recorded.discovery;
6892
6906
  if (recordedDiscovery !== void 0 && recordedDiscovery !== effectiveDiscovery) {
@@ -7267,7 +7281,7 @@ function describePayloadDiff(before, after, sourceFilesIdentical, secretRules) {
7267
7281
  if (digestDiffers) {
7268
7282
  codes.push("config-digest");
7269
7283
  reasons.push(
7270
- `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules and artifact selection all count)`
7284
+ `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules, artifact selection, the prompt task and the owner brief all count)`
7271
7285
  );
7272
7286
  } else if (digestBefore === null || digestAfter === null) {
7273
7287
  const missing = digestBefore === null && digestAfter !== null ? "before" : digestAfter === null && digestBefore !== null ? "after" : "both";
@@ -10079,9 +10093,17 @@ function systemSection(manifest, code, brief, escape) {
10079
10093
  );
10080
10094
  } else {
10081
10095
  const parts = [];
10082
- if (routes > 0) parts.push(formatNumber(routes) + " route(s), e.g. " + routesShown.join(", "));
10083
- if (handlers > 0) parts.push(formatNumber(handlers) + " handler(s)");
10084
- if (components > 0) parts.push(formatNumber(components) + " component(s), e.g. " + componentsShown.join(", "));
10096
+ if (routes > 0) {
10097
+ parts.push(
10098
+ formatNumber(routes) + (routes === 1 ? " route" : " routes") + ", e.g. " + routesShown.join(", ")
10099
+ );
10100
+ }
10101
+ if (handlers > 0) parts.push(formatNumber(handlers) + (handlers === 1 ? " handler" : " handlers"));
10102
+ if (components > 0) {
10103
+ parts.push(
10104
+ formatNumber(components) + (components === 1 ? " component" : " components") + ", e.g. " + componentsShown.join(", ")
10105
+ );
10106
+ }
10085
10107
  out.push("- Surfaces the index found: " + parts.join("; ") + ".");
10086
10108
  }
10087
10109
  const largest = [...manifest.files].sort((a, b) => b.includedBytes - a.includedBytes).slice(0, MAX_LARGEST_FILES);
@@ -10098,7 +10120,7 @@ function systemSection(manifest, code, brief, escape) {
10098
10120
  const allBytes = manifest.files.reduce((total, file) => total + file.includedBytes, 0);
10099
10121
  const share = allBytes === 0 ? 0 : Math.round(testBytes / allBytes * 100);
10100
10122
  out.push(
10101
- "- Tests: " + formatNumber(tests.length) + " file(s), " + share + "% of the included bytes.",
10123
+ "- Tests: " + formatNumber(tests.length) + (tests.length === 1 ? " file, " : " files, ") + share + "% of the included bytes.",
10102
10124
  " They are evidence of intent, not of behaviour: a fixture can encode a payload shape the",
10103
10125
  " real system never sends."
10104
10126
  );
@@ -10155,8 +10177,11 @@ function coverageSection(manifest, code, auditWritten) {
10155
10177
  reasons.set(record.reason, (reasons.get(record.reason) ?? 0) + 1);
10156
10178
  }
10157
10179
  const tally = [...reasons.entries()].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).map(([reason, count]) => code(reason) + " " + formatNumber(count)).join(", ");
10180
+ const found = manifest.totals.candidateFiles;
10181
+ const included = manifest.totals.includedFiles;
10182
+ const skipped = manifest.counts.skippedCount;
10158
10183
  out.push(
10159
- "- " + formatNumber(manifest.totals.candidateFiles) + " path(s) were found; " + formatNumber(manifest.totals.includedFiles) + " are in the parts and " + formatNumber(manifest.counts.skippedCount) + " were skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
10184
+ "- " + formatNumber(found) + (found === 1 ? " path was" : " paths were") + " found; " + formatNumber(included) + (included === 1 ? " is" : " are") + " in the parts and " + formatNumber(skipped) + (skipped === 1 ? " was" : " were") + " skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
10160
10185
  " `manifest.skipped[]` names each one and why. An absent path is not a clean path."
10161
10186
  );
10162
10187
  out.push(...incompleteSection(manifest, code));
@@ -12603,7 +12628,7 @@ function generateSnapshot(configInput, options) {
12603
12628
  const shown = previewSummaryPaths.slice(0, ENCODING_PATHS_SHOWN).map((entry) => maskPathText(entry, config.secretRules));
12604
12629
  const hidden = previewSummaryPaths.length - ENCODING_PATHS_SHOWN;
12605
12630
  warnings.push(
12606
- `${previewSummaryPaths.length} file(s) are emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12631
+ `${previewSummaryPaths.length} ${previewSummaryPaths.length === 1 ? "file is" : "files are"} emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12607
12632
  );
12608
12633
  }
12609
12634
  if (oversizeSummaryPaths.length > 0) {
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
- import { buildAgentContract, runStdioServer, COMMAND_OPTION_SCOPE, commandsForOption, SKILL_NAME, renderSkill, renderContractText } from './chunk-BITMWXYS.js';
2
- export { buildAgentContract } from './chunk-BITMWXYS.js';
3
- import { shouldCheck, checkForUpdate, GENERATOR_VERSION, cacheFilePath, formatUpdateNotice, installKind, loadConfigFileDetailed, resolveConfig, validateSnapshot, describeManifestShapeProblem, explainPath, compareManifests, loadManifest, renderDiffText, generateSnapshot, formatNumber, isDiscoveryMode, ARTIFACT_NAMES, getPreset, unknownPresetMessage, GENERATOR_NAME, runInit, installPreCommitHook, PromptCancelled, findConfigFile, planFirstRun, isEffectivelyEmpty, isInteractive, defaultIO, hasPriorSnapshot, DEFAULT_ANSWERS, firstRunMessage, stripJsonComments, parseByteSize, gitignorePath, appendGitignoreEntries, runWithStdoutCapture, escapeControls, MIN_MAX_PART_TOKENS, MIN_MAX_PART_BYTES, renderExplainText } from './chunk-74ZAF64D.js';
1
+ import { buildAgentContract, runStdioServer, COMMAND_OPTION_SCOPE, commandsForOption, SKILL_NAME, renderSkill, renderContractText } from './chunk-GIWY4HXZ.js';
2
+ export { buildAgentContract } from './chunk-GIWY4HXZ.js';
3
+ import { shouldCheck, checkForUpdate, GENERATOR_VERSION, cacheFilePath, formatUpdateNotice, installKind, loadConfigFileDetailed, resolveConfig, validateSnapshot, describeManifestShapeProblem, explainPath, compareManifests, loadManifest, renderDiffText, generateSnapshot, formatNumber, isDiscoveryMode, ARTIFACT_NAMES, getPreset, unknownPresetMessage, GENERATOR_NAME, runInit, installPreCommitHook, PromptCancelled, findConfigFile, planFirstRun, isEffectivelyEmpty, isInteractive, defaultIO, hasPriorSnapshot, DEFAULT_ANSWERS, firstRunMessage, stripJsonComments, parseByteSize, gitignorePath, appendGitignoreEntries, runWithStdoutCapture, escapeControls, MIN_MAX_PART_TOKENS, MIN_MAX_PART_BYTES, renderExplainText } from './chunk-DEFKIYRZ.js';
4
4
  import { spawnSync } from 'child_process';
5
5
  import * as fs from 'fs';
6
6
  import * as path2 from 'path';
package/dist/index.cjs CHANGED
@@ -4010,7 +4010,7 @@ function applySpansKeepingQuotes(line, spans) {
4010
4010
 
4011
4011
  // src/version.ts
4012
4012
  var GENERATOR_NAME = "codebase-snapshot";
4013
- var GENERATOR_VERSION = "0.12.2";
4013
+ var GENERATOR_VERSION = "0.12.3";
4014
4014
  var SCHEMA_VERSION = "3.0.0";
4015
4015
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
4016
4016
  function isOurGeneratorName(name) {
@@ -7052,9 +7052,17 @@ function systemSection(manifest, code, brief, escape) {
7052
7052
  );
7053
7053
  } else {
7054
7054
  const parts = [];
7055
- if (routes > 0) parts.push(formatNumber(routes) + " route(s), e.g. " + routesShown.join(", "));
7056
- if (handlers > 0) parts.push(formatNumber(handlers) + " handler(s)");
7057
- if (components > 0) parts.push(formatNumber(components) + " component(s), e.g. " + componentsShown.join(", "));
7055
+ if (routes > 0) {
7056
+ parts.push(
7057
+ formatNumber(routes) + (routes === 1 ? " route" : " routes") + ", e.g. " + routesShown.join(", ")
7058
+ );
7059
+ }
7060
+ if (handlers > 0) parts.push(formatNumber(handlers) + (handlers === 1 ? " handler" : " handlers"));
7061
+ if (components > 0) {
7062
+ parts.push(
7063
+ formatNumber(components) + (components === 1 ? " component" : " components") + ", e.g. " + componentsShown.join(", ")
7064
+ );
7065
+ }
7058
7066
  out.push("- Surfaces the index found: " + parts.join("; ") + ".");
7059
7067
  }
7060
7068
  const largest = [...manifest.files].sort((a, b) => b.includedBytes - a.includedBytes).slice(0, MAX_LARGEST_FILES);
@@ -7071,7 +7079,7 @@ function systemSection(manifest, code, brief, escape) {
7071
7079
  const allBytes = manifest.files.reduce((total, file) => total + file.includedBytes, 0);
7072
7080
  const share = allBytes === 0 ? 0 : Math.round(testBytes / allBytes * 100);
7073
7081
  out.push(
7074
- "- Tests: " + formatNumber(tests.length) + " file(s), " + share + "% of the included bytes.",
7082
+ "- Tests: " + formatNumber(tests.length) + (tests.length === 1 ? " file, " : " files, ") + share + "% of the included bytes.",
7075
7083
  " They are evidence of intent, not of behaviour: a fixture can encode a payload shape the",
7076
7084
  " real system never sends."
7077
7085
  );
@@ -7128,8 +7136,11 @@ function coverageSection(manifest, code, auditWritten) {
7128
7136
  reasons.set(record.reason, (reasons.get(record.reason) ?? 0) + 1);
7129
7137
  }
7130
7138
  const tally = [...reasons.entries()].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).map(([reason, count]) => code(reason) + " " + formatNumber(count)).join(", ");
7139
+ const found = manifest.totals.candidateFiles;
7140
+ const included = manifest.totals.includedFiles;
7141
+ const skipped = manifest.counts.skippedCount;
7131
7142
  out.push(
7132
- "- " + formatNumber(manifest.totals.candidateFiles) + " path(s) were found; " + formatNumber(manifest.totals.includedFiles) + " are in the parts and " + formatNumber(manifest.counts.skippedCount) + " were skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
7143
+ "- " + formatNumber(found) + (found === 1 ? " path was" : " paths were") + " found; " + formatNumber(included) + (included === 1 ? " is" : " are") + " in the parts and " + formatNumber(skipped) + (skipped === 1 ? " was" : " were") + " skipped" + (tally.length > 0 ? " (" + tally + ")" : "") + ".",
7133
7144
  " `manifest.skipped[]` names each one and why. An absent path is not a clean path."
7134
7145
  );
7135
7146
  out.push(...incompleteSection(manifest, code));
@@ -8705,6 +8716,20 @@ function validateSnapshot(configInput) {
8705
8716
  `withDependents: manifest ${Boolean(recorded.withDependents)} vs current ${Boolean(config.withDependents)}`
8706
8717
  );
8707
8718
  }
8719
+ const recordedTask = recorded.promptTask;
8720
+ if (recordedTask !== void 0 && recordedTask !== config.promptTask) {
8721
+ drift.configMismatches.push(
8722
+ `promptTask: manifest ${String(recordedTask)} vs current ${config.promptTask}`
8723
+ );
8724
+ }
8725
+ const recordedBrief = recorded.brief;
8726
+ const recordedBriefDigest = recordedBrief !== void 0 && typeof recordedBrief.digest === "string" ? recordedBrief.digest : void 0;
8727
+ const currentBriefDigest = config.brief?.digest;
8728
+ if (recordedBriefDigest !== currentBriefDigest) {
8729
+ drift.configMismatches.push(
8730
+ recordedBriefDigest === void 0 ? "brief: none recorded vs current " + String(config.brief?.path) : currentBriefDigest === void 0 ? "brief: manifest " + String(recordedBrief?.path) + " vs current none" : "brief: " + String(recordedBrief?.path) + " changed since this snapshot was generated"
8731
+ );
8732
+ }
8708
8733
  const effectiveDiscovery = config.discovery ?? "auto";
8709
8734
  const recordedDiscovery = recorded.discovery;
8710
8735
  if (recordedDiscovery !== void 0 && recordedDiscovery !== effectiveDiscovery) {
@@ -9506,7 +9531,7 @@ function describePayloadDiff(before, after, sourceFilesIdentical, secretRules) {
9506
9531
  if (digestDiffers) {
9507
9532
  codes.push("config-digest");
9508
9533
  reasons.push(
9509
- `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules and artifact selection all count)`
9534
+ `configuration digest ${shortDigest(digestBefore)} \u2192 ${shortDigest(digestAfter)} (budgets, preview thresholds, redaction rules, artifact selection, the prompt task and the owner brief all count)`
9510
9535
  );
9511
9536
  } else if (digestBefore === null || digestAfter === null) {
9512
9537
  const missing = digestBefore === null && digestAfter !== null ? "before" : digestAfter === null && digestBefore !== null ? "after" : "both";
@@ -12555,7 +12580,7 @@ function generateSnapshot(configInput, options) {
12555
12580
  const shown = previewSummaryPaths.slice(0, ENCODING_PATHS_SHOWN).map((entry) => maskPathText(entry, config.secretRules));
12556
12581
  const hidden = previewSummaryPaths.length - ENCODING_PATHS_SHOWN;
12557
12582
  warnings.push(
12558
- `${previewSummaryPaths.length} file(s) are emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12583
+ `${previewSummaryPaths.length} ${previewSummaryPaths.length === 1 ? "file is" : "files are"} emitted as head/tail previews and were not parsed for a structural summary: ${shown.join(", ")}${hidden > 0 ? ` and ${hidden} more` : ""}. A whole-file summary would describe lines the snapshot does not carry; \`explain <path>\` names the preview budget.`
12559
12584
  );
12560
12585
  }
12561
12586
  if (oversizeSummaryPaths.length > 0) {
package/dist/index.d.cts CHANGED
@@ -548,7 +548,7 @@ declare function validateSnapshot(configInput: ResolvedSnapshotConfig | Snapshot
548
548
  * `package.json` carries the same version; `npm run verify` compares the two.
549
549
  */
550
550
  declare const GENERATOR_NAME = "codebase-snapshot";
551
- declare const GENERATOR_VERSION = "0.12.2";
551
+ declare const GENERATOR_VERSION = "0.12.3";
552
552
  /**
553
553
  * The manifest and ownership-marker schema this build writes and understands.
554
554
  *
package/dist/index.d.ts CHANGED
@@ -548,7 +548,7 @@ declare function validateSnapshot(configInput: ResolvedSnapshotConfig | Snapshot
548
548
  * `package.json` carries the same version; `npm run verify` compares the two.
549
549
  */
550
550
  declare const GENERATOR_NAME = "codebase-snapshot";
551
- declare const GENERATOR_VERSION = "0.12.2";
551
+ declare const GENERATOR_VERSION = "0.12.3";
552
552
  /**
553
553
  * The manifest and ownership-marker schema this build writes and understands.
554
554
  *
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { ARTIFACT_NAMES, CHECK_INTERVAL_MS, CONFIG_KEYS, DEFAULT_ANSWERS, DEFAULT_SECRET_PATTERNS, FAILURE_INTERVAL_MS, GENERATOR_NAME, GENERATOR_VERSION, HOOK_MARKER, LANGUAGE_PROFILES, MIN_MAX_PART_BYTES, MIN_MAX_PART_TOKENS, PACKAGE_LATEST_URL, PRESETS, PromptBack, PromptCancelled, REQUEST_TIMEOUT_MS, SCHEMA_VERSION, UP_TO_DATE_INTERVAL_MS, anchorForPath, appendGitignoreEntries, assertReplaceable, assertUsableConfigInput, buildImportResolver, bytesForTokens, cacheDirectory, cacheFilePath, checkForUpdate, classifyKind, classifyLayer, collectFiles, compareManifests, configDigest, countInvalidUtf8Bytes, countLines, decodeText, defineConfig, detectLanguage, detectPreset, displayPath, displayWidth, enforceBudget, estimateTokens, explainPath, fenceForContent, fenceForText, fetchLatestVersion, findSecretInPath, firstRunMessage, formatTokens, formatUpdateNotice, generateProjectTree, generateSarifReport, generateSnapshot, generateSnapshotAsync, getGitInfo, getPreset, gitignorePath, globToRegExp, hasPriorSnapshot, importsChangedFile, importsOfFile, importsOfText, installKind, installPreCommitHook, isBinaryBuffer, isBinaryExtension, isBinaryFile, isEffectivelyEmpty, isInteractive, isNewer, isResolvedConfig, isSensitivePath, isSkeletonizable, isTsxFileName, listPresetNames, loadConfigFile, loadConfigFileDetailed, loadManifest, lockPathFor, markResolvedConfig, matchRule, matchesExclude, normalizeResolvedConfig, parseByteSize, partitionFiles, planFirstRun, profileForPath, renderConfig, renderDiffText, renderExplainText, renumberParts, resolveChangedScope, resolveConfig, resolveSafeOutputDirs, resolveSpecifier, runInit, scanAndRedactSecrets, shouldCheck, skeletonizeTypeScript, stripJsonComments, summarizeJson, summarizeMarkdown, summarizeTypeScriptSource, summarizeWithProfile, supportsTypeScriptImports, treeTruncationWarnings, truncatePreview, truncateToBytes, tsconfigPathsFor, updateCommand, validateSnapshot, workerEntry, wrapLines } from './chunk-74ZAF64D.js';
1
+ export { ARTIFACT_NAMES, CHECK_INTERVAL_MS, CONFIG_KEYS, DEFAULT_ANSWERS, DEFAULT_SECRET_PATTERNS, FAILURE_INTERVAL_MS, GENERATOR_NAME, GENERATOR_VERSION, HOOK_MARKER, LANGUAGE_PROFILES, MIN_MAX_PART_BYTES, MIN_MAX_PART_TOKENS, PACKAGE_LATEST_URL, PRESETS, PromptBack, PromptCancelled, REQUEST_TIMEOUT_MS, SCHEMA_VERSION, UP_TO_DATE_INTERVAL_MS, anchorForPath, appendGitignoreEntries, assertReplaceable, assertUsableConfigInput, buildImportResolver, bytesForTokens, cacheDirectory, cacheFilePath, checkForUpdate, classifyKind, classifyLayer, collectFiles, compareManifests, configDigest, countInvalidUtf8Bytes, countLines, decodeText, defineConfig, detectLanguage, detectPreset, displayPath, displayWidth, enforceBudget, estimateTokens, explainPath, fenceForContent, fenceForText, fetchLatestVersion, findSecretInPath, firstRunMessage, formatTokens, formatUpdateNotice, generateProjectTree, generateSarifReport, generateSnapshot, generateSnapshotAsync, getGitInfo, getPreset, gitignorePath, globToRegExp, hasPriorSnapshot, importsChangedFile, importsOfFile, importsOfText, installKind, installPreCommitHook, isBinaryBuffer, isBinaryExtension, isBinaryFile, isEffectivelyEmpty, isInteractive, isNewer, isResolvedConfig, isSensitivePath, isSkeletonizable, isTsxFileName, listPresetNames, loadConfigFile, loadConfigFileDetailed, loadManifest, lockPathFor, markResolvedConfig, matchRule, matchesExclude, normalizeResolvedConfig, parseByteSize, partitionFiles, planFirstRun, profileForPath, renderConfig, renderDiffText, renderExplainText, renumberParts, resolveChangedScope, resolveConfig, resolveSafeOutputDirs, resolveSpecifier, runInit, scanAndRedactSecrets, shouldCheck, skeletonizeTypeScript, stripJsonComments, summarizeJson, summarizeMarkdown, summarizeTypeScriptSource, summarizeWithProfile, supportsTypeScriptImports, treeTruncationWarnings, truncatePreview, truncateToBytes, tsconfigPathsFor, updateCommand, validateSnapshot, workerEntry, wrapLines } from './chunk-DEFKIYRZ.js';
package/dist/mcp.cjs CHANGED
@@ -2538,7 +2538,7 @@ function applySpansKeepingQuotes(line, spans) {
2538
2538
 
2539
2539
  // src/version.ts
2540
2540
  var GENERATOR_NAME = "codebase-snapshot";
2541
- var GENERATOR_VERSION = "0.12.2";
2541
+ var GENERATOR_VERSION = "0.12.3";
2542
2542
  var SCHEMA_VERSION = "3.0.0";
2543
2543
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
2544
2544
  function isOurGeneratorName(name) {
@@ -7024,6 +7024,20 @@ function validateSnapshot(configInput) {
7024
7024
  `withDependents: manifest ${Boolean(recorded.withDependents)} vs current ${Boolean(config.withDependents)}`
7025
7025
  );
7026
7026
  }
7027
+ const recordedTask = recorded.promptTask;
7028
+ if (recordedTask !== void 0 && recordedTask !== config.promptTask) {
7029
+ drift.configMismatches.push(
7030
+ `promptTask: manifest ${String(recordedTask)} vs current ${config.promptTask}`
7031
+ );
7032
+ }
7033
+ const recordedBrief = recorded.brief;
7034
+ const recordedBriefDigest = recordedBrief !== void 0 && typeof recordedBrief.digest === "string" ? recordedBrief.digest : void 0;
7035
+ const currentBriefDigest = config.brief?.digest;
7036
+ if (recordedBriefDigest !== currentBriefDigest) {
7037
+ drift.configMismatches.push(
7038
+ recordedBriefDigest === void 0 ? "brief: none recorded vs current " + String(config.brief?.path) : currentBriefDigest === void 0 ? "brief: manifest " + String(recordedBrief?.path) + " vs current none" : "brief: " + String(recordedBrief?.path) + " changed since this snapshot was generated"
7039
+ );
7040
+ }
7027
7041
  const effectiveDiscovery = config.discovery ?? "auto";
7028
7042
  const recordedDiscovery = recorded.discovery;
7029
7043
  if (recordedDiscovery !== void 0 && recordedDiscovery !== effectiveDiscovery) {
package/dist/mcp.js CHANGED
@@ -1,2 +1,2 @@
1
- export { ERROR_CODES, LEGACY_PROTOCOL_VERSIONS, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, inspectModernMeta, negotiateLegacyVersion, parsePartSections, runStdioServer, validateArguments, windowText } from './chunk-BITMWXYS.js';
2
- export { generateInWorker } from './chunk-74ZAF64D.js';
1
+ export { ERROR_CODES, LEGACY_PROTOCOL_VERSIONS, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, SERVER_INSTRUCTIONS, SUPPORTED_PROTOCOL_VERSIONS, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, inspectModernMeta, negotiateLegacyVersion, parsePartSections, runStdioServer, validateArguments, windowText } from './chunk-GIWY4HXZ.js';
2
+ export { generateInWorker } from './chunk-DEFKIYRZ.js';
package/docs/cli.md CHANGED
@@ -97,7 +97,7 @@ Exit `0` when the snapshot passes its own integrity check, `1` when it does not.
97
97
 
98
98
  ```
99
99
  📸 Generating snapshot for: /path/to/repo
100
- Branch: main | Part budget: 300 KB | Generator: 0.12.2 (project dependency ^0.12.2)
100
+ Branch: main | Part budget: 300 KB | Generator: 0.12.3 (project dependency ^0.12.3)
101
101
 
102
102
  ✅ Snapshot generated in 0.14s:
103
103
  - Tracked files: 121 included of 128 paths found — 7 skipped (default-ignore 5, binary 1, sensitive-file 1); every one is listed in snapshot/reports/audit.md
@@ -192,7 +192,7 @@ The whole first run in one command, with defaults and no prompts. This is the sa
192
192
  🚀 Setup for: /path/to/repo
193
193
  ✅ Created snapshot.config.ts (preset: nextjs)
194
194
  Added npm scripts: snapshot, snapshot:validate
195
- Added devDependency: codebase-snapshot ^0.12.2
195
+ Added devDependency: codebase-snapshot ^0.12.3
196
196
  Added to .gitignore: /snapshot/, /snapshot.tmp/
197
197
  ⏳ Installing dependencies…
198
198
  ✅ Installed dependencies (npm install, 2.1s)
@@ -244,7 +244,7 @@ It also has three side effects on files you own, and it says so when it does the
244
244
  ```
245
245
  ✅ Created snapshot.config.ts (preset: node-lib)
246
246
  Added npm scripts: snapshot, snapshot:validate
247
- Added devDependency: codebase-snapshot ^0.12.2
247
+ Added devDependency: codebase-snapshot ^0.12.3
248
248
  Added to .gitignore: /snapshot/, /snapshot.tmp/
249
249
  ```
250
250
 
package/docs/mcp.md CHANGED
@@ -10,7 +10,7 @@ walk — that the client sees.
10
10
  ## Start it
11
11
 
12
12
  ```bash
13
- npx -y codebase-snapshot@0.12.2 mcp
13
+ npx -y codebase-snapshot@0.12.3 mcp
14
14
  ```
15
15
 
16
16
  The server serves the directory it was started in. `--cwd <path>` points it elsewhere, and that
@@ -25,7 +25,7 @@ Claude Desktop and Cursor:
25
25
  "mcpServers": {
26
26
  "codebase-snapshot": {
27
27
  "command": "npx",
28
- "args": ["-y", "codebase-snapshot@0.12.2", "mcp", "--cwd", "/absolute/path/to/repo"]
28
+ "args": ["-y", "codebase-snapshot@0.12.3", "mcp", "--cwd", "/absolute/path/to/repo"]
29
29
  }
30
30
  }
31
31
  }
@@ -34,7 +34,7 @@ Claude Desktop and Cursor:
34
34
  Claude Code registers the same thing from a shell:
35
35
 
36
36
  ```bash
37
- claude mcp add codebase-snapshot -- npx -y codebase-snapshot@0.12.2 mcp --cwd /absolute/path/to/repo
37
+ claude mcp add codebase-snapshot -- npx -y codebase-snapshot@0.12.3 mcp --cwd /absolute/path/to/repo
38
38
  ```
39
39
 
40
40
  On Windows, wrap the command as `cmd /c npx` with the same arguments — `npx` is a `.cmd` shim
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-snapshot",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "Create a codebase snapshot an LLM can read: budgeted Markdown parts for Claude, ChatGPT and Cursor, a manifest of every included and skipped file, secret redaction, and validate, which fails when the snapshot drifts. Local CLI and MCP server.",
5
5
  "keywords": [
6
6
  "codebase-snapshot",