Skip to content

refactor: modularize tui.go into internal/tui with 12 focused files#52

Merged
iohub merged 2 commits into
mainfrom
feat-openai-go
May 7, 2026
Merged

refactor: modularize tui.go into internal/tui with 12 focused files#52
iohub merged 2 commits into
mainfrom
feat-openai-go

Conversation

@iohub
Copy link
Copy Markdown
Owner

@iohub iohub commented May 7, 2026

No description provided.

iohub added 2 commits May 7, 2026 15:08
- Split 2818-line monolithic tui.go into 8 focused modules (model, update, view, render, dialogs, history, tasks, helpers)
- Move all tui_*.go and i18n.go from project root into internal/tui/
- Change package from main to tui, export StartTUI for main.go
- Update main.go import and call site
- Remove circular self-imports, use direct type references within package
- Compiles and passes go vet cleanly
- Update tech stack: Go 1.24+, openai-go/v3 SDK
- Add DevOps, ImplPlan, and Executor agent definitions
- Expand tool count from 14 to 17 (micro_agent, impl_plan, flow_control)
- Refine module structure with flat file layout and new modules (compact, diff, workspace_guard)
- Add three-tier LLM configuration priority docs
- Add security mechanisms appendix (WorkspaceGuard, UserConfirmManager)
- Add Embedding & Vector Search section to CLAUDE.md
- Fix test command paths (internal/assistant/agents → internal/agents)
- Fix section numbering and TOC consistency
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @iohub, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@iohub iohub merged commit 06a775f into main May 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant