- Imported pathlib module for handling file paths.
- Replaced the string replace method with pathlib's parent attribute to get the parent path of pythoncmd.
- Used os.path.join to construct the new pip_command_env path.
- Added import for 're' module for regular expressions.
- Changed return value from False to '' in get_pythoncmd_in_env function.
- Added a new function 'extract_actual_location' to extract the actual location from the text.
- Updated 'virtualenv_create_venv' function to handle errors more effectively and provide more detailed output.
- Added a check in the registerAction method to prevent duplicate actions from being registered.
- Removed the line that clears the actions array in the loadCustomActions method.
- Added a new function `get_app_data_dir` in `install.py` to get the application data directory based on the operating system.
- This function checks if the directory exists, if not, it creates the directory.
- Updated the `venvdir` in the `main` function to use this new function, which will now point to the application data directory.
- Extracted the logic for reloading custom definitions into a separate method, `reloadCustomDefines`.
- This method is now called in `resolveWebviewView` and `reloadWebview` to ensure custom definitions are always up-to-date.
- Added a new configuration option "DevChat.EnableFunctionCalling" in package.json.
- This option allows users to enable or disable function calling for GPT.
- Updated devchat.ts to check this configuration before pushing function options.
- Removed the import statement for OpenVSCodeTerminalAction in actionManager.ts.
- Also removed the registration of OpenVSCodeTerminalAction in the ActionManager.
- Renamed and updated the get_project_tree action to use a Python handler.
- Added a new action load_file to load file content with a Python handler.
- Renamed and updated the new_document action to new_file with a Python handler.
- Added a new action search_text to search text in all files within the project.
- Removed the old load_file action from the extension_demo workflow.
- Created a new file runVSCodeCommand.ts to define the RunVSCodeCommandAction class.
- This class implements the Action interface and provides a handlerAction method to execute VSCode commands.
- Updated actionManager.ts to register the RunVSCodeCommandAction.
- Modified the virtual environment creation command to specify Python version as 3.11.4.
- This change affects the print statement and the subprocess.run command in the virtualenv_create_venv function.
- Updated the vscode version from "^1.74.0" to "^1.75.0" in the engines section.
- Also updated the @types/vscode version from "^1.74.0" to "^1.75.0" in the dependencies section.
- Downgraded the required vscode version from ^1.77.0 to ^1.74.0 in package.json.
- Also updated the @types/vscode version to match the vscode version.
- Added marginRight of 10px to the container holding the ActionIcon in MessageHeader.
- Also applied marginRight of 10px to the ActionIcon itself for consistent spacing.
- Moved store.ts and hooks.ts from views to reducers folder.
- Updated import paths for store in index.tsx and hooks.ts.
- Adjusted import paths for store in chatSlice.ts and inputSlice.ts.
- Improved code formatting in chatSlice.ts.
- Moved Icons.tsx from views to components/ChatIcons folder.
- Updated import path for Icons in InputMessage/index.tsx.
- Moved avatar_devchat.svg, avatar_spaceman.png, and avatar_user.svg from views to components/MessageHeader folder.
- Updated import paths for avatar images in MessageHeader/index.tsx.
- Moved chatSlice and inputSlice from views to reducers folder.
- Updated import paths for chatSlice and inputSlice in various files.
- Adjusted import paths for chatSlice and inputSlice in store.ts.
- Moved InputMessage and InputContexts from views to components folder.
- Updated import paths for InputMessage in ChatPanel.tsx.
- Adjusted import paths for inputSlice and chatSlice in InputMessage and InputContexts.
- Improved code formatting in InputMessage.tsx.