Skip to content

feat(sessions): global session index + sessions --all #439

Closed

Description

@ajianaz

Problem

Sessions live per-cwd (.tole/sessions/). On a multi-project machine there is
no way to answer "which project was that session in?" — tole sessions only
sees the current directory. You must remember the cwd to resume.

Proposal

  • A lightweight global index (append-only JSONL under XDG data dir,
    e.g. ~/.local/share/tole/sessions-index.jsonl): session id → cwd, created_at,
    first-prompt preview, final status
  • tole sessions --all lists across projects, newest first
  • tole resume <id> resolves ids through the index (cwd-independent resume)
  • optional tole sessions --grep <text> searching first-prompt previews

Index writes must stay crash-safe (same append-only discipline as session
files). No daemon, no lockfiles.

Activity

  1. added
    enhancement
    on Oct 26, 2026
  2. added this to the milestone on Oct 27, 2026
  3. modified the milestones: , 0.9.0 on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions