1700 Commits

Author SHA1 Message Date
kagami
6386cc4231 Enable decorators 2024-07-11 10:38:06 +08:00
kagami
f421bcae56 Add the following TODOs 2024-07-11 10:38:06 +08:00
kagami
7551a55ce6 Handle large log data 2024-07-11 10:38:06 +08:00
kagami
6eb7f1f408 Get workflows info via client 2024-07-11 10:38:06 +08:00
kagami
8becdb00aa Update workflows via client 2024-07-11 10:38:05 +08:00
kagami
b9df28d20d Get and delete topics via client 2024-07-11 10:38:05 +08:00
kagami
bebe32fa18 Get logs of a topic via client 2024-07-11 10:38:05 +08:00
kagami
84ef68c500 Delete log via client 2024-07-11 10:38:05 +08:00
kagami
2be88bd9ad Use devchat client & cli for chatting and workflow respectively 2024-07-11 10:38:05 +08:00
kagami
d1f712ff90 Init DevChatClient and DevChatCLI 2024-07-11 10:38:05 +08:00
boob.yang
1110171074
Merge pull request #578 from devchat-ai/update_submodule_240709
Refactor subproject commit in GUI and tools
2024-07-09 13:19:45 +08:00
bobo.yang
648220deb0 Refactor subproject commit in gui and tools 2024-07-09 13:15:42 +08:00
boob.yang
7ab27f77c8
Merge pull request #576 from devchat-ai/support_edit_apply_action
feat: Add code editing, diff display, and CORS support
2024-07-04 21:53:17 +08:00
bobo.yang
4739b90d56 update tools 2024-07-04 21:48:43 +08:00
bobo.yang
71778df267 feat: Add code editing and diff display functionality
- Implement applyDiffToCode function for code editing
- Add getCodeEditorPath to locate platform-specific binaries
- Integrate new functionality with existing diff display system
2024-07-04 21:48:01 +08:00
bobo.yang
6e72521142 feat: Handle OPTIONS requests for CORS support
- Add handling for OPTIONS requests in RPC server
- Return 200 status with JSON response for OPTIONS
- Update diffApply function keys to include "autoedit"
2024-07-04 21:45:45 +08:00
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