Elffuss BraidHub

kikocis/continue public

main · 3.5 KiBSourceRawPermalink

Storage Sync Flow for cn serve

Overview

The --id <storageId> flag enables the cn serve command to periodically persist session state to an external Continue-managed storage bucket. On startup, the CLI exchanges the provided storageId for two pre-signed S3 URLs - one for session.json and one for diff.txt - and then pushes fresh copies of those files every 30 seconds.

This document captures the responsibilities for both the CLI and backend components so we can iterate on the feature together.

CLI Responsibilities

Backend Responsibilities

Open Questions & Future Enhancements


This document should evolve alongside implementation details; update it whenever the API contract or client behavior changes.