@tokmizer/plugin 0.9.50 → 0.9.52
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/plugin.json +1 -1
- package/README.md +61 -13
- package/codex-plugin/plugin.json +1 -1
- package/command-templates/tkr-compression.md +4 -2
- package/command-templates/tkr-gain.md +13 -4
- package/command-templates/tkr-yolo.md +32 -0
- package/command-templates/tkr.md +1 -1
- package/dist/bin/tkr-codex-hook.js +41 -26
- package/dist/bin/tkr-daemon.js +18 -18
- package/dist/bin/tkr-exec.js +45 -30
- package/dist/bin/tkr-shim.js +41 -26
- package/dist/bin/tkr.js +139 -118
- package/dist/hooks-host/post-tool-use.js +50 -35
- package/dist/hooks-host/reducer-prompt-submit.js +1 -1
- package/dist/hooks-host/reducer-session-start.js +1 -1
- package/dist/hooks-host/reducer-stop.js +16 -16
- package/dist/index.js +43 -28
- package/package.json +1 -1
- package/scripts/README-INSTALL.md +10 -0
- package/scripts/install-mac-linux.sh +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokmizer/plugin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.52",
|
|
4
4
|
"description": "Tokmizer reduces token consumption for AI coding tools (Claude Code, Codex, Cursor, Aider, Gemini CLI, Cline, Windsurf, Copilot). Cross-OS.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -46,3 +46,13 @@ brew install norwelltw/tokmizer/tokmizer && tkr shim install
|
|
|
46
46
|
| Plain shell | Shell-shim | Works out of the box. |
|
|
47
47
|
|
|
48
48
|
Open a new terminal after installation and run `tkr status`. If activation is pending because the service could not be reached, rerun `tkr status` when online. Connecting an account is optional: `tkr link <your-key>`.
|
|
49
|
+
|
|
50
|
+
## Choose a mode
|
|
51
|
+
|
|
52
|
+
`balanced` is the default compression level. Use `tkr compression light`, `balanced`, or `max` to change it.
|
|
53
|
+
|
|
54
|
+
YOLO is separate, off by default, and enabled only by an explicit `tkr yolo on`. It stays on this machine and does not sync. Use it for repeated commands only when incomplete output is acceptable and you can check the result independently. Turn it off with `tkr yolo off` before debugging, diagnosis, exhaustive code review, or audits.
|
|
55
|
+
|
|
56
|
+
YOLO can discard useful details, including failed-command output. It creates no new restoration copies, leaves the existing cache unchanged, and cannot recover discarded details when turned off. Change modes between commands. It does not promise faster coding, rendering, or builds.
|
|
57
|
+
|
|
58
|
+
See the [mode guide and measured comparison](https://tokmizer.com/en/docs#configuration).
|
|
File without changes
|