Sawra/sdk_fix_ts#93
Conversation
- Updated all SDK versions to 0.1.32 - Generated changelog with git-cliff
|
Caution Review failedThe pull request is closed. WalkthroughVersion 0.1.32 release bumps versions across Python, Go, Rust, and TypeScript SDKs. Introduces structured API response envelope support (success/data/error/message fields) to client response handlers and server endpoints. Adds new metadata fields (agent_id, name, description, extractor) to type definitions. Implements local-run modality support in TypeScript client with refined error extraction. Changes
Sequence DiagramsequenceDiagram
participant Client
participant Server
participant Handler
Note over Client,Server: Old Flow (0.1.31)
Client->>Server: GET /agent-architecture
Server->>Server: Build response (flat)
Server-->>Client: {agent_id, entrypoints}
Client->>Handler: Pass raw response
Note over Client,Server: New Flow (0.1.32)
Client->>Server: GET /agent-architecture
Server->>Server: Build envelope response
Server-->>Client: {success: true, data: {agent_id, entrypoints}, ...}
Client->>Handler: Parse envelope
alt success = true
Handler->>Handler: Extract data
Handler-->>Client: AgentArchitecture
else success = false
Handler->>Handler: Extract error message
Handler-->>Client: Error (ServerError/RunAgentExecutionError)
else Malformed
Handler->>Handler: Fallback to raw response
Handler-->>Client: AgentArchitecture
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (15)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
New Features
Bug Fixes
Chores