codebase-snapshot 0.20.9 → 0.20.12
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 +53 -6
- package/README.md +13 -15
- package/SECURITY.md +0 -1
- package/dist/bin.js +5521 -4507
- package/dist/{chunk-SU6YGIQT.js → chunk-TUKY6KLH.js} +8030 -7055
- package/dist/cli.cjs +7876 -6868
- package/dist/cli.d.cts +2 -2
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +51 -18
- package/dist/{generate-worker--m4IM5zj.d.ts → generate-worker-CRMESc0b.d.ts} +9 -9
- package/dist/{generate-worker-DfNd8f67.d.cts → generate-worker-DMzNbsAW.d.cts} +9 -9
- package/dist/index.cjs +7996 -7021
- package/dist/index.d.cts +56 -40
- package/dist/index.d.ts +56 -40
- package/dist/index.js +1 -1
- package/dist/mcp.cjs +2014 -7421
- package/dist/mcp.d.cts +4 -4
- package/dist/mcp.d.ts +4 -4
- package/dist/mcp.js +1 -1
- package/dist/{types-D2_K7jfI.d.ts → types-C5ytHMYz.d.cts} +2 -0
- package/dist/{types-D2_K7jfI.d.cts → types-C5ytHMYz.d.ts} +2 -0
- package/docs/benchmarks.md +9 -6
- package/docs/budget.md +3 -2
- package/docs/cli.md +20 -19
- package/docs/configuration.md +17 -16
- package/docs/health.md +1 -1
- package/docs/how-to-feed-a-repo-to-claude.md +8 -11
- package/docs/mcp.md +8 -8
- package/docs/migration.md +42 -43
- package/docs/output.md +2 -1
- package/docs/security-review.md +35 -8
- package/docs/vs-gitingest.md +2 -2
- package/docs/vs-repomix.md +7 -6
- package/docs/workspace.md +4 -2
- package/package.json +1 -1
package/docs/vs-repomix.md
CHANGED
|
@@ -28,7 +28,7 @@ If you want the most popular, most integrated tool: **use repomix.**
|
|
|
28
28
|
| Size control | **Yes** — `maxPartBytes` is a per-part byte ceiling; a file that cannot fit one part becomes a head/tail preview listed in `incomplete[]` | `--split-output <size>` splits by output size, and `--token-budget <n>` exits non-zero above a token count |
|
|
29
29
|
| Reproducible output | Parts are byte-identical across runs; a fingerprint covers them | Content is stable; no published determinism guarantee |
|
|
30
30
|
| Staleness check | `validate` re-hashes the repository and exits non-zero on drift | Not a feature |
|
|
31
|
-
| Remote repositories |
|
|
31
|
+
| Remote repositories | **Yes** — `--remote` clones an HTTPS URL (or `file://` with `--allow-private`); git is required | **Yes** — packs a GitHub URL directly |
|
|
32
32
|
| MCP server | **Yes** — 26 tools over stdio, and it serves the validated snapshot rather than the working tree | **Yes** — packs a repository, including by URL |
|
|
33
33
|
| Secret handling | 32 default rules, value-span masking, per-line audit table | Secretlint integration |
|
|
34
34
|
| Language awareness | 25 presets, AST or structural summaries labelled by confidence | Tree-sitter parsing with a compression mode |
|
|
@@ -39,11 +39,12 @@ If you want the most popular, most integrated tool: **use repomix.**
|
|
|
39
39
|
|
|
40
40
|
- **You want one file.** Pasting a single artifact into a chat is simpler than assembling parts, and
|
|
41
41
|
repomix is built around that workflow.
|
|
42
|
-
- **You
|
|
43
|
-
|
|
44
|
-
- **You want MCP
|
|
45
|
-
serves
|
|
46
|
-
|
|
42
|
+
- **You want a zero-install URL box.** repomix can pack a GitHub URL without a local checkout;
|
|
43
|
+
this project needs Node and git for `--remote`, and its browser page still runs locally.
|
|
44
|
+
- **You want MCP to fetch a URL on demand.** repomix's server can pack a repository by URL. This
|
|
45
|
+
project's MCP server serves local roots and refuses to read outside them; remote fetching is a
|
|
46
|
+
CLI/page action (`--remote`), not a read tool. Both ship a server; ours is narrower on purpose,
|
|
47
|
+
and it can tell the agent whether the snapshot it is reading is still current.
|
|
47
48
|
- **You want the ecosystem.** More stars, more tutorials, more people who have already hit your
|
|
48
49
|
problem.
|
|
49
50
|
- **Your limit is a token count, not a byte count.** `--token-budget <n>` fails the run when the
|
package/docs/workspace.md
CHANGED
|
@@ -70,8 +70,10 @@ directory configured if the member should be served on its own.
|
|
|
70
70
|
## Rules
|
|
71
71
|
|
|
72
72
|
- **Defaults, not member configs.** A member may contain a `snapshot.config.ts`, and a config can run
|
|
73
|
-
code. A workspace is a set of repositories the caller named, not one they configured, so
|
|
74
|
-
|
|
73
|
+
code. A workspace is a set of repositories the caller named, not one they configured, so member
|
|
74
|
+
config files are ignored. The flags the caller passed to the workspace run (budget, compression,
|
|
75
|
+
scope, artifact selection, discovery) are still applied to every member. Run the member directly
|
|
76
|
+
if its own config should apply.
|
|
75
77
|
- **A failure is reported, not skipped.** A missing member prints its name and the run exits `1`
|
|
76
78
|
after writing the members that succeeded, so a partial workspace is never mistaken for a complete
|
|
77
79
|
one.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebase-snapshot",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.12",
|
|
4
4
|
"description": "Turn a repository into LLM-ready Markdown under a hard byte budget: a manifest of every included and skipped file, secret redaction, drift validation, and an MCP server for Claude, ChatGPT and Cursor.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codebase-snapshot",
|