feat: add Grok Build support (#1030)

* test: define Grok Build integration behavior

* feat: add Grok Build agent integration

* test: cover Grok permissions and resume paths

* docs: add Grok Build setup guide

* fix: scope Grok ACP discovery to session cwd

* fix: align Grok permission UI semantics

* docs: clarify Grok runner setup

* test: require Grok create model and effort options

* feat: add Grok create model and effort pickers

* test: define Grok runtime parity behavior

* feat: add Grok runtime ACP controls and discovery

* fix: tighten Grok runtime controls

* fix: suppress nonfatal Grok title quota errors

* feat: support Grok Auto permission mode

* feat: forward ACP native session titles for Grok

* fix: guard Grok Windows shell arguments
This commit is contained in:
SSU-WEI HUANG
2026-07-13 08:41:30 +08:00
committed by GitHub
parent de07643828
commit b9eed7c071
92 changed files with 3796 additions and 63 deletions
+10 -8
View File
@@ -1090,13 +1090,15 @@ export function buildCliArgs(
? 'codex'
: agent === 'cursor'
? 'cursor'
: agent === 'kimi'
? 'kimi'
: agent === 'opencode'
? 'opencode'
: agent === 'pi'
? 'pi'
: 'claude';
: agent === 'grok'
? 'grok'
: agent === 'kimi'
? 'kimi'
: agent === 'opencode'
? 'opencode'
: agent === 'pi'
? 'pi'
: 'claude';
const args = [agentCommand];
if (options.resumeSessionId) {
if (agent === 'codex') {
@@ -1114,7 +1116,7 @@ export function buildCliArgs(
if (options.model) {
args.push('--model', options.model);
}
if (options.effort && (agent === 'claude' || agent === 'pi')) {
if (options.effort && (agent === 'claude' || agent === 'grok' || agent === 'pi')) {
args.push('--effort', options.effort);
}
if (options.modelReasoningEffort && (agent === 'codex' || agent === 'opencode')) {