From fe3d00aeea1ab059e198f77eb067a1d51a728d6e Mon Sep 17 00:00:00 2001
From: Henry Chu
Date: Tue, 27 Oct 2026 08:20:44 -0400
Subject: [PATCH 1/6] Load only the text worker in the document-text child
The helper entry statically imported the whole server runtime, so every office
document extraction child evaluated the full bundle (about 5 s under amd64
emulation, near the 15 s timeout with a 192 MB heap). Move the stdio runtime to
helper.ts and import each branch lazily, as upstream's bin.ts does; the child
now takes about 1.8 s. Also drop bin.test.ts's unused ProviderInstanceId.
Co-Authored-By: Claude Opus 5.5
---
apps/coder-helper/src/bin.test.ts | 2 +-
apps/coder-helper/src/bin.ts | 87 +++----------------------------
apps/coder-helper/src/helper.ts | 75 ++++++++++++++++++++++++++
3 files changed, 84 insertions(+), 80 deletions(-)
create mode 100644 apps/coder-helper/src/helper.ts
diff --git a/apps/coder-helper/src/bin.test.ts b/apps/coder-helper/src/bin.test.ts
index 12bb0bcadf081..49f534d0f7f9a 100644
--- a/apps/coder-helper/src/bin.test.ts
+++ b/apps/coder-helper/src/bin.test.ts
@@ -8,7 +8,7 @@ import { describe, it } from "node:test";
import { fileURLToPath } from "node:url";
import { CODER_HELPER_INFO_METHOD, CODER_HELPER_PROTOCOL_VERSION } from "@t3tools/coder-cli/rpc";
-import { ORCHESTRATION_V2_WS_METHODS, ProviderInstanceId, WS_METHODS } from "@t3tools/contracts";
+import { ORCHESTRATION_V2_WS_METHODS, WS_METHODS } from "@t3tools/contracts";
function makeNdjsonReader(stream: NodeJS.ReadableStream): () => Promise {
const queued: Array = [];
diff --git a/apps/coder-helper/src/bin.ts b/apps/coder-helper/src/bin.ts
index 5e55f64785127..e4777a5a6c11a 100644
--- a/apps/coder-helper/src/bin.ts
+++ b/apps/coder-helper/src/bin.ts
@@ -1,83 +1,7 @@
-import * as NodeRuntime from "@effect/platform-node/NodeRuntime";
-import * as NodeServices from "@effect/platform-node/NodeServices";
-import * as NodeStdio from "@effect/platform-node/NodeStdio";
-import { CoderWsRpcGroup } from "@t3tools/contracts";
-import * as Effect from "effect/Effect";
-import * as Layer from "effect/Layer";
-import * as Logger from "effect/Logger";
-import * as Path from "effect/Path";
-import * as RpcSerialization from "effect/rpc/RpcSerialization";
-import * as RpcServer from "effect/rpc/RpcServer";
-
-import {
- CODER_HELPER_INFO_METHOD,
- CODER_HELPER_PROTOCOL_VERSION,
- CoderHelperProtocolError,
- CoderHelperRpcGroup,
-} from "@t3tools/coder-cli/rpc";
-import * as ServerConfig from "t3/src/config.ts";
-import * as DefectReporter from "t3/src/observability/DefectReporter.ts";
-import { withTerminalOutputWindow } from "t3/src/terminal/OutputProtocol.ts";
-import { makeCoderRuntimeLayer } from "t3/src/coderServer.ts";
-import { WS_RPC_SERVER_OPTIONS } from "t3/src/ws.ts";
-
-export const coderHelperHandlers = CoderHelperRpcGroup.toLayer({
- [CODER_HELPER_INFO_METHOD]: ({ protocolVersion }) =>
- protocolVersion === CODER_HELPER_PROTOCOL_VERSION
- ? Effect.succeed({
- protocolVersion: CODER_HELPER_PROTOCOL_VERSION,
- platform: process.platform,
- architecture: process.arch,
- })
- : Effect.fail(
- new CoderHelperProtocolError({
- message: `Unsupported protocol version ${protocolVersion}.`,
- supportedVersion: CODER_HELPER_PROTOCOL_VERSION,
- }),
- ),
-});
-
-const coderServerConfigLayer = Layer.effect(
- ServerConfig.ServerConfig,
- Effect.gen(function* () {
- const path = yield* Path.Path;
- const baseDir =
- process.env.T3_CODER_HOME?.trim() || path.join(process.env.HOME ?? ".", ".t3-coder");
- const cwd = process.env.T3_CODER_CWD?.trim() || process.env.HOME?.trim() || process.cwd();
- const derivedPaths = yield* ServerConfig.deriveServerPaths(baseDir);
- yield* ServerConfig.ensureServerDirectories(derivedPaths);
- return ServerConfig.ServerConfig.of({
- ...derivedPaths,
- cwd,
- baseDir,
- });
- }),
-);
-
-export const CoderWorkspaceRpcGroup = CoderHelperRpcGroup.merge(CoderWsRpcGroup);
-
-export const coderHelperStdioLayer = RpcServer.layer(
- CoderWorkspaceRpcGroup,
- WS_RPC_SERVER_OPTIONS,
-).pipe(
- Layer.provide(Layer.mergeAll(coderHelperHandlers, makeCoderRuntimeLayer(), DefectReporter.layer)),
- Layer.provide(
- Layer.effect(RpcServer.Protocol, Effect.map(RpcServer.Protocol, withTerminalOutputWindow)).pipe(
- Layer.provide(RpcServer.layerProtocolStdio),
- ),
- ),
- Layer.provide(RpcSerialization.layerNdjson),
- Layer.provide(NodeStdio.layer),
- Layer.provide(coderServerConfigLayer),
- Layer.provide(NodeServices.layer),
- // Keep Effect logs, including DefectReporter's, off stdout, which carries the NDJSON RPC
- // transport. The helper launch discards stderr, so these logs are not kept anywhere.
- Layer.provide(Layer.succeed(Logger.LogToStderr)(true)),
-);
-
// Coder: upstream's `bin.ts` dispatch for `DocumentText.ts`, which runs office document text
// extraction in a child process of the server's own entry point; here that is the helper bundle.
-if (import.meta.main && process.argv[2] === "__document-text") {
+// Both branches import lazily so the extraction child loads only its worker, as upstream's does.
+if (process.argv[2] === "__document-text") {
const { extractDocumentText } = await import("t3/src/provider/documentTextWorker.ts");
try {
process.stdout.write(await extractDocumentText(process.argv[3]!, process.argv[4]!));
@@ -88,6 +12,11 @@ if (import.meta.main && process.argv[2] === "__document-text") {
// Exit 2 identifies document rejections; OS and process failures remain retryable.
process.exitCode = 2;
}
-} else if (import.meta.main) {
+} else {
+ const [{ coderHelperStdioLayer }, Layer, NodeRuntime] = await Promise.all([
+ import("./helper.ts"),
+ import("effect/Layer"),
+ import("@effect/platform-node/NodeRuntime"),
+ ]);
Layer.launch(coderHelperStdioLayer).pipe(NodeRuntime.runMain);
}
diff --git a/apps/coder-helper/src/helper.ts b/apps/coder-helper/src/helper.ts
new file mode 100644
index 0000000000000..b0717c71addae
--- /dev/null
+++ b/apps/coder-helper/src/helper.ts
@@ -0,0 +1,75 @@
+import * as NodeServices from "@effect/platform-node/NodeServices";
+import * as NodeStdio from "@effect/platform-node/NodeStdio";
+import { CoderWsRpcGroup } from "@t3tools/contracts";
+import * as Effect from "effect/Effect";
+import * as Layer from "effect/Layer";
+import * as Logger from "effect/Logger";
+import * as Path from "effect/Path";
+import * as RpcSerialization from "effect/rpc/RpcSerialization";
+import * as RpcServer from "effect/rpc/RpcServer";
+
+import {
+ CODER_HELPER_INFO_METHOD,
+ CODER_HELPER_PROTOCOL_VERSION,
+ CoderHelperProtocolError,
+ CoderHelperRpcGroup,
+} from "@t3tools/coder-cli/rpc";
+import * as ServerConfig from "t3/src/config.ts";
+import * as DefectReporter from "t3/src/observability/DefectReporter.ts";
+import { withTerminalOutputWindow } from "t3/src/terminal/OutputProtocol.ts";
+import { makeCoderRuntimeLayer } from "t3/src/coderServer.ts";
+import { WS_RPC_SERVER_OPTIONS } from "t3/src/ws.ts";
+
+export const coderHelperHandlers = CoderHelperRpcGroup.toLayer({
+ [CODER_HELPER_INFO_METHOD]: ({ protocolVersion }) =>
+ protocolVersion === CODER_HELPER_PROTOCOL_VERSION
+ ? Effect.succeed({
+ protocolVersion: CODER_HELPER_PROTOCOL_VERSION,
+ platform: process.platform,
+ architecture: process.arch,
+ })
+ : Effect.fail(
+ new CoderHelperProtocolError({
+ message: `Unsupported protocol version ${protocolVersion}.`,
+ supportedVersion: CODER_HELPER_PROTOCOL_VERSION,
+ }),
+ ),
+});
+
+const coderServerConfigLayer = Layer.effect(
+ ServerConfig.ServerConfig,
+ Effect.gen(function* () {
+ const path = yield* Path.Path;
+ const baseDir =
+ process.env.T3_CODER_HOME?.trim() || path.join(process.env.HOME ?? ".", ".t3-coder");
+ const cwd = process.env.T3_CODER_CWD?.trim() || process.env.HOME?.trim() || process.cwd();
+ const derivedPaths = yield* ServerConfig.deriveServerPaths(baseDir);
+ yield* ServerConfig.ensureServerDirectories(derivedPaths);
+ return ServerConfig.ServerConfig.of({
+ ...derivedPaths,
+ cwd,
+ baseDir,
+ });
+ }),
+);
+
+export const CoderWorkspaceRpcGroup = CoderHelperRpcGroup.merge(CoderWsRpcGroup);
+
+export const coderHelperStdioLayer = RpcServer.layer(
+ CoderWorkspaceRpcGroup,
+ WS_RPC_SERVER_OPTIONS,
+).pipe(
+ Layer.provide(Layer.mergeAll(coderHelperHandlers, makeCoderRuntimeLayer(), DefectReporter.layer)),
+ Layer.provide(
+ Layer.effect(RpcServer.Protocol, Effect.map(RpcServer.Protocol, withTerminalOutputWindow)).pipe(
+ Layer.provide(RpcServer.layerProtocolStdio),
+ ),
+ ),
+ Layer.provide(RpcSerialization.layerNdjson),
+ Layer.provide(NodeStdio.layer),
+ Layer.provide(coderServerConfigLayer),
+ Layer.provide(NodeServices.layer),
+ // Keep Effect logs, including DefectReporter's, off stdout, which carries the NDJSON RPC
+ // transport. The helper launch discards stderr, so these logs are not kept anywhere.
+ Layer.provide(Layer.succeed(Logger.LogToStderr)(true)),
+);
From 397447a25ac20a4567c105a2f32db5c55aeaa52a Mon Sep 17 00:00:00 2001
From: Henry Chu
Date: Tue, 27 Oct 2026 08:20:44 -0400
Subject: [PATCH 2/6] Restore the draft-thread fallback in
useActiveProjectTarget
An older fork edit dropped upstream's activeDraftThread fallback without a
seam, so the file picker and content search had no project on draft routes.
Co-Authored-By: Claude Opus 5.5
---
apps/web/src/hooks/useActiveProjectTarget.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/apps/web/src/hooks/useActiveProjectTarget.ts b/apps/web/src/hooks/useActiveProjectTarget.ts
index 46864b918a27b..d90c91ca95351 100644
--- a/apps/web/src/hooks/useActiveProjectTarget.ts
+++ b/apps/web/src/hooks/useActiveProjectTarget.ts
@@ -13,10 +13,10 @@ export interface ActiveProjectTarget {
}
export function useActiveProjectTarget(): ActiveProjectTarget | null {
- const { activeThread } = useHandleNewThread();
+ const { activeDraftThread, activeThread } = useHandleNewThread();
const projects = useProjects();
- const thread = activeThread;
- const threadId = activeThread?.id;
+ const thread = activeThread ?? activeDraftThread;
+ const threadId = activeThread?.id ?? activeDraftThread?.threadId;
const project = thread
? projects.find(
(candidate) =>
From 46f261ae38a5d922a97f8210eddac3412d6eb4a7 Mon Sep 17 00:00:00 2001
From: Henry Chu
Date: Tue, 27 Oct 2026 08:20:44 -0400
Subject: [PATCH 3/6] Fix UI drift the review found
- Thread details rendered the workspace row twice (a line upstream removed).
- The title menu waited the desktop delay in the browser; open it at once as
upstream's web build does.
- Thread notifications uses upstream's searchable row again.
- Restore upstream's Jujutsu VCS icon mapping.
- Merge request and T3 Coder wording for the MR page ghosts and error, the
sent-by attribution, and the keybindings browser notice.
Co-Authored-By: Claude Opus 5.5
---
apps/web/src/components/chat/ChatHeader.tsx | 3 ++-
apps/web/src/components/chat/ThreadDetailsPanel.tsx | 4 ----
apps/web/src/components/chat/TimelineUserMessageRow.tsx | 3 ++-
apps/web/src/components/pullRequest/PullRequestsPage.tsx | 6 +++---
apps/web/src/components/settings/KeybindingsSettings.tsx | 2 +-
apps/web/src/components/settings/NotificationSettings.tsx | 6 +++---
apps/web/src/components/settings/SourceControlSettings.tsx | 3 ++-
7 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/apps/web/src/components/chat/ChatHeader.tsx b/apps/web/src/components/chat/ChatHeader.tsx
index 6d5ff39ed0ee6..41b11dbf780f3 100644
--- a/apps/web/src/components/chat/ChatHeader.tsx
+++ b/apps/web/src/components/chat/ChatHeader.tsx
@@ -216,7 +216,8 @@ export const ChatHeader = memo(function ChatHeader({
if (isTrailingDoubleClick(event.detail)) return;
const clickedChevron =
(event.target as HTMLElement).closest("[data-thread-title-chevron]") !== null;
- if (event.detail === 0 || clickedChevron) {
+ // Coder: the fork's Window type has no `desktopBridge`; the browser opens at once, as upstream's web build does.
+ if (event.detail === 0 || clickedChevron || !("desktopBridge" in window)) {
openTitleMenuNow();
return;
}
diff --git a/apps/web/src/components/chat/ThreadDetailsPanel.tsx b/apps/web/src/components/chat/ThreadDetailsPanel.tsx
index f191605a919f5..7e8f8d244ce0c 100644
--- a/apps/web/src/components/chat/ThreadDetailsPanel.tsx
+++ b/apps/web/src/components/chat/ThreadDetailsPanel.tsx
@@ -128,10 +128,6 @@ export function ThreadDetailsPanel(props: ThreadDetailsPanelProps) {
/>
) : null}
- {density === "full" ? (
-
- ) : null}
-
{props.activeProjectScripts ? (
- Sent by T3 Code
+ {/* Coder: messages T3 sent are attributed under the T3 Coder name. */}
+ Sent by T3 Coder
) : null}
{row.message.inputIntent === "steer" ||
diff --git a/apps/web/src/components/pullRequest/PullRequestsPage.tsx b/apps/web/src/components/pullRequest/PullRequestsPage.tsx
index eee411e3c261a..13f7bc43c779b 100644
--- a/apps/web/src/components/pullRequest/PullRequestsPage.tsx
+++ b/apps/web/src/components/pullRequest/PullRequestsPage.tsx
@@ -1132,14 +1132,14 @@ export function PullRequestsPage() {
const listBody = (
<>
{!capabilityKnown ? (
-
+
) : !pullRequestsSupported ? (
) : firstLoad ? (
-
+
) : listQuery.error && shownCount === 0 ? (
> = {
git: GitIcon,
+ jj: JujutsuIcon,
};
const SOURCE_CONTROL_SKELETON_ROWS = ["primary", "secondary"] as const;
From 6a5864b918787a050d0258c56bab64ec48163640 Mon Sep 17 00:00:00 2001
From: Henry Chu
Date: Tue, 27 Oct 2026 08:20:44 -0400
Subject: [PATCH 4/6] Remove dead fork code and stale config
Delete fork-only modules nothing imports (claudeCompaction, composerSelectionHold,
composerImageThumbnail) and a test for an uncarried script; drop the shared
./dateTime export and a stale knip entry for moved files, the unused desktop
download URL, and client-runtime vcs.ts's duplicate preparePullRequestThread.
Mark compatibility.ts's self-update cut and say T3 Coder; give the diff contents
cache limits their reasons.
Co-Authored-By: Claude Opus 5.5
---
apps/web/src/branding.ts | 1 -
.../components/chat/claudeCompaction.test.ts | 110 ------------------
.../src/components/chat/claudeCompaction.ts | 45 -------
.../chat/composerSelectionHold.test.ts | 41 -------
.../components/chat/composerSelectionHold.ts | 10 --
.../src/lib/composerImageThumbnail.test.ts | 34 ------
apps/web/src/lib/composerImageThumbnail.ts | 38 ------
apps/web/src/lib/diffFileContents.ts | 2 +
knip.jsonc | 1 -
.../src/connection/compatibility.ts | 3 +-
packages/client-runtime/src/state/vcs.ts | 7 --
packages/shared/package.json | 4 -
scripts/mobile-native-static-check.test.ts | 26 -----
13 files changed, 4 insertions(+), 318 deletions(-)
delete mode 100644 apps/web/src/components/chat/claudeCompaction.test.ts
delete mode 100644 apps/web/src/components/chat/claudeCompaction.ts
delete mode 100644 apps/web/src/components/chat/composerSelectionHold.test.ts
delete mode 100644 apps/web/src/components/chat/composerSelectionHold.ts
delete mode 100644 apps/web/src/lib/composerImageThumbnail.test.ts
delete mode 100644 apps/web/src/lib/composerImageThumbnail.ts
delete mode 100644 scripts/mobile-native-static-check.test.ts
diff --git a/apps/web/src/branding.ts b/apps/web/src/branding.ts
index 5301368ca3d01..8aa27a29e569b 100644
--- a/apps/web/src/branding.ts
+++ b/apps/web/src/branding.ts
@@ -7,4 +7,3 @@ export const APP_DISPLAY_NAME = APP_STAGE_LABEL
? `${APP_BASE_NAME} ${APP_STAGE_LABEL}`
: APP_BASE_NAME;
export const APP_VERSION = import.meta.env.APP_VERSION || "0.0.0";
-export const DESKTOP_DOWNLOAD_URL = "https://t3.codes/download";
diff --git a/apps/web/src/components/chat/claudeCompaction.test.ts b/apps/web/src/components/chat/claudeCompaction.test.ts
deleted file mode 100644
index 6356a5d43e31c..0000000000000
--- a/apps/web/src/components/chat/claudeCompaction.test.ts
+++ /dev/null
@@ -1,110 +0,0 @@
-import { describe, expect, it } from "vite-plus/test";
-
-import { hasDismissedResumeCompaction, shouldOfferResumeCompaction } from "./claudeCompaction";
-
-describe("Claude resume compaction", () => {
- it("offers compaction only for old, large Claude sessions", () => {
- const now = "2026-08-27T12:00:00.000Z";
- expect(
- shouldOfferResumeCompaction({
- provider: "claudeAgent",
- usedTokens: 120_000,
- updatedAt: "2026-08-27T10:45:00.000Z",
- now,
- }),
- ).toBe(true);
- expect(
- shouldOfferResumeCompaction({
- provider: "claudeAgent",
- usedTokens: 99_999,
- updatedAt: "2026-08-27T10:00:00.000Z",
- now,
- }),
- ).toBe(false);
- expect(
- shouldOfferResumeCompaction({
- provider: "codex",
- usedTokens: 120_000,
- updatedAt: "2026-08-27T10:00:00.000Z",
- now,
- }),
- ).toBe(false);
- });
-
- it("handles the exact age/token boundaries and invalid timestamps", () => {
- const now = "2026-08-27T12:00:00.000Z";
- expect(
- shouldOfferResumeCompaction({
- provider: "claudeAgent",
- usedTokens: 100_000,
- updatedAt: "2026-08-27T10:50:00.000Z",
- now,
- }),
- ).toBe(true);
- expect(
- shouldOfferResumeCompaction({
- provider: "claudeAgent",
- usedTokens: 100_000,
- updatedAt: "2026-08-27T10:50:00.001Z",
- now,
- }),
- ).toBe(false);
- expect(
- shouldOfferResumeCompaction({
- provider: "claudeAgent",
- usedTokens: 100_000,
- updatedAt: "invalid",
- now,
- }),
- ).toBe(false);
- expect(
- shouldOfferResumeCompaction({
- provider: "claudeAgent",
- usedTokens: 100_000,
- updatedAt: "2026-08-27T13:00:00.000Z",
- now,
- }),
- ).toBe(false);
- });
-
- it("recognizes the permanent dismissal response", () => {
- expect(
- hasDismissedResumeCompaction([
- {
- kind: "user-input.resolved",
- payload: {
- answers: {
- "This session is 1h 15m old and uses 120,000 tokens. Compact it before continuing?":
- "Don't ask again",
- },
- },
- },
- ]),
- ).toBe(true);
- });
-
- it("does not mistake unrelated or malformed answers for permanent dismissal", () => {
- expect(
- hasDismissedResumeCompaction([
- {
- kind: "user-input.resolved",
- payload: {
- answers: {
- "This session is old. Compact it?": "Don't ask again",
- },
- },
- },
- {
- kind: "user-input.resolved",
- payload: {
- answers: {
- "This session is 1h 15m old and uses 120,000 tokens. Compact it before continuing?":
- "Keep full history",
- },
- },
- },
- { kind: "user-input.resolved", payload: { answers: [] } },
- ]),
- ).toBe(false);
- });
-});
diff --git a/apps/web/src/components/chat/claudeCompaction.ts b/apps/web/src/components/chat/claudeCompaction.ts
deleted file mode 100644
index 04e45d42b86f3..0000000000000
--- a/apps/web/src/components/chat/claudeCompaction.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import {
- CLAUDE_RESUME_COMPACTION_NEVER_ANSWER,
- isClaudeResumeCompactionQuestion,
-} from "@t3tools/shared/claudeCompaction";
-
-export const CLAUDE_RESUME_COMPACTION_MINUTES = 70;
-export const CLAUDE_RESUME_COMPACTION_TOKENS = 100_000;
-
-export function hasDismissedResumeCompaction(
- activities: ReadonlyArray<{ readonly kind: string; readonly payload: unknown }>,
-): boolean {
- return activities.some((activity) => {
- if (activity.kind !== "user-input.resolved") return false;
- const payload = activity.payload;
- if (!payload || typeof payload !== "object") return false;
- const answers = (payload as { readonly answers?: unknown }).answers;
- if (!answers || typeof answers !== "object" || Array.isArray(answers)) return false;
- return Object.entries(answers).some(
- ([question, answer]) =>
- isClaudeResumeCompactionQuestion(question) &&
- answer === CLAUDE_RESUME_COMPACTION_NEVER_ANSWER,
- );
- });
-}
-
-export function shouldOfferResumeCompaction(input: {
- readonly provider: string | null | undefined;
- readonly usedTokens: number | null | undefined;
- readonly updatedAt: string | null | undefined;
- readonly now: string;
-}): boolean {
- if (
- input.provider !== "claudeAgent" ||
- (input.usedTokens ?? 0) < CLAUDE_RESUME_COMPACTION_TOKENS
- ) {
- return false;
- }
- const updatedAt = Date.parse(input.updatedAt ?? "");
- const now = Date.parse(input.now);
- return (
- Number.isFinite(updatedAt) &&
- Number.isFinite(now) &&
- now - updatedAt >= CLAUDE_RESUME_COMPACTION_MINUTES * 60_000
- );
-}
diff --git a/apps/web/src/components/chat/composerSelectionHold.test.ts b/apps/web/src/components/chat/composerSelectionHold.test.ts
deleted file mode 100644
index fe4cb0f772420..0000000000000
--- a/apps/web/src/components/chat/composerSelectionHold.test.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import { describe, expect, it } from "vite-plus/test";
-
-import { selectionHoldsComposerOpen } from "./composerSelectionHold";
-
-function node(parent: Node | null = null) {
- const self = {
- parent,
- contains(other: Node | null): boolean {
- let cursor: { parent: Node | null } | null = other as unknown as { parent: Node | null };
- while (cursor) {
- if (cursor === (self as unknown)) return true;
- cursor = cursor.parent as { parent: Node | null } | null;
- }
- return false;
- },
- };
- return self as unknown as Node;
-}
-
-const selection = (anchor: Node, collapsed = false) => ({
- isCollapsed: collapsed,
- rangeCount: 1,
- getRangeAt: () => ({ commonAncestorContainer: anchor }) as Range,
-});
-
-describe("selectionHoldsComposerOpen", () => {
- const timeline = node();
- const message = node(timeline);
- const elsewhere = node();
-
- it("holds for a range inside the timeline", () => {
- expect(selectionHoldsComposerOpen(selection(message), timeline)).toBe(true);
- });
-
- it("ignores carets, outside selections, and missing inputs", () => {
- expect(selectionHoldsComposerOpen(selection(message, true), timeline)).toBe(false);
- expect(selectionHoldsComposerOpen(selection(elsewhere), timeline)).toBe(false);
- expect(selectionHoldsComposerOpen(null, timeline)).toBe(false);
- expect(selectionHoldsComposerOpen(selection(message), null)).toBe(false);
- });
-});
diff --git a/apps/web/src/components/chat/composerSelectionHold.ts b/apps/web/src/components/chat/composerSelectionHold.ts
deleted file mode 100644
index 2ac10a03ec3f2..0000000000000
--- a/apps/web/src/components/chat/composerSelectionHold.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/** Whether a live text selection inside the timeline should hold the composer open. */
-export function selectionHoldsComposerOpen(
- selection: Pick | null,
- timeline: Node | null,
-): boolean {
- if (!timeline || !selection || selection.isCollapsed || selection.rangeCount === 0) {
- return false;
- }
- return timeline.contains(selection.getRangeAt(0).commonAncestorContainer);
-}
diff --git a/apps/web/src/lib/composerImageThumbnail.test.ts b/apps/web/src/lib/composerImageThumbnail.test.ts
deleted file mode 100644
index 5cd8f445ac6e9..0000000000000
--- a/apps/web/src/lib/composerImageThumbnail.test.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import { afterEach, expect, it, vi } from "vite-plus/test";
-import { createComposerImageThumbnail } from "./composerImageThumbnail";
-
-afterEach(() => vi.unstubAllGlobals());
-it("caches a bounded center crop while retaining the original file", async () => {
- const original = new File(["original"], "paste.png", { type: "image/png" });
- const close = vi.fn();
- const decode = vi.fn(async () => ({ width: 4000, height: 2000, close }));
- const drawImage = vi.fn();
- const thumbnail = new Blob(["small"], { type: "image/png" });
- const canvas = {
- width: 0,
- height: 0,
- getContext: () => ({ drawImage }),
- toBlob: (done: (blob: Blob) => void) => done(thumbnail),
- };
- vi.stubGlobal("createImageBitmap", decode);
- vi.stubGlobal("document", { createElement: () => canvas });
- const first = createComposerImageThumbnail(original);
- expect(createComposerImageThumbnail(original)).toBe(first);
- expect(await first).toBe(thumbnail);
- expect(canvas.width).toBe(256);
- expect(canvas.height).toBe(256);
- expect(drawImage).toHaveBeenCalledWith(expect.anything(), 1000, 0, 2000, 2000, 0, 0, 256, 256);
- expect(close).toHaveBeenCalledOnce();
- expect(await original.text()).toBe("original");
-});
-it("closes decoded images when a preview cannot be rendered", async () => {
- const close = vi.fn();
- vi.stubGlobal("createImageBitmap", async () => ({ width: 20, height: 10, close }));
- vi.stubGlobal("document", { createElement: () => ({ getContext: () => null }) });
- expect(await createComposerImageThumbnail(new File(["original"], "paste.png"))).toBeNull();
- expect(close).toHaveBeenCalledOnce();
-});
diff --git a/apps/web/src/lib/composerImageThumbnail.ts b/apps/web/src/lib/composerImageThumbnail.ts
deleted file mode 100644
index f927caf6e4903..0000000000000
--- a/apps/web/src/lib/composerImageThumbnail.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-const thumbnails = new WeakMap>();
-
-/** Small, memory-only tile; the original file remains the upload and gallery source. */
-export function createComposerImageThumbnail(file: File): Promise {
- const cached = thumbnails.get(file);
- if (cached) return cached;
- const pending = (async () => {
- if (typeof createImageBitmap === "undefined" || typeof document === "undefined") return null;
- let bitmap: ImageBitmap | undefined;
- try {
- bitmap = await createImageBitmap(file);
- const side = Math.min(bitmap.width, bitmap.height);
- if (side <= 0) return null;
- const canvas = document.createElement("canvas");
- canvas.width = canvas.height = Math.min(256, side);
- const context = canvas.getContext("2d");
- if (!context) return null;
- context.drawImage(
- bitmap,
- (bitmap.width - side) / 2,
- (bitmap.height - side) / 2,
- side,
- side,
- 0,
- 0,
- canvas.width,
- canvas.height,
- );
- return await new Promise((resolve) => canvas.toBlob(resolve, "image/png"));
- } catch {
- return null;
- } finally {
- bitmap?.close();
- }
- })();
- thumbnails.set(file, pending);
- return pending;
-}
diff --git a/apps/web/src/lib/diffFileContents.ts b/apps/web/src/lib/diffFileContents.ts
index c67ddd793a651..5a4e98b6c31c0 100644
--- a/apps/web/src/lib/diffFileContents.ts
+++ b/apps/web/src/lib/diffFileContents.ts
@@ -52,7 +52,9 @@ interface PullRequestDiffFileContentsSource {
readonly cacheKey: string;
}
+// Bounds the browser memory held by expanded review files across a session.
const DIFF_FILE_CONTENTS_CACHE_BYTES = 64 * 1024 * 1024;
+// Caps how many expanded files stay cached, however small each one is.
const DIFF_FILE_CONTENTS_CACHE_ENTRIES = 128;
const textEncoder = new TextEncoder();
const textDecoder = new TextDecoder();
diff --git a/knip.jsonc b/knip.jsonc
index 4b10f07ee8f9f..ddc854ede1747 100644
--- a/knip.jsonc
+++ b/knip.jsonc
@@ -119,7 +119,6 @@
"packages/shared/src/thirdPartyLicenses.ts": ["exports", "nsExports"],
"packages/shared/src/threadLinks.ts": ["exports", "nsExports"],
"packages/shared/src/threadSearch.ts": ["exports", "nsExports"],
- "packages/source-control-core/src/client/definition.ts": ["exports", "nsExports"],
"packages/source-control-core/src/server/SourceControlProvider.ts": ["exports", "nsExports"],
"packages/source-control-core/src/server/SourceControlRateLimit.ts": ["exports", "nsExports"],
"packages/source-control-core/src/server/discovery.ts": ["exports", "nsExports"],
diff --git a/packages/client-runtime/src/connection/compatibility.ts b/packages/client-runtime/src/connection/compatibility.ts
index 0a08ddb2acfab..6e97b86f48475 100644
--- a/packages/client-runtime/src/connection/compatibility.ts
+++ b/packages/client-runtime/src/connection/compatibility.ts
@@ -14,12 +14,13 @@ export function orchestrationProtocolCompatibilityError(
if (serverProtocolVersion === ORCHESTRATION_PROTOCOL_VERSION) {
return null;
}
+ // Coder: no server self-update, so an older helper is never marked `serverUpdateRequired`.
return new ConnectionBlockedError({
reason: "unsupported",
detail:
serverProtocolVersion > ORCHESTRATION_PROTOCOL_VERSION
? `This client is not supported by this server. Update your app or use a compatible release to connect to ${descriptor.label}.`
- : `This client requires a newer server. Update T3 Code on ${descriptor.label} to connect.`,
+ : `This client requires a newer server. Update T3 Coder on ${descriptor.label} to connect.`,
});
}
diff --git a/packages/client-runtime/src/state/vcs.ts b/packages/client-runtime/src/state/vcs.ts
index c179a5ffab1f9..0369d89ae90d4 100644
--- a/packages/client-runtime/src/state/vcs.ts
+++ b/packages/client-runtime/src/state/vcs.ts
@@ -367,13 +367,6 @@ export function createVcsEnvironmentAtoms(
concurrency: vcsCommandConcurrency,
onSettled: invalidateRefs,
}),
- preparePullRequestThread: createEnvironmentRpcCommand(runtime, {
- label: "environment-data:git:prepare-pull-request-thread",
- tag: WS_METHODS.gitPreparePullRequestThread,
- scheduler: vcsCommandScheduler,
- concurrency: vcsCommandConcurrency,
- onSettled: invalidateRefs,
- }),
};
}
diff --git a/packages/shared/package.json b/packages/shared/package.json
index 8e5eb43243c71..0d34683b032d0 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -3,10 +3,6 @@
"private": true,
"type": "module",
"exports": {
- "./dateTime": {
- "types": "./src/dateTime.ts",
- "import": "./src/dateTime.ts"
- },
"./changedFileKind": {
"types": "./src/changedFileKind.ts",
"import": "./src/changedFileKind.ts"
diff --git a/scripts/mobile-native-static-check.test.ts b/scripts/mobile-native-static-check.test.ts
deleted file mode 100644
index b0655675962b6..0000000000000
--- a/scripts/mobile-native-static-check.test.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { assert, it } from "@effect/vitest";
-import * as Effect from "effect/Effect";
-
-import { requireKotlinTools } from "./mobile-native-static-check.ts";
-
-it.effect("allows Kotlin checks when ktlint and detekt are on PATH", () =>
- requireKotlinTools({ ktlint: true, detekt: true }),
-);
-
-it.effect("fails when ktlint or detekt is missing instead of skipping", () =>
- Effect.gen(function* () {
- const ktlintError = yield* requireKotlinTools({ ktlint: false, detekt: true }).pipe(
- Effect.flip,
- );
- if (ktlintError._tag !== "NativeStaticCheckMissingToolError") {
- return assert.fail(`Unexpected error: ${ktlintError._tag}`);
- }
- assert.deepEqual(ktlintError.commands, ["ktlint"]);
-
- const bothError = yield* requireKotlinTools({ ktlint: false, detekt: false }).pipe(Effect.flip);
- if (bothError._tag !== "NativeStaticCheckMissingToolError") {
- return assert.fail(`Unexpected error: ${bothError._tag}`);
- }
- assert.deepEqual(bothError.commands, ["ktlint", "detekt"]);
- }),
-);
From fd4f006510dbdffac64760b49d019331f21e2b5d Mon Sep 17 00:00:00 2001
From: Henry Chu
Date: Tue, 27 Oct 2026 08:20:44 -0400
Subject: [PATCH 5/6] Take upstream's route code splitting and Tailwind pins
Pass autoCodeSplitting to the router plugin as upstream does, and adopt
upstream's single-copy catalog pins for Tailwind and lightningcss (4.3.3 and
1.33.0), with enhanced-resolve pinned to upstream's resolved version.
Co-Authored-By: Claude Opus 5.5
---
apps/web/vite.config.ts | 2 +-
pnpm-lock.yaml | 287 ++++++++++++----------------------------
pnpm-workspace.yaml | 12 ++
3 files changed, 95 insertions(+), 206 deletions(-)
diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.ts
index 1176215f4a17e..8a74c7bdb4414 100644
--- a/apps/web/vite.config.ts
+++ b/apps/web/vite.config.ts
@@ -117,7 +117,7 @@ export default defineConfig({
{ bundle: "gateway", path: new URL("../coder-gateway/package.json", import.meta.url) },
],
}),
- tanstackRouter(),
+ tanstackRouter({ autoCodeSplitting: true }),
react({ compiler: true }),
tailwindcss(),
],
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 70cc033b345f7..0c7f6733b615d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -233,8 +233,13 @@ overrides:
'@pierre/diffs>@shikijs/transformers': 4.2.0
remark-math>micromark-extension-math: npm:micromark-extension-llm-math@3.1.0
micromark-extension-gfm-table: 2.1.1
+ '@tailwindcss/node': 4.3.3
+ '@tailwindcss/oxide': 4.3.3
+ '@tailwindcss/vite': 4.3.3
'@types/node': 24.12.4
effect: 4.0.5
+ lightningcss: 1.33.0
+ tailwindcss: 4.3.3
vite: npm:@voidzero-dev/vite-plus-core@1.4.0
vite-plus: 1.4.0
yaml: 2.9.0
@@ -620,8 +625,8 @@ importers:
specifier: 4.0.5
version: 4.0.5(patch_hash=2731c9c3761c595f25ddc625a7d61ca376b389d5b3049ecb837c8940f21cfa02)(@types/node@24.12.4)(@vitest/browser-playwright@5.0.5)(@vitest/ui@5.0.5)(effect@4.0.5)(esbuild@0.28.1)(happy-dom@20.11.6)(jiti@2.7.0)(jsdom@30.1.3)(playwright@1.60.0)(typescript@7.0.2)(yaml@2.9.0)
'@tailwindcss/vite':
- specifier: ^4.0.0
- version: 4.3.0(@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))
+ specifier: 4.3.3
+ version: 4.3.3(@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))
'@tanstack/router-plugin':
specifier: ^1.161.0
version: 1.168.13(@tanstack/react-router@1.170.10(react-dom@19.3.0(react@19.3.0))(react@19.3.0))(@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))
@@ -668,8 +673,8 @@ importers:
specifier: 19.3.0
version: 19.3.0(react@19.3.0)
tailwindcss:
- specifier: ^4.0.0
- version: 4.3.0
+ specifier: 4.3.3
+ version: 4.3.3
vite:
specifier: npm:@voidzero-dev/vite-plus-core@1.4.0
version: '@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)'
@@ -1618,9 +1623,6 @@ packages:
resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
engines: {node: '>=6.0.0'}
- '@jridgewell/sourcemap-codec@1.5.5':
- resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
-
'@jridgewell/sourcemap-codec@1.6.0':
resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==}
@@ -2394,69 +2396,69 @@ packages:
'@shikijs/vscode-textmate@10.0.2':
resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}
- '@tailwindcss/node@4.3.0':
- resolution: {integrity: sha512-aFb4gUhFOgdh9AXo4IzBEOzBkkAxm9VigwDJnMIYv3lcfXCJVesNfbEaBl4BNgVRyid92AmdviqwBUBRKSeY3g==}
+ '@tailwindcss/node@4.3.3':
+ resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==}
- '@tailwindcss/oxide-android-arm64@4.3.0':
- resolution: {integrity: sha512-TJPiq67tKlLuObP6RkwvVGDoxCMBVtDgKkLfa/uyj7/FyxvQwHS+UOnVrXXgbEsfUaMgiVvC4KbJnRr26ho4Ng==}
+ '@tailwindcss/oxide-android-arm64@4.3.3':
+ resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [android]
- '@tailwindcss/oxide-darwin-arm64@4.3.0':
- resolution: {integrity: sha512-oMN/WZRb+SO37BmUElEgeEWuU8E/HXRkiODxJxLe1UTHVXLrdVSgfaJV7pSlhRGMSOiXLuxTIjfsF3wYvz8cgQ==}
+ '@tailwindcss/oxide-darwin-arm64@4.3.3':
+ resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [darwin]
- '@tailwindcss/oxide-darwin-x64@4.3.0':
- resolution: {integrity: sha512-N6CUmu4a6bKVADfw77p+iw6Yd9Q3OBhe0veaDX+QazfuVYlQsHfDgxBrsjQ/IW+zywL8mTrNd0SdJT/zgtvMdA==}
+ '@tailwindcss/oxide-darwin-x64@4.3.3':
+ resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==}
engines: {node: '>= 20'}
cpu: [x64]
os: [darwin]
- '@tailwindcss/oxide-freebsd-x64@4.3.0':
- resolution: {integrity: sha512-zDL5hBkQdH5C6MpqbK3gQAgP80tsMwSI26vjOzjJtNCMUo0lFgOItzHKBIupOZNQxt3ouPH7RPhvNhiTfCe5CQ==}
+ '@tailwindcss/oxide-freebsd-x64@4.3.3':
+ resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==}
engines: {node: '>= 20'}
cpu: [x64]
os: [freebsd]
- '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.0':
- resolution: {integrity: sha512-R06HdNi7A7OEoMsf6d4tjZ71RCWnZQPHj2mnotSFURjNLdBC+cIgXQ7l81CqeoiQftjf6OOblxXMInMgN2VzMA==}
+ '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3':
+ resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==}
engines: {node: '>= 20'}
cpu: [arm]
os: [linux]
- '@tailwindcss/oxide-linux-arm64-gnu@4.3.0':
- resolution: {integrity: sha512-qTJHELX8jetjhRQHCLilkVLmybpzNQAtaI/gaoVoidn/ufbNDbAo8KlK2J+yPoc8wQxvDxCmh/5lr8nC1+lTbg==}
+ '@tailwindcss/oxide-linux-arm64-gnu@4.3.3':
+ resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- '@tailwindcss/oxide-linux-arm64-musl@4.3.0':
- resolution: {integrity: sha512-Z6sukiQsngnWO+l39X4pPbiWT81IC+PLKF+PHxIlyZbGNb9MODfYlXEVlFvej5BOZInWX01kVyzeLvHsXhfczQ==}
+ '@tailwindcss/oxide-linux-arm64-musl@4.3.3':
+ resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [linux]
libc: [musl]
- '@tailwindcss/oxide-linux-x64-gnu@4.3.0':
- resolution: {integrity: sha512-DRNdQRpSGzRGfARVuVkxvM8Q12nh19l4BF/G7zGA1oe+9wcC6saFBHTISrpIcKzhiXtSrlSrluCfvMuledoCTQ==}
+ '@tailwindcss/oxide-linux-x64-gnu@4.3.3':
+ resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==}
engines: {node: '>= 20'}
cpu: [x64]
os: [linux]
libc: [glibc]
- '@tailwindcss/oxide-linux-x64-musl@4.3.0':
- resolution: {integrity: sha512-Z0IADbDo8bh6I7h2IQMx601AdXBLfFpEdUotft86evd/8ZPflZe9COPO8Q1vw+pfLWIUo9zN/JGZvwuAJqduqg==}
+ '@tailwindcss/oxide-linux-x64-musl@4.3.3':
+ resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==}
engines: {node: '>= 20'}
cpu: [x64]
os: [linux]
libc: [musl]
- '@tailwindcss/oxide-wasm32-wasi@4.3.0':
- resolution: {integrity: sha512-HNZGOUxEmElksYR7S6sC5jTeNGpobAsy9u7Gu0AskJ8/20FR9GqebUyB+HBcU/ax6BHuiuJi+Oda4B+YX6H1yA==}
+ '@tailwindcss/oxide-wasm32-wasi@4.3.3':
+ resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==}
engines: {node: '>=14.0.0'}
cpu: [wasm32]
bundledDependencies:
@@ -2467,24 +2469,24 @@ packages:
- '@emnapi/wasi-threads'
- tslib
- '@tailwindcss/oxide-win32-arm64-msvc@4.3.0':
- resolution: {integrity: sha512-Pe+RPVTi1T+qymuuRpcdvwSVZjnll/f7n8gBxMMh3xLTctMDKqpdfGimbMyioqtLhUYZxdJ9wGNhV7MKHvgZsQ==}
+ '@tailwindcss/oxide-win32-arm64-msvc@4.3.3':
+ resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==}
engines: {node: '>= 20'}
cpu: [arm64]
os: [win32]
- '@tailwindcss/oxide-win32-x64-msvc@4.3.0':
- resolution: {integrity: sha512-Mvrf2kXW/yeW/OTezZlCGOirXRcUuLIBx/5Y12BaPM7wJoryG6dfS/NJL8aBPqtTEx/Vm4T4vKzFUcKDT+TKUA==}
+ '@tailwindcss/oxide-win32-x64-msvc@4.3.3':
+ resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==}
engines: {node: '>= 20'}
cpu: [x64]
os: [win32]
- '@tailwindcss/oxide@4.3.0':
- resolution: {integrity: sha512-F7HZGBeN9I0/AuuJS5PwcD8xayx5ri5GhjYUDBEVYUkexyA/giwbDNjRVrxSezE3T250OU2K/wp/ltWx3UOefg==}
+ '@tailwindcss/oxide@4.3.3':
+ resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==}
engines: {node: '>= 20'}
- '@tailwindcss/vite@4.3.0':
- resolution: {integrity: sha512-t6J3OrB5Fc0ExuhohouH0fWUGMYL6PTLhW+E7zIk/pdbnJARZDCwjBznFnkh5ynRnIRSI4YjtTH0t6USjJISrw==}
+ '@tailwindcss/vite@4.3.3':
+ resolution: {integrity: sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==}
peerDependencies:
vite: ^5.2.0 || ^6 || ^7 || ^8
@@ -3508,8 +3510,8 @@ packages:
resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}
engines: {node: '>= 0.8'}
- enhanced-resolve@5.22.1:
- resolution: {integrity: sha512-6QEuw3zoX1SJQc7b87aBXke/no+mG2bTBgw29gWMQonLmpEkWoCAVkl+M49e48AZlWzxiDzDZzYdp6kobcyLww==}
+ enhanced-resolve@5.24.5:
+ resolution: {integrity: sha512-L1l8TNvomm6UVW5B253AGxQagSQr+vGwhMlrrfRS2qmhx46AMpMVJKQYLvWYbysTMY8VoicOvzHzoHMbyzB+4A==}
engines: {node: '>=10.13.0'}
entities@6.0.1:
@@ -3867,73 +3869,36 @@ packages:
lie@3.3.0:
resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==}
- lightningcss-android-arm64@1.32.0:
- resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [android]
-
lightningcss-android-arm64@1.33.0:
resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [android]
- lightningcss-darwin-arm64@1.32.0:
- resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [darwin]
-
lightningcss-darwin-arm64@1.33.0:
resolution: {integrity: sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [darwin]
- lightningcss-darwin-x64@1.32.0:
- resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [darwin]
-
lightningcss-darwin-x64@1.33.0:
resolution: {integrity: sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [darwin]
- lightningcss-freebsd-x64@1.32.0:
- resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [freebsd]
-
lightningcss-freebsd-x64@1.33.0:
resolution: {integrity: sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [freebsd]
- lightningcss-linux-arm-gnueabihf@1.32.0:
- resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm]
- os: [linux]
-
lightningcss-linux-arm-gnueabihf@1.33.0:
resolution: {integrity: sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==}
engines: {node: '>= 12.0.0'}
cpu: [arm]
os: [linux]
- lightningcss-linux-arm64-gnu@1.32.0:
- resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [linux]
- libc: [glibc]
-
lightningcss-linux-arm64-gnu@1.33.0:
resolution: {integrity: sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==}
engines: {node: '>= 12.0.0'}
@@ -3941,13 +3906,6 @@ packages:
os: [linux]
libc: [glibc]
- lightningcss-linux-arm64-musl@1.32.0:
- resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [linux]
- libc: [musl]
-
lightningcss-linux-arm64-musl@1.33.0:
resolution: {integrity: sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==}
engines: {node: '>= 12.0.0'}
@@ -3955,13 +3913,6 @@ packages:
os: [linux]
libc: [musl]
- lightningcss-linux-x64-gnu@1.32.0:
- resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [linux]
- libc: [glibc]
-
lightningcss-linux-x64-gnu@1.33.0:
resolution: {integrity: sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==}
engines: {node: '>= 12.0.0'}
@@ -3969,13 +3920,6 @@ packages:
os: [linux]
libc: [glibc]
- lightningcss-linux-x64-musl@1.32.0:
- resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [linux]
- libc: [musl]
-
lightningcss-linux-x64-musl@1.33.0:
resolution: {integrity: sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==}
engines: {node: '>= 12.0.0'}
@@ -3983,34 +3927,18 @@ packages:
os: [linux]
libc: [musl]
- lightningcss-win32-arm64-msvc@1.32.0:
- resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
- engines: {node: '>= 12.0.0'}
- cpu: [arm64]
- os: [win32]
-
lightningcss-win32-arm64-msvc@1.33.0:
resolution: {integrity: sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==}
engines: {node: '>= 12.0.0'}
cpu: [arm64]
os: [win32]
- lightningcss-win32-x64-msvc@1.32.0:
- resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
- engines: {node: '>= 12.0.0'}
- cpu: [x64]
- os: [win32]
-
lightningcss-win32-x64-msvc@1.33.0:
resolution: {integrity: sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==}
engines: {node: '>= 12.0.0'}
cpu: [x64]
os: [win32]
- lightningcss@1.32.0:
- resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
- engines: {node: '>= 12.0.0'}
-
lightningcss@1.33.0:
resolution: {integrity: sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==}
engines: {node: '>= 12.0.0'}
@@ -4784,8 +4712,8 @@ packages:
tailwind-merge@3.6.0:
resolution: {integrity: sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==}
- tailwindcss@4.3.0:
- resolution: {integrity: sha512-y6nxMGB1nMW9R6k96e5gdIFzcfL/gTJRNaqGes1YvkLnPVXzWgbqFF2yLC0T8G774n24cx3Pe8XrKoniCOAH+Q==}
+ tailwindcss@4.3.3:
+ resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==}
tapable@2.3.3:
resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==}
@@ -5652,8 +5580,6 @@ snapshots:
'@jridgewell/resolve-uri@3.1.2': {}
- '@jridgewell/sourcemap-codec@1.5.5': {}
-
'@jridgewell/sourcemap-codec@1.6.0': {}
'@jridgewell/trace-mapping@0.3.31':
@@ -6104,72 +6030,72 @@ snapshots:
'@shikijs/vscode-textmate@10.0.2': {}
- '@tailwindcss/node@4.3.0':
+ '@tailwindcss/node@4.3.3':
dependencies:
'@jridgewell/remapping': 2.3.5
- enhanced-resolve: 5.22.1
+ enhanced-resolve: 5.24.5
jiti: 2.7.0
- lightningcss: 1.32.0
+ lightningcss: 1.33.0
magic-string: 0.30.21
- source-map-js: 1.2.1
- tailwindcss: 4.3.0
+ source-map-js: 1.2.2
+ tailwindcss: 4.3.3
- '@tailwindcss/oxide-android-arm64@4.3.0':
+ '@tailwindcss/oxide-android-arm64@4.3.3':
optional: true
- '@tailwindcss/oxide-darwin-arm64@4.3.0':
+ '@tailwindcss/oxide-darwin-arm64@4.3.3':
optional: true
- '@tailwindcss/oxide-darwin-x64@4.3.0':
+ '@tailwindcss/oxide-darwin-x64@4.3.3':
optional: true
- '@tailwindcss/oxide-freebsd-x64@4.3.0':
+ '@tailwindcss/oxide-freebsd-x64@4.3.3':
optional: true
- '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.0':
+ '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3':
optional: true
- '@tailwindcss/oxide-linux-arm64-gnu@4.3.0':
+ '@tailwindcss/oxide-linux-arm64-gnu@4.3.3':
optional: true
- '@tailwindcss/oxide-linux-arm64-musl@4.3.0':
+ '@tailwindcss/oxide-linux-arm64-musl@4.3.3':
optional: true
- '@tailwindcss/oxide-linux-x64-gnu@4.3.0':
+ '@tailwindcss/oxide-linux-x64-gnu@4.3.3':
optional: true
- '@tailwindcss/oxide-linux-x64-musl@4.3.0':
+ '@tailwindcss/oxide-linux-x64-musl@4.3.3':
optional: true
- '@tailwindcss/oxide-wasm32-wasi@4.3.0':
+ '@tailwindcss/oxide-wasm32-wasi@4.3.3':
optional: true
- '@tailwindcss/oxide-win32-arm64-msvc@4.3.0':
+ '@tailwindcss/oxide-win32-arm64-msvc@4.3.3':
optional: true
- '@tailwindcss/oxide-win32-x64-msvc@4.3.0':
+ '@tailwindcss/oxide-win32-x64-msvc@4.3.3':
optional: true
- '@tailwindcss/oxide@4.3.0':
+ '@tailwindcss/oxide@4.3.3':
optionalDependencies:
- '@tailwindcss/oxide-android-arm64': 4.3.0
- '@tailwindcss/oxide-darwin-arm64': 4.3.0
- '@tailwindcss/oxide-darwin-x64': 4.3.0
- '@tailwindcss/oxide-freebsd-x64': 4.3.0
- '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.0
- '@tailwindcss/oxide-linux-arm64-gnu': 4.3.0
- '@tailwindcss/oxide-linux-arm64-musl': 4.3.0
- '@tailwindcss/oxide-linux-x64-gnu': 4.3.0
- '@tailwindcss/oxide-linux-x64-musl': 4.3.0
- '@tailwindcss/oxide-wasm32-wasi': 4.3.0
- '@tailwindcss/oxide-win32-arm64-msvc': 4.3.0
- '@tailwindcss/oxide-win32-x64-msvc': 4.3.0
-
- '@tailwindcss/vite@4.3.0(@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))':
- dependencies:
- '@tailwindcss/node': 4.3.0
- '@tailwindcss/oxide': 4.3.0
- tailwindcss: 4.3.0
+ '@tailwindcss/oxide-android-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-arm64': 4.3.3
+ '@tailwindcss/oxide-darwin-x64': 4.3.3
+ '@tailwindcss/oxide-freebsd-x64': 4.3.3
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-arm64-musl': 4.3.3
+ '@tailwindcss/oxide-linux-x64-gnu': 4.3.3
+ '@tailwindcss/oxide-linux-x64-musl': 4.3.3
+ '@tailwindcss/oxide-wasm32-wasi': 4.3.3
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3
+ '@tailwindcss/oxide-win32-x64-msvc': 4.3.3
+
+ '@tailwindcss/vite@4.3.3(@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0))':
+ dependencies:
+ '@tailwindcss/node': 4.3.3
+ '@tailwindcss/oxide': 4.3.3
+ tailwindcss: 4.3.3
vite: '@voidzero-dev/vite-plus-core@1.4.0(@types/node@24.12.4)(esbuild@0.28.1)(jiti@2.7.0)(typescript@7.0.2)(yaml@2.9.0)'
'@tanstack/devtools-event-client@0.4.3': {}
@@ -7123,7 +7049,7 @@ snapshots:
encodeurl@2.0.0: {}
- enhanced-resolve@5.22.1:
+ enhanced-resolve@5.24.5:
dependencies:
graceful-fs: 4.2.11
tapable: 2.3.3
@@ -7596,88 +7522,39 @@ snapshots:
dependencies:
immediate: 3.0.6
- lightningcss-android-arm64@1.32.0:
- optional: true
-
lightningcss-android-arm64@1.33.0:
optional: true
- lightningcss-darwin-arm64@1.32.0:
- optional: true
-
lightningcss-darwin-arm64@1.33.0:
optional: true
- lightningcss-darwin-x64@1.32.0:
- optional: true
-
lightningcss-darwin-x64@1.33.0:
optional: true
- lightningcss-freebsd-x64@1.32.0:
- optional: true
-
lightningcss-freebsd-x64@1.33.0:
optional: true
- lightningcss-linux-arm-gnueabihf@1.32.0:
- optional: true
-
lightningcss-linux-arm-gnueabihf@1.33.0:
optional: true
- lightningcss-linux-arm64-gnu@1.32.0:
- optional: true
-
lightningcss-linux-arm64-gnu@1.33.0:
optional: true
- lightningcss-linux-arm64-musl@1.32.0:
- optional: true
-
lightningcss-linux-arm64-musl@1.33.0:
optional: true
- lightningcss-linux-x64-gnu@1.32.0:
- optional: true
-
lightningcss-linux-x64-gnu@1.33.0:
optional: true
- lightningcss-linux-x64-musl@1.32.0:
- optional: true
-
lightningcss-linux-x64-musl@1.33.0:
optional: true
- lightningcss-win32-arm64-msvc@1.32.0:
- optional: true
-
lightningcss-win32-arm64-msvc@1.33.0:
optional: true
- lightningcss-win32-x64-msvc@1.32.0:
- optional: true
-
lightningcss-win32-x64-msvc@1.33.0:
optional: true
- lightningcss@1.32.0:
- dependencies:
- detect-libc: 2.1.2
- optionalDependencies:
- lightningcss-android-arm64: 1.32.0
- lightningcss-darwin-arm64: 1.32.0
- lightningcss-darwin-x64: 1.32.0
- lightningcss-freebsd-x64: 1.32.0
- lightningcss-linux-arm-gnueabihf: 1.32.0
- lightningcss-linux-arm64-gnu: 1.32.0
- lightningcss-linux-arm64-musl: 1.32.0
- lightningcss-linux-x64-gnu: 1.32.0
- lightningcss-linux-x64-musl: 1.32.0
- lightningcss-win32-arm64-msvc: 1.32.0
- lightningcss-win32-x64-msvc: 1.32.0
-
lightningcss@1.33.0:
dependencies:
detect-libc: 2.1.2
@@ -7716,7 +7593,7 @@ snapshots:
magic-string@0.30.21:
dependencies:
- '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/sourcemap-codec': 1.6.0
magic-string@1.4.3:
dependencies:
@@ -8865,7 +8742,7 @@ snapshots:
tailwind-merge@3.6.0: {}
- tailwindcss@4.3.0: {}
+ tailwindcss@4.3.3: {}
tapable@2.3.3: {}
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 1a888b2dc53d1..6b06af2c1266c 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -35,6 +35,9 @@ catalog:
"@effect/vitest": 4.0.5
"@legendapp/list": 3.3.5
"@pierre/diffs": 1.6.1
+ "@tailwindcss/node": 4.3.3
+ "@tailwindcss/oxide": 4.3.3
+ "@tailwindcss/vite": 4.3.3
"@types/node": 24.12.4
"@types/react": ~19.3.0
"@types/react-dom": ~19.3.0
@@ -42,6 +45,8 @@ catalog:
react-dom: 19.3.0
typescript: 7.0.2
effect: 4.0.5
+ lightningcss: 1.33.0
+ tailwindcss: 4.3.3
vite: npm:@voidzero-dev/vite-plus-core@1.4.0
vite-plus: 1.4.0
yaml: 2.9.0
@@ -94,8 +99,15 @@ overrides:
# Resolve below remark-math so Vite, Metro and Node use the same tokenizer.
"remark-math>micromark-extension-math": npm:micromark-extension-llm-math@3.1.0
micromark-extension-gfm-table: 2.1.1
+ # Keep one copy of these native-binary packages. lightningcss ships 11 platform binaries per
+ # version, and the workspaces' tailwindcss ^4 ranges drift into two 4.3.x copies of the family.
+ "@tailwindcss/node": "catalog:"
+ "@tailwindcss/oxide": "catalog:"
+ "@tailwindcss/vite": "catalog:"
"@types/node": "catalog:"
effect: "catalog:"
+ lightningcss: "catalog:"
+ tailwindcss: "catalog:"
vite: "catalog:"
vite-plus: "catalog:"
yaml: "catalog:"
From bbad80a7242009959b85dce0a83e71f7d2f7bf08 Mon Sep 17 00:00:00 2001
From: Henry Chu
Date: Tue, 27 Oct 2026 08:20:44 -0400
Subject: [PATCH 6/6] Fix docs drift after the settings regroup
Settings paths in the user docs and README follow #25651's pages; coder-only.md
names LabsSettingsPanel, the Diffs MR link row, the lazy helper entry, the build
and tooling differences, and the inline token formatter.
Co-Authored-By: Claude Opus 5.5
---
README.md | 2 +-
docs/internals/coder-only.md | 33 ++++++++++++++++++++-----------
docs/user/project-settings.md | 2 +-
docs/user/projects-and-threads.md | 4 ++--
docs/user/providers.md | 2 +-
docs/user/settings.md | 4 ++--
docs/user/source-control.md | 2 +-
7 files changed, 30 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
index ef3072587b977..b473508571a2e 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,7 @@ npm start
`npm start` prints a local URL such as `http://127.0.0.1:PORT` and opens it in your default browser.
Then:
-1. Open **Settings → Connections** and add your Coder domain.
+1. Open **Settings → Environments** and add your Coder domain.
2. Choose **Sign in**. Coder prints its login URL and a hidden token prompt in the terminal running
`npm start`; the token is handled there, never in the browser.
3. Choose **Add project** in the sidebar, pick your domain and workspace, and select a folder in
diff --git a/docs/internals/coder-only.md b/docs/internals/coder-only.md
index c2e7a53b4a42f..b3a716a6d29c8 100644
--- a/docs/internals/coder-only.md
+++ b/docs/internals/coder-only.md
@@ -277,7 +277,7 @@ literal other than `coder`, `open`, `xdg-open`, or `explorer.exe`, or `shell: tr
Provider version checks are workspace-originated network requests: the helper queries
`registry.npmjs.org` for the latest version of each enabled provider whose installer it can
identify; manual installations are not checked. The workspace setting `enableProviderUpdateChecks`
-is on by default; disabling **Settings → General → Provider update checks** opts that workspace
+is on by default; disabling **Settings → Maintenance → Provider update checks** opts that workspace
out. Explicit provider updates run the installation's identified installer inside the workspace.
Versions marked broken or unsupported by the bundled compatibility policy are not offered. The
model manifest and compatibility policy remain bundled-only and are never refreshed over HTTP.
@@ -496,9 +496,10 @@ listed here is drift to remove rather than fork behavior to keep.
routes and T3 Connect, neither of which exists here. `apps/server/src/guest/**`, its HTTP
route, the share RPC handler, web `components/guest/**`, `routes/guest.tsx`, `guestPage.ts`,
the share controls, menu and palette entries, the guest-message footer and bubbles
- (`ChatView.tsx`, `TimelineUserMessageRow.tsx`, `QueuedRunsControl.tsx`, where every queued
- message is the owner's and editable), the sidebar's guest-request pill and badge
- (`Sidebar.logic.ts`, `SidebarThreadRow.tsx`), `BetaSettingsPanel.tsx`'s guest-links row,
+ (`ChatView.tsx`'s timeline footer, `TimelineUserMessageRow.tsx`, and `QueuedRunsControl.tsx`,
+ which has no guest names or per-item `editable` flag), the sidebar's guest-request pill and
+ badge (`Sidebar.logic.ts`, `SidebarThreadRow.tsx`), Labs' Beta section with its guest-links row
+ (`LabsSettingsPanel.tsx`),
`mainAppLocation.ts`'s guest page, and the `--guest*` CSS tokens are cut.
`runtimeLayer.ts` provides no `GuestShareService`. The contracts and upstream's
orchestration-v2 guest decider, commands, and projection columns stay, because the contract
@@ -509,7 +510,9 @@ listed here is drift to remove rather than fork behavior to keep.
`coderEnvironment.ts` advertises `providerWorkspaceSnapshotsOnDemand`.
- Office document text for provider input (#21358) runs upstream's `DocumentText.ts` worker in a
child process of the helper's own entry point: `apps/coder-helper/src/bin.ts` dispatches
- upstream's `__document-text` argument (upstream's server `bin.ts` is not carried), and
+ upstream's `__document-text` argument (upstream's server `bin.ts` is not carried) and, like
+ upstream's, imports only the worker on that path; the stdio runtime lives in `helper.ts` and is
+ imported lazily on the other branch.
`DocumentText.ts` runs that `bin.ts` from source or the bundle itself (`import.meta.url`).
`coderServer.ts` provides `DocumentText.layer` at the bottom of the runtime services, where
upstream's `layerPlatformServices` provides it; `ProviderHostLive` carries upstream's
@@ -837,7 +840,9 @@ listed here is drift to remove rather than fork behavior to keep.
- **Composer, timeline, and work log.** Upstream's context records, upload queue, chips, and
work-log module (`client-runtime/work-log/toolPresentation.ts`), minus preview annotations,
element captures, SnapShot (with its open question-draft tracker in `questionAttachments.ts`),
- upstream's large-paste-to-file folding, and remote icons. Draft file and video attachments
+ upstream's large-paste-to-file folding, and remote icons. `work-log/presentation.ts` formats
+ token counts inline, since upstream's `@t3tools/shared/usageFormat` belongs to the omitted usage
+ dashboard. Draft file and video attachments
preview as on main. A context fragment pasted from another workspace downloads its attachments from the
source workspace's signed asset URLs, as upstream does.
A thread dropped from another workspace attaches its saved transcript (see Transport and RPC
@@ -887,8 +892,9 @@ listed here is drift to remove rather than fork behavior to keep.
`hooks/useSettings.ts` runs upstream's `startModelPreferencesMigration` with the per-workspace
legacy model lists inside it, and client-runtime's `state/runtime.ts` calls `onAnswer` on the
non-persisted query path as well. The web Vite config carries upstream's office/pdf asset
- handling (the `@betteroffice/fonts-cjk` alias, pdfjs asset names, ES workers) but not the render
- scenarios project or `VITE_RELEASE_CHANNEL`.
+ handling (the `@betteroffice/fonts-cjk` alias, pdfjs asset names, ES workers) and route code
+ splitting, but not the render scenarios project, `VITE_RELEASE_CHANNEL`, source maps, or the
+ build manifest.
- **App sidebar.** The layout, header, footer, and provider-update pill are upstream's. Coder
deltas: there is no legacy sidebar (or its Settings switch), usage page, desktop app-update
pills, desktop window bridge (fullscreen insets and the open-settings menu action), or preview
@@ -1102,9 +1108,11 @@ listed here is drift to remove rather than fork behavior to keep.
keeps only upstream's `useEnvironmentStateHeldFor`. No Integrations, SnapShot, desktop, diagnostics,
pairing, mobile app links (`MobileAppSettingsRow`), or `keybindings.json` editor. Settings
search carries upstream's `sourceControlHostSearchItems` but not `SOURCE_CONTROL_HOST_LABELS`,
- whose only rows (routing, MR link target, agent credits) are not carried. Appearance's **Add theme** is upstream's
+ whose routing and agent-credit rows are not carried; the MR link target row lives on Diffs (see
+ the merge request seam) with GitLab search terms. Appearance's **Add theme** is upstream's
`ThemeImportDialog` without its remote theme catalog search or desktop file picker: the browser
- reads picked, dropped, or pasted theme files itself. Connections holds the Coder deployments,
+ reads picked, dropped, or pasted theme files itself. `settingsLayout.tsx`'s `SettingsSection` takes a
+ `description` for the Coder panels below. Connections holds the Coder deployments,
workspaces, and TCP/UDP port forwards in place of pairing and network access. Each workspace
row's menu carries upstream's `EnvironmentIconMenu`; the helper reports no `platform.machine`
(no hardware detection), so a workspace shows the generic server icon until one is picked.
@@ -1214,7 +1222,10 @@ listed here is drift to remove rather than fork behavior to keep.
`pnpm-workspace.yaml` sets `supportedArchitectures` (Linux x64 glibc) on every host, because
the helper bundle ships those native modules to the workspace; upstream sets it only on Windows
in `.pnpmfile.cjs`, which is not carried. Its `overrides` pin only the patched packages the
- fork carries, where upstream pins every one of its own.
+ fork carries, where upstream pins every one of its own, plus upstream's single-copy pins for
+ Tailwind and lightningcss. `@effect/platform-node>undici` is removed because nothing the fork
+ carries uses platform-node's HTTP client, and the gateway pins its own `ws`/`@types/ws`
+ instead of upstream's `ws@^8` collapse.
Packages typecheck with `tsc --noEmit` from Microsoft's TypeScript 7 (`typescript: 7.0.2` in
the catalog). Upstream's catalog makes `typescript` the `@tsc-rs/typescript` drop-in, whose
Windows `tsc.exe` is an unsigned third-party binary that the laptop's endpoint security may
diff --git a/docs/user/project-settings.md b/docs/user/project-settings.md
index 5ca07401e8e8b..90d19c39a79b5 100644
--- a/docs/user/project-settings.md
+++ b/docs/user/project-settings.md
@@ -108,7 +108,7 @@ custom name is invalid or already taken, the temporary branch name remains.
Open **Settings → Threads → New threads** to choose the default model and checkout mode.
**Settings → Source control → Repositories** contains automatic pull. These controls save
-immediately for the selected scope. **Settings → Threads → Default actions** contains the
+immediately for the selected scope. **Settings → Projects → Actions** contains the
workspace's default scripts when All projects is selected. Use **Add action**, or the edit button beside an existing action;
**Save action** or **Save changes** saves the dialog.
Choose a workspace and, optionally, a project using the shared scope menus. Only edited settings
diff --git a/docs/user/projects-and-threads.md b/docs/user/projects-and-threads.md
index 3b6995634daae..1bd4cc0195678 100644
--- a/docs/user/projects-and-threads.md
+++ b/docs/user/projects-and-threads.md
@@ -98,14 +98,14 @@ interrupted turn manually. Queued messages stay saved while the limit blocks the
after the continuation finishes. If the queue was held by a restart, resume it then.
When the provider reports a reset time, choose **Resume at reset** to schedule a continuation. You
-can cancel it from the thread. Enable **Auto-resume limited threads** in **Settings → General** to
+can cancel it from the thread. Enable **Resume after usage limits** in **Settings → Threads** to
schedule limit stops by default. The workspace helper must be running when the reset arrives; it
resumes overdue continuations after a restart. Sending a new message, archiving, or settling the
thread prevents a pending continuation from starting.
Choose **Snooze until reset** to hide the thread until its allowance returns. Snooze and
auto-resume are independent: snooze alone wakes the thread without sending a message; enabling both
-wakes and continues it. **Wake now** cancels the snooze. Enable **Snooze limited threads** to snooze
+wakes and continues it. **Wake now** cancels the snooze. Enable **Snooze until limits reset** to snooze
limit stops by default. Providers without a reset time offer manual retry and the normal snooze
choices.
diff --git a/docs/user/providers.md b/docs/user/providers.md
index b939716d098b3..4a4f2c0239cbe 100644
--- a/docs/user/providers.md
+++ b/docs/user/providers.md
@@ -141,7 +141,7 @@ project folder.
**Provider update checks** is on by default. For each enabled provider installed through an
identifiable package manager, the workspace helper checks the npm registry (`registry.npmjs.org`)
for its latest version. Manual installations are not checked. To turn these checks off, disable
-**Settings → General → Provider update checks** for the workspace.
+**Settings → Maintenance → Provider update checks** for the workspace.
**Update all** in the sidebar updates outdated Codex, Claude, and Pi installations on connected Coder
workspaces by running each provider’s identified installer inside its workspace. Hover it to see
diff --git a/docs/user/settings.md b/docs/user/settings.md
index aec8c3fd09d36..a4c79b05c8427 100644
--- a/docs/user/settings.md
+++ b/docs/user/settings.md
@@ -6,8 +6,8 @@ workspace; browser preferences follow the browser's existing preference storage.
## Composer
-**General → Plan mode** restores Build/Plan, `/plan`, `/default`, and Shift+Tab. Off uses build mode.
-**Context window indicator** controls the token-usage meter. It remains enabled by default in
+**Labs → Legacy → Plan mode** restores Build/Plan, `/plan`, `/default`, and Shift+Tab. Off uses build mode.
+**Labs → Legacy → Context window indicator** controls the token-usage meter. It remains enabled by default in
T3 Coder, preserving the fork's existing behavior.
Git-backed projects show branch and worktree controls below the composer while you create a
diff --git a/docs/user/source-control.md b/docs/user/source-control.md
index 184b2c8cff6e8..810bf25bc8f9a 100644
--- a/docs/user/source-control.md
+++ b/docs/user/source-control.md
@@ -68,7 +68,7 @@ browser. T3 Coder does not register GitHub, Bitbucket, Azure DevOps, or another
## Merge-request list
-The **Pull requests** page can keep several merge requests open as right-panel tabs. Authored work
+The **Merge requests** page can keep several merge requests open as right-panel tabs. Authored work
appears before review requests. The default ordering ranks merge-ready work first within each
group, with explicit alternatives for update time, creation time, and change size. Filter loaded
results by author or labels. The list's controls, including sort order, filters, search text,