Skip to content

feat: agentstudio module add memory stores and memories - #210

Merged
luk384090-cloud merged 1 commit into
mainfrom
dev/agentstudio-memory
Oct 16, 2026
Merged

luk384090-cloud merged 1 commit into
mainfrom
dev/agentstudio-memory

Conversation

@foleydang

@foleydang foleydang commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Add the memory resource family mirroring the Claude Managed Agents client.beta.memory_stores surface (bailian-app-control MemoryStoreController API):

  • MemoryStores CRUD + archive, nested memories (create/list/retrieve/ update/delete with optimistic lock) and memory_versions (list/retrieve/redact), sync + async
  • Memories/MemoryStore/MemoryVersion models; params with dotted wire keys (created_at.gte); typed ConflictError 409 codes preserved on the unified status-based exception hierarchy
  • CursorPage gains a forward-compat extra bag (build_page preserves unknown envelope keys for every list resource) and a typed prefixes property; depth >= 2 is derived client-side from the flat listing

Related Issue: None
Security Considerations: None

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactoring

Component(s) Affected

  • Model
  • Application
  • Common
  • Documentation
  • Tests
  • CI/CD

Checklist

  • Pre-commit hooks pass
  • Tests pass locally
  • Documentation updated (if needed)
  • Ready for review

Testing

Pass

Additional Notes

None

Add the memory resource family mirroring the Claude Managed Agents
client.beta.memory_stores surface (bailian-app-control
MemoryStoreController API):

- MemoryStores CRUD + archive, nested memories (create/list/retrieve/
  update/delete with optimistic lock) and memory_versions
  (list/retrieve/redact), sync + async
- Memories/MemoryStore/MemoryVersion models; params with dotted wire
  keys (created_at.gte); typed ConflictError 409 codes preserved on
  the unified status-based exception hierarchy
- CursorPage gains a forward-compat extra bag (build_page preserves
  unknown envelope keys for every list resource) and a typed
  prefixes property; depth >= 2 is derived client-side from the flat
  listing (the backend only implements depth 0/1)
- SessionResource gains the memory_store fields (memory_store_id,
  access, instructions); sample and 24 unit tests

Co-Authored-By: Claude Code <noreply@anthropic.com>
@foleydang foleydang changed the title feat: agentstudio module add memory stores, memories and memory versions feat: agentstudio module add memory stores and memories Oct 16, 2026
@luk384090-cloud
luk384090-cloud merged commit 85a08cf into main Oct 16, 2026
6 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.

2 participants