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
description: 'Run an autonomous coding agent on a repo',
128
137
authMode: AuthMode.ApiKey,
129
138
longDescription:
130
-
'The Pi Coding Agent runs the Pi harness against a real repository. Create PR opens a new pull request, Update Branch pushes to an existing branch without force-pushing, Review Code posts a structured review, and Local Dev edits files over SSH. Create PR and Update Branch can optionally babysit their pull request through trusted bot reviews and required checks. Authoring modes can reuse skills and conversation memory. Any mode can optionally get one web_search tool backed by your own key.',
139
+
'The Pi Coding Agent runs the Pi harness against a real repository. Create PR opens a new pull request, Update PR pushes to an existing branch and creates or updates its pull request, Review Code posts a structured review, and Local Dev edits files over SSH. Create PR and Update PR can optionally babysit their pull request through trusted bot reviews and required checks. Authoring modes can reuse skills and conversation memory. Any mode can optionally get one web_search tool backed by your own key.',
131
140
bestPractices: `
132
141
- Use Create PR for hands-off changes against a GitHub repo where a reviewable PR is the deliverable.
133
-
- Use Update Branch to continue work on an existing remote branch, including one previously created by Pi.
134
-
- Enable Babysit Mode on Create PR or Update Branch when trusted review bots and required checks should be monitored and fixed in bounded rounds.
142
+
- Use Update PR to continue work on an existing remote branch and create or update its pull request.
143
+
- Enable Babysit Mode on Create PR or Update PR when trusted review bots and required checks should be monitored and fixed in bounded rounds.
135
144
- Use Review Code to analyze an existing PR and leave summary + inline review comments.
136
145
- Use Local Dev to edit a repo on your own machine; expose the machine on a public hostname/tunnel so Sim can reach it over SSH.
137
-
- Create PR and Update Branch require your own provider API key because the model runs in the sandbox. Review Code keeps the model key in Sim and can use either BYOK or a hosted key.
146
+
- Create PR and Update PR require your own provider API key because the model runs in the sandbox. Review Code keeps the model key in Sim and can use either BYOK or a hosted key.
138
147
- Internet Search is off by default and always needs your own key for the selected provider, from the block field or Settings > BYOK. Leave it on None unless the task genuinely needs external information.
'Personal access token used for GitHub access. Create PR needs clone/push/PR permissions; Update Branch needs clone/push permissions. With Babysit Mode, either also needs pull request, check/Actions read, thread write, and issue comment permissions. Review Code needs clone + review permissions.',
257
+
'Personal access token used for GitHub access. Create PR and Update PR both need clone, push, and pull request read/write permissions. With Babysit Mode, either also needs check/Actions reads, thread writes, and issue comments. Review Code needs clone + review permissions.',
placeholder: 'e.g., main (defaults to the repository default branch)',
257
-
tooltip: 'The branch the pull request is opened against; the repo is cloned from it too.',
258
-
condition: CLOUD,
266
+
tooltip:
267
+
'Create PR clones this branch and opens against it. Update PR changes an existing pull request only when set, or uses it when creating a missing pull request.',
0 commit comments