Enhances plugin architecture and fixes issues #1

Merged
AlexKucera merged 7 commits from coderabbit_fixes into master 2025-09-26 14:21:24 +02:00
7 Commits
Author SHA1 Message Date
AlexKucera 13b2567672 Avoids potential null reference error
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.
2025-09-26 08:58:23 +02:00
AlexKucera 69a92e02d2 Validates text selection before processing
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.
2025-09-26 08:56:33 +02:00
AlexKucera 565cddf86c Updates Anthropic API to use structured content
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.
2025-09-26 08:52:24 +02:00
AlexKucera fe51d1efd2 Updates license badge to GPL v3
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.
2025-09-26 08:49:26 +02:00
AlexKucera e90eef0f95 Refactors plugin architecture and documentation
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.
2025-09-26 08:46:25 +02:00
AlexKucera bf683b2983 Updates changelog date for security fix
Corrects the date in the changelog to reflect the accurate release date of the security fix.
2025-09-26 08:44:48 +02:00
AlexKucera 733147f8a8 Updates GitHub release action to v2
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.
2025-09-26 08:44:43 +02:00