Files
kit/btca.config.jsonc
T
Ed Zynda 6ac8d3983a add SendMessage to extension Context and fix all golangci-lint issues
SendMessage lets extensions inject messages into the conversation and
trigger new agent turns, enabling async patterns like background
subagent execution. It delegates to app.Run() which handles queueing.

CommandDef.Execute now receives Context so commands can access
SendMessage, Print*, and session metadata. The UI layer wraps the
call via runner.GetContext() at the boundary.

Also fixes all 20+ golangci-lint issues across the codebase:
errcheck, modernize (min/max/slices.Contains/SplitSeq/range-over-int),
staticcheck (error string casing), and unused code removal.
2026-02-27 00:41:48 +03:00

72 lines
1.6 KiB
JSON

{
"$schema": "https://btca.dev/btca.schema.json",
"resources": [
{
"type": "git",
"name": "bubbletea",
"url": "https://github.com/charmbracelet/bubbletea",
"branch": "main"
},
{
"type": "git",
"name": "lipgloss",
"url": "https://github.com/charmbracelet/lipgloss",
"branch": "main"
},
{
"type": "git",
"name": "bubbles",
"url": "https://github.com/charmbracelet/bubbles",
"branch": "main"
},
{
"type": "git",
"name": "glamour",
"url": "https://github.com/charmbracelet/glamour",
"branch": "v2-exp"
},
{
"type": "git",
"name": "fantasy",
"url": "https://github.com/charmbracelet/fantasy",
"branch": "main"
},
{
"type": "git",
"name": "catwalk",
"url": "https://github.com/charmbracelet/catwalk",
"branch": "main"
},
{
"type": "git",
"name": "crush",
"url": "https://github.com/charmbracelet/crush",
"branch": "main"
},
{
"type": "git",
"name": "pi",
"url": "https://github.com/badlogic/pi-mono",
"branch": "main",
"searchPaths": [
"packages/coding-agent",
"packages/tui"
]
},
{
"type": "git",
"name": "iteratr",
"url": "https://github.com/mark3labs/iteratr",
"branch": "master"
},
{
"type": "git",
"name": "yaegi",
"url": "https://github.com/traefik/yaegi",
"branch": "master"
}
],
"model": "claude-haiku-4-5",
"provider": "opencode"
}