@nrafinia/csmesh 0.3.1 → 0.4.1

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/README.md +9 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -432,6 +432,14 @@ csmesh changes
432
432
  csmesh changes --calls --budget 1200
433
433
  ```
434
434
 
435
+ #### `csmesh review [base]`
436
+ The same structural comparison as `changes`, but against a named git revision instead of whatever the last index happened to see — the question a pull request or a CI gate actually asks. Defaults to the merge base with the remote's default branch, cached per commit so a second run is fast. `--accept` writes the current findings to `.csmesh/accepted.txt`; accepted findings stop being reported, and dead entries are pruned automatically once the base moves past them. Exits `5` when something unaccepted remains, so a pipeline can gate on it without parsing prose.
437
+ ```bash
438
+ csmesh review # vs. the merge base with the default branch
439
+ csmesh review origin/main --calls
440
+ csmesh review --accept # bless the current state as the new baseline
441
+ ```
442
+
435
443
  #### `csmesh silence <symbol> [<target>]` (alias: `why-not`)
436
444
  Why a query came back empty. Exit `1` from any other command means the graph had nothing; it does not say whether the symbol was mistyped, lives in a package, was never bound because the solution was not built, or is reached only through a container scan. Those call for four different next actions.
437
445
  ```bash
@@ -542,6 +550,7 @@ A symbol graph is not a replacement for text search or reading code; it is a rep
542
550
  | `2` | **Over Budget** | Answer exists but exceeds `--budget`. | Re-run with narrower `--depth` or query a specific callee. |
543
551
  | `3` | **Ambiguous** | Multiple symbols match query. | Re-run with qualified `Type.Member` instead of bare member name. |
544
552
  | `4` | **No Index** | Symbol graph has not been generated. | Execute `csmesh index` and retry. |
553
+ | `5` | **Changed** (`review` only) | Unaccepted structural change vs. the base revision. | Review the finding, then `csmesh review --accept` if it's fine to keep. |
545
554
  | `64`| **Usage Error** | Invalid flags, syntax, or arguments. | Run `csmesh <cmd> --help`. |
546
555
  | `70`| **Internal Error** | Unhandled failure inside csmesh. | Re-run with `--debug` and open an issue. |
547
556
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrafinia/csmesh",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "Structural code intelligence & call-graph engine for C# and .NET — built for AI coding agents under hard token budgets",
5
5
  "bin": {
6
6
  "csmesh": "./bin/run.js"