agy --conversation <id>
通过 ID 直接加载指定对话,不打开选择对话框。
agy --conversation <id> 会根据唯一 ID 加载一个具体的已保存对话,跳过交互式的 /resume 选择对话框。可与 -p 组合使用,以非交互方式继续该对话;自 1.0.9 版本起,这种组合模式只会输出新生成的回复,而不再输出完整的历史记录。
✅ 什么时候用?
回到一个已知的具体对话 ID
agy --conversation 7f3a2b1c
非交互式地继续指定对话
agy --conversation 7f3a2b1c -p "总结一下"
⛔ 什么时候不该用?
不知道确切的对话 ID
--conversation 需要精确的 ID,该标志不支持模糊搜索。
更好的选择: 在运行中的 agy 里使用 /resume 来浏览并选择对话
来源
- Antigravity CLI Doku: /resume ↗ antigravity.google
- Antigravity CLI CHANGELOG (GitHub) ↗ raw.githubusercontent.com