Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
019e55b
fix(composer): keep screenshots preparing after an unanswered questio…
StiensWout Nov 20, 2026
d151236
fix(web): keep reopened pairing link dialogs open on completion (#39579)
StiensWout Nov 20, 2026
f2d4df0
fix(server): Codex web searches list the query once (#39585)
tiliakoos Nov 20, 2026
e963572
test(server): use the live clock for theme watch notifications (#39598)
StiensWout Nov 20, 2026
ed203c4
fix(cursor): stop repeating runtime instructions on every turn (#39605)
Yash-Singh1 Nov 20, 2026
aa725f4
fix(web): file find scrolls to matches below wrapped lines (#39616)
juliusmarminge Nov 20, 2026
8a7035f
fix(gitlab): load issue details where GitLab has no Note.awardEmoji (…
juliusmarminge Nov 20, 2026
b5453de
fix(cursor): background commands survive the turn and wake the agent …
Yash-Singh1 Nov 20, 2026
0a1773a
fix(grok): stop rechecking a healthy Grok CLI every refresh interval …
juliusmarminge Nov 20, 2026
e6d5210
fix(server): a PR watch tells the agent when the checks finish after …
aglowienka Nov 20, 2026
205400e
test(server): expect the checks-finished wake in PR watch runtime tes…
juliusmarminge Nov 20, 2026
84eb429
fix(acp-registry): detect droid, glm, and vibe flavors for local comm…
ndycode Nov 20, 2026
898c22f
fix(scheduled-tasks): clearing a task's thread no longer keeps the ol…
juliusmarminge Nov 20, 2026
a0ef9d8
fix(web): editable file drag selection no longer breaks across virtua…
ryush00 Nov 20, 2026
d5a084c
fix(web): the provider update pill no longer recounts dismissed updat…
Tiaxi Nov 20, 2026
2c33cbd
fix(web): strip terminal colors from saved notebook output (#39643)
geezoria Nov 20, 2026
37e14f5
fix(web): a drag selection released during a window shift keeps its u…
juliusmarminge Nov 20, 2026
6c4758e
fix(mobile): route all external URL opens through the error-handling …
ndycode Nov 20, 2026
abd47de
perf(usage): match transcript markers as bytes without a per-line lat…
ndycode Nov 20, 2026
ec72de7
fix(server): t3_project_read shows the actions saved in Settings (#39…
imqdee Nov 20, 2026
7fcec36
fix(server): Claude text generation retries without images when the m…
juliusmarminge Nov 20, 2026
8238dc2
fix(web,mobile): make comment and review author lines headings (#39648)
juliusmarminge Nov 20, 2026
e6e1ce7
fix(server): preview browser downloads Chrome 158.0.8127.36 with its …
rubas Nov 20, 2026
602e5b3
fix(antigravity): stop double-counting thinking tokens in turn output…
MusseJusse Nov 20, 2026
e3294d7
fix(server): Claude gateway cooldown survives an untyped SDK rejectio…
juliusmarminge Nov 20, 2026
55c4713
fix(release): Windows resource monitor starts without the Visual C++ …
jieyuexing Nov 20, 2026
c7157d3
fix(server): turn authorship works on Git before 2.36 (#39702)
juliusmarminge Nov 20, 2026
a4bf29e
fix(mobile): new thread says the host has no model instead of asking …
juliusmarminge Nov 20, 2026
df09ced
fix(antigravity): keep truncated command text valid Unicode (#39697)
Lucenx9 Nov 20, 2026
e74b795
fix(antigravity): honor the saved thinking level in text generation (…
Lucenx9 Nov 20, 2026
cf10320
fix(azure-devops): read and edit a Bug's text in Repro Steps (#39738)
juliusmarminge Nov 20, 2026
391f93f
fix(web): stop reloading unchanged file previews during agent command…
juliusmarminge Nov 20, 2026
97e7834
fix(server): a released provider session ends its tool call nodes too…
jieyuexing Nov 20, 2026
fe9baf8
fix(server): watch_pull_request says a merge or close wakes the agent…
juliusmarminge Nov 20, 2026
71adede
fix(server): replace the device hub when emulator camera support chan…
juliusmarminge Nov 20, 2026
966e422
fix(desktop): Cmd+T opens the new-tab menu from a focused browser pag…
juliusmarminge Nov 20, 2026
563ba1a
fix(server): port refusals survive T3 Connect's relay (#39763)
juliusmarminge Nov 20, 2026
1c379b6
fix(server): Antigravity links and discovers skills from skills.json …
mameli Nov 20, 2026
905346e
fix(desktop): WSL backend honors T3CODE_HOME from the distro's login …
juliusmarminge Nov 20, 2026
f08272f
fix(server): pull_request_create opens a draft PR as a draft on GitHu…
juliusmarminge Nov 20, 2026
e24f0c7
fix(server): Antigravity wake runs accept steers again (#39767)
juliusmarminge Nov 20, 2026
31e31c6
fix(server): keep DeepSeek ACP probes out of session history (#39733)
crisxuan Nov 20, 2026
9cc4018
fix(server): idle threads compact while a delegated task runs (#39766)
juliusmarminge Nov 20, 2026
7085c47
fix(mobile): a settings row an older environment left mixed can be se…
not-compromised Nov 20, 2026
0bc9b57
feat: secret cards get a show/hide toggle and multi-value fields (#31…
gabrielelpidio Nov 20, 2026
d817e61
fix(ssh): a slow remote server keeps its SSH forward on reconnect (#3…
juliusmarminge Nov 20, 2026
6edb530
fix(antigravity): a scheduled wake keeps its run open instead of look…
juliusmarminge Nov 20, 2026
ccc1feb
fix(ssh): reconnect stops waiting on a remote server that is shutting…
juliusmarminge Nov 20, 2026
f60c747
fix(web): open PDF attachments no longer reload while the agent works…
juliusmarminge Nov 20, 2026
667d8a1
perf(linear): overlap issue details and viewer reads (#39801)
Adamulek123 Nov 20, 2026
98ad25e
chore(sync): merge upstream Antigravity fixes
pseudoseed Nov 20, 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: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Link the MSVC C runtime statically, so Windows binaries such as
# t3-resource-monitor.exe start on machines without the Visual C++
# Redistributable. Cargo reads this file for every build started from the
# repository root, including `--manifest-path` builds of native/* crates.
[target.'cfg(all(windows, target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]
2 changes: 1 addition & 1 deletion .github/workflows/release-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jobs:
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: native/resource-monitor/target/${{ inputs.rust_target }}/release/t3-resource-monitor${{ inputs.platform == 'win' && '.exe' || '' }}
key: resource-monitor-${{ inputs.rust_target }}-${{ hashFiles('native/resource-monitor/Cargo.lock', 'native/resource-monitor/Cargo.toml', 'native/resource-monitor/src/**') }}
key: resource-monitor-${{ inputs.rust_target }}-${{ hashFiles('.cargo/config.toml', 'native/resource-monitor/Cargo.lock', 'native/resource-monitor/Cargo.toml', 'native/resource-monitor/src/**') }}

- name: Cache Linux capture helpers
if: inputs.platform == 'linux'
Expand Down
55 changes: 33 additions & 22 deletions apps/desktop/src/backend/DesktopBackendConfiguration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,12 @@ describe("DesktopBackendConfiguration", () => {
},
ensureNodePty: (distro) => {
observedDistros.push(distro);
return { ok: true, nodePath: "/usr/bin/node", resolvedPath: "/usr/bin:/bin" };
return {
ok: true,
nodePath: "/usr/bin/node",
resolvedPath: "/usr/bin:/bin",
t3Home: null,
};
},
getDistroIp: (distro) => {
observedDistros.push(distro);
Expand Down Expand Up @@ -385,10 +390,12 @@ describe("DesktopBackendConfiguration", () => {
windowsArchivePath: string;
runtimeId: string;
sha256: string;
t3Home: string | null;
}> = [];
let probeCount = 0;
let legacyCleanupCount = 0;
const linuxAppRoot = "/home/test/.t3/wsl-runtime/1.2.3-x64";
const t3Home = "/home/test/.config/t3";
const linuxAppRoot = `${t3Home}/wsl-runtime/1.2.3-x64`;
const resolvedPath = "/home/test/.local/bin:/usr/bin:/bin";

return withPackagedWslHarness(
Expand All @@ -399,17 +406,18 @@ describe("DesktopBackendConfiguration", () => {
legacyCleanupCount += 1;
}),
wsl: () => ({
prepareRuntime: (_distro, archive) => {
prepareRuntime: (_distro, archive, archiveT3Home) => {
observedArchives.push({
windowsArchivePath: archive.windowsPath,
runtimeId: archive.runtimeId,
sha256: archive.sha256,
t3Home: archiveT3Home,
});
return { ok: true, linuxAppRoot };
},
probeRuntime: () => {
probeCount += 1;
return { ok: true, resolvedPath };
return { ok: true, resolvedPath, t3Home };
},
ensureNodePty: () => {
throw new Error("the staged runtime must not probe for node-pty");
Expand All @@ -427,6 +435,7 @@ describe("DesktopBackendConfiguration", () => {
windowsArchivePath: archivePath,
runtimeId: `sha256-${archiveHash}`,
sha256: archiveHash,
t3Home,
},
]);
assert.equal(probeCount, 1);
Expand All @@ -442,12 +451,14 @@ describe("DesktopBackendConfiguration", () => {
"--exec",
"env",
`PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${resolvedPath}`,
`T3CODE_HOME=${t3Home}`,
`${linuxAppRoot}/t3`,
"--bootstrap-fd",
"0",
]);
assert.notInclude(config.args, "/usr/bin/node");
assert.equal(config.wslRuntimeId, `sha256-${archiveHash}`);
assert.equal(config.wslT3Home, t3Home);
assert.equal(legacyCleanupCount, 1);
assert.isTrue(Option.isNone(config.preflightFailure));
}),
Expand All @@ -470,6 +481,7 @@ describe("DesktopBackendConfiguration", () => {
ok: true,
nodePath: "/usr/bin/node",
resolvedPath: "/usr/bin:/bin",
t3Home: null,
}),
}),
},
Expand Down Expand Up @@ -502,10 +514,14 @@ describe("DesktopBackendConfiguration", () => {
archiveHash: "b".repeat(64),
wsl: () => ({
prepareRuntime: () => ({ ok: false, reason: "archive is corrupt" }),
invalidateRuntime: () => Effect.die("failed staging must not invalidate a runtime"),
ensureNodePty: (_distro, root) => {
observedNodePtyRoots.push(root);
return { ok: true, nodePath: "/usr/bin/node", resolvedPath: "/usr/bin:/bin" };
return {
ok: true,
nodePath: "/usr/bin/node",
resolvedPath: "/usr/bin:/bin",
t3Home: null,
};
},
}),
},
Expand All @@ -524,28 +540,30 @@ describe("DesktopBackendConfiguration", () => {
);
});

it.effect("resolveWsl retires a staged runtime whose launch probe fails", () => {
it.effect("resolveWsl does not stage a runtime when the login-shell probe fails", () => {
const archiveHash = "c".repeat(64);
const stagedAppRoot = `/home/test/.t3/wsl-runtime/sha256-${archiveHash}`;
let probeCount = 0;
const observedNodePtyRoots: string[] = [];
const invalidatedRuntimeIds: string[] = [];
return withPackagedWslHarness(
{
archiveHash,
wsl: () => ({
prepareRuntime: () => ({ ok: true, linuxAppRoot: stagedAppRoot }),
invalidateRuntime: (_distro, runtimeId) =>
Effect.sync(() => {
invalidatedRuntimeIds.push(runtimeId);
}),
prepareRuntime: () => {
throw new Error("a failed probe must not stage the runtime");
},
probeRuntime: () => {
probeCount += 1;
return { ok: false, reason: "WSL login-shell PATH could not be resolved" };
},
ensureNodePty: (_distro, root) => {
observedNodePtyRoots.push(root);
return { ok: true, nodePath: "/usr/bin/node", resolvedPath: "/usr/bin:/bin" };
return {
ok: true,
nodePath: "/usr/bin/node",
resolvedPath: "/usr/bin:/bin",
t3Home: null,
};
},
}),
},
Expand All @@ -562,23 +580,17 @@ describe("DesktopBackendConfiguration", () => {
assert.equal(config.entryPath, mountedEntryPath);
assert.isUndefined(config.wslRuntimeId);
assert.isTrue(Option.isNone(config.preflightFailure));
assert.deepEqual(invalidatedRuntimeIds, [`sha256-${archiveHash}`]);
}),
);
});

it.effect("resolveWsl keeps WSL retryable when the mounted fallback fails transiently", () => {
const stagedAppRoot = "/home/test/.t3/wsl-runtime/cache";
const invalidatedRuntimeIds: string[] = [];
return withPackagedWslHarness(
{
archiveHash: "f".repeat(64),
wsl: () => ({
prepareRuntime: () => ({ ok: true, linuxAppRoot: stagedAppRoot }),
invalidateRuntime: (_distro, runtimeId) =>
Effect.sync(() => {
invalidatedRuntimeIds.push(runtimeId);
}),
probeRuntime: () => ({ ok: false, reason: "WSL login-shell PATH could not be resolved" }),
ensureNodePty: () => ({
ok: false,
Expand All @@ -596,7 +608,6 @@ describe("DesktopBackendConfiguration", () => {
assert.isFalse(failure.fatal);
assert.equal(failure.retryLimit, 12);
assert.include(failure.reason, "timed out");
assert.deepEqual(invalidatedRuntimeIds, []);
}),
);
});
Expand Down Expand Up @@ -633,7 +644,7 @@ describe("DesktopBackendConfiguration", () => {
isAvailable: true,
distros: [{ name: "Ubuntu", isDefault: true, version: 2 }],
windowsToWslPath: () => Option.some(linuxAppRoot),
ensureNodePty: () => ({ ok: true, nodePath, resolvedPath }),
ensureNodePty: () => ({ ok: true, nodePath, resolvedPath, t3Home: null }),
getDistroIp: () => Option.some("172.27.0.99"),
}),
),
Expand Down
41 changes: 24 additions & 17 deletions apps/desktop/src/backend/DesktopBackendConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ interface WslPreflightSuccess {
readonly windowsEntryPath: string;
readonly runtime: WslPreflightRuntime;
readonly resolvedPath: string;
readonly t3Home: string | null;
readonly runtimeId?: string;
}

Expand Down Expand Up @@ -412,7 +413,7 @@ const runWslPreflight = Effect.fn("desktop.backendConfiguration.wslPreflight")(f
: ({ ok: true, windowsEntryPath, linuxAppRoot: mountedAppRoot.value } as const);
});

let stagedFailure: { readonly runtimeId?: string; readonly reason: string } | undefined;
let stagedFailure: { readonly reason: string } | undefined;
const failedStaged = (failure: { readonly reason: string }) =>
({
_tag: "Failed",
Expand All @@ -421,32 +422,38 @@ const runWslPreflight = Effect.fn("desktop.backendConfiguration.wslPreflight")(f
}) as const;

if (input.runtimeArchive !== null) {
const runtime = yield* wslEnv.prepareRuntime(runningDistro, input.runtimeArchive);
if (runtime.ok) {
// Staged runtimes bundle Node and node-pty; provider PATH discovery must not require them.
const stagedProbe = yield* wslEnv.probeRuntime(runningDistro);
if (stagedProbe.ok) {
// Staged runtimes bundle Node and node-pty; provider PATH discovery must not require them.
// Probe first: the runtime cache lives under the login shell's T3CODE_HOME.
const stagedProbe = yield* wslEnv.probeRuntime(runningDistro);
if (stagedProbe.ok) {
const runtime = yield* wslEnv.prepareRuntime(
runningDistro,
input.runtimeArchive,
stagedProbe.t3Home,
);
if (runtime.ok) {
yield* wslServerTree.cleanupLegacy;
return {
_tag: "Ready",
runningDistro,
windowsEntryPath: environment.backendEntryPath,
runtime: { kind: "executable", entryPath: `${runtime.linuxAppRoot}/t3` },
resolvedPath: stagedProbe.resolvedPath,
t3Home: stagedProbe.t3Home,
runtimeId: input.runtimeArchive.runtimeId,
} as const;
}
yield* Effect.logWarning(
"The staged WSL runtime probe failed; retrying from the mounted server tree.",
{ reason: stagedProbe.reason },
);
stagedFailure = { runtimeId: input.runtimeArchive.runtimeId, reason: stagedProbe.reason };
} else {
stagedFailure = { reason: runtime.reason };
yield* Effect.logWarning(
"Could not stage the WSL runtime; launching from the mounted server tree instead.",
{ reason: runtime.reason },
);
} else {
yield* Effect.logWarning(
"The staged WSL runtime probe failed; retrying from the mounted server tree.",
{ reason: stagedProbe.reason },
);
stagedFailure = { reason: stagedProbe.reason };
}
}

Expand All @@ -469,10 +476,6 @@ const runWslPreflight = Effect.fn("desktop.backendConfiguration.wslPreflight")(f
: failedNodePty(nodePtyResult);
}

if (stagedFailure?.runtimeId) {
yield* wslEnv.invalidateRuntime(runningDistro, stagedFailure.runtimeId);
}

return {
_tag: "Ready",
runningDistro,
Expand All @@ -483,6 +486,7 @@ const runWslPreflight = Effect.fn("desktop.backendConfiguration.wslPreflight")(f
linuxEntryPath: `${mounted.linuxAppRoot}/apps/server/dist/bin.mjs`,
},
resolvedPath: nodePtyResult.resolvedPath,
t3Home: nodePtyResult.t3Home,
} as const;
});

Expand Down Expand Up @@ -745,13 +749,16 @@ const resolveWslStartConfig = Effect.fn("desktop.backendConfiguration.resolveWsl
"--exec",
"env",
`PATH=${launchPath}`,
...(preflight.t3Home === null ? [] : [`T3CODE_HOME=${preflight.t3Home}`]),
...command,
"--bootstrap-fd",
"0",
...devUrlArgs,
],
preflightFailure: Option.none(),
...(preflight.runtimeId === undefined ? {} : { wslRuntimeId: preflight.runtimeId }),
...(preflight.runtimeId === undefined
? {}
: { wslRuntimeId: preflight.runtimeId, wslT3Home: preflight.t3Home }),
} satisfies DesktopBackendManager.DesktopBackendStartConfig;
});

Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/src/backend/DesktopBackendManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export interface DesktopBackendStartConfig extends BackendProcessContext {
readonly preflightFailure: Option.Option<PreflightFailure>;
readonly runningDistro?: string;
readonly wslRuntimeId?: string;
readonly wslT3Home?: string | null;
}

export interface PreflightFailure {
Expand Down Expand Up @@ -992,6 +993,7 @@ export const makeBackendInstance = Effect.fn("makeBackendInstance")(function* (
yield* wslEnvironment.pruneRuntimes(
config.value.runningDistro,
config.value.wslRuntimeId,
config.value.wslT3Home ?? null,
);
}
}),
Expand Down
Loading
Loading