Skip to content

refactor: migrate runtime thread state into sessions storage#165

Merged
LIU9293 merged 2 commits intomainfrom
feat/session-storage-migration-177218
Feb 27, 2026
Merged

refactor: migrate runtime thread state into sessions storage#165
LIU9293 merged 2 commits intomainfrom
feat/session-storage-migration-177218

Conversation

@LIU9293
Copy link
Copy Markdown
Contributor

@LIU9293 LIU9293 commented Feb 27, 2026

Summary

  • move thread activity tracking and pending restart message persistence from settings.json to ~/.config/ode/sessions
  • expose session-centric helpers directly from packages/config/local/sessions.ts and update all runtime/agent imports to use them
  • remove the legacy packages/config/local/settings.ts flow and stop re-exporting it from packages/config/local/index.ts

Validation

  • bun install
  • bun test packages/core/test/message-dedup.test.ts packages/core/test/session-retention.test.ts packages/core/test/recovery.test.ts
  • bun test packages/ims/shared/incoming-message-processor.test.ts
  • bun test packages/agents/test/cli-command.test.ts
  • bun test packages/ims/slack/message-router.test.ts

Store active thread tracking and pending restart messages under the sessions directory, and remove the legacy settings.json runtime flow to unify persistence.
@Gnoll Gnoll force-pushed the feat/session-storage-migration-177218 branch from bd1589f to 5c1a82e Compare February 27, 2026 11:51
@LIU9293 LIU9293 merged commit aa77f40 into main Feb 27, 2026
2 checks passed
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.

1 participant