Code mode: Prisma schema (code_runs, McpServerConfig.codeMode, Role.capabilities, KgSkillSuggestion.kind)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Read AGENTS.md and resolve the dependency on #1361 before editing schema.prisma. Add the four listed schema changes and a migration; clarify the code_runs retention story, and verify that existing installs retain current behavior after migration.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Schema changes required for code mode. Per AGENTS.md, opening this before touching schema.prisma; each ships with a migration. Depends on #1361.
Changes
code_runstable — audit of every code run: id, organizationId, userId, mcpServerId, source (inline| code-tool id), status, durationMs, tool-call count, error, createdAt. Nested tool calls keep going throughtool_invocations, correlated by acodeRunIdcarried inclientInfo. Needs a retention story (per-plan: 7/30/90 days / 1y+).McpServerConfig.codeMode— enum/string columnoff(default) |tools|inline. Governs whether a server exposes saved code tools and/or the inlinecode_executetool.Role.capabilities— JSON column for per-role capability flags, first useinlineCode(may the role run inline code). Keeps capabilities off the tool-allowlist model, which stays per-tool.KgSkillSuggestion.kind— add acodekind so an agent-proposed code tool becomes a pending suggestion an ADMIN approves, reusing the existing skill approval flow.
Notes
McpToolneeds no column: a saved code tool isendpointMapping.method = 'code'(JSON field), likestatic. Tracked in the execution-path issue.- Every org-scoped query stays filtered by
organizationId. - All four default to the current behaviour so the migration is a no-op for existing installs.
- Ngôn ngữ chính
- TypeScript
- Star
- 856
- Fork
- 82
- Merge trung bình
- 6 giờ 10 phút
- Pull request đã merge (30 ngày)
- 448
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của HelpCode-ai/anythingmcp
-
adapter-request good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
HelpCode-ai/anythingmcp#1405 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
HelpCode-ai/anythingmcp#1507 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Upload the new social previewCó thể đã có người làm @helpcodeai đã nhận 4 ngày trước. Đang mở
HelpCode-ai/anythingmcp#1455 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Adapter: TGStatCó thể đã có người làm @abinyads-dev đã nhận 2 ngày trước. Đang mởadapter-request good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
HelpCode-ai/anythingmcp#1413 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Adapter: Hepsiburada MarketplaceCó thể đã có người làm @averyreynolds đã nhận 3 ngày trước. Đang mởadapter-request good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
HelpCode-ai/anythingmcp#1412 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của HelpCode-ai/anythingmcp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
binding:python bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
coollabsio/orbit#72 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage potential-regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws/aws-sdk-js-v3#8408 ·
Maintainer thường phản hồi trong vòng 1 ngày