Skip to content

Settings

FlightPath's current global configuration schema lives in .flightpath/settings.json.

Where settings come from

The core config model is defined in:

  • schemas/settings-schema.json
  • src/types/FlightPathSettings.ts

These settings apply to both the extension and the standalone CLI where relevant.

Top-level sections

SectionPurpose
harnessDefault harness
modelsPer-harness model defaults
additionalArgsPer-harness extra CLI arguments
executionInteractive vs headless behavior, prompt timeout, script timeout
toolsPermission mode, allow/deny lists, harness-specific tool controls
workflowDefaults for new workflows
chatCopilot Chat behavior
mcpDefault MCP servers
hooksGlobal user-defined hooks
queueQueue size and execution time limits
historyOutput history retention
terminalEmbedded terminal behavior
uiWebview and prompt-editor behavior
serverHosted dashboard server settings
notificationsVS Code and browser notification preferences
enableDiagnosticLogsExtra logging

Common settings

Choose a default harness

json
{
  "harness": "copilot-cli"
}

Set default models per harness

json
{
  "models": {
    "copilot-cli": "claude-sonnet-4.5",
    "claude-cli": "sonnet",
    "gemini-cli": "gemini-2.5-pro"
  }
}

Set execution defaults

json
{
  "execution": {
    "mode": "interactive",
    "scriptTimeout": 30,
    "maxPromptTimeout": 10800
  }
}

Set tool permission defaults

json
{
  "tools": {
    "permissionMode": "allowAll",
    "allowed": ["write", "shell(git status)", "shell(npm:*)"],
    "denied": ["shell(rm:*)", "shell(git push:*)"]
  }
}

Notable defaults

Current defaults include:

  • harness: "copilot-cli"
  • execution.mode: "interactive"
  • execution.scriptTimeout: 30
  • workflow.defaultFormat: "yaml"
  • workflow.resumeExistingSession: false
  • workflow.priorContext: "none"

See src/types/FlightPathSettings.ts for the full default object.

Source-available under the FlightPath Commercial License.