Skip to content

Add PostgreSQL support for session persistence #155

Merged
RyanNg1403 merged 3 commits intomainfrom
feat/seamless_sessions
Aug 1, 2025
Merged

Add PostgreSQL support for session persistence #155
RyanNg1403 merged 3 commits intomainfrom
feat/seamless_sessions

Conversation

@namanhoxcam
Copy link
Contributor

  1. Start using sessions immediately - Cipher creates a default
    session automatically
  2. Create your first named session - /session new my-project
  3. Switch between sessions - /session switch
  4. List your sessions anytime - /session list

…nagement features

- Introduced `pnpm-workspace.yaml` to ignore specific built dependencies.
- Updated `README.md` with PostgreSQL configuration details for chat history persistence.
- Enhanced shutdown hooks in `index.ts` to ensure session persistence across all modes.
- Added commands for loading and saving session history in `parser.ts`.
- Implemented session serialization and deserialization in `coversation-session.ts` for persistent storage.
- Updated `session-manager.ts` to manage session persistence with PostgreSQL and SQLite backends.
- Added error handling and logging improvements throughout the session management process.
@RyanNg1403 RyanNg1403 merged commit 7abe5c1 into main Aug 1, 2025
5 checks passed
@RyanNg1403 RyanNg1403 deleted the feat/seamless_sessions branch August 1, 2025 04:45
@RyanNg1403 RyanNg1403 mentioned this pull request Aug 6, 2025
Ptah-CT pushed a commit to DerAuctor/ct-cipher that referenced this pull request Oct 2, 2025
Add PostgreSQL support for session persistence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants