`create_project` is hidden from the default tool list, so agents miss it during setup

已关闭 适合新手
#1,844 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #1868 来自 @sentry-junior —— 已合并

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
72/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
devtools

调研方向

门控逻辑位于 surfaces.ts(默认的 tools/list)和 skills.ts(默认关闭的 project-management 技能)中。改动内容是 find_projects 工具上的一个描述字符串,所以请从那里开始,找到它的描述在哪里定义。完成标准是:find_projects 不再返回任何匹配项,并且其描述中提到 create_project、search_sentry_tools/execute_sentry_tool 以及 project-management 技能。

由索引模型根据 Issue 内容生成。

描述

When an agent sets up a new service, it looks for a way to create the Sentry project and doesn't find one. create_project isn't in the default tools/list (surfaces.ts), and it's gated behind the project-management skill, which is off by default (skills.ts). So unless that skill is granted, search_sentry_tools doesn't surface it either. The agent then tells the user to create the project by hand. If that gets missed, CI release steps fail later with "Invalid project ids or slugs".

Suggested fix: since the top-level list is locked, add one line to the find_projects description: when no matching project exists, projects can be created with create_project through search_sentry_tools/execute_sentry_tool, which needs the project-management skill.

Acceptance: when find_projects returns no match, its description points the agent to create_project and the skill it needs.

主要语言
TypeScript
星标
949
派生
171
平均合并
23 小时 5 分钟
30 天内合并 PR
320

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/toolkit 的其他 Issue

查看 getsentry/toolkit 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。