feat: update session manager docs#581
feat: update session manager docs#581JackYPCOnline wants to merge 2 commits intostrands-agents:mainfrom
Conversation
Documentation Deployment CompleteYour documentation preview has been successfully deployed! Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-581/ |
Documentation Deployment CompleteYour documentation preview has been successfully deployed! Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-581/ |
| @@ -228,76 +350,108 @@ Here's a sample IAM policy that grants these permissions for a specific bucket: | |||
|
|
|||
There was a problem hiding this comment.
Issue: The original Python documentation included a "2. Data Models" subsection that documented the Session, SessionAgent, SessionMessage models and "Multi-Agent State" with links to the API reference. This content appears to have been removed when adding the TypeScript tabs.
Suggestion: Add a second subsection under the Python tab to preserve this documentation. Something like:
### 2. Data Models
Session data is stored using these key data models:
**Session**
The [`Session`](../../../api-reference/python/types/session.md#strands.types.session.Session) model is the top-level container...
(rest of the original content)This is important reference material for Python users understanding the session internals.
|
Assessment: Comment This is excellent documentation work that adds comprehensive TypeScript SDK coverage for session management. The snapshot-based model is well-explained with clear examples for Review Summary
The TypeScript-specific additions (snapshot types, persistence triggers table, |
Description
Updates the Session Management documentation page to add full TypeScript SDK coverage alongside the existing Python content.
The TypeScript SDK uses a different, snapshot-based session model compared to Python's message-level persistence. This PR documents that model so TypeScript users have a complete reference.
Key changes:
ts_not_supportedbanner — session management is now supported in the TypeScript SDKFileStorage,S3Storage, storage directory/key structures, and how session management workssnapshot_latestvs immutable history,saveLatestOnstrategy table,snapshotTriggercallback with allSnapshotTriggerParamsfields, andloadSnapshotIdfor restoring from a specific snapshotSnapshotStorageinterfaces3Clientvsregionconfig optionsPython content is unchanged.
Related Issues
Type of Change
Checklist
mkdocs serveBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.