Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
297 commits
Select commit Hold shift + click to select a range
51e8cea
fix(agent): bound remote bootstrap and ready handshakes
moreih29 Nov 19, 2026
ebca8ec
fix(chat): fence tab starts and process exits by generation
moreih29 Nov 19, 2026
cee1afd
fix(chat): publish ordered stdin outcomes after writes
moreih29 Nov 19, 2026
ead6ce0
fix(pty): wait for the current agent hook endpoint before spawn
moreih29 Nov 19, 2026
47f88b5
fix(chat): keep drafts and approvals recoverable after stdin errors
moreih29 Nov 19, 2026
a973c65
fix(chat): cancel renderer starts when the tab closes
moreih29 Nov 19, 2026
a6830b7
fix(chat): keep delayed output tied to its originating process
moreih29 Nov 19, 2026
c532769
fix(chat): close stdin after a partial JSON write
moreih29 Nov 19, 2026
53c30ee
fix(chat): join the stop regression test before teardown
moreih29 Nov 19, 2026
4c9c874
fix(watch): order agent watch registration and cleanup
moreih29 Nov 19, 2026
797c7f9
fix(cli): compare the final probe on versionless pulls
moreih29 Nov 19, 2026
60d3208
fix(hookserver): detect a missed CLI disconnect
moreih29 Nov 19, 2026
3d18246
test(cli): drive the exit watcher with a fake clock
moreih29 Nov 19, 2026
0e9ad18
test(stdioserver): drive idle watchdog ticks explicitly
moreih29 Nov 19, 2026
ed79c92
test(pty): verify concurrent writes keep frames whole
moreih29 Nov 19, 2026
d724a15
test(agent): synchronize on dialer input and disconnects
moreih29 Nov 19, 2026
8a981c5
Merge pull request #634 from moreih29/fix/remote-workspace-lifecycle
moreih29 Nov 19, 2026
3273a1c
fix(chat): bound the retention of closed tab generations
moreih29 Nov 19, 2026
61122a4
Merge pull request #638 from moreih29/fix/watch-registration-order
moreih29 Nov 19, 2026
300f8b5
Merge pull request #642 from moreih29/fix/chat-process-lifecycle
moreih29 Nov 19, 2026
548d94b
Merge pull request #639 from moreih29/fix/search-cancel-order
moreih29 Nov 19, 2026
2ddbf19
Merge pull request #640 from moreih29/fix/pull-without-version
moreih29 Nov 19, 2026
94f3932
fix(workspace): release abandoned SSH browse sessions
moreih29 Nov 19, 2026
79f3b91
fix(git): report missing developer tools on macOS
moreih29 Nov 19, 2026
160c5a5
fix(terminal): discard queued input after a failed write
moreih29 Nov 19, 2026
7897a8d
Merge pull request #643 from moreih29/fix/flaky-go-tests
moreih29 Nov 19, 2026
18bf848
Merge pull request #644 from moreih29/fix/ssh-form-session-lifetime
moreih29 Nov 19, 2026
15173d1
refactor(workspace): move activation into state operations
moreih29 Nov 19, 2026
9aac954
fix(workspace): persist the latest explicit selection
moreih29 Nov 19, 2026
94e9703
fix(workbench): wait for workspace restoration before releasing CLI r…
moreih29 Nov 19, 2026
812af3b
fix(hooks): stop print children when their recorder dies
moreih29 Nov 19, 2026
8776e2d
fix(git): normalize Apple launcher paths as POSIX
moreih29 Nov 19, 2026
2731be9
fix(browser): scope runtime events to the current view
moreih29 Nov 19, 2026
3c10280
Merge pull request #645 from moreih29/fix/git-missing-clt
moreih29 Nov 19, 2026
febfb5e
Merge pull request #646 from moreih29/fix/terminal-input-queue
moreih29 Nov 19, 2026
5e0be52
fix(pty): coalesce concurrent spawns for a tab
moreih29 Nov 19, 2026
647c3da
test(notifications): match the asker subprocess deadline
moreih29 Nov 19, 2026
b2beca5
Merge pull request #648 from moreih29/fix/browser-view-event-lifetime
moreih29 Nov 19, 2026
30900e2
fix(chat): wait for required startup acknowledgements
moreih29 Nov 19, 2026
2d58d73
fix(chat): preserve Codex threads when resume fails
moreih29 Nov 19, 2026
6edc026
Merge pull request #641 from moreih29/fix/workspace-selection
moreih29 Nov 19, 2026
c3f8c6d
fix(workspace): restore connection status in newly opened windows
moreih29 Nov 19, 2026
0e180c9
fix(chat): commit profile changes after the destination starts
moreih29 Nov 19, 2026
a86989e
fix(pty): attach callers that join an in-flight spawn
moreih29 Nov 19, 2026
2497491
fix(remote): stop the pairing relay during main shutdown
moreih29 Nov 19, 2026
98eefc5
fix(ipc): return typed call failures and log unexpected errors
moreih29 Nov 19, 2026
0242bbe
fix(editor): promote previews only for the same workspace model
moreih29 Nov 19, 2026
23bd3fb
fix(notifications): reveal the target tab before marking it seen
moreih29 Nov 19, 2026
9b5628d
fix(i18n): translate reserved shortcut conflict descriptions
moreih29 Nov 19, 2026
59556ca
fix(i18n): localize the editor save palette action
moreih29 Nov 19, 2026
1b5f75f
fix(i18n): hide raw git errors in commit tabs
moreih29 Nov 19, 2026
e1b547c
fix(chat): keep MCP server names visible during sign-in
moreih29 Nov 19, 2026
8cd26da
Merge pull request #649 from moreih29/fix/ipc-error-envelope
moreih29 Nov 19, 2026
bb785d3
Merge pull request #650 from moreih29/fix/workspace-status-reopen
moreih29 Nov 19, 2026
86dd14e
Merge pull request #651 from moreih29/fix/pty-racing-spawn
moreih29 Nov 19, 2026
367c455
Merge pull request #652 from moreih29/fix/agent-init-profile
moreih29 Nov 19, 2026
f12543d
fix(renderer): use structured errors for workspace and storage actions
moreih29 Nov 19, 2026
db04f2f
fix(git): reveal Source Control from error toasts in agent view
moreih29 Nov 19, 2026
f2015f6
refactor(workspace): split agent connection lifecycle from manager
moreih29 Nov 19, 2026
8dca0d2
refactor(remote): split RPC serving by domain
moreih29 Nov 19, 2026
41a28bf
Merge pull request #647 from moreih29/fix/print-run-child-cleanup
moreih29 Nov 19, 2026
fd5b470
Merge pull request #653 from moreih29/fix/preview-workspace-identity
moreih29 Nov 19, 2026
4c7edf1
Merge pull request #654 from moreih29/fix/notification-seen
moreih29 Nov 19, 2026
40f1d8e
Merge pull request #655 from moreih29/fix/ui-text-leftovers
moreih29 Nov 19, 2026
4885641
refactor(watch): share agent subscriptions and operation ordering
moreih29 Nov 19, 2026
0836722
refactor(search): share the agent text search session
moreih29 Nov 19, 2026
95402c0
Merge pull request #656 from moreih29/fix/renderer-error-surfaces
moreih29 Nov 19, 2026
aa21e9d
test(layout): remove disk waits from snapshot round trips
moreih29 Nov 19, 2026
f59740e
fix(pty): route cmd Codex through a launcher
moreih29 Nov 19, 2026
bd1ffd5
Merge pull request #657 from moreih29/refactor/workspace-manager-split
moreih29 Nov 19, 2026
2ee4bee
Merge pull request #658 from moreih29/refactor/remote-serve-split
moreih29 Nov 19, 2026
d0da5ad
Merge pull request #659 from moreih29/fix/new-tab-types-timeout
moreih29 Nov 19, 2026
0576f95
Merge pull request #660 from moreih29/refactor/agent-watch-search-lif…
moreih29 Nov 19, 2026
b3e5444
fix(chat): retry only explicitly refused Codex steers
moreih29 Nov 19, 2026
1e5eeb7
fix(chat): correlate interrupts with their requests and turns
moreih29 Nov 19, 2026
ccf7f09
fix(chat): preserve Codex question IDs through answers
moreih29 Nov 19, 2026
dabf2ee
fix(cli): wait for the specific chat submission to finish
moreih29 Nov 19, 2026
cb213d5
refactor(claude): share idle title detection
moreih29 Nov 19, 2026
94ff239
fix(codex): use the detected version for history boundaries
moreih29 Nov 19, 2026
436bcf2
fix(workspace): close chats before tearing down the workspace agent
moreih29 Nov 19, 2026
f225ba4
refactor(renderer): align shared modules and tests with their owners
moreih29 Nov 19, 2026
9e13d72
refactor(git): reuse branch picker mode normalization
moreih29 Nov 19, 2026
a6e5aef
Merge pull request #661 from moreih29/fix/chat-message-controls
moreih29 Nov 19, 2026
1b95228
Merge pull request #662 from moreih29/fix/windows-cmd-codex-launcher
moreih29 Nov 19, 2026
253d98b
Merge pull request #664 from moreih29/fix/codex-history-boundary-version
moreih29 Nov 19, 2026
9421dca
Merge pull request #663 from moreih29/refactor/claude-idle-mark
moreih29 Nov 19, 2026
da420e3
fix(test): wait for the daemon to announce its listener
moreih29 Nov 19, 2026
69423dd
fix(claude): reconcile chat status with stream turn results
moreih29 Nov 19, 2026
6f5ad4e
Merge pull request #665 from moreih29/refactor/renderer-layout
moreih29 Nov 19, 2026
87daa88
refactor(agent): move helpers and tests to their owners
moreih29 Nov 19, 2026
39be0ae
fix(remote): recover missed state-only chat updates
moreih29 Nov 19, 2026
ebd3119
refactor(agent): share process and RPC helpers
moreih29 Nov 19, 2026
9b24dcc
Merge pull request #666 from moreih29/fix/ci-flaky-tests
moreih29 Nov 19, 2026
1ae6caa
refactor(renderer): share the delayed loading timer
moreih29 Nov 19, 2026
6bb8d1e
refactor(renderer): share byte formatting with notes thresholds
moreih29 Nov 19, 2026
cbf60f2
refactor(renderer): share Git and file error classification
moreih29 Nov 19, 2026
646a0df
refactor(fs): share POSIX segment reduction with explicit policies
moreih29 Nov 19, 2026
6aea023
refactor(renderer): reuse keyed debounce for store hints and preferences
moreih29 Nov 19, 2026
2f8e60a
refactor(main): align infrastructure and test paths
moreih29 Nov 19, 2026
746778a
refactor(ssh): share destination formatting across transports
moreih29 Nov 19, 2026
6634439
refactor(ipc): share filesystem error conversion
moreih29 Nov 19, 2026
c7c2d65
fix(workspace): bound chat cleanup during workspace removal
moreih29 Nov 19, 2026
d9e76e6
refactor(test): mirror main feature ownership in unit tests
moreih29 Nov 19, 2026
8cb6e90
Merge pull request #668 from moreih29/fix/claude-exit-state
moreih29 Nov 19, 2026
0005968
Merge pull request #670 from moreih29/refactor/renderer-shared-rules
moreih29 Nov 19, 2026
44fe82b
fix(storage): remove temporary app state after a failed write
moreih29 Nov 19, 2026
0c13402
fix(notes): remove temporary notes after a failed write
moreih29 Nov 19, 2026
6aea2bd
Merge pull request #667 from moreih29/refactor/go-layout
moreih29 Nov 19, 2026
b8419dd
Merge pull request #669 from moreih29/fix/peer-chat-watch-recovery
moreih29 Nov 19, 2026
ca4efb8
Merge pull request #672 from moreih29/fix/workspace-remove-chat-close
moreih29 Nov 19, 2026
92cc36a
perf(chat): skip sent-input scans when rebuilding transcripts
moreih29 Nov 19, 2026
8d1c2ea
Merge branch 'develop' into refactor/main-layout
moreih29 Nov 19, 2026
dd6fd28
fix(ssh): publish the remote manifest by atomic rename
moreih29 Nov 19, 2026
303aeb3
Merge pull request #673 from moreih29/perf/chat-history-reducer
moreih29 Nov 19, 2026
251cd6b
refactor(chat): group provider services and their tests
moreih29 Nov 19, 2026
f23940e
refactor(chat): share the agent IPC receiver registry
moreih29 Nov 19, 2026
3739f45
fix(chat): publish staged rollouts atomically
moreih29 Nov 19, 2026
fc85b8f
fix(i18n): clarify high-priority UI messages
moreih29 Nov 19, 2026
dddfb73
fix(ssh): keep the browse reaper alive when windows close
moreih29 Nov 19, 2026
eef665b
fix(i18n): shorten completion and waiting states
moreih29 Nov 19, 2026
a8d6241
fix(agent): bound collected bootstrap process output
moreih29 Nov 19, 2026
43e4ad8
fix(hooks): release deadlines when requests are resolved
moreih29 Nov 19, 2026
fb98a38
fix(i18n): align UI terms and shorten explanations
moreih29 Nov 19, 2026
c88ba90
fix(ipc): release pending work when its renderer is destroyed
moreih29 Nov 19, 2026
d24a44b
fix(hooks): cap buffered hook input at the socket limit
moreih29 Nov 19, 2026
95374f2
refactor(chat): use direct imports and shared receiver keys
moreih29 Nov 19, 2026
e19cd25
fix(git): bound the drain of inherited command pipes
moreih29 Nov 19, 2026
db2d32c
fix(hooks): close connections still reading their request
moreih29 Nov 19, 2026
28ebbcd
fix(notes): discard recording reports after their owner is gone
moreih29 Nov 19, 2026
89d89b8
fix(browser): keep navigation URLs out of diagnostics
moreih29 Nov 19, 2026
cb1747c
fix(updates): return system link failures through IPC
moreih29 Nov 19, 2026
5f8e5a6
fix(notes): stop the voice print worker during app shutdown
moreih29 Nov 19, 2026
6c8b14e
Merge pull request #671 from moreih29/refactor/main-layout
moreih29 Nov 19, 2026
79ef530
fix(pty): clear port polling when a workspace is removed
moreih29 Nov 19, 2026
49db044
Merge branch 'develop' into refactor/main-layout-2
moreih29 Nov 19, 2026
ab9a60f
fix(notes): return expected note failures through IPC
moreih29 Nov 19, 2026
752ba8b
fix(workspace): ignore stale order refreshes
moreih29 Nov 19, 2026
cebf651
fix(panels): guard view options across workspace removal
moreih29 Nov 19, 2026
50acb16
fix(editor): release encoding overrides on workspace removal
moreih29 Nov 19, 2026
49cb837
fix(clipboard): surface failed IPC writes
moreih29 Nov 19, 2026
efe0978
fix(git): close idle helper sockets during shutdown
moreih29 Nov 19, 2026
c0c5af5
Merge pull request #675 from moreih29/refactor/chat-services-split
moreih29 Nov 19, 2026
959c27f
fix(notes): close tabs only for removed note locations
moreih29 Nov 19, 2026
f9422a7
fix(claude): end stopped subagents in session lists
moreih29 Nov 19, 2026
9db864a
fix(git): preserve exit status after output drain timeout
moreih29 Nov 19, 2026
d20720a
Merge pull request #677 from moreih29/fix/stopped-subagents
moreih29 Nov 19, 2026
6e9b151
Merge pull request #676 from moreih29/refactor/main-layout-2
moreih29 Nov 19, 2026
5da06c7
refactor(chat): extract queue handling from the tab store
moreih29 Nov 19, 2026
1c90ffd
refactor(chat): separate message submission from tab setup
moreih29 Nov 19, 2026
f8764d9
refactor(chat): isolate Claude version and control support
moreih29 Nov 19, 2026
5373745
refactor(chat): separate Claude session loading and deletion
moreih29 Nov 19, 2026
dab89da
refactor(chat): extract Claude command result readers
moreih29 Nov 19, 2026
d5bf004
refactor(chat): separate Claude stream and transcript reduction
moreih29 Nov 19, 2026
080cfb8
test(files): cancel directory saves before restoring IPC mocks
moreih29 Nov 19, 2026
e9225f7
fix(cli): clear pending replies when renderer dispatch throws
moreih29 Nov 19, 2026
c29a846
fix(claude): acknowledge unknown hook events without delay
moreih29 Nov 19, 2026
7033812
fix(chat): close OAuth callbacks with the chat host
moreih29 Nov 19, 2026
d9cb629
fix(chat): keep CLI replies open through agent command cleanup
moreih29 Nov 19, 2026
1d3868a
fix(claude): ignore superseded terminal foreground lookups
moreih29 Nov 19, 2026
1751f71
Merge pull request #674 from moreih29/fix/ui-text
moreih29 Nov 19, 2026
5bd47c9
Merge pull request #679 from moreih29/fix/agent-hardening
moreih29 Nov 19, 2026
dbb891c
Merge pull request #680 from moreih29/fix/main-hardening
moreih29 Nov 19, 2026
8a90ad3
fix(claude): retire and bound hook state after program exit
moreih29 Nov 19, 2026
c14dca8
fix(claude): release notification timers on dismissal
moreih29 Nov 19, 2026
521b4b7
fix(remote): drop task git facts when a workspace is removed
moreih29 Nov 19, 2026
61c9db7
fix(workspace): forget focus resyncs after removal
moreih29 Nov 19, 2026
940d0ee
Merge pull request #678 from moreih29/fix/renderer-hardening
moreih29 Nov 19, 2026
588d125
Merge pull request #681 from moreih29/refactor/chat-services-mixed-split
moreih29 Nov 19, 2026
cfcad5c
fix(updates): keep one update toast visible
moreih29 Nov 19, 2026
c693924
fix(toast): merge repeats and bound the visible stack
moreih29 Nov 19, 2026
69f3eab
fix(remote): bound queued terminal input by connection
moreih29 Nov 19, 2026
dcf3590
fix(agent): bound NDJSON lines and reconnect oversized streams
moreih29 Nov 19, 2026
db6bbfc
fix(http): stop oversized account voice and update responses
moreih29 Nov 19, 2026
96e791c
fix(git): bound editor helper reads and cancel disconnected prompts
moreih29 Nov 19, 2026
8d6efe5
fix(logging): mask credentials in main process diagnostics
moreih29 Nov 19, 2026
48f7aca
Merge pull request #684 from moreih29/fix/focus-resync-forget
moreih29 Nov 19, 2026
d4c9741
fix(git): bound command output and redact diagnostics
moreih29 Nov 19, 2026
7ecf482
fix(git): bound watcher refresh batches
moreih29 Nov 19, 2026
0fd9524
fix(agent): bound connection dispatch queues
moreih29 Nov 19, 2026
40aa0e1
fix(search): bound file reads and observe cancellation
moreih29 Nov 19, 2026
b4f0eac
fix(hooks): deny oversized SendMessage input
moreih29 Nov 19, 2026
47b2218
fix(git): preserve large status output within the shared budget
moreih29 Nov 19, 2026
4dff7bf
fix(profiles): align agent environments, history and executable selec…
moreih29 Nov 19, 2026
61753e5
fix(pty): bound Windows Codex probes and retry partial installs
moreih29 Nov 19, 2026
0393641
fix(ipc): envelope stream start failures
moreih29 Nov 19, 2026
6f483ac
fix(ipc): cancel renderer-owned calls and bound early cancellations
moreih29 Nov 19, 2026
fec77ed
fix(main): drain note writes and helper sockets within quit deadline
moreih29 Nov 19, 2026
5a23533
Merge pull request #682 from moreih29/fix/agents-hardening
moreih29 Nov 19, 2026
38eb98c
Merge pull request #683 from moreih29/fix/remote-task-git-forget
moreih29 Nov 19, 2026
d9b4de3
Merge pull request #685 from moreih29/fix/renderer-toasts
moreih29 Nov 19, 2026
0dff04f
Merge pull request #686 from moreih29/fix/main-limits
moreih29 Nov 19, 2026
e918b55
Merge origin/develop into fix/agent-profile-env
moreih29 Nov 19, 2026
c157d05
fix(hooks): bound hook and CLI reply writes
moreih29 Nov 19, 2026
538c296
fix(fs): cancel recursive copies and restore overwritten destinations
moreih29 Nov 19, 2026
6674404
fix(git): preserve gitignore permissions on replacement
moreih29 Nov 19, 2026
e8edbf0
fix(chat): cancel stdin writes and scope replay to its connection
moreih29 Nov 19, 2026
0ea3ec8
fix(chat): stop owned helper trees without stopping background sessions
moreih29 Nov 19, 2026
e3ba7ca
Merge pull request #687 from moreih29/fix/agent-limits
moreih29 Nov 19, 2026
9817b25
Merge pull request #688 from moreih29/fix/main-shutdown
moreih29 Nov 19, 2026
633bbfa
Merge origin/develop into fix/agent-cancel
moreih29 Nov 19, 2026
d213baf
fix(pty): preserve Windows batch probe exit codes
moreih29 Nov 19, 2026
89560b8
fix(lsp): create the Windows Claude test executable once
moreih29 Nov 19, 2026
abe02ee
test(chat): exercise Windows stdin with Node through cmd
moreih29 Nov 19, 2026
41de257
test(stability): consolidate related regression suites
moreih29 Nov 19, 2026
5fe8031
Merge pull request #689 from moreih29/fix/agent-profile-env
moreih29 Nov 19, 2026
3862407
test(chat): accept connection resets when Windows stops an owned job
moreih29 Nov 19, 2026
3ca667b
Merge pull request #691 from moreih29/test/consolidate-session-tests
moreih29 Nov 19, 2026
8a64e36
test(git): speed up inherited pipe and output budget regressions
moreih29 Nov 19, 2026
eb91c8a
Merge pull request #690 from moreih29/fix/agent-cancel
moreih29 Nov 19, 2026
daa35e8
feat(chat): page Claude transcripts from the tail
moreih29 Nov 19, 2026
1de19b8
feat(chat): expose transcript pages over desktop IPC
moreih29 Nov 19, 2026
abbe91f
feat(chat): show Claude transcript history on demand
moreih29 Nov 19, 2026
2d642fa
Merge pull request #692 from moreih29/test/git-speed
moreih29 Nov 19, 2026
d505241
fix(chat): finish fragmented transcript rows within one read
moreih29 Nov 19, 2026
ab41c9f
fix(codex): settle subagent rows from child lifecycle events
moreih29 Nov 19, 2026
62d5209
fix(codex): retain ended command rows in the side panel
moreih29 Nov 19, 2026
a314309
fix(codex): settle own-thread turns with a stale local turn id
moreih29 Nov 19, 2026
9d1456e
fix(git): stop Windows child processes after stdout overflow
moreih29 Nov 19, 2026
2f9de32
fix(chat): load earlier transcript through a turn boundary
moreih29 Nov 19, 2026
1944602
Merge pull request #694 from moreih29/fix/codex-ended-rows
moreih29 Nov 19, 2026
0d57cd8
fix(workbench): show guidance when no workspace is selected
moreih29 Nov 19, 2026
334f1b9
fix(chat): resume earlier history after an agent change
moreih29 Nov 19, 2026
1d67c9a
Merge pull request #693 from moreih29/feat/chat-transcript-tail
moreih29 Nov 19, 2026
f4ba85e
Merge pull request #695 from moreih29/fix/git-overflow-cleanup
moreih29 Nov 19, 2026
b25f126
ci: skip macOS runners on PRs into develop
moreih29 Nov 19, 2026
272bc03
Merge pull request #697 from moreih29/ci/macos-main-only
moreih29 Nov 19, 2026
f8d5403
Merge pull request #696 from moreih29/fix/no-active-workspace-blank
moreih29 Nov 19, 2026
6ff51ea
feat(voice): let an error frame carry a transcribeToken
moreih29 Nov 19, 2026
03d4a03
Show live background job status in Claude tool rows
moreih29 Nov 19, 2026
22fa2af
feat: rename and color workspaces from the sidebar and CLI
moreih29 Nov 19, 2026
9e6b579
feat(remote): support file push to SSH and WSL workspaces
moreih29 Nov 19, 2026
5922618
docs(agent): record the daemon socket trust boundary
moreih29 Nov 19, 2026
418942a
Move Codex client command list to remote-protocol
moreih29 Nov 19, 2026
959f84c
Merge pull request #698 from moreih29/feat/voice-error-token
moreih29 Nov 19, 2026
af3bdfc
Merge pull request #699 from moreih29/fix/chat-background-badge
moreih29 Nov 19, 2026
1047460
fix: keep the color_tone column in migration v10
moreih29 Nov 19, 2026
5d16d40
Handle Codex thread status change notifications
moreih29 Nov 19, 2026
8c5be44
Merge pull request #702 from moreih29/feat/workspace-color
moreih29 Nov 19, 2026
802e2b9
Merge pull request #701 from moreih29/refactor/codex-commands-protocol
moreih29 Nov 19, 2026
b9793de
Merge pull request #703 from moreih29/fix/codex-thread-status
moreih29 Nov 19, 2026
2c00b87
fix(remote): budget upload verification and reap stale files
moreih29 Nov 19, 2026
931657f
Merge pull request #700 from moreih29/feat/remote-push-ssh
moreih29 Nov 19, 2026
36c87c2
chore(release): bump version to 0.35.0, with its Store notes
moreih29 Nov 19, 2026
ac89dd9
Merge pull request #704 from moreih29/chore-bump-0.35.0
moreih29 Nov 19, 2026
98e30c8
test(chat): give the Windows cmd-to-Node stdin test 30 s
moreih29 Nov 19, 2026
42daf53
fix(cli): refuse a flag where an option's value should be
moreih29 Nov 19, 2026
c733480
fix(workspace): treat legacy rootPath createAndConnect as local
moreih29 Nov 19, 2026
994740b
Merge pull request #708 from moreih29/fix/workspace-legacy-create
moreih29 Nov 19, 2026
d7be2f5
Merge pull request #706 from moreih29/fix/windows-stdin-test-deadline
moreih29 Nov 19, 2026
1996cc3
Merge pull request #707 from moreih29/fix/cli-option-dash-value
moreih29 Nov 19, 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
  •  
  •  
  •  
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
# release builds the renderer on each OS again.
# Whenever node-pty, better-sqlite3 or Electron changes, each runner builds
# the native modules against Electron on its own OS, proving they build there.
#
# macOS runs only for main: PRs into it, pushes to it and runs by hand. PRs
# into develop skip it, since they are tested on a Mac before merging and the
# macOS runners can queue for many minutes; the release PR into main still
# checks macOS on a clean runner.

name: CI

Expand Down Expand Up @@ -116,7 +121,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-15, ubuntu-latest, windows-latest]
os: ${{ fromJSON(github.base_ref == 'develop' && '["ubuntu-latest","windows-latest"]' || '["macos-15","ubuntu-latest","windows-latest"]') }}

steps:
- name: Checkout
Expand All @@ -131,6 +136,10 @@ jobs:
# and the costly one was cpu-features (ssh2's optional CPU probe): a
# node-gyp build of one to two minutes on Windows. The native module
# steps below are the rest of our postinstall.
env:
# Windows checks out on D: while the default cache is in the home
# directory on C:. Bun can hardlink packages on the same volume.
BUN_INSTALL_CACHE_DIR: ${{ github.workspace }}/.cache/bun-install
run: bun install --frozen-lockfile --ignore-scripts

- name: Cache native modules
Expand Down Expand Up @@ -165,7 +174,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-15, ubuntu-latest, windows-latest]
os: ${{ fromJSON(github.base_ref == 'develop' && '["ubuntu-latest","windows-latest"]' || '["macos-15","ubuntu-latest","windows-latest"]') }}

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .nexus/context/conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
- 로그는 반드시 facade만 사용한다: main 프로세스는 `src/shared/log/main.ts`의 `createLogger(source)`, 렌더러는 `src/shared/log/renderer.ts`의 `createLogger(source)`. `console.log` / `console.error` 등 직접 호출 금지.
- `source`는 모듈 또는 서브시스템 식별자를 바인딩하고, 관련 로그를 연결할 때 `correlationId`를 `meta`로 전달한다.
- `internalMessage`는 로그에만 기록하고 화면에 노출하지 않는다.
- 전역 안전망(`src/main/error-safety-net.ts`, `src/renderer/services/window-error-handler.ts`, `src/renderer/components/ui/error-boundary.tsx`)은 놓친 에러의 최후 수단이다. 각 핸들러에서 이미 잡힌 에러를 다시 전역 안전망에 의존하지 않는다.
- 전역 안전망(`src/main/infra/error-safety-net.ts`, `src/renderer/services/window-error-handler.ts`, `src/renderer/components/ui/error-boundary.tsx`)은 놓친 에러의 최후 수단이다. 각 핸들러에서 이미 잡힌 에러를 다시 전역 안전망에 의존하지 않는다.
6 changes: 3 additions & 3 deletions build/store-release-notes.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.34.1",
"ko-kr": "• 다른 컴퓨터의 세션 목록에서 워크스페이스별 워크트리를 펼치거나 접을 수 있습니다. 접힌 항목도 검색할 수 있습니다.\n• 원격 문서 미리보기는 앱으로 돌아와도 스크롤 위치를 유지합니다. 구버전 기기와 대화할 때 메시지가 중복 표시되는 문제와 Codex 분기에 실패한 뒤 빈 탭이 남는 문제를 고쳤습니다.",
"en-us": "• Expand or collapse worktrees by workspace in another computer’s session list. Search still finds collapsed items.\n• Remote document previews keep their scroll position when you return to the app. Fixed duplicate messages with older peers and an empty tab left after a failed Codex fork."
"version": "0.35.0",
"ko-kr": "• 사이드바에서 워크스페이스 이름을 바꾸고 색을 고를 수 있습니다. 고른 색은 에이전트 뷰에도 보이고, nexus workspace edit로도 바꿀 수 있습니다.\n• nexus file pull·push로 다른 컴퓨터의 워크스페이스와 파일·폴더를 주고받습니다. 그 컴퓨터의 SSH·WSL 워크스페이스로도 보낼 수 있습니다.\n• Codex 탭에서 Enter로 보낸 메시지는 실행 중인 도구가 끝난 뒤 들어가, 쓰고 있던 응답을 버리지 않습니다.\n• 긴 Claude 대화를 최근 부분부터 빠르게 엽니다. 백그라운드로 보낸 명령은 끝날 때까지 실행 중으로 보입니다.\n• 브라우저 탭이 빈 화면으로 뜨는 문제와 끝난 Codex 서브에이전트가 실행 중에 남는 문제를 고쳤고, 안정성을 전반적으로 높였습니다.\n• 최근 버전에서 더해진 기능: 다른 컴퓨터의 세션을 열고 이름을 바꾸고 닫거나 그 요청에 답할 수 있고, 워크트리를 워크스페이스별로 펼칩니다. Codex 채팅은 옆 패널(컨텍스트·사용량·목표), /config·/plan, 분기·되감기, Fast 모드를 지원합니다.",
"en-us": "• Rename a workspace and pick its color from the sidebar. The color also shows in the agent view, and nexus workspace edit can change it.\n• nexus file pull and push copy files and folders to and from another computer's workspace. Push also reaches that computer's SSH and WSL workspaces.\n• In Codex tabs, a message sent with Enter goes in after the running tool finishes, so the response in progress is kept.\n• Long Claude chats open from their latest part. A command sent to the background shows as running until it ends.\n• Fixed browser tabs that came up blank and finished Codex subagents left as running, along with many stability fixes.\n• Also from recent versions: open, rename and close sessions on another computer, answer its requests, and expand its worktrees by workspace. Codex chats have a side panel (context, usage, goals), /config, /plan, branching and rewind, and Fast mode."
}
49 changes: 21 additions & 28 deletions cmd/agent/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ const reattachGrace = 300 * time.Second
// only exits this much later.
const lockRetryWindow = 250 * time.Millisecond

// daemonListeningMessage announces that the daemon can accept its first dialer.
const daemonListeningMessage = "daemon listening"

// shutdownReplyDelay is how long the daemon waits after answering
// agent.shutdown before it exits, so the reply reaches the dialer.
const shutdownReplyDelay = 100 * time.Millisecond
Expand Down Expand Up @@ -226,6 +229,8 @@ func runDaemon(root string) {

// Step 6: bind the Unix socket. The run directory (0700) is already
// ensured above; explicit socket chmod 0600 guards against any umask.
// The socket trusts callers running as this user: they can already read
// the user's files, so the daemon requires no separate connection token.
ln, err := net.Listen("unix", paths.Sock)
if err != nil {
agentLogger.Error("daemon listen failed", "path", paths.Sock, "err", err)
Expand Down Expand Up @@ -303,31 +308,35 @@ func runDaemon(root string) {
// reconnect state must be discarded.
epoch := agentrun.NewEpoch()

// cleanupAndExit tears down all shared resources and terminates.
// Called only on genuine daemon shutdown — not on dialer disconnect.
// Only the first caller tears down; any other blocks until it exits.
// Release the workspace before acknowledging shutdown. A new launcher
// may try this socket and lock as soon as the reply reaches the app.
var shutdown sync.Once
cleanupAndExit := func(code int) {
releaseWorkspace := func() {
shutdown.Do(func() {
pty.Close() // hang up every terminal, as closing its tab does
chat.Close() // and end every Claude tab's program
lsp.Close()
fsys.DropUploads(nil)
if hooksrv != nil {
_ = hooksrv.Close()
}
_ = ln.Close()
_ = os.Remove(paths.Sock)
lock.Unlock()
_ = logFile.Close()
os.Exit(code)
})
}
cleanupAndExit := func(code int) {
releaseWorkspace()
_ = logFile.Close()
os.Exit(code)
}

// agent.shutdown comes from the app removing the workspace: no dialer
// will come back, so the daemon exits now instead of holding its
// terminals and language servers through reattachGrace.
d.Register("agent.shutdown", func(_ context.Context, _ json.RawMessage) (any, error) {
agentLogger.Info("daemon shutdown requested")
releaseWorkspace()
time.AfterFunc(shutdownReplyDelay, func() { cleanupAndExit(0) })
return struct{}{}, nil
})
Expand Down Expand Up @@ -385,6 +394,7 @@ func runDaemon(root string) {
var preempted atomic.Int32

host := stdioserver.New(d, conn, conn, agentLogger)
host.RegisterShutdownHook(func() { fsys.DropUploads(host.Context()) })

// Ready goes first: the client takes the first frame it gets for the
// handshake, and an event ahead of it reads as an agent without an
Expand All @@ -404,21 +414,12 @@ func runDaemon(root string) {
}

// Wire event sinks to this host. On the next dialer, they are re-wired.
fsys.SetEventSink(func(event string, payload any) error {
emitErr := host.EmitEvent(event, payload)
if event == "fs.changed" {
if changed, ok := payload.(agentfs.FsChangedPayload); ok {
if routeErr := lsp.HandleFSChanged(changed); emitErr == nil {
emitErr = routeErr
}
}
}
return emitErr
})
fsys.SetEventSink(fsEventSink(host, lsp))
git.SetEventSink(host.EmitEvent)
lsp.SetEventSink(host.EmitEvent)
pty.SetEventSink(host.EmitEvent)
chat.SetEventSink(host.EmitEvent)
// Installing this sink also hands renderer credit over after Ready.
pty.SetEventSink(host.Context(), host.EmitEvent)
chat.SetConnectionSink(host.Context(), host.EmitEvent)
search.SetEventSink(host.EmitEvent)
if hooksrv != nil {
hooksrv.SetEventSink(host.EmitEvent)
Expand Down Expand Up @@ -474,15 +475,6 @@ func runDaemon(root string) {
close(hostDone)
})

// PTY output debt the previous dialer never acked belongs to it; the
// new renderer will never ack it. Left in place, a session that went
// past the high watermark during a silent disconnect stays paused for
// good, and pty.replay blocks on the same window. Reset after Ready so
// the resumed output does not reach the dialer ahead of that frame,
// and before Run so the dialer's first replay already sees open
// windows.
pty.ResetFlowControl()

// 송신 4s < 판정 5s — 도착 지터 마진. 근거는 proto.HeartbeatSendMs 주석 참조.
host.StartHeartbeat(proto.HeartbeatSendMs * time.Millisecond)
// The idle watchdog fires after reattachGrace of no inbound traffic.
Expand Down Expand Up @@ -550,6 +542,7 @@ func runDaemon(root string) {
}

// Main serve loop.
agentLogger.Info(daemonListeningMessage)
conn := waitForDialer("initial-connect")

for conn != nil {
Expand Down
94 changes: 74 additions & 20 deletions cmd/agent/daemon_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@ import (
"bufio"
"encoding/json"
"errors"
"net"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"syscall"
"testing"
"time"

"github.com/nexus-code/nexus-code/internal/agentrun"
"github.com/nexus-code/nexus-code/internal/proto"
"golang.org/x/sys/unix"
)

// dialerProcess is an `agent --dial` run as the SSH session runs it, its
Expand Down Expand Up @@ -100,6 +103,50 @@ func daemonLog(runDir, root string) string {
return string(data)
}

// waitForUnreadOutput observes pending data without consuming it, so the
// connection really closes with unread bytes.
func waitForUnreadOutput(t *testing.T, conn net.Conn) {
t.Helper()
raw, err := conn.(*net.UnixConn).SyscallConn()
if err != nil {
t.Fatal(err)
}
_ = conn.SetReadDeadline(time.Now().Add(3 * time.Second))
defer func() { _ = conn.SetReadDeadline(time.Time{}) }()
var n int
var readErr error
if err := raw.Read(func(fd uintptr) bool {
var firstByte [1]byte
n, _, readErr = unix.Recvfrom(int(fd), firstByte[:], unix.MSG_PEEK)
return readErr != unix.EAGAIN && readErr != unix.EWOULDBLOCK
}); err != nil {
t.Fatal(err)
}
if n != 1 || readErr != nil {
t.Fatalf("daemon had no unread output: n=%d err=%v", n, readErr)
}
}

// waitForDialerLog waits for the daemon to record its disconnect decision
// before another connection can turn that decision into a takeover.
func waitForDialerLog(t *testing.T, runDir, root string, matches func(string) bool) {
t.Helper()
deadline := time.NewTimer(3 * time.Second)
defer deadline.Stop()
poll := time.NewTicker(20 * time.Millisecond)
defer poll.Stop()
for {
if log := daemonLog(runDir, root); matches(log) {
return
}
select {
case <-poll.C:
case <-deadline.C:
t.Fatalf("daemon did not record the expected disconnect:\n%s", daemonLog(runDir, root))
}
}
}

// A connection that ends with a reset rather than a close is a dialer gone
// mid-output: the SSH session ended under it while the daemon still wrote, and
// Linux reports a socket closed with unread data as reset. That is a dialer
Expand All @@ -110,14 +157,17 @@ func TestDaemonSurvivesAResetConnection(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)

first, readyA := readReady(t, sockPath)
defer first.Close()
spawnOn(t, first, "tab", root, "while :; do echo tick; sleep 0.01; done")
// What the daemon sends meanwhile is left unread when the connection closes.
time.Sleep(300 * time.Millisecond)
waitForUnreadOutput(t, first)
_ = first.Close()
time.Sleep(200 * time.Millisecond)
waitForDialerLog(t, runDir, root, func(log string) bool {
return strings.Contains(log, "dialer connection broke") ||
(runtime.GOOS != "linux" && strings.Contains(log, "dialer disconnected cleanly"))
})

next, readyB := readReady(t, sockPath)
defer next.Close()
Expand Down Expand Up @@ -148,7 +198,7 @@ func TestDialerWithItsOutputClosedLeavesTheDaemonCleanly(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)

dialer := startDialer(t, bin, sockPath)
if ready := dialer.nextLine(t); !strings.Contains(ready, `"ready"`) {
Expand All @@ -164,19 +214,20 @@ func TestDialerWithItsOutputClosedLeavesTheDaemonCleanly(t *testing.T) {
if _, err := dialer.stdin.Write(append(spawn, '\n')); err != nil {
t.Fatal(err)
}
_ = dialer.nextLine(t)
for !strings.Contains(dialer.nextLine(t), `"event":"pty.data"`) {
}
_ = dialer.stdout.Close()
time.Sleep(300 * time.Millisecond)
// The ping reply still has to be drained after the output pipe closes.
if _, err := dialer.stdin.Write([]byte(`{"id":"p","method":"ping"}` + "\n")); err != nil {
t.Fatal(err)
}
_ = dialer.stdin.Close()
_ = dialer.exitCode(t, 5*time.Second)

deadline := time.Now().Add(3 * time.Second)
for !strings.Contains(daemonLog(runDir, root), "dialer disconnected cleanly") {
if time.Now().After(deadline) {
t.Fatalf("the daemon did not see the dialer leave cleanly:\n%s", daemonLog(runDir, root))
}
time.Sleep(20 * time.Millisecond)
if code := dialer.exitCode(t, 5*time.Second); code != 0 {
t.Fatalf("dialer exit code %d, want 0", code)
}
waitForDialerLog(t, runDir, root, func(log string) bool {
return strings.Contains(log, "dialer disconnected cleanly")
})
if next, _ := readReady(t, sockPath); next != nil {
_, _ = next.Write([]byte(`{"id":"bye","method":"agent.shutdown"}` + "\n"))
_ = next.Close()
Expand All @@ -192,7 +243,7 @@ func TestDialerEndsWhenItsDaemonGoes(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)

dialer := startDialer(t, bin, sockPath)
_ = dialer.nextLine(t)
Expand All @@ -213,7 +264,7 @@ func TestDialerTakenOverIsToldSo(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)

dialer := startDialer(t, bin, sockPath)
_ = dialer.nextLine(t)
Expand Down Expand Up @@ -244,7 +295,7 @@ func TestDialerEndsCleanlyWhenTheAppCloses(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)

dialer := startDialer(t, bin, sockPath)
_ = dialer.nextLine(t)
Expand All @@ -268,11 +319,14 @@ func TestDaemonGreetsEachDialerWithReadyFirst(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)

conn, _ := readReady(t, sockPath)
spawnOn(t, conn, "tab", root, "yes")
time.Sleep(100 * time.Millisecond)
frames := newPtyFrames(conn)
if output, _ := frames.until(t, conn, 3*time.Second, func(text string, _ bool) bool { return text != "" }); output == "" {
t.Fatal("terminal never started writing")
}
for i := 0; i < 60; i++ {
next, first := readReady(t, sockPath)
_ = conn.Close()
Expand Down
4 changes: 2 additions & 2 deletions cmd/agent/daemon_signals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func startDaemonForSignals(t *testing.T) (net.Conn, string) {
bin := agentBinary(t)
root := t.TempDir()
runDir := launchDaemonLikeBootstrap(t, bin, root, shortHome(t))
conn, _ := readReady(t, waitForSocket(t, runDir))
conn, _ := readReady(t, waitForSocket(t, runDir, root))
t.Cleanup(func() {
_, _ = conn.Write([]byte(`{"id":"bye","method":"agent.shutdown"}` + "\n"))
_ = conn.Close()
Expand Down Expand Up @@ -175,7 +175,7 @@ func TestDaemonSurvivesHangupAndInterrupt(t *testing.T) {
root := t.TempDir()
cmd, runDir := startDaemon(t, bin, root, shortHome(t))
defer func() { _ = cmd.Process.Kill(); _ = cmd.Wait() }()
sockPath := waitForSocket(t, runDir)
sockPath := waitForSocket(t, runDir, root)
first, _ := readReady(t, sockPath)
defer first.Close()

Expand Down
Loading