Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
801 lines (801 loc) · 31.1 KB
/
Copy pathpackage.json
File metadata and controls
801 lines (801 loc) · 31.1 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
{
"name": "varro",
"displayName": "Varro: OpenCode Workbench",
"version": "0.35.2",
"description": "OpenCode agent workbench with project-aware chat, parallel sessions, plan and change review, model and permission controls, commit messages, and usage insights.",
"categories": [
"AI",
"Chat"
],
"keywords": [
"agentic-coding",
"ai",
"chat",
"coding-agent",
"commit-message",
"opencode",
"opencode-gui"
],
"homepage": "https://github.com/koltyakov/varro#readme",
"bugs": {
"url": "https://github.com/koltyakov/varro/issues"
},
"license": "MIT",
"repository": "https://github.com/koltyakov/varro",
"publisher": "koltyakov",
"files": [
"dist/extension/extension.js",
"dist/extension/thumbnail-worker.js",
"dist/extension/thumbnail-service.js",
"dist/extension/thumbnail-codec.wasm",
"dist/extension/thumbnail-LICENSE.txt",
"dist/extension/thumbnail-NOTICE.txt",
"dist/extension/notification.wav",
"dist/extension/macos-notifier.zip",
"dist/extension/macos-notifier.json",
"native/macos-notifications",
"docs/thumbnail-distribution.md",
"dist/webview",
"assets/icon.png",
"assets/workbench-icon.svg",
"README.md",
"CHANGELOG.md",
"NOTICES.md",
"LICENSE"
],
"main": "./dist/extension/extension.js",
"scripts": {
"postinstall": "node scripts/build-anti-slop-plugin.mjs",
"build:extension": "node esbuild.config.mjs",
"build:notifications:macos": "node scripts/build-macos-notifier.mjs",
"test:notifications:macos": "node --test scripts/macos-notifier.test.mjs",
"build:webview": "vite build",
"preview:webview": "vite --open /preview.html",
"build": "npm run build:extension && npm run build:webview",
"watch:extension": "node esbuild.config.mjs --watch",
"watch:webview": "vite build --watch",
"dev": "npx concurrently --kill-others-on-fail --names ext,web,preview \"npm run watch:extension\" \"npm run watch:webview\" \"npm run preview:webview\"",
"lint": "oxlint -c oxlint.config.mts --type-aware . --fix",
"lint:check": "oxlint -c oxlint.config.mts --type-aware .",
"fmt": "oxfmt src/",
"fmt:check": "oxfmt --check src/",
"test": "node scripts/run-tests.mjs",
"test:scripts": "node scripts/run-tests.mjs --scripts",
"test:scripts:browser": "node --test scripts/browser/*.test.mjs",
"test:compatibility": "node scripts/opencode-compatibility/run.mjs --check-floor --report artifacts/opencode-compatibility.json --summary scripts/opencode-compatibility/verified.json",
"test:compatibility:adapters": "node scripts/opencode-compatibility/run-adapters.mjs",
"test:compatibility:ui": "npm run build && node scripts/opencode-compatibility/run-ui.mjs",
"compatibility:discover": "node scripts/opencode-compatibility/run.mjs --report artifacts/opencode-compatibility.json",
"pretest:e2e": "playwright install chromium",
"test:e2e": "node scripts/run-e2e.mjs",
"pretest:e2e:raster": "playwright install chromium",
"test:e2e:raster": "VARRO_E2E_MODE=raster node scripts/run-e2e.mjs",
"pretest:e2e:diagnostics": "playwright install chromium",
"test:e2e:diagnostics": "VARRO_E2E_MODE=diagnostics node scripts/run-e2e.mjs",
"test:vscode-sandbox": "npm run build && node scripts/vscode-sandbox/run.mjs",
"ai:vscode": "npm run build && node scripts/launch-ai-vscode.mjs",
"ai:preconditions": "node scripts/ai-fuzzy-preconditions.mjs",
"ai:live": "node scripts/ai-fuzzy-live.mjs",
"ai:playback": "node scripts/ai-session-playback.mjs",
"ai:streaming": "node scripts/ai-streaming.mjs",
"test:ai-runner": "npm run build && node scripts/ai-streaming-smoke.mjs",
"test:native-paint": "npm run build && node scripts/ai-native-paint.mjs",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.scripts.json",
"typecheck:suggestions": "node scripts/check-ts-suggestions.mjs",
"package:vsix": "node scripts/package-vsix.mjs",
"package": "npm run build && npm run package:vsix",
"vscode:install": "node scripts/vscode-install.mjs",
"artifacts:prune": "node scripts/prune-artifacts.mjs"
},
"dependencies": {
"@imagemagick/magick-wasm": "0.0.46",
"@opencode-ai/sdk": "^1.19.6",
"@opencode/client": "^2.3.2",
"@solidjs/signals": "2.0.3",
"@solidjs/web": "2.0.3",
"cross-spawn": "7.0.6",
"dompurify": "3.4.18",
"highlight.js": "11.12.0",
"jsonc-parser": "3.3.1",
"katex": "0.19.1",
"marked": "18.2.1",
"mermaid": "^12.3.0",
"solid-js": "2.0.3"
},
"devDependencies": {
"@playwright/test": "1.65.1",
"@solidjs/vite-plugin": "3.0.1",
"@tailwindcss/vite": "4.3.5",
"@types/css.escape": "1.5.2",
"@types/node": "26.6.6",
"@types/vscode": "1.107.0",
"@vitest/coverage-v8": "5.1.1",
"@vscode/vsce": "4.1.1",
"css.escape": "1.5.1",
"esbuild": "0.28.2",
"iconoir": "7.12.2",
"jsdom": "31.0.1",
"material-icon-theme": "5.40.0",
"oxfmt": "0.79.0",
"oxlint": "1.94.0",
"oxlint-plugin-anti-slop": "github:dmmulroy/anti-slop#63dbb09",
"oxlint-tsgolint": "7.0.2007",
"tailwindcss": "4.3.5",
"typescript": "7.0.2",
"vite": "8.3.8",
"vitest": "5.1.1",
"ws": "8.23.0"
},
"overrides": {
"@azure/identity": {
"@azure/msal-node": "7.2.3"
},
"@vscode/vsce": {
"minimatch": "11.0.9"
},
"mermaid": {
"katex": "0.19.1"
}
},
"contributes": {
"viewsContainers": {
"secondarySidebar": [
{
"id": "varro",
"title": "Varro",
"icon": "assets/workbench-icon.svg"
}
],
"activitybar": [
{
"id": "varro-primary",
"title": "Varro",
"icon": "assets/workbench-icon.svg"
},
{
"id": "varro",
"title": "Varro",
"icon": "assets/workbench-icon.svg"
}
]
},
"views": {
"varro": [
{
"icon": "assets/workbench-icon.svg",
"type": "webview",
"id": "varro.chat",
"name": "Varro"
}
]
},
"commands": [
{
"command": "varro.chat.focusInput",
"title": "Varro: Focus Chat"
},
{
"command": "varro.chat.newSession",
"title": "Varro: New Session"
},
{
"command": "varro.chat.newEditor",
"title": "Varro: New Chat Editor",
"shortTitle": "New Chat Editor",
"icon": "$(add)"
},
{
"command": "varro.chat.newWindow",
"title": "Varro: New Chat Window",
"shortTitle": "New Chat Window"
},
{
"command": "varro.chat.newTerminalEditor",
"title": "Varro: New Terminal Editor",
"shortTitle": "New Terminal Editor",
"icon": "$(terminal)"
},
{
"command": "varro.chat.searchSessions",
"title": "Varro: Search Sessions"
},
{
"command": "varro.chat.openSettings",
"title": "Varro: Open Settings",
"shortTitle": "Settings",
"icon": "$(gear)"
},
{
"command": "varro.chat.showFileDiffs",
"title": "Varro: Show File Diffs",
"shortTitle": "Show File Diffs",
"icon": "$(diff-single)"
},
{
"command": "varro.chat.hideFileDiffs",
"title": "Varro: Hide File Diffs",
"shortTitle": "Hide File Diffs",
"icon": "$(list-flat)"
},
{
"command": "varro.chat.openStats",
"title": "Varro: Usage Stats",
"shortTitle": "Usage Stats"
},
{
"command": "varro.chat.exportUsageCsv",
"title": "Varro: Export All-Time Usage to CSV"
},
{
"command": "varro.chat.deleteOldSessions",
"title": "Varro: Delete Old OpenCode Sessions"
},
{
"command": "varro.database.compact",
"title": "Varro: Compact OpenCode Database"
},
{
"command": "varro.chat.abort",
"title": "Varro: Abort Session",
"enablement": "varro:canAbortSession"
},
{
"command": "varro.chat.previousSession",
"title": "Varro: Previous Session",
"enablement": "varro:canSwitchSessions"
},
{
"command": "varro.chat.nextSession",
"title": "Varro: Next Session",
"enablement": "varro:canSwitchSessions"
},
{
"command": "varro.server.restart",
"title": "Varro: Restart Server"
},
{
"command": "varro.about",
"title": "Varro: About",
"shortTitle": "About Varro"
},
{
"command": "varro.openGitHub",
"title": "Varro: Open GitHub",
"shortTitle": "View on GitHub"
},
{
"command": "varro.showOutput",
"title": "Varro: Show Output"
},
{
"command": "varro.openSourceControl",
"title": "Varro: Open Source Control"
},
{
"command": "varro.generateCommitMessage",
"title": "Varro: Generate Commit Message",
"icon": "$(wand)"
},
{
"command": "varro.cancelCommitMessage",
"title": "Varro: Cancel Commit Message Generation",
"icon": "$(debug-stop)",
"enablement": "varro:generatingCommitMessage"
},
{
"command": "varro.agents.openGlobal",
"title": "Varro: Open Global AGENTS.md"
},
{
"command": "varro.agents.initializeProject",
"title": "Varro: Initialize Project AGENTS.md"
},
{
"command": "varro.chat.addToContext",
"title": "Varro: Add to Context"
},
{
"command": "varro.chat.addProblemsToContext",
"title": "Varro: Add to Context",
"enablement": "config.varro.chat.autoAttachProblems"
},
{
"command": "varro.chat.addSelectionToContext",
"title": "Varro: Add to Context"
},
{
"command": "varro.chat.addTerminalSelectionToContext",
"title": "Varro: Add to Context"
},
{
"command": "varro.chat.copyLinkText",
"title": "Copy"
},
{
"command": "varro.chat.copyLink",
"title": "Copy link"
},
{
"command": "varro.chat.copyPath",
"title": "Copy path"
}
],
"submenus": [
{
"id": "varro.viewActions",
"label": "More Actions",
"icon": "$(more)"
}
],
"menus": {
"webview/context": [
{
"command": "varro.chat.copyLinkText",
"when": "(webviewId == varro.chat || webviewId == varro.editor) && varroLinkText",
"group": "navigation@0"
},
{
"command": "varro.chat.copyLink",
"when": "(webviewId == varro.chat || webviewId == varro.editor) && webviewSection == varroExternalLink",
"group": "navigation@1"
},
{
"command": "varro.chat.copyPath",
"when": "(webviewId == varro.chat || webviewId == varro.editor) && webviewSection == varroFileLink",
"group": "navigation@1"
}
],
"editor/title": [
{
"command": "varro.chat.newEditor",
"when": "activeWebviewPanelId == varro.editor",
"group": "navigation@1"
},
{
"command": "varro.chat.newTerminalEditor",
"when": "activeWebviewPanelId == varro.editor",
"group": "navigation@2"
}
],
"explorer/context": [
{
"command": "varro.chat.addToContext",
"group": "z_varro"
}
],
"editor/context": [
{
"command": "varro.chat.addSelectionToContext",
"when": "editorHasSelection && !editorReadonly",
"group": "z_varro"
}
],
"terminal/context": [
{
"command": "varro.chat.addTerminalSelectionToContext",
"when": "terminalTextSelected",
"group": "z_varro"
}
],
"scm/title": [
{
"command": "varro.generateCommitMessage",
"when": "scmProvider == git && scmProviderRootUri not in varro:commitMessageGenerationRoots",
"group": "navigation@99"
},
{
"command": "varro.cancelCommitMessage",
"when": "scmProvider == git && scmProviderRootUri in varro:commitMessageGenerationRoots",
"group": "navigation@99"
}
],
"view/title": [
{
"command": "varro.chat.showFileDiffs",
"when": "view == varro.chat && !varro:showFileDiffs",
"group": "navigation@0"
},
{
"command": "varro.chat.hideFileDiffs",
"when": "view == varro.chat && varro:showFileDiffs",
"group": "navigation@0"
},
{
"command": "varro.chat.openSettings",
"when": "view == varro.chat",
"group": "navigation@1"
},
{
"submenu": "varro.viewActions",
"when": "view == varro.chat",
"group": "navigation@2"
}
],
"varro.viewActions": [
{
"command": "varro.about",
"group": "1_main@1"
},
{
"command": "varro.chat.openStats",
"group": "1_main@2"
},
{
"command": "varro.openGitHub",
"group": "1_main@3"
}
],
"commandPalette": [
{
"command": "varro.chat.copyLinkText",
"when": "false"
},
{
"command": "varro.chat.copyLink",
"when": "false"
},
{
"command": "varro.chat.copyPath",
"when": "false"
},
{
"command": "varro.chat.addProblemsToContext",
"when": "false"
},
{
"command": "varro.chat.showFileDiffs",
"when": "!varro:showFileDiffs"
},
{
"command": "varro.chat.hideFileDiffs",
"when": "varro:showFileDiffs"
},
{
"command": "varro.chat.addToContext",
"when": "editorIsOpen"
},
{
"command": "varro.chat.addSelectionToContext",
"when": "false"
},
{
"command": "varro.chat.addTerminalSelectionToContext",
"when": "false"
}
]
},
"keybindings": [
{
"command": "varro.chat.addSelectionToContext",
"key": "ctrl+shift+k",
"mac": "cmd+shift+k",
"when": "editorTextFocus && editorHasSelection"
},
{
"command": "varro.chat.addToContext",
"key": "ctrl+shift+k",
"mac": "cmd+shift+k",
"when": "!terminalFocus && !editorTextFocus"
},
{
"command": "varro.chat.addTerminalSelectionToContext",
"key": "ctrl+shift+k",
"mac": "cmd+shift+k",
"when": "terminalFocus && terminalTextSelected"
}
],
"configuration": {
"title": "Varro",
"properties": {
"varro.notifications.sound": {
"type": "object",
"scope": "application",
"additionalProperties": false,
"properties": {
"permission": {
"type": "boolean",
"description": "Permission requests, including requests from subagents.",
"default": false
},
"question": {
"type": "boolean",
"description": "Questions that need your answer.",
"default": false
},
"completed": {
"type": "boolean",
"description": "Completed replies in non-plan conversations.",
"default": false
},
"planReady": {
"type": "boolean",
"description": "Plans ready for review.",
"default": false
}
},
"default": {
"permission": false,
"question": false,
"completed": false,
"planReady": false
},
"markdownDescription": "Choose which events play the water-plop sound when the originating VS Code window is not focused, including while another VS Code window is active or visible side by side. Leave all events unchecked to disable sound. Requires a local desktop extension host. On Linux, install `paplay`, `aplay`, or `canberra-gtk-play`."
},
"varro.notifications.native": {
"type": "boolean",
"scope": "application",
"default": false,
"markdownDescription": "Show operating-system notifications for completed replies, plans ready for review, permission requests, and questions when the originating VS Code window is not focused, including while another VS Code window is active or visible side by side. Sound is controlled separately by `varro.notifications.sound`. Requires a local desktop extension host and OS notification permissions. On Linux, install `notify-send`."
},
"varro.server.port": {
"oneOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "integer",
"minimum": 1,
"maximum": 65535
}
],
"default": "auto",
"markdownDescription": "Automatically select and remember a local server port, or set an exact port from 1 through 65535. Existing verified servers are reused without restarting. Explicit ports never fall back to another port. Reload the VS Code window after changing this setting."
},
"varro.server.command": {
"type": "string",
"default": "",
"description": "Optional path to the OpenCode CLI executable used for startup and CLI actions. OpenCode v2 is recommended; v1 remains supported. When empty, Varro searches for opencode2 first, then opencode. Both current CLI families use opencode. Set an explicit v1 executable path to keep using v1."
},
"varro.server.autoUpdate": {
"type": "boolean",
"default": true,
"description": "Automatically install updates within the installed OpenCode CLI family: @opencode/cli for v2 on Windows, macOS, and Linux; opencode-ai for v1 on macOS and Linux. Does not migrate v1 to v2. Native Windows v1 uses an update prompt."
},
"varro.providerLimits.statusBarDisplay": {
"type": "string",
"enum": [
"rotating",
"all"
],
"enumDescriptions": [
"Show one pinned provider at a time, rotating every 15 seconds.",
"Show all pinned providers at once."
],
"default": "rotating",
"description": "Choose how pinned provider limits appear in the status bar. Providers selected in visible chats in this window are excluded. The tooltip shows available limits for the remaining pinned providers."
},
"varro.chat.showFileDiffs": {
"type": "boolean",
"default": false,
"description": "Show line-by-line edits directly in file-change tool cards."
},
"varro.chat.expandThinking": {
"type": "boolean",
"default": false,
"description": "Expand thinking details after two seconds while reasoning is active, collapse finished thinking into rows, and return it to Explored when the turn finishes."
},
"varro.chat.fontSize": {
"type": [
"number",
"null"
],
"minimum": 6,
"maximum": 100,
"default": null,
"markdownDescription": "Font size for text in Varro chat. Set to `null` to use the VS Code `chat.fontSize` setting, or use `13.5` for text slightly larger than the default."
},
"varro.chat.showChangedFiles": {
"type": "boolean",
"default": false,
"description": "Show the changed-files panel above the chat input."
},
"varro.chat.showEmptyStateHistogram": {
"type": "boolean",
"default": false,
"description": "Show the interactive tiled histogram at the top of empty chats. Animates while hovered."
},
"varro.chat.autoAttachActiveFile": {
"type": "boolean",
"default": true,
"description": "Automatically attach the active file or editor selection to chat. Disable to hide the automatic file chip and exclude this context from prompts, including queued messages. Manually attached files are unaffected."
},
"varro.chat.autoAttachProblems": {
"type": "boolean",
"default": true,
"description": "Enable VS Code Problems context in chat. Disable to hide the Problems attachment chip and exclude diagnostics from prompts, including queued messages."
},
"varro.chat.showTurnTimer": {
"type": "boolean",
"default": true,
"description": "Show the elapsed duration of the active turn beside the chat input status controls."
},
"varro.chat.remoteImages": {
"type": "string",
"scope": "application",
"enum": [
"off",
"ask",
"on"
],
"enumDescriptions": [
"Show image alt text without fetching remote images.",
"Show placeholders with Load image and Load all controls.",
"Automatically load remote image previews near the viewport."
],
"default": "ask",
"markdownDescription": "Show HTTPS Markdown image previews manually by default, automatically with `on`, or as alt text with `off`. Load all loads the images in the current response. Downloads run on the extension host, without cookies or authorization headers, and only accept bounded public-network raster images. Loading exposes the extension host's IP address and requested URL to the image server. Repository workspace settings cannot enable automatic loading."
},
"varro.chat.desktopSessionPaneSide": {
"type": "string",
"enum": [
"left",
"right"
],
"default": "right",
"markdownDescription": "Choose which side shows the sessions pane on large screens in the Varro chat view."
},
"varro.chat.defaultPermissionMode": {
"type": "string",
"enum": [
"default",
"auto",
"full"
],
"default": "auto",
"markdownDescription": "Permission mode selected when no project or global Varro permission-mode selection has been saved. `default` follows OpenCode permission settings and shows requests OpenCode asks about, `auto` judges eligible requests automatically, and `full` grants unrestricted access."
},
"varro.chat.autoApproveModel": {
"type": "string",
"scope": "application",
"default": "",
"pattern": "^$|^[^/\\s]+/[^\\s]+$",
"patternErrorMessage": "Use provider/model, or leave the setting empty.",
"markdownDescription": "Provider/model used by the auto-approve judge. Leave empty to let Varro select a suitable model automatically. Select a configured model from Varro's Models view."
},
"varro.chat.autoApproveDecisionModel": {
"type": "string",
"scope": "application",
"default": "",
"pattern": "^$|^[^/\\s]+/[^\\s]+$",
"markdownDescription": "Optional server-hosted decision model in provider/model form. Requires OpenCode 2.2.0 decision generation. Uses the server's base configuration and credentials, including for remote servers. Permission details are sent to this model in Auto mode. Varro applies probability gates; errors fall back to the configured legacy Jev or chat judge. Leave empty to disable. Select a native decision model in the Models view."
},
"varro.chat.promptCompletionModel": {
"type": "string",
"scope": "application",
"default": "",
"pattern": "^$|^[^/\\s]+/[^\\s]+$",
"patternErrorMessage": "Use provider/model, or leave the setting empty.",
"markdownDescription": "Optional provider/model for inline prompt suggestions. Requires OpenCode V2 and a supported direct completion API with API-key authentication. Subscription/OAuth connections and unsupported APIs cannot be used, and no utility chats are created. Leave empty to disable. Suggestions send your draft and recent prompts from the current conversation to this model. Choose an eligible fast model in Varro's Models view. Tab accepts a suggestion; Escape dismisses it. Enter sends typed or accepted text."
},
"varro.chat.followupsEnabled": {
"type": "boolean",
"scope": "application",
"default": true,
"markdownDescription": "Suggest optional next actions after completed Build responses. Requires OpenCode V2 stateless generation. Sends the current request and final answer for additional inference, which may consume paid tokens or subscription quota. Disable to opt out."
},
"varro.chat.promptTrace": {
"type": "boolean",
"scope": "application",
"default": false,
"markdownDescription": "Include a VARRO_TRACE_V1 attribution line in auxiliary inference prompts for compatible proxy hooks: follow-ups, permission judging, commit messages, titles, side questions, background-process judging, and prompt completion. Sends purpose, known session/root IDs, and available request/helper IDs; requests without a source session use a hashed workspace ID when available. Requires a proxy hook to apply accounting metadata and strip the line before inference; otherwise the model receives it. Does not change conversation history, permissions, or enable inference features."
},
"varro.chat.followupModel": {
"type": "string",
"scope": "application",
"default": "",
"pattern": "^$|^[^/\\s]+/[^\\s]+$",
"patternErrorMessage": "Use provider/model, or leave the setting empty.",
"markdownDescription": "Optional provider/model override for follow-ups. Leave empty to use the current session's model and reasoning, or choose Use for follow-ups in Varro's Models view. Disable varro.chat.followupsEnabled to opt out. Hover an action to preview its prompt; click to send immediately with unchanged permissions, draft, and attachments."
},
"varro.chat.autoRenameUntitledSessions": {
"type": "boolean",
"default": false,
"markdownDescription": "Let Varro generate a fallback title when OpenCode leaves a session untitled. Disable this to rely only on OpenCode's native session naming."
},
"varro.commitMessage.model": {
"type": "string",
"scope": "application",
"default": "",
"pattern": "^$|^[^/\\s]+/[^\\s]+$",
"patternErrorMessage": "Use provider/model, or leave the setting empty.",
"markdownDescription": "Provider/model used to generate commit messages. Leave empty to let Varro select a suitable model automatically. Select a configured model from Varro's Models view."
},
"varro.commitMessage.rules": {
"type": "string",
"scope": "resource",
"default": "",
"markdownDescription": "Style and format instructions for generated commit messages. User settings provide a default; workspace and folder settings override it for the selected Git repository. For example: `Use Conventional Commits with a scope.` Rules cannot override grounding in the supplied changes or enable tools and commits."
},
"varro.decisions.jev.autoApprove": {
"type": "boolean",
"scope": "application",
"default": false,
"markdownDescription": "Use TypeSafe's Jev to judge permission requests in Auto mode before the model judge. Only confident answers approve; anything else asks you. Connect it with **Add decision model** in the Varro Models view menu, or set `TYPESAFE_API_KEY`. Permission details are sent to TypeSafe."
},
"varro.debug.simulateMissingCli": {
"deprecationMessage": "Debug only setting. Not intended for regular use.",
"type": "boolean",
"default": false,
"description": "Debug only: make Varro behave as if the OpenCode CLI is not installed"
},
"varro.debug.simulateNoProviders": {
"deprecationMessage": "Debug only setting. Not intended for regular use.",
"type": "boolean",
"default": false,
"description": "Debug only: make Varro behave as if no providers are configured"
},
"varro.debug.showQuotaWarning": {
"deprecationMessage": "Debug only setting. Not intended for regular use.",
"type": "boolean",
"default": false,
"description": "Debug only: show the quota warning for available provider quotas regardless of remaining allowance or saved dismissals. Closing this preview does not save a dismissal."
},
"varro.debug.showNativeDecisionModels": {
"deprecationMessage": "Debug only setting. Not intended for regular use.",
"type": "boolean",
"scope": "application",
"default": false,
"description": "Debug only: show the experimental OpenCode decision-model section in the Models view. Hiding the section does not disable an explicitly configured decision reviewer."
},
"varro.debug.resetWarningDays": {
"deprecationMessage": "Debug only setting. Not intended for regular use.",
"type": "number",
"minimum": 5,
"default": 5,
"description": "Debug only: days before a usage reset expires to show its warning. Increase this to preview resets expiring later. Saved dismissals still apply unless debug.showQuotaWarning is enabled."
},
"varro.debug.simulateUpgradeFailure": {
"deprecationMessage": "Debug only setting. Not intended for regular use.",
"type": "string",
"default": "",
"description": "Debug only: make OpenCode CLI updates fail with this error text, to exercise the update recovery guidance (for example \"EPERM: operation not permitted\")"
},
"varro.server.autoStart": {
"type": "boolean",
"default": true,
"description": "Automatically start the OpenCode server when Varro first needs it. Disable for attach-only connections to a manually managed, Docker, or tunneled server; local CLI and file-based server configuration actions are unavailable in this mode."
}
}
}
},
"activationEvents": [
"onCommand:varro.chat.focus",
"onCommand:varro.chat.statusBarClick",
"onUri",
"onWebviewPanel:varro.editor"
],
"extensionKind": [
"workspace"
],
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#232323",
"theme": "dark"
},
"engines": {
"node": "^22.22.2 || >=24.15.0",
"vscode": "^1.107.0"
},
"volta": {
"node": "24.22.3",
"npm": "12.2.3"
},
"allowScripts": {
"@vscode/vsce-sign@2.1.1": true,
"esbuild@0.28.2": true,
"fsevents@2.3.3": true
},
"capabilities": {
"virtualWorkspaces": {
"supported": false
},
"untrustedWorkspaces": {
"supported": false,
"description": "Varro starts a local OpenCode process and grants it access to the workspace."
}
}
}