- Imported ChatContext from InputStore in InputContexts.tsx.
- Refactored the map function in InputContexts to destructure the context object.
- Updated the display text in the Accordion.Control component to use destructured values.
- Replaced 'context.content' with 'content' in the Accordion.Panel component.
- In InputMessage/index.tsx, updated the newContext method call to use 'context.content'.
- Added 'command' as an optional string to the ChatContext model in InputStore.ts.
- Refactored fetchHistoryMessages and deleteMessage actions in ChatStore to use MobX flow for handling async operations.
- Updated calls to these actions in MessageHeader and ChatPanel components to handle promises returned by these actions.
- Removed "react-redux", "redux", "remote-redux-devtools", and "@reduxjs/toolkit" from package.json.
- This change is in line with the recent refactor to replace Redux with MobX.
- Replaced Redux hooks with MobX hooks in MessageContainer and MessageHeader components.
- Removed Redux actions and replaced them with equivalent MobX actions.
- Updated event handlers to use MobX actions instead of Redux actions.
- Replaced Redux selectors with equivalent MobX observables.
- Converted MessageContainer and MessageHeader components to observer components.
- Replaced Redux hooks with MobX hooks in CurrentMessage component.
- Removed Redux actions and replaced them with equivalent MobX actions.
- Updated useEffect hooks to use MobX actions instead of Redux actions.
- Replaced Redux selectors with equivalent MobX observables.
- Converted CurrentMessage and MessageBlink components to observer components.
- Replaced Redux hooks with MobX hooks in InputMessage and InputContexts components.
- Removed Redux actions and replaced them with equivalent MobX actions.
- Updated event handlers and useEffect hooks to use MobX actions instead of Redux actions.
- Replaced Redux selectors with equivalent MobX observables.
- Replaced Redux hooks with MobX hooks in RegenerationButton and StopButton components.
- Removed Redux actions and replaced them with equivalent MobX actions.
- Updated onClick handlers to use MobX actions instead of Redux actions.
- Replaced Redux hooks with MobX hooks for state management.
- Removed Redux actions and replaced them with equivalent MobX actions.
- Updated useEffect hook to use MobX actions instead of Redux actions.
- Replaced Redux selectors with equivalent MobX observables.
- Deleted Redux store configuration file (store.ts).
- Removed inputSlice.ts and chatSlice.ts which contained Redux slices for managing chat and input state.
- Deleted index.ts which contained Redux hooks for dispatching actions and selecting state.
- Added MobX, mobx-react, and mobx-state-tree to package.json.
- Refactored state management in index.tsx to use MobX instead of Redux.
- Created new MobX stores: ChatStore, InputStore, and RootStore.
- Implemented async actions in ChatStore and InputStore using mobx-state-tree's flow.
- Updated RootStore to include instances of ChatStore and InputStore.
- 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.