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
* 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
* feat: add terminal auto execution policy settings and localization
* feat: enhance terminal auto execution policy with new labels and UI updates
* chore: typo
* 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
* 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
* fix: disable model selector when session start
* fix: use state to update view
* fix: use disable style
* feat: save sessionModelId
* fix: listen defaultModel change
* 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', () => {})
* 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>