Skip to content

Feature request: cross-platform sync search #105

@ameet

Description

@ameet

Problem

one sync search only queries FTS5 within a single platform's SQLite database. When trying to find themes or entities across multiple synced platforms (e.g., searching for a company name across email, CRM, and calendar data), you have to run separate queries against each platform and manually combine results.

Current workaround

Run separate searches per platform and manually merge:

one --agent sync search "topic" --limit 20          # searches default platform
one --agent sync sql gmail "SELECT ... WHERE ..."    # search gmail specifically
one --agent sync sql attio "SELECT ... WHERE ..."    # search attio specifically

This is slow and requires knowing which platforms might have relevant data.

Proposed solution

A unified search mode that queries all synced platforms and returns ranked results:

one --agent sync search "topic" --all

This would:

  1. Query FTS5 indexes across all synced platform databases
  2. Return results tagged with their source platform and model
  3. Rank by relevance across the unified result set

The data is already local SQLite with FTS5 indexes — the implementation would be querying each DB and merging results.

Use cases

  • Finding all references to a company across email, CRM, and calendar
  • Searching for a topic across all data sources for research or analysis
  • Entity resolution — finding where a person or company appears across platforms

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions