Графік комітів
4480 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai 71e089b0fa feat(plugins): read HTTP responses as they arrive with net.fetch-stream
Plugin API 1.19 adds net.fetch-stream, which returns a response-stream once
the headers arrive; its body is read piece by piece with a timeout, so a
plugin can consume server-sent events or a model's streamed reply and stop
early. It uses the same grants, secrets and redirect checks as fetch, which
now shares the request builder. The SDK gets host::fetch_stream,
ResponseStream and an sse parser; components are rebuilt for the new WIT.
2026-11-29 22:49:30 +08:00
l0ng-aiтаrohitdanda 18860f5f98 ci: give signing secrets only to the steps that sign, and pin actions by SHA (#6854)
The updater signing key and Apple credentials were exported job-wide through GITHUB_ENV, so every later step in the release build (dependency installs, third-party actions) could read them. They now reach only the steps that sign: a signed tauri-action build when the updater key is configured (an unsigned build otherwise, since an empty key still counts as set), DMG notarization, and the portable zip. All third-party actions across the workflows are pinned to commit SHAs with their release in a comment, and Dependabot keeps the github-actions ecosystem current with weekly grouped updates.

Refs #6142, #6701

Co-authored-by: rohitdanda <[email protected]>
2026-11-29 22:46:18 +08:00
l0ng-ai 8e9c02cae6 test(e2e): expect editable artifacts in a project without a build tool (#6857)
#6834 made Project Structure › Artifacts editable when the project has no Maven or Gradle build; the settings spec still expected a disabled JAR button. It now checks the button is enabled and the Maven/Gradle note is absent.
2026-11-29 22:45:25 +08:00
l0ng-ai 28b879c668 fix(run): show the iOS Simulator chooser only in confirmed Xcode projects (#6856)
The chooser appeared whenever listing simulators failed, so Restricted Mode windows, hosts without the command and the browser e2e harness showed "Simulators unavailable" in every project's toolbar (breaking the toolbar layout e2e specs on main). A failure is now shown only after a listing has confirmed an Xcode project; later refresh failures still appear in the chooser.
2026-11-29 22:44:10 +08:00
Deng Liuтаdengliu 19aef36354 feat(agents): add Agent Memory settings and a per-session memory picker (#6826)
Adds Settings › Agents › Memory and a Session Memory picker (/memory, /memories, the composer + menu and the context meter link). They list each agent's own instruction files, path-scoped rules and auto-memory notes: AGENTS.md, CLAUDE.md and .claude/rules, .github/copilot-instructions.md and .github/instructions, .cursor/rules, GEMINI.md, and the Claude Code, Codex and Hermes auto-memory folders.

Per-file modes (Auto / Always / Off) and the auto-memory policy (Inherit / Read & Write / Read Only / Off) are stored in settings.toml at user or workspace scope and never edit tracked files. Workspace entries load only in trusted projects. Each driver receives the policy natively: Claude Code through --settings and --add-dir, Codex through its memories config and /memories, GitHub Copilot through excludedTools and the system message, and Hermes through config.yaml. A file set to Always is staged into other agents' sessions. Auto-memory notes can be promoted into the workspace AGENTS.md, and an idle session restarts when a memory policy changes.

Groups of the same agent are titled by scope, for example Claude Code (User) and Claude Code (Auto Memory).

Closes #6810

Co-authored-by: dengliu <[email protected]>
2026-11-29 22:38:20 +08:00
Muuтаmuutot c8efb2917d feat(bookmarks): select and rename lists in the popup (#6849)
List headers in the Bookmarks popup are now selectable rows; F2 on one opens the list name dialog, while file section rows stay non-selectable and are skipped by the keyboard. The popup claims F2 while its list is focused so the global Rename File shortcut does not take it.

Co-authored-by: muutot <[email protected]>
2026-11-29 22:28:40 +08:00
Vladislav Kuzmin 94ddb1807d fix(ci): cache Maven launch classpath artifacts (#6565)
The Rust job's Maven cache only held what resources:resources and compiler:compile resolve,
so the Java launch and rebuild tests on GitHub-hosted runners missed artifacts (#6561).
The preparation step now also runs clean and fetches slf4j-api 1.7.36 with
maven-dependency-plugin 3.8.1 (both pinned, from Maven Central), and the cache key gets a
v2 prefix so the incomplete caches are not restored.

Co-authored-by: principalwater <[email protected]>
2026-11-29 22:15:32 +08:00
l0ng-ai 27447d21a7 ci: keep the Windows Rust cache warm and allow a cold build 75 minutes (#6850)
A Windows run on main that ended in a test failure skipped the Rust cache save, so the next PR
compiled every dependency again (about 19 minutes of Clippy plus 30 of test binaries) and ran out
of the 60-minute limit partway through the tests.

- rust-cache in the Rust job saves on failure too; still only on main, PRs and forks restore.
- The Windows Rust job gets 75 minutes; macOS and Linux stay at 60.

Refs #6496
2026-11-29 22:07:17 +08:00
l0ng-ai 3edbcc0dcd ci(smoke): run the TypeScript project-errors and import-style smokes (#6851)
The TypeScript job in Language smoke now also runs typescript_project_errors (Problems ›
TypeScript Project Errors against the global tsc the job installs) and typescript_import_style
(the import style settings through real vtsls). Both smokes came with #6097 and #6342 but were
not run in CI yet.
2026-11-29 22:06:27 +08:00
Akbar Husain 782a0a98e3 feat(mcp): add debugger tools (#6579)
The built-in MCP server gets xdebug_* tools: debugger status, start a session for a run configuration or run point, control it (resume, pause, step, wait for pause, stop), list/set/remove breakpoints, run to line, threads, stack, frame values, values by path, evaluate and set variable. Breakpoints go through the window's editor model, so they show in the gutter, persist and are the list the user sees; sessions start through the IDE's Debug action with its before-launch tasks. Mutating tools are marked write for the trust gate.

Co-authored-by: akbar1214 <[email protected]>
2026-11-29 21:59:42 +08:00
arookieofcтаarookieofc bd0455bda5 fix(vcs): stop retrying stale git worktrees (#6794)
A failed reopen of a repository never updated the cache stamp, so every gix() call reopened it again and logged a warning, and status fell back to running git in a worktree folder that no longer existed (os error 267 on Windows). The stamp is now updated on failure too, and a repository whose worktree or git directory is missing is skipped by status, ignored-files and path status, logged once, and picked up again when both directories are back.

Fixes #5514

Co-authored-by: arookieofc <[email protected]>
2026-11-29 21:56:58 +08:00
l0ng-ai 13cd8ba006 fix(updates): flush the received bytes before a broken download returns (#6407)
append_body returned on a body error before flushing the tokio File, whose writes run on a
background thread, so a resume could measure the partial file shorter than the bytes already
received (the Linux CI flake in a_broken_download_resumes_with_range). The error is now held
until the file is flushed; the success path and signature checks are unchanged.
2026-11-29 21:53:33 +08:00
Muuтаmuutot 9b413fde11 feat(search): share text match options with Search Everywhere (#6843)
Search Everywhere's Text tab gets Match Case, Words and Regex toggles (Alt+C / Alt+W / Alt+X). They use Find in Files' option store, so both entry points send the same search flags, and the choices are persisted across restarts.

Co-authored-by: muutot <[email protected]>
2026-11-29 21:42:37 +08:00
Muuтаmuutot 29e5571186 fix(editor): extend Select Line through the next line on each call (#6839)
Select Line at Caret dropped the line where a selection ended at column 0 and kept a backward selection's direction, so invoking it again selected the same lines. It now covers every line the selection touches, including the one it ends at the start of, and leaves the caret at the selection end, so repeated calls extend line by line. Folded lines and multiple carets work as before.

Co-authored-by: muutot <[email protected]>
2026-11-29 21:37:01 +08:00
audichuang 08eb9e3ff9 fix(editor): don't save stale text over a file replaced by binary content (#6840)
reload_from_disk treated a file that now loads as binary like a document opened as binary: it refreshed the disk stamp without a disk-change report, so autosave wrote the next edit over the binary file. A detected-encoding buffer now gets the disk conflict too. Reopening a file whose closed tab kept unsaved changes shows that buffer as text instead of a binary viewer that hid what Save would write. A clean buffer gets its own disk-change wording.

Co-authored-by: audichuang <[email protected]>
2026-11-29 21:34:53 +08:00
LU XIANGRUIтаwildcatDownstairs 3d6ad2e254 feat(run): show xcodebuild errors and warnings in Problems (#6848)
Xcode run and test configurations now publish the compiler and linker messages in their xcodebuild output to Problems and the editor as they arrive. A Format::Xcode on top of the GCC/Clang line parser folds in notes, project-level lines and Undefined symbols blocks; XcodebuildMessages resolves positions, maps symlinked paths back to the project, reports each message once across architectures and stops at the build result. A new run clears the files its previous run reported; messages without a location go on the project file.

Closes #6842

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 21:32:42 +08:00
LU XIANGRUIтаwildcatDownstairs 55b23c90b8 feat(lsp): open documents a language server asks to show (#6846)
Advertise window/showDocument support. An existing file: URI becomes an LspShowDocument event that the frontend opens through openCodeLocation with the requested selection and focus; external http/https/mailto links open in the browser. Anything else answers success: false. This makes sourcekit-lsp's Expand Macro and Inline Macro code actions work.

Closes #6845

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 21:27:53 +08:00
l0ng-ai 3fb58cf69b feat(lsp): stop a language server from the status bar popup (#6847)
Running, busy and starting servers get a Stop button next to Restart in the language server popup. LspManager::stop shuts the instance down and leaves it idle, so it starts again when a file it serves is opened; a notification says it will restart when needed. Adds the lsp_stop command.

Fixes #6835
2026-11-29 21:20:31 +08:00
l0ng-ai 3b6ee66b74 fix(debugger): keep the inlay Run to Cursor button while the pointer moves to it (#6841)
The button sits left of the line's first non-space character, over the indent or the gutter, but the hover area started at the text and ended four characters in: moving the pointer to the button left the area and hid it before it could be clicked. The area now includes the gutter, and while the button is shown it reaches the button's right edge on that line.

Fixes #6832
2026-11-29 20:37:05 +08:00
l0ng-ai 243b9ffa7a fix(editor): let other X11 apps keep the primary selection while the window is inactive (#6838)
Another application taking the primary selection makes WebKitGTK clear the page's selection. An editor in an inactive window is still the active element, so CodeMirror wrote its selection back and claimed the primary selection again: terminals and other X11 apps could not keep a selection while an OpenIDEA editor had one. On Linux the editor now accepts the cleared selection while its window is inactive, keeping its carets.

Fixes #6309
2026-11-29 20:03:46 +08:00
LU XIANGRUIтаwildcatDownstairs 86fabc7d1b feat(project-structure): add Project Structure and Open Module Settings entry points (#6834)
Adds Project Structure… to the title bar gear menu (before Settings) and Open Module Settings to the Project view context menu (below Compare With, above Mark Directory as). Open Module Settings is offered on the project folder, Maven / Gradle / Project Structure module folders and sources / resources roots; it opens Project Structure › Modules with the innermost module holding the path selected, and F4 / Cmd+Down on a module folder opens it too. The action uses a new project-structure icon.

Artifacts in Project Structure are now editable when the project has no build tool, since the IDE builds and deploys them itself; with Maven or Gradle the page stays read-only with a note. The Tomcat run configuration's "No artifacts configured" Fix opens Project Structure › Artifacts and the deployment list refreshes when artifacts change.

Refs #404

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 19:15:50 +08:00
l0ng-ai ae3405486f fix(debugger): skip Windows Store Python aliases when starting debugpy (#6831)
The built-in python.toml starts debugpy's adapter with a bare python3. On Windows that name (and often python) resolves to an App Execution Alias in %LOCALAPPDATA%\Microsoft\WindowsApps, which fails to start unless the Store's Python is installed, so a Python Debug Server reported failed to start ...\WindowsApps\python3.exe even with Python installed and on PATH.

The adapter now takes every match on PATH of the command, then python, then the py launcher, and uses the first that is no alias or one that runs, as the IDE already does when it installs Python tools.

Fixes #6818
2026-11-29 19:03:50 +08:00
l0ng-ai dfea6d2c1e feat(plugins): explain capabilities and open a plugin's own settings (API 1.19) (#6830)
[capabilities.reasons] lets a plugin say in one sentence why it asks for a declared capability. The permission dialog and the plugin's details in Settings › Plugins show it below the IDE's own description, marked as the plugin's words and never instead of it; it is translated through the plugin's locales/<tag>.json. Keys must be capabilities under required or optional; reasons are 1-500 characters.

settings.open(page) opens Settings at the plugin's node or one of its declared pages, and settings.open-permissions at its permissions in Settings › Plugins (plugins#permissions:<id>, so it also reaches a separate Settings window), letting a notice take the user straight there. Both work only from a command or event of a window; an undeclared page is not-found.

Plugin API 1.19.0: WIT package, engine, SDK wrappers and mock, rebuilt components; 1.18 is recorded as shipped with 0.1.54. The settings-pages fixture exercises both additions.

Refs #6745
2026-11-29 18:24:29 +08:00
l0ng-ai b9a25462ea fix(vfs): reload ignore rules after git init on Windows (#6829)
A watcher that started outside a repository caches, per directory, that no .git encloses it. After git init the explicit reload invalidated that cache from /, which is no ancestor of C:\ paths, so on Windows the .gitignore and .git/info/exclude entries written right after were not applied to listings until a file event arrived. It now invalidates from the watch root's topmost ancestor.

The Python library index test no longer opens a directory as a plain file to bump its mtime: Windows refuses that, and the bump is only needed for coarse Unix clocks.
2026-11-29 18:13:01 +08:00
l0ng-ai 04e68f6a12 fix(plugins): keep a plugin's settings pages in manifest order (#6828)
A plugin's settings sub-pages registered without an order, so the settings tree sorted them by title. They now keep the order the manifest lists them in, so no new manifest field is needed. Part of #6745.
2026-11-29 17:28:37 +08:00
Muuтаmuutot 4cfc794f60 feat(lsp): open trusted external documentation (#6819)
Documentation entries can carry a trusted externalUrl supplied by the language (never parsed from Markdown links), and the Quick Documentation window and popup menu offer External Documentation for the current page when it is an absolute http(s) URL. The built-in PHP empty/isset documentation is the first provider, pointing at its PHP manual page.

Co-authored-by: muutot <[email protected]>
2026-11-29 17:26:51 +08:00
LU XIANGRUIтаwildcatDownstairs 8105dfd41a feat(logcat): stream iOS Simulator logs in the Logcat tool window (#6822)
On macOS the Logcat device picker also lists booted iOS Simulators (simctl list devices booted). Selecting one follows simctl spawn <udid> log stream --style ndjson --level debug, mapping each log event to a Logcat line (timestamp, pid, thread, a process (subsystem:category) tag, message type to level), so simulator logs get the same level filter, colors, filter language, pause/follow and history as Android. The stream ends normally when the simulator shuts down, the list is empty off macOS or without Xcode, and a missing adb is only reported when there are no simulators either.

Closes #6801

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 17:24:11 +08:00
LU XIANGRUIтаwildcatDownstairs fca497d246 feat(run): choose the iOS simulator for Xcode projects in the toolbar (#6821)
Native Xcode projects get an iOS Simulator chooser next to the run widget on macOS, shown when the project root holds an .xcodeproj or .xcworkspace and no pubspec.yaml (Flutter lists simulators through its own daemon). ide_run::simulator lists available iOS simulators from simctl, booted first, then newest runtime, then name; the menu has Booted and Available sections with Boot / Shut Down per row and Open Simulator, refreshes on open and after each boot or shutdown, and the choice is kept per project root. Xcode run configurations without a pinned simulator launch on the chooser's selection.

Closes #6797

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 17:16:33 +08:00
l0ng-ai 5cb73c5fd1 fix(i18n): translate the Xcode run configuration type (#6827)
The Xcode App run configuration type (#6824) shipped without zh entries for its name, description and fields, so the source-text catalog test failed on main. Adds zh and zh-TW translations; the App.xcodeproj placeholder stays in English.
2026-11-29 17:14:19 +08:00
LU XIANGRUIтаwildcatDownstairs 2b435c8440 feat(run): run xcode schemes on the ios simulator (#6824)
Xcode projects get one run configuration per scheme (xcode:run:<container>:<scheme>), keeping the scheme's launch build configuration, arguments and environment; a workspace next to the projects is used as the container, and the iOS/macOS host app of a Flutter or React Native project is skipped. At launch the host resolves the simulator and the built .app and bundle id from xcodebuild -showBuildSettings -json, then runs a script that builds with xcodebuild into the project cache's DerivedData, boots the simulator, installs and launches the app with simctl --console-pty, with the environment passed as SIMCTL_CHILD_*. Stop turns the SIGINT into the SIGTERM simctl forwards to the app.

Closes #6795

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 17:07:59 +08:00
l0ng-ai db266643aa feat(terminal): add an optional Paste on right click (#6825)
Settings › Tools › Terminal gains Paste on right click (terminal.rightClickPaste, off by default). When on, a plain right-click in a terminal pane pastes the clipboard through the same path as Paste and middle-click paste, so bracketed paste and multiline handling are unchanged; Ctrl or Shift + right-click still opens the context menu, and focus stays in the pane.

Fixes #6634
2026-11-29 16:55:39 +08:00
l0ng-ai 4812d28614 fix(dotnet): show only top-level solutions above the Project view folder (#6820)
Since #6224 the Project view listed every discovered .NET solution and standalone project above the project folder, so a polyglot repository with many solutions in subfolders got dozens of root nodes ahead of its own folder. Only solution and project files directly in a content root (the project root, or each workspace member folder) now get a node there; nested ones stay in their folders, where they already showed.

Fixes #6803
2026-11-29 16:47:13 +08:00
Muuтаmuutot 7c9f343ca4 feat(vcs): open changed files at their repository revision (#6816)
Adds Open Repository Version to the Git Log changed-files menu: each selected file opens read-only at its revision after the change through the existing revision editor. Deleted files and directory symlinks are skipped in both enablement and execution, read-only working-tree files still qualify, and grouped directory selections contribute their files. Includes zh and zh-TW translations.

Co-authored-by: muutot <[email protected]>
2026-11-29 16:40:43 +08:00
Muuтаmuutot d815a8ef44 feat(editor): add Cut Line Backward action (#6815)
Adds Cut Line Backward, mapped from EditorCutLineBackward: it cuts from the start of the previous line to the primary caret (from the document start on the first line) and collects repeated cuts into one clipboard entry like the other kill-ring cuts, a backward cut going before the collected text. Includes zh and zh-TW translations.

Co-authored-by: muutot <[email protected]>
2026-11-29 16:36:01 +08:00
l0ng-ai d22c42e471 test(vim): count Disable Sticky Lines for Language as a known action (#6817)
EditorStickyLinesDisableForLang (#6814) maps to editor.disableStickyLinesForLanguage, which no keymap preset binds, so the :action id check in rc.test.ts failed on main. The action is now in its known list.
2026-11-29 16:32:41 +08:00
Muuтаmuutot a111b32e11 feat(editor): disable sticky lines for the current language (#6814)
Adds a View action, Disable Sticky Lines for Language, that appends the active document's language to the existing per-language disabled list without touching the global Sticky Lines setting. It is available when sticky lines are on and the active editor has a known language (never for a notebook cell), keeps other entries, skips redundant writes, and is mapped from the EditorStickyLinesDisableForLang action id. Includes zh and zh-TW translations.

Co-authored-by: muutot <[email protected]>
2026-11-29 16:22:20 +08:00
Muuтаmuutot f7141f6515 feat(search): inspect previewable results on single click (#6813)
With the preview shown, a single click on a previewable Search Everywhere result opened it and closed the popup, so results could not be browsed in the preview by mouse. A single click now only selects and previews such a row; a double click, Enter or Shift+Enter opens it. Action rows, rows without a preview and clicks with the preview hidden still open on a single click.

Co-authored-by: muutot <[email protected]>
2026-11-29 16:21:58 +08:00
Muuтаmuutot 2d14368d2c feat(structure): jump to filtered symbols with F4 (#6811)
F4 in the File Structure popup navigated only when the tree had focus. The filter input now handles F4 like Enter, opening the selected symbol with the same node resolution, so the empty-query preselection, both narrowing modes, explicit tree selection and unmatched filters behave the same for both keys.

Co-authored-by: muutot <[email protected]>
2026-11-29 16:21:40 +08:00
Vladislav Kuzmin 5cbc4134a1 feat(database): join tables across saved data sources in a query workspace (#6265)
Query Workspace, opened from the Database tree, runs a single SELECT joining two to eight tables from saved PostgreSQL, ClickHouse, SQLite and file-backed DuckDB sources. Typing # picks a saved source without connecting; table and key completion fetch that source's metadata, and optional aliases disambiguate duplicate names. The project host reads the projected columns and join keys on independent read-only connections, complete or failing, within per-input and total row/byte limits, and joins them in the installed DuckDB JDBC driver. Run executes the statement at the caret or the selected statements in order and Execute Script runs the editor; each statement keeps its timing, result tab and page, and Stop or the first error ends the batch.

Closes #6177

Co-authored-by: principalwater <[email protected]>
2026-11-29 16:14:39 +08:00
Vladislav Kuzmin 5a92145ad9 feat(database): open and create DuckLake catalogs (#6206)
A DuckDB data source can be a DuckLake catalog: an existing catalog file or named DuckDB secret is attached read-only, without migrating its metadata version, optionally with a relocated local data directory. Create New DuckLake is a separate, confirmed action that requires a new directory, so testing or reconnecting never initializes a catalog. The Rust side limits DuckLake sources to read-only jdbc:duckdb with no credentials, properties, tunnels or session overrides, and saving catalog settings goes through a dedicated approval command so an older remote host cannot drop them silently. The JDBC bridge JAR is rebuilt from the updated sources.

Part of #334

Co-authored-by: principalwater <[email protected]>
2026-11-29 16:13:52 +08:00
Bert Verhelstтаbertyhell 4354839584 feat(database): edit a PostgreSQL table's owner, tablespace, storage options and persistence (#6693)
Modify Table on a PostgreSQL table gets a Properties tab for owner, tablespace, storage options (including toast.*) and logged/unlogged persistence, with access method and partition key shown read-only. Each change adds one alter table statement to the preview; the owner change runs last, after a rename. The properties are read with one pg_class query, with a fallback for catalogs before PostgreSQL 12; engines that report none show no tab.

Part of #6306

Co-authored-by: bertyhell <[email protected]>
2026-11-29 15:56:23 +08:00
Bert Verhelstтаbertyhell e1a1becadd feat(python): offer imports of names from installed packages in Alt+Enter (#6676)
basedpyright offers import fixes only for project and standard-library symbols. A library symbol index now reads each public module of the interpreter's site-packages once (its __all__, otherwise public top-level definitions, preferring stubs), rebuilt when a folder changes, and Alt+Enter on an unresolved name lists Import rows from it when the server has no import fix for that name.

Closes #6521

Co-authored-by: bertyhell <[email protected]>
2026-11-29 15:55:16 +08:00
Bert Verhelstтаbertyhell ad685ea19e feat(debugger): Disassembly view and instruction stepping for native debugging (#6694)
Native debug sessions whose adapter supports disassemble get a Disassembly tab showing the selected frame's instructions with the program counter highlighted, following stepping and frame selection, including frames without source. Show Disassembly is on the Frames list; Step Over Instruction and Step Into Instruction send steps with instruction granularity and are disabled with a reason when the adapter lacks it. Frames keep instructionPointerReference; when the PC is not where the requested window expects it, the view reads again from the PC.

lldb-dap sends instruction bytes already spaced and pads mnemonics unevenly; the view strips the spacing before grouping the bytes and pads mnemonics to one width.

Part of #5922

Co-authored-by: bertyhell <[email protected]>
2026-11-29 15:54:29 +08:00
Bert Verhelstтаbertyhell 5fb8f21c60 feat(debugger): native Memory View for C/C++ debugging (#6674)
Native debug sessions whose adapter supports readMemory get a read-only Memory View tab: an address or expression field, address/hex/ASCII rows aligned to 16 bytes with the target byte marked, paging and a re-read after each stop. View Memory is offered on variables and watches that carry a memoryReference. The client now declares supportsMemoryReferences in initialize and keeps memoryReference on variables and evaluation results; adapter errors are shown without ending the session.

Closes #5921

Co-authored-by: bertyhell <[email protected]>
2026-11-29 15:52:32 +08:00
Bert Verhelstтаbertyhell 68abe345cc feat(run): read-only caret with keyboard navigation in the Run console (#6670)
The Run console's output gets a read-only caret: Home/End go to the line ends, PageUp/PageDown move a page, Ctrl/Cmd+Home/End go to the start or end of the output, the arrows move the caret and Shift extends the selection. The caret is the browser selection's focus, so mouse and keyboard share it; moves are computed over the virtualized rows, keyboard selections keep only their end rows mounted and copy from the console model. Leaving the end of the output stops following and Ctrl/Cmd+End resumes it; typing returns the caret to the input. Covers Run, Services, stack-trace and thread-dump consoles.

Closes #6295

Co-authored-by: bertyhell <[email protected]>
2026-11-29 15:52:02 +08:00
audichuang 32381cc740 test(agents): wait for the fake agent's connections to close after shutdown (#6809)
Tests that shut the manager down while the fake agent waits on a permission request could hang: returning before the fake's side read the end of the connection dropped the runtime, which then waited forever on the blocked thread. A shut_down helper now waits for each fake connection to close.

Co-authored-by: audichuang <[email protected]>
2026-11-29 15:51:42 +08:00
Bert Verhelstтаbertyhell d897236bd7 feat(vcs): add a global Enable Git integration switch (#6704)
Settings > Version Control > Git gets an Enable Git integration master toggle (global, on by default). While it is off the IDE discovers no repositories and runs no git: status, log, blame, fetch, clone, GitHub, the MCP git tools, plugin repository access and agent worktrees refuse to run, and the Git menu, Get from Version Control, the Git, Commit and GitHub Actions tool windows, Git actions and the branch widget are hidden. Turning it back on restores them without reopening the project. Settings pages gain a reusable master toggle that disables the page's sections, and MenuConfig gains a hidden list applied to the native and in-app menus.

Co-authored-by: bertyhell <[email protected]>
2026-11-29 15:45:38 +08:00
l0ng-ai 68e3adde99 chore(bindings): regenerate after project_roots moved off the IPC thread (#6812)
#6799 made project_roots a spawned desktop command and added a doc line without regenerating src/bindings.ts and the command snapshot, which CI's generated-files check compares.
2026-11-29 15:36:33 +08:00
LU XIANGRUIтаwildcatDownstairs b5aa21e791 perf: cut per-file round trips on network drives (#6799)
On network shares every stat is a round trip, and several paths did one per file or per ancestor. Directory listings take kind, size and mtime from the listing itself; Project view expansion lists through the project watcher and reuses its ignore rules and repository root; root detection probes Unity and virtual-env markers only when their names appear; the Gradle build walk is reused for 30 seconds on hot paths; project_roots runs off the IPC thread; index warm start checks files against one listing per folder, in parallel, and stops when the project closes; git status on network paths compares only mtime and size.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-29 15:19:27 +08:00
audichuang 652798bc53 feat(http): follow the macOS PAC script in Auto proxy mode (#6783)
reqwest's system proxy ignores macOS Automatic Proxy Configuration. In Auto mode, when a PAC URL is enabled and no *_PROXY variable is set, the script is fetched in the background (refreshed every 5 minutes, retried after failures) and evaluated per request with CFNetwork, caching routes per host. Until the script loads, or when it gives no proxy, requests use the manual system proxy as before. The cached shared client is rebuilt when the PAC URL changes.

Closes #6761

Co-authored-by: audichuang <[email protected]>
2026-11-29 15:17:21 +08:00