v0.28.39 -> v0.29.0
Summary
MCP client and server land in one runtime package on the official SDK. Guide tooling collapses into a single topic entry point, and chatbot formatting moves into channel system prompts.
翻譯
MCP client 與 server 收斂到同一 runtime 套件並改接官方 SDK。Guide 工具合併為單一 topic 入口,chatbot 格式規則改嵌進各通道 system prompt。
⚠️ Breaking Changes
MCP packages unified under internal/runtime/mcp
Client and server no longer live in separate packages. Import paths and constructors moved together.
Before:
import (
"github.com/pardnchiu/agenvoy/internal/runtime/mcpserver"
"github.com/pardnchiu/agenvoy/internal/toolAdapter/mcp"
)
server := mcpserver.New()
After:
import "github.com/pardnchiu/agenvoy/internal/runtime/mcp"
server := mcp.NewServer()
// MCP client types also live in this package
Migration:
- Replace
internal/runtime/mcpserverimports withinternal/runtime/mcp - Replace
internal/toolAdapter/mcpimports withinternal/runtime/mcp - Replace
internal/toolAdapter/{api,script}imports withinternal/runtime/toolAdapter/{api,script} - Call
mcp.NewServer()instead ofmcpserver.New()
翻譯
MCP client 與 server 合併至 internal/runtime/mcp。請更新 import 路徑,並將 mcpserver.New() 改為 mcp.NewServer();toolAdapter 亦下沉至 internal/runtime/toolAdapter。
Guide tools collapsed into reasoning_guide
Standalone guide tools are removed. All topics now go through one tool with a topic enum.
Before:
tool_generate_guide
tool_error_guide
subagent_dispatch_guide
html_render_guide
reasoning_guide(topic=subagent_delegation|...)
After:
reasoning_guide(topic=tool_generate|tool_error|rag_web|market_analysis|targeted_read|ask_user|subagent_dispatch|write_todo|html_render)
Migration:
- Delete calls to
tool_generate_guide,tool_error_guide,subagent_dispatch_guide, andhtml_render_guide - Use
reasoning_guidewith the matchingtopicvalue - Rename topic
subagent_delegation→subagent_dispatch - Config symbols renamed:
ToolGuide→GuideToolGenerate,ToolErrorGuide→GuideToolError,SubagentDispatchGuide→GuideSubagentDispatch,HtmlRenderGuide→GuideHtmlRender,Reasoning*→Guide*
翻譯
獨立 guide 工具已移除,一律改呼叫 reasoning_guide 並指定 topic。subagent_delegation 更名為 subagent_dispatch;configs 符號亦對應改名。
Changes
BREAKING
- Merge MCP client and server into a unified runtime package (@pardnchiu) [22e1bc18]
- Consolidate guide tools into
reasoning_guideand reorganize prompts (@pardnchiu) [b9b446ed]
翻譯
- 將 MCP client 與 server 合併為統一的 runtime 套件
- 將 guide 工具收斂為
reasoning_guide並重整 prompts
FIX
- Fix subagent failure recovery and temporary session handling (@pardnchiu) [b04c54d2]
翻譯
- 修正子代理失敗復原與臨時 session 處理
REFACTOR
- Migrate MCP client to official modelcontextprotocol go-sdk (@pardnchiu) [68de48c8]
- Move toolAdapter package under runtime (@pardnchiu) [b7964c0b]
- Move MCP client package from toolAdapter to runtime (@pardnchiu) [02330890]
- Embed chatbot formatting rules in channel system prompts (@pardnchiu) [40a67051]
��譯
- 將 MCP client 遷移至官方 modelcontextprotocol go-sdk
- 將 toolAdapter 套件移至 runtime 底下
- 將 MCP client 套件由 toolAdapter 移至 runtime
- 將 chatbot 格式規則嵌入各通道 system prompt
Scope
internal/runtime/mcp/— BREAKING, REFACTORinternal/runtime/toolAdapter/— BREAKING, REFACTORinternal/tools/— BREAKING, REFACTOR (guide.go, removedguide/package)configs/— BREAKING, REFACTOR (configs.go,prompts/guide/,prompts/system_prompt/)cmd/app/— BREAKING, REFACTORinternal/agents/exec/— FIX, REFACTORinternal/session/summary/— FIXinternal/runtime/chatbot/tool/— REFACTORgo.mod,go.sum— REFACTOR
Generated by SKILL