agent-cache-optimizer 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/README.zh-CN.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -85,8 +85,8 @@ tail -f ~/.cache/opencode/agent-cache-optimizer/diag.log
|
|
|
85
85
|
### Status dashboard
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
agent-cache-optimizer status # text dashboard
|
|
89
|
+
agent-cache-optimizer status --json # JSON for scripts
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
### Output
|
|
@@ -210,7 +210,7 @@ agent-cache-optimizer/
|
|
|
210
210
|
├── adapters/
|
|
211
211
|
│ └── claude-code.md # Claude Code optimization guide
|
|
212
212
|
├── bin/
|
|
213
|
-
│ └── aco # CLI:
|
|
213
|
+
│ └── aco # CLI: agent-cache-optimizer status
|
|
214
214
|
├── scripts/
|
|
215
215
|
│ ├── cache-status.sh # Status dashboard (legacy)
|
|
216
216
|
│ └── check-cache-friendly.sh # Config audit tool
|
package/README.zh-CN.md
CHANGED
|
@@ -87,13 +87,13 @@ tail -f ~/.cache/opencode/agent-cache-optimizer/diag.log
|
|
|
87
87
|
OpenCode 内:
|
|
88
88
|
|
|
89
89
|
```
|
|
90
|
-
|
|
90
|
+
agent-cache-optimizer status
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
终端:
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
|
-
bash
|
|
96
|
+
bash scriptsagent-cache-optimizer status.sh
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
## 🏗 工作原理
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-cache-optimizer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Content-agnostic KV cache optimizer for LLM CLI agents — boosts prompt cache hit rate by 40-88% through automatic stability tracking and block reordering",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"kv-cache",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"type": "module",
|
|
27
27
|
"main": "./src/index.ts",
|
|
28
28
|
"bin": {
|
|
29
|
-
"
|
|
29
|
+
"agent-cache-optimizer": "./bin/aco"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": "./src/index.ts",
|