Skip to content

Chat history only saved to either Folder or Workspace #123

Description

@AFT-syd

I have been struggling with seeing all my chat history, and i have identified that it treats a folder, and a workspace in the same folder as to different sessions.

I would like it to handle these as one instead of two.
Currently it seems to work like this:
The extension uses workspace-specific storage (context.storageUri), not global storage. When you:
Open a folder directly: Chat history is saved to that folder's workspace storage
Open as a workspace file (.code-workspace): VS Code treats this as a different workspace context, so it can't access the original folder's storage.
The storage is attached to the specific workspace context, not the physical folder location. This is why switching between folder and workspace views loses the history - they're treated as separate workspace identities by VS Code.

I suggest to commit to either file structure, and if need to create a folder link in the opposite folder, or similar easy fix, to allways have a valid folder session and workspace session, that ultimate link is or link to the same files.

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