Ensures that the modal element is not null before attempting to append it to the document body or remove it from its parent node. This prevents potential errors if the modal element is not properly initialized.
Refactors text validation to ensure that the cleanup process only proceeds with valid text selections.
Removes the insertion position logic as it is no longer needed.
Adapts the Anthropic client to use the new structured content format
for messages and system prompts, ensuring compatibility with the API's
expected input structure. This change modifies both the standard
request and the test request within the Anthropic client.
Updates the license badge in the README to reflect the project's licensing under GPL v3. This ensures accurate and up-to-date information regarding the project's licensing terms.
Improves plugin structure by adopting a modular architecture
with separated services, commands, and settings.
Updates documentation to reflect the new architecture,
settings management, command registration, UI components,
and resource cleanup strategies.
This change enhances maintainability, testability, and
API interaction separation.
Updates the action used for creating releases to the latest major version.
This ensures continued compatibility and access to the newest features and bug fixes provided by the action.