Commit Graph

1037 Commits

Author SHA1 Message Date
朱潮
cc934e987a add static-hosting 2026-05-20 23:36:38 +08:00
朱潮
f6e8f569ed 优化rescourse读取方式 2026-05-20 19:51:46 +08:00
朱潮
ad554b2d80 优化rescourse读取方式 2026-05-20 19:50:34 +08:00
朱潮
c14a22bbd1 Merge branch 'feature/mcp-ui' into dev 2026-05-20 19:31:01 +08:00
朱潮
3809536746 refactor: replace mcp_resources API with direct /robots/ static file access
- Remove routes/mcp_resources.py (ui:// URI resolver endpoint)
- Frontend now directly accesses /robots/{bot_id}/skills/{server}/apps/{resource}.html
- Add Daytona fallback middleware to fetch files from sandbox on 404
- Add utils/daytona_file_fetcher.py for on-demand single file download
- Resolve merge conflict: keep voice, knowledge_base routes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-20 19:21:40 +08:00
朱潮
319bd8cd59 优化rescourse读取方式 2026-05-20 19:14:04 +08:00
朱潮
b4f8bb2935 refactor: replace mcp_resources API with direct /robots/ static file access
- Remove routes/mcp_resources.py (ui:// URI resolver endpoint)
- Frontend now directly accesses /robots/{bot_id}/skills/{server}/apps/{resource}.html
- Add Daytona fallback middleware to fetch files from sandbox on 404
- Add utils/daytona_file_fetcher.py for on-demand single file download

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-20 18:58:58 +08:00
朱潮
44ac8103d3 update dep 2026-05-20 16:44:46 +08:00
朱潮
881901c504 Merge branch 'feature/mcp-ui' into dev 2026-05-20 16:41:27 +08:00
朱潮
209a8c344d update dep 2026-05-20 16:41:20 +08:00
朱潮
b54f0848cd update dep 2026-05-20 16:40:35 +08:00
朱潮
cfc6601c76 update dep 2026-05-20 16:40:16 +08:00
朱潮
37025e4ce6 update dep 2026-05-20 16:39:11 +08:00
朱潮
5b378fcdf6 update dep 2026-05-20 16:12:29 +08:00
朱潮
86c58ffccf update dep 2026-05-20 16:01:56 +08:00
朱潮
5ed28123b4 merge 2026-05-20 15:30:39 +08:00
朱潮
3fd12e9fc6 Merge branch 'dev' of https://github.com/sparticleinc/catalog-agent into dev 2026-05-20 14:59:46 +08:00
朱潮
46cf0933a0 Merge branch 'feature/mcp-ui' into dev 2026-05-20 14:58:19 +08:00
朱潮
1a1df7f76b 优化为标准mcp app协议 2026-05-20 14:54:07 +08:00
autobee-sparticle
a1fffa311b
Merge pull request #32 from sparticleinc/bugfix/autobee-20260519-novare-contact-routing
[NOVARE] 修复联系方式查询误路由到发送消息的问题
2026-05-19 23:02:12 +09:00
ae99d7a177 fix(novare): 修复联系方式查询误路由到发送消息的问题
## 问题
用户询问「プランニンググループの連絡先」时,Bot 误路由到
wowtalk_send_message_to_member(发送消息)而不是查询联系方式。

## 修复
1. 新增「联系方式查询场景」示例,明确区分查询与发送
2. 新增规则 9:联系方式/组织图查询规则
3. 新增规则 10:工具失败时的降级回复规则,避免空循环

## 关键区别
- 「連絡先を知りたい」→ 查询场景,使用 rag_retrieve
- 「連絡して」→ 发送场景,使用 wowtalk_send_message_to_member

Ref: #2993

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-19 13:52:18 +00:00
朱潮
495b8031bb Merge branch 'feature/mcp-ui' into bot_manager 2026-05-19 19:23:57 +08:00
朱潮
2f4ad22293 Merge branch 'feature/mcp-ui' into dev 2026-05-19 19:20:09 +08:00
朱潮
c87daabd31 修改mcp协议 2026-05-19 19:19:39 +08:00
朱潮
65f3fba9ea Merge branch 'feature/mcp-ui' into bot_manager 2026-05-19 18:54:46 +08:00
朱潮
7615bd36ca 修改mcp协议 2026-05-19 18:54:37 +08:00
朱潮
35ceca1af3 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-19 17:46:26 +08:00
朱潮
2a243202c9 修改mcp协议 2026-05-19 17:46:20 +08:00
朱潮
ece8b5b7d2 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-19 15:36:59 +08:00
朱潮
7f66279311 修改mcp-ui协议 2026-05-19 15:27:36 +08:00
qianlir
3e142b22e5
Merge pull request #31 from sparticleinc/revert-29-fix/add-opensearch-py-onprem
Revert "Fix/add opensearch py onprem"
2026-05-19 11:15:17 +08:00
qianlir
89e9f9b6d6
Revert "Fix/add opensearch py onprem" 2026-05-19 11:14:54 +08:00
朱潮
76f04d9b24 Merge branch 'dev' of https://github.com/sparticleinc/catalog-agent into dev 2026-05-19 11:08:28 +08:00
朱潮
944933d6b6 add static-hosting 2026-05-18 22:22:36 +08:00
朱潮
b1a1424124 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-18 22:17:53 +08:00
朱潮
26f244183c static-hosting 2026-05-18 22:17:40 +08:00
朱潮
333bef1289 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-18 20:19:15 +08:00
朱潮
add8a1fd18 使用 mcp_ui_server 库构建 UIResource 2026-05-18 20:19:10 +08:00
qianlir
9f9c78548d
Merge pull request #29 from sparticleinc/fix/add-opensearch-py-onprem
Fix/add opensearch py onprem
2026-05-18 19:54:28 +08:00
qianlir
538be7da2c feat(deps): add opensearch-py for pmda-drug-info skill MCP server
pmda-drug-info skill's pmda_server.py imports opensearchpy to query
the OpenSearch pmda_sections index. catalog-agent base image already
ships psycopg (for PG drug_master queries) but was missing
opensearch-py, so the MCP stdio server failed at import time with
ModuleNotFoundError → 0 tools exposed to the bot.

Add opensearch-py >=2.2.0,<3.0.0 to pyproject.toml dependencies and
the matching pinned line (opensearch-py==2.7.1) to requirements.txt.

Verified pmda-drug-info needs:
  from opensearchpy import OpenSearch       # os_client.py
  from opensearchpy.helpers import bulk     # ingest path

After this image is rebuilt and deployed to onprem-dev, MCP stdio
servers loaded from skill plugin.json start cleanly and tools/list
returns the 10 tools from pmda_tools.json.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 19:51:38 +08:00
朱潮
dee850407d add chromium 2026-05-18 17:25:37 +08:00
朱潮
4039bb0cb9 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-18 16:24:05 +08:00
朱潮
cb4a1df0b4 update mcp-ui 2026-05-18 16:23:32 +08:00
朱潮
7bae3da25e Merge branch 'feature/mcp-ui' into bot_manager 2026-05-18 13:13:49 +08:00
朱潮
fd43415a59 优化ask_user_guide.md 2026-05-18 13:13:31 +08:00
朱潮
8482ec35d9 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-18 12:43:13 +08:00
朱潮
18ad1fe156 优化ask_user 2026-05-18 12:43:06 +08:00
朱潮
50b08047d2 Merge branch 'feature/mcp-ui' into bot_manager 2026-05-18 11:37:41 +08:00
朱潮
0bf7a87a0e LLM 只需处理极短的 "Questions sent to user." 而不是完整的问题 JSON,减少了 token 消耗和延迟 2026-05-18 11:37:23 +08:00
朱潮
9b49d71e6c Merge branch 'feature/mcp-ui' into bot_manager 2026-05-17 14:20:44 +08:00