Skip to content

fix: render subagent sessions as compact rows - #2619

Merged
Astro-Han merged 2 commits into
apache:mainfrom
Astro-Han:fix/subagent-compact-session-rows
Aug 9, 2026
Merged

Astro-Han merged 2 commits into
apache:mainfrom
Astro-Han:fix/subagent-compact-session-rows

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Render linked subagent sessions through Astryx List / ListItem instead of appending standalone secondary buttons.
  • Keep ordinary tool evidence in ChatToolCalls while presenting each linked subagent as one compact 14px navigation row.
  • Preserve child status, read-only state, duration, summary, and failure semantics without restoring the removed Astryx vendor patch.

Before / after

Before — regressed rendering

codex-clipboard-18840be8-47d3-43f4-ae0e-fde60a799102

After — real Electron, compact Astryx rows

subagent-compact-session-rows-electron

Verification

  • npm run format:check
  • npm run build --workspace=@maka/ui
  • node --test packages/ui/dist/__tests__/tool-trow-stability.test.js — 9 passed
  • npm --workspace @maka/desktop run typecheck:stories
  • npm --workspace @maka/desktop run build:with-deps
  • Real Electron verification in dark mode: five persisted subagent sessions, 14px labels and summaries, one interaction per linked session, zero secondary buttons; linked-session navigation verified

Review focus

  • Is ListItem the narrowest existing Astryx seam for linked-session navigation?
  • Can the segmenting or regression tests be simplified without losing behavior coverage?
  • Does this remain the simplest ownership split between transcript tools and Graph/Swarm orchestration?

Checklist

  • Tests cover the change and fail without it
  • Lint, format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@Astro-Han
Astro-Han marked this pull request as ready for review August 9, 2026 19:16
@Astro-Han
Astro-Han merged commit 3512cc2 into apache:main Aug 9, 2026
10 checks passed
@Astro-Han
Astro-Han deleted the fix/subagent-compact-session-rows branch August 9, 2026 19:17
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