Repository navigation
Commit 7befb4f
authored
chore: merge upstream t3code to e075957 (pingdotgg#252)
Merges upstream `pingdotgg/t3code` `e64766c56a..e075957` (191
commits) into the fork. Resolutions and verification are recorded in
`docs/fork/upstream-merge-log.md` (2026-10-22 entry).
## Resolution
- **11 conflicts, each resolved by its preflight verdict.** Upstream
split `ChatView`, `ChatComposer`, `MessagesTimeline`, `Sidebar`,
`SettingsPanels` and `ChatMarkdown` into dozens of new hook and row
files. Each fork delta was re-stated where its code moved, marked `//
Fork:`, and the guards, paths and notes in `docs/fork/inventory.json`
were re-pointed to match.
- **Thread fork:** the dialog's choices (same sandbox, first message,
harness) now go through upstream's `useTimelineRewind.onForkFromRun` as
an optional `submission`, so `ChatView.tsx` does not keep a copy of the
fork handler.
- **Typecheck:** upstream moved the web and desktop `typecheck` tasks
into `vite.config.ts` and switched them to `tsc-rs` (pingdotgg#22716). The fork
keeps the move but runs `tsc --noEmit`. The `tsc-rs` tripwire now also
scans `*vite.config.ts`. `tsc-rs` was stripped from the lockfile before
re-deriving it.
- **Deletions kept:** `apps/server/src/cli/pair.ts` and its test stay
deleted (modify/delete against upstream pingdotgg#22855).
- **`AGENTS.md`:** the fork's Moatless dev-server section is kept.
Upstream's new setup, seeding and test-proof guidance is taken, except
its "use tsc-rs" line.
## Verification
`verify.mjs` (full) passes duplicate-adds, tripwires, resolution-check,
unsupported-methods, lockfile, fmt, lint, typecheck and build. In the
test step:
- **Failing, same as the last merge:** `shared` AgentScope, `t3`
RepositoryIdentityResolver and GitVcsDriver, and `provider-opencode`
OpenCodeServerLedger. These are sandbox machine failures that were
already recorded on 2026-10-21.
- **Failing only because of the sandbox's browser:** `web` and `t3`
ServerBrowserPage need Playwright chromium build 1223, which this
sandbox lacks. With build 1243 symlinked in its place, `web` passes
381/381 files and ServerBrowserPage passes.
## Usable as-is
- Automation messages render as compact rows (pingdotgg#22638).
- The composer stays usable while approvals are pending; sending
declines them (pingdotgg#21503).
- Right-to-left text support (pingdotgg#22777).
- Client fixes: pingdotgg#22783, pingdotgg#22607, pingdotgg#22898, pingdotgg#22621, pingdotgg#22627, pingdotgg#22905, pingdotgg#22936,
pingdotgg#22399, pingdotgg#22853, pingdotgg#22188, pingdotgg#22922, pingdotgg#22149, pingdotgg#21519, pingdotgg#21924, pingdotgg#22787, pingdotgg#22917,
pingdotgg#23315.
## Unsupported in Moatless / needs implementation
- **`queued-run.start`** (pingdotgg#22790): a new `OrchestrationV2Command` behind
"Send now" on a held queued message in a stopped thread. Moatless must
dispatch it. Added to gaps: *A command cannot be refused*.
- **Pull request `isDraft`** (pingdotgg#22832),
`packages/contracts/src/pullRequest.ts`. Added to gaps: *A pull request
snapshot carries no update instant…*.
- **Optional new fields, added to gaps: *Runtime fixes upstream made to
its own server*:**
- approval `reason` / `fullAccessOverride` (pingdotgg#22546)
- push error kinds `push_rejected_by_remote` /
`push_rejected_non_fast_forward` (pingdotgg#22904)
- project clone `stalled` (pingdotgg#22780)
- **Idle compaction** (pingdotgg#23037): `compactIdleThreads` is now an enum, and
there is a new per-instance `idleCompaction` setting. Both sit behind
`serverBehaviorSettings` and `providerConfiguration`.
- **Already hidden here:** orchestrator MCP changes (pingdotgg#22889, pingdotgg#22901,
pingdotgg#22452), the `t3 thread` CLI (pingdotgg#22732), and `remoteUrl` on repository
identity (pingdotgg#22492).
- No new RPC methods. The unsupported-method derivation is unchanged
(ADD 0, DROP 0).
## Backend behavior to consider reproducing in Moatless
- **Stop an abandoned provider turn before a new turn starts** (pingdotgg#23169).
- **Delegates:** Stop always clears a delegate (pingdotgg#22653), and a delegate
finishes once its leftover work settles (pingdotgg#22709).
- **Held queue:** held queued messages send when a thread is stopped
(pingdotgg#22790).
- **Run metrics:** each run records its duration and outcome (pingdotgg#22094).
- **Idle compaction scheduling** (pingdotgg#23037).
- **PR draft sync:** upstream updates the cached pull request when only
its draft state changes (pingdotgg#22832).
- **Provider fixes:** Pi (pingdotgg#23052, pingdotgg#21822), OpenCode (pingdotgg#22938, pingdotgg#22596),
Codex (pingdotgg#22541, pingdotgg#22558), Cursor (pingdotgg#22897), Antigravity (pingdotgg#22019).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
Moatless task:
https://moatless.soaplabstest.com/tasks/a5f5632a-35b8-4f7a-bda4-935cf818e570485 files changed
Lines changed: 48202 additions & 32411 deletions
File tree
- .agents/skills/fork-upstream-merge
- .github
- scripts
- workflows
- apps
- desktop
- scripts
- marketing
- mobile
- deps
- modules/t3-native-controls/ios
- src
- components/ui
- features
- devices
- files
- home
- keyboard
- layout
- pull-requests
- review
- settings/components
- threads
- git
- workspace
- lib
- native
- state
- server
- scripts
- src
- assets
- auth
- cli
- diagnostics
- git
- htmlRender
- mcp
- toolkits
- orchestrator
- project
- thread
- observability
- orchestration-v2
- Adapters
- testkit
- process
- project
- provider
- Drivers
- pullRequest
- resourceTelemetry
- scheduledTasks
- testUtils
- usage
- vcs
- workspace
- web
- scripts
- src
- components
- chat
- pullRequest
- settings
- sidebar
- usage
- hooks
- routes
- state
- docs
- fork
- internals
- operations
- orchestration-v2
- user
- packages
- client-runtime
- src
- device
- operations
- state
- contracts/src
- provider-acp/src/server
- provider-core/src/server
- provider-cursor/src/server
- provider-grok/src/server
- provider-opencode/src/server
- v2
- provider-pi/src/server
- source-control-core/src/server
- source-control-gitcafe/src/server
- source-control-gitlab/src/server
- tailscale/src
- patches
- scripts
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
204 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| |||
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
135 | 151 | | |
136 | 152 | | |
137 | 153 | | |
| |||
235 | 251 | | |
236 | 252 | | |
237 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
238 | 262 | | |
239 | 263 | | |
240 | 264 | | |
241 | 265 | | |
242 | 266 | | |
243 | 267 | | |
244 | 268 | | |
245 | | - | |
| 269 | + | |
246 | 270 | | |
247 | 271 | | |
248 | 272 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
260 | 259 | | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 263 | | |
269 | 264 | | |
270 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | | - | |
| 1075 | + | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | 1078 | | |
| |||
1091 | 1091 | | |
1092 | 1092 | | |
1093 | 1093 | | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1094 | 1101 | | |
1095 | 1102 | | |
1096 | 1103 | | |
| |||
1219 | 1226 | | |
1220 | 1227 | | |
1221 | 1228 | | |
1222 | | - | |
| 1229 | + | |
1223 | 1230 | | |
1224 | 1231 | | |
1225 | 1232 | | |
| |||
1228 | 1235 | | |
1229 | 1236 | | |
1230 | 1237 | | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
1231 | 1245 | | |
1232 | 1246 | | |
1233 | 1247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
87 | 94 | | |
88 | 95 | | |
89 | 96 | | |
| |||
0 commit comments