Skip to content

Commit 2cb17fb

Browse files
VladUZHclaude
andcommitted
fix: align TraceOutcome enum with TypeScript API — change in_progress to pending
The Python SDK used "in_progress" while the TypeScript shared types and API use "pending" for the initial trace state. This mismatch caused deserialization issues for cross-SDK users. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fe50bcf commit 2cb17fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sidclaw/_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
PolicyEffect = Literal["allow", "approval_required", "deny"]
1111
ApprovalStatus = Literal["pending", "approved", "denied", "expired"]
1212
RiskClassification = Literal["low", "medium", "high", "critical"]
13-
TraceOutcome = Literal["in_progress", "executed", "blocked", "denied", "completed_with_approval", "expired"]
13+
TraceOutcome = Literal["pending", "executed", "blocked", "denied", "completed_with_approval", "expired"]
1414

1515

1616
# === Request types (TypedDict — lightweight, no runtime overhead) ===

0 commit comments

Comments
 (0)