1784 Commits

Author SHA1 Message Date
bobo.yang
f9131447c5 feat: Add autoedit flag for automatic code editing
- Introduce autoedit parameter in diffApply function
- Implement conditional logic for code application method
- Use applyEditCodeWithDiff when autoedit is true
2024-07-04 21:45:00 +08:00
boob.yang
f9f76740c3
Merge pull request #575 from devchat-ai/update_tools_240702
Refactor subproject commit in tools
2024-07-02 11:56:30 +08:00
bobo.yang
d84cb9ca78 Refactor subproject commit in tools 2024-07-02 11:55:50 +08:00
boob.yang
7f06e77e84
Merge pull request #574 from devchat-ai/update_submodule_240702
Refactor subproject commit in tools and workflowsCommands
2024-07-02 10:49:13 +08:00
bobo.yang
1c69ff0953 Refactor subproject commit in tools and workflowsCommands 2024-07-02 10:46:30 +08:00
boob.yang
0b2fed27f9
Merge pull request #573 from devchat-ai/refactor_quick_fix
feat: Add new IDE service endpoints and refactor quick fix command
2024-06-26 10:42:22 +08:00
bobo.yang
2831337515 refactor: Simplify quick fix command implementation
- Refactor quick fix command to use document, range, and diagnostic
- Remove code collapsing and surrounding code extraction
- Update command arguments to pass document, range, and diagnostic
2024-06-26 10:13:57 +08:00
bobo.yang
2b5412b0bc feat: Add new IDE service endpoints
- Implement getDiagnosticsInRange for code diagnostics
- Create getCollapsedCode for code collapsing functionality
- Add getExtensionToolsPath to retrieve tools directory
- Update services.ts with new endpoint handlers
2024-06-26 10:13:21 +08:00
boob.yang
a308d09dc8
Merge pull request #572 from devchat-ai/update_gui_logEvent
Refactor subproject commit in GUI
2024-06-25 15:53:06 +08:00
bobo.yang
4c81673321 Refactor subproject commit in gui 2024-06-25 15:35:59 +08:00
boob.yang
2f90648a16
Merge pull request #571 from devchat-ai/add_sonar_respec_submodule
refactor: Update git submodule initialization command
2024-06-25 14:17:24 +08:00
bobo.yang
b9e6311db1 chore: Exclude "tools" directory from TypeScript compilation
This commit updates the `tsconfig.json` file to exclude the "tools" directory from TypeScript compilation. Previously, only the "test" and "gui" directories were excluded, but now the "tools" directory is also excluded. This change ensures that the TypeScript compiler does not process any files in the "tools" directory during the build process.

```
2024-06-25 14:14:35 +08:00
bobo.yang
b106ad555e refactor: Update git submodule initialization command
- Modify the git submodule update command in the CircleCI configuration file to include the --recursive flag
- This ensures that all submodules are recursively updated during the build process
2024-06-25 14:06:48 +08:00
boob.yang
01a1c5c491
Merge pull request #570 from devchat-ai/bug/code-completion-exceeds-limit-#403
Fix: Limit code completion context to prevent exceeding limit
2024-06-20 16:31:14 +08:00
bobo.yang
b96e476c80 fix: Limit code completion context to prevent exceeding limit
- Adjusted collapseCodeBlock function to respect complete_context_limit
- Implemented prefix and suffix length limiting to prevent exceeding limit
- Ensured code completion does not exceed context limit even with folded functions

Closes #403
2024-06-20 16:30:14 +08:00
boob.yang
2390e45544
Merge pull request #569 from devchat-ai/update_submodule_240620
Refactor subproject commit in gui
2024-06-20 16:05:32 +08:00
bobo.yang
4cd8f04ec6 Refactor subproject commit in gui 2024-06-20 08:30:44 +08:00
boob.yang
5a3547100d
Merge pull request #568 from devchat-ai/remove_chat_messages_cache
Refactor: Remove chat messages cache
2024-06-18 20:39:05 +08:00
bobo.yang
9681738eca refactor: Remove chat messages cache
- Removed messageHistory utility and related functions
- Updated loadTopicHistoryFromCurrentMessageHistory to fetch logs directly
- Removed addMessageToHistory and message deletion from messageHistory
2024-06-18 20:33:55 +08:00
boob.yang
933952b0c7
Merge pull request #567 from devchat-ai/update_gui_240618
Refactor subproject commit in gui
2024-06-18 16:53:25 +08:00
bobo.yang
8fd6505570 Refactor subproject commit in gui 2024-06-18 16:51:36 +08:00
boob.yang
a9695fe9b2
Merge pull request #566 from devchat-ai/optimize_fix_it
Refactor and Fix: Async Updates and Error Handling
2024-06-18 15:22:41 +08:00
bobo.yang
8433c54220 Refactor subproject commit in gui 2024-06-18 15:18:38 +08:00
bobo.yang
76771f1392 fix: Add async to registerQuickFixCommand and generatePrompt
- Modified registerQuickFixCommand to be an async function
- Updated generatePrompt to also be async and handle active editor context
- Improved error handling and context management in prompt generation
2024-06-18 15:18:05 +08:00
boob.yang
549528bd7e
Merge pull request #565 from devchat-ai/clear_vscode_config
Refactor messageHandler.ts, workflowContextHandler.ts, historyMessagesBase.ts, and handlerRegister.ts
2024-06-18 12:56:25 +08:00
bobo.yang
a8e125afab Refactor messageHandler.ts and workflowContextHandler.ts 2024-06-17 21:33:30 +08:00
bobo.yang
c937e67c70 Refactor historyMessagesBase.ts and handlerRegister.ts 2024-06-17 21:33:30 +08:00
boob.yang
498d9178b7
Merge pull request #564 from devchat-ai/update_gui_2406172
Refactor subproject commit in gui
2024-06-17 21:25:03 +08:00
bobo.yang
c661517e20 Refactor subproject commit in gui 2024-06-17 21:22:51 +08:00
boob.yang
ebe8d1b7b8
Merge pull request #563 from devchat-ai/fix_select_model_error
fix: Remove default model configuration
2024-06-17 21:21:45 +08:00
bobo.yang
3589d497f1 fix: Remove default model configuration
- Removed the code that sets the default model in the configuration
- This change is to address the issue where the default model was being incorrectly set
- Simplified the configuration migration process by removing unnecessary steps
2024-06-17 21:14:31 +08:00
boob.yang
4114a606b6
Merge pull request #562 from devchat-ai/update_gui_240617
Refactor subproject commit in gui
2024-06-17 14:00:43 +08:00
bobo.yang
1ed878db6d Refactor subproject commit in gui 2024-06-17 13:58:50 +08:00
Tim
49a26e02a9
Merge pull request #561 from devchat-ai/ide_service_cors
Refactor subproject commit in gui and getCurrentFileInfo endpoint
2024-06-17 12:28:07 +08:00
bobo.yang
4186deb4f0 Refactor subproject commit in gui 2024-06-17 09:22:01 +08:00
bobo.yang
5ec19946d5 Refactor getCurrentFileInfo endpoint and add CORS headers 2024-06-17 09:20:16 +08:00
Tim
13d2e6f2f8
Merge pull request #560 from devchat-ai/handle_get_current_file_path
feat: Add getCurrentFileInfo and getIDEServicePort handlers
2024-06-16 23:23:36 +08:00
bobo.yang
2bdf9d01eb feat: Add getCurrentFileInfo and getIDEServicePort handlers
- Added getCurrentFileInfo handler to retrieve the absolute path of the current file
- Added getIDEServicePort handler to retrieve the IDE service port
- Updated fileHandler.ts and handlerRegister.ts to include the new handlers
- Created getCurrentFileInfo.ts in ide_services/endpoints to implement the getCurrentFileInfo handler
- Updated services.ts in ide_services to include the getCurrentFileInfo handler
2024-06-16 22:06:27 +08:00
boob.yang
2a1da12004
Merge pull request #559 from devchat-ai/update_gui_240614
Refactor subproject commit in gui
2024-06-14 19:14:47 +08:00
bobo.yang
61839d7a2e Refactor subproject commit in gui 2024-06-14 19:14:03 +08:00
boob.yang
dba752f1a8
Merge pull request #558 from devchat-ai/add_model_in_completion_event
feat: Add model to completion event
2024-06-14 14:03:09 +08:00
bobo.yang
3c777f3c19 feat: Add model to completion event
- Added model property to LogEventRequest interface
- Included model in log events sent to server
- Retrieved model from DevChatConfig instance
2024-06-14 14:00:09 +08:00
boob.yang
b031a7d8b2
Merge pull request #557 from devchat-ai/sync_server_config
Refactor configHandler.ts to read and write YAML configuration files
2024-06-14 13:30:23 +08:00
bobo.yang
cce0020696 Refactor configHandler.ts to read and write YAML configuration files 2024-06-14 13:24:07 +08:00
Tim
aca6d76a5c
Merge pull request #553 from devchat-ai/update_code_completion_event2
feat: Update code completion event handling and refactor subproject commit in gui
2024-06-13 19:14:06 +08:00
boob.yang
7c5153d629
Merge pull request #556 from devchat-ai/update_gui_240612_3
Refactor subproject commit in gui
2024-06-12 20:29:41 +08:00
bobo.yang
54ef14e1e3 Refactor subproject commit in gui 2024-06-12 20:26:35 +08:00
boob.yang
d8e785168b
Merge pull request #555 from devchat-ai/update_gui_240612_2
Refactor subproject commit in gui
2024-06-12 15:24:02 +08:00
bobo.yang
c3fc6d564a Refactor subproject commit in gui 2024-06-12 15:23:00 +08:00
boob.yang
56deb67198
Merge pull request #554 from devchat-ai/update_gui_240612
Refactor subproject commit in gui
2024-06-12 15:01:46 +08:00