Skip to content

Releases: OpenBox-AI/openbox-sdk-python

v1.2.0

Choose a tag to compare

@tino-cmd tino-cmd released this 24 Jul 09:07
1f0429d

Public API changes (BREAKING)

  • RetryPlanPatch
  • RetryDirectivePatchDirective
  • handle_retryable_blockhandle_patch
  • EvaluationResult.retry_plan / ApprovalResult.retry_plan.patch
  • Wire parsing now reads only the canonical outer key patch (was retry_plan)

v1.1.0

Choose a tag to compare

@tino-cmd tino-cmd released this 21 Jul 11:37
dae44d5

Added

  • RetryPlan and RetryDirective dataclasses in openbox_core.contracts.results.
  • Optional retry_plan parsing on EvaluationResult and ApprovalResult. A _MISSING sentinel keeps a present new_input: null distinct from an absent field; falsy values (null, "", 0, [], {}) are preserved; a boolean new_input is 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 a RetryDirective only for a BLOCK verdict with a valid plan; returns None for a plain BLOCK, every non-BLOCK verdict (incl. HALT), a pending verdict, and an expired ApprovalResult.

Notes

  • Default enforcement is unchanged: a BLOCK verdict still raises GovernanceBlockedError. The helper is opt-in and never auto-retries; malformed/ineligible plans are treated as absent (never fail open).

v1.0.1

Choose a tag to compare

@tino-cmd tino-cmd released this 06 Jul 19:37

Minor dependencies upgrade

v1.0.0

Choose a tag to compare

@tino-cmd tino-cmd released this 06 Jul 18:06

Initial release