Skip to content

Conversation

@xinquiry
Copy link
Collaborator

Summary

  • Literature MCP: New MCP server for academic literature search via OpenAlex API with DOI cleaning and work distribution
  • Tool cost system: Added cost tracking for agent tools with new cost.py module
  • Knowledge tool refactor: Split monolithic knowledge tool into modular structure (operations.py, schemas.py, tools.py, help_content.py)
  • Document handling improvements: Enhanced document handlers with image fetcher for PPTX processing
  • Fetch tool: New built-in fetch tool for web content retrieval
  • UI improvements: Refactored agent list components, improved MCP tools button, mobile menu enhancements, markdown rendering fixes
  • CI/CD: Renamed test-build.yaml to beta.yaml workflow
  • Bug fixes: Fixed knowledge tool first-call error, agent tool cache issues

Test plan

  • Verify literature MCP server connects and searches work
  • Test tool cost tracking in agent executions
  • Confirm knowledge tool operations function correctly after refactor
  • Test PPTX image handling
  • Verify UI components render properly (agent list, MCP tools, mobile menu)
  • Run existing test suite

🤖 Generated with Claude Code

SoberPizza and others added 7 commits January 22, 2026 16:49
* feat: literature-MCP 完整功能

* refactor: improve boolean parsing and logging in literature search functions

* feat: enhance literature search functionality with improved query validation and detailed results formatting

* refactor: rename oa_url to access_url in LiteratureWork model and related tests
* fix: prompt, factory

* feat: enhanced ppt generation with image slides mode

- Add image_slides mode for PPTX with full-bleed AI-generated images
- Add ImageBlock.image_id field for referencing generated images
- Add ImageSlideSpec for image-only slides
- Add ImageFetcher service for fetching images from various sources
- Reorganize knowledge module from single file to module structure
- Move document utilities from app/mcp/ to app/tools/utils/documents/
- Resolve image_ids to storage URLs in async layer (operations.py)
- Fix type errors and move tests to proper location

Co-Authored-By: Claude <[email protected]>

* feat: implement the tool cost

---------

Co-authored-by: Claude <[email protected]>
* fix: jump to latest topic when click agent

* feat: allow more than one image for generate image

* feat: allow user directly edit mcp in the chat-toolbar

* feat: improve the frontend perf
* fix: jump to latest topic when click agent

* feat: allow more than one image for generate image

* feat: allow user directly edit mcp in the chat-toolbar

* feat: improve the frontend perf

* fix: restore previous active topic when clicking agent

Instead of always jumping to the latest topic, now tracks and restores
the previously active topic for each agent when switching between them.

Co-Authored-By: Claude <[email protected]>

* feat: add context menu to FocusedView agents and download button to lightbox

- Add right-click context menu (edit/delete) to compact AgentListItem variant
- Render context menu via portal to escape overflow:hidden containers
- Add edit/delete handlers to FocusedView with AgentSettingsModal and ConfirmationModal
- Add download button to image lightbox with smart filename detection

Co-Authored-By: Claude <[email protected]>

* feat: add web_fetch tool bundled with web_search

- Add web_fetch tool using Trafilatura for content extraction
- Bundle web_fetch with web_search in frontend toolConfig
- Group WEB_SEARCH_TOOLS for unified toggle behavior
- Only load web_fetch when web_search is available (SearXNG enabled)
- Update tool capabilities mapping for web_fetch

Co-Authored-By: Claude <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @xinquiry, your pull request is larger than the review limit of 150000 diff characters

@Mile-Away Mile-Away merged commit 73b2c7d into main Jan 22, 2026
15 checks passed
@Mile-Away Mile-Away deleted the test branch January 22, 2026 16:53
Mile-Away pushed a commit that referenced this pull request Jan 22, 2026
## [1.0.8](v1.0.7...v1.0.8) (2026-01-22)

### 🐛 Bug Fixes

* Literature MCP, tool cost system, and UI improvements ([#199](#199)) ([73b2c7d](73b2c7d)), closes [#192](#192) [#193](#193)
@Mile-Away
Copy link
Contributor

🎉 This PR is included in version 1.0.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants