The gemini CLI was returning plain text instead of JSON, causing clink to fail with: 'Failed to decode Gemini CLI JSON output: Expecting value: line 1 column 1 (char 0)' Root cause: gemini.json was missing the '-o json' flag in additional_args. This fix adds '-o json' to ensure JSON output format, aligning with the codex pattern (which uses --json). Tested with gemini CLI v0.8.2
27 lines
503 B
JSON
27 lines
503 B
JSON
{
|
|
"name": "gemini",
|
|
"command": "gemini",
|
|
"additional_args": [
|
|
"--telemetry",
|
|
"false",
|
|
"--yolo",
|
|
"-o",
|
|
"json"
|
|
],
|
|
"env": {},
|
|
"roles": {
|
|
"default": {
|
|
"prompt_path": "systemprompts/clink/default.txt",
|
|
"role_args": []
|
|
},
|
|
"planner": {
|
|
"prompt_path": "systemprompts/clink/default_planner.txt",
|
|
"role_args": []
|
|
},
|
|
"codereviewer": {
|
|
"prompt_path": "systemprompts/clink/default_codereviewer.txt",
|
|
"role_args": []
|
|
}
|
|
}
|
|
}
|