Skip to content

Support subagent conversation forks and metadata normalization#129

Open
arpan404 wants to merge 178 commits into
mainfrom
ace/codex-subagent-support
Open

Support subagent conversation forks and metadata normalization#129
arpan404 wants to merge 178 commits into
mainfrom
ace/codex-subagent-support

Conversation

@arpan404

@arpan404 arpan404 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Added support for resuming subagent conversation forks from the child provider thread, including persisting and reading forkSourceProviderThreadId through the orchestration projection.
  • Normalized collab subagent metadata handling in the Codex app server to accept multiple field shapes for agent type and display name.
  • Simplified desktop window and IPC handling by removing stale new-window / detached-return paths and streamlining browser URL events.
  • Refactored several web chat, browser, editor, and session components to align the UI with the new fork and subagent flow.
  • Bumped package versions and updated release tooling / scripts for the new release line.

Testing

  • Not run (PR content only).
  • Added/updated unit coverage for subagent fork session startup, provider metadata normalization, desktop menu behavior, and related orchestration/read-model paths.

arpan404 added 3 commits June 3, 2026 00:27
- Track child provider thread IDs on fork metadata
- Persist and project fork source provider threads
- Allow forking subagent conversations from the child thread
- Keep the fork callback stable by depending only on the active thread title
- Avoid unnecessary re-creation of the handler
- Add `/side` composer flow and keep side-chat activity out of the main timeline
- Recognize `agentRole` and `agentNickname` across server and worklog parsing
- Show completed subagents in the environment card and update command menu copy
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ace-marketing Ready Ready Preview, Comment Jun 7, 2026 7:34pm

…pport

# Conflicts:
#	apps/web/src/components/ChatView.tsx
#	apps/web/src/components/chat/EnvironmentMiniPanel.test.tsx
#	apps/web/src/components/chat/EnvironmentMiniPanel.tsx
arpan404 added 6 commits June 4, 2026 22:09
- Carry fork source thread IDs through subagent turn requests
- Route native side conversations to provider child threads
- Label orchestration events for side chat follow-ups
arpan404 added 2 commits June 4, 2026 23:24
- route goal update/clear commands through provider sessions
- surface goal state in the chat UI and composer
- include parent-thread context when starting side chats
- Detect native vs replay fork support per provider/session
- Include capability overrides in session.configured events
- Expose subagent composer support in the web UI
- Default OpenCode to local-replay/replay-fork
- Emit native fork capabilities when SDK supports session fork
- Update provider capability tests
- Add native fork capability flags to Codex and Claude session config
- Cover emitted session.configured events in adapter tests
- Preserve and normalize subagent metadata in provider runtime events
- Map Copilot and Pi provider capabilities for replay-fork side conversations
- Surface goal and queued-message state updates in the chat composer
- Map OpenCode `subtask` parts to collab agent items
- Fuse queue UI into the composer when active
- Add horizontal margins to queued composer messages
- Keep the composer frame fully rounded
- Replace Tabler icons in the web app
- Refresh lockfile and workspace versions
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