1710 Commits

Author SHA1 Message Date
bobo.yang
05be2b25db feat: Add command to start local service
The code changes include adding a new command to start the local service in the package.json file. This command will allow users to start the local service for DevChat.

Recent repository commits indicate that local service management has been implemented, including start and stop functionality, error handling, and integration tests. The commits also mention the integration of local service port discovery and setup, as well as updating the DevChatClient to use a dynamic port from the environment.

Based on the code changes and recent commits, the suggested commit message is "feat: Add command to start local service".
2024-07-16 07:57:26 +08:00
bobo.yang
dad1f10513 chore: Remove unused endpoint "/get_symbol_defines_in_selected_code" and related code 2024-07-16 07:57:13 +08:00
bobo.yang
3fa139ff91 feat: Add local service management
- Implement start and stop functionality for local service
- Register new command to start local service
- Add error handling for local service shutdown
2024-07-16 07:56:36 +08:00
bobo.yang
a44af269ce feat: Add tests for findServicePort and localService
- Implement unit tests for findAvailablePort function
- Add integration tests for startLocalService and stopLocalService
- Include HTTP request test to verify local service functionality
2024-07-16 07:55:36 +08:00
bobo.yang
99f7a1d4da feat: Implement local service management
- Add local service start/stop functionality
- Integrate local service port discovery and setup
- Update DevChatClient to use dynamic port from environment
2024-07-16 07:55:02 +08:00
kagami
f707bef5fc Handle exception with default return value for devchat client methods 2024-07-11 12:09:01 +08:00
kagami
b663fdcc3f Change some logging message from debug to trace 2024-07-11 10:43:51 +08:00
kagami
0910fbf1ec Remove unnecessary fileds in log related response 2024-07-11 10:38:06 +08:00
kagami
718d2824f0 Update the route of workflows 2024-07-11 10:38:06 +08:00
kagami
feb34588ab Use the inner get/post method 2024-07-11 10:38:06 +08:00
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