Skip to content

Update SDK for identity mailbox auto-creation and vault deletion; migrate URLs#23

Merged
alex-w-99 merged 16 commits intomainfrom
vault-and-emailaddr
Mar 28, 2026
Merged

Update SDK for identity mailbox auto-creation and vault deletion; migrate URLs#23
alex-w-99 merged 16 commits intomainfrom
vault-and-emailaddr

Conversation

@alex-w-99
Copy link
Copy Markdown
Contributor

@alex-w-99 alex-w-99 commented Mar 26, 2026

Updates include:

  • Migrate console.inkbox.aiinkbox.ai/console and api.inkbox.ai/apiinkbox.ai/api.
  • Update identity creation to match current server behavior:
    • Optional nested mailbox creation (display_name, email_local_part).
    • Optional nested phone-number provisioning.
    • Optional vault secret attachment (vault_secret_ids, including single UUID, list, "*" / "all").
  • Add email_address to identity response types (Python + TypeScript).
  • Restore standalone mailbox creation (MailboxesResource.create, AgentIdentity.createMailbox).
  • Add ResourceStatus enum; narrow identity update status to active/paused.
  • Add VaultResource.delete().
  • Update examples, skills, docs, and tests.

alex-w-99 and others added 7 commits March 26, 2026 18:44
- Identity creation now auto-creates mailbox; add display_name param
- Add email_address to identity response types (Python + TypeScript)
- Remove standalone mailbox creation (MailboxesResource.create, AgentIdentity.createMailbox)
- Add ResourceStatus enum; narrow identity update status to active/paused
- Add VaultResource.delete() and deleted_at to VaultInfo
- Migrate console.inkbox.ai → inkbox.ai/console, api.inkbox.ai → inkbox.ai
- Update examples, CLI, skills, docs, and tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Vault status already conveys lifecycle state; no need to surface
additional server-side metadata in the SDK.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add email_address to test fixtures for _AgentIdentityData
- Remove mailbox create tests (endpoint removed)
- Clean up mock and CLI docs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts:
#	sdk/python/tests/test_agent_identity.py
@alex-w-99 alex-w-99 marked this pull request as ready for review March 27, 2026 18:17
alex-w-99 and others added 2 commits March 27, 2026 19:42
Adds three new methods to VaultResource in both TypeScript and Python:

- initialize(vaultKey, organizationId): generates org encryption key,
  wraps with primary key + 4 recovery codes, POSTs to /initialize
- updateKey/update_key: replaces primary vault key via PUT /keys/primary,
  supports normal (current key) and recovery (recovery code) auth modes
- deleteKey/delete_key: derives auth_hash and DELETEs /keys/{auth_hash}

Also adds PUT method to both HTTP transports, VaultInitializeResult type,
and updated exports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alex-w-99 alex-w-99 requested a review from rayruizhiliao March 27, 2026 20:55
rayruizhiliao
rayruizhiliao previously approved these changes Mar 27, 2026
Update README, SKILL, and package versions
…ommands

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alex-w-99 alex-w-99 merged commit 02fb3de into main Mar 28, 2026
2 checks passed
@alex-w-99 alex-w-99 deleted the vault-and-emailaddr branch March 28, 2026 15:34
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