Skip to content

[BUG] /agents 命令无法获取项目级 agents #2

@sobird

Description

@sobird

描述错误

在终端输入框中,输入 /agents 命名,回车后无法获取项目级 agents 列表,另外猜测,输入框中输入 @ 引用文件 属于同一类似问题(本地文件搜索功能失效)

重现步骤

cd 本仓库目录
bun run dev

或者
bun run build
npm link

cd 自己的项目
# 为避免与原claude命令冲突,已将 claude 命令重命名为 sobird
sobird
  • 输入 /agents 回车,无法列出项目级 agents (位于 .claude/agents/*.md
  • 同样的输入 @ 使用tab键快速搜索并引用项目文件无法使用

预期行为

输入 /agents 回车后,可以看到已存在的项目级 agents
输入 @ 使用tab键 可快速搜索并引用项目文件


Bug Description

When entering the /agents command in the terminal input box and pressing Enter, the project-level agents list fails to load. Additionally, I suspect this is related to a broader issue where the @ symbol for file referencing is also broken (local file search functionality is unresponsive).

Steps to Reproduce

cd /path/to/this/repo
bun run dev

# OR
bun run build
npm link

cd /path/to/your/project
# Renamed 'claude' to 'sobird' to avoid conflicts with the original command
sobird
  • Type /agents and press Enter: Fails to list project-level agents (located in .claude/agents/*.md).
  • Type @ and attempt to use the Tab key to quickly search and reference project files: Functionality is unavailable.

Expected Behavior

  • For /agents: Pressing Enter should display a list of all existing project-level agents.
  • For @: Pressing the Tab key should trigger a quick search and allow for referencing local project files.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions