agent-file-stash 0.2.4 → 0.2.5
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 +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -274,3 +274,33 @@ WAL mode is enabled so concurrent reads never block each other and reads never b
|
|
|
274
274
|
**Diff algorithm:** Line-based unified diff (`computeDiff`). Groups changed lines into hunks with context lines, identical to the output of `git diff`. Diffs are stored as strings and returned verbatim to the agent.
|
|
275
275
|
|
|
276
276
|
**Token estimation:** `ceil(characters / 4)`. Rough but directionally correct for code. Used only for the "tokens saved" metric — never affects correctness.
|
|
277
|
+
|
|
278
|
+
## Uninstall
|
|
279
|
+
|
|
280
|
+
**1. Remove from editor configs**
|
|
281
|
+
|
|
282
|
+
Remove the `agent-file-stash` entry from each config file where `init` added it:
|
|
283
|
+
|
|
284
|
+
| Editor | Config file |
|
|
285
|
+
|--------|-------------|
|
|
286
|
+
| Claude Code | `~/.claude.json` |
|
|
287
|
+
| Cursor | `~/.cursor/mcp.json` |
|
|
288
|
+
| OpenCode | `$XDG_CONFIG_HOME/opencode/opencode.json` |
|
|
289
|
+
|
|
290
|
+
Delete the `"agent-file-stash"` key from the `mcpServers` object in each file, then restart your editor.
|
|
291
|
+
|
|
292
|
+
**2. Remove the stash database**
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
rm -rf .file-stash/
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
This deletes the SQLite database and all cached content. If you set a custom `FILESTASH_DIR`, remove that directory instead.
|
|
299
|
+
|
|
300
|
+
**3. Remove the package** _(if installed globally)_
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
npm uninstall -g agent-file-stash
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
If you only used it via `npx`, no package removal is needed — npx caches are managed by npm automatically.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-file-stash",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"mcpName": "io.github.atilio-ts/agent-file-stash",
|
|
5
5
|
"description": "File stash with diff tracking for AI coding agents. Drop-in replacement for file reads that saves tokens.",
|
|
6
6
|
"type": "module",
|