Skip to content

feat(glance): morph an agent node into its live terminal (check-in) instead of a bottom dock #2401

Description

@kevinthelago

What

Clicking a live agent node in Glance grows it in place into its live CLI session — the real PTY stream + a text input to send direction — and morphs back on close. The graph stays the whole UI; a node just gains a second state. Replaces the fixed bottom stream dock (#2369) with a node-anchored morph.

Why

Visibility into an LLM agent's terminal without leaving the graph or opening a separate surface — the 'graph is the surface' direction (#2205/#2372), kept as simple as the current UI (no new panels/tabs).

Scope (this slice)

  • Reuse GlanceChatDock verbatim (terminal via TerminalView + the message input → pty_write) as the panel body.
  • New GlanceStreamMorph: a portal overlay that FLIP-morphs from the clicked node's screen rect → an expanded panel (geometry animation, not scale, so the terminal stays crisp), scrim + Esc/✕ to close.
  • Clicking a live agent node opens the morph directly (check-in); non-live nodes still select → inspector.
  • No resume, no on/off/delete/modify controls yet (follow-ups).

Live output only (the session is already running); resume/history is tracked separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions