Skip to content

Antaeus v0.6.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 06:09
· 2 commits to main since this release
b114cb4

Adds opt-in provider token accounting for Drex evaluations, so applications can
reconcile consumption across retries, escalation, and fallback without treating
unknown usage as zero. Select System One adapter 0.4.0 in an evaluator profile
to receive the separate io.antaeus.usage Decision extension. Existing adapter
versions retain their behavior, and the execution trace and version-1 JSON host
interface keep their existing shapes. Accounting does not assign customer
charges or change policy outcomes. Public Go APIs and CLI behavior may still
change in minor releases before v1.0.0.

Install with brew install antaeusio/tap/antaeus (or brew upgrade antaeus),
go install github.com/antaeusio/antaeus/cmd/antaeus@v0.6.0,
docker pull ghcr.io/antaeusio/antaeus:0.6, or an archive from this release.
See provider usage reporting for the accounting
contract and System One setup for adapter selection.

Added

  • Opt-in System One adapter io.antaeus.systemone@0.4.0, installed alongside
    versions 0.1.0 through 0.3.0 in the CLI and WebAssembly host. It reports
    Drex input tokens and optional output tokens per attempt. Other System One
    providers report unavailable usage until their accounting contracts are verified.
  • Provider-neutral io.antaeus.usage Decision extension with a versioned schema
    and examples. Records align with execution-trace attempts, preserve bounded
    underlying adapter failure codes, and distinguish reported counters (including
    zero) from unavailable or invalid accounting. Usage survives invalid answers,
    failed attempts, and confidence routing without affecting policy reduction.
  • Go API: evaluator.Result.Usage, typed usage statuses, and
    systemone.UsageIdentity / UsageRegistration. Existing Identity and
    Registration remain on 0.3.0; register the new identity explicitly to opt
    in. Update unkeyed evaluator.Result struct literals for the added field, or
    use keyed literals.
  • Custom Go adapters' fixed public evaluator.Error.Code identifiers may
    appear as adapterFailureCode for any traced attempt when usage reporting is
    enabled. Keep input, credentials, and private diagnostics out of these codes.

Fixed

  • scripts/build-wasm finds Go's license in Homebrew's package directory when
    it is absent from GOROOT, and checks for the license before resetting the
    output directory or compiling.