You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 34c1f36
Browse filesBrowse the repository at this point in the historyBrowse files
Second re-homing wave into packages/tui (live TUI). packages/tui + packages/core both
typecheck GREEN.
Re-homed (functional):
- context/sync.tsx — full streaming feature set: yolo auto-approve (adapted to the new
permission.reply API: workspace arg + reply:"once"), smooth-streaming direct-path delta
update, and the complete line-streaming buffer feature (lineBuffer + flushLineBuffer +
flushAllBuffersForMessage + the 5 event-handler hooks). event.type/.properties is correct
here (useEvent unwraps GlobalEvent.payload, unlike sdk.tsx).
- routes/session/index.tsx — `builder` agent name on plan_exit, smooth-streaming scroll
(toBottom 0ms), calm-mode content width cap (maxWidth via ALTIMATE_CONTENT_MAX_WIDTH).
- theme/index.ts — light-mode fg fallback (AltimateAI#704), code-block + inline-code backgrounds for
light-theme contrast. NOTE: inline-code uses theme.backgroundElement vs upstream's new
theme.background — flagged inline for the next merge's human review.
- feature-plugins/home/tips-view.tsx — fork DE-specific tips (/discover, /cost-report,
/dbt-docs, /sql-review, /migrate-sql, lineage, anti-patterns) folded into the new Tip pool.
Flags re-homed into packages/core/src/flag/flag.ts (tui depends on core, not opencode):
ALTIMATE_LINE_STREAMING, ALTIMATE_CONTENT_MAX_WIDTH (+ numberEnv helper), joining the
ALTIMATE_CALM_MODE/SMOOTH_STREAMING/CLI_YOLO added in checkpoint 5.
MOOT (upstream v1.17.9 shipped equivalents — dropped per upstream_fix rule):
- prompt skills-dialog keybind → upstream `prompt_skills` keybind.
- session workspace-gate, smooth-streaming memoize, light-theme md fg (upstream ships
fg=markdownText + bg=background).
DEFERRED — architectural (tracked): enhance feature (enhance-prompt.ts), dialog-provider
(AltimateApi), dialog-skill (skill-helpers + keymap port). All three depend on opencode-package
code unreachable from packages/tui — need the shared code moved into @opencode-ai/core, routed
via SDK/server, or implemented as tui plugins. Real features; not dropped.
DEFERRED — render-rewritten: session/index TextPart code-during-streaming, tips first-time-only
behavior, sidebar trace section (sidebar_content slot), footer/home UpgradeIndicator (component
not yet ported into packages/tui).
OLD cli/cmd/tui/** files untouched (deleted in §3.4 after all re-homing verified).
0 commit comments