Skip to content

feat: add Antigravity preset & session continue recovery, Windows 11 Fluent theme, and shortcuts manager - #57

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

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

Conversation

@Kyuzan0

@Kyuzan0 Kyuzan0 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

  1. Antigravity CLI Agent & Resilient Session Recovery:

    • Added first-class preset support for Antigravity CLI (agy) with --prompt-interactive, --dangerously-skip-permissions, --continue, and --conversation.
    • Added conversation transcript parser for Antigravity (transcript.jsonl and transcript_full.jsonl).
    • Implemented atomic checkpoint recovery mechanism and session restart persistence in daemon (core/recovery/checkpoint.go, daemon/persist.go).
  2. Windows 11 Fluent Design System Theme:

    • Implemented Fluent Design tokens, Mica/Acrylic translucency properties, standardized corner radii (4px/8px/12px), and layered elevation shadows.
    • Added high-contrast WCAG AA compliant color palettes for both light and dark modes.
  3. Window Control Styling & Shortcuts Reference:

    • Added user setting under Settings > Appearance to toggle between native Windows style window buttons and macOS traffic light style.
    • Added interactive keyboard shortcuts manager sheet allowing users to view, customize, disable, or reset key combinations.

Verification

  • Tested via go test ./core/... ./daemon/... ./ui/... with 100% pass rate.
  • Verified Windows 11 AMD64 build output using MyGo.

Support Antigravity CLI (agy) as a first-class agent preset with interactive prompt flags, permission bypass, continue, and conversation resume. Add Antigravity transcript reader and resilient session recovery handling.
…anager

Implement Windows 11 Fluent Design System theme tokens, palette, and styling. Add window control buttons style toggle (Windows/macOS style) in Appearance settings. Add keyboard shortcuts manager dialog for customizable shortcuts.
Position window control style card below appearance mode and accent picker to prevent segmented control label overflow in 1200x720 resolution. Prevent new sessions from erroneously inheriting older transcript files from other sessions in the same directory.

@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.

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