GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — V2 event provider adapters by juliusmarminge · Pull Request #133 · pingdotgg/t3code Conversation
|
|
Cursor Agent can help with this pull request. Just |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const delta = | ||
| firstNonEmptyString( | ||
| event.textDelta, | ||
| payload?.delta, | ||
| payload?.text, | ||
| payload?.outputDelta, | ||
| payload?.summaryTextDelta, | ||
| payload?.textDelta, | ||
| ) ?? ""; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium Layers/CodexAdapter.ts:856
Using firstNonEmptyString here trims the delta text, corrupting indentation and whitespace. Consider using asString instead to preserve the raw content.
- const delta = - firstNonEmptyString( - event.textDelta, - payload?.delta, - payload?.text, - payload?.outputDelta, - payload?.summaryTextDelta, - payload?.textDelta, - ) ?? ""; + const delta = + asString(event.textDelta) ?? + asString(payload?.delta) ?? + asString(payload?.text) ?? + asString(payload?.outputDelta) ?? + asString(payload?.summaryTextDelta) ?? + asString(payload?.textDelta) ?? + "";
In file apps/server/src/provider/Layers/CodexAdapter.ts around lines 856-864:
Using `firstNonEmptyString` here trims the delta text, corrupting indentation and whitespace. Consider using `asString` instead to preserve the raw content.
Evidence trail:
CodexAdapter.ts lines 111-120: `firstNonEmptyString` function definition shows it returns `value.trim()`. CodexAdapter.ts lines 95-97: `asString` function returns raw string without trimming. CodexAdapter.ts lines 850-865: Context shows `firstNonEmptyString` is used for delta events including `item/commandExecution/outputDelta` and `item/fileChange/outputDelta` where whitespace preservation is critical.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
7a9b3d3 to
ac45b82
Compare
Second upstream sync on this branch: pingdotgg/t3code main at 2c7267a ("stop the reaper from silently killing live background subagents", pingdotgg#5677) into the DevGame fork. 19 conflicted paths, resolved under the standing doctrine (upstream structure wins; fork features re-expressed inside it; the fork's deliberate deletions stand). Highlights taken from upstream: background-subagent reaper + settling fixes (pingdotgg#5677/pingdotgg#5568), sidebar v2 promoted to THE sidebar (pingdotgg#5672 -- SidebarV2.tsx renamed Sidebar.tsx, old sidebar now LegacySidebar.tsx behind Settings -> Legacy features), plans fold into chat (pingdotgg#5558, plan sidebar deleted), agents observability panel (pingdotgg#5219), MCP tool-result payload slimming (pingdotgg#5482), thread pagination (pingdotgg#5493), per-device provider settings (pingdotgg#4479), theme library + configurable fonts (pingdotgg#5103), thread pinning (pingdotgg#5312/pingdotgg#5581), reconnect-warning grace (pingdotgg#5670), mobile 1.0.2. Notable resolution rulings: - Right panel collapses to agents-only: upstream retired "plan", the fork had already moved preview/terminal/diff/files to the dock. ChatView's right-panel plumbing reduced accordingly; persistence shim now ALLOWLISTS the surviving kind, tolerates corrupt entries, and prunes records it empties (three tests updated to the pruned contract). - Migration id space: fork ids 36/37 (spaces) stay where deployed DevGame databases recorded them; upstream's three arrivals take 38/39/40 with files renamed to match. Crossover hazard from stock-T3 data dirs is documented at the manifest and tracked with the storage-isolation task. - useThreadSidebarComponent re-pointed at Sidebar/LegacySidebar via useLegacySidebarEnabled (forceV1 gone -- /settings* mounts SettingsSidebarNav, no thread sidebar). The pingdotgg#111 aria-label derivation ported into the renamed Sidebar.tsx. - Locale-fragile upstream snooze tests (pingdotgg#4438 asserts en-US "PM") made locale-agnostic; ThemeSettings copy re-branded to DevGame; upstream's text-secondary-label token applied in the fork's MessageImageGrid. Verification: typecheck exit 0 across every package (incl. server + desktop run separately); suites green -- server 2197, web 2400, scripts 227, contracts 228. Four-lens Opus merge-gate review over the resolution: 31 findings, 29 fixed in this commit, 2 filed as follow-up tasks (pingdotgg#133 right-panel chooser UX -- pre-existing; pingdotgg#134 migration ledger guard). Co-Authored-By: Claude Fable 5 <[email protected]>
…ch-check fix(server): client launches with a branch get the early worktree check
…ingdotgg#133) from ci/upstream-checks into main
…est sandbox m1 runs pull-request steps as the calder-pr user under sandbox-exec (infra pingdotgg#133). That user has no login keychain, so Electron's safeStorage would block on a keychain dialog; --use-mock-keychain avoids it. --no-sandbox was already passed, which Chromium also needs inside sandbox-exec.
…ble' (pingdotgg#133) from T3CODE-118-node-fixture into custom-local
…ingdotgg#133) from sync/upstream-2026-11-22-0330 into dev Reviewed-on: https://git.nepjua.org/yasinuslu/t3code/pulls/133
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.