@devries-cameron20 / t3code-1 / commits / 2d94372376
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(server): Cursor threads in Auto use Cursor's Auto-review (#19712)

Co-authored-by: Cursor <cursoragent@cursor.com>

owenferg committed Oct 15, 2026 at 10:24 UTC 2d943723769da0b675b56168d764d1ad96fc8d28
2 files changed +11 -1
packages/provider-cursor/src/server/adapter.test.ts
+10
@@ -825,6 +825,16 @@ describe("CursorAdapterV2", () => {
825 sandboxEnabled: true,
826 },
827 );
828 + assert.deepEqual(
829 + cursorRuntimeAgentPolicy({
830 + ...base,
831 + runtimeMode: "auto",
832 + }),
833 + {
834 + autoReview: true,
835 + sandboxEnabled: true,
836 + },
837 + );
838 assert.deepEqual(
839 cursorRuntimeAgentPolicy({
840 ...base,
packages/provider-cursor/src/server/adapter.ts
+1 -1
@@ -192,7 +192,7 @@ export function cursorRuntimeAgentPolicy(
192 return {
193 autoReview:
194 runtimePolicy.approvalPolicy === undefined
195 - ? runtimePolicy.runtimeMode === "approval-required"
195 + ? runtimePolicy.runtimeMode === "approval-required" || runtimePolicy.runtimeMode === "auto"
196 : runtimePolicy.approvalPolicy !== "never",
197 sandboxEnabled:
198 runtimePolicy.sandboxPolicy === undefined