陈大猫
c9d22b3b4d
fix(sftp): preserve latest pause across delayed transfer controls ( #3284 )
...
* fix(sftp): preserve newer pause decisions across delayed transfer controls
* fix(sftp): stop obsolete recovery after held transfers settle
* fix(sftp): treat superseded cross-window controls as no-ops
* fix(sftp): preserve latest folder control in pause watcher
* fix(sftp): reconcile superseded controls across windows
* test(sftp): expect authoritative action on superseded pause
* fix(sftp): distinguish mixed resume outcomes and IPC failures
* docs(sftp): publish audit findings and validation boundaries
* docs(sftp): record final publication and restart validation
* fix(sftp): reflect partial resumes and reconcile remote watcher controls
* fix(sftp): preserve resolved resume failures in partial folders
2026-09-06 14:13:49 +08:00
陈大猫
446e82180b
fix(sftp): settle folder children before history compaction removes their rows ( #3287 )
...
* fix(sftp): observe folder child completion before history compaction
* fix(sftp): carry current child identity through recovery events
* fix(sftp): admit recovered children before waiting for completion
* test(sftp): keep independent audit regressions mergeable
* fix(sftp): resume retained pauses without bypassing newer controls
2026-09-06 13:29:05 +08:00
陈大猫
2eaddf0baf
fix(sftp): refuse ambiguous or replaced resume endpoints ( #3285 )
2026-09-06 13:29:02 +08:00
Atirna and bincxz
0ea8fa4943
fix(port-forwarding): reconnect auto-start rules after inactive status ( #3279 )
...
* fix(port-forwarding): reconnect auto-start rules after inactive status
* fix(port-forwarding): honor current auto-start setting during reconnect
* fix(port-forwarding): ignore retries from replaced connections
* fix(port-forwarding): preserve exhausted retries after close
* fix(port-forwarding): schedule one retry per failed connection
* fix(port-forwarding): retain pending retry status after repeated errors
---------
Co-authored-by: bincxz <16399091+binaricat@users.noreply.github.com >
2026-09-05 23:01:41 +08:00
bincxz
2d9890a92e
fix: disarm global broadcast when orphan group disappears
2026-09-05 12:53:39 +08:00
Meow-Emperor
1ef7b026a6
Enable global broadcast for orphan terminal tabs
...
Allow global broadcast hotkeys for visible orphan sessions and centralize target resolution with coverage for workspace, global, and direct-target modes.
2026-09-05 01:06:36 +08:00
Meow-Emperor
f9eded887f
Fix global broadcast for orphan sessions
...
Keep stored boolean updates pure and propagate global broadcast state through terminal panes so orphan sessions can toggle and receive broadcasts correctly.
2026-09-05 00:11:52 +08:00
Meow-Emperor
701e35dac0
feat: 支持多标签直接启用广播模式
...
- 新增全局广播状态管理(globalBroadcastEnabled)
- 修改广播按钮显示逻辑:工作区内或孤立标签数 ≥2 时显示
- 修改广播输入处理:支持工作区广播和全局广播两种模式
- 工作区广播优先级高于全局广播,两种模式互不干扰
- 孤立标签(未加入工作区)可独立启用全局广播功能
2026-09-04 21:08:04 +08:00
JasonWen
5c5fa4f27e
fix(ai): make the command blocklist shell-aware
...
Select default command-safety rules from the live session shell so legal
PowerShell subexpressions are allowed and PowerShell-native dangerous
commands are blocked. Untouched pre-shell-aware lists gain the new
defaults on read.
Closes #3256
2026-09-03 15:21:45 +08:00
陈大猫
c9b40d98c2
Merge pull request #3245 from binaricat/feat/3240-sftp-ux-and-folder-scan
...
feat(sftp): bookmarks, compact list, dual-pane entry, and faster folder scans
2026-09-03 14:06:23 +08:00
bincxz
82e62c8c1d
fix(sftp): preserve bookmark scope in actions
2026-09-03 13:42:51 +08:00
bincxz
48780fcd09
fix(sftp): route bookmark changes by scope
2026-09-03 13:36:14 +08:00
陈大猫
f3f89edad5
Merge pull request #3251 from binaricat/ai/issue-3249-33607924553
...
fix(ai): run Responses API turns stateless to stop rs_ item replay errors
2026-09-03 11:55:10 +08:00
陈大猫
5a05da0b4a
Merge pull request #3260 from binaricat/ai/issue-3259-33708519760
...
fix(vault): sync managed ssh_config with latest host edits
2026-09-03 11:45:52 +08:00
bincxz
969da6aa88
fix(sftp): apply saved folder upload concurrency
2026-09-03 11:38:38 +08:00
bincxz
4fc97ce96e
fix(sftp): honor concurrency for ordinary uploads
2026-09-03 11:29:18 +08:00
bincxz
e7b59ad768
fix(ai): trim stored history at tool-safe boundaries
2026-09-03 11:20:12 +08:00
bincxz
b285200798
fix(ai): keep compaction boundaries aligned after trimming
2026-09-03 11:15:28 +08:00
bincxz
02f5729ab7
fix(ai): discard compacted replay ciphertext
2026-09-03 11:11:14 +08:00
陈大猫
74c1cd063b
Merge pull request #3250 from binaricat/ai/issue-3248-33607677408
...
fix(workspace): auto-name merged tab workspaces from both tab labels
2026-09-03 11:08:35 +08:00
bincxz
b2c72d607b
fix(sftp): add accessible bookmark reordering
2026-09-03 10:58:14 +08:00
netcatty-bot
b83f3ee17a
fix( #3259 ): automated AI fix
2026-09-03 02:56:54 +00:00
bincxz
c6c769acc3
perf(ai): prune continuations in one pass
2026-09-03 10:54:19 +08:00
bincxz
47bef3c9d9
fix(vault): expose host operating system in editor
2026-09-03 10:51:45 +08:00
bincxz
2faa30d79b
fix(sftp): apply shared transfer limit everywhere
2026-09-03 10:50:48 +08:00
bincxz
d19ddce4ff
fix(ai): preserve newest continuation within long chats
2026-09-03 10:49:19 +08:00
bincxz
ae26219fdd
fix(sftp): align transfer concurrency defaults
2026-09-03 10:46:58 +08:00
bincxz
2ff47eafce
fix(ai): prioritize active chat continuation
2026-09-03 10:40:49 +08:00
bincxz
7440e66ea8
fix(ai): retain newest replay data when pruning chats
2026-09-03 10:37:21 +08:00
bincxz
e84ef25720
fix(sftp): complete issue 3240 workflows
2026-09-03 10:35:09 +08:00
bincxz
2189f6c820
test(workspace): cover merged title boundaries
2026-09-03 10:31:47 +08:00
bincxz
7e3960f561
fix(ai): preserve newest chat under tight quotas
2026-09-03 10:29:06 +08:00
bincxz
acb29e0791
fix(ai): make session quota retries converge
2026-09-03 10:26:43 +08:00
bincxz
d350f2746a
test(workspace): cover merged title lifecycle
2026-09-03 10:24:41 +08:00
bincxz
89dab1394d
fix(ai): keep stateless Responses replay data intact
2026-09-03 10:22:29 +08:00
netcatty-bot
3936d8b7f3
fix: address Codex review on PR #3251
2026-09-02 12:07:00 +00:00
netcatty-bot
f66c098c9b
fix: address Codex review on PR #3250
2026-09-02 09:59:49 +00:00
netcatty-bot
47667e80f5
fix: address Codex review on PR #3250
2026-09-02 09:36:22 +00:00
netcatty-bot
a352ca3836
fix: address Codex review on PR #3250
2026-09-02 09:02:06 +00:00
netcatty-bot
1f52f6f399
fix( #3248 ): automated AI fix
2026-09-02 08:30:19 +00:00
bincxz
25b79a6947
feat(sftp): tighten bookmarks, compact list, dual-pane entry, and folder scans
...
Address the SFTP UX list in #3240 : wider bookmark management with
confirm/reorder/rename, a compact file-list density, a host-list shortcut
into the existing local/remote dual pane, faster local folder discovery,
and higher small-file upload concurrency.
Tree view already supports double-click to enter directories, so that
item is left as-is.
2026-09-02 14:26:14 +08:00
陈大猫
a1fce3ad7c
Merge pull request #3238 from ice616/feat/auto-launch-at-login
...
feat(settings): 支持开机自启动并最小化到系统托盘
2026-09-02 13:30:55 +08:00
bincxz
b818db5f0c
fix(sftp): elevate /root drops and allow sudo reconnect fallback
...
After sudo -i, terminal drag into /root uses the host's saved password for
SFTP sudo. If no usable password is saved, the drop fails with guidance to
enable host Sudo elevation or return to the user directory.
Automatic SFTP reconnect still prefers the originating session, then falls
through to a fresh open so a dead channel after sudo -i can re-elevate.
2026-09-02 11:46:27 +08:00
bincxz
d79643d31c
fix(sftp): wait for origin focus before drop cancel or bind
...
Do not treat a lagging split-pane focus as the user leaving the drop
origin, and do not bind a Mosh/ET drop to the still-focused SSH session.
First-open follow treats a missing SSH id as bound to the live focused
terminal so a probe from A cannot apply after focus moves to B.
2026-09-02 11:17:22 +08:00
bincxz
4bb8a224b6
fix(sftp): reject follow probes after focused session changes
...
A follow sync that started probing session A must not navigate after
focus moves to session B. Capture the expected session before the
await and reuse the same guard already used for go-to-terminal-cwd.
2026-09-02 10:24:49 +08:00
bincxz
a7342ff7b8
fix(sftp): drop extra drag-upload routing machinery
...
Keep confirmed active-shell destinations, originating-session bind, sudo
fidelity, and the longer ZMODEM start wait. Remove the dormant queue,
routeSessionId identity, and source-regex contracts that only locked
that extra routing in.
2026-09-01 22:54:16 +08:00
bincxz
e5f2519433
fix(sftp): preserve queued upload routes
2026-09-01 22:33:00 +08:00
axe006 and Claude Sonnet 5
d92406a9fd
fix(auto-launch): 补齐跨窗口同步、修正连续切换的陈旧响应竞态
...
针对 PR #3238 的 2 条 Codex review 意见修复:
- application/state/settingsIpcSync.ts / useSettingsState.ts:新增
STORAGE_KEY_AUTO_LAUNCH_ENABLED 的跨窗口广播处理。AppLockGate 会
在每个窗口(主窗口、托盘面板、终端弹窗等)都挂载一份
useSettingsState,即使开机自启动开关只在设置窗口的 UI 里展示和
交互。此前该键缺失在 settingsIpcSync.ts 的广播处理里,其他窗口
收到设置窗口推送的 notifySettingsChanged 广播后不会更新自己
内存里的 autoLaunchEnabled,与项目里几乎所有其它布尔类设置的
跨窗口同步约定不一致。新增结构断言测试验证键处理与端到端接线
都已补齐。
- application/state/systemSettingsEffects.ts:新增
autoLaunchWriteGenerationRef,推送 effect 的写入响应只在"没有
更新的写入请求已经发起"时才被采纳。此前连续快速切换开关会启动
多个并发的 bridge.setAutoLaunch 调用,每个回调只跟自己请求时的
闭包值比较,不知道是否已经有更晚的请求覆盖了它——一个陈旧请求
的延迟响应(比如报告了与自己请求不符的状态)可能在更新的请求
已经成功落地之后才到达,用过时的"纠正"把已经确认生效的最新
状态覆盖掉。新增单测覆盖乱序到达、连续三次切换等场景。
新增/更新单测覆盖上述两个场景,199 项相关测试通过。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-01 20:12:36 +08:00
bincxz
ccacb69bb9
fix(sftp): bind terminal drops to active route
2026-09-01 19:58:55 +08:00
axe006 and Claude Sonnet 5
7c419f41de
fix(auto-launch): 修正写入失败回滚、挂载竞态、隐藏启动焦点竞态
...
针对 PR #3238 的 3 条 Codex review 意见修复:
- electron/autoLaunch.cjs:setAutoLaunchEnabled 写入失败时,success
字段改为反映"回退读取本身是否成功"(即返回的 enabled 值是否可信),
而不是"写入操作是否成功",与 getAutoLaunchEnabled 已有的语义保持
一致。此前写入失败一律标记 success:false,导致渲染进程的推送
effect 直接丢弃回退读取到的真实状态(哪怕这次读取本身成功),
乐观开关状态停留在"已开启",即使操作系统层面从未真正创建
登录项。同时修正未支持平台分支的 success 语义(enabled:false
是确定事实,不是未知状态),与 getAutoLaunchEnabled 对齐。
- application/state/systemSettingsEffects.ts:新增
autoLaunchWriteStartedRef,挂载时的水合请求还在等待期间,如果
用户手动切换了开关(触发推送 effect 发起真实写入),水合的
陈旧响应落地时会跳过应用,不再覆盖用户刚做的选择——此前会用
这个陈旧值覆盖用户状态,并连锁触发推送 effect 把陈旧值写回
操作系统,实质上撤销用户刚成功完成的操作。
- electron/main.cjs:second-instance(含 open-terminal-path 无效
路径兜底分支)与 activate(macOS Dock 重新打开/点击)三处调用
createAndShowMainWindow() 后新增 focusMainWindow() 跟随调用。
consumeColdStartHiddenLaunch 是一次性锁存标志,谁先调用
createAndShowMainWindow() 谁就消费掉它——app.whenReady() 之后、
默认冷启动流程真正调用 createAndShowMainWindow() 之前还有若干
await(如应用锁设置加载),期间到达的真实第二实例或 Dock 重新
打开事件可能抢先消费隐藏标志,创建一个隐藏窗口且没有后续动作
让它显示,导致用户显式的重新打开操作看起来毫无反应。深链接和
打开终端路径的四处调用点已经在创建后无条件调用 focusMainWindow()
(因此不受影响),这次是给另外三处缺失该调用的地方补上。
新增/更新单测覆盖上述三个场景,194 项相关测试通过。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-01 19:49:27 +08:00