Skip to content

Add listRecentCursorAgents read-only Cursor Cloud tool#1077

Draft
ryokun6 wants to merge 1 commit intomainfrom
cursor/list-recent-cursor-agents-92bf
Draft

Add listRecentCursorAgents read-only Cursor Cloud tool#1077
ryokun6 wants to merge 1 commit intomainfrom
cursor/list-recent-cursor-agents-92bf

Conversation

@ryokun6
Copy link
Copy Markdown
Owner

@ryokun6 ryokun6 commented Apr 30, 2026

Adds a chat tool listRecentCursorAgents that lists recent Cursor Cloud agents scoped (by repo URL from Agent.get) to ryokun6/ryos or CURSOR_CLOUD_REPO_URL, using the same owner gate and CURSOR_API_KEY as cursorRyOsRepoAgent.

Implementation follows the current Cursor TypeScript SDK: Agent.list / Agent.get / Agent.listRuns / Agent.getRun with runtime: "cloud" (aligned with the Cloud Agents API’s agent + run model). Code comments note that there is no global run list endpoint—only per-agent run lists.

Testing: bun test on the new gate tests + existing cursor repo agent tests; bun run build succeeded.

Open in Web Open in Cursor 

Uses @cursor/sdk Agent.list/get, listRuns, getRun with CURSOR_API_KEY.
Filters to ryokun6/ryos via repo URLs from Agent.get; documents indeterminate
repo metadata. Wired into ryo conversation tools, chat hook, and UI.
@ryos-deploy
Copy link
Copy Markdown

ryos-deploy Bot commented Apr 30, 2026

The preview deployment for ryos-dev is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-04-30 00:57:02 CET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants