Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
1688f96
fix(release): keep Vercel warnings out of deployment URLs (#22817)
t3dotgg Oct 21, 2026
96f09c6
fix(queue): send selected held messages when a thread is stopped (#22…
Yash-Singh1 Oct 21, 2026
066c8fc
fix(server): delegated Claude children follow your subagent cache TTL…
t3dotgg Oct 21, 2026
448b8a9
fix(server): t3 pair in a worktree no longer falls back to the live i…
t3dotgg Oct 21, 2026
370b9ae
fix(server): avoid expensive diff minimization in status refreshes (#…
voltcrash Oct 21, 2026
aacd1ee
fix(codex): keep every path of a multi-file patch (#22541)
only21mil Oct 21, 2026
588150e
fix(gitlab): merge request diffs page 30 files at a time so GitLab 15…
Mnigos Oct 21, 2026
2d40894
fix(server): keep Antigravity question options and no-custom-answer f…
fixfon Oct 21, 2026
1d9060b
fix(server): commit prompts no longer repeat CLAUDE.md when it matche…
t3dotgg Oct 21, 2026
b260a7c
fix(mcp): point a bare thread uuid at its mcp: thread in thread_not_f…
fixfon Oct 21, 2026
2f021ee
fix(opencode): out-of-funds failures show OpenCode's message instead …
fixfon Oct 21, 2026
35e5d62
fix(shared): accept a pasted ChatGPT callback URL that is missing htt…
Project516 Oct 21, 2026
a7c22f1
fix(server): the background service picks up JAVA_HOME from the login…
t3dotgg Oct 21, 2026
e822ba7
fix(server): answered questions say "already answered" instead of "no…
t3dotgg Oct 21, 2026
810e8f6
fix(desktop): an abandoned browser sign-in no longer blocks T3 Connec…
t3dotgg Oct 21, 2026
680152e
fix(server): agents get a short, current model list instead of a 55k-…
t3dotgg Oct 21, 2026
9179178
docs(agents): proof for a bug fix depends on the bug (#23008)
juliusmarminge Oct 21, 2026
fa42465
fix(server): removing a worktree on Windows no longer deletes what it…
SunkenInTime Oct 21, 2026
5a0d159
perf(web): a streaming thread re-renders only its own sidebar row (#2…
juliusmarminge Oct 21, 2026
0bdf33a
refactor(web): the add environment dialog owns its form state (#22686)
juliusmarminge Oct 21, 2026
4196708
fix(desktop): use Clerk's upstream fix for abandoned browser sign-ins…
wobsoriano Oct 21, 2026
d27c606
feat: show automation messages as compact timeline rows (#22638)
juliusmarminge Oct 21, 2026
e749245
feat(server,web,mobile): approvals in full access say why Claude aske…
juliusmarminge Oct 21, 2026
d13fc84
feat(claude): idle compaction has a global default and per-instance o…
juliusmarminge Oct 21, 2026
c19d997
perf(web): typing no longer re-renders the traits picker or attach bu…
juliusmarminge Oct 21, 2026
22fd2ac
refactor(web): the composer's layout and provider hooks live in their…
juliusmarminge Oct 21, 2026
0755f98
refactor(web): the prompt stash lives in useComposerStash (#23046)
juliusmarminge Oct 21, 2026
fa37002
refactor(web): composer context imports live in useComposerContextImp…
juliusmarminge Oct 21, 2026
98c494e
refactor(web): composer file intake lives in useComposerAttachmentInt…
juliusmarminge Oct 21, 2026
1444b3f
refactor(web): the composer's footer controls render in ComposerContr…
juliusmarminge Oct 21, 2026
e78f580
refactor(web): composer key handling lives in useComposerCommandKey (…
juliusmarminge Oct 21, 2026
f136d5a
refactor(web): ChatView's send paths live in useComposerSend (#23062)
juliusmarminge Oct 21, 2026
379a391
refactor(web): ChatView's terminal actions live in useChatTerminalAct…
juliusmarminge Oct 21, 2026
ebe828c
refactor(web): ChatView's right panel actions live in useRightPanelAc…
juliusmarminge Oct 21, 2026
92105d4
refactor(web): ChatView's snooze, settle, and checkout actions live i…
juliusmarminge Oct 21, 2026
9f087f7
refactor(web): ChatView's revert, rollback, and fork live in useTimel…
juliusmarminge Oct 21, 2026
5b8298c
refactor(web): ChatView's attachment preview handoff lives in useAtta…
juliusmarminge Oct 21, 2026
7be791c
refactor(web): ChatView's project clone banner lives in useProjectClo…
juliusmarminge Oct 21, 2026
976a601
refactor(web): ChatView's model, mode, and workspace choices live in …
juliusmarminge Oct 21, 2026
114f77f
refactor(web): ChatView's pull request checkout lives in usePullReque…
juliusmarminge Oct 21, 2026
9952a7a
refactor(web): ChatView's thread derivations are tested functions in …
juliusmarminge Oct 21, 2026
322d08d
refactor(web): ChatView's paste-to-focus, titlebar controls, and time…
juliusmarminge Oct 21, 2026
f54dfc0
fix(cursor): a closed-stream write in the Cursor SDK no longer stops …
t3dotgg Oct 21, 2026
c25ba72
fix(server): Codex no longer offers a one-click update for installs i…
koushikxd Oct 21, 2026
9892aca
fix(pi): declare properties on MCP tool schemas that omit them (#21822)
tlconde Oct 21, 2026
2936b90
fix(server): a desktop backend whose launcher died shuts down cleanly…
SunkenInTime Oct 21, 2026
71b8670
fix(mobile): chat feed no longer re-derives on every render (#22913)
t3dotgg Oct 21, 2026
9c6523d
docs(user): the outside agents guide says which addresses agents can …
Gourav224 Oct 21, 2026
60dc0a0
fix(server): HTML preview reports a browser start error instead of an…
t3dotgg Oct 21, 2026
0d876e0
fix(tailscale): a timed-out tailscale probe no longer outlives its ca…
t3dotgg Oct 21, 2026
8541f86
docs(composer): queued messages follow the Follow-up behavior setting…
t3dotgg Oct 21, 2026
f087810
fix(server): failed provider updates say why (#22506)
koushikxd Oct 21, 2026
da46db6
test(telemetry): keep fixture PIDs from colliding with the test worke…
only21mil Oct 21, 2026
2a27e15
fix(server): server tests resolve the macOS temp dir symlink (#21442)
nabettu Oct 21, 2026
aef8b6f
fix(scripts): mobile lint fails instead of passing when ktlint or det…
t3dotgg Oct 21, 2026
ee11fbd
fix(server): t3_thread_read clamps oversized page sizes instead of fa…
t3dotgg Oct 21, 2026
d0c5d7c
fix(mobile): opening a pull request no longer crashes with "Maximum u…
nabettu Oct 21, 2026
b9c1293
fix(web): PR Code tab keeps its files after a refresh with an unchang…
t3dotgg Oct 21, 2026
38d993f
fix(web): finished provider updates no longer leave a hidden spinner …
t3dotgg Oct 21, 2026
5c3721e
fix(composer): mentions of files like `posts.$postId.tsx` or `[id].ts…
t3dotgg Oct 21, 2026
5b715cc
refactor(web): resuming an interrupted run lives in its own hook (#23…
juliusmarminge Oct 21, 2026
36d1e2f
refactor(web): proposed-plan follow-ups and implement-in-new-thread l…
juliusmarminge Oct 21, 2026
ac23b74
refactor(web): multiple-model sends live in their own hook (#23094)
juliusmarminge Oct 21, 2026
beec3c8
refactor(web): the composer send reads its own settings and draft ins…
juliusmarminge Oct 21, 2026
b34f74c
refactor(web): ComposerControlsBar renders without a memo() wrapper (…
juliusmarminge Oct 21, 2026
764fff2
refactor(web): chat shortcuts live with the hooks that own their acti…
juliusmarminge Oct 21, 2026
a642ab2
refactor(web): ChatView's timeline banners render in ChatBannerLane (…
juliusmarminge Oct 21, 2026
968dd51
fix(web): the branch toolbar and thread details panel stay cached whi…
juliusmarminge Oct 21, 2026
1b22228
fix(server): scheduled tasks no longer jump to the top when toggled (…
t3dotgg Oct 21, 2026
22b89ef
fix(server): Forgejo and GitCafe pull requests link to their threads …
MarcoDotIO Oct 21, 2026
fb7f087
fix(server): pushes the remote refuses say why instead of a generic f…
t3dotgg Oct 21, 2026
1ee0241
fix(composer): typing a price no longer opens the skill menu (#21519)
MarcoDotIO Oct 21, 2026
a35066d
fix(web): thread details PR merge uses the last selected merge method…
tris203 Oct 21, 2026
bee9ce8
fix(web): a Usage toggle shortcut now goes back instead of staying on…
t3dotgg Oct 21, 2026
159f2b8
fix(web): quote comment box stays on screen for long code lines (#22149)
EtanHey Oct 21, 2026
86fa9e0
fix(web): right panel launcher letters open their surface instead of …
t3dotgg Oct 21, 2026
edce5f0
fix(web): ../ file links outside the workspace open as host files (#2…
t3dotgg Oct 21, 2026
6de7da5
fix(shared): recognize relative folder links with trailing slash (#22…
macodev00 Oct 21, 2026
1a44c40
fix(client): usage limits skip disabled connections (#22936)
M4NU5 Oct 21, 2026
7845898
fix(web): imported VS Code themes keep destructive buttons red (#21924)
lgollut Oct 21, 2026
855db96
fix(shared): Azure DevOps repositories with a space in the name list …
Tabonx Oct 21, 2026
2333f16
fix(opencode): cancelled todos no longer keep the todo list running (…
MarcoDotIO Oct 21, 2026
0f74ff8
fix(web): copy to machine clones the fork, not its upstream (#22492)
AKolenda Oct 21, 2026
1befc71
fix(server): JetBrains IDEs open file links at the right column (#22826)
levochkaa Oct 21, 2026
70e5e38
fix(server): sync pull request draft status changes (#22832)
Yash-Singh1 Oct 21, 2026
bd6940b
test(web): chat shortcut test types through the composer handle (#23126)
juliusmarminge Oct 21, 2026
a12d6ed
Merge commit from fork
juliusmarminge Oct 21, 2026
b5a226e
fix(source-control): merge messages drop Claude Code's current claude…
MarcoDotIO Oct 21, 2026
ed9b7ca
fix(build): pin Node 26.12.1 for development and standalone releases …
PixPMusic Oct 22, 2026
9cdd059
fix(mobile): keep Duo toolbar actions clear of workspace tabs (#22976)
juliusmarminge Oct 22, 2026
ec2fd4d
fix(mobile): respect Duo safe areas in overlays (#22977)
juliusmarminge Oct 22, 2026
eec07b6
fix(mobile): retain resting scroll offsets through Duo inset changes …
juliusmarminge Oct 22, 2026
61bdec0
fix(mobile): deliver the first tab selection after Duo folding (#22979)
juliusmarminge Oct 22, 2026
13eea3f
fix(mobile): use native full-width sheets on iPhone Duo (#22980)
juliusmarminge Oct 22, 2026
added62
fix(mobile): the pull requests tab's empty detail asks for a pull req…
juliusmarminge Oct 22, 2026
801701d
fix(mobile): the iPhone Duo keeps list titles through folds and unfol…
juliusmarminge Oct 22, 2026
9fa551a
fix(mobile): the iPhone Duo searches from a field at the bottom of it…
juliusmarminge Oct 22, 2026
37d6fce
fix(mobile): a closed search no longer risks freezing the app (#23146)
juliusmarminge Oct 22, 2026
5ed2ea2
fix(mobile): folding the Duo keeps the thread's end or the reader's l…
juliusmarminge Oct 22, 2026
e6c2aeb
fix(mobile): the iPhone Duo's search field and composer line up with …
juliusmarminge Oct 22, 2026
83a8501
fix(mobile): Screens 5.0.0-t3.36 stops an iPhone Duo unfold crash (#2…
juliusmarminge Oct 22, 2026
89fe509
fix(mobile): the iPhone Duo's inspector panes use the full column (#2…
juliusmarminge Oct 22, 2026
8acbefe
fix(gitcafe): show line counts on linked and listed pull requests (#2…
maria-rcks Oct 22, 2026
49e97d4
docs(import): correct conversation size and batch limits (#23226)
only21mil Oct 22, 2026
6f6f68a
fix(server): stop abandoned turns before continuing threads (#23169)
Yash-Singh1 Oct 22, 2026
f8e4834
feat(server): export how long runs take and how they end (#22094)
juliusmarminge Oct 22, 2026
6318bfc
fix(mobile): new-thread heading clears the iPad header (#23206)
juliusmarminge Oct 22, 2026
aa0158d
fix(pi): fork completed turns while the next turn is running (#23052)
juliusmarminge Oct 22, 2026
b295dd8
fix(mobile): drafts swipe to discard and every row move animates (#23…
juliusmarminge Oct 22, 2026
defb7e6
feat(server): webhook filters fan out over arrays with a [] path wild…
juliusmarminge Oct 22, 2026
3690c86
fix(web): Arabic and Hebrew text reads and navigates right to left (#…
yzn-h Oct 22, 2026
a98ebde
fix(client-runtime): refresh Git refs when the RPC session changes (#…
Yash-Singh1 Oct 22, 2026
05b697f
fix(web): cap list layout passes to prevent React error 185 (#23315)
Yash-Singh1 Oct 22, 2026
e075957
fix(mobile): align iPad composer without shifting on keyboard focus (…
juliusmarminge Oct 22, 2026
6e3c5e6
feat(gitcafe): request reviewers and apply labels on GitCafe pull req…
juliusmarminge Oct 22, 2026
a49d18c
fix(source-control): clones retry over HTTPS when the SSH key is refu…
juliusmarminge Oct 22, 2026
efa5381
fix(mobile): the iOS composer reopens where you left a long draft (#2…
shivamhwp Oct 22, 2026
002e941
fix(mobile): preserve new-thread drafts and native header layout (#23…
juliusmarminge Oct 22, 2026
6f75bcb
feat: ChatGPT Business usage limits offer a copyable admin request (#…
juliusmarminge Oct 22, 2026
3b95e78
fix(web): paused sidebar videos stop reloading after every command (#…
shivamhwp Oct 22, 2026
4040867
chore(typecheck): typescript is the tsc-rs drop-in, no effect-tsgo pa…
t3dotgg Oct 22, 2026
96bae54
fix(mobile): Dynamic Island status no longer wraps next to other Live…
t3dotgg Oct 22, 2026
83f118a
perf(web): streamed reply text no longer re-renders ChatView (#23117)
juliusmarminge Oct 22, 2026
ee33c4c
perf(web): visit marks during a reply no longer re-render ChatView (#…
juliusmarminge Oct 22, 2026
5ffe045
fix(server): a Claude agent stops when the server that started it die…
shivamhwp Oct 22, 2026
ff52547
fix(server): SSH hosts no longer keep every old 300 MB runtime after …
shivamhwp Oct 22, 2026
43879d9
fix(settings): older clients connect again after idle compaction mode…
juliusmarminge Oct 22, 2026
8d3b061
fix(mobile): unify draft and thread navigation and composer behavior …
juliusmarminge Oct 22, 2026
ed3f965
ci: setup survives npm registry outages (#23582)
t3dotgg Oct 22, 2026
6e0cd93
Merge upstream/main ed3f965e07 into coder-only
henrychu04 Oct 22, 2026
1a44287
Expect right-to-left text direction in ChatMarkdown heading tests
henrychu04 Oct 22, 2026
5ecd978
Document the ed3f965e07 sync's seams and test pitfalls
henrychu04 Oct 22, 2026
83f6f03
Format the ChatMarkdown heading test
henrychu04 Oct 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion apps/server/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ const makeTest = Effect.fn(function* (
const baseDir =
typeof baseDirOrPrefix === "string"
? baseDirOrPrefix
: yield* fileSystem.makeTempDirectoryScoped({ prefix: baseDirOrPrefix.prefix });
: // macOS temp dirs live under the /var -> /private/var symlink; storage cleanup's
// symlink guards compare resolved paths, so generated test dirs must be real paths.
yield* fileSystem.realPath(
yield* fileSystem.makeTempDirectoryScoped({ prefix: baseDirOrPrefix.prefix }),
);
const paths = yield* deriveServerPaths(baseDir);
yield* ensureServerDirectories(paths);
return ServerConfig.of({ cwd, baseDir, ...paths });
Expand Down
94 changes: 94 additions & 0 deletions apps/server/src/git/GitManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import * as PlatformError from "effect/PlatformError";
import * as Result from "effect/Result";
import * as Schema from "effect/Schema";
import * as Scope from "effect/Scope";
import * as Stream from "effect/Stream";
import { ChildProcessSpawner } from "effect/process";
import { expect } from "vite-plus/test";
import type {
Expand Down Expand Up @@ -974,6 +975,63 @@ it.layer(GitManagerTestLayer)("GitManager", (it) => {
}),
);

// Coder: upstream's draft-status test on GitLab.
it.effect("branch PR lookup notifies linked threads when draft status changes", () =>
Effect.gen(function* () {
const repoDir = yield* makeTempDir("t3code-git-manager-");
yield* initRepo(repoDir);
yield* runGit(repoDir, ["checkout", "-b", "feature/draft-status"]);
const remoteDir = yield* createBareRemote();
yield* runGit(repoDir, ["remote", "add", "origin", remoteDir]);
yield* runGit(repoDir, ["push", "-u", "origin", "feature/draft-status"]);
const drafts = [false, true, true, false, false, true];
const pullRequest = {
number: 1,
title: "Draft status",
url: "https://gitlab.com/pingdotgg/codething-mvp/-/merge_requests/1",
baseRefName: "main",
headRefName: "feature/draft-status",
state: "OPEN",
};
const { manager } = yield* makeManager({
glabScenario: {
prListSequence: [
...drafts.map((isDraft) => encodeCliJson([{ ...pullRequest, isDraft }])),
encodeCliJson([
{
...pullRequest,
number: 2,
url: "https://gitlab.com/pingdotgg/codething-mvp/-/merge_requests/2",
state: "MERGED",
},
]),
],
},
});
const changes = yield* manager.subscribePullRequestStateChanges;
for (const isDraft of drafts) {
const pr = yield* manager.branchPullRequest(
{ cwd: repoDir, branch: "feature/draft-status" },
{ refresh: true },
);
expect(pr?.isDraft === true).toBe(isDraft);
}
// A different PR ends collection without waiting on a background stream consumer.
yield* manager.branchPullRequest(
{ cwd: repoDir, branch: "feature/draft-status" },
{ refresh: true },
);
const events = yield* Stream.runCollect(
changes.pipe(Stream.takeUntil((event) => event.number === 2, { excludeLast: true })),
);
expect(events).toEqual([
{ host: "gitlab.com", repository: "pingdotgg/codething-mvp", number: 1 },
{ host: "gitlab.com", repository: "pingdotgg/codething-mvp", number: 1 },
{ host: "gitlab.com", repository: "pingdotgg/codething-mvp", number: 1 },
]);
}),
);

it.effect("branch PR lookup uses a saved tracked branch without changing checkout", () =>
Effect.gen(function* () {
const repoDir = yield* makeTempDir("t3code-git-manager-");
Expand Down Expand Up @@ -2487,6 +2545,42 @@ it.layer(GitManagerTestLayer)("GitManager", (it) => {
}),
);

it.effect("includes CLAUDE.md for Claude writers only when it differs from AGENTS.md", () =>
Effect.gen(function* () {
const repoDir = yield* makeTempDir("t3code-git-manager-");
yield* initRepo(repoDir);
NodeFS.writeFileSync(NodePath.join(repoDir, "AGENTS.md"), "Use imperative subjects.\n");
NodeFS.copyFileSync(NodePath.join(repoDir, "AGENTS.md"), NodePath.join(repoDir, "CLAUDE.md"));
NodeFS.writeFileSync(NodePath.join(repoDir, "README.md"), "hello\n");
const commitInstructions: Array<string | undefined> = [];

const { manager } = yield* makeManager({
serverSettings: {
textGenerationModelSelection: {
instanceId: ProviderInstanceId.make("claudeAgent"),
model: "claude-sonnet-4-5",
},
},
textGeneration: {
generateCommitMessage: (input) => {
commitInstructions.push(input.policy?.commitInstructions);
return Effect.succeed({ subject: "Update readme", body: "" });
},
},
});

yield* runStackedAction(manager, { cwd: repoDir, action: "commit" });

NodeFS.writeFileSync(NodePath.join(repoDir, "CLAUDE.md"), "Mention the Claude provider.\n");
NodeFS.writeFileSync(NodePath.join(repoDir, "README.md"), "hello again\n");
yield* runStackedAction(manager, { cwd: repoDir, action: "commit" });

expect(commitInstructions[0]).toContain("Local AGENTS.md:\nUse imperative subjects.");
expect(commitInstructions[0]).not.toContain("Local CLAUDE.md:");
expect(commitInstructions[1]).toContain("Local CLAUDE.md:\nMention the Claude provider.");
}),
);

it.effect("falls back when the dedicated source control writer is unavailable", () =>
Effect.gen(function* () {
const repoDir = yield* makeTempDir("t3code-git-manager-");
Expand Down
21 changes: 15 additions & 6 deletions apps/server/src/git/GitManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export function pullRequestRepositoryKey(value: string): string | null {
try {
const url = new URL(value);
const match =
/^(.*)(?:\/pull\/|\/-\/merge_requests\/|\/pull-requests\/|\/pullrequest\/)\d+(?:\/.*)?$/iu.exec(
/^(.*)(?:\/pulls?\/|\/-\/merge_requests\/|\/pull-requests\/|\/pullrequest\/)\d+(?:\/.*)?$/iu.exec(
url.pathname,
);
if (match?.[1] === undefined) return null;
Expand Down Expand Up @@ -894,7 +894,10 @@ export const make = Effect.gen(function* () {
? [["Recent commit subjects from this repository:", ...subjects].join("\n")]
: []),
...(agentInstructions ? [`Local AGENTS.md:\n${agentInstructions}`] : []),
...(claudeInstructions ? [`Local CLAUDE.md:\n${claudeInstructions}`] : []),
// CLAUDE.md is often a symlink or copy of AGENTS.md; skip the duplicate.
...(claudeInstructions && claudeInstructions !== agentInstructions
? [`Local CLAUDE.md:\n${claudeInstructions}`]
: []),
].join("\n\n");
if (!examples) {
return repositoryConventionsTextGenerationPolicy;
Expand Down Expand Up @@ -1216,21 +1219,27 @@ export const make = Effect.gen(function* () {
return prLookupFailureTtl(streak);
};
const pullRequestStateChanges = yield* PubSub.sliding<ThreadPullRequestKey>(64);
const lookupStates = new Map<string, PullRequestInfo["state"]>();
const lookupStates = new Map<
string,
{ readonly state: PullRequestInfo["state"]; readonly isDraft: boolean }
>();
const noteLookupState = (pr: PullRequestInfo) =>
Effect.suspend(() => {
const parsed = parseChangeRequestUrl(pr.url);
if (parsed === null || parsed.number !== pr.number) return Effect.void;
const key = normalizeThreadPullRequestKey(parsed);
const id = threadPullRequestKeyOf(key);
const previous = lookupStates.get(id) ?? "open";
const previous = lookupStates.get(id);
lookupStates.delete(id);
if (lookupStates.size >= PR_LOOKUP_CACHE_CAPACITY) {
const oldest = lookupStates.keys().next().value;
if (oldest !== undefined) lookupStates.delete(oldest);
}
lookupStates.set(id, pr.state);
return previous === pr.state ? Effect.void : PubSub.publish(pullRequestStateChanges, key);
lookupStates.set(id, { state: pr.state, isDraft: pr.isDraft === true });
return (previous?.state ?? "open") === pr.state &&
(previous?.isDraft === true) === (pr.isDraft === true)
? Effect.void
: PubSub.publish(pullRequestStateChanges, key);
});
const prLookupCache = yield* Cache.makeWith(
(key: string) => {
Expand Down
Loading