Skip to content

[feature]: WSL dual-install support for Claude Code with per-install cursors (PR 4) #307

Description

@xMinhx

What problem does this solve?

We need to support WSL dual-install path resolution and token count aggregation for Claude Code. Because Claude Code uses JSON file structures rather than a single database, it requires unique per-install cursors and file-hash-based deduplication to prevent double-counting of sessions that are synced between the native Windows host and WSL.

Proposed solution

  • Wire Claude Code through the resolveInstallPaths pattern for native/WSL discovery.
  • Implement isolated per-install cursors (native and wsl namespaces) to track independent sync histories.
  • Implement file-hash-based deduplication (hash dedup) to ensure that identical session files present in both environments are only parsed once.
  • Support aggregation under both mode.
  • Update tracker status and self-diagnostics checks.

Category

New AI tool integration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions