Skip to content

[FEATURE]: Factory reset, session management, and cache cleanup tools #25816

Closed as not planned

Description

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

A set of session and data management tools to give users more control over their local data.

1. Factory Reset / Reset to Initial State
Add an option to reset OpenCode to its initial installation state, clearing all configuration, cached data, sessions, and user data. Useful for troubleshooting, preparing for reinstall, or ensuring a complete cleanup before handing off a machine.

2. Bulk Session Management

3. Local Cache Cleanup
A command or option to clear locally cached data (model lists, provider responses, etc.) without affecting session history or configuration. Useful when cache becomes stale or takes up too much space.


About the duplicate flag: This request covers THREE features (factory reset, bulk session management, cache cleanup). #21619 covers only individual/conversation deletion. #8677 covers only a /delete command for the current session. Neither covers factory reset or cache cleanup, which are the primary requests here.

Activity

  1. github-actions commented on May 5, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    You may want to consolidate or reference these issues to avoid duplicated effort.

  2. the-nurk commented on Jun 6, 2026

    @the-nurk

    :)

  3. rekram1-node commented on Jun 22, 2026

    @rekram1-node
    Contributor

    STOP SPAMMING ISSUES.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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