* 🐛 fix: scroll ChatInput into view when starter mode activates
When clicking Create Agent/Group/Write, the SuggestQuestions panel
renders below the ChatInput and pushes total content beyond the
viewport, causing the ChatInput to scroll out of view. This adds
scrollIntoView + focus on mode change so the editor stays visible
and ready for input. Also improves E2E test to target contenteditable
inside ChatInput directly and wait for animation to settle.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* update
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add write document and image create starter
* chore: update doc starter e2e tests
* chore: remove image stater form home input
* chore: move model header to actionbar extra place
* test: fix e2e test
* update e2e test
* 📝 docs: Update src directory structure to be more comprehensive
- Add missing directories: business, const, envs, helpers, tools
- Add missing root files: auth.ts, instrumentation.ts, instrumentation.node.ts, proxy.ts
- Update descriptions to be more accurate
- Sync changes across English and Chinese documentation
Fixes#9521
- Refactor webServer.ts with better process coordination and lock file mechanism
- Add mock S3 env vars to prevent initialization errors
- Complete missing i18n translations across all locales
* ♻️ refactor: use COPYRIGHT constant from branding config
* ♻️ refactor: optimize default model configuration
- Switch default provider from OpenAI to Anthropic
- Add DEFAULT_MINI_MODEL and DEFAULT_MINI_PROVIDER for lightweight tasks
- Use mini model for system agent tasks: generationTopic, topic, translation, queryRewrite
- Use mini model for memory extraction agents
- Reorder provider list: Anthropic/Google first, local solutions last
* ♻️ refactor: split lobehub models into organized folder structure
- Split large lobehub.ts (1316 lines) into lobehub/ folder
- Organize chat models by provider (openai, anthropic, google, etc.)
- Separate image models and utils into dedicated files
* ♻️ refactor: use SOCIAL_URL constant and fix button alignment in auth-error page
* ✨ feat: add MiniMax M2.1 and M2.1 Lightning models
* ♻️ refactor: remove 'enabled' property from image model configurations in lobehub
* ♻️ refactor: add COPYRIGHT_FULL constant and fix Discord icon visibility
* ✅ test: update snapshots for default provider changes
* ✅ test: fix snapshot provider values for CI environment
* 🐛 fix(e2e): intercept all LLM providers in mock instead of only OpenAI
The default provider was changed from openai to anthropic, but the LLM mock
only intercepted /webapi/chat/openai requests. Now it intercepts all providers.
* update topic
* update topic
* memory not block
* remove incorrectly memory fetch
* refactor group switch topic
* improve streaming style for Agent Tool display
* fix group tab active issue
* 🐛 fix: E2E test for switching conversations and TypeScript type errors
- Fix E2E test 'AGENT-CONV-002' that was failing when switching between conversations
- Add detection for home page vs agent page state
- Use correct selectors for Recent Topics cards on home page
- Add proper wait time for messages to load after topic switch
- Use '.message-wrapper' selector for message verification
- Fix TypeScript type errors in MakedownRender.tsx
- Add explicit type annotations for a and img component props
- Import ReactNode type
- Remove unused @ts-expect-error directive in useMarkdown.tsx
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* fix actions
* ✅ test: add E2E test for sendAsGroup sidebar refresh
Add E2E test to verify that after creating a Group from the Home page
input, the sidebar correctly displays the newly created Group when
returning to the Home page.
This test validates the fix for LOBE-3083 where the sidebar wasn't
refreshing after creating a Group via sendAsGroup.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* ✅ test: rename sendGroup to starter and add Agent test
- Rename sendGroup.feature/steps to starter.feature/steps
- Add E2E test for sendAsAgent sidebar refresh
- Both Agent and Group creation now have E2E test coverage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* ✨ feat: improve baseline alignment for tool items
Fix baseline alignment issue for KlavisServerItem and LobehubSkillServerItem components.
Fixes LOBE-2106
* refactor: improve next config modification logic by removing webVitalsAttribution and adding invariant checks to property removals.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: update category selection logic in community interactions steps
- Changed category selection from the second to the third category to better align with the actual category filters.
- Improved code readability by restructuring comments and formatting for better clarity.
- Enhanced logging for URL verification and initial card count checks.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
* ✅ test: add E2E tests for Home sidebar Agent and Group management
- Add sidebarAgent.feature with rename/pin/delete scenarios
- Add sidebarGroup.feature with rename/pin/delete scenarios
- Add step definitions for Agent and Group operations
- Support @HOME- tag prefix in hooks.ts
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix group renaming
* update setup scripts
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* ✅ test(e2e): add Agent conversation E2E test with LLM mock
- Add LLM mock framework to intercept /webapi/chat/openai requests
- Create Agent conversation journey test (AGENT-CHAT-001)
- Add data-testid="chat-input" to Desktop ChatInput for E2E testing
- Mock returns SSE streaming responses matching LobeChat's actual format
Test scenario: Enter Lobe AI → Send "hello" → Verify AI response
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 📝 docs(e2e): add experience-driven E2E testing strategy
Add comprehensive testing strategy from LOBE-2417:
- Core philosophy: user experience baseline for refactoring safety
- Product architecture coverage with priority levels
- Tag system (@journey, @P0/@P1/@P2, module tags)
- Execution strategies for CI, Nightly, and Release
- Updated directory structure with full journey coverage plan
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
📝 docs(e2e): add E2E testing guide for Claude
Document key learnings from implementing Agent conversation test:
- LLM Mock SSE format and usage
- Desktop/Mobile dual component handling with boundingBox
- contenteditable input handling
- Debugging tips and common issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 📝 docs(e2e): add experience-driven E2E testing strategy
Add comprehensive testing strategy from LOBE-2417:
- Core philosophy: user experience baseline for refactoring safety
- Product architecture coverage with priority levels
- Tag system (@journey, @P0/@P1/@P2, module tags)
- Execution strategies for CI, Nightly, and Release
- Updated directory structure with full journey coverage plan
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
📝 docs(e2e): add E2E testing guide for Claude
Document key learnings from implementing Agent conversation test:
- LLM Mock SSE format and usage
- Desktop/Mobile dual component handling with boundingBox
- contenteditable input handling
- Debugging tips and common issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* update sop
* update sop
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* ✅ test(e2e): add Agent conversation E2E test with LLM mock
- Add LLM mock framework to intercept /webapi/chat/openai requests
- Create Agent conversation journey test (AGENT-CHAT-001)
- Add data-testid="chat-input" to Desktop ChatInput for E2E testing
- Mock returns SSE streaming responses matching LobeChat's actual format
Test scenario: Enter Lobe AI → Send "hello" → Verify AI response
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 📝 docs(e2e): add E2E testing guide for Claude
Document key learnings from implementing Agent conversation test:
- LLM Mock SSE format and usage
- Desktop/Mobile dual component handling with boundingBox
- contenteditable input handling
- Debugging tips and common issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 📝 docs(e2e): add experience-driven E2E testing strategy
Add comprehensive testing strategy from LOBE-2417:
- Core philosophy: user experience baseline for refactoring safety
- Product architecture coverage with priority levels
- Tag system (@journey, @P0/@P1/@P2, module tags)
- Execution strategies for CI, Nightly, and Release
- Updated directory structure with full journey coverage plan
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* add conversation case
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
* add e2e tests
* fix workflow
* update workflow
* 🐛 fix(e2e): fix smoke tests i18n and timeout issues
- Unify default port to 3006 across hooks.ts and world.ts
- Reduce step timeout from 30s to 10s for faster feedback
- Fix i18n matching for featured sections (support zh-CN/en-US)
- Add mock framework foundation for future API mocking
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 🐛 fix(e2e): save failure screenshots to file for CI artifacts
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 🐛 fix(e2e): move PORT to global env for consistent access
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 🐛 fix(e2e): set onboarding as completed for test user
Skip onboarding flow by setting finishedAt in test user seed