-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
276 lines (276 loc) · 9.33 KB
/
Copy pathpackage.json
File metadata and controls
276 lines (276 loc) · 9.33 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{
"name": "cachly-brain",
"displayName": "Cachly Brain",
"description": "AI Brain for VS Code — your AI finally remembers. Status bar lesson counter, ambient learning, CodeLens hints, team Brain sharing, Memory Crystal 💎, cost savings tracker, one-click trial setup.",
"version": "0.12.2",
"publisher": "cachly-dev",
"icon": "images/logo.png",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/cachly-dev/cachly-vscode.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other",
"AI"
],
"keywords": [
"ai",
"mcp",
"model-context-protocol",
"ai-assistant",
"persistent-memory",
"ambient-learning",
"brain",
"cachly",
"codelens",
"team",
"memory"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "cachly.showBrainHealth",
"title": "Cachly: Show Brain Health"
},
{
"command": "cachly.showLessons",
"title": "Cachly: Show Lessons"
},
{
"command": "cachly.refreshBrain",
"title": "Cachly: Refresh Brain Status"
},
{
"command": "cachly.saveLesson",
"title": "Cachly: Save Lesson"
},
{
"command": "cachly.setupAI",
"title": "Cachly: Setup Brain"
},
{
"command": "cachly.setup",
"title": "Cachly: Connect Brain (one-click setup)"
},
{
"command": "cachly.recallForFile",
"title": "Cachly: Recall Lessons for This File"
},
{
"command": "cachly.resetAuth",
"title": "Cachly: Sign Out (reset stored API key)"
},
{
"command": "cachly.diagnose",
"title": "Cachly: Run Brain Doctor (diagnose connection)"
},
{
"command": "cachly.showLogs",
"title": "Cachly: Show Logs (output channel)"
}
],
"configuration": {
"title": "Cachly Brain",
"properties": {
"cachly.apiKey": {
"type": "string",
"default": "",
"description": "Your Cachly API key (cky_live_...)"
},
"cachly.instanceId": {
"type": "string",
"default": "",
"description": "Your Cachly Brain instance UUID"
},
"cachly.apiUrl": {
"type": "string",
"default": "https://api.cachly.dev",
"description": "Cachly API base URL"
},
"cachly.refreshInterval": {
"type": "number",
"default": 300,
"description": "Status bar refresh interval in seconds"
},
"cachly.showCostSaved": {
"type": "boolean",
"default": true,
"description": "Show estimated LLM cost saved in the status bar"
},
"cachly.ambientLearning": {
"type": "boolean",
"default": true,
"description": "Detect repeated typing patterns and offer to save them as Brain lessons"
},
"cachly.clsLearning": {
"type": "boolean",
"default": true,
"description": "Compiler Learning Stream: auto-save a Brain lesson when a compiler error disappears after an edit (CLS Layer 5)"
},
"cachly.proactiveBriefing": {
"type": "boolean",
"default": true,
"description": "Proactively warn when you open a file the Brain knows has a high-risk failure pattern (push briefing, not pull)"
},
"cachly.quietMode": {
"type": "boolean",
"default": false,
"description": "Never interrupt with proactive popups (fix hints, 'save this pattern?', auto-learn). Everything is still surfaced in the status bar and the Brain panel."
},
"cachly.startupBriefing": {
"type": "boolean",
"default": true,
"description": "Show a short 'welcome back' Brain briefing (lessons + recalls) once when the editor opens"
},
"cachly.autoContext": {
"type": "boolean",
"default": true,
"description": "Automatically capture the file you're working on as a WIP context entry in your Brain (once per file per session)"
},
"cachly.lessonSaveMode": {
"type": "string",
"enum": [
"auto",
"confirm",
"manual"
],
"enumDescriptions": [
"Save immediately with no prompts (topic and lesson are auto-detected)",
"Show a single notification to confirm, edit or skip before saving",
"Show the full form with topic, description and outcome fields"
],
"default": "confirm",
"description": "How to handle lesson saving. 'auto' = zero clicks, 'confirm' = one click (default), 'manual' = full form"
},
"cachly.codeLens": {
"type": "boolean",
"default": true,
"description": "Show Brain lessons as CodeLens hints at the top of relevant files"
},
"cachly.trialExpiresAt": {
"type": "string",
"default": "",
"description": "ISO timestamp when the current trial expires (managed by extension; do not edit manually)"
},
"cachly.authorName": {
"type": "string",
"default": "",
"description": "Your name or GitHub handle for Team Brain attribution (e.g. 'alice' or 'alice@myteam'). Used by learn_from_attempts and VS Code lesson saving to credit lessons to you in team reports."
}
}
},
"chatParticipants": [
{
"id": "cachly.brain",
"name": "cachly",
"fullName": "Cachly Brain",
"description": "Recall, save and inspect your Brain's lessons. Try: recall <topic>, save <lesson>, status.",
"isSticky": true,
"commands": [
{
"name": "recall",
"description": "Search your Brain for relevant lessons"
},
{
"name": "save",
"description": "Save the current discussion as a Brain lesson"
},
{
"name": "status",
"description": "Show Brain health and stats"
},
{
"name": "doctor",
"description": "Diagnose your Brain connection"
}
]
}
],
"walkthroughs": [
{
"id": "cachly.gettingStarted",
"title": "Get started with Cachly Brain",
"description": "Connect your Brain, save your first lesson, and recall it — so your AI finally remembers.",
"steps": [
{
"id": "cachly.connect",
"title": "Connect your Brain",
"description": "One click to start a free trial or paste an existing API key. The status bar will turn green when your Brain is online.\n[Connect Brain](command:cachly.setup)\n\nAlready have a key? [Open Settings](command:workbench.action.openSettings?%5B%22cachly%22%5D)",
"media": {
"markdown": "media/walkthrough/connect.md"
},
"completionEvents": [
"onCommand:cachly.setup"
]
},
{
"id": "cachly.firstLesson",
"title": "Save your first lesson",
"description": "Teach your Brain something. Select code or just run the command, and it remembers across sessions, restarts and machines.\n[Save a Lesson](command:cachly.saveLesson)",
"media": {
"markdown": "media/walkthrough/lesson.md"
},
"completionEvents": [
"onCommand:cachly.saveLesson"
]
},
{
"id": "cachly.firstRecall",
"title": "Recall what it learned",
"description": "Open a file and let the Brain surface relevant lessons — or run Brain Doctor anytime to verify everything is healthy.\n[Recall for This File](command:cachly.recallForFile)\n\n[Run Brain Doctor](command:cachly.diagnose)",
"media": {
"markdown": "media/walkthrough/recall.md"
},
"completionEvents": [
"onCommand:cachly.recallForFile",
"onCommand:cachly.diagnose"
]
}
]
}
]
},
"cachlyCapabilities": {
"commands": {
"cachly.showBrainHealth": "brain_lessons",
"cachly.showLessons": "brain_lessons",
"cachly.refreshBrain": "session_continuity",
"cachly.saveLesson": "brain_lessons",
"cachly.setupAI": "setup_auth",
"cachly.setup": "setup_auth",
"cachly.recallForFile": "semantic_cache_search",
"cachly.resetAuth": "setup_auth",
"cachly.diagnose": "setup_auth",
"cachly.showLogs": "setup_auth"
},
"chatCommands": {
"recall": "semantic_cache_search",
"save": "brain_lessons",
"status": "brain_lessons",
"doctor": "setup_auth"
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "vitest run",
"test:watch": "vitest",
"package": "node -r ./scripts/polyfill.js node_modules/@vscode/vsce/vsce package --no-dependencies",
"publish": "node -r ./scripts/polyfill.js node_modules/@vscode/vsce/vsce publish --pat $VSCE_PAT"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.9.1",
"typescript": "^5.3.0",
"vitest": "^2.1.9"
}
}