Rename Cursor repo agent tool to cursorCloudAgent; add listCursorCloudAgentRuns#1095
Draft
Rename Cursor repo agent tool to cursorCloudAgent; add listCursorCloudAgentRuns#1095
Conversation
- Primary tool name is cursorCloudAgent; cursorRyOsRepoAgent remains as shim - Add listCursorCloudAgentRuns using shared Redis meta scan (listCursorSdkRunsFromRedis) - Wire tools in ryo-conversation; refactor admin to reuse lister; update UI/i18n/tests Co-authored-by: Ryo Lu <me@ryo.lu>
|
The preview deployment for ryos-dev is ready. 🟢 Open Preview | Open Build Logs | Open Application Logs Last updated at: 2026-05-02 09:01:38 CET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR renames the primary Cursor Cloud coding-agent tool from
cursorRyOsRepoAgenttocursorCloudAgent, addslistCursorCloudAgentRunsfor recent-run metadata from Redis, and keeps the old tool name as a backward-compatible shim that runs the same execute path.Backend
api/chat/tools/cursor-repo-agent.ts: new primary names (cursorCloudAgentSchema,executeCursorCloudAgent,CURSOR_CLOUD_AGENT_DESCRIPTION, etc.), sharedlistCursorSdkRunsFromRedis, andexecuteListCursorCloudAgentRunsreturning stablerunId, status, timestamps, prompt/summary previews,prUrl,nextRunId/ follow-up fields, and a relativepollUrlfor/api/ai/cursor-run-status.api/_utils/ryo-conversation.ts: registerscursorCloudAgent,listCursorCloudAgentRuns, and legacycursorRyOsRepoAgent; system prompt references the new names.api/admin.ts: delegates run listing to the shared Redis lister (addsnextRunIdon admin rows).api/_utils/telegram-status.ts: status text for both tool names.Frontend
useAiChatserver-side tool handling and SDK error recovery includecursorCloudAgentandlistCursorCloudAgentRuns.ToolInvocationMessage: cards for async runs accept both agent tool names; list-runs shows a short summary line.apps.chats.toolCalls.cursorCloudAgentpluslistCursorCloudAgentRuns; legacycursorRyOsRepoAgentkeys retained for old streams.formatToolNameoverrides for readable labels.Tests
tests/test-cursor-repo-agent-tool.test.ts: lister +executeListCursorCloudAgentRunscoverage.Verification
bun test tests/test-cursor-repo-agent-tool.test.tsbun run buildFollow-ups
listCursorCloudAgentRunsstrings are English placeholders; translate when convenient.cursorRyOsRepoAgentshim after confirming no external automations depend on it.