Skip to content

Pr/pop out chat - to allow for long running tasks to have their dedicated window#49

Open
avkap007 wants to merge 8 commits intoryanstephen:mainfrom
avkap007:pr/pop-out-chat
Open

Pr/pop out chat - to allow for long running tasks to have their dedicated window#49
avkap007 wants to merge 8 commits intoryanstephen:mainfrom
avkap007:pr/pop-out-chat

Conversation

@avkap007
Copy link
Copy Markdown

@avkap007 avkap007 commented Apr 11, 2026

adds a pop-out button to the dock chat popover that detaches the conversation into its own resizable window. the detached window keeps its own session and provider (can be switched independently), and the character resumes walking after pop-out. the goal is to allow for long running tasks to have their dedicated window

what's included:

  • pop-out button in popover title bar (arrow.up.right.square icon)
  • detached window with same theme/chrome as popover, resizable with min size
  • session transfers cleanly from popover to detached window
  • provider can be switched in detached window without affecting dock default
  • clicking character while detached window is open brings it to front
  • closing detached window terminates session async (no hang)
  • theme switch updates both popover and detached window
  • window z-ordering fixed so popover/detached always stay above character

add a title bar control on the dock popover to open the same terminal in a floating window. the popped-out window keeps its own provider choice in memory, routes copy/refresh/provider menu to the right session, tears down on close, and survives style switches. also terminate detached sessions on quit, refresh detached chrome when the global theme changes, and re-apply terminal colors after rebuilds. character content view is non-opaque so alpha video hit testing stays consistent.
tear down after NSWindowDidClose instead of willClose, and defer session terminate to the next main run loop so closing a second pop-out does not deadlock appkit.
@avkap007
Copy link
Copy Markdown
Author

demo video

pop-out-chat-demo-short.mov

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