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>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 4.6 committed 2026-03-02 15:56:31 -05:00
1 parent 21c63dbb28
commit 347d51febf
4 files changed
+18 -24

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ from .types import (
HealthResponse,
)
__version__ = "1.0.0"
__version__ = "1.1.0"
__all__ = [
"ElydoraClient",