Skip to content

Remove organization_id from vault.initialize()#25

Merged
dimavrem22 merged 9 commits intomainfrom
vault-init-no-org-id
Mar 29, 2026
Merged

Remove organization_id from vault.initialize()#25
dimavrem22 merged 9 commits intomainfrom
vault-init-no-org-id

Conversation

@dimavrem22
Copy link
Copy Markdown
Contributor

@dimavrem22 dimavrem22 commented Mar 28, 2026

Summary

  • vault.initialize() no longer requires organization_id — the SDK auto-fetches it from /api/whoami
  • Removed --organization-id flag from CLI vault init command
  • Updated Python SDK, TypeScript SDK, CLI, and all tests
  • Added vault initialization examples to all three skills (inkbox-python, inkbox-ts, inkbox-openclaw)
  • Updated Python and TypeScript SDK READMEs
  • Removed unused python-dotenv dependency from Python SDK (fixes version conflict with browser-use)
  • Bumped SDK and CLI versions to 0.2.4

Depends on inkbox-ai/servers#33 (fix for /api/whoami returning 401).

dimavrem22 and others added 3 commits March 28, 2026 17:57
The SDK now auto-fetches the org ID from /api/whoami before vault
initialization, so callers no longer need to pass it manually.

Changes:
- Python SDK: vault.initialize(vault_key) — org_id fetched internally
- TypeScript SDK: vault.initialize(vaultKey) — org_id fetched internally
- CLI: removed --organization-id flag from `vault init`
- Tests updated for both SDKs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rayruizhiliao
Copy link
Copy Markdown
Contributor

Can we make sure README and SKILLs are updated accordingly (assuming Alex is taking a look at the code)

dimavrem22 and others added 3 commits March 28, 2026 18:06
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The SDK never imports dotenv. Removing it also fixes a version
conflict with browser-use which pins python-dotenv==1.2.1.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dimavrem22
Copy link
Copy Markdown
Contributor Author

Can we make sure README and SKILLs are updated accordingly (assuming Alex is taking a look at the code)

done

@rayruizhiliao
Copy link
Copy Markdown
Contributor

Can we make sure README and SKILLs are updated accordingly (assuming Alex is taking a look at the code)

done

rayruizhiliao
rayruizhiliao previously approved these changes Mar 28, 2026
@dimavrem22 dimavrem22 merged commit f2649c7 into main Mar 29, 2026
2 checks passed
@dimavrem22 dimavrem22 deleted the vault-init-no-org-id branch March 29, 2026 17:08
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