cachebro 0.2.0 → 0.2.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.
- package/README.md +3 -3
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ Set `CACHEBRO_DIR` to control where the cache database is stored (default: `.cac
|
|
|
94
94
|
### As an SDK
|
|
95
95
|
|
|
96
96
|
```typescript
|
|
97
|
-
import { createCache } from "
|
|
97
|
+
import { createCache } from "cachebro";
|
|
98
98
|
|
|
99
99
|
const { cache, watcher } = createCache({
|
|
100
100
|
dbPath: "./my-cache.db",
|
|
@@ -137,8 +137,8 @@ watcher.close();
|
|
|
137
137
|
|
|
138
138
|
```
|
|
139
139
|
packages/
|
|
140
|
-
sdk/
|
|
141
|
-
- CacheStore: content-addressed file cache backed by
|
|
140
|
+
sdk/ cachebro — the core library
|
|
141
|
+
- CacheStore: content-addressed file cache backed by an embedded database
|
|
142
142
|
- FileWatcher: fs.watch wrapper for change notification
|
|
143
143
|
- computeDiff: line-based unified diff
|
|
144
144
|
cli/ cachebro — batteries-included CLI + MCP server
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cachebro",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"mcpName": "io.github.glommer/cachebro",
|
|
4
5
|
"description": "File cache with diff tracking for AI coding agents. Drop-in replacement for file reads that saves ~26% tokens.",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|