picoclaw/pkg/memory
xiaoen 903681207b feat(memory): support migration from legacy JSON sessions
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.
2026-02-26 08:35:05 +08:00
..
jsonl.go feat(memory): implement append-only JSONL session store 2026-02-26 08:35:04 +08:00
jsonl_test.go test(memory): add unit, concurrency, and benchmark tests 2026-02-26 08:35:04 +08:00
migration.go feat(memory): support migration from legacy JSON sessions 2026-02-26 08:35:05 +08:00
migration_test.go feat(memory): support migration from legacy JSON sessions 2026-02-26 08:35:05 +08:00
store.go feat(memory): define Store interface for session persistence 2026-02-26 08:35:04 +08:00