mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 12:04:11 +00:00
feat(extensions): add antigravity-image-gen example for image generation (#893)
Adds a new extension that generates images via Google Antigravity's image models (gemini-3-pro-image, imagen-3). Features: - Returns images as tool result attachments for inline terminal rendering - Configurable save modes: none, project, global, custom - Supports env vars (PI_IMAGE_SAVE_MODE, PI_IMAGE_SAVE_DIR) and config files - Configurable aspect ratios (1:1, 16:9, etc.) Requires OAuth login via /login for google-antigravity provider.
This commit is contained in:
parent
b712d1ca43
commit
f39ec4d772
2 changed files with 414 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ cp permission-gate.ts ~/.pi/agent/extensions/
|
|||
| `questionnaire.ts` | Multi-question input with tab bar navigation between questions |
|
||||
| `tool-override.ts` | Override built-in tools (e.g., add logging/access control to `read`) |
|
||||
| `truncated-tool.ts` | Wraps ripgrep with proper output truncation (50KB/2000 lines) |
|
||||
| `antigravity-image-gen.ts` | Generate images via Google Antigravity with optional save-to-disk modes |
|
||||
| `ssh.ts` | Delegate all tools to a remote machine via SSH using pluggable operations |
|
||||
| `subagent/` | Delegate tasks to specialized subagents with isolated context windows |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue