13 Commits
Author SHA1 Message Date
雷电芽衣 11a152bab8 fix: expose the rotation grace deadline and encode agent ids in paths
Add previous_token_grace_until to RotateApiTokenResponse and
percent-encode the agent id path segment in both clients.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 20:12:50 -04:00
雷电芽衣 7b3ea2922c fix: restore the deprecated issue_token aliases
Published 2.0.2 exposed ElydoraClient.issue_token(),
AsyncElydoraClient.issue_token(), and the IssueTokenResponse type alias.
The audit removed them, which breaks 2.0.x callers on a minor upgrade.
Restore all three, now raising DeprecationWarning.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 19:55:45 -04:00
雷电芽衣 b438ead6ae fix: return the degraded deep-health report instead of raising
The API answers GET /v1/health/deep with 503 and a full report when a
dependency is down. _handle_response raised for every status at or above
400, so deep_health() raised exactly when callers need the dependency
details. Both the sync and async clients now accept 503 for this endpoint.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 19:36:25 -04:00
雷电芽衣 0f72a5e2f1 chore(python): audit core package
_client_common.py owns request building and EOR signing for both clients; types follow the Backend contract; the deprecated issue_token alias and token response aliases are removed; crypto, utils, and CLI comments trimmed.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-02 23:05:37 -04:00
ZacharyZhang-NY bfe068b367 fix(sdk): make retries safe and deterministic 2026-07-19 15:49:13 -04:00
ZacharyZhang-NY c000855ebc fix(sdk): enforce agent registration integration type 2026-07-19 14:59:34 -04:00
ZacharyZhang-NYandClaude Opus 4.6 47a8038e8d Deprecate legacy login/register methods with warnings
- Add DeprecationWarning to login() and register() static methods
- Update docstrings with .. deprecated:: notices
- Sync types with backend changes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 00:48:33 -04:00
ZacharyZhang-NYandClaude Opus 4.6 024ea8ee97 Update auth references from JWT to session tokens
- Remove previous_token_grace_until from RotateApiTokenResponse
- Update client/async_client docstrings
- Update CLI help text and README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:13:35 -04:00
ZacharyZhang-NYandClaude Opus 4.6 1576447b4b Sync types and clients with backend for social auth and agent assignments
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 22:42:43 -04:00
ZacharyZhang-NYandClaude Opus 4.6 347d51febf Fix audit findings: security, types, KID, retry, and version alignment
- Fix critical OpenCode plugin: read private key from file instead of embedding in JS
- Add default KID (agent_id + '-key-1') matching Node and Go SDKs
- Fix Operation.subject and Operation.action types from str to Dict[str, Any]
- Fix retry off-by-one to give max_retries+1 total attempts
- Fix OpenCode operation_type from 'tool_use' to 'ai.tool_use'
- Update plugin path to .config/opencode/plugins matching Node SDK

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 15:56:31 -05:00
ZacharyZhang-NYandClaude Opus 4.6 eef18a8520 Fix async genesis hash bug, add 7 missing methods, document exports
- Fix AsyncElydoraClient _prev_chain_hash from empty string to GENESIS_CHAIN_HASH
- Add list_agents, unfreeze_agent, delete_agent, get_me, issue_token, download_export, health
- Add methods to both sync and async clients
- Add corresponding response types to types.py
- Export new types from __init__.py
- Document all previously undocumented exports in README

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 15:53:53 -05:00
ZacharyZhang-NYandClaude Opus 4.6 3c77b4a31d Update client and plugin integrations
- Client improvements
- Update augment, claudecode, cursor, gemini, kiro, opencode plugins

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 21:23:27 -05:00
ZacharyZhang-NYandClaude Opus 4.6 b42b670c2a Initial commit: Elydora Python SDK
Python SDK for Elydora agent operations, cryptographic signing, and audit trail integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 18:03:09 -05:00