Antigravity Agent 09-2026:发布了 antigravity-preview-09-2026,它取代并弃用了 antigravity-preview-05-2026。如果你在远程沙盒(environment: "remote")上运行,并且只读取 output_text 或 model_output 步骤,那么更新 agent 字符串即可,其他什么都不变。如果你在本地运行工具(local_environment)或解析 function_call 步骤,那么内置工具发生了变化。参数使用 PascalCase 而不是 snake_case,文件编辑使用行范围替换而不是完整重写。能力 05-2026 09-2026 文件创建 write_file(path, content) write_to_file(TargetFile, CodeContent, Overwrite, Description) 文件编辑 write_file(path, content),完整重写 replace_file_content(TargetFile, StartLine, EndLine, TargetContent, ReplacementContent) 文件读取 read_file(path, offset, limit),字节偏移 view_file(AbsolutePath, StartLine, EndLine, ContentOffset) 目录列表 list_files(path) list_dir(DirectoryPath) 文件和代码搜索 无,agents 使用 shell 命令 find_by_name(SearchDirectory, Pattern, MaxDepth) 和 grep_search(SearchPath, Query, IsRegex) Shell 执行 code_execution(command, timeout_seconds) 未变 网络搜索 google_search(queries) 未变 参见 Antigravity Agent 指南。antigravity-preview-05-2026 将于 2026 年 10 月 5 日关闭,跟踪在弃用页面上。
Antigravity Agent 09-2026: Released antigravity-preview-09-2026, which replaces and deprecates antigravity-preview-05-2026. If you run on a remote sandbox (environment: "remote") and read only output_text or model_output steps, update the agent string and nothing else changes. If you run tools locally (local_environment) or parse function_call steps, the built-in tools changed. Parameters use PascalCase instead of snake_case, and file edits use line-range replacements instead of full rewrites. Capability 05-2026 09-2026 File creation write_file(path, content) write_to_file(TargetFile, CodeContent, Overwrite, Description) File editing write_file(path, content), full rewrite replace_file_content(TargetFile, StartLine, EndLine, TargetContent, ReplacementContent) File reading read_file(path, offset, limit), byte offsets view_file(AbsolutePath, StartLine, EndLine, ContentOffset) Directory listing list_files(path) list_dir(DirectoryPath) File and code search None, agents used shell commands find_by_name(SearchDirectory, Pattern, MaxDepth) and grep_search(SearchPath, Query, IsRegex) Shell execution code_execution(command, timeout_seconds) Unchanged Web search google_search(queries) Unchanged See the Antigravity Agent guide. antigravity-preview-05-2026 shuts down on October 5, 2026, tracked on the deprecations page.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文