axe006 and Claude Sonnet 5
bd4680e4d5
fix(ai): 静默会话开关只对真正的外部 MCP 调用生效
...
openHostForVaultAgent 这条 host_open 路径同时被外部 MCP 客户端和
应用内 Catty AI 聊天工具共用。此前静默开关全局生效会导致应用内 AI
聊天助手打开会话时也被静默,用户在侧边栏里看不到任何新标签,与该
工具"会创建一个终端标签"的文档描述不符。
policy.cjs 对 write 类能力有一条硬性约束:BUILTIN(应用内聊天)
surface 必须携带 chatSessionId,否则请求在权限层直接被拒绝;外部
MCP 的 PUBLIC surface 则没有这个概念、通常不带 chatSessionId。据此
把 chatSessionId 的有无作为可靠信号:只有真正的外部 MCP 调用(无
chatSessionId)才应用静默设置,应用内 AI 聊天始终按现状打开可见标签。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-21 11:12:31 +08:00
axe006 and Claude Sonnet 5
2e84f49a64
chore: 触发 CI 重跑
...
上一轮 lint-and-test 失败于 electron/bridges/terminalBridge.telnetAutoLogin.test.cjs
的 "answers login prompts with saved credentials" 用例,本地重复运行 3 次均通过,
且该测试文件未被本次分支触碰,判断为 CI 环境下的时序类 flaky test,与本 PR 改动无关。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-21 11:05:37 +08:00
axe006 and Claude Sonnet 5
a5de52247e
fix(ai): 关闭最后一个可见标签时不再回退到隐藏的 MCP 会话
...
resolveActiveTabAfterCloseSession 的 solo-session 兜底逻辑此前只
排除了归属 workspace 的会话,没有排除 hiddenFromTabs 的隐藏会话。
用户关闭最后一个可见标签、且存在静默运行的 MCP 会话时,兜底会把
该隐藏会话选为 activeTabId,导致它意外暴露在主窗口,违背静默设置
的初衷。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-21 10:59:34 +08:00
axe006 and Claude Sonnet 5
bb44fe6a6c
feat(ai): 新增 MCP 会话静默运行开关
...
AI 通过 MCP host_open 打开会话时会新建标签并抢占当前焦点,打断用户
正在查看的其他标签。新增"AI 会话静默运行"开关(默认关闭),开启后
host_open 打开的会话不出现在标签栏、不被自动激活,在后台继续正常
运行,可通过 terminal_execute/sftp_*/session_close 等工具操作,
应用重启后也不会被恢复为标签。用户可通过托盘面板查看这些隐藏会话
(带 AI 徽标),外部 MCP 客户端的会话列表不受影响。
Closes #2340
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-21 10:50:21 +08:00
陈大猫
96d1c57bb5
Merge pull request #2344 from mam15mon/codex/fix-quick-switcher-keyboard
...
[codex] Fix keyboard navigation in host pickers
2026-07-21 09:53:35 +08:00
mam15mon
ec4f707ea2
Keep plugin palette selections visible
2026-07-21 09:44:22 +08:00
mam15mon
7b9c634475
Fix keyboard navigation in host pickers
2026-07-21 09:24:33 +08:00
陈大猫
ef44faa7df
Merge pull request #2331 from RainGoal/fix/ssh-keyboard-interactive-first
...
fix(ssh): prefer keyboard-interactive for MFA hosts
2026-07-20 21:57:34 +08:00
bincxz
056e3bf966
fix(ssh): hide MFA preference for ET hosts
2026-07-20 20:19:00 +08:00
bincxz
6cc0329a1c
fix(ssh): apply MFA auth preference consistently
2026-07-20 20:08:00 +08:00
陈大猫
58a8f03ca6
Merge pull request #2334 from tces1/main
...
fix(terminal): clear search highlights when search input is emptied
2026-07-20 19:59:36 +08:00
bincxz
0c0f328994
fix(terminal): clear active search selection on reset
2026-07-20 19:55:00 +08:00
RainGoal
9700a604f5
fix(ssh): forward MFA preference to jump hosts
...
Jump hosts reuse the same SSH bridge authentication flow as the target host, but the renderer did not serialize the per-host requiresMfa preference into jumpHosts. A bastion configured to prefer keyboard-interactive was therefore still authenticated with the default password-first order when used in a host chain.
Forward requiresMfa from each resolved chain host into the NetcattyJumpHost payload and extend the startSSH serialization test to cover the flag alongside existing jump host proxy and timeout settings.
2026-07-20 18:10:18 +08:00
陈大猫
e8b6a2ad46
Merge pull request #2324 from ryan-wong-coder/feat/plugin-ui-contributions
...
feat(plugins): add native UI contributions
2026-07-20 15:02:07 +08:00
ryan-wong-coder
cd5a15938d
fix(plugins): preserve tabs during context refresh
2026-07-20 14:54:27 +08:00
ryan-wong-coder
aa4c653bf7
fix(plugins): preserve localized view lifecycles
2026-07-20 13:49:18 +08:00
ryan-wong-coder
c7d15a6f52
fix(plugins): complete native contribution lifecycle
2026-07-20 12:39:29 +08:00
ryan-wong-coder
50b7c315fd
fix(plugins): complete contribution lifecycle and native UI
2026-07-20 12:39:29 +08:00
ryan-wong-coder
c516930577
fix(plugins): enforce contribution ownership boundaries
2026-07-20 12:39:29 +08:00
ryan-wong-coder
e1b3e3ac42
fix(plugin-ui): harden contribution contexts and view state
2026-07-20 12:39:29 +08:00
ryan-wong-coder
74762e1ab0
fix(plugin-ui): harden contribution lifecycle state
2026-07-20 12:39:29 +08:00
ryan-wong-coder
6d0475bf3e
fix(plugins): harden contribution lifecycle and activation
2026-07-20 12:39:29 +08:00
ryan-wong-coder
71a12f2786
fix(plugins): complete UI contribution lifecycle
2026-07-20 12:39:29 +08:00
ryan-wong-coder
e6e9ffdd7a
feat(plugins): add native UI contributions
2026-07-20 12:39:29 +08:00
陈大猫
352766f28a
Merge pull request #2336 from binaricat/codex/fix-2329-portable-data
...
feat(windows): support portable data directory
2026-07-20 12:14:39 +08:00
bincxz
a1e7fdf1e2
feat(windows): support portable data directory
2026-07-20 12:08:42 +08:00
陈大猫
d9d33f0f4b
Merge pull request #2333 from binaricat/codex/fix-deleted-key-passphrase
...
fix: forget remembered passphrase when deleting a key
2026-07-20 11:41:20 +08:00
tces1
dc5cff2682
style(terminal): use ASCII punctuation in search comment
...
Replace the em dash in the added comment with a semicolon to satisfy the
repo's ASCII-only convention (AGENTS.md), as flagged by Codex review.
2026-07-20 11:38:53 +08:00
bincxz
3e7d54930d
close key deletion alias race
2026-07-20 11:34:05 +08:00
bincxz
ce8b6c5c3b
fix key deletion race handling
2026-07-20 11:31:17 +08:00
bincxz
50404b6a94
fix key deletion passphrase cleanup
2026-07-20 11:17:39 +08:00
tces1
3339983911
fix(terminal): clear search highlights when search input is emptied
...
The terminal search bar left the previous match decorations on screen
after the input was cleared. Two causes:
- TerminalSearchBar only called onSearch when the term was non-empty, so
clearing the field never notified the search hook.
- handleSearch's empty-term branch returned early without clearing
decorations or resetting the stored term.
Now clearing the input fires onSearch(''), and the empty-term branch
resets searchTermRef and calls clearDecorations() so highlights vanish
immediately and a subsequent find-next won't reuse the stale term.
2026-07-20 11:06:42 +08:00
RainGoal
83f4978cd5
fix(ssh): prefer keyboard-interactive for MFA hosts
...
Problem: some SSH servers require the login password and the MFA challenge through keyboard-interactive. They reject the plain SSH password authentication method even when the password is correct, which makes Netcatty report password failures and can close the session before a usable shell opens.
Fix: add an explicit per-host Prefer interactive auth setting, reuse the existing requiresMfa host flag, forward it from the renderer to the native SSH bridge, and place keyboard-interactive before password only when that setting is enabled and a password is available. Hosts that do not enable the setting keep the existing auth ordering.
Tests: add a bridge regression test for the MFA auth order and extend the terminal starter test to assert the host option is forwarded.
2026-07-20 10:57:41 +08:00
陈大猫
a98cbd5686
Merge pull request #2315 from ryan-wong-coder/feat/plugin-permission-security
...
feat(plugins): add permission and security boundary
2026-07-19 18:31:17 +08:00
ryan-wong-coder
fbe3d50e39
docs(plugins): align companion runtime selection
2026-07-19 18:07:58 +08:00
ryan-wong-coder
a6e5b43d14
fix(plugins): close companion placement gaps
2026-07-19 18:04:01 +08:00
ryan-wong-coder
f51e5b28e3
fix(plugins): close activation and companion trust gaps
2026-07-19 18:04:01 +08:00
ryan-wong-coder
e6c55c9052
fix(plugins): close remaining authorization races
2026-07-19 18:04:01 +08:00
ryan-wong-coder
6e79ef9ff9
fix(plugins): harden capability authorization
2026-07-19 18:04:01 +08:00
ryan-wong-coder
33ad8eea20
fix(plugin): harden runtime cleanup containment
2026-07-19 18:04:01 +08:00
ryan-wong-coder
688ae1902b
fix(plugin): defer protected resource probes
2026-07-19 18:04:01 +08:00
ryan-wong-coder
bb5f0e797e
test(plugin-runtime): make quota startup check deterministic
2026-07-19 18:04:01 +08:00
ryan-wong-coder
7bd58ba157
fix(plugin-security): close reviewed containment gaps
2026-07-19 18:04:01 +08:00
ryan-wong-coder
fec3c26f56
fix(plugin-security): close reviewed authorization races
2026-07-19 18:04:01 +08:00
ryan-wong-coder
614476b947
feat(plugins): add permission security boundary
2026-07-19 18:04:01 +08:00
陈大猫
8364cb2fda
Merge pull request #2323 from pyroch/ru-translations
...
fix: complete Russian UI localization
2026-07-19 17:23:33 +08:00
pyroch
acaf8ac301
fix: complete Russian UI localization
2026-07-19 12:10:05 +03:00
陈大猫
47fcb02113
Merge pull request #2318 from binaricat/codex/update-nix-v1.1.70
...
chore(nix): update release metadata for v1.1.70
2026-07-19 13:16:27 +08:00
bincxz
4731d521ff
chore(nix): update release metadata for v1.1.70
2026-07-19 13:04:41 +08:00
陈大猫
f900b96e82
Merge pull request #2316 from binaricat/codex/fix-terminal-disk-summary
...
fix(terminal): aggregate mounted disk summary
v1.1.70
2026-07-19 12:43:07 +08:00