GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(sync): merge upstream main through 61c3794c by yvesoddly · Pull Request #28 · issuelt/t3code

chore(sync): merge upstream main through 61c3794c #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
yvesoddly merged 37 commits into main from sync/upstream-main-20261102c
Nov 3, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

chore(sync): merge upstream main through 61c3794c #28

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
84547b9
fix(server): Codex usage keeps requests from interrupted turns (#29415)
juliusmarminge Nov 3, 2026
1436c45
fix(client-runtime): connect to the primary environment while the bro…
juliusmarminge Nov 3, 2026
48c8cf7
fix(server): a failed worktree add no longer leaves its new branch be…
juliusmarminge Nov 3, 2026
8c9945d
fix(provider-acp): Kiro's html_render pages show in the thread (#28253)
juliusmarminge Nov 3, 2026
f80be8e
fix(server): streamed Browser clicks no longer wait behind queued whe…
juliusmarminge Nov 3, 2026
997e3f3
fix(server): Codex turns that fail with an unlisted error code no lon…
juliusmarminge Nov 3, 2026
503488d
fix(opencode): sessions open through OpenCode 2 after an in-place upg…
juliusmarminge Nov 3, 2026
607e373
fix(server): T3 Connect not-linked fix no longer tells Desktop users …
juliusmarminge Nov 3, 2026
371e945
fix(server): anchor Claude wake cooldowns to result arrival (#25061)
juliusmarminge Nov 3, 2026
16fd1a4
fix(web): match new-thread hero to selected checkout (#25064)
juliusmarminge Nov 3, 2026
d3d7f03
fix(server): stop PR lookups in emptied worktree folders (#24803)
juliusmarminge Nov 3, 2026
71a7bf9
fix(server): agent session scans no longer hang the server on an unre…
juliusmarminge Nov 3, 2026
371c9a9
docs(connect): held webhooks are kept per managed link (#23612)
juliusmarminge Nov 3, 2026
0ad3dc1
fix(server): delegated children keep replies after their parent settl…
juliusmarminge Nov 3, 2026
6e58094
fix(preview): explain invalid URLs and locators (#23396)
juliusmarminge Nov 3, 2026
296b089
fix(web): terminal controls no longer cover the first line (#23373)
juliusmarminge Nov 3, 2026
93a3e8f
fix(server): stop maintaining the unused event correlation index (#23…
juliusmarminge Nov 3, 2026
46212dd
docs(mcp): document existing recurring-task tools (#23199)
juliusmarminge Nov 3, 2026
c0ec87a
fix(server): release the previous session when sending to another ins…
juliusmarminge Nov 3, 2026
692dd9c
fix(claude): a background-task wake run no longer hangs after a user …
maria-rcks Nov 3, 2026
78aee8a
fix(server): OpenCode no longer drops a $skill read before its direct…
juliusmarminge Nov 3, 2026
b492e28
fix(server): coalesced webhook runs use the prompt saved before dispa…
juliusmarminge Nov 3, 2026
d5afb1a
fix(server): slow forge CLI calls no longer delay checkpoints and tur…
juliusmarminge Nov 3, 2026
0c863d6
fix(relay): T3 Connect repairs tunnel ingress that drifted from a mat…
juliusmarminge Nov 3, 2026
6f4bc77
fix(provider-core): npm-installed Claude in ~/.local gets npm updates…
juliusmarminge Nov 3, 2026
acd2db9
fix(server): git hooks keep the user's locale (#27778)
juliusmarminge Nov 3, 2026
18ac394
fix(pi): hold messages until compaction ends (#24388)
juliusmarminge Nov 3, 2026
fd63914
fix(server): show why Claude refuses full access as root (#23804)
juliusmarminge Nov 3, 2026
10f3657
fix(server): preview click timeouts identify the target (#23489)
juliusmarminge Nov 3, 2026
30767c2
fix(cursor): supporting files no longer hide sibling skills (#23326)
juliusmarminge Nov 3, 2026
689bdb8
fix(web): usage-limit retry notice shows the timezone (#23029)
juliusmarminge Nov 3, 2026
bb221f0
fix(server): preserve nested Claude subagent completion across turns …
juliusmarminge Nov 3, 2026
c3e1e0a
fix(opencode): publish ordered pending-work snapshots (#21460)
juliusmarminge Nov 3, 2026
53e168f
fix(opencode): decode compaction history from OpenCode 2.1 (#22661)
juliusmarminge Nov 3, 2026
3e1e776
fix(server): import valid conversations within each transcript record…
juliusmarminge Nov 3, 2026
61c3794
fix(server): imported Claude sessions resume on their first turn (#23…
juliusmarminge Nov 3, 2026
519f74c
Merge upstream pingdotgg/t3code main into fork (through 61c3794c)
yvesoddly Nov 3, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix(server): streamed Browser clicks no longer wait behind queued whe…
…el bursts (pingdotgg#28236)

Co-authored-by: Claude Opus 5.5 <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge @claude
juliusmarminge and claude authored Nov 3, 2026
commit f80be8e0374d75dc74f0e4c5011d93a6e2e170f8

There are no files selected for viewing

41 changes: 39 additions & 2 deletions 41 apps/server/src/preview/ServerBrowser.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,26 @@ it.effect.each([
{ type: "mouseReleased", x: 119 },
],
},
{
name: "wheel burst before a click",
inputs: [
...Array.from({ length: 120 }, () => ({
type: "wheel",
x: 100,
y: 200,
deltaX: 0,
deltaY: 12,
})),
{ type: "mouse", action: "down", x: 100, buttons: 1, button: "left" },
{ type: "mouse", action: "up", x: 100, buttons: 0, button: "left" },
],
expected: [
{ type: "mouseMoved", x: -1 },
{ type: "mouseWheel", x: 100, y: 200, deltaX: 0, deltaY: 1440 },
{ type: "mousePressed", x: 100 },
{ type: "mouseReleased", x: 100 },
],
},
{
name: "modifier changes and drag points",
inputs: [
Expand Down Expand Up @@ -1117,13 +1137,30 @@ it.effect.each([
expected: [
{ type: "mouseMoved", x: -1 },
{ type: "mouseMoved", x: 1 },
{ type: "mouseWheel", deltaY: 20 },
{ type: "mouseWheel", deltaY: 30 },
{ type: "mouseWheel", deltaY: 50 },
{ type: "mouseMoved", x: 2 },
{ type: "keyDown", key: "a" },
{ type: "mouseMoved", x: 3 },
],
},
{
name: "wheel position, modifier and direction boundaries",
inputs: [
{ type: "wheel", x: 1, deltaX: 5, deltaY: 10 },
{ type: "wheel", x: 1, deltaX: 5, deltaY: 10 },
{ type: "wheel", x: 2, deltaY: 10 },
{ type: "wheel", x: 2, deltaY: 10, modifiers: 2 },
{ type: "wheel", x: 2, deltaY: -10, modifiers: 2 },
{ type: "wheel", x: 2, deltaY: -10, modifiers: 2 },
],
expected: [
{ type: "mouseMoved", x: -1 },
{ type: "mouseWheel", x: 1, deltaX: 10, deltaY: 20, modifiers: 0 },
{ type: "mouseWheel", x: 2, deltaX: 0, deltaY: 10, modifiers: 0 },
{ type: "mouseWheel", x: 2, deltaY: 10, modifiers: 2 },
{ type: "mouseWheel", x: 2, deltaY: -20, modifiers: 2 },
],
},
{
name: "text, navigation and resize boundaries",
inputs: [
Expand Down
25 changes: 22 additions & 3 deletions 25 apps/server/src/preview/ServerBrowser.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2639,16 +2639,35 @@ const make = Effect.gen(function* () {
: {}),
});
} else {
const dispatch = () => dispatchViewerInput(tab, session, viewer, message);
const dispatch = (input: Record<string, unknown>) =>
dispatchViewerInput(tab, session, viewer, input);
if (
message.type === "mouse" &&
message.action === "move" &&
message.button === "none" &&
message.buttons === 0
) {
await tab.control.humanLatest(viewer.id, `hover:${modifiersOf(message)}`, dispatch);
await tab.control.humanLatest(
viewer.id,
`hover:${modifiersOf(message)}`,
message,
dispatch,
);
} else if (message.type === "wheel") {
// A reversal stays separate so scrolling clamped at an edge behaves as if unmerged.
await tab.control.humanLatest(
viewer.id,
`wheel:${num(message.x)}:${num(message.y)}:${modifiersOf(message)}:${Math.sign(num(message.deltaX))}:${Math.sign(num(message.deltaY))}`,
message,
dispatch,
(waiting, next) => ({
...next,
deltaX: num(waiting.deltaX) + num(next.deltaX),
deltaY: num(waiting.deltaY) + num(next.deltaY),
}),
);
} else {
await tab.control.human(viewer.id, dispatch);
await tab.control.human(viewer.id, () => dispatch(message));
}
}
} catch {
Expand Down
36 changes: 18 additions & 18 deletions 36 apps/server/src/preview/SessionControl.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ describe("SessionControl", () => {
const started = Promise.withResolvers<void>();
const finish = Promise.withResolvers<void>();
const events: Array<number | string> = [];
const running = control.humanLatest("viewer", "hover:0", async () => {
const running = control.humanLatest("viewer", "hover:0", undefined, async () => {
events.push("running");
started.resolve();
await finish.promise;
});
await started.promise;
const moves = Array.from({ length: 120 }, (_, position) =>
control.humanLatest("viewer", "hover:0", async () => {
control.humanLatest("viewer", "hover:0", undefined, async () => {
events.push(position);
}),
);
Expand All @@ -36,19 +36,19 @@ describe("SessionControl", () => {
const finish = Promise.withResolvers<void>();
const events: string[] = [];
const running = control.human("viewer", () => finish.promise);
const before = control.humanLatest("viewer", "hover:0", async () => {
const before = control.humanLatest("viewer", "hover:0", undefined, async () => {
events.push("before");
});
const recordBarrier = async () => {
events.push("barrier");
};
const between =
barrier === "modifiers"
? control.humanLatest("viewer", "hover:2", recordBarrier)
? control.humanLatest("viewer", "hover:2", undefined, recordBarrier)
: barrier === "system"
? control.system(recordBarrier)
: control.human("viewer", recordBarrier);
const after = control.humanLatest("viewer", "hover:0", async () => {
const after = control.humanLatest("viewer", "hover:0", undefined, async () => {
events.push("after");
});
finish.resolve();
Expand All @@ -63,15 +63,15 @@ describe("SessionControl", () => {
const finish = Promise.withResolvers<void>();
const events: string[] = [];
const running = control.human("viewer", () => finish.promise);
const stale = control.humanLatest("viewer", "hover", async () => {
const stale = control.humanLatest("viewer", "hover", undefined, async () => {
events.push("stale");
});
await expect(
control.humanLatest("other", "hover", async () => {
control.humanLatest("other", "hover", undefined, async () => {
events.push("other");
}),
).rejects.toThrow(BrowserControlInterrupted);
const latest = control.humanLatest("viewer", "hover", async () => {
const latest = control.humanLatest("viewer", "hover", undefined, async () => {
events.push("latest");
});
finish.resolve();
Expand All @@ -93,16 +93,16 @@ describe("SessionControl", () => {
});
await started.promise;
const stale = expect(
control.humanLatest("viewer", "hover", async () => {
control.humanLatest("viewer", "hover", undefined, async () => {
events.push("stale");
}),
).rejects.toThrow(BrowserControlInterrupted);
const released = control[handoff]("viewer");
const retaken = control.take("viewer");
const fresh = control.humanLatest("viewer", "hover", async () => {
const fresh = control.humanLatest("viewer", "hover", undefined, async () => {
events.push("fresh");
});
const latest = control.humanLatest("viewer", "hover", async () => {
const latest = control.humanLatest("viewer", "hover", undefined, async () => {
events.push("latest");
});
finish.resolve();
Expand All @@ -124,14 +124,14 @@ describe("SessionControl", () => {
await started.promise;
const waiting = [1, 2].map((position) =>
expect(
control.humanLatest("viewer", "hover", async () => {
control.humanLatest("viewer", "hover", undefined, async () => {
events.push(`hover ${position}`);
}),
).rejects.toThrow("closed"),
);
const closed = control.close();
await expect(
control.humanLatest("viewer", "hover", async () => {
control.humanLatest("viewer", "hover", undefined, async () => {
events.push("after close");
}),
).rejects.toThrow("closed");
Expand All @@ -147,18 +147,18 @@ describe("SessionControl", () => {
const events: string[] = [];
const running = control.human("viewer", () => finish.promise);
const first = expect(
control.humanLatest("viewer", "hover", async () => {
control.humanLatest("viewer", "hover", undefined, async () => {
events.push("superseded");
}),
).rejects.toThrow("dispatch failed");
const last = expect(
control.humanLatest("viewer", "hover", async () => {
control.humanLatest("viewer", "hover", undefined, async () => {
throw new Error("dispatch failed");
}),
).rejects.toThrow("dispatch failed");
finish.resolve();
await Promise.all([running, first, last]);
await control.humanLatest("viewer", "hover", async () => {
await control.humanLatest("viewer", "hover", undefined, async () => {
events.push("recovered");
});
expect(events).toEqual(["recovered"]);
Expand All @@ -177,10 +177,10 @@ describe("SessionControl", () => {
);
return "started";
});
const first = control.humanLatest("viewer", "hover", async () => {
const first = control.humanLatest("viewer", "hover", undefined, async () => {
events.push("superseded");
});
const latest = control.humanLatest("viewer", "hover", async () => {
const latest = control.humanLatest("viewer", "hover", undefined, async () => {
events.push("latest");
});
await expect(navigation).resolves.toBe("started");
Expand Down
22 changes: 16 additions & 6 deletions 22 apps/server/src/preview/SessionControl.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class SessionControl {
private readonly onGenerationChange: () => void;
private tail: Promise<unknown> = Promise.resolve();
private latestHuman: {
entry: { viewerId: string; key: string; run: () => Promise<void> };
entry: { viewerId: string; key: string; input: unknown; run: (input: never) => Promise<void> };
result: Promise<void>;
} | null = null;
private pending: Promise<void> = Promise.resolve();
Expand Down Expand Up @@ -134,18 +134,28 @@ export class SessionControl {
return this.action(() => this.owner === viewerId, run);
}

/** Replace only adjacent waiting work; the running action and intervening actions keep their order. */
humanLatest(viewerId: string, key: string, run: () => Promise<void>): Promise<void> {
if (this.closed || this.owner !== viewerId) return this.human(viewerId, run);
/**
* Merge into only adjacent waiting work with the same key; the running action and
* intervening actions keep their order. Work sharing a key must share its input type.
*/
humanLatest<A>(
viewerId: string,
key: string,
input: A,
run: (input: A) => Promise<void>,
merge: (waiting: A, next: A) => A = (_waiting, next) => next,
): Promise<void> {
if (this.closed || this.owner !== viewerId) return this.human(viewerId, () => run(input));
const latest = this.latestHuman;
if (latest?.entry.viewerId === viewerId && latest.entry.key === key) {
latest.entry.input = merge(latest.entry.input as A, input);
latest.entry.run = run;
return latest.result;
}
const entry = { viewerId, key, run };
const entry = { viewerId, key, input, run };
const result = this.human(viewerId, async () => {
if (this.latestHuman?.entry === entry) this.latestHuman = null;
await entry.run();
await entry.run(entry.input);
});
this.latestHuman = { entry, result };
return result;
Expand Down
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.
You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.