[BUG] "Past Conversations" Button Permanently Disabled

Product: Antigravity (VSCode fork by Google) Affected Versions: 1.19.6 (app 1.107.0), 1.20.5 Platform: Windows 11 Pro (10.0.26200) Date: 2026-03-12


Summary

The “Past Conversations” button in the Gemini chat panel is permanently disabled (greyed out, cursor-not-allowed, opacity-50). Conversations are saved to disk as .pb files under ~/.gemini/antigravity/conversations/, but the trajectorySummariesProvider Zustand store never gets populated, leaving the button disabled.

Additionally, the / slash command list shows “No matching results” in version 1.20.5 (not reproducible in 1.19.6).

Version-Specific Behavior

Feature 1.19.6 1.20.5
Chat (conversation execution) Works Works
Past Conversations button Disabled Disabled
/ slash commands Works “No matching results”
Conversation .pb files written Yes Yes

Due to the / command regression in 1.20.5, testing was primarily done on 1.19.6.

Root Cause Analysis

Data Flow (Expected)

LS (language_server_windows_x64.exe)
  → GetAllCascadeTrajectories RPC
  → extension host (extension.js)
  → workbench (workbench.desktop.main.js)
  → trajectorySummariesProvider._setStateFromSync(data)
  → UI reads Object.keys(store.summaries).length > 0
  → button enabled/disabled

What Actually Happens

  1. LS starts normally: Discovery file confirms LS version 1.19.4 (bundled with app 1.19.6).

  2. trajectorySummariesProvider is initialized empty:

    // workbench.desktop.main.js
    this.trajectorySummariesProvider = this.D(new pB({summaries: {}}, () => {}))
    
    
  3. Sync mechanism exists but never fires:

    this.D(Ri(s => {
      const r = e.read(s), o = i(r);
      n._setStateFromSync(o)  // ← never called
    }));
    this.trajectorySummariesProvider = n;
    
    

    The reactive signal e never produces data, so _setStateFromSync is never invoked.

  4. Button stays disabled:

    // hasPastConversations check (1.19.x: kWc, 1.20.x: Muu)
    h = Object.keys(d.summaries).length > 0  // always false
    
    
  5. Conversation files exist on disk at ~/.gemini/antigravity/conversations/*.pb but are never read back into the UI’s trajectory summaries store.

Key Evidence

  • [AG-PATCH] confirmed that calling _setStateFromSync({summaries: {...}}) on the FINAL provider reference (after the second assignment) correctly enables the button and populates the picker.

  • The first trajectorySummariesProvider assignment is overwritten by a second one — only the second reference is live.

  • The .pb files are protobuf-encoded and cannot be read without the schema.

  • The getDiagnostics command (per open-source SDK analysis) should return recentTrajectories[].summary with human-readable titles, but this data never reaches the workbench store.

Additional Error (1.20.5 only)

Console shows repeated errors on startup:

[createInstance] wre depends on UNKNOWN service agentSessions.

This agentSessions service is missing, which may explain the / command and other agent-related feature failures in 1.20.5.

Steps to Reproduce

  1. Clean install Antigravity 1.19.6 or 1.20.5 on Windows 11

  2. Sign in with Google account

  3. Open Gemini chat panel, start a conversation

  4. Close the conversation

  5. Observe: “Past Conversations” button (clock icon) is greyed out

  6. Check ~/.gemini/antigravity/conversations/.pb files exist

Expected Behavior

The “Past Conversations” button should be enabled after at least one conversation exists, showing a picker with conversation summaries.

Workaround

A PowerShell patch script is available on Gist and as an attachment (ag-patch-conversations.ps1) that:

  1. PATCH 1: Forces hasPastConversations = true by appending ||!0 to the length check

  2. PATCH 2: Forces the selector function (kWc in 1.19.x, Muu in 1.20.x) to return true

  3. PATCH 3: Injects an IIFE after the final trajectorySummariesProvider assignment that populates the store with conversation IDs read from the .pb filenames on disk

The script supports both 1.19.x and 1.20.x pattern variants.

Limitations:

  • Conversation titles are not available (shows truncated UUID + file size instead) because protobuf decoding would require the schema

  • Must be re-run after creating new conversations (renderer process cannot access filesystem)

  • Patch is lost on app update/reinstall

Usage

# Apply patch
powershell -ExecutionPolicy Bypass -File ag-patch-conversations.ps1

# Restore original
powershell -ExecutionPolicy Bypass -File ag-patch-conversations.ps1 -Restore

Suggested Fix Areas

  1. Primary: Investigate why the reactive signal feeding _setStateFromSync on the trajectorySummariesProvider never fires. The LS’s GetAllCascadeTrajectories RPC (protobuf message 135/136) should return conversation data.

  2. Secondary: The getDiagnostics command’s recentTrajectories array (confirmed by SDK analysis) contains summaries with titles — this data should feed the store.

  3. 1.20.5 specific: The missing agentSessions service ([createInstance] wre depends on UNKNOWN service agentSessions) likely causes the / command and other agent features to fail.

Hello @San0304 ,

Thanks for addressing this issue. Please update to the latest version 1.20.6 and verify if the “Past Conversations” clock icon is now enabled and slash commands (workflows) are working. Please let us know if the issue still persists