feat(cursor): multitask slash, autoReview mode, native worktree/add-dir (#1014)

* feat(cursor): multitask slash, autoReview mode, native worktree/add-dir

Close the highest-value Cursor Agent gaps for remote HAPI: expand ACP-safe
slash pass-through (/multitask, worktree, add-dir, …), add autoReview
permission mode (--auto-review spawn + mid-session slash), and route Cursor
New Session worktrees through agent --worktree instead of HAPI sibling trees.

Fixes #1013

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

* fix(cli): accept --mode autoReview for hapi cursor

Align --mode parsing with CURSOR_PERMISSION_MODES so documented
`hapi cursor --mode autoReview` enables Smart Auto instead of silently
falling back to default.

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

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
SSU-WEI HUANG
2026-07-12 18:41:52 +08:00
committed by GitHub
co-authored by Cursor
parent b104c38f3a
commit 73584e925a
24 changed files with 630 additions and 143 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ export default {
'newSession.type.simple': 'Simple',
'newSession.type.simple.desc': 'Use selected directory as-is',
'newSession.type.worktree': 'Worktree',
'newSession.type.worktree.desc': 'Create a new worktree next to repo',
'newSession.type.worktree.desc': 'Create a new worktree next to repo (Cursor uses native ~/.cursor/worktrees)',
'newSession.type.worktree.placeholder': 'feature-x (default 1228-xxxx)',
'newSession.agent': 'Agent',
'newSession.model': 'Model',