Skip to content

feat(agent): add Antigravity CLI preset and transcript support - #57

Open
Kyuzan0 wants to merge 1 commit into
enowdev:mainfrom
Kyuzan0:feat/antigravity-continue-and-fluent-theme
Open

Kyuzan0 wants to merge 1 commit into
enowdev:mainfrom
Kyuzan0:feat/antigravity-continue-and-fluent-theme

Conversation

@Kyuzan0

@Kyuzan0 Kyuzan0 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds first-class preset support and transcript reading for Google Deepmind's Antigravity agent CLI:

  • Preset configuration: Added Continue: []string{--continue} and Resume: []string{--conversation} to core/agent/presets.go.
  • Transcript Parser: Added AntigravityFiles reader discovering matching workspace sessions via history.jsonl in core/transcript/antigravity.go with full test coverage (removed fallback directory scanning).
  • Session Continue Fallback: Narrowed continue restore fallback strictly to r.Agent == antigravity in daemon/persist.go.
  • Documentation: Updated docs/agents.md preset reference table.

Note: Per review feedback, this PR has been narrowed strictly to Antigravity CLI preset & transcript support. The Windows 11 Fluent theme, Window caption controls toggle, and Shortcuts manager have been split into separate PRs.

Verification

  • Passed go test ./core/agent ./core/transcript
  • Tested on Windows AMD64

@enowdev enowdev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this, there's a lot of good work here. It bundles four unrelated changes, though, and two of them change behaviour for everyone, so could you split it into separate PRs: the Antigravity preset, the Fluent style, the window controls switch, and the shortcuts manager? Here's what we'd need in each.

Antigravity preset

  • The preset itself (--continue / --conversation, core/agent/presets.go:190-191) looks good.
  • In AntigravityFiles, please drop the fallback that scans all of brain/ (core/transcript/antigravity.go:51-67). It returns other projects' conversations, so a session can show the wrong chat. Only return conversations whose workspace matches the session's folder.
  • Please keep the continue fix narrow. comesBack (daemon/session_wake.go:80), restore (daemon/persist.go:269-274) and resumeSessionIn (daemon/persist.go:443-448) now relaunch every agent with a continue flag. If the problem is Antigravity sessions created before the preset had --continue, a targeted fix for those would be safer.
  • We'd rather not have enowx continue without an ID pick a session by itself (cli/control.go:235-251). Agents call this command too.
  • core/recovery isn't used anywhere, and its session IDs are UUIDs (core/recovery/engine.go:57) while ours aren't. Please leave it out: killing a process by a stored PID (core/recovery/engine.go:126) and rewriting an agent's transcript (core/recovery/compact.go:73-117) are things we'd want to design together first.
  • The docs/proposals files are about OMP and not in English; please drop them.

Windows 11 style

  • Please keep widget.Button/Input/SearchField/Trigger on their current radius for the existing styles (ui/widget/controls.go). Moving them to RadiusControl turns every pill into a 16 px rounded rectangle in the default style (ui/theme/style.go:46).
  • The same goes for the inset border on secondary buttons where Rule > 0.
  • Let the Windows 11 style carry its own values instead of Well checking the style ID "windows-11".
  • The CSS-variable generator and ToMap aren't used (ui/theme/fluent_tokens.go:173-267); please remove them.

Window controls

  • Fine as is apart from gofmt on ui/windowbuttons.go and ui/windowbuttons_test.go.

Shortcuts manager

  • Please require a modifier, so a bare letter can't be bound and take typing (ParseKey, ui/shortcuts.go:190-246).
  • Refuse conflicts rather than only warning about them (setShortcutKey, ui/shortcuts.go:384-400), and include keys the terminal needs (Ctrl+C on Windows and Linux).
  • Keep the floating control and Cmd-click rows in Settings' shortcut list; they were dropped with shortcutList.
  • Ask before "Reset all to defaults".
  • The macOS CI failure is staticcheck SA4006 at ui/shortcuts_test.go:130.

Each new feature should also have a short entry in the docs (agents, settings). Happy to review each part as it comes in.

- Add Continue (--continue) and Resume (--conversation) flags to Antigravity preset
- Add Antigravity transcript reader and test coverage
- Add targeted continue restore fallback for Antigravity sessions
- Update docs/agents.md reference table
@Kyuzan0
Kyuzan0 force-pushed the feat/antigravity-continue-and-fluent-theme branch from ac44a03 to 3f12ad6 Compare November 17, 2026 10:38
@Kyuzan0 Kyuzan0 changed the title feat: add Antigravity preset & session continue recovery, Windows 11 Fluent theme, and shortcuts manager feat(agent): add Antigravity CLI preset and transcript support Nov 17, 2026
@Kyuzan0

Kyuzan0 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Hi @enowdev,

As requested in the review, I have split the changes into 4 clean, focused PRs addressing all the review points:

  1. feat(agent): add Antigravity CLI preset and transcript support #57 (This PR): Narrowed strictly to Antigravity CLI Preset & Transcript Reader (dropped directory scanning fallback in AntigravityFiles, narrowed continue fallback strictly to r.Agent == "antigravity", removed unused proposals/commands, and updated documentation).
  2. feat(ui): add Windows 11 Fluent theme and style #64: Windows 11 Fluent Theme & Style (retained pill button/input shape by leaving controls.go untouched, secondary button inset border preserved, updated documentation).
  3. feat(ui): add Windows-style window controls caption buttons and setting #65: Windows Window Controls Switch (native caption buttons with appearance setting toggle, full test coverage, formatted with gofmt).
  4. feat(ui): add customizable keyboard shortcuts manager and dialog #66: Customizable Shortcuts Manager (enforces modifiers in ParseKey, protects reserved terminal keys like Ctrl+C, retains informational rows in settings, adds reset confirmation dialog, and fixed staticcheck SA4006).

Thank you for the guidance and review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants