github Effect-TS/effect @effect/ai-openrouter@4.1.4

Patch Changes

  • #10521 edb2eaa Thanks @gcanti! - Add experimental closeObjects, fix JSON Schema composition and examples, and regenerate a smaller OpenRouter client with a boolean workspace-deletion confirmation flag.

    Breaking changes

    The generated OpenRouter schemas follow the current upstream specification. Some intermediate schema exports are removed; derive their types from the corresponding request or response schema instead. Hand-built generation statistics must now include workspace_id, and activity entries must include cached_tokens. Tool parameter and structured-output schemas accept JSON-valued records.

    Fixtures and stored responses must also include these newly required fields:

    • Model: endpoints.
    • BYOKKey: declared_region, declared_zdr, is_byok_only, and is_required.
    • PublicEndpoint: native_tools, service_tier, supports_diarization, and supports_tool_choice.
    • Guardrail: include_byok_in_budgets.
    • VideoModel: creativity and upscale_factor.
    • GenerationContentData: error.
    • FusionCallAnalysisInProgressEvent: analyst_model.
    • All Observability*Destination schemas: regions, broadcast_generation_cost, broadcast_generation_cost_allocation, broadcast_generation_identity, and broadcast_generation_request_context.
  • #10482 2b23262 Thanks @typedrat! - Add OpenRouterWorkloadIdentity for authenticating OpenRouterClient with workload identity federation.

  • Updated dependencies [f527f90, ee5550a, 7fce132, 9116189, edb2eaa, 8176cdb, 3a65e9e, fdd319e, 72c3fb4, 9c41784]:

    • effect@4.1.4

Don't miss a new effect release

NewReleases is sending notifications on new releases.