{
  "theme": "replace:THEME",
  "display": {
    "style": "tui",
    "charset": "replace:CHARSET",
    "colorCompatibility": "auto",
    "autoWrap": true,
    "tui": {
      "fitContent": true,
      "minWidth": 60,
      "padding": { "horizontal": 1 },
      "separator": { "column": "" },
      "title": {
        "left": "{model.icon}  {model.value}",
        "right": "{dir}"
      },
      "footer": {
        "left": "{activity.durationIcon} {activity.durationVal}  {activity.messagesIcon} {activity.messagesVal}",
        "right": "{metrics.lastResponse}"
      },
      "segments": {
        "git.headVal": {
          "items": ["{branch}", "{status}", "{ahead}", "{behind}"],
          "gap": 1
        }
      },
      "breakpoints": [
        {
          "minWidth": 55,
          "areas": [
            "git.icon     git.headVal     git.headVal     git.headVal        git.working",
            "---",
            "context.icon  context.bar  context.bar  context.pct     context.tokens",
            "block.icon    block.bar    block.bar    block.value     block.time",
            "weekly.icon   weekly.bar   weekly.bar   weekly.pct      weekly.time",
            "---",
            "session       session       session     today           today"
          ],
          "columns": ["auto", "1fr", "auto", "auto", "auto"],
          "align": ["left", "left", "right", "right", "right"]
        },
        {
          "minWidth": 0,
          "areas": [
            "git.head",
            "git.working",
            "---",
            "context",
            "block",
            "---",
            "session",
            "today"
          ],
          "columns": ["1fr"],
          "align": ["left"]
        }
      ]
    },
    "lines": [
      {
        "segments": {
          "directory": { "enabled": true, "style": "fish" },
          "git": { "enabled": true, "showAheadBehind": true },
          "model": { "enabled": true },
          "context": { "enabled": true, "autocompactBuffer": 0 },
          "block": { "enabled": true, "type": "tokens" },
          "session": { "enabled": true, "type": "tokens" },
          "today": { "enabled": true, "type": "cost" },
          "weekly": { "enabled": true },
          "metrics": {
            "enabled": true,
            "showLastResponseTime": true,
            "showResponseTime": false,
            "showDuration": true,
            "showMessageCount": true
          }
        }
      }
    ]
  },
  "budget": {
    "session": { "warningThreshold": 80 },
    "today": { "amount": "replace:TODAY_BUDGET", "warningThreshold": 80 }
  },
  "modelContextLimits": {
    "sonnet": 1000000,
    "opus": 200000
  }
}
