Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
edd6fc3
fix(server): ACP streamed chunks compare message ids exactly (#35836)
juliusmarminge Nov 13, 2026
0fa18ad
fix(install): name the archive when its download fails (#35854)
juliusmarminge Nov 13, 2026
7fb6098
test(server): drop the flaky Kiro provider_thread_resume replay (#35867)
juliusmarminge Nov 13, 2026
ed2a319
fix(web): arrow and page keys scroll the conversation again after a c…
juliusmarminge Nov 13, 2026
8b23382
fix(kiro): compaction is refused when Kiro does not advertise _kiro/s…
juliusmarminge Nov 13, 2026
d20d535
fix(server): show self-resumed Claude subagents as running (#23831)
juliusmarminge Nov 13, 2026
f999dc1
fix(web): preserve single tildes in sent user messages (#35859)
juliusmarminge Nov 13, 2026
e079ad9
fix(desktop): clicking inside the in-app browser closes open host men…
voida6 Nov 13, 2026
d6fc871
fix(desktop): update browser tab titles without navigation (#29452)
voltcrash Nov 13, 2026
d7a0b53
fix(web,mobile): triage follows the draft when you switch machines (#…
pnupu Nov 13, 2026
a000973
fix(server): storage cleanup treats symlinked spellings of a worktree…
juliusmarminge Nov 13, 2026
1c44b29
fix(server): migrate-dev-db refuses unimported legacy threads (#23191)
juliusmarminge Nov 13, 2026
87a772a
fix(web): opening a thread on a touch tablet no longer focuses the co…
juliusmarminge Nov 13, 2026
c967d98
fix(acp): linked terminal output no longer reopens a completed tool c…
juliusmarminge Nov 13, 2026
15cf8b1
fix(acp): root tool content replacements replace streamed output (#35…
juliusmarminge Nov 13, 2026
5e18314
fix(forgejo): fast-forward-only repositories can merge pull requests …
juliusmarminge Nov 13, 2026
b1bc5ce
fix(server): linking says why each address failed discovery (#30884)
juliusmarminge Nov 13, 2026
8a227eb
fix(terminal): show recovery guidance when a project folder is missin…
juliusmarminge Nov 13, 2026
1e96606
fix(client-runtime): reopened files show host edits instead of the fi…
juliusmarminge Nov 13, 2026
b23f94e
fix(server): preview resize and status report the real size of deskto…
Entrpi Nov 13, 2026
496856d
fix(server): migration 64 skips thread payloads that are not valid JS…
juliusmarminge Nov 13, 2026
8a38c63
fix(web): thread navigation shortcuts work from the terminal and macO…
juliusmarminge Nov 13, 2026
025942d
fix(desktop): an unreadable settings file is no longer overwritten by…
juliusmarminge Nov 13, 2026
6f108e8
fix(codex): accept hook event names newer than the pinned protocol (#…
juliusmarminge Nov 13, 2026
e726a08
fix(opencode): /goal clear with no goal set finishes as a no-op (#35893)
juliusmarminge Nov 13, 2026
6bc3726
fix(ssh): a slow reconnect no longer replaces a healthy port forward …
juliusmarminge Nov 13, 2026
be03b93
fix(desktop): one preview viewer or recording stopping no longer free…
juliusmarminge Nov 13, 2026
f39d38b
fix(server): Codex question answers keep their native question id (#3…
juliusmarminge Nov 13, 2026
f539020
test(server): windowed history pages are checked against the full ind…
t3dotgg Nov 13, 2026
afff0d3
fix(clients): answer history no longer shows provider context from re…
juliusmarminge Nov 13, 2026
274474d
fix(server): refresh sync status after agent merges (#35919)
Yash-Singh1 Nov 13, 2026
7556047
fix(web): copying an image with a spaced path keeps it an image (#35914)
juliusmarminge Nov 13, 2026
2e0bd97
fix(server): Force stop no longer tears down a queued follow-up that …
juliusmarminge Nov 13, 2026
5f7bfe5
fix(azure-devops): TF400733 throttling fails diffs as rate-limited (#…
juliusmarminge Nov 13, 2026
ed5afae
fix(acp): v2 tool updates clear nulled fields and replace raw input (…
juliusmarminge Nov 13, 2026
004f7a7
fix(server): interrupted SSH device bootstrap no longer leaks its for…
juliusmarminge Nov 13, 2026
bedc865
fix(mobile): Files search no longer carries into another workspace (#…
juliusmarminge Nov 13, 2026
b62e80e
fix(web): copying an alert callout keeps its alert Markdown (#35932)
juliusmarminge Nov 13, 2026
0a333a6
fix(server): Codex shadow home shares the instance environment CODEX_…
juliusmarminge Nov 13, 2026
97cfc07
fix(preview): remote viewers recover from stalled first captures (#25…
juliusmarminge Nov 13, 2026
0c4b1d8
fix(server): new turns wait for overlapping checkpoint file restores …
juliusmarminge Nov 13, 2026
67d91a0
fix(server): preview_navigate returns the committed page when load is…
juliusmarminge Nov 13, 2026
ec91827
fix(server): unchanged-worktree cleanup waits for the thread to settl…
juliusmarminge Nov 13, 2026
ff1eead
fix(web): zoom shortcuts work while a desktop browser page has focus …
juliusmarminge Nov 13, 2026
0b12767
fix(server): ACP threads accept a model change after their session de…
juliusmarminge Nov 13, 2026
b2078c2
fix(server): service launcher keeps a T3 home that ends in a space (#…
juliusmarminge Nov 13, 2026
99224f0
fix(server): launcher repoints the unit the systemd manager loads (#3…
juliusmarminge Nov 13, 2026
0f5ecef
fix(server): refuse a Linux service for a T3 home systemd cannot load…
juliusmarminge Nov 13, 2026
b7a224c
perf(server): sending, editing and steering queued messages no longer…
juliusmarminge Nov 13, 2026
8fe745d
fix(server): Codex protocol records go to the log of the thread they …
juliusmarminge Nov 13, 2026
c54e5b3
fix(cli): service.env updates keep quoted multiline values intact (#3…
juliusmarminge Nov 13, 2026
a621be8
fix(web): open code blocks and diffs follow a changed word wrap defau…
juliusmarminge Nov 13, 2026
e018563
fix(desktop): keep WSL distros whose names start or end with a dot or…
juliusmarminge Nov 13, 2026
43ce395
test: run clock-free live tests on TestClock (#35868)
juliusmarminge Nov 13, 2026
939b288
fix(server): SSH device test rejects Node below agent-device's 22.12 …
juliusmarminge Nov 13, 2026
cc92740
fix(server): Simlock renewals no longer exceed the gateway's lease TT…
juliusmarminge Nov 13, 2026
ee64555
test: drop Effect.scoped wrappers that @effect/vitest already applies…
juliusmarminge Nov 13, 2026
d06ba27
fix(device): Simlock viewer stops retrying an ended lease and keeps i…
juliusmarminge Nov 13, 2026
15d1ef5
fix(server): Stop waits for the turn to settle instead of polling (#3…
juliusmarminge Nov 13, 2026
a32cdde
ci: label issues from vouched and denounced authors, denounce coygeek…
juliusmarminge Nov 13, 2026
f9cadcc
fix(scripts): dev runner ignores the parent T3 server's port and host…
juliusmarminge Nov 13, 2026
0b0a61a
perf(server): reduce allocation while reading usage history (#36009)
StiensWout Nov 13, 2026
2cb56cb
fix(web): terminal paste keeps a leading U+FEFF without bracketed pas…
juliusmarminge Nov 13, 2026
c29c26a
fix(server): BEL inside a DCS no longer ends it in terminal history (…
juliusmarminge Nov 13, 2026
431e53f
fix(server): terminal history drops the ESC Z identity query (#36024)
juliusmarminge Nov 13, 2026
2432ee1
test(server): blocked pointer-file scan test waits for the unblocked …
juliusmarminge Nov 13, 2026
1acee5b
fix(web): terminal OSC 8 file URIs open the file they name (#36025)
juliusmarminge Nov 13, 2026
73e49aa
fix(server): terminal history strips queries with embedded controls (…
juliusmarminge Nov 13, 2026
0af8be3
fix(mobile): pasted images over the size limit attach instead of vani…
juliusmarminge Nov 13, 2026
7179113
fix(mobile): Android terminal resizes the engine when only the cell s…
juliusmarminge Nov 13, 2026
6237824
fix(server): t3_thread_read results fit MCP clients' output limit (#3…
juliusmarminge Nov 13, 2026
3376c8d
fix(desktop): AppImage t3 shim no longer grows the CLI compile cache …
juliusmarminge Nov 13, 2026
d63c0ec
ci: agent context budget runs are no longer cancelled by label bursts…
juliusmarminge Nov 13, 2026
2dd207a
fix(server): a decoded U+009C no longer ends an OSC string in termina…
juliusmarminge Nov 13, 2026
a2be070
fix(server): speech worker no longer segfaults when the backend dies …
juliusmarminge Nov 13, 2026
5f85768
fix(codex): image items identified by fileId are no longer dropped (#…
juliusmarminge Nov 13, 2026
4596872
perf(server): linked-thread counts update when links change instead o…
juliusmarminge Nov 13, 2026
60f70d9
fix(scripts): scenarios reach the screen and say why they could not r…
juliusmarminge Nov 13, 2026
38c3b56
docs: AGENTS.md and the FAQ list Pi, Muse Code, Kiro, and fx (#33906)
only21mil Nov 13, 2026
b80531d
fix(web): PR Code tab previews images the host sends no patch for (#3…
juliusmarminge Nov 13, 2026
31b5549
fix(web): pull request comment tooltips follow the Time format settin…
juliusmarminge Nov 13, 2026
56e58a9
fix(server): repository identity honors the gh default remote (#21574)
juliusmarminge Nov 13, 2026
c28c6ac
fix(server): a rejected non-fast-forward push explains itself under a…
juliusmarminge Nov 13, 2026
8cb55fa
fix(web): provider rows select from anywhere in the row (#32537)
juliusmarminge Nov 13, 2026
fb2e5a0
fix(client-runtime): imported threads that never ran no longer sit in…
juliusmarminge Nov 13, 2026
dd7918e
fix(web,mobile): MCP app calls keep their tool row and result beside …
juliusmarminge Nov 13, 2026
0902adc
fix(forgejo): tea API failures keep Gitea's reason (#32244)
juliusmarminge Nov 13, 2026
e4025c8
fix(server): reap recorded Linux Claude survivors before recovery (#2…
juliusmarminge Nov 13, 2026
08544ba
fix(web): open documents no longer reload after every agent command (…
juliusmarminge Nov 13, 2026
84efa01
fix(desktop): AppImage quit no longer leaves zygotes running on an un…
juliusmarminge Nov 13, 2026
4225c9d
fix(server): a message sent after a stopped worktree setup waits inst…
Gourav224 Nov 13, 2026
7e1a058
test(server): terminal checkout test waits for the refresh's last eve…
juliusmarminge Nov 13, 2026
290182d
fix(provider-core): Vite+ provider updates respect npm's release-age …
juliusmarminge Nov 13, 2026
6790f85
fix(web): point pairing copy at Sharing & access (#27692)
PedroNavHur Nov 13, 2026
5f69cac
fix(web): turn diffs cut off at the size limit say changes are incomp…
juliusmarminge Nov 13, 2026
082a3e3
fix(web): narrow-window right panel dialog is named Workspace panel (…
juliusmarminge Nov 13, 2026
eb7e63a
fix(server): thread reads preview linked PRs and list_thread_pull_req…
juliusmarminge Nov 13, 2026
74573fc
fix(web): new project publish option tells screen readers whether it …
juliusmarminge Nov 13, 2026
ed05c0e
fix(server): preview drag moves the mouse during the drag (#36096)
juliusmarminge Nov 13, 2026
bd7d264
fix(server): a fresh-session scheduled run no longer takes over the t…
juliusmarminge Nov 13, 2026
10fbff5
fix(server): deferred-steer check and queued cancel no longer read a …
juliusmarminge Nov 13, 2026
21b0b7a
fix(composer): keep reviews from different Git hosts in suggestions (…
saphitv Nov 13, 2026
ed7e501
fix(web): terminal "Add to chat" now adds to a queued message being e…
juliusmarminge Nov 13, 2026
a044f0c
fix(mobile): a final answer followed by more work in the same run sta…
juliusmarminge Nov 13, 2026
fa9d85f
fix(web): a server updated with the app reconnects as soon as it is r…
Bil0000 Nov 13, 2026
7903b48
fix(acp): Copilot runs end when its reply is done, not when its async…
juliusmarminge Nov 13, 2026
08be782
fix(server): a link forgotten mid-resolve says it is not linked (#36132)
juliusmarminge Nov 13, 2026
4aec277
fix(server): t3_queue and handoff analytics no longer read a thread's…
juliusmarminge Nov 13, 2026
2d8a843
perf(server): shell reads of a worktree or family no longer parse eve…
juliusmarminge Nov 13, 2026
c7a3f02
fix(desktop): Local environment off survives an unreadable value in d…
juliusmarminge Nov 13, 2026
095611d
fix(mobile): a sub-agent opened from its parent on a narrow iPad keep…
juliusmarminge Nov 13, 2026
8610b31
fix(server): Codex usage answering after three seconds is no longer d…
juliusmarminge Nov 13, 2026
9a35ab0
fix(mobile): iOS terminal font and theme changes no longer replay out…
shivamhwp Nov 13, 2026
f313d0a
fix(server): stop device daemon alongside slow hub shutdown (#33566)
shivamhwp Nov 13, 2026
3ac8b1f
fix(acp): bound unread notification retention by size (#23217)
juliusmarminge Nov 13, 2026
00f617d
fix(client-runtime): recover subscriptions that stop on a healthy con…
juliusmarminge Nov 13, 2026
e419417
fix(server): stopping the service during the pre-update backup ends t…
juliusmarminge Nov 13, 2026
928dd04
fix(server): preview browser downloads Chrome 157.0.8103.78 with its …
juliusmarminge Nov 13, 2026
d0957bc
fix(opencode): restarted server stops an orphaned OpenCode server sta…
juliusmarminge Nov 13, 2026
c398b46
fix(server): Codex text generation runs when launch args define an MC…
juliusmarminge Nov 13, 2026
759e649
fix(server): agent recordings keep up with the page instead of the en…
juliusmarminge Nov 13, 2026
9b6dde9
fix(server): session import finds compressed Codex rollouts (#34947)
juliusmarminge Nov 13, 2026
148612e
fix(opencode): usage scans reuse unchanged rows and run off the event…
juliusmarminge Nov 13, 2026
d3ef7e8
fix(cursor): send the catalog's default model parameters on every Cur…
juliusmarminge Nov 13, 2026
0568a63
fix(server): agents point to Settings → Labs when the link tools are …
juliusmarminge Nov 13, 2026
139ec80
fix(server): Claude no longer dispatches skill mentions from handoff …
juliusmarminge Nov 13, 2026
4b316fd
fix(web): clear deleted checkout labels from the sidebar (#25063)
juliusmarminge Nov 13, 2026
4582a3b
fix(server): MacPorts-owned agent CLIs are no longer updated through …
juliusmarminge Nov 13, 2026
286eeea
test(desktop): AppImage shim test no longer writes into its temp dir …
juliusmarminge Nov 13, 2026
f62fa29
fix(web): Add to another machine can find ignored files past the firs…
juliusmarminge Nov 13, 2026
b5c0ee5
fix(mobile): Android Back from Pulls or Usage returns to Threads (#36…
juliusmarminge Nov 13, 2026
d19467a
fix(server): a thread visit stores only its read state (#36233)
juliusmarminge Nov 13, 2026
5cbdf00
fix(web): mostly vertical trackpad scrolls no longer navigate back or…
juliusmarminge Nov 13, 2026
8bf0dc4
fix(opencode): a resumed task subagent's turn no longer collides with…
juliusmarminge Nov 13, 2026
a4a8c61
fix(server): preview click, hover and drag survive a target replaced …
juliusmarminge Nov 13, 2026
0f13d63
fix(browser): Stop cancels loading pages (#29475)
voltcrash Nov 13, 2026
713731f
fix(server): a timed-out preview call no longer evicts the shared ser…
juliusmarminge Nov 13, 2026
5aea99a
fix(server): turns recreate a worktree folder that lost its checkout …
juliusmarminge Nov 13, 2026
beb528c
fix(server): queued scheduled deliveries follow the thread's current …
Ali-Al1 Nov 13, 2026
350753a
fix(usage): Claude accounts with a $0 monthly cap no longer leave a b…
cardoso-neto Nov 13, 2026
93aaad5
fix(web): PR conversation headers wrap instead of overflowing (#36211)
BeLazy167 Nov 13, 2026
c5dfb8f
fix(mobile): new thread starts in the thread list's filtered project …
juliusmarminge Nov 13, 2026
a877d40
fix(opencode): models load once OpenCode 2 finishes activating its pl…
juliusmarminge Nov 13, 2026
497aac2
fix(server): include Cursor team usage in account history (#36237)
Yash-Singh1 Nov 13, 2026
764c047
fix(web): terminal TypeScript links preserve error locations (#36174)
saphitv Nov 13, 2026
79dd6d7
fix(web): terminal TypeScript links preserve error locations (#36174)
saphitv Nov 13, 2026
daed1dd
fix(server): a follow-up delegated task waits for the subagents its c…
juliusmarminge Nov 13, 2026
9b5d997
fix(opencode): native forks no longer multiply usage (#23120)
juliusmarminge Nov 13, 2026
d70bfe6
fix(server): a send to a thread whose worktree can't be recreated now…
juliusmarminge Nov 13, 2026
1ea5236
fix(mobile): HTML file previews play video inline on iPhone (#32343)
juliusmarminge Nov 13, 2026
2953fda
fix(server): Antigravity skill bodies no longer exhaust the skill sca…
juliusmarminge Nov 13, 2026
76d0fff
fix(server): include symlinks in workspace search (#24578)
juliusmarminge Nov 13, 2026
7ab4650
fix(mobile): Work on PR keeps its worktree when switching machines (#…
juliusmarminge Nov 13, 2026
a09e54a
fix(server): proxied usage limits take their reset time from the CLIP…
juliusmarminge Nov 13, 2026
2d5e0ae
fix(server): session import brings in the linked-worktree sessions th…
juliusmarminge Nov 13, 2026
571b319
fix(server): a remote delegated task no longer stays running when its…
juliusmarminge Nov 13, 2026
445d32c
fix(server): preview clicks fail within their timeout and say why (#3…
juliusmarminge Nov 13, 2026
daed91f
fix(shared): batch SQLite worker result transfers (#36067)
Yash-Singh1 Nov 13, 2026
78b654f
fix(server): Stop clears a finished delegated child's row held by a s…
juliusmarminge Nov 13, 2026
ff30b16
fix(desktop): clicking above the Settings or Usage modal closes it ag…
juliusmarminge Nov 13, 2026
065aca4
test(web): code block highlight test waits for the highlighter, not a…
juliusmarminge Nov 13, 2026
be5f805
fix(web): new desktop browser tabs open at the default zoom and appea…
juliusmarminge Nov 13, 2026
8cd8a3c
fix(server): file search no longer freezes the server while fff's wat…
juliusmarminge Nov 13, 2026
8171cd0
fix(desktop): mouse back and forward stay inside the browser tab (#33…
juliusmarminge Nov 13, 2026
fcd0687
fix(web): removing a checkout moves its open draft to a remaining che…
juliusmarminge Nov 13, 2026
9efd960
fix(mobile): a Settings link sent to the running app opens the Settin…
juliusmarminge Nov 13, 2026
c83e78f
fix(web): Shift+Return after closed inline code or bold starts a plai…
juliusmarminge Nov 13, 2026
e94db17
fix(mobile): adding a folder that is already a project opens it (#34942)
juliusmarminge Nov 13, 2026
41e69ff
fix(contracts): agents keep working after starting an async delegate …
juliusmarminge Nov 13, 2026
1a4a299
fix(server): reverting to a checkpoint restores skip-worktree files (…
juliusmarminge Nov 13, 2026
66ec370
fix(shared): hosted thread URLs inside other links stay as written (#…
juliusmarminge Nov 13, 2026
c165587
fix(provider-cursor): Cursor threads report token usage and context f…
juliusmarminge Nov 13, 2026
3521634
fix(server): review diffs no longer read oversized untracked files (#…
juliusmarminge Nov 13, 2026
fa6326b
fix(web): closing a composer menu on a touch tablet no longer opens t…
juliusmarminge Nov 13, 2026
ca6e09c
fix(mobile): Duo feed scroll indicator stays left of the vertical bar…
juliusmarminge Nov 13, 2026
774490a
Merge upstream main (ca6e09c3e1) into integration/mcp-events-20261109
rallymewrx Nov 13, 2026
2b86c24
Merge current fork integration without extending the upstream cutoff
rallymewrx Nov 13, 2026
c24b6d7
fix(fork): repair activity read fixture and installer shell detection
rallymewrx Nov 13, 2026
bfca044
Merge remote-tracking branch 'origin/integration/mcp-events-20261109'…
rallymewrx Nov 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/VOUCHED.td
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ github:btsouth
github:cestercian
github:chrisdeeming
github:chuks-qua
-github:coygeek Filed over 270 automated issues, about 50 a day at peak, far past what maintainers can triage
github:cursoragent
github:D3OXY
github:dbalders
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/agent-context-budget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ on:
permissions:
contents: read

concurrency:
group: agent-context-budget-${{ github.event.pull_request.number }}
cancel-in-progress: true

# No concurrency group: label events arrive in bursts, and a cancelled run reports as a failed check.
jobs:
budget:
name: Agent context budget
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/issue-vouch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Issue Vouch

on:
issues:
types: [opened, reopened]
push:
branches:
- main
paths:
- .github/VOUCHED.td
- .github/workflows/issue-vouch.yml
workflow_dispatch:

permissions:
contents: read
issues: write

concurrency:
group: issue-vouch-${{ github.event.issue.number || 'all' }}
cancel-in-progress: true

jobs:
label:
name: Label issues by author trust
runs-on: ubuntu-24.04
steps:
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: |
const { owner, repo } = context.repo;
// Only listed authors get a label; open issues number in the thousands,
// so unvouched is the default and stays unlabelled.
const labelByStatus = { vouched: "vouch:trusted", denounced: "vouch:denounced" };
const managedLabelNames = new Set(["vouch:trusted", "vouch:unvouched", "vouch:denounced"]);

const { data: file } = await github.rest.repos.getContent({
owner,
repo,
path: ".github/VOUCHED.td",
ref: context.payload.repository.default_branch,
});
const statusByUser = new Map();
for (const raw of Buffer.from(file.content, "base64").toString("utf8").split("\n")) {
const match = /^(-?)github:(\S+)/.exec(raw.trim());
if (match) statusByUser.set(match[2].toLowerCase(), match[1] ? "denounced" : "vouched");
}

const issues =
context.eventName === "issues"
? [context.payload.issue]
: (
await github.paginate(github.rest.issues.listForRepo, {
owner,
repo,
state: "open",
per_page: 100,
})
).filter((issue) => !issue.pull_request);

for (const issue of issues) {
const status = statusByUser.get(issue.user.login.toLowerCase());
const next = labelByStatus[status];
const current = issue.labels.map((label) => label.name).filter((name) => managedLabelNames.has(name));

for (const name of current) {
if (name === next) continue;
try {
await github.rest.issues.removeLabel({ owner, repo, issue_number: issue.number, name });
} catch (error) {
if (error.status !== 404) throw error;
}
}
if (next && !current.includes(next)) {
await github.rest.issues.addLabels({ owner, repo, issue_number: issue.number, labels: [next] });
core.info(`Issue #${issue.number} (${issue.user.login}): ${status} -> ${next}`);
}
}
6 changes: 3 additions & 3 deletions .github/workflows/pr-vouch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,17 @@ jobs:
{
name: "vouch:trusted",
color: "1f883d",
description: "PR author is trusted by repo permissions or the VOUCHED list.",
description: "Author is trusted by repo permissions or the VOUCHED list.",
},
{
name: "vouch:unvouched",
color: "fbca04",
description: "PR author is not yet trusted in the VOUCHED list.",
description: "Author is not yet trusted in the VOUCHED list.",
},
{
name: "vouch:denounced",
color: "d1242f",
description: "PR author is explicitly blocked by the VOUCHED list.",
description: "Author is explicitly blocked by the VOUCHED list.",
},
];

Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# T3 Code

T3 Code is a minimal GUI for coding agents. A Node WebSocket server wraps provider CLIs and agents (Codex, Claude Code, Cursor, Grok, OpenCode, Antigravity, Kiro) and serves web, desktop, and mobile clients.
T3 Code is a minimal GUI for coding agents. A Node WebSocket server wraps provider CLIs and agents (Codex, Claude Code, Cursor, Grok, OpenCode, Antigravity, Kiro, Pi, Muse Code, fx) and serves web, desktop, and mobile clients.

You can think of T3 Code as an open source "bring-your-own-subscription" alternative to apps like Claude Desktop, Codex App, Cursor Glass and Conductor.

Expand Down Expand Up @@ -68,7 +68,7 @@ The most common defect in this repo is a change that works on the path you teste

- **Entry points.** A behavior reachable from the chat view is usually also reachable from Settings, the command palette, and a keybinding. Fixing one is not fixing the feature.
- **Clients.** Web, desktop (wraps web, adds Electron shell/IPC), and mobile (React Native, separate navigation). Shared logic lives in `packages/client-runtime`
- **Providers.** Codex, Claude, Cursor, Grok, OpenCode, Antigravity, and Kiro each have an adapter. Provider-shaped features need a decision per adapter, even if the decision is "not supported here".
- **Providers.** Codex, Claude, Cursor, Grok, OpenCode, Antigravity, Kiro, Pi, Muse Code, fx, and ACP Registry each have an adapter. Provider-shaped features need a decision per adapter, even if the decision is "not supported here".
- **Agents.** A capability a user can trigger is usually one an agent should reach through MCP tools, and scheduled tasks run the same paths. That only works when it is a service method, not handler code.
- **Contracts.** Anything crossing the wire is typed in `packages/contracts`. Change the schema and the server, web, mobile, and desktop all follow.
- **Reverse states.** If you added a way in, add the way out and the way to see it. Snooze needs unsnooze. Close needs reopen. A one-way door is a bug.
Expand Down
4 changes: 2 additions & 2 deletions apps/desktop/src/app/DesktopClerk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ it.effect.each(["startup", "open-url", "early-second-instance"] as const)(
),
Effect.provideService(DesktopWebLinks.DesktopWebLinks, ignoreWebLinks),
);
}).pipe(Effect.scoped),
}),
);

it.effect("hands web and app links to the renderer and leaves other links alone", () =>
Expand Down Expand Up @@ -481,5 +481,5 @@ it.effect("hands web and app links to the renderer and leaves other links alone"
}),
),
);
}).pipe(Effect.scoped),
}),
);
16 changes: 8 additions & 8 deletions apps/desktop/src/app/DesktopCliCommand.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
expect(yield* fs.exists(upgradedLink)).toBe(false);
expect((yield* upgraded.install).installedPath).toBe(upgradedLink);
}
}).pipe(Effect.scoped),
}),
);

it.effect("never replaces or removes a t3 it did not create", () =>
Expand Down Expand Up @@ -202,7 +202,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
expect((yield* Effect.flip(command.install)).message).toContain("Could not set up");
yield* command.uninstall;
expect(yield* fs.readFileString(launcher)).toBe("npm's t3\n");
}).pipe(Effect.scoped),
}),
);

it.effect("finds and removes a link left by a previous T3 home", () =>
Expand Down Expand Up @@ -259,7 +259,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
);
expect(yield* fs.exists(path.join(home, ".local", "bin", "t3"))).toBe(false);
expect(yield* fs.readFileString(path.join(home, "bin", "t3.staging"))).toBe("mine");
}).pipe(Effect.scoped),
}),
);

it.effect("refuses to install behind another t3 that runs first", () =>
Expand Down Expand Up @@ -309,7 +309,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
installedPath: path.join(home, ".local", "bin", "t3"),
});
expect(installed.shadowedBy).toBeUndefined();
}).pipe(Effect.scoped),
}),
);

it.effect.skipIf(HostProcess.Platform.defaultValue() === "win32")(
Expand Down Expand Up @@ -343,7 +343,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
onPath: true,
installedPath: path.join(home, ".local", "bin", "t3"),
});
}).pipe(Effect.scoped),
}),
);

it.effect("does not treat its own launcher as another t3 when its folder is first on PATH", () =>
Expand Down Expand Up @@ -372,7 +372,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
expect(yield* command.state).toEqual(removed);
expect(yield* fs.exists(installed.installedPath!)).toBe(false);
expect(yield* fs.exists(launcher)).toBe(true);
}).pipe(Effect.scoped),
}),
);

it.effect("leaves the Windows PATH alone when it cannot be read", () =>
Expand Down Expand Up @@ -411,7 +411,7 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
const reader = yield* commandIn({ home, platform: "win32" }, inherited.spawner);
yield* reader.install;
expect(inherited.registry).toMatchObject({ path: `${userPath};${launcherDir}`, writes: 1 });
}).pipe(Effect.scoped),
}),
);

it.effect("does not claim or remove a Windows PATH entry the user added", () =>
Expand Down Expand Up @@ -441,6 +441,6 @@ it.layer(NodeServices.layer)("DesktopCliCommand", (it) => {
yield* (yield* commandIn({ home: besideHome, platform: "win32" }, beside.spawner))
.installOnFirstLaunch;
expect(beside.registry).toMatchObject({ path: "C:\\Tools", writes: 0 });
}).pipe(Effect.scoped),
}),
);
});
12 changes: 10 additions & 2 deletions apps/desktop/src/app/DesktopCliShim.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const run = (shim: string, args: ReadonlyArray<string>, env: NodeJS.ProcessEnv =
});

const REPORTER =
'#!/bin/sh\necho "node=$ELECTRON_RUN_AS_NODE cli=$T3CODE_CLI_PATH home=$T3CODE_HOME"\nprintf "%s\\n" "$@"\nexit 3\n';
'#!/bin/sh\necho "node=$ELECTRON_RUN_AS_NODE cli=$T3CODE_CLI_PATH home=$T3CODE_HOME appimage=$APPIMAGE"\nprintf "%s\\n" "$@"\nexit 3\n';

const fakeAppImage = (canMount = true, app = REPORTER) => {
const root = tempRoot();
Expand All @@ -56,7 +56,7 @@ const fakeAppImage = (canMount = true, app = REPORTER) => {
`echo $$ >'${root}/mounter.pid'`,
canMount ? `echo '${image}'` : 'echo "Cannot mount AppImage"; exit 1',
// Like the FUSE runtime, any of these unmounts. fd 3 reports to the test when it is open.
`trap 'echo unmounted >&3 2>/dev/null; touch "${root}/unmounted"; exit 0' TERM HUP INT`,
"trap 'echo unmounted >&3 2>/dev/null; exit 0' TERM HUP INT",
"trap 'echo mounted >&3 2>/dev/null' WINCH",
"while :; do sleep 0.05; done",
"",
Expand Down Expand Up @@ -150,6 +150,14 @@ describe("renderCliShim", () => {
);
});

// The server skips its compile cache only under APPIMAGE; each mount path is new.
it("tells the CLI it runs from the mounted AppImage", () => {
const { appImage, shim } = fakeAppImage();
const result = run(shim, ["--version"]);
expect(result.status).toBe(3);
expect(result.stdout).toContain(`appimage=${appImage}`);
});

it("keeps the install's T3 home under sudo, unless one is set", () => {
const root = tempRoot();
writeExecutable(NodePath.join(root, "app"), REPORTER);
Expand Down
2 changes: 2 additions & 0 deletions apps/desktop/src/app/DesktopCliShim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ export const renderCliShim = (input: {
' (cd "$work" && "$app" --appimage-extract >/dev/null) || { echo "Could not open $app." >&2; exit 1; }',
' mount="$work/squashfs-root"',
"fi",
// The runtime sets this when it launches the app; the CLI skips its path-keyed compile cache on it.
'export APPIMAGE="$app"',
run("$mount"),
"",
].join("\n");
Expand Down
4 changes: 2 additions & 2 deletions apps/desktop/src/app/DesktopConnectionCatalogStore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const withStore = <A, E, R>(
prefix: "t3-desktop-connection-catalog-test-",
});
return yield* effect.pipe(Effect.provide(layerFor(baseDir, encryptionAvailable)));
}).pipe(Effect.provide(NodeServices.layer), Effect.scoped);
}).pipe(Effect.provide(NodeServices.layer));

describe("DesktopConnectionCatalogStore", () => {
it.effect("persists and reads an encrypted connection catalog", () =>
Expand Down Expand Up @@ -298,6 +298,6 @@ describe("DesktopConnectionCatalogStore", () => {
assert.notEqual(error.message, decryptError.message);
yield* Ref.set(failDecrypt, false);
assert.deepStrictEqual(yield* store.get, Option.some('{"schemaVersion":1,"targets":[]}'));
}).pipe(Effect.provide(NodeServices.layer), Effect.scoped),
}).pipe(Effect.provide(NodeServices.layer)),
);
});
22 changes: 21 additions & 1 deletion apps/desktop/src/app/DesktopExitChildren.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as NodeChildProcess from "node:child_process";
import * as NodeFS from "node:fs";
import { assert, describe, it } from "@effect/vitest";

import { stopChildProcessesBeforeExit } from "./DesktopExitChildren.ts";
import { stopChildProcessesBeforeExit, stopZygotesBeforeExit } from "./DesktopExitChildren.ts";

const isRunning = (pid: number) => {
try {
Expand Down Expand Up @@ -39,4 +39,24 @@ describe.runIf(NodeFS.existsSync("/proc/self/task"))("stopChildProcessesBeforeEx
parent.kill("SIGKILL");
}
});

it("kills zygote children before returning and leaves other helpers running", async () => {
const spawnTitled = async (title: string) => {
const child = NodeChildProcess.spawn("sleep", ["60"], { argv0: title, stdio: "ignore" });
await new Promise((resolve) => child.once("spawn", resolve));
return child;
};
// Chromium rewrites a zygote's argv into one space-separated title.
const zygote = await spawnTitled("/opt/T3 Code/t3code --type=zygote --no-sandbox");
const utility = await spawnTitled("/opt/T3 Code/t3code --type=utility");
try {
stopZygotesBeforeExit(process.pid);

assert.isFalse(isRunning(zygote.pid!));
assert.isTrue(isRunning(utility.pid!));
} finally {
zygote.kill("SIGKILL");
utility.kill("SIGKILL");
}
});
});
17 changes: 17 additions & 0 deletions apps/desktop/src/app/DesktopExitChildren.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ const childPids = (pid: number): ReadonlyArray<number> => {
);
};

// A zygote rewrites its argv into one space-separated title.
const isZygote = (pid: number): boolean =>
(readProc(`/proc/${pid}/cmdline`) ?? "")
.replaceAll("\0", " ")
.split(" ")
.includes("--type=zygote");

// A zombie has already released its memory mappings.
const isRunning = (pid: number): boolean => {
const stat = readProc(`/proc/${pid}/stat`);
Expand Down Expand Up @@ -68,3 +75,13 @@ export const stopChildProcessesBeforeExit = (pid: number): ReadonlyArray<number>
waitUntilStopped(survivors, KILL_WAIT_MS);
return survivors;
};

/**
* Chromium's zygotes exit only after main does, so on an AppImage they outlive the mount even on
* an orderly quit. Kills them while main still holds the image mounted. Linux only (/proc).
*/
export const stopZygotesBeforeExit = (pid: number): void => {
const zygotes = childPids(pid).filter(isZygote);
signal(zygotes, "SIGKILL");
waitUntilStopped(zygotes, KILL_WAIT_MS);
};
2 changes: 2 additions & 0 deletions apps/desktop/src/app/DesktopLifecycle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { assert, describe, it } from "@effect/vitest";
import * as Deferred from "effect/Deferred";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";
import * as Ref from "effect/Ref";
import * as TestClock from "effect/testing/TestClock";

Expand Down Expand Up @@ -117,6 +118,7 @@ describe("DesktopLifecycle", () => {
const layerEnvironment = Layer.succeed(DesktopEnvironment.DesktopEnvironment, {
platform,
isDevelopment: false,
appImagePath: Option.none(),
} as DesktopEnvironment.DesktopEnvironment["Service"]);

const layer = DesktopLifecycle.layer.pipe(
Expand Down
10 changes: 9 additions & 1 deletion apps/desktop/src/app/DesktopLifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as Context from "effect/Context";
import * as Duration from "effect/Duration";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";
import * as Option from "effect/Option";
import * as Ref from "effect/Ref";
import * as Schema from "effect/Schema";
import * as Scope from "effect/Scope";
Expand All @@ -13,7 +14,7 @@ import * as HostProcess from "@t3tools/shared/HostProcess";

import * as DesktopEnvironment from "./DesktopEnvironment.ts";
import * as DesktopHomeOwner from "../backend/DesktopHomeOwner.ts";
import { stopChildProcessesBeforeExit } from "./DesktopExitChildren.ts";
import { stopChildProcessesBeforeExit, stopZygotesBeforeExit } from "./DesktopExitChildren.ts";
import { makeComponentLogger } from "./DesktopObservability.ts";
import * as DesktopShutdown from "./DesktopShutdown.ts";
import * as ElectronApp from "../electron/ElectronApp.ts";
Expand Down Expand Up @@ -350,6 +351,13 @@ export const make = DesktopLifecycle.of({
quitFromSignal("SIGTERM", runEffect, quit);
});
}

// Unscoped: the app scope closes before Electron exits, and every exit path must run this.
if (environment.platform === "linux" && Option.isSome(environment.appImagePath)) {
yield* Effect.sync(() => {
process.once("exit", () => stopZygotesBeforeExit(process.pid));
});
}
}).pipe(Effect.withSpan("desktop.lifecycle.register")),
});

Expand Down
Loading
Loading