Phase 2 Testing: Dashboard API 路径适配 #179

Closed
opened 2026-05-11 07:45:30 +00:00 by xingyue · 0 comments
Owner

验证目标

Dashboard 适配新的 gateway 路由后,能正常登录、列出 agents、操作 threads。

测试步骤

  • Step 1: API client 路径更新
    检查 packages/workflow-dashboard/src/api.ts,确认:

    • listAgents() 请求 GET /api/gateway/endpoints
    • agent 级 API 走 /api/agents/:agent/*
  • Step 2: TypeScript 编译通过

    cd packages/workflow-dashboard && npx tsc --noEmit
    

    预期: 无编译错误

  • Step 3: Dashboard 构建成功

    cd packages/workflow-dashboard && pnpm build
    

    预期: 构建无错误

Ref

RFC: #177
Phase 1: #178

## 验证目标 Dashboard 适配新的 gateway 路由后,能正常登录、列出 agents、操作 threads。 ## 测试步骤 - [ ] **Step 1: API client 路径更新** 检查 `packages/workflow-dashboard/src/api.ts`,确认: - `listAgents()` 请求 `GET /api/gateway/endpoints` - agent 级 API 走 `/api/agents/:agent/*` - [ ] **Step 2: TypeScript 编译通过** ```bash cd packages/workflow-dashboard && npx tsc --noEmit ``` **预期:** 无编译错误 - [ ] **Step 3: Dashboard 构建成功** ```bash cd packages/workflow-dashboard && pnpm build ``` **预期:** 构建无错误 ## Ref RFC: #177 Phase 1: #178
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#179