---
title: "Update global configuration"
method: PATCH
path: "/global/config"
---

# Update global configuration

`PATCH /global/config`

Update global CyberStrike configuration settings and preferences.

## Request body

- Config
  - `$schema` string — JSON schema reference for configuration validation
  - `theme` string — Theme name to use for the interface
  - `keybinds` KeybindsConfig — Custom keybind configurations
    - `leader` string — Leader key for keybind combinations
    - `app_exit` string — Exit the application
    - `editor_open` string — Open external editor
    - `theme_list` string — List available themes
    - `sidebar_toggle` string — Toggle sidebar
    - `scrollbar_toggle` string — Toggle session scrollbar
    - `username_toggle` string — Toggle username visibility
    - `status_view` string — View status
    - `session_export` string — Export session to editor
    - `session_new` string — Create a new session
    - `session_list` string — List all sessions
    - `session_timeline` string — Show session timeline
    - `session_fork` string — Fork session from message
    - `session_rename` string — Rename session
    - `session_delete` string — Delete session
    - `stash_delete` string — Delete stash entry
    - `model_provider_list` string — Open provider list from model dialog
    - `model_favorite_toggle` string — Toggle model favorite status
    - `session_share` string — Share current session
    - `session_unshare` string — Unshare current session
    - `session_interrupt` string — Interrupt current session
    - `session_compact` string — Compact the session
    - `messages_page_up` string — Scroll messages up by one page
    - `messages_page_down` string — Scroll messages down by one page
    - `messages_line_up` string — Scroll messages up by one line
    - `messages_line_down` string — Scroll messages down by one line
    - `messages_half_page_up` string — Scroll messages up by half page
    - `messages_half_page_down` string — Scroll messages down by half page
    - `messages_first` string — Navigate to first message
    - `messages_last` string — Navigate to last message
    - `messages_next` string — Navigate to next message
    - `messages_previous` string — Navigate to previous message
    - `messages_last_user` string — Navigate to last user message
    - `messages_copy` string — Copy message
    - `messages_undo` string — Undo message
    - `messages_redo` string — Redo message
    - `messages_toggle_conceal` string — Toggle code block concealment in messages
    - `tool_details` string — Toggle tool details visibility
    - `model_list` string — List available models
    - `model_cycle_recent` string — Next recently used model
    - `model_cycle_recent_reverse` string — Previous recently used model
    - `model_cycle_favorite` string — Next favorite model
    - `model_cycle_favorite_reverse` string — Previous favorite model
    - `command_list` string — List available commands
    - `agent_list` string — List agents
    - `agent_cycle` string — Next agent
    - `agent_cycle_reverse` string — Previous agent
    - `variant_cycle` string — Cycle model variants
    - `input_clear` string — Clear input field
    - `input_paste` string — Paste from clipboard
    - `input_submit` string — Submit input
    - `input_newline` string — Insert newline in input
    - `input_move_left` string — Move cursor left in input
    - `input_move_right` string — Move cursor right in input
    - `input_move_up` string — Move cursor up in input
    - `input_move_down` string — Move cursor down in input
    - `input_select_left` string — Select left in input
    - `input_select_right` string — Select right in input
    - `input_select_up` string — Select up in input
    - `input_select_down` string — Select down in input
    - `input_line_home` string — Move to start of line in input
    - `input_line_end` string — Move to end of line in input
    - `input_select_line_home` string — Select to start of line in input
    - `input_select_line_end` string — Select to end of line in input
    - `input_visual_line_home` string — Move to start of visual line in input
    - `input_visual_line_end` string — Move to end of visual line in input
    - `input_select_visual_line_home` string — Select to start of visual line in input
    - `input_select_visual_line_end` string — Select to end of visual line in input
    - `input_buffer_home` string — Move to start of buffer in input
    - `input_buffer_end` string — Move to end of buffer in input
    - `input_select_buffer_home` string — Select to start of buffer in input
    - `input_select_buffer_end` string — Select to end of buffer in input
    - `input_delete_line` string — Delete line in input
    - `input_delete_to_line_end` string — Delete to end of line in input
    - `input_delete_to_line_start` string — Delete to start of line in input
    - `input_backspace` string — Backspace in input
    - `input_delete` string — Delete character in input
    - `input_undo` string — Undo in input
    - `input_redo` string — Redo in input
    - `input_word_forward` string — Move word forward in input
    - `input_word_backward` string — Move word backward in input
    - `input_select_word_forward` string — Select word forward in input
    - `input_select_word_backward` string — Select word backward in input
    - `input_delete_word_forward` string — Delete word forward in input
    - `input_delete_word_backward` string — Delete word backward in input
    - `history_previous` string — Previous history item
    - `history_next` string — Next history item
    - `session_child_cycle` string — Next child session
    - `session_child_cycle_reverse` string — Previous child session
    - `session_parent` string — Go to parent session
    - `terminal_suspend` string — Suspend terminal
    - `terminal_title_toggle` string — Toggle terminal title
    - `tips_toggle` string — Toggle tips on home screen
    - `display_thinking` string — Toggle thinking blocks visibility
  - `logLevel` 'DEBUG' | 'INFO' | 'WARN' | 'ERROR' — Log level
  - `tui` object — TUI specific settings
    - `scroll_speed` number — TUI scroll speed
    - `scroll_acceleration` object — Scroll acceleration settings
      - `enabled` boolean, required — Enable scroll acceleration
    - `diff_style` 'auto' | 'stacked' — Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
  - `server` ServerConfig — Server configuration for cyberstrike serve and web commands
    - `port` integer — Port to listen on
    - `hostname` string — Hostname to listen on
    - `mdns` boolean — Enable mDNS service discovery
    - `mdnsDomain` string — Custom domain name for mDNS service (default: cyberstrike.local)
    - `cors` string[] — Additional domains to allow for CORS
  - `command` object — Command configuration, see https://cyberstrike.io/docs/commands
  - `skills` object — Additional skill folder paths
    - `paths` string[] — Additional paths to skill folders
    - `urls` string[] — URLs to fetch skills from (e.g., https://example.com/.well-known/skills/)
    - `disabled` string[] — Skill names to disable (will not be loaded by agents)
  - `watcher` object
    - `ignore` string[]
  - `plugin` string[]
  - `snapshot` boolean
  - `share` 'manual' | 'auto' | 'disabled' — Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing
  - `autoshare` boolean — @deprecated Use 'share' field instead. Share newly created sessions automatically
  - `autoupdate` union — Automatically update to the latest version. Set to true to auto-update, false to disable, or 'notify' to show update notifications
    - boolean
    - 'notify'
  - `disabled_providers` string[] — Disable providers that are loaded automatically
  - `enabled_providers` string[] — When set, ONLY these providers will be enabled. All other providers will be ignored
  - `model` string — Model to use in the format of provider/model, eg anthropic/claude-2
  - `small_model` string — Small model to use for tasks like title generation in the format of provider/model
  - `default_agent` string — Default agent to use when none is specified. Must be a primary agent. Falls back to 'cyberstrike' if not set or if the specified agent is invalid.
  - `username` string — Custom username to display in conversations instead of system username
  - `mode` object — @deprecated Use `agent` field instead.
    - `cyberstrike` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
  - `agent` object — Agent configuration, see https://cyberstrike.io/docs/agents
    - `cyberstrike` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `general` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `explore` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `title` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `summary` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `compaction` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
  - `provider` object — Custom provider configurations and model overrides
  - `mcp` object — MCP (Model Context Protocol) server configurations
  - `bolt` object — Bolt server configurations (Docker Kali containers)
  - `formatter` union
    - false
    - object
  - `lsp` union
    - false
    - object
  - `instructions` string[] — Additional instruction files or patterns to include
  - `layout` 'auto' | 'stretch' — @deprecated Always uses stretch layout.
  - `permission` union
    - object
      - `__originalKeys` string[]
      - `read` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `edit` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `glob` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `grep` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `list` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `bash` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `task` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `external_directory` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `todowrite` 'ask' | 'allow' | 'deny'
      - `todoread` 'ask' | 'allow' | 'deny'
      - `report_vulnerability` 'ask' | 'allow' | 'deny'
      - `question` 'ask' | 'allow' | 'deny'
      - `webfetch` 'ask' | 'allow' | 'deny'
      - `websearch` 'ask' | 'allow' | 'deny'
      - `codesearch` 'ask' | 'allow' | 'deny'
      - `lsp` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `doom_loop` 'ask' | 'allow' | 'deny'
      - `skill` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
    - 'ask' | 'allow' | 'deny'
  - `tools` object
  - `enterprise` object
    - `url` string — Enterprise URL
  - `compaction` object
    - `auto` boolean — Enable automatic compaction when context is full (default: true)
    - `prune` boolean — Enable pruning of old tool outputs (default: true)
    - `reserved` integer — Token buffer for compaction. Leaves enough window to avoid overflow during compaction.
  - `experimental` object
    - `disable_paste_summary` boolean
    - `batch_tool` boolean — Enable the batch tool
    - `openTelemetry` boolean — Enable OpenTelemetry spans for AI SDK calls (using the 'experimental_telemetry' flag)
    - `primary_tools` string[] — Tools that should only be available to primary agents.
    - `continue_loop_on_deny` boolean — Continue the agent loop when a tool call is denied
    - `mcp_timeout` integer — Timeout in milliseconds for model context protocol (MCP) requests

## Response `200`

Successfully updated global config

- Config
  - `$schema` string — JSON schema reference for configuration validation
  - `theme` string — Theme name to use for the interface
  - `keybinds` KeybindsConfig — Custom keybind configurations
    - `leader` string — Leader key for keybind combinations
    - `app_exit` string — Exit the application
    - `editor_open` string — Open external editor
    - `theme_list` string — List available themes
    - `sidebar_toggle` string — Toggle sidebar
    - `scrollbar_toggle` string — Toggle session scrollbar
    - `username_toggle` string — Toggle username visibility
    - `status_view` string — View status
    - `session_export` string — Export session to editor
    - `session_new` string — Create a new session
    - `session_list` string — List all sessions
    - `session_timeline` string — Show session timeline
    - `session_fork` string — Fork session from message
    - `session_rename` string — Rename session
    - `session_delete` string — Delete session
    - `stash_delete` string — Delete stash entry
    - `model_provider_list` string — Open provider list from model dialog
    - `model_favorite_toggle` string — Toggle model favorite status
    - `session_share` string — Share current session
    - `session_unshare` string — Unshare current session
    - `session_interrupt` string — Interrupt current session
    - `session_compact` string — Compact the session
    - `messages_page_up` string — Scroll messages up by one page
    - `messages_page_down` string — Scroll messages down by one page
    - `messages_line_up` string — Scroll messages up by one line
    - `messages_line_down` string — Scroll messages down by one line
    - `messages_half_page_up` string — Scroll messages up by half page
    - `messages_half_page_down` string — Scroll messages down by half page
    - `messages_first` string — Navigate to first message
    - `messages_last` string — Navigate to last message
    - `messages_next` string — Navigate to next message
    - `messages_previous` string — Navigate to previous message
    - `messages_last_user` string — Navigate to last user message
    - `messages_copy` string — Copy message
    - `messages_undo` string — Undo message
    - `messages_redo` string — Redo message
    - `messages_toggle_conceal` string — Toggle code block concealment in messages
    - `tool_details` string — Toggle tool details visibility
    - `model_list` string — List available models
    - `model_cycle_recent` string — Next recently used model
    - `model_cycle_recent_reverse` string — Previous recently used model
    - `model_cycle_favorite` string — Next favorite model
    - `model_cycle_favorite_reverse` string — Previous favorite model
    - `command_list` string — List available commands
    - `agent_list` string — List agents
    - `agent_cycle` string — Next agent
    - `agent_cycle_reverse` string — Previous agent
    - `variant_cycle` string — Cycle model variants
    - `input_clear` string — Clear input field
    - `input_paste` string — Paste from clipboard
    - `input_submit` string — Submit input
    - `input_newline` string — Insert newline in input
    - `input_move_left` string — Move cursor left in input
    - `input_move_right` string — Move cursor right in input
    - `input_move_up` string — Move cursor up in input
    - `input_move_down` string — Move cursor down in input
    - `input_select_left` string — Select left in input
    - `input_select_right` string — Select right in input
    - `input_select_up` string — Select up in input
    - `input_select_down` string — Select down in input
    - `input_line_home` string — Move to start of line in input
    - `input_line_end` string — Move to end of line in input
    - `input_select_line_home` string — Select to start of line in input
    - `input_select_line_end` string — Select to end of line in input
    - `input_visual_line_home` string — Move to start of visual line in input
    - `input_visual_line_end` string — Move to end of visual line in input
    - `input_select_visual_line_home` string — Select to start of visual line in input
    - `input_select_visual_line_end` string — Select to end of visual line in input
    - `input_buffer_home` string — Move to start of buffer in input
    - `input_buffer_end` string — Move to end of buffer in input
    - `input_select_buffer_home` string — Select to start of buffer in input
    - `input_select_buffer_end` string — Select to end of buffer in input
    - `input_delete_line` string — Delete line in input
    - `input_delete_to_line_end` string — Delete to end of line in input
    - `input_delete_to_line_start` string — Delete to start of line in input
    - `input_backspace` string — Backspace in input
    - `input_delete` string — Delete character in input
    - `input_undo` string — Undo in input
    - `input_redo` string — Redo in input
    - `input_word_forward` string — Move word forward in input
    - `input_word_backward` string — Move word backward in input
    - `input_select_word_forward` string — Select word forward in input
    - `input_select_word_backward` string — Select word backward in input
    - `input_delete_word_forward` string — Delete word forward in input
    - `input_delete_word_backward` string — Delete word backward in input
    - `history_previous` string — Previous history item
    - `history_next` string — Next history item
    - `session_child_cycle` string — Next child session
    - `session_child_cycle_reverse` string — Previous child session
    - `session_parent` string — Go to parent session
    - `terminal_suspend` string — Suspend terminal
    - `terminal_title_toggle` string — Toggle terminal title
    - `tips_toggle` string — Toggle tips on home screen
    - `display_thinking` string — Toggle thinking blocks visibility
  - `logLevel` 'DEBUG' | 'INFO' | 'WARN' | 'ERROR' — Log level
  - `tui` object — TUI specific settings
    - `scroll_speed` number — TUI scroll speed
    - `scroll_acceleration` object — Scroll acceleration settings
      - `enabled` boolean, required — Enable scroll acceleration
    - `diff_style` 'auto' | 'stacked' — Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
  - `server` ServerConfig — Server configuration for cyberstrike serve and web commands
    - `port` integer — Port to listen on
    - `hostname` string — Hostname to listen on
    - `mdns` boolean — Enable mDNS service discovery
    - `mdnsDomain` string — Custom domain name for mDNS service (default: cyberstrike.local)
    - `cors` string[] — Additional domains to allow for CORS
  - `command` object — Command configuration, see https://cyberstrike.io/docs/commands
  - `skills` object — Additional skill folder paths
    - `paths` string[] — Additional paths to skill folders
    - `urls` string[] — URLs to fetch skills from (e.g., https://example.com/.well-known/skills/)
    - `disabled` string[] — Skill names to disable (will not be loaded by agents)
  - `watcher` object
    - `ignore` string[]
  - `plugin` string[]
  - `snapshot` boolean
  - `share` 'manual' | 'auto' | 'disabled' — Control sharing behavior:'manual' allows manual sharing via commands, 'auto' enables automatic sharing, 'disabled' disables all sharing
  - `autoshare` boolean — @deprecated Use 'share' field instead. Share newly created sessions automatically
  - `autoupdate` union — Automatically update to the latest version. Set to true to auto-update, false to disable, or 'notify' to show update notifications
    - boolean
    - 'notify'
  - `disabled_providers` string[] — Disable providers that are loaded automatically
  - `enabled_providers` string[] — When set, ONLY these providers will be enabled. All other providers will be ignored
  - `model` string — Model to use in the format of provider/model, eg anthropic/claude-2
  - `small_model` string — Small model to use for tasks like title generation in the format of provider/model
  - `default_agent` string — Default agent to use when none is specified. Must be a primary agent. Falls back to 'cyberstrike' if not set or if the specified agent is invalid.
  - `username` string — Custom username to display in conversations instead of system username
  - `mode` object — @deprecated Use `agent` field instead.
    - `cyberstrike` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
  - `agent` object — Agent configuration, see https://cyberstrike.io/docs/agents
    - `cyberstrike` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `general` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `explore` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `title` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `summary` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
    - `compaction` AgentConfig
      - `model` string
      - `variant` string — Default model variant for this agent (applies only when using the agent's configured model).
      - `temperature` number
      - `top_p` number
      - `prompt` string
      - `tools` object — @deprecated Use 'permission' field instead
      - `disable` boolean
      - `description` string — Description of when to use the agent
      - `mode` 'subagent' | 'primary' | 'all'
      - `hidden` boolean — Hide this subagent from the @ autocomplete menu (default: false, only applies to mode: subagent)
      - `options` object
      - `color` union — Hex color code (e.g., #FF5733) or theme color (e.g., primary)
        - string
        - 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'error' | 'info'
      - `steps` integer — Maximum number of agentic iterations before forcing text-only response
      - `maxSteps` integer — @deprecated Use 'steps' field instead.
      - `permission` union
        - object
          - `__originalKeys` string[]
          - `read` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `edit` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `glob` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `grep` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `list` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `bash` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `task` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `external_directory` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `todowrite` 'ask' | 'allow' | 'deny'
          - `todoread` 'ask' | 'allow' | 'deny'
          - `report_vulnerability` 'ask' | 'allow' | 'deny'
          - `question` 'ask' | 'allow' | 'deny'
          - `webfetch` 'ask' | 'allow' | 'deny'
          - `websearch` 'ask' | 'allow' | 'deny'
          - `codesearch` 'ask' | 'allow' | 'deny'
          - `lsp` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
          - `doom_loop` 'ask' | 'allow' | 'deny'
          - `skill` union
            - 'ask' | 'allow' | 'deny'
            - PermissionObjectConfig
        - 'ask' | 'allow' | 'deny'
  - `provider` object — Custom provider configurations and model overrides
  - `mcp` object — MCP (Model Context Protocol) server configurations
  - `bolt` object — Bolt server configurations (Docker Kali containers)
  - `formatter` union
    - false
    - object
  - `lsp` union
    - false
    - object
  - `instructions` string[] — Additional instruction files or patterns to include
  - `layout` 'auto' | 'stretch' — @deprecated Always uses stretch layout.
  - `permission` union
    - object
      - `__originalKeys` string[]
      - `read` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `edit` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `glob` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `grep` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `list` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `bash` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `task` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `external_directory` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `todowrite` 'ask' | 'allow' | 'deny'
      - `todoread` 'ask' | 'allow' | 'deny'
      - `report_vulnerability` 'ask' | 'allow' | 'deny'
      - `question` 'ask' | 'allow' | 'deny'
      - `webfetch` 'ask' | 'allow' | 'deny'
      - `websearch` 'ask' | 'allow' | 'deny'
      - `codesearch` 'ask' | 'allow' | 'deny'
      - `lsp` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
      - `doom_loop` 'ask' | 'allow' | 'deny'
      - `skill` union
        - 'ask' | 'allow' | 'deny'
        - PermissionObjectConfig
    - 'ask' | 'allow' | 'deny'
  - `tools` object
  - `enterprise` object
    - `url` string — Enterprise URL
  - `compaction` object
    - `auto` boolean — Enable automatic compaction when context is full (default: true)
    - `prune` boolean — Enable pruning of old tool outputs (default: true)
    - `reserved` integer — Token buffer for compaction. Leaves enough window to avoid overflow during compaction.
  - `experimental` object
    - `disable_paste_summary` boolean
    - `batch_tool` boolean — Enable the batch tool
    - `openTelemetry` boolean — Enable OpenTelemetry spans for AI SDK calls (using the 'experimental_telemetry' flag)
    - `primary_tools` string[] — Tools that should only be available to primary agents.
    - `continue_loop_on_deny` boolean — Continue the agent loop when a tool call is denied
    - `mcp_timeout` integer — Timeout in milliseconds for model context protocol (MCP) requests

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/cyberstrikeus/apis/cyberstrike.md) · [All operations](https://skmtc.net/cyberstrikeus/apis/cyberstrike/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cyberstrikeus/cyberstrike/versions/4e11f1aed2fd/schema)
