Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
183 lines (183 loc) · 5.49 KB
/
Copy pathpackage.json
File metadata and controls
183 lines (183 loc) · 5.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "omp-vcc",
"version": "0.1.20",
"type": "module",
"description": "Algorithmic VCC compaction for omp - fast lossless no-LLM",
"author": "Zhu Lin <zhulin@czl.my>",
"repository": {
"type": "git",
"url": "git+https://github.com/zhulinchng/omp-vcc.git"
},
"homepage": "https://github.com/zhulinchng/omp-vcc#readme",
"bugs": {
"url": "https://github.com/zhulinchng/omp-vcc/issues"
},
"keywords": [
"oh-my-pi",
"omp",
"pi",
"oh-my-pi",
"plugin",
"vcc",
"compaction",
"pi-package"
],
"license": "MIT",
"files": [
"extensions",
"skills",
"scripts",
"types.d.ts"
],
"omp": {
"description": "Algorithmic VCC compaction for omp - fast lossless no-LLM",
"extensions": [
"./extensions/main.ts"
],
"settings": {
"vccEnabled": {
"type": "boolean",
"default": true,
"description": "Enable VCC compaction interception (master switch)"
},
"overrideDefaultCompaction": {
"type": "boolean",
"default": true,
"description": "When true, omp-vcc handles all compactions (threshold/overflow/manual); when false, only /omp-vcc is handled"
},
"smartKeepTail": {
"type": "boolean",
"default": true,
"description": "Boost default keep:1 tail when small (5k→25k token window)"
},
"continueAfterThresholdCompact": {
"type": "boolean",
"default": true,
"description": "Auto-continue after threshold/overflow compaction"
},
"debug": {
"type": "boolean",
"default": false,
"description": "Write debug snapshot to /tmp/omp-vcc-debug.json"
},
"compactionSummaryMode": {
"type": "enum",
"values": [
"rewrite",
"append"
],
"default": "append",
"description": "Use append-only compaction segments with a complete host fallback summary"
},
"retainedToolOutputMaxTokens": {
"type": "number",
"min": 0,
"max": 200000,
"default": 20000,
"description": "Retained provider-visible tool-output tokens; 0 disables projection"
},
"showPreCompactionMessage": {
"type": "boolean",
"default": true,
"description": "Show the newest dropped assistant output after compaction"
},
"recallResponseMaxChars": {
"type": "number",
"min": 0,
"max": 2000000,
"default": 48000,
"description": "Maximum model-facing recall response characters; 0 disables the cap"
},
"nativeMemory": {
"type": "boolean",
"default": true,
"description": "Query oh-my-pi's public native memory backend during compaction"
},
"debugLog": {
"type": "boolean",
"default": false,
"description": "Write bounded rotating compaction metrics JSONL"
}
}
},
"pi": {
"description": "Algorithmic VCC compaction for omp - fast lossless no-LLM",
"extensions": [
"./extensions/main.ts"
],
"settings": {
"vccEnabled": {
"type": "boolean",
"default": true,
"description": "Enable VCC compaction interception (master switch)"
},
"overrideDefaultCompaction": {
"type": "boolean",
"default": true,
"description": "When true, omp-vcc handles all compactions (threshold/overflow/manual); when false, only /omp-vcc is handled"
},
"smartKeepTail": {
"type": "boolean",
"default": true,
"description": "Boost default keep:1 tail when small (5k→25k token window)"
},
"continueAfterThresholdCompact": {
"type": "boolean",
"default": true,
"description": "Auto-continue after threshold/overflow compaction"
},
"debug": {
"type": "boolean",
"default": false,
"description": "Write debug snapshot to /tmp/omp-vcc-debug.json"
},
"compactionSummaryMode": {
"type": "enum",
"values": [
"rewrite",
"append"
],
"default": "append",
"description": "Use append-only compaction segments with a complete host fallback summary"
},
"retainedToolOutputMaxTokens": {
"type": "number",
"min": 0,
"max": 200000,
"default": 20000,
"description": "Retained provider-visible tool-output tokens; 0 disables projection"
},
"showPreCompactionMessage": {
"type": "boolean",
"default": true,
"description": "Show the newest dropped assistant output after compaction"
},
"recallResponseMaxChars": {
"type": "number",
"min": 0,
"max": 2000000,
"default": 48000,
"description": "Maximum model-facing recall response characters; 0 disables the cap"
},
"nativeMemory": {
"type": "boolean",
"default": true,
"description": "Query oh-my-pi's public native memory backend during compaction"
},
"debugLog": {
"type": "boolean",
"default": false,
"description": "Write bounded rotating compaction metrics JSONL"
}
}
},
"scripts": {
"typecheck": "bunx tsc --noEmit",
"test": "bun test",
"smoke": "bun run scripts/smoke.ts",
"e2e": "bun run scripts/e2e.ts",
"e2e:direct": "bun test tests/e2e --timeout 120000",
"postuninstall": "node scripts/uninstall-reset.js || true",
"prepublishOnly": "npm run typecheck && npm test && npm run smoke"
}
}