Repository navigation
feat(macos): redesign chats and smooth conversation switching - #14
Merged
Merged
Conversation
Port avatar pointer tracking and the macOS sidebar, composer, headers, and job panels onto the current server contract while preserving chat-attention hooks. Keep confirmed chat caches connection-scoped, reconcile overlapping history, and gate pagination and sending on readiness. Store expanded job-step IDs outside regrouped blocks and add cache-ordering and keyboard regressions.
cheetahbyte
marked this pull request as ready for review
November 15, 2026 14:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Port the three unmerged avatar/macOS commits onto current
main, without replaying their superseded API refactors or the separate Xcode membership change. Redesign the sidebar, chat header, composer, details, call, desktop, and job panels; add pointer-following avatars and cached chat-switch crossfades while preserving #13's attention and reply-surface hooks. Reconcile cached history and readiness gates, and keep step expansion outside regrouped job blocks.Why
The macOS work remained on
ci/apple-releasesafter the server-contract changes landed in #13. It needs to use the current server projections and job models without restoring old transport code or losing chat-attention behavior.Evidence
python3 apfelkern/scripts/contract.py --check: passed; generated contract output unchanged.scripts/check-app-bundle.shpassed.ios/build/verify-macos-polish. The unit tests were rechecked immediately before pushing. iOS lint passed.Risk & Rollback
Reversibility: Reversible by reverting this change. There is no data migration; the transcript cache is in memory and scoped to the connection. The new shared avatar option defaults to off.
Blast Radius: Most macOS chat chrome and panels, bot-chat selection/pagination, composer keyboard handling, grouped job history, debug fixtures, and the shared
BotAvatarViewinitializer. iOS source, server contracts, generated models, Xcode membership, and CI workflows are unchanged.Known limitations, kept visible while this is a draft:
ios/scripts/test.sh unitstill fails with the existing default-output missing-type diagnostics, includingReasoningPreviewandAutomationDraft.previewRequest, despite those declarations existing in source. Equivalent tests pass with isolated derived data. The cause remains UNKNOWN; existing build data was not deleted.