You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pi): add Cloud Code Review mode and rename Cloud to Cloud PR
Introduce a third Pi mode that reviews an existing GitHub PR in an E2B sandbox and posts a structured review with optional inline comments. Keep the stored cloud id for backward compatibility, extend github_create_pr_review for inline comments, and harden review submission against stale SHAs and invalid comment payloads.
Co-authored-by: Cursor <cursoragent@cursor.com>
description: 'Run an autonomous coding agent on a repo',
46
56
authMode: AuthMode.ApiKey,
47
57
longDescription:
48
-
'The Pi Coding Agent runs the Pi harness against a real repository. In Cloud mode it spins up an isolated sandbox, clones a connected GitHub repo, edits and tests with native shell + git, and opens a pull request. In Local mode it edits files on your own machine over SSH. Both modes stream progress and reuse your models, skills, and multi-turn memory.',
58
+
'The Pi Coding Agent runs the Pi harness against a real repository. Cloud PR spins up an isolated sandbox, clones a GitHub repo, edits with native shell + git, and opens a pull request. Cloud Code Review checks out an existing PR and posts a structured review with optional inline comments. Local mode edits files on your own machine over SSH. All modes stream progress and reuse your models, skills, and multi-turn memory.',
49
59
bestPractices: `
50
-
- Use Cloud mode for hands-off changes against a GitHub repo where a reviewable PR is the deliverable.
60
+
- Use Cloud PR for hands-off changes against a GitHub repo where a reviewable PR is the deliverable.
61
+
- Use Cloud Code Review to analyze an existing PR and leave summary + inline review comments.
51
62
- Use Local mode to edit a repo on your own machine; expose the machine on a public hostname/tunnel so Sim can reach it over SSH.
52
-
- Cloud mode requires your own provider API key (BYOK); the model key is never injected as a hosted key into the sandbox.
63
+
- Cloud modes require your own provider API key (BYOK); the model key is never injected as a hosted key into the sandbox.
0 commit comments