Documentation
¶
Overview ¶
Package settings is the one typed registry of every user setting, its layered resolution and its single writer.
Index ¶
- Constants
- Variables
- func CorePlatforms() []string
- func DefaultsOnly(ctx context.Context) context.Context
- func EndSession(sessionID string)
- func Flipped(ctx context.Context, e Entry) any
- func PlatformFrom(ctx context.Context) string
- func PlatformOverrides(ctx context.Context, e Entry) map[string]any
- func PluginKeysRegistered()
- func ReasoningConfig(ctx context.Context, model string) map[string]any
- func Register[E Entry](e E) E
- func RegisterPlatformTiers(fn PlatformTierFunc)
- func RegisterPluginKeys(plugin string, keys []string)
- func RegisterSessionStore(s SessionStore)
- func SessionFrom(ctx context.Context) string
- func SessionValues(ctx context.Context, sessionID string) map[string]any
- func Stored(ctx context.Context, key string) (any, bool)
- func Subscribe(fn Listener) (cancel func())
- func TaskReasoningConfig(ctx context.Context, task, model string) map[string]any
- func TurnRecoveryAttempts(word string) int
- func WithFrozen(ctx context.Context, doc map[string]any) context.Context
- func WithPlatform(ctx context.Context, platform string) context.Context
- func WithSession(ctx context.Context, sessionID string) context.Context
- func WithoutSession(ctx context.Context) context.Context
- type Apply
- type Bool
- type Change
- type Choice
- type Duration
- type Entry
- type Enum
- type Float
- type Group
- type GroupID
- type Int
- type Kind
- type List
- type Listener
- type Map
- func (m *Map) Coerce(v any) (any, error)
- func (m *Map) DefaultValue() any
- func (m *Map) DeleteEntry(ctx context.Context, name string) (Change, error)
- func (m *Map) EntryKey(name string) string
- func (m *Map) Get(ctx context.Context) map[string]any
- func (m *Map) Kind() Kind
- func (m *Map) SetEntry(ctx context.Context, name string, value any) (Change, error)
- func (m *Map) Source(ctx context.Context) Source
- func (m *Map) Stored(ctx context.Context) map[string]any
- type MapEntry
- type Meta
- type Object
- type Path
- type PlatformTierFunc
- type Query
- type Row
- type Scope
- type Secret
- type SessionStore
- type Source
- type String
- type Value
- type ValueError
Constants ¶
const LocalPlatform = "cli"
Platform key of the terminal UI, whose overrides live under display.platforms.cli
Variables ¶
var A2aAdvertisedToolsets = Register(&List{Meta: Meta{Key: "a2a.advertised_toolsets", Label: "Advertised toolsets", Short: "A2A: toolsets the agent card lists as skills.", Help: "Empty lists every toolset the agent has.", Group: GroupChatApps, Order: 907, Advanced: true, Apply: Restart, Env: "A2A_ADVERTISED_TOOLSETS"}})
A2A: toolsets the agent card lists as skills
var A2aAgentDescription = Register(&String{Meta: Meta{Key: "a2a.agent_description", Label: "A2A description", Short: "A2A: description the agent card advertises.", Group: GroupChatApps, Order: 905, Advanced: true, Apply: Restart, Env: "A2A_AGENT_DESCRIPTION"}, Default: "Icebath Agent — a general-purpose agent reachable over A2A."})
A2A: description the agent card advertises
var A2aAgentName = Register(&String{Meta: Meta{Key: "a2a.agent_name", Label: "A2A agent name", Short: "A2A: name the agent card advertises.", Help: "Blank uses icebath- and the host name.", Group: GroupChatApps, Order: 904, Advanced: true, Apply: Restart, Env: "A2A_AGENT_NAME"}, Default: ""})
A2A: name the agent card advertises
var A2aAgents = Register(&Map{Meta: Meta{Key: "a2a_agents", Label: "A2A peers", Short: "A2A: peer agents the A2A tools can call, keyed by name.", Help: "Each entry takes url, auth, timeout, capabilities and tenant.", Group: GroupChatApps, Order: 914, Advanced: true}})
A2A: peer agents the A2A tools can call, keyed by name
var A2aAllowAllUsers = Register(&Bool{Meta: Meta{Key: "a2a.allow_all_users", Label: "Allow all peers", Short: "A2A: accept tasks from every peer that passes the token check.", Group: GroupChatApps, Order: 902, Advanced: true, Apply: Restart, Env: "A2A_ALLOW_ALL_USERS"}, Default: false})
A2A: accept tasks from every authenticated peer
var A2aHost = Register(&String{Meta: Meta{Key: "a2a.host", Label: "A2A bind address", Short: "A2A: address the agent server binds to.", Help: "Any address other than this machine needs a bearer or peer token.", Group: GroupChatApps, Order: 901, Advanced: true, Apply: Restart, Env: "A2A_HOST"}, Default: "127.0.0.1"})
A2A: address the agent server binds to
var A2aMaxPingpongTurns = Register(&Int{Meta: Meta{Key: "a2a.max_pingpong_turns", Label: "A2A turn limit", Short: "A2A: most inbound turns one peer conversation may take.", Help: "Counted between 1 and 20.", Group: GroupChatApps, Order: 911, Advanced: true, Env: "A2A_MAX_PINGPONG_TURNS"}, Default: 5, Unit: "turns"})
A2A: most inbound turns one peer conversation may take
var A2aPort = Register(&Int{Meta: Meta{Key: "a2a.port", Label: "A2A port", Short: "A2A: port the agent server listens on.", Group: GroupChatApps, Order: 900, Advanced: true, Apply: Restart, Env: "A2A_PORT"}, Default: 9900})
A2A: port the agent server listens on
var A2aProviderOrg = Register(&String{Meta: Meta{Key: "a2a.provider_org", Label: "A2A provider", Short: "A2A: organization the agent card names as its provider.", Group: GroupChatApps, Order: 909, Advanced: true, Env: "A2A_PROVIDER_ORG"}, Default: "Icebath Agent"})
A2A: organization the agent card names as its provider
var A2aProviderURL = Register(&String{Meta: Meta{Key: "a2a.provider_url", Label: "A2A provider address", Short: "A2A: web address of the provider on the agent card.", Help: "Blank uses the agent's own address.", Group: GroupChatApps, Order: 910, Advanced: true, Env: "A2A_PROVIDER_URL"}, Default: ""})
A2A: web address of the provider on the agent card
var A2aPublicURL = Register(&String{Meta: Meta{Key: "a2a.public_url", Label: "A2A public address", Short: "A2A: public address peers reach the agent server at.", Help: "Blank uses the address of each request.", Group: GroupChatApps, Order: 906, Advanced: true, Apply: Restart, Env: "A2A_PUBLIC_URL"}, Default: ""})
A2A: public address peers reach the agent server at
var A2aRateLimit = Register(&Int{Meta: Meta{Key: "a2a.rate_limit", Label: "A2A rate limit", Short: "A2A: most requests one peer may send a minute.", Help: "Less than one counts as one.", Group: GroupChatApps, Order: 912, Advanced: true, Apply: Restart, Env: "A2A_RATE_LIMIT"}, Default: 60, Unit: "requests"})
A2A: most requests one peer may send a minute
var A2aReplyTimeout = Register(&Duration{Meta: Meta{Key: "a2a.reply_timeout", Label: "A2A reply wait", Short: "A2A: how long a peer task waits for the agent's answer.", Help: "Less than one second counts as one second.", Group: GroupChatApps, Order: 908, Advanced: true, Apply: Restart, Env: "A2A_REPLY_TIMEOUT"}, Default: 300 * time.Second})
A2A: how long a peer task waits for the agent's answer
var A2aServedAgents = Register(&Map{Meta: Meta{Key: "a2a.served_agents", Label: "Served agents", Short: "A2A: other profiles served on their own path, keyed by slug.", Help: "Each entry may name profile, path, tenant, name, description, toolsets and timeout.", Group: GroupChatApps, Order: 913, Advanced: true, Apply: Restart}})
A2A: other profiles served on their own path, keyed by slug
var A2aTrustedPeers = Register(&List{Meta: Meta{Key: "a2a.trusted_peers", Label: "Trusted peers", Short: "A2A: peer names allowed to send tasks.", Help: "Empty allows every peer on this machine and none from elsewhere.", Group: GroupChatApps, Order: 903, Advanced: true, Apply: Restart, Env: "A2A_TRUSTED_PEERS"}})
A2A: peer names allowed to send tasks
var AgentAgentCacheIdleTtlSecs = Register(&Duration{Meta: Meta{Key: "agent.agent_cache.idle_ttl_secs", Label: "Idle session lifetime", Short: "How long an unused agent stays loaded before it can be freed.", Group: GroupSystem, Order: 1000, Advanced: true}, Default: time.Hour})
How long an unused agent stays loaded before it can be freed
var AgentAgentCacheMaxEvictionsPerPass = Register(&Int{Meta: Meta{Key: "agent.agent_cache.max_evictions_per_pass", Label: "Frees per sweep", Short: "Most idle agents freed in one cleanup sweep.", Group: GroupSystem, Order: 1010, Advanced: true}, Min: at(1), Default: 16, DefaultBelow: true})
Most idle agents freed in one cleanup sweep
var AgentAgentCacheMaxSize = Register(&Int{Meta: Meta{Key: "agent.agent_cache.max_size", Label: "Loaded agents", Short: "How many agents stay loaded before the oldest idle ones are freed.", Group: GroupSystem, Order: 1020, Advanced: true}, Default: 128})
How many agents stay loaded before the oldest idle ones are freed
var AgentAgentCacheMemoryHighMb = Register(&String{Meta: Meta{Key: "agent.agent_cache.memory_high_mb", Label: "Memory ceiling", Short: "Memory use in MB above which idle agents are freed.", Help: "Use auto to pick from the machine's memory, a number of MB, or off to never free by memory.", Group: GroupSystem, Order: 1030, Advanced: true}, Default: "auto"})
Memory use in MB above which idle agents are freed
var AgentAgentCacheProtectRecent = Register(&Int{Meta: Meta{Key: "agent.agent_cache.protect_recent", Label: "Keep recent agents", Short: "Most recently used agents that are never freed.", Group: GroupSystem, Order: 1040, Advanced: true}, Min: at(0), Default: 8, DefaultBelow: true})
Most recently used agents that are never freed
var AgentApiCallStaleTimeout = Register(&Duration{Meta: Meta{Key: "agent.api_call_stale_timeout", Label: "Silent request limit", Short: "How long a model may stay silent on a request that is not streamed.", Help: "Unset picks it from the model and the request size. Zero means no limit. A provider's own stale timeout wins over this.", Group: GroupSystem, Order: 3060, Advanced: true, Apply: NextTurn}, Null: "picked from the model and request size", Min: at(time.Duration(0))})
How long a model may stay silent on a request that is not streamed
var AgentApiMaxRetries = Register(&Int{Meta: Meta{Key: "agent.api_max_retries", Label: "Model retries", Short: "Times a failed model request is retried before giving up.", Group: GroupSystem, Order: 1050, Advanced: true, Apply: NewSession}, Default: 3})
Times a failed model request is retried before giving up
var AgentApiTimeout = Register(&Duration{Meta: Meta{Key: "agent.api_timeout", Label: "Request time limit", Short: "How long one model request may take before it is given up.", Help: "A provider's own request timeout under Providers wins over this.", Group: GroupSystem, Order: 3050, Advanced: true, Apply: NextTurn}, Default: 1800 * time.Second, Min: at(time.Second)})
How long one model request may take before it is given up
var AgentAutoRecoveryCycles = Register(&Int{Meta: Meta{Key: "agent.auto_recovery_cycles", Label: "Recovery attempts", Short: "Times the agent tries to recover on its own after repeated failures.", Group: GroupSystem, Order: 1060, Advanced: true, Apply: NewSession}, Default: 5})
Times the agent tries to recover on its own after repeated failures
var AgentBotModeProtocol = Register(&Bool{Meta: Meta{Key: "agent.bot_mode_protocol", Label: "Bot mode rules", Short: "Tells the agent how to behave when relayed through a bot.", Group: GroupAgent, Order: 1000, Advanced: true, Apply: NewSession}, Default: true})
Tells the agent how to behave when relayed through a bot
var AgentBudgetWarningRatio = Register(&Float{Meta: Meta{Key: "agent.budget_warning_ratio", Label: "Budget warning point", Short: "Warns the agent when this share of its turns is used.", Help: "A number between 0 and 1, such as 0.8 for 80 percent. Other values turn the warning off.", Group: GroupAgent, Order: 1010, Advanced: true, Apply: NewSession}, Null: "no warning"})
Warns the agent when this share of its turns is used
var AgentBuildWaitTimeout = Register(&Duration{Meta: Meta{Key: "agent.build_wait_timeout", Label: "Startup wait", Short: "How long a first prompt waits for a new agent to finish loading.", Group: GroupSystem, Order: 1070, Advanced: true}, Default: 10 * time.Minute})
How long a first prompt waits for a new agent to finish loading
var AgentClarifyTimeout = Register(&Duration{Meta: Meta{Key: "agent.clarify_timeout", Label: "Question timeout", Short: "How long the agent waits for your answer to a question.", Group: GroupSystem, Order: 1080, Advanced: true}, Default: time.Hour})
How long the agent waits for your answer to a question
var AgentCodingContext = Register(&Enum{Meta: Meta{Key: "agent.coding_context", Label: "Coding mode", Short: "Whether the agent switches to coding guidance in code folders.", Group: GroupAgent, Order: 1020, Advanced: true, Apply: NewSession}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "Use coding guidance inside code projects."}, {Value: "focus", Label: "Focus", Meaning: "Lean coding guidance in code projects."}, {Value: "on", Label: "Always", Meaning: "Always use coding guidance."}, {Value: "off", Label: "Never", Meaning: "Never use coding guidance."}}, Also: map[string]string{"strict": "focus", "lean": "focus", "true": "on", "yes": "on", "1": "on", "always": "on", "false": "off", "no": "off", "0": "off", "never": "off"}})
Whether the agent switches to coding guidance in code folders
var AgentCronDrainTimeout = Register(&Duration{Meta: Meta{Key: "agent.cron_drain_timeout", Label: "Scheduled job wait", Short: "How long a restart waits for running scheduled jobs to finish.", Group: GroupSystem, Order: 1090, Advanced: true, Apply: Restart}, Default: 30 * time.Second})
How long a restart waits for running scheduled jobs to finish
var AgentDisabledToolsets = Register(&List{Meta: Meta{Key: "agent.disabled_toolsets", Label: "Disabled toolsets", Short: "Tool groups to switch off for every chat.", Help: "Applies on top of Tool groups.", Group: GroupTools, Order: 1000, Advanced: true}})
Tool groups to switch off for every chat
var AgentEmptyResponseGuardCostThresholdUsd = Register(&Float{Meta: Meta{Key: "agent.empty_response_guard.cost_threshold_usd", Label: "Retry cost limit", Short: "Spend in dollars above which empty replies are not retried.", Help: "Must be above zero or the built-in value is used.", Group: GroupAgent, Order: 1030, Advanced: true, Apply: NewSession}, Default: 0.25})
Spend in dollars above which empty replies are not retried
var AgentEmptyResponseGuardEnabled = Register(&Bool{Meta: Meta{Key: "agent.empty_response_guard.enabled", Label: "Empty reply guard", Short: "Retries when the model sends back an empty reply.", Group: GroupAgent, Order: 1040, Advanced: true, Apply: NewSession}, Default: true})
Retries when the model sends back an empty reply
var AgentEnvironmentHint = Register(&String{Meta: Meta{Key: "agent.environment_hint", Label: "Environment note", Short: "Extra text describing your machine, added to the agent's prompt.", Group: GroupAgent, Order: 1050, Advanced: true, Apply: NewSession}, Default: ""})
Extra text describing your machine, added to the agent's prompt
var AgentEnvironmentProbe = Register(&Bool{Meta: Meta{Key: "agent.environment_probe", Label: "Check environment", Short: "Lets the agent look at installed tools before its first turn.", Group: GroupAgent, Order: 1060, Advanced: true, Apply: NewSession}, Default: true})
Lets the agent look at installed tools before its first turn
var AgentExecutionGuidance = Register(&Enum{Meta: Meta{Key: "agent.execution_guidance", Label: "Execution guidance", Short: "Adds extra advice on acting and finishing work to the prompt.", Help: "Auto turns it on for model families that need it.", Group: GroupAgent, Order: 1070, Advanced: true, Apply: NewSession}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "On for model families that need it."}, {Value: "always", Label: "Always", Meaning: "Always on."}, {Value: "never", Label: "Never", Meaning: "Always off."}}})
Adds extra advice on acting and finishing work to the prompt
var AgentFastAutoSeconds = Register(&Duration{Meta: Meta{Key: "agent.fast_auto_seconds", Label: "Fast mode window", Short: "How long Fast mode stays on after it switches on by itself.", Group: GroupModel, Order: 1000, Advanced: true}, Default: time.Minute})
How long Fast mode stays on after it switches on by itself
var AgentGatewayAutoContinueFreshness = Register(&Duration{Meta: Meta{Key: "agent.gateway_auto_continue_freshness", Label: "Resume window", Short: "How recent an interrupted chat app turn must be to resume itself.", Group: GroupSystem, Order: 1100, Advanced: true, Apply: Restart}, Default: time.Hour})
How recent an interrupted chat app turn must be to resume itself
var AgentGatewayNotifyInterval = Register(&Duration{Meta: Meta{Key: "agent.gateway_notify_interval", Label: "Still-working notice", Short: "How often a chat app is told a long turn is still running.", Help: "Zero turns the notices off.", Group: GroupSystem, Order: 1110, Advanced: true, Apply: Restart}, Default: 3 * time.Minute})
How often a chat app is told a long turn is still running
var AgentGatewayStartupRestoreDrainTimeout = Register(&Duration{Meta: Meta{Key: "agent.gateway_startup_restore_drain_timeout", Label: "Startup restore wait", Short: "How long startup waits for interrupted turns to be restored.", Group: GroupSystem, Order: 1120, Advanced: true, Apply: Restart}, Default: 30 * time.Second})
How long startup waits for interrupted turns to be restored
var AgentGatewayStartupWarmupTimeout = Register(&Duration{Meta: Meta{Key: "agent.gateway_startup_warmup_timeout", Label: "Startup warmup wait", Short: "How long startup waits for the background service to warm up.", Group: GroupSystem, Order: 1130, Advanced: true, Apply: Restart}, Default: 20 * time.Second})
How long startup waits for the background service to warm up
var AgentGatewayTimeout = Register(&Duration{Meta: Meta{Key: "agent.gateway_timeout", Label: "Chat turn timeout", Short: "How long a chat app turn may run before it is stopped.", Group: GroupSystem, Order: 1140, Advanced: true, Apply: Restart}, Default: 30 * time.Minute})
How long a chat app turn may run before it is stopped
var AgentGatewayTimeoutWarning = Register(&Duration{Meta: Meta{Key: "agent.gateway_timeout_warning", Label: "Chat turn warning", Short: "How far into a chat turn a timeout warning is sent.", Group: GroupSystem, Order: 1150, Advanced: true, Apply: Restart}, Default: 15 * time.Minute})
How far into a chat turn a timeout warning is sent
var AgentGatewayTurnLeaseTimeout = Register(&Duration{Meta: Meta{Key: "agent.gateway_turn_lease_timeout", Label: "Turn lock timeout", Short: "How long a chat turn waits for the session to be free.", Group: GroupSystem, Order: 1160, Advanced: true, Apply: Restart}, Default: 5 * time.Second})
How long a chat turn waits for the session to be free
var AgentIntentAckContinuation = Register(&Enum{Meta: Meta{Key: "agent.intent_ack_continuation", Label: "Continue after intent", Short: "Keeps going when the model only says what it will do.", Help: "Auto turns it on only for Codex style models.", Group: GroupAgent, Order: 1080, Advanced: true, Apply: NewSession}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "On only for Codex style models."}, {Value: "always", Label: "Always", Meaning: "Always on."}, {Value: "never", Label: "Never", Meaning: "Always off."}}})
Keeps going when the model only says what it will do
var AgentLocalStreamStaleTimeout = Register(&Duration{Meta: Meta{Key: "agent.local_stream_stale_timeout", Label: "Local silence limit", Short: "How long a local model may stay silent before the request is dropped.", Help: "Zero means no limit.", Group: GroupSystem, Order: 1170, Advanced: true}, Default: 15 * time.Minute, Min: at(time.Duration(0))})
How long a local model may stay silent before the request is dropped
var AgentMaxVerifyNudges = Register(&Int{Meta: Meta{Key: "agent.max_verify_nudges", Label: "Verify reminders", Short: "Most times per turn the agent is told to verify its work.", Help: "Zero turns the reminders off.", Group: GroupAgent, Order: 1090, Advanced: true}, Default: 3})
Most times per turn the agent is told to verify its work
var AgentParallelToolCallGuidance = Register(&Bool{Meta: Meta{Key: "agent.parallel_tool_call_guidance", Label: "Parallel tool advice", Short: "Tells the agent to run independent tool calls together.", Group: GroupAgent, Order: 1100, Advanced: true, Apply: NewSession}, Default: true})
Tells the agent to run independent tool calls together
var AgentReasoningEcho = Register(&Bool{Meta: Meta{Key: "agent.reasoning_echo", Label: "Echo reasoning back", Short: "Send the model's earlier reasoning back to it on each request.", Help: "Only needed for providers that require it.", Group: GroupWorking, Order: 1000, Advanced: true, Apply: NewSession}, Default: false})
Send the model's earlier reasoning back to it on each request
var AgentReasoningOverrides = Register(&Map{Meta: Meta{Key: "agent.reasoning_overrides", Label: "Reasoning by model", Short: "Reasoning effort for particular models, by model name.", Help: "Models not listed use Reasoning effort.", Group: GroupModel, Order: 1010, Advanced: true}})
Reasoning effort for particular models, by model name
var AgentReconnectAttentionAfter = Register(&Duration{Meta: Meta{Key: "agent.reconnect_attention_after", Label: "Reconnect alert delay", Short: "How long a chat app can stay disconnected before you are alerted.", Help: "Zero or less turns the alert off.", Group: GroupSystem, Order: 1180, Advanced: true}, Default: 2 * time.Hour})
How long a chat app can stay disconnected before you are alerted
var AgentRestartAfterTurnTimeout = Register(&Duration{Meta: Meta{Key: "agent.restart_after_turn_timeout", Label: "Restart wait", Short: "How long a restart waits for running turns before going ahead.", Group: GroupSystem, Order: 1190, Advanced: true, Apply: Restart}, Default: 30 * time.Minute})
How long a restart waits for running turns before going ahead
var AgentRestartDrainTimeout = Register(&Duration{Meta: Meta{Key: "agent.restart_drain_timeout", Label: "Restart drain wait", Short: "How long shutdown waits for running work to wind down.", Help: "Zero uses the built-in wait.", Group: GroupSystem, Order: 1200, Advanced: true, Apply: Restart}, Default: 0})
How long shutdown waits for running work to wind down
var AgentRunBudgetSeconds = Register(&Duration{Meta: Meta{Key: "agent.run_budget_seconds", Label: "Run time limit", Short: "Longest time one run may take before the agent is told to wrap up.", Group: GroupAgent, Order: 1110, Advanced: true, Apply: NewSession}, Null: "no limit"})
Longest time one run may take before the agent is told to wrap up
var AgentSanitizerHealEscalationThreshold = Register(&Int{Meta: Meta{Key: "agent.sanitizer_heal_escalation_threshold", Label: "Repair limit", Short: "Message repairs in a row before the agent reports a problem.", Group: GroupSystem, Order: 1210, Advanced: true}, Default: 3})
Message repairs in a row before the agent reports a problem
var AgentSessionStallTimeout = Register(&Duration{Meta: Meta{Key: "agent.session_stall_timeout", Label: "Stall timeout", Short: "How long a chat session may sit with no activity before it is stuck.", Group: GroupSystem, Order: 1220, Advanced: true, Apply: Restart}, Default: 5 * time.Minute})
How long a chat session may sit with no activity before it is stuck
var AgentStallGuards = Register(&Bool{Meta: Meta{Key: "agent.stall_guards", Label: "Stall guards", Short: "Stops the agent when it repeats the same calls without progress.", Group: GroupAgent, Order: 1120, Advanced: true, Apply: NewSession}, Default: true})
Stops the agent when it repeats the same calls without progress
var AgentStreamDrainTimeout = Register(&Duration{Meta: Meta{Key: "agent.stream_drain_timeout", Label: "Stream close wait", Short: "How long to wait for a finished model stream to close.", Group: GroupSystem, Order: 1230, Advanced: true}, Default: 2 * time.Second, Min: at(time.Duration(0))})
How long to wait for a finished model stream to close
var AgentStreamMaxLifetime = Register(&Duration{Meta: Meta{Key: "agent.stream_max_lifetime", Label: "Stream time limit", Short: "Longest a single model response may keep streaming.", Help: "Zero means no limit.", Group: GroupSystem, Order: 1240, Advanced: true}, Default: 0, Min: at(time.Duration(0))})
Longest a single model response may keep streaming
var AgentStreamStaleTimeout = Register(&Duration{Meta: Meta{Key: "agent.stream_stale_timeout", Label: "Model silence limit", Short: "How long a model may stay silent before the request is retried.", Help: "Zero means no limit.", Group: GroupSystem, Order: 1250, Advanced: true}, Default: 3 * time.Minute, Min: at(time.Duration(0))})
How long a model may stay silent before the request is retried
var AgentSystemPrompt = Register(&String{Meta: Meta{Key: "agent.system_prompt", Label: "Own instructions", Short: "Your own instructions added to every conversation.", Help: "A chosen personality takes their place.", Group: GroupAgent, Order: 2085, Advanced: true, Apply: NewSession}, Default: ""})
Your own instructions added to every conversation while no personality is chosen
var AgentTaskCompletionGuidance = Register(&Bool{Meta: Meta{Key: "agent.task_completion_guidance", Label: "Finish tasks advice", Short: "Reminds the agent to finish a task before it stops.", Group: GroupAgent, Order: 1130, Advanced: true, Apply: NewSession}, Default: true})
Reminds the agent to finish a task before it stops
var AgentTextVerbosity = Register(&Enum{Meta: Meta{Key: "agent.text_verbosity", Label: "Answer length", Short: "How wordy answers should be, for models that support it.", Group: GroupModel, Order: 1020, Advanced: true}, Default: "", Values: []Choice{{Value: "low", Label: "Low", Meaning: "Short answers."}, {Value: "medium", Label: "Medium", Meaning: "Balanced answers."}, {Value: "high", Label: "High", Meaning: "Detailed answers."}}, Null: "the model's default"})
How wordy answers should be, for models that support it
var AgentToolUseEnforcement = Register(&Enum{Meta: Meta{Key: "agent.tool_use_enforcement", Label: "Tool use nudge", Short: "Pushes the model to call tools instead of only describing steps.", Help: "Auto turns it on for model families that need it.", Group: GroupAgent, Order: 1140, Advanced: true, Apply: NewSession}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "On for model families that need it."}, {Value: "always", Label: "Always", Meaning: "Always on."}, {Value: "never", Label: "Never", Meaning: "Always off."}}})
Pushes the model to call tools instead of only describing steps
var AgentTurnLivenessPollS = Register(&Duration{Meta: Meta{Key: "agent.turn_liveness.poll_s", Label: "Hang check interval", Short: "How often a running turn is checked for being stuck.", Group: GroupSystem, Order: 1260, Advanced: true}, Default: 15 * time.Second})
How often a running turn is checked for being stuck
var AgentTurnLivenessTimeoutS = Register(&Duration{Meta: Meta{Key: "agent.turn_liveness.timeout_s", Label: "Hang timeout", Short: "How long a turn can make no progress before it is flagged as stuck.", Help: "Zero or less turns the check off.", Group: GroupSystem, Order: 1270, Advanced: true}, Default: 10 * time.Minute})
How long a turn can make no progress before it is flagged as stuck
var AgentVerifyGuidance = Register(&Bool{Meta: Meta{Key: "agent.verify_guidance", Label: "Verify advice", Short: "Adds how-to-verify advice to the reminders sent before stopping.", Group: GroupAgent, Order: 1150, Advanced: true}, Default: true})
Adds how-to-verify advice to the reminders sent before stopping
var AgentVerifyOnStop = Register(&Enum{Meta: Meta{Key: "agent.verify_on_stop", Label: "Verify before stop", Short: "Asks the agent to check its edits before it finishes.", Group: GroupAgent, Order: 1160, Advanced: true}, Default: "off", Off: "off", On: "on", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "Check edits everywhere but in chat apps."}, {Value: "on", Label: "Always", Meaning: "Always check edits before finishing."}, {Value: "off", Label: "Never", Meaning: "Never ask for a check."}}})
Asks the agent to check its edits before it finishes
var AllowedCommands = Register(&List{Meta: Meta{Key: "command_allowlist", Label: "Allowed commands", Short: "Commands you chose to always allow, which run without asking.", Group: GroupSafety, Order: 20}})
Commands that run without asking
var ApprovalMode = Register(&Enum{Meta: Meta{Key: "approvals.mode", Label: "Approvals", Short: "Whether the agent asks before running risky commands.", Help: "/yolo skips asking for one session without changing this.", Group: GroupSafety, Order: 10, Slash: "approvals"}, Default: "smart", Values: []Choice{ {"manual", "Always ask", "Ask before every risky command."}, {"smart", "Smart", "A quick check lets clearly safe ones through."}, {"off", "Never ask", "Run everything without asking."}, }})
Whether the agent asks before risky commands
var ApprovalsCronMode = Register(&Enum{Meta: Meta{Key: "approvals.cron_mode", Label: "Scheduled job approvals", Short: "How Approvals treat risky commands in scheduled jobs.", Help: "Approve runs risky commands with nobody watching.", Group: GroupSafety, Order: 1000, Advanced: true}, Default: "deny", Values: []Choice{
{Value: "deny", Label: "Deny", Meaning: "Block commands that would need approval."},
{Value: "approve", Label: "Approve", Meaning: "Allow them without asking."},
}})
How Approvals treat risky commands in scheduled jobs
var ApprovalsDenialBreakerThreshold = Register(&Int{Meta: Meta{Key: "approvals.denial_breaker_threshold", Label: "Denial limit", Short: "Stop a session after this many Approvals denials in a row.", Help: "Zero or less turns the limit off.", Group: GroupSafety, Order: 1010, Advanced: true}, Default: 3})
Stop a session after this many Approvals denials in a row
var ApprovalsDeny = Register(&List{Meta: Meta{Key: "approvals.deny", Label: "Always-deny patterns", Short: "Command patterns Approvals always block, even in yolo mode.", Help: "Matched as globs against the command text.", Group: GroupSafety, Order: 1020, Advanced: true}})
Command patterns Approvals always block, even in yolo mode
var ApprovalsDiscordPromptTimeout = Register(&Duration{Meta: Meta{Key: "approvals.discord_prompt_timeout", Label: "Discord prompt wait", Short: "How long Discord approval buttons wait for an answer.", Group: GroupSafety, Order: 1030, Advanced: true}, Default: 5 * time.Minute, Min: at(30 * time.Second)})
How long Discord approval buttons wait for an answer
var ApprovalsMcpReloadConfirm = Register(&Bool{Meta: Meta{Key: "approvals.mcp_reload_confirm", Label: "Confirm tool reload", Short: "Ask before reconnecting tool servers from a chat command.", Group: GroupSafety, Order: 1040, Advanced: true}, Default: true})
Ask before reconnecting tool servers from a chat command
var ApprovalsSingleQueryMode = Register(&Enum{Meta: Meta{Key: "approvals.single_query_mode", Label: "One-shot approvals", Short: "How Approvals treat risky commands in one-shot runs (-q).", Help: "Approve runs risky commands with nobody watching.", Group: GroupSafety, Order: 1050, Advanced: true}, Default: "deny", Values: []Choice{
{Value: "deny", Label: "Deny", Meaning: "Block commands that would need approval."},
{Value: "approve", Label: "Approve", Meaning: "Allow them without asking."},
}})
How Approvals treat risky commands in one-shot runs (-q)
var ApprovalsSmartPolicy = Register(&String{Meta: Meta{Key: "approvals.smart_policy", Label: "Smart approval rules", Short: "Extra rules the approval reviewer model follows.", Help: "Free text added to the reviewer's instructions.", Group: GroupSafety, Order: 1060, Advanced: true}, Default: ""})
Extra rules the approval reviewer model follows
var ApprovalsTimeout = Register(&Duration{Meta: Meta{Key: "approvals.timeout", Label: "Approval wait", Short: "How long an approval prompt waits before it is denied.", Group: GroupSafety, Order: 1070, Advanced: true}, Default: 5 * time.Minute})
How long an approval prompt waits before it is denied
var ApprovalsUnattendedMode = Register(&Enum{Meta: Meta{Key: "approvals.unattended_mode", Label: "Unattended approvals", Short: "How Approvals treat risky commands on chat platforms.", Help: "Approve runs risky commands with nobody watching.", Group: GroupSafety, Order: 1080, Advanced: true}, Default: "deny", Values: []Choice{
{Value: "deny", Label: "Deny", Meaning: "Block commands that would need approval."},
{Value: "approve", Label: "Approve", Meaning: "Allow them without asking."},
}})
How Approvals treat risky commands on chat platforms
var AskBeforeMemory = Register(&Bool{Meta: Meta{Key: "memory.write_approval", Label: "Ask before saving", Short: "Ask you before the agent saves or changes a memory.", Group: GroupMemory, Order: 30}, Default: false, Also: map[string]bool{"approve": true}})
Approval of each memory write
var AttachmentsStorage = Register(&Enum{Meta: Meta{Key: "attachments.storage", Label: "Attachment storage", Short: "Where files you attach to a prompt are saved.", Group: GroupMedia, Order: 1000, Advanced: true}, Default: "icebath-home", Values: []Choice{{"icebath-home", "Icebath folder", "Keep attachments in the Icebath home folder."}, {"workspace", "Project folder", "Keep attachments inside the project."}}})
Where files you attach to a prompt are saved
var AuthAdoptExternalLogins = Register(&Bool{Meta: Meta{Key: "auth.adopt_external_logins", Label: "Adopt other logins", Short: "Reuse sign-ins already saved by other command-line tools.", Group: GroupSafety, Order: 1090, Advanced: true}, Default: true})
Reuse sign-ins already saved by other command-line tools
var AuthCodexLoginFlow = Register(&Enum{Meta: Meta{Key: "auth.codex_login_flow", Label: "Codex login style", Short: "How the Codex sign-in is done.", Group: GroupSafety, Order: 1100, Advanced: true}, Default: "device_code", Values: []Choice{
{Value: "device_code", Label: "Device code", Meaning: "Enter a code on another device."},
{Value: "browser", Label: "Browser", Meaning: "Sign in through a local browser window."},
}})
How the Codex sign-in is done
var AutoCompress = Register(&Bool{Meta: Meta{Key: "compression.enabled", Label: "Shorten long chats", Short: "Summarize older messages when a chat nears the model's limit.", Group: GroupAgent, Order: 40, Apply: NewSession}, Default: true})
Summaries that shorten long chats
var AutoPrune = Register(&Bool{Meta: Meta{Key: "sessions.auto_prune", Label: "Delete old sessions", Short: "Delete sessions older than the keep time when the service starts.", Group: GroupMemory, Order: 50, Apply: Restart}, Default: false})
Deleting old sessions
var AuxiliaryApprovalApiKey = Register(&String{Meta: Meta{Key: "auxiliary.approval.api_key", Label: "Approval key", Short: "API key for smart command approval.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1030, Advanced: true}, Masked: true, Default: ""})
API key for smart command approval
var AuxiliaryApprovalBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.approval.base_url", Label: "Approval URL", Short: "Custom endpoint address for smart command approval.", Group: GroupModel, Order: 1040, Advanced: true}, Default: ""})
Custom endpoint address for smart command approval
var AuxiliaryApprovalExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.approval.extra_body", Label: "Approval fields", Short: "Extra request fields for smart command approval.", Group: GroupModel, Order: 1050, Advanced: true}})
Extra request fields for smart command approval
var AuxiliaryApprovalModel = Register(&String{Meta: Meta{Key: "auxiliary.approval.model", Label: "Approval model", Short: "Model for smart command approval.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1060, Advanced: true}, Default: ""})
Model for smart command approval
var AuxiliaryApprovalProvider = Register(&String{Meta: Meta{Key: "auxiliary.approval.provider", Label: "Approval provider", Short: "Provider for smart command approval.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1070, Advanced: true}, Default: "auto"})
Provider for smart command approval
var AuxiliaryApprovalReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.approval.reasoning_effort", Label: "Approval thinking", Short: "Thinking effort for smart command approval.", Group: GroupModel, Order: 1080, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for smart command approval
var AuxiliaryApprovalTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.approval.timeout", Label: "Approval timeout", Short: "Time limit for smart command approval.", Group: GroupModel, Order: 1090, Advanced: true}, Default: 30 * time.Second})
Time limit for smart command approval
var AuxiliaryBackgroundReviewApiKey = Register(&String{Meta: Meta{Key: "auxiliary.background_review.api_key", Label: "Auto review key", Short: "API key for background reviews.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1100, Advanced: true}, Masked: true, Default: ""})
API key for background reviews
var AuxiliaryBackgroundReviewBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.background_review.base_url", Label: "Auto review URL", Short: "Custom endpoint address for background reviews.", Group: GroupModel, Order: 1110, Advanced: true}, Default: ""})
Custom endpoint address for background reviews
var AuxiliaryBackgroundReviewDefer = Register(&Enum{Meta: Meta{Key: "auxiliary.background_review.defer", Label: "Auto review waits", Short: "Hold reviews on your own local model until it is idle.", Help: "Auto waits only when the review runs on the managed local model.", Group: GroupModel, Order: 1171, Advanced: true}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "Wait while the local model is busy."}, {Value: "never", Label: "Never", Meaning: "Start each review at once."}}})
Whether reviews on a local model wait until it is idle
var AuxiliaryBackgroundReviewDeferMaxAgeS = Register(&Duration{Meta: Meta{Key: "auxiliary.background_review.defer_max_age_s", Label: "Review wait cap", Short: "Longest a held review waits before it starts anyway.", Group: GroupModel, Order: 1172, Advanced: true}, Default: 30 * time.Minute})
Longest a held review waits before it starts anyway
var AuxiliaryBackgroundReviewEnabled = Register(&Bool{Meta: Meta{Key: "auxiliary.background_review.enabled", Label: "Auto review", Short: "Let the model review sessions in the background automatically.", Group: GroupModel, Order: 1120, Advanced: true}, Default: true})
Let the model review sessions in the background automatically
var AuxiliaryBackgroundReviewExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.background_review.extra_body", Label: "Auto review fields", Short: "Extra request fields for background reviews.", Group: GroupModel, Order: 1130, Advanced: true}})
Extra request fields for background reviews
var AuxiliaryBackgroundReviewExtraTools = Register(&List{Meta: Meta{Key: "auxiliary.background_review.extra_tools", Label: "Auto review tools", Short: "More tools a background review may use, by name.", Help: "Reviews always get the skill tools, file reading and search.", Group: GroupModel, Order: 1173, Advanced: true}})
More tools a background review may use
var AuxiliaryBackgroundReviewMaxInputTokens = Register(&Int{Meta: Meta{Key: "auxiliary.background_review.max_input_tokens", Label: "Auto review budget", Short: "Most input tokens one background review may send in total.", Help: "Zero or less means no limit.", Group: GroupModel, Order: 1174, Advanced: true}, Null: "three quarters of the review model's window", Unit: "tokens"})
Most input tokens one background review may send
var AuxiliaryBackgroundReviewModel = Register(&String{Meta: Meta{Key: "auxiliary.background_review.model", Label: "Auto review model", Short: "Model for background reviews.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1140, Advanced: true}, Default: ""})
Model for background reviews
var AuxiliaryBackgroundReviewProvider = Register(&String{Meta: Meta{Key: "auxiliary.background_review.provider", Label: "Auto review provider", Short: "Provider for background reviews.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1150, Advanced: true}, Default: "auto"})
Provider for background reviews
var AuxiliaryBackgroundReviewReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.background_review.reasoning_effort", Label: "Auto review thinking", Short: "Thinking effort for background reviews.", Group: GroupModel, Order: 1160, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for background reviews
var AuxiliaryBackgroundReviewTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.background_review.timeout", Label: "Auto review timeout", Short: "Time limit for background reviews.", Group: GroupModel, Order: 1170, Advanced: true}, Default: 2 * time.Minute})
Time limit for background reviews
var AuxiliaryCompressionApiKey = Register(&String{Meta: Meta{Key: "auxiliary.compression.api_key", Label: "Compression key", Short: "API key for conversation summaries.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1180, Advanced: true}, Masked: true, Default: ""})
API key for conversation summaries
var AuxiliaryCompressionBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.compression.base_url", Label: "Compression URL", Short: "Custom endpoint address for conversation summaries.", Group: GroupModel, Order: 1190, Advanced: true}, Default: ""})
Custom endpoint address for conversation summaries
var AuxiliaryCompressionContextLength = Register(&Int{Meta: Meta{Key: "auxiliary.compression.context_length", Label: "Compression window", Short: "How many tokens the summary model can hold, when icebath guesses wrong.", Help: "Unset uses the size the provider reports or the built-in table.", Group: GroupModel, Order: 1195, Advanced: true, Apply: NewSession}, Null: "the size icebath detects", Min: at(1), Unit: "tokens", DefaultBelow: true})
Context window of the summary model, when icebath guesses it wrong
var AuxiliaryCompressionExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.compression.extra_body", Label: "Compression fields", Short: "Extra request fields for conversation summaries.", Group: GroupModel, Order: 1200, Advanced: true}})
Extra request fields for conversation summaries
var AuxiliaryCompressionModel = Register(&String{Meta: Meta{Key: "auxiliary.compression.model", Label: "Compression model", Short: "Model for conversation summaries.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1210, Advanced: true}, Default: ""})
Model for conversation summaries
var AuxiliaryCompressionNoProgressTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.compression.no_progress_timeout", Label: "Stall limit", Short: "Give up a summary stream that stops sending data after this long.", Group: GroupModel, Order: 1220, Advanced: true}, Null: "built-in 60 seconds"})
Give up a summary stream that stops sending data after this long
var AuxiliaryCompressionProvider = Register(&String{Meta: Meta{Key: "auxiliary.compression.provider", Label: "Compression provider", Short: "Provider for conversation summaries.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1230, Advanced: true}, Default: "auto"})
Provider for conversation summaries
var AuxiliaryCompressionReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.compression.reasoning_effort", Label: "Compression thinking", Short: "Thinking effort for conversation summaries.", Group: GroupModel, Order: 1240, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for conversation summaries
var AuxiliaryCompressionTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.compression.timeout", Label: "Compression timeout", Short: "Time limit for conversation summaries.", Help: "Never less than the built-in minimum.", Group: GroupModel, Order: 1250, Advanced: true}, Default: 2 * time.Minute})
Time limit for conversation summaries
var AuxiliaryCuratorApiKey = Register(&String{Meta: Meta{Key: "auxiliary.curator.api_key", Label: "Curator key", Short: "API key for skill upkeep.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1260, Advanced: true}, Masked: true, Default: ""})
API key for skill upkeep
var AuxiliaryCuratorBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.curator.base_url", Label: "Curator URL", Short: "Custom endpoint address for skill upkeep.", Group: GroupModel, Order: 1270, Advanced: true}, Default: ""})
Custom endpoint address for skill upkeep
var AuxiliaryCuratorExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.curator.extra_body", Label: "Curator fields", Short: "Extra request fields for skill upkeep.", Group: GroupModel, Order: 1280, Advanced: true}})
Extra request fields for skill upkeep
var AuxiliaryCuratorModel = Register(&String{Meta: Meta{Key: "auxiliary.curator.model", Label: "Curator model", Short: "Model for skill upkeep.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1290, Advanced: true}, Default: ""})
Model for skill upkeep
var AuxiliaryCuratorProvider = Register(&String{Meta: Meta{Key: "auxiliary.curator.provider", Label: "Curator provider", Short: "Provider for skill upkeep.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1300, Advanced: true}, Default: "auto"})
Provider for skill upkeep
var AuxiliaryCuratorReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.curator.reasoning_effort", Label: "Curator thinking", Short: "Thinking effort for skill upkeep.", Group: GroupModel, Order: 1310, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for skill upkeep
var AuxiliaryCuratorTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.curator.timeout", Label: "Curator timeout", Short: "Time limit for skill upkeep.", Group: GroupModel, Order: 1320, Advanced: true}, Default: 10 * time.Minute})
Time limit for skill upkeep
var AuxiliaryFreeOnly = Register(&Bool{Meta: Meta{Key: "auxiliary.free_only", Label: "Free models only", Short: "Only use free models for the OpenRouter fallback.", Group: GroupModel, Order: 1330, Advanced: true}, Default: false})
Only use free models for the OpenRouter fallback
var AuxiliaryGoalJudgeApiKey = Register(&String{Meta: Meta{Key: "auxiliary.goal_judge.api_key", Label: "Goal judge key", Short: "API key for goal checks.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1340, Advanced: true}, Masked: true, Default: ""})
API key for goal checks
var AuxiliaryGoalJudgeBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.goal_judge.base_url", Label: "Goal judge URL", Short: "Custom endpoint address for goal checks.", Group: GroupModel, Order: 1350, Advanced: true}, Default: ""})
Custom endpoint address for goal checks
var AuxiliaryGoalJudgeExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.goal_judge.extra_body", Label: "Goal judge fields", Short: "Extra request fields for goal checks.", Group: GroupModel, Order: 1360, Advanced: true}})
Extra request fields for goal checks
var AuxiliaryGoalJudgeModel = Register(&String{Meta: Meta{Key: "auxiliary.goal_judge.model", Label: "Goal judge model", Short: "Model for goal checks.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1370, Advanced: true}, Default: ""})
Model for goal checks
var AuxiliaryGoalJudgeProvider = Register(&String{Meta: Meta{Key: "auxiliary.goal_judge.provider", Label: "Goal judge provider", Short: "Provider for goal checks.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1380, Advanced: true}, Default: "auto"})
Provider for goal checks
var AuxiliaryGoalJudgeReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.goal_judge.reasoning_effort", Label: "Goal judge thinking", Short: "Thinking effort for goal checks.", Group: GroupModel, Order: 1390, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for goal checks
var AuxiliaryGoalJudgeTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.goal_judge.timeout", Label: "Goal judge timeout", Short: "Time limit for goal checks.", Group: GroupModel, Order: 1400, Advanced: true}, Default: time.Minute})
Time limit for goal checks
var AuxiliaryKanbanDecomposerApiKey = Register(&String{Meta: Meta{Key: "auxiliary.kanban_decomposer.api_key", Label: "Decomposer key", Short: "API key for splitting kanban tasks.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1410, Advanced: true}, Masked: true, Default: ""})
API key for splitting kanban tasks
var AuxiliaryKanbanDecomposerBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.kanban_decomposer.base_url", Label: "Decomposer URL", Short: "Custom endpoint address for splitting kanban tasks.", Group: GroupModel, Order: 1420, Advanced: true}, Default: ""})
Custom endpoint address for splitting kanban tasks
var AuxiliaryKanbanDecomposerExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.kanban_decomposer.extra_body", Label: "Decomposer fields", Short: "Extra request fields for splitting kanban tasks.", Group: GroupModel, Order: 1430, Advanced: true}})
Extra request fields for splitting kanban tasks
var AuxiliaryKanbanDecomposerModel = Register(&String{Meta: Meta{Key: "auxiliary.kanban_decomposer.model", Label: "Decomposer model", Short: "Model for splitting kanban tasks.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1440, Advanced: true}, Default: ""})
Model for splitting kanban tasks
var AuxiliaryKanbanDecomposerProvider = Register(&String{Meta: Meta{Key: "auxiliary.kanban_decomposer.provider", Label: "Decomposer provider", Short: "Provider for splitting kanban tasks.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1450, Advanced: true}, Default: "auto"})
Provider for splitting kanban tasks
var AuxiliaryKanbanDecomposerReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.kanban_decomposer.reasoning_effort", Label: "Decomposer thinking", Short: "Thinking effort for splitting kanban tasks.", Group: GroupModel, Order: 1460, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for splitting kanban tasks
var AuxiliaryKanbanDecomposerTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.kanban_decomposer.timeout", Label: "Decomposer timeout", Short: "Time limit for splitting kanban tasks.", Group: GroupModel, Order: 1470, Advanced: true}, Default: 3 * time.Minute})
Time limit for splitting kanban tasks
var AuxiliaryMcpApiKey = Register(&String{Meta: Meta{Key: "auxiliary.mcp.api_key", Label: "MCP key", Short: "API key for MCP tool reasoning.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1480, Advanced: true}, Masked: true, Default: ""})
API key for MCP tool reasoning
var AuxiliaryMcpBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.mcp.base_url", Label: "MCP URL", Short: "Custom endpoint address for MCP tool reasoning.", Group: GroupModel, Order: 1490, Advanced: true}, Default: ""})
Custom endpoint address for MCP tool reasoning
var AuxiliaryMcpExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.mcp.extra_body", Label: "MCP fields", Short: "Extra request fields for MCP tool reasoning.", Group: GroupModel, Order: 1500, Advanced: true}})
Extra request fields for MCP tool reasoning
var AuxiliaryMcpModel = Register(&String{Meta: Meta{Key: "auxiliary.mcp.model", Label: "MCP model", Short: "Model for MCP tool reasoning.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1510, Advanced: true}, Default: ""})
Model for MCP tool reasoning
var AuxiliaryMcpProvider = Register(&String{Meta: Meta{Key: "auxiliary.mcp.provider", Label: "MCP provider", Short: "Provider for MCP tool reasoning.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1520, Advanced: true}, Default: "auto"})
Provider for MCP tool reasoning
var AuxiliaryMcpReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.mcp.reasoning_effort", Label: "MCP thinking", Short: "Thinking effort for MCP tool reasoning.", Group: GroupModel, Order: 1530, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for MCP tool reasoning
var AuxiliaryMcpTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.mcp.timeout", Label: "MCP timeout", Short: "Time limit for MCP tool reasoning.", Group: GroupModel, Order: 1540, Advanced: true}, Default: 30 * time.Second})
Time limit for MCP tool reasoning
var AuxiliaryMemoryQueryRewriteApiKey = Register(&String{Meta: Meta{Key: "auxiliary.memory_query_rewrite.api_key", Label: "Memory query key", Short: "API key for memory search rewriting.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1550, Advanced: true}, Masked: true, Default: ""})
API key for memory search rewriting
var AuxiliaryMemoryQueryRewriteBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.memory_query_rewrite.base_url", Label: "Memory query URL", Short: "Custom endpoint address for memory search rewriting.", Group: GroupModel, Order: 1560, Advanced: true}, Default: ""})
Custom endpoint address for memory search rewriting
var AuxiliaryMemoryQueryRewriteExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.memory_query_rewrite.extra_body", Label: "Memory query fields", Short: "Extra request fields for memory search rewriting.", Group: GroupModel, Order: 1570, Advanced: true}})
Extra request fields for memory search rewriting
var AuxiliaryMemoryQueryRewriteModel = Register(&String{Meta: Meta{Key: "auxiliary.memory_query_rewrite.model", Label: "Memory query model", Short: "Model for memory search rewriting.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1580, Advanced: true}, Default: ""})
Model for memory search rewriting
var AuxiliaryMemoryQueryRewriteProvider = Register(&String{Meta: Meta{Key: "auxiliary.memory_query_rewrite.provider", Label: "Memory query provider", Short: "Provider for memory search rewriting.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1590, Advanced: true}, Default: "auto"})
Provider for memory search rewriting
var AuxiliaryMemoryQueryRewriteTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.memory_query_rewrite.timeout", Label: "Memory query timeout", Short: "Time limit for memory search rewriting.", Group: GroupModel, Order: 1600, Advanced: true}, Default: 8 * time.Second})
Time limit for memory search rewriting
var AuxiliaryMoaAggregatorApiKey = Register(&String{Meta: Meta{Key: "auxiliary.moa_aggregator.api_key", Label: "Aggregator key", Short: "API key for mixture final answers.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1610, Advanced: true}, Masked: true, Default: ""})
API key for mixture final answers
var AuxiliaryMoaAggregatorBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.moa_aggregator.base_url", Label: "Aggregator URL", Short: "Custom endpoint address for mixture final answers.", Group: GroupModel, Order: 1620, Advanced: true}, Default: ""})
Custom endpoint address for mixture final answers
var AuxiliaryMoaAggregatorExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.moa_aggregator.extra_body", Label: "Aggregator fields", Short: "Extra request fields for mixture final answers.", Group: GroupModel, Order: 1630, Advanced: true}})
Extra request fields for mixture final answers
var AuxiliaryMoaAggregatorModel = Register(&String{Meta: Meta{Key: "auxiliary.moa_aggregator.model", Label: "Aggregator model", Short: "Model for mixture final answers.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1640, Advanced: true}, Default: ""})
Model for mixture final answers
var AuxiliaryMoaAggregatorProvider = Register(&String{Meta: Meta{Key: "auxiliary.moa_aggregator.provider", Label: "Aggregator provider", Short: "Provider for mixture final answers.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1650, Advanced: true}, Default: "auto"})
Provider for mixture final answers
var AuxiliaryMoaAggregatorTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.moa_aggregator.timeout", Label: "Aggregator timeout", Short: "Time limit for mixture final answers.", Group: GroupModel, Order: 1660, Advanced: true}, Default: 15 * time.Minute})
Time limit for mixture final answers
var AuxiliaryMoaReferenceApiKey = Register(&String{Meta: Meta{Key: "auxiliary.moa_reference.api_key", Label: "Reference key", Short: "API key for mixture reference answers.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1670, Advanced: true}, Masked: true, Default: ""})
API key for mixture reference answers
var AuxiliaryMoaReferenceBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.moa_reference.base_url", Label: "Reference URL", Short: "Custom endpoint address for mixture reference answers.", Group: GroupModel, Order: 1680, Advanced: true}, Default: ""})
Custom endpoint address for mixture reference answers
var AuxiliaryMoaReferenceExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.moa_reference.extra_body", Label: "Reference fields", Short: "Extra request fields for mixture reference answers.", Group: GroupModel, Order: 1690, Advanced: true}})
Extra request fields for mixture reference answers
var AuxiliaryMoaReferenceModel = Register(&String{Meta: Meta{Key: "auxiliary.moa_reference.model", Label: "Reference model", Short: "Model for mixture reference answers.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1700, Advanced: true}, Default: ""})
Model for mixture reference answers
var AuxiliaryMoaReferenceProvider = Register(&String{Meta: Meta{Key: "auxiliary.moa_reference.provider", Label: "Reference provider", Short: "Provider for mixture reference answers.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1710, Advanced: true}, Default: "auto"})
Provider for mixture reference answers
var AuxiliaryMoaReferenceTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.moa_reference.timeout", Label: "Reference timeout", Short: "Time limit for mixture reference answers.", Group: GroupModel, Order: 1720, Advanced: true}, Default: 15 * time.Minute})
Time limit for mixture reference answers
var AuxiliaryMonitorApiKey = Register(&String{Meta: Meta{Key: "auxiliary.monitor.api_key", Label: "Monitor key", Short: "API key for job item urgency scoring.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1730, Advanced: true}, Masked: true, Default: ""})
API key for job item urgency scoring
var AuxiliaryMonitorBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.monitor.base_url", Label: "Monitor URL", Short: "Custom endpoint address for job item urgency scoring.", Group: GroupModel, Order: 1740, Advanced: true}, Default: ""})
Custom endpoint address for job item urgency scoring
var AuxiliaryMonitorExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.monitor.extra_body", Label: "Monitor fields", Short: "Extra request fields for job item urgency scoring.", Group: GroupModel, Order: 1750, Advanced: true}})
Extra request fields for job item urgency scoring
var AuxiliaryMonitorModel = Register(&String{Meta: Meta{Key: "auxiliary.monitor.model", Label: "Monitor model", Short: "Model for job item urgency scoring.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1760, Advanced: true}, Default: ""})
Model for job item urgency scoring
var AuxiliaryMonitorProvider = Register(&String{Meta: Meta{Key: "auxiliary.monitor.provider", Label: "Monitor provider", Short: "Provider for job item urgency scoring.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1770, Advanced: true}, Default: "auto"})
Provider for job item urgency scoring
var AuxiliaryMonitorReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.monitor.reasoning_effort", Label: "Monitor thinking", Short: "Thinking effort for job item urgency scoring.", Group: GroupModel, Order: 1780, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for job item urgency scoring
var AuxiliaryMonitorTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.monitor.timeout", Label: "Monitor timeout", Short: "Time limit for job item urgency scoring.", Group: GroupModel, Order: 1790, Advanced: true}, Default: time.Minute})
Time limit for job item urgency scoring
var AuxiliaryOpenrouterModel = Register(&String{Meta: Meta{Key: "auxiliary.openrouter_model", Label: "Fallback free model", Short: "Free OpenRouter model tried when no helper model is set up.", Help: "Empty uses a built-in free model.", Group: GroupModel, Order: 1800, Advanced: true}, Default: ""})
Free OpenRouter model tried when no helper model is set up
var AuxiliaryProfileDescriberApiKey = Register(&String{Meta: Meta{Key: "auxiliary.profile_describer.api_key", Label: "Profile text key", Short: "API key for profile descriptions.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1810, Advanced: true}, Masked: true, Default: ""})
API key for profile descriptions
var AuxiliaryProfileDescriberBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.profile_describer.base_url", Label: "Profile text URL", Short: "Custom endpoint address for profile descriptions.", Group: GroupModel, Order: 1820, Advanced: true}, Default: ""})
Custom endpoint address for profile descriptions
var AuxiliaryProfileDescriberExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.profile_describer.extra_body", Label: "Profile text fields", Short: "Extra request fields for profile descriptions.", Group: GroupModel, Order: 1830, Advanced: true}})
Extra request fields for profile descriptions
var AuxiliaryProfileDescriberModel = Register(&String{Meta: Meta{Key: "auxiliary.profile_describer.model", Label: "Profile text model", Short: "Model for profile descriptions.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1840, Advanced: true}, Default: ""})
Model for profile descriptions
var AuxiliaryProfileDescriberProvider = Register(&String{Meta: Meta{Key: "auxiliary.profile_describer.provider", Label: "Profile text provider", Short: "Provider for profile descriptions.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1850, Advanced: true}, Default: "auto"})
Provider for profile descriptions
var AuxiliaryProfileDescriberReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.profile_describer.reasoning_effort", Label: "Profile text thinking", Short: "Thinking effort for profile descriptions.", Group: GroupModel, Order: 1860, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for profile descriptions
var AuxiliaryProfileDescriberTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.profile_describer.timeout", Label: "Profile text timeout", Short: "Time limit for profile descriptions.", Group: GroupModel, Order: 1870, Advanced: true}, Default: time.Minute})
Time limit for profile descriptions
var AuxiliaryReviewApiKey = Register(&String{Meta: Meta{Key: "auxiliary.review.api_key", Label: "Review key", Short: "API key for the review command.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1880, Advanced: true}, Masked: true, Default: ""})
API key for the review command
var AuxiliaryReviewApiMode = Register(&String{Meta: Meta{Key: "auxiliary.review.api_mode", Label: "Review API style", Short: "Request format of the review model.", Help: "Empty picks it for you.", Group: GroupModel, Order: 1890, Advanced: true}, Default: ""})
Request format of the review model
var AuxiliaryReviewBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.review.base_url", Label: "Review URL", Short: "Custom endpoint address for the review command.", Group: GroupModel, Order: 1900, Advanced: true}, Default: ""})
Custom endpoint address for the review command
var AuxiliaryReviewModel = Register(&String{Meta: Meta{Key: "auxiliary.review.model", Label: "Review model", Short: "Model for the review command.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1910, Advanced: true}, Default: ""})
Model for the review command
var AuxiliaryReviewProvider = Register(&String{Meta: Meta{Key: "auxiliary.review.provider", Label: "Review provider", Short: "Provider for the review command.", Help: "Auto picks one for you.", Group: GroupModel, Order: 1920, Advanced: true}, Default: "auto"})
Provider for the review command
var AuxiliarySideQuestionApiKey = Register(&String{Meta: Meta{Key: "auxiliary.side_question.api_key", Label: "Side question key", Short: "API key for /btw side questions.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1921, Advanced: true}, Masked: true, Default: ""})
API key for side questions
var AuxiliarySideQuestionBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.side_question.base_url", Label: "Side question URL", Short: "Custom endpoint address for /btw side questions.", Group: GroupModel, Order: 1922, Advanced: true}, Default: ""})
Custom endpoint address for side questions
var AuxiliarySideQuestionExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.side_question.extra_body", Label: "Side question fields", Short: "Extra request fields for /btw side questions.", Group: GroupModel, Order: 1923, Advanced: true}})
Extra request fields for side questions
var AuxiliarySideQuestionMaxInputTokens = Register(&Int{Meta: Meta{Key: "auxiliary.side_question.max_input_tokens", Label: "Side question budget", Short: "Most input tokens one /btw side question may send in total.", Help: "Zero or less means no limit.", Group: GroupModel, Order: 1924, Advanced: true}, Null: "three quarters of the model's window", Unit: "tokens"})
Most input tokens one side question may send
var AuxiliarySideQuestionModel = Register(&String{Meta: Meta{Key: "auxiliary.side_question.model", Label: "Side question model", Short: "Model for /btw side questions.", Help: "Empty asks your main model.", Group: GroupModel, Order: 1925, Advanced: true}, Default: ""})
Model for side questions
var AuxiliarySideQuestionProvider = Register(&String{Meta: Meta{Key: "auxiliary.side_question.provider", Label: "Side question provider", Short: "Provider for /btw side questions.", Help: "Auto asks your main model.", Group: GroupModel, Order: 1926, Advanced: true}, Default: "auto"})
Provider for side questions
var AuxiliarySideQuestionReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.side_question.reasoning_effort", Label: "Side question thinking", Short: "Thinking effort for /btw side questions.", Group: GroupModel, Order: 1927, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for side questions
var AuxiliaryStreamOnlyBaseUrls = Register(&List{Meta: Meta{Key: "auxiliary.stream_only_base_urls", Label: "Streaming-only hosts", Short: "Endpoint addresses that only work with streamed replies.", Help: "Any address containing one of these texts is requested in streaming mode.", Group: GroupModel, Order: 1930, Advanced: true}})
Endpoint addresses that only work with streamed replies
var AuxiliaryTitleGenerationApiKey = Register(&String{Meta: Meta{Key: "auxiliary.title_generation.api_key", Label: "Title key", Short: "API key for session titles.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 1940, Advanced: true}, Masked: true, Default: ""})
API key for session titles
var AuxiliaryTitleGenerationBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.title_generation.base_url", Label: "Title URL", Short: "Custom endpoint address for session titles.", Group: GroupModel, Order: 1950, Advanced: true}, Default: ""})
Custom endpoint address for session titles
var AuxiliaryTitleGenerationEnabled = Register(&Bool{Meta: Meta{Key: "auxiliary.title_generation.enabled", Label: "Auto titles", Short: "Name new sessions automatically.", Group: GroupModel, Order: 1960, Advanced: true}, Default: true})
Name new sessions automatically
var AuxiliaryTitleGenerationExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.title_generation.extra_body", Label: "Title fields", Short: "Extra request fields for session titles.", Group: GroupModel, Order: 1970, Advanced: true}})
Extra request fields for session titles
var AuxiliaryTitleGenerationLanguage = Register(&String{Meta: Meta{Key: "auxiliary.title_generation.language", Label: "Title language", Short: "Language of session titles.", Help: "Empty matches the language of your message.", Group: GroupModel, Order: 1980, Advanced: true}, Default: ""})
Language of session titles
var AuxiliaryTitleGenerationModel = Register(&String{Meta: Meta{Key: "auxiliary.title_generation.model", Label: "Title model", Short: "Model for session titles.", Help: "Empty picks one for you.", Group: GroupModel, Order: 1990, Advanced: true}, Default: ""})
Model for session titles
var AuxiliaryTitleGenerationModelUpgradeEnabled = Register(&Bool{Meta: Meta{Key: "auxiliary.title_generation.model_upgrade_enabled", Label: "Better titles", Short: "Replace the quick title with one written by the title model.", Group: GroupModel, Order: 2000, Advanced: true}, Default: true})
Replace the quick title with one written by the title model
var AuxiliaryTitleGenerationPreferFastModel = Register(&Bool{Meta: Meta{Key: "auxiliary.title_generation.prefer_fast_model", Label: "Prefer fast model", Short: "Pick a quicker model for titles when one is available.", Group: GroupModel, Order: 2010, Advanced: true}, Default: false})
Pick a quicker model for titles when one is available
var AuxiliaryTitleGenerationProvider = Register(&String{Meta: Meta{Key: "auxiliary.title_generation.provider", Label: "Title provider", Short: "Provider for session titles.", Help: "Auto picks one for you.", Group: GroupModel, Order: 2020, Advanced: true}, Default: "auto"})
Provider for session titles
var AuxiliaryTitleGenerationReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.title_generation.reasoning_effort", Label: "Title thinking", Short: "Thinking effort for session titles.", Group: GroupModel, Order: 2030, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for session titles
var AuxiliaryTitleGenerationTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.title_generation.timeout", Label: "Title timeout", Short: "Time limit for session titles.", Group: GroupModel, Order: 2040, Advanced: true}, Default: 30 * time.Second})
Time limit for session titles
var AuxiliaryTransientRetries = Register(&Int{Meta: Meta{Key: "auxiliary.transient_retries", Label: "Helper retries", Short: "Retries for helper calls after a brief network error.", Help: "Between 0 and 6.", Group: GroupModel, Order: 2050, Advanced: true}, Default: 2})
Retries for helper calls after a brief network error
var AuxiliaryTriageSpecifierApiKey = Register(&String{Meta: Meta{Key: "auxiliary.triage_specifier.api_key", Label: "Triage key", Short: "API key for kanban task specs.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 2060, Advanced: true}, Masked: true, Default: ""})
API key for kanban task specs
var AuxiliaryTriageSpecifierBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.triage_specifier.base_url", Label: "Triage URL", Short: "Custom endpoint address for kanban task specs.", Group: GroupModel, Order: 2070, Advanced: true}, Default: ""})
Custom endpoint address for kanban task specs
var AuxiliaryTriageSpecifierExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.triage_specifier.extra_body", Label: "Triage fields", Short: "Extra request fields for kanban task specs.", Group: GroupModel, Order: 2080, Advanced: true}})
Extra request fields for kanban task specs
var AuxiliaryTriageSpecifierModel = Register(&String{Meta: Meta{Key: "auxiliary.triage_specifier.model", Label: "Triage model", Short: "Model for kanban task specs.", Help: "Empty picks one for you.", Group: GroupModel, Order: 2090, Advanced: true}, Default: ""})
Model for kanban task specs
var AuxiliaryTriageSpecifierProvider = Register(&String{Meta: Meta{Key: "auxiliary.triage_specifier.provider", Label: "Triage provider", Short: "Provider for kanban task specs.", Help: "Auto picks one for you.", Group: GroupModel, Order: 2100, Advanced: true}, Default: "auto"})
Provider for kanban task specs
var AuxiliaryTriageSpecifierReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.triage_specifier.reasoning_effort", Label: "Triage thinking", Short: "Thinking effort for kanban task specs.", Group: GroupModel, Order: 2110, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for kanban task specs
var AuxiliaryTriageSpecifierTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.triage_specifier.timeout", Label: "Triage timeout", Short: "Time limit for kanban task specs.", Group: GroupModel, Order: 2120, Advanced: true}, Default: 2 * time.Minute})
Time limit for kanban task specs
var AuxiliaryTtsAudioTagsApiKey = Register(&String{Meta: Meta{Key: "auxiliary.tts_audio_tags.api_key", Label: "Tag helper key", Short: "Key for the model that adds tone tags to speech text.", Group: GroupVoice, Order: 1000, Advanced: true}, Masked: true, Default: ""})
Key for the model that adds tone tags to speech text
var AuxiliaryTtsAudioTagsBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.tts_audio_tags.base_url", Label: "Tag helper endpoint", Short: "Custom endpoint for the model that adds tone tags to speech.", Group: GroupVoice, Order: 1010, Advanced: true}, Default: ""})
Custom endpoint for the model that adds tone tags to speech
var AuxiliaryTtsAudioTagsExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.tts_audio_tags.extra_body", Label: "Tag helper fields", Short: "Extra request fields sent to the tone tagging model.", Group: GroupVoice, Order: 1020, Advanced: true}})
Extra request fields sent to the tone tagging model
var AuxiliaryTtsAudioTagsModel = Register(&String{Meta: Meta{Key: "auxiliary.tts_audio_tags.model", Label: "Tag helper model", Short: "Model that adds tone tags to speech text.", Help: "Empty picks one for you.", Group: GroupVoice, Order: 1030, Advanced: true}, Default: ""})
Model that adds tone tags to speech text
var AuxiliaryTtsAudioTagsProvider = Register(&String{Meta: Meta{Key: "auxiliary.tts_audio_tags.provider", Label: "Tag helper provider", Short: "Service for the model that adds tone tags.", Help: "Auto picks one for you.", Group: GroupVoice, Order: 1040, Advanced: true}, Default: "auto"})
Service for the model that adds tone tags
var AuxiliaryTtsAudioTagsReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.tts_audio_tags.reasoning_effort", Label: "Tag helper effort", Short: "How long the tone tagging model thinks.", Group: GroupVoice, Order: 1050, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
How long the tone tagging model thinks
var AuxiliaryTtsAudioTagsTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.tts_audio_tags.timeout", Label: "Tag helper timeout", Short: "How long to wait for the tone tagging model before giving up.", Group: GroupVoice, Order: 1060, Advanced: true}, Default: 30 * time.Second})
How long to wait for the tone tagging model before giving up
var AuxiliaryVideoModel = Register(&String{Meta: Meta{Key: "auxiliary.video.model", Label: "Video model", Short: "Model that watches videos for the agent.", Group: GroupModel, Order: 2210, Advanced: true, Apply: NextTurn}, Null: "the image analysis model"})
Model that describes videos for the agent
var AuxiliaryVisionApiKey = Register(&String{Meta: Meta{Key: "auxiliary.vision.api_key", Label: "Vision key", Short: "API key for image analysis.", Help: "Empty uses your normal login.", Group: GroupModel, Order: 2130, Advanced: true}, Masked: true, Default: ""})
API key for image analysis
var AuxiliaryVisionBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.vision.base_url", Label: "Vision URL", Short: "Custom endpoint address for image analysis.", Group: GroupModel, Order: 2140, Advanced: true}, Default: ""})
Custom endpoint address for image analysis
var AuxiliaryVisionDownloadTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.vision.download_timeout", Label: "Download timeout", Short: "How long to wait when downloading an image or media file.", Group: GroupModel, Order: 2150, Advanced: true}, Default: 30 * time.Second})
How long to wait when downloading an image or media file
var AuxiliaryVisionExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.vision.extra_body", Label: "Vision fields", Short: "Extra request fields for image analysis.", Group: GroupModel, Order: 2160, Advanced: true}})
Extra request fields for image analysis
var AuxiliaryVisionMaxConcurrency = Register(&Int{Meta: Meta{Key: "auxiliary.vision.max_concurrency", Label: "Image workers", Short: "How many images are prepared at the same time.", Group: GroupModel, Order: 2220, Advanced: true, Apply: Restart}, Null: "one per processor core", Min: at(1), DefaultBelow: true})
Parallel image and video preparation steps
var AuxiliaryVisionModel = Register(&String{Meta: Meta{Key: "auxiliary.vision.model", Label: "Vision model", Short: "Model for image analysis.", Help: "Empty picks one for you.", Group: GroupModel, Order: 2170, Advanced: true}, Default: ""})
Model for image analysis
var AuxiliaryVisionProvider = Register(&String{Meta: Meta{Key: "auxiliary.vision.provider", Label: "Vision provider", Short: "Provider for image analysis.", Help: "Auto picks one for you.", Group: GroupModel, Order: 2180, Advanced: true}, Default: "auto"})
Provider for image analysis
var AuxiliaryVisionReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.vision.reasoning_effort", Label: "Vision thinking", Short: "Thinking effort for image analysis.", Group: GroupModel, Order: 2190, Advanced: true}, Values: reasoningChoices, Null: "the model's default"})
Thinking effort for image analysis
var AuxiliaryVisionTemperature = Register(&Float{Meta: Meta{Key: "auxiliary.vision.temperature", Label: "Vision temperature", Short: "How varied image and video descriptions may be.", Help: "Low values give steadier descriptions.", Group: GroupModel, Order: 2230, Advanced: true, Apply: NextTurn}, Default: 0.1, Min: at(0.0), Max: at(2.0)})
Randomness of image and video descriptions
var AuxiliaryVisionTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.vision.timeout", Label: "Vision timeout", Short: "Time limit for image analysis.", Group: GroupModel, Order: 2200, Advanced: true}, Default: 2 * time.Minute})
Time limit for image analysis
var AuxiliaryVoiceChatApiKey = Register(&String{Meta: Meta{Key: "auxiliary.voice_chat.api_key", Label: "Voice chat key", Short: "Key for the model that answers in voice conversations.", Group: GroupVoice, Order: 1070, Advanced: true}, Masked: true, Default: ""})
Key for the model that answers in voice conversations
var AuxiliaryVoiceChatBaseUrl = Register(&String{Meta: Meta{Key: "auxiliary.voice_chat.base_url", Label: "Voice chat endpoint", Short: "Custom endpoint for the model that answers in voice conversations.", Group: GroupVoice, Order: 1080, Advanced: true}, Default: ""})
Custom endpoint for the model that answers in voice conversations
var AuxiliaryVoiceChatExtraBody = Register(&Map{Meta: Meta{Key: "auxiliary.voice_chat.extra_body", Label: "Voice chat fields", Short: "Extra request fields sent to the voice conversation model.", Group: GroupVoice, Order: 1090, Advanced: true}})
Extra request fields sent to the voice conversation model
var AuxiliaryVoiceChatModel = Register(&String{Meta: Meta{Key: "auxiliary.voice_chat.model", Label: "Voice chat model", Short: "Model that answers in voice conversations.", Help: "Empty picks one for you.", Group: GroupVoice, Order: 1100, Advanced: true}, Default: ""})
Model that answers in voice conversations
var AuxiliaryVoiceChatProvider = Register(&String{Meta: Meta{Key: "auxiliary.voice_chat.provider", Label: "Voice chat provider", Short: "Service for the voice conversation model.", Help: "Auto picks one for you.", Group: GroupVoice, Order: 1110, Advanced: true}, Default: "auto"})
Service for the voice conversation model
var AuxiliaryVoiceChatReasoningEffort = Register(&Enum{Meta: Meta{Key: "auxiliary.voice_chat.reasoning_effort", Label: "Voice chat effort", Short: "How long the voice conversation model thinks (default: off).", Help: "Less thinking answers sooner.", Group: GroupVoice, Order: 1120, Advanced: true}, Default: "none", Values: reasoningChoices})
How long the voice conversation model thinks (default: off)
var AuxiliaryVoiceChatTimeout = Register(&Duration{Meta: Meta{Key: "auxiliary.voice_chat.timeout", Label: "Voice chat timeout", Short: "How long to wait for a voice reply before giving up.", Group: GroupVoice, Order: 1130, Advanced: true}, Default: 2 * time.Minute})
How long to wait for a voice reply before giving up
var Battery = Register(&Bool{Meta: Meta{Key: "display.battery", Label: "Battery", Short: "Show the laptop battery level in the status bar.", Group: GroupWorking, Order: 42, Slash: "battery"}, Default: false})
Battery level in the status bar
var BedrockGuardrailGuardrailIdentifier = Register(&String{Meta: Meta{Key: "bedrock.guardrail.guardrail_identifier", Label: "Guardrail ID", Short: "ID of the Bedrock guardrail to apply.", Help: "Both the ID and the version must be set for the guardrail to apply.", Group: GroupModel, Order: 2210, Advanced: true}, Default: ""})
ID of the Bedrock guardrail to apply
var BedrockGuardrailGuardrailVersion = Register(&String{Meta: Meta{Key: "bedrock.guardrail.guardrail_version", Label: "Guardrail version", Short: "Version of the Bedrock guardrail to apply.", Group: GroupModel, Order: 2220, Advanced: true}, Default: ""})
Version of the Bedrock guardrail to apply
var BedrockGuardrailStreamProcessingMode = Register(&Enum{Meta: Meta{Key: "bedrock.guardrail.stream_processing_mode", Label: "Guardrail streaming", Short: "Whether guardrail checks block streamed replies (sync) or not.", Group: GroupModel, Order: 2230, Advanced: true}, Default: "async", Values: []Choice{{Value: "async", Label: "Async", Meaning: "Check without delaying replies."}, {Value: "sync", Label: "Sync", Meaning: "Check before text is shown."}}})
Whether guardrail checks block streamed replies (sync) or not
var BedrockGuardrailTrace = Register(&Enum{Meta: Meta{Key: "bedrock.guardrail.trace", Label: "Guardrail trace", Short: "Whether Bedrock reports why a guardrail acted.", Group: GroupModel, Order: 2240, Advanced: true}, Default: "disabled", Values: []Choice{{Value: "disabled", Label: "Off", Meaning: "No guardrail trace."}, {Value: "enabled", Label: "On", Meaning: "Include guardrail trace."}, {Value: "enabled_full", Label: "Full", Meaning: "Include full guardrail trace."}}})
Whether Bedrock reports why a guardrail acted
var BedrockRegion = Register(&String{Meta: Meta{Key: "bedrock.region", Label: "Bedrock region", Short: "AWS region used for Bedrock requests.", Help: "Blank takes the region from the endpoint address, else us-east-1.", Group: GroupModel, Order: 2250, Advanced: true}, Default: ""})
AWS region used for Bedrock requests
var BellOnComplete = Register(&Bool{Meta: Meta{Key: "display.bell_on_complete", Label: "Bell when done", Short: "Ring the terminal bell when the agent finishes a turn.", Group: GroupWorking, Order: 50}, Default: false})
Terminal bell when a turn finishes
var BellOnPrompt = Register(&Bool{Meta: Meta{Key: "display.bell_on_prompt", Label: "Bell on question", Short: "Ring the terminal bell when the agent needs your answer.", Group: GroupWorking, Order: 51}, Default: false})
Terminal bell when the agent asks something
var BluebubblesMentionPatterns = Register(&List{Meta: Meta{Key: "bluebubbles.mention_patterns", Label: "Wake patterns", Short: "BlueBubbles: patterns in a group message that count as calling it.", Help: "Regular expressions, matched without regard to case.", Group: GroupChatApps, Order: 3450, Advanced: true, Apply: Restart}, Null: "the built-in patterns"})
BlueBubbles: words that count as calling the bot in a group
var BluebubblesRequireMention = Register(&Bool{Meta: Meta{Key: "bluebubbles.require_mention", Label: "Require mention", Short: "BlueBubbles: only answer in group chats when called by name.", Group: GroupChatApps, Order: 3440, Advanced: true, Apply: Restart}, Default: false})
BlueBubbles: group chats answered only when called
var BluebubblesSendReadReceipts = Register(&Bool{Meta: Meta{Key: "bluebubbles.send_read_receipts", Label: "Read receipts", Short: "BlueBubbles: mark messages as read once they are handled.", Group: GroupChatApps, Order: 3430, Advanced: true, Apply: Restart}, Default: true})
BlueBubbles: read receipts on handled messages
var BluebubblesServerURL = Register(&String{Meta: Meta{Key: "bluebubbles.server_url", Label: "Server address", Short: "BlueBubbles: address of the BlueBubbles server on your Mac.", Help: "Such as http://192.168.1.10:1234.", Group: GroupChatApps, Order: 3395, Advanced: true, Apply: Restart, Env: "BLUEBUBBLES_SERVER_URL"}, Default: ""})
BlueBubbles: address of the BlueBubbles server
var BluebubblesWebhookHost = Register(&String{Meta: Meta{Key: "bluebubbles.webhook_host", Label: "Listener address", Short: "BlueBubbles: address the listener for new messages binds to.", Group: GroupChatApps, Order: 3400, Advanced: true, Apply: Restart}, Default: "127.0.0.1"})
BlueBubbles: interface the message listener binds to
var BluebubblesWebhookPath = Register(&String{Meta: Meta{Key: "bluebubbles.webhook_path", Label: "Listener path", Short: "BlueBubbles: path the server sends new messages to.", Group: GroupChatApps, Order: 3420, Advanced: true, Apply: Restart}, Default: "/bluebubbles-webhook"})
BlueBubbles: path the server posts new messages to
var BluebubblesWebhookPort = Register(&Int{Meta: Meta{Key: "bluebubbles.webhook_port", Label: "Listener port", Short: "BlueBubbles: port the listener for new messages binds to.", Group: GroupChatApps, Order: 3410, Advanced: true, Apply: Restart}, Default: 8645, Min: at(1), Max: at(65535)})
BlueBubbles: port the message listener binds to
var BotDesktopAutoStart = Register(&Bool{Meta: Meta{Key: "bot_desktop.auto_start", Label: "Auto start desktop", Short: "Start a hidden desktop on its own when a tool needs a screen.", Help: "Only applies on a Linux machine with no display and the needed packages installed.", Group: GroupTools, Order: 1010, Advanced: true}, Default: false})
Start a hidden desktop on its own when a tool needs a screen
var BotDesktopGeometry = Register(&String{Meta: Meta{Key: "bot_desktop.geometry", Label: "Desktop size", Short: "Screen size of the agent's own desktop, as width x height.", Group: GroupTools, Order: 1020, Advanced: true}, Default: "1440x900"})
Screen size of the agent's own desktop, as width x height
var BotDesktopIdleStopMinutes = Register(&Duration{Meta: Meta{Key: "bot_desktop.idle_stop_minutes", Label: "Desktop idle stop", Short: "Stop the agent's desktop after this long without use.", Help: "Zero or less keeps it running.", Group: GroupTools, Order: 1030, Advanced: true}, Default: 30 * time.Minute, Unit: time.Minute})
Stop the agent's desktop after this long without use
var BotDesktopMinFreeMemoryMb = Register(&Int{Meta: Meta{Key: "bot_desktop.min_free_memory_mb", Label: "Min free memory", Short: "Refuse to start a desktop when free memory is below this.", Help: "Zero turns the check off.", Group: GroupTools, Order: 1040, Advanced: true}, Default: 1536, Unit: "MB", Min: at(0)})
Refuse to start a desktop when free memory is below this
var BotDesktopPlacement = Register(&Enum{Meta: Meta{Key: "bot_desktop.placement", Label: "Desktop placement", Short: "Where the agent's desktop runs.", Group: GroupTools, Order: 1050, Advanced: true}, Default: "auto", Values: []Choice{{"auto", "Automatic", "Pick based on where commands run."}, {"terminal", "With commands", "Run inside the same place as commands."}, {"gateway", "This computer", "Run on the machine running the app."}}})
Where the agent's desktop runs
var BotModeTurnWaitSeconds = Register(&Duration{Meta: Meta{Key: "bot_mode.turn_wait_seconds", Label: "Bot turn wait", Short: "How long a queued bot message waits for the running turn.", Group: GroupAgent, Order: 1170, Advanced: true}, Default: 2 * time.Minute})
How long a queued bot message waits for the running turn
var BotPeers = Register(&Map{Meta: Meta{Key: "bot_peers", Label: "Peer bots", Short: "Other icebath API servers this profile can send work to, by name.", Help: "Managed with icebath peer add and icebath peer remove.", Group: GroupChatApps, Order: 3985, Advanced: true}})
Other icebath API servers this profile sends work to, by peer name
var BrowserAllowPrivateUrls = Register(&Bool{Meta: Meta{Key: "browser.allow_private_urls", Label: "Allow private addresses", Short: "Let the browser open local and private network addresses.", Group: GroupTools, Order: 1060, Advanced: true}, Default: false})
Let the browser open local and private network addresses
var BrowserAutoLocalForPrivateUrls = Register(&Bool{Meta: Meta{Key: "browser.auto_local_for_private_urls", Label: "Local for private", Short: "Use the local browser for private addresses instead of a cloud one.", Group: GroupTools, Order: 1070, Advanced: true}, Default: true})
Use the local browser for private addresses instead of a cloud one
var BrowserBrowserbaseAdvancedStealth = Register(&Bool{Meta: Meta{Key: "browser.browserbase.advanced_stealth", Label: "Browserbase stealth", Short: "Ask Browserbase for its advanced stealth browser.", Help: "Needs a Browserbase plan that includes it.", Group: GroupTools, Order: 1072, Advanced: true, Env: "BROWSERBASE_ADVANCED_STEALTH"}, Default: false})
Ask Browserbase for its advanced stealth browser
var BrowserBrowserbaseKeepAlive = Register(&Bool{Meta: Meta{Key: "browser.browserbase.keep_alive", Label: "Browserbase keep alive", Short: "Keep a Browserbase session alive between steps.", Help: "Dropped by itself when the plan does not include it.", Group: GroupTools, Order: 1074, Advanced: true, Env: "BROWSERBASE_KEEP_ALIVE"}, Default: true})
Keep a Browserbase session alive between steps
var BrowserBrowserbaseProxies = Register(&Bool{Meta: Meta{Key: "browser.browserbase.proxies", Label: "Browserbase proxies", Short: "Route Browserbase sessions through its proxies.", Help: "Dropped by itself when the plan does not include them.", Group: GroupTools, Order: 1076, Advanced: true, Env: "BROWSERBASE_PROXIES"}, Default: true})
Route Browserbase sessions through its proxies
var BrowserBrowserbaseSessionTimeout = Register(&Duration{Meta: Meta{Key: "browser.browserbase.session_timeout", Label: "Browserbase session time", Short: "How long a Browserbase session may run before it ends.", Help: "Zero or unset uses the project's own limit.", Group: GroupTools, Order: 1078, Advanced: true, Env: "BROWSERBASE_SESSION_TIMEOUT"}, Null: "the project's own limit"})
How long a Browserbase session may run before it ends
var BrowserCamofox = Register(&Map{Meta: Meta{Key: "browser.camofox", Label: "Camofox options", Short: "Options for the Camofox browser backend.", Help: "A block of sub-settings such as managed_persistence, cookies_dir, timeout and temperature.", Group: GroupTools, Order: 1080, Advanced: true}})
Options for the Camofox browser backend
var BrowserCdpUrl = Register(&String{Meta: Meta{Key: "browser.cdp_url", Label: "Browser attach address", Short: "Attach to an already running browser at this address.", Help: "A live /browser connect wins over this.", Group: GroupTools, Order: 1090, Advanced: true, Env: "BROWSER_CDP_URL"}, Default: ""})
Attach to an already running browser at this address
var BrowserChromiumArgs = Register(&List{Meta: Meta{Key: "browser.chromium_args", Label: "Extra browser flags", Short: "Extra command line flags added to every Chromium launch.", Group: GroupTools, Order: 1100, Advanced: true}})
Extra command line flags added to every Chromium launch
var BrowserCloudProvider = Register(&String{Meta: Meta{Key: "browser.cloud_provider", Label: "Browser service", Short: "Where web pages open: local, or a cloud browser service.", Group: GroupTools, Order: 1005, Advanced: true}, Default: "local"})
Where the browser tool runs its pages
var BrowserCommandTimeout = Register(&Duration{Meta: Meta{Key: "browser.command_timeout", Label: "Browser start timeout", Short: "How long to wait for the browser to start and answer.", Help: "Never less than 5 seconds.", Group: GroupTools, Order: 1110, Advanced: true}, Default: 30 * time.Second, Min: at(5 * time.Second)})
How long to wait for the browser to start and answer
var BrowserDialogPolicy = Register(&Enum{Meta: Meta{Key: "browser.dialog_policy", Label: "Page dialogs", Short: "How the browser handles alert, confirm and prompt pop-ups.", Group: GroupTools, Order: 1120, Advanced: true}, Default: "must_respond", Values: []Choice{{"must_respond", "Ask the agent", "Agent must answer each dialog."}, {"auto_dismiss", "Dismiss", "Close dialogs without accepting."}, {"auto_accept", "Accept", "Accept every dialog."}}})
How the browser handles alert, confirm and prompt pop-ups
var BrowserDialogTimeoutS = Register(&Duration{Meta: Meta{Key: "browser.dialog_timeout_s", Label: "Dialog wait", Short: "How long a pop-up waits for an answer before it is dealt with.", Help: "Zero or less uses the default.", Group: GroupTools, Order: 1130, Advanced: true}, Default: 5 * time.Minute})
How long a pop-up waits for an answer before it is dealt with
var BrowserEngine = Register(&Enum{Meta: Meta{Key: "browser.engine", Label: "Browser engine", Short: "Which local browser engine the tools drive.", Group: GroupTools, Order: 1140, Advanced: true}, Default: "auto", Values: []Choice{{"auto", "Chromium", "Standard Chromium browser."}, {"lightpanda", "Lightpanda", "Lightweight headless engine."}, {"chrome", "Chrome", "Same as Chromium."}}})
Which local browser engine the tools drive
var BrowserExecWorkspace = Register(&Path{Meta: Meta{Key: "browser.exec_workspace", Label: "Browser code folder", Short: "One folder browser code keeps its files in for every task.", Help: "Empty gives each task its own folder in the icebath cache. A relative path is placed under the icebath home folder.", Group: GroupTools, Order: 1145, Advanced: true, Env: "BH_AGENT_WORKSPACE"}, Default: ""})
One folder browser code keeps its files in for every task
var BrowserExecutablePath = Register(&String{Meta: Meta{Key: "browser.executable_path", Label: "Browser program", Short: "Use this browser program instead of the bundled one.", Group: GroupTools, Order: 1150, Advanced: true}, Default: ""})
Use this browser program instead of the bundled one
var BrowserFirecrawlTtl = Register(&Duration{Meta: Meta{Key: "browser.firecrawl.ttl", Label: "Firecrawl session life", Short: "How long a Firecrawl browser session lives.", Group: GroupTools, Order: 1155, Advanced: true, Env: "FIRECRAWL_BROWSER_TTL"}, Default: 5 * time.Minute, Min: at(time.Second)})
How long a Firecrawl browser session lives
var BrowserHeaded = Register(&Bool{Meta: Meta{Key: "browser.headed", Label: "Show browser window", Short: "Show the browser window instead of running it hidden.", Group: GroupTools, Order: 1160, Advanced: true}, Default: false})
Show the browser window instead of running it hidden
var BrowserInactivityTimeout = Register(&Duration{Meta: Meta{Key: "browser.inactivity_timeout", Label: "Browser idle close", Short: "Close an unused browser session after this long.", Help: "Never less than 30 seconds.", Group: GroupTools, Order: 1170, Advanced: true, Env: "BROWSER_INACTIVITY_TIMEOUT"}, Default: 2 * time.Minute, Min: at(30 * time.Second)})
Close an unused browser session after this long
var BrowserRealProfileAutoclose = Register(&Bool{Meta: Meta{Key: "browser.real_profile_autoclose", Label: "Close real browser", Short: "Close your own browser by itself when the agent needs its profile.", Help: "Only matters when using your real browser profile is allowed.", Group: GroupTools, Order: 1180, Advanced: true}, Default: false})
Close your own browser by itself when the agent needs its profile
var BrowserRealProfilePin = Register(&String{Meta: Meta{Key: "browser.real_profile_pin", Label: "Real profile name", Short: "Folder name of the browser profile to borrow, such as Profile 2.", Help: "Empty uses the profile you used last. A name that does not exist stops the borrow.", Group: GroupTools, Order: 1190, Advanced: true}, Default: ""})
Folder name of the browser profile to borrow, such as Profile 2
var BrowserTabMarker = Register(&Bool{Meta: Meta{Key: "browser.tab_marker", Label: "Mark agent tab", Short: "Mark the tab the agent drives so you can tell it apart.", Group: GroupTools, Order: 1195, Advanced: true, Env: "BH_TAB_MARKER"}, Default: true})
Mark the tab the agent drives so you can tell it apart
var BrowserUseRealProfile = Register(&Bool{Meta: Meta{Key: "browser.use_real_profile", Label: "Use real profile", Short: "Allow the agent to use a copy of your own browser profile and logins.", Group: GroupTools, Order: 1200, Advanced: true}, Default: false})
Allow the agent to use a copy of your own browser profile and logins
var BrowserUserDataDir = Register(&String{Meta: Meta{Key: "browser.user_data_dir", Label: "Browser profile folder", Short: "Keep one browser profile in this folder for every session.", Help: "A relative path is placed under the Icebath home folder.", Group: GroupTools, Order: 1210, Advanced: true}, Default: ""})
Keep one browser profile in this folder for every session
var BusyIndicator = Register(&Enum{Meta: Meta{Key: "display.tui_status_indicator", Label: "Busy indicator", Short: "Symbols of the spinner shown while the agent works.", Group: GroupAppearance, Order: 70, Slash: "indicator"}, Default: "unicode", Values: []Choice{ {"unicode", "Unicode", "Clean line symbols."}, {"emoji", "Emoji", ""}, {"ascii", "ASCII", "Plain characters for any terminal."}, }})
Busy indicator style
var BusyMode = Register(&Enum{Meta: Meta{Key: "display.busy_input_mode", Label: "Enter while busy", Short: "What Enter does while the agent is still working.", Group: GroupWorking, Order: 30, Scopes: Global | Session, Slash: "busy"}, Default: "queue", Values: []Choice{ {"queue", "Queue it", "Send after the current turn ends."}, {"steer", "Steer", "Add it to the current turn."}, {"interrupt", "Interrupt", "Stop the turn and send it now."}, }})
What Enter does while the agent is still working
var BuzzAllowAllUsers = Register(&Bool{Meta: Meta{Key: "buzz.allow_all_users", Label: "Allow everyone", Short: "Buzz: let anyone in its channels talk to it.", Group: GroupChatApps, Order: 1100, Advanced: true, Env: "BUZZ_ALLOW_ALL_USERS"}, Default: false})
Buzz: let everyone talk to it
var BuzzAllowedUsers = Register(&List{Meta: Meta{Key: "buzz.allowed_users", Label: "Allowed people", Short: "Buzz: public keys of people allowed to talk to it.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_ALLOWED_USERS"}})
Buzz: people allowed to talk to it
var BuzzAttachmentHosts = Register(&List{Meta: Meta{Key: "buzz.attachment_hosts", Label: "Attachment hosts", Short: "Buzz: extra hosts attachments may be downloaded from.", Help: "The relay's own host is always allowed.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart}})
Buzz: extra hosts attachments may be downloaded from
var BuzzChannels = Register(&List{Meta: Meta{Key: "buzz.channels", Label: "Channels", Short: "Buzz: channels it listens in.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_CHANNELS"}})
Buzz: channels it listens in
var BuzzCliPath = Register(&String{Meta: Meta{Key: "buzz.cli_path", Label: "Buzz program", Short: "Buzz: path of the buzz program; empty finds it on the PATH.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_CLI_PATH"}})
Buzz: the buzz program it runs
var BuzzPollInterval = Register(&Float{Meta: Meta{Key: "buzz.poll_interval", Label: "Poll interval", Short: "Buzz: seconds between checks for new messages when polling.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_POLL_INTERVAL"}, Unit: "seconds", Null: "the built-in interval"})
Buzz: seconds between checks when polling
var BuzzReactionOnlyUsers = Register(&List{Meta: Meta{Key: "buzz.reaction_only_users", Label: "React only to", Short: "Buzz: public keys whose messages get a reaction but no reply.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_REACTION_ONLY_USERS"}})
Buzz: people whose messages it only reacts to
var BuzzRelayURL = Register(&String{Meta: Meta{Key: "buzz.relay_url", Label: "Relay address", Short: "Buzz: address of the relay the bot talks through.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_RELAY_URL"}})
Buzz: address of the relay the bot talks through
var BuzzReplyInThread = Register(&Bool{Meta: Meta{Key: "buzz.reply_in_thread", Label: "Reply in thread", Short: "Buzz: answer in a thread under the message; off answers in place.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_REPLY_IN_THREAD"}, Default: true})
Buzz: answer in a thread under the message
var BuzzReplyToMode = Register(&Enum{Meta: Meta{Key: "buzz.reply_to_mode", Label: "Reply quoting", Short: "Buzz: which parts of a reply point back at your message.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_REPLY_TO_MODE"}, Default: "first", Values: []Choice{{Value: "first", Label: "First", Meaning: "Only the first part."}, {Value: "all", Label: "All", Meaning: "Every part."}, {Value: "off", Label: "Off", Meaning: "None."}}})
Buzz: which reply parts point back at the message
var BuzzRequireMention = Register(&Bool{Meta: Meta{Key: "buzz.require_mention", Label: "Require mention", Short: "Buzz: answer in channels only when someone mentions it.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_REQUIRE_MENTION"}, Default: true})
Buzz: answer in channels only when mentioned
var BuzzTransport = Register(&Enum{Meta: Meta{Key: "buzz.transport", Label: "Connection type", Short: "Buzz: how it receives messages from the relay.", Group: GroupChatApps, Order: 1100, Advanced: true, Apply: Restart, Env: "BUZZ_TRANSPORT"}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "A live connection, polling when it fails."}, {Value: "websocket", Label: "Live", Meaning: "Only a live connection."}, {Value: "poll", Label: "Poll", Meaning: "Ask the relay every few seconds."}}})
Buzz: how it receives messages
var ChatVoiceModes = Register(&Map{Meta: Meta{Key: "voice.chat_modes", Label: "Voice per chat", Short: "Each chat's own choice of voice replies, set by /voice there.", Help: "Chats missing here follow Speak replies.", Group: GroupChatApps, Order: 100, Advanced: true, State: true}, Value: chatVoiceMode})
Voice reply mode each chat chose with /voice, keyed by chat
var CheckpointsAutoPrune = Register(&Bool{Meta: Meta{Key: "checkpoints.auto_prune", Label: "Auto-prune snapshots", Short: "Delete old file snapshots automatically at startup.", Group: GroupTerminal, Order: 1000, Advanced: true}, Default: true})
Delete old file snapshots automatically at startup
var CheckpointsEnabled = Register(&Bool{Meta: Meta{Key: "checkpoints.enabled", Label: "File checkpoints", Short: "Save file snapshots so edits can be rewound.", Group: GroupTerminal, Order: 1010, Advanced: true, Apply: NewSession}, Default: false})
Save file snapshots so edits can be rewound
var CheckpointsMaxFileSizeMb = Register(&Int{Meta: Meta{Key: "checkpoints.max_file_size_mb", Label: "Max file size", Short: "Largest single file a snapshot will include.", Group: GroupTerminal, Order: 1020, Advanced: true, Apply: NewSession}, Default: 10, Unit: "MB"})
Largest single file a snapshot will include
var CheckpointsMaxSnapshots = Register(&Int{Meta: Meta{Key: "checkpoints.max_snapshots", Label: "Snapshots kept", Short: "How many snapshots are kept per project.", Group: GroupTerminal, Order: 1030, Advanced: true, Apply: NewSession}, Default: 20})
How many snapshots are kept per project
var CheckpointsMaxTotalSizeMb = Register(&Int{Meta: Meta{Key: "checkpoints.max_total_size_mb", Label: "Snapshot disk limit", Short: "Total disk space snapshots may use before pruning.", Group: GroupTerminal, Order: 1040, Advanced: true, Apply: NewSession}, Default: 500, Unit: "MB"})
Total disk space snapshots may use before pruning
var CheckpointsMinIntervalHours = Register(&Duration{Meta: Meta{Key: "checkpoints.min_interval_hours", Label: "Prune interval", Short: "Fewest hours between automatic snapshot cleanups.", Group: GroupTerminal, Order: 1050, Advanced: true}, Default: 24 * time.Hour, Unit: time.Hour})
Fewest hours between automatic snapshot cleanups
var CheckpointsRetentionDays = Register(&Duration{Meta: Meta{Key: "checkpoints.retention_days", Label: "Snapshot retention", Short: "Days an old snapshot is kept before cleanup removes it.", Group: GroupTerminal, Order: 1060, Advanced: true}, Default: 7 * 24 * time.Hour, Unit: 24 * time.Hour})
Days an old snapshot is kept before cleanup removes it
var CodeExecutionKernelIdleTimeout = Register(&Duration{Meta: Meta{Key: "code_execution.kernel_idle_timeout", Label: "Kernel idle close", Short: "Close an idle code session after this long.", Help: "Never less than 1 second.", Group: GroupTools, Order: 1220, Advanced: true}, Default: 30 * time.Minute, Min: at(time.Second)})
Close an idle code session after this long
var CodeExecutionMaxSessionKernels = Register(&Int{Meta: Meta{Key: "code_execution.max_session_kernels", Label: "Max code sessions", Short: "How many code sessions can stay open at once.", Group: GroupTools, Order: 1230, Advanced: true}, Default: 4, Min: at(1)})
How many code sessions can stay open at once
var CodeExecutionMaxToolCalls = Register(&Int{Meta: Meta{Key: "code_execution.max_tool_calls", Label: "Script tool calls", Short: "Most tool calls one code run may make.", Group: GroupTools, Order: 1225, Advanced: true}, Default: 50, Min: at(0), Unit: "calls"})
Most tool calls one code run may make
var CodeExecutionMode = Register(&Enum{Meta: Meta{Key: "code_execution.mode", Label: "Code run folder", Short: "Where scripts run: your working folder or a scratch one.", Group: GroupTools, Order: 1240, Advanced: true}, Default: "project", Values: []Choice{{"project", "Project folder", "Scripts run in your working folder."}, {"strict", "Scratch folder", "Scripts run in a temporary folder."}}})
Where scripts run: your working folder or a scratch one
var CodeExecutionTimeout = Register(&Duration{Meta: Meta{Key: "code_execution.timeout", Label: "Code run limit", Short: "Longest one code run may take before it is stopped.", Group: GroupTools, Order: 1245, Advanced: true}, Default: 5 * time.Minute})
Longest one code run may take before it is stopped
var CodingInstructions = Register(&List{Meta: Meta{Key: "agent.coding_instructions", Label: "Coding instructions", Short: "Your own rules the agent follows when it works on code.", Group: GroupAgent, Order: 30, Apply: NewSession}, Whole: true})
Extra instructions for coding work
var Compact = Register(&Bool{Meta: Meta{Key: "display.tui_compact", Label: "Compact", Short: "Less spacing so more of the transcript fits.", Group: GroupAppearance, Order: 40, Slash: "density"}, Default: false})
Tighter spacing
var CompressAt = Register(&Float{Meta: Meta{Key: "compression.threshold", Label: "Shorten at", Short: "How full the chat gets before older messages are summarized.", Help: "A share of the model's context window: 0.5 is half full.", Group: GroupAgent, Order: 41, Apply: NewSession}, Default: 0.5, Unit: "of context"})
Fill level that starts a summary
var CompressionAbortOnSummaryFailure = Register(&Bool{Meta: Meta{Key: "compression.abort_on_summary_failure", Label: "Stop on failure", Short: "Stops the turn if the summary of old messages fails.", Group: GroupAgent, Order: 1180, Advanced: true}, Default: false})
Stops the turn if the summary of old messages fails
var CompressionCheckpointRequired = Register(&Bool{Meta: Meta{Key: "compression.checkpoint_required", Label: "Require checkpoint", Short: "Refuses to compress until a checkpoint of the chat is saved.", Help: "Not allowed with the Codex app server mode.", Group: GroupAgent, Order: 1190, Advanced: true}, Default: false})
Refuses to compress until a checkpoint of the chat is saved
var CompressionCodexAppServerAuto = Register(&Enum{Meta: Meta{Key: "compression.codex_app_server_auto", Label: "Codex compaction", Short: "Who compacts a long Codex app server conversation.", Group: GroupAgent, Order: 1200, Advanced: true}, Default: "native", Values: []Choice{{Value: "native", Label: "Codex", Meaning: "Codex compacts its own thread."}, {Value: "icebath", Label: "Icebath", Meaning: "Icebath summarises the conversation."}, {Value: "off", Label: "Off", Meaning: "No automatic compaction."}}})
Who compacts a long Codex app server conversation
var CompressionCodexGpt55Autoraise = Register(&Bool{Meta: Meta{Key: "compression.codex_gpt55_autoraise", Label: "Raise Codex trigger", Short: "Compresses later for the newest Codex models.", Group: GroupAgent, Order: 1210, Advanced: true}, Default: true})
Compresses later for the newest Codex models
var CompressionCodexGpt55AutoraiseNotice = Register(&Bool{Meta: Meta{Key: "compression.codex_gpt55_autoraise_notice", Label: "Codex raise notice", Short: "Shows a note when the Codex compression trigger is raised.", Group: GroupAgent, Order: 1220, Advanced: true}, Default: true})
Shows a note when the Codex compression trigger is raised
var CompressionCodexResponsesCompactThreshold = Register(&Int{Meta: Meta{Key: "compression.codex_responses_compact_threshold", Label: "Codex compact size", Short: "Size in tokens at which native Codex compaction starts.", Help: "Only used when native Codex compaction is on. Must be above zero.", Group: GroupAgent, Order: 1230, Advanced: true}, Null: "chosen automatically", Unit: "tokens"})
Size in tokens at which native Codex compaction starts
var CompressionCodexResponsesNative = Register(&Bool{Meta: Meta{Key: "compression.codex_responses_native", Label: "Native Codex compaction", Short: "Lets Codex compact long conversations itself.", Group: GroupAgent, Order: 1240, Advanced: true}, Default: false})
Lets Codex compact long conversations itself
var CompressionContextTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "compression.context_timeout_seconds", Label: "Summary idle limit", Short: "Longest the summary step may stay silent before it is given up.", Help: "Raised automatically to fit the summary model's own timeout.", Group: GroupAgent, Order: 1250, Advanced: true}, Default: 2 * time.Minute})
Longest the summary step may stay silent before it is given up
var CompressionContextTotalCeilingSeconds = Register(&Duration{Meta: Meta{Key: "compression.context_total_ceiling_seconds", Label: "Summary time limit", Short: "Longest a whole summary step may take.", Group: GroupAgent, Order: 1260, Advanced: true}, Default: 10 * time.Minute})
Longest a whole summary step may take
var CompressionHygieneFailureCooldownSeconds = Register(&Duration{Meta: Meta{Key: "compression.hygiene_failure_cooldown_seconds", Label: "Cleanup retry pause", Short: "Wait before retrying a failed automatic cleanup of a long chat.", Group: GroupAgent, Order: 1270, Advanced: true}, Default: 5 * time.Minute})
Wait before retrying a failed automatic cleanup of a long chat
var CompressionHygieneHardMessageLimit = Register(&Int{Meta: Meta{Key: "compression.hygiene_hard_message_limit", Label: "Cleanup message limit", Short: "Message count that forces a cleanup of a long chat.", Group: GroupAgent, Order: 1280, Advanced: true}, Default: 5000, Min: at(1), Unit: "messages", DefaultBelow: true})
Message count that forces a cleanup of a long chat
var CompressionHygieneMaxTurnHoldSeconds = Register(&Duration{Meta: Meta{Key: "compression.hygiene_max_turn_hold_seconds", Label: "Cleanup hold time", Short: "Longest a new message waits while a chat is being cleaned up.", Group: GroupAgent, Order: 1290, Advanced: true}, Default: 10 * time.Second})
Longest a new message waits while a chat is being cleaned up
var CompressionHygieneTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "compression.hygiene_timeout_seconds", Label: "Cleanup idle limit", Short: "Longest an automatic cleanup may stay silent before it fails.", Group: GroupAgent, Order: 1300, Advanced: true}, Default: 30 * time.Second})
Longest an automatic cleanup may stay silent before it fails
var CompressionHygieneTotalCeilingSeconds = Register(&Duration{Meta: Meta{Key: "compression.hygiene_total_ceiling_seconds", Label: "Cleanup time limit", Short: "Longest a whole automatic cleanup may take.", Group: GroupAgent, Order: 1310, Advanced: true}, Default: 10 * time.Minute})
Longest a whole automatic cleanup may take
var CompressionIdleCompactAfterSeconds = Register(&Duration{Meta: Meta{Key: "compression.idle_compact_after_seconds", Label: "Compact when idle", Short: "Compresses a chat after it has sat idle this long.", Help: "Zero turns it off.", Group: GroupAgent, Order: 1320, Advanced: true}, Default: 0, Min: at(time.Duration(0))})
Compresses a chat after it has sat idle this long
var CompressionInPlace = Register(&Bool{Meta: Meta{Key: "compression.in_place", Label: "Compress in place", Short: "Keeps the same session when old messages are summarised.", Group: GroupAgent, Order: 1330, Advanced: true}, Default: true})
Keeps the same session when old messages are summarised
var CompressionMaxAttempts = Register(&Int{Meta: Meta{Key: "compression.max_attempts", Label: "Summary attempts", Short: "How many times a failed summary is retried.", Help: "Between 1 and 10.", Group: GroupAgent, Order: 1340, Advanced: true}, Default: 3, Min: at(1), Max: at(10), DefaultBelow: true})
How many times a failed summary is retried
var CompressionMicroCompact = Register(&Bool{Meta: Meta{Key: "compression.micro_compact", Label: "Micro compaction", Short: "Trims old tool output a little at a time instead of all at once.", Group: GroupAgent, Order: 1350, Advanced: true}, Default: false})
Trims old tool output a little at a time instead of all at once
var CompressionMicroCompactDefragThresholdTokens = Register(&Int{Meta: Meta{Key: "compression.micro_compact_defrag_threshold_tokens", Label: "Micro compact repack", Short: "Size in tokens that triggers a repack of trimmed output.", Group: GroupAgent, Order: 1360, Advanced: true}, Default: 2000, Min: at(1), Unit: "tokens"})
Size in tokens that triggers a repack of trimmed output
var CompressionMicroCompactEveryNTurns = Register(&Int{Meta: Meta{Key: "compression.micro_compact_every_n_turns", Label: "Micro compact pace", Short: "Trims old tool output once every this many turns.", Group: GroupAgent, Order: 1370, Advanced: true}, Default: 1, Min: at(1), Unit: "turns"})
Trims old tool output once every this many turns
var CompressionMinTailUserMessages = Register(&Int{Meta: Meta{Key: "compression.min_tail_user_messages", Label: "Keep user messages", Short: "Fewest of your latest messages always kept as written.", Group: GroupAgent, Order: 1380, Advanced: true}, Default: 1, Min: at(1)})
Fewest of your latest messages always kept as written
var CompressionModelThresholds = Register(&Map{Meta: Meta{Key: "compression.model_thresholds", Label: "Per model trigger", Short: "Compression trigger share for chosen models, by model name.", Help: "Each value is a fraction of the model's context window, such as 0.6.", Group: GroupAgent, Order: 1390, Advanced: true}})
Compression trigger share for chosen models, by model name
var CompressionPrepareAhead = Register(&Bool{Meta: Meta{Key: "compression.prepare_ahead", Label: "Summarise ahead", Short: "Prepares the summary before the trigger is reached.", Group: GroupAgent, Order: 1400, Advanced: true}, Default: false})
Prepares the summary before the trigger is reached
var CompressionProactivePruneMinReclaimTokens = Register(&Int{Meta: Meta{Key: "compression.proactive_prune_min_reclaim_tokens", Label: "Prune minimum gain", Short: "Least tokens a trim must free to be worth doing.", Group: GroupAgent, Order: 1410, Advanced: true}, Default: 4096, Min: at(0), Unit: "tokens"})
Least tokens a trim must free to be worth doing
var CompressionProactivePruneMinResultChars = Register(&Int{Meta: Meta{Key: "compression.proactive_prune_min_result_chars", Label: "Prune result size", Short: "Tool output shorter than this is never trimmed.", Group: GroupAgent, Order: 1420, Advanced: true}, Default: 8000, Min: at(0), Unit: "chars"})
Tool output shorter than this is never trimmed
var CompressionProactivePruneTokens = Register(&Int{Meta: Meta{Key: "compression.proactive_prune_tokens", Label: "Early trim size", Short: "Token size at which old tool output is trimmed early.", Help: "Zero turns early trimming off.", Group: GroupAgent, Order: 1430, Advanced: true}, Default: 0, Min: at(0), Unit: "tokens"})
Token size at which old tool output is trimmed early
var CompressionProgressNotices = Register(&Bool{Meta: Meta{Key: "compression.progress_notices", Label: "Compression notices", Short: "Shows status messages while a chat is being compressed.", Group: GroupAgent, Order: 1440, Advanced: true}, Default: false})
Shows status messages while a chat is being compressed
var CompressionProtectFirstN = Register(&Int{Meta: Meta{Key: "compression.protect_first_n", Label: "Keep first messages", Short: "Number of opening messages never summarised.", Group: GroupAgent, Order: 1450, Advanced: true}, Default: 3, Min: at(0), Unit: "messages"})
Number of opening messages never summarised
var CompressionProtectLastN = Register(&Int{Meta: Meta{Key: "compression.protect_last_n", Label: "Keep last messages", Short: "Number of latest messages never summarised.", Group: GroupAgent, Order: 1460, Advanced: true}, Default: 20, Min: at(0), Unit: "messages"})
Number of latest messages never summarised
var CompressionTailMode = Register(&Enum{Meta: Meta{Key: "compression.tail_mode", Label: "Recent history mode", Short: "How recent messages are kept when compressing.", Group: GroupAgent, Order: 1470, Advanced: true}, Default: "lean", Values: []Choice{{Value: "lean", Label: "Lean", Meaning: "Keep a trimmed recent tail."}, {Value: "legacy", Label: "Legacy", Meaning: "Keep the older fixed-size tail."}}})
How recent messages are kept when compressing
var CompressionTargetRatio = Register(&Float{Meta: Meta{Key: "compression.target_ratio", Label: "Summary size", Short: "Share of the trigger size the summary is squeezed to.", Help: "Held between 0.1 and 0.8.", Group: GroupAgent, Order: 1480, Advanced: true}, Default: 0.2, Min: at(0.1), Max: at(0.8)})
Share of the trigger size the summary is squeezed to
var CompressionThresholdTokens = Register(&Int{Meta: Meta{Key: "compression.threshold_tokens", Label: "Trigger token cap", Short: "Hard cap in tokens that triggers compression.", Group: GroupAgent, Order: 1490, Advanced: true}, Null: "share of context window", Unit: "tokens"})
Hard cap in tokens that triggers compression
var ComputerUseAllowUnsignedDriver = Register(&Bool{Meta: Meta{Key: "computer_use.allow_unsigned_driver", Label: "Allow unsigned driver", Short: "Accept a driver app that lacks the expected publisher signature.", Help: "Only for locally built drivers on macOS.", Group: GroupTools, Order: 1250, Advanced: true}, Default: false})
Accept a driver app that lacks the expected publisher signature
var ComputerUseAutostart = Register(&Bool{Meta: Meta{Key: "computer_use.autostart", Label: "Auto start driver", Short: "Start the computer-use driver each time you log in, on Windows.", Group: GroupTools, Order: 1260, Advanced: true}, Default: false})
Start the computer-use driver on its own when first needed
var ComputerUseAxMaxElements = Register(&Int{Meta: Meta{Key: "computer_use.ax_max_elements", Label: "Max screen elements", Short: "Most on-screen items listed per accessibility snapshot.", Help: "Zero means no limit.", Group: GroupTools, Order: 1270, Advanced: true}, Default: 200, Unit: "elements", Min: at(0)})
Most on-screen items listed per accessibility snapshot
var ComputerUseBackend = Register(&String{Meta: Meta{Key: "computer_use.backend", Label: "Computer use backend", Short: "Which computer-use provider controls the screen.", Help: "Names a built-in or plugin provider. Unknown names stop the tool with a list of the available ones.", Group: GroupTools, Order: 1280, Advanced: true}, Default: "cua"})
Which computer-use provider controls the screen
var ComputerUseCapabilityManifest = Register(&String{Meta: Meta{Key: "computer_use.capability_manifest", Label: "Capability file", Short: "Path to a file limiting what the driver may do.", Help: "Used only outside the standard permission mode.", Group: GroupTools, Order: 1290, Advanced: true}, Default: ""})
Path to a file limiting what the driver may do
var ComputerUseCaptureAfterMode = Register(&Enum{Meta: Meta{Key: "computer_use.capture_after_mode", Label: "Follow-up capture", Short: "What each action sends back after it runs.", Group: GroupTools, Order: 1300, Advanced: true}, Default: "som", Values: []Choice{{"som", "Labeled shot", "Screenshot with numbered elements."}, {"vision", "Screenshot", "Plain screenshot only."}, {"ax", "Element list", "Text list of on-screen elements."}}})
What each action sends back after it runs
var ComputerUseCuaTelemetry = Register(&Bool{Meta: Meta{Key: "computer_use.cua_telemetry", Label: "Driver telemetry", Short: "Let the computer-use driver send usage data.", Group: GroupTools, Order: 1310, Advanced: true}, Default: false})
Let the computer-use driver send usage data
var ComputerUseDriverCommand = Register(&String{Meta: Meta{Key: "computer_use.driver_command", Label: "Driver program", Short: "Run this computer-use driver program instead of the managed one.", Help: "Empty uses the cua-driver icebath installs.", Group: GroupTools, Order: 1315, Advanced: true, Env: "ICEBATH_CUA_DRIVER_CMD"}, Default: ""})
Run this computer-use driver program instead of the managed one
var ComputerUseMaxImageDimension = Register(&Int{Meta: Meta{Key: "computer_use.max_image_dimension", Label: "Max screenshot edge", Short: "Longest side of a screenshot sent to the model, in pixels.", Help: "Zero or less turns the cap off.", Group: GroupTools, Order: 1320, Advanced: true}, Default: 1456, Unit: "pixels"})
Longest side of a screenshot sent to the model, in pixels
var ComputerUseNativeWayland = Register(&Bool{Meta: Meta{Key: "computer_use.native_wayland", Label: "Native Wayland", Short: "Use Wayland directly instead of the X11 compatibility layer.", Group: GroupTools, Order: 1330, Advanced: true}, Default: false})
Use Wayland directly instead of the X11 compatibility layer
var ComputerUseNoOverlay = Register(&Bool{Meta: Meta{Key: "computer_use.no_overlay", Label: "Hide overlay", Short: "Turn the on-screen cursor overlay off.", Group: GroupTools, Order: 1340, Advanced: true}, Null: "decided automatically"})
Turn the on-screen cursor overlay off
var ComputerUsePermissionMode = Register(&Enum{Meta: Meta{Key: "computer_use.permission_mode", Label: "Computer use access", Short: "How much of the screen the agent may control.", Help: "Any value other than bounded is treated as standard.", Group: GroupTools, Order: 1350, Advanced: true}, Default: "standard", Values: []Choice{{"standard", "Standard", "Normal driver access."}, {"bounded", "Bounded", "Limited by the capability file."}}})
How much of the screen the agent may control
var ConfirmDestructive = Register(&Bool{Meta: Meta{Key: "approvals.destructive_slash_confirm", Label: "Confirm destructive", Short: "Ask before slash commands that delete or reset things.", Group: GroupSafety, Order: 30, Env: "ICEBATH_TUI_NO_CONFIRM", EnvInvert: true}, Default: true})
Confirmation before destructive slash commands
var ContainerImage = Register(&String{Meta: Meta{Key: "terminal.docker_image", Label: "Container image", Short: "Image the Docker sandbox starts from.", Group: GroupTerminal, Order: 30, Apply: NewSession}, Default: "localhost/icebath-sandbox:desktop"})
Container image of the Docker sandbox
var ContextEngine = Register(&String{Meta: Meta{Key: "context.engine", Label: "Context engine", Short: "Which engine manages long conversations.", Help: "Compressor is the built-in one. Plugins can add others.", Group: GroupAgent, Order: 1500, Advanced: true, Apply: NewSession}, Default: "compressor"})
Which engine manages long conversations
var ContextFileMaxChars = Register(&Int{Meta: Meta{Key: "context_file_max_chars", Label: "Context file limit", Short: "Longest project instruction file text sent, in characters.", Group: GroupAgent, Order: 1510, Advanced: true}, Null: "sized to the model", Unit: "chars"})
Longest project instruction file text sent, in characters
var ContextFileReadTimeout = Register(&Duration{Meta: Meta{Key: "context_file_read_timeout", Label: "Context file wait", Short: "Longest wait while reading a project instruction file.", Group: GroupAgent, Order: 1520, Advanced: true}, Default: 5 * time.Second})
Longest wait while reading a project instruction file
var ContextMemoryTrimCooldownSeconds = Register(&Duration{Meta: Meta{Key: "context.memory_trim.cooldown_seconds", Label: "Memory trim cooldown", Short: "Minimum time between automatic memory cleanups.", Group: GroupSystem, Order: 1280, Advanced: true}, Default: time.Minute})
Minimum time between automatic memory cleanups
var ContextMemoryTrimEnabled = Register(&Bool{Meta: Meta{Key: "context.memory_trim.enabled", Label: "Trim memory use", Short: "Give unused process memory back to the system after agents close.", Group: GroupSystem, Order: 1290, Advanced: true}, Default: true})
Give unused process memory back to the system after agents close
var ContextMemoryTrimInfoLogMinDeltaMb = Register(&Float{Meta: Meta{Key: "context.memory_trim.info_log_min_delta_mb", Label: "Trim log threshold", Short: "Smallest memory cleanup, in MB, worth writing to the log.", Group: GroupSystem, Order: 1300, Advanced: true}, Default: 0, Unit: "MB", Min: at(0.0)})
Smallest memory cleanup, in MB, worth writing to the log
var ContextMemoryTrimLogEveryN = Register(&Int{Meta: Meta{Key: "context.memory_trim.log_every_n", Label: "Trim log spacing", Short: "Log only every Nth memory cleanup.", Group: GroupSystem, Order: 1310, Advanced: true}, Default: 1, Min: at(1)})
Log only every Nth memory cleanup
var CronAllowAgentScheduling = Register(&Bool{Meta: Meta{Key: "cron.allow_agent_scheduling", Label: "Agent scheduling", Short: "Let scheduled jobs create and change other scheduled jobs.", Group: GroupChatApps, Order: 1000, Advanced: true}, Default: false})
Let scheduled jobs create and change other scheduled jobs
var CronCatchUpMissed = Register(&Bool{Meta: Meta{Key: "cron.catch_up_missed", Label: "Catch up missed", Short: "Run jobs missed while the app was off, once when it returns.", Group: GroupChatApps, Order: 1010, Advanced: true}, Default: true})
Run jobs missed while the app was off, once when it returns
var CronCleanupTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "cron.cleanup_timeout_seconds", Label: "Cleanup wait", Short: "How long to wait for cleanup after a scheduled job finishes.", Help: "Cleanup that runs longer is abandoned.", Group: GroupChatApps, Order: 1020, Advanced: true}, Default: 10 * time.Second, Min: at(time.Duration(0))})
How long to wait for cleanup after a scheduled job finishes
var CronCompletedRetentionDays = Register(&Float{Meta: Meta{Key: "cron.completed_retention_days", Label: "Done job retention", Short: "Days a finished one-time job stays in the list before it is removed.", Help: "Zero keeps them.", Group: GroupChatApps, Order: 1025, Advanced: true}, Default: 7, Min: at(0.0), Unit: "days"})
Days a finished one-time job stays in the list before it is removed
var CronDeliveryNotify = Register(&Bool{Meta: Meta{Key: "cron.delivery.notify", Label: "Delivery notices", Short: "Send a notice to the chat when a scheduled result is delivered.", Group: GroupChatApps, Order: 1030, Advanced: true}, Default: true})
Send a notice to the chat when a scheduled result is delivered
var CronFailureNudgeThreshold = Register(&Int{Meta: Meta{Key: "cron.failure_nudge_threshold", Label: "Failure nudge after", Short: "Failed runs in a row before you get a nudge about a job.", Group: GroupChatApps, Order: 1040, Advanced: true}, Default: 3, Unit: "failures"})
Failed runs in a row before you get a nudge about a job
var CronFailureRepeatAlertHours = Register(&Duration{Meta: Meta{Key: "cron.failure_repeat_alert_hours", Label: "Repeat alert gap", Short: "Wait between repeat alerts for a job that keeps failing.", Help: "Zero alerts on every failed run.", Group: GroupChatApps, Order: 1050, Advanced: true}, Default: 6 * time.Hour, Unit: time.Hour})
Wait between repeat alerts for a job that keeps failing
var CronInactivityTimeout = Register(&Duration{Meta: Meta{Key: "cron.inactivity_timeout", Label: "Job idle limit", Short: "How long a job may go without activity before it is stopped.", Help: "Zero never stops it.", Group: GroupChatApps, Order: 1055, Advanced: true, Env: "ICEBATH_CRON_TIMEOUT"}, Default: 10 * time.Minute, Also: map[string]time.Duration{"inf": 0, "infinity": 0, "never": 0, "unlimited": 0}})
How long a job may go without activity before it is stopped
var CronInflightMaxMinutes = Register(&Duration{Meta: Meta{Key: "cron.inflight_max_minutes", Label: "Stuck job limit", Short: "Minimum time a running job gets before it counts as stuck.", Help: "The matching environment variable wins.", Group: GroupChatApps, Order: 1060, Advanced: true, Env: "ICEBATH_CRON_INFLIGHT_MAX_MINUTES"}, Unit: time.Minute, Null: "30 minutes"})
Minimum time a running job gets before it counts as stuck
var CronMaxParallelJobs = Register(&Int{Meta: Meta{Key: "cron.max_parallel_jobs", Label: "Parallel jobs", Short: "Most scheduled jobs that run at the same time.", Help: "Zero also means no limit. The matching environment variable wins.", Group: GroupChatApps, Order: 1070, Advanced: true, Env: "ICEBATH_CRON_MAX_PARALLEL"}, Unit: "jobs", Min: at(0), Null: "no limit"})
Most scheduled jobs that run at the same time
var CronMediaSendTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "cron.media_send_timeout_seconds", Label: "Media send wait", Short: "How long to wait when sending each file from a scheduled job.", Group: GroupChatApps, Order: 1080, Advanced: true, Env: "ICEBATH_CRON_MEDIA_SEND_TIMEOUT"}, Default: 5 * time.Minute})
How long to wait when sending each file from a scheduled job
var CronMirrorDelivery = Register(&Bool{Meta: Meta{Key: "cron.mirror_delivery", Label: "Mirror results", Short: "Also add scheduled results to the chat session they were sent to.", Help: "A job can override this.", Group: GroupChatApps, Order: 1090, Advanced: true}, Default: false})
Also add scheduled results to the chat session they were sent to
var CronMisfireGraceMinutes = Register(&Duration{Meta: Meta{Key: "cron.misfire_grace_minutes", Label: "Late start allowance", Short: "How late a scheduled job may still start after its time.", Group: GroupChatApps, Order: 1100, Advanced: true}, Default: 10 * time.Minute, Unit: time.Minute})
How late a scheduled job may still start after its time
var CronModel = Register(&String{Meta: Meta{Key: "cron.model", Label: "Job model", Short: "Model scheduled jobs use when they do not pick their own.", Help: "Blank follows your main model. The matching environment variable wins.", Group: GroupChatApps, Order: 1110, Advanced: true, Env: "ICEBATH_MODEL"}, Default: ""})
Model scheduled jobs use when they do not pick their own
var CronModelProvider = Register(&String{Meta: Meta{Key: "cron.model_provider", Label: "Job model provider", Short: "Provider of the job model.", Help: "Empty uses your main provider.", Group: GroupChatApps, Order: 1120, Advanced: true}, Default: ""})
Provider of the job model
var CronOutputRetention = Register(&Int{Meta: Meta{Key: "cron.output_retention", Label: "Kept job outputs", Short: "Output files kept for each scheduled job.", Group: GroupChatApps, Order: 1130, Advanced: true}, Default: 50, Unit: "files"})
Output files kept for each scheduled job
var CronPreflight = Register(&Bool{Meta: Meta{Key: "cron.preflight", Label: "Check before run", Short: "Check a job needs (skills, tools, logins) are ready before it runs.", Group: GroupChatApps, Order: 1140, Advanced: true}, Default: true})
Check a job needs (skills, tools, logins) are ready before it runs
var CronProvider = Register(&String{Meta: Meta{Key: "cron.provider", Label: "Scheduler plugin", Short: "Scheduler plugin that fires jobs.", Help: "Empty uses the built-in scheduler.", Group: GroupChatApps, Order: 1150, Advanced: true}, Default: ""})
Scheduler plugin that fires jobs
var CronRequireRestartSafeScope = Register(&Bool{Meta: Meta{Key: "cron.require_restart_safe_scope", Label: "Safe restart only", Short: "Refuse to run jobs that a restart could cut off.", Group: GroupChatApps, Order: 1160, Advanced: true}, Default: false})
Refuse to run jobs that a restart could cut off
var CronRetryUnreachable = Register(&Bool{Meta: Meta{Key: "cron.retry_unreachable", Label: "Retry when offline", Short: "Retry a job later when the network or model was unreachable.", Group: GroupChatApps, Order: 1170, Advanced: true}, Default: true})
Retry a job later when the network or model was unreachable
var CronScriptTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "cron.script_timeout_seconds", Label: "Job script limit", Short: "Longest a job pre-run script may run.", Group: GroupChatApps, Order: 1180, Advanced: true, Env: "ICEBATH_CRON_SCRIPT_TIMEOUT"}, Default: time.Hour})
Longest a job pre-run script may run
var CronSessionDbTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "cron.session_db_timeout_seconds", Label: "History open wait", Short: "How long a job waits to open the session history.", Help: "Zero waits forever. The matching environment variable wins.", Group: GroupChatApps, Order: 1190, Advanced: true, Env: "ICEBATH_CRON_SESSION_DB_TIMEOUT"}, Default: 10 * time.Second})
How long a job waits to open the session history
var CronStandaloneSendTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "cron.standalone_send_timeout_seconds", Label: "Direct send wait", Short: "How long to wait when a job sends outside a chat session.", Help: "Zero or less uses the default.", Group: GroupChatApps, Order: 1200, Advanced: true}, Default: time.Minute})
How long to wait when a job sends outside a chat session
var CronWrapResponse = Register(&Bool{Meta: Meta{Key: "cron.wrap_response", Label: "Wrap results", Short: "Add a header and footer around scheduled results sent to chat.", Group: GroupChatApps, Order: 1210, Advanced: true}, Default: true})
Add a header and footer around scheduled results sent to chat
var CuratorArchiveAfterDays = Register(&Duration{Meta: Meta{Key: "curator.archive_after_days", Label: "Archive after", Short: "Move a skill to the archive after this many idle days.", Help: "Counted in days, at least 1.", Group: GroupTools, Order: 1360, Advanced: true}, Default: 30 * 24 * time.Hour, Unit: 24 * time.Hour, Min: at(24 * time.Hour), DefaultBelow: true})
Move a skill to the archive after this many idle days
var CuratorArchiveTtlDays = Register(&Duration{Meta: Meta{Key: "curator.archive_ttl_days", Label: "Delete archive after", Short: "Delete archived skills older than this many days.", Help: "Zero keeps archived skills forever.", Group: GroupTools, Order: 1370, Advanced: true}, Default: 0, Unit: 24 * time.Hour})
Delete archived skills older than this many days
var CuratorBackupEnabled = Register(&Bool{Meta: Meta{Key: "curator.backup.enabled", Label: "Back up first", Short: "Save a snapshot of your skills before each curator run.", Group: GroupTools, Order: 1380, Advanced: true}, Default: true})
Save a snapshot of your skills before each curator run
var CuratorBackupKeep = Register(&Int{Meta: Meta{Key: "curator.backup.keep", Label: "Snapshots kept", Short: "How many skill snapshots to keep.", Help: "At least 1.", Group: GroupTools, Order: 1390, Advanced: true}, Default: 2, Min: at(1)})
How many skill snapshots to keep
var CuratorConsolidate = Register(&Bool{Meta: Meta{Key: "curator.consolidate", Label: "Merge skills", Short: "Let the curator merge related skills with a model pass.", Help: "Off means each run only archives idle skills.", Group: GroupTools, Order: 1400, Advanced: true}, Default: false})
Let the curator merge related skills with a model pass
var CuratorEnabled = Register(&Bool{Meta: Meta{Key: "curator.enabled", Label: "Skill curator", Short: "Automatically tidy up unused skills in the background.", Group: GroupTools, Order: 1410, Advanced: true}, Default: true})
Automatically tidy up unused skills in the background
var CuratorIntervalHours = Register(&Duration{Meta: Meta{Key: "curator.interval_hours", Label: "Curator interval", Short: "How long between automatic curator runs.", Help: "At least 1 hour.", Group: GroupTools, Order: 1420, Advanced: true}, Default: 7 * 24 * time.Hour, Unit: time.Hour, Min: at(time.Hour), DefaultBelow: true})
How long between automatic curator runs
var CuratorMinIdleHours = Register(&Duration{Meta: Meta{Key: "curator.min_idle_hours", Label: "Curator idle wait", Short: "How long you must be idle before an automatic run starts.", Group: GroupTools, Order: 1430, Advanced: true}, Default: 2 * time.Hour, Unit: time.Hour})
How long you must be idle before an automatic run starts
var CuratorPruneBuiltins = Register(&Bool{Meta: Meta{Key: "curator.prune_builtins", Label: "Prune built-in skills", Short: "Let the curator archive unused built-in skills too.", Group: GroupTools, Order: 1440, Advanced: true}, Default: false})
Let the curator archive unused built-in skills too
var CuratorStaleAfterDays = Register(&Duration{Meta: Meta{Key: "curator.stale_after_days", Label: "Stale after", Short: "Mark a skill stale after this many idle days.", Help: "Counted in days, at least 1.", Group: GroupTools, Order: 1450, Advanced: true}, Default: 14 * 24 * time.Hour, Unit: 24 * time.Hour, Min: at(24 * time.Hour), DefaultBelow: true})
Mark a skill stale after this many idle days
var CustomPrompt = Register(&String{Meta: Meta{Key: "custom_prompt", Label: "Saved prompt", Short: "A note /prompt keeps for you, which the agent never reads.", Group: GroupAgent, Order: 100, Advanced: true, Slash: "prompt"}})
Text /prompt saves and shows
var DatabaseCacheSize = Register(&Int{Meta: Meta{Key: "database.cache_size", Label: "Database cache", Short: "Memory the session database keeps for recent pages.", Help: "A positive number counts pages, a negative one counts KiB.", Group: GroupSystem, Order: 1342, Advanced: true, Apply: Restart}, Null: "database default"})
Pages of the session database kept in memory
var DatabaseJournalMode = Register(&Enum{Meta: Meta{Key: "database.journal_mode", Label: "Database journal mode", Short: "How the session database writes to disk.", Help: "Use delete on network drives or file systems that do not support write-ahead logs.", Group: GroupSystem, Order: 1320, Advanced: true, Apply: Restart}, Default: "wal", Values: []Choice{
{Value: "wal", Label: "Write-ahead log", Meaning: "Faster, readers do not block writers."},
{Value: "delete", Label: "Delete", Meaning: "Slower, works on network drives."},
}})
How the session database writes to disk
var DatabaseJournalSizeLimit = Register(&Int{Meta: Meta{Key: "database.journal_size_limit", Label: "Journal size cap", Short: "Largest size the database write log may keep after cleanup.", Group: GroupSystem, Order: 1330, Advanced: true, Apply: Restart}, Unit: "bytes", Null: "database default"})
Largest size the database write log may keep after cleanup
var DatabaseMmapSize = Register(&Int{Meta: Meta{Key: "database.mmap_size", Label: "Database memory map", Short: "How much of the session database is read through memory mapping.", Group: GroupSystem, Order: 1344, Advanced: true, Apply: Restart}, Null: "database default", Min: at(0), Unit: "bytes"})
Bytes of the session database read through memory mapping
var DatabaseSynchronous = Register(&Enum{Meta: Meta{Key: "database.synchronous", Label: "Database write safety", Short: "How carefully the session database waits for the disk after writes.", Help: "macOS always keeps Full.", Group: GroupSystem, Order: 1348, Advanced: true, Apply: Restart}, Null: "database default", Values: []Choice{{Value: "OFF", Label: "Off", Meaning: "Fastest, may lose data on a crash."}, {Value: "NORMAL", Label: "Normal", Meaning: "Safe in most crashes."}, {Value: "FULL", Label: "Full", Meaning: "Waits for every write."}, {Value: "EXTRA", Label: "Extra", Meaning: "Also waits for the journal."}}})
How carefully the session database waits for the disk after each write
var DatabaseTempStore = Register(&Enum{Meta: Meta{Key: "database.temp_store", Label: "Database temp storage", Short: "Where the session database keeps temporary tables.", Group: GroupSystem, Order: 1346, Advanced: true, Apply: Restart}, Null: "database default", Values: []Choice{{Value: "0", Label: "Default", Meaning: "As the database was built."}, {Value: "1", Label: "File", Meaning: "In temporary files."}, {Value: "2", Label: "Memory", Meaning: "In memory."}}})
Where the session database keeps its temporary tables
var DatabaseWalAutocheckpoint = Register(&Int{Meta: Meta{Key: "database.wal_autocheckpoint", Label: "Checkpoint interval", Short: "Pages written before the database log is merged back.", Group: GroupSystem, Order: 1340, Advanced: true, Apply: Restart}, Unit: "pages", Null: "database default"})
Pages written before the database log is merged back
var Daybreak = Register(&Bool{Meta: Meta{Key: "agent.daybreak", Label: "Codex research access", Short: "Ask Codex for its security research access in your own sessions.", Help: "Only your own terminal sessions send it, and only on a Codex subscription that offers it.", Group: GroupModel, Order: 110, Advanced: true, Apply: NextTurn, Slash: "daybreak"}, Default: false})
Codex security research access request
var DeepInfraImageBaseURL = Register(&String{Meta: Meta{Key: "image_gen.deepinfra.base_url", Label: "DeepInfra image address", Short: "Custom endpoint for DeepInfra image requests.", Group: GroupMedia, Order: 151, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint of DeepInfra image requests
var DeepInfraImageModel = Register(&String{Meta: Meta{Key: "image_gen.deepinfra.model", Label: "DeepInfra image model", Short: "Model DeepInfra draws with.", Group: GroupMedia, Order: 150, Advanced: true, Env: "DEEPINFRA_IMAGE_MODEL"}, Null: "the first in DeepInfra's catalog"})
Image model DeepInfra draws with
var DelegationApiKey = Register(&String{Meta: Meta{Key: "delegation.api_key", Label: "Subagent API key", Short: "Key used by subagents that use their own endpoint.", Group: GroupAgent, Order: 1530, Advanced: true}, Masked: true, Default: ""})
Key used by subagents that use their own endpoint
var DelegationApiMode = Register(&String{Meta: Meta{Key: "delegation.api_mode", Label: "Subagent API style", Short: "Request format of the subagent endpoint.", Help: "Leave empty to detect it from the endpoint address.", Group: GroupAgent, Order: 1540, Advanced: true}, Default: ""})
Request format of the subagent endpoint
var DelegationBackend = Register(&String{Meta: Meta{Key: "delegation.backend", Label: "Subagent backend", Short: "Which backend runs subagents.", Help: "Default runs them in this app. Plugins can add others.", Group: GroupAgent, Order: 1550, Advanced: true, Apply: NewSession}, Default: "default"})
Which backend runs subagents
var DelegationBackends = Register(&Map{Meta: Meta{Key: "delegation.backends", Label: "Backend settings", Short: "Settings for each subagent backend, by backend name.", Group: GroupAgent, Order: 1560, Advanced: true}})
Settings for each subagent backend, by backend name
var DelegationBaseUrl = Register(&String{Meta: Meta{Key: "delegation.base_url", Label: "Subagent endpoint", Short: "Own model endpoint address for subagents.", Help: "Leave empty to use the subagent provider or the main model.", Group: GroupAgent, Order: 1570, Advanced: true}, Default: ""})
Own model endpoint address for subagents
var DelegationChildTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "delegation.child_timeout_seconds", Label: "Subagent idle limit", Short: "Stops a subagent that has been inactive this long.", Help: "Zero means no limit. Anything set is raised to at least 30 seconds.", Group: GroupAgent, Order: 1580, Advanced: true}, Default: 0})
Stops a subagent that has been inactive this long
var DelegationCompressionThresholdTokens = Register(&Int{Meta: Meta{Key: "delegation.compression_threshold_tokens", Label: "Subagent compress at", Short: "Token size at which a subagent compresses its chat.", Help: "Zero uses the normal share of the context window. Values under 16000 are ignored.", Group: GroupAgent, Order: 1590, Advanced: true}, Default: 0, Unit: "tokens"})
Token size at which a subagent compresses its chat
var DelegationFallbackProviders = Register(&List{Meta: Meta{Key: "delegation.fallback_providers", Label: "Subagent fallbacks", Short: "Providers subagents try when their own fails.", Group: GroupAgent, Order: 1600, Advanced: true}, Null: "same as main agent"})
Providers subagents try when their own fails
var DelegationGatewayMode = Register(&Enum{Meta: Meta{Key: "delegation.gateway_mode", Label: "Subagents in chats", Short: "Whether chat subagents finish within the turn or in the background.", Group: GroupAgent, Order: 1610, Advanced: true}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "Decide from the chat surface."}, {Value: "inline", Label: "Inline", Meaning: "Wait for subagents inside the turn."}, {Value: "background", Label: "Background", Meaning: "Run subagents in the background."}}})
Whether chat subagents finish within the turn or in the background
var DelegationIndependentCompletions = Register(&Bool{Meta: Meta{Key: "delegation.independent_completions", Label: "Separate completions", Short: "Reports each background subagent on its own, not as a group.", Group: GroupAgent, Order: 1620, Advanced: true}, Default: false})
Reports each background subagent on its own, not as a group
var DelegationInheritMcpToolsets = Register(&Bool{Meta: Meta{Key: "delegation.inherit_mcp_toolsets", Label: "Subagents keep MCP", Short: "Narrowed subagents still get the parent's MCP tools.", Group: GroupAgent, Order: 1630, Advanced: true}, Default: true})
Narrowed subagents still get the parent's MCP tools
var DelegationMaxConcurrentChildren = Register(&Int{Meta: Meta{Key: "delegation.max_concurrent_children", Label: "Parallel subagents", Short: "Most subagents that run at the same time.", Help: "Each one uses model tokens, so high values raise cost.", Group: GroupAgent, Order: 1640, Advanced: true}, Default: 10, Min: at(1)})
Most subagents that run at the same time
var DelegationMaxIterations = Register(&Int{Meta: Meta{Key: "delegation.max_iterations", Label: "Subagent turn limit", Short: "Most tool turns one subagent may take.", Group: GroupAgent, Order: 1650, Advanced: true}, Default: 250, Unit: "turns"})
Most tool turns one subagent may take
var DelegationMaxSpawnDepth = Register(&Int{Meta: Meta{Key: "delegation.max_spawn_depth", Label: "Subagent depth", Short: "How many levels deep subagents may start more subagents.", Help: "Each level multiplies cost.", Group: GroupAgent, Order: 1660, Advanced: true}, Default: 1, Min: at(1)})
How many levels deep subagents may start more subagents
var DelegationMaxSummaryChars = Register(&Int{Meta: Meta{Key: "delegation.max_summary_chars", Label: "Subagent summary size", Short: "Longest subagent report returned to the parent.", Help: "Longer reports are trimmed and saved to disk.", Group: GroupAgent, Order: 1670, Advanced: true}, Default: 24000, Unit: "chars"})
Longest subagent report returned to the parent
var DelegationModel = Register(&String{Meta: Meta{Key: "delegation.model", Label: "Subagent model", Short: "Model subagents use instead of the main one.", Group: GroupAgent, Order: 1680, Advanced: true}, Default: ""})
Model subagents use instead of the main one
var DelegationOneshotMaxChildren = Register(&Int{Meta: Meta{Key: "delegation.oneshot_max_children", Label: "One-shot subagent limit", Short: "Most subagents one single-run session may start.", Help: "Zero means no limit.", Group: GroupAgent, Order: 1690, Advanced: true}, Default: 2, Min: at(0)})
Most subagents one single-run session may start
var DelegationOrchestratorEnabled = Register(&Bool{Meta: Meta{Key: "delegation.orchestrator_enabled", Label: "Subagent orchestrators", Short: "Lets subagents coordinate subagents of their own.", Group: GroupAgent, Order: 1700, Advanced: true}, Default: true})
Lets subagents coordinate subagents of their own
var DelegationProvider = Register(&String{Meta: Meta{Key: "delegation.provider", Label: "Subagent provider", Short: "Provider subagents use instead of the main one.", Group: GroupAgent, Order: 1710, Advanced: true}, Default: ""})
Provider subagents use instead of the main one
var DelegationReasoningEffort = Register(&Enum{Meta: Meta{Key: "delegation.reasoning_effort", Label: "Subagent effort", Short: "How long subagents think before answering.", Group: GroupAgent, Order: 1720, Advanced: true}, Values: reasoningChoices, Null: "the main agent's level"})
How long subagents think before answering
var DelegationRequestOverrides = Register(&Map{Meta: Meta{Key: "delegation.request_overrides", Label: "Subagent request fields", Short: "Extra request fields sent with subagent model calls.", Group: GroupAgent, Order: 1730, Advanced: true}})
Extra request fields sent with subagent model calls
var DelegationSubagentAutoApprove = Register(&Bool{Meta: Meta{Key: "delegation.subagent_auto_approve", Label: "Auto-approve subagents", Short: "Lets subagents run risky commands without asking.", Help: "When off, risky commands from subagents are refused.", Group: GroupAgent, Order: 1740, Advanced: true}, Default: false})
Lets subagents run risky commands without asking
var DelegationSurfaceChildProcessNotifications = Register(&Bool{Meta: Meta{Key: "delegation.surface_child_process_notifications", Label: "Subagent process news", Short: "Shows background process updates started by subagents.", Group: GroupAgent, Order: 1750, Advanced: true}, Default: false})
Shows background process updates started by subagents
var DelegationWorktreeIsolation = Register(&Bool{Meta: Meta{Key: "delegation.worktree_isolation", Label: "Subagent worktrees", Short: "Give each subagent its own git worktree off your current commit.", Group: GroupAgent, Order: 1700, Advanced: true, Apply: NextTurn}, Default: false})
Each subagent working in its own git worktree off the parent's commit
var DetailLevel = Register(&Enum{Meta: Meta{Key: "display.detail_level", Label: "Detail level", Short: "How much of the agent's tool work and thinking you see.", Help: "Sets tool progress and how far each part of the transcript is opened. Change single parts under advanced.", Group: GroupWorking, Order: 10, Scopes: Global | Session, Slash: "detail", Validate: func(v any) error { if v == "custom" { return errors.New("custom is set by changing single parts") } return nil }, Companions: func(v any) []config.KeyValue { pair := detailPresets[v.(string)] return []config.KeyValue{{Key: ToolProgress.Key, Value: pair[0]}, {Key: DetailsMode.Key, Value: pair[1]}, {Key: DetailSectionModes.Key, Value: everySection(pair[1])}} }, Derive: func(ctx context.Context) (any, Source) { progress, details := resolveEntry(ctx, ToolProgress), resolveEntry(ctx, DetailsMode) sections, _ := typedOr(DetailSectionModes, resolveEntry(ctx, DetailSectionModes).Value).(map[string]any) level := detailLevelOf(typedOr(ToolProgress, progress.Value).(string), typedOr(DetailsMode, details.Value).(string), sections) return level, higherSource(progress.Source, details.Source) }}, Default: "normal", Values: []Choice{ {"minimal", "Minimal", "Replies only."}, {"normal", "Normal", "Each tool call as a folded line."}, {"detailed", "Detailed", "Tool calls and thinking shown open."}, {"everything", "Everything", "Every call with its full input and output."}, {"custom", "Custom", "Parts set one by one under advanced."}, }})
How much of the agent's work the transcript shows, one control over tool progress and fold state
var DetailSectionModes = Register(&Map{Meta: Meta{Key: "display.sections", Label: "Fold per part", Short: "Fold state of thinking, tools, subagents or activity on its own.", Group: GroupWorking, Order: 120, Advanced: true, Scopes: Global | Session}, Value: &Enum{Meta: Meta{Key: "display.sections.*"}, Values: detailModeChoices}})
Fold state of single transcript parts, overriding the shared one
var DetailSections = []string{"thinking", "tools", "subagents", "activity"}
Transcript parts whose fold state a details mode sets
var DetailsMode = Register(&Enum{Meta: Meta{Key: "display.details_mode", Label: "Fold parts", Short: "Whether thinking, tools and subagents start hidden, folded or open.", Group: GroupWorking, Order: 110, Advanced: true, Scopes: Global | Session, Slash: "details", Companions: func(v any) []config.KeyValue { return []config.KeyValue{{Key: DetailSectionModes.Key, Value: everySection(v.(string))}} }}, Default: "collapsed", Values: detailModeChoices})
Fold state of every transcript part at once
var DiagnosticsAutoHeapProfile = Register(&Bool{Meta: Meta{Key: "diagnostics.auto_heap_profile", Label: "Automatic heap profiles", Short: "Let the memory watchdog write whole heap profiles, not only facts.", Help: "Heap profiles of a large heap take much disk space.", Group: GroupSystem, Order: 2180, Advanced: true, Apply: NewSession, Env: "ICEBATH_AUTO_HEAPDUMP"}, Default: false})
Whole heap profiles written by the memory watchdog, not only the memory facts
var DiagnosticsCPUProfile = Register(&Path{Meta: Meta{Key: "diagnostics.cpu_profile", Label: "CPU profile file", Short: "File the terminal UI writes a CPU profile to while it runs.", Help: "Empty writes none.", Group: GroupSystem, Order: 2120, Advanced: true, Apply: NewSession, Env: "ICEBATH_CPUPROFILE"}, Default: ""})
File the terminal UI writes a CPU profile to while it runs
var DiagnosticsFrameLog = Register(&Bool{Meta: Meta{Key: "diagnostics.frame_log", Label: "Frame timing log", Short: "Log how long the terminal UI takes to draw its slow frames.", Group: GroupSystem, Order: 2140, Advanced: true, Apply: NewSession, Env: "ICEBATH_DEV_PERF"}, Default: false})
Log of how long the terminal UI takes to draw its slow frames
var DiagnosticsFrameLogFile = Register(&Path{Meta: Meta{Key: "diagnostics.frame_log_file", Label: "Frame log file", Short: "File the frame timing log is written to.", Help: "Empty writes perf.log in the icebath folder.", Group: GroupSystem, Order: 2160, Advanced: true, Apply: NewSession, Env: "ICEBATH_DEV_PERF_LOG"}, Default: ""})
File the frame timing log is written to
var DiagnosticsFrameLogThreshold = Register(&Duration{Meta: Meta{Key: "diagnostics.frame_log_threshold", Label: "Slow frame time", Short: "Frames drawn faster than this stay out of the frame timing log.", Help: "Zero logs every frame.", Group: GroupSystem, Order: 2150, Advanced: true, Apply: NewSession, Env: "ICEBATH_DEV_PERF_MS"}, Default: 2 * time.Millisecond, Unit: time.Millisecond, Min: at(time.Duration(0))})
Frames drawn faster than this stay out of the frame timing log
var DiagnosticsFrameRate = Register(&Bool{Meta: Meta{Key: "diagnostics.frame_rate", Label: "Frame rate readout", Short: "Show how many frames a second the terminal UI draws.", Group: GroupSystem, Order: 2130, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_FPS"}, Default: false})
Frames a second the terminal UI draws, shown over the window
var DiagnosticsHeapdumpCooldown = Register(&Duration{Meta: Meta{Key: "diagnostics.heapdump_cooldown", Label: "Memory dump pause", Short: "Shortest wait between two automatic memory dumps.", Help: "A memory dump just before the window closes for lack of memory is never held back.", Group: GroupSystem, Order: 2200, Advanced: true, Apply: NewSession, Env: "ICEBATH_AUTO_HEAPDUMP_COOLDOWN_MS"}, Default: 10 * time.Minute, Unit: time.Millisecond, Min: at(time.Duration(0))})
Shortest wait between two automatic memory dumps
var DiagnosticsHeapdumpDir = Register(&Path{Meta: Meta{Key: "diagnostics.heapdump_dir", Label: "Memory dump folder", Short: "Folder the memory dumps of the terminal UI go to.", Help: "Empty uses the heapdumps folder in the icebath folder.", Group: GroupSystem, Order: 2170, Advanced: true, Apply: NewSession, Env: "ICEBATH_HEAPDUMP_DIR"}, Default: ""})
Folder the memory dumps of the terminal UI go to
var DiagnosticsHeapdumpMaxBytes = Register(&Int{Meta: Meta{Key: "diagnostics.heapdump_max_bytes", Label: "Memory dump space", Short: "Space the memory dumps may take before the oldest are deleted.", Help: "The newest dump is always kept.", Group: GroupSystem, Order: 2190, Advanced: true, Apply: NewSession, Env: "ICEBATH_HEAPDUMP_MAX_BYTES"}, Default: 2 << 30, Min: at(1), Unit: "bytes"})
Space the memory dump folder may take before the oldest dumps are deleted
var DiagnosticsHeapdumpOnStart = Register(&Bool{Meta: Meta{Key: "diagnostics.heapdump_on_start", Label: "Dump memory at start", Short: "Write a memory dump as soon as the terminal UI starts.", Group: GroupSystem, Order: 2210, Advanced: true, Apply: NewSession, Env: "ICEBATH_HEAPDUMP_ON_START"}, Default: false})
Memory dump written as soon as the terminal UI starts
var DingtalkAllowedChats = Register(&List{Meta: Meta{Key: "dingtalk.allowed_chats", Label: "Allowed chats", Short: "DingTalk: only answer in these group chat IDs.", Help: "Empty allows every group chat.", Group: GroupChatApps, Order: 3230, Advanced: true}})
DingTalk: the only group chats it answers in
var DingtalkAllowedUsers = Register(&List{Meta: Meta{Key: "dingtalk.allowed_users", Label: "Allowed users", Short: "DingTalk: user or staff IDs allowed to use the bot.", Help: "Empty or a star allows everyone.", Group: GroupChatApps, Order: 3240, Advanced: true, Apply: Restart, Env: "DINGTALK_ALLOWED_USERS"}})
DingTalk: users allowed to use the bot
var DingtalkCardTemplateID = Register(&String{Meta: Meta{Key: "dingtalk.card_template_id", Label: "AI card template", Short: "DingTalk: AI card template that streams and updates replies.", Help: "Blank sends plain messages, which cannot be edited.", Group: GroupChatApps, Order: 3260, Advanced: true, Apply: Restart}, Default: ""})
DingTalk: AI card template that streams and updates replies
var DingtalkFreeResponseChats = Register(&List{Meta: Meta{Key: "dingtalk.free_response_chats", Label: "Free reply chats", Short: "DingTalk: group chat IDs where it replies without a mention.", Group: GroupChatApps, Order: 3220, Advanced: true}})
DingTalk: group chats answered without a mention
var DingtalkMentionPatterns = Register(&List{Meta: Meta{Key: "dingtalk.mention_patterns", Label: "Wake patterns", Short: "DingTalk: patterns in a message that count as mentioning it.", Help: "Regular expressions, matched without regard to case.", Group: GroupChatApps, Order: 3210, Advanced: true, Apply: Restart}, Whole: true})
DingTalk: words that count as calling the bot
var DingtalkOpenapiEndpoint = Register(&String{Meta: Meta{Key: "dingtalk.openapi_endpoint", Label: "Open API address", Short: "DingTalk: address of the DingTalk open API.", Group: GroupChatApps, Order: 3270, Advanced: true, Apply: Restart, Env: "DINGTALK_OPENAPI_ENDPOINT"}, Default: "https://api.dingtalk.com"})
DingTalk: address of the DingTalk open API
var DingtalkRegistrationBaseURL = Register(&String{Meta: Meta{Key: "dingtalk.registration_base_url", Label: "Registration address", Short: "DingTalk: address of the app registration service setup uses.", Group: GroupChatApps, Order: 3280, Advanced: true, Env: "DINGTALK_REGISTRATION_BASE_URL"}, Default: "https://oapi.dingtalk.com"})
DingTalk: address of the app registration service setup signs in through
var DingtalkRegistrationSource = Register(&String{Meta: Meta{Key: "dingtalk.registration_source", Label: "Registration source", Short: "DingTalk: source name setup gives the app registration service.", Group: GroupChatApps, Order: 3290, Advanced: true, Env: "DINGTALK_REGISTRATION_SOURCE"}, Default: "openClaw"})
DingTalk: source name setup gives the app registration service
var DingtalkRequireMention = Register(&Bool{Meta: Meta{Key: "dingtalk.require_mention", Label: "Require mention", Short: "DingTalk: only answer in group chats when mentioned.", Group: GroupChatApps, Order: 3200, Advanced: true}, Default: false})
DingTalk: only answer group chats when triggered
var DingtalkRobotCode = Register(&String{Meta: Meta{Key: "dingtalk.robot_code", Label: "Robot code", Short: "DingTalk: robot code replies and reactions are sent as.", Help: "Blank uses the app's client ID.", Group: GroupChatApps, Order: 3250, Advanced: true, Apply: Restart}, Default: ""})
DingTalk: robot code replies and reactions are sent as
var DiscordAllowAllUsers = Register(&Bool{Meta: Meta{Key: "discord.allow_all_users", Label: "Allow everyone", Short: "Discord: let anyone who can see the bot talk to it.", Group: GroupChatApps, Order: 1220, Advanced: true, Env: "DISCORD_ALLOW_ALL_USERS"}, Default: false})
Discord: let everyone talk to it
var DiscordAllowBots = Register(&Enum{Meta: Meta{Key: "discord.allow_bots", Label: "Answer bots", Short: "Discord: which messages from other bots it answers.", Group: GroupChatApps, Order: 1220, Advanced: true, Env: "DISCORD_ALLOW_BOTS"}, Default: "none", Values: []Choice{{Value: "none", Label: "None", Meaning: "Ignore other bots."}, {Value: "mentions", Label: "Mentions", Meaning: "Answer bots that mention it."}, {Value: "all", Label: "All", Meaning: "Answer every bot."}}})
Discord: which messages from other bots it answers
var DiscordAllowFrom = Register(&List{Meta: Meta{Key: "discord.allow_from", Label: "Allowed people", Short: "Discord: user IDs or names allowed to talk to it; * allows everyone.", Help: "Empty leaves access to pairing and the shared allow list.", Group: GroupChatApps, Order: 1220, Advanced: true, Env: "DISCORD_ALLOWED_USERS"}})
Discord: people allowed to talk to it
var DiscordAllowMentionsEveryone = Register(&Bool{Meta: Meta{Key: "discord.allow_mentions.everyone", Label: "Ping everyone", Short: "Discord: let replies ping @everyone and @here.", Group: GroupChatApps, Order: 1596, Apply: Restart, Advanced: true, Env: "DISCORD_ALLOW_MENTION_EVERYONE"}, Default: false})
Discord: let replies ping @everyone and @here
var DiscordAllowMentionsRepliedUser = Register(&Bool{Meta: Meta{Key: "discord.allow_mentions.replied_user", Label: "Ping on reply", Short: "Discord: let a reply ping the person it answers.", Group: GroupChatApps, Order: 1599, Apply: Restart, Advanced: true, Env: "DISCORD_ALLOW_MENTION_REPLIED_USER"}, Default: true})
Discord: let a reply ping the person it answers
var DiscordAllowMentionsRoles = Register(&Bool{Meta: Meta{Key: "discord.allow_mentions.roles", Label: "Ping roles", Short: "Discord: let replies ping roles.", Group: GroupChatApps, Order: 1597, Apply: Restart, Advanced: true, Env: "DISCORD_ALLOW_MENTION_ROLES"}, Default: false})
Discord: let replies ping roles
var DiscordAllowMentionsUsers = Register(&Bool{Meta: Meta{Key: "discord.allow_mentions.users", Label: "Ping people", Short: "Discord: let replies ping people they name.", Group: GroupChatApps, Order: 1598, Apply: Restart, Advanced: true, Env: "DISCORD_ALLOW_MENTION_USERS"}, Default: true})
Discord: let replies ping people they name
var DiscordAllowedChannels = Register(&List{Meta: Meta{Key: "discord.allowed_channels", Label: "Allowed channels", Short: "Discord: only answer in these channel IDs.", Group: GroupChatApps, Order: 1220, Apply: Live, Advanced: true, Env: "DISCORD_ALLOWED_CHANNELS"}})
Discord: only answer in these channel IDs
var DiscordAllowedRoles = Register(&List{Meta: Meta{Key: "discord.allowed_roles", Label: "Allowed roles", Short: "Discord: server role IDs whose members may talk to it.", Group: GroupChatApps, Order: 1220, Advanced: true, Env: "DISCORD_ALLOWED_ROLES"}})
Discord: server roles whose members may talk to it
var DiscordApprovalMentions = Register(&Bool{Meta: Meta{Key: "discord.approval_mentions", Label: "Approval mentions", Short: "Discord: mention allowed users on approval requests.", Group: GroupChatApps, Order: 1230, Apply: Live, Advanced: true}, Default: false})
Discord: mention allowed users on approval requests
var DiscordAutoThread = Register(&Bool{Meta: Meta{Key: "discord.auto_thread", Label: "Auto threads", Short: "Discord: start a thread for each new conversation.", Group: GroupChatApps, Order: 1240, Apply: Live, Advanced: true}, Default: true})
Discord: start a thread for each new conversation
var DiscordBotsRequireInlineMention = Register(&Bool{Meta: Meta{Key: "discord.bots_require_inline_mention", Label: "Bots must mention", Short: "Discord: other bots must mention it inside their message.", Group: GroupChatApps, Order: 1250, Apply: Live, Advanced: true}, Default: true})
Discord: other bots must mention it inside their message
var DiscordChannelPrompts = Register(&Map{Meta: Meta{Key: "discord.channel_prompts", Label: "Channel prompts", Short: "Discord: extra instructions for chosen channels.", Help: "Maps channel ID to the instruction text.", Group: GroupChatApps, Order: 1260, Apply: Restart, Advanced: true}})
Discord: extra instructions for chosen channels
var DiscordCommandSyncPolicy = Register(&Enum{Meta: Meta{Key: "discord.command_sync_policy", Label: "Command sync", Short: "Discord: how slash commands are synced with Discord.", Group: GroupChatApps, Order: 1594, Apply: Restart, Advanced: true, Env: "DISCORD_COMMAND_SYNC_POLICY"}, Default: "safe", Values: []Choice{{Value: "safe", Label: "Safe", Meaning: "Change only the commands that differ."}, {Value: "bulk", Label: "Bulk", Meaning: "Replace every command at once."}, {Value: "off", Label: "Off", Meaning: "Leave the commands as they are."}}})
Discord: how slash commands are synced with Discord
var DiscordDmRoleAuthGuild = Register(&String{Meta: Meta{Key: "discord.dm_role_auth_guild", Label: "DM role server", Short: "Discord: server whose roles allow direct messages.", Help: "Blank lets roles apply only inside servers.", Group: GroupChatApps, Order: 1270, Apply: Restart, Advanced: true}, Default: ""})
Discord: server whose roles allow direct messages
var DiscordFfmpegPath = Register(&String{Meta: Meta{Key: "discord.ffmpeg_path", Label: "ffmpeg program", Short: "Discord: ffmpeg program voice playback and recording run.", Help: "Blank finds ffmpeg on this machine.", Group: GroupChatApps, Order: 1600, Apply: Restart, Advanced: true, Env: "FFMPEG_PATH"}, Default: ""})
Discord: ffmpeg program voice playback and recording run
var DiscordFreeResponseAutoThread = Register(&Bool{Meta: Meta{Key: "discord.free_response_auto_thread", Label: "Free channel threads", Short: "Discord: start threads in channels where it replies without mention.", Group: GroupChatApps, Order: 1280, Apply: Live, Advanced: true}, Default: false})
Discord: start threads in channels where it replies without mention
var DiscordFreeResponseChannels = Register(&List{Meta: Meta{Key: "discord.free_response_channels", Label: "Free reply channels", Short: "Discord: channel IDs where it replies without a mention.", Group: GroupChatApps, Order: 1290, Apply: Live, Advanced: true}})
Discord: channel IDs where it replies without a mention
var DiscordHideSlashCommands = Register(&Bool{Meta: Meta{Key: "discord.hide_slash_commands", Label: "Admin-only commands", Short: "Discord: show the slash commands only to server admins.", Group: GroupChatApps, Order: 1593, Apply: Restart, Advanced: true, Env: "DISCORD_HIDE_SLASH_COMMANDS"}, Default: false})
Discord: show the slash commands only to server admins
var DiscordHistoryBackfill = Register(&Bool{Meta: Meta{Key: "discord.history_backfill", Label: "Read recent history", Short: "Discord: read earlier messages for context when it joins a chat.", Group: GroupChatApps, Order: 1300, Apply: Live, Advanced: true}, Default: true})
Discord: read earlier messages for context when it joins a chat
var DiscordHistoryBackfillLimit = Register(&Int{Meta: Meta{Key: "discord.history_backfill_limit", Label: "History messages", Short: "Discord: most earlier messages read for context.", Group: GroupChatApps, Order: 1310, Apply: Live, Advanced: true}, Default: 50, Unit: "messages"})
Discord: most earlier messages read for context
var DiscordIgnoreNoMention = Register(&Bool{Meta: Meta{Key: "discord.ignore_no_mention", Label: "Skip others' mentions", Short: "Discord: skip messages that mention other people but not it.", Help: "Bot threads and free reply channels are exempt.", Group: GroupChatApps, Order: 1595, Apply: Live, Advanced: true, Env: "DISCORD_IGNORE_NO_MENTION"}, Default: true})
Discord: skip messages that mention other people but not it
var DiscordIgnoredChannels = Register(&List{Meta: Meta{Key: "discord.ignored_channels", Label: "Ignored channels", Short: "Discord: channel IDs or names it never reads.", Group: GroupChatApps, Order: 1220, Advanced: true}})
Discord: channels it never reads
var DiscordMaxAttachmentBytes = Register(&Int{Meta: Meta{Key: "discord.max_attachment_bytes", Label: "Attachment limit", Short: "Discord: largest file it downloads from a message.", Help: "Zero means no limit.", Group: GroupChatApps, Order: 1320, Apply: Live, Advanced: true}, Default: 33554432, Unit: "bytes", Min: at(0)})
Discord: largest file it downloads from a message
var DiscordMissedMessageBackfillChannels = Register(&List{Meta: Meta{Key: "discord.missed_message_backfill.channels", Label: "Catch-up channels", Short: "Discord: channel IDs checked for messages missed while offline.", Help: "Blank checks allowed and free reply channels.", Group: GroupChatApps, Order: 1330, Apply: Live, Advanced: true}})
Discord: channel IDs checked for messages missed while offline
var DiscordMissedMessageBackfillEnabled = Register(&Bool{Meta: Meta{Key: "discord.missed_message_backfill.enabled", Label: "Catch up messages", Short: "Discord: answer messages missed while the service was down.", Group: GroupChatApps, Order: 1340, Apply: Restart, Advanced: true}, Default: false})
Discord: answer messages missed while the service was down
var DiscordMissedMessageBackfillLimit = Register(&Int{Meta: Meta{Key: "discord.missed_message_backfill.limit", Label: "Catch-up scan size", Short: "Discord: most recent messages checked per channel when catching up.", Group: GroupChatApps, Order: 1350, Apply: Restart, Advanced: true}, Default: 100, Unit: "messages", Min: at(1), Max: at(500)})
Discord: most recent messages checked per channel when catching up
var DiscordMissedMessageBackfillMaxAttempts = Register(&Int{Meta: Meta{Key: "discord.missed_message_backfill.max_attempts", Label: "Catch-up retries", Short: "Discord: tries per missed message before giving up.", Group: GroupChatApps, Order: 1360, Apply: Restart, Advanced: true}, Default: 3, Min: at(1), Max: at(100)})
Discord: tries per missed message before giving up
var DiscordMissedMessageBackfillMaxDispatches = Register(&Int{Meta: Meta{Key: "discord.missed_message_backfill.max_dispatches", Label: "Catch-up replies", Short: "Discord: most missed messages answered per catch-up.", Group: GroupChatApps, Order: 1370, Apply: Restart, Advanced: true}, Default: 10, Unit: "messages", Min: at(1), Max: at(100)})
Discord: most missed messages answered per catch-up
var DiscordMissedMessageBackfillWindowSeconds = Register(&Duration{Meta: Meta{Key: "discord.missed_message_backfill.window_seconds", Label: "Catch-up window", Short: "Discord: how far back missed messages are still answered.", Group: GroupChatApps, Order: 1380, Apply: Restart, Advanced: true}, Default: 6 * time.Hour, Min: at(time.Minute)})
Discord: how far back missed messages are still answered
var DiscordNoThreadChannels = Register(&List{Meta: Meta{Key: "discord.no_thread_channels", Label: "No thread channels", Short: "Discord: channels where it answers in place, without a thread.", Group: GroupChatApps, Order: 1220, Advanced: true}})
Discord: channels where it answers in place instead of opening a thread
var DiscordReactions = Register(&Bool{Meta: Meta{Key: "discord.reactions", Label: "Reactions", Short: "Discord: react to messages while working on them.", Group: GroupChatApps, Order: 1390, Apply: Live, Advanced: true}, Default: true})
Discord: react to messages while working on them
var DiscordRequireMention = Register(&Bool{Meta: Meta{Key: "discord.require_mention", Label: "Require mention", Short: "Discord: only answer in servers when mentioned.", Group: GroupChatApps, Order: 1400, Apply: Live, Advanced: true}, Default: true})
Discord: only answer in servers when mentioned
var DiscordServerActions = Register(&List{Meta: Meta{Key: "discord.server_actions", Label: "Allowed server actions", Short: "Discord: server actions the agent may take.", Help: "Comma separated action names. Empty allows all, and unknown names are ignored.", Group: GroupChatApps, Order: 1410, Advanced: true}, Null: "every action"})
Discord: server actions the agent may take
var DiscordSlashCommands = Register(&Bool{Meta: Meta{Key: "discord.slash_commands", Label: "Slash commands", Short: "Discord: offer the slash commands.", Group: GroupChatApps, Order: 1592, Apply: Restart, Advanced: true}, Default: true})
Discord: offer the slash commands
var DiscordTextBatchDelaySeconds = Register(&Duration{Meta: Meta{Key: "discord.text_batch_delay_seconds", Label: "Text gather wait", Short: "Discord: wait for more text before answering a message sent in parts.", Group: GroupChatApps, Order: 1590, Apply: Restart, Advanced: true, Env: "ICEBATH_DISCORD_TEXT_BATCH_DELAY_SECONDS"}, Default: 600 * time.Millisecond})
Discord: wait for more text before answering a message sent in parts
var DiscordTextBatchSplitDelaySeconds = Register(&Duration{Meta: Meta{Key: "discord.text_batch_split_delay_seconds", Label: "Split text wait", Short: "Discord: longer wait when a long message arrives split by Discord.", Group: GroupChatApps, Order: 1591, Apply: Restart, Advanced: true, Env: "ICEBATH_DISCORD_TEXT_BATCH_SPLIT_DELAY_SECONDS"}, Default: 2 * time.Second})
Discord: longer wait when a long message arrives split by Discord
var DiscordThreadRequireMention = Register(&Bool{Meta: Meta{Key: "discord.thread_require_mention", Label: "Threads need mention", Short: "Discord: also require a mention inside threads.", Group: GroupChatApps, Order: 1420, Apply: Live, Advanced: true}, Default: false})
Discord: also require a mention inside threads
var DiscordVoiceChannelInactivityTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "discord.voice_channel_inactivity_timeout_seconds", Label: "Voice idle leave", Short: "Discord: leave a voice channel after this much silence.", Help: "Zero never leaves.", Group: GroupChatApps, Order: 1430, Apply: Restart, Advanced: true}, Default: 5 * time.Minute})
Discord: leave a voice channel after this much silence
var DiscordVoiceFxAckEnabled = Register(&Bool{Meta: Meta{Key: "discord.voice_fx.ack_enabled", Label: "Spoken acknowledgements", Short: "Discord: say a short phrase when starting on a voice request.", Group: GroupChatApps, Order: 1440, Apply: Restart, Advanced: true}, Default: true})
Discord: say a short phrase when starting on a voice request
var DiscordVoiceFxAckPhrases = Register(&List{Meta: Meta{Key: "discord.voice_fx.ack_phrases", Label: "Acknowledgement phrases", Short: "Discord: phrases spoken while it works on a voice request.", Group: GroupChatApps, Order: 1450, Apply: Restart, Advanced: true}, Null: "the built-in phrases in your language"})
Discord: phrases spoken while it works on a voice request
var DiscordVoiceFxAmbientEnabled = Register(&Bool{Meta: Meta{Key: "discord.voice_fx.ambient_enabled", Label: "Ambient sound", Short: "Discord: play background sound while it works on a voice request.", Group: GroupChatApps, Order: 1460, Apply: Restart, Advanced: true}, Default: true})
Discord: play background sound while it works on a voice request
var DiscordVoiceFxAmbientGain = Register(&Float{Meta: Meta{Key: "discord.voice_fx.ambient_gain", Label: "Ambient volume", Short: "Discord: volume of the background sound.", Group: GroupChatApps, Order: 1470, Apply: Restart, Advanced: true}, Default: 0.18, Min: at(0.0)})
Discord: volume of the background sound
var DiscordVoiceFxAmbientPath = Register(&String{Meta: Meta{Key: "discord.voice_fx.ambient_path", Label: "Ambient sound file", Short: "Discord: sound file played while it works.", Help: "Empty uses the built-in sound.", Group: GroupChatApps, Order: 1480, Apply: Restart, Advanced: true}, Default: ""})
Discord: sound file played while it works
var DiscordVoiceFxDuckGain = Register(&Float{Meta: Meta{Key: "discord.voice_fx.duck_gain", Label: "Ambient duck volume", Short: "Discord: background volume while it speaks.", Group: GroupChatApps, Order: 1490, Apply: Restart, Advanced: true}, Default: 0.06, Min: at(0.0)})
Discord: background volume while it speaks
var DiscordVoiceFxEnabled = Register(&Bool{Meta: Meta{Key: "discord.voice_fx.enabled", Label: "Voice effects", Short: "Discord: use sound effects and spoken acknowledgements in voice.", Group: GroupChatApps, Order: 1500, Apply: Restart, Advanced: true}, Default: false})
Discord: use sound effects and spoken acknowledgements in voice
var DiscordVoiceFxLeadSilenceMs = Register(&Duration{Meta: Meta{Key: "discord.voice_fx.lead_silence_ms", Label: "Speech lead silence", Short: "Discord: silence added before speech so the start is not clipped.", Group: GroupChatApps, Order: 1510, Apply: Restart, Advanced: true}, Default: 200 * time.Millisecond, Unit: time.Millisecond})
Discord: silence added before speech so the start is not clipped
var DiscordVoiceFxSpeechGain = Register(&Float{Meta: Meta{Key: "discord.voice_fx.speech_gain", Label: "Speech volume", Short: "Discord: volume of spoken replies.", Group: GroupChatApps, Order: 1520, Apply: Restart, Advanced: true}, Default: 1, Min: at(0.0)})
Discord: volume of spoken replies
var DiscordVoicePlaybackTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "discord.voice_playback_timeout_seconds", Label: "Voice playback wait", Short: "Discord: shortest wait for spoken audio to finish playing.", Group: GroupChatApps, Order: 1530, Apply: Restart, Advanced: true}, Default: 2 * time.Minute, Min: at(time.Second)})
Discord: shortest wait for spoken audio to finish playing
var DiscordWebsocketEventMaxSilenceSeconds = Register(&Duration{Meta: Meta{Key: "discord.websocket_event_max_silence_seconds", Label: "Silent link limit", Short: "Discord: reconnect when no events arrive for this long.", Help: "Zero or less turns this check off.", Group: GroupChatApps, Order: 1540, Apply: Restart, Advanced: true}, Default: 4 * time.Hour})
Discord: reconnect when no events arrive for this long
var DiscordWebsocketHeartbeatAckMaxAgeSeconds = Register(&Duration{Meta: Meta{Key: "discord.websocket_heartbeat_ack_max_age_seconds", Label: "Heartbeat reply limit", Short: "Discord: reconnect when Discord stops answering heartbeats.", Help: "Zero or less turns this check off.", Group: GroupChatApps, Order: 1550, Apply: Restart, Advanced: true}, Default: time.Minute})
Discord: reconnect when Discord stops answering heartbeats
var DiscordWebsocketLivenessFailureThreshold = Register(&Int{Meta: Meta{Key: "discord.websocket_liveness_failure_threshold", Label: "Link check failures", Short: "Discord: failed link checks in a row before reconnecting.", Group: GroupChatApps, Order: 1560, Apply: Restart, Advanced: true}, Default: 2, Unit: "checks"})
Discord: failed link checks in a row before reconnecting
var DiscordWebsocketLivenessIntervalSeconds = Register(&Duration{Meta: Meta{Key: "discord.websocket_liveness_interval_seconds", Label: "Link check interval", Short: "Discord: time between connection health checks.", Group: GroupChatApps, Order: 1570, Apply: Restart, Advanced: true}, Default: 15 * time.Second})
Discord: time between connection health checks
var DiscordWebsocketMaxLatencySeconds = Register(&Duration{Meta: Meta{Key: "discord.websocket_max_latency_seconds", Label: "Link latency limit", Short: "Discord: reconnect when the connection is slower than this.", Help: "Zero or less turns this check off.", Group: GroupChatApps, Order: 1580, Apply: Restart, Advanced: true}, Default: 30 * time.Second})
Discord: reconnect when the connection is slower than this
var DisplayArena = Register(&Map{Meta: Meta{Key: "display.arena", Label: "Arena layout", Short: "Settings for the arena view in the terminal UI.", Group: GroupWorking, Order: 1010, Advanced: true}})
Settings for the arena view in the terminal UI
var DisplayBackgroundProcessNotifications = Register(&Enum{Meta: Meta{Key: "display.background_process_notifications", Label: "Background job notices", Short: "How much to report when a background command produces output.", Group: GroupWorking, Order: 1020, Advanced: true}, Default: "concise", Values: []Choice{
{Value: "concise", Label: "Concise", Meaning: "Short summary when it finishes."},
{Value: "all", Label: "All", Meaning: "Every update with its output."},
{Value: "result", Label: "Result", Meaning: "Only the final result."},
{Value: "error", Label: "Errors", Meaning: "Only when it fails."},
{Value: "off", Label: "Off", Meaning: "No notices."},
}})
How much to report when a background command produces output
var DisplayBusyAckDetail = Register(&Bool{Meta: Meta{Key: "display.busy_ack_detail", Platforms: true, Label: "Busy reply detail", Short: "Say what the agent is doing when a chat message arrives mid-turn.", Group: GroupWorking, Order: 1230, Advanced: true}, Default: true})
Detail line in the reply sent when a chat message arrives mid-turn
var DisplayBusyAckEnabled = Register(&Bool{Meta: Meta{Key: "display.busy_ack_enabled", Label: "Busy reply", Short: "Reply in a chat when a message arrives while the agent works.", Group: GroupWorking, Order: 1240, Advanced: true}, Default: true})
Reply sent when a chat message arrives while the agent works
var DisplayBusySteerAckEnabled = Register(&Bool{Meta: Meta{Key: "display.busy_steer_ack_enabled", Platforms: true, Label: "Confirm steering", Short: "Confirm in chat when a message sent mid-turn steers the agent.", Group: GroupWorking, Order: 1030, Advanced: true}, Default: true})
Confirm in chat when a message sent mid-turn steers the agent
var DisplayBusyTextDebounceSeconds = Register(&Duration{Meta: Meta{Key: "display.busy_text_debounce_seconds", Label: "Busy message gap", Short: "Quiet time that closes a burst of chat messages sent mid-turn.", Help: "Messages in one burst are queued as one.", Group: GroupWorking, Order: 1280, Advanced: true, Apply: Restart}, Default: 350 * time.Millisecond, Min: at(time.Duration(0))})
Quiet gap that ends a burst of chat messages sent while the agent works
var DisplayBusyTextHardCapSeconds = Register(&Duration{Meta: Meta{Key: "display.busy_text_hard_cap_seconds", Label: "Busy message cap", Short: "Longest a burst of chat messages sent mid-turn is held.", Group: GroupWorking, Order: 1290, Advanced: true, Apply: Restart}, Default: time.Second, Min: at(time.Duration(0))})
Longest a burst of chat messages sent while the agent works is held
var DisplayBusyTextMode = Register(&Enum{Meta: Meta{Key: "display.busy_text_mode", Label: "Busy chat text", Short: "What a plain chat message does while the agent is working.", Help: "Overrides Enter while busy for chat apps only.", Group: GroupWorking, Order: 1040, Advanced: true}, Null: "follows Enter while busy", Values: []Choice{
{Value: "interrupt", Label: "Interrupt", Meaning: "Stop the turn and start the new message."},
{Value: "queue", Label: "Queue", Meaning: "Wait and send after the turn ends."},
}})
What a plain chat message does while the agent is working
var DisplayCleanupProgress = Register(&Bool{Meta: Meta{Key: "display.cleanup_progress", Platforms: true, Label: "Clean up progress", Short: "Delete tool progress messages from a chat once the reply is in.", Group: GroupWorking, Order: 1250, Advanced: true}, Default: false})
Progress messages removed from a chat once the reply is in
var DisplayCliLayout = Register(&Enum{Meta: Meta{Key: "display.cli_layout", Label: "Classic CLI layout", Short: "Glyph layout or boxed transcript in the classic command line.", Group: GroupAppearance, Order: 1000, Advanced: true}, Default: "modern", Values: []Choice{
{Value: "modern", Label: "Modern", Meaning: "Glyph-led transcript."},
{Value: "classic", Label: "Classic", Meaning: "Boxed transcript."},
}})
Glyph layout or boxed transcript in the classic command line
var DisplayEphemeralSystemTtl = Register(&Int{Meta: Meta{Key: "display.ephemeral_system_ttl", Label: "Notice lifetime", Short: "Seconds before short system notices in chat apps delete themselves.", Help: "Zero keeps them.", Group: GroupWorking, Order: 1050, Advanced: true}, Default: 0, Unit: "seconds"})
Seconds before short system notices in chat apps delete themselves
var DisplayFileMutationVerifier = Register(&Bool{Meta: Meta{Key: "display.file_mutation_verifier", Label: "Report failed edits", Short: "List files the agent failed to edit at the end of a turn.", Group: GroupWorking, Order: 1060, Advanced: true}, Default: true})
List files the agent failed to edit at the end of a turn
var DisplayFinalResponseMarkdown = Register(&Enum{Meta: Meta{Key: "display.final_response_markdown", Label: "Final answer markup", Short: "How markdown in the final answer is shown in the classic CLI.", Group: GroupWorking, Order: 1070, Advanced: true}, Default: "strip", Values: []Choice{
{Value: "strip", Label: "Strip", Meaning: "Remove markup, keep plain text."},
{Value: "render", Label: "Render", Meaning: "Draw headings, bold and lists."},
{Value: "raw", Label: "Raw", Meaning: "Show the markup as written."},
}})
How markdown in the final answer is shown in the classic CLI
var DisplayFriendlyToolLabels = Register(&Bool{Meta: Meta{Key: "display.friendly_tool_labels", Platforms: true, Label: "Friendly tool names", Short: "Describe tool calls in plain words in chat apps.", Group: GroupWorking, Order: 1090, Advanced: true, Apply: NextTurn}, Default: true})
Describe tool calls in plain words in chat apps
var DisplayInlineDiffs = Register(&Bool{Meta: Meta{Key: "display.inline_diffs", Label: "Inline diffs", Short: "Show file changes as a diff right in the transcript.", Group: GroupWorking, Order: 1100, Advanced: true}, Default: true})
Show file changes as a diff right in the transcript
var DisplayInterimAssistantMessages = Register(&Bool{Meta: Meta{Key: "display.interim_assistant_messages", Platforms: true, Label: "Mid-turn messages", Short: "Show the agent's short updates while it works.", Help: "Needs Show commentary to be on as well in the terminal UI.", Group: GroupWorking, Order: 1110, Advanced: true}, Default: true})
Show the agent's short updates while it works
var DisplayLanguageCatalogs = Register(&Path{Meta: Meta{Key: "display.language_catalogs", Label: "Catalog folder", Short: "Folder of language catalogs read in place of the built-in ones.", Help: "Empty uses the built-in catalogs. A folder that does not exist is ignored.", Group: GroupAppearance, Order: 1088, Advanced: true, Apply: Restart, Env: "ICEBATH_BUNDLED_LOCALES"}, Default: ""})
Folder of language catalogs read in place of the built-in ones
var DisplayLiveStatus = Register(&Enum{Meta: Meta{Key: "display.live_status", Platforms: true, Label: "Live status", Short: "What the chat app's status line says while the agent works.", Group: GroupWorking, Order: 1260, Advanced: true}, Default: "full", On: "full", Off: "off", Values: []Choice{{Value: "full", Label: "Full", Meaning: "The tool and what it works on."}, {Value: "verb", Label: "Verb", Meaning: "Only what kind of work it is."}, {Value: "off", Label: "Off", Meaning: "No status line."}}})
Status line a chat app shows while the agent works
var DisplayLongRunningNotifications = Register(&Enum{Meta: Meta{Key: "display.long_running_notifications", Platforms: true, Label: "Long call notices", Short: "Post a notice in chats while a long tool call keeps running.", Group: GroupWorking, Order: 1220, Advanced: true}, Default: "on", On: "on", Off: "off", Values: []Choice{{Value: "on", Label: "On", Meaning: "Name the tool that is running."}, {Value: "generic", Label: "Generic", Meaning: "Say only that work goes on."}, {Value: "off", Label: "Off", Meaning: "No notices."}}})
Notices in a chat while a long tool call keeps running
var DisplayMemoryNotifications = Register(&Enum{Meta: Meta{Key: "display.memory_notifications", Label: "Memory notices", Short: "How much you are told when the agent saves to Memory.", Group: GroupMemory, Order: 1000, Advanced: true}, Default: "on", Values: []Choice{
{Value: "on", Label: "On", Meaning: "Brief note when Memory changes."},
{Value: "verbose", Label: "Verbose", Meaning: "Note with what was saved."},
{Value: "off", Label: "Off", Meaning: "No notes."},
}})
How much you are told when the agent saves to Memory
var DisplayPetRenderMode = Register(&Enum{Meta: Meta{Key: "display.pet.render_mode", Label: "Pet drawing mode", Short: "How the pet is drawn in your terminal.", Group: GroupAppearance, Order: 1010, Advanced: true}, Default: "auto", Values: []Choice{
{Value: "auto", Label: "Auto", Meaning: "Best mode this terminal supports."},
{Value: "kitty", Label: "Kitty", Meaning: "Kitty graphics protocol."},
{Value: "iterm", Label: "iTerm", Meaning: "iTerm inline images."},
{Value: "sixel", Label: "Sixel", Meaning: "Sixel graphics."},
{Value: "unicode", Label: "Text blocks", Meaning: "Block characters, works anywhere."},
{Value: "off", Label: "Off", Meaning: "Do not draw the pet."},
}})
How the pet is drawn in your terminal
var DisplayPetScale = Register(&Float{Meta: Meta{Key: "display.pet.scale", Label: "Pet size", Short: "How large the pet is drawn.", Help: "Values are kept between 0.1 and 3.", Group: GroupAppearance, Order: 1020, Advanced: true}, Default: 0.33, Min: at(0.1), Max: at(3.0)})
How large the pet is drawn
var DisplayPetSlug = Register(&String{Meta: Meta{Key: "display.pet.slug", Label: "Which pet", Short: "Which installed pet is shown.", Help: "Empty shows none.", Group: GroupAppearance, Order: 1030, Advanced: true}, Default: ""})
Which installed pet is shown
var DisplayPetUnicodeCols = Register(&Int{Meta: Meta{Key: "display.pet.unicode_cols", Label: "Text pet width", Short: "Width of the pet in text blocks, in terminal columns.", Help: "Zero works the width out from the pet size.", Group: GroupAppearance, Order: 1040, Advanced: true}, Default: 0, Unit: "columns"})
Width of the pet in text blocks, in terminal columns
var DisplayReasoningStyle = Register(&Enum{Meta: Meta{Key: "display.reasoning_style", Platforms: true, Label: "Reasoning style", Short: "How shown reasoning is formatted in chat apps.", Group: GroupWorking, Order: 1120, Advanced: true}, Default: "code", Values: []Choice{
{Value: "code", Label: "Code block", Meaning: "Monospaced block."},
{Value: "blockquote", Label: "Quote", Meaning: "Indented quote."},
{Value: "subtext", Label: "Subtext", Meaning: "Small muted text."},
}})
How shown reasoning is formatted in chat apps
Details shown in the footer line under chat replies
var DisplayShowCommentary = Register(&Bool{Meta: Meta{Key: "display.show_commentary", Label: "Show commentary", Short: "Show the agent's running commentary between tool calls.", Group: GroupWorking, Order: 1130, Advanced: true}, Default: true})
Show the agent's running commentary between tool calls
var DisplaySpinnerTokenFlow = Register(&Bool{Meta: Meta{Key: "display.spinner_token_flow", Label: "Spinner token flow", Short: "Show a live count of tokens flowing next to the spinner.", Group: GroupWorking, Order: 1140, Advanced: true}, Default: true})
Show a live count of tokens flowing next to the spinner
var DisplayStatusPhrases = Register(&Map{Meta: Meta{Key: "display.status_phrases", Label: "Status phrases", Short: "Your own wording for the short progress messages in chat apps.", Group: GroupAppearance, Order: 1050, Advanced: true}})
Your own wording for the short progress messages in chat apps
var DisplayStreaming = Register(&Bool{Meta: Meta{Key: "display.streaming", Platforms: true, PlatformOnly: true, Label: "Stream replies", Short: "Show replies as they are written instead of all at once.", Group: GroupWorking, Order: 1150, Advanced: true}, Default: true})
Show replies as they are written instead of all at once
var DisplaySuppressWarningNotifications = Register(&Bool{Meta: Meta{Key: "display.suppress_warning_notifications", Platforms: true, Label: "Hide warning notices", Short: "Do not send warning notices to chat apps.", Group: GroupWorking, Order: 1160, Advanced: true}, Default: false})
Do not send warning notices to chat apps
var DisplayThinkingProgress = Register(&Bool{Meta: Meta{Key: "display.thinking_progress", Platforms: true, Label: "Thinking in chats", Short: "Post the model's thinking as progress messages in chats.", Group: GroupWorking, Order: 1270, Advanced: true}, Default: false})
The model's thinking posted as progress in chats
var DisplayTimestampFormat = Register(&String{Meta: Meta{Key: "display.timestamp_format", Label: "Time format", Short: "How message times are written in the classic command line.", Help: "Uses strftime codes. Times only show when timestamps are turned on.", Group: GroupAppearance, Order: 1060, Advanced: true}, Default: "%H:%M"})
How message times are written in the classic command line
var DisplayToolPreviewLength = Register(&Int{Meta: Meta{Key: "display.tool_preview_length", Platforms: true, Label: "Tool preview length", Short: "Characters of each tool call shown in chat progress lines.", Help: "Zero shows the built-in default length.", Group: GroupWorking, Order: 1170, Advanced: true, Apply: NextTurn}, Default: 0, Unit: "characters"})
Characters of each tool call shown in chat progress lines
var DisplayToolProgressCommand = Register(&Bool{Meta: Meta{Key: "display.tool_progress_command", Label: "Progress command", Short: "Allow the command that changes tool progress detail in chat apps.", Group: GroupWorking, Order: 1180, Advanced: true}, Default: false})
Allow the command that changes tool progress detail in chat apps
var DisplayToolProgressGrouping = Register(&Enum{Meta: Meta{Key: "display.tool_progress_grouping", Platforms: true, Label: "Tool progress grouping", Short: "Whether chat tool progress builds up in one message or many.", Group: GroupWorking, Order: 1190, Advanced: true, Apply: NextTurn}, Default: "accumulate", Values: []Choice{
{Value: "accumulate", Label: "Together", Meaning: "Add each call to one message."},
{Value: "separate", Label: "Separate", Meaning: "One message per call."},
}})
Whether chat tool progress builds up in one message or many
var DisplayTuiAgentsNudge = Register(&Bool{Meta: Meta{Key: "display.tui_agents_nudge", Label: "Agents view hint", Short: "Show a hint about the agents view in the terminal UI.", Group: GroupAppearance, Order: 1070, Advanced: true}, Default: true})
Show a hint about the agents view in the terminal UI
var DisplayTuiClipboardSequence = Register(&Bool{Meta: Meta{Key: "display.tui_clipboard_sequence", Label: "Terminal clipboard", Short: "Copy through the terminal's own clipboard sequence in the terminal UI.", Help: "On always sends it, off never does.", Group: GroupAppearance, Order: 1089, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_FORCE_OSC52"}, Null: "over SSH and outside tmux or screen"})
Copies in the terminal UI sent through the terminal's own clipboard sequence, whatever the connection
var DisplayTuiNative = Register(&Bool{Meta: Meta{Key: "display.tui_native", Label: "Native terminal mode", Short: "Let your terminal handle mouse selection and scrolling.", Help: "Turns off mouse tracking in the terminal UI. The native flag on the command line does the same.", Group: GroupAppearance, Order: 1080, Advanced: true}, Default: false})
Let your terminal handle mouse selection and scrolling
var DisplayTuiReducedMotion = Register(&Bool{Meta: Meta{Key: "display.tui_reduced_motion", Label: "Reduced motion", Short: "Turn off the window animations of the terminal UI.", Group: GroupAppearance, Order: 1082, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_REDUCED_MOTION"}, Default: false})
Window animations of the terminal UI turned off
var DisplayTuiRequestTimeout = Register(&Duration{Meta: Meta{Key: "display.tui_request_timeout", Label: "Request timeout", Short: "Longest the terminal UI waits for the background service to answer.", Group: GroupSystem, Order: 2100, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_RPC_TIMEOUT_MS"}, Default: 2 * time.Minute, Unit: time.Millisecond, Min: at(30 * time.Second)})
Longest the terminal UI waits for the background service to answer a request
var DisplayTuiScrollSpeed = Register(&Float{Meta: Meta{Key: "display.tui_scroll_speed", Label: "Scroll speed", Short: "Rows one mouse wheel step scrolls in the terminal UI.", Help: "Fast scrolling speeds up from there.", Group: GroupAppearance, Order: 1084, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_SCROLL_SPEED"}, Default: 1, Min: at(0.1), Max: at(20.0), Unit: "rows"})
Rows one mouse wheel step scrolls in the terminal UI before it speeds up
var DisplayTuiStartupTimeout = Register(&Duration{Meta: Meta{Key: "display.tui_startup_timeout", Label: "Startup timeout", Short: "Longest the terminal UI waits for the background service to be ready.", Group: GroupSystem, Order: 2110, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_STARTUP_TIMEOUT_MS"}, Default: 15 * time.Second, Unit: time.Millisecond, Min: at(5 * time.Second)})
Longest the terminal UI waits for the background service to be ready
var DisplayTuiTermuxMode = Register(&Bool{Meta: Meta{Key: "display.tui_termux_mode", Label: "Termux layout", Short: "Use the Termux layout defaults when the window runs inside Termux.", Help: "They turn mouse tracking off. Outside Termux this does nothing.", Group: GroupAppearance, Order: 1086, Advanced: true, Apply: NewSession, Env: "ICEBATH_TUI_TERMUX_MODE"}, Default: true})
Layout defaults of the terminal UI inside Termux
var DisplayTurnCompletionExplainer = Register(&Bool{Meta: Meta{Key: "display.turn_completion_explainer", Label: "Explain odd endings", Short: "Say why a turn ended when it stops without a normal answer.", Group: GroupWorking, Order: 1200, Advanced: true}, Default: true})
Say why a turn ended when it stops without a normal answer
var DisplayTurnSummary = Register(&Bool{Meta: Meta{Key: "display.turn_summary", Label: "Turn summary", Short: "Show a one-line summary of time and activity after each turn.", Group: GroupWorking, Order: 1210, Advanced: true}, Default: true})
Show a one-line summary of time and activity after each turn
var DisplayWindowsUTF8 = Register(&Bool{Meta: Meta{Key: "display.windows_utf8", Label: "Windows UTF-8", Short: "Switch the Windows console to UTF-8 text when icebath starts.", Help: "Off keeps the console's own code page.", Group: GroupSystem, Order: 2240, Advanced: true, Apply: NewSession, Env: "ICEBATH_DISABLE_WINDOWS_UTF8", EnvInvert: true}, Default: true})
Windows console switched to UTF-8 text when icebath starts
var DoctorLiveProbeTimeout = Register(&Duration{Meta: Meta{Key: "doctor.live_probe_timeout", Label: "Live check timeout", Short: "How long each live connection check in the doctor may take.", Group: GroupSystem, Order: 1350, Advanced: true}, Default: 10 * time.Second, Min: at(time.Second)})
How long each live connection check in the doctor may take
var EchoTranscripts = Register(&Bool{Meta: Meta{Key: "stt.echo_transcripts", Label: "Show transcripts", Short: "Post the text of your voice messages back into the chat.", Group: GroupVoice, Order: 100, Advanced: true, Apply: Restart}, Default: true})
Transcript of a voice message posted back into the chat
var EmailAllowAllUsers = Register(&Bool{Meta: Meta{Key: "email.allow_all_users", Label: "Allow every sender", Short: "Email: answer mail from any address.", Group: GroupChatApps, Order: 4090, Advanced: true, Env: "EMAIL_ALLOW_ALL_USERS"}, Default: false})
Email: anyone may write to the bot
var EmailAllowedUsers = Register(&List{Meta: Meta{Key: "email.allowed_users", Label: "Allowed senders", Short: "Email: addresses allowed to write to the bot.", Group: GroupChatApps, Order: 4080, Advanced: true, Env: "EMAIL_ALLOWED_USERS"}})
Email: addresses allowed to write to the bot
var EmailAuthservID = Register(&String{Meta: Meta{Key: "email.authserv_id", Label: "Mail server ID", Short: "Email: name your mail server signs its sender checks with.", Help: "The authserv-id at the start of the top Authentication-Results header, such as mx.google.com.", Group: GroupChatApps, Order: 4070, Advanced: true, Apply: Restart, Env: "EMAIL_AUTHSERV_ID"}})
Email: name your mail server signs its sender checks with
var EmailImapSecurity = Register(&Enum{Meta: Meta{Key: "email.imap_security", Label: "IMAP security", Short: "Email: how the connection that reads mail is secured.", Group: GroupChatApps, Order: 4000, Advanced: true, Apply: Restart, Env: "EMAIL_IMAP_SECURITY"}, Default: "tls", Values: []Choice{{Value: "tls", Label: "TLS", Meaning: "Encrypted from the first byte."}, {Value: "starttls", Label: "STARTTLS", Meaning: "Starts plain, then switches to encryption."}, {Value: "plain", Label: "None", Meaning: "No encryption."}}, Also: map[string]string{"ssl": "tls", "implicit": "tls", "start-tls": "starttls", "start_tls": "starttls", "none": "plain"}})
Email: how the connection that reads mail is secured
var EmailImapTLSVerify = Register(&Bool{Meta: Meta{Key: "email.imap_tls_verify", Label: "IMAP certificate check", Short: "Email: check the certificate of the server mail is read from.", Help: "Turn off only for a server you run yourself.", Group: GroupChatApps, Order: 4010, Advanced: true, Apply: Restart, Env: "EMAIL_IMAP_TLS_VERIFY"}, Default: true})
Email: whether the certificate of the server mail is read from is checked
var EmailPollInterval = Register(&Duration{Meta: Meta{Key: "email.poll_interval", Label: "Mail check interval", Short: "Email: how often the mailbox is checked for new mail.", Group: GroupChatApps, Order: 4040, Advanced: true, Apply: Restart, Env: "EMAIL_POLL_INTERVAL"}, Default: 15 * time.Second, Min: at(time.Second)})
Email: how often the mailbox is checked for new mail
var EmailRequireAuthenticatedSender = Register(&Bool{Meta: Meta{Key: "email.require_authenticated_sender", Label: "Confirmed senders only", Short: "Email: answer only mail whose sender your mail server confirmed.", Help: "Off trusts the From line, which anyone can forge.", Group: GroupChatApps, Order: 4060, Advanced: true, Apply: Restart, Env: "EMAIL_TRUST_FROM_HEADER", EnvInvert: true}, Default: true})
Email: only mail whose sender the receiving server confirmed is answered
var EmailSkipAttachments = Register(&Bool{Meta: Meta{Key: "email.skip_attachments", Label: "Skip attachments", Short: "Email: leave the attachments of incoming mail out.", Group: GroupChatApps, Order: 4050, Advanced: true, Apply: Restart}, Default: false})
Email: attachments of incoming mail are left out
var EmailSmtpSecurity = Register(&Enum{Meta: Meta{Key: "email.smtp_security", Label: "SMTP security", Short: "Email: how the connection that sends mail is secured.", Group: GroupChatApps, Order: 4020, Advanced: true, Apply: Restart, Env: "EMAIL_SMTP_SECURITY"}, Null: "STARTTLS, or TLS on port 465", Values: []Choice{{Value: "tls", Label: "TLS", Meaning: "Encrypted from the first byte."}, {Value: "starttls", Label: "STARTTLS", Meaning: "Starts plain, then switches to encryption."}, {Value: "plain", Label: "None", Meaning: "No encryption."}}, Also: map[string]string{"ssl": "tls", "implicit": "tls", "start-tls": "starttls", "start_tls": "starttls", "none": "plain"}})
Email: how the connection that sends mail is secured
var EmailSmtpTLSVerify = Register(&Bool{Meta: Meta{Key: "email.smtp_tls_verify", Label: "SMTP certificate check", Short: "Email: check the certificate of the server mail is sent through.", Help: "Turn off only for a server you run yourself.", Group: GroupChatApps, Order: 4030, Advanced: true, Apply: Restart, Env: "EMAIL_SMTP_TLS_VERIFY"}, Default: true})
Email: whether the certificate of the server mail is sent through is checked
var ErrLocked = errors.New("setting is locked")
An administrator pins the setting
var ErrNoSession = errors.New("session scope needs a session")
The request lacks the session a session write needs
var ErrScope = errors.New("scope not allowed")
The setting cannot be written to the requested scope
var ErrUnknownKey = errors.New("unknown setting")
No setting has this key or alias
var FalVideoModel = Register(&String{Meta: Meta{Key: "video_gen.fal.model", Label: "FAL video model", Short: "Model family FAL makes videos with.", Group: GroupMedia, Order: 2992, Advanced: true, Env: "FAL_VIDEO_MODEL"}, Null: "Video model, else FAL's default"})
Model family FAL makes videos with
var FallbackMinSwitchResetSeconds = Register(&Duration{Meta: Meta{Key: "fallback.min_switch_reset_seconds", Label: "Stay-put window", Short: "Stay on the main model if its rate limit ends within this time.", Help: "0 turns this off, so any rate limit switches to the fallback.", Group: GroupModel, Order: 2270, Advanced: true}, Default: 0})
Stay on the main model if its rate limit ends within this time
var FallbackModels = Register(&List{Meta: Meta{Key: "fallback_providers", Label: "Fallback models", Short: "Models to try, in order, when the main one fails.", Group: GroupModel, Order: 40, Apply: NextTurn}, Of: KindMap})
Models tried in order when the main one fails
var FastMode = Register(&Enum{Meta: Meta{Key: "agent.service_tier", Label: "Fast mode", Short: "Pay more for priority processing so replies come back faster.", Help: "Auto is fast for the first seconds of each turn, cold only on a session's first turn. Only some models offer it.", Group: GroupModel, Order: 30, Scopes: Global | Session, Apply: NextTurn, Slash: "fast"}, Default: "normal", On: "fast", Off: "normal", Values: []Choice{ {"normal", "Normal", "Standard speed and price."}, {"fast", "Fast", "Priority processing on every request."}, {"ultrafast", "Ultrafast", "The fastest tier, where offered."}, {"auto", "Auto", "Fast for the first seconds of each turn."}, {"cold", "Cold", "Fast only on a session's first turn."}, }})
Priority processing tier
var FeishuAdmins = Register(&List{Meta: Meta{Key: "feishu.admins", Label: "Admins", Short: "Feishu: user IDs that pass every group rule.", Group: GroupChatApps, Order: 3330, Advanced: true, Apply: Restart}})
Feishu: user IDs that pass every group rule
var FeishuAllowAllUsers = Register(&Bool{Meta: Meta{Key: "feishu.allow_all_users", Label: "Allow everyone", Short: "Feishu: let anyone write to the bot directly.", Group: GroupChatApps, Order: 3324, Advanced: true, Apply: Restart, Env: "FEISHU_ALLOW_ALL_USERS"}, Default: false})
Feishu: anyone may write to the bot directly
var FeishuAllowBots = Register(&Enum{Meta: Meta{Key: "feishu.allow_bots", Label: "Other bots", Short: "Feishu: whether messages from other bots are answered.", Group: GroupChatApps, Order: 3320, Advanced: true, Apply: Restart, Env: "FEISHU_ALLOW_BOTS"}, Default: "none", Values: []Choice{{Value: "none", Label: "Never", Meaning: "Ignore other bots."}, {Value: "mentions", Label: "When mentioned", Meaning: "Answer bots that mention it."}, {Value: "all", Label: "Always", Meaning: "Answer every bot message."}}})
Feishu: messages from other bots
var FeishuAllowedUsers = Register(&List{Meta: Meta{Key: "feishu.allowed_users", Label: "Allowed users", Short: "Feishu: user IDs allowed to use the bot.", Help: "Empty lets anyone write to it directly; group chats follow Group access.", Group: GroupChatApps, Order: 3322, Advanced: true, Apply: Restart, Env: "FEISHU_ALLOWED_USERS"}})
Feishu: user IDs allowed to use the bot
var FeishuBotName = Register(&String{Meta: Meta{Key: "feishu.bot_name", Label: "Bot name", Short: "Feishu: display name of the bot, to spot mentions of it.", Help: "Found by itself when the app may read its own info.", Group: GroupChatApps, Order: 3340, Advanced: true, Apply: Restart, Env: "FEISHU_BOT_NAME"}})
Feishu: display name of the bot
var FeishuBotOpenID = Register(&String{Meta: Meta{Key: "feishu.bot_open_id", Label: "Bot open ID", Short: "Feishu: open ID of the bot, to spot its own messages and mentions.", Help: "Found by itself when the app may read its own info.", Group: GroupChatApps, Order: 3336, Advanced: true, Apply: Restart, Env: "FEISHU_BOT_OPEN_ID"}})
Feishu: open ID of the bot, for telling its own messages and mentions apart
var FeishuBotUserID = Register(&String{Meta: Meta{Key: "feishu.bot_user_id", Label: "Bot user ID", Short: "Feishu: user ID of the bot, to spot its own messages and mentions.", Group: GroupChatApps, Order: 3338, Advanced: true, Apply: Restart, Env: "FEISHU_BOT_USER_ID"}})
Feishu: user ID of the bot
var FeishuConnectionMode = Register(&Enum{Meta: Meta{Key: "feishu.connection_mode", Label: "Connection", Short: "Feishu: receive messages over a socket or through a web address.", Group: GroupChatApps, Order: 3310, Advanced: true, Apply: Restart}, Default: "websocket", Values: []Choice{{Value: "websocket", Label: "Socket", Meaning: "No public address needed."}, {Value: "webhook", Label: "Web address", Meaning: "Feishu calls an address you expose."}}})
Feishu: how messages reach icebath
var FeishuDedupCacheSize = Register(&Int{Meta: Meta{Key: "feishu.dedup_cache_size", Label: "Repeat memory", Short: "Feishu: handled messages remembered so a repeat is skipped.", Group: GroupChatApps, Order: 3348, Advanced: true, Apply: Restart, Env: "ICEBATH_FEISHU_DEDUP_CACHE_SIZE"}, Default: 2048, Min: at(32), Unit: "messages"})
Feishu: how many handled message IDs are remembered to skip repeats
var FeishuDomain = Register(&Enum{Meta: Meta{Key: "feishu.domain", Label: "Cloud", Short: "Feishu: whether the app is on Feishu in China or on Lark.", Group: GroupChatApps, Order: 3300, Advanced: true, Apply: Restart}, Default: "feishu", Values: []Choice{{Value: "feishu", Label: "Feishu", Meaning: "open.feishu.cn"}, {Value: "lark", Label: "Lark", Meaning: "open.larksuite.com"}}})
Feishu: which of the two clouds the app lives in
var FeishuGroupPolicy = Register(&Enum{Meta: Meta{Key: "feishu.group_policy", Label: "Group access", Short: "Feishu: who may talk to the bot in group chats.", Help: "A rule under Group rules wins for its chat.", Group: GroupChatApps, Order: 3326, Advanced: true, Apply: Restart, Env: "FEISHU_GROUP_POLICY"}, Default: "allowlist", Values: []Choice{{Value: "allowlist", Label: "Allowed users", Meaning: "Only the allowed users."}, {Value: "open", Label: "Everyone", Meaning: "Anyone in the group."}, {Value: "blacklist", Label: "All but blocked", Meaning: "Anyone a group rule does not block."}, {Value: "admin_only", Label: "Admins only", Meaning: "Only the admins."}, {Value: "disabled", Label: "Nobody", Meaning: "No group messages, admins excepted."}}})
Feishu: who may talk to the bot in group chats
var FeishuGroupRules = Register(&Map{Meta: Meta{Key: "feishu.group_rules", Label: "Group rules", Short: "Feishu: access rules of single group chats, keyed by chat ID.", Help: "Each entry takes policy, allowlist, blacklist and require_mention.", Group: GroupChatApps, Order: 3328, Advanced: true, Apply: Restart}})
Feishu: access rules of single group chats, keyed by chat ID
var FeishuMediaBatchDelay = Register(&Duration{Meta: Meta{Key: "feishu.media_batch_delay_seconds", Label: "Media gather wait", Short: "Feishu: wait for more pictures or files before answering.", Group: GroupChatApps, Order: 3358, Advanced: true, Apply: Restart, Env: "ICEBATH_FEISHU_MEDIA_BATCH_DELAY_SECONDS"}, Default: 800 * time.Millisecond, Min: at(time.Duration(0))})
Feishu: wait for more pictures or files before answering
var FeishuReactions = Register(&Bool{Meta: Meta{Key: "feishu.reactions", Label: "Reactions", Short: "Feishu: react to messages while working on them.", Group: GroupChatApps, Order: 3334, Advanced: true, Env: "FEISHU_REACTIONS"}, Default: true})
Feishu: react to messages while working on them
var FeishuRequireMention = Register(&Bool{Meta: Meta{Key: "feishu.require_mention", Label: "Require mention", Short: "Feishu: only answer in group chats when mentioned.", Group: GroupChatApps, Order: 3332, Advanced: true, Apply: Restart, Env: "FEISHU_REQUIRE_MENTION"}, Default: true})
Feishu: only answer in group chats when mentioned
var FeishuTextBatchDelay = Register(&Duration{Meta: Meta{Key: "feishu.text_batch_delay_seconds", Label: "Text gather wait", Short: "Feishu: wait for more text before answering a message sent in parts.", Group: GroupChatApps, Order: 3350, Advanced: true, Apply: Restart, Env: "ICEBATH_FEISHU_TEXT_BATCH_DELAY_SECONDS"}, Default: 600 * time.Millisecond, Min: at(time.Duration(0))})
Feishu: wait for more text before answering a message sent in parts
var FeishuTextBatchMaxChars = Register(&Int{Meta: Meta{Key: "feishu.text_batch_max_chars", Label: "Gathered characters", Short: "Feishu: most characters gathered into one turn.", Group: GroupChatApps, Order: 3356, Advanced: true, Apply: Restart, Env: "ICEBATH_FEISHU_TEXT_BATCH_MAX_CHARS"}, Default: 4000, Min: at(1), Unit: "characters"})
Feishu: most characters gathered into one turn
var FeishuTextBatchMaxMessages = Register(&Int{Meta: Meta{Key: "feishu.text_batch_max_messages", Label: "Gathered messages", Short: "Feishu: most messages gathered into one turn.", Group: GroupChatApps, Order: 3354, Advanced: true, Apply: Restart, Env: "ICEBATH_FEISHU_TEXT_BATCH_MAX_MESSAGES"}, Default: 8, Min: at(1), Unit: "messages"})
Feishu: most messages gathered into one turn
var FeishuTextBatchSplitDelay = Register(&Duration{Meta: Meta{Key: "feishu.text_batch_split_delay_seconds", Label: "Split text wait", Short: "Feishu: longer wait when a long message arrives split by Feishu.", Group: GroupChatApps, Order: 3352, Advanced: true, Apply: Restart, Env: "ICEBATH_FEISHU_TEXT_BATCH_SPLIT_DELAY_SECONDS"}, Default: 2 * time.Second, Min: at(time.Duration(0))})
Feishu: longer wait when a long message arrives split
var FeishuWSPingInterval = Register(&Duration{Meta: Meta{Key: "feishu.ws_ping_interval", Label: "Ping interval", Short: "Feishu: how often the socket is pinged.", Group: GroupChatApps, Order: 3364, Advanced: true, Apply: Restart}, Null: "what the Feishu server asks for", Min: at(time.Second)})
Feishu: how often the socket is pinged
var FeishuWSPingTimeout = Register(&Duration{Meta: Meta{Key: "feishu.ws_ping_timeout", Label: "Ping timeout", Short: "Feishu: how long a ping may go unanswered.", Group: GroupChatApps, Order: 3366, Advanced: true, Apply: Restart}, Null: "the default of the socket", Min: at(time.Second)})
Feishu: how long a ping may go unanswered
var FeishuWSReconnectInterval = Register(&Duration{Meta: Meta{Key: "feishu.ws_reconnect_interval", Label: "Reconnect wait", Short: "Feishu: wait between attempts to reconnect the socket.", Group: GroupChatApps, Order: 3362, Advanced: true, Apply: Restart}, Default: 2 * time.Minute, Min: at(time.Second)})
Feishu: wait between socket reconnect attempts
var FeishuWSReconnectNonce = Register(&Duration{Meta: Meta{Key: "feishu.ws_reconnect_nonce", Label: "Reconnect spread", Short: "Feishu: longest random wait added before the socket reconnects.", Group: GroupChatApps, Order: 3360, Advanced: true, Apply: Restart}, Default: 30 * time.Second, Min: at(time.Duration(0))})
Feishu: longest random wait added before reconnecting the socket
var FeishuWebhookHost = Register(&String{Meta: Meta{Key: "feishu.webhook_host", Label: "Listener address", Short: "Feishu: address the listener for events binds to.", Help: "Used when Connection is Webhook.", Group: GroupChatApps, Order: 3342, Advanced: true, Apply: Restart, Env: "FEISHU_WEBHOOK_HOST"}, Default: "127.0.0.1"})
Feishu: address the event listener binds to
var FeishuWebhookPath = Register(&String{Meta: Meta{Key: "feishu.webhook_path", Label: "Listener path", Short: "Feishu: path Feishu sends events to.", Group: GroupChatApps, Order: 3346, Advanced: true, Apply: Restart, Env: "FEISHU_WEBHOOK_PATH"}, Default: "/feishu/webhook"})
Feishu: path events are sent to
var FeishuWebhookPort = Register(&Int{Meta: Meta{Key: "feishu.webhook_port", Label: "Listener port", Short: "Feishu: port the listener for events binds to.", Group: GroupChatApps, Order: 3344, Advanced: true, Apply: Restart, Env: "FEISHU_WEBHOOK_PORT"}, Default: 8765, Min: at(1), Max: at(65535)})
Feishu: port the event listener binds to
var FileReadMaxChars = Register(&Int{Meta: Meta{Key: "file_read_max_chars", Label: "File read limit", Short: "Most characters returned from one file read.", Help: "Longer files are cut at a whole line.", Group: GroupTools, Order: 1460, Advanced: true}, Default: 100000, Unit: "chars", Min: at(1), DefaultBelow: true})
Most characters returned from one file read
var FileToolsHostedOcr = Register(&Bool{Meta: Meta{Key: "file_tools.hosted_ocr", Label: "Hosted PDF reading", Short: "Read scanned PDF pages through Firecrawl when its key is set.", Group: GroupTools, Order: 1465, Advanced: true}, Default: true})
Read scanned PDF pages through Firecrawl when its key is set
var FullThinking = Register(&Bool{Meta: Meta{Key: "display.reasoning_full", Label: "Full thinking", Short: "Show the model's thinking in full instead of a few lines.", Group: GroupWorking, Order: 130, Advanced: true}, Default: false})
Whether thinking shows in full rather than clamped
var GatewayAdapterDisconnectTimeout = Register(&Duration{Meta: Meta{Key: "gateway.adapter_disconnect_timeout", Label: "Chat disconnect wait", Short: "How long each chat app gets to disconnect when the service stops.", Help: "Zero stops without waiting.", Group: GroupChatApps, Order: 1825, Advanced: true, Env: "ICEBATH_GATEWAY_ADAPTER_DISCONNECT_TIMEOUT"}, Default: 5 * time.Second, Min: at(time.Duration(0))})
How long each chat app gets to disconnect when the service stops or reconnects it
var GatewayAllowAllUsers = Register(&Bool{Meta: Meta{Key: "gateway.allow_all_users", Label: "Allow all users", Short: "Let anyone message the chat apps, without an allowed list.", Group: GroupChatApps, Order: 1640, Apply: Live, Advanced: true, Env: "GATEWAY_ALLOW_ALL_USERS"}, Default: false})
Let anyone message the chat apps, without an allowed list
var GatewayAllowedUsers = Register(&List{Meta: Meta{Key: "gateway.allowed_users", Label: "Allowed users", Short: "People allowed to message every chat app, by their user ID.", Group: GroupChatApps, Order: 1645, Apply: Live, Advanced: true, Env: "GATEWAY_ALLOWED_USERS"}})
People allowed to message every chat app, by their user ID
var GatewayAlwaysLogLocal = Register(&Bool{Meta: Meta{Key: "gateway.always_log_local", Label: "Keep local log", Short: "Keep a local copy of chat app conversations.", Group: GroupChatApps, Order: 3993, Advanced: true, Apply: Restart}, Default: true})
Keeps a local log of chat app messages
var GatewayApiServerHistoryToolOutputMaxChars = Register(&Int{Meta: Meta{Key: "gateway.api_server.history_tool_output_max_chars", Label: "API output cap", Short: "API server: longest tool output kept in saved conversation history.", Help: "Zero keeps full tool output.", Group: GroupChatApps, Order: 1650, Apply: Restart, Advanced: true}, Default: 0, Unit: "characters", Min: at(0)})
API server: longest tool output kept in saved conversation history
var GatewayApiServerMaxConcurrentRuns = Register(&Int{Meta: Meta{Key: "gateway.api_server.max_concurrent_runs", Label: "API parallel runs", Short: "API server: most requests answered at the same time.", Group: GroupChatApps, Order: 1660, Apply: Restart, Advanced: true}, Default: 10, Unit: "runs", Min: at(0)})
API server: most requests answered at the same time
var GatewayAutoMultiplexMigration = Register(&Bool{Meta: Meta{Key: "gateway.auto_multiplex_migration", Label: "Auto merge profiles", Short: "Let the background service merge profiles into one when it can.", Group: GroupChatApps, Order: 1670, Advanced: true}, Default: true})
Let the background service merge profiles into one when it can
var GatewayBotLoopGuardCooldownSeconds = Register(&Duration{Meta: Meta{Key: "gateway.bot_loop_guard.cooldown_seconds", Label: "Bot loop pause", Short: "How long a chat is ignored after a bot-to-bot loop is caught.", Group: GroupChatApps, Order: 1680, Advanced: true}, Min: at(time.Second), Default: 10 * time.Minute, DefaultBelow: true})
How long a chat is ignored after a bot-to-bot loop is caught
var GatewayBotLoopGuardEnabled = Register(&Bool{Meta: Meta{Key: "gateway.bot_loop_guard.enabled", Label: "Bot loop guard", Short: "Stop replying when bots keep triggering each other in a chat.", Group: GroupChatApps, Order: 1690, Advanced: true}, Default: true})
Stop replying when bots keep triggering each other in a chat
var GatewayBotLoopGuardMaxEvents = Register(&Int{Meta: Meta{Key: "gateway.bot_loop_guard.max_events", Label: "Bot loop messages", Short: "Bot messages allowed in the window before the guard trips.", Group: GroupChatApps, Order: 1700, Advanced: true}, Default: 20, Unit: "messages", Min: at(1), DefaultBelow: true})
Bot messages allowed in the window before the guard trips
var GatewayBotLoopGuardWindowSeconds = Register(&Duration{Meta: Meta{Key: "gateway.bot_loop_guard.window_seconds", Label: "Bot loop window", Short: "Time span over which bot messages are counted.", Group: GroupChatApps, Order: 1710, Advanced: true}, Min: at(time.Second), Default: 5 * time.Minute, DefaultBelow: true})
Time span over which bot messages are counted
var GatewayContainerSupervision = Register(&Bool{Meta: Meta{Key: "gateway.container_supervision", Label: "Container supervision", Short: "In a container, runs the service under its supervisor so it restarts.", Help: "Setting the matching environment variable to on turns it off.", Group: GroupChatApps, Order: 1715, Apply: Restart, Advanced: true, Env: "ICEBATH_GATEWAY_NO_SUPERVISE", EnvInvert: true}, Default: true})
Run the background service under the container's supervisor
var GatewayDeliveryLedger = Register(&Bool{Meta: Meta{Key: "gateway.delivery_ledger", Label: "Delivery records", Short: "Record sent replies so a restart does not lose or repeat them.", Group: GroupChatApps, Order: 1720, Advanced: true}, Default: true})
Record sent replies so a restart does not lose or repeat them
var GatewayExitRecords = Register(&Bool{Meta: Meta{Key: "gateway.exit_records", Label: "Exit records", Short: "Writes a line for every service exit to logs/gateway-exit-diag.log.", Group: GroupChatApps, Order: 1721, Advanced: true, Env: "ICEBATH_GATEWAY_EXIT_DIAG"}, Default: true})
Write a line for every way the background service exits
var GatewayFilterSilenceNarration = Register(&Bool{Meta: Meta{Key: "gateway.filter_silence_narration", Label: "Skip silence notes", Short: "Do not send replies that only say nothing happened.", Group: GroupChatApps, Order: 3994, Advanced: true, Apply: Restart}, Default: true})
Drops replies that only narrate silence
var GatewayGroupSessionsPerUser = Register(&Bool{Meta: Meta{Key: "gateway.group_sessions_per_user", Label: "Group per person", Short: "In group chats, keep a separate conversation per person.", Group: GroupChatApps, Order: 3991, Advanced: true, Apply: Restart}, Default: true})
One conversation per person in group chats
var GatewayHTTPKeepaliveExpiry = Register(&Duration{Meta: Meta{Key: "gateway.http_keepalive_expiry", Label: "Chat keepalive time", Short: "How long an idle chat app connection is kept open for reuse.", Help: "Zero or below uses the default.", Group: GroupChatApps, Order: 1722, Apply: Restart, Advanced: true, Env: "ICEBATH_GATEWAY_HTTPX_KEEPALIVE_EXPIRY"}, Default: 2 * time.Second})
How long an idle chat app connection is kept open for reuse
var GatewayHTTPMaxKeepalive = Register(&Int{Meta: Meta{Key: "gateway.http_max_keepalive", Label: "Chat idle connections", Short: "Most idle connections each chat app keeps open for reuse.", Group: GroupChatApps, Order: 1723, Apply: Restart, Advanced: true, Env: "ICEBATH_GATEWAY_HTTPX_MAX_KEEPALIVE"}, Default: 10, Min: at(1), Unit: "connections", DefaultBelow: true})
Most idle connections each chat app keeps open for reuse
var GatewayIdpClientID = Register(&String{Meta: Meta{Key: "gateway.idp.client_id", Label: "Relay sign-in client", Short: "Client ID for signing in to the relay's identity provider.", Group: GroupChatApps, Order: 1724, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_IDP_CLIENT_ID"}})
Client ID for signing in to the relay's identity provider
var GatewayIdpClientSecret = Register(&String{Meta: Meta{Key: "gateway.idp.client_secret", Label: "Relay sign-in secret", Short: "Client secret for signing in to the relay's identity provider.", Group: GroupChatApps, Order: 1725, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_IDP_CLIENT_SECRET"}, Masked: true})
Client secret for signing in to the relay's identity provider
var GatewayIdpScope = Register(&String{Meta: Meta{Key: "gateway.idp.scope", Label: "Relay sign-in scope", Short: "Scope requested when signing in to the relay's identity provider.", Group: GroupChatApps, Order: 1726, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_IDP_SCOPE"}})
Scope requested when signing in to the relay's identity provider
var GatewayIdpTokenURL = Register(&String{Meta: Meta{Key: "gateway.idp.token_url", Label: "Relay sign-in address", Short: "Token address of the identity provider the relay trusts.", Help: "Alone it names an endpoint that hands out tokens without a client.", Group: GroupChatApps, Order: 1727, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_IDP_TOKEN_URL"}})
Token address of the identity provider the relay trusts
var GatewayLoopWatchdog = Register(&Bool{Meta: Meta{Key: "gateway.loop_watchdog", Label: "Hang watchdog", Short: "Detect a frozen background service and restart it.", Group: GroupChatApps, Order: 1730, Apply: Restart, Advanced: true}, Default: true})
Detect a frozen background service and restart it
var GatewayLoopWatchdogMaxStrikes = Register(&Int{Meta: Meta{Key: "gateway.loop_watchdog_max_strikes", Label: "Watchdog strikes", Short: "Failed health probes in a row before the watchdog acts.", Group: GroupChatApps, Order: 1740, Apply: Restart, Advanced: true}, Default: 3, Unit: "probes", Min: at(1), Max: at(1000)})
Failed health probes in a row before the watchdog acts
var GatewayLoopWatchdogProbeIntervalS = Register(&Duration{Meta: Meta{Key: "gateway.loop_watchdog_probe_interval_s", Label: "Watchdog interval", Short: "Time between watchdog health probes.", Group: GroupChatApps, Order: 1750, Apply: Restart, Advanced: true}, Default: 30 * time.Second, Min: at(time.Second), Max: at(time.Hour)})
Time between watchdog health probes
var GatewayLoopWatchdogProbeTimeoutS = Register(&Duration{Meta: Meta{Key: "gateway.loop_watchdog_probe_timeout_s", Label: "Watchdog probe wait", Short: "How long a health probe may take before it counts as failed.", Group: GroupChatApps, Order: 1760, Apply: Restart, Advanced: true}, Default: 10 * time.Second, Min: at(time.Second), Max: at(10 * time.Minute)})
How long a health probe may take before it counts as failed
var GatewayManagedWorkers = Register(&Bool{Meta: Meta{Key: "gateway.managed_workers", Label: "Managed workers", Short: "Run chat sessions in separate worker processes under a fixed policy.", Group: GroupChatApps, Order: 1770, Advanced: true}, Default: false})
Run chat sessions in separate worker processes under a fixed policy
var GatewayMaxInboundMediaBytes = Register(&Int{Meta: Meta{Key: "gateway.max_inbound_media_bytes", Label: "Incoming file limit", Short: "Largest file accepted from a chat message.", Group: GroupChatApps, Order: 1780, Advanced: true}, Default: 134217728, Unit: "bytes"})
Largest file accepted from a chat message
var GatewayMediaDeliveryAllowDirs = Register(&List{Meta: Meta{Key: "gateway.media_delivery_allow_dirs", Label: "Sendable folders", Short: "Extra folders whose files may be sent to chats.", Help: "Files outside allowed folders are dropped.", Group: GroupChatApps, Order: 1790, Apply: Restart, Advanced: true}})
Extra folders whose files may be sent to chats
var GatewayMessageTimestampsEnabled = Register(&Bool{Meta: Meta{Key: "gateway.message_timestamps.enabled", Label: "Message timestamps", Short: "Show the agent the time each chat message was sent.", Group: GroupChatApps, Order: 1800, Advanced: true}, Default: false})
Show the agent the time each chat message was sent
var GatewayMultiplexProfiles = Register(&Bool{Meta: Meta{Key: "gateway.multiplex_profiles", Label: "Merge profiles", Short: "Serve every profile from one background service.", Group: GroupChatApps, Order: 1810, Advanced: true}, Default: true})
Serve every profile from one background service
var GatewayOnAllAdaptersDown = Register(&Enum{Meta: Meta{Key: "gateway.on_all_adapters_down", Label: "All chats down", Short: "What the background service does once every chat app has dropped.", Group: GroupChatApps, Order: 2000, Advanced: true, Apply: Restart}, Default: "exit", Values: []Choice{{Value: "exit", Label: "Exit", Meaning: "Stop the background service."}, {Value: "stay_alive", Label: "Keep running", Meaning: "Keep running and keep reconnecting."}}})
What the background service does once every chat app has disconnected
var GatewayPlatformConnectTimeout = Register(&Duration{Meta: Meta{Key: "gateway.platform_connect_timeout", Label: "Chat connect wait", Short: "How long each chat app gets to connect at startup.", Group: GroupChatApps, Order: 1820, Apply: Restart, Advanced: true}, Default: 30 * time.Second})
How long each chat app gets to connect at startup
var GatewayProfileRoutes = Register(&List{Meta: Meta{Key: "gateway.profile_routes", Label: "Profile routes", Short: "Rules that send particular chats to a particular profile.", Help: "Each entry names a chat and the profile that handles it.", Group: GroupChatApps, Order: 1830, Apply: Restart, Advanced: true}})
Rules that send particular chats to a particular profile
var GatewayProxyUrl = Register(&String{Meta: Meta{Key: "gateway.proxy_url", Label: "Remote agent", Short: "Address of an icebath API server that answers the chats instead.", Help: "Chat apps still connect from here and every turn runs on that server. Empty answers here.", Group: GroupChatApps, Order: 1840, Advanced: true, Env: "GATEWAY_PROXY_URL"}, Default: ""})
Address of a remote icebath API server that answers the chats in place of this one
var GatewayRelayDisplayName = Register(&String{Meta: Meta{Key: "gateway.relay_display_name", Label: "Relay agent name", Short: "Name the relay shows for this agent; blank uses the skin's agent name.", Group: GroupChatApps, Order: 1841, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_DISPLAY_NAME"}})
Name the relay shows for this agent
var GatewayRelayEndpoint = Register(&String{Meta: Meta{Key: "gateway.relay_endpoint", Label: "Relay inbound address", Short: "Public address the relay sends messages to; blank for outbound only.", Group: GroupChatApps, Order: 1842, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_ENDPOINT"}})
Public address the relay sends messages to
var GatewayRelayID = Register(&String{Meta: Meta{Key: "gateway.relay_id", Label: "Relay service ID", Short: "ID this background service enrolled with on the relay.", Help: "Enrolling writes it to the profile's .env.", Group: GroupChatApps, Order: 1843, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_ID"}})
ID this background service enrolled with on the relay
var GatewayRelayInstanceID = Register(&String{Meta: Meta{Key: "gateway.relay_instance_id", Label: "Relay instance", Short: "Stable instance ID sent to the relay when this service enrolls.", Group: GroupChatApps, Order: 1844, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_INSTANCE_ID"}})
Stable instance ID sent to the relay when this service enrolls
var GatewayRelayPlatforms = Register(&List{Meta: Meta{Key: "gateway.relay_platforms", Label: "Relay chat apps", Short: "Chat apps the relay fronts for this service, such as discord.", Group: GroupChatApps, Order: 1845, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_PLATFORMS"}})
Chat apps the relay fronts for this service
var GatewayRelayRouteKeys = Register(&List{Meta: Meta{Key: "gateway.relay_route_keys", Label: "Relay routes", Short: "Route keys this service claims on the relay, such as server IDs.", Group: GroupChatApps, Order: 1846, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_ROUTE_KEYS"}})
Route keys this service claims on the relay
var GatewayRelaySecret = Register(&String{Meta: Meta{Key: "gateway.relay_secret", Label: "Relay secret", Short: "Secret this background service proves itself with on the relay.", Help: "Enrolling writes it to the profile's .env.", Group: GroupChatApps, Order: 1847, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_SECRET"}, Masked: true})
Secret this background service proves itself with on the relay
var GatewayRelayURL = Register(&String{Meta: Meta{Key: "gateway.relay_url", Label: "Relay address", Short: "Address of the relay connector this service dials for chat apps.", Group: GroupChatApps, Order: 1848, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_URL"}})
Address of the relay connector this service dials
var GatewayRelayWakeURL = Register(&String{Meta: Meta{Key: "gateway.relay_wake_url", Label: "Relay wake address", Short: "Address the relay calls to wake this machine after an idle suspend.", Group: GroupChatApps, Order: 1849, Apply: Restart, Advanced: true, Env: "GATEWAY_RELAY_WAKE_URL"}})
Address the relay calls to wake this machine after an idle suspend
var GatewayResetTriggers = Register(&List{Meta: Meta{Key: "gateway.reset_triggers", Label: "Reset words", Short: "Messages that start a new conversation in a chat app.", Help: "A message that is exactly one of these, in any letter case, works like /new.", Group: GroupChatApps, Order: 3997, Advanced: true}, Default: []any{"/new", "/reset"}})
Messages that start a new conversation
var GatewayRespawnStormMaxStarts = Register(&Int{Meta: Meta{Key: "gateway.respawn_storm.max_starts", Label: "Restart storm starts", Short: "Starts allowed in the window before startup is delayed.", Help: "Zero turns the check off. The matching environment variable wins.", Group: GroupChatApps, Order: 1850, Apply: Restart, Advanced: true, Env: "ICEBATH_GATEWAY_MAX_STARTS"}, Default: 5, Unit: "starts"})
Starts allowed in the window before startup is delayed
var GatewayRespawnStormWindowSeconds = Register(&Duration{Meta: Meta{Key: "gateway.respawn_storm.window_seconds", Label: "Restart storm window", Short: "Time span over which service starts are counted.", Help: "The matching environment variable wins.", Group: GroupChatApps, Order: 1860, Apply: Restart, Advanced: true, Env: "ICEBATH_GATEWAY_START_WINDOW_S"}, Default: 2 * time.Minute})
Time span over which service starts are counted
var GatewayRestartLoopGuardMaxGapSeconds = Register(&Duration{Meta: Meta{Key: "gateway.restart_loop_guard.max_gap_seconds", Label: "Restart loop gap", Short: "Longest gap between restarts that still counts as a loop.", Group: GroupChatApps, Order: 1870, Advanced: true}, Default: 5 * time.Minute})
Longest gap between restarts that still counts as a loop
var GatewayRestartLoopGuardMaxRestarts = Register(&Int{Meta: Meta{Key: "gateway.restart_loop_guard.max_restarts", Label: "Restart loop count", Short: "Restarts in the window before the loop guard stops them.", Group: GroupChatApps, Order: 1880, Advanced: true}, Default: 3, Unit: "restarts"})
Restarts in the window before the loop guard stops them
var GatewayRestartLoopGuardWindowSeconds = Register(&Duration{Meta: Meta{Key: "gateway.restart_loop_guard.window_seconds", Label: "Restart loop window", Short: "Time span over which restarts are counted.", Group: GroupChatApps, Order: 1890, Advanced: true}, Default: time.Minute})
Time span over which restarts are counted
var GatewayRoomLinkURL = Register(&String{Meta: Meta{Key: "gateway.room_link_url", Label: "Room link address", Short: "Address other machines use to reach the rooms shared from here.", Help: "Plain http is allowed only on this machine. A named profile without its own takes the main profile's.", Group: GroupChatApps, Order: 2010, Advanced: true}, Null: "rooms are not offered to other machines"})
Address other machines use to reach this machine's shared rooms
var GatewayScaleToZeroEnabled = Register(&Bool{Meta: Meta{Key: "gateway.scale_to_zero.enabled", Label: "Idle suspend", Short: "Suspend this hosted machine once the service sits idle.", Help: "Only when every chat app goes through the relay and a wake address is registered.", Group: GroupChatApps, Order: 1895, Apply: Restart, Advanced: true, Env: "ICEBATH_SCALE_TO_ZERO"}})
Suspend a hosted relay-only machine once the service sits idle
var GatewayScaleToZeroIdleTimeoutMinutes = Register(&Duration{Meta: Meta{Key: "gateway.scale_to_zero.idle_timeout_minutes", Label: "Idle stop delay", Short: "How long the service waits with no work before it stops itself.", Group: GroupChatApps, Order: 1900, Advanced: true}, Default: 2 * time.Minute, Unit: time.Minute})
How long the service waits with no work before it stops itself
var GatewayServiceInstallChoice = Register(&Enum{Meta: Meta{Key: "gateway.service_install_choice", Label: "Service choice", Short: "Your answer about installing the background service.", Help: "Set by setup. Change it only to be asked again.", Group: GroupChatApps, Order: 1910, Advanced: true}, Default: "", Values: []Choice{{Value: "install", Label: "Install", Meaning: "Run as a login service."}, {Value: "decline", Label: "Decline", Meaning: "Do not install a service."}}, Null: "not asked yet"})
Your answer about installing the background service
var GatewaySignalInterruptGraceTimeout = Register(&Duration{Meta: Meta{Key: "gateway.signal_interrupt_grace_timeout", Label: "Stop grace time", Short: "How long a running turn gets to stop when the service is signaled.", Group: GroupChatApps, Order: 1920, Advanced: true}, Default: time.Second})
How long a running turn gets to stop when the service is signaled
var GatewayStandalone = Register(&Bool{Meta: Meta{Key: "gateway.standalone", Label: "Own service", Short: "Run this profile's own background service instead of sharing one.", Help: "Older option. Merge profiles is the better choice.", Group: GroupChatApps, Order: 1930, Advanced: true}, Default: false})
Run this profile's own background service instead of sharing one
var GatewayStartupWatchdog = Register(&Bool{Meta: Meta{Key: "gateway.startup_watchdog", Label: "Startup watchdog", Short: "Restart the service if it never finishes starting.", Group: GroupChatApps, Order: 1940, Apply: Restart, Advanced: true, Env: "ICEBATH_STARTUP_WATCHDOG"}, Default: true})
Restart the service if it never finishes starting
var GatewayStartupWatchdogTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "gateway.startup_watchdog_timeout_seconds", Label: "Startup time limit", Short: "How long startup may take before the watchdog acts.", Group: GroupChatApps, Order: 1950, Apply: Restart, Advanced: true, Env: "ICEBATH_STARTUP_WATCHDOG_TIMEOUT_S"}, Default: 5 * time.Minute})
How long startup may take before the watchdog acts
var GatewayStrict = Register(&Bool{Meta: Meta{Key: "gateway.strict", Label: "Strict file sending", Short: "Refuse to send files unless their folder is explicitly allowed.", Group: GroupChatApps, Order: 1960, Apply: Restart, Advanced: true}, Default: false})
Refuse to send files unless their folder is explicitly allowed
var GatewaySystemdWatchdogSeconds = Register(&Duration{Meta: Meta{Key: "gateway.systemd_watchdog_seconds", Label: "System watchdog time", Short: "Seconds between liveness pings to the system service manager.", Group: GroupChatApps, Order: 1970, Apply: Restart, Advanced: true}, Max: at(2147483647 * time.Second), Null: "off"})
Seconds between liveness pings to the system service manager
var GatewayThreadSessionsPerUser = Register(&Bool{Meta: Meta{Key: "gateway.thread_sessions_per_user", Label: "Thread per person", Short: "In threads, keep a separate conversation per person.", Group: GroupChatApps, Order: 3992, Advanced: true, Apply: Restart}})
One conversation per person in threads
var GatewayTrustEnv = Register(&Bool{Meta: Meta{Key: "gateway.trust_env", Label: "Use proxy settings", Short: "Honor proxy and certificate environment variables for chat apps.", Group: GroupChatApps, Order: 1980, Advanced: true}, Default: true})
Honor proxy and certificate environment variables for chat apps
var GatewayTrustRecentFiles = Register(&Bool{Meta: Meta{Key: "gateway.trust_recent_files", Label: "Trust recent files", Short: "Allow sending just-created files from outside allowed folders.", Group: GroupChatApps, Order: 1990, Apply: Restart, Advanced: true}, Default: true})
Allow sending just-created files from outside allowed folders
var GatewayTrustRecentFilesSeconds = Register(&Duration{Meta: Meta{Key: "gateway.trust_recent_files_seconds", Label: "Recent file window", Short: "How recent a file must be to count as just created.", Group: GroupChatApps, Order: 2000, Apply: Restart, Advanced: true}, Default: 10 * time.Minute})
How recent a file must be to count as just created
What happens when a stranger writes to the bot
Reply sent to strangers when they are declined
var GatewayUnmanagedIdleExitSeconds = Register(&Duration{Meta: Meta{Key: "gateway.unmanaged_idle_exit_seconds", Label: "Idle exit time", Short: "A hand-started service quits after this long with no work.", Help: "Zero never quits.", Group: GroupChatApps, Order: 2010, Advanced: true}, Default: 10 * time.Minute})
A hand-started service quits after this long with no work
var GatewayWriteSessionsJson = Register(&Bool{Meta: Meta{Key: "gateway.write_sessions_json", Label: "Write session index", Short: "Keep a readable index file of chat sessions.", Group: GroupChatApps, Order: 2020, Apply: Restart, Advanced: true}, Default: true})
Keep a readable index file of chat sessions
var GoalsMaxTurns = Register(&Int{Meta: Meta{Key: "goals.max_turns", Label: "Goal turn limit", Short: "Most turns an active goal may use.", Group: GroupAgent, Order: 1760, Advanced: true}, Default: 20, Unit: "turns"})
Most turns an active goal may use
var GoogleChatAllowAllUsers = Register(&Bool{Meta: Meta{Key: "google_chat.allow_all_users", Label: "Allow everyone", Short: "Google Chat: let anyone use the bot.", Group: GroupChatApps, Order: 4110, Advanced: true, Env: "GOOGLE_CHAT_ALLOW_ALL_USERS"}, Default: false})
Google Chat: anyone may use the bot
var GoogleChatAllowedUsers = Register(&List{Meta: Meta{Key: "google_chat.allowed_users", Label: "Allowed users", Short: "Google Chat: people allowed to use the bot, by email or user name.", Help: "A star allows everyone.", Group: GroupChatApps, Order: 4100, Advanced: true, Env: "GOOGLE_CHAT_ALLOWED_USERS"}})
Google Chat: people allowed to use the bot, by email or user name
var GoogleChatBootstrapSpaces = Register(&List{Meta: Meta{Key: "google_chat.bootstrap_spaces", Label: "Lookup spaces", Short: "Google Chat: spaces searched for the user ID of the bot.", Help: "The home space is searched first.", Group: GroupChatApps, Order: 4140, Advanced: true, Apply: Restart, Env: "GOOGLE_CHAT_BOOTSTRAP_SPACES"}})
Google Chat: spaces searched for the user ID of the bot
var GoogleChatDebugRaw = Register(&Bool{Meta: Meta{Key: "google_chat.debug_raw", Label: "Log raw events", Short: "Google Chat: write each event to the debug log, secrets removed.", Group: GroupChatApps, Order: 4150, Advanced: true, Apply: Restart, Env: "GOOGLE_CHAT_DEBUG_RAW"}, Default: false})
Google Chat: each event written to the debug log, secrets removed
var GoogleChatMaxBytes = Register(&Int{Meta: Meta{Key: "google_chat.max_bytes", Label: "Work in hand", Short: "Google Chat: size of messages in work above which fetching waits.", Group: GroupChatApps, Order: 4130, Advanced: true, Apply: Restart, Env: "GOOGLE_CHAT_MAX_BYTES"}, Default: 16 * 1024 * 1024, Min: at(1), Unit: "bytes"})
Google Chat: size of the messages in work above which fetching waits
var GoogleChatMaxMessages = Register(&Int{Meta: Meta{Key: "google_chat.max_messages", Label: "Messages per fetch", Short: "Google Chat: messages fetched from the subscription per request.", Group: GroupChatApps, Order: 4120, Advanced: true, Apply: Restart, Env: "GOOGLE_CHAT_MAX_MESSAGES"}, Default: 1, Min: at(1), Unit: "messages"})
Google Chat: messages fetched from the subscription per request
var HomeassistantCooldown = Register(&Duration{Meta: Meta{Key: "homeassistant.cooldown_seconds", Label: "Report pause", Short: "Home Assistant: least time between two reports about one entity.", Group: GroupChatApps, Order: 4240, Advanced: true, Apply: Restart}, Default: 30 * time.Second, Min: at(time.Duration(0))})
Home Assistant: least time between two reports about one entity
var HomeassistantIgnoreEntities = Register(&List{Meta: Meta{Key: "homeassistant.ignore_entities", Label: "Ignored entities", Short: "Home Assistant: entities whose changes never reach the agent.", Group: GroupChatApps, Order: 4220, Advanced: true, Apply: Restart}})
Home Assistant: entities whose changes never reach the agent
var HomeassistantWatchAll = Register(&Bool{Meta: Meta{Key: "homeassistant.watch_all", Label: "Watch everything", Short: "Home Assistant: send every change when nothing is watched by name.", Group: GroupChatApps, Order: 4230, Advanced: true, Apply: Restart}, Default: false})
Home Assistant: every change reaches the agent when nothing is watched by name
var HomeassistantWatchDomains = Register(&List{Meta: Meta{Key: "homeassistant.watch_domains", Label: "Watched kinds", Short: "Home Assistant: kinds of device whose changes reach the agent.", Help: "The part of an entity ID before the dot, such as light or climate.", Group: GroupChatApps, Order: 4200, Advanced: true, Apply: Restart}})
Home Assistant: kinds of device whose changes reach the agent
var HomeassistantWatchEntities = Register(&List{Meta: Meta{Key: "homeassistant.watch_entities", Label: "Watched entities", Short: "Home Assistant: single entities whose changes reach the agent.", Group: GroupChatApps, Order: 4210, Advanced: true, Apply: Restart}})
Home Assistant: single entities whose changes reach the agent
var Hooks = Register(&Map{Meta: Meta{Key: "hooks", Label: "Shell hooks", Short: "Commands to run on agent events, grouped by event name.", Help: "Each event holds a list of hook definitions. Unknown event names are ignored with a warning.", Group: GroupTools, Order: 1470, Advanced: true}})
Commands to run on agent events, grouped by event name
var HooksAutoAccept = Register(&Bool{Meta: Meta{Key: "hooks_auto_accept", Label: "Auto-accept hooks", Short: "Approve shell hooks without asking first.", Help: "Hooks run commands on your machine, so only enable this for trusted configs.", Group: GroupSafety, Order: 1110, Advanced: true, Env: "ICEBATH_ACCEPT_HOOKS"}, Default: false})
Approve shell hooks without asking first
var HooksOutputSpillDirectory = Register(&Path{Meta: Meta{Key: "hooks.output_spill.directory", Label: "Hook output folder", Short: "Folder long hook output is saved in.", Help: "Empty uses hook_outputs in the icebath home folder.", Group: GroupTools, Order: 1475, Advanced: true}, Default: ""})
Folder long hook output is saved in
var HooksOutputSpillEnabled = Register(&Bool{Meta: Meta{Key: "hooks.output_spill.enabled", Label: "Save long hook output", Short: "Save long hook and plugin output to a file and keep a preview.", Group: GroupTools, Order: 1471, Advanced: true}, Default: true})
Save long hook and plugin output to a file and keep a preview
var HooksOutputSpillMaxChars = Register(&Int{Meta: Meta{Key: "hooks.output_spill.max_chars", Label: "Hook output limit", Short: "Length above which hook output is saved to a file.", Group: GroupTools, Order: 1472, Advanced: true}, Default: 10000, Unit: "chars", Min: at(1), DefaultBelow: true})
Length above which hook output is saved to a file
var HooksOutputSpillPreviewHead = Register(&Int{Meta: Meta{Key: "hooks.output_spill.preview_head", Label: "Preview start", Short: "Characters from the start of saved hook output kept in the preview.", Group: GroupTools, Order: 1473, Advanced: true}, Default: 500, Unit: "chars", Min: at(0), DefaultBelow: true})
Characters from the start of saved hook output kept in the preview
var HooksOutputSpillPreviewTail = Register(&Int{Meta: Meta{Key: "hooks.output_spill.preview_tail", Label: "Preview end", Short: "Characters from the end of saved hook output kept in the preview.", Group: GroupTools, Order: 1474, Advanced: true}, Default: 500, Unit: "chars", Min: at(0), DefaultBelow: true})
Characters from the end of saved hook output kept in the preview
var HostedRoomsDiscussionMaxMessages = Register(&Int{Meta: Meta{Key: "hosted_rooms.discussion.max_messages", Label: "Room reply limit", Short: "Most messages the agents may post in one room discussion.", Group: GroupChatApps, Order: 2030, Advanced: true}, Default: 10, Unit: "messages", Min: at(1)})
Most messages the agents may post in one room discussion
var HostedRoomsDiscussionMaxRounds = Register(&Int{Meta: Meta{Key: "hosted_rooms.discussion.max_rounds", Label: "Room discussion rounds", Short: "Most rounds of replies in one room discussion.", Group: GroupChatApps, Order: 2040, Advanced: true}, Default: 3, Unit: "rounds", Min: at(1)})
Most rounds of replies in one room discussion
var HumanDelay = Register(&Enum{Meta: Meta{Key: "human_delay.mode", Label: "Human-like delay", Short: "Wait a moment before replying in chat apps, like a person typing.", Group: GroupChatApps, Order: 30, Apply: Restart}, Default: "off", Values: []Choice{ {"off", "Off", "Reply at once."}, {"natural", "Natural", "A short random pause."}, {"custom", "Custom", "A pause between your own minimum and maximum."}, }})
Pause before chat app replies
var HumanDelayMaxMs = Register(&Duration{Meta: Meta{Key: "human_delay.max_ms", Label: "Longest typing pause", Short: "Longest pause before a reply when custom pacing is on.", Group: GroupChatApps, Order: 2050, Apply: Restart, Advanced: true}, Default: 2500 * time.Millisecond, Unit: time.Millisecond})
Longest pause before a reply when custom pacing is on
var HumanDelayMinMs = Register(&Duration{Meta: Meta{Key: "human_delay.min_ms", Label: "Shortest typing pause", Short: "Shortest pause before a reply when custom pacing is on.", Group: GroupChatApps, Order: 2060, Apply: Restart, Advanced: true}, Default: 800 * time.Millisecond, Unit: time.Millisecond})
Shortest pause before a reply when custom pacing is on
var ImageGenMaxParallelRequests = Register(&Int{Meta: Meta{Key: "image_gen.max_parallel_requests", Label: "Pictures at once", Short: "Pictures drawn at the same time when the agent asks for several.", Group: GroupMedia, Order: 12, Advanced: true}, Default: 4, Min: at(1), Max: at(8)})
Pictures drawn at the same time when the agent asks for several
var ImageGenModel = Register(&String{Meta: Meta{Key: "image_gen.model", Label: "Image model", Short: "Model the image service draws with.", Help: "Empty uses the service's default.", Group: GroupMedia, Order: 11}})
Image model of the image service
var ImageGenProvider = Register(&Enum{Meta: Meta{Key: "image_gen.provider", Label: "Image generation", Short: "Which service draws pictures when the agent makes an image.", Group: GroupMedia, Order: 10}, Open: true, Values: []Choice{ {"", "Automatic", "The first service with a key."}, {"fal", "FAL", ""}, {"openai", "OpenAI", ""}, {"openai-codex", "OpenAI via Codex", "Uses your Codex login."}, {"xai", "xAI", ""}, {"openrouter", "OpenRouter", ""}, {"deepinfra", "DeepInfra", ""}, {"krea", "Krea", ""}, {"meta-ai", "Meta AI", ""}, }})
Service the agent draws pictures with
var ImageInput = Register(&Enum{Meta: Meta{Key: "agent.image_input_mode", Label: "Image input", Short: "How pictures you attach reach the model.", Group: GroupMedia, Order: 20, Apply: NextTurn}, Default: "auto", Values: []Choice{ {"auto", "Automatic", "Send the picture when the model can see."}, {"native", "Send picture", "Always send the picture itself."}, {"text", "Describe it", "A helper model describes it in words."}, }})
How pictures you attach reach the model
var InlineImages = Register(&Enum{Meta: Meta{Key: "display.inline_images", Label: "Show images inline", Short: "Draw pictures inside the transcript instead of as links.", Group: GroupMedia, Order: 30}, Default: "auto", On: "auto", Off: "off", Values: []Choice{ {"auto", "Automatic", "Best method this terminal supports."}, {"kitty", "Graphics", "Full pictures in terminals that support them."}, {"unicode", "Blocks", "Coloured text blocks, works everywhere."}, {"off", "Off", "No pictures."}, }})
Pictures drawn inside the terminal
var IrcAllowAllUsers = Register(&Bool{Meta: Meta{Key: "irc.allow_all_users", Label: "Allow everyone", Short: "IRC: let anyone talk to the bot.", Group: GroupChatApps, Order: 4320, Advanced: true, Env: "IRC_ALLOW_ALL_USERS"}, Default: false})
IRC: anyone may talk to the bot
var IrcAllowedUsers = Register(&List{Meta: Meta{Key: "irc.allowed_users", Label: "Allowed nicknames", Short: "IRC: nicknames allowed to talk to the bot.", Help: "Letter case does not matter.", Group: GroupChatApps, Order: 4310, Advanced: true, Apply: Restart, Env: "IRC_ALLOWED_USERS"}})
IRC: nicknames allowed to talk to the bot
var IrcMaxMessageLength = Register(&Int{Meta: Meta{Key: "irc.max_message_length", Label: "Line length", Short: "IRC: longest line sent before a reply is split.", Group: GroupChatApps, Order: 4330, Advanced: true, Apply: Restart}, Default: 450, Min: at(1), Unit: "characters"})
IRC: longest line sent before a reply is split
var IrcUseTLS = Register(&Bool{Meta: Meta{Key: "irc.use_tls", Label: "Encrypt connection", Short: "IRC: encrypt the connection to the server.", Group: GroupChatApps, Order: 4300, Advanced: true, Apply: Restart, Env: "IRC_USE_TLS"}, Default: true})
IRC: the connection to the server is encrypted
var KanbanAutoDecompose = Register(&Bool{Meta: Meta{Key: "kanban.auto_decompose", Label: "Auto split tasks", Short: "Splits new board tasks into smaller ones automatically.", Group: GroupAgent, Order: 1770, Advanced: true}, Default: true})
Splits new board tasks into smaller ones automatically
var KanbanAutoDecomposePerTick = Register(&Int{Meta: Meta{Key: "kanban.auto_decompose_per_tick", Label: "Splits per pass", Short: "Most tasks split in one check of the board.", Group: GroupAgent, Order: 1780, Advanced: true}, Default: 3, Min: at(1)})
Most tasks split in one check of the board
var KanbanAutoPromoteChildren = Register(&Bool{Meta: Meta{Key: "kanban.auto_promote_children", Label: "Auto start subtasks", Short: "Moves new subtasks forward as soon as they are made.", Group: GroupAgent, Order: 1790, Advanced: true}, Default: true})
Moves new subtasks forward as soon as they are made
var KanbanAutoSubscribeOnCreate = Register(&Bool{Meta: Meta{Key: "kanban.auto_subscribe_on_create", Label: "Follow new tasks", Short: "Follows a task for you when you create it.", Group: GroupAgent, Order: 1800, Advanced: true}, Default: true})
Follows a task for you when you create it
var KanbanBusyTimeoutMs = Register(&Duration{Meta: Meta{Key: "kanban.busy_timeout_ms", Label: "Board lock wait", Short: "How long a board database call waits while another holds the lock.", Group: GroupAgent, Order: 1802, Advanced: true, Env: "ICEBATH_KANBAN_BUSY_TIMEOUT_MS"}, Default: 120 * time.Second, Unit: time.Millisecond, Min: at(time.Millisecond)})
How long a board database call waits while another holds the lock
var KanbanClaimTtlSeconds = Register(&Duration{Meta: Meta{Key: "kanban.claim_ttl_seconds", Label: "Task claim time", Short: "How long a worker's claim on a task lasts before it must renew it.", Group: GroupAgent, Order: 1804, Advanced: true, Env: "ICEBATH_KANBAN_CLAIM_TTL_SECONDS"}, Default: 15 * time.Minute, Min: at(time.Second)})
How long a worker's claim on a task lasts before the worker must renew it
var KanbanCrashGraceSeconds = Register(&Duration{Meta: Meta{Key: "kanban.crash_grace_seconds", Label: "Crash grace", Short: "How long a new worker gets before a missing process counts as a crash.", Help: "Zero counts it at once.", Group: GroupAgent, Order: 1806, Advanced: true, Env: "ICEBATH_KANBAN_CRASH_GRACE_SECONDS"}, Default: 30 * time.Second, Min: at(time.Duration(0))})
How long a new worker gets before a missing process counts as a crash
var KanbanDefaultAssignee = Register(&String{Meta: Meta{Key: "kanban.default_assignee", Label: "Default assignee", Short: "Profile that takes tasks nobody was assigned.", Group: GroupAgent, Order: 1810, Advanced: true}, Default: ""})
Profile that takes tasks nobody was assigned
var KanbanDiagnosticsBlockCycleThreshold = Register(&Int{Meta: Meta{Key: "kanban.diagnostics.block_cycle_threshold", Label: "Block cycle warning", Short: "Times a task is blocked again after an unblock before a warning.", Group: GroupAgent, Order: 1812, Advanced: true}, Default: 3, Min: at(1), DefaultBelow: true})
Blocks after an unblock that raise a board health warning
var KanbanDiagnosticsBlockCycleWindowSeconds = Register(&Duration{Meta: Meta{Key: "kanban.diagnostics.block_cycle_window_seconds", Label: "Block cycle window", Short: "Time span in which repeated blocks of one task are counted.", Group: GroupAgent, Order: 1814, Advanced: true}, Default: 24 * time.Hour, Min: at(time.Second), DefaultBelow: true})
Time span the repeated blocks of one task are counted in
var KanbanDiagnosticsBlockedStaleHours = Register(&Duration{Meta: Meta{Key: "kanban.diagnostics.blocked_stale_hours", Label: "Blocked task warning", Short: "How long a task may stay blocked with no reply before a warning.", Group: GroupAgent, Order: 1816, Advanced: true}, Default: 24 * time.Hour, Unit: time.Hour, Min: at(time.Duration(0)), DefaultBelow: true})
How long a task may stay blocked with no reply before a board health warning
var KanbanDiagnosticsCrashThreshold = Register(&Int{Meta: Meta{Key: "kanban.diagnostics.crash_threshold", Label: "Crash warning", Short: "Crashed runs in a row before a task gets a crash warning.", Group: GroupAgent, Order: 1818, Advanced: true}, Default: 2, Min: at(1), DefaultBelow: true})
Crashed runs in a row that raise a board health warning
var KanbanDiagnosticsFailureThreshold = Register(&Int{Meta: Meta{Key: "kanban.diagnostics.failure_threshold", Label: "Failure warning", Short: "Failed runs in a row before a task gets a failure warning.", Group: GroupAgent, Order: 1820, Advanced: true}, Min: at(1), Null: "the task failure limit", DefaultBelow: true})
Failed runs in a row that raise a board health warning
var KanbanDiagnosticsStaleRunningGraceSeconds = Register(&Duration{Meta: Meta{Key: "kanban.diagnostics.stale_running_grace_seconds", Label: "Lost worker warning", Short: "Time past an expired claim before a task with no worker is flagged.", Group: GroupAgent, Order: 1822, Advanced: true}, Default: time.Hour, Min: at(time.Duration(0)), DefaultBelow: true})
Time past an expired claim before a running task with no worker gets a board health warning
var KanbanDiagnosticsStrandedThresholdSeconds = Register(&Duration{Meta: Meta{Key: "kanban.diagnostics.stranded_threshold_seconds", Label: "Waiting task warning", Short: "How long an assigned ready task may wait unclaimed before a warning.", Group: GroupAgent, Order: 1824, Advanced: true}, Default: 30 * time.Minute, Min: at(time.Duration(0)), DefaultBelow: true})
How long an assigned ready task may wait unclaimed before a board health warning
var KanbanDispatchInGateway = Register(&Bool{Meta: Meta{Key: "kanban.dispatch_in_gateway", Label: "Board in service", Short: "Starts board tasks from the background service.", Group: GroupAgent, Order: 1830, Advanced: true, Apply: Restart}, Default: true})
Starts board tasks from the background service
var KanbanDispatchIntervalSeconds = Register(&Duration{Meta: Meta{Key: "kanban.dispatch_interval_seconds", Label: "Board check interval", Short: "How often the board looks for tasks to start.", Help: "At least one second.", Group: GroupAgent, Order: 1840, Advanced: true}, Default: time.Minute, Min: at(time.Second)})
How often the board looks for tasks to start
var KanbanDispatchProfiles = Register(&List{Meta: Meta{Key: "kanban.dispatch_profiles", Label: "Allowed profiles", Short: "Profiles allowed to pick up board tasks.", Group: GroupAgent, Order: 1850, Advanced: true}, Null: "any profile"})
Profiles allowed to pick up board tasks
var KanbanDispatchStaleTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "kanban.dispatch_stale_timeout_seconds", Label: "Stale task timeout", Short: "Marks a running task stale after this long without progress.", Help: "Zero turns stale detection off.", Group: GroupAgent, Order: 1860, Advanced: true}, Default: 4 * time.Hour})
Marks a running task stale after this long without progress
var KanbanDoneSubRetentionDays = Register(&Duration{Meta: Meta{Key: "kanban.done_sub_retention_days", Label: "Keep done follows", Short: "How long follows on finished tasks are kept.", Group: GroupAgent, Order: 1870, Advanced: true}, Default: 30 * 24 * time.Hour, Unit: 24 * time.Hour})
How long follows on finished tasks are kept
var KanbanFailureLimit = Register(&Int{Meta: Meta{Key: "kanban.failure_limit", Label: "Task failure limit", Short: "Failures after which a task stops being retried.", Group: GroupAgent, Order: 1880, Advanced: true}, Default: 2, Min: at(1), DefaultBelow: true})
Failures after which a task stops being retried
var KanbanMaxInProgress = Register(&Int{Meta: Meta{Key: "kanban.max_in_progress", Label: "Tasks at once", Short: "Most board tasks running at the same time.", Help: "Must be at least 1.", Group: GroupAgent, Order: 1890, Advanced: true}, Null: "sized to free memory"})
Most board tasks running at the same time
var KanbanMaxInProgressPerProfile = Register(&Int{Meta: Meta{Key: "kanban.max_in_progress_per_profile", Label: "Tasks per profile", Short: "Most running board tasks per profile.", Group: GroupAgent, Order: 1900, Advanced: true}, Null: "no limit"})
Most running board tasks per profile
var KanbanMaxSpawn = Register(&Int{Meta: Meta{Key: "kanban.max_spawn", Label: "Starts per pass", Short: "Most tasks started in one check of the board.", Group: GroupAgent, Order: 1910, Advanced: true}, Null: "no limit"})
Most tasks started in one check of the board
var KanbanNotifyInGateway = Register(&Bool{Meta: Meta{Key: "kanban.notify_in_gateway", Label: "Board alerts", Short: "Sends board updates from the background service.", Group: GroupAgent, Order: 1920, Advanced: true, Apply: Restart}, Default: true})
Sends board updates from the background service
var KanbanOrchestratorProfile = Register(&String{Meta: Meta{Key: "kanban.orchestrator_profile", Label: "Planner profile", Short: "Profile that plans and splits board tasks.", Group: GroupAgent, Order: 1930, Advanced: true}, Default: ""})
Profile that plans and splits board tasks
var KanbanRateLimitCooldownSeconds = Register(&Duration{Meta: Meta{Key: "kanban.rate_limit_cooldown_seconds", Label: "Rate limit pause", Short: "How long a task stopped by a rate limit waits before it starts again.", Help: "Zero starts it on the next check.", Group: GroupAgent, Order: 1935, Advanced: true, Env: "ICEBATH_KANBAN_RATE_LIMIT_COOLDOWN_SECONDS"}, Default: 5 * time.Minute, Min: at(time.Duration(0))})
How long a task stopped by a rate limit waits before it starts again
var KanbanReconcileOrphans = Register(&Bool{Meta: Meta{Key: "kanban.reconcile_orphans", Label: "Recover lost tasks", Short: "Recovers running tasks whose worker has vanished.", Group: GroupAgent, Order: 1940, Advanced: true}, Default: true})
Recovers running tasks whose worker has vanished
var KanbanReviewDispatch = Register(&Bool{Meta: Meta{Key: "kanban.review_dispatch", Label: "Auto start reviews", Short: "Starts review tasks automatically.", Group: GroupAgent, Order: 1950, Advanced: true}, Default: true})
Starts review tasks automatically
var KanbanSpecifyMaxTokens = Register(&Int{Meta: Meta{Key: "kanban.specify_max_tokens", Label: "Spec reply limit", Short: "Most tokens the triage step may write for one task spec.", Group: GroupAgent, Order: 1955, Advanced: true, Env: "ICEBATH_KANBAN_SPECIFY_MAX_TOKENS"}, Default: 6000, Min: at(1500), Unit: "tokens"})
Most tokens the triage step may write for one task spec
var KanbanStopNudge = Register(&Bool{Meta: Meta{Key: "kanban.stop_nudge", Label: "Finish task reminder", Short: "Reminds a task worker to mark its task done before it stops.", Group: GroupAgent, Order: 1955, Advanced: true, Env: "ICEBATH_KANBAN_STOP_NUDGE"}, Default: true})
Reminds a task worker to report its result before it stops
var KanbanTurnRecovery = Register(&Enum{Meta: Meta{Key: "kanban.turn_recovery", Label: "Turn retries", Short: "Times a board worker retries a turn that failed on a passing error.", Help: "Off never retries; more than 10 counts as 10.", Group: GroupAgent, Order: 1957, Advanced: true, Env: "ICEBATH_KANBAN_TURN_RECOVERY", Validate: func(v any) error { w, _ := v.(string) w = strings.ToLower(strings.TrimSpace(w)) if turnRecoveryOff[w] { return nil } if _, err := strconv.Atoi(w); err == nil || errors.Is(err, strconv.ErrRange) { return nil } return errors.New("takes off or a number of retries") }}, Default: "3", Values: []Choice{{Value: "off", Label: "Off", Meaning: "A failed turn is not retried."}}, Open: true})
Times a board worker retries a turn that failed on a passing error
var KanbanWorkerLogBackupCount = Register(&Int{Meta: Meta{Key: "kanban.worker_log_backup_count", Label: "Task log copies", Short: "Old task log files kept after a log rolls over.", Group: GroupAgent, Order: 1960, Advanced: true}, Default: 1, Min: at(0), DefaultBelow: true})
Old task log files kept after a log rolls over
var KanbanWorkerLogRotateBytes = Register(&Int{Meta: Meta{Key: "kanban.worker_log_rotate_bytes", Label: "Task log size", Short: "Size at which a task log rolls over.", Group: GroupAgent, Order: 1970, Advanced: true}, Default: 2097152, Min: at(1), Unit: "bytes", DefaultBelow: true})
Size at which a task log rolls over
var KnownBuiltinToolsets = Register(&Map{Meta: Meta{Key: "known_builtin_toolsets", Label: "Offered toolsets", Short: "Built-in toolsets each app has seen; new ones turn on.", Group: GroupTools, Order: 2991, Advanced: true}})
Built-in toolsets each chat app has already been offered
var KnownPluginToolsets = Register(&Map{Meta: Meta{Key: "known_plugin_toolsets", Label: "Offered plugin tools", Short: "Plugin toolsets each app has seen; new ones turn on.", Group: GroupTools, Order: 2992, Advanced: true}})
Plugin toolsets each chat app has already been offered
var KreaImageCreativity = Register(&Enum{Meta: Meta{Key: "image_gen.krea.creativity", Label: "Krea creativity", Short: "How freely Krea 2 reads your prompt.", Group: GroupMedia, Order: 161, Advanced: true}, Default: "medium", Values: []Choice{{"raw", "Raw", "Your prompt as written."}, {"low", "Low", ""}, {"medium", "Medium", ""}, {"high", "High", "The most freedom."}}})
How freely Krea 2 reads a prompt
var KreaImageModel = Register(&String{Meta: Meta{Key: "image_gen.krea.model", Label: "Krea model", Short: "Model Krea draws with.", Group: GroupMedia, Order: 160, Advanced: true, Env: "KREA_IMAGE_MODEL"}, Null: "Image model, else Krea's default"})
Image model Krea draws with
var KreaImageUpscale = Register(&Bool{Meta: Meta{Key: "image_gen.krea.upscale", Label: "Krea upscale", Short: "Have Krea enlarge each picture it draws.", Group: GroupMedia, Order: 162, Advanced: true}, Null: "the model's default"})
Krea enlarging each picture it draws
var Language = Register(&String{Meta: Meta{Key: "display.language", Label: "Language", Short: "Language of menus, notices and help.", Group: GroupAppearance, Order: 30, Slash: "language"}, Default: "en"})
Language of the interface
var LearnAboutMe = Register(&Bool{Meta: Meta{Key: "memory.user_profile_enabled", Label: "Learn about me", Short: "Let the agent keep a short profile of you and your preferences.", Group: GroupMemory, Order: 20, Apply: NewSession}, Default: true})
Profile of you the agent builds
var LineAllowAllUsers = Register(&Bool{Meta: Meta{Key: "line.allow_all_users", Label: "Allow everyone", Short: "LINE: let anyone talk to the bot.", Group: GroupChatApps, Order: 4440, Advanced: true, Apply: Restart, Env: "LINE_ALLOW_ALL_USERS"}, Default: false})
LINE: anyone may talk to the bot
var LineAllowedGroups = Register(&List{Meta: Meta{Key: "line.allowed_groups", Label: "Allowed groups", Short: "LINE: group IDs the bot answers in.", Group: GroupChatApps, Order: 4460, Advanced: true, Apply: Restart, Env: "LINE_ALLOWED_GROUPS"}})
LINE: group IDs the bot answers in
var LineAllowedRooms = Register(&List{Meta: Meta{Key: "line.allowed_rooms", Label: "Allowed rooms", Short: "LINE: room IDs the bot answers in.", Group: GroupChatApps, Order: 4470, Advanced: true, Apply: Restart, Env: "LINE_ALLOWED_ROOMS"}})
LINE: room IDs the bot answers in
var LineAllowedUsers = Register(&List{Meta: Meta{Key: "line.allowed_users", Label: "Allowed users", Short: "LINE: user IDs allowed to talk to the bot.", Group: GroupChatApps, Order: 4450, Advanced: true, Apply: Restart, Env: "LINE_ALLOWED_USERS"}})
LINE: user IDs allowed to talk to the bot
var LineButtonLabel = Register(&String{Meta: Meta{Key: "line.button_label", Label: "Fetch button label", Short: "LINE: label of the button that fetches a slow reply.", Group: GroupChatApps, Order: 4500, Advanced: true, Apply: Restart, Env: "LINE_BUTTON_LABEL"}, Null: "the built-in text in your language"})
LINE: label of the button that fetches a slow reply
var LineDeliveredText = Register(&String{Meta: Meta{Key: "line.delivered_text", Label: "Already sent text", Short: "LINE: answer when the button is pressed after the reply was sent.", Group: GroupChatApps, Order: 4510, Advanced: true, Apply: Restart, Env: "LINE_DELIVERED_TEXT"}, Null: "the built-in text in your language"})
LINE: answer when the button is pressed after the reply was delivered
var LineExpiredText = Register(&String{Meta: Meta{Key: "line.expired_text", Label: "Lost reply text", Short: "LINE: answer when the button is pressed after the reply was dropped.", Group: GroupChatApps, Order: 4530, Advanced: true, Apply: Restart, Env: "LINE_EXPIRED_TEXT"}, Null: "the built-in text in your language"})
LINE: answer when the button is pressed after the reply was dropped
var LineHost = Register(&String{Meta: Meta{Key: "line.host", Label: "Listen address", Short: "LINE: address the message receiver listens on.", Group: GroupChatApps, Order: 4400, Advanced: true, Apply: Restart, Env: "LINE_HOST"}, Null: "every address of this computer"})
LINE: address the message receiver listens on
var LineInterruptedText = Register(&String{Meta: Meta{Key: "line.interrupted_text", Label: "Stopped turn text", Short: "LINE: answer when the button is pressed after the turn was stopped.", Group: GroupChatApps, Order: 4520, Advanced: true, Apply: Restart, Env: "LINE_INTERRUPTED_TEXT"}, Null: "the built-in text in your language"})
LINE: answer when the button is pressed after the turn was stopped
var LinePendingText = Register(&String{Meta: Meta{Key: "line.pending_text", Label: "Slow reply text", Short: "LINE: message sent with the button when a reply is slow.", Group: GroupChatApps, Order: 4490, Advanced: true, Apply: Restart, Env: "LINE_PENDING_TEXT"}, Null: "the built-in text in your language"})
LINE: message sent with the button when a reply is slow
var LinePort = Register(&Int{Meta: Meta{Key: "line.port", Label: "Listen port", Short: "LINE: port the message receiver listens on.", Group: GroupChatApps, Order: 4410, Advanced: true, Apply: Restart, Env: "LINE_PORT"}, Default: 8646, Min: at(1), Max: at(65535)})
LINE: port the message receiver listens on
var LinePublicURL = Register(&String{Meta: Meta{Key: "line.public_url", Label: "Public address", Short: "LINE: public address LINE reaches the message receiver at.", Help: "Pictures and files are handed to LINE as links under it.", Group: GroupChatApps, Order: 4430, Advanced: true, Apply: Restart, Env: "LINE_PUBLIC_URL"}})
LINE: public address LINE reaches the message receiver at
var LineSlowResponseThreshold = Register(&Duration{Meta: Meta{Key: "line.slow_response_threshold", Label: "Slow reply wait", Short: "LINE: wait before a button to fetch a slow reply is sent.", Help: "Zero never sends the button.", Group: GroupChatApps, Order: 4480, Advanced: true, Apply: Restart, Env: "LINE_SLOW_RESPONSE_THRESHOLD"}, Default: 45 * time.Second, Min: at(time.Duration(0))})
LINE: how long a reply may take before a button to fetch it is sent
var LineWebhookPath = Register(&String{Meta: Meta{Key: "line.webhook_path", Label: "Webhook path", Short: "LINE: path the message receiver answers on.", Group: GroupChatApps, Order: 4420, Advanced: true, Apply: Restart}, Default: "/line/webhook"})
LINE: path the message receiver answers on
var LocalRuntimeBackend = Register(&String{Meta: Meta{Key: "local_runtime.backend", Label: "Local model engine", Short: "Which engine runs local models.", Help: "Auto picks one for this machine.", Group: GroupSystem, Order: 1360, Advanced: true}, Default: "auto"})
Which engine runs local models
var LocalRuntimeDetectPorts = Register(&List{Meta: Meta{Key: "local_runtime.detect_ports", Label: "Local server ports", Short: "Ports checked for an already running local model server.", Group: GroupSystem, Order: 1370, Advanced: true}})
Ports checked for an already running local model server
var LocalRuntimeEnabled = Register(&Bool{Meta: Meta{Key: "local_runtime.enabled", Label: "Run local models", Short: "Start and manage a local model server automatically.", Group: GroupSystem, Order: 1380, Advanced: true}, Default: false})
Start and manage a local model server automatically
var LocalRuntimeModelsMax = Register(&Int{Meta: Meta{Key: "local_runtime.models_max", Label: "Local models loaded", Short: "Most local models kept loaded at once.", Help: "The real limit can be lower when the graphics card cannot fit this many.", Group: GroupSystem, Order: 1390, Advanced: true}, Default: 4})
Most local models kept loaded at once
var LocalRuntimePort = Register(&Int{Meta: Meta{Key: "local_runtime.port", Label: "Local server port", Short: "Port the local model server listens on.", Help: "Zero lets the system choose a free port.", Group: GroupSystem, Order: 1400, Advanced: true}, Default: 0})
Port the local model server listens on
var LoggingBackupCount = Register(&Int{Meta: Meta{Key: "logging.backup_count", Label: "Old logs kept", Short: "How many rotated copies of each log file are kept.", Group: GroupSystem, Order: 1410, Advanced: true, Apply: Restart}, Default: 3})
How many rotated copies of each log file are kept
var LoggingLevel = Register(&Enum{Meta: Meta{Key: "logging.level", Label: "Log detail", Short: "How much the log files record.", Group: GroupSystem, Order: 1420, Advanced: true, Apply: Restart}, Default: "INFO", Values: []Choice{
{Value: "DEBUG", Label: "Debug", Meaning: "Everything, for troubleshooting."},
{Value: "INFO", Label: "Info", Meaning: "Normal activity and problems."},
{Value: "WARNING", Label: "Warning", Meaning: "Only warnings and errors."},
{Value: "ERROR", Label: "Error", Meaning: "Only errors."},
{Value: "CRITICAL", Label: "Critical", Meaning: "Only fatal problems."},
}})
How much the log files record
var LoggingMaxSizeMb = Register(&Int{Meta: Meta{Key: "logging.max_size_mb", Label: "Log file size", Short: "Size at which a log file is rotated.", Group: GroupSystem, Order: 1430, Advanced: true, Apply: Restart}, Default: 5, Unit: "MB"})
Size at which a log file is rotated
var Logins = Register(&Map{Meta: Meta{Key: "logins", Label: "Logins per provider", Short: "Which login each provider uses and what happens when it runs out.", Help: "Manage logins in /logins; a session can still pin its own.", Group: GroupModel, Order: 50, Advanced: true, Apply: NewSession}, Value: &Object{Meta: Meta{Key: "logins.*"}, Fields: []Entry{ &String{Meta: Meta{Key: "default", Label: "Default login", Short: "Login new sessions use, or @rotate for the rotation."}, Null: "the provider picks"}, &Enum{Meta: Meta{Key: "on_exhausted", Label: "When it runs out", Short: "What a pinned login does once its limit is reached."}, Default: "fail", Values: []Choice{ {"fail", "Stop", "Stop and say so."}, {"rotate", "Rotate", "Move on to the next login in the rotation."}, }}, &Enum{Meta: Meta{Key: "strategy", Label: "Rotation order", Short: "Order the logins in the rotation are used in."}, Null: "fill first", Values: loginStrategyChoices}, }}})
Login each provider uses by default and what happens when it runs out, keyed by provider
var LoopsMaxTicks = Register(&Int{Meta: Meta{Key: "loops.max_ticks", Label: "Loop run limit", Short: "Most runs one loop may make.", Help: "Zero means no limit.", Group: GroupAgent, Order: 1980, Advanced: true}, Default: 100, Min: at(0)})
Most runs one loop may make
var LoopsMinIntervalSeconds = Register(&Duration{Meta: Meta{Key: "loops.min_interval_seconds", Label: "Loop shortest gap", Short: "Shortest time allowed between loop runs.", Group: GroupAgent, Order: 1990, Advanced: true}, Default: 30 * time.Second, Min: at(5 * time.Second)})
Shortest time allowed between loop runs
var LoopsSelfPacedCeilingSeconds = Register(&Duration{Meta: Meta{Key: "loops.self_paced_ceiling_seconds", Label: "Self-paced longest gap", Short: "Longest wait a self-paced loop may choose.", Group: GroupAgent, Order: 2000, Advanced: true}, Default: 15 * time.Minute})
Longest wait a self-paced loop may choose
var LoopsSelfPacedFloorSeconds = Register(&Duration{Meta: Meta{Key: "loops.self_paced_floor_seconds", Label: "Self-paced shortest gap", Short: "Shortest wait a self-paced loop may choose.", Group: GroupAgent, Order: 2010, Advanced: true}, Default: time.Minute, Min: at(10 * time.Second)})
Shortest wait a self-paced loop may choose
var LspBrokenRetrySeconds = Register(&Duration{Meta: Meta{Key: "lsp.broken_retry_seconds", Label: "Retry failed servers", Short: "How long to wait before retrying a code server that failed.", Help: "Zero never retries until restart.", Group: GroupSystem, Order: 1440, Advanced: true}, Default: 0})
How long to wait before retrying a code server that failed
var LspEnabled = Register(&Bool{Meta: Meta{Key: "lsp.enabled", Label: "Code checking", Short: "Check edited files for problems using language servers.", Group: GroupSystem, Order: 1450, Advanced: true}, Default: true})
Check edited files for problems using language servers
var LspExcludeRoots = Register(&List{Meta: Meta{Key: "lsp.exclude_roots", Label: "Skip folders", Short: "Folders, as glob patterns, where code checking is never used.", Group: GroupSystem, Order: 1460, Advanced: true}})
Folders, as glob patterns, where code checking is never used
var LspIdleTimeout = Register(&Duration{Meta: Meta{Key: "lsp.idle_timeout", Label: "Server idle time", Short: "How long an unused language server runs before it is stopped.", Group: GroupSystem, Order: 1470, Advanced: true}, Default: 10 * time.Minute})
How long an unused language server runs before it is stopped
var LspInstallStrategy = Register(&Enum{Meta: Meta{Key: "lsp.install_strategy", Label: "Install language servers", Short: "Whether missing language servers are installed for you.", Group: GroupSystem, Order: 1480, Advanced: true}, Default: "auto", Values: []Choice{
{Value: "auto", Label: "Automatic", Meaning: "Install missing servers when needed."},
{Value: "manual", Label: "Manual", Meaning: "Use only servers you installed."},
}})
Whether missing language servers are installed for you
var LspPackageManager = Register(&Enum{Meta: Meta{Key: "lsp.package_manager", Label: "Node package manager", Short: "Tool used to install language servers written for Node.", Group: GroupSystem, Order: 1490, Advanced: true}, Default: "npm", Values: []Choice{
{Value: "npm", Label: "npm", Meaning: "Use npm."},
{Value: "pnpm", Label: "pnpm", Meaning: "Use pnpm."},
{Value: "yarn", Label: "yarn", Meaning: "Use yarn."},
}})
Tool used to install language servers written for Node
var LspServers = Register(&Map{Meta: Meta{Key: "lsp.servers", Label: "Language servers", Short: "Per-server overrides such as custom commands or disabling one.", Group: GroupSystem, Order: 1500, Advanced: true}})
Per-server overrides such as custom commands or disabling one
var LspTrustedWorkspaces = Register(&List{Meta: Meta{Key: "lsp.trusted_workspaces", Label: "Trusted folders", Short: "Extra folders where project-defined checkers may run.", Group: GroupSystem, Order: 1510, Advanced: true}})
Extra folders where project-defined checkers may run
var LspWaitMode = Register(&Enum{Meta: Meta{Key: "lsp.wait_mode", Label: "Check wait mode", Short: "How much to wait for after an edit before reporting problems.", Group: GroupSystem, Order: 1520, Advanced: true}, Default: "document", Values: []Choice{
{Value: "document", Label: "Edited file", Meaning: "Shorter wait for the edited file."},
{Value: "full", Label: "Full", Meaning: "Longer wait for a fuller result."},
}})
How much to wait for after an edit before reporting problems
var LspWaitTimeout = Register(&Duration{Meta: Meta{Key: "lsp.wait_timeout", Label: "Check wait time", Short: "Longest wait for code problems after an edit.", Group: GroupSystem, Order: 1530, Advanced: true}, Default: 5 * time.Second})
Longest wait for code problems after an edit
var LspWarmupTimeout = Register(&Duration{Meta: Meta{Key: "lsp.warmup_timeout", Label: "Code server warmup", Short: "Extra time a new language server gets to start before checks.", Help: "Zero means no extra wait.", Group: GroupSystem, Order: 1540, Advanced: true}, Default: 0})
Extra time a new language server gets to start before checks
var MatrixAllowedRooms = Register(&List{Meta: Meta{Key: "matrix.allowed_rooms", Label: "Allowed rooms", Short: "Matrix: only answer in these room IDs.", Group: GroupChatApps, Order: 2070, Apply: Restart, Advanced: true}})
Matrix: only answer in these room IDs
var MatrixAllowedUsers = Register(&List{Meta: Meta{Key: "matrix.allowed_users", Env: "MATRIX_ALLOWED_USERS", Label: "Allowed people", Short: "Matrix: user IDs allowed to talk to it; * allows everyone.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}})
Matrix: people allowed to talk to it
var MatrixAutoThread = Register(&Bool{Meta: Meta{Key: "matrix.auto_thread", Label: "Auto threads", Short: "Matrix: answer each new conversation in its own thread.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}, Default: true})
Matrix: start a thread for each new conversation
var MatrixDeviceID = Register(&String{Meta: Meta{Key: "matrix.device_id", Env: "MATRIX_DEVICE_ID", Label: "Device ID", Short: "Matrix: device ID the bot signs in as, kept for encryption.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}})
Matrix: device ID the bot signs in as
var MatrixDmMentionThreads = Register(&Bool{Meta: Meta{Key: "matrix.dm_mention_threads", Label: "Threads in DMs", Short: "Matrix: open a thread when mentioned in a direct chat.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}, Default: false})
Matrix: open a thread when someone mentions it in a direct chat
var MatrixFreeResponseRooms = Register(&List{Meta: Meta{Key: "matrix.free_response_rooms", Label: "Free reply rooms", Short: "Matrix: room IDs where it replies without a mention.", Group: GroupChatApps, Order: 2080, Apply: Restart, Advanced: true}})
Matrix: room IDs where it replies without a mention
var MatrixHomeserver = Register(&String{Meta: Meta{Key: "matrix.homeserver", Env: "MATRIX_HOMESERVER", Label: "Homeserver", Short: "Matrix: address of the server the bot account lives on.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}})
Matrix: address of the homeserver the bot account lives on
var MatrixIgnoreUserPatterns = Register(&List{Meta: Meta{Key: "matrix.ignore_user_patterns", Label: "Ignored senders", Short: "Matrix: patterns of user IDs whose messages it ignores.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}})
Matrix: senders it ignores, by pattern
var MatrixMaxMessageLength = Register(&Int{Meta: Meta{Key: "matrix.max_message_length", Label: "Message length", Short: "Matrix: longest message it sends before splitting a reply.", Help: "Unset uses the length the server allows.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}, Unit: "characters", Null: "the server's limit"})
Matrix: longest message it sends before splitting
var MatrixProcessNotices = Register(&Bool{Meta: Meta{Key: "matrix.process_notices", Label: "Read notices", Short: "Matrix: treat notice messages, which bots send, as messages to it.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}, Default: false})
Matrix: read notice messages from other bots
var MatrixRequireMention = Register(&Bool{Meta: Meta{Key: "matrix.require_mention", Label: "Require mention", Short: "Matrix: only answer in rooms when mentioned.", Group: GroupChatApps, Order: 2090, Apply: Restart, Advanced: true}, Default: true})
Matrix: only answer in rooms when mentioned
var MatrixSessionScope = Register(&Enum{Meta: Meta{Key: "matrix.session_scope", Label: "Conversation scope", Short: "Matrix: whether a conversation covers a whole room or one thread.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart, Env: "MATRIX_SESSION_SCOPE"}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "A thread when there is one, else the room."}, {Value: "room", Label: "Room", Meaning: "One conversation per room."}, {Value: "thread", Label: "Thread", Meaning: "One conversation per thread."}}})
Matrix: what one conversation covers
var MatrixUserID = Register(&String{Meta: Meta{Key: "matrix.user_id", Env: "MATRIX_USER_ID", Label: "Bot user ID", Short: "Matrix: user ID of the bot account, such as @bot:example.org.", Group: GroupChatApps, Order: 2070, Advanced: true, Apply: Restart}})
Matrix: user ID of the bot account
var MattermostAllowAllUsers = Register(&Bool{Meta: Meta{Key: "mattermost.allow_all_users", Env: "MATTERMOST_ALLOW_ALL_USERS", Label: "Allow everyone", Short: "Mattermost: let anyone talk to the bot.", Group: GroupChatApps, Order: 2136, Advanced: true}, Default: false})
Mattermost: anyone may talk to the bot
var MattermostAllowedChannels = Register(&List{Meta: Meta{Key: "mattermost.allowed_channels", Env: "MATTERMOST_ALLOWED_CHANNELS", Label: "Allowed channels", Short: "Mattermost: only answer in these channel IDs.", Group: GroupChatApps, Order: 2100, Apply: Live, Advanced: true}})
Mattermost: only answer in these channel IDs
var MattermostAllowedUsers = Register(&List{Meta: Meta{Key: "mattermost.allowed_users", Env: "MATTERMOST_ALLOWED_USERS", Label: "Allowed users", Short: "Mattermost: user IDs allowed to talk to the bot.", Help: "The 26 character ID of a user, not the user name.", Group: GroupChatApps, Order: 2134, Advanced: true}})
Mattermost: user IDs allowed to talk to the bot
var MattermostChannelPrompts = Register(&Map{Meta: Meta{Key: "mattermost.channel_prompts", Label: "Channel prompts", Short: "Mattermost: extra instructions for chosen channels.", Help: "Maps channel ID to the instruction text.", Group: GroupChatApps, Order: 2110, Apply: Restart, Advanced: true}})
Mattermost: extra instructions for chosen channels
var MattermostFreeResponseChannels = Register(&List{Meta: Meta{Key: "mattermost.free_response_channels", Env: "MATTERMOST_FREE_RESPONSE_CHANNELS", Label: "Free reply channels", Short: "Mattermost: channel IDs where it replies without a mention.", Group: GroupChatApps, Order: 2120, Apply: Live, Advanced: true}})
Mattermost: channel IDs where it replies without a mention
var MattermostReplyMode = Register(&Enum{Meta: Meta{Key: "mattermost.reply_mode", Env: "MATTERMOST_REPLY_MODE", Label: "Reply mode", Short: "Mattermost: whether replies nest under the message they answer.", Group: GroupChatApps, Order: 2132, Apply: Restart, Advanced: true}, Default: "off", Values: []Choice{{Value: "off", Label: "Flat", Meaning: "Replies are plain channel messages."}, {Value: "thread", Label: "Threaded", Meaning: "Replies nest under your message."}}})
Mattermost: whether replies nest under the message they answer
var MattermostRequireMention = Register(&Bool{Meta: Meta{Key: "mattermost.require_mention", Env: "MATTERMOST_REQUIRE_MENTION", Label: "Require mention", Short: "Mattermost: only answer in channels when mentioned.", Group: GroupChatApps, Order: 2130, Apply: Live, Advanced: true}, Default: true})
Mattermost: only answer in channels when mentioned
var MattermostURL = Register(&String{Meta: Meta{Key: "mattermost.url", Env: "MATTERMOST_URL", Label: "Server address", Short: "Mattermost: address of your Mattermost server.", Help: "For example https://chat.example.com. The bot token stays with your other secrets.", Group: GroupChatApps, Order: 3100, Advanced: true, Apply: Restart}, Null: "not connected"})
Mattermost: address of the Mattermost server
var MaxConcurrentSessions = Register(&Int{Meta: Meta{Key: "max_concurrent_sessions", Label: "Active session limit", Short: "Most chat sessions that may run a turn at once.", Group: GroupSystem, Order: 1550, Advanced: true, Apply: Restart}, Null: "no limit"})
Most chat sessions that may run a turn at once
var MaxLiveSessions = Register(&Int{Meta: Meta{Key: "max_live_sessions", Label: "Live session limit", Short: "Most sessions kept open before the least recent are closed.", Help: "Zero removes the limit.", Group: GroupSystem, Order: 1560, Advanced: true}, Default: 16})
Most sessions kept open before the least recent are closed
var MaxTurns = Register(&Int{Meta: Meta{Key: "agent.max_turns", Label: "Max turns", Short: "Stop after this many tool calls for one request.", Group: GroupAgent, Order: 20, Apply: NewSession}, Null: "no limit", Min: at(1), Unit: "calls", DefaultBelow: true, Unset: []string{"none", "unlimited", "infinite", "infinity", "inf", "\u221e", "-1", "0"}})
Tool call cap of one request
var McpCatalogDir = Register(&Path{Meta: Meta{Key: "mcp.catalog_dir", Label: "MCP catalog folder", Short: "Folder of MCP catalog manifests used in place of the built-in catalog.", Help: "Empty uses the built-in catalog.", Group: GroupTools, Order: 1485, Advanced: true, Env: "ICEBATH_OPTIONAL_MCPS"}})
Folder of MCP catalog manifests used in place of the built-in catalog
var McpDiscoveryConcurrency = Register(&Int{Meta: Meta{Key: "mcp.discovery_concurrency", Label: "MCP connect limit", Short: "How many MCP servers connect at the same time during discovery.", Help: "Zero means no limit.", Group: GroupTools, Order: 1480, Advanced: true}, Default: 4, Min: at(0), DefaultBelow: true})
How many MCP servers connect at the same time during discovery
var McpDiscoveryTimeout = Register(&Duration{Meta: Meta{Key: "mcp_discovery_timeout", Label: "MCP startup wait", Short: "How long a new turn waits for MCP servers to be found.", Help: "Zero or less uses the default.", Group: GroupTools, Order: 1490, Advanced: true}, Default: 1500 * time.Millisecond})
How long a new turn waits for MCP servers to be found
var McpServers = Register(&Map{Meta: Meta{Key: "mcp_servers", Label: "MCP servers", Short: "Tool servers the agent connects to, by name.", Group: GroupTools, Order: 2990, Advanced: true, Apply: NewSession}})
Connected MCP servers by name
var McpSingleQueryDiscoveryTimeout = Register(&Duration{Meta: Meta{Key: "mcp_single_query_discovery_timeout", Label: "MCP one-shot wait", Short: "How long a one-shot query waits for MCP servers to be found.", Help: "Zero or less uses the default.", Group: GroupTools, Order: 1500, Advanced: true}, Default: 15 * time.Second})
How long a one-shot query waits for MCP servers to be found
var Memory = Register(&Bool{Meta: Meta{Key: "memory.memory_enabled", Label: "Memory", Short: "Let the agent keep notes about your work between sessions.", Group: GroupMemory, Order: 10, Apply: NewSession}, Default: true})
Notes the agent keeps between sessions
var MemoryMemoryCharLimit = Register(&Int{Meta: Meta{Key: "memory.memory_char_limit", Label: "Memory size limit", Short: "Most characters the agent's own notes in Memory may hold.", Group: GroupMemory, Order: 1010, Advanced: true, Apply: NewSession}, Default: 2200, Unit: "characters"})
Most characters the agent's own notes in Memory may hold
var MemoryNudgeInterval = Register(&Int{Meta: Meta{Key: "memory.nudge_interval", Label: "Memory reminder spacing", Short: "Turns between reminders to the agent to save to Memory.", Group: GroupMemory, Order: 1020, Advanced: true, Apply: NewSession}, Default: 10, Unit: "turns"})
Turns between reminders to the agent to save to Memory
var MemoryPrefetchSpillEnabled = Register(&Bool{Meta: Meta{Key: "memory.prefetch_spill_enabled", Label: "Spill long recalls", Short: "Move long recalled Memory to a file instead of the prompt.", Help: "Applies to outside Memory providers only.", Group: GroupMemory, Order: 1030, Advanced: true}, Default: false})
Move long recalled Memory to a file instead of the prompt
var MemoryProvider = Register(&String{Meta: Meta{Key: "memory.provider", Label: "Memory provider", Short: "Outside service used for Memory.", Help: "Empty uses only the built-in Memory.", Group: GroupMemory, Order: 1040, Advanced: true}, Default: ""})
Outside service used for Memory
var MemoryUserCharLimit = Register(&Int{Meta: Meta{Key: "memory.user_char_limit", Label: "Profile size limit", Short: "Most characters the notes about you in Memory may hold.", Group: GroupMemory, Order: 1050, Advanced: true, Apply: NewSession}, Default: 1375, Unit: "characters"})
Most characters the notes about you in Memory may hold
var MessageReactions = Register(&Bool{Meta: Meta{Key: "display.message_reactions", Label: "Message reactions", Short: "Tell the agent about reactions you add to its messages.", Group: GroupWorking, Order: 150, Advanced: true, Apply: NextTurn}, Default: false})
Reactions to messages sent to the agent as notes
var MetaAIImageModel = Register(&String{Meta: Meta{Key: "image_gen.meta-ai.model", Label: "Meta AI model", Short: "Model Meta AI draws with.", Group: GroupMedia, Order: 170, Advanced: true, Env: "META_IMAGE_MODEL"}, Null: "Image model, else Meta AI's default"})
Image model Meta AI draws with
var MoaActivePreset = Register(&String{Meta: Meta{Key: "moa.active_preset", Label: "Active mix", Short: "Mixture preset currently in use.", Group: GroupAgent, Order: 2020, Advanced: true}, Default: ""})
Mixture preset currently in use
var MoaDefaultPreset = Register(&String{Meta: Meta{Key: "moa.default_preset", Label: "Default mix", Short: "Mixture preset used when none is chosen.", Group: GroupAgent, Order: 2030, Advanced: true}, Default: "default"})
Mixture preset used when none is chosen
var MoaPresets = Register(&Map{Meta: Meta{Key: "moa.presets", Label: "Mixture presets", Short: "Named groups of models that answer together, with one combining model.", Group: GroupAgent, Order: 2040, Advanced: true}, Default: map[string]any{"default": map[string]any{"aggregator": map[string]any{"model": "anthropic/claude-opus-4.8", "provider": "openrouter"}, "enabled": true, "reference_models": []any{map[string]any{"model": "gpt-5.5", "provider": "openai-codex"}, map[string]any{"model": "deepseek/deepseek-v4-pro", "provider": "openrouter"}}}}, Replace: true, Value: &Object{Meta: Meta{Key: "moa.presets.*", Label: "Mixture preset", Short: "Models that answer together and the model that combines them."}, Fields: []Entry{ &Bool{Meta: Meta{Key: "enabled", Label: "In use", Short: "Whether the preset can be picked."}, Default: true}, &List{Meta: Meta{Key: "reference_models", Label: "Answering models", Short: "Models that each answer first, each with a provider and a model."}, Of: KindObject, Item: &Object{Meta: Meta{Key: "moa.presets.*.reference_models.*", Label: "Answering model", Short: "One model that answers before the combining model."}, Fields: moaSlotFields("the answering model", true)}}, &Object{Meta: Meta{Key: "aggregator", Label: "Combining model", Short: "Model that writes the final answer from the others."}, Fields: moaSlotFields("the combining model", false)}, &Float{Meta: Meta{Key: "reference_temperature", Label: "Answering temperature", Short: "How varied the answering models may be."}, Null: "each provider's default", Min: at(0.0), Max: at(2.0)}, &Float{Meta: Meta{Key: "aggregator_temperature", Label: "Combining temperature", Short: "How varied the combining model may be."}, Null: "the provider's default", Min: at(0.0), Max: at(2.0)}, &Duration{Meta: Meta{Key: "reference_timeout", Label: "Answering time limit", Short: "Longest wait for one answering model."}, Null: "the reference answer time limit", Min: at(time.Second)}, &Enum{Meta: Meta{Key: "degraded_reference_policy", Label: "Missing answers", Short: "Whether you are told when an answering model fails."}, Default: "loud", Values: []Choice{ {"loud", "Tell me", "Say which models gave no answer."}, {"silent", "Stay quiet", "Combine the answers that arrived without a note."}, }}, &String{Meta: Meta{Key: "fanout", Label: "Asking cadence", Short: "How often the answering models are asked.", Help: "user_turn asks once per prompt, per_iteration every step, every_n:<count> every few steps.", Validate: checkMoaFanout}, Default: "user_turn"}, }}})
Named groups of models that answer together, with one combining model
var MoaPrivacyFilter = Register(&Enum{Meta: Meta{Key: "moa.privacy_filter", Label: "Mixture privacy", Short: "Hides private details sent to the mixture's models.", Group: GroupAgent, Order: 2050, Advanced: true}, Default: "", Values: []Choice{{Value: "", Label: "Off", Meaning: "No filtering."}, {Value: "display", Label: "Display", Meaning: "Hide details on screen only."}, {Value: "full", Label: "Full", Meaning: "Hide details everywhere."}}})
Hides private details sent to the mixture's models
var MoaSaveTraces = Register(&Bool{Meta: Meta{Key: "moa.save_traces", Label: "Save mixture traces", Short: "Saves a record of each mixture run to disk.", Group: GroupAgent, Order: 2060, Advanced: true}, Default: false})
Saves a record of each mixture run to disk
var MoaTraceDir = Register(&String{Meta: Meta{Key: "moa.trace_dir", Label: "Trace folder", Short: "Where mixture records are saved.", Help: "Leave empty to use a folder in your profile.", Group: GroupAgent, Order: 2070, Advanced: true}, Default: ""})
Where mixture records are saved
var Model = Register(&String{Meta: Meta{Key: "model.default", Label: "Model", Short: "Which model answers your prompts.", Help: "/model changes it for one session or saves it here.", Group: GroupModel, Order: 10, Apply: NewSession, Slash: "model"}})
Model that answers prompts
var ModelAPIKey = Register(&String{Meta: Meta{Key: "model.api_key", Label: "Model key", Short: "API key of the model's service, when you keep it in config.yaml.", Help: "Empty uses your login or the provider's key.", Group: GroupModel, Order: 102, Advanced: true, Apply: NewSession}, Masked: true})
API key of the model's service kept in the settings file
var ModelAPIMode = Register(&String{Meta: Meta{Key: "model.api_mode", Label: "Request format", Short: "Request format the endpoint speaks.", Help: "Empty picks it from the provider.", Group: GroupModel, Order: 101, Advanced: true, Apply: NewSession}})
Request format of a custom endpoint
var ModelAliases = Register(&Map{Meta: Meta{Key: "model.aliases", Label: "Model shortcuts", Short: "Short names for models: each gives a model and its provider.", Group: GroupModel, Order: 3015, Advanced: true}})
Short names that switch to a given model and provider
var ModelAuthMode = Register(&Enum{Meta: Meta{Key: "model.auth_mode", Label: "Azure sign-in", Short: "How icebath signs in to Azure Foundry.", Group: GroupModel, Order: 3020, Advanced: true, Apply: NewSession}, Default: "api_key", Values: []Choice{{Value: "api_key", Label: "Key", Meaning: "An API key."}, {Value: "entra_id", Label: "Entra ID", Meaning: "Your Microsoft Entra sign-in."}}})
How icebath signs in to Azure Foundry
var ModelBaseURL = Register(&String{Meta: Meta{Key: "model.base_url", Label: "Endpoint address", Short: "Custom address of the model's service.", Help: "Empty uses the provider's own address.", Group: GroupModel, Order: 100, Advanced: true, Apply: NewSession}})
Custom endpoint of the model
var ModelCatalogEnabled = Register(&Bool{Meta: Meta{Key: "model_catalog.enabled", Label: "Online model list", Short: "Fetch the list of available models from the online catalog.", Group: GroupSystem, Order: 1570, Advanced: true}, Default: true})
Fetch the list of available models from the online catalog
var ModelCatalogExcludedProviders = Register(&List{Meta: Meta{Key: "model_catalog.excluded_providers", Label: "Hidden providers", Short: "Providers left out of the model picker.", Group: GroupSystem, Order: 1580, Advanced: true}})
Providers left out of the model picker
var ModelCatalogProviders = Register(&Map{Meta: Meta{Key: "model_catalog.providers", Label: "Provider overrides", Short: "Per-provider changes applied to the online model list.", Group: GroupSystem, Order: 1590, Advanced: true}})
Per-provider changes applied to the online model list
var ModelCatalogTtlMinutes = Register(&Duration{Meta: Meta{Key: "model_catalog.ttl_minutes", Label: "Model list refresh", Short: "How often the online model list is refreshed.", Group: GroupSystem, Order: 1600, Advanced: true}, Default: 20 * time.Minute, Unit: time.Minute})
How often the online model list is refreshed
var ModelCatalogUrl = Register(&String{Meta: Meta{Key: "model_catalog.url", Label: "Model list address", Short: "Web address the online model list is fetched from.", Group: GroupSystem, Order: 1610, Advanced: true}, Default: "https://icebath.app/api/model-catalog.json"})
Web address the online model list is fetched from
var ModelCodexBin = Register(&String{Meta: Meta{Key: "model.codex_bin", Label: "Codex program", Short: "The codex program the Codex app runtime starts.", Group: GroupModel, Order: 3150, Advanced: true, Apply: NewSession}, Null: "codex on your PATH"})
Codex program the Codex app runtime starts
var ModelContextLength = Register(&Int{Meta: Meta{Key: "model.context_length", Label: "Context window", Short: "How many tokens the main model can hold, when icebath guesses wrong.", Help: "Unset uses the size the provider reports or the built-in table.", Group: GroupModel, Order: 3100, Advanced: true, Apply: NewSession}, Null: "the size icebath detects", Min: at(1), Unit: "tokens", DefaultBelow: true})
Context window of the main model, overriding what icebath detects
var ModelDefaultHeaders = Register(&Map{Meta: Meta{Key: "model.default_headers", Label: "Extra headers", Short: "Extra HTTP headers sent with every request to the model.", Help: "Header names map to values. A header set here replaces the built-in one.", Group: GroupModel, Order: 3010, Advanced: true, Apply: NewSession}})
Extra HTTP headers sent with every model request
var ModelEntra = Register(&Map{Meta: Meta{Key: "model.entra", Label: "Entra options", Short: "Options of the Microsoft Entra sign-in, such as the token scope.", Group: GroupModel, Order: 3030, Advanced: true, Apply: NewSession}})
Entra ID options of the Azure Foundry sign-in
var ModelKeyEnv = Register(&String{Meta: Meta{Key: "model.key_env", Label: "Key variable", Short: "Name of the environment variable that holds the model's API key.", Help: "Empty uses the provider's usual variable.", Group: GroupModel, Order: 103, Advanced: true, Apply: NewSession}})
Environment variable that holds the model's API key
var ModelLMStudioLoadMode = Register(&Enum{Meta: Meta{Key: "model.lmstudio_load_mode", Label: "LM Studio loading", Short: "When LM Studio loads the model into memory.", Group: GroupModel, Order: 3170, Advanced: true, Apply: NewSession}, Default: "explicit", Values: []Choice{ {"explicit", "Before the session", "Load the model before the first request."}, {"jit", "On first request", "Let LM Studio load it when the first request arrives."}, }})
When LM Studio loads the model
var ModelOllamaNumCtx = Register(&Int{Meta: Meta{Key: "model.ollama_num_ctx", Label: "Ollama context", Short: "Context size to ask an Ollama server for on every request.", Group: GroupModel, Order: 3160, Advanced: true, Apply: NewSession}, Null: "the size the Ollama server reports", Unit: "tokens"})
Context size requested from an Ollama server
var ModelOpenAIRuntime = Register(&Enum{Meta: Meta{Key: "model.openai_runtime", Label: "Codex runtime", Short: "Which runtime drives OpenAI Codex models.", Group: GroupModel, Order: 3140, Advanced: true, Apply: NewSession}, Default: "auto", Values: []Choice{ {"auto", "Icebath", "Icebath's own agent loop, with every tool."}, {"codex_app_server", "Codex app", "The Codex app server runs the turn."}, }})
Runtime OpenAI Codex models run on
var ModelOverrides = Register(&Map{Meta: Meta{Key: "model_overrides", Label: "Model overrides", Short: "Per-model limits such as context size, by provider.", Group: GroupModel, Order: 2280, Advanced: true}})
Per-model limits such as context size, by provider
var ModelPersistSwitchByDefault = Register(&Bool{Meta: Meta{Key: "model.persist_switch_by_default", Label: "Save model switches", Short: "Make /model save its choice to the profile unless told otherwise.", Group: GroupModel, Order: 3130, Advanced: true}, Default: false})
Whether /model saves its choice to the profile
var ModelProvider = Register(&String{Meta: Meta{Key: "model.provider", Label: "Provider", Short: "The service the model is reached through.", Group: GroupModel, Order: 11, Apply: NewSession}})
Service the model is reached through
var ModelStreaming = Register(&Bool{Meta: Meta{Key: "model.streaming", Label: "Stream replies", Short: "Receive the model's reply as it is written, not all at once.", Group: GroupModel, Order: 104, Advanced: true, Apply: NewSession}, Default: true})
Whether the model's reply arrives as it is written
var ModelSupportsVision = Register(&Bool{Meta: Meta{Key: "model.supports_vision", Label: "Model sees images", Short: "Say whether the main model can look at pictures.", Group: GroupModel, Order: 3110, Advanced: true, Apply: NextTurn}, Null: "detected from the model"})
Whether the main model can look at pictures
var ModelSwitchContextConfirmTokens = Register(&Int{Meta: Meta{Key: "model.switch_context_confirm_tokens", Label: "Switch warning size", Short: "Ask before a model switch once the chat holds this many tokens.", Help: "A switch resends the whole chat to the new model. Zero never asks.", Group: GroupModel, Order: 3120, Advanced: true}, Default: 100000, Min: at(0), Unit: "tokens"})
Chat size above which a model switch asks first
var ModelsDevUrl = Register(&String{Meta: Meta{Key: "models_dev.url", Label: "Model details address", Short: "Web address for model details such as limits and prices.", Help: "Empty uses the public models.dev registry.", Group: GroupSystem, Order: 1620, Advanced: true}, Default: ""})
Web address for model details such as limits and prices
var MonitoringExportOtlpEnabled = Register(&Bool{Meta: Meta{Key: "monitoring.export.otlp.enabled", Label: "Send telemetry", Short: "Send traces to an OpenTelemetry collector.", Help: "Needs an address under the collector endpoint setting.", Group: GroupSystem, Order: 1630, Advanced: true}, Default: false})
Send traces to an OpenTelemetry collector
var MonitoringExportOtlpEndpoint = Register(&String{Meta: Meta{Key: "monitoring.export.otlp.endpoint", Label: "Collector address", Short: "Web address of the OpenTelemetry collector.", Group: GroupSystem, Order: 1640, Advanced: true}, Default: ""})
Web address of the OpenTelemetry collector
var MonitoringExportOtlpHeadersEnv = Register(&Map{Meta: Meta{Key: "monitoring.export.otlp.headers_env", Label: "Collector headers", Short: "Request headers for the collector, each read from a named variable.", Group: GroupSystem, Order: 1650, Advanced: true}})
Request headers for the collector, each read from a named variable
var MonitoringGatewayHealthExportDiagnosticEventsEnabled = Register(&Bool{Meta: Meta{Key: "monitoring.gateway_health_export.diagnostic_events_enabled", Label: "Send diagnostic events", Short: "Include diagnostic events in the background service health export.", Group: GroupSystem, Order: 1660, Advanced: true}, Default: true})
Include diagnostic events in the background service health export
var MonitoringGatewayHealthExportEnabled = Register(&Bool{Meta: Meta{Key: "monitoring.gateway_health_export.enabled", Label: "Export service health", Short: "Send background service health data to the telemetry collector.", Group: GroupSystem, Order: 1670, Advanced: true}, Default: false})
Send background service health data to the telemetry collector
var MonitoringGatewayHealthExportExportIntervalSeconds = Register(&Duration{Meta: Meta{Key: "monitoring.gateway_health_export.export_interval_seconds", Label: "Metrics interval", Short: "How often health metrics are sent.", Group: GroupSystem, Order: 1680, Advanced: true}, Default: time.Minute})
How often health metrics are sent
var MonitoringGatewayHealthExportLogsExportIntervalSeconds = Register(&Duration{Meta: Meta{Key: "monitoring.gateway_health_export.logs_export_interval_seconds", Label: "Log export interval", Short: "How often warning and error logs are sent.", Group: GroupSystem, Order: 1690, Advanced: true}, Default: 5 * time.Second})
How often warning and error logs are sent
var MonitoringGatewayHealthExportMetricsEnabled = Register(&Bool{Meta: Meta{Key: "monitoring.gateway_health_export.metrics_enabled", Label: "Send health metrics", Short: "Include numeric health metrics in the export.", Group: GroupSystem, Order: 1700, Advanced: true}, Default: true})
Include numeric health metrics in the export
var MonitoringGatewayHealthExportResourceAttributes = Register(&Map{Meta: Meta{Key: "monitoring.gateway_health_export.resource_attributes", Label: "Export labels", Short: "Labels such as an environment name attached to exported health data.", Help: "Only service, cloud and environment names are sent; the service name is always icebath-gateway.", Group: GroupSystem, Order: 1705, Advanced: true}, Default: map[string]any{"deployment.environment.name": "production", "service.name": "icebath-gateway"}})
Labels attached to exported health data, only service, cloud and environment names kept
var MonitoringGatewayHealthExportWarningErrorEventsEnabled = Register(&Bool{Meta: Meta{Key: "monitoring.gateway_health_export.warning_error_events_enabled", Label: "Send warning logs", Short: "Include warning and error log events in the export.", Group: GroupSystem, Order: 1730, Advanced: true}, Default: true})
Include warning and error log events in the export
var MonitoringInstallId = Register(&String{Meta: Meta{Key: "monitoring.install_id", Label: "Install ID", Short: "Anonymous ID that labels this install in exported data.", Help: "Created automatically when empty.", Group: GroupSystem, Order: 1740, Advanced: true}, Default: ""})
Anonymous ID that labels this install in exported data
var Mouse = Register(&Enum{Meta: Meta{Key: "display.mouse_tracking", Label: "Mouse", Short: "Which mouse actions the terminal UI takes over.", Help: "Off leaves the mouse to the terminal, so you can select text the usual way.", Group: GroupAppearance, Order: 60, Slash: "mouse"}, Default: "all", On: "all", Off: "off", Values: []Choice{ {"all", "All", "Clicks, drag, wheel and hover."}, {"buttons", "Drag", "Clicks, drag and the wheel."}, {"wheel", "Wheel", "Clicks and the wheel."}, {"off", "Off", "None; the terminal keeps the mouse."}, }})
Mouse clicks and scrolling
var NetworkForceIpv4 = Register(&Bool{Meta: Meta{Key: "network.force_ipv4", Label: "Prefer IPv4", Short: "Try IPv4 addresses first, for networks with broken IPv6.", Group: GroupSystem, Order: 1750, Advanced: true, Apply: Restart}, Default: false})
Try IPv4 addresses first, for networks with broken IPv6
var NtfyAllowAllUsers = Register(&Bool{Meta: Meta{Key: "ntfy.allow_all_users", Label: "Allow everyone", Short: "ntfy: let anyone who can publish to the topic message the bot.", Group: GroupChatApps, Order: 4620, Advanced: true, Env: "NTFY_ALLOW_ALL_USERS"}, Default: false})
ntfy: anyone who can publish to the topic may message the bot
var NtfyAllowedUsers = Register(&List{Meta: Meta{Key: "ntfy.allowed_users", Label: "Allowed senders", Short: "ntfy: sender names allowed to message the bot.", Group: GroupChatApps, Order: 4610, Advanced: true, Env: "NTFY_ALLOWED_USERS"}})
ntfy: sender names allowed to message the bot
var NtfyMarkdown = Register(&Bool{Meta: Meta{Key: "ntfy.markdown", Label: "Markdown", Short: "ntfy: send notifications as markdown.", Group: GroupChatApps, Order: 4600, Advanced: true, Env: "NTFY_MARKDOWN"}, Default: false})
ntfy: notifications are sent as markdown
var OnboardingProfileBuild = Register(&Enum{Meta: Meta{Key: "onboarding.profile_build", Label: "Profile setup offer", Short: "Whether the agent offers to build your profile.", Group: GroupSystem, Order: 1760, Advanced: true}, Default: "ask", Values: []Choice{
{Value: "ask", Label: "Ask", Meaning: "Offer once during first use."},
{Value: "off", Label: "Off", Meaning: "Never offer."},
}})
Whether the agent offers to build your profile
var OnboardingSeen = Register(&Map{Meta: Meta{Key: "onboarding.seen", Label: "Seen tips", Short: "Which first-run tips you have already seen.", Help: "Filled in automatically.", Group: GroupSystem, Order: 1770, Advanced: true}})
Which first-run tips you have already seen
var OpenAICodexImageModel = Register(&String{Meta: Meta{Key: "image_gen.openai-codex.model", Label: "Codex image tier", Short: "Quality tier of pictures drawn through your Codex login.", Group: GroupMedia, Order: 130, Advanced: true, Env: "OPENAI_IMAGE_MODEL"}, Null: "Image model, else the default tier"})
Quality tier of images drawn through the Codex login
var OpenAIImageBaseURL = Register(&String{Meta: Meta{Key: "image_gen.openai.base_url", Label: "OpenAI image address", Short: "Base URL OpenAI image requests go to.", Help: "Wins over OpenAI image endpoint.", Group: GroupMedia, Order: 122, Advanced: true}, Null: "the endpoint's address, else OPENAI_BASE_URL"})
Base URL OpenAI image requests go to
var OpenAIImageKeyEnv = Register(&String{Meta: Meta{Key: "image_gen.openai.key_env", Label: "OpenAI image key", Short: "Name of the key in your keys that OpenAI image requests send.", Group: GroupMedia, Order: 123, Advanced: true}, Null: "the endpoint's key, else OPENAI_API_KEY"})
Key OpenAI image requests send
var OpenAIImageModel = Register(&String{Meta: Meta{Key: "image_gen.openai.model", Label: "OpenAI image model", Short: "Model OpenAI draws with, a tier name or any model id.", Help: "Empty uses Image model, else GPT Image 2 at medium quality.", Group: GroupMedia, Order: 120, Advanced: true, Env: "OPENAI_IMAGE_MODEL"}, Null: "Image model, else the default tier"})
Image model OpenAI draws with
var OpenAIImageProvider = Register(&String{Meta: Meta{Key: "image_gen.openai.provider", Label: "OpenAI image endpoint", Short: "Endpoint under providers that OpenAI image requests go to.", Group: GroupMedia, Order: 121, Advanced: true}, Null: "the OpenAI endpoint"})
Custom endpoint OpenAI image requests go to
var OpenRouterImageAspect = Register(&String{Meta: Meta{Key: "image_gen.openrouter.aspect_ratio", Label: "OpenRouter aspect ratio", Short: "Exact aspect ratio to ask OpenRouter for, such as 16:9.", Group: GroupMedia, Order: 101, Advanced: true}, Null: "picked from the request"})
Exact aspect ratio sent to OpenRouter
var OpenRouterImageBackground = Register(&String{Meta: Meta{Key: "image_gen.openrouter.background", Label: "OpenRouter background", Short: "Background to ask OpenRouter for, such as transparent.", Group: GroupMedia, Order: 106, Advanced: true}, Null: "the model's default"})
Picture background asked of OpenRouter
var OpenRouterImageCount = Register(&Int{Meta: Meta{Key: "image_gen.openrouter.count", Label: "OpenRouter picture count", Short: "How many pictures one OpenRouter request draws.", Group: GroupMedia, Order: 110, Advanced: true}, Null: "one picture", Min: at(1)})
Pictures one OpenRouter request draws
var OpenRouterImageModel = Register(&String{Meta: Meta{Key: "image_gen.openrouter.model", Label: "OpenRouter model", Short: "Model OpenRouter draws with.", Help: "Empty uses Image model, else OpenRouter's own pick.", Group: GroupMedia, Order: 100, Advanced: true}})
Image model OpenRouter draws with
var OpenRouterImageOutputCompression = Register(&Int{Meta: Meta{Key: "image_gen.openrouter.output_compression", Label: "OpenRouter compression", Short: "How much OpenRouter compresses jpeg and webp pictures, 0 to 100.", Group: GroupMedia, Order: 108, Advanced: true}, Null: "the model's default", Min: at(0), Max: at(100)})
Compression of jpeg and webp pictures OpenRouter draws
var OpenRouterImageOutputFormat = Register(&String{Meta: Meta{Key: "image_gen.openrouter.output_format", Label: "OpenRouter file type", Short: "Picture file type to ask OpenRouter for, such as png or webp.", Group: GroupMedia, Order: 107, Advanced: true}, Null: "the model's default"})
Picture file type asked of OpenRouter
var OpenRouterImageQuality = Register(&String{Meta: Meta{Key: "image_gen.openrouter.quality", Label: "OpenRouter quality", Short: "Picture quality to ask OpenRouter for, such as low or high.", Group: GroupMedia, Order: 105, Advanced: true}, Null: "the model's default"})
Picture quality asked of OpenRouter
var OpenRouterImageResolution = Register(&String{Meta: Meta{Key: "image_gen.openrouter.resolution", Label: "OpenRouter resolution", Short: "Picture resolution to ask OpenRouter for, such as 1K or 2K.", Group: GroupMedia, Order: 104, Advanced: true}, Null: "the model's default"})
Picture resolution asked of OpenRouter
var OpenRouterImageSeed = Register(&Int{Meta: Meta{Key: "image_gen.openrouter.seed", Label: "OpenRouter seed", Short: "Fixed seed so OpenRouter draws the same picture again.", Group: GroupMedia, Order: 109, Advanced: true}, Null: "a new seed each time"})
Fixed seed of OpenRouter pictures
var OpenRouterImageSurface = Register(&Enum{Meta: Meta{Key: "image_gen.openrouter.surface", Label: "OpenRouter endpoint", Short: "Which OpenRouter endpoint image requests go to.", Group: GroupMedia, Order: 102, Advanced: true}, Null: "picked per model", Values: []Choice{ {"images", "Images", "The image generation endpoint."}, {"chat", "Chat", "A chat request that returns an image."}, }})
OpenRouter endpoint image requests use
var OpenRouterImageTimeout = Register(&Duration{Meta: Meta{Key: "image_gen.openrouter.timeout", Label: "OpenRouter time limit", Short: "Give up on an OpenRouter image request after this long.", Group: GroupMedia, Order: 103, Advanced: true}, Null: "5 minutes", Min: at(time.Second)})
Time limit of one OpenRouter image request
var OpenrouterMinCodingScore = Register(&Float{Meta: Meta{Key: "openrouter.min_coding_score", Label: "Min coding score", Short: "Lowest coding score for automatic OpenRouter model routing.", Group: GroupModel, Order: 2290, Advanced: true}, Default: 0.65})
Lowest coding score for automatic OpenRouter model routing
var OpenrouterResponseCache = Register(&Bool{Meta: Meta{Key: "openrouter.response_cache", Label: "Response cache", Short: "Let OpenRouter reuse identical earlier answers.", Group: GroupModel, Order: 2300, Advanced: true}, Default: true})
Let OpenRouter reuse identical earlier answers
var OpenrouterResponseCacheTtl = Register(&Int{Meta: Meta{Key: "openrouter.response_cache_ttl", Label: "Cache lifetime", Short: "How long OpenRouter keeps cached answers.", Group: GroupModel, Order: 2310, Advanced: true}, Default: 300})
How long OpenRouter keeps cached answers
var PasteCollapseCharThreshold = Register(&Int{Meta: Meta{Key: "paste_collapse_char_threshold", Label: "Paste collapse size", Short: "Pasted text longer than this is folded into a short placeholder.", Group: GroupAppearance, Order: 1090, Advanced: true}, Default: 2000, Unit: "characters"})
Pasted text longer than this is folded into a short placeholder
var PasteCollapseThreshold = Register(&Int{Meta: Meta{Key: "paste_collapse_threshold", Label: "Paste collapse lines", Short: "Pasted text with more lines than this is folded into a placeholder.", Group: GroupAppearance, Order: 1100, Advanced: true}, Default: 5, Unit: "lines"})
Pasted text with more lines than this is folded into a placeholder
var Personalities = Register(&Map{Meta: Meta{Key: "personalities", Label: "Personalities", Short: "Custom personalities you can switch to, by name.", Group: GroupAgent, Order: 2080, Advanced: true}})
Custom personalities you can switch to, by name
var Personality = Register(&String{Meta: Meta{Key: "display.personality", Label: "Personality", Short: "Tone and style preset the agent speaks with.", Help: "Applies to every session of this profile. None uses no preset.", Group: GroupAgent, Order: 10, Apply: NextTurn, Slash: "personality"}})
Tone and style preset of the agent
var Pet = Register(&Bool{Meta: Meta{Key: "display.pet.enabled", Label: "Pet", Short: "Show a small animated companion that reacts to the agent's work.", Group: GroupAppearance, Order: 80}, Default: false})
Animated companion in the corner
var PlatformDisplay = Register(&Map{Meta: Meta{Key: "display.platforms", Label: "Chat app display", Short: "Display settings one chat app uses instead of the global ones.", Help: "Keyed by chat app. Only the settings that say so take an override here.", Group: GroupChatApps, Order: 110, Advanced: true}, Value: platformFields})
Per platform display overrides, each platform's block holding the settings that take one
var PlatformHints = Register(&Map{Meta: Meta{Key: "platform_hints", Label: "Platform hints", Short: "Replace or extend the built-in tips about each chat app.", Help: "Keyed by app name. Each entry replaces or extends that app's built-in hint.", Group: GroupChatApps, Order: 2140, Apply: NewSession, Advanced: true}})
Replace or extend the built-in tips about each chat app
var Platforms = Register(&Map{Meta: Meta{Key: "platforms", Label: "Chat app connections", Short: "Each chat app's connection: on or off, tokens and options.", Group: GroupChatApps, Order: 3990, Advanced: true, Apply: Restart}})
Chat app connections the background service starts, by app
var PluginsAutoApply = Register(&Bool{Meta: Meta{Key: "plugins.auto_apply", Label: "Auto update plugins", Short: "Install plugin updates without asking.", Group: GroupTools, Order: 1510, Advanced: true}, Default: false})
Install plugin updates without asking
var PluginsAutoUpdateCheckHours = Register(&Duration{Meta: Meta{Key: "plugins.auto_update_check_hours", Label: "Plugin update check", Short: "How often to check plugins for updates.", Help: "Zero turns the check off.", Group: GroupTools, Order: 1520, Advanced: true}, Default: 24 * time.Hour, Unit: time.Hour})
How often to check plugins for updates
var PluginsCloneTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "plugins.clone_timeout_seconds", Label: "Plugin download limit", Short: "Longest a plugin download may take.", Help: "Between 1 second and 1 hour.", Group: GroupTools, Order: 1530, Advanced: true}, Default: 5 * time.Minute, Min: at(time.Second), Max: at(time.Hour), DefaultBelow: true})
Longest a plugin download may take
var PluginsDebug = Register(&Bool{Meta: Meta{Key: "plugins.debug", Label: "Plugin debug log", Short: "Copy detailed plugin discovery and load logs to the error output.", Help: "Plugin failure warnings then also carry the error detail.", Group: GroupTools, Order: 1559, Advanced: true, Env: "ICEBATH_PLUGINS_DEBUG"}, Default: false})
Copy detailed plugin discovery and load logs to the error output
var PluginsDisabled = Register(&List{Meta: Meta{Key: "plugins.disabled", Label: "Disabled plugins", Short: "Plugins you switched off, by name.", Help: "The plugins commands and /plugins keep this list.", Group: GroupTools, Order: 1570, Advanced: true, Apply: Restart}})
Plugins switched off by name
var PluginsDisabledByUpdate = Register(&Map{Meta: Meta{Key: "plugins.disabled_by_update", Label: "Update-disabled plugins", Short: "Plugins an update switched off, with what to undo once they fit.", Help: "Updates keep this record; enabling a plugin again clears its entry.", Group: GroupTools, Order: 1575, Advanced: true, Apply: Restart}})
Plugins an update switched off, each with what to undo once it fits again
var PluginsEnabled = Register(&List{Meta: Meta{Key: "plugins.enabled", Label: "Enabled plugins", Short: "Plugins you switched on, by name.", Help: "The plugins commands and /plugins keep this list.", Group: GroupTools, Order: 1560, Advanced: true, Apply: Restart}})
Plugins switched on by name
var PluginsEntries = Register(&Map{Meta: Meta{Key: "plugins.entries", Label: "Plugin entries", Short: "Each plugin's own state and settings, by plugin name.", Group: GroupTools, Order: 1580, Advanced: true, Apply: Restart}})
Each plugin's own state and settings, by plugin
var PluginsHookCallbackTimeout = Register(&Duration{Meta: Meta{Key: "plugins.hook_callback_timeout", Label: "Plugin hook limit", Short: "Longest a plugin hook may take before it is cut off.", Help: "Capped at 10 minutes.", Group: GroupTools, Order: 1540, Advanced: true}, Default: 30 * time.Second, Min: at(time.Duration(0)), Max: at(10 * time.Minute), DefaultBelow: true})
Longest a plugin hook may take before it is cut off
var PluginsHostLauncher = Register(&List{Meta: Meta{Key: "plugins.host.launcher", Label: "Plugin launcher", Short: "Command placed before the plugin host process, such as a sandbox.", Help: "A single line is split like a shell command line.", Group: GroupTools, Order: 1550, Advanced: true}, Whole: true})
Command placed before the plugin host process, such as a sandbox
var PluginsLoadTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "plugins.load_timeout_seconds", Label: "Plugin load limit", Short: "Longest a single plugin may take to load.", Help: "Zero loads plugins inline with no limit. Capped at 10 minutes.", Group: GroupTools, Order: 1560, Advanced: true}, Default: 10 * time.Second, Min: at(time.Duration(0)), Max: at(10 * time.Minute), DefaultBelow: true})
Longest a single plugin may take to load
var PluginsScanOnInstall = Register(&Bool{Meta: Meta{Key: "plugins.scan_on_install", Label: "Scan new plugins", Short: "Check plugins for risky code when they are installed or updated.", Group: GroupTools, Order: 1555, Advanced: true}, Default: true})
Scan plugins for risky code when they are installed or updated
var PluginsStreamReasoningDeltas = Register(&Bool{Meta: Meta{Key: "plugins.stream_reasoning_deltas", Label: "Stream reasoning", Short: "Let plugins watch the model's reasoning as it streams.", Group: GroupTools, Order: 1557, Advanced: true}, Default: false})
Let plugins watch the model's reasoning as it streams
var PrefillMessagesFile = Register(&String{Meta: Meta{Key: "prefill_messages_file", Label: "Prefill messages file", Short: "JSON file of example messages added to every conversation.", Help: "A relative path starts from your profile folder.", Group: GroupAgent, Order: 2090, Advanced: true, Env: "ICEBATH_PREFILL_MESSAGES_FILE"}, Default: ""})
JSON file of example messages added to every conversation
var PromptCachingCacheTtl = Register(&Enum{Meta: Meta{Key: "prompt_caching.cache_ttl", Label: "Prompt cache time", Short: "How long the provider keeps your prompt cached.", Group: GroupModel, Order: 2320, Advanced: true}, Default: "5m", Values: []Choice{ {"5m", "5 minutes", ""}, {"1h", "1 hour", ""}, {"auto", "Auto", "1 hour in chats, 5 minutes in scheduled and scripted runs."}, {"off", "Off", "No prompt caching."}, }, Also: map[string]string{"false": "off", "disabled": "off", "no": "off", "none": "off"}})
How long the provider keeps your prompt cached
var ProviderRouting = Register(&Map{Meta: Meta{Key: "provider_routing", Label: "OpenRouter routing", Short: "Which upstream providers OpenRouter may send your requests to.", Help: "Keys such as only, ignore, order and sort, optionally under a model name.", Group: GroupModel, Order: 3000, Advanced: true, Apply: NextTurn}})
Which upstream providers OpenRouter may route requests to, per model or for all
var Providers = Register(&Map{Meta: Meta{Key: "providers", Label: "Providers", Short: "Your own named model endpoints and their settings.", Group: GroupModel, Order: 2330, Advanced: true}})
Your own named model endpoints and their settings
var ProxyAllowEnvFallback = Register(&Bool{Meta: Meta{Key: "proxy.allow_env_fallback", Label: "Allow key fallback", Short: "Use keys from the environment if the secret store is off.", Help: "Only matters when the credential source is Bitwarden.", Group: GroupTerminal, Order: 1070, Advanced: true}, Default: false})
Use keys from the environment if the secret store is off
var ProxyAutoInstall = Register(&Bool{Meta: Meta{Key: "proxy.auto_install", Label: "Auto-install proxy", Short: "Download the egress proxy program when it is missing.", Group: GroupTerminal, Order: 1080, Advanced: true}, Default: true})
Download the egress proxy program when it is missing
var ProxyCredentialSource = Register(&Enum{Meta: Meta{Key: "proxy.credential_source", Label: "Proxy key source", Short: "Where the egress proxy gets the real API keys it injects.", Group: GroupTerminal, Order: 1090, Advanced: true}, Default: "env", Values: []Choice{
{Value: "env", Label: "Environment", Meaning: "Read keys from this machine's environment."},
{Value: "bitwarden", Label: "Bitwarden", Meaning: "Fetch keys from Bitwarden Secrets Manager."},
}})
Where the egress proxy gets the real API keys it injects
var ProxyEnabled = Register(&Bool{Meta: Meta{Key: "proxy.enabled", Label: "Egress proxy", Short: "Route sandbox network traffic through the key-hiding proxy.", Help: "Run the egress setup command first. Applies to Docker sandboxes.", Group: GroupTerminal, Order: 1100, Advanced: true, Apply: NewSession}, Default: false})
Route sandbox network traffic through the key-hiding proxy
var ProxyEnforceOnDocker = Register(&Bool{Meta: Meta{Key: "proxy.enforce_on_docker", Label: "Require proxy", Short: "Refuse to start a Docker sandbox if the proxy is not ready.", Help: "When off, the sandbox starts without the proxy and warns.", Group: GroupTerminal, Order: 1110, Advanced: true, Apply: NewSession}, Default: true})
Refuse to start a Docker sandbox if the proxy is not ready
var ProxyExtraAllowedHosts = Register(&List{Meta: Meta{Key: "proxy.extra_allowed_hosts", Label: "Extra allowed hosts", Short: "Extra sites the egress proxy lets sandboxes reach.", Help: "Written into the proxy when egress setup runs.", Group: GroupTerminal, Order: 1120, Advanced: true}})
Extra sites the egress proxy lets sandboxes reach
var ProxyTunnelPort = Register(&Int{Meta: Meta{Key: "proxy.tunnel_port", Label: "Proxy port", Short: "Local port the egress proxy listens on.", Help: "Written into the proxy when egress setup runs.", Group: GroupTerminal, Order: 1130, Advanced: true}, Default: 9090})
Local port the egress proxy listens on
var ProxyUpstreamDenyCidrs = Register(&List{Meta: Meta{Key: "proxy.upstream_deny_cidrs", Label: "Blocked networks", Short: "Network ranges the egress proxy refuses to connect to.", Help: "Leave unset for the built-in private network list. An empty list blocks nothing.", Group: GroupTerminal, Order: 1140, Advanced: true}, Null: "built-in private ranges"})
Network ranges the egress proxy refuses to connect to
var QqbotAllowAllUsers = Register(&Bool{Meta: Meta{Key: "qqbot.allow_all_users", Label: "Allow everyone", Short: "QQ: let anyone message the bot.", Group: GroupChatApps, Order: 3615, Advanced: true, Env: "QQ_ALLOW_ALL_USERS"}, Default: false})
QQ open to every sender
var QqbotAllowFrom = Register(&List{Meta: Meta{Key: "qqbot.allow_from", Env: "QQ_ALLOWED_USERS", Label: "Allowed people", Short: "QQ: user OpenIDs allowed to message the bot directly.", Group: GroupChatApps, Order: 3600, Advanced: true, Apply: Restart}})
QQ: people allowed to message the bot directly
var QqbotDmPolicy = Register(&Enum{Meta: Meta{Key: "qqbot.dm_policy", Label: "Direct messages", Short: "QQ: who may message the bot directly.", Group: GroupChatApps, Order: 3620, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
QQ: who may message the bot directly
var QqbotGroupAllowFrom = Register(&List{Meta: Meta{Key: "qqbot.group_allow_from", Env: "QQ_GROUP_ALLOWED_USERS", Label: "Allowed groups", Short: "QQ: group OpenIDs the bot answers in.", Group: GroupChatApps, Order: 3610, Advanced: true, Apply: Restart}})
QQ: group chats the bot answers in
var QqbotGroupPolicy = Register(&Enum{Meta: Meta{Key: "qqbot.group_policy", Label: "Group chats", Short: "QQ: which group chats the bot answers in.", Group: GroupChatApps, Order: 3630, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
QQ: which group chats the bot answers in
var QqbotMarkdownSupport = Register(&Bool{Meta: Meta{Key: "qqbot.markdown_support", Label: "Markdown replies", Short: "QQ: send replies as markdown when the bot is allowed to.", Group: GroupChatApps, Order: 3640, Advanced: true, Apply: Restart, Env: "QQ_MARKDOWN_SUPPORT"}, Default: true})
QQ replies sent as markdown
var QqbotPortalHost = Register(&String{Meta: Meta{Key: "qqbot.portal_host", Label: "Portal host", Short: "QQ: host of the QQ Open Platform portal used during setup.", Group: GroupChatApps, Order: 3660, Advanced: true, Env: "QQ_PORTAL_HOST"}, Default: "q.qq.com"})
Host of the QQ Open Platform portal setup talks to
var QqbotSandbox = Register(&Bool{Meta: Meta{Key: "qqbot.sandbox", Label: "Sandbox servers", Short: "QQ: use QQ's sandbox servers to test a bot before it goes live.", Group: GroupChatApps, Order: 3650, Advanced: true, Apply: Restart, Env: "QQ_SANDBOX"}, Default: false})
QQ sandbox servers for a bot that is not published yet
var QqbotSttBaseURL = Register(&String{Meta: Meta{Key: "qqbot.stt.base_url", Label: "Voice text URL", Short: "QQ: address of your own voice to text service.", Help: "Empty uses the service picked above.", Group: GroupChatApps, Order: 3690, Advanced: true, Env: "QQ_STT_BASE_URL"}})
Address of your own service for QQ voice messages
var QqbotSttEnabled = Register(&Bool{Meta: Meta{Key: "qqbot.stt.enabled", Label: "Voice to text", Short: "QQ: turn voice messages into text when QQ sends none.", Help: "Needs the QQ_STT_API_KEY key.", Group: GroupChatApps, Order: 3670, Advanced: true}, Default: true})
QQ voice messages turned into text
var QqbotSttModel = Register(&String{Meta: Meta{Key: "qqbot.stt.model", Label: "Voice text model", Short: "QQ: model that turns voice messages into text.", Help: "Empty uses the usual model of the service.", Group: GroupChatApps, Order: 3700, Advanced: true, Env: "QQ_STT_MODEL"}})
Model that turns QQ voice messages into text
var QqbotSttProvider = Register(&Enum{Meta: Meta{Key: "qqbot.stt.provider", Label: "Voice text service", Short: "QQ: service that turns voice messages into text.", Group: GroupChatApps, Order: 3680, Advanced: true}, Default: "zai", Values: []Choice{{"zai", "Z.AI", ""}, {"openai", "OpenAI", ""}}, Also: map[string]string{"glm": "zai"}})
Service that turns QQ voice messages into text
var QqbotSttTimeout = Register(&Duration{Meta: Meta{Key: "qqbot.stt.timeout", Label: "Voice text limit", Short: "QQ: longest one voice message may take to turn into text.", Group: GroupChatApps, Order: 3710, Advanced: true}, Default: time.Minute, Min: at(time.Second)})
Longest one QQ voice message may take to turn into text
var QuickCommands = Register(&Map{Meta: Meta{Key: "quick_commands", Label: "Quick commands", Short: "Your own slash commands, each running a shell command or alias.", Help: "A mapping of command name to its definition.", Group: GroupTools, Order: 1570, Advanced: true}})
Your own slash commands, each running a shell command or alias
var RaftHost = Register(&String{Meta: Meta{Key: "raft.host", Label: "Listener address", Short: "Raft: address the listener for wake hints binds to.", Group: GroupChatApps, Order: 4700, Advanced: true, Apply: Restart}, Default: "127.0.0.1"})
Raft: address the wake listener binds to
var RaftMaxBodyBytes = Register(&Int{Meta: Meta{Key: "raft.max_body_bytes", Label: "Hint size limit", Short: "Raft: largest wake hint the listener takes.", Group: GroupChatApps, Order: 4740, Advanced: true, Apply: Restart}, Default: 16384, Min: at(1), Unit: "bytes"})
Raft: largest wake hint the listener takes
var RaftPath = Register(&String{Meta: Meta{Key: "raft.path", Label: "Listener path", Short: "Raft: path the bridge sends wake hints to.", Group: GroupChatApps, Order: 4720, Advanced: true, Apply: Restart}, Default: "/wake"})
Raft: path wake hints are sent to
var RaftPort = Register(&Int{Meta: Meta{Key: "raft.port", Label: "Listener port", Short: "Raft: port the listener for wake hints binds to.", Help: "Zero takes any free port.", Group: GroupChatApps, Order: 4710, Advanced: true, Apply: Restart}, Default: 0, Min: at(0), Max: at(65535)})
Raft: port the wake listener binds to, zero for any free port
var RaftRuntimeSession = Register(&String{Meta: Meta{Key: "raft.runtime_session", Label: "Session name", Short: "Raft: name of the session wake hints belong to.", Group: GroupChatApps, Order: 4730, Advanced: true, Apply: Restart}, Default: "default"})
Raft: name of the session wake hints belong to
var ReasoningEffort = Register(&Enum{Meta: Meta{Key: "agent.reasoning_effort", Label: "Reasoning effort", Short: "How long the model thinks before answering.", Help: "More effort is slower and costs more, but is often better. Models that cannot think ignore it.", Group: GroupModel, Order: 20, Scopes: Global | Session, Apply: NextTurn, Slash: "reasoning"}, Null: "the model's default", Values: reasoningChoices, Also: map[string]string{"false": "none", "disabled": "none"}})
How long the model thinks before answering
var RecognitionService = Register(&Enum{Meta: Meta{Key: "stt.provider", Label: "Recognition service", Short: "Which service turns your speech into text.", Group: GroupVoice, Order: 61}, Default: "local", Open: true, Values: []Choice{ {"local", "This machine", "A local Whisper model, no key."}, {"local_command", "Local command", "A program you name."}, {"groq", "Groq", ""}, {"openai", "OpenAI", ""}, {"mistral", "Mistral", ""}, {"xai", "xAI", ""}, {"elevenlabs", "ElevenLabs", ""}, {"deepinfra", "DeepInfra", ""}, }})
Service that turns speech into text
var RecordKey = Register(&String{Meta: Meta{Key: "voice.record_key", Label: "Record key", Short: "Extra key that starts and stops a recording (default: none).", Help: "The leader key followed by R always records; a binding in your keys file wins over this.", Group: GroupVoice, Order: 30}, Default: ""})
Key that starts and stops a recording
var RedactPII = Register(&Bool{Meta: Meta{Key: "privacy.redact_pii", Label: "Hide personal info", Short: "Hide who wrote a chat app message and where from the model.", Group: GroupSafety, Order: 40, Apply: NextTurn}, Default: false})
Personal details hidden from the model in chat apps
var RedactSecrets = Register(&Bool{Meta: Meta{Key: "security.redact_secrets", Label: "Hide secrets", Short: "Mask API keys and tokens in replies, session files and logs.", Group: GroupSafety, Order: 50, Apply: Restart}, Default: true})
Secrets hidden from replies, session files and logs
Short: "Add a line with model and context use under chat app replies.", Group: GroupChatApps, Order: 20, Slash: "footer"}, Default: false})
Footer under chat app replies
var ResumeLast = Register(&Bool{Meta: Meta{Key: "display.tui_auto_resume_recent", Label: "Resume last session", Short: "Reopen your most recent session when the terminal UI starts.", Group: GroupMemory, Order: 40, Apply: Restart}, Default: false})
Reopening the last session at start
var RuntimeMallocArenaMax = Register(&Int{Meta: Meta{Key: "runtime.malloc_arena_max", Label: "Memory arenas", Short: "Cap on memory pools the system allocator creates.", Help: "Lower values reduce memory growth on Linux.", Group: GroupSystem, Order: 1780, Advanced: true, Apply: Restart}, Default: 4})
Cap on memory pools the system allocator creates
var RuntimeNofileSoftLimit = Register(&Int{Meta: Meta{Key: "runtime.nofile_soft_limit", Label: "Open file limit", Short: "Open files the background service asks the system to allow.", Group: GroupSystem, Order: 1790, Advanced: true, Apply: Restart}, Default: 4096})
Open files the background service asks the system to allow
var SecretsBitwardenAccessTokenEnv = Register(&String{Meta: Meta{Key: "secrets.bitwarden.access_token_env", Label: "Bitwarden token variable", Short: "Environment variable holding the Bitwarden access token.", Group: GroupSafety, Order: 1120, Advanced: true}, Default: "BWS_ACCESS_TOKEN"})
Environment variable holding the Bitwarden access token
var SecretsBitwardenAutoInstall = Register(&Bool{Meta: Meta{Key: "secrets.bitwarden.auto_install", Label: "Auto-install Bitwarden", Short: "Download the Bitwarden command-line tool when missing.", Group: GroupSafety, Order: 1130, Advanced: true}, Default: true})
Download the Bitwarden command-line tool when missing
var SecretsBitwardenCacheTtlSeconds = Register(&Duration{Meta: Meta{Key: "secrets.bitwarden.cache_ttl_seconds", Label: "Bitwarden cache time", Short: "How long fetched Bitwarden secrets are reused.", Help: "Zero fetches them every time.", Group: GroupSafety, Order: 1140, Advanced: true}, Default: 5 * time.Minute})
How long fetched Bitwarden secrets are reused
var SecretsBitwardenEnabled = Register(&Bool{Meta: Meta{Key: "secrets.bitwarden.enabled", Label: "Bitwarden secrets", Short: "Load secrets from Bitwarden Secrets Manager at startup.", Group: GroupSafety, Order: 1150, Advanced: true}, Default: false})
Load secrets from Bitwarden Secrets Manager at startup
var SecretsBitwardenEncryptedCacheEnabled = Register(&Bool{Meta: Meta{Key: "secrets.bitwarden.encrypted_cache.enabled", Label: "Offline Bitwarden cache", Short: "Keep an encrypted copy to use when Bitwarden is unreachable.", Group: GroupSafety, Order: 1160, Advanced: true}, Default: false})
Keep an encrypted copy to use when Bitwarden is unreachable
var SecretsBitwardenEncryptedCacheMaxStaleSeconds = Register(&Duration{Meta: Meta{Key: "secrets.bitwarden.encrypted_cache.max_stale_seconds", Label: "Offline cache age", Short: "Oldest offline Bitwarden copy that may still be used.", Help: "Zero means no age limit.", Group: GroupSafety, Order: 1170, Advanced: true}, Default: 0})
Oldest offline Bitwarden copy that may still be used
var SecretsBitwardenOverrideExisting = Register(&Bool{Meta: Meta{Key: "secrets.bitwarden.override_existing", Label: "Bitwarden wins", Short: "Bitwarden values replace matching local environment values.", Group: GroupSafety, Order: 1180, Advanced: true}, Default: true})
Bitwarden values replace matching local environment values
var SecretsBitwardenProjectId = Register(&String{Meta: Meta{Key: "secrets.bitwarden.project_id", Label: "Bitwarden project", Short: "Bitwarden project to load secrets from.", Help: "Empty loads everything the token can see.", Group: GroupSafety, Order: 1190, Advanced: true}, Default: ""})
Bitwarden project to load secrets from
var SecretsBitwardenServerUrl = Register(&String{Meta: Meta{Key: "secrets.bitwarden.server_url", Label: "Bitwarden server", Short: "Address of your own Bitwarden server.", Help: "Empty uses the Bitwarden cloud.", Group: GroupSafety, Order: 1200, Advanced: true}, Default: ""})
Address of your own Bitwarden server
var SecretsOnepasswordAccount = Register(&String{Meta: Meta{Key: "secrets.onepassword.account", Label: "1Password account", Short: "1Password account to use.", Help: "Empty uses the default account.", Group: GroupSafety, Order: 1210, Advanced: true}, Default: ""})
1Password account to use
var SecretsOnepasswordBinaryPath = Register(&String{Meta: Meta{Key: "secrets.onepassword.binary_path", Label: "1Password tool path", Short: "Full path of the 1Password command-line tool.", Help: "Empty looks it up on the search path.", Group: GroupSafety, Order: 1220, Advanced: true}, Default: ""})
Full path of the 1Password command-line tool
var SecretsOnepasswordCacheTtlSeconds = Register(&Duration{Meta: Meta{Key: "secrets.onepassword.cache_ttl_seconds", Label: "1Password cache time", Short: "How long fetched 1Password secrets are reused.", Help: "Zero fetches them every time.", Group: GroupSafety, Order: 1230, Advanced: true}, Default: 5 * time.Minute})
How long fetched 1Password secrets are reused
var SecretsOnepasswordEnabled = Register(&Bool{Meta: Meta{Key: "secrets.onepassword.enabled", Label: "1Password secrets", Short: "Load secrets from 1Password at startup.", Group: GroupSafety, Order: 1240, Advanced: true}, Default: false})
Load secrets from 1Password at startup
var SecretsOnepasswordEnv = Register(&Map{Meta: Meta{Key: "secrets.onepassword.env", Label: "1Password references", Short: "Variables to load, as name and op:// reference.", Group: GroupSafety, Order: 1250, Advanced: true}})
Variables to load, as name and op:// reference
var SecretsOnepasswordOverrideExisting = Register(&Bool{Meta: Meta{Key: "secrets.onepassword.override_existing", Label: "1Password wins", Short: "1Password values replace matching local environment values.", Group: GroupSafety, Order: 1260, Advanced: true}, Default: true})
1Password values replace matching local environment values
var SecretsOnepasswordServiceAccountTokenEnv = Register(&String{Meta: Meta{Key: "secrets.onepassword.service_account_token_env", Label: "1Password token variable", Short: "Environment variable holding the service account token.", Group: GroupSafety, Order: 1270, Advanced: true}, Default: "OP_SERVICE_ACCOUNT_TOKEN"})
Environment variable holding the service account token
var SecretsPreserveExisting = Register(&List{Meta: Meta{Key: "secrets.preserve_existing", Label: "Keep local values", Short: "Variable names no secret store may overwrite.", Group: GroupSafety, Order: 1280, Advanced: true}})
Variable names no secret store may overwrite
var SecretsProfileAlias = Register(&Bool{Meta: Meta{Key: "secrets.profile_alias", Label: "Profile name aliases", Short: "Also expose secrets under profile-prefixed variable names.", Group: GroupSafety, Order: 1290, Advanced: true}, Default: true})
Also expose secrets under profile-prefixed variable names
var SecurityAckedAdvisories = Register(&List{Meta: Meta{Key: "security.acked_advisories", Label: "Dismissed advisories", Short: "Security notices you have already acknowledged.", Group: GroupSafety, Order: 1300, Advanced: true}})
Security notices you have already acknowledged
var SecurityAllowDataTrainingTiersNoninteractive = Register(&Bool{Meta: Meta{Key: "security.allow_data_training_tiers_noninteractive", Label: "Allow training plans", Short: "Let non-interactive runs go ahead on data-training plans.", Help: "Otherwise such runs stop and ask for acknowledgement.", Group: GroupSafety, Order: 1310, Advanced: true}, Default: false})
Let non-interactive runs go ahead on data-training plans
var SecurityAllowLazyInstalls = Register(&Bool{Meta: Meta{Key: "security.allow_lazy_installs", Label: "Allow on-demand installs", Short: "Let tools install missing add-ons the first time they are used.", Group: GroupSafety, Order: 1320, Advanced: true, Env: "ICEBATH_DISABLE_LAZY_INSTALLS", EnvInvert: true}, Default: true})
Let tools install missing add-ons the first time they are used
var SecurityAllowPrivateUrls = Register(&Bool{Meta: Meta{Key: "security.allow_private_urls", Label: "Allow private URLs", Short: "Let web tools open local and private network addresses.", Group: GroupSafety, Order: 1330, Advanced: true}, Default: false})
Let web tools open local and private network addresses
var SecurityApprovalTransport = Register(&String{Meta: Meta{Key: "security.approval.transport", Label: "Approval channel", Short: "Which channel delivers Approvals prompts.", Help: "Built-in uses the normal prompt. A plugin name sends prompts through that plugin.", Group: GroupSafety, Order: 1340, Advanced: true}, Default: "builtin"})
Which channel delivers Approvals prompts
var SecurityApprovalTransportFallback = Register(&Enum{Meta: Meta{Key: "security.approval.transport_fallback", Label: "Approval fallback", Short: "What happens when the chosen approval channel fails.", Group: GroupSafety, Order: 1350, Advanced: true}, Default: "deny", Values: []Choice{
{Value: "deny", Label: "Deny", Meaning: "Block the command."},
{Value: "builtin", Label: "Built-in", Meaning: "Fall back to the normal prompt."},
}})
What happens when the chosen approval channel fails
var SecurityFakeIpRanges = Register(&List{Meta: Meta{Key: "security.fake_ip_ranges", Label: "Fake IP ranges", Short: "Address ranges a local DNS proxy hands out for real sites.", Help: "Web tools check the real address instead of these.", Group: GroupSafety, Order: 1360, Advanced: true}})
Address ranges a local DNS proxy hands out for real sites
var SecurityProtectedInstructionExtraPatterns = Register(&List{Meta: Meta{Key: "security.protected_instruction_extra_patterns", Label: "Extra protected files", Short: "Extra file names the agent needs approval to edit.", Group: GroupSafety, Order: 1370, Advanced: true}})
Extra file names the agent needs approval to edit
var SecurityProtectedInstructionFiles = Register(&Bool{Meta: Meta{Key: "security.protected_instruction_files", Label: "Protect instruction files", Short: "Ask before the agent edits project instruction files.", Group: GroupSafety, Order: 1380, Advanced: true}, Default: true})
Ask before the agent edits project instruction files
var SecurityWebsiteBlocklistDomains = Register(&List{Meta: Meta{Key: "security.website_blocklist.domains", Label: "Blocked sites", Short: "Websites web tools refuse to open.", Group: GroupSafety, Order: 1390, Advanced: true}})
Websites web tools refuse to open
var SecurityWebsiteBlocklistEnabled = Register(&Bool{Meta: Meta{Key: "security.website_blocklist.enabled", Label: "Website blocklist", Short: "Block web tools from the sites on the list.", Group: GroupSafety, Order: 1400, Advanced: true}, Default: false})
Block web tools from the sites on the list
Files of blocked sites to load as well
var SessionTerminalContinue = Register(&Bool{Meta: Meta{Key: "session.terminal_continue", Label: "Continue per terminal", Short: "Remember each terminal's session so it can be continued there.", Group: GroupMemory, Order: 1060, Advanced: true}, Default: true})
Remember each terminal's session so it can be continued there
var SessionsAutoArchive = Register(&Bool{Meta: Meta{Key: "sessions.auto_archive", Label: "Auto-archive sessions", Short: "Archive sessions that have sat idle for a while.", Group: GroupMemory, Order: 1070, Advanced: true}, Default: false})
Archive sessions that have sat idle for a while
var SessionsAutoArchiveDays = Register(&Duration{Meta: Meta{Key: "sessions.auto_archive_days", Label: "Archive after idle", Short: "How long a session must be idle before it is archived.", Help: "Pinned sessions are never archived.", Group: GroupMemory, Order: 1080, Advanced: true}, Default: 3 * 24 * time.Hour, Unit: 24 * time.Hour})
How long a session must be idle before it is archived
var SessionsAutoContinueEnabled = Register(&Bool{Meta: Meta{Key: "sessions.auto_continue.enabled", Label: "Resume interrupted turns", Short: "Pick up a turn automatically after the app stopped mid-turn.", Group: GroupMemory, Order: 1090, Advanced: true}, Default: true})
Pick up a turn automatically after the app stopped mid-turn
var SessionsAutoContinueFreshnessMinutes = Register(&Duration{Meta: Meta{Key: "sessions.auto_continue.freshness_minutes", Label: "Resume window", Short: "How recent an interrupted turn must be to resume itself.", Group: GroupMemory, Order: 1100, Advanced: true}, Default: 15 * time.Minute, Unit: time.Minute})
How recent an interrupted turn must be to resume itself
var SessionsAutoContinueMaxAttempts = Register(&Int{Meta: Meta{Key: "sessions.auto_continue.max_attempts", Label: "Resume attempts", Short: "Times one interrupted turn is resumed before giving up.", Group: GroupMemory, Order: 1110, Advanced: true}, Default: 2, Min: at(0)})
Times one interrupted turn is resumed before giving up
var SessionsCjkFts = Register(&Bool{Meta: Meta{Key: "sessions.cjk_fts", Label: "Search CJK text", Short: "Make Chinese, Japanese and Korean text searchable in sessions.", Group: GroupMemory, Order: 1120, Advanced: true}, Default: true})
Make Chinese, Japanese and Korean text searchable in sessions
var SessionsFtsOptimizeNotice = Register(&Enum{Meta: Meta{Key: "sessions.fts_optimize_notice", Label: "Search tune-up notice", Short: "Whether to suggest tidying a large session search index.", Group: GroupMemory, Order: 1130, Advanced: true}, Default: "advise", Values: []Choice{
{Value: "advise", Label: "Advise", Meaning: "Suggest it when the database is large."},
{Value: "off", Label: "Off", Meaning: "Never suggest it."},
}})
Whether to suggest tidying a large session search index
var SessionsMaxExportMessages = Register(&Int{Meta: Meta{Key: "sessions.max_export_messages", Label: "Export size limit", Short: "Largest session, in messages, that can be exported in memory.", Help: "Zero turns the guard off.", Group: GroupMemory, Order: 1140, Advanced: true}, Default: 20000, Unit: "messages"})
Largest session, in messages, that can be exported in memory
var SessionsMaxOpen = Register(&Int{Meta: Meta{Key: "sessions.max_live_per_profile", Label: "Open session limit", Short: "Most sessions open at once across every window of this profile.", Group: GroupMemory, Order: 1270, Advanced: true}, Default: 32, Min: at(1)})
Most sessions the windows of one profile keep open in the background service at once
var SessionsMaxPerWindow = Register(&Int{Meta: Meta{Key: "sessions.max_live_per_connection", Label: "Sessions per window", Short: "Most sessions one window keeps open at once.", Group: GroupMemory, Order: 1260, Advanced: true}, Default: 12, Min: at(1)})
Most sessions one window keeps open in the background service at once
var SessionsMaxResumeMessages = Register(&Int{Meta: Meta{Key: "sessions.max_resume_messages", Label: "Resume size limit", Short: "Largest session, in messages, that can be resumed.", Help: "Zero turns the guard off.", Group: GroupMemory, Order: 1150, Advanced: true}, Default: 20000, Unit: "messages"})
Largest session, in messages, that can be resumed
var SessionsMinIntervalHours = Register(&Duration{Meta: Meta{Key: "sessions.min_interval_hours", Label: "Cleanup spacing", Short: "Least time between automatic archive or cleanup runs.", Group: GroupMemory, Order: 1160, Advanced: true}, Default: 24 * time.Hour, Unit: time.Hour})
Least time between automatic archive or cleanup runs
var SessionsMinVacuumIntervalDays = Register(&Duration{Meta: Meta{Key: "sessions.min_vacuum_interval_days", Label: "Compact spacing", Short: "Least time between compactions of the session database.", Group: GroupMemory, Order: 1170, Advanced: true}, Default: 30 * 24 * time.Hour, Unit: 24 * time.Hour})
Least time between compactions of the session database
var SessionsOrphanEndGraceS = Register(&Duration{Meta: Meta{Key: "sessions.orphan_end_grace_s", Label: "Abandoned session grace", Short: "How long an abandoned session waits before it is marked ended.", Help: "Zero ends it right away.", Group: GroupMemory, Order: 1180, Advanced: true}, Default: 5 * time.Minute})
How long an abandoned session waits before it is marked ended
var SessionsRetentionDays = Register(&Duration{Meta: Meta{Key: "sessions.retention_days", Label: "Keep old sessions", Short: "Age after which old sessions are deleted by automatic cleanup.", Help: "Applies only while Delete old sessions is on.", Group: GroupMemory, Order: 1190, Advanced: true}, Default: 90 * 24 * time.Hour, Unit: 24 * time.Hour})
Age after which old sessions are deleted by automatic cleanup
var SessionsSearchSlowMs = Register(&Duration{Meta: Meta{Key: "sessions.search_slow_ms", Label: "Slow search mark", Short: "Searches slower than this are written to the log.", Group: GroupMemory, Order: 1200, Advanced: true}, Default: time.Second, Unit: time.Millisecond})
Searches slower than this are written to the log
var SessionsShowSubagents = Register(&Bool{Meta: Meta{Key: "sessions.show_subagents", Label: "List subagent sessions", Short: "Include sessions started by subagents in session lists.", Group: GroupMemory, Order: 1210, Advanced: true}, Default: false})
Include sessions started by subagents in session lists
var SessionsStartupOrphanSweep = Register(&Bool{Meta: Meta{Key: "sessions.startup_orphan_sweep", Label: "Close stale sessions", Short: "At startup, close sessions left open by a crash or shutdown.", Group: GroupMemory, Order: 1220, Advanced: true}, Default: true})
At startup, close sessions left open by a crash or shutdown
var SessionsVacuumAfterPrune = Register(&Bool{Meta: Meta{Key: "sessions.vacuum_after_prune", Label: "Compact after cleanup", Short: "Shrink the session database after old sessions are deleted.", Group: GroupMemory, Order: 1230, Advanced: true}, Default: true})
Shrink the session database after old sessions are deleted
var SessionsWsOrphanActivityStaleS = Register(&Duration{Meta: Meta{Key: "sessions.ws_orphan_activity_stale_s", Label: "Idle disconnect limit", Short: "How long a disconnected session may sit idle before it is closed.", Group: GroupMemory, Order: 1240, Advanced: true, Apply: Restart}, Default: 10 * time.Minute})
How long a disconnected session may sit idle before it is closed
var SessionsWsOrphanReapGraceS = Register(&Duration{Meta: Meta{Key: "sessions.ws_orphan_reap_grace_s", Label: "Disconnect grace", Short: "How long a session is kept after its window disconnects.", Help: "Zero keeps it parked until it is reopened.", Group: GroupMemory, Order: 1250, Advanced: true, Apply: Restart}, Default: 20 * time.Second})
How long a session is kept after its window disconnects
var ShowThinking = Register(&Bool{Meta: Meta{Key: "display.show_reasoning", Platforms: true, Label: "Show thinking", Short: "Show the model's thinking in the transcript.", Help: "Chat apps hide thinking unless their own display settings turn it on.", Group: GroupWorking, Order: 20, Scopes: Global | Session}, Default: true})
Whether the model's thinking shows in the transcript
var ShutdownExitWatchdog = Register(&Duration{Meta: Meta{Key: "shutdown.exit_watchdog", Label: "Exit watchdog", Short: "Longest the command line's cleanup may take before it is ended anyway.", Help: "A stop signal doubles it. Zero turns the watchdog off.", Group: GroupSystem, Order: 2220, Advanced: true, Apply: NewSession, Env: "ICEBATH_EXIT_WATCHDOG_S"}, Default: 30 * time.Second, Min: at(time.Duration(0))})
Longest the command line's cleanup may take before the process ends anyway
var ShutdownSignalGrace = Register(&Duration{Meta: Meta{Key: "shutdown.signal_grace", Label: "Stop signal grace", Short: "Wait after a stop signal interrupts a one-shot run before it ends.", Help: "Zero ends it at once.", Group: GroupSystem, Order: 2230, Advanced: true, Apply: NewSession, Env: "ICEBATH_SIGTERM_GRACE"}, Default: 1500 * time.Millisecond, Min: at(time.Duration(0))})
Wait after a stop signal interrupts a one shot run, so the turn can wind down
var SignalAllowAllUsers = Register(&Bool{Meta: Meta{Key: "signal.allow_all_users", Label: "Allow everyone", Short: "Signal: let any Signal user message the bot.", Group: GroupChatApps, Order: 3840, Advanced: true, Env: "SIGNAL_ALLOW_ALL_USERS"}, Default: false})
Signal open to every sender
var SignalAllowedUsers = Register(&List{Meta: Meta{Key: "signal.allowed_users", Label: "Allowed users", Short: "Signal: phone numbers or UUIDs allowed to message the bot.", Group: GroupChatApps, Order: 3830, Advanced: true, Apply: Restart, Env: "SIGNAL_ALLOWED_USERS"}})
Signal senders allowed to message the bot
var SignalGroupAllowedUsers = Register(&List{Meta: Meta{Key: "signal.group_allowed_users", Label: "Allowed groups", Short: "Signal: group IDs the bot answers in.", Help: "Empty answers in no group; * answers in every group.", Group: GroupChatApps, Order: 3850, Advanced: true, Apply: Restart, Env: "SIGNAL_GROUP_ALLOWED_USERS"}})
Signal groups the bot answers in
var SignalIgnoreStories = Register(&Bool{Meta: Meta{Key: "signal.ignore_stories", Label: "Skip stories", Short: "Signal: ignore story posts from contacts.", Group: GroupChatApps, Order: 3800, Advanced: true, Apply: Restart, Env: "SIGNAL_IGNORE_STORIES"}, Default: true})
Signal: story posts skipped
var SignalReactions = Register(&Bool{Meta: Meta{Key: "signal.reactions", Label: "Progress reactions", Short: "Signal: react to a message while working on it and when done.", Help: "People outside the allowed users never get a reaction.", Group: GroupChatApps, Order: 3820, Advanced: true, Env: "SIGNAL_REACTIONS"}, Default: true})
Signal reactions that mark a message as being worked on and done
var SignalRequireMention = Register(&Bool{Meta: Meta{Key: "signal.require_mention", Label: "Require mention", Short: "Signal: only answer in group chats when mentioned.", Group: GroupChatApps, Order: 3810, Advanced: true, Apply: Restart, Env: "SIGNAL_REQUIRE_MENTION"}, Default: false})
Signal: group chats answered only when mentioned
var SimplexAllowAllUsers = Register(&Bool{Meta: Meta{Key: "simplex.allow_all_users", Label: "Allow everyone", Short: "SimpleX: let any contact message the bot.", Group: GroupChatApps, Order: 4930, Advanced: true, Env: "SIMPLEX_ALLOW_ALL_USERS"}, Default: false})
SimpleX: anyone may message the bot
var SimplexAllowedUsers = Register(&List{Meta: Meta{Key: "simplex.allowed_users", Label: "Allowed contacts", Short: "SimpleX: contact IDs allowed to message the bot.", Help: "Numeric contact IDs, see /contacts; display names are not trusted.", Group: GroupChatApps, Order: 4920, Advanced: true, Env: "SIMPLEX_ALLOWED_USERS"}})
SimpleX: contact IDs allowed to message the bot
var SimplexAutoAccept = Register(&Bool{Meta: Meta{Key: "simplex.auto_accept", Label: "Accept contacts", Short: "SimpleX: accept contact requests without asking.", Group: GroupChatApps, Order: 4900, Advanced: true, Apply: Restart, Env: "SIMPLEX_AUTO_ACCEPT"}, Default: true})
SimpleX: contact requests are accepted without asking
var SimplexGroupAllowed = Register(&List{Meta: Meta{Key: "simplex.group_allowed", Label: "Allowed groups", Short: "SimpleX: group IDs the bot answers in.", Help: "Empty answers in no group.", Group: GroupChatApps, Order: 4910, Advanced: true, Apply: Restart, Env: "SIMPLEX_GROUP_ALLOWED"}})
SimpleX: group IDs the bot answers in
var SimplexTextBatchDelay = Register(&Duration{Meta: Meta{Key: "simplex.text_batch_delay_seconds", Label: "Text gather wait", Short: "SimpleX: wait for more text before answering a message sent in parts.", Group: GroupChatApps, Order: 4940, Advanced: true, Apply: Restart, Env: "ICEBATH_SIMPLEX_TEXT_BATCH_DELAY"}, Default: 800 * time.Millisecond, Min: at(time.Duration(0))})
SimpleX: wait for more text before answering a message sent in parts
var SkillsAutoLoad = Register(&List{Meta: Meta{Key: "skills.auto_load", Label: "Preloaded skills", Short: "Skills loaded into every new session.", Group: GroupTools, Order: 1580, Advanced: true}})
Skills loaded into every new session
var SkillsConfig = Register(&Map{Meta: Meta{Key: "skills.config", Label: "Skill settings", Short: "Values the skills you installed ask for, by name.", Group: GroupTools, Order: 1585, Advanced: true}})
Values installed skills ask for, by name
var SkillsCreateDir = Register(&String{Meta: Meta{Key: "skills.create_dir", Label: "New skill folder", Short: "Folder where new skills are created.", Help: "Empty uses the normal skills folder.", Group: GroupTools, Order: 1590, Advanced: true}, Default: ""})
Folder where new skills are created
var SkillsCreationNudgeInterval = Register(&Int{Meta: Meta{Key: "skills.creation_nudge_interval", Label: "Skill reminder spacing", Short: "Tool turns between reminders to save what worked as a skill.", Help: "Zero turns the reminders off.", Group: GroupTools, Order: 1587, Advanced: true, Apply: NewSession}, Default: 10, Min: at(0), Unit: "turns"})
Turns between reminders to save a reusable skill
var SkillsDisabled = Register(&List{Meta: Meta{Key: "skills.disabled", Label: "Disabled skills", Short: "Skills the agent cannot use.", Group: GroupTools, Order: 1600, Advanced: true}})
Skills the agent cannot use
var SkillsExternalDirs = Register(&List{Meta: Meta{Key: "skills.external_dirs", Label: "Extra skill folders", Short: "More folders to look for skills in.", Group: GroupTools, Order: 1610, Advanced: true}})
More folders to look for skills in
var SkillsGuardAgentCreated = Register(&Bool{Meta: Meta{Key: "skills.guard_agent_created", Label: "Scan agent skills", Short: "Security-scan skills the agent writes and block dangerous ones.", Group: GroupTools, Order: 1620, Advanced: true}, Default: false})
Security-scan skills the agent writes and block dangerous ones
var SkillsInlineShell = Register(&Bool{Meta: Meta{Key: "skills.inline_shell", Label: "Skill shell snippets", Short: "Run shell snippets embedded in skill text.", Help: "Never applied to skills from the community hub.", Group: GroupTools, Order: 1630, Advanced: true}, Default: false})
Run shell snippets embedded in skill text
var SkillsInlineShellTimeout = Register(&Duration{Meta: Meta{Key: "skills.inline_shell_timeout", Label: "Snippet time limit", Short: "Longest an embedded shell snippet may run.", Group: GroupTools, Order: 1640, Advanced: true}, Default: 10 * time.Second})
Longest an embedded shell snippet may run
var SkillsLedger = Register(&Bool{Meta: Meta{Key: "skills.ledger", Label: "Skill change log", Short: "Keep a log of every skill change by you, the agent or the curator.", Group: GroupTools, Order: 1650, Advanced: true}, Default: true})
Keep a log of every skill change by you, the agent or the curator
var SkillsLedgerMaxBytes = Register(&Int{Meta: Meta{Key: "skills.ledger_max_bytes", Label: "Change log size", Short: "Size at which the skill change log is trimmed.", Group: GroupTools, Order: 1660, Advanced: true}, Default: 5242880, Unit: "bytes"})
Size at which the skill change log is trimmed
var SkillsPlatformDisabled = Register(&Map{Meta: Meta{Key: "skills.platform_disabled", Label: "Per-app disabled", Short: "Skills turned off for a single app, by app name.", Help: "A mapping of app name to a list of skill names.", Group: GroupTools, Order: 1670, Advanced: true}})
Skills turned off for a single app, by app name
var SkillsProjectDiscovery = Register(&Bool{Meta: Meta{Key: "skills.project_discovery", Label: "Project skills", Short: "Find skills inside the current project folder.", Help: "Project skills load only when the project is trusted.", Group: GroupTools, Order: 1680, Advanced: true}, Default: true})
Find skills inside the current project folder
var SkillsTemplateVars = Register(&Bool{Meta: Meta{Key: "skills.template_vars", Label: "Skill variables", Short: "Fill in placeholders such as the skill folder in skill text.", Group: GroupTools, Order: 1690, Advanced: true}, Default: true})
Fill in placeholders such as the skill folder in skill text
var SkillsTier1Advisory = Register(&Bool{Meta: Meta{Key: "skills.tier1_advisory", Label: "Install safety check", Short: "Show a quick safety scan of a skill when you install it.", Group: GroupTools, Order: 1700, Advanced: true}, Default: true})
Show a quick safety scan of a skill when you install it
var SkillsTrustedProjectDirs = Register(&List{Meta: Meta{Key: "skills.trusted_project_dirs", Label: "Trusted projects", Short: "Project folders whose own skills may be loaded.", Group: GroupTools, Order: 1710, Advanced: true}})
Project folders whose own skills may be loaded
var SkillsWriteApproval = Register(&Bool{Meta: Meta{Key: "skills.write_approval", Label: "Approve skill writes", Short: "Ask before the agent saves or changes a skill.", Group: GroupTools, Order: 1720, Advanced: true}, Default: false, Also: map[string]bool{"approve": true}})
Ask before the agent saves or changes a skill
var Skin = Register(&String{Meta: Meta{Key: "display.skin", Label: "Skin", Short: "The colour palette and symbols drawn on top of the theme.", Group: GroupAppearance, Order: 20, Slash: "skin"}, Default: "default"})
Named palette and symbols drawn on top of the theme
var SlackAPIHumanUsers = Register(&List{Meta: Meta{Key: "slack.api_human_users", Label: "API posters", Short: "Slack: user IDs whose API posts count as a person writing.", Group: GroupChatApps, Order: 3085, Advanced: true, Apply: Restart, Env: "SLACK_API_HUMAN_USERS"}})
Slack users whose posts through the Web API count as a person writing
var SlackAllowAllUsers = Register(&Bool{Meta: Meta{Key: "slack.allow_all_users", Label: "Allow everyone", Short: "Slack: let any user talk to the bot.", Group: GroupChatApps, Order: 3095, Advanced: true, Env: "SLACK_ALLOW_ALL_USERS"}, Default: false})
Slack open to every user
var SlackAllowBots = Register(&Enum{Meta: Meta{Key: "slack.allow_bots", Env: "SLACK_ALLOW_BOTS", Label: "Other bots", Short: "Slack: whether messages from other bots are answered.", Group: GroupChatApps, Order: 3070, Advanced: true}, Default: "none", Values: []Choice{{Value: "none", Label: "Never", Meaning: "Ignore other bots."}, {Value: "mentions", Label: "When mentioned", Meaning: "Answer bots that mention it."}, {Value: "all", Label: "Always", Meaning: "Answer every bot message."}}})
Slack: messages from other bots
var SlackAllowedChannels = Register(&List{Meta: Meta{Key: "slack.allowed_channels", Label: "Allowed channels", Short: "Slack: only answer in these channel IDs.", Group: GroupChatApps, Order: 2150, Apply: Live, Advanced: true}})
Slack: only answer in these channel IDs
var SlackAllowedUsers = Register(&List{Meta: Meta{Key: "slack.allowed_users", Label: "Allowed users", Short: "Slack: user IDs allowed to talk to the bot.", Group: GroupChatApps, Order: 3090, Advanced: true, Env: "SLACK_ALLOWED_USERS"}})
Slack users allowed to talk to the bot
var SlackChannelPrompts = Register(&Map{Meta: Meta{Key: "slack.channel_prompts", Label: "Channel prompts", Short: "Slack: extra instructions for chosen channels.", Help: "Maps channel ID to the instruction text.", Group: GroupChatApps, Order: 2160, Apply: Restart, Advanced: true}})
Slack: extra instructions for chosen channels
var SlackDedupTTL = Register(&Duration{Meta: Meta{Key: "slack.dedup_ttl_seconds", Label: "Repeat memory", Short: "Slack: how long a handled message is remembered, to skip repeats.", Help: "Slack sends a message again after a reconnect.", Group: GroupChatApps, Order: 3080, Advanced: true, Env: "SLACK_DEDUP_TTL_SECONDS"}, Default: time.Hour, Min: at(time.Millisecond), DefaultBelow: true})
How long Slack remembers a message it already handled
var SlackDisableDms = Register(&Bool{Meta: Meta{Key: "slack.disable_dms", Label: "Refuse direct messages", Short: "Slack: ignore direct messages and answer only in channels.", Group: GroupChatApps, Order: 3010, Advanced: true}, Default: false})
Slack: refuse direct messages
var SlackFreeResponseChannels = Register(&List{Meta: Meta{Key: "slack.free_response_channels", Label: "Free reply channels", Short: "Slack: channel IDs where it replies without a mention.", Group: GroupChatApps, Order: 2170, Apply: Live, Advanced: true}})
Slack: channel IDs where it replies without a mention
var SlackIgnoreOtherUserMentions = Register(&Bool{Meta: Meta{Key: "slack.ignore_other_user_mentions", Label: "Skip others' mentions", Short: "Slack: ignore messages that mention someone else but not it.", Group: GroupChatApps, Order: 2180, Apply: Live, Advanced: true}, Default: false})
Slack: ignore messages that mention someone else but not it
var SlackIgnoredChannels = Register(&List{Meta: Meta{Key: "slack.ignored_channels", Label: "Ignored channels", Short: "Slack: channel IDs it never answers in.", Group: GroupChatApps, Order: 3030, Advanced: true}})
Slack: channels where messages are left to the channel's own tooling
var SlackMentionPatterns = Register(&List{Meta: Meta{Key: "slack.mention_patterns", Label: "Mention words", Short: "Slack: words that count as a mention besides the bot's name.", Help: "Each item is a pattern matched against the message text.", Group: GroupChatApps, Order: 3075, Advanced: true, Apply: Restart, Env: "SLACK_MENTION_PATTERNS"}, Whole: true, EnvSplit: true})
Slack text patterns that count as mentioning the bot
var SlackReactionTriggerTarget = Register(&String{Meta: Meta{Key: "slack.reaction_trigger_target", Label: "Reaction target", Short: "Slack: channel, or channel:thread, that reaction hand-offs go to.", Group: GroupChatApps, Order: 3060, Advanced: true}, Null: "the channel the reaction was added in"})
Slack: channel a reaction hands its message to
var SlackReactionTriggers = Register(&List{Meta: Meta{Key: "slack.reaction_triggers", Label: "Reaction triggers", Short: "Slack: emoji that, added to a message, hand it to the agent.", Help: "All, or a star, takes every emoji.", Group: GroupChatApps, Order: 3050, Advanced: true}, Null: "reactions hand nothing over"})
Slack: emoji reactions that hand a message to the agent
var SlackReactions = Register(&Bool{Meta: Meta{Key: "slack.reactions", Label: "Progress reactions", Short: "Slack: react to a message while working on it and when done.", Group: GroupChatApps, Order: 3040, Advanced: true}, Default: true})
Slack: reactions that mark a message as being worked on
var SlackRequireMention = Register(&Bool{Meta: Meta{Key: "slack.require_mention", Label: "Require mention", Short: "Slack: only answer in channels when mentioned.", Group: GroupChatApps, Order: 2190, Apply: Live, Advanced: true}, Default: true})
Slack: only answer in channels when mentioned
var SlackRequireMentionChannels = Register(&List{Meta: Meta{Key: "slack.require_mention_channels", Label: "Mention-only channels", Short: "Slack: channel IDs that always need a mention.", Group: GroupChatApps, Order: 2200, Apply: Live, Advanced: true}})
Slack: channel IDs that always need a mention
var SlackStrictMention = Register(&Bool{Meta: Meta{Key: "slack.strict_mention", Label: "Strict mentions", Short: "Slack: answer in channels only when mentioned in that very message.", Group: GroupChatApps, Order: 3000, Advanced: true}, Default: false})
Slack: only answer channels after a fresh mention, never on thread context alone
var SlackThreadFollowupSilence = Register(&Bool{Meta: Meta{Key: "slack.thread_followup_silence", Label: "Quiet thread follow-ups", Short: "Slack: stay silent on thread replies not addressed to it.", Group: GroupChatApps, Order: 3020, Advanced: true}, Default: false})
Slack: let unaddressed thread follow ups go unanswered
var SlackThreadRequireMention = Register(&Bool{Meta: Meta{Key: "slack.thread_require_mention", Label: "Threads need mention", Short: "Slack: also require a mention inside threads.", Group: GroupChatApps, Order: 2210, Apply: Live, Advanced: true}, Default: false})
Slack: also require a mention inside threads
var SmsAllowAllUsers = Register(&Bool{Meta: Meta{Key: "sms.allow_all_users", Label: "Allow everyone", Short: "SMS: let any phone number text the bot.", Group: GroupChatApps, Order: 4850, Advanced: true, Env: "SMS_ALLOW_ALL_USERS"}, Default: false})
SMS: anyone may text the bot
var SmsAllowedUsers = Register(&List{Meta: Meta{Key: "sms.allowed_users", Label: "Allowed numbers", Short: "SMS: phone numbers allowed to text the bot.", Group: GroupChatApps, Order: 4840, Advanced: true, Env: "SMS_ALLOWED_USERS"}})
SMS: phone numbers allowed to text the bot
var SmsVerifySignature = Register(&Bool{Meta: Meta{Key: "sms.verify_signature", Label: "Check signature", Short: "SMS: check that each incoming message really comes from Twilio.", Help: "Off lets anyone who reaches the listen port inject messages.", Group: GroupChatApps, Order: 4830, Advanced: true, Apply: Restart, Env: "SMS_INSECURE_NO_SIGNATURE", EnvInvert: true}, Default: true})
SMS: the signature of each incoming message is checked
var SmsWebhookHost = Register(&String{Meta: Meta{Key: "sms.webhook_host", Label: "Listen address", Short: "SMS: address the message receiver listens on.", Group: GroupChatApps, Order: 4800, Advanced: true, Apply: Restart, Env: "SMS_WEBHOOK_HOST"}, Default: "127.0.0.1"})
SMS: address the message receiver listens on
var SmsWebhookPort = Register(&Int{Meta: Meta{Key: "sms.webhook_port", Label: "Listen port", Short: "SMS: port the message receiver listens on.", Group: GroupChatApps, Order: 4810, Advanced: true, Apply: Restart, Env: "SMS_WEBHOOK_PORT"}, Default: 8080, Min: at(1), Max: at(65535)})
SMS: port the message receiver listens on
var SmsWebhookURL = Register(&String{Meta: Meta{Key: "sms.webhook_url", Label: "Public address", Short: "SMS: public address Twilio sends messages to.", Help: "The exact URL set in your Twilio console; the signature of each message is checked against it.", Group: GroupChatApps, Order: 4820, Advanced: true, Apply: Restart, Env: "SMS_WEBHOOK_URL"}})
SMS: public address Twilio sends messages to, which its signature is checked against
var SpeakReplies = Register(&Bool{Meta: Meta{Key: "voice.speak_replies", Label: "Speak replies", Short: "Read the assistant's replies aloud, or send voice messages in chats.", Help: "The terminal UI speaks while voice input is on. A chat keeps its own choice once /voice is used there.", Group: GroupVoice, Order: 20, Scopes: Global | Session, Slash: "speak"}, Default: false})
Replies read aloud or sent as voice messages
var SpeechRecognition = Register(&Bool{Meta: Meta{Key: "stt.enabled", Label: "Speech recognition", Short: "Turn your recordings and voice messages into text.", Group: GroupVoice, Order: 60}, Default: true})
Speech to text of recordings and voice messages
var SpeechVoice = Register(&Enum{Meta: Meta{Key: "tts.provider", Label: "Speech voice", Short: "Which service speaks for icebath.", Help: "Each service's voice is under advanced.", Group: GroupVoice, Order: 50}, Default: "edge", Open: true, Values: []Choice{ {"edge", "Edge", "Free Microsoft voices, no key."}, {"elevenlabs", "ElevenLabs", ""}, {"openai", "OpenAI", ""}, {"minimax", "MiniMax", ""}, {"xai", "xAI", ""}, {"mistral", "Mistral", ""}, {"gemini", "Gemini", ""}, {"deepinfra", "DeepInfra", ""}, {"neutts", "NeuTTS", "Runs on this machine."}, {"kittentts", "KittenTTS", "Runs on this machine."}, {"piper", "Piper", "Runs on this machine."}, }})
Service that speaks for icebath
var StatusBar = Register(&Enum{Meta: Meta{Key: "display.tui_statusbar", Label: "Status bar", Short: "Where the line with model, context use and cost sits.", Group: GroupWorking, Order: 40, Slash: "statusbar"}, Default: "top", On: "top", Off: "off", Values: []Choice{ {"top", "Top", "Above the transcript."}, {"bottom", "Bottom", "Below the input box."}, {"off", "Off", "Hidden."}, }})
Where the status bar sits
var StatusBarFields = Register(&List{Meta: Meta{Key: "display.status_bar.fields", Label: "Status bar fields", Short: "Which facts the status bar shows.", Help: "Empty shows them all. Fields: model, context, context_pct, context_detail, cost, cwd, duration, latency, tps, cache_hit, compressions, bg_tasks, bg_subagents, battery, voice.", Group: GroupWorking, Order: 41}})
Facts the status bar shows
var StreamingBufferThreshold = Register(&Int{Meta: Meta{Key: "streaming.buffer_threshold", Label: "Stream batch size", Short: "Characters gathered before each streamed update is shown.", Group: GroupChatApps, Order: 2220, Apply: Restart, Advanced: true}, Default: 24, Unit: "characters"})
Characters gathered before each streamed update is shown
var StreamingCursor = Register(&String{Meta: Meta{Key: "streaming.cursor", Label: "Stream cursor", Short: "Marker shown at the end of a reply while it streams.", Group: GroupChatApps, Order: 2230, Apply: Restart, Advanced: true}, Default: " ▉"})
Marker shown at the end of a reply while it streams
var StreamingEditInterval = Register(&Float{Meta: Meta{Key: "streaming.edit_interval", Label: "Stream update gap", Short: "Seconds between updates to a streamed reply.", Group: GroupChatApps, Order: 2240, Apply: Restart, Advanced: true}, Default: 0.8, Unit: "seconds", Min: at(0.0)})
Seconds between updates to a streamed reply
var StreamingEnabled = Register(&Bool{Meta: Meta{Key: "streaming.enabled", Label: "Stream replies", Short: "Show chat replies as they are written instead of all at once.", Help: "Each chat app can switch it off separately.", Group: GroupChatApps, Order: 2250, Apply: Restart, Advanced: true}, Default: false})
Show chat replies as they are written instead of all at once
var StreamingFreshFinalAfterSeconds = Register(&Duration{Meta: Meta{Key: "streaming.fresh_final_after_seconds", Label: "Fresh final reply", Short: "Send the final reply as a new message after this long.", Help: "Zero edits the streamed message instead.", Group: GroupChatApps, Order: 2260, Apply: Restart, Advanced: true}, Default: 0})
Send the final reply as a new message after this long
var StreamingTransport = Register(&Enum{Meta: Meta{Key: "streaming.transport", Label: "Stream method", Short: "How streamed replies are delivered.", Group: GroupChatApps, Order: 2270, Apply: Restart, Advanced: true}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "Best method the chat app supports."}, {Value: "edit", Label: "Edit", Meaning: "Keep editing one message."}, {Value: "draft", Label: "Draft", Meaning: "Use drafts where supported."}, {Value: "off", Label: "Off", Meaning: "No streaming anywhere."}}})
How streamed replies are delivered
var SttCloudTrimKeepMs = Register(&Duration{Meta: Meta{Key: "stt.cloud_trim_keep_ms", Label: "Trim padding", Short: "Quiet audio kept around speech when trimming before upload.", Group: GroupVoice, Order: 1140, Advanced: true}, Default: 300 * time.Millisecond, Unit: time.Millisecond})
Quiet audio kept around speech when trimming before upload
var SttCloudTrimSilence = Register(&Bool{Meta: Meta{Key: "stt.cloud_trim_silence", Label: "Trim silence", Short: "Cut silence from recordings before sending them to a cloud service.", Group: GroupVoice, Order: 1150, Advanced: true}, Default: true})
Cut silence from recordings before sending them to a cloud service
var SttCloudTrimThresholdDb = Register(&Int{Meta: Meta{Key: "stt.cloud_trim_threshold_db", Label: "Trim threshold", Short: "Loudness below which audio counts as silence when trimming.", Group: GroupVoice, Order: 1160, Advanced: true}, Default: -40, Unit: "dB"})
Loudness below which audio counts as silence when trimming
var SttDeepinfraBaseUrl = Register(&String{Meta: Meta{Key: "stt.deepinfra.base_url", Label: "DeepInfra recognition endpoint", Short: "Custom endpoint for DeepInfra speech recognition.", Group: GroupVoice, Order: 1165, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for DeepInfra speech recognition
var SttDeepinfraModel = Register(&String{Meta: Meta{Key: "stt.deepinfra.model", Label: "DeepInfra model", Short: "Speech recognition model used with DeepInfra.", Help: "Empty uses the service's default.", Group: GroupVoice, Order: 1170, Advanced: true}, Default: ""})
Speech recognition model used with DeepInfra
var SttElevenlabsBaseUrl = Register(&String{Meta: Meta{Key: "stt.elevenlabs.base_url", Label: "ElevenLabs endpoint", Short: "Custom endpoint for ElevenLabs speech recognition.", Group: GroupVoice, Order: 1180, Advanced: true, Env: "ELEVENLABS_STT_BASE_URL"}, Null: "the provider endpoint"})
Custom endpoint for ElevenLabs speech recognition
var SttElevenlabsDiarize = Register(&Bool{Meta: Meta{Key: "stt.elevenlabs.diarize", Label: "Label speakers", Short: "Have ElevenLabs mark who is speaking in transcripts.", Group: GroupVoice, Order: 1190, Advanced: true}, Default: false})
Have ElevenLabs mark who is speaking in transcripts
var SttElevenlabsLanguageCode = Register(&String{Meta: Meta{Key: "stt.elevenlabs.language_code", Label: "ElevenLabs language", Short: "Language code for ElevenLabs transcripts.", Help: "Empty detects it.", Group: GroupVoice, Order: 1200, Advanced: true}, Default: ""})
Language code for ElevenLabs transcripts
var SttElevenlabsModelId = Register(&String{Meta: Meta{Key: "stt.elevenlabs.model_id", Label: "ElevenLabs model", Short: "Speech recognition model used with ElevenLabs.", Group: GroupVoice, Order: 1210, Advanced: true}, Default: "scribe_v2"})
Speech recognition model used with ElevenLabs
var SttElevenlabsTagAudioEvents = Register(&Bool{Meta: Meta{Key: "stt.elevenlabs.tag_audio_events", Label: "Tag sounds", Short: "Mark non-speech sounds such as laughter in ElevenLabs transcripts.", Group: GroupVoice, Order: 1220, Advanced: true}, Default: false})
Mark non-speech sounds such as laughter in ElevenLabs transcripts
var SttGroqBaseUrl = Register(&String{Meta: Meta{Key: "stt.groq.base_url", Label: "Groq endpoint", Short: "Custom endpoint for Groq speech recognition.", Group: GroupVoice, Order: 1225, Advanced: true, Env: "GROQ_BASE_URL"}, Null: "the provider endpoint"})
Custom endpoint for Groq speech recognition
var SttGroqLanguage = Register(&String{Meta: Meta{Key: "stt.groq.language", Label: "Groq language", Short: "Language hint for Groq transcripts.", Help: "Empty detects it.", Group: GroupVoice, Order: 1230, Advanced: true}, Default: ""})
Language hint for Groq transcripts
var SttGroqModel = Register(&String{Meta: Meta{Key: "stt.groq.model", Label: "Groq model", Short: "Speech recognition model used with Groq.", Group: GroupVoice, Order: 1240, Advanced: true}, Default: "whisper-large-v3-turbo"})
Speech recognition model used with Groq
var SttLanguage = Register(&String{Meta: Meta{Key: "stt.language", Label: "Recognition language", Short: "Language of your speech, as a language code such as en.", Group: GroupVoice, Order: 1250, Help: "Used when the chosen service has no language of its own.", Env: "ICEBATH_LOCAL_STT_LANGUAGE", Advanced: true}, Null: "detected from the speech"})
Language of your speech, as a language code such as en
var SttLocalCommand = Register(&String{Meta: Meta{Key: "stt.local_command", Label: "Local command", Short: "Program that transcribes a recording on this machine.", Help: "Write {input_path}, {output_dir}, {language} and {model} where they belong; it must leave a .txt file in {output_dir}.", Env: "ICEBATH_LOCAL_STT_COMMAND", Group: GroupVoice, Order: 1335, Advanced: true}, Null: "the bundled whisper.cpp engine, else a whisper program on PATH"})
Program that transcribes a recording on this machine
var SttLocalComputeType = Register(&String{Meta: Meta{Key: "stt.local.compute_type", Label: "Local compute type", Short: "Number format the on-device recognizer computes in, such as int8.", Help: "Auto picks one for the device.", Group: GroupVoice, Order: 1255, Advanced: true}, Default: "auto"})
Number format the on-device recognizer computes in
var SttLocalDevice = Register(&String{Meta: Meta{Key: "stt.local.device", Label: "Local device", Short: "Where on-device recognition runs, such as cpu or cuda.", Help: "Auto uses the graphics card when it works.", Group: GroupVoice, Order: 1257, Advanced: true}, Default: "auto"})
Where on-device recognition runs
var SttLocalInitialPrompt = Register(&String{Meta: Meta{Key: "stt.local.initial_prompt", Label: "Local prompt", Short: "Text that primes the on-device recognizer, such as names or jargon.", Group: GroupVoice, Order: 1260, Advanced: true}, Default: ""})
Text that primes the on-device recognizer, such as names or jargon
var SttLocalLanguage = Register(&String{Meta: Meta{Key: "stt.local.language", Label: "Local language", Short: "Language hint for on-device recognition.", Help: "Empty detects it.", Group: GroupVoice, Order: 1270, Advanced: true}, Default: ""})
Language hint for on-device recognition
var SttLocalLogprobThreshold = Register(&Float{Meta: Meta{Key: "stt.local.logprob_threshold", Label: "Confidence cutoff", Short: "Average confidence below which on-device text is retried.", Group: GroupVoice, Order: 1280, Advanced: true}, Default: -1})
Average confidence below which on-device text is retried
var SttLocalModel = Register(&String{Meta: Meta{Key: "stt.local.model", Label: "Local model", Short: "Size of the on-device speech recognition model.", Group: GroupVoice, Order: 1290, Advanced: true}, Default: "base"})
Size of the on-device speech recognition model
var SttLocalNoSpeechProbThreshold = Register(&Float{Meta: Meta{Key: "stt.local.no_speech_prob_threshold", Label: "No-speech cutoff", Short: "Chance of no speech above which a clip is treated as silence.", Group: GroupVoice, Order: 1300, Advanced: true}, Default: 0.6})
Chance of no speech above which a clip is treated as silence
var SttLocalUnloadAfterIdleSeconds = Register(&Duration{Meta: Meta{Key: "stt.local.unload_after_idle_seconds", Label: "Unload when idle", Short: "Free the on-device recognizer after this long unused.", Group: GroupVoice, Order: 1310, Help: "Zero keeps it loaded.", Advanced: true}, Default: 0})
Free the on-device recognizer after this long unused
var SttLocalVad = Register(&Bool{Meta: Meta{Key: "stt.local.vad", Label: "Skip silence", Short: "Detect speech and skip silent parts before on-device recognition.", Group: GroupVoice, Order: 1320, Advanced: true}, Default: true})
Detect speech and skip silent parts before on-device recognition
var SttLocalVadMinSilenceMs = Register(&Duration{Meta: Meta{Key: "stt.local.vad_min_silence_ms", Label: "Silence length", Short: "How long a pause must last to count as a break in speech.", Group: GroupVoice, Order: 1330, Advanced: true}, Default: 500 * time.Millisecond, Unit: time.Millisecond})
How long a pause must last to count as a break in speech
var SttMistralLanguage = Register(&String{Meta: Meta{Key: "stt.mistral.language", Label: "Mistral language", Short: "Language hint for Mistral transcripts.", Help: "Empty detects it.", Group: GroupVoice, Order: 1340, Advanced: true}, Default: ""})
Language hint for Mistral transcripts
var SttMistralModel = Register(&String{Meta: Meta{Key: "stt.mistral.model", Label: "Mistral model", Short: "Speech recognition model used with Mistral.", Group: GroupVoice, Order: 1350, Advanced: true}, Default: "voxtral-mini-latest"})
Speech recognition model used with Mistral
var SttOpenaiApiKey = Register(&String{Meta: Meta{Key: "stt.openai.api_key", Label: "OpenAI recognition key", Short: "Key for OpenAI speech recognition.", Group: GroupVoice, Order: 1360, Advanced: true}, Masked: true, Null: "the provider key from the environment"})
Key for OpenAI speech recognition
var SttOpenaiBaseUrl = Register(&String{Meta: Meta{Key: "stt.openai.base_url", Label: "OpenAI recognition endpoint", Short: "Custom endpoint for OpenAI-compatible speech recognition.", Group: GroupVoice, Order: 1370, Advanced: true, Env: "STT_OPENAI_BASE_URL"}, Null: "the provider endpoint"})
Custom endpoint for OpenAI-compatible speech recognition
var SttOpenaiLanguage = Register(&String{Meta: Meta{Key: "stt.openai.language", Label: "OpenAI language", Short: "Language hint for OpenAI transcripts.", Help: "Empty detects it.", Group: GroupVoice, Order: 1380, Advanced: true}, Default: ""})
Language hint for OpenAI transcripts
var SttOpenaiMaxRetries = Register(&Int{Meta: Meta{Key: "stt.openai.max_retries", Label: "Retry attempts", Short: "How many times to retry a failed recognition request.", Group: GroupVoice, Order: 1390, Advanced: true}, Default: 1})
How many times to retry a failed recognition request
var SttOpenaiModel = Register(&String{Meta: Meta{Key: "stt.openai.model", Label: "OpenAI model", Short: "Speech recognition model used with OpenAI.", Group: GroupVoice, Order: 1400, Advanced: true}, Default: "whisper-1"})
Speech recognition model used with OpenAI
var SttOpenaiStreamingModel = Register(&String{Meta: Meta{Key: "stt.openai.streaming_model", Label: "OpenAI live model", Short: "Model used for live transcription with OpenAI.", Group: GroupVoice, Order: 1410, Advanced: true}, Default: "gpt-live-transcribe"})
Model used for live transcription with OpenAI
var SttOpenaiTimeout = Register(&Duration{Meta: Meta{Key: "stt.openai.timeout", Label: "OpenAI timeout", Short: "How long to wait for OpenAI to transcribe before giving up.", Group: GroupVoice, Order: 1420, Advanced: true}, Default: time.Minute})
How long to wait for OpenAI to transcribe before giving up
var SttPrompt = Register(&String{Meta: Meta{Key: "stt.prompt", Label: "Recognition prompt", Short: "Text that primes cloud recognition, such as names or jargon.", Group: GroupVoice, Order: 1430, Advanced: true}, Null: "no static prompt"})
Text that primes cloud recognition, such as names or jargon
var SttProviders = Register(&Map{Meta: Meta{Key: "stt.providers", Label: "Recognition commands", Short: "Your own speech recognition programs, by name.", Help: "Set Recognition service to a name here to use it. A program may also sit directly under stt by its name.", Group: GroupVoice, Order: 1435, Advanced: true}, Beside: true, Value: &Object{Meta: Meta{Key: "stt.providers.*", Label: "Recognition command", Short: "One program that turns a recording into text."}, Fields: []Entry{ &String{Meta: Meta{Key: "type", Label: "Kind", Short: "Kind of program; only command entries run."}, Null: "command"}, &String{Meta: Meta{Key: "command", Label: "Command", Short: "Shell command run for each recording."}, Default: ""}, &String{Meta: Meta{Key: "language", Label: "Language", Short: "Language code passed to the command."}, Null: "the recognition language"}, &String{Meta: Meta{Key: "model", Label: "Model", Short: "Model name passed to the command."}, Default: ""}, &Enum{Meta: Meta{Key: "output_format", Label: "Output format", Short: "Format of the text file the command writes."}, Default: "txt", Values: commandTextFormats}, &Enum{Meta: Meta{Key: "format", Label: "Format", Short: "Format of the text file, before Output format."}, Null: "Output format", Values: commandTextFormats}, &Duration{Meta: Meta{Key: "timeout", Label: "Time limit", Short: "How long the command may stay silent before it is stopped."}, Null: "Time limit in seconds, else five minutes", Min: at(time.Second)}, &Duration{Meta: Meta{Key: "timeout_seconds", Label: "Time limit in seconds", Short: "The same limit, used when Time limit is not set."}, Null: "five minutes", Min: at(time.Second)}, &Bool{Meta: Meta{Key: "normalize", Label: "Convert audio", Short: "Hand the command 16 kHz mono audio instead of the original file."}, Default: false}, &List{Meta: Meta{Key: "env_passthrough", Label: "Passed variables", Short: "Environment variables the command may see."}}, }}})
Your own speech recognition programs, by the name stt.provider picks them with
var SttStreaming = Register(&Bool{Meta: Meta{Key: "stt.streaming", Label: "Live transcription", Short: "Show words as you speak when the chosen service supports it.", Group: GroupVoice, Order: 1440, Advanced: true}, Default: false})
Show words as you speak when the chosen service supports it
var SttXaiBaseUrl = Register(&String{Meta: Meta{Key: "stt.xai.base_url", Label: "xAI recognition endpoint", Short: "Custom endpoint for xAI speech recognition.", Group: GroupVoice, Order: 1450, Advanced: true, Env: "XAI_STT_BASE_URL"}, Null: "the provider endpoint"})
Custom endpoint for xAI speech recognition
var SttXaiDiarize = Register(&Bool{Meta: Meta{Key: "stt.xai.diarize", Label: "xAI speakers", Short: "Have xAI mark who is speaking in transcripts.", Group: GroupVoice, Order: 1453, Advanced: true}, Default: false})
Have xAI mark who is speaking in transcripts
var SttXaiFormat = Register(&Bool{Meta: Meta{Key: "stt.xai.format", Label: "xAI formatting", Short: "Have xAI tidy numbers and punctuation in transcripts.", Help: "Applies when a language is set.", Group: GroupVoice, Order: 1456, Advanced: true}, Default: true})
Have xAI tidy numbers and punctuation in transcripts
var SttXaiLanguage = Register(&String{Meta: Meta{Key: "stt.xai.language", Label: "xAI language", Short: "Language hint for xAI transcripts.", Help: "Empty detects it.", Group: GroupVoice, Order: 1460, Advanced: true}, Default: ""})
Language hint for xAI transcripts
var SttXaiModel = Register(&String{Meta: Meta{Key: "stt.xai.model", Label: "xAI model", Short: "Speech recognition model used with xAI.", Help: "Empty uses the service's default.", Group: GroupVoice, Order: 1470, Advanced: true}, Default: ""})
Speech recognition model used with xAI
var TeamsAllowAllUsers = Register(&Bool{Meta: Meta{Key: "teams.allow_all_users", Label: "Allow everyone", Short: "Teams: let anyone talk to the bot.", Group: GroupChatApps, Order: 5040, Advanced: true, Env: "TEAMS_ALLOW_ALL_USERS"}, Default: false})
Teams: anyone may talk to the bot
var TeamsAllowedUsers = Register(&List{Meta: Meta{Key: "teams.allowed_users", Label: "Allowed users", Short: "Teams: user IDs allowed to talk to the bot.", Help: "The Microsoft Entra object ID of each user. A star allows everyone.", Group: GroupChatApps, Order: 5030, Advanced: true, Env: "TEAMS_ALLOWED_USERS"}})
Teams: user IDs allowed to talk to the bot
var TeamsHost = Register(&String{Meta: Meta{Key: "teams.host", Label: "Listen address", Short: "Teams: address the message receiver listens on.", Group: GroupChatApps, Order: 5000, Advanced: true, Apply: Restart, Env: "TEAMS_HOST"}, Null: "every address of this computer"})
Teams: address the message receiver listens on
var TeamsPort = Register(&Int{Meta: Meta{Key: "teams.port", Label: "Listen port", Short: "Teams: port the message receiver listens on.", Group: GroupChatApps, Order: 5010, Advanced: true, Apply: Restart, Env: "TEAMS_PORT"}, Default: 3978, Min: at(1), Max: at(65535)})
Teams: port the message receiver listens on
var TeamsRequireMention = Register(&Bool{Meta: Meta{Key: "teams.require_mention", Label: "Require mention", Short: "Teams: only answer in channels and group chats when mentioned.", Group: GroupChatApps, Order: 5020, Advanced: true, Apply: Restart, Env: "TEAMS_REQUIRE_MENTION"}, Default: false})
Teams: only answer in channels and group chats when mentioned
var TelegramAllowBots = Register(&Enum{Meta: Meta{Key: "telegram.allow_bots", Env: "TELEGRAM_ALLOW_BOTS", Label: "Answer bots", Short: "Telegram: which messages from other bots it answers.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: "none", Values: []Choice{{Value: "none", Label: "None", Meaning: "Ignore other bots."}, {Value: "mentions", Label: "Mentions", Meaning: "Answer bots that mention it."}, {Value: "all", Label: "All", Meaning: "Answer every bot."}}})
Telegram: which messages from other bots it answers
var TelegramAllowFrom = Register(&List{Meta: Meta{Key: "telegram.allow_from", Env: "TELEGRAM_ALLOWED_USERS", Label: "Allowed people", Short: "Telegram: user IDs allowed to talk to it; * allows everyone.", Help: "Empty leaves access to pairing and the shared allow list.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: people allowed to talk to it in private chats
var TelegramAllowedChats = Register(&List{Meta: Meta{Key: "telegram.allowed_chats", Label: "Allowed chats", Short: "Telegram: only answer in these chat IDs.", Group: GroupChatApps, Order: 2280, Apply: Live, Advanced: true}})
Telegram: only answer in these chat IDs
var TelegramAllowedTopics = Register(&List{Meta: Meta{Key: "telegram.allowed_topics", Label: "Allowed topics", Short: "Telegram: the only forum topics it answers in.", Help: "Each item is chat:topic. Empty allows every topic.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: the only forum topics it answers in
var TelegramBotsRequireMention = Register(&Bool{Meta: Meta{Key: "telegram.bots_require_mention", Label: "Bots must mention", Short: "Telegram: other bots must mention it to get an answer.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: false})
Telegram: other bots must mention it to get an answer
var TelegramChannelPrompts = Register(&Map{Meta: Meta{Key: "telegram.channel_prompts", Label: "Channel prompts", Short: "Telegram: extra instructions for chosen chats.", Help: "Maps chat ID to the instruction text.", Group: GroupChatApps, Order: 2290, Apply: Restart, Advanced: true}})
Telegram: extra instructions for chosen chats
var TelegramDisableFallbackIPs = Register(&Bool{Meta: Meta{Key: "telegram.disable_fallback_ips", Label: "No fallback addresses", Short: "Telegram: never try other API addresses.", Group: GroupChatApps, Order: 2343, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_DISABLE_FALLBACK_IPS"}, Default: false})
Telegram never tries other API addresses
var TelegramExclusiveBotMentions = Register(&Bool{Meta: Meta{Key: "telegram.exclusive_bot_mentions", Label: "Other bot mentions", Short: "Telegram: skip messages that mention only another bot.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: true})
Telegram: a mention of another bot means the message is not for this one
var TelegramExtraAllowCjkRichMessages = Register(&Bool{Meta: Meta{Key: "telegram.extra.allow_cjk_rich_messages", Label: "CJK rich text", Short: "Telegram: allow rich formatting in Chinese, Japanese and Korean text.", Group: GroupChatApps, Order: 2300, Apply: Restart, Advanced: true}, Default: false})
Telegram: allow rich formatting in Chinese, Japanese and Korean text
var TelegramExtraDmTopicAutoTransfer = Register(&Bool{Meta: Meta{Key: "telegram.extra.dm_topic_auto_transfer", Label: "Move DM topics", Short: "Telegram: move a direct message conversation into its own topic.", Group: GroupChatApps, Order: 2310, Apply: Restart, Advanced: true}, Default: false})
Telegram: move a direct message conversation into its own topic
var TelegramExtraRichDrafts = Register(&Bool{Meta: Meta{Key: "telegram.extra.rich_drafts", Label: "Rich drafts", Short: "Telegram: use rich formatting in streamed drafts.", Group: GroupChatApps, Order: 2320, Apply: Restart, Advanced: true}, Default: false})
Telegram: use rich formatting in streamed drafts
var TelegramExtraRichMessages = Register(&Bool{Meta: Meta{Key: "telegram.extra.rich_messages", Label: "Rich messages", Short: "Telegram: use rich formatting in replies.", Group: GroupChatApps, Order: 2330, Apply: Restart, Advanced: true}, Default: false})
Telegram: use rich formatting in replies
var TelegramFallbackDiscoveryTimeout = Register(&Duration{Meta: Meta{Key: "telegram.fallback_discovery_timeout", Label: "Fallback search limit", Short: "Telegram: longest the search for fallback addresses may take.", Group: GroupChatApps, Order: 2344, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_FALLBACK_DISCOVERY_TIMEOUT"}, Default: 5 * time.Second, Min: at(time.Duration(0))})
Longest the search for Telegram fallback addresses may take
var TelegramFallbackIPs = Register(&List{Meta: Meta{Key: "telegram.fallback_ips", Label: "Fallback addresses", Short: "Telegram: API addresses tried when the usual one is unreachable.", Help: "Empty finds them by itself.", Group: GroupChatApps, Order: 2342, Advanced: true, Apply: Restart, Env: "TELEGRAM_FALLBACK_IPS"}})
Telegram API addresses tried when the usual one cannot be reached
var TelegramFollowupGraceSeconds = Register(&Duration{Meta: Meta{Key: "telegram.followup_grace_seconds", Label: "Follow-up grace", Short: "Telegram: a follow-up this soon after a reply starts waits for it.", Help: "Zero lets every message interrupt at once.", Group: GroupChatApps, Order: 2335, Advanced: true, Env: "ICEBATH_TELEGRAM_FOLLOWUP_GRACE_SECONDS"}, Default: 3 * time.Second, Min: at(time.Duration(0))})
Telegram: text sent this soon after a reply starts waits for it instead of interrupting
var TelegramFreeResponseChats = Register(&List{Meta: Meta{Key: "telegram.free_response_chats", Label: "Free reply chats", Short: "Telegram: chats where it answers without being mentioned.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: chats where it answers without a mention
var TelegramFreeResponseTopics = Register(&List{Meta: Meta{Key: "telegram.free_response_topics", Label: "Free reply topics", Short: "Telegram: forum topics where it answers without being mentioned.", Help: "Each item is chat:topic, such as -100123:7.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: forum topics where it answers without a mention
var TelegramGroupAllowFrom = Register(&List{Meta: Meta{Key: "telegram.group_allow_from", Env: "TELEGRAM_GROUP_ALLOWED_USERS", Label: "Allowed in groups", Short: "Telegram: user IDs allowed to talk to it in groups.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: people allowed to talk to it in groups
var TelegramGroupAllowedChats = Register(&List{Meta: Meta{Key: "telegram.group_allowed_chats", Env: "TELEGRAM_GROUP_ALLOWED_CHATS", Label: "Open groups", Short: "Telegram: group chat IDs where everyone may talk to it.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: groups where everyone may talk to it
var TelegramGuestMode = Register(&Bool{Meta: Meta{Key: "telegram.guest_mode", Label: "Guest mode", Short: "Telegram: answer when someone brings the bot into a chat as a guest.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: false})
Telegram: answer people who reach the bot as a guest in another chat
var TelegramHTTPConnectTimeout = Register(&Duration{Meta: Meta{Key: "telegram.http_connect_timeout", Label: "Connect limit", Short: "Telegram: longest connecting to the Telegram API may take.", Group: GroupChatApps, Order: 2348, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_HTTP_CONNECT_TIMEOUT"}, Default: 10 * time.Second})
Longest connecting to the Telegram API may take
var TelegramHTTPPoolSize = Register(&Int{Meta: Meta{Key: "telegram.http_pool_size", Label: "Connection pool", Short: "Telegram: most connections to the Telegram API at once.", Group: GroupChatApps, Order: 2346, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_HTTP_POOL_SIZE"}, Default: 512, Min: at(1), Unit: "connections"})
Most connections to the Telegram API at once
var TelegramHTTPPoolTimeout = Register(&Duration{Meta: Meta{Key: "telegram.http_pool_timeout", Label: "Pool wait", Short: "Telegram: longest a request waits for a free connection.", Group: GroupChatApps, Order: 2347, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_HTTP_POOL_TIMEOUT"}, Default: 8 * time.Second})
Longest a Telegram request waits for a free connection
var TelegramHTTPReadTimeout = Register(&Duration{Meta: Meta{Key: "telegram.http_read_timeout", Label: "Read limit", Short: "Telegram: longest the wait for an API answer may take.", Group: GroupChatApps, Order: 2349, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_HTTP_READ_TIMEOUT"}, Default: 20 * time.Second})
Longest the wait for an answer of the Telegram API may take
var TelegramHTTPWriteTimeout = Register(&Duration{Meta: Meta{Key: "telegram.http_write_timeout", Label: "Write limit", Short: "Telegram: longest sending a request to the API may take.", Group: GroupChatApps, Order: 2350, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_HTTP_WRITE_TIMEOUT"}, Default: 20 * time.Second})
Longest sending a request to the Telegram API may take
var TelegramIgnoredThreads = Register(&List{Meta: Meta{Key: "telegram.ignored_threads", Label: "Ignored topics", Short: "Telegram: forum topic numbers it never reads.", Group: GroupChatApps, Order: 2340, Advanced: true}})
Telegram: forum topics it never reads
var TelegramInitTimeout = Register(&Duration{Meta: Meta{Key: "telegram.init_timeout", Label: "Start limit", Short: "Telegram: longest one attempt to start the bot may take.", Group: GroupChatApps, Order: 2345, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_INIT_TIMEOUT"}, Default: 30 * time.Second})
Longest one attempt to start the Telegram bot may take
var TelegramMediaBatchDelay = Register(&Duration{Meta: Meta{Key: "telegram.media_batch_delay_seconds", Label: "Media gather wait", Short: "Telegram: wait for more photos or files of one album.", Group: GroupChatApps, Order: 2351, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_MEDIA_BATCH_DELAY_SECONDS"}, Default: 800 * time.Millisecond})
Wait for more photos or files of one Telegram album
var TelegramMentionPatterns = Register(&List{Meta: Meta{Key: "telegram.mention_patterns", Label: "Mention words", Short: "Telegram: words that count as a mention besides the bot's name.", Help: "Each item is a pattern matched against the message text.", Group: GroupChatApps, Order: 2340, Advanced: true}, Whole: true})
Telegram: words that count as a mention besides the bot's name
var TelegramNotifications = Register(&Enum{Meta: Meta{Key: "telegram.notifications", Label: "Reply alerts", Short: "Telegram: which replies make the phone buzz.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: "important", Values: []Choice{{Value: "important", Label: "Important", Meaning: "Only the final answer and questions."}, {Value: "all", Label: "All", Meaning: "Every message, progress included."}}})
Telegram: whether replies make the phone notify
var TelegramObserveUnmentionedGroupMessages = Register(&Bool{Meta: Meta{Key: "telegram.observe_unmentioned_group_messages", Label: "Read group talk", Short: "Telegram: keep group messages that do not mention it as context.", Help: "It still answers only when mentioned.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: false})
Telegram: read group messages that do not mention it, without answering
var TelegramReactions = Register(&Bool{Meta: Meta{Key: "telegram.reactions", Label: "Reactions", Short: "Telegram: react to messages while working on them.", Group: GroupChatApps, Order: 2340, Apply: Live, Advanced: true}, Default: false})
Telegram: react to messages while working on them
var TelegramRequireMention = Register(&Bool{Meta: Meta{Key: "telegram.require_mention", Label: "Require mention", Short: "Telegram: answer in groups only when someone mentions the bot.", Group: GroupChatApps, Order: 2340, Advanced: true}, Default: false})
Telegram: answer in groups only when mentioned
var TelegramTextBatchDelay = Register(&Duration{Meta: Meta{Key: "telegram.text_batch_delay_seconds", Label: "Text gather wait", Short: "Telegram: wait for more text of a message sent in parts.", Group: GroupChatApps, Order: 2352, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_TEXT_BATCH_DELAY_SECONDS"}, Default: 300 * time.Millisecond, Min: at(80 * time.Millisecond), Max: at(2 * time.Second)})
Wait for more text of a Telegram message sent in parts
var TelegramTextBatchSplitDelay = Register(&Duration{Meta: Meta{Key: "telegram.text_batch_split_delay_seconds", Label: "Long text wait", Short: "Telegram: wait after a part that hit the length limit.", Help: "Never shorter than the text gather wait.", Group: GroupChatApps, Order: 2353, Advanced: true, Apply: Restart, Env: "ICEBATH_TELEGRAM_TEXT_BATCH_SPLIT_DELAY_SECONDS"}, Default: time.Second, Min: at(time.Duration(0)), Max: at(4 * time.Second)})
Wait after a part of a Telegram message that hit the length limit
var TelegramWebhookHost = Register(&String{Meta: Meta{Key: "telegram.webhook_host", Label: "Webhook address", Short: "Telegram: address the webhook listener binds to.", Help: "Empty listens on every address.", Group: GroupChatApps, Order: 2355, Advanced: true, Apply: Restart, Env: "TELEGRAM_WEBHOOK_HOST"}})
Address the Telegram webhook listener binds to
var TelegramWebhookPort = Register(&Int{Meta: Meta{Key: "telegram.webhook_port", Label: "Webhook port", Short: "Telegram: port the webhook listener binds to.", Group: GroupChatApps, Order: 2356, Advanced: true, Apply: Restart, Env: "TELEGRAM_WEBHOOK_PORT"}, Default: 8443, Min: at(1), Max: at(65535)})
Port the Telegram webhook listener binds to
var TelegramWebhookURL = Register(&String{Meta: Meta{Key: "telegram.webhook_url", Label: "Webhook URL", Short: "Telegram: public address Telegram sends updates to.", Help: "Empty asks Telegram for updates instead. Needs the TELEGRAM_WEBHOOK_SECRET key.", Group: GroupChatApps, Order: 2354, Advanced: true, Apply: Restart, Env: "TELEGRAM_WEBHOOK_URL"}})
Public address Telegram sends updates to
var TerminalAutoSourceBashrc = Register(&Bool{Meta: Meta{Key: "terminal.auto_source_bashrc", Label: "Load shell profile", Short: "Load your usual shell startup files before running commands.", Help: "Ignored when a shell init file list is set.", Group: GroupTerminal, Order: 1150, Advanced: true}, Default: true})
Load your usual shell startup files before running commands
var TerminalClientEnvPassthrough = Register(&List{Meta: Meta{Key: "terminal.client_env_passthrough", Label: "Client variables", Short: "Extra variable names copied from the connecting terminal.", Help: "Names only. Secrets are filtered out.", Group: GroupTerminal, Order: 1160, Advanced: true, Apply: NewSession}})
Extra variable names copied from the connecting terminal
var TerminalContainerCpu = Register(&Float{Meta: Meta{Key: "terminal.container_cpu", Label: "Sandbox CPUs", Short: "CPU cores given to a container or cloud sandbox.", Group: GroupTerminal, Order: 1170, Advanced: true, Apply: NewSession}, Default: 1, Unit: "CPUs"})
CPU cores given to a container or cloud sandbox
var TerminalContainerDisk = Register(&Int{Meta: Meta{Key: "terminal.container_disk", Label: "Sandbox disk", Short: "Disk space given to a container or cloud sandbox.", Group: GroupTerminal, Order: 1180, Advanced: true, Apply: NewSession}, Default: 51200, Unit: "MB"})
Disk space given to a container or cloud sandbox
var TerminalContainerMemory = Register(&Int{Meta: Meta{Key: "terminal.container_memory", Label: "Sandbox memory", Short: "Memory given to a container or cloud sandbox.", Group: GroupTerminal, Order: 1190, Advanced: true, Apply: NewSession}, Default: 5120, Unit: "MB"})
Memory given to a container or cloud sandbox
var TerminalContainerPersistent = Register(&Bool{Meta: Meta{Key: "terminal.container_persistent", Label: "Keep sandbox files", Short: "Keep a sandbox's files between sessions.", Group: GroupTerminal, Order: 1200, Advanced: true, Apply: NewSession}, Default: true})
Keep a sandbox's files between sessions
var TerminalCredentialFiles = Register(&List{Meta: Meta{Key: "terminal.credential_files", Label: "Credential files", Short: "Files under the config folder copied into remote sandboxes.", Help: "Paths are relative to the icebath home folder.", Group: GroupTerminal, Order: 1210, Advanced: true, Apply: NewSession}})
Files under the config folder copied into remote sandboxes
var TerminalDaemonTermGraceSeconds = Register(&Duration{Meta: Meta{Key: "terminal.daemon_term_grace_seconds", Label: "Stop grace period", Short: "Wait before force-killing a background process that was asked to stop.", Help: "Zero kills it immediately.", Group: GroupTerminal, Order: 1220, Advanced: true}, Default: 2 * time.Second})
Wait before force-killing a background process that was asked to stop
var TerminalDaytonaImage = Register(&String{Meta: Meta{Key: "terminal.daytona_image", Label: "Daytona image", Short: "Image Daytona sandboxes start from.", Group: GroupTerminal, Order: 1230, Advanced: true, Apply: NewSession}, Default: "localhost/icebath-sandbox:desktop"})
Image Daytona sandboxes start from
var TerminalDegradedMode = Register(&Enum{Meta: Meta{Key: "terminal.degraded_mode", Label: "Backend failure mode", Short: "What happens when the place commands run cannot be reached.", Group: GroupTerminal, Order: 1240, Advanced: true, Apply: NewSession}, Default: "warn", Values: []Choice{
{Value: "warn", Label: "Warn", Meaning: "Report the problem and keep the session going."},
{Value: "fail", Label: "Fail", Meaning: "Stop the turn with an error."},
}})
What happens when the place commands run cannot be reached
var TerminalDiskWarningGb = Register(&Float{Meta: Meta{Key: "terminal.disk_warning_gb", Label: "Disk warning", Short: "Space Singularity sandboxes may use before a warning, in GB.", Env: "TERMINAL_DISK_WARNING_GB", Group: GroupTerminal, Order: 1245, Advanced: true}, Default: 500, Unit: "GB"})
Space Singularity sandboxes may use before a warning
var TerminalDockerEnv = Register(&Map{Meta: Meta{Key: "terminal.docker_env", Label: "Docker variables", Short: "Variables set inside Docker sandboxes, as name and value.", Group: GroupTerminal, Order: 1250, Advanced: true, Apply: NewSession}})
Variables set inside Docker sandboxes, as name and value
var TerminalDockerExtraArgs = Register(&List{Meta: Meta{Key: "terminal.docker_extra_args", Label: "Docker extra flags", Short: "Extra flags added to the Docker run command.", Group: GroupTerminal, Order: 1260, Advanced: true, Apply: NewSession}})
Extra flags added to the Docker run command
var TerminalDockerForwardEnv = Register(&List{Meta: Meta{Key: "terminal.docker_forward_env", Label: "Docker forwarded variables", Short: "Host variables passed into Docker sandboxes.", Help: "Names only. The values come from your environment.", Group: GroupTerminal, Order: 1270, Advanced: true, Apply: NewSession}})
Host variables passed into Docker sandboxes
var TerminalDockerMountCwdToWorkspace = Register(&Bool{Meta: Meta{Key: "terminal.docker_mount_cwd_to_workspace", Label: "Mount working folder", Short: "Mount your current folder into the Docker sandbox.", Group: GroupTerminal, Order: 1280, Advanced: true, Apply: NewSession}, Default: false})
Mount your current folder into the Docker sandbox
var TerminalDockerNetwork = Register(&Bool{Meta: Meta{Key: "terminal.docker_network", Label: "Docker network", Short: "Let Docker sandboxes reach the network.", Group: GroupTerminal, Order: 1290, Advanced: true, Apply: NewSession}, Default: true})
Let Docker sandboxes reach the network
var TerminalDockerOrphanReaper = Register(&Bool{Meta: Meta{Key: "terminal.docker_orphan_reaper", Label: "Clean stray containers", Short: "Remove leftover Docker sandboxes from earlier runs.", Group: GroupTerminal, Order: 1300, Advanced: true, Apply: NewSession}, Null: "on"})
Remove leftover Docker sandboxes from earlier runs
var TerminalDockerPersistAcrossProcesses = Register(&Bool{Meta: Meta{Key: "terminal.docker_persist_across_processes", Label: "Reuse Docker sandbox", Short: "Keep a Docker sandbox alive so later runs can reuse it.", Group: GroupTerminal, Order: 1310, Advanced: true, Apply: NewSession}, Null: "on"})
Keep a Docker sandbox alive so later runs can reuse it
var TerminalDockerRunAsHostUser = Register(&Bool{Meta: Meta{Key: "terminal.docker_run_as_host_user", Label: "Run as me", Short: "Run Docker commands as your own user, not root.", Group: GroupTerminal, Order: 1320, Advanced: true, Apply: NewSession}, Default: false})
Run Docker commands as your own user, not root
Name that lets sessions share one Docker sandbox
var TerminalDockerShmSize = Register(&String{Meta: Meta{Key: "terminal.docker_shm_size", Label: "Docker shared memory", Short: "Shared memory size for Docker sandboxes, such as 1g.", Group: GroupTerminal, Order: 1340, Advanced: true, Apply: NewSession}, Default: "1g"})
Shared memory size for Docker sandboxes, such as 1g
var TerminalDockerSnapCompat = Register(&Bool{Meta: Meta{Key: "terminal.docker_snap_compat", Label: "Snap Docker mode", Short: "Work around Docker installed as a snap package.", Group: GroupTerminal, Order: 1350, Advanced: true, Apply: NewSession}, Default: false})
Work around Docker installed as a snap package
var TerminalDockerVolumes = Register(&List{Meta: Meta{Key: "terminal.docker_volumes", Label: "Docker volumes", Short: "Folders mounted into Docker sandboxes, as host:container.", Group: GroupTerminal, Order: 1360, Advanced: true, Apply: NewSession}})
Folders mounted into Docker sandboxes, as host:container
var TerminalEnvPassthrough = Register(&List{Meta: Meta{Key: "terminal.env_passthrough", Label: "Passthrough env names", Short: "Extra variable names commands may see from your environment.", Help: "Provider keys are refused here.", Group: GroupTerminal, Order: 1370, Advanced: true}})
Extra variable names commands may see from your environment
var TerminalHomeMode = Register(&Enum{Meta: Meta{Key: "terminal.home_mode", Label: "Home folder mode", Short: "Which home folder commands see.", Group: GroupTerminal, Order: 1380, Advanced: true, Apply: NewSession}, Default: "auto", Values: []Choice{
{Value: "auto", Label: "Automatic", Meaning: "Pick the safest home for where commands run."},
{Value: "profile", Label: "Profile home", Meaning: "Use the isolated icebath profile folder."},
{Value: "real", Label: "Real home", Meaning: "Use your own home folder."},
}})
Which home folder commands see
var TerminalLifetimeSeconds = Register(&Duration{Meta: Meta{Key: "terminal.lifetime_seconds", Label: "Sandbox idle limit", Short: "Idle time after which an unused sandbox is shut down.", Group: GroupTerminal, Order: 1500, Advanced: true, Apply: NewSession}, Default: 5 * time.Minute, Min: at(time.Duration(0))})
Idle time after which an unused sandbox is cleaned up
var TerminalLocalMemoryMaxMb = Register(&Int{Meta: Meta{Key: "terminal.local_memory_max_mb", Label: "Worker memory cap", Short: "Most memory a background command worker may use, in MB.", Help: "It never exceeds this machine's own limit.", Env: "TERMINAL_LOCAL_MEMORY_MAX_MB", Group: GroupTerminal, Order: 1565, Advanced: true}, Null: "half of this machine's memory, at most 4 GB", Unit: "MB"})
Most memory a background command worker may use
var TerminalLocalPersistent = Register(&Bool{Meta: Meta{Key: "terminal.local_persistent", Label: "Persistent local shell", Short: "Keep one shell open between commands run on this machine.", Help: "Off starts a fresh shell for every command.", Group: GroupTerminal, Order: 1560, Advanced: true, Apply: NewSession}, Default: true})
One shell kept open between commands on this machine
var TerminalMaxForegroundTimeout = Register(&Duration{Meta: Meta{Key: "terminal.max_foreground_timeout", Label: "Timeout ceiling", Short: "Longest timeout one foreground command may ask for.", Help: "A longer one runs the command in the background instead.", Env: "TERMINAL_MAX_FOREGROUND_TIMEOUT", Group: GroupTerminal, Order: 1395, Advanced: true}, Default: 10 * time.Minute})
Longest timeout a single foreground command may ask for
var TerminalModalImage = Register(&String{Meta: Meta{Key: "terminal.modal_image", Label: "Modal image", Short: "Image Modal sandboxes start from.", Group: GroupTerminal, Order: 1390, Advanced: true, Apply: NewSession}, Default: "localhost/icebath-sandbox:desktop"})
Image Modal sandboxes start from
var TerminalOneshotCompletionWaitSeconds = Register(&Duration{Meta: Meta{Key: "terminal.oneshot_completion_wait_seconds", Label: "One-shot wait limit", Short: "Longest wait for a one-shot background command to finish.", Group: GroupTerminal, Order: 1400, Advanced: true}, Default: 10 * time.Minute})
Longest wait for a one-shot background command to finish
var TerminalPersistentShell = Register(&Bool{Meta: Meta{Key: "terminal.persistent_shell", Label: "Persistent SSH shell", Short: "Keep one shell open between remote commands over SSH.", Help: "Other backends have their own persistence settings.", Group: GroupTerminal, Order: 1410, Advanced: true, Apply: NewSession}, Default: true})
Keep one shell open between remote commands over SSH
var TerminalProcessWaitAutoNotify = Register(&Bool{Meta: Meta{Key: "terminal.process_wait_auto_notify", Label: "Notify on finish", Short: "Tell the agent when a waited-on background process ends.", Group: GroupTerminal, Order: 1420, Advanced: true}, Default: true})
Tell the agent when a waited-on background process ends
var TerminalSSHHost = Register(&String{Meta: Meta{Key: "terminal.ssh_host", Label: "SSH host", Short: "Machine the agent's commands run on when they run over SSH.", Group: GroupTerminal, Order: 1510, Advanced: true, Apply: NewSession}})
Machine the agent's commands run on over SSH
var TerminalSSHKey = Register(&Path{Meta: Meta{Key: "terminal.ssh_key", Label: "SSH key file", Short: "Private key file used to log in over SSH.", Help: "Empty uses your SSH agent and default keys.", Group: GroupTerminal, Order: 1540, Advanced: true, Apply: NewSession}})
Private key file the SSH backend logs in with
var TerminalSSHPort = Register(&Int{Meta: Meta{Key: "terminal.ssh_port", Label: "SSH port", Short: "Port to connect to over SSH.", Group: GroupTerminal, Order: 1530, Advanced: true, Apply: NewSession}, Default: 22, Min: at(1), Max: at(65535)})
Port the SSH backend connects to
var TerminalSSHUser = Register(&String{Meta: Meta{Key: "terminal.ssh_user", Label: "SSH user", Short: "Account to log in as over SSH.", Group: GroupTerminal, Order: 1520, Advanced: true, Apply: NewSession}})
Account the SSH backend logs in as
var TerminalSandboxDir = Register(&String{Meta: Meta{Key: "terminal.sandbox_dir", Label: "Sandbox folder", Short: "Host folder where sandbox files are stored.", Help: "Unset uses the sandboxes folder in the icebath home.", Group: GroupTerminal, Order: 1430, Advanced: true, Apply: NewSession}, Null: "the sandboxes folder in the icebath home"})
Host folder where sandbox files are stored
var TerminalScratchDir = Register(&String{Meta: Meta{Key: "terminal.scratch_dir", Label: "Singularity scratch", Short: "Folder for Singularity overlays and the image cache.", Env: "TERMINAL_SCRATCH_DIR", Group: GroupTerminal, Order: 1435, Advanced: true}, Null: "a writable /scratch, else the sandbox folder"})
Folder for Singularity overlays and the image cache
var TerminalShellInitFiles = Register(&List{Meta: Meta{Key: "terminal.shell_init_files", Label: "Shell init files", Short: "Files sourced before commands run, instead of the usual ones.", Help: "Empty falls back to the profile and bashrc files.", Group: GroupTerminal, Order: 1440, Advanced: true}})
Files sourced before commands run, instead of the usual ones
var TerminalSingularityImage = Register(&String{Meta: Meta{Key: "terminal.singularity_image", Label: "Apptainer image", Short: "Image the Apptainer sandbox starts from.", Group: GroupTerminal, Order: 1550, Advanced: true, Apply: NewSession}, Null: "the default sandbox image"})
Image the Apptainer sandbox starts from
var TerminalSyncBackMaxBytes = Register(&Int{Meta: Meta{Key: "terminal.sync_back_max_bytes", Label: "Sync-back size cap", Short: "Largest archive copied back from a remote sandbox.", Group: GroupTerminal, Order: 1450, Advanced: true}, Default: 2147483648, Unit: "bytes"})
Largest archive copied back from a remote sandbox
var TerminalTempDir = Register(&String{Meta: Meta{Key: "terminal.temp_dir", Label: "Temp folder", Short: "Folder commands use for temporary files.", Help: "Empty uses the normal system temp folder.", Group: GroupTerminal, Order: 1460, Advanced: true, Apply: NewSession}, Default: ""})
Folder commands use for temporary files
var TerminalTimeout = Register(&Duration{Meta: Meta{Key: "terminal.timeout", Label: "Command timeout", Short: "Longest a foreground command may run before it is stopped.", Group: GroupTerminal, Order: 1470, Advanced: true, Apply: NewSession, Env: "TERMINAL_TIMEOUT"}, Default: 3 * time.Minute})
Longest a foreground command may run before it is stopped
var TerminalVercelImage = Register(&String{Meta: Meta{Key: "terminal.vercel_image", Label: "Vercel image", Short: "Image Vercel sandboxes start from.", Group: GroupTerminal, Order: 1480, Advanced: true, Apply: NewSession}, Default: "vercel/sandbox/universal:latest"})
Image Vercel sandboxes start from
var TerminalVercelRuntime = Register(&String{Meta: Meta{Key: "terminal.vercel_runtime", Label: "Vercel runtime", Short: "Language runtime for Vercel sandboxes.", Help: "Empty uses the image setting instead.", Group: GroupTerminal, Order: 1490, Advanced: true, Apply: NewSession}, Default: ""})
Language runtime for Vercel sandboxes
var Theme = Register(&Enum{Meta: Meta{Key: "display.tui_theme", Label: "Theme", Short: "Light, dark, or match the terminal.", Group: GroupAppearance, Order: 10, Slash: "theme", Env: "ICEBATH_TUI_THEME"}, Default: "auto", Values: []Choice{ {"auto", "Match terminal", "Follow the terminal's background."}, {"light", "Light", ""}, {"dark", "Dark", ""}, }})
Light, dark or match the terminal
var TimeoutsMcpToolCall = Register(&Duration{Meta: Meta{Key: "timeouts.mcp.tool_call", Label: "MCP tool call limit", Short: "Longest one call of an MCP tool may take.", Help: "A server's own timeout wins over it. Zero or less uses the default.", Group: GroupTools, Order: 1487, Advanced: true, Apply: Restart}, Default: 5 * time.Minute})
Longest one call of an MCP tool may take
var TimeoutsToolsConcurrentBatch = Register(&Duration{Meta: Meta{Key: "timeouts.tools.concurrent_batch", Label: "Tool batch limit", Short: "Longest a batch of tool calls run at the same time may take.", Help: "Zero means no limit.", Group: GroupSystem, Order: 2000, Advanced: true, Apply: NextTurn}, Default: 7 * time.Minute, Min: at(time.Duration(0))})
Longest a batch of tool calls run together may take
var TimeoutsToolsSequentialCall = Register(&Duration{Meta: Meta{Key: "timeouts.tools.sequential_call", Label: "Single tool limit", Short: "Longest one tool call run on its own may take.", Help: "Zero means no limit.", Group: GroupSystem, Order: 2010, Advanced: true, Apply: NextTurn}, Null: "the tool batch limit", Min: at(time.Duration(0))})
Longest one tool call run on its own may take
var Timestamps = Register(&Bool{Meta: Meta{Key: "display.timestamps", Label: "Timestamps", Short: "Show the time beside each message.", Group: GroupAppearance, Order: 50, Slash: "timestamps"}, Default: false})
Time beside each message
var Timezone = Register(&String{Meta: Meta{Key: "timezone", Label: "Timezone", Short: "Time zone for dates, times and schedules, such as Europe/Berlin.", Help: "Leave empty to use this computer's time zone.", Group: GroupAgent, Order: 2100, Advanced: true, Env: "ICEBATH_TIMEZONE"}, Default: ""})
Time zone for dates, times and schedules, such as Europe/Berlin
var ToolBudgetMcpResultSizeChars = Register(&Int{Meta: Meta{Key: "tool_budget.mcp_result_size_chars", Label: "MCP result size", Short: "Largest MCP tool result kept in the chat before it is saved to a file.", Group: GroupTools, Order: 1755, Advanced: true}, Default: 50000, Unit: "chars", Min: at(1), DefaultBelow: true})
Largest MCP tool result kept in the chat before it is saved to a file
var ToolGroups = Register(&Map{Meta: Meta{Key: "platform_toolsets", Label: "Tool groups", Short: "Which groups of tools the agent may call, per app.", Help: "The terminal UI uses the cli entry and each chat app its own. /tools changes the current one.", Group: GroupTools, Order: 10, Apply: NewSession}, Value: &List{Meta: Meta{Key: "platform_toolsets.*"}}})
Tool groups each surface may use, keyed by surface
var ToolLoopGuardrailsHardStopAfterExactFailure = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.hard_stop_after.exact_failure", Label: "Stop: same failure", Short: "Stops after the same failing call repeats this many times.", Group: GroupAgent, Order: 2110, Advanced: true}, Default: 5, Min: at(1)})
Stops after the same failing call repeats this many times
var ToolLoopGuardrailsHardStopAfterIdempotentNoProgress = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.hard_stop_after.idempotent_no_progress", Label: "Stop: no progress", Short: "Stops after a read-only call repeats with no new result.", Group: GroupAgent, Order: 2120, Advanced: true}, Default: 5, Min: at(1)})
Stops after a read-only call repeats with no new result
var ToolLoopGuardrailsHardStopAfterSameToolFailure = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.hard_stop_after.same_tool_failure", Label: "Stop: tool failures", Short: "Stops after one tool keeps failing this many times.", Group: GroupAgent, Order: 2130, Advanced: true}, Default: 8, Min: at(1)})
Stops after one tool keeps failing this many times
var ToolLoopGuardrailsHardStopEnabled = Register(&Bool{Meta: Meta{Key: "tool_loop_guardrails.hard_stop_enabled", Label: "Stop looping tools", Short: "Stops a turn that is stuck in a tool loop.", Group: GroupAgent, Order: 2140, Advanced: true}, Default: false})
Stops a turn that is stuck in a tool loop
var ToolLoopGuardrailsLoopCapsMaxSubagents = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.loop_caps.max_subagents", Label: "Subagents per turn", Short: "Most subagents one turn may start.", Help: "Zero means no limit.", Group: GroupAgent, Order: 2150, Advanced: true}, Default: 50, Min: at(0)})
Most subagents one turn may start
var ToolLoopGuardrailsLoopCapsMaxWebSearches = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.loop_caps.max_web_searches", Label: "Searches per turn", Short: "Most web searches one turn may make.", Help: "Zero means no limit.", Group: GroupAgent, Order: 2160, Advanced: true}, Default: 50, Min: at(0)})
Most web searches one turn may make
var ToolLoopGuardrailsNonInteractiveHardStopEnabled = Register(&Bool{Meta: Meta{Key: "tool_loop_guardrails.non_interactive_hard_stop_enabled", Label: "Stop loops unattended", Short: "Always stops tool loops in chats and scheduled runs.", Group: GroupAgent, Order: 2170, Advanced: true}, Default: true})
Always stops tool loops in chats and scheduled runs
var ToolLoopGuardrailsWarnAfterExactFailure = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.warn_after.exact_failure", Label: "Warn: same failure", Short: "Warns the agent after the same failing call repeats this often.", Group: GroupAgent, Order: 2180, Advanced: true}, Default: 2, Min: at(1)})
Warns the agent after the same failing call repeats this often
var ToolLoopGuardrailsWarnAfterIdempotentNoProgress = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.warn_after.idempotent_no_progress", Label: "Warn: no progress", Short: "Warns after a read-only call repeats with no new result.", Group: GroupAgent, Order: 2190, Advanced: true}, Default: 2, Min: at(1)})
Warns after a read-only call repeats with no new result
var ToolLoopGuardrailsWarnAfterSameToolFailure = Register(&Int{Meta: Meta{Key: "tool_loop_guardrails.warn_after.same_tool_failure", Label: "Warn: tool failures", Short: "Warns the agent after one tool keeps failing this often.", Group: GroupAgent, Order: 2200, Advanced: true}, Default: 3, Min: at(1)})
Warns the agent after one tool keeps failing this often
var ToolLoopGuardrailsWarningsEnabled = Register(&Bool{Meta: Meta{Key: "tool_loop_guardrails.warnings_enabled", Label: "Loop warnings", Short: "Warns the agent when it seems stuck in a tool loop.", Group: GroupAgent, Order: 2210, Advanced: true}, Default: true})
Warns the agent when it seems stuck in a tool loop
var ToolOutputMaxBytes = Register(&Int{Meta: Meta{Key: "tool_output.max_bytes", Label: "Tool output size", Short: "Most bytes of a tool result kept before it is cut.", Group: GroupTools, Order: 1730, Advanced: true}, Default: 50000, Unit: "bytes", Min: at(1), DefaultBelow: true})
Most bytes of a tool result kept before it is cut
var ToolOutputMaxLineLength = Register(&Int{Meta: Meta{Key: "tool_output.max_line_length", Label: "Tool line length", Short: "Most characters kept per line of a tool result.", Group: GroupTools, Order: 1740, Advanced: true}, Default: 2000, Unit: "chars", Min: at(1), DefaultBelow: true})
Most characters kept per line of a tool result
var ToolOutputMaxLines = Register(&Int{Meta: Meta{Key: "tool_output.max_lines", Label: "Tool output lines", Short: "Most lines of a tool result kept before it is cut.", Group: GroupTools, Order: 1750, Advanced: true}, Default: 2000, Unit: "lines", Min: at(1), DefaultBelow: true})
Most lines of a tool result kept before it is cut
var ToolProgress = Register(&Enum{Meta: Meta{Key: "display.tool_progress", Platforms: true, Label: "Tool progress", Short: "Which tool calls get a line in the transcript while the agent works.", Group: GroupWorking, Order: 100, Advanced: true, Scopes: Global | Session, Slash: "verbose"}, Default: "all", Values: []Choice{ {"off", "Off", "No tool lines."}, {"new", "New", "A line only when the tool changes."}, {"all", "All", "A line for every call."}, {"verbose", "Verbose", "Every call with its arguments and results."}, {"log", "Log", "Chat apps only: a running log message of tool names."}, }})
Tool call lines in the transcript
var ToolsToolSearchDefer = Register(&List{Meta: Meta{Key: "tools.tool_search.defer", Label: "Deferred tools", Short: "Tools hidden until the agent searches for them, to save context.", Help: "An empty list keeps every tool loaded up front.", Group: GroupTools, Order: 1760, Advanced: true}, Default: []any{"computer_use", "session_search", "image_generate", "todo_list", "process_manage", "cronjob_manage", "browser_vault", "desktop_project"}})
Tools hidden until the agent searches for them, to save context
var ToolsToolSearchEnabled = Register(&Enum{Meta: Meta{Key: "tools.tool_search.enabled", Label: "Tool search", Short: "Whether rarely used tools are found by search instead of listed.", Group: GroupTools, Order: 1770, Advanced: true}, Default: "auto", Values: []Choice{{"auto", "Automatic", "Used when it saves context."}, {"on", "On", "Always used."}, {"off", "Off", "Never used."}}, Also: map[string]string{"true": "on", "1": "on", "yes": "on", "false": "off", "0": "off", "no": "off"}})
Whether rarely used tools are found by search instead of listed
var ToolsToolSearchListing = Register(&Enum{Meta: Meta{Key: "tools.tool_search.listing", Label: "Tool listing", Short: "Whether hidden tools are summarized in the prompt.", Group: GroupTools, Order: 1780, Advanced: true}, Default: "auto", Values: []Choice{{"auto", "Automatic", "Shown when it fits."}, {"on", "On", "Always shown."}, {"off", "Off", "Never shown."}}, Also: map[string]string{"true": "on", "1": "on", "yes": "on", "false": "off", "0": "off", "no": "off"}})
Whether hidden tools are summarized in the prompt
var ToolsToolSearchListingMaxTokens = Register(&Int{Meta: Meta{Key: "tools.tool_search.listing_max_tokens", Label: "Listing size", Short: "Most tokens spent summarizing hidden tools.", Help: "Between 200 and 60000.", Group: GroupTools, Order: 1790, Advanced: true}, Default: 4000, Unit: "tokens", Min: at(200), Max: at(60000)})
Most tokens spent summarizing hidden tools
var ToolsToolSearchMaxSearchLimit = Register(&Int{Meta: Meta{Key: "tools.tool_search.max_search_limit", Label: "Max search results", Short: "Most tools one search may return.", Group: GroupTools, Order: 1800, Advanced: true}, Default: 25, Min: at(1), Max: at(50)})
Most tools one search may return
var ToolsToolSearchSearchDefaultLimit = Register(&Int{Meta: Meta{Key: "tools.tool_search.search_default_limit", Label: "Default search results", Short: "How many tools a search returns when none is asked for.", Help: "Never above the maximum.", Group: GroupTools, Order: 1810, Advanced: true}, Default: 5, Min: at(1), Max: at(50)})
How many tools a search returns when none is asked for
var ToolsToolSearchThresholdPct = Register(&Float{Meta: Meta{Key: "tools.tool_search.threshold_pct", Label: "Listing context share", Short: "Share of the context window the tool summary may use.", Group: GroupTools, Order: 1820, Advanced: true}, Default: 5, Unit: "%", Min: at(0.0), Max: at(100.0)})
Share of the context window the tool summary may use
var Toolsets = Register(&List{Meta: Meta{Key: "toolsets", Label: "Toolsets", Short: "Only used to turn on the Kanban tools when listed.", Help: "Tool groups are normally chosen per platform, not here.", Group: GroupTools, Order: 1830, Advanced: true}, Default: []any{"icebath-cli"}})
Only used to turn on the Kanban tools when listed
var TtsDeepinfraBaseUrl = Register(&String{Meta: Meta{Key: "tts.deepinfra.base_url", Label: "DeepInfra endpoint", Short: "Custom endpoint for DeepInfra speech.", Group: GroupVoice, Order: 1475, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for DeepInfra speech
var TtsDeepinfraMaxTextLength = Register(maxTextLength("tts.deepinfra.max_text_length", "DeepInfra text limit", "DeepInfra", 1477))
Most text DeepInfra speaks in one request
var TtsDeepinfraModel = Register(&String{Meta: Meta{Key: "tts.deepinfra.model", Label: "DeepInfra model", Short: "Speech model used with DeepInfra.", Help: "Empty uses the service's default.", Group: GroupVoice, Order: 1480, Advanced: true}, Default: ""})
Speech model used with DeepInfra
var TtsDeepinfraSpeed = Register(&Float{Meta: Meta{Key: "tts.deepinfra.speed", Label: "DeepInfra speed", Short: "How fast DeepInfra speaks.", Help: "1 is normal.", Group: GroupVoice, Order: 1490, Advanced: true}, Null: "the general speech speed", Min: at(0.25), Max: at(4.0)})
How fast DeepInfra speaks
var TtsDeepinfraVoice = Register(&String{Meta: Meta{Key: "tts.deepinfra.voice", Label: "DeepInfra voice", Short: "Voice used with DeepInfra.", Group: GroupVoice, Order: 1500, Advanced: true}, Default: "default"})
Voice used with DeepInfra
var TtsDeliveryProfiles = Register(&Map{Meta: Meta{Key: "tts.delivery_profiles", Label: "Audio upload limits", Short: "Largest speech file sent to each chat app, by app name.", Help: "Longer speech is sent as several files; default covers apps not named.", Group: GroupVoice, Order: 1505, Advanced: true}, Value: &Object{Meta: Meta{Key: "tts.delivery_profiles.*", Label: "Upload limit", Short: "Size limits of speech files sent to one chat app."}, Fields: []Entry{ &Int{Meta: Meta{Key: "max_file_bytes", Label: "Largest file", Short: "Most bytes one speech file may have."}, Null: "the app's own limit", Min: at(1), Unit: "bytes"}, &Float{Meta: Meta{Key: "safety_ratio", Label: "Safety margin", Short: "Share of the largest file size actually filled."}, Null: "0.85", Min: at(0.01), Max: at(1.0)}, }}})
Largest audio file sent to each chat app, by app name
var TtsEdgeMaxTextLength = Register(maxTextLength("tts.edge.max_text_length", "Edge text limit", "Edge", 1507))
Most text Edge speaks in one request
var TtsEdgeSpeed = Register(&Float{Meta: Meta{Key: "tts.edge.speed", Label: "Edge speed", Short: "How fast the Edge voice speaks.", Help: "1 is normal.", Group: GroupVoice, Order: 1510, Advanced: true}, Null: "the general speech speed"})
How fast the Edge voice speaks
var TtsEdgeVoice = Register(&String{Meta: Meta{Key: "tts.edge.voice", Label: "Edge voice", Short: "Voice used with Edge speech.", Group: GroupVoice, Order: 1520, Advanced: true}, Default: "en-US-AriaNeural"})
Voice used with Edge speech
var TtsElevenlabsBaseUrl = Register(&String{Meta: Meta{Key: "tts.elevenlabs.base_url", Label: "ElevenLabs endpoint", Short: "Custom endpoint for ElevenLabs speech.", Group: GroupVoice, Order: 1530, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for ElevenLabs speech
var TtsElevenlabsMaxTextLength = Register(maxTextLength("tts.elevenlabs.max_text_length", "ElevenLabs text limit", "ElevenLabs", 1535))
Most text ElevenLabs speaks in one request
var TtsElevenlabsModelId = Register(&String{Meta: Meta{Key: "tts.elevenlabs.model_id", Label: "ElevenLabs model", Short: "Speech model used with ElevenLabs.", Group: GroupVoice, Order: 1540, Advanced: true}, Default: "eleven_multilingual_v2"})
Speech model used with ElevenLabs
var TtsElevenlabsStreamingModelId = Register(&String{Meta: Meta{Key: "tts.elevenlabs.streaming_model_id", Label: "ElevenLabs live model", Short: "Speech model for ElevenLabs when speaking as text arrives.", Group: GroupVoice, Order: 1550, Advanced: true}, Null: "the ElevenLabs model"})
Speech model for ElevenLabs when speaking as text arrives
var TtsElevenlabsVoiceId = Register(&String{Meta: Meta{Key: "tts.elevenlabs.voice_id", Label: "ElevenLabs voice", Short: "Voice used with ElevenLabs, by its ID.", Group: GroupVoice, Order: 1560, Advanced: true}, Default: "pNInz6obpgDQGcFmaJgB"})
Voice used with ElevenLabs, by its ID
var TtsGeminiAudioTags = Register(&Bool{Meta: Meta{Key: "tts.gemini.audio_tags", Label: "Gemini tone tags", Short: "Add tone cues to text before Gemini speaks it.", Group: GroupVoice, Order: 1570, Advanced: true}, Default: false})
Add tone cues to text before Gemini speaks it
var TtsGeminiBaseUrl = Register(&String{Meta: Meta{Key: "tts.gemini.base_url", Label: "Gemini endpoint", Short: "Custom endpoint for Gemini speech.", Group: GroupVoice, Order: 1580, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for Gemini speech
var TtsGeminiMaxTextLength = Register(maxTextLength("tts.gemini.max_text_length", "Gemini text limit", "Gemini", 1585))
Most text Gemini speaks in one request
var TtsGeminiModel = Register(&String{Meta: Meta{Key: "tts.gemini.model", Label: "Gemini model", Short: "Speech model used with Gemini.", Group: GroupVoice, Order: 1590, Advanced: true}, Default: "gemini-2.5-flash-preview-tts"})
Speech model used with Gemini
var TtsGeminiPersonaPromptFile = Register(&String{Meta: Meta{Key: "tts.gemini.persona_prompt_file", Label: "Gemini persona file", Short: "Path to a text file describing how Gemini should sound.", Group: GroupVoice, Order: 1600, Advanced: true}, Default: ""})
Path to a text file describing how Gemini should sound
var TtsGeminiVoice = Register(&String{Meta: Meta{Key: "tts.gemini.voice", Label: "Gemini voice", Short: "Voice used with Gemini.", Group: GroupVoice, Order: 1610, Advanced: true}, Default: "Kore"})
Voice used with Gemini
var TtsKeepWarmSeconds = Register(&Duration{Meta: Meta{Key: "tts.keep_warm_seconds", Label: "Keep voice loaded", Short: "How long a local voice stays loaded after use.", Help: "Zero unloads it at once.", Group: GroupVoice, Order: 1620, Advanced: true}, Default: time.Minute})
How long a local voice stays loaded after use
var TtsKittenttsCleanText = Register(&Bool{Meta: Meta{Key: "tts.kittentts.clean_text", Label: "Clean text", Short: "Tidy text before KittenTTS speaks it.", Group: GroupVoice, Order: 1630, Advanced: true}, Default: true})
Tidy text before KittenTTS speaks it
var TtsKittenttsMaxTextLength = Register(maxTextLength("tts.kittentts.max_text_length", "KittenTTS text limit", "KittenTTS", 1635))
Most text KittenTTS speaks in one request
var TtsKittenttsModel = Register(&String{Meta: Meta{Key: "tts.kittentts.model", Label: "KittenTTS model", Short: "On-device speech model used with KittenTTS.", Group: GroupVoice, Order: 1640, Advanced: true}, Default: "KittenML/kitten-tts-nano-0.8-int8"})
On-device speech model used with KittenTTS
var TtsKittenttsSpeed = Register(&Float{Meta: Meta{Key: "tts.kittentts.speed", Label: "KittenTTS speed", Short: "How fast KittenTTS speaks.", Help: "1 is normal.", Group: GroupVoice, Order: 1650, Advanced: true}, Null: "the general speech speed"})
How fast KittenTTS speaks
var TtsKittenttsVoice = Register(&String{Meta: Meta{Key: "tts.kittentts.voice", Label: "KittenTTS voice", Short: "Voice used with KittenTTS.", Group: GroupVoice, Order: 1660, Advanced: true}, Default: "Jasper"})
Voice used with KittenTTS
var TtsMinimaxBaseUrl = Register(&String{Meta: Meta{Key: "tts.minimax.base_url", Label: "MiniMax endpoint", Short: "Custom endpoint for MiniMax speech.", Group: GroupVoice, Order: 1670, Advanced: true}, Null: "the endpoint of the region"})
Custom endpoint for MiniMax speech
var TtsMinimaxBitrate = Register(&Int{Meta: Meta{Key: "tts.minimax.bitrate", Label: "MiniMax bitrate", Short: "Audio quality of MiniMax speech, in bits per second.", Group: GroupVoice, Order: 1680, Advanced: true}, Default: 128000, Unit: "bps"})
Audio quality of MiniMax speech, in bits per second
var TtsMinimaxEmotion = Register(&String{Meta: Meta{Key: "tts.minimax.emotion", Label: "MiniMax emotion", Short: "Emotion MiniMax puts in its speech, such as neutral or happy.", Group: GroupVoice, Order: 1690, Advanced: true}, Default: "neutral"})
Emotion MiniMax puts in its speech, such as neutral or happy
var TtsMinimaxGroupId = Register(&String{Meta: Meta{Key: "tts.minimax.group_id", Label: "MiniMax group ID", Short: "Account group ID sent to MiniMax.", Group: GroupVoice, Order: 1700, Advanced: true}, Null: "none"})
Account group ID sent to MiniMax
var TtsMinimaxMaxTextLength = Register(maxTextLength("tts.minimax.max_text_length", "MiniMax text limit", "MiniMax", 1705))
Most text MiniMax speaks in one request
var TtsMinimaxModel = Register(&String{Meta: Meta{Key: "tts.minimax.model", Label: "MiniMax model", Short: "Speech model used with MiniMax.", Group: GroupVoice, Order: 1710, Advanced: true}, Default: "speech-02-hd"})
Speech model used with MiniMax
var TtsMinimaxPitch = Register(&Int{Meta: Meta{Key: "tts.minimax.pitch", Label: "MiniMax pitch", Short: "Raise or lower the MiniMax voice pitch.", Group: GroupVoice, Order: 1720, Advanced: true}, Default: 0})
Raise or lower the MiniMax voice pitch
var TtsMinimaxRegion = Register(&Enum{Meta: Meta{Key: "tts.minimax.region", Label: "MiniMax region", Short: "Which MiniMax service region to use.", Group: GroupVoice, Order: 1730, Advanced: true}, Null: "global, or China when only a China key is set", Values: []Choice{{Value: "global", Label: "Global", Meaning: "International service."}, {Value: "cn", Label: "China", Meaning: "Mainland China service."}}})
Which MiniMax service region to use
var TtsMinimaxSampleRate = Register(&Int{Meta: Meta{Key: "tts.minimax.sample_rate", Label: "MiniMax sample rate", Short: "Audio sample rate for MiniMax speech, in Hz.", Group: GroupVoice, Order: 1740, Advanced: true}, Default: 32000, Unit: "Hz"})
Audio sample rate for MiniMax speech, in Hz
var TtsMinimaxSpeed = Register(&Float{Meta: Meta{Key: "tts.minimax.speed", Label: "MiniMax speed", Short: "How fast MiniMax speaks.", Help: "1 is normal.", Group: GroupVoice, Order: 1750, Advanced: true}, Null: "the general speech speed"})
How fast MiniMax speaks
var TtsMinimaxVoiceId = Register(&String{Meta: Meta{Key: "tts.minimax.voice_id", Label: "MiniMax voice", Short: "Voice used with MiniMax, by its ID.", Group: GroupVoice, Order: 1760, Advanced: true}, Default: "English_expressive_narrator"})
Voice used with MiniMax, by its ID
var TtsMinimaxVol = Register(&Float{Meta: Meta{Key: "tts.minimax.vol", Label: "MiniMax volume", Short: "How loud MiniMax speaks.", Group: GroupVoice, Order: 1770, Advanced: true}, Default: 1})
How loud MiniMax speaks
var TtsMistralBaseUrl = Register(&String{Meta: Meta{Key: "tts.mistral.base_url", Label: "Mistral endpoint", Short: "Custom endpoint for Mistral speech.", Group: GroupVoice, Order: 1780, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for Mistral speech
var TtsMistralMaxTextLength = Register(maxTextLength("tts.mistral.max_text_length", "Mistral text limit", "Mistral", 1785))
Most text Mistral speaks in one request
var TtsMistralModel = Register(&String{Meta: Meta{Key: "tts.mistral.model", Label: "Mistral model", Short: "Speech model used with Mistral.", Group: GroupVoice, Order: 1790, Advanced: true}, Default: "voxtral-mini-tts-2603"})
Speech model used with Mistral
var TtsMistralVoiceId = Register(&String{Meta: Meta{Key: "tts.mistral.voice_id", Label: "Mistral voice", Short: "Voice used with Mistral, by its ID.", Group: GroupVoice, Order: 1800, Advanced: true}, Default: "c69964a6-ab8b-4f8a-9465-ec0925096ec8"})
Voice used with Mistral, by its ID
var TtsModel = Register(&String{Meta: Meta{Key: "tts.model", Label: "Speech model", Short: "Speech model for plugin voice services.", Group: GroupVoice, Order: 1810, Advanced: true}, Null: "the plugin provider's model"})
Speech model for plugin voice services
var TtsNeuttsDevice = Register(&String{Meta: Meta{Key: "tts.neutts.device", Label: "NeuTTS device", Short: "Where NeuTTS runs, such as cpu or cuda.", Group: GroupVoice, Order: 1820, Advanced: true}, Default: "cpu"})
Where NeuTTS runs, such as cpu or cuda
var TtsNeuttsMaxTextLength = Register(maxTextLength("tts.neutts.max_text_length", "NeuTTS text limit", "NeuTTS", 1825))
Most text NeuTTS speaks in one request
var TtsNeuttsModel = Register(&String{Meta: Meta{Key: "tts.neutts.model", Label: "NeuTTS model", Short: "On-device speech model used with NeuTTS.", Group: GroupVoice, Order: 1830, Advanced: true}, Default: "neuphonic/neutts-air-q4-gguf"})
On-device speech model used with NeuTTS
var TtsNeuttsRefAudio = Register(&String{Meta: Meta{Key: "tts.neutts.ref_audio", Label: "NeuTTS sample audio", Short: "Path to a sample recording of the voice to copy.", Group: GroupVoice, Order: 1840, Advanced: true}, Default: ""})
Path to a sample recording of the voice to copy
var TtsNeuttsRefText = Register(&String{Meta: Meta{Key: "tts.neutts.ref_text", Label: "NeuTTS sample text", Short: "Path to the transcript of the sample recording.", Group: GroupVoice, Order: 1850, Advanced: true}, Default: ""})
Path to the transcript of the sample recording
var TtsOpenaiApiKey = Register(&String{Meta: Meta{Key: "tts.openai.api_key", Label: "OpenAI speech key", Short: "Key for OpenAI speech.", Group: GroupVoice, Order: 1860, Advanced: true}, Masked: true, Null: "the provider key from the environment"})
Key for OpenAI speech
var TtsOpenaiBaseUrl = Register(&String{Meta: Meta{Key: "tts.openai.base_url", Label: "OpenAI speech endpoint", Short: "Custom endpoint for OpenAI-compatible speech.", Group: GroupVoice, Order: 1870, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for OpenAI-compatible speech
var TtsOpenaiConsentAttestation = Register(&String{Meta: Meta{Key: "tts.openai.consent_attestation", Label: "Voice consent", Short: "Consent statement sent when using a custom cloned voice.", Group: GroupVoice, Order: 1880, Advanced: true}, Default: ""})
Consent statement sent when using a custom cloned voice
var TtsOpenaiLanguage = Register(&String{Meta: Meta{Key: "tts.openai.language", Label: "OpenAI language", Short: "Language hint sent with OpenAI-compatible speech.", Group: GroupVoice, Order: 1890, Advanced: true}, Null: "no language hint"})
Language hint sent with OpenAI-compatible speech
var TtsOpenaiMaxTextLength = Register(maxTextLength("tts.openai.max_text_length", "OpenAI text limit", "OpenAI", 1895))
Most text OpenAI speaks in one request
var TtsOpenaiModel = Register(&String{Meta: Meta{Key: "tts.openai.model", Label: "OpenAI model", Short: "Speech model used with OpenAI.", Group: GroupVoice, Order: 1900, Advanced: true}, Default: "gpt-4o-mini-tts"})
Speech model used with OpenAI
var TtsOpenaiPcmSampleRate = Register(&Int{Meta: Meta{Key: "tts.openai.pcm_sample_rate", Label: "Live sample rate", Short: "Audio sample rate when OpenAI speech plays as it arrives, in Hz.", Group: GroupVoice, Order: 1910, Advanced: true}, Default: 24000, Unit: "Hz"})
Audio sample rate when OpenAI speech plays as it arrives, in Hz
var TtsOpenaiSpeed = Register(&Float{Meta: Meta{Key: "tts.openai.speed", Label: "OpenAI speed", Short: "How fast OpenAI speaks.", Group: GroupVoice, Order: 1920, Help: "1 is normal, from 0.25 to 4.", Advanced: true}, Null: "the general speech speed", Min: at(0.25), Max: at(4.0)})
How fast OpenAI speaks
var TtsOpenaiVoice = Register(&String{Meta: Meta{Key: "tts.openai.voice", Label: "OpenAI voice", Short: "Voice used with OpenAI.", Group: GroupVoice, Order: 1930, Advanced: true}, Default: "alloy"})
Voice used with OpenAI
var TtsOptimizeStreamingLatency = Register(&Int{Meta: Meta{Key: "tts.optimize_streaming_latency", Label: "Live latency boost", Short: "Trade quality for faster start when speech plays as it arrives.", Group: GroupVoice, Order: 1940, Help: "Used by xAI speech when its own setting is absent.", Advanced: true}, Null: "no boost", Min: at(0), Max: at(2)})
Trade quality for faster start when speech plays as it arrives
var TtsOutputFormat = Register(&String{Meta: Meta{Key: "tts.output_format", Label: "Output format", Short: "Audio format produced by command-based voices.", Group: GroupVoice, Order: 1950, Advanced: true}, Null: "the default format of command providers"})
Audio format produced by command-based voices
var TtsPiperLengthScale = Register(&Float{Meta: Meta{Key: "tts.piper.length_scale", Label: "Piper pace", Short: "Stretches or shortens Piper speech.", Help: "Higher is slower.", Group: GroupVoice, Order: 1960, Advanced: true}, Null: "the voice's own value"})
Stretches or shortens Piper speech
var TtsPiperMaxTextLength = Register(maxTextLength("tts.piper.max_text_length", "Piper text limit", "Piper", 1965))
Most text Piper speaks in one request
var TtsPiperNoiseScale = Register(&Float{Meta: Meta{Key: "tts.piper.noise_scale", Label: "Piper variation", Short: "How much natural variation Piper adds to the voice.", Group: GroupVoice, Order: 1970, Advanced: true}, Null: "the voice's own value"})
How much natural variation Piper adds to the voice
var TtsPiperNoiseWScale = Register(&Float{Meta: Meta{Key: "tts.piper.noise_w_scale", Label: "Piper timing variation", Short: "How much Piper varies the timing of words.", Group: GroupVoice, Order: 1980, Advanced: true}, Null: "the voice's own value"})
How much Piper varies the timing of words
var TtsPiperNormalizeAudio = Register(&Bool{Meta: Meta{Key: "tts.piper.normalize_audio", Label: "Even out volume", Short: "Level out loudness in Piper speech.", Group: GroupVoice, Order: 1990, Advanced: true}, Default: true})
Level out loudness in Piper speech
var TtsPiperSpeakerId = Register(&Int{Meta: Meta{Key: "tts.piper.speaker_id", Label: "Piper speaker", Short: "Which speaker to use in a multi-speaker Piper voice.", Group: GroupVoice, Order: 2000, Advanced: true}, Default: 0})
Which speaker to use in a multi-speaker Piper voice
var TtsPiperUseCuda = Register(&Bool{Meta: Meta{Key: "tts.piper.use_cuda", Label: "Piper on GPU", Short: "Run Piper on the graphics card instead of the processor.", Group: GroupVoice, Order: 2010, Advanced: true}, Default: false})
Run Piper on the graphics card instead of the processor
var TtsPiperVoice = Register(&String{Meta: Meta{Key: "tts.piper.voice", Label: "Piper voice", Short: "Voice used with Piper.", Group: GroupVoice, Order: 2020, Advanced: true}, Default: "en_US-lessac-medium"})
Voice used with Piper
var TtsPiperVoicesDir = Register(&String{Meta: Meta{Key: "tts.piper.voices_dir", Label: "Piper voices folder", Short: "Folder where Piper voices are stored and downloaded.", Group: GroupVoice, Order: 2030, Advanced: true}, Null: "the voices folder in the icebath home"})
Folder where Piper voices are stored and downloaded
var TtsPiperVolume = Register(&Float{Meta: Meta{Key: "tts.piper.volume", Label: "Piper volume", Short: "How loud Piper speaks.", Help: "1 is unchanged.", Group: GroupVoice, Order: 2040, Advanced: true}, Default: 1})
How loud Piper speaks
var TtsProviders = Register(&Map{Meta: Meta{Key: "tts.providers", Label: "Speech commands", Short: "Your own speech programs, by name.", Help: "Set Speech voice to a name here to use it. A program may also sit directly under tts by its name.", Group: GroupVoice, Order: 2045, Advanced: true}, Beside: true, Value: &Object{Meta: Meta{Key: "tts.providers.*", Label: "Speech command", Short: "One program that turns text into an audio file."}, Fields: []Entry{ &String{Meta: Meta{Key: "type", Label: "Kind", Short: "Kind of program; only command entries run."}, Null: "command"}, &String{Meta: Meta{Key: "command", Label: "Command", Short: "Shell command run for each piece of text."}, Default: ""}, &Enum{Meta: Meta{Key: "output_format", Label: "Output format", Short: "Audio format the command writes."}, Default: "mp3", Values: commandAudioFormats}, &Enum{Meta: Meta{Key: "format", Label: "Format", Short: "Audio format the command writes, before Output format."}, Null: "Output format", Values: commandAudioFormats}, &String{Meta: Meta{Key: "voice", Label: "Voice", Short: "Voice name passed to the command."}, Default: ""}, &String{Meta: Meta{Key: "model", Label: "Model", Short: "Model name passed to the command."}, Default: ""}, &Float{Meta: Meta{Key: "speed", Label: "Speed", Short: "Speed passed to the command."}, Null: "the general speech speed"}, &Duration{Meta: Meta{Key: "timeout", Label: "Time limit", Short: "How long the command may stay silent before it is stopped."}, Null: "Time limit in seconds, else two minutes", Min: at(time.Second)}, &Duration{Meta: Meta{Key: "timeout_seconds", Label: "Time limit in seconds", Short: "The same limit, used when Time limit is not set."}, Null: "two minutes", Min: at(time.Second)}, &Bool{Meta: Meta{Key: "voice_compatible", Label: "Voice bubbles", Short: "Send the audio as a voice message where chat apps allow."}, Default: false}, &Int{Meta: Meta{Key: "max_text_length", Label: "Text limit", Short: "Most text the command speaks at once."}, Default: 5000, Min: at(1), Unit: "chars"}, &List{Meta: Meta{Key: "env_passthrough", Label: "Passed variables", Short: "Environment variables the command may see."}}, &String{Meta: Meta{Key: "warm_command", Label: "Warm command", Short: "Shell command run when speech is about to be needed."}, Default: ""}, &String{Meta: Meta{Key: "release_command", Label: "Release command", Short: "Shell command run when speech is no longer needed."}, Default: ""}, }}})
Your own speech programs, by the name tts.provider picks them with
var TtsSpeed = Register(&Float{Meta: Meta{Key: "tts.speed", Label: "Speech speed", Short: "How fast voices speak.", Group: GroupVoice, Order: 2050, Help: "1 is normal. Services with their own speed setting use that instead.", Advanced: true}, Null: "normal speed"})
How fast voices speak
var TtsStreamingMinLen = Register(&Int{Meta: Meta{Key: "tts.streaming.min_len", Label: "Live chunk size", Short: "Smallest piece of text spoken at once while streaming speech.", Group: GroupVoice, Order: 2060, Advanced: true}, Default: 20, Min: at(1), Unit: "chars"})
Smallest piece of text spoken at once while streaming speech
var TtsStreamingProvider = Register(&String{Meta: Meta{Key: "tts.streaming.provider", Label: "Live speech service", Short: "Service for speech that plays as the text arrives.", Group: GroupVoice, Order: 2070, Advanced: true}, Null: "the Speech voice service"})
Service for speech that plays as the text arrives
var TtsVoice = Register(&String{Meta: Meta{Key: "tts.voice", Label: "Speech voice name", Short: "Voice for plugin voice services.", Group: GroupVoice, Order: 2080, Advanced: true}, Null: "the plugin provider's voice"})
Voice for plugin voice services
var TtsXaiAutoSpeechTags = Register(&Bool{Meta: Meta{Key: "tts.xai.auto_speech_tags", Label: "xAI auto tags", Short: "Add expressive speech tags to text before xAI speaks it.", Group: GroupVoice, Order: 2090, Advanced: true}, Default: false})
Add expressive speech tags to text before xAI speaks it
var TtsXaiBaseUrl = Register(&String{Meta: Meta{Key: "tts.xai.base_url", Label: "xAI speech endpoint", Short: "Custom endpoint for xAI speech.", Group: GroupVoice, Order: 2100, Advanced: true}, Null: "the provider endpoint"})
Custom endpoint for xAI speech
var TtsXaiBitRate = Register(&Int{Meta: Meta{Key: "tts.xai.bit_rate", Label: "xAI bitrate", Short: "Audio quality of xAI speech, in bits per second.", Group: GroupVoice, Order: 2110, Advanced: true}, Default: 128000, Unit: "bps"})
Audio quality of xAI speech, in bits per second
var TtsXaiLanguage = Register(&String{Meta: Meta{Key: "tts.xai.language", Label: "xAI language", Short: "Language xAI speaks in, as a language code.", Group: GroupVoice, Order: 2120, Advanced: true}, Default: "en"})
Language xAI speaks in, as a language code
var TtsXaiMaxTextLength = Register(maxTextLength("tts.xai.max_text_length", "xAI text limit", "xAI", 2125))
Most text xAI speaks in one request
var TtsXaiOptimizeStreamingLatency = Register(&Int{Meta: Meta{Key: "tts.xai.optimize_streaming_latency", Label: "xAI latency boost", Short: "Trade quality for faster start in xAI speech.", Help: "Zero turns it off.", Group: GroupVoice, Order: 2130, Advanced: true}, Null: "the general live latency boost", Min: at(0), Max: at(2)})
Trade quality for faster start in xAI speech
var TtsXaiSampleRate = Register(&Int{Meta: Meta{Key: "tts.xai.sample_rate", Label: "xAI sample rate", Short: "Audio sample rate for xAI speech, in Hz.", Group: GroupVoice, Order: 2140, Advanced: true}, Default: 24000, Unit: "Hz"})
Audio sample rate for xAI speech, in Hz
var TtsXaiSpeed = Register(&Float{Meta: Meta{Key: "tts.xai.speed", Label: "xAI speed", Short: "How fast xAI speaks.", Help: "1 is normal.", Group: GroupVoice, Order: 2150, Advanced: true}, Null: "the general speech speed"})
How fast xAI speaks
var TtsXaiStreamingUrl = Register(&String{Meta: Meta{Key: "tts.xai.streaming_url", Label: "xAI live endpoint", Short: "Custom endpoint for xAI speech that plays as it arrives.", Group: GroupVoice, Order: 2160, Advanced: true}, Null: "the provider streaming endpoint"})
Custom endpoint for xAI speech that plays as it arrives
var TtsXaiTextNormalization = Register(&Bool{Meta: Meta{Key: "tts.xai.text_normalization", Label: "xAI text cleanup", Short: "Have xAI spell out numbers and symbols before speaking.", Group: GroupVoice, Order: 2170, Advanced: true}, Null: "the service default"})
Have xAI spell out numbers and symbols before speaking
var TtsXaiVoiceId = Register(&String{Meta: Meta{Key: "tts.xai.voice_id", Label: "xAI voice", Short: "Voice used with xAI.", Group: GroupVoice, Order: 2180, Advanced: true}, Default: "eve"})
Voice used with xAI
var UpdatesAutoSwitchParkedBranch = Register(&Bool{Meta: Meta{Key: "updates.auto_switch_parked_branch", Label: "Switch on update", Short: "Return to the update branch when updating from another one.", Group: GroupSystem, Order: 1800, Advanced: true}, Default: true})
Return to the update branch when updating from another one
var UpdatesBackupKeep = Register(&Int{Meta: Meta{Key: "updates.backup_keep", Label: "Backups kept", Short: "How many full pre-update backups are kept.", Group: GroupSystem, Order: 1810, Advanced: true}, Default: 5, Unit: "backups"})
How many full pre-update backups are kept
var UpdatesCheck = Register(&Bool{Meta: Meta{Key: "updates.check", Label: "Check for updates", Short: "Look for new versions in the background.", Group: GroupSystem, Order: 1820, Advanced: true}, Default: true})
Look for new versions in the background
var UpdatesNonInteractiveLocalChanges = Register(&Enum{Meta: Meta{Key: "updates.non_interactive_local_changes", Label: "Unattended local edits", Short: "What an unattended update does with your changes to the source.", Group: GroupSystem, Order: 1830, Advanced: true}, Default: "stash", Values: []Choice{
{Value: "stash", Label: "Stash", Meaning: "Set changes aside and restore after."},
{Value: "discard", Label: "Discard", Meaning: "Throw the changes away."},
}})
What an unattended update does with your changes to the source
var UpdatesParkedBranchStrategy = Register(&Enum{Meta: Meta{Key: "updates.parked_branch_strategy", Label: "Other-branch update", Short: "What an update does when a non-default branch is checked out.", Group: GroupSystem, Order: 1840, Advanced: true}, Default: "switch", Values: []Choice{
{Value: "switch", Label: "Switch", Meaning: "Move to the update branch."},
{Value: "update_in_place", Label: "Update in place", Meaning: "Stay on your branch and update it."},
}})
What an update does when a non-default branch is checked out
var UpdatesPreUpdateBackup = Register(&Enum{Meta: Meta{Key: "updates.pre_update_backup", Label: "Backup before update", Short: "What is backed up before an update runs.", Group: GroupSystem, Order: 1850, Advanced: true}, Default: "quick", Also: map[string]string{"false": "off", "none": "off", "disabled": "off", "true": "full", "zip": "full"}, Values: []Choice{
{Value: "off", Label: "Off", Meaning: "No backup."},
{Value: "quick", Label: "Quick", Meaning: "Snapshot of state only."},
{Value: "full", Label: "Full", Meaning: "Zip of the whole home folder."},
}})
What is backed up before an update runs
var UpdatesRefreshCuaDriver = Register(&Bool{Meta: Meta{Key: "updates.refresh_cua_driver", Label: "Refresh computer driver", Short: "Update the computer-control helper along with the app.", Group: GroupSystem, Order: 1860, Advanced: true}, Default: true})
Update the computer-control helper along with the app
var VaultBitwardenBinaryPath = Register(&String{Meta: Meta{Key: "vault.bitwarden.binary_path", Label: "Bitwarden tool path", Short: "Full path of the Bitwarden command-line tool.", Help: "Empty looks it up on the search path.", Group: GroupSafety, Order: 1420, Advanced: true}, Default: ""})
Full path of the Bitwarden command-line tool
var VaultBitwardenEnabled = Register(&Bool{Meta: Meta{Key: "vault.bitwarden.enabled", Label: "Bitwarden logins", Short: "Offer Bitwarden as a source of website logins.", Group: GroupSafety, Order: 1430, Advanced: true}, Default: true})
Offer Bitwarden as a source of website logins
var VaultKeyStorage = Register(&Enum{Meta: Meta{Key: "vault.key_storage", Label: "Vault key storage", Short: "Where a new vault's encryption key is kept.", Group: GroupSafety, Order: 1440, Advanced: true}, Default: "file", Values: []Choice{
{Value: "file", Label: "File", Meaning: "A key file in the icebath home folder."},
{Value: "keychain", Label: "OS keychain", Meaning: "The system keychain."},
}})
Where a new vault's encryption key is kept
var VaultOnepasswordAccount = Register(&String{Meta: Meta{Key: "vault.onepassword.account", Label: "1Password account", Short: "1Password account to use for website logins.", Help: "Empty uses the default account.", Group: GroupSafety, Order: 1450, Advanced: true}, Default: ""})
1Password account to use for website logins
var VaultOnepasswordBinaryPath = Register(&String{Meta: Meta{Key: "vault.onepassword.binary_path", Label: "1Password tool path", Short: "Full path of the 1Password command-line tool.", Help: "Empty looks it up on the search path.", Group: GroupSafety, Order: 1460, Advanced: true}, Default: ""})
Full path of the 1Password command-line tool
var VaultOnepasswordEnabled = Register(&Bool{Meta: Meta{Key: "vault.onepassword.enabled", Label: "1Password logins", Short: "Offer 1Password as a source of website logins.", Group: GroupSafety, Order: 1470, Advanced: true}, Default: true})
Offer 1Password as a source of website logins
var VaultOnepasswordServiceAccountTokenEnv = Register(&String{Meta: Meta{Key: "vault.onepassword.service_account_token_env", Label: "1Password token variable", Short: "Environment variable holding the service account token.", Group: GroupSafety, Order: 1480, Advanced: true}, Default: "OP_SERVICE_ACCOUNT_TOKEN"})
Environment variable holding the service account token
var VertexProjectId = Register(&String{Meta: Meta{Key: "vertex.project_id", Label: "Vertex project", Short: "Google Cloud project used for Vertex AI requests.", Group: GroupModel, Order: 2340, Advanced: true, Env: "VERTEX_PROJECT_ID"}, Default: ""})
Google Cloud project used for Vertex AI requests
var VertexRegion = Register(&String{Meta: Meta{Key: "vertex.region", Label: "Vertex region", Short: "Google Cloud region used for Vertex AI requests.", Group: GroupModel, Order: 2350, Advanced: true, Env: "VERTEX_REGION"}, Default: "global"})
Google Cloud region used for Vertex AI requests
var VideoGenModel = Register(&String{Meta: Meta{Key: "video_gen.model", Label: "Video model", Short: "Model the video service makes videos with.", Help: "Empty uses the service's default.", Group: GroupMedia, Order: 2991, Advanced: true}, Null: "the service's default"})
Video model the video service makes videos with
var VideoGenProvider = Register(&String{Meta: Meta{Key: "video_gen.provider", Label: "Video generation", Short: "Plugin that makes videos when the agent asks for one.", Group: GroupMedia, Order: 2990, Advanced: true}, Null: "the first available provider"})
Video generation provider plugin
var VisionEmbedTargetBytes = Register(&Int{Meta: Meta{Key: "vision.embed_target_bytes", Label: "Image size budget", Short: "Size images are shrunk to when kept in chat history.", Group: GroupMedia, Order: 1010, Advanced: true}, Default: 262144, Unit: "bytes", Min: at(65536), Max: at(4194304)})
Size images are shrunk to when kept in chat history
var VisionMaxCallsPerImage = Register(&Int{Meta: Meta{Key: "vision.max_calls_per_image", Label: "Looks per image", Short: "Most times the same image may be analyzed in one chat.", Help: "Zero means no limit.", Group: GroupMedia, Order: 1020, Advanced: true}, Null: "no limit", Min: at(0)})
Most times the same image may be analyzed in one chat
var VisionReplayRecentImages = Register(&Int{Meta: Meta{Key: "vision.replay_recent_images", Label: "Replayed images", Short: "How many earlier images are shown to the model again.", Help: "Zero stops earlier images from being sent again.", Group: GroupMedia, Order: 1030, Advanced: true}, Default: 3, Min: at(0)})
How many earlier images are shown to the model again
var VoiceBargeIn = Register(&Bool{Meta: Meta{Key: "voice.barge_in", Label: "Interrupt by talking", Short: "Stop spoken replies when you start talking over them.", Group: GroupVoice, Order: 2190, Advanced: true}, Default: true})
Stop spoken replies when you start talking over them
var VoiceBargeInGraceSeconds = Register(&Duration{Meta: Meta{Key: "voice.barge_in_grace_seconds", Label: "Interrupt grace", Short: "Time after a reply starts before talking can interrupt it.", Group: GroupVoice, Order: 2200, Advanced: true}, Default: 500 * time.Millisecond})
Time after a reply starts before talking can interrupt it
var VoiceBargeInThresholdMultiplier = Register(&Float{Meta: Meta{Key: "voice.barge_in_threshold_multiplier", Label: "Interrupt sensitivity", Short: "How much louder than the room you must be to interrupt.", Group: GroupVoice, Order: 2210, Help: "Zero turns the loudness check off.", Advanced: true}, Default: 3})
How much louder than the room you must be to interrupt
var VoiceBeepEnabled = Register(&Bool{Meta: Meta{Key: "voice.beep_enabled", Label: "Recording beep", Short: "Play a beep when recording starts and stops.", Group: GroupVoice, Order: 2220, Advanced: true}, Default: true})
Play a beep when recording starts and stops
var VoiceBeepVolume = Register(&Float{Meta: Meta{Key: "voice.beep_volume", Label: "Beep volume", Short: "How loud the recording beep is, from 0 to 1.", Group: GroupVoice, Order: 2230, Advanced: true}, Default: 0.3, Min: at(0.0), Max: at(1.0), DefaultBelow: true, DefaultAbove: true})
How loud the recording beep is, from 0 to 1
var VoiceDebug = Register(&Bool{Meta: Meta{Key: "voice.debug", Label: "Voice debug log", Short: "Print each step of voice capture and recognition to the error output.", Group: GroupVoice, Order: 2235, Advanced: true, Env: "ICEBATH_VOICE_DEBUG"}, Default: false})
Each step of voice capture and recognition printed to the error output
var VoiceInput = Register(&Bool{Meta: Meta{Key: "voice.input_enabled", Label: "Voice input", Short: "Talk instead of typing: a key records you and sends the words.", Group: GroupVoice, Order: 10, Scopes: Global | Session, Slash: "voice"}, Default: false})
Talking to the agent instead of typing
var VoiceMaxRecordingSeconds = Register(&Duration{Meta: Meta{Key: "voice.max_recording_seconds", Label: "Longest recording", Short: "Voice input stops listening after this long.", Group: GroupVoice, Order: 2240, Advanced: true}, Default: 2 * time.Minute})
Voice input stops listening after this long
var VoiceSilenceDuration = Register(&Float{Meta: Meta{Key: "voice.silence_duration", Label: "Silence length", Short: "Seconds of quiet before recording stops on its own.", Group: GroupVoice, Order: 2250, Advanced: true}, Default: 3, Unit: "seconds"})
Seconds of quiet before recording stops on its own
var VoiceSilenceThreshold = Register(&Int{Meta: Meta{Key: "voice.silence_threshold", Label: "Silence level", Short: "Loudness below which audio counts as quiet.", Help: "Raise it in noisy rooms.", Group: GroupVoice, Order: 2260, Advanced: true}, Default: 200})
Loudness below which audio counts as quiet
var VoiceStopPhrases = Register(&List{Meta: Meta{Key: "voice.stop_phrases", Label: "Stop phrases", Short: "Spoken words that end voice conversation mode.", Group: GroupVoice, Order: 2270, Advanced: true}, Default: []any{"stop"}})
Spoken words that end voice conversation mode
var VoiceSubmit = Register(&Enum{Meta: Meta{Key: "voice.submit_mode", Label: "Send or draft", Short: "Send what you said at once, or leave it in the input box to edit.", Group: GroupVoice, Order: 40}, Default: "direct", Values: []Choice{ {"direct", "Send", "Send the words as soon as you stop."}, {"draft", "Draft", "Put the words in the input box."}, }})
Whether a transcript is sent or left to edit
var VoiceThinkingSound = Register(&Bool{Meta: Meta{Key: "voice.thinking_sound", Label: "Thinking sound", Short: "Play soft blips while waiting for a reply.", Group: GroupVoice, Order: 2280, Advanced: true}, Default: true})
Play soft blips while waiting for a reply
var WakeWord = Register(&Bool{Meta: Meta{Key: "wake_word.enabled", Label: "Wake word", Short: "Say the wake phrase to start recording without the keyboard.", Group: GroupVoice, Order: 70, Slash: "wake"}, Default: false})
Hands free recording start
var WakeWordConfirmationFrames = Register(&Int{Meta: Meta{Key: "wake_word.confirmation_frames", Label: "Confirmation frames", Short: "Checks in a row that must hear the Wake word before it triggers.", Group: GroupVoice, Order: 2290, Advanced: true}, Default: 3, Min: at(1), Max: at(10)})
Checks in a row that must hear the Wake word before it triggers
var WakeWordInputDevice = Register(&String{Meta: Meta{Key: "wake_word.input_device", Label: "Wake microphone", Short: "Microphone to listen on, by number or name.", Group: GroupVoice, Order: 2300, Advanced: true}, Null: "the default microphone"})
Microphone to listen on, by number or name
var WakeWordOpenwakewordModel = Register(&String{Meta: Meta{Key: "wake_word.openwakeword.model", Label: "Wake model file", Short: "Path to the model file used for the Wake word.", Group: GroupVoice, Order: 2310, Advanced: true}, Default: ""})
Path to the model file used for the Wake word
var WakeWordPhrase = Register(&String{Meta: Meta{Key: "wake_word.phrase", Label: "Wake phrase", Short: "Phrase that wakes the assistant.", Group: GroupVoice, Order: 2320, Advanced: true}, Default: "hey icebath"})
Phrase that wakes the assistant
var WakeWordPorcupineKeyword = Register(&String{Meta: Meta{Key: "wake_word.porcupine.keyword", Label: "Porcupine keyword", Short: "Built-in keyword Porcupine listens for.", Group: GroupVoice, Order: 2330, Advanced: true}, Default: "jarvis"})
Built-in keyword Porcupine listens for
var WakeWordProfileRouting = Register(&Bool{Meta: Meta{Key: "wake_word.profile_routing", Label: "Route by profile", Short: "Each profile can have its own Wake word and answers to it.", Group: GroupVoice, Order: 2340, Advanced: true}, Default: true})
Each profile can have its own Wake word and answers to it
var WakeWordProvider = Register(&String{Meta: Meta{Key: "wake_word.provider", Label: "Wake engine", Short: "Engine that listens for the Wake word.", Help: "Auto picks one for you.", Group: GroupVoice, Order: 2350, Advanced: true}, Default: "auto"})
Engine that listens for the Wake word
var WakeWordSensitivity = Register(&Float{Meta: Meta{Key: "wake_word.sensitivity", Label: "Wake sensitivity", Short: "How easily the Wake word triggers, from 0 to 1.", Group: GroupVoice, Order: 2360, Help: "Higher catches more but triggers by mistake more often.", Advanced: true}, Default: 0.6, Min: at(0.0), Max: at(1.0)})
How easily the Wake word triggers, from 0 to 1
var WakeWordSherpaModelDir = Register(&String{Meta: Meta{Key: "wake_word.sherpa.model_dir", Label: "Sherpa model folder", Short: "Folder holding the Sherpa Wake word model.", Group: GroupVoice, Order: 2370, Advanced: true}, Default: ""})
Folder holding the Sherpa Wake word model
var WakeWordStartNewSession = Register(&Bool{Meta: Meta{Key: "wake_word.start_new_session", Label: "Start fresh session", Short: "Begin a new session each time the Wake word is heard.", Group: GroupVoice, Order: 2380, Advanced: true}, Default: true})
Begin a new session each time the Wake word is heard
var WakeWordSurface = Register(&Enum{Meta: Meta{Key: "wake_word.surface", Label: "Wake listens in", Short: "Which screen runs the Wake word listener.", Group: GroupVoice, Order: 2390, Advanced: true}, Default: "auto", Values: []Choice{{Value: "auto", Label: "Auto", Meaning: "Any screen."}, {Value: "cli", Label: "CLI", Meaning: "Plain terminal only."}, {Value: "tui", Label: "TUI", Meaning: "Terminal UI only."}, {Value: "gui", Label: "GUI", Meaning: "Desktop app only."}}})
Which screen runs the Wake word listener
var WebCacheEnabled = Register(&Bool{Meta: Meta{Key: "web.cache_enabled", Label: "Web cache", Short: "Reuse recent web search and page results.", Group: GroupTools, Order: 1840, Advanced: true}, Default: true})
Reuse recent web search and page results
var WebCacheExemptHosts = Register(&List{Meta: Meta{Key: "web.cache_exempt_hosts", Label: "Uncached sites", Short: "Sites whose pages are always fetched fresh.", Help: "Matches a site and its subdomains.", Group: GroupTools, Order: 1850, Advanced: true}})
Sites whose pages are always fetched fresh
var WebCacheTtlMinutes = Register(&Duration{Meta: Meta{Key: "web.cache_ttl_minutes", Label: "Web cache time", Short: "How long a cached web result is reused.", Help: "Between 1 minute and 1 day.", Group: GroupTools, Order: 1860, Advanced: true}, Default: 20 * time.Minute, Unit: time.Minute, Min: at(time.Minute), Max: at(24 * time.Hour)})
How long a cached web result is reused
var WebExtractBackend = Register(&String{Meta: Meta{Key: "web.extract_backend", Label: "Page reader provider", Short: "Provider used to read web pages.", Help: "Empty follows the main web provider.", Group: GroupTools, Order: 1870, Advanced: true}, Default: ""})
Provider used to read web pages
var WebExtractCharLimit = Register(&Int{Meta: Meta{Key: "web.extract_char_limit", Label: "Page text limit", Short: "Most characters kept from one web page.", Help: "Between 2000 and 500000.", Group: GroupTools, Order: 1880, Advanced: true}, Default: 15000, Unit: "chars", Min: at(2000), Max: at(500000)})
Most characters kept from one web page
var WebExtractTimeout = Register(&Duration{Meta: Meta{Key: "web.extract_timeout", Label: "Page read timeout", Short: "Longest one page read may take before it is given up.", Help: "Zero waits without a limit.", Group: GroupTools, Order: 1885, Advanced: true}, Default: 2 * time.Minute})
Longest one page read may take before it is given up
var WebKeylessFallback = Register(&Bool{Meta: Meta{Key: "web.keyless_fallback", Label: "Free web providers", Short: "Use free providers when no web search key is set.", Group: GroupTools, Order: 1890, Advanced: true}, Default: true})
Use free providers when no web search key is set
var WebKeylessRescue = Register(&Bool{Meta: Meta{Key: "web.keyless_rescue", Label: "Free provider retry", Short: "Retry with a free provider when the chosen one fails.", Help: "Needs free web providers to be on.", Group: GroupTools, Order: 1900, Advanced: true}, Default: true})
Retry with a free provider when the chosen one fails
var WebProviderTier = Register(&Map{Meta: Meta{Key: "web.provider_tier", Label: "Provider plan", Short: "Per provider: use its free plan, a paid key, or decide automatically.", Group: GroupTools, Order: 1910, Advanced: true}})
Per provider: use its free plan, a paid key, or decide automatically
var WebSearch = Register(&Enum{Meta: Meta{Key: "web.backend", Label: "Web search", Short: "Which service answers the agent's web searches.", Help: "Automatic picks the first service with a key, else a free one.", Group: GroupTools, Order: 20}, Open: true, Values: []Choice{ {"", "Automatic", "The first service with a key, else a free one."}, {"exa", "Exa", ""}, {"parallel", "Parallel", ""}, {"keenable", "Keenable", ""}, {"firecrawl", "Firecrawl", ""}, {"tavily", "Tavily", ""}, {"perplexity", "Perplexity", ""}, {"searxng", "SearXNG", "Your own SearXNG server."}, {"brave-free", "Brave", "Free Brave search."}, {"ddgs", "DuckDuckGo", "Free, no key."}, {"xai", "xAI", ""}, }})
Web search service
var WebSearchBackend = Register(&String{Meta: Meta{Key: "web.search_backend", Label: "Web search provider", Short: "Provider used for web search.", Help: "Empty follows the main web provider.", Group: GroupTools, Order: 1920, Advanced: true}, Default: ""})
Provider used for web search
var WebXaiAllowedDomains = Register(&List{Meta: Meta{Key: "web.xai.allowed_domains", Label: "xAI allowed sites", Short: "Only sites xAI web searches may use, at most five.", Help: "Cannot be set together with xAI blocked sites.", Group: GroupTools, Order: 1927, Advanced: true}})
Only sites xAI web searches may use
var WebXaiExcludedDomains = Register(&List{Meta: Meta{Key: "web.xai.excluded_domains", Label: "xAI blocked sites", Short: "Sites xAI web searches leave out, at most five.", Help: "Cannot be set together with xAI allowed sites.", Group: GroupTools, Order: 1928, Advanced: true}})
Sites xAI web searches leave out
var WebXaiModel = Register(&String{Meta: Meta{Key: "web.xai.model", Label: "xAI search model", Short: "Model that runs xAI web searches.", Group: GroupTools, Order: 1925, Advanced: true}, Default: "grok-build-0.1"})
Model that runs xAI web searches
var WebXaiTimeout = Register(&Duration{Meta: Meta{Key: "web.xai.timeout", Label: "xAI search timeout", Short: "Longest to wait for an xAI web search.", Group: GroupTools, Order: 1926, Advanced: true}, Default: 90 * time.Second})
Longest to wait for an xAI web search
var WecomAllowAllUsers = Register(&Bool{Meta: Meta{Key: "wecom.allow_all_users", Env: "WECOM_ALLOW_ALL_USERS", Label: "Allow everyone", Short: "WeCom: let anyone message the bot.", Group: GroupChatApps, Order: 2403, Advanced: true}, Default: false})
WeCom open to every sender
var WecomAllowFrom = Register(&List{Meta: Meta{Key: "wecom.allow_from", Env: "WECOM_ALLOWED_USERS", Label: "Allowed people", Short: "WeCom: user IDs allowed to message the bot directly.", Group: GroupChatApps, Order: 2402, Advanced: true, Apply: Restart}})
WeCom: people allowed to message the bot directly
var WecomBotID = Register(&String{Meta: Meta{Key: "wecom.bot_id", Env: "WECOM_BOT_ID", Label: "Robot ID", Short: "WeCom: ID of the smart robot the bot runs as.", Group: GroupChatApps, Order: 2400, Advanced: true, Apply: Restart}})
WeCom: ID of the smart robot
var WecomCallbackAgentID = Register(&String{Meta: Meta{Key: "wecom_callback.agent_id", Env: "WECOM_CALLBACK_AGENT_ID", Label: "App ID", Short: "WeCom app: agent ID of the self-built app.", Group: GroupChatApps, Order: 2410, Advanced: true, Apply: Restart}})
WeCom app: agent ID of the app
var WecomCallbackAllowAllUsers = Register(&Bool{Meta: Meta{Key: "wecom_callback.allow_all_users", Env: "WECOM_CALLBACK_ALLOW_ALL_USERS", Label: "Allow everyone", Short: "WeCom callback: let anyone message the app.", Group: GroupChatApps, Order: 2412, Advanced: true}, Default: false})
WeCom callback open to every sender
var WecomCallbackAllowedUsers = Register(&List{Meta: Meta{Key: "wecom_callback.allowed_users", Env: "WECOM_CALLBACK_ALLOWED_USERS", Label: "Allowed people", Short: "WeCom callback: user IDs allowed to message the app.", Group: GroupChatApps, Order: 2411, Advanced: true}})
WeCom callback: people allowed to message the app
var WecomCallbackCorpID = Register(&String{Meta: Meta{Key: "wecom_callback.corp_id", Env: "WECOM_CALLBACK_CORP_ID", Label: "Company ID", Short: "WeCom app: ID of your company in WeCom.", Group: GroupChatApps, Order: 2410, Advanced: true, Apply: Restart}})
WeCom app: company ID
var WecomCallbackHost = Register(&String{Meta: Meta{Key: "wecom_callback.host", Env: "WECOM_CALLBACK_HOST", Label: "Listen address", Short: "WeCom app: address the message receiver listens on.", Group: GroupChatApps, Order: 2410, Advanced: true, Apply: Restart}})
WeCom app: address the callback server listens on
var WecomCallbackPort = Register(&Int{Meta: Meta{Key: "wecom_callback.port", Env: "WECOM_CALLBACK_PORT", Label: "Listen port", Short: "WeCom app: port the message receiver listens on.", Group: GroupChatApps, Order: 2410, Advanced: true, Apply: Restart}, Default: 8645, Min: at(1), Max: at(65535)})
WeCom app: port the callback server listens on
var WecomDmPolicy = Register(&Enum{Meta: Meta{Key: "wecom.dm_policy", Env: "WECOM_DM_POLICY", Label: "Direct messages", Short: "WeCom: who may message the bot directly.", Group: GroupChatApps, Order: 2401, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
WeCom: who may message the bot directly
var WecomGroupAllowFrom = Register(&List{Meta: Meta{Key: "wecom.group_allow_from", Label: "Allowed groups", Short: "WeCom: group chat IDs the bot answers in.", Group: GroupChatApps, Order: 2405, Advanced: true, Apply: Restart}})
WeCom: group chats the bot answers in
var WecomGroupPolicy = Register(&Enum{Meta: Meta{Key: "wecom.group_policy", Env: "WECOM_GROUP_POLICY", Label: "Group chats", Short: "WeCom: which group chats the bot answers in.", Group: GroupChatApps, Order: 2404, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
WeCom: which group chats the bot answers in
var WecomTextBatchDelay = Register(&Duration{Meta: Meta{Key: "wecom.text_batch_delay_seconds", Env: "ICEBATH_WECOM_TEXT_BATCH_DELAY_SECONDS", Label: "Text gather wait", Short: "WeCom: wait for more text of a message sent in parts.", Group: GroupChatApps, Order: 2406, Advanced: true, Apply: Restart}, Default: 600 * time.Millisecond, Min: at(time.Duration(0))})
Wait for more text of a WeCom message sent in parts
var WecomTextBatchSplitDelay = Register(&Duration{Meta: Meta{Key: "wecom.text_batch_split_delay_seconds", Env: "ICEBATH_WECOM_TEXT_BATCH_SPLIT_DELAY_SECONDS", Label: "Long text wait", Short: "WeCom: wait after a part that hit the length limit.", Group: GroupChatApps, Order: 2407, Advanced: true, Apply: Restart}, Default: 2 * time.Second, Min: at(time.Duration(0))})
Wait after a part of a WeCom message that hit the length limit
var WecomWebsocketURL = Register(&String{Meta: Meta{Key: "wecom.websocket_url", Env: "WECOM_WEBSOCKET_URL", Label: "Connection address", Short: "WeCom: address of the live connection; empty uses WeCom's own.", Group: GroupChatApps, Order: 2400, Advanced: true, Apply: Restart}})
WeCom: live connection address
var WeixinAllowFrom = Register(&List{Meta: Meta{Key: "weixin.allow_from", Env: "WEIXIN_ALLOWED_USERS", Label: "Allowed people", Short: "Weixin: user IDs allowed to message the bot directly.", Group: GroupChatApps, Order: 3540, Advanced: true, Apply: Restart}})
Weixin: people allowed to message the bot directly
var WeixinBaseURL = Register(&String{Meta: Meta{Key: "weixin.base_url", Label: "Service address", Short: "Weixin: address of the iLink service the account talks to.", Help: "Signing in by QR code sets it.", Group: GroupChatApps, Order: 3500, Advanced: true, Apply: Restart}, Default: "https://ilinkai.weixin.qq.com"})
Weixin: address of the iLink service the account talks to
var WeixinCdnBaseURL = Register(&String{Meta: Meta{Key: "weixin.cdn_base_url", Label: "Media address", Short: "Weixin: address media files are downloaded from.", Group: GroupChatApps, Order: 3510, Advanced: true, Apply: Restart}, Default: "https://novac2c.cdn.weixin.qq.com/c2c"})
Weixin: address media files are fetched from
var WeixinDmPolicy = Register(&Enum{Meta: Meta{Key: "weixin.dm_policy", Env: "WEIXIN_DM_POLICY", Label: "Direct messages", Short: "Weixin: who may message the bot directly.", Group: GroupChatApps, Order: 3530, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
Weixin: who may message the bot directly
var WeixinGroupAllowFrom = Register(&List{Meta: Meta{Key: "weixin.group_allow_from", Env: "WEIXIN_GROUP_ALLOWED_USERS", Label: "Allowed groups", Short: "Weixin: group chat IDs the bot answers in.", Group: GroupChatApps, Order: 3560, Advanced: true, Apply: Restart}})
Weixin: group chats the bot answers in
var WeixinGroupPolicy = Register(&Enum{Meta: Meta{Key: "weixin.group_policy", Env: "WEIXIN_GROUP_POLICY", Label: "Group chats", Short: "Weixin: which group chats the bot answers in.", Group: GroupChatApps, Order: 3550, Advanced: true, Apply: Restart}, Default: "disabled", Open: true, Values: chatPolicyChoices})
Weixin: which group chats the bot answers in
var WeixinRateLimitCircuitOpen = Register(&Duration{Meta: Meta{Key: "weixin.rate_limit_circuit_open_seconds", Label: "Rate limit pause", Short: "Weixin: how long sending pauses after the rate limit count.", Help: "Zero never pauses.", Group: GroupChatApps, Order: 3526, Advanced: true, Apply: Restart, Env: "WEIXIN_RATE_LIMIT_CIRCUIT_OPEN_SECONDS"}, Default: 30 * time.Second, Min: at(time.Duration(0))})
How long Weixin sending pauses after too many rate limit answers
var WeixinRateLimitCircuitThreshold = Register(&Int{Meta: Meta{Key: "weixin.rate_limit_circuit_threshold", Label: "Rate limit count", Short: "Weixin: rate limit answers that pause sending.", Group: GroupChatApps, Order: 3524, Advanced: true, Apply: Restart, Env: "WEIXIN_RATE_LIMIT_CIRCUIT_THRESHOLD"}, Default: 1, Min: at(1)})
Rate limit answers of Weixin that pause sending
var WeixinRateLimitCircuitWindow = Register(&Duration{Meta: Meta{Key: "weixin.rate_limit_circuit_window_seconds", Label: "Rate limit window", Short: "Weixin: time span in which rate limit answers are counted.", Group: GroupChatApps, Order: 3525, Advanced: true, Apply: Restart, Env: "WEIXIN_RATE_LIMIT_CIRCUIT_WINDOW_SECONDS"}, Default: 30 * time.Second, Min: at(time.Duration(0))})
Time span in which Weixin rate limit answers are counted
var WeixinSendChunkDelay = Register(&Duration{Meta: Meta{Key: "weixin.send_chunk_delay_seconds", Label: "Part gap", Short: "Weixin: pause between the parts of a long reply.", Group: GroupChatApps, Order: 3521, Advanced: true, Apply: Restart, Env: "WEIXIN_SEND_CHUNK_DELAY_SECONDS"}, Default: 1500 * time.Millisecond, Min: at(time.Duration(0))})
Pause between the parts of a long Weixin reply
var WeixinSendChunkRetries = Register(&Int{Meta: Meta{Key: "weixin.send_chunk_retries", Label: "Part retries", Short: "Weixin: times a part of a reply is sent again after it fails.", Group: GroupChatApps, Order: 3522, Advanced: true, Apply: Restart, Env: "WEIXIN_SEND_CHUNK_RETRIES"}, Default: 4, Min: at(0)})
Times a part of a Weixin reply is sent again after it fails
var WeixinSendChunkRetryDelay = Register(&Duration{Meta: Meta{Key: "weixin.send_chunk_retry_delay_seconds", Label: "Retry gap", Short: "Weixin: pause before a failed part is sent again.", Help: "Each further try waits longer.", Group: GroupChatApps, Order: 3523, Advanced: true, Apply: Restart, Env: "WEIXIN_SEND_CHUNK_RETRY_DELAY_SECONDS"}, Default: time.Second, Min: at(time.Duration(0))})
Pause before a failed part of a Weixin reply is sent again
var WeixinSplitMultilineMessages = Register(&Bool{Meta: Meta{Key: "weixin.split_multiline_messages", Label: "Split lines", Short: "Weixin: send each line of a reply as its own message.", Group: GroupChatApps, Order: 3520, Advanced: true, Apply: Restart}, Default: false})
Weixin: each line of a reply sent as its own message
var WhatsappAllowFrom = Register(&List{Meta: Meta{Key: "whatsapp.allow_from", Env: "WHATSAPP_ALLOWED_USERS", Label: "Allowed people", Short: "WhatsApp: phone numbers allowed to talk to it; * allows everyone.", Group: GroupChatApps, Order: 2350, Advanced: true}})
WhatsApp: people allowed to talk to it in direct chats
var WhatsappCloudAPIVersion = Register(&String{Meta: Meta{Key: "whatsapp_cloud.api_version", Env: "WHATSAPP_CLOUD_API_VERSION", Label: "API version", Short: "WhatsApp Business: version of Meta's Graph API to call.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}})
WhatsApp Business: Graph API version
var WhatsappCloudAppID = Register(&String{Meta: Meta{Key: "whatsapp_cloud.app_id", Env: "WHATSAPP_CLOUD_APP_ID", Label: "App ID", Short: "WhatsApp Business: ID of your Meta app.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}})
WhatsApp Business: app ID
var WhatsappCloudPhoneNumberID = Register(&String{Meta: Meta{Key: "whatsapp_cloud.phone_number_id", Env: "WHATSAPP_CLOUD_PHONE_NUMBER_ID", Label: "Phone number ID", Short: "WhatsApp Business: phone number ID from the Meta app dashboard.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}})
WhatsApp Business: phone number ID
var WhatsappCloudWabaID = Register(&String{Meta: Meta{Key: "whatsapp_cloud.waba_id", Env: "WHATSAPP_CLOUD_WABA_ID", Label: "Business account", Short: "WhatsApp Business: ID of the business account.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}})
WhatsApp Business: business account ID
var WhatsappCloudWebhookHost = Register(&String{Meta: Meta{Key: "whatsapp_cloud.webhook_host", Env: "WHATSAPP_CLOUD_WEBHOOK_HOST", Label: "Listen address", Short: "WhatsApp Business: address the message receiver listens on.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}})
WhatsApp Business: address the webhook receiver listens on
var WhatsappCloudWebhookPath = Register(&String{Meta: Meta{Key: "whatsapp_cloud.webhook_path", Env: "WHATSAPP_CLOUD_WEBHOOK_PATH", Label: "Webhook path", Short: "WhatsApp Business: path the message receiver answers on.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}})
WhatsApp Business: path the webhook receiver answers on
var WhatsappCloudWebhookPort = Register(&Int{Meta: Meta{Key: "whatsapp_cloud.webhook_port", Env: "WHATSAPP_CLOUD_WEBHOOK_PORT", Label: "Listen port", Short: "WhatsApp Business: port the message receiver listens on.", Group: GroupChatApps, Order: 2360, Advanced: true, Apply: Restart}, Min: at(1), Max: at(65535), Null: "the built-in port"})
WhatsApp Business: port the webhook receiver listens on
var WhatsappDmPolicy = Register(&Enum{Meta: Meta{Key: "whatsapp.dm_policy", Env: "WHATSAPP_DM_POLICY", Label: "Direct chat access", Short: "WhatsApp: who may talk to it in direct chats.", Group: GroupChatApps, Order: 2350, Advanced: true, Apply: Restart}, Default: "pairing", Values: whatsappPolicyChoices})
WhatsApp: who may talk to it in direct chats
var WhatsappFreeResponseChats = Register(&List{Meta: Meta{Key: "whatsapp.free_response_chats", Label: "Free reply chats", Short: "WhatsApp: chats where it answers without being mentioned.", Group: GroupChatApps, Order: 2350, Advanced: true}})
WhatsApp: chats where it answers without a mention
var WhatsappGroupAllowFrom = Register(&List{Meta: Meta{Key: "whatsapp.group_allow_from", Label: "Allowed in groups", Short: "WhatsApp: group IDs or numbers allowed to talk to it in groups.", Group: GroupChatApps, Order: 2350, Advanced: true}})
WhatsApp: people allowed to talk to it in groups
var WhatsappGroupPolicy = Register(&Enum{Meta: Meta{Key: "whatsapp.group_policy", Env: "WHATSAPP_GROUP_POLICY", Label: "Group access", Short: "WhatsApp: who may talk to it in groups.", Group: GroupChatApps, Order: 2350, Advanced: true, Apply: Restart}, Default: "pairing", Values: whatsappPolicyChoices})
WhatsApp: who may talk to it in groups
var WhatsappMentionPatterns = Register(&List{Meta: Meta{Key: "whatsapp.mention_patterns", Label: "Mention words", Short: "WhatsApp: words that count as a mention besides its name.", Group: GroupChatApps, Order: 2350, Advanced: true}, Whole: true})
WhatsApp: words that count as a mention
var WhatsappRequireMention = Register(&Bool{Meta: Meta{Key: "whatsapp.require_mention", Label: "Require mention", Short: "WhatsApp: answer in groups only when someone mentions it.", Group: GroupChatApps, Order: 2350, Advanced: true}, Default: false})
WhatsApp: answer in groups only when mentioned
var WhereCommandsRun = Register(&Enum{Meta: Meta{Key: "terminal.backend", Label: "Where commands run", Short: "The machine or sandbox where the agent's shell commands run.", Group: GroupTerminal, Order: 10, Apply: NewSession}, Default: "local", Open: true, Values: []Choice{ {"local", "This machine", "Runs directly on your computer."}, {"docker", "Docker", "A container on this machine."}, {"ssh", "SSH", "Another machine over SSH."}, {"modal", "Modal", "A Modal cloud sandbox."}, {"daytona", "Daytona", "A Daytona cloud sandbox."}, {"vercel_sandbox", "Vercel", "A Vercel cloud sandbox."}, }})
Machine or sandbox shell commands run in
var WorkingFolder = Register(&Path{Meta: Meta{Key: "terminal.cwd", Label: "Working folder", Short: "Folder the agent's shell commands start in.", Group: GroupTerminal, Order: 20, Slash: "cwd"}, Default: "."})
Folder shell commands start in
var Worktree = Register(&Bool{Meta: Meta{Key: "worktree", Label: "Own work tree", Short: "Start each terminal session in its own git work tree.", Group: GroupTerminal, Order: 1600, Advanced: true, Apply: NewSession}, Default: false})
New terminal sessions start in their own git work tree
var WorktreeSync = Register(&Bool{Meta: Meta{Key: "worktree_sync", Label: "Fetch before branching", Short: "Fetch the upstream branch before making a new work tree.", Help: "Off branches from your local HEAD.", Group: GroupTerminal, Order: 1610, Advanced: true, Apply: NewSession}, Default: true})
New work trees branch from the latest upstream commit
var WorktreesArchiveDirty = Register(&Bool{Meta: Meta{Key: "worktrees.archive_dirty", Label: "Archive dirty trees", Short: "Save a patch of unsaved work before removing a worktree.", Group: GroupTerminal, Order: 1500, Advanced: true}, Default: true})
Save a patch of unsaved work before removing a worktree
var WorktreesArchiveMaxFileMb = Register(&Int{Meta: Meta{Key: "worktrees.archive_max_file_mb", Label: "Archive file limit", Short: "Largest file included in a worktree archive.", Group: GroupTerminal, Order: 1510, Advanced: true}, Default: 50, Unit: "MB"})
Largest file included in a worktree archive
var WorktreesArchiveRetentionDays = Register(&Duration{Meta: Meta{Key: "worktrees.archive_retention_days", Label: "Archive retention", Short: "Days a removed worktree's archive is kept.", Group: GroupTerminal, Order: 1520, Advanced: true}, Default: 30 * 24 * time.Hour, Unit: 24 * time.Hour})
Days a removed worktree's archive is kept
var WorktreesInstallStateRetentionDays = Register(&Duration{Meta: Meta{Key: "worktrees.install_state_retention_days", Label: "Install cache retention", Short: "Days unused dependency install data is kept.", Help: "Zero or less turns cleanup off.", Group: GroupTerminal, Order: 1530, Advanced: true}, Default: 14 * 24 * time.Hour, Unit: 24 * time.Hour})
Days unused dependency install data is kept
var WorktreesMaxTotalGb = Register(&Int{Meta: Meta{Key: "worktrees.max_total_gb", Label: "Worktree disk limit", Short: "Total disk space worktrees may use before cleanup.", Help: "Zero means no limit.", Group: GroupTerminal, Order: 1540, Advanced: true}, Default: 0, Unit: "GB"})
Total disk space worktrees may use before cleanup
var XAIImageExpiresAfter = Register(&String{Meta: Meta{Key: "image_gen.xai.storage.expires_after", Label: "xAI image expiry", Short: "Seconds xAI keeps stored pictures, at most 30 days.", Help: "Never, permanent or 0 keeps them until you delete them.", Group: GroupMedia, Order: 144, Advanced: true}, Null: "kept until you delete them"})
How long xAI keeps stored pictures
var XAIImageModel = Register(&String{Meta: Meta{Key: "image_gen.xai.model", Label: "xAI image model", Short: "Model xAI draws with.", Group: GroupMedia, Order: 140, Advanced: true, Env: "XAI_IMAGE_MODEL"}, Null: "xAI's default image model"})
Image model xAI draws with
var XAIImagePublicURL = Register(&Bool{Meta: Meta{Key: "image_gen.xai.storage.public_url", Label: "xAI image link", Short: "Give pictures kept in xAI storage a public link.", Group: GroupMedia, Order: 143, Advanced: true}, Default: true})
Public link of pictures kept in xAI storage
var XAIImageResolution = Register(&Enum{Meta: Meta{Key: "image_gen.xai.resolution", Label: "xAI resolution", Short: "Picture size xAI draws at.", Group: GroupMedia, Order: 141, Advanced: true}, Default: "1k", Values: []Choice{{"1k", "1K", "About one megapixel."}, {"2k", "2K", "About four megapixels."}}})
Picture size xAI draws at
var XAIImageStorage = Register(&Bool{Meta: Meta{Key: "image_gen.xai.storage.enabled", Label: "xAI image storage", Short: "Keep pictures xAI draws in xAI storage for a reusable link.", Help: "xAI may bill for stored files.", Group: GroupMedia, Order: 142, Advanced: true}, Default: true})
Pictures xAI draws kept in xAI storage
var XAIVideoExpiresAfter = Register(&String{Meta: Meta{Key: "video_gen.xai.storage.expires_after", Label: "xAI video expiry", Short: "Seconds xAI keeps stored videos, at most 30 days.", Help: "Never, permanent or 0 keeps them until you delete them.", Group: GroupMedia, Order: 2995, Advanced: true}, Null: "kept until you delete them"})
How long xAI keeps stored videos
var XAIVideoPublicURL = Register(&Bool{Meta: Meta{Key: "video_gen.xai.storage.public_url", Label: "xAI video link", Short: "Give videos kept in xAI storage a public link.", Group: GroupMedia, Order: 2994, Advanced: true}, Default: true})
Public link of videos kept in xAI storage
var XAIVideoStorage = Register(&Bool{Meta: Meta{Key: "video_gen.xai.storage.enabled", Label: "xAI video storage", Short: "Keep videos xAI makes in xAI storage for a reusable link.", Help: "xAI may bill for stored files.", Group: GroupMedia, Order: 2993, Advanced: true}, Default: true})
Videos xAI makes kept in xAI storage
var XSearchModel = Register(&String{Meta: Meta{Key: "x_search.model", Label: "X search model", Short: "Model that runs X searches.", Group: GroupTools, Order: 1930, Advanced: true}, Default: "grok-4.5"})
Model that runs X searches
var XSearchReasoningEffort = Register(&Enum{Meta: Meta{Key: "x_search.reasoning_effort", Label: "X search effort", Short: "How hard the model thinks while searching X.", Group: GroupTools, Order: 1940, Advanced: true}, Values: []Choice{{"low", "Low", "Fastest, least thinking."}, {"medium", "Medium", "Balanced."}, {"high", "High", "More thinking."}, {"xhigh", "Extra high", "Most thinking."}}, Null: "the model's default"})
How hard the model thinks while searching X
var XSearchRetries = Register(&Int{Meta: Meta{Key: "x_search.retries", Label: "X search retries", Short: "How many times a failed X search is retried.", Group: GroupTools, Order: 1950, Advanced: true}, Default: 2, Min: at(0)})
How many times a failed X search is retried
var XSearchTimeoutSeconds = Register(&Duration{Meta: Meta{Key: "x_search.timeout_seconds", Label: "X search timeout", Short: "Longest to wait for an X search.", Help: "Never less than 30 seconds.", Group: GroupTools, Order: 1960, Advanced: true}, Default: 3 * time.Minute, Min: at(30 * time.Second)})
Longest to wait for an X search
var YuanbaoAPIDomain = Register(&String{Meta: Meta{Key: "yuanbao.api_domain", Label: "Service address", Short: "Yuanbao: address of the bot service that signs the bot in.", Group: GroupChatApps, Order: 3910, Advanced: true, Apply: Restart}, Default: "https://bot.yuanbao.tencent.com"})
Yuanbao: address of the bot service
var YuanbaoDmAllowFrom = Register(&List{Meta: Meta{Key: "yuanbao.dm_allow_from", Env: "YUANBAO_DM_ALLOW_FROM", Label: "Allowed people", Short: "Yuanbao: user IDs allowed to message the bot directly.", Group: GroupChatApps, Order: 3940, Advanced: true, Apply: Restart}})
Yuanbao: people allowed to message the bot directly
var YuanbaoDmPolicy = Register(&Enum{Meta: Meta{Key: "yuanbao.dm_policy", Env: "YUANBAO_DM_POLICY", Label: "Direct messages", Short: "Yuanbao: who may message the bot directly.", Group: GroupChatApps, Order: 3930, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
Yuanbao: who may message the bot directly
var YuanbaoGroupAllowFrom = Register(&List{Meta: Meta{Key: "yuanbao.group_allow_from", Env: "YUANBAO_GROUP_ALLOW_FROM", Label: "Allowed groups", Short: "Yuanbao: group IDs the bot answers in.", Group: GroupChatApps, Order: 3960, Advanced: true, Apply: Restart}})
Yuanbao: group chats the bot answers in
var YuanbaoGroupPolicy = Register(&Enum{Meta: Meta{Key: "yuanbao.group_policy", Env: "YUANBAO_GROUP_POLICY", Label: "Group chats", Short: "Yuanbao: which group chats the bot answers in.", Group: GroupChatApps, Order: 3950, Advanced: true, Apply: Restart}, Default: "pairing", Open: true, Values: chatPolicyChoices})
Yuanbao: which group chats the bot answers in
var YuanbaoRouteEnv = Register(&String{Meta: Meta{Key: "yuanbao.route_env", Label: "Service route", Short: "Yuanbao: which service environment the bot's requests go to.", Group: GroupChatApps, Order: 3920, Advanced: true, Apply: Restart}, Null: "the production service"})
Yuanbao: service environment requests are routed to
var YuanbaoWsURL = Register(&String{Meta: Meta{Key: "yuanbao.ws_url", Label: "Socket address", Short: "Yuanbao: address of the socket the bot receives messages on.", Group: GroupChatApps, Order: 3900, Advanced: true, Apply: Restart}, Default: "wss://bot-wss.yuanbao.tencent.com/wss/connection"})
Yuanbao: socket address the bot connects to
Functions ¶
func CorePlatforms ¶
func CorePlatforms() []string
Chat platforms whose display defaults the core declares, in name order
func DefaultsOnly ¶
Context whose reads skip every stored layer and answer each setting's default
func EndSession ¶
func EndSession(sessionID string)
Forgets the values this process holds for a session whose live run ended; the store keeps them for a resume
func Flipped ¶
Value a bare toggle moves a setting to from its value in effect, nil when the setting does not toggle
func PlatformFrom ¶
Chat platform a context resolves for, empty for the terminal UI
func PlatformOverrides ¶
Every platform's own value of a setting that takes overrides, keyed by platform
func PluginKeysRegistered ¶
func PluginKeysRegistered()
Marks the settings blocks of every discovered plugin as registered, which lets the notices about unknown config keys out
func ReasoningConfig ¶
Reasoning config the settings of ctx give a model, the model in effect when model is empty: its Reasoning by model entry, else Reasoning effort; nil leaves the model's own default
func Register ¶
func Register[E Entry](e E) E
Adds a setting to the registry, panicking on a duplicate key or alias or a missing description
func RegisterPlatformTiers ¶
func RegisterPlatformTiers(fn PlatformTierFunc)
Registers how a chat platform names its display tier, set once by the platform registry
func RegisterPluginKeys ¶
Registers the config blocks a plugin manifest declares as free-form map settings, skipping keys and sections the registry already covers
func RegisterSessionStore ¶
func RegisterSessionStore(s SessionStore)
Registers the store session values live in, replacing any earlier one
func SessionFrom ¶
Session a context belongs to, empty when none
func SessionValues ¶
Every value a session holds, a copy the caller may change
func Stored ¶
Value the profile of ctx stores for a setting as written, references unexpanded, so a flow can put it back unchanged; false when none is stored or the setting is a credential kept in .env
func Subscribe ¶
func Subscribe(fn Listener) (cancel func())
Calls fn after every applied change, the returned func ending the subscription
func TaskReasoningConfig ¶
Reasoning config of a helper task: the task's own thinking effort when one is set, else ReasoningConfig of the model
func TurnRecoveryAttempts ¶
Retries a kanban.turn_recovery word allows, 0 for off, clamped to 0 through 10
func WithFrozen ¶
Context whose reads answer the global and platform layers from doc, a session's frozen launch config, instead of config.yaml; the session, env and managed layers stay as they are
func WithPlatform ¶
Context whose reads resolve for one chat platform, its display.platforms overrides and tier defaults applying
func WithSession ¶
Context whose reads and session writes belong to one session
Types ¶
type Bool ¶
type Bool struct {
Meta
Default bool
// Other words the setting takes, lower case, by the state each stands for
Also map[string]bool
// A stored value counts only when it is a real on or off, so text, which a reference to the environment can produce, never turns it on
Literal bool
// Unset by default when not empty, the text saying what unset means
Null string
}
On or off setting
func (*Bool) DefaultValue ¶
type Change ¶
type Change struct {
Key string
Scope Scope
Home string
SessionID string
Old Value
New Value
Apply Apply
// The change removed the value at its scope
Reset bool
}
One applied change, what every subscriber hears
type Choice ¶
type Choice struct {
Value string `json:"value"`
Label string `json:"label"`
Meaning string `json:"meaning,omitempty"`
}
One allowed value of an enum with its row label and one line meaning
type Duration ¶
type Duration struct {
Meta
Default time.Duration
// Unit the stored number counts, seconds when zero
Unit time.Duration
Min *time.Duration
Max *time.Duration
// Other words the setting takes, lower case, by the length of time each stands for
Also map[string]time.Duration
// A stored length under the minimum gives way to the default, not to the minimum
DefaultBelow bool
// A stored length over the maximum gives way to the default, not to the maximum
DefaultAbove bool
// Unset by default when not empty, the text saying what unset means
Null string
}
Length of time stored in config.yaml as a number of Unit
func (*Duration) DefaultValue ¶
type Entry ¶
type Entry interface {
Info() *Meta
Kind() Kind
// Default value, nil when the setting is unset by default
DefaultValue() any
// Canonical stored value of a written value, an error naming what is accepted
Coerce(value any) (any, error)
// contains filtered or unexported methods
}
One registered setting
func ByEnv ¶
Setting an environment variable name overrides, the first registered when several take the name, nil when it overrides none
type Enum ¶
type Enum struct {
Meta
Default string
Values []Choice
// Pair a bare toggle flips between, empty when the setting does not toggle
Off, On string
// Accepts words outside Values, Validate deciding
Open bool
// Other words the setting takes, lower case, by the value each stands for
Also map[string]string
// Unset by default when not empty, the text saying what unset means
Null string
}
One of a fixed set of words
func (*Enum) DefaultValue ¶
type Float ¶
type Float struct {
Meta
Default float64
Min *float64
Max *float64
Unit string
// A stored number under the minimum gives way to the default, not to the minimum
DefaultBelow bool
// A stored number over the maximum gives way to the default, not to the maximum
DefaultAbove bool
// Unset by default when not empty, the text saying what unset means
Null string
}
Decimal number setting with optional bounds and a unit
func (*Float) DefaultValue ¶
type Group ¶
type Group struct {
ID GroupID `json:"id"`
Label string `json:"label"`
Short string `json:"short"`
Order int `json:"order"`
// Every row of the group is advanced
AdvancedOnly bool `json:"advanced_only,omitempty"`
}
One settings screen group, its title, one line summary and place
type GroupID ¶
type GroupID string
Settings screen group a setting belongs to
const ( GroupModel GroupID = "model" GroupAgent GroupID = "agent" GroupTools GroupID = "tools" GroupTerminal GroupID = "terminal" GroupSafety GroupID = "safety" GroupVoice GroupID = "voice" GroupMedia GroupID = "media" GroupAppearance GroupID = "appearance" GroupWorking GroupID = "working" GroupMemory GroupID = "memory" GroupChatApps GroupID = "chat_apps" GroupSystem GroupID = "system" )
type Int ¶
type Int struct {
Meta
Default int
Min *int
Max *int
// Unit shown after the number, such as tokens or MB
Unit string
// A stored number under the minimum gives way to the default, not to the minimum
DefaultBelow bool
// A stored number over the maximum gives way to the default, not to the maximum
DefaultAbove bool
// Unset by default when not empty, the text saying what unset means
Null string
// Other spellings of unset a setting with Null takes, lower case, such as unlimited or 0
Unset []string
}
Whole number setting with optional bounds and a unit
func (*Int) DefaultValue ¶
type Kind ¶
type Kind string
Value shape of a setting, which also picks its edit widget
const ( KindBool Kind = "bool" KindInt Kind = "int" KindFloat Kind = "float" KindDuration Kind = "duration" KindEnum Kind = "enum" KindString Kind = "string" KindPath Kind = "path" KindSecret Kind = "secret" KindList Kind = "list" KindMap Kind = "map" KindObject Kind = "object" // Any YAML value, under a map that gives its entries no schema KindAny Kind = "any" )
type List ¶
type List struct {
Meta
Default []any
// Kind of each item, string when empty
Of Kind
// Schema each item follows, nil for items no schema checks
Item Entry
// Text given in place of a list is one item, such as a pattern that may hold commas, instead of items split at commas
Whole bool
// Unset by default when not empty, the text saying what unset means
Null string
// Text of the environment override holds several items separated by commas or lines, even when a written text is one whole item
EnvSplit bool
}
Ordered list of values
func (*List) DefaultValue ¶
type Map ¶
type Map struct {
Meta
Default map[string]any
// Schema of each value, nil for free form values
Value Entry
// Entries may also sit beside the map in its parent section, under names no other setting there takes; the map's own entry wins
Beside bool
// A stored mapping replaces Default as a whole instead of being merged over it, so the entries a person writes are the whole list
Replace bool
}
Mapping of names to values, each value optionally following an entry schema
func (*Map) DefaultValue ¶
func (*Map) DeleteEntry ¶
Removes one entry of the map from its default scope through Reset
func (*Map) Get ¶
Mapping in effect for ctx, with the entries written beside it for a map that takes them
type Meta ¶
type Meta struct {
// Dotted path in config.yaml, never reused for another meaning
Key string
// Row title, at most three words
Label string
// What the user sees change, at most 70 characters
Short string
// Optional detail, at most two sentences
Help string
// Settings screen group
Group GroupID
// Position inside the group
Order int
// Layers the setting may be written to
Scopes Scope
// When a change takes effect
Apply Apply
// Hidden behind show advanced
Advanced bool
// A chat platform may override it under display.platforms.<platform>, and its tier may give it another default
Platforms bool
// A chat platform never takes the global value, only its own override or its tier default
PlatformOnly bool
// Runtime state the app writes for itself, kept in the home's state file so no install can lock it
State bool
// Shortcut command that names this setting
Slash string
// One documented env override from the pre config allowlist
Env string
// The env override of an on or off setting says the opposite: on there turns the setting off
EnvInvert bool
// Extra check of a coerced value, a one line error
Validate func(value any) error
// Other keys written in the same change so their existing readers follow
Companions func(value any) []config.KeyValue
// Value computed from other settings, the setting then storing nothing of its own and writing only Companions
Derive func(ctx context.Context) (any, Source)
}
Description, placement and behaviour every setting shares
type Object ¶
Mapping of named fields, each field following its own entry whose Key is the field name, a dotted Key naming a field nested inside mappings
func (*Object) DefaultValue ¶
type PlatformTierFunc ¶
type PlatformTierFunc func(ctx context.Context, platform string) (tier string, overrides map[string]any)
Answers a registered chat platform's display tier and its own display defaults keyed by setting leaf
type Query ¶
type Query struct {
Group GroupID `json:"group,omitempty"`
Prefix string `json:"prefix,omitempty"`
Search string `json:"search,omitempty"`
Keys []string `json:"keys,omitempty"`
Advanced bool `json:"advanced,omitempty"`
}
Filter of a settings listing: a group, a key prefix, a search text and whether advanced rows are included
type Row ¶
type Row struct {
Key string `json:"key"`
Label string `json:"label"`
Short string `json:"short"`
Help string `json:"help,omitempty"`
Group GroupID `json:"group"`
Order int `json:"order"`
Kind Kind `json:"kind"`
Default any `json:"default"`
Null string `json:"null,omitempty"`
Choices []Choice `json:"choices,omitempty"`
Open bool `json:"open,omitempty"`
Min *float64 `json:"min,omitempty"`
Max *float64 `json:"max,omitempty"`
Unit string `json:"unit,omitempty"`
Scopes []string `json:"scopes"`
Apply string `json:"apply"`
Advanced bool `json:"advanced,omitempty"`
Slash string `json:"slash,omitempty"`
Env string `json:"env,omitempty"`
Value any `json:"value"`
Source Source `json:"source"`
Locked bool `json:"locked,omitempty"`
// The env override says the opposite of the setting: on there turns it off
EnvInvert bool `json:"env_invert,omitempty"`
// The session the row was read for holds its own value
SessionSet bool `json:"session_set,omitempty"`
// That session's own value, present when SessionSet
Session any `json:"session,omitempty"`
// Value without the session's own: what the profile gives every other session
Profile any `json:"profile,omitempty"`
// Source of Profile
ProfileSource Source `json:"profile_source,omitempty"`
// Entries of a map setting in name order, each with its full key and value
Entries []MapEntry `json:"entries,omitempty"`
// Schema of one entry of a map setting or one item of a list setting, when they follow one
EntrySchema *Row `json:"entry_schema,omitempty"`
// Schema of each field of an object setting or of a map entry that is an object
Fields []Row `json:"fields,omitempty"`
// Chat apps that override this setting, keyed by app, with their own values
Platforms map[string]any `json:"platforms,omitempty"`
}
One settings screen row: the schema of a setting, its value in effect and where that value came from
type Secret ¶
type Secret struct {
Meta
}
Credential kept in the profile .env under Env and only ever shown as set or not set
func (*Secret) DefaultValue ¶
type SessionStore ¶
type SessionStore interface {
// Values a session stored, empty when it stored none; ctx carries the session's home
LoadSessionSettings(ctx context.Context, sessionID string) (map[string]any, error)
// Replaces every value a session stores, an empty map removing them all
SaveSessionSettings(ctx context.Context, sessionID string, values map[string]any) error
}
Keeps the session scope values of each session with the session itself, so they survive a restart and a resume
type String ¶
type String struct {
Meta
Default string
// Holds a credential, so it is shown only as set or not set
Masked bool
// Unset by default when not empty, the text saying what unset means
Null string
}
Free text setting
func (*String) DefaultValue ¶
type Value ¶
type Value struct {
Key string `json:"key"`
Value any `json:"value"`
Source Source `json:"source"`
// An administrator pins it, so no scope can change it
Locked bool `json:"locked,omitempty"`
}
Value of a setting in effect and the layer it came from
type ValueError ¶
Refusal of a value with the reason a user can act on
func (*ValueError) Error ¶
func (e *ValueError) Error() string
Source Files
¶
- advanced_agent.go
- advanced_appearance.go
- advanced_chat_apps.go
- advanced_media.go
- advanced_memory.go
- advanced_model.go
- advanced_safety.go
- advanced_system.go
- advanced_terminal.go
- advanced_tools.go
- advanced_voice.go
- advanced_working.go
- agent.go
- appearance.go
- chat_choices.go
- cli.go
- describe.go
- groups.go
- media.go
- memory_chat_apps.go
- model.go
- platform.go
- registry.go
- resolve.go
- session.go
- set.go
- settings.go
- state.go
- tools_terminal_safety.go
- types.go
- voice.go
- working.go