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".
- Implement start and stop functionality for local service
- Register new command to start local service
- Add error handling for local service shutdown
- Implement unit tests for findAvailablePort function
- Add integration tests for startLocalService and stopLocalService
- Include HTTP request test to verify local service functionality
- Add local service start/stop functionality
- Integrate local service port discovery and setup
- Update DevChatClient to use dynamic port from environment
- Implement applyDiffToCode function for code editing
- Add getCodeEditorPath to locate platform-specific binaries
- Integrate new functionality with existing diff display system
- Add handling for OPTIONS requests in RPC server
- Return 200 status with JSON response for OPTIONS
- Update diffApply function keys to include "autoedit"
- Introduce autoedit parameter in diffApply function
- Implement conditional logic for code application method
- Use applyEditCodeWithDiff when autoedit is true
- 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
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.
```
- 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
- 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
- Removed messageHistory utility and related functions
- Updated loadTopicHistoryFromCurrentMessageHistory to fetch logs directly
- Removed addMessageToHistory and message deletion from messageHistory