Skip to content

Add Chrome extension MVP for recipe detection and side panel workflow#1

Draft
null-object-0000 wants to merge 25 commits into
mainfrom
feat/extension-mvp
Draft

Add Chrome extension MVP for recipe detection and side panel workflow#1
null-object-0000 wants to merge 25 commits into
mainfrom
feat/extension-mvp

Conversation

@null-object-0000

Copy link
Copy Markdown
Owner

Summary

  • Add an MVP Chrome extension with background, content, page hook, and side panel wiring
  • Introduce shared packages for recipe detection, core logic, and runner orchestration
  • Add extension assets, manifest, and build/copy scripts plus updated docs in English and Chinese
  • Update workspace and TypeScript config for the new multi-package setup

Testing

  • Not run (not requested)

- Updated sidepanel layout to improve user experience with a new branding section and clearer action buttons.
- Replaced "开始发现" with "开始学习页面" to better reflect the learning process.
- Introduced a chat interface for user-agent interaction, allowing users to specify goals and receive feedback.
- Implemented a structured plan for the agent's learning process, including steps for capturing data sources and generating recipes.
- Enhanced messaging system to provide real-time updates and responses from the agent.
- Added functionality for displaying captured data sources and their details in a more organized manner.
- Updated documentation to reflect changes in the agent's architecture and interaction model.
…vider

- Added `@data-recipe/agent-runtime` package for handling agent interactions with OpenAI-compatible models.
- Introduced `OpenAICompatibleProvider` for API communication and `ToolCallingAgentRuntime` for executing agent logic.
- Updated sidepanel to utilize the new agent runtime, enabling real-time tool calls and user-configured settings.
- Enhanced UI for model configuration and improved user prompts for agent interactions.
- Refactored existing code to accommodate the new agent architecture and removed deprecated features.
- Added tests for the agent runtime functionality to ensure reliability.
…functionality

- Added fflate as a dependency for handling ZIP file creation.
- Introduced exportDataSkillPackageAsZip function to export skill packages as ZIP files.
- Updated validation logic to include workflow.json and handle recipe references.
- Enhanced validateDataSkillPackage function to check for required files and validate workflow structure.
- Implemented inspectDataSkillPackageZip function to inspect contents of exported ZIP files.
- Updated validate-data-skill-package script to support validation of both ZIP and JSON formats.
- Added comprehensive tests for new functionality in test-agent-runtime script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant