Obsidian-Vertex Sync Script

🎯 Strategic Intent

Declaratively enforce the Vertex AI Search integration (The Brain) on the Obsidian extension environment.

🛠️ Implementation / Logic

  • Target: ~/.gemini/extensions/gemini-obsidian
  • Methodology:
    1. Validates presence of VertexIndexer to prevent redundant patches.
    2. Injects environment variables for GCP project and Vertex Data Store.
    3. Restores build tools and injects source overlays for index.ts and vertex.ts.
    4. Triggers a clean build of the extension.

Source: sync-obsidian-vertex.sh.md