Conversation
…ucture
REQ-015 agent_role_dimensions:
- New table: agent_role_dimensions (role_id, dim_id, dim_values)
- API: GET/PUT /mcp-roles/{role_id}/dimensions
- RolePanel: dimension tab with value picker (whitelist mode)
- mcp_registry refactor: 422 lines restructured
REQ-011/012:
- mcp_system/ directory with internal_mcp_deploy handler
- manifest.json for system MCP registration
- mcp_loader system source routing
Other:
- mcp_publish_script.py removed (replaced by mcp_system)
- McpPanel: source tabs + audit columns + internal deploy
- Backend: agent_templates, claude_code_runner, mcp_loader updates
- Frontend: EnterpriseConsole dimension route, McpPanel rewrite
- Dockerfile cleanup
- REQUIREMENTS_POOL: REQ-005→done, REQ-011/012/013/015/016 updated
DB changes: - workspaces.db → agents.db, workspaces → agents table (16 fields) - workspace_members → agent_members, workspace_profiles → agent_profiles - gateway_agents + agent_bindings removed from accounts.db - All workspace_id → agent_id across claude_agent_runs, mcp_registry, accounts DBs - ID prefix: agt_xxx (replaces ws_xxx) - Old workspaces.db + ws_* directories cleaned from disk Backend (22 files): - infra/workspaces.py → agents.py (full rewrite, clean API) - accounts.py: gateway_agents/agent_bindings removed, issue_agent_key added - hosted_workspace_engines.py → hosted_agent_engines.py - All routes: /api/v1/workspaces → /api/v1/agents - All functions: get_workspace → get_agent, etc. - mcp_registry: DB migration for workspace_id→agent_id, table renames Frontend (10 files): - CodingAgentWorkspacePage → CodingAgentChatPage - WorkspaceAgentProfilePanel → AgentProfilePanel - workspaceAgentPresets → agentPresets - All workspace_id/workspaceId → agent_id/agentId - Workspace directory panel: only show for template agents Config: - EVOTOWN_WORKSPACES_DIR → EVOTOWN_AGENTS_DIR - Mount paths: /app/data/workspaces → /app/data/agents - .env updated
Integrate runtime_engine support from main while keeping workspace→agent renaming from REQ-016. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
REQ-016: Workspace → Agent 概念统一
43 files, +1165/-1456
DB 层
后端 (22 files)
前端 (10 files)
配置