Skip to content

Cleanup old conversation history #21

@abodeuis

Description

@abodeuis

Opencode stores conversation history in ~/.local/share/opencode/storage/ each session is a directory and each message from that session is a separate .json file. We will want to have a cleanup script that deletes sessions that are older then 30 days (probably configurable) so that this doesn't take a significant amount of inodes over time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions