Skip to content

docs(sdk): document account.delete() trash-by-default behavior - #1060

Open
jiashuoz wants to merge 1 commit into
mainfrom
claude/relaxed-cerf-xjllhj
Open

jiashuoz wants to merge 1 commit into
mainfrom
claude/relaxed-cerf-xjllhj

Conversation

@jiashuoz

Copy link
Copy Markdown
Member

Summary

  • sdks/typescript/README.md and sdks/python/README.md: the "Trash and restore" sections documented agent- and message-level trash but never mentioned that account.delete() / client.account.delete() also moves the account to the trash by default (with a permanent option for the old immediate-erase behavior), even though this is already implemented and documented everywhere else — both SDKs' CHANGELOG.md (## Unreleased → ### Breaking), the delete() docstrings/JSDoc in sdks/typescript/src/v1/client.ts and sdks/python/src/e2a/v1/client.py, docs/api.md, root README.md, and cli/README.md (from feat(account): 30-day soft deletion, identity tombstones, abuse-evidence summaries #1043, "30-day soft deletion, identity tombstones, abuse-evidence summaries"). Added a matching paragraph + example to each README's "Trash and restore" section, mirroring the existing wording/tone used for agent- and message-level trash.

Per step 0 of this run's audit, I checked for prior unmerged doc work first: open PR #1037 already covers the protection-config JSON schema example and the AGENTS.md delegated package mention, and several stale unmerged claude/relaxed-cerf-* branches already attempted (now-outdated) MCP tool-count fixes and other items — none of that is touched here to avoid duplicating it. This PR covers a new, verified gap not addressed by any of that prior work.

Test plan

  • Read-only Markdown change; verified against current source (client.ts/client.py delete() implementations, both CHANGELOG.md files, docs/api.md, cli/README.md) rather than run — no build/test surface affected.

🤖 Generated with Claude Code

https://claude.ai/code/session_0189GPbGfEfVLoV2Jh4v9KQN


Generated by Claude Code

The TS and Python SDK READMEs' "Trash and restore" sections covered
agent- and message-level trash but never mentioned that
account.delete() / client.account.delete() also moved to trash-by-default
with a permanent option, even though the client code, both CHANGELOGs,
docs/api.md, and cli/README.md already describe it (#1043).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0189GPbGfEfVLoV2Jh4v9KQN
@jiashuoz jiashuoz self-assigned this Sep 28, 2026
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