smcreader 0.1.2 → 0.1.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/.claude-plugin/icon.png +0 -0
- package/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +1 -1
- package/README.md +14 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smcreader",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "SMC Reader (Save My Context Reader): large tool outputs are spilled to disk and replaced by a short pointer; the model pulls only the lines it needs via reader_ask / reader_peek.",
|
|
5
5
|
"author": { "name": "bulatko" },
|
|
6
6
|
"homepage": "https://github.com/bulatko/SMCReader",
|
package/.mcp.json
CHANGED
package/README.md
CHANGED
|
@@ -213,6 +213,20 @@ received, not from what it said: (1) the Bash `tool_result` contains `[READER ct
|
|
|
213
213
|
|
|
214
214
|
</details>
|
|
215
215
|
|
|
216
|
+
## What it runs and sends
|
|
217
|
+
|
|
218
|
+
- **The hook** (`bin/smcreader-hook`, no dependencies, no network) reads the tool output that Claude
|
|
219
|
+
Code passes to it. If the output is large, the hook writes it to `READER_DIR`
|
|
220
|
+
(default `~/.cache/smcreader`) and returns the pointer in its place.
|
|
221
|
+
- **The MCP server** comes from the npm registry: the plugin starts it with `npx`
|
|
222
|
+
(`smcreader@<version>` and its dependencies), and later starts run from npm's cache.
|
|
223
|
+
- **`reader_ask`** sends the document and your question to Claude Haiku through your own Claude
|
|
224
|
+
Code (`claude`, your credentials), like a subagent would. Those Haiku sessions keep their
|
|
225
|
+
transcripts under `READER_WORK_DIR`. `reader_open`, `reader_peek`, `reader_list` and
|
|
226
|
+
`reader_close` run locally.
|
|
227
|
+
- Documents expire 48 h after their last use. There is no telemetry, and nothing else leaves your
|
|
228
|
+
machine.
|
|
229
|
+
|
|
216
230
|
## Limitations
|
|
217
231
|
|
|
218
232
|
- Needs a Claude Code version that applies `hookSpecificOutput.updatedToolOutput` from command
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "smcreader",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "SMC Reader (Save My Context Reader): pull-model reading of large tool outputs for Claude Code. A PostToolUse hook spills big outputs to disk and leaves a short pointer; an MCP server returns only the lines or answers the model asks for.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "bulatko",
|