Read existing sessions/*.json files, convert to JSONL format, and rename originals to .json.migrated as backup. The migration is idempotent — second runs skip already-migrated files. Session keys are read from JSON content (not filenames) so that sanitized names like telegram_123 correctly map back to telegram:123. |
||
|---|---|---|
| .. | ||
| jsonl.go | ||
| jsonl_test.go | ||
| migration.go | ||
| migration_test.go | ||
| store.go | ||