惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
S
SegmentFault 最新的问题
量子位
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
博客园 - Franky
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
B
Blog RSS Feed
C
Check Point Blog
The Cloudflare Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Fortinet All Blogs
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
V
Visual Studio Blog
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 聂微东
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: allow Gemini CLI file edits · openclaw/openclaw@b2f7d9e
shakkernerd · 2026-06-17 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -478,9 +478,19 @@ export function buildGoogleGeminiCliBackend(): CliBackendPlugin {

478478

),

479479

config: {

480480

command: "gemini",

481-

args: ["--skip-trust", "--output-format", "stream-json", "--prompt", "{prompt}"],

481+

args: [

482+

"--skip-trust",

483+

"--approval-mode",

484+

"auto_edit",

485+

"--output-format",

486+

"stream-json",

487+

"--prompt",

488+

"{prompt}",

489+

],

482490

resumeArgs: [

483491

"--skip-trust",

492+

"--approval-mode",

493+

"auto_edit",

484494

"--resume",

485495

"{sessionId}",

486496

"--output-format",

Original file line numberDiff line numberDiff line change

@@ -382,9 +382,19 @@ beforeEach(() => {

382382

normalizeConfig: normalizeTestGeminiBackendConfig,

383383

config: {

384384

command: "gemini",

385-

args: ["--skip-trust", "--output-format", "stream-json", "--prompt", "{prompt}"],

385+

args: [

386+

"--skip-trust",

387+

"--approval-mode",

388+

"auto_edit",

389+

"--output-format",

390+

"stream-json",

391+

"--prompt",

392+

"{prompt}",

393+

],

386394

resumeArgs: [

387395

"--skip-trust",

396+

"--approval-mode",

397+

"auto_edit",

388398

"--resume",

389399

"{sessionId}",

390400

"--output-format",

@@ -983,13 +993,17 @@ describe("resolveCliBackendConfig google-gemini-cli defaults", () => {

983993

expect(resolved?.prepareExecution).toBeTypeOf("function");

984994

expect(resolved?.config.args).toEqual([

985995

"--skip-trust",

996+

"--approval-mode",

997+

"auto_edit",

986998

"--output-format",

987999

"stream-json",

9881000

"--prompt",

9891001

"{prompt}",

9901002

]);

9911003

expect(resolved?.config.resumeArgs).toEqual([

9921004

"--skip-trust",

1005+

"--approval-mode",

1006+

"auto_edit",

9931007

"--resume",

9941008

"{sessionId}",

9951009

"--output-format",

Original file line numberDiff line numberDiff line change

@@ -124,7 +124,15 @@ function buildPreparedCliRunContext(params: {

124124

if (params.provider === "google-gemini-cli") {

125125

return {

126126

command: "gemini",

127-

args: ["--skip-trust", "--output-format", "stream-json", "--prompt", "{prompt}"],

127+

args: [

128+

"--skip-trust",

129+

"--approval-mode",

130+

"auto_edit",

131+

"--output-format",

132+

"stream-json",

133+

"--prompt",

134+

"{prompt}",

135+

],

128136

output: "jsonl" as const,

129137

jsonlDialect: "gemini-stream-json" as const,

130138

input: "arg" as const,