-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathvtcode.toml
More file actions
2647 lines (2117 loc) · 58.8 KB
/
vtcode.toml
File metadata and controls
2647 lines (2117 loc) · 58.8 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
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# VT Code Configuration File
# This file was generated by /settings interactive save.
# Every field includes description, possible values (when known), and default.
[acp]
# Globally enable the ACP bridge
# Default: false
# Type: `boolean`
enabled = true
[acp.zed]
# Enable Zed integration
# Default: false
# Type: `boolean`
enabled = true
# Transport used to communicate with the Zed client
# Default: "stdio"
# Type: `string`
transport = "stdio"
# Desired workspace trust level when running under ACP
# Default: "full_auto"
# Type: `string`
workspace_trust = "full_auto"
[acp.zed.auth]
# Default authentication method for ACP agents Options: "agent" (default - agent handles auth),
# "env_var", "terminal"
# Possible values: agent, env_var, terminal
# Default: "agent"
# Type: `string`
default_method = "agent"
[acp.zed.tools]
# Toggle the list_files function bridge
# Default: true
# Type: `boolean`
list_files = true
# Toggle the read_file function bridge
# Default: true
# Type: `boolean`
read_file = true
[agent]
# Environment variable that stores the API key for the active provider
# Default: "ANTHROPIC_API_KEY"
# Type: `string`
api_key_env = "OLLAMA_API_KEY"
# Enable autonomous mode - auto-approve safe tools with reduced HITL prompts When true, the agent
# operates with fewer confirmation prompts for safe tools.
# Default: false
# Type: `boolean`
autonomous_mode = true
credential_storage_mode = "keyring"
# Default editing mode on startup: "edit" (default) or "plan" Codex-inspired: Encourages structured
# planning before execution.
# Possible values: default
# Default: "edit"
# Type: `string`
default_editing_mode = "edit"
# Default model to use
# Default: "claude-sonnet-4-5"
# Type: `string`
default_model = "gpt-oss:20b-cloud"
# Enable an extra self-review pass to refine final responses
# Default: false
# Type: `boolean`
enable_self_review = false
# Enable split tool results for massive token savings (Phase 4) When enabled, tools return
# dual-channel output: - llm_content: Concise summary sent to LLM (token-optimized, 53-95% reduction)
# - ui_content: Rich output displayed to user (full details preserved) Applies to: grep_file,
# list_files, read_file, run_pty_cmd, write_file, edit_file Default: true (opt-out for compatibility),
# recommended for production use
# Default: true
# Type: `boolean`
enable_split_tool_results = true
# Include current date/time in system prompt for temporal awareness Helps LLM understand context for
# time-sensitive tasks (default: true)
# Default: true
# Type: `boolean`
include_temporal_context = true
# Include current working directory in system prompt (default: true)
# Default: true
# Type: `boolean`
include_working_directory = true
# Additional instruction files or globs to merge into the hierarchy
# Default: []
# Type: `array`
instruction_files = []
# Maximum bytes of instruction content to load from AGENTS.md hierarchy
# Default: 16384
# Type: `integer`
instruction_max_bytes = 16384
# Maximum number of conversation turns before auto-termination
# Default: 150
# Type: `integer`
max_conversation_turns = 193
# Maximum number of self-review passes
# Default: 1
# Type: `integer`
max_review_passes = 1
# Maximum number of retries for agent task execution (default: 2) When an agent task fails due to
# retryable errors (timeout, network, 503, etc.), it will be retried up to this many times with
# exponential backoff
# Default: 2
# Type: `integer`
max_task_retries = 2
# Maximum bytes of AGENTS.md content to load from project hierarchy
# Default: 16384
# Type: `integer`
project_doc_max_bytes = 16384
# AI provider for single agent mode (gemini, openai, anthropic, openrouter, zai)
# Possible values: anthropic, gemini, openai, openrouter, zai
# Default: "anthropic"
# Type: `string`
provider = "ollama"
# Reasoning effort level for models that support it (none, low, medium, high) Applies to: Claude,
# GPT-5, GPT-5.1, Gemini, Qwen3, DeepSeek with reasoning capability
# Possible values: high, low, medium, none
# Default: "medium"
# Type: `string`
reasoning_effort = "low"
# Enable prompt refinement pass before sending to LLM
# Default: false
# Type: `boolean`
refine_prompts_enabled = false
# Max refinement passes for prompt writing
# Default: 1
# Type: `integer`
refine_prompts_max_passes = 1
# Optional model override for the refiner (empty = auto pick efficient sibling)
# Default: ""
# Type: `string`
refine_prompts_model = ""
# Temperature for prompt refinement (0.0-1.0, default: 0.3) Lower values ensure prompt refinement is
# more deterministic/consistent Keep lower than main temperature for stable prompt improvement
# Possible values: 0.0-1.0
# Default: 0.30000001192092896
# Type: `number`
refine_temperature = 0.3
# Require user confirmation before executing a plan generated in plan mode When true, exiting plan
# mode shows the implementation blueprint and requires explicit user approval before enabling edit
# tools.
# Default: true
# Type: `boolean`
require_plan_confirmation = true
# System prompt mode controlling verbosity and token overhead Options: minimal (~500-800 tokens),
# lightweight (~1-2k), default (~6-7k), specialized (~7-8k) Inspired by pi-coding-agent: modern models
# often perform well with minimal prompts
# Default: "default"
# Type: `string`
system_prompt_mode = "default"
# Temperature for main LLM responses (0.0-1.0) Lower values = more deterministic, higher values = more
# creative Recommended: 0.7 for balanced creativity and consistency Range: 0.0 (deterministic) to 1.0
# (maximum randomness)
# Possible values: 0.0-1.0
# Default: 0.699999988079071
# Type: `number`
temperature = 0.7
# Use UTC instead of local time for temporal context in system prompts
# Default: false
# Type: `boolean`
temporal_context_use_utc = false
# UI theme identifier controlling ANSI styling
# Default: "ciapre"
# Type: `string`
theme = "ansi-classic"
# Enable TODO planning helper mode for structured task management
# Default: true
# Type: `boolean`
todo_planning_mode = false
# Tool documentation mode controlling token overhead for tool definitions Options: minimal (~800
# tokens), progressive (~1.2k), full (~3k current) Progressive: signatures upfront, detailed docs
# on-demand (recommended) Minimal: signatures only, pi-coding-agent style (power users) Full: all
# documentation upfront (current behavior, default)
# Default: "full"
# Type: `string`
tool_documentation_mode = "minimal"
# Preferred rendering surface for the interactive chat UI (auto, alternate, inline)
# Possible values: alternate, auto, inline
# Default: "auto"
# Type: `string`
ui_surface = "auto"
# Verbosity level for output text (low, medium, high) Applies to: GPT-5.1 and other models that
# support verbosity control
# Possible values: high, low, medium
# Default: "medium"
# Type: `string`
verbosity = "medium"
[agent.checkpointing]
# Enable automatic checkpoints after each successful turn
# Default: true
# Type: `boolean`
enabled = false
# Maximum age in days before checkpoints are removed automatically (None disables)
# Default: 30
# Type: `integer | null`
max_age_days = 30
# Maximum number of checkpoints to retain on disk
# Default: 50
# Type: `integer`
max_snapshots = 50
[agent.circuit_breaker]
# Enable circuit breaker functionality
# Default: true
# Type: `boolean`
enabled = true
# Number of consecutive failures before opening circuit
# Default: 5
# Type: `integer`
failure_threshold = 5
# Number of open circuits before triggering pause
# Default: 3
# Type: `integer`
max_open_circuits = 3
# Pause and ask user when circuit opens (vs auto-backoff)
# Default: true
# Type: `boolean`
pause_on_open = true
# Cooldown period between recovery prompts (seconds)
# Possible values: seconds
# Default: 60
# Type: `integer`
recovery_cooldown = 60
[agent.harness]
auto_compaction_enabled = false
# Maximum number of tool calls allowed per turn
# Default: 48
# Type: `integer`
max_tool_calls_per_turn = 32
# Maximum retries for retryable tool errors
# Default: 2
# Type: `integer`
max_tool_retries = 2
# Maximum wall clock time (seconds) for tool execution in a turn
# Possible values: seconds
# Default: 600
# Type: `integer`
max_tool_wall_clock_secs = 600
[agent.onboarding]
# Toggle onboarding message rendering
# Default: true
# Type: `boolean`
enabled = true
# Maximum number of guideline bullets to surface
# Default: 3
# Type: `integer`
guideline_highlight_limit = 3
# Whether to include AGENTS.md highlights in onboarding message
# Default: true
# Type: `boolean`
include_guideline_highlights = true
# Whether to include language summary in onboarding message
# Default: false
# Type: `boolean`
include_language_summary = false
# Whether to include project overview in onboarding message
# Default: true
# Type: `boolean`
include_project_overview = true
# Whether to surface suggested actions inside the welcome text banner
# Default: false
# Type: `boolean`
include_recommended_actions_in_welcome = false
# Whether to surface usage tips inside the welcome text banner
# Default: false
# Type: `boolean`
include_usage_tips_in_welcome = false
# Introductory text shown at session start
# Default: "Let's get oriented. I preloaded workspace context so we can move fast."
# Type: `string`
intro_text = "Let's get oriented. I preloaded workspace context so we can move fast."
# Recommended follow-up actions to display
# Default: ["Review the highlighted guidelines and share the task you want to tackle.", "Ask for a workspace tour if you need mo...
# Type: `array`
recommended_actions = [
"Review the highlighted guidelines and share the task you want to tackle.",
"Ask for a workspace tour if you need more context.",
]
# Tips for collaborating with the agent effectively
# Default: ["Describe your current coding goal or ask for a quick status overview.", "Reference AGENTS.md guidelines when propos...
# Type: `array`
usage_tips = [
"Describe your current coding goal or ask for a quick status overview.",
"Reference AGENTS.md guidelines when proposing changes.",
"Prefer asking for targeted file reads or diffs before editing.",
]
[agent.open_responses]
# Emit Open Responses events to the event sink When true, streaming events follow Open Responses
# format (response.created, response.output_item.added, response.output_text.delta, etc.)
# Possible values: etc., response.created, response.output_item.added, response.output_text.delta
# Default: true
# Type: `boolean`
emit_events = true
# Enable Open Responses specification compliance layer When true, VT Code emits semantic streaming
# events alongside internal events Default: false (opt-in feature)
# Default: false
# Type: `boolean`
enabled = false
# Include VT Code extension items (vtcode:file_change, vtcode:web_search, etc.) When false, extension
# items are omitted from the Open Responses output
# Possible values: etc.
# Default: true
# Type: `boolean`
include_extensions = true
# Include reasoning items in Open Responses output When true, model reasoning/thinking is exposed as
# reasoning items
# Default: true
# Type: `boolean`
include_reasoning = true
# Map internal tool calls to Open Responses function_call items When true, command executions and MCP
# tool calls are represented as function_call items
# Default: true
# Type: `boolean`
map_tool_calls = true
[agent.small_model]
# Enable small model tier for efficient operations
# Default: true
# Type: `boolean`
enabled = false
# Small model to use (e.g., claude-4-5-haiku, "gpt-4-mini", "gemini-2.0-flash") Leave empty to
# auto-select a lightweight sibling of the main model
# Possible values: claude-4-5-haiku, e.g., gemini-2.0-flash, gpt-4-mini
# Default: ""
# Type: `string`
model = ""
# Temperature for small model responses
# Default: 0.30000001192092896
# Type: `number`
temperature = 0.3
# Enable small model for git history processing
# Default: true
# Type: `boolean`
use_for_git_history = true
# Enable small model for large file reads (>50KB)
# Default: true
# Type: `boolean`
use_for_large_reads = true
# Enable small model for web content summarization
# Default: true
# Type: `boolean`
use_for_web_summary = true
[agent.vibe_coding]
# Enable conversation memory for pronoun resolution
# Default: true
# Type: `boolean`
enable_conversation_memory = true
# Enable fuzzy entity resolution
# Default: true
# Type: `boolean`
enable_entity_resolution = true
# Enable proactive context gathering
# Default: true
# Type: `boolean`
enable_proactive_context = true
# Enable pronoun resolution (it, that, this)
# Possible values: it, that, this
# Default: true
# Type: `boolean`
enable_pronoun_resolution = true
# Enable relative value inference (by half, double, etc.)
# Possible values: double, etc.
# Default: true
# Type: `boolean`
enable_relative_value_inference = true
# Enable vibe coding support
# Default: false
# Type: `boolean`
enabled = false
# Entity index cache file path (relative to workspace)
# Default: ".vtcode/entity_index.json"
# Type: `string`
entity_index_cache = ".vtcode/entity_index.json"
# Maximum files to gather for context (default: 3)
# Default: 3
# Type: `integer`
max_context_files = 3
# Maximum code snippets per file (default: 20 lines)
# Default: 20
# Type: `integer`
max_context_snippets_per_file = 20
# Maximum entity matches to return (default: 5)
# Default: 5
# Type: `integer`
max_entity_matches = 5
# Maximum conversation turns to remember (default: 50)
# Default: 50
# Type: `integer`
max_memory_turns = 50
# Maximum recent files to track (default: 20)
# Default: 20
# Type: `integer`
max_recent_files = 20
# Maximum search results to include (default: 5)
# Default: 5
# Type: `integer`
max_search_results = 5
# Minimum prompt length for refinement (default: 5 chars)
# Default: 5
# Type: `integer`
min_prompt_length = 5
# Minimum prompt words for refinement (default: 2 words)
# Default: 2
# Type: `integer`
min_prompt_words = 2
# Track value history for inference
# Default: true
# Type: `boolean`
track_value_history = true
# Track workspace state (file activity, value changes)
# Default: true
# Type: `boolean`
track_workspace_state = true
[auth]
[auth.openrouter]
# Whether to automatically refresh tokens when they expire. If false, the user will be prompted to
# re-authenticate.
# Default: true
# Type: `boolean`
auto_refresh = true
# Port for the local OAuth callback server. The server listens on localhost for the OAuth redirect.
# Default: 8484
# Type: `integer`
callback_port = 8484
# Timeout in seconds for the OAuth flow. If the user doesn't complete authentication within this time,
# the flow is cancelled.
# Default: 300
# Type: `integer`
flow_timeout_secs = 300
# Whether to use OAuth instead of API key for authentication. When enabled, VT Code will prompt for
# OAuth login if no valid token exists.
# Default: false
# Type: `boolean`
use_oauth = false
[automation]
[automation.full_auto]
# Allow-list of tools that may execute automatically.
# Default: ["read_file", "list_files", "grep_file"]
# Type: `array`
allowed_tools = [
"read_file",
"list_files",
"grep_file",
]
# Enable the runtime flag once the workspace is configured for autonomous runs.
# Default: false
# Type: `boolean`
enabled = true
# Maximum number of autonomous agent turns before the exec runner pauses.
# Default: 30
# Type: `integer`
max_turns = 30
# Require presence of a profile/acknowledgement file before activation.
# Default: true
# Type: `boolean`
require_profile_ack = true
[chat]
[chat.askQuestions]
# Enable the Ask Questions tool in interactive chat
# Default: true
# Type: `boolean`
enabled = true
[commands]
# Glob patterns allowed for shell commands (applies to Bash)
# Default: []
# Type: `array`
allow_glob = [
"git *",
"cargo *",
"rustc *",
"python *",
"python3 *",
"pip *",
"pip3 *",
"node *",
"npm *",
"npm run *",
"yarn *",
"yarn run *",
"pnpm *",
"pnpm run *",
"bun *",
"bun run *",
"npx *",
"go *",
"gcc *",
"g++ *",
"clang *",
"clang++ *",
"javac *",
"java *",
"mvn *",
"gradle *",
"make *",
"cmake *",
"ninja *",
"docker *",
"docker-compose *",
"virtualenv *",
"tar *",
"zip *",
"unzip *",
"gzip *",
"gunzip *",
]
# Commands that can be executed without prompting
# Default: []
# Type: `array`
allow_list = [
"ls",
"pwd",
"cat",
"grep",
"find",
"head",
"tail",
"wc",
"git status",
"git diff",
"git log",
"git show",
"git branch",
"git remote",
"cargo check",
"cargo build",
"cargo build --release",
"cargo build --profile release",
"cargo test",
"cargo run",
"cargo clippy",
"cargo fmt",
"cargo tree",
"cargo metadata",
"cargo doc",
"rustc",
"which",
"echo",
"printf",
"date",
"tree",
"stat",
"file",
"sort",
"uniq",
"cut",
"awk",
"sed",
"tar",
"zip",
"unzip",
"gzip",
"gunzip",
"make",
"cmake",
"ninja",
"python3",
"python3 -m pip install",
"python3 -m pytest",
"python3 -m build",
"python",
"pip3",
"pip",
"virtualenv",
"node",
"npm",
"npm run build",
"npm run test",
"npm install",
"yarn",
"yarn build",
"yarn test",
"pnpm",
"pnpm build",
"pnpm test",
"bun",
"bun install",
"bun run",
"bun test",
"npx",
"go",
"go build",
"go test",
"gcc",
"g++",
"clang",
"clang++",
"javac",
"java",
"mvn",
"gradle",
"docker",
"docker-compose",
]
# Regex allow patterns for shell commands
# Default: []
# Type: `array`
allow_regex = [
'^(ls|pwd|cat|grep|find|head|tail|wc|echo|printf|date|tree|stat|file|sort|uniq|cut|awk|sed|tar|zip|unzip|gzip|gunzip)\b',
'^git (status|diff|log|show|branch|remote)\b',
'^cargo (check|build|test|run|doc|clippy|fmt|tree|metadata)\b',
'^rustc\b',
'^(python|python3) (-m | )?\w*',
'^(pip|pip3)\b',
'^virtualenv\b',
'^(node|npm|yarn|pnpm|bun|npx)\b',
'^go\b',
'^(gcc|g\+\+|clang|clang\++)\b',
'^(javac|java)\b',
'^(mvn|gradle)\b',
'^(make|cmake)\b',
'^(docker|docker-compose)\b',
]
# Glob patterns denied for shell commands
# Default: []
# Type: `array`
deny_glob = [
"rm *",
"sudo *",
"chmod *",
"chown *",
"kill *",
"pkill *",
"systemctl *",
"service *",
"mount *",
"umount *",
"docker run *",
"kubectl *",
]
# Commands that are always denied
# Default: []
# Type: `array`
deny_list = [
"rm",
"rm -rf /",
"rm -rf ~",
"rm -rf /*",
"rm -rf /home",
"rm -rf /usr",
"rm -rf /etc",
"rm -rf /var",
"rm -rf /opt",
"rmdir /",
"rmdir /home",
"rmdir /usr",
"shutdown",
"reboot",
"halt",
"poweroff",
"init 0",
"init 6",
"systemctl poweroff",
"systemctl reboot",
"systemctl halt",
"sudo rm",
"sudo chmod 777",
"sudo chown",
"sudo passwd",
"sudo su",
"sudo -i",
"sudo bash",
"su root",
"su -",
"format",
"fdisk",
"mkfs",
"mkfs.ext4",
"mkfs.xfs",
"mkfs.vfat",
"dd if=/dev/zero",
"dd if=/dev/random",
"dd if=/dev/urandom",
"wget --no-check-certificate",
":(){ :|:& };:",
"nohup bash -i",
"exec bash -i",
"eval",
"source /etc/bashrc",
"source ~/.bashrc",
"chmod 777",
"chmod -R 777",
"chown -R",
"chgrp -R",
"rm ~/.ssh/*",
"rm -r ~/.ssh",
"cat /etc/passwd",
"cat /etc/shadow",
"cat ~/.ssh/id_*",
"tail -f /var/log",
"head -n 1 /var/log",
]
# Regex deny patterns for shell commands
# Default: []
# Type: `array`
deny_regex = [
'rm\s+(-rf|--force)',
'sudo\s+.*',
'chmod\s+.*',
'chown\s+.*',
'docker\s+run\s+.*--privileged',
'kubectl\s+(delete|drain|uncordon)',
]
# Additional directories that should be searched/prepended to PATH for command execution
# Default: ["$HOME/.cargo/bin", "$HOME/.local/bin", "/opt/homebrew/bin", "/usr/local/bin", "$HOME/.asdf/bin", "$HOME/.asdf/shims...
# Type: `array`
extra_path_entries = [
"$HOME/.cargo/bin",
"$HOME/.local/bin",
"/opt/homebrew/bin",
"/usr/local/bin",
"$HOME/.asdf/bin",
"$HOME/.asdf/shims",
"$HOME/go/bin",
]
[context]
# Maximum tokens to keep in context (affects model cost and performance) Higher values preserve more
# context but cost more and may hit token limits This field is maintained for compatibility but no
# longer used for trimming
# Default: 90000
# Type: `integer`
max_context_tokens = 130048
# Preserve recent turns during context management This field is maintained for compatibility but no
# longer used for trimming
# Default: 10
# Type: `integer`
preserve_recent_turns = 10
# Percentage to trim context to when it gets too large This field is maintained for compatibility but
# no longer used for trimming
# Default: 60
# Type: `integer`
trim_to_percent = 90
[context.dynamic]
# Enable dynamic context discovery features
# Default: true
# Type: `boolean`
enabled = true
# Maximum number of spooled files to keep
# Default: 100
# Type: `integer`
max_spooled_files = 100
# Enable persisting conversation history during summarization
# Default: true
# Type: `boolean`
persist_history = true
# Maximum age in seconds for spooled tool output files before cleanup
# Default: 3600
# Type: `integer`
spool_max_age_secs = 3600
# Enable syncing MCP tool descriptions to .vtcode/mcp/tools/
# Default: true
# Type: `boolean`
sync_mcp_tools = true
# Enable generating skill index in .agents/skills/INDEX.md
# Default: true
# Type: `boolean`
sync_skills = true
# Enable syncing terminal sessions to .vtcode/terminals/ files
# Default: true
# Type: `boolean`
sync_terminals = true
# Threshold in bytes above which tool outputs are spooled to files
# Default: 8192
# Type: `integer`
tool_output_threshold = 8192
[context.ledger]
# -
# Default: true
# Type: `boolean`
enabled = true
# Inject ledger into the system prompt each turn
# Default: true
# Type: `boolean`
include_in_prompt = true
# -
# Default: 12
# Type: `integer`
max_entries = 12
# Preserve ledger entries during context compression
# Default: true
# Type: `boolean`
preserve_in_compression = true
[debug]
# Enable structured logging for development and troubleshooting
# Default: false
# Type: `boolean`
enable_tracing = true
# Maximum age of debug logs to keep (in days)
# Default: 7
# Type: `integer`
max_debug_log_age_days = 7
# Maximum size of debug logs before rotating (in MB)
# Default: 50
# Type: `integer`
max_debug_log_size_mb = 50
# Trace level (error, warn, info, debug, trace)
# Possible values: debug, error, info, trace, warn
# Default: "info"
# Type: `string`
trace_level = "error"
# List of tracing targets to enable Examples: "vtcode_core::agent", "vtcode_core::tools", "vtcode::*"
# Default: []
# Type: `array`
trace_targets = []
[dotfile_protection]
# Additional dotfile patterns to protect (beyond defaults).
# Default: []
# Type: `array`
additional_protected_patterns = []
# Path to the audit log file.
# Default: "~/.vtcode/dotfile_audit.log"
# Type: `string`
audit_log_path = "~/.vtcode/dotfile_audit.log"
# Enable immutable audit logging of all dotfile access attempts.
# Default: true
# Type: `boolean`
audit_logging_enabled = true
# Directory for storing dotfile backups.
# Default: "~/.vtcode/dotfile_backups"
# Type: `string`
backup_directory = "~/.vtcode/dotfile_backups"
# Block modifications during automated operations.
# Default: true
# Type: `boolean`
block_during_automation = true
# Operations that trigger extra protection.
# Default: ["dependency_installation", "code_formatting", "git_operations", "project_initialization", "build_operations", "test_...
# Type: `array`
blocked_operations = [
"dependency_installation",
"code_formatting",
"git_operations",
"project_initialization",
"build_operations",
"test_execution",
"linting",
"auto_fix",
]
# Create backup before any permitted modification.
# Default: true
# Type: `boolean`
create_backups = true
# Enable dotfile protection globally.
# Default: true
# Type: `boolean`
enabled = true
# Maximum number of backups to retain per file.
# Default: 10
# Type: `integer`
max_backups_per_file = 10
# Preserve original file permissions and ownership.
# Default: true
# Type: `boolean`
preserve_permissions = true
# Prevent cascading modifications (one dotfile change triggering others).
# Default: true
# Type: `boolean`