Commit Graph

341 Commits

Author SHA1 Message Date
dependabot[bot]
2bb6f7e6b3 build(deps): bump tailwindcss from 4.1.18 to 4.2.1 (#177)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 21:03:58 +08:00
dependabot[bot]
572e288429 build(deps): bump ai from 6.0.105 to 6.0.116 (#178)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 21:03:44 +08:00
ropzislaw
046d724515 optimize ui 2026-03-08 20:43:19 +08:00
ropzislaw
ccab3f30c0 feat: enhance model fetching and tool call handling in AI components
- Updated the model fetching logic to include persistent storage for improved performance and reliability.
- Introduced background model list updates to ensure the UI reflects the latest data.
- Enhanced the handling of parameterless tool calls in the AI provider, injecting default arguments when necessary.
- Refactored the chat adapter to support session rollbacks, improving user experience during message regeneration.

These changes significantly improve the functionality and responsiveness of the AI components.
2026-03-08 20:39:32 +08:00
ropzislaw
436c9559b9 fix: update destructive-foreground color in tailwind.css for improved accessibility
- Changed the value of --destructive-foreground from oklch(0.577 0.245 27.325) to oklch(0.985 0 0) to enhance visibility and accessibility in the UI.

This update aims to improve user experience by ensuring better contrast for destructive actions.
2026-03-08 16:29:03 +08:00
ropzislaw
b44cbae2ea Feature adjust (#172) 2026-03-08 15:56:20 +08:00
ropzislaw
017481a690 refactor: streamline type exports and improve import organization
- Refactored type exports in skill-api, runtime-addon, and types files for better clarity and consistency.
- Updated import paths to utilize centralized type definitions, enhancing maintainability.
- Improved the BrowserMessageActions component to handle text content more effectively when copying messages.

These changes contribute to a cleaner codebase and improved functionality across the project.
2026-03-08 15:53:47 +08:00
ropzislaw
b0b6020132 refactor: improve code formatting and organization in various components
- Adjusted formatting in SettingsPage for better readability.
- Streamlined import statements in browser-chat-header and browser-message-actions for consistency.
- Enhanced the MCP bridge panel layout for improved clarity.
- Refactored WebSocket bridge exports for better structure.

These changes enhance code maintainability and readability across the project.
2026-03-08 15:42:08 +08:00
ropzislaw
8f7d518191 feat: enhance chat adapter and settings components
- Updated ChatAdapter to handle new assistant messages after tool calls, improving message management.
- Added connection tab support in SettingsPage, allowing for better organization of settings.
- Introduced connectionContent prop in SettingsPageProps for dynamic content rendering.
- Enhanced message-item component to include onLogin handler for improved user interaction.
- Refactored useChat and useChatConfig hooks for better state management and silent reload capabilities.
- Implemented WebSocket MCP bridge in background script for real-time communication.

This update improves user experience and functionality across chat and settings components.
2026-03-08 15:41:27 +08:00
ropzislaw
891200fbbf build(deps): bump framer-motion from 12.29.2 to 12.34.3 (#168) 2026-03-02 20:58:53 +08:00
dependabot[bot]
fbb65caa73 build(deps): bump framer-motion from 12.29.2 to 12.34.3
Bumps [framer-motion](https://github.com/motiondivision/motion) from 12.29.2 to 12.34.3.
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/motiondivision/motion/compare/v12.29.2...v12.34.3)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-version: 12.34.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 10:40:54 +00:00
dependabot[bot]
c7a83b431f build(deps): bump ai from 6.0.28 to 6.0.105 (#167)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 18:40:15 +08:00
dependabot[bot]
4e9e125f59 build(deps): bump lucide-react from 0.563.0 to 0.576.0 (#169)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 18:39:44 +08:00
dependabot[bot]
8912a763a8 build(deps): bump tailwind-merge from 3.4.0 to 3.5.0 (#170)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 18:39:30 +08:00
dependabot[bot]
4d57b4893c build(deps-dev): bump @testing-library/react from 16.3.0 to 16.3.2 (#171)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 18:39:13 +08:00
ropzislaw
5698826c66 mcp & skills 2026-03-02 00:28:33 +08:00
ropzislaw
f0fc87205a refactor: improve code consistency and formatting across multiple files
- Standardized import statements and added semicolons for consistency in `tsup.config.ts` and `bridge.ts`.
- Enhanced type definitions and formatting in `prompt-input.tsx` and `input-area.tsx` for better readability and maintainability.
2026-03-02 00:23:50 +08:00
ropzislaw
7d2acc75c6 fix: standardize text query examples in tools reference documentation
- Updated text query examples in the tools-reference.md file to use lowercase for consistency, changing '*[Ll]ogin*' to '*login*' and '*[Ss]earch*' to '*search*'.
2026-03-02 00:23:16 +08:00
ropzislaw
947ed7364a fix: update text query examples in snapshot tool for consistency
- Changed text query examples from '*[Ll]ogin*' and '*[Ss]earch*' to '*login*' and '*search*' for improved clarity and consistency in documentation.
2026-03-02 00:22:58 +08:00
ropzislaw
0ffd6b1bde skills & mcp 2026-03-02 00:20:53 +08:00
dependabot[bot]
cbd0a0b352 build(deps-dev): bump jsdom from 27.4.0 to 28.1.0 (#160) 2026-02-23 23:22:38 +08:00
ropzislaw
e1816cbfa6 build(deps-dev): bump vitest from 4.0.14 to 4.0.18 (#161) 2026-02-23 22:01:30 +08:00
dependabot[bot]
a3490091f5 build(deps-dev): bump vitest from 4.0.14 to 4.0.18
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.0.14 to 4.0.18.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.18/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.0.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-23 12:09:43 +00:00
dependabot[bot]
79f6e4a441 build(deps-dev): bump puppeteer from 24.35.0 to 24.37.5 (#159)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 20:08:31 +08:00
dependabot[bot]
33a93c0d12 build(deps): bump streamdown from 2.1.0 to 2.3.0 (#158)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 20:08:11 +08:00
dependabot[bot]
7e2d804729 build(deps-dev): bump dotenv from 17.2.3 to 17.3.1 (#162)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 20:07:29 +08:00
ropzislaw
2c55f9f317 select server models 2026-02-22 10:34:54 +08:00
ropzislaw
038e0b17e9 enhance prompt 2026-02-21 23:13:20 +08:00
ropzislaw
6cebf39772 refactor: enhance type safety and improve test structure in replay controller and share conversation services
- Updated type assertions in the ManualReplayController to ensure proper event handling.
- Refactored test cases in replay-controller.test.ts for improved clarity and structure.
- Enhanced type definitions in share-conversation.ts to ensure metadata is correctly typed.
- Improved test assertions in share-conversation.test.ts for better reliability and readability.
2026-02-19 23:05:28 +08:00
ropzislaw
2527db20af refactor: remove unused BYOK configuration from useAgent hook and streamline authentication check in ChatApp
- Removed the byokEnabled parameter from the useAgent hook to simplify its interface.
- Streamlined the handleCheckAuth function in ChatApp for improved readability and conciseness.
2026-02-19 22:59:54 +08:00
ropzislaw
8043780985 feat: implement pre-flight authentication check and enhance message handling in chatbot
- Added a pre-flight authentication check before sending messages, displaying an inline login prompt if authentication is required.
- Updated the ChatbotProvider to use a wrapped sendMessage function that incorporates the authentication check.
- Enhanced type definitions to include AuthCheckResult for better clarity in authentication handling.
- Refactored the useAgent hook to differentiate between BYOK and non-BYOK configurations, improving validation logic.
- Streamlined the model factory in the browser extension to support both BYOK and proxy modes, ensuring a seamless user experience.
2026-02-19 22:58:18 +08:00
dependabot[bot]
f5c118d973 build(deps): bump react and @types/react (#153)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 0x5457 <0x5457@protonmail.com>
2026-02-17 13:04:59 +08:00
dependabot[bot]
ea1ebbeeaf build(deps-dev): bump @types/node from 25.2.2 to 25.2.3 (#152) 2026-02-16 16:59:25 +08:00
dependabot[bot]
ac578f5c8f build(deps): bump @openai/agents-extensions from 0.4.6 to 0.4.10 (#151) 2026-02-16 16:56:22 +08:00
dependabot[bot]
c920390913 build(deps): bump @ai-sdk/anthropic from 3.0.39 to 3.0.44 (#154) 2026-02-16 16:55:13 +08:00
dependabot[bot]
bae99bcda0 build(deps): bump quickjs-emscripten from 0.31.0 to 0.32.0 (#155) 2026-02-16 16:53:59 +08:00
ropzislaw
713695c82a refactor: improve code formatting and readability in error handling and data validation
- Consolidated error logging in the ErrorBoundary component for clarity.
- Streamlined error messages in the background script for better readability.
- Enhanced formatting of type definitions and data validation in various services to improve code organization and maintainability.
- Updated test cases to ensure consistent formatting and readability.
2026-02-15 21:23:26 +08:00
ropzislaw
29d6739ccc feat: enhance onboarding and replay functionality in browser extension
- Added a feature to open the onboarding page for new installs in production.
- Implemented a user manual replay request handler, validating input data and managing replay steps.
- Introduced a side panel for replay setup, allowing users to navigate and initialize replay sessions.
- Enhanced the chat header with options to share conversations and save them as skills, improving user interaction.
- Added error handling and validation for user-provided host URLs to mitigate security risks.
2026-02-15 21:23:03 +08:00
ropzislaw
7652564bb2 add more features 2026-02-15 20:25:18 +08:00
ropzislaw
66bbbc1777 refactor: reorganize message item rendering and improve system message handling
- Moved the system message filtering logic to a more appropriate location within the DefaultMessageItem component for better clarity and performance.
- Updated the message list rendering to generate stable keys for turns, enhancing React's reconciliation process.
- Streamlined the rendering of assistant messages with improved handling of collapsible components for better user experience.
- Cleaned up code formatting and structure for improved readability across the message-related components.
2026-02-15 20:11:24 +08:00
ropzislaw
f77ef23d47 refactor: streamline model fetching and selection logic in chatbot components
- Removed redundant model fetching from the Chatbot component, simplifying the logic to rely on prop-provided models.
- Enhanced the DefaultInputArea component to fetch models from the API on mount, with fallback to prop-provided models if the fetch fails.
- Improved the handling of model selection, ensuring the current model is included in the list and updating settings accordingly.
- Added loading state management for model fetching to enhance user experience during API calls.
2026-02-15 20:07:06 +08:00
ropzislaw
08d3c16538 feat: enhance AIPex functionality with improved session handling and screenshot shaping
- Added support for passing an EphemeralSession to the run() method in stateless mode, ensuring session management is consistent.
- Implemented callModelInputFilter to shape screenshot items before model calls, enhancing the handling of image data and user messages.
- Updated screenshot shaping logic to accommodate various output formats, ensuring compatibility with both legacy and SDK formats.
- Enhanced unit tests for screenshot shaping to cover new scenarios and ensure robust functionality.
2026-02-15 14:36:16 +08:00
ropzislaw
58e73d6c92 refactor: improve code formatting and readability across components
- Streamlined code formatting in multiple files for better consistency and clarity.
- Consolidated import statements and removed unnecessary line breaks to enhance organization.
- Updated state initialization and prop handling in various components to follow best practices.
- Improved the readability of complex expressions by simplifying their structure.
2026-02-15 13:44:27 +08:00
ropzislaw
343f6fa146 feat: enhance screenshot handling and display in chatbot components
- Added functionality to extract and apply screenshots from tool results in the ChatAdapter, improving user experience by allowing immediate rendering of screenshots.
- Implemented a new ToolScreenshot component to display screenshots inline, supporting both base64 data and IndexedDB references.
- Updated message item rendering to transform screenshot placeholders into actual images, enhancing the visual feedback for users.
- Introduced collapsible message items for intermediate assistant messages, improving the organization of conversation turns in the message list.
- Enhanced model fetching logic in the Chatbot component to ensure server models are prioritized, improving model selection reliability.
- Updated localization files to include new translation keys for improved user guidance.
2026-02-15 13:44:03 +08:00
ropzislaw
c5b6371223 feat: enhance settings page and browser extension functionality
- Replaced the text input for AI model selection with a dropdown for better user experience, allowing users to select from available models or enter a custom value.
- Added a tip for users in the settings page to guide model selection based on their needs.
- Updated the browser extension manifest to include audio capture permissions.
- Improved the Vite configuration comments for clarity regarding sidepanel entry handling.
- Implemented functionality to open the sidepanel on demand and collect screenshots for download from the sidepanel.
- Introduced validation and download helpers for chat image export in the background script.
- Initialized QuickJS and ZenFS on sidepanel startup to optimize performance.
2026-02-14 22:01:34 +08:00
ropzislaw
c3e39da6a9 fix: update API host URLs in localization and configuration files
- Changed the host placeholder in English and Chinese localization files to reflect the new API endpoint for DeepSeek.
- Updated the host URLs for various AI providers in the configuration file to remove the specific endpoint paths, ensuring compatibility with the latest API structure.
2026-02-14 17:52:05 +08:00
ropzislaw
ccb50fccc1 chore: update schema version and improve component accessibility
- Updated the Biome schema version from 2.3.13 to 2.3.14 for compatibility.
- Enhanced the PromptInput component by changing the skill label from a span to a button for better accessibility and user interaction.
- Corrected spelling of "AIPex" to "AIpex" in multiple test cases for consistency.
- Added a comment in the SettingsPage component to clarify the purpose of the initialSkill prop for future use.
- Improved type checking in the app-root component to ensure timestamp is a number before comparison.
2026-02-14 17:36:09 +08:00
ropzislaw
a18f9ce79c refactor: improve code readability and organization across components
- Streamlined formatting in various components for better consistency and clarity.
- Removed unnecessary line breaks and adjusted import statements for improved organization.
- Enhanced the handling of props and state updates in several components to follow best practices.
- Updated the `useEffect` dependencies to ensure proper reactivity and performance optimization.
2026-02-14 17:31:29 +08:00
ropzislaw
531b50b559 feat: add UX audit goal functionality and improve skill management
- Introduced a new UX audit goal dialog for users to provide details about the interface they want to audit.
- Enhanced the PromptInput component to allow users to click on skill labels to open the skill settings.
- Updated the Chatbot component to handle UX audit submissions and integrate translation support.
- Improved the message list and welcome screen components to support UX audit suggestions.
- Added new translation keys and updated localization files for English and Chinese.
- Refactored skill management features to support deep-linking to specific skills in the options page.
2026-02-14 17:30:55 +08:00
ropzislaw
a938e4b28d feat: enhance chatbot functionality with skill management and input mode toggle
- Introduced a new context for managing skills within the PromptInput component, allowing users to add, remove, and clear skills.
- Added SkillItem type and related components for displaying skill tags in the chatbot interface.
- Implemented initial input value support in the Chatbot component for better user experience.
- Enhanced the BrowserChatHeader to include a toggle for switching between voice and text input modes.
- Updated various components to support new skill management features and improved overall code organization.
2026-02-14 00:10:49 +08:00