Patch Changes
-
#10521
edb2eaaThanks @gcanti! - Add experimentalcloseObjects, 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 includecached_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, andis_required.PublicEndpoint:native_tools,service_tier,supports_diarization, andsupports_tool_choice.Guardrail:include_byok_in_budgets.VideoModel:creativityandupscale_factor.GenerationContentData:error.FusionCallAnalysisInProgressEvent:analyst_model.- All
Observability*Destinationschemas:regions,broadcast_generation_cost,broadcast_generation_cost_allocation,broadcast_generation_identity, andbroadcast_generation_request_context.
-
#10482
2b23262Thanks @typedrat! - AddOpenRouterWorkloadIdentityfor authenticatingOpenRouterClientwith workload identity federation. -
Updated dependencies [
f527f90,ee5550a,7fce132,9116189,edb2eaa,8176cdb,3a65e9e,fdd319e,72c3fb4,9c41784]:- effect@4.1.4