- Add direct link to Chrome Web Store for Prompt Optimizer extension
- Update README with official Chrome extension download URL
- Enhance user accessibility to the browser extension
- Introduce 'output-format-optimize' template with comprehensive structure
- Update version to 1.3.0 for existing templates
- Enhance template metadata with more descriptive information
- Add detailed sections for role, skills, rules, workflows, and output format
- Update asset file naming in Vite config to use a static 'style.css' filename
- Remove dynamic asset file naming logic
- Disable CSS code splitting for consistent output
- Revise README with more detailed project features and description
- Update Chrome extension metadata with refined descriptions
- Add permissions explanation document with comprehensive details
- Remove outdated screenshot image
- Ignore extension distribution files in .gitignore
- Introduce SiliconFlow API key environment variable
- Add SiliconFlow configuration to default models
- Separate DeepSeek and SiliconFlow provider configurations
- Remove App and LLM service test files
- Upgrade Vite, Vitest, and Vue-related dependencies to latest versions
- Modify package scripts for improved development workflow
- Update environment variable loading configuration
- Enhance test configuration and mocking strategies
- Simplify root and package-level scripts
- Improve cross-platform development support
- Delete outdated documentation files from the docs directory
- Remove files related to previous project iterations
- Clean up project documentation structure
- Prepare for updated documentation approach
- Replace LangChain dependencies with native OpenAI and Google Generative AI SDKs
- Rewrite LLMService to use direct API calls for OpenAI and Gemini
- Update core package dependencies to remove LangChain-related packages
- Modify message handling and streaming logic to work with new SDK implementations
- Simplify model configuration and instance management
- Update integration and unit tests to support new SDK approach
- Remove LangChain-specific message conversion and streaming methods
- Update Vitest configuration to dynamically load environment variables
- Add dotenv configuration in test setup files
- Modify integration test files to use process.env instead of import.meta.env
- Add logging for environment variable status in test files
- Improve test configuration for different LLM service integrations
- Upgrade @langchain/core to version 0.3.40
- Update @langchain/google-genai and @langchain/openai to latest versions
- Remove npm-run-all and replace with direct pnpm commands
- Simplify clean and dev scripts in root package.json
- Add pnpm override for @langchain/core version
- Remove redundant dependencies in web and core packages
- Update Vite config and import paths in web package
- Remove redundant integration and unit test files from web package
- Update import paths in remaining test files to use local source
- Remove console logs and unnecessary comments in test files
- Simplify test structure and remove duplicate test scenarios
- Add dotenv dependency to core package for environment variable support
This commit focuses on improving the core package's module organization and export strategy:
- Reorganized `index.ts` exports with grouped and more explicit module exports
- Removed redundant `services/index.ts` and `types/index.ts` files
- Simplified LLM service creation with optional default model manager
- Updated model defaults to handle environment variable retrieval more robustly
- Added `@types/node` dependency to support TypeScript development
- Enhance saveTemplateSelection method signature with stricter type constraints
- Add type assertion for template selection type to ensure correct usage
- Improve template selection toast message generation
- Simplify template selection logic in useTemplateManager
- Extract common composables and services in UI package
- Implement useServiceInitializer, useModelManager, and useHistoryManager
- Enhance type safety with TypeScript configuration updates
- Simplify App.vue in extension and web packages
- Remove redundant code and improve component modularity
- Update package dependencies and lock files
- Update ModelManager to use synchronous methods without async/await
- Enhance TemplateManager to automatically select first available template after deletion
- Implement reactive template list watching in TemplateSelect to handle dynamic changes
- Add automatic template selection fallback when current template is removed
- Simplify component logic by removing unnecessary async operations
- Improve state management across template and model selection components
- Modify TemplateManager to use synchronous methods instead of async
- Update core service interfaces to remove async/await requirements
- Simplify initialization and method calls across core and UI packages
- Remove unnecessary async/await wrappers in composables and components
- Enhance error handling and logging during service initialization
- Standardize method signatures in template, history, and model managers
- Rename UI components with 'UI' suffix for clarity (e.g., MainLayoutUI, ActionButtonUI)
- Remove redundant local types file in UI package
- Update type imports from @prompt-optimizer/core across composables
- Synchronize component imports in App.vue for extension and web packages
- Simplify type references and remove duplicate type definitions
- Integrate ModelSelect component into InputPanel via slots
- Implement more robust model and template selection handling
- Add dedicated methods for managing model and template manager interactions
- Simplify component logic by extracting management functions
- Improve initialization and update processes for models and templates
- Introduce usePromptHistory composable for centralized history management
- Simplify App.vue by extracting history-related logic to composable
- Modify custom model name capitalization in defaults
- Export usePromptHistory in UI package index
- Update ModelManager to support more robust model initialization and retrieval
- Modify ModelSelect to dynamically fetch and refresh enabled models
- Implement comprehensive model selection persistence in usePromptOptimizer
- Refactor InputPanel to use slot-based model selection
- Add getEnabledModels method to ModelManager for consistent model filtering
- Improve model selection handling in App.vue with more flexible update mechanisms
- Integrate localStorage model selection directly into loadModels function
- Remove separate restoreModelSelection method
- Enhance model selection logic to prioritize saved selections
- Simplify onMounted initialization by removing redundant restoration step
- Simplify ModelManager initialization and storage handling
- Streamline model loading and update logic in ModelManager
- Remove redundant refresh triggers in ModelSelect
- Improve model list sorting and selection handling
- Clean up unnecessary console logs and emit calls
- Update ModelManager to support async operations and improved model loading
- Enhance ModelSelect with reactive model list and selection handling
- Modify TemplateManager to support better template synchronization
- Add persistent model and template selection in App.vue
- Implement more robust error handling and state updates across components
- Remove environment variable configuration from Vercel deployment link
- Update deployment guidance to suggest configuring API key later
- Streamline README deployment section for easier onboarding
- Revise Vercel deployment link to point to environment variables section
- Update model support description
- Add detailed setup instructions for online, Chrome extension, and local development
- Introduce comprehensive environment variable configuration guide
- Enhance roadmap with current progress and future goals
- Update Tailwind config to include UI package and custom styles
- Modify manifest.json with content security policy
- Refactor App.vue to improve history and version tracking
- Adjust main.ts and style.css for better performance and rendering
- Optimize font and style loading order
- Update composables to accept Ref<PromptService | null> instead of direct service
- Modify service method calls to use .value for reactive references
- Add Vue Ref import to support the new type
- Update App.vue to use ref for promptService initialization
- Add watchers to refresh history on version changes and history view
- Update README with more engaging and informative content
- Add emoji icons to improve readability
- Restructure sections for better navigation
- Include project structure, development commands, and technology stack
- Enhance deployment and configuration instructions
- Add roadmap and contribution guidelines
- Improve overall presentation and clarity
- Introduce ModelSelect component in UI package
- Update InputPanel to use ModelSelect instead of native select
- Add @configModel event to trigger configuration modal in App.vue
- Export ModelSelect in UI package index
- Correct Gemini API base URL to official Google endpoint
- Enhance core package LLM tests with localStorage mock
- Update test cases for model management and service initialization
- Improve test coverage for App.vue with mocked components and services
- Introduce currentChainId to extension and web package App.vue
- Modify handleTest method to pass optimizedPrompt as an argument
- Ensure consistent state management across packages
- Move all Vue components from extension package to @prompt-optimizer/ui
- Remove local component implementations in extension package
- Update import statements to use UI package components
- Add necessary dependencies for component migration
- Simplify extension package structure and improve code modularity
- Prepare for unified component management across packages
- Export useToast composable from @prompt-optimizer/ui
- Remove local useToast and clickOutside implementations from web package
- Update import statements in App.vue to use UI package exports
- Move common Vue components from web package to new @prompt-optimizer/ui package
- Update import statements in web package to use @prompt-optimizer/ui
- Add necessary dependencies for UI package
- Simplify component imports and improve code modularity
- Update package.json files to include new UI package dependency
- Add LangChain and related dependencies for the extension package
- Update package versions for core libraries like Vue, Element Plus, and LangChain
- Include development dependencies for Tailwind CSS and Vite
- Remove manual request configuration and sending methods from LLMService
- Streamline model initialization logic with simplified provider handling
- Remove unnecessary type imports and unused request-related interfaces
- Update test suites to reflect new service architecture
- Add logging for connection testing
- Clean up unused code and improve type consistency
- Revamp README with new monorepo structure and detailed project overview
- Enhance file structure documentation with package-specific details
- Update frontend development guidelines with modern best practices
- Refactor progress tracking document with detailed milestones and risk assessment
- Expand tech stack documentation with in-depth technology descriptions
- Improve app flow documentation with TypeScript-based code examples