Skip to content

feat(clients): reload provider sessions per thread without restarting T3 Code - #6162

Open
DavidIlie wants to merge 3 commits into
pingdotgg:mainfrom
DavidIlie:feat/reload-thread-provider-session
Open

feat(clients): reload provider sessions per thread without restarting T3 Code#6162
DavidIlie wants to merge 3 commits into
pingdotgg:mainfrom
DavidIlie:feat/reload-thread-provider-session

Conversation

@DavidIlie

@DavidIlie DavidIlie commented Aug 11, 2026

Copy link
Copy Markdown

What changed

Provider processes load MCP servers and runtime configuration when they start. Existing threads therefore required a full T3 Code restart to pick up changes such as enabling Computer Use.

This adds Reload agent session to thread actions and the command palette on web/desktop, plus thread controls on mobile. It stops only that thread's provider process; the next message starts a new process and resumes the stored provider conversation with current configuration. Other threads and the environment keep running.

Reload reuses the existing stop/resume lifecycle and works across Codex, Claude Code, Cursor, Grok, and OpenCode. An idle-only precondition is checked atomically by the decider, so a stale client cannot interrupt a turn started elsewhere.

Closes #5437.

Screenshots

Before After
Thread actions without reload Thread actions with Reload agent session

Validation

  • 107 focused client, orchestration, reactor, and provider tests passed
  • Contracts, client-runtime, web, mobile, and server typechecks passed
  • Targeted lint, formatting, and git diff --check
  • Isolated web pass confirmed reload followed by a successful resumed turn through a fresh provider process

Model: GPT-5.6 Sol · Harness: Codex in T3 Code

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ef6ee823-29b7-47ea-9318-3c49bc055666

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Aug 11, 2026
Comment thread apps/web/src/hooks/useReloadThreadSession.ts
@macroscopeapp

macroscopeapp Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs human review

This PR introduces a new user-facing feature (reload agent session) with UI controls across mobile and web, backend decider logic changes, and contract modifications. New features introducing user-facing behavior warrant human review.

You can customize Macroscope's approvability policy. Learn more.

Comment thread apps/mobile/src/features/threads/ThreadRouteScreen.tsx
@DavidIlie
DavidIlie force-pushed the feat/reload-thread-provider-session branch from 4b47385 to 4331b45 Compare August 12, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: "Restart thread" action to reload provider config (MCP servers, etc.) while keeping conversation context

1 participant