Skip to content

mcptail clear — prune recorded sessions #12

Description

@Neal006

Sessions accumulate forever in ~/.mcptail/sessions/. Add mcptail clear (delete all) and mcptail clear --older-than 7d.

Where: new command in src/cli.ts, helper in src/store.ts, tests in tests/store.test.ts.

Done when: both forms work with a summary printed ('removed 12 sessions, 3.2 MB'), and never touch files outside the sessions root.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions