Skip to content

fix: restore Altimate branding and fix TUI TuiConfig context crash#97

Closed
suryaiyer95 wants to merge 1 commit intomainfrom
fix/branding-and-tui-crash
Closed

fix: restore Altimate branding and fix TUI TuiConfig context crash#97
suryaiyer95 wants to merge 1 commit intomainfrom
fix/branding-and-tui-crash

Conversation

@suryaiyer95
Copy link
Copy Markdown
Contributor

Summary

  • Restores ALTIMATE CODE ASCII art logo (was showing "OPEN CODE" from upstream merge)
  • Restores theme.primary/theme.accent logo colors (was muted gray)
  • Replaces ~25 opencode/OpenCode/.opencode/ references with altimate-code/Altimate CLI/.altimate-code/ in tips
  • Fixes TUI crash: "TuiConfig context must be used within a context provider" by wiring TuiConfigProvider into the component tree

Changes

File What
src/cli/logo.ts ASCII art: OPEN CODE → ALTIMATE CODE
src/cli/cmd/tui/component/logo.tsx Colors: textMuted/textprimary/accent
src/cli/cmd/tui/component/tips.tsx All opencode refs → altimate-code
src/cli/cmd/tui/app.tsx Wire TuiConfigProvider above ThemeProvider
src/cli/cmd/tui/thread.ts Load TuiConfig via Instance.provide() before tui()
src/cli/cmd/tui/attach.ts Pass config: {} for remote attach

Test plan

  • Build with bun run build and verify CLI shows ALTIMATE CODE logo
  • Launch TUI and confirm no TuiConfig context crash
  • Verify tips show altimate-code references, not opencode
  • Verify altimate-code attach still works (remote mode)

- Replace "OPEN CODE" ASCII art with "ALTIMATE CODE" in `logo.ts`
- Restore `theme.primary`/`theme.accent` logo colors in `logo.tsx`
- Replace all `opencode`/`OpenCode`/`.opencode/` references with
  `altimate-code`/`Altimate CLI`/`.altimate-code/` in `tips.tsx`
- Wire `TuiConfigProvider` into `app.tsx` component tree above
  `ThemeProvider` to fix "TuiConfig context must be used within a
  context provider" crash
- Load `TuiConfig` via `Instance.provide()` in `thread.ts` before
  calling `tui()`
- Pass `config: {}` in `attach.ts` for remote attach mode
@anandgupta42 anandgupta42 deleted the fix/branding-and-tui-crash branch March 17, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant