{
  "calls": [
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": false,
        "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 4,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"id\": \"1795393698495-1\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393698495-2\",\n          \"type\": \"path\",\n          \"style\": \"powerline\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#61AFEF\",\n          \"powerline_symbol\": \"\",\n          \"template\": \"  {{ .Path }} \"\n        }\n      ]\n    },\n    {\n      \"id\": \"1795393698495-3\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393698495-4\",\n          \"type\": \"status\",\n          \"style\": \"plain\",\n          \"foreground\": \"#e0f8ff\",\n          \"background\": \"transparent\",\n          \"template\": \"❯ \",\n          \"options\": {\n            \"always_enabled\": true\n          },\n          \"foreground_templates\": [\n            \"{{ if gt .Code 0 }}#ef5350{{ end }}\"\n          ]\n        }\n      ],\n      \"newline\": true\n    }\n  ]\n}",
        "type": "result"
      },
      "tool": "create_configuration"
    },
    {
      "arguments": {
        "description": {}
      },
      "kind": "wrong_type",
      "param": "description",
      "reply": {
        "cut": false,
        "is_error": false,
        "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 4,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"id\": \"1795393698498-5\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393698498-6\",\n          \"type\": \"path\",\n          \"style\": \"powerline\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#61AFEF\",\n          \"powerline_symbol\": \"\",\n          \"template\": \"  {{ .Path }} \"\n        }\n      ]\n    },\n    {\n      \"id\": \"1795393698498-7\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393698498-8\",\n          \"type\": \"status\",\n          \"style\": \"plain\",\n          \"foreground\": \"#e0f8ff\",\n          \"background\": \"transparent\",\n          \"template\": \"❯ \",\n          \"options\": {\n            \"always_enabled\": true\n          },\n          \"foreground_templates\": [\n            \"{{ if gt .Code 0 }}#ef5350{{ end }}\"\n          ]\n        }\n      ],\n      \"newline\": true\n    }\n  ]\n}",
        "type": "result"
      },
      "tool": "create_configuration"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid JSON configuration",
        "type": "result"
      },
      "tool": "add_segment"
    },
    {
      "arguments": {
        "config": {},
        "segmentType": "didrun"
      },
      "kind": "wrong_type",
      "param": "config",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid JSON configuration",
        "type": "result"
      },
      "tool": "add_segment"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid JSON configuration",
        "type": "result"
      },
      "tool": "modify_configuration"
    },
    {
      "arguments": {
        "config": {},
        "modifications": {}
      },
      "kind": "wrong_type",
      "param": "config",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid JSON configuration",
        "type": "result"
      },
      "tool": "modify_configuration"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "✗ Configuration has errors\n\nErrors:\n  - $: Invalid JSON: \"undefined\" is not valid JSON",
        "type": "result"
      },
      "tool": "validate_configuration"
    },
    {
      "arguments": {
        "config": {}
      },
      "kind": "wrong_type",
      "param": "config",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "✗ Configuration has errors\n\nErrors:\n  - $: Invalid JSON: \"[object Object]\" is not valid JSON",
        "type": "result"
      },
      "tool": "validate_configuration"
    },
    {
      "arguments": {
        "category": {}
      },
      "kind": "wrong_type",
      "param": "category",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid category: [object Object]. Valid categories: system, scm, languages, cloud, cli, web, music, health",
        "type": "result"
      },
      "tool": "list_segments"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Unknown segment type: undefined",
        "type": "result"
      },
      "tool": "get_segment_info"
    },
    {
      "arguments": {
        "segmentType": {}
      },
      "kind": "wrong_type",
      "param": "segmentType",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Unknown segment type: [object Object]",
        "type": "result"
      },
      "tool": "get_segment_info"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": false,
        "text": "To search the Oh My Posh documentation for \"undefined\":\n\n1. Visit: https://ohmyposh.dev/docs/\n2. Use the search functionality on the docs site\n3. Or browse the relevant section:\n\n   - Main docs: https://ohmyposh.dev/docs/\n\nKey topics to explore:\n- Segment types and their options\n- Template variables and functions\n- Color and style configuration\n- Performance optimization (caching)\n\nNote: For segment-specific documentation, use the 'get_ohmyposh_segment_docs' tool with the segment type.",
        "type": "result"
      },
      "tool": "search_ohmyposh_docs"
    },
    {
      "arguments": {
        "query": {}
      },
      "kind": "wrong_type",
      "param": "query",
      "reply": {
        "cut": false,
        "is_error": false,
        "text": "To search the Oh My Posh documentation for \"[object Object]\":\n\n1. Visit: https://ohmyposh.dev/docs/\n2. Use the search functionality on the docs site\n3. Or browse the relevant section:\n\n   - Main docs: https://ohmyposh.dev/docs/\n\nKey topics to explore:\n- Segment types and their options\n- Template variables and functions\n- Color and style configuration\n- Performance optimization (caching)\n\nNote: For segment-specific documentation, use the 'get_ohmyposh_segment_docs' tool with the segment type.",
        "type": "result"
      },
      "tool": "search_ohmyposh_docs"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Unknown segment type: undefined. Use list_segments to see available types.",
        "type": "result"
      },
      "tool": "get_ohmyposh_segment_docs"
    },
    {
      "arguments": {
        "segmentType": {}
      },
      "kind": "wrong_type",
      "param": "segmentType",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Unknown segment type: [object Object]. Use list_segments to see available types.",
        "type": "result"
      },
      "tool": "get_ohmyposh_segment_docs"
    },
    {
      "arguments": {},
      "kind": "unknown_tool",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Unknown tool: didrun_unknown_tool",
        "type": "result"
      },
      "tool": "didrun_unknown_tool"
    }
  ],
  "decoys": {
    "env": [
      "AWS_ACCESS_KEY_ID",
      "AWS_SECRET_ACCESS_KEY"
    ],
    "files": [
      "/home/lab/.ssh/id_ed25519",
      "/home/lab/.aws/credentials"
    ],
    "token": "feff00794dc04d84bc2275ef3321f3ed"
  },
  "end": "completed",
  "era": "initialize",
  "files": {
    "decoys_read": [],
    "observed": true,
    "written": [
      "/home/lab/.npm/_logs/2026-11-23T00_28_18_214Z-debug-0.log"
    ]
  },
  "format": "didrun.use_report.v1",
  "hit_time_limit": false,
  "leaks": [],
  "network": {
    "at_start": [],
    "during_calls": [],
    "observed": true
  },
  "probe_tools_listed": 13,
  "survived": true,
  "tools_listed": 13,
  "works": {
    "agent_model": "codex/gpt-6.1-terra",
    "attempts": [
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "Created the configuration with plain-style path and Git segments. The validator reported **“Configuration is valid.”**\n\nExported YAML:\n\n```yaml\n$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\nversion: 4\nfinal_space: true\nblocks:\n  - type: prompt\n    alignment: left\n    segments:\n      - type: path\n        style: plain\n        foreground: '#ffffff'\n        background: '#61AFEF'\n        template: '  {{ .Path }} '\n      - type: git\n        style: plain\n        foreground: '#ffffff'\n        background: '#98C379'\n        template: '  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '\n```",
        "round": 1,
        "steps": [
          {
            "arguments": {
              "description": "A simple prompt with path and git segments, both in plain style.",
              "segments": [
                "path",
                "git"
              ],
              "style": "plain"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 4,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"id\": \"1795393700998-1\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393700998-2\",\n          \"type\": \"path\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#61AFEF\",\n          \"template\": \"  {{ .Path }} \"\n        },\n        {\n          \"id\": \"1795393700998-3\",\n          \"type\": \"git\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#98C379\",\n          \"template\": \"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "create_configuration"
          },
          {
            "arguments": {
              "config": "{\"$schema\":\"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\"version\":4,\"final_space\":true,\"blocks\":[{\"id\":\"1795393700998-1\",\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"id\":\"1795393700998-2\",\"type\":\"path\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#61AFEF\",\"template\":\"  {{ .Path }} \"},{\"id\":\"1795393700998-3\",\"type\":\"git\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#98C379\",\"template\":\"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"}]}]}"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "✓ Configuration is valid",
              "type": "result"
            },
            "tool": "validate_configuration"
          },
          {
            "arguments": {
              "config": "{\"$schema\":\"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\"version\":4,\"final_space\":true,\"blocks\":[{\"id\":\"1795393700998-1\",\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"id\":\"1795393700998-2\",\"type\":\"path\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#61AFEF\",\"template\":\"  {{ .Path }} \"},{\"id\":\"1795393700998-3\",\"type\":\"git\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#98C379\",\"template\":\"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"}]}]}",
              "format": "yaml"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\nversion: 4\nfinal_space: true\nblocks:\n  - type: prompt\n    alignment: left\n    segments:\n      - type: path\n        style: plain\n        foreground: '#ffffff'\n        background: '#61AFEF'\n        template: '  {{ .Path }} '\n      - type: git\n        style: plain\n        foreground: '#ffffff'\n        background: '#98C379'\n        template: '  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '\n",
              "type": "result"
            },
            "tool": "export_configuration"
          }
        ],
        "task": "t1",
        "turns": 3
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "Created the prompt with plain-style path and Git segments. The validation tool reported **“Configuration is valid.”** Exported YAML:\n\n```yaml\n$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\nversion: 4\nfinal_space: true\nblocks:\n  - type: prompt\n    alignment: left\n    segments:\n      - type: path\n        style: plain\n        foreground: '#ffffff'\n        background: '#61AFEF'\n        template: '  {{ .Path }} '\n      - type: git\n        style: plain\n        foreground: '#ffffff'\n        background: '#98C379'\n        template: '  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '\n```",
        "round": 2,
        "steps": [
          {
            "arguments": {
              "description": "A prompt with path and git segments in plain style",
              "segments": [
                "path",
                "git"
              ],
              "style": "plain"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 4,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"id\": \"1795393718312-1\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393718312-2\",\n          \"type\": \"path\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#61AFEF\",\n          \"template\": \"  {{ .Path }} \"\n        },\n        {\n          \"id\": \"1795393718312-3\",\n          \"type\": \"git\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#98C379\",\n          \"template\": \"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "create_configuration"
          },
          {
            "arguments": {
              "config": "{\"$schema\":\"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\"version\":4,\"final_space\":true,\"blocks\":[{\"id\":\"1795393718312-1\",\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"id\":\"1795393718312-2\",\"type\":\"path\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#61AFEF\",\"template\":\"  {{ .Path }} \"},{\"id\":\"1795393718312-3\",\"type\":\"git\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#98C379\",\"template\":\"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"}]}]}"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "✓ Configuration is valid",
              "type": "result"
            },
            "tool": "validate_configuration"
          },
          {
            "arguments": {
              "config": "{\"$schema\":\"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\"version\":4,\"final_space\":true,\"blocks\":[{\"id\":\"1795393718312-1\",\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"id\":\"1795393718312-2\",\"type\":\"path\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#61AFEF\",\"template\":\"  {{ .Path }} \"},{\"id\":\"1795393718312-3\",\"type\":\"git\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#98C379\",\"template\":\"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"}]}]}",
              "format": "yaml"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\nversion: 4\nfinal_space: true\nblocks:\n  - type: prompt\n    alignment: left\n    segments:\n      - type: path\n        style: plain\n        foreground: '#ffffff'\n        background: '#61AFEF'\n        template: '  {{ .Path }} '\n      - type: git\n        style: plain\n        foreground: '#ffffff'\n        background: '#98C379'\n        template: '  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '\n",
              "type": "result"
            },
            "tool": "export_configuration"
          }
        ],
        "task": "t1",
        "turns": 3
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "Created the configuration with plain-style path and Git segments. **Validation passed**, and the YAML export is:\n\n```yaml\n$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\nversion: 4\nfinal_space: true\nblocks:\n  - type: prompt\n    alignment: left\n    segments:\n      - type: path\n        style: plain\n        foreground: '#ffffff'\n        background: '#61AFEF'\n        template: '  {{ .Path }} '\n      - type: git\n        style: plain\n        foreground: '#ffffff'\n        background: '#98C379'\n        template: '  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '\n```",
        "round": 3,
        "steps": [
          {
            "arguments": {
              "description": "A prompt with path and git segments in plain style",
              "segments": [
                "path",
                "git"
              ],
              "style": "plain"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 4,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"id\": \"1795393736287-1\",\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"id\": \"1795393736287-2\",\n          \"type\": \"path\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#61AFEF\",\n          \"template\": \"  {{ .Path }} \"\n        },\n        {\n          \"id\": \"1795393736287-3\",\n          \"type\": \"git\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#98C379\",\n          \"template\": \"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "create_configuration"
          },
          {
            "arguments": {
              "config": "{\"$schema\":\"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\"version\":4,\"final_space\":true,\"blocks\":[{\"id\":\"1795393736287-1\",\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"id\":\"1795393736287-2\",\"type\":\"path\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#61AFEF\",\"template\":\"  {{ .Path }} \"},{\"id\":\"1795393736287-3\",\"type\":\"git\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#98C379\",\"template\":\"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"}]}]}"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "✓ Configuration is valid",
              "type": "result"
            },
            "tool": "validate_configuration"
          },
          {
            "arguments": {
              "config": "{\"$schema\":\"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\"version\":4,\"final_space\":true,\"blocks\":[{\"id\":\"1795393736287-1\",\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"id\":\"1795393736287-2\",\"type\":\"path\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#61AFEF\",\"template\":\"  {{ .Path }} \"},{\"id\":\"1795393736287-3\",\"type\":\"git\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#98C379\",\"template\":\"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \"}]}]}",
              "format": "yaml"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "$schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\nversion: 4\nfinal_space: true\nblocks:\n  - type: prompt\n    alignment: left\n    segments:\n      - type: path\n        style: plain\n        foreground: '#ffffff'\n        background: '#61AFEF'\n        template: '  {{ .Path }} '\n      - type: git\n        style: plain\n        foreground: '#ffffff'\n        background: '#98C379'\n        template: '  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} '\n",
              "type": "result"
            },
            "tool": "export_configuration"
          }
        ],
        "task": "t1",
        "turns": 3
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "Added a plain Python segment and set `final_space` to `false`. The exported configuration is:\n\n```json\n{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \" \\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}\n```",
        "round": 1,
        "steps": [
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"}]}]}",
              "segmentType": "python",
              "style": "plain"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"version\": 3,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"id\": \"1795393754526-1\",\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "add_segment"
          },
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"},{\"id\":\"1795393754526-1\",\"type\":\"python\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#3776AB\",\"template\":\"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"}]}]}",
              "modifications": {
                "final_space": false
              }
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"id\": \"1795393754526-1\",\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "modify_configuration"
          },
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":false,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"},{\"id\":\"1795393754526-1\",\"type\":\"python\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#3776AB\",\"template\":\"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"}]}]}",
              "format": "json"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \" \\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "export_configuration"
          }
        ],
        "task": "t2",
        "turns": 4
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "Added a plain Python segment and set `final_space` to `false`. The resulting configuration is:\n\n```json\n{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \" \\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}\n```",
        "round": 2,
        "steps": [
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"}]}]}",
              "segmentType": "python",
              "style": "plain"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"version\": 3,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"id\": \"1795393769775-1\",\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "add_segment"
          },
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"},{\"id\":\"1795393769775-1\",\"type\":\"python\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#3776AB\",\"template\":\"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"}]}]}",
              "modifications": {
                "final_space": false
              }
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"id\": \"1795393769775-1\",\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "modify_configuration"
          },
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":false,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"},{\"id\":\"1795393769775-1\",\"type\":\"python\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#3776AB\",\"template\":\"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"}]}]}",
              "format": "json"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \" \\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "export_configuration"
          }
        ],
        "task": "t2",
        "turns": 4
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "Added a plain Python segment and set `final_space` to `false`. The exported configuration is:\n\n```json\n{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \" \\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}\n```",
        "round": 3,
        "steps": [
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"}]}]}",
              "segmentType": "python",
              "style": "plain"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"version\": 3,\n  \"final_space\": true,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"id\": \"1795393784976-1\",\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "add_segment"
          },
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"},{\"id\":\"1795393784976-1\",\"type\":\"python\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#3776AB\",\"template\":\"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"}]}]}",
              "modifications": {
                "final_space": false
              }
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"id\": \"1795393784976-1\",\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "modify_configuration"
          },
          {
            "arguments": {
              "config": "{\"version\":3,\"final_space\":false,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"},{\"id\":\"1795393784976-1\",\"type\":\"python\",\"style\":\"plain\",\"foreground\":\"#ffffff\",\"background\":\"#3776AB\",\"template\":\"  {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"}]}]}",
              "format": "json"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"$schema\": \"https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\",\n  \"version\": 3,\n  \"final_space\": false,\n  \"blocks\": [\n    {\n      \"type\": \"prompt\",\n      \"alignment\": \"left\",\n      \"segments\": [\n        {\n          \"type\": \"path\",\n          \"style\": \"plain\"\n        },\n        {\n          \"type\": \"python\",\n          \"style\": \"plain\",\n          \"foreground\": \"#ffffff\",\n          \"background\": \"#3776AB\",\n          \"template\": \" \\ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} \"\n        }\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "export_configuration"
          }
        ],
        "task": "t2",
        "turns": 4
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "## Available source-control segments\n\n| Segment type | Displays |\n|---|---|\n| `dvc` | Data Version Control repository changes |\n| `fossil` | Fossil branch and status |\n| `git` | Git branch, status, and upstream synchronization |\n| `gitversion` | Semantic version determined by GitVersion |\n| `jujutsu` | Jujutsu change ID and status |\n| `mercurial` | Mercurial branch and status |\n| `plastic` | Plastic SCM selector and workspace status |\n| `sapling` | Sapling bookmark and commit hash |\n| `svn` | Subversion branch and revision |\n\n## Git segment details\n\nThe `git` segment displays repository information, including the current branch, working-tree and staging changes, and upstream synchronization.\n\n**Defaults**\n- Foreground: `#ffffff`; background: `#98C379`\n- Icon: `vcs-git-merge`\n- Preview: `main ✓`\n- Cache: `2s`, using the `session` strategy\n\n**Default template:**\n\n```text\n  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \n```\n\n### Template properties\n\n| Property | Type | Description |\n|---|---|---|\n| `.RepoName` | string | Repository folder name |\n| `.HEAD` | string | Current HEAD context |\n| `.Working.Changed` | boolean | Whether the worktree has changes |\n| `.Staging.Changed` | boolean | Whether the staging area has changes |\n| `.BranchStatus` | string | Current branch context |\n\nThe default template also uses `.Working.String` and `.Staging.String` to display change details.\n\n### Options\n\n| Option | Type | Default | Purpose |\n|---|---|---|---|\n| `fetch_status` | boolean | `true` | Fetch local changes |\n| `fetch_upstream_icon` | boolean | `false` | Fetch the upstream icon |\n| `fetch_bare_info` | boolean | `false` | Fetch bare-repository information |\n| `fetch_worktree_count` | boolean | `false` | Fetch worktree count |\n| `fetch_push_status` | boolean | `false` | Fetch push-remote ahead/behind information; requires `fetch_status` |\n| `fetch_user` | boolean | `false` | Fetch the repository’s configured user |\n| `untracked_modes` | object | `{}` | Map repository paths to untracked-file modes |\n| `ignore_submodules` | object | `{}` | Map repository paths to submodule-ignore settings |\n| `ignore_status` | array | `[]` | Repositories for which status should not be fetched |\n| `native_fallback` | boolean | `false` | Use native Git when libgit2 fails |\n| `source` | enum | `cli` | Git information source: `cli` or `pwsh` |\n| `branch_max_length` | number | `0` | Maximum branch-name length |\n| `branch_template` | string | `\"\"` | Template for formatting the branch name |\n| `mapped_branches` | object | `{}` | Custom glyphs for specific branches |\n| `status_formats` | object | `{}` | Override status-item formatting |\n| `upstream_icons` | object | `{}` | Map remote URL patterns to icons |\n| `disable_with_jj` | boolean | `false` | Disable Git in a Jujutsu-colocated repository |\n\n**Icon options:** `branch_gone_icon` defaults to `≢`, `branch_identical_icon` to `≡`, `branch_ahead_icon` to `↑`, `branch_behind_icon` to `↓`, and `tag_icon` to `笠`.\n\nThe following icon options default to an empty string: `branch_icon`, `cherry_pick_icon`, `commit_icon`, `merge_icon`, `no_commits_icon`, `rebase_icon`, `revert_icon`, `github_icon`, `gitlab_icon`, `bitbucket_icon`, `azure_devops_icon`, `codecommit_icon`, `codeberg_icon`, and `git_icon`.",
        "round": 1,
        "steps": [
          {
            "arguments": {
              "category": "scm"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "[\n  {\n    \"type\": \"dvc\",\n    \"name\": \"DVC\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Data Version Control repository changes.\"\n  },\n  {\n    \"type\": \"fossil\",\n    \"name\": \"Fossil\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Fossil repository information, including the current branch and status.\"\n  },\n  {\n    \"type\": \"git\",\n    \"name\": \"Git\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Git repository information, including branch name, status, and upstream synchronization.\"\n  },\n  {\n    \"type\": \"gitversion\",\n    \"name\": \"GitVersion\",\n    \"category\": \"scm\",\n    \"description\": \"Displays the semantic version of the current Git repository as determined by GitVersion.\"\n  },\n  {\n    \"type\": \"jujutsu\",\n    \"name\": \"Jujutsu\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Jujutsu (jj) repository information, including the current change ID and status.\"\n  },\n  {\n    \"type\": \"mercurial\",\n    \"name\": \"Mercurial\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Mercurial (hg) repository information, including the current branch and status.\"\n  },\n  {\n    \"type\": \"plastic\",\n    \"name\": \"Plastic SCM\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Plastic SCM repository information, including the current selector and workspace status.\"\n  },\n  {\n    \"type\": \"sapling\",\n    \"name\": \"Sapling\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Sapling repository information, including the current bookmark and commit hash.\"\n  },\n  {\n    \"type\": \"svn\",\n    \"name\": \"SVN\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Subversion (SVN) repository information, including the current branch and revision.\"\n  }\n]",
              "type": "result"
            },
            "tool": "list_segments"
          },
          {
            "arguments": {
              "segmentType": "git"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"type\": \"git\",\n  \"name\": \"Git\",\n  \"description\": \"Displays Git repository information, including branch name, status, and upstream synchronization.\",\n  \"icon\": \"vcs-git-merge\",\n  \"defaultTemplate\": \"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \",\n  \"defaultForeground\": \"#ffffff\",\n  \"defaultBackground\": \"#98C379\",\n  \"previewText\": \"main ✓\",\n  \"properties\": [\n    {\n      \"name\": \".RepoName\",\n      \"type\": \"string\",\n      \"description\": \"the repo folder name\"\n    },\n    {\n      \"name\": \".HEAD\",\n      \"type\": \"string\",\n      \"description\": \"the current HEAD context\"\n    },\n    {\n      \"name\": \".Working.Changed\",\n      \"type\": \"boolean\",\n      \"description\": \"if the worktree has changes\"\n    },\n    {\n      \"name\": \".Staging.Changed\",\n      \"type\": \"boolean\",\n      \"description\": \"if the staging area has changes\"\n    },\n    {\n      \"name\": \".BranchStatus\",\n      \"type\": \"string\",\n      \"description\": \"the current branch context\"\n    }\n  ],\n  \"options\": [\n    {\n      \"name\": \"fetch_status\",\n      \"type\": \"boolean\",\n      \"default\": true,\n      \"description\": \"Fetch the local changes\"\n    },\n    {\n      \"name\": \"fetch_upstream_icon\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch upstream icon\"\n    },\n    {\n      \"name\": \"fetch_bare_info\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch bare repository info\"\n    },\n    {\n      \"name\": \"fetch_worktree_count\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch worktree count\"\n    },\n    {\n      \"name\": \"untracked_modes\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of repo paths to untracked file modes\"\n    },\n    {\n      \"name\": \"ignore_submodules\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of repo paths to ignore submodules settings\"\n    },\n    {\n      \"name\": \"native_fallback\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Use native git when libgit2 fails\"\n    },\n    {\n      \"name\": \"branch_max_length\",\n      \"type\": \"number\",\n      \"default\": 0,\n      \"description\": \"Maximum length of branch name\"\n    },\n    {\n      \"name\": \"branch_gone_icon\",\n      \"type\": \"string\",\n      \"default\": \"≢\",\n      \"description\": \"Icon for gone upstream branch\"\n    },\n    {\n      \"name\": \"branch_identical_icon\",\n      \"type\": \"string\",\n      \"default\": \"≡\",\n      \"description\": \"Icon when local and remote are identical\"\n    },\n    {\n      \"name\": \"branch_ahead_icon\",\n      \"type\": \"string\",\n      \"default\": \"↑\",\n      \"description\": \"Icon for commits ahead of remote\"\n    },\n    {\n      \"name\": \"branch_behind_icon\",\n      \"type\": \"string\",\n      \"default\": \"↓\",\n      \"description\": \"Icon for commits behind remote\"\n    },\n    {\n      \"name\": \"cherry_pick_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for cherry-pick state\"\n    },\n    {\n      \"name\": \"commit_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for commit reference\"\n    },\n    {\n      \"name\": \"merge_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for merge state\"\n    },\n    {\n      \"name\": \"no_commits_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when repository has no commits\"\n    },\n    {\n      \"name\": \"rebase_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for rebase state\"\n    },\n    {\n      \"name\": \"revert_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for revert state\"\n    },\n    {\n      \"name\": \"tag_icon\",\n      \"type\": \"string\",\n      \"default\": \"笠\",\n      \"description\": \"Icon for tag reference\"\n    },\n    {\n      \"name\": \"fetch_push_status\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch push-remote ahead/behind information (requires fetch_status)\"\n    },\n    {\n      \"name\": \"fetch_user\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch the current configured user for the repository\"\n    },\n    {\n      \"name\": \"ignore_status\",\n      \"type\": \"array\",\n      \"default\": [],\n      \"description\": \"Do not fetch status for these repos\"\n    },\n    {\n      \"name\": \"source\",\n      \"type\": \"enum\",\n      \"default\": \"cli\",\n      \"description\": \"How to fetch git information\",\n      \"values\": [\n        \"cli\",\n        \"pwsh\"\n      ]\n    },\n    {\n      \"name\": \"branch_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon to use in front of git branch name\"\n    },\n    {\n      \"name\": \"github_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is GitHub\"\n    },\n    {\n      \"name\": \"gitlab_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is GitLab\"\n    },\n    {\n      \"name\": \"bitbucket_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Bitbucket\"\n    },\n    {\n      \"name\": \"azure_devops_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Azure DevOps\"\n    },\n    {\n      \"name\": \"codecommit_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is AWS CodeCommit\"\n    },\n    {\n      \"name\": \"codeberg_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Codeberg\"\n    },\n    {\n      \"name\": \"git_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is unknown\"\n    },\n    {\n      \"name\": \"mapped_branches\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Custom glyphs for specific branches\"\n    },\n    {\n      \"name\": \"branch_template\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Template to format branch name\"\n    },\n    {\n      \"name\": \"status_formats\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Override how status items are displayed\"\n    },\n    {\n      \"name\": \"upstream_icons\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of remote URL patterns to icons\"\n    },\n    {\n      \"name\": \"disable_with_jj\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Disable in Jujutsu collocated repository\"\n    }\n  ],\n  \"defaultCache\": {\n    \"duration\": \"2s\",\n    \"strategy\": \"session\"\n  },\n  \"category\": \"scm\"\n}",
              "type": "result"
            },
            "tool": "get_segment_info"
          }
        ],
        "task": "t3",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "## Available source-control segments\n\n| Type | Description |\n|---|---|\n| `dvc` | Data Version Control repository changes |\n| `fossil` | Fossil branch and repository status |\n| `git` | Git branch, status, and upstream synchronization |\n| `gitversion` | Semantic version determined by GitVersion |\n| `jujutsu` | Jujutsu change ID and status |\n| `mercurial` | Mercurial branch and status |\n| `plastic` | Plastic SCM selector and workspace status |\n| `sapling` | Sapling bookmark and commit hash |\n| `svn` | Subversion branch and revision |\n\n## Git segment details\n\nThe `git` segment displays repository information, including the current branch, local changes, and upstream synchronization.\n\n**Defaults**\n- Foreground: `#ffffff`; background: `#98C379`\n- Icon: `vcs-git-merge`\n- Preview text: `main ✓`\n- Cache: 2 seconds, session strategy\n\n**Default template:**\n\n```text\n  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \n```\n\n**Listed template properties**\n\n| Property | Type | Meaning |\n|---|---|---|\n| `.RepoName` | string | Repository folder name |\n| `.HEAD` | string | Current HEAD context |\n| `.Working.Changed` | boolean | Whether the worktree has changes |\n| `.Staging.Changed` | boolean | Whether the staging area has changes |\n| `.BranchStatus` | string | Current branch context |\n\n**Options**\n\n| Option | Type | Default | Purpose |\n|---|---|---|---|\n| `fetch_status` | boolean | `true` | Fetch local changes |\n| `fetch_upstream_icon` | boolean | `false` | Fetch upstream icon |\n| `fetch_bare_info` | boolean | `false` | Fetch bare repository information |\n| `fetch_worktree_count` | boolean | `false` | Fetch worktree count |\n| `fetch_push_status` | boolean | `false` | Fetch push-remote ahead/behind information; requires `fetch_status` |\n| `fetch_user` | boolean | `false` | Fetch the repository’s configured user |\n| `untracked_modes` | object | `{}` | Map repository paths to untracked-file modes |\n| `ignore_submodules` | object | `{}` | Map repository paths to submodule-ignore settings |\n| `ignore_status` | array | `[]` | Repositories for which not to fetch status |\n| `native_fallback` | boolean | `false` | Use native Git when libgit2 fails |\n| `source` | enum | `cli` | Git information source: `cli` or `pwsh` |\n| `branch_max_length` | number | `0` | Maximum branch-name length |\n| `branch_template` | string | `\"\"` | Template for formatting the branch name |\n| `mapped_branches` | object | `{}` | Custom glyphs for specific branches |\n| `status_formats` | object | `{}` | Overrides for status-item display |\n| `upstream_icons` | object | `{}` | Map remote URL patterns to icons |\n| `disable_with_jj` | boolean | `false` | Disable in a collocated Jujutsu repository |\n\n**Icon options**\n\n| Option | Default | Used for |\n|---|---|---|\n| `branch_gone_icon` | `≢` | Gone upstream branch |\n| `branch_identical_icon` | `≡` | Identical local and remote branches |\n| `branch_ahead_icon` | `↑` | Commits ahead of remote |\n| `branch_behind_icon` | `↓` | Commits behind remote |\n| `tag_icon` | `笠` | Tag reference |\n| `cherry_pick_icon`, `commit_icon`, `merge_icon`, `no_commits_icon`, `rebase_icon`, `revert_icon` | `\"\"` | Corresponding Git state or reference |\n| `branch_icon` | `\"\"` | Prefix for the branch name |\n| `github_icon`, `gitlab_icon`, `bitbucket_icon`, `azure_devops_icon`, `codecommit_icon`, `codeberg_icon` | `\"\"` | Corresponding upstream provider |\n| `git_icon` | `\"\"` | Unknown upstream |",
        "round": 2,
        "steps": [
          {
            "arguments": {
              "category": "scm"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "[\n  {\n    \"type\": \"dvc\",\n    \"name\": \"DVC\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Data Version Control repository changes.\"\n  },\n  {\n    \"type\": \"fossil\",\n    \"name\": \"Fossil\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Fossil repository information, including the current branch and status.\"\n  },\n  {\n    \"type\": \"git\",\n    \"name\": \"Git\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Git repository information, including branch name, status, and upstream synchronization.\"\n  },\n  {\n    \"type\": \"gitversion\",\n    \"name\": \"GitVersion\",\n    \"category\": \"scm\",\n    \"description\": \"Displays the semantic version of the current Git repository as determined by GitVersion.\"\n  },\n  {\n    \"type\": \"jujutsu\",\n    \"name\": \"Jujutsu\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Jujutsu (jj) repository information, including the current change ID and status.\"\n  },\n  {\n    \"type\": \"mercurial\",\n    \"name\": \"Mercurial\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Mercurial (hg) repository information, including the current branch and status.\"\n  },\n  {\n    \"type\": \"plastic\",\n    \"name\": \"Plastic SCM\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Plastic SCM repository information, including the current selector and workspace status.\"\n  },\n  {\n    \"type\": \"sapling\",\n    \"name\": \"Sapling\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Sapling repository information, including the current bookmark and commit hash.\"\n  },\n  {\n    \"type\": \"svn\",\n    \"name\": \"SVN\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Subversion (SVN) repository information, including the current branch and revision.\"\n  }\n]",
              "type": "result"
            },
            "tool": "list_segments"
          },
          {
            "arguments": {
              "segmentType": "git"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"type\": \"git\",\n  \"name\": \"Git\",\n  \"description\": \"Displays Git repository information, including branch name, status, and upstream synchronization.\",\n  \"icon\": \"vcs-git-merge\",\n  \"defaultTemplate\": \"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \",\n  \"defaultForeground\": \"#ffffff\",\n  \"defaultBackground\": \"#98C379\",\n  \"previewText\": \"main ✓\",\n  \"properties\": [\n    {\n      \"name\": \".RepoName\",\n      \"type\": \"string\",\n      \"description\": \"the repo folder name\"\n    },\n    {\n      \"name\": \".HEAD\",\n      \"type\": \"string\",\n      \"description\": \"the current HEAD context\"\n    },\n    {\n      \"name\": \".Working.Changed\",\n      \"type\": \"boolean\",\n      \"description\": \"if the worktree has changes\"\n    },\n    {\n      \"name\": \".Staging.Changed\",\n      \"type\": \"boolean\",\n      \"description\": \"if the staging area has changes\"\n    },\n    {\n      \"name\": \".BranchStatus\",\n      \"type\": \"string\",\n      \"description\": \"the current branch context\"\n    }\n  ],\n  \"options\": [\n    {\n      \"name\": \"fetch_status\",\n      \"type\": \"boolean\",\n      \"default\": true,\n      \"description\": \"Fetch the local changes\"\n    },\n    {\n      \"name\": \"fetch_upstream_icon\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch upstream icon\"\n    },\n    {\n      \"name\": \"fetch_bare_info\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch bare repository info\"\n    },\n    {\n      \"name\": \"fetch_worktree_count\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch worktree count\"\n    },\n    {\n      \"name\": \"untracked_modes\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of repo paths to untracked file modes\"\n    },\n    {\n      \"name\": \"ignore_submodules\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of repo paths to ignore submodules settings\"\n    },\n    {\n      \"name\": \"native_fallback\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Use native git when libgit2 fails\"\n    },\n    {\n      \"name\": \"branch_max_length\",\n      \"type\": \"number\",\n      \"default\": 0,\n      \"description\": \"Maximum length of branch name\"\n    },\n    {\n      \"name\": \"branch_gone_icon\",\n      \"type\": \"string\",\n      \"default\": \"≢\",\n      \"description\": \"Icon for gone upstream branch\"\n    },\n    {\n      \"name\": \"branch_identical_icon\",\n      \"type\": \"string\",\n      \"default\": \"≡\",\n      \"description\": \"Icon when local and remote are identical\"\n    },\n    {\n      \"name\": \"branch_ahead_icon\",\n      \"type\": \"string\",\n      \"default\": \"↑\",\n      \"description\": \"Icon for commits ahead of remote\"\n    },\n    {\n      \"name\": \"branch_behind_icon\",\n      \"type\": \"string\",\n      \"default\": \"↓\",\n      \"description\": \"Icon for commits behind remote\"\n    },\n    {\n      \"name\": \"cherry_pick_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for cherry-pick state\"\n    },\n    {\n      \"name\": \"commit_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for commit reference\"\n    },\n    {\n      \"name\": \"merge_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for merge state\"\n    },\n    {\n      \"name\": \"no_commits_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when repository has no commits\"\n    },\n    {\n      \"name\": \"rebase_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for rebase state\"\n    },\n    {\n      \"name\": \"revert_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for revert state\"\n    },\n    {\n      \"name\": \"tag_icon\",\n      \"type\": \"string\",\n      \"default\": \"笠\",\n      \"description\": \"Icon for tag reference\"\n    },\n    {\n      \"name\": \"fetch_push_status\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch push-remote ahead/behind information (requires fetch_status)\"\n    },\n    {\n      \"name\": \"fetch_user\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch the current configured user for the repository\"\n    },\n    {\n      \"name\": \"ignore_status\",\n      \"type\": \"array\",\n      \"default\": [],\n      \"description\": \"Do not fetch status for these repos\"\n    },\n    {\n      \"name\": \"source\",\n      \"type\": \"enum\",\n      \"default\": \"cli\",\n      \"description\": \"How to fetch git information\",\n      \"values\": [\n        \"cli\",\n        \"pwsh\"\n      ]\n    },\n    {\n      \"name\": \"branch_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon to use in front of git branch name\"\n    },\n    {\n      \"name\": \"github_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is GitHub\"\n    },\n    {\n      \"name\": \"gitlab_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is GitLab\"\n    },\n    {\n      \"name\": \"bitbucket_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Bitbucket\"\n    },\n    {\n      \"name\": \"azure_devops_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Azure DevOps\"\n    },\n    {\n      \"name\": \"codecommit_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is AWS CodeCommit\"\n    },\n    {\n      \"name\": \"codeberg_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Codeberg\"\n    },\n    {\n      \"name\": \"git_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is unknown\"\n    },\n    {\n      \"name\": \"mapped_branches\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Custom glyphs for specific branches\"\n    },\n    {\n      \"name\": \"branch_template\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Template to format branch name\"\n    },\n    {\n      \"name\": \"status_formats\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Override how status items are displayed\"\n    },\n    {\n      \"name\": \"upstream_icons\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of remote URL patterns to icons\"\n    },\n    {\n      \"name\": \"disable_with_jj\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Disable in Jujutsu collocated repository\"\n    }\n  ],\n  \"defaultCache\": {\n    \"duration\": \"2s\",\n    \"strategy\": \"session\"\n  },\n  \"category\": \"scm\"\n}",
              "type": "result"
            },
            "tool": "get_segment_info"
          }
        ],
        "task": "t3",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "## Available source-control segments\n\n| Type | Description |\n|---|---|\n| `dvc` | Data Version Control repository changes |\n| `fossil` | Fossil branch and repository status |\n| `git` | Git branch, status, and upstream synchronization |\n| `gitversion` | Semantic version determined by GitVersion |\n| `jujutsu` | Jujutsu change ID and repository status |\n| `mercurial` | Mercurial branch and repository status |\n| `plastic` | Plastic SCM selector and workspace status |\n| `sapling` | Sapling bookmark and commit hash |\n| `svn` | Subversion branch and revision |\n\n## Git segment details\n\nThe `git` segment displays the current HEAD, branch status, and working-tree and staging changes.\n\n- **Default foreground:** `#ffffff`\n- **Default background:** `#98C379`\n- **Default cache:** session strategy, `2s` duration\n- **Preview:** `main ✓`\n\n**Default template:**\n\n```text\n  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \n```\n\n### Reported template properties\n\n| Property | Type | Description |\n|---|---|---|\n| `.RepoName` | string | Repository folder name |\n| `.HEAD` | string | Current HEAD context |\n| `.Working.Changed` | boolean | Whether the worktree has changes |\n| `.Staging.Changed` | boolean | Whether the staging area has changes |\n| `.BranchStatus` | string | Current branch context |\n\nThe default template also uses `.Working.String` and `.Staging.String` to display change details.\n\n### Options\n\n| Option | Type | Default | Purpose |\n|---|---|---|---|\n| `fetch_status` | boolean | `true` | Fetch local changes |\n| `fetch_upstream_icon` | boolean | `false` | Fetch the upstream icon |\n| `fetch_bare_info` | boolean | `false` | Fetch bare repository information |\n| `fetch_worktree_count` | boolean | `false` | Fetch worktree count |\n| `fetch_push_status` | boolean | `false` | Fetch push-remote ahead/behind information; requires `fetch_status` |\n| `fetch_user` | boolean | `false` | Fetch the repository’s configured user |\n| `untracked_modes` | object | `{}` | Map repository paths to untracked-file modes |\n| `ignore_submodules` | object | `{}` | Map repository paths to ignore-submodule settings |\n| `ignore_status` | array | `[]` | Repositories for which status is not fetched |\n| `native_fallback` | boolean | `false` | Use native Git when libgit2 fails |\n| `source` | enum | `cli` | Fetch method: `cli` or `pwsh` |\n| `branch_max_length` | number | `0` | Maximum branch-name length |\n| `branch_template` | string | `\"\"` | Template for formatting the branch name |\n| `mapped_branches` | object | `{}` | Custom glyphs for specific branches |\n| `status_formats` | object | `{}` | Overrides for status-item display |\n| `upstream_icons` | object | `{}` | Map remote URL patterns to icons |\n| `disable_with_jj` | boolean | `false` | Disable in a collocated Jujutsu repository |\n\n**Icon options:** `branch_gone_icon` defaults to `≢`, `branch_identical_icon` to `≡`, `branch_ahead_icon` to `↑`, `branch_behind_icon` to `↓`, and `tag_icon` to `笠`. The following default to an empty string: `cherry_pick_icon`, `commit_icon`, `merge_icon`, `no_commits_icon`, `rebase_icon`, `revert_icon`, `branch_icon`, `github_icon`, `gitlab_icon`, `bitbucket_icon`, `azure_devops_icon`, `codecommit_icon`, `codeberg_icon`, and `git_icon`.",
        "round": 3,
        "steps": [
          {
            "arguments": {
              "category": "scm"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "[\n  {\n    \"type\": \"dvc\",\n    \"name\": \"DVC\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Data Version Control repository changes.\"\n  },\n  {\n    \"type\": \"fossil\",\n    \"name\": \"Fossil\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Fossil repository information, including the current branch and status.\"\n  },\n  {\n    \"type\": \"git\",\n    \"name\": \"Git\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Git repository information, including branch name, status, and upstream synchronization.\"\n  },\n  {\n    \"type\": \"gitversion\",\n    \"name\": \"GitVersion\",\n    \"category\": \"scm\",\n    \"description\": \"Displays the semantic version of the current Git repository as determined by GitVersion.\"\n  },\n  {\n    \"type\": \"jujutsu\",\n    \"name\": \"Jujutsu\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Jujutsu (jj) repository information, including the current change ID and status.\"\n  },\n  {\n    \"type\": \"mercurial\",\n    \"name\": \"Mercurial\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Mercurial (hg) repository information, including the current branch and status.\"\n  },\n  {\n    \"type\": \"plastic\",\n    \"name\": \"Plastic SCM\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Plastic SCM repository information, including the current selector and workspace status.\"\n  },\n  {\n    \"type\": \"sapling\",\n    \"name\": \"Sapling\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Sapling repository information, including the current bookmark and commit hash.\"\n  },\n  {\n    \"type\": \"svn\",\n    \"name\": \"SVN\",\n    \"category\": \"scm\",\n    \"description\": \"Displays Subversion (SVN) repository information, including the current branch and revision.\"\n  }\n]",
              "type": "result"
            },
            "tool": "list_segments"
          },
          {
            "arguments": {
              "segmentType": "git"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"type\": \"git\",\n  \"name\": \"Git\",\n  \"description\": \"Displays Git repository information, including branch name, status, and upstream synchronization.\",\n  \"icon\": \"vcs-git-merge\",\n  \"defaultTemplate\": \"  {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }} \",\n  \"defaultForeground\": \"#ffffff\",\n  \"defaultBackground\": \"#98C379\",\n  \"previewText\": \"main ✓\",\n  \"properties\": [\n    {\n      \"name\": \".RepoName\",\n      \"type\": \"string\",\n      \"description\": \"the repo folder name\"\n    },\n    {\n      \"name\": \".HEAD\",\n      \"type\": \"string\",\n      \"description\": \"the current HEAD context\"\n    },\n    {\n      \"name\": \".Working.Changed\",\n      \"type\": \"boolean\",\n      \"description\": \"if the worktree has changes\"\n    },\n    {\n      \"name\": \".Staging.Changed\",\n      \"type\": \"boolean\",\n      \"description\": \"if the staging area has changes\"\n    },\n    {\n      \"name\": \".BranchStatus\",\n      \"type\": \"string\",\n      \"description\": \"the current branch context\"\n    }\n  ],\n  \"options\": [\n    {\n      \"name\": \"fetch_status\",\n      \"type\": \"boolean\",\n      \"default\": true,\n      \"description\": \"Fetch the local changes\"\n    },\n    {\n      \"name\": \"fetch_upstream_icon\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch upstream icon\"\n    },\n    {\n      \"name\": \"fetch_bare_info\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch bare repository info\"\n    },\n    {\n      \"name\": \"fetch_worktree_count\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch worktree count\"\n    },\n    {\n      \"name\": \"untracked_modes\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of repo paths to untracked file modes\"\n    },\n    {\n      \"name\": \"ignore_submodules\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of repo paths to ignore submodules settings\"\n    },\n    {\n      \"name\": \"native_fallback\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Use native git when libgit2 fails\"\n    },\n    {\n      \"name\": \"branch_max_length\",\n      \"type\": \"number\",\n      \"default\": 0,\n      \"description\": \"Maximum length of branch name\"\n    },\n    {\n      \"name\": \"branch_gone_icon\",\n      \"type\": \"string\",\n      \"default\": \"≢\",\n      \"description\": \"Icon for gone upstream branch\"\n    },\n    {\n      \"name\": \"branch_identical_icon\",\n      \"type\": \"string\",\n      \"default\": \"≡\",\n      \"description\": \"Icon when local and remote are identical\"\n    },\n    {\n      \"name\": \"branch_ahead_icon\",\n      \"type\": \"string\",\n      \"default\": \"↑\",\n      \"description\": \"Icon for commits ahead of remote\"\n    },\n    {\n      \"name\": \"branch_behind_icon\",\n      \"type\": \"string\",\n      \"default\": \"↓\",\n      \"description\": \"Icon for commits behind remote\"\n    },\n    {\n      \"name\": \"cherry_pick_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for cherry-pick state\"\n    },\n    {\n      \"name\": \"commit_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for commit reference\"\n    },\n    {\n      \"name\": \"merge_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for merge state\"\n    },\n    {\n      \"name\": \"no_commits_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when repository has no commits\"\n    },\n    {\n      \"name\": \"rebase_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for rebase state\"\n    },\n    {\n      \"name\": \"revert_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon for revert state\"\n    },\n    {\n      \"name\": \"tag_icon\",\n      \"type\": \"string\",\n      \"default\": \"笠\",\n      \"description\": \"Icon for tag reference\"\n    },\n    {\n      \"name\": \"fetch_push_status\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch push-remote ahead/behind information (requires fetch_status)\"\n    },\n    {\n      \"name\": \"fetch_user\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Fetch the current configured user for the repository\"\n    },\n    {\n      \"name\": \"ignore_status\",\n      \"type\": \"array\",\n      \"default\": [],\n      \"description\": \"Do not fetch status for these repos\"\n    },\n    {\n      \"name\": \"source\",\n      \"type\": \"enum\",\n      \"default\": \"cli\",\n      \"description\": \"How to fetch git information\",\n      \"values\": [\n        \"cli\",\n        \"pwsh\"\n      ]\n    },\n    {\n      \"name\": \"branch_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon to use in front of git branch name\"\n    },\n    {\n      \"name\": \"github_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is GitHub\"\n    },\n    {\n      \"name\": \"gitlab_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is GitLab\"\n    },\n    {\n      \"name\": \"bitbucket_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Bitbucket\"\n    },\n    {\n      \"name\": \"azure_devops_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Azure DevOps\"\n    },\n    {\n      \"name\": \"codecommit_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is AWS CodeCommit\"\n    },\n    {\n      \"name\": \"codeberg_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is Codeberg\"\n    },\n    {\n      \"name\": \"git_icon\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Icon when upstream is unknown\"\n    },\n    {\n      \"name\": \"mapped_branches\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Custom glyphs for specific branches\"\n    },\n    {\n      \"name\": \"branch_template\",\n      \"type\": \"string\",\n      \"default\": \"\",\n      \"description\": \"Template to format branch name\"\n    },\n    {\n      \"name\": \"status_formats\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Override how status items are displayed\"\n    },\n    {\n      \"name\": \"upstream_icons\",\n      \"type\": \"object\",\n      \"default\": {},\n      \"description\": \"Map of remote URL patterns to icons\"\n    },\n    {\n      \"name\": \"disable_with_jj\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"description\": \"Disable in Jujutsu collocated repository\"\n    }\n  ],\n  \"defaultCache\": {\n    \"duration\": \"2s\",\n    \"strategy\": \"session\"\n  },\n  \"category\": \"scm\"\n}",
              "type": "result"
            },
            "tool": "get_segment_info"
          }
        ],
        "task": "t3",
        "turns": 2
      }
    ],
    "none_because": null,
    "tasks": [
      {
        "done_when": "The transcript shows the generated configuration with path and git segments, the validation result, and the YAML export.",
        "id": "t1",
        "task": "Create an Oh My Posh prompt configuration with path and git segments in plain style, validate it, and export it as YAML."
      },
      {
        "done_when": "The tool replies show a configuration containing both path and python segments and final_space set to false.",
        "id": "t2",
        "task": "Using this configuration: {\"version\":3,\"final_space\":true,\"blocks\":[{\"type\":\"prompt\",\"alignment\":\"left\",\"segments\":[{\"type\":\"path\",\"style\":\"plain\"}]}]}, add a plain python segment, set final_space to false, and show the resulting configuration."
      },
      {
        "done_when": "The transcript shows the SCM segment listing and the detailed git segment information.",
        "id": "t3",
        "task": "List the available source-control segments and show detailed information about the git segment."
      }
    ],
    "tasks_file_sha256": "1605866b1ac9852dfc390e535207bb25de5e829a5c2eb25b25c983b5b04220ba",
    "writer": "codex/gpt-6.1-terra"
  }
}
