Code mode: Prisma schema (code_runs, McpServerConfig.codeMode, Role.capabilities, KgSkillSuggestion.kind)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- TypeScript
- 星标
- 856
- 派生
- 82
- 平均合并
- 6 小时 10 分钟
- 30 天内合并 PR
- 448
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HelpCode-ai/anythingmcp 的其他 Issue
-
adapter-request good first issue help wanted
难度 2/5 1-3 小时 新手友好度 72/100
HelpCode-ai/anythingmcp#1405 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
HelpCode-ai/anythingmcp#1507 ·
维护者通常 1 天内回复
-
Upload the new social preview可能已有人在做 @helpcodeai 于 4 天前认领。 未关闭
HelpCode-ai/anythingmcp#1455 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Adapter: TGStat可能已有人在做 @abinyads-dev 于 2 天前认领。 未关闭adapter-request good first issue help wanted
难度 3/5 1-2 天 新手友好度 75/100
HelpCode-ai/anythingmcp#1413 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Adapter: Hepsiburada Marketplace可能已有人在做 @averyreynolds 于 3 天前认领。 未关闭adapter-request good first issue help wanted
难度 3/5 1-2 天 新手友好度 72/100
HelpCode-ai/anythingmcp#1412 · 2 条评论 ·
维护者通常 1 天内回复
查看 HelpCode-ai/anythingmcp 的全部 Issue
相似的 Issue
-
bug needs-triage potential-regression
难度 2/5 1-3 小时 新手友好度 78/100
aws/aws-sdk-js-v3#8408 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
colinhacks/zod#6743 ·
维护者通常 1 天内回复
-
[BUG] Packing list: the weight field drops digits on a slow connection and saves the wrong weight未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
openai/openai-node#3124 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
anthropics/anthropic-sdk-typescript#1296 ·
维护者通常 8 天内回复