Графік комітів
5106 Коміти
Автор SHA1 Повідомлення Дата
Vadim LazukтаInf1mum 40ea4267bd feat(dotnet): show a project's folders and files under its solution tree node (#7882)
A .NET project node in the Project view's solution tree was a leaf for its .csproj holding only Dependencies. It now lists the project's folder (bin and obj left out) below Dependencies, keeps the project's .NET context actions, and Select Opened File reveals files of a project in the solution tree. The project file opens from the node's Edit '<name>.csproj' menu item.

Closes #7859

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 04:56:41 +08:00
l0ng-ai 377e900e84 fix(java): go to the methods of a call whose arguments fit none (#7885)
jdtls resolves nothing for a Java call whose arguments fit no method (an argument being typed, a stray comma), so Go to Declaration reported no declaration. An unqualified call now goes to the current file's method of that name, or offers its overloads; a qualified call still needs its receiver's type and is left alone. The Cmd-hover link probe follows the same rule.

Fixes #7803
2026-12-04 04:48:40 +08:00
l0ng-ai 74b2b5113b fix(search): show the directory of same-named files in Find in Files rows (#7880)
Rows of the Find in Files popup showed only the file name in a single-project window, so matches in several index.vue files could not be told apart. Files that share a name in the results now get the distinguishing parent directory after the name, with the same rule as editor tabs and the Usages popup.

Fixes #7860
2026-12-04 04:31:57 +08:00
arookieofcтаarookieofc 68a322edad feat(web): add built-in HTTP /api/file/<path>:<line> server (#7360)
The built-in server now listens on a configurable loopback port (Settings > Build, Execution, Deployment > Debugger > Built-in Server, default 63342, falling back to the next free ports) and opens /api/file/<path>[:line[:column]] in the project window that holds the file. Paths resolve root-relative, under common source roots, or through the project's file-name index with a suffix match, and never leave a project root.

Requests from a web page (Origin, Referer or Sec-Fetch-Site) ask for confirmation in the project window first; an allowed origin is remembered for the session. Requests with a non-loopback Host are refused.

Browser previews keep a random port per root, so a fixed port never hands one project's browser storage to another.

Co-authored-by: arookieofc <[email protected]>
2026-12-04 04:26:18 +08:00
Deng Liuтаdengliu ba04c34710 feat(automations): configure effort level and context window (#7868)
The Create/Edit Automation dialog shows the selected model's settings (effort level, context size, and parameters such as Fast mode) next to the model picker, as the task composer does. Changing them on an automation that reuses a rolling session applies the new model first, then its per-model choices, to the live session, and then re-checks the unattended approval ceiling.

Co-authored-by: dengliu <[email protected]>
2026-12-04 04:14:34 +08:00
Vadim LazukтаInf1mum cddf57d4c7 fix(deployment): offer the deployment actions in Customize Main Toolbar (#7878)
Customize Main Toolbar lists only actions with an icon, and seven visible deployment actions (Upload to…, Download from…, Download from Default Server, the two Compare with Deployed Version actions and the two Sync with Deployed actions) had none. They now use the existing export, download, diff and refresh icons, so they can be added to the toolbar.

Closes #7863

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 04:06:32 +08:00
l0ng-ai 8c82d9924c fix(http-client): join pasted curl cookies with "; " (#7879)
Several -b cookies of a pasted curl command are joined into one Cookie header with "; ", the RFC 6265 separator. The curl comparison test now ignores the whitespace after ";" in Cookie headers, since curl releases differ there (macOS curl 8.7 sends "a=1;b=2", ubuntu-latest sends "a=1; b=2").
2026-12-04 04:04:35 +08:00
Deng Liuтаdengliu a050a8054f fix(macos): honor keepAliveInBackground without requiring autoStartService (#7872)
Closing the last window on macOS kept the app alive for local automations only when autoStartService was also on. That setting is off by default while keepAliveInBackground is on, so with default settings the app quit and scheduled automations stopped. The app now stays alive while keepAliveInBackground is on and there are enabled schedules or in-flight runs.

A project retained headlessly on window close now keeps its internal automation watchers subscribed and drops only the window's UI sinks, so runs still record completion after the window closes.

Co-authored-by: dengliu <[email protected]>
2026-12-04 04:02:34 +08:00
Vadim LazukтаInf1mum a12999c3d5 fix(vcs): flip already-open diffs when clicking Swap Sides in Compare (#7875)
Swap Sides in the Compare tool window only changed the orientation of diffs opened afterwards, so a diff already open from that comparison kept its sides and Show Diff opened a second, opposite tab. Swap Sides now reopens the comparison's open diff tabs (single and all-in-one) with the sides flipped and closes the old ones, keeping the active tab last.

Closes #7869

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 03:54:43 +08:00
koeriaтаkoeria 309a805794 fix(vcs): open Show Diff on multi-file selections as one diff chain (#7870)
Show Diff on the Changes changelist node, or on several changed files, opened the Changes between HEAD and Local Working Tree comparison window, because only single-file selections reached the file diff. A selection made only of changed files now opens one diff tab whose files form the F7 chain, as the modal commit interface already did; directories and changed submodule entries keep the comparison window.

Closes #7865

Co-authored-by: koeria <[email protected]>
2026-12-04 03:52:28 +08:00
audichuang ac9198dd52 fix(plugins): translate the command title in a failed plugin command's notification (#7874)
A failed plugin command's notification used the command's declared English title even when the plugin ships a translation that the menus and command palette already show. commandTitle now passes the title through that plugin's catalog.

Co-authored-by: audichuang <[email protected]>
2026-12-04 03:48:37 +08:00
Yohann CATHERINEтаyohannlog 7eed207163 fix(terminal): pick up environment changes made after the IDE started on Windows (#7837)
Children of the IDE copied the IDE's own environment, frozen at launch, so a tool installed while the IDE was open (Node.js, a JDK…) was not found in a new terminal until a restart. New terminals, runs and tools now read the user and machine environment from the registry again, so they see variables changed since the IDE started.

Closes #7762

Co-authored-by: yohannlog <[email protected]>
2026-12-04 03:46:47 +08:00
Yohann CATHERINEтаyohannlog 952c67f752 perf(terminal): show the PowerShell prompt sooner (#7838)
The PowerShell shell integration read Clear-Host with Get-Command and wrapped it in a closure before the first prompt, which cost about 90 ms. It now reads the function drive and defines a plain function.

Co-authored-by: yohannlog <[email protected]>
2026-12-04 03:46:23 +08:00
Yohann CATHERINEтаyohannlog e4d0a36b5a fix(terminal): recognise Windows shells whatever the case of their file name (#7841)
Windows file names ignore case, so shell detection now compares the shell's file name case-insensitively: a shell set as Bash.exe or BASH.EXE starts as bash with -l, MSYSTEM and CHERE_INVOKING, like bash.exe.

Co-authored-by: yohannlog <[email protected]>
2026-12-04 03:46:09 +08:00
l0ng-ai d1f311d2a3 fix(svn): line up the Merge dialog's fields (#7877)
Source branch/Source URL and Whitespace handling/Depth each share one grid, so their fields start at the same x.
2026-12-04 03:45:13 +08:00
RuyimgByCN 52e81f8158 feat(svn): add Incoming and Working Copies tabs, Configure Branches and Compare with Branch (#7355)
Adds an Incoming tab listing the changes an update would bring (with local edits and locks), a Working Copies Information panel that also lists switched descendants and offers Show Log, Update Project, Cleanup, Relocate, Switch to URL, Compare with Branch and Configure Branches for each working copy, per-root branch layouts shared by browsing, switching and merging, Switch to URL with revision, depth and ignore-ancestry options, and Compare with Branch for the selected working item against its counterpart on another branch.

The Working Copies panel replaces the earlier read-only view of the same tab. URL and revision validation is shared with the repository browser.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 03:42:45 +08:00
RuyimgByCN 7cca129a8e feat(svn): add a repository browser, Export dialog and checkout depth/revision options (#7353)
Adds a Subversion repository browser (list, history, preview, checkout, export, and remote copy/mkdir/delete) that keeps the selected revision through every view and disables remote changes in historical ones, an Export dialog with depth, externals and an explicit overwrite choice, and revision/depth/externals options for Subversion checkout.

Child URLs are built from encoded path segments, listings are keyed by URL and revision so a stale response cannot replace a newer one, historical paths are pegged at their revision, and a file preview checks its size before downloading. The Export dialog's fields share one grid so they line up.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 03:20:21 +08:00
RuyimgByCN 006ab617e8 feat(svn): add svn:ignore UI, properties diff and presets, cleanup/unlock/update options and Copy URL (#7347)
Adds Subversion working-copy operations: an svn:ignore dialog that adds names or patterns to the parent directory's property (escaping literal names, grouped by parent), a properties view with diffs and common presets, Cleanup with scoped options that skip nested VCS directories, Unlock, Update with revision/depth/externals options, and Copy URL.

Backed by new ide-svn operations and ide-host commands with tests; the Update dialog's revision and depth fields share one grid so they line up.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 03:02:06 +08:00
l0ng-ai fbc4c51c8f test: list maven_local_repository in the command snapshot (#7871)
#7719 added the command without updating src-tauri/tests/commands.snap.
2026-12-04 02:57:34 +08:00
JunChang Peng 6f68b8659d feat(plugins): make Ctrl+\ bindable in plugin keymaps; filter box for pick lists (#7488)
- Plugin keymaps accept the Backslash and Backquote key names (API 1.21), and a declared key is translated to the character the keystroke types, so Ctrl+Backslash (and Ctrl+Slash) from a plugin now match the key pressed.
- Pick dialogs with 15 or more candidates, and every plugin quickPick, get a filter field: with it the field holds focus and its arrows drive the list; without it the list keeps focus as before.

Co-authored-by: junchangpeng <[email protected]>
2026-12-04 02:27:14 +08:00
RuyimgByCN f49782daaf feat(plugins): add build.sdks and build.artifacts APIs (1.21) (#7775)
Plugin API 1.21 adds two read-only calls behind the build.read capability and the trusted-project gate:

- build.sdks(project, kind?): the installed JDKs, interpreters and toolchains of a kind (or all), with the one the project uses marked active.
- build.artifacts(project): the deployable WAR modules of the build model (origin build-model, with the ids the server run configurations use, e.g. maven:app/pom.xml) followed by the Project Structure > Artifacts entries (origin project-structure).

The Rust SDK, its mock and the docs cover both, and the official plugins and test fixtures are rebuilt. Used by https://github.com/RuyimgByCN/openidea-smart-tomcat.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 02:21:47 +08:00
RuyimgByCN 69374c8868 feat(plugins): support icons and optional text for statusBar items (#7737)
A [[contributes.statusBar]] item can declare an icon (a built-in icon name or a package SVG, with iconDark for dark themes) and leave text out, gated on plugin API 1.21. An icon-only item takes its tooltip, else the plugin's name, as its accessible label. The manifest docs list the new fields.

Co-authored-by: RuyimgByCN <[email protected]>
2026-12-04 02:14:18 +08:00
Muuтаmuutot 7c9fa1dc3b feat(settings): show the effective Maven local repository from the Maven home and settings file (#7719)
Closes #7654

The Local repository field of Settings > Build Tools > Maven now shows, as its placeholder, the repository a build actually reads: the <localRepository> of the user settings file (the configured one, else ~/.m2/settings.xml), then of the Maven home's global conf/settings.xml, then ~/.m2/repository. It is recomputed when the Maven home or the settings file changes. Neither setting is written, so -s and -Dmaven.repo.local stay as the user left them.

The resolution runs on the backend in a read-only maven_local_repository command that reuses ide-build's settings helpers, so under Remote Development the remote host's paths and Maven home are used. A home that names bin or the mvn executable is reduced to the installation root, with either path separator.

Co-authored-by: muutot <[email protected]>
2026-12-04 02:11:36 +08:00
l0ng-ai c412491972 fix(keymap): list Configure Current File Analysis in the VS Code keymap (#7866)
The VS Code preset lists every action an IntelliJ action id maps to; editor.highlightingLevel (PopupHector) was missing, which failed keymap.test.ts on main. It is added unbound.
2026-12-04 02:04:07 +08:00
LU XIANGRUIтаwildcatDownstairs 6fbbab6c6f fix(vcs): show the file's diff to the right of file history (#7744)
Fixes #6406

Git > Show History for a file now keeps the revisions and their commit details on the left (details below the revisions) and shows the selected revision's diff of that file on the right. Directory history keeps the repository log layout.

The diff follows Show Diff Preview and file history's own Diff Preview Location (Right by default; Bottom puts it below; Editor leaves it out and Show Diff opens a tab). The split is remembered per location. The details pane's change loading and preview are shared with the new pane, and the rename-aware matching of the history file's changes moved to historyFileChanges so Show Diff and the pane agree.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 02:00:01 +08:00
ntbang0901 eb2be13a1e fix(http-client): read pasted cURL commands as cURL does (#7861)
A pasted curl command often became a different request: -sX POST URL turned into GET POST, -D headers.txt URL into GET headers.txt, -I into a GET, -d @body.json was sent as that text, and commands copied with $'…' (bash) or ^"…^" (cmd) quoting were not converted.

The command is now split into words like the shell it was written for, every cURL option that takes a value is known and short-flag clusters are read, and data, form, upload, header and credential options map to what cURL sends. A command a request file can't express (standard input, several files joined with &, several commands) is pasted as it is. A test runs 31 commands through the real curl against a loopback server and compares them with the converted requests.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:54:16 +08:00
l0ng-ai 7fd5ad50b8 fix(ui): unify tool window icons as monochrome and fix dark-mode icon contrast (#7842)
Tool windows that borrowed coloured file, status, action or vendor icons (Documentation, Find Usages, GitHub Actions, Logcat, Python Console, NuGet, Python Packages, Jupyter Variables, Ports, the Flutter DevTools windows, Coverage) get dedicated monochrome icons at 16 and 20 px; the coloured originals stay where trees, badges and VCS use them. Database Consoles and Query Workspace get a console icon instead of the table grid, and data source entries use the database cylinder.

Icons in the project view, trees, tabs, menus and several popups take --fg-icon instead of --fg-muted / --fg-subtle, so monochrome icons have the same contrast in dark themes.
2026-12-04 01:52:52 +08:00
Yohann CATHERINEтаyohannlog b21be36bf8 perf(terminal): stop copying and shifting the scrollback on every output batch (#7840)
The reattach scrollback copied every output batch in full to find a clear marker split across the previous batch, and once 256 KiB were kept it shifted the whole buffer on every batch, under the lock output delivery also takes. Only the marker's length on each side of the boundary is checked now, and the oldest output is dropped 128 KiB at a time (a reattached terminal replays up to 384 KiB).

An alternate-screen switch split across two batches is now counted, so a reattached terminal comes back on the right screen.

Co-authored-by: yohannlog <[email protected]>
2026-12-04 01:47:46 +08:00
LU XIANGRUIтаwildcatDownstairs 35e4b4cc92 test: fix two Rust tests that fail CI on unrelated changes (#7833)
- folders_on_a_share_the_workspace_is_not_on_are_not_looked_up (Windows): Workspace::load now skips a refused project instead of failing, so the test asserts the refusal on normalize_projects and that load leaves the folder out.
- restricted_git_does_not_execute_signature_verifier_when_asked_to_verify: the fake verifier reads the payload before exiting, so git no longer dies of SIGPIPE while writing it.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 01:44:31 +08:00
Muuтаmuutot f1876f1260 feat(editor): highlighting level of the current file's editor (#7805)
Add Configure Current File Analysis… (editor.highlightingLevel, IDEA's PopupHector, Cmd+Alt+Shift+H / Ctrl+Alt+Shift+H) with the three levels None, Syntax and All Problems:

- All Problems (default): everything as before.
- Syntax: syntax and semantic colouring stay; diagnostics and their scrollbar marks leave the editor (Problems still lists them).
- None: plain text; the lezer highlighter is reconfigured out and semantic tokens are dropped.

The level lives in the editor state next to the other per-editor display overrides (cm/localAppearance.ts) and is not saved.

Co-authored-by: muutot <[email protected]>
2026-12-04 01:41:21 +08:00
Muuтаmuutot 703c33a089 feat(find): export results to a text file (#7835)
Add Export to Text File… (find.exportToTextFile) to the Find tool window's toolbar and results context menu. The report follows the tree as shown: the tab title, the match/file summary, then each file with its folder and its 1-based match lines; excluded matches are left out and a failed write shows an error notification.

The per-tab exclude/replace marks move to a small store in the find feature so the action can read them.

Co-authored-by: muutot <[email protected]>
2026-12-04 01:35:28 +08:00
Muuтаmuutot 16def0187c feat(editor): Move Caret to Text Start/End actions (#7836)
Add editor.textStart / editor.textEnd and their With Selection variants, mapped to EditorTextStart / EditorTextEnd / EditorTextStartWithSelection / EditorTextEndWithSelection for IdeaVim and imported keymaps.

The plain moves leave a single caret at the document boundary; the With Selection variants extend each selection from its anchor. The actions stay unbound in the default keymaps like the other plain caret moves, so the editor's own Ctrl+Home/End (Cmd+Home/End, Cmd+Up/Down on macOS) keep handling the keys and Navigation Bar, Jump to Source and Move Statement keep their macOS shortcuts.

Co-authored-by: muutot <[email protected]>
2026-12-04 01:31:14 +08:00
ntbang0901 d61ffa5430 feat(notebook): run cells from the keyboard with Ctrl/Cmd+Enter and Shift+Enter (#7845)
Ctrl+Enter (also Cmd+Enter on macOS) runs the notebook cell and keeps the caret in it, and Shift+Enter runs it and selects the next cell, adding a code cell at the end of the notebook. Run Cell, Run Cell and Select Below and Run Cell and Insert Below are actions in Find Action and the keymap settings; they take these keys only while the notebook has focus (notebookFocus), ahead of the editor's Split Line / Start New Line, and the notebook's own key handler is gone. Markdown cells render instead of running; while a cell runs, the keys do nothing on a code cell. Alt+Enter stays Show Intentions, so Insert Below has no default key except in the VS Code keymaps.

Closes #7624

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:27:05 +08:00
János Kranczlerтаjanoskranczler 9fcd7c1468 perf(agents): skip re-rendering conversation rows on unrelated task updates (#7815)
Each conversation row got the full task object, and every task update (usage, queue, settings) made a new one, so all replies rendered again while the agent worked. Rows now get a memoized RowTask with only the fields they show (id, provider, cwd, status, error, isolation, branch, base, fork/rollback capabilities); the RowTask type keeps a row from reading another field until it is added there. One usage_update in a 3580-entry session went from 185 ms (532 reply renders) to 3.3 ms (0).

Co-authored-by: janoskranczler <[email protected]>
2026-12-04 01:25:42 +08:00
l0ng-ai a6aa26ea2a fix(vcs): keep No Merges fast when pull requests branch off older commits (#7862)
With No Merges on, a hidden merge's graph parents are its parents' projections onto shown commits, merged. When pull requests branch off an older main commit, neither parent of a merge reaches the other, so each merge kept every feature merged before it and a 500K-commit repository never finished loading. The merged projection now drops the commits reachable through another of them (the same bounded walk that keeps a commit when unsure), in the graph builder and the filtered log view.

Fixes #7807
2026-12-04 01:17:06 +08:00
ntbang0901 ea4ac8cc6e fix(run): attribute Vitest and Jest results to their file, project and title (#7858)
Rerun Failed often ran no test and exited 0 for Vitest and Jest: a test file with (, ) or a space in its path (a Next.js route group such as app/(auth)/login.test.ts) was not recognised, so its failures landed on the previous file; Vitest project labels (|unit| src/a.test.ts) and Jest display names hid the file; and titles holding ' > ' were split, so -t matched nothing. Files are now read up to their extension, a project is a node under its file and the rerun passes --project, and names come from the printed tree where there is one; where the text can't tell a separator from a title the rerun pattern accepts both readings. Jest's Console block is no longer a failed test, and a Vitest file that cannot be loaded gets its error.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:09:25 +08:00
ntbang0901 f62b89fccc fix(run): rerun the failed cargo tests of the crate they belong to (#7856)
Rerun Failed on a failing should_panic test ran nothing and reported success, because the parser kept libtest's ' - should panic' suffix in the name. In a workspace the tests of every crate shared the node src/lib.rs, so a failure in one crate failed the same-named test of another and a rerun ran both; current cargo-nextest lines (FAIL [0.007s] (1/8) crate test) were read as tests of a crate called (1/8). A test binary's node is now 'src/lib.rs (crate)', renamed to cargo's selector ('src/lib.rs (-p a --lib)') when cargo prints it for a failed target. Rerun Failed and Run Selected use that selector, replace earlier names and targets, and start one run per test binary (one nextest run with a filterset).

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:07:43 +08:00
ntbang0901 3edc7ee1a0 fix(debugger): keep breakpoints when their file is renamed or moved (#7857)
After a file or folder was renamed or moved in the IDE, its breakpoints stayed stored under the old path and disappeared from the editor; nothing in the debugger listened to the IDE's file moves. Line breakpoints now follow with their id, properties and status, as do the source lines of method breakpoints and field watchpoints and an open properties popover; Undo moves them back. Where the new path already had a breakpoint on the same line, the moved file's stays. movedPath moves to platform/fileOps so the debugger can use it without importing the editor.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:06:00 +08:00
ntbang0901 42b6363646 fix(http-client): encode the credentials of Authorization: Basic user password (#7855)
Authorization: Basic user password in a .http file went out as written, so the server answered 401 to a correct password; a converted curl -u user:password writes that same line. The credentials are now Base64-encoded when the request is prepared. The line is split before variables are filled in, so a variable's value may contain spaces; credentials that are already encoded, also from a variable, are sent unchanged.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:02:52 +08:00
ntbang0901 7ff13704ff fix(maven): keep a model with JDK-activated modules current after a reload (#7854)
When a profile activated by <activation><jdk> added a module, the Maven model stayed out of date after every reload and its resolved dependencies were dropped: the sync read the POMs without a JDK while the host loads the model with the JDK Maven runs on, so their build-file hashes never matched. The sync now gets the same JDK and records which <jdk> conditions matched; switching to a JDK that flips one makes the model out of date, any other JDK change does not. The Dependency Analyzer model read by plugins loads the same way. Caches from before keep their state.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 01:02:04 +08:00
ntbang0901 a53e25f398 fix(http-client): send the files of a request body byte for byte (#7849)
A file included in a .http request body (< ./a.png, whole body or multipart part) was read as UTF-8 with replacement characters and lost its trailing line breaks, so images, archives and Latin-1 files arrived corrupted. The prepared body is now a list of text and file bytes and a file is sent exactly as it is on disk; included text files keep their trailing line break. A binary file shows as its < path line in the history and the Request tab, and Convert to cURL reads it by path (--data-binary @path, or a printf/cat pipe into --data-binary @- for a mixed body). History entries written by the previous version still load.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:58:04 +08:00
ntbang0901 ade8bdd36a fix(run): attach pytest failures to the test that failed (#7848)
With tests of the same name in several files, the test tree showed a failed test's traceback on another test and Rerun Failed could run nothing. The pytest parser matched a failure section to the first test whose name ended like the section title, cut short-summary ids at the first ' - ' (so test_eval[5 - 1-5] became a phantom test_eval[5), read a collection error as a test, and missed headings too long to be underlined. Sections are now held until the run ends and given to the tests reported with that outcome and title in report order, and ids are read with their [...] case in mind.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:55:37 +08:00
ntbang0901 0e221ba78a fix(database): ask before dropping a table's unsubmitted edits (#7850)
In a table tab, paging, reloading, sorting, filtering or changing the page size after editing a cell dropped the edit without a word, and paging or rerunning a result tab did the same. Both now ask "Changes are not submitted. Data will be lost. Continue?" first; Cancel keeps the edits and the page, sort, filter and page size as they were. Rows can't be edited or added while a page loads, since the load drops them.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:54:30 +08:00
ntbang0901 5f31f1292a fix(database): write copied and exported SQL for the table it was read from, with each dialect's literals (#7847)
SQL copied or exported from a grid could change the value or hit another table: MySQL backslashes were not escaped, "" and 0x10 in numeric columns were written unquoted, binary cells were quoted as their 0x... text, an UPDATE of a table whose columns are all keys had an empty SET, and statements named the table without its schema. Exports, One-Row copies and the console's log of submitted edits now share one literal writer per dialect (decimal numbers only, X'..' / 0x.. for binary columns), and statements name the table as the table tab or the query does, with the schema the query ran in when it has the table.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:40:37 +08:00
ntbang0901 5de7b0964e fix(database): keep a script's statements whole around each dialect's literals and comments (#7846)
The console's statement splitter cut some literals and comments, so part of one could run as a statement of its own (PostgreSQL /* outer /* inner */ ; DELETE FROM b; */ ran the DELETE). It now knows PostgreSQL and SQL Server nested comments, PostgreSQL E'...' strings and $ inside names, MySQL backslash escapes in double-quoted strings and its rule that -- needs a blank after it, SQL Server [a]]b] and SQLite [a;b] and backtick names. The TypeScript lexer behind the unsafe-statement warning reads the same literals alike.

Co-authored-by: ntbang0901 <[email protected]>
2026-12-04 00:37:25 +08:00
Vadim LazukтаInf1mum 61418e9cb5 fix(vcs): honor the "Open project in" setting when opening worktrees (#7852)
Opening a worktree always spawned a new window because every entry point passed newWindow = true, which skips the Open project in policy. Double-click / Enter in the Worktrees panel, Create and Open in New Worktree, Open Existing Worktree in the branch menu and the Open Worktree action of an update failure now go through the policy; the explicit Open in New Window button and menu item still open a new window, and remote SSH/WSL worktrees still open a remote window.

Closes #7843

Co-authored-by: Inf1mum <[email protected]>
2026-12-04 00:35:43 +08:00
LU XIANGRUIтаwildcatDownstairs fd22254194 fix(automations): keep a run open until its scheduled turn starts (#7834)
A scheduled turn in an existing conversation could be recorded as Completed before it started: the run watcher reads the task status right after the prompt is accepted, and the previous turn's Ready stayed until the spawned turn showed its prompt. The status now turns Starting as soon as a scheduled prompt is accepted. This also fixes the intermittent SameTask failure of the automations safety-ceilings test.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 00:33:53 +08:00
LU XIANGRUIтаwildcatDownstairs e666bb2e33 fix(workbench): main toolbar, tool window stripe and status bar metrics (#7829)
Main toolbar items get a 10px pitch and the dropdowns 10/6px insets with a 16px chevron; stripe buttons get 5px padding on both sides; the status bar is 34px with 4px widget hover insets, its breadcrumbs lifted 5px, and the islands keep a 3px inset above it. Language Services moves after the caret position in the status bar. Compact mode keeps its previous metrics.

Fixed-viewport e2e layouts (commit checks, project tree second click, main toolbar label compression next to the New Agent Task button) get room for the wider gaps and the taller status bar.

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-04 00:29:29 +08:00
l0ng-ai 4f2d85007b fix(agents): add scheduling to the new task composer (#7652)
The New Agent Task composer gets the clock button next to Start. It opens New Automation prefilled with the draft instructions, agent, model settings and workspace; opening or cancelling the dialog keeps the draft, and unattended permissions stay configured in the dialog.
2026-12-03 23:55:56 +08:00
l0ng-ai 6e5f91f7fd feat(agents): add a New Agent Task button to the main toolbar (#7718)
The main toolbar shows New Agent Task by default, between the Run widget and Search. It carries the selected agent's icon and runs agents.newTask; its menu lists the installed agents to start a task with another one, and ends with More Agents. Customize Main Toolbar can remove it. Below 480px the button is hidden so the toolbar keeps fitting the window.

Closes #4000
2026-12-03 23:28:13 +08:00