## 背景與目標 Agent Runtime (`google_vertex_ai_reasoning_engine`) 對 Go 專案採用原生容器化協定,需要透過 ADK Go 的 `universal.NewLauncher` 與 `agentengine.NewLauncher(rootAgent.Name())` 暴露 `/api/reasoning_engine` (`:query` / `:streamQuery`)、ADK REST API 與 A2A (`/.well-known/agent-card.json`, `/a2a/v1/invoke`) 端點。 ## 待辦事項 (Action Items) - [ ] 建立 `app/agent.go`,實作標準入口函式 `NewRootAgent(ctx context.Context) (agent.Agent, error)` - [ ] 配置根目錄 `main.go` 整合 `universal.NewLauncher`、`web.NewLauncher`、`agentengine.NewLauncher`、`api.NewLauncher`、`a2a.NewLauncher` 與 `appinfo` - [ ] 新增 `appurl.go` (`resolveAppURL()`) 以支援 A2A Agent Card 動態解析 - [ ] 更新根目錄 `Dockerfile`,確保符合 `agents-cli deploy` 打包與 Agent Runtime 雲端建置規範
Activity