Releases: OpenBox-AI/openbox-sdk-python
Releases · OpenBox-AI/openbox-sdk-python
Release list
v1.2.0
Public API changes (BREAKING)
RetryPlan→PatchRetryDirective→PatchDirectivehandle_retryable_block→handle_patchEvaluationResult.retry_plan/ApprovalResult.retry_plan→.patch- Wire parsing now reads only the canonical outer key
patch(wasretry_plan)
v1.1.0
Added
RetryPlanandRetryDirectivedataclasses inopenbox_core.contracts.results.- Optional
retry_planparsing onEvaluationResultandApprovalResult. A_MISSINGsentinel keeps a presentnew_input: nulldistinct from an absent field; falsy values (null,"",0,[],{}) are preserved; a booleannew_inputis rejected; every number (recursively) must be finite and, if integral, a JS-safe integer (|n| <= 2^53 - 1). handle_retryable_block(result)— opt-in, pure inspector returning aRetryDirectiveonly for aBLOCKverdict with a valid plan; returnsNonefor a plain BLOCK, every non-BLOCK verdict (incl. HALT), a pending verdict, and an expiredApprovalResult.
Notes
- Default enforcement is unchanged: a
BLOCKverdict still raisesGovernanceBlockedError. The helper is opt-in and never auto-retries; malformed/ineligible plans are treated as absent (never fail open).