Skip to content

Add Chat 4.23 state adapter support#3

Closed
dmmulroy wants to merge 1 commit into
dcartertwo:mainfrom
dmmulroy:feat/chat-4-23-state-adapter
Closed

Add Chat 4.23 state adapter support#3
dmmulroy wants to merge 1 commit into
dcartertwo:mainfrom
dmmulroy:feat/chat-4-23-state-adapter

Conversation

@dmmulroy

Copy link
Copy Markdown

Summary

  • add Chat SDK 4.23 state adapter support for force-release, queue, and list-backed history APIs
  • implement Durable Object storage support for queues/lists and align queue-full behavior with Chat docs (drop oldest)
  • tighten stored JSON parsing, update sharding/docs, and ignore local .pi state

Validation

  • npm test
  • npm run typecheck
  • npm run build

dcartertwo added a commit that referenced this pull request Apr 16, 2026
- add parseStoredJson helper for descriptive JSON parse errors
- extract DO cache private helpers (readCacheValue, deleteExpiredCacheValue, upsertCacheValue)
- update README to document queue, list, and force-release features
- add .pi/ to .gitignore
@dcartertwo dcartertwo closed this Apr 16, 2026
dcartertwo added a commit that referenced this pull request Apr 16, 2026
refactor: cherry-pick improvements from PR #3
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