diff --git a/src/lib/settings/categories/AgentSettings.svelte b/src/lib/settings/categories/AgentSettings.svelte new file mode 100644 index 0000000..2851c6d --- /dev/null +++ b/src/lib/settings/categories/AgentSettings.svelte @@ -0,0 +1,285 @@ + + +
+

Defaults

+
+
+ + { defaultShell = (e.target as HTMLInputElement).value; save('default_shell', defaultShell); }} /> +
+
+ +
+ { defaultCwd = (e.target as HTMLInputElement).value; save('default_cwd', defaultCwd); }} /> + +
+
+
+

Editor

+
+
+ + Auto-save files when the editor loses focus +
+
+
+ +
+

Agent Defaults

+
+
+ Permission mode +
+ + + +
+
+
+ + +
+
+ +
+ { const n = parseInt((e.target as HTMLInputElement).value, 10); if (!isNaN(n) && n >= 0 && n <= 100) { contextPressureWarn = n; save('context_pressure_warn', String(n)); } }} /> + % +
+ Badge turns yellow at this threshold +
+
+ +
+ { const n = parseInt((e.target as HTMLInputElement).value, 10); if (!isNaN(n) && n >= 0 && n <= 100) { contextPressureCritical = n; save('context_pressure_critical', String(n)); } }} /> + % +
+ Badge turns red at this threshold +
+
+
+ +
+

Providers

+
+ {#each registeredProviders as provider} +
+ + {#if expandedProvider === provider.id} +
+
+ +
+ {#if provider.capabilities.hasModelSelection} +
+ Default model + setProviderModel(provider.id, (e.target as HTMLInputElement).value)} /> +
+ {/if} +
+ Capabilities +
+ {#if provider.capabilities.hasProfiles}Profiles{/if} + {#if provider.capabilities.hasSkills}Skills{/if} + {#if provider.capabilities.supportsSubagents}Subagents{/if} + {#if provider.capabilities.supportsCost}Cost tracking{/if} + {#if provider.capabilities.supportsResume}Resume{/if} + {#if provider.capabilities.hasSandbox}Sandbox{/if} +
+
+
+ {/if} +
+ {/each} +
+
+ +
+

Pro Features

+
+
+ + { monthlyTokenBudget = (e.target as HTMLInputElement).value; save('budget_monthly_tokens', monthlyTokenBudget); }} /> + Maximum tokens per month for cost control +
+
+ Model router profile Pro +
+ + + +
+ Routes prompts to cost-optimal or quality-optimal models +
+
+
+ +