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(release): sync upstream main for RTVision 0.0.54 by kalvenschraut · Pull Request #59 · RTVision/t3code

chore(release): sync upstream main for RTVision 0.0.54 #59

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
kalvenschraut merged 57 commits into rtvision from sync/upstream-rtvision-0.0.54
Sep 15, 2026

Uh oh!

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

Merged

chore(release): sync upstream main for RTVision 0.0.54 #59

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
01e05c1
docs(claude): clarify OpenRouter model selection (#11369)
shivamhwp Sep 14, 2026
0dec07d
fix(web): keep large image previews from stalling composer typing (#1…
shivamhwp Sep 14, 2026
8ef478e
fix(server): avoid extra round trips for terminal output (#11407)
Bil0000 Sep 14, 2026
6f00d38
fix(web): remember panel width for each thread (#11310)
shivamhwp Sep 14, 2026
9375c77
fix(release): preserve updates from npm-based services (#11732)
t3dotgg Sep 14, 2026
8b1ea4d
fix(desktop): restore Node discovery for WSL providers (#11741)
akj Sep 14, 2026
ae67c5b
fix(release): stop npm from pruning the platform packages' shipped no…
juliusmarminge Sep 14, 2026
955b787
fix(server): parse CLI versions with a "v" prefix (#11738)
NikodemNowak Sep 14, 2026
05e3bcb
fix(desktop): keep preview releases out of the nightly update changel…
juliusmarminge Sep 14, 2026
ec5ede5
fix(web): open video attachment thumbnails in the viewer (#11734)
chrisdeeming Sep 14, 2026
494cfac
Allow setting T3CODE_OTLP_HEADERS (#11218)
bahlo Sep 14, 2026
47ace94
fix(web): use consistent PR section toggles (#11763)
Bil0000 Sep 14, 2026
33118d9
Add T3CODE_OTLP_PROTOCOL to allow protobuf protocol (#11224)
bahlo Sep 14, 2026
9130d93
feat(web): add composer and PR number shortcuts (#11615)
Bil0000 Sep 14, 2026
f328db3
chore(server): keep the legacy service entry point to the npm package…
juliusmarminge Sep 14, 2026
112a708
fix(web): use project monograms for automatic icon fallbacks (#11572)
ShpetimA Sep 14, 2026
8d7c700
feat(web): clone repositories in the background instead of holding th…
juliusmarminge Sep 14, 2026
549d182
feat(mobile): clone repositories in the background and gate the draft…
juliusmarminge Sep 14, 2026
9d4bb55
fix(mobile): scale inline pills with Dynamic Type (#11792)
juliusmarminge Sep 14, 2026
bcc2024
chore(deps): bump the Clerk stack to current releases (#11764)
juliusmarminge Sep 14, 2026
0f21fcb
feat(mobile): add a T3 Connect page to the Clerk profile (#11765)
juliusmarminge Sep 14, 2026
dc0869b
feat(server): use Clerk's device authorization grant for headless con…
juliusmarminge Sep 14, 2026
8419238
Add new GitHub user f-trycua
juliusmarminge Sep 14, 2026
7931227
fix(server): stop refreshing providers on every config subscription (…
juliusmarminge Sep 14, 2026
5bf43c9
fix(web): align monogram project icons in menus (#11806)
juliusmarminge Sep 14, 2026
9a49d6d
ci(desktop): sign fork PR macOS previews without exposing signing sec…
juliusmarminge Sep 14, 2026
014016a
fix(web): make copy PR link discoverable in keybindings (#11826)
Bil0000 Sep 15, 2026
3be02ae
feat: add custom snooze dates and durations (#11800)
juliusmarminge Sep 15, 2026
ea6af59
feat(mobile): redesign the Android agent activity card (#11645)
SunkenInTime Sep 15, 2026
6dbea7e
chore(mobile): bump app version to 1.2.0
t3-code-bot[bot] Sep 15, 2026
5ea6439
feat(web): inline worktree setup rows and async setup scripts (#11832)
juliusmarminge Sep 15, 2026
b5b29e7
fix(server): stream tight list items one at a time in paragraph mode …
juliusmarminge Sep 15, 2026
7cafe52
fix(server): keep thread titles tied to user intent (#10720)
t3dotgg Sep 15, 2026
e9b0555
Remove labels from effect service conventions
juliusmarminge Sep 15, 2026
537dc0f
Remove labels from ui-consistency.md
juliusmarminge Sep 15, 2026
970a873
Change conclusion status from failure to neutral
juliusmarminge Sep 15, 2026
8b9f6d3
Change conclusion from 'failure' to 'neutral'
juliusmarminge Sep 15, 2026
08abda9
refactor(server): resolve title links through source control provider…
juliusmarminge Sep 15, 2026
a62e7d6
refactor(server): align title generation with Effect conventions (#11…
juliusmarminge Sep 15, 2026
5623089
fix(server): disable color probes in worktree setup (#11843)
juliusmarminge Sep 15, 2026
0310cbf
fix: keep worktree setup visible after leaving and reopening the thre…
t3dotgg Sep 15, 2026
b20d29d
fix(desktop): prevent startup from running twice (#11857)
juliusmarminge Sep 15, 2026
26b8f98
feat(mobile): add iPad keyboard shortcuts and command palette (#11679)
bmdavis419 Sep 15, 2026
2c19283
feat(server): persist the worktree setup send and progress on the thr…
juliusmarminge Sep 15, 2026
cc839c4
feat(web): queue messages sent client-side while the agent is working…
t3dotgg Sep 15, 2026
5b377e2
fix(server): bound Git process bursts to keep connections responsive …
Bil0000 Sep 15, 2026
a37b852
perf(server): speed up worktree fetch and checkout (#11633)
Bil0000 Sep 15, 2026
9ea892e
fix(client): show thread state changes before remote replies (#11408)
Bil0000 Sep 15, 2026
6ecc15f
fix(mobile): restrict row highlighting to pointer input (#11863)
juliusmarminge Sep 15, 2026
50ff4c3
fix(mobile): ensure a compatible native client before verification (#…
juliusmarminge Sep 15, 2026
3c4c9a1
fix(web): restore composer focus after closing option menus (#11884)
Bil0000 Sep 15, 2026
bf3be75
fix(web): center refresh devices in the empty state (#11808)
shivamhwp Sep 15, 2026
e33b710
fix(mobile): match command palette colors to sheets (#11861)
juliusmarminge Sep 15, 2026
ae53072
fix(web): keep the composer ready during background worktree setup (#…
Bil0000 Sep 15, 2026
c1b2210
fix(desktop): keep the sidebar brand and window buttons aligned (#11906)
shivamhwp Sep 15, 2026
4b1b372
chore(sync): import upstream main before RTVision conflict overlays
kalvenschraut Sep 15, 2026
e653558
fix(sync): retain RTVision integrations for release 0.0.54
kalvenschraut Sep 15, 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): avoid extra round trips for terminal output (pingdotgg#1…
…1407)

Co-authored-by: shivam <[email protected]>
  • Loading branch information

Uh oh!

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

@Bil0000 @shivamhwp
Bil0000 and shivamhwp authored Sep 14, 2026
commit 8ef478eb0a6deeef81c5421dd7bb1c6b8c4d0e7d

There are no files selected for viewing

79 changes: 79 additions & 0 deletions 79 apps/server/src/terminal/OutputProtocol.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import { assert, describe, it } from "@effect/vitest";
import { WS_METHODS } from "@t3tools/contracts";
import * as Deferred from "effect/Deferred";
import * as Effect from "effect/Effect";
import * as Queue from "effect/Queue";
import * as Schema from "effect/Schema";
import * as Stream from "effect/Stream";
import * as TestClock from "effect/testing/TestClock";
import { Rpc, RpcGroup, RpcMessage, RpcSerialization, RpcServer } from "effect/unstable/rpc";

import { withTerminalOutputWindow } from "./OutputProtocol.ts";

describe("terminal output window", () => {
for (const { tag, size, limit } of [
{ tag: WS_METHODS.terminalAttach, size: 1, limit: 8 },
{ tag: WS_METHODS.subscribeTerminalEvents, size: 1, limit: 8 },
{ tag: WS_METHODS.terminalAttach, size: 64 * 1024, limit: 1 },
{ tag: WS_METHODS.subscribeTerminalMetadata, size: 1, limit: 1 },
]) {
it.effect(`limits ${tag} with ${size}-byte values to ${limit} pending chunks`, () =>
Effect.gen(function* () {
const group = RpcGroup.make(Rpc.make(tag, { success: Schema.String, stream: true }));
const output = yield* Queue.unbounded<string>();
const responses = yield* Queue.unbounded<RpcMessage.FromServerEncoded>();
const receive = yield* Deferred.make<Parameters<RpcServer.Protocol["Service"]["run"]>[0]>();
const protocol = yield* RpcServer.Protocol.make((write) =>
Effect.gen(function* () {
yield* Deferred.succeed(receive, write);
const serialization = yield* RpcSerialization.RpcSerialization;
return {
disconnects: yield* Queue.unbounded<number>(),
send: (_clientId, response) => Queue.offer(responses, response),
end: () => Effect.void,
clientIds: Effect.succeed(new Set([0])),
initialMessage: Effect.succeedNone,
supportsAck: true,
supportsTransferables: false,
supportsSpanPropagation: false,
supportsNotifications: true,
codecFor: serialization.codecFor,
};
}),
);
yield* RpcServer.make(group).pipe(
Effect.provide(group.toLayerHandler(tag, () => Stream.fromQueue(output))),
Effect.provideService(RpcServer.Protocol, withTerminalOutputWindow(protocol)),
Effect.forkScoped,
);
const write = yield* Deferred.await(receive);
yield* write(0, { _tag: "Request", id: "1", tag, payload: null, headers: [] });

for (let index = 0; index < limit; index++) {
const value = String(index).repeat(size);
yield* Queue.offer(output, value);
yield* TestClock.adjust(0);
assert.equal(yield* Queue.size(responses), 1);
assert.deepEqual(yield* Queue.take(responses), {
_tag: "Chunk",
requestId: "1",
values: [value],
});
}
yield* Queue.offer(output, "i".repeat(size));
yield* TestClock.adjust(0);
assert.equal(yield* Queue.size(responses), 0);
yield* write(0, { _tag: "Ack", requestId: "1" });
const resumed = yield* Queue.take(responses);
assert.equal(resumed._tag, "Chunk");
if (resumed._tag === "Chunk") assert.deepEqual(resumed.values, ["i".repeat(size)]);

yield* Queue.offer(output, "j");
yield* TestClock.adjust(0);
assert.equal(yield* Queue.size(responses), 0);
yield* write(0, { _tag: "Interrupt", requestId: "1" });
assert.equal((yield* Queue.take(responses))._tag, "Exit");
}).pipe(Effect.provide(RpcSerialization.layerJson), Effect.scoped),
);
}
});
67 changes: 67 additions & 0 deletions 67 apps/server/src/terminal/OutputProtocol.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
import { WS_METHODS } from "@t3tools/contracts";
import * as Effect from "effect/Effect";
import type { RpcServer } from "effect/unstable/rpc";

const MAX_PENDING_CHUNKS = 8;
const MAX_PENDING_BYTES = 64 * 1024;
const isFull = (sizes: number[]) =>
sizes.length >= MAX_PENDING_CHUNKS ||
sizes.reduce((total, size) => total + size, 0) >= MAX_PENDING_BYTES;

export function withTerminalOutputWindow(
protocol: RpcServer.Protocol["Service"],
): RpcServer.Protocol["Service"] {
const windows = new Map<string, number[]>();
let receive: Parameters<RpcServer.Protocol["Service"]["run"]>[0];
return {
...protocol,
run: (write) => {
receive = write;
return protocol.run((clientId, message) =>
Effect.suspend(() => {
if (
message._tag === "Request" &&
(message.tag === WS_METHODS.terminalAttach ||
message.tag === WS_METHODS.subscribeTerminalEvents)
) {
const key = `${clientId}:${message.id}`;
if (!windows.has(key)) windows.set(key, []);
} else if (message._tag === "Ack") {
const window = windows.get(`${clientId}:${message.requestId}`);
if (window) {
const wasFull = isFull(window);
window.shift();
if (!wasFull || isFull(window)) return Effect.void;
}
}
return write(clientId, message);
}),
);
},
send: (clientId, response, transferables) =>
Effect.suspend(() => {
const send = protocol.send(clientId, response, transferables);
if (response._tag === "Exit") {
windows.delete(`${clientId}:${response.requestId}`);
} else if (response._tag === "Chunk") {
const window = windows.get(`${clientId}:${response.requestId}`);
if (window) {
// @effect-diagnostics-next-line preferSchemaOverJson:off
const size = Buffer.byteLength(JSON.stringify(response));
window.push(size);
if (!isFull(window)) {
return send.pipe(
Effect.andThen(() =>
receive(clientId, {
_tag: "Ack",
requestId: response.requestId,
}),
),
);
}
}
}
return send;
}),
};
}
11 changes: 9 additions & 2 deletions 11 apps/server/src/ws.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ import * as ServerLifecycleEvents from "./serverLifecycleEvents.ts";
import * as ServerRuntimeStartup from "./serverRuntimeStartup.ts";
import * as ServerSettings from "./serverSettings.ts";
import * as TerminalManager from "./terminal/Manager.ts";
import { withTerminalOutputWindow } from "./terminal/OutputProtocol.ts";
import * as PreviewAutomationBroker from "./mcp/PreviewAutomationBroker.ts";
import * as DeviceService from "./device/DeviceService.ts";
import { remoteSshDeviceHosts } from "./device/localSshDeviceHost.ts";
Expand Down Expand Up @@ -3446,8 +3447,14 @@ export const websocketRpcRouteLayer = Layer.unwrap(
const clientAnalyticsProps = readClientAnalyticsProps(request);
yield* sessions.recordClientConnection(session.sessionId, clientOrigin);
yield* analytics.record("client.connected", clientAnalyticsProps);
const rpcWebSocketHttpEffect = yield* RpcServer.toHttpEffectWebsocket(WsRpcGroup, {
disableTracing: true,
const rpcWebSocketHttpEffect = yield* Effect.gen(function* () {
const { protocol, httpEffect } = yield* RpcServer.makeProtocolWithHttpEffectWebsocket;
yield* RpcServer.make(WsRpcGroup, { disableTracing: true }).pipe(
Effect.provideService(RpcServer.Protocol, withTerminalOutputWindow(protocol)),
Effect.forkScoped,
);
// @effect-diagnostics-next-line returnEffectInGen:off
return httpEffect;
}).pipe(
Effect.provide(
makeWsRpcLayer(
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 01402792 — 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.