Modify the workflow update mechanism to include asynchronous updates for custom workflows
in addition to the standard workflows. This ensures that both default and custom workflows
are updated efficiently, improving the overall functionality and user experience within the
DevChat environment.
BREAKING CHANGE: Custom workflow updates now occur asynchronously alongside standard
workflow updates. This may affect downstream systems that rely on synchronous workflow
updates. Systems should now handle the asynchronous nature of custom workflow updates.
- Introduce "Fix using DevChat" as a preferred quick fix action
- Rename existing quick fix command to "Ask DevChat"
- Update package.json and TypeScript files to reflect new commands
- Implement selectRange function in UnofficialEndpoints
- Add select_range endpoint to functionRegistry
- Import vscode module for text editor operations
- Introduce conditional check for DC_LOCALSERVICE_PORT
- Call getWorkflowCommandList if local service port is set
- Enhance handleRegCommandList function with new logic
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"