Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

chore: remove all direct charmbracelet imports — blit is the sole direct dep#20

Merged
moneycaringcoder merged 1 commit intomainfrom
chore/remove-direct-charmbracelet-imports
Apr 11, 2026
Merged

chore: remove all direct charmbracelet imports — blit is the sole direct dep#20
moneycaringcoder merged 1 commit intomainfrom
chore/remove-direct-charmbracelet-imports

Conversation

@moneycaringcoder
Copy link
Copy Markdown
Owner

Summary

Replaces all remaining direct \�ubbletea, \lipgloss, and \charmbracelet/x/ansi\ imports with blit re-exports (\�lit.Msg, \�lit.Cmd, \�lit.KeyMsg, \�lit.Batch, \�lit.StringWidth, \�lit.TruncateWith, etc.).

Result

\go.mod\ now has exactly one direct dependency:

\
require github.com/blitui/blit v0.2.24
\\

All \charmbracelet/*\ packages are // indirect\ — pulled in transitively through blit but never imported directly by gitstream-tui source code.

Changes per file

File Removed imports
\internal/ui/stream.go\ \�ubbletea\
\internal/ui/polling.go\ \�ubbletea\
\internal/ui/panel.go\ \�ubbletea\
\internal/ui/debug.go\ \�ubbletea, \charmbracelet/x/ansi\
\go.mod\ Direct deps: 3 → 1

…e-exports

gitstream-tui now only has one direct dependency: github.com/blitui/blit.
All charmbracelet packages are indirect (transitive through blit).
@moneycaringcoder moneycaringcoder merged commit 0c97de8 into main Apr 11, 2026
1 check passed
@moneycaringcoder moneycaringcoder deleted the chore/remove-direct-charmbracelet-imports branch April 11, 2026 23:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant