Persist sessions to external storage changedagent-sdk/session-storage
Upstream edited this page at 29 Nov 2026 00:02 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 29 Nov 2026 00:07 UTC.
Upstream edited
Recorded here
Lines+8added
Lines−1removed
From line
202
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits15to this page, all time
The whole hunk
from line 202, old and new numbered
/
from line 202
202202import { S3Client } from "@aws-sdk/client-s3";
203203import { S3SessionStore } from "./S3SessionStore"; // copied from examples/session-stores/s3
204204
205const bucket = process.env.TRANSCRIPT_BUCKET;
206if (!bucket) {
207 throw new Error(
208 "Set the TRANSCRIPT_BUCKET environment variable to the name of an S3 bucket your AWS account owns"
209 );
210}
211
205212const store = new S3SessionStore({
206 bucket: "my-claude-sessions",
213 bucket,
207214 prefix: "transcripts",
208215 client: new S3Client({ region: "us-east-1" }),
209216});
No line in this hunk matches that.