Conversation
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
from
September 21, 2026 03:05
61a3501 to
619623f
Compare
- Re-route steering that races completion into idempotent follow-up dispatches - Preserve scheduled-task attribution and provider ownership history across clients
Port main's pull-request discovery, active thread ordering, async question dismissal, settlement fixes, provider-session import, attachment context, and provider correctness changes into orchestration v2. Keep the branch's intentional composer and subagent behavior while adopting main's web and mobile fixes. Prevent headless setup terminals from hanging on the color probe, and move the v2 migration block to 050-061 after main claimed 048-049.
Restore the failed-before-start timer guard, align two server fixtures with the reconciled behavior, and remove dead files, exports, and dependencies surfaced by Knip. Drop the temporary branch push trigger now that the PR is mergeable, so each update runs the pull-request workflow once.
Keep main's batch machine-update banner and update action while preserving the v2 runtime-based environment lock used by draft load balancing.
Adopt TypeScript 7 and Effect rc.112 across orchestration v2, including the TaggedError API migration and updated Effect-aware tests. Restore main's composer-aware scroll-to-end clearance while retaining selected-model settings sync, preview recording transfer, image galleries, desktop context menus, and layout hit targets. Regenerate the lockfile on the upgraded dependency baseline.
Advertise bounded socket snapshots and authoritative dispatch validation, omit raw command output and inline file bodies at the wire boundary, and preserve compact status metadata across web and mobile. Add transport-budget coverage for snapshots, resume, commands, legacy import, and projection maintenance.
Restore pinned-thread shelf classification, server-owned unread state, hidden-subagent-safe project ordering, guarded jump hints, draft upload cleanup, and active-provider archive guards across the current and legacy sidebars. Bring the surrounding current-main sidebar work forward as well: canonical project favicons, stable row layout, thread file drops, account-aware mobile provider badges, and deferred desktop keyring loading.
Keep collapsed model controls in a strip, contain transition overflow, and preserve timeline spacing. Render approval requests as regular grouped worklog entries. Implemented with GPT-6-Astra via Codex.
Adapt question attachments and Android push verification to V2 requests and shell events. Preserve composer transitions and compact worklogs while integrating upstream loading, navigation, and mobile changes. Release consumed application replay pages without retaining earlier batches.
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
from
September 21, 2026 05:40
a1f8051 to
0337dd6
Compare
Read selected control records for commands, provider cleanup, thread polling, and MCP tools. Select timeline pages before loading payloads, query attachment IDs separately, and restrict handoff and delegated-result reads to relevant runs. Cover unreadable unrelated history, paging across forks, and control behavior with focused regressions.
The native-vs-legacy check reconnected to the external server on every adapter call and every maintenance resolution. Cache the first successful probe on the driver so later reads reuse it; a failed probe is not cached. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
juliusmarminge
force-pushed
the
fix/opencode-2-native-client
branch
from
September 21, 2026 20:36
1389b7b to
2373e79
Compare
Member
|
Rebased this PR onto the current One fix on top (
Deliberately left alone
Verified
Rebased and touched up by a maintainer's agent; a human will re-review. |
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
4 times, most recently
from
September 23, 2026 07:35
d2675dc to
9cbaf77
Compare
juliusmarminge
force-pushed
the
t3code/codex-turn-mapping
branch
6 times, most recently
from
September 25, 2026 05:55
fe4f6ad to
87c67bd
Compare
This was referenced Sep 25, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Released OpenCode 2 uses the
opencodeexecutable but changed its startup banner, authentication and HTTP API. The current integration waits for the V1 banner and then calls V1 SDK endpoints, causing the timeout and empty catalog reported in #11790.Changes
Add a native
@opencode/client@2.0.10adapter at the new orchestrator boundary while preserving the V1 adapter and existing provider identity/settings. Local sessions share the provider instance's owned server; external servers retain their ownership. Inventory, chat and generation use the selected API generation.The native path enforces permissions on the server session, reconciles messages and pending requests after stream reconnection, preserves whitespace, follows pagination cursors correctly, restores the selected agent after plan mode, and cancels prompt-hook questions before waiting for Stop admission. Background generation uses a workspace-scoped temporary session with server-enforced tool denial. Generated passwords are redacted from startup failures; only explicitly configured credentials are used for external servers.
Draft scope
Stacked on #2829; base is
t3code/codex-turn-mapping. Keep this draft pending the orchestrator rewrite and maintainer agreement on the remaining provider scope, per the closing comments on #8207/#12084/#12284.This is an initial native integration, not full feature parity:
/compactis advertised from the native command path.Validation
Local macOS validation against the pinned rewrite base:
--helpsmoke test.Run the live contract suite with:
OPENCODE_TEST_BINARY=/absolute/path/to/opencode vp test run apps/server/src/provider/OpenCode2.live.test.tsThe CLI tests use isolated state and a local mock model. Cross-platform execution and the upstream CI/review gates remain required before promotion from draft. No frontend source changes.
At publication, GitHub marked the upstream CI run
action_requiredbefore any jobs started: https://github.com/pingdotgg/t3code/actions/runs/35473766485. Maintainer authorization is needed for those fork-PR workflows; the local checks above are complete.Model: GPT 6 Astra (Strata). Harness: OpenCode.