Commit Graph

741 Commits

Author SHA1 Message Date
csh28
e38fd17b97 Merge docker embedding dependency optimization 2026-05-21 20:31:44 +08:00
csh28
45cf140472 Optimize catalog-agent image embedding dependencies 2026-05-21 20:30:54 +08:00
朱潮
51f88c8c2d Merge branch 'feature/mcp-ui' into dev 2026-05-21 19:47:04 +08:00
朱潮
776acc2373 DaytonaSandbox support shell env 2026-05-21 19:46:22 +08:00
朱潮
3ebd006b6e Merge branch 'feature/mcp-ui' into dev 2026-05-21 18:33:57 +08:00
朱潮
1d18a464c7 static-hosting 2026-05-21 09:04:29 +08:00
朱潮
c14a22bbd1 Merge branch 'feature/mcp-ui' into dev 2026-05-20 19:31:01 +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
朱潮
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
朱潮
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
朱潮
7615bd36ca 修改mcp协议 2026-05-19 18:54:37 +08:00
朱潮
2a243202c9 修改mcp协议 2026-05-19 17:46:20 +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
朱潮
26f244183c static-hosting 2026-05-18 22:17:40 +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
朱潮
cb4a1df0b4 update mcp-ui 2026-05-18 16:23:32 +08:00
朱潮
fd43415a59 优化ask_user_guide.md 2026-05-18 13:13:31 +08:00
朱潮
18ad1fe156 优化ask_user 2026-05-18 12:43:06 +08:00
朱潮
0bf7a87a0e LLM 只需处理极短的 "Questions sent to user." 而不是完整的问题 JSON,减少了 token 消耗和延迟 2026-05-18 11:37:23 +08:00
朱潮
30389be119 update ask_user 2026-05-17 14:20:38 +08:00
朱潮
4c5094b275 在 guide 里约束 LLM 行为 — 告诉模型不要加这类引导语,因为前端已经有交互式 UI 了 2026-05-17 14:14:42 +08:00
朱潮
02085b789a support mcpUiUrl 2026-05-17 14:07:25 +08:00
朱潮
52a8a88cd7 add ask user question muti select 2026-05-17 09:27:05 +08:00
朱潮
82b1676b75 add mcp-ui 2026-05-17 08:22:22 +08:00
朱潮
14b7ed7a55 Merge branch 'developing' into feature/mcp-ui 2026-05-17 08:20:07 +08:00
朱潮
c095c8f5ba add mcp-ui 2026-05-17 08:19:47 +08:00
朱潮
03a30537ab ask user question 2026-05-15 19:25:08 +08:00
csh28
a0d285db28 Merge branch 'staging' into prod 2026-05-15 18:45:40 +08:00
朱潮
26582f7d39 add config.tool_response or is_ui_resource — UIResource 始终输出,其他 tool response 仍受 tool_response 参数控制 2026-05-15 18:02:26 +08:00
朱潮
11e2ce2c17 add mcp-ui 2026-05-15 17:57:09 +08:00
朱潮
b842778be0 add mcp-ui 2026-05-15 14:22:10 +08:00
朱潮
035b21bb43 Merge branch 'developing' into staging 2026-05-14 18:15:15 +08:00