* ✨ feat: support to show working dir
* fix style
* update docs
* update topic
* refactor to use chat config
* inject working Directory
* update i18n
* fix tests
* fix kb issue
* 🔒 fix(file): validate file size from S3 instead of trusting client input
Security fix for GHSA-wrrr-8jcv-wjf5: The file upload feature did not
validate the integrity of upload requests, allowing users to manipulate
the size parameter to bypass quota limits.
Changes:
- Add getFileMetadata method to S3 module using HeadObjectCommand
- Add getFileMetadata to FileServiceImpl interface and implementations
- Update createFile router to fetch actual file size from S3
- Add comprehensive tests for the new functionality
- Fix duplicate import in knowledgeBase.test.ts
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* 🐛 fix(ci): use allowed_tools instead of claude_args for claude-translator
Fix shell parsing issue where special characters in claude_args were
incorrectly split. The parentheses and asterisks in tool patterns like
`Bash(gh issue view *)` were being parsed by shell, causing:
- "Bash(gh issue view *)" to become ["Bash", "gh", "issue", "view", "*"]
Changes:
- Replace `claude_args: "--allowed-tools ..."` with `allowed_tools: '...'`
- Use colon separator format consistent with other workflows
- Simplify tool patterns while maintaining security restrictions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
* ♻️ refactor: refactor to remove meta in message
* ✅ test: update test fixtures to remove deprecated meta field
- Update 8 snapshots in prompts package for groupChat tests
- Remove meta field from 36 JSON fixtures in conversation-flow package
- Updated both inputs and outputs fixtures
- Covers: linear-conversation, tasks, branch, compare, agentCouncil,
agentGroup, assistantGroup scenarios
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
* ♻️ refactor: migrate to new DropdownMenuV2 and showContextMenu API
- Replace Dropdown with DropdownMenuV2 for action menus
- Use showContextMenu for context menu handling instead of Dropdown wrapper
- Update @lobehub/ui to preview version with new context menu API
- Add styles for popup-open state in NavItem component
* ♻️ refactor: migrate to new DropdownMenuV2 and showContextMenu API
* chore: Update @lobehub/ui dependency to version ^4.6.3.
Signed-off-by: Innei <tukon479@gmail.com>
* ♻️ refactor: migrate to new DropdownMenuV2 and showContextMenu API
- Remove deprecated ContextMenu component
- Migrate all context menu usages to DropdownMenuV2 and showContextMenu API
- Update multiple Action components across Conversation features
- Update ResourceManager toolbar components
- Clean up related styles
🤖 Generated with [Claude Code](https://claude.com/claude-code)
* feat: Update `@lobehub/ui` dependency, simplify `ActionIconGroup` menu prop, and ensure action group visibility when popups are open.
Signed-off-by: Innei <tukon479@gmail.com>
* fix: Add null check for context menu items, include debug log, and update `@lobehub/ui` dependency.
Signed-off-by: Innei <tukon479@gmail.com>
* ♻️ refactor: migrate TopicSelector to new DropdownMenuV2 API
Migrate from antd/Dropdown to @lobehub/ui DropdownMenu component
with checkbox items pattern.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Signed-off-by: Innei <tukon479@gmail.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>