Commit Graph

13762 Commits

Author SHA1 Message Date
github-actions[bot] 6791ce569a v3.9.0 2025-05-20 08:57:13 +00:00
大表哥 d6d172bca1
refactor(terminal): extract common link related code to terminal-link.ts (#4549)
1. Move regex patterns and constants to terminal-link.ts
2. Create ILinkInfo interface for link information
3. Extract extractLineInfoFromMatch function to common module
4. Update imports and usages in related files
5. Remove duplicate code in link providers
2025-05-20 16:37:42 +08:00
Dan 473f45dbc3
fix: update tool name sanitization regex for Claude 3.5+ Sonnet (#4562)
* fix: update tool name sanitization regex for Claude 3.5+ Sonnet requirements in MCP server

* fix: update tool name sanitization regex for Claude 3.5+ Sonnet requirements

* refactor: use toClaudeToolName function

* chore: remove comments
2025-05-20 15:28:35 +08:00
Dan 5d19aee75c
fix: scm tree node duplicated (#4556)
* fix: scm tree node duplicated

* fix: handle duplicate resource insertion in SCM provider
2025-05-19 16:32:14 +08:00
Dan 517461a95f
fix: trim mcp command and url (#4557)
* fix: trim command and URL fields in MCP server form

* fix: trim URL field in MCP server form for consistency
2025-05-19 11:44:13 +08:00
Dan c421db406b
feat: support more tool name (#4558) 2025-05-16 10:58:26 +08:00
LouisLv 04fef66f8b
fix: model made no change (#4555)
Co-authored-by: Dan <danwu.wdw@alibaba-inc.com>
2025-05-15 18:17:04 +08:00
大表哥 e6cb941c3a
fix: watcher logic (#4552)
* fix: watcher logic

* fix: types

* fix: types

* 📝 CodeRabbit Chat: Update file-service-watcher.ts in hosted recursive file service

---------

Co-authored-by: Dan <danwu.wdw@alibaba-inc.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-15 15:24:32 +08:00
LouisLv f04aa80d19
fix: improve error handling for tool call arguments and results in ChatModel (#4554) 2025-05-15 14:47:51 +08:00
LouisLv b8b5e74909
feat: optimize thinking style (#4553) 2025-05-15 11:41:15 +08:00
Dan 30a6932fd3
style: improve terminal tab style (#4551)
* style: improve terminal tab style

* chore: remove useless code

* style: improve styles
2025-05-15 10:06:37 +08:00
LouisLv af1769481b
feat: support apply none to skip apply (#4550)
* feat: support apply none to skip apply

* fix: format apply error & update when need
2025-05-14 18:12:38 +08:00
Dan 0d8a0cdd55
refactor: upgrade markdown renderer from 4.x to 15.x (#4548)
* feat: add auto-scroll and update styles for ChatEditor

* refactor: add test data in debug tree node

* style: improve scm action button style

* chore: remove useless code

* chore: fix markdown render

* feat: upgrade marked from 4.x to 15.x

* chore: fix auto scroll

* chore: fix markdown parse

* chore: add deps

* chore: scroll into view while output

* chore: update deps

* chore: update highlight element ref
2025-05-14 16:37:31 +08:00
Dan 197a201402
feat: support auto scroll code block on chat (#4547)
* feat: add auto-scroll and update styles for ChatEditor

* refactor: add test data in debug tree node

* style: improve scm action button style

* chore: remove useless code

* chore: fix markdown render
2025-05-14 11:45:21 +08:00
LouisLv 01616f2cee
fix: remove prefix of builtin tools (#4546) 2025-05-14 10:49:06 +08:00
Dan b838b53d66
fix: not process attached key to LLM (#4545)
* feat: not process attached key to LLM

* style: add font size to mention input style
2025-05-13 15:32:49 +08:00
LouisLv d0efae9869
fix: block change lines may be undefined (#4544) 2025-05-13 15:03:46 +08:00
LouisLv 4f0501b697
fix: update diff-manager & apply action btns when need (#4538) 2025-05-13 14:20:29 +08:00
Dan d2fb1ca267
fix: debug variables order (#4536)
Co-authored-by: 大表哥 <binshao54@gmail.com>
2025-05-13 11:38:10 +08:00
大表哥 4cba6c856c
fix: nsfw logic (#4539) 2025-05-13 10:54:13 +08:00
LouisLv fec8d4717a
fix: integrate preference service for default model selection in ChatMentionInput (#4535) 2025-05-13 10:52:37 +08:00
大表哥 03bd40c4fa
feat: add terminal auto execution policy settings and localization (#4529)
* feat: add terminal auto execution policy settings and localization

* feat: enhance terminal auto execution policy with new labels and UI updates

* chore: typo
2025-05-12 15:40:01 +08:00
LouisLv ffa44beaf7
feat: support collapse/expand all files in multiDiffEditor (#4531) 2025-05-12 14:44:02 +08:00
Dan ef1836d2ea
feat: improve debug variables order and fix console log (#4533)
* feat: improve debug variables order and fix console log

* chore: improve log style

* chore: fix typos
2025-05-12 11:55:34 +08:00
Dan e90988a2e2
chore: improve terminal tool prompt (#4530) 2025-05-09 17:19:56 +08:00
大表哥 fb82396be9
fix: remove TypeScript ignore comment and improve keytar import handling (#4528) 2025-05-09 10:39:16 +08:00
Dan 26ad68b680
feat: improve LLM context service enhance logic (#4527)
* fix: llm context service enhance

* chore: remove current file context when has referenced

* chore: improve file context

* feat: add model change restriction and tooltip style update

* fix: update model switch tip for ongoing sessions

* refactor: remove unused Tooltip import and CSS rule

* refactor: update model selector tooltip text

* chore: fix clear file from context

* chore: fix attach file content

* chore: update tips

* fix: progress view id

* chore: update mcp config

* chore: remove useless code

* chore: update model position

* chore: use NODE_BINARY_PATH command

* chore: fix update logic

---------

Co-authored-by: ensorrow <zheyanglv@qq.com>
2025-05-08 16:11:38 +08:00
LouisLv a6934951b5
feat: support multi file diff editor (#4523)
* feat: support multifile diff editor

* feat: implement ResourceLabel

* refactor: reorganize multi-diff related files and imports

* chore: rename to multi-diff

* refactor: use IMultiDiffSourceResolverService to update resources

* chore: use class MultiDiffEditorItem

* feat: support default multi scheme

* feat: implement _workbench.openMultiDiffEditor

* fix: empty uri

* feat: implement multi diff for apply

* fix: missing register

* chore: use side to determine content source

* feat: reuse multi-diff-editor

* feat: support multi-diff viewState

* feat: support multi-diff dirty

* feat: support multi-diff command

* feat: optimize styles of viewChanges

* refactor: update multi-diff source and editor handling

* refactor: update file paths in status bar contribution

* refactor: use doLayoutEditors to avoid skip

* fix: update filter condition for session code blocks

* refactor: update ChangeList and MultiDiffEditor components

* refactor: update URI creation and handling in multi-diff components
2025-05-08 16:08:49 +08:00
Dan bb36783854
feat: improve python debug stack frames view (#4525)
* fix: open python debug stack frame

* chore: fix build

* chore: improve style
2025-05-07 16:18:04 +08:00
Dan dc1a4c3623
feat: support mcp.json for MCP configurations (#4522)
* fix: text paste on chat input

* fix: mcp server bootstrap

* feat: support mcp.json

* feat: support chinese tool name

* chore: add comment for mcp tool name

* feat: support load mcp server from mcp.json

* feat: support mcp configuration editor title

* chore: fix logic

* chore: fix types

* fix: save mcp server

* chore: fix json schema

* fix: mcp server start

* chore: update test

* fix: restart server after edit

* fix: mcp configuration schema

* chore: fix mcp

* chore: fix remove

* chore: fix test

* chore: fix test
2025-04-29 18:00:35 +08:00
Dan e0054bfb55
feat: improve tool result display (#4521)
* feat: improve tool result display

* style: update style
2025-04-28 11:56:03 +08:00
Dan 909296f03c
feat: support code reference and reference bar (#4519)
* style: improve overflow style

* feat: support code reference and showing references

* fix: build

* chore: update lock

* chore: delete context by keybinding
2025-04-27 14:04:40 +08:00
Dan 24334e43cd
feat: support recreate watcher process after reconnected (#4517)
* feat: support recreate watcher process after reconnected

* chore: remove useless test

* Update packages/file-service/src/node/watcher-process-manager.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: add excludes after reconnected

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-25 10:00:11 +08:00
Dan 34699eccaa
feat: improve terminal link provider check logic (#4514)
* feat: improve terminal link provider check logic

* chore: fix test
2025-04-22 15:46:38 +08:00
jianleiHuang bebda407e1
feat: mcp server expose client (#4505)
* feat: mcp server expose client

* feat: support sseTransportOptions

* fix: fix ci task error, add getServerByName mock function

* fix: fix ci task error
2025-04-22 12:16:38 +08:00
LouisLv 834bef421f
fix: disable model selector when session start (#4513)
* fix: disable model selector when session start

* fix: use state to update view

* fix: use disable style

* feat: save sessionModelId

* fix: listen defaultModel change
2025-04-21 16:09:05 +08:00
LouisLv 5f6ca599cf
fix: passthrough icon and color for extension terminal (#4515) 2025-04-18 16:26:50 +08:00
Dan 4a34280b3e
style: improve some button style (#4512) 2025-04-14 11:15:16 +08:00
Dan c4698d37ca
fix: hidden tabbar view delay (#4507) 2025-04-10 14:40:53 +08:00
wangxiaojuan e014402d8f
fix: monaco caused by the failure of window.addEventListener('compositionstart', () => {}) (#4508)
* fix: monaco caused by the failure of window.addEventListener('compositionstart', () => {})

* fix: monaco caused by the failure of window.addEventListener('compositionstart', () => {})

* fix: monaco caused by the failure of window.addEventListener('compositionstart', () => {})

* fix: monaco caused by the failure of window.addEventListener('compositionstart', () => {})
2025-04-09 18:45:38 +08:00
wangxiaojuan ef161de732
feat: support TerminalWordLink can be override (#4509)
* feat: support TerminalWordLink can be override

* feat: support TerminalWordLink can be override
2025-04-09 16:18:13 +08:00
Dan 199ac48a3d
feat: support guess languageId by fie ext name (#4504)
* feat: support guess languageId by fie ext name

* chore: fix unit test
2025-04-08 09:51:32 +08:00
Dan b835d6f1d1
fix: update default height in search panel container style (#4506) 2025-04-08 09:51:08 +08:00
wangxiaojuan 58f75a1976
feat: statusBarService support extends addElement (#4503)
* feat: statusBarService support extends addElement

* feat: statusbar text supports React.ReactNode
2025-04-01 15:38:08 +08:00
Dan 91eaefaa7e
fix: sumi extension restart logic (#4498) 2025-03-26 17:29:13 +08:00
Dan 5851e8d60f
feat: support access function for custom fs provider (#4496)
* feat: support access function for custom fs provider

* fix: ensure context key initialization in file tree component

---------

Co-authored-by: liuqian <xubing.bxb@alibaba-inc.com>
2025-03-25 16:28:54 +08:00
Dan 68d60376ab
chore: add MCP badge (#4497) 2025-03-25 15:52:53 +08:00
Dan 32faed75df
fix: hide debug hover widget when esc pressed (#4487) 2025-03-19 14:13:10 +08:00
Dan 2a13cf55b5
fix: toggle builtin mcp server (#4490) 2025-03-19 14:11:46 +08:00
Dan dc83ad0add
fix: search folders on mention input (#4492) 2025-03-19 14:11:18 +08:00