Commit Graph
3462 Commits
Author SHA1 Message Date
bincxz e4fc53763a feat(sftp): add setting for tree view folder double-click behavior (#4424) 2026-11-26 23:24:13 +08:00
GOUKI9999andbincxz 883313f483 fix(ui): keep per-pane close button visible at narrow widths (#4448)
Co-authored-by: bincxz <16399091+binaricat@users.noreply.github.com>
2026-11-26 22:51:40 +08:00
陈大猫 1d6c9fc693 fix(terminal): sync vaultInitialized with VaultHost props to avoid stale key boot (#4428) (#4458) 2026-11-26 22:40:50 +08:00
陈大猫 cde4274041 fix(terminal): keep compose bar cwd label across command submit (#4422) 2026-11-26 22:32:32 +08:00
陈大猫 444b360727 fix(vault): restore Host Details inheritance (#4441) (#4447)
* fix(vault): restore Host Details inheritance (#4441)

* fix(vault): keep Mosh/ET exclusive when restoring group transport
2026-11-26 22:32:28 +08:00
GOUKI9999andbincxz bbbea4a157 fix(ai): allow dismissing the model catalog warning banner (#4431)
* fix(ai): allow dismissing the model catalog warning banner

* fix(ai): address Codex review on catalog warning dismissal

* fix(ai): persist catalog warning dismissals across empty-panel remounts

---------

Co-authored-by: bincxz <16399091+binaricat@users.noreply.github.com>
2026-11-26 22:32:23 +08:00
陈大猫andCodex 1009f131fe fix(ui): use a 1px continuous stroke for magnified pane chrome (#4168) (#4452)
Co-authored-by: Codex <codex@openai.com>
2026-11-26 22:25:32 +08:00
陈大猫andCodex db433c4c19 fix(terminal): keep magnified pane chrome through the shrink animation (#4335) (#4450)
Co-authored-by: Codex <codex@openai.com>
2026-11-26 20:47:31 +08:00
陈大猫 93c74cb068 feat(plugins): add workbench shortcut forwarding, DataGrid FK jump & keyboard parity, and ER canvas polish (#4451) 2026-11-26 19:21:11 +08:00
Imzl-zl a0f7a376db fix(tabs): respect configured SSH names and dynamic title modes (#4409)
Fixes #4432
Fixes #4436
2026-11-26 18:52:09 +08:00
陈大猫 1595d2ed62 style(plugins): apply immersive overlay scrollbars to plugin surfaces and data grid (#4438) 2026-11-26 18:03:26 +08:00
陈大猫 f4a087e890 feat(plugins): add host-rendered IDE primitives, STARTTLS/SSH bindings, file/secret APIs, and pooled image rasterizer (#4437)
- Add host-rendered native IDE primitives (PluginCodeEditor/Monaco, PluginDataGrid/@tanstack/react-virtual, PluginSplitPane, PluginErCanvas) with Shadow DOM slot projection (zero iframes, zero plugin JS in renderer)
- Expand Remote DOM budgets, expose full 22 Netcatty semantic CSS tokens, add dblclick/contextmenu/scroll/selection events, cursor-anchored PluginPopover, database theme icon, and full-bleed chrome flag
- Add dynamic user-approved TCP/TLS byte streams (incl. localhost opt-in blocking internal control ports), in-band STARTTLS upgrade with cert fingerprint confirmation, durable revocable Vault SSH host bindings, plugin-owned encrypted secrets, native ui.openFile/saveFile streaming handles, 4 MiB clipboard, and prefix-filtered storage.keys
- Optimize plugin view image pipeline with pooled sandboxed rasterizer window (auto-destroyed on idle/error/dispose), LRU version+hash cache in PluginViewResources, transient failure eviction in HostDrawnViewHost, renderer-side session deduplication, and RemoteImageElement cache + retry
- Temporarily enable plugin host by default in hostBootstrap.cjs (marked TODO(revert), opt-out via NETCATTY_PLUGIN_DEV=0)
2026-11-26 17:52:27 +08:00
陈大猫 ac8869884f fix(vault): normalize Host Details group paths only when the group changes (#4427)
* fix(vault): normalize changed Host Details group paths

Preserve unchanged legacy group paths to avoid changing connection defaults.

Fixes #4426

* fix(vault): normalize explicitly selected trimmed group paths

Related #4426
2026-11-26 15:59:12 +08:00
Radwan Selo 3026be2dc9 fix(ssh): show the target's label and each hop's address in chain progress (#4413)
When connecting through "Proxy via Hosts", the connection dialog named
jump hops by their label but the final target by its raw address
("Chain 2 of 2: 192.168.1.10"), and the address line under the heading
always showed the target's address, whichever hop was connecting
("Chain 1 of 3: Bastion A" above "SSH 192.168.1.10:22"). Longer chains
made this more confusing.

- Name the final hop by its vault label (falling back to its address
  when unlabeled). Direct connections are unchanged.
- Send each hop's host:port with chain progress events and show it
  under the heading for jump hops; the final hop keeps the target's
  protocol-aware address line (Mosh/ET ports).
- Applies to terminal sessions and the host "Test connection" dialog.
- Share the host:port formatting for chain hops in chainProgress.cjs.
2026-11-26 12:29:30 +08:00
陈大猫 9a49ac33bf feat(sftp): add default download folder setting (#4353) (#4392) 2026-11-25 22:18:12 +08:00
陈大猫 834ca122c4 refactor(domain): unify duplicated renderer TS and Electron CJS modules via domain/*.shared.cjs (#4394) 2026-11-25 22:04:43 +08:00
陈大猫 ac885e2a36 perf(ai): replace full @streamdown/code bundle with fine-grained shiki/core highlighter (#4390)
* perf(ai): replace full @streamdown/code bundle with fine-grained shiki/core highlighter

* fix(deps): preserve peer dependencies in package-lock.json
2026-11-25 22:04:36 +08:00
陈大猫 d5acb4641e refactor(domain): deduplicate ZIP builder, snippet shortkey recorder, hex-to-HSL math, and shell tokenizer (#4398) 2026-11-25 22:04:01 +08:00
陈大猫 99197b3e18 perf(plugins): replace 50ms hostDom polling interval with event/property-driven sync and memoize PluginRemoteSurface (#4402)
* perf(plugins): replace 50ms hostDom polling interval with event/property-driven sync and memoize PluginRemoteSurface

* fix(plugin-sdk): order structural mutations before control flushes and cover native control mutators
2026-11-25 22:03:45 +08:00
陈大猫 d052a8597c refactor(state): compose useAISettingsState in useAIState and extract shared SSH credential/preflight builders (#4401) 2026-11-25 22:03:38 +08:00
陈大猫 d4f819b885 refactor(vault): consolidate shared SSH credential picker, algorithm overrides, and serial port discovery (#4400) 2026-11-25 22:03:30 +08:00
陈大猫 29be836550 perf(bundle): code-split re2js, css-tree/remote-dom, and Monaco out of startup index chunk (#4391) 2026-11-25 22:03:02 +08:00
陈大猫 703148c84f perf(terminal): eliminate O(N^2) output history shift, idle timestamp sorting, and redundant keyword regex scans (#4382)
* perf(terminal): eliminate O(N^2) output history shift, idle timestamp sorting, and redundant keyword regex scans

* fix(terminal): invalidate timestamp gutter viewport key on parsed writes
2026-11-25 22:02:55 +08:00
陈大猫 c27a40e5f0 perf(ui): eliminate HostTreeSidebar 60fps ResizeObserver layout thrash and stop hidden activeHostId rerenders (#4375) 2026-11-25 22:02:42 +08:00
陈大猫 6461acb575 perf(terminal): gate redundant WebGL atlas wipes and recovery refits on window focus (#4371) 2026-11-25 22:02:27 +08:00
陈大猫 58bc929a17 refactor(ui): extract shared VaultHostCard and InlineRenameInput components (#4393) 2026-11-25 21:56:29 +08:00
陈大猫 7e94183b89 fix(sftp): prevent drag listener/body-style/selection leaks and avoid full transfer list cloning on progress (#4383) 2026-11-25 21:53:05 +08:00
陈大猫 b8d05b3074 test: remove 2 verbatim duplicate test cases and rename env-gated SCP real tests to *.live.test.cjs (#4386) 2026-11-25 21:40:20 +08:00
陈大猫 9a2d6ef7bf test: remove 2 dead test helpers and 3 obsolete/superseded plugin UI PoC tests (#4384) 2026-11-25 21:40:06 +08:00
陈大猫 0aeb1df039 fix(editor): replace leaking Monaco editor.addCommand with disposable editor.addAction (#4379) 2026-11-25 21:39:44 +08:00
陈大猫 e2b0f83ea9 fix(ai): detach global window listeners and mark completion when aiMarkdownWarmup fires (#4373) 2026-11-25 21:39:17 +08:00
陈大猫 4d7906a710 perf(ui): coalesce AsidePanel and VaultViewLayout resize with rAF and avoid split-panel width reflow (#4369) 2026-11-25 21:39:09 +08:00
陈大猫 59db998ec4 perf(ui): narrow unscoped useActiveTabId subscriptions on tab switch (#4367) 2026-11-25 21:38:54 +08:00
陈大猫 78c7d30648 perf(sftp): eliminate inline toggle callback and narrow SFTP pane active/focus subscriptions (#4365) 2026-11-25 21:38:47 +08:00
陈大猫 4c3f0ce80b perf(terminal): decouple plugin sidebar subscriptions and gate closed side-panel reflows (#4364) 2026-11-25 21:38:40 +08:00
陈大猫 fd732dff9c perf(terminal): stabilize theme panel callbacks and memoize SidePanelBrowserSlot (#4362) 2026-11-25 21:38:33 +08:00
陈大猫 93bec7497c fix(ui): unify custom tooltips and keep Custom CSS docs in help modal (#4360) 2026-11-25 20:08:02 +08:00
陈大猫 fa9b28adde fix(terminal): handle Ctrl+Insert copy without clearing selection or leaking Win32 input (#4357)
* fix(terminal): handle Ctrl+Insert copy without clearing selection or leaking Win32 input (#4351)

* fix(terminal): suppress paired Ctrl+Insert keyup in native Kitty mode and set Windows UA in test

* test(terminal): override navigator.userAgent via Object.defineProperty in JSDOM fixture
2026-11-25 19:35:45 +08:00
陈大猫 ed90d61014 fix(terminal): cap ligature joiner span to avoid WebGL 16384px overflow atlas spike (#4063) (#4358) 2026-11-25 19:02:59 +08:00
GOUKI9999 d066f1f082 fix(tabs): honor disabled double-click on workspace tabs (#4355) 2026-11-25 17:34:32 +08:00
陈大猫 b64c36fd40 feat(ui): inline compose directory picker and streamline AI session history UX (#4356)
* feat(ui): inline compose directory picker and streamline AI session history UX

* fix(ai): exclude workspace members and hidden terminals from active-elsewhere jump targets

* fix(ai): clear non-AI magnification overlay when jumping to an active chat tab
2026-11-25 17:29:32 +08:00
Joseph Hau 403c690061 feat(terminal): support Directory Picker in Windows CMD (#4343)
* feat(terminal): support Directory Picker in Windows CMD

* fix: show CMD-specific directory integration status
2026-11-25 15:52:30 +08:00
陈大猫 5a1352aab0 feat(sftp): insert file path or cd into paired terminal from SFTP context menu (#4323)
* feat(sftp): insert file path or cd into paired terminal from SFTP context menu

* fix(sftp): guard terminal path insertion against unclosed quote contexts

* fix(sftp): reject trailing dollar fusion and after-cursor command text

* fix(terminal): detect standard root-directory shell prompts (user@host:/$) for SFTP path injection

* fix(sftp): reject arithmetic insertion contexts and continuation-prompt cd

* fix(terminal): ignore right-aligned prompt decorations in after-cursor readiness check

* fix(sftp): resolve remote shell dialect from prompt/OS and use portable Unix quoting

* fix(terminal): require unwritten xterm gap cells before ignoring right-prompt decorations
2026-11-25 12:02:41 +08:00
陈大猫 a9cf94aeba feat(sftp): add back and forward directory history navigation (#4324)
* feat(sftp): add back and forward directory history navigation

* fix(sftp): preserve pending nav history transition on mid-flight refresh
2026-11-25 11:26:13 +08:00
陈大猫 196132621c feat(ai): make tool call output truncation limit configurable in AI settings (#4328) 2026-11-25 11:25:00 +08:00
陈大猫 0098f2e670 feat(terminal): keep compose bar right-click isolated and allow reordering pinned snippets (#4327) 2026-11-25 11:22:00 +08:00
陈大猫 730c8cad59 feat(portforward): use capped exponential backoff instead of giving up after 15s (#4322) 2026-11-25 11:20:42 +08:00
陈大猫 10ad09fe34 feat(sftp): skip auto-opening SFTP side panel for network devices (#4321) 2026-11-25 10:44:22 +08:00
陈大猫 040aec53b2 feat(ai): tint user message bubbles with theme accent for clearer turn separation (#4317)
* feat(ai): tint user message bubbles with theme accent for clearer turn separation

* fix(css): wrap global border-color reset in @layer base so user bubble border-primary utilities apply
2026-11-25 10:37:12 +08:00
陈大猫 2bf8611919 feat(local-terminal): support optional startup command on local terminal hosts (#4326)
* feat(local-terminal): support optional startup command on local terminal hosts

* fix(local-terminal): validate saved local launch target before overlaying startup command
2026-11-25 10:26:36 +08:00