@rkat/sdk 0.8.25 → 0.8.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- export declare const CONTRACT_VERSION = "0.8.25";
1
+ export declare const CONTRACT_VERSION = "0.8.26";
2
2
  export type Value = unknown;
3
3
  export interface WireUsage {
4
4
  input_tokens: number;
@@ -1101,7 +1101,7 @@ export interface WireMobProfile {
1101
1101
  output_schema?: unknown;
1102
1102
  peer_description?: string;
1103
1103
  provider?: Provider | null;
1104
- provider_params?: unknown | null;
1104
+ provider_params?: WireProviderParamsOverride | null;
1105
1105
  resume_overrides?: WireMobResumeOverrideField[];
1106
1106
  runtime_mode?: WireMobRuntimeMode;
1107
1107
  self_hosted_server_id?: string | null;
@@ -1234,6 +1234,58 @@ export interface MobMembersResult {
1234
1234
  members: MobMemberListEntryWire[];
1235
1235
  mob_id: string;
1236
1236
  }
1237
+ export interface MobMemberToolDeclarationParams {
1238
+ agent_identity: string;
1239
+ mob_id: string;
1240
+ }
1241
+ export interface MobMemberToolDeclarationResult {
1242
+ agent_identity: string;
1243
+ convergence: WireIdentityConvergenceStatus;
1244
+ declaration: WireMemberToolDeclaration;
1245
+ desired_intent_revision: number;
1246
+ mob_id: string;
1247
+ }
1248
+ export interface MobApplyMemberToolDeclarationParams {
1249
+ agent_identity: string;
1250
+ convergence: WireIdentityConvergenceMode;
1251
+ declaration: WireMemberToolDeclaration;
1252
+ expected_intent_revision: number;
1253
+ mob_id: string;
1254
+ request_id: string;
1255
+ }
1256
+ export interface MobApplyMemberToolDeclarationResult {
1257
+ commit: WireMemberToolCommitOutcome;
1258
+ convergence: WireIdentityConvergenceStatus;
1259
+ }
1260
+ export interface MobAdoptMemberIdentityDeclarationParams {
1261
+ agent_identity: string;
1262
+ convergence: WireIdentityConvergenceMode;
1263
+ declaration_revision: number;
1264
+ declaration_scope: string;
1265
+ member: WireIdentityProfileMemberDeclaration;
1266
+ mob_id: string;
1267
+ owned_wiring: WireDesiredIdentityEdge[];
1268
+ precondition: WireIdentityAdoptionPrecondition;
1269
+ request_id: string;
1270
+ session: WireDesiredSessionTarget;
1271
+ wiring_custody?: "external_managed" | "identity_owned";
1272
+ }
1273
+ export interface MobAdoptMemberIdentityDeclarationResult {
1274
+ adoption: WireIdentityAdoptionOutcome;
1275
+ convergence: WireIdentityConvergenceStatus;
1276
+ }
1277
+ export interface MobResolveIdentityConvergenceBlockParams {
1278
+ agent_identity: string;
1279
+ convergence: WireIdentityConvergenceMode;
1280
+ expected_desired_revision: number;
1281
+ mob_id: string;
1282
+ observed_active_revision: number;
1283
+ request_id: string;
1284
+ }
1285
+ export interface MobResolveIdentityConvergenceBlockResult {
1286
+ convergence: WireIdentityConvergenceStatus;
1287
+ outcome: WireIdentityConvergenceResolutionOutcome;
1288
+ }
1237
1289
  export interface MobEventsParams {
1238
1290
  after_cursor?: number;
1239
1291
  limit?: number;
@@ -1726,10 +1778,10 @@ export interface MobProfileInput {
1726
1778
  image_generation_provider?: Provider | null;
1727
1779
  max_inline_peer_notifications?: number | null;
1728
1780
  model: string;
1729
- output_schema?: unknown | null;
1781
+ output_schema?: OutputSchema | null;
1730
1782
  peer_description?: string;
1731
1783
  provider?: Provider | null;
1732
- provider_params?: unknown | null;
1784
+ provider_params?: WireProviderParamsOverride | null;
1733
1785
  resume_overrides?: WireMobResumeOverrideField[];
1734
1786
  runtime_mode?: WireMobRuntimeMode;
1735
1787
  self_hosted_server_id?: string | null;
@@ -1824,6 +1876,132 @@ export interface WireMemberLifecycleCapabilities {
1824
1876
  revisions: boolean;
1825
1877
  transcript_edits: boolean;
1826
1878
  }
1879
+ export interface ToolCategoryOverrides {
1880
+ builtins?: ToolCategoryOverride;
1881
+ comms?: ToolCategoryOverride;
1882
+ image_generation?: ToolCategoryOverride;
1883
+ memory?: ToolCategoryOverride;
1884
+ mob?: ToolCategoryOverride;
1885
+ schedule?: ToolCategoryOverride;
1886
+ shell?: ToolCategoryOverride;
1887
+ web_search?: ToolCategoryOverride;
1888
+ workgraph?: ToolCategoryOverride;
1889
+ }
1890
+ export interface WireDesiredLocalCallbackTool {
1891
+ description: string;
1892
+ input_schema: unknown;
1893
+ name: string;
1894
+ }
1895
+ export interface WireMemberToolDeclaration {
1896
+ application_policy: ApplicationToolPolicyBinding;
1897
+ callback_tools: WireCallbackToolSetDeclaration;
1898
+ category_overrides: ToolCategoryOverrides;
1899
+ execution: WireMemberToolAccessDeclaration;
1900
+ }
1901
+ export interface WireDesiredSessionTarget {
1902
+ authority_policy: WireDesiredSessionAuthorityPolicy;
1903
+ lineage_generation: number;
1904
+ lineage_id: string;
1905
+ session_id: string;
1906
+ }
1907
+ export interface WireIdentityProfileMemberDeclaration {
1908
+ additional_instructions?: string[] | null;
1909
+ auth_binding?: WireAuthBindingRef | null;
1910
+ budget_limits?: BudgetLimits | null;
1911
+ context?: WireOpaqueJson | null;
1912
+ execution: WireDesiredExecution;
1913
+ external_addressable_override?: boolean | null;
1914
+ labels?: Record<string, string> | null;
1915
+ model_override?: string | null;
1916
+ profile_name: string;
1917
+ profile_override?: PortableProfile | null;
1918
+ required_env_keys?: string[];
1919
+ required_local_callback_tools?: WireDesiredLocalCallbackTool[];
1920
+ runtime_mode?: WireMobRuntimeMode | null;
1921
+ system_prompt_override?: PortableSystemPrompt | null;
1922
+ tool_access_policy?: WireResolvedToolAccessPolicy | null;
1923
+ }
1924
+ export interface WireDesiredIdentityEdge {
1925
+ a: string;
1926
+ b: string;
1927
+ }
1928
+ export interface WireIdentityConvergenceStatus {
1929
+ active_intent_revision?: number | null;
1930
+ agent_identity: string;
1931
+ condition: WireIdentityConvergenceCondition;
1932
+ decision?: WireIdentityReconcileDecision | null;
1933
+ desired_intent_revision?: number | null;
1934
+ detail?: string | null;
1935
+ observed_at_ms: number;
1936
+ }
1937
+ export interface BudgetLimits {
1938
+ max_duration?: Duration | null;
1939
+ max_tokens?: number | null;
1940
+ max_tool_calls?: number | null;
1941
+ max_turn_duration?: Duration | null;
1942
+ }
1943
+ export interface Duration {
1944
+ nanos: number;
1945
+ secs: number;
1946
+ }
1947
+ export interface OutputSchema {
1948
+ compat?: SchemaCompat;
1949
+ format?: SchemaFormat;
1950
+ name?: string | null;
1951
+ schema: MeerkatSchema;
1952
+ strict?: boolean;
1953
+ }
1954
+ export interface PortableProfile {
1955
+ auto_compact_threshold?: number | null;
1956
+ external_addressable?: boolean;
1957
+ image_generation_provider?: Provider | null;
1958
+ max_inline_peer_notifications?: number | null;
1959
+ model: string;
1960
+ output_schema?: WireOpaqueJson | null;
1961
+ peer_description?: string;
1962
+ provider: Provider;
1963
+ provider_params?: WireProviderParamsOverride | null;
1964
+ resume_overrides?: WireMobResumeOverrideField[];
1965
+ runtime_mode?: WireMobRuntimeMode;
1966
+ self_hosted_server_id?: string | null;
1967
+ skills?: string[];
1968
+ tools?: PortableToolConfig;
1969
+ }
1970
+ export interface PortableToolConfig {
1971
+ builtins?: boolean;
1972
+ comms?: boolean;
1973
+ image_generation?: boolean;
1974
+ mcp_servers?: Record<string, PortableMcpDecl>;
1975
+ memory?: boolean;
1976
+ mob?: boolean;
1977
+ non_portable_disabled?: WireNonPortableResourceKind[];
1978
+ read_only?: boolean;
1979
+ schedule?: boolean;
1980
+ shell?: boolean;
1981
+ workgraph?: boolean;
1982
+ }
1983
+ export interface StructuredProviderExtension {
1984
+ body?: string;
1985
+ key: string;
1986
+ namespace: string;
1987
+ }
1988
+ export interface WireGeminiThinkingConfig {
1989
+ include_thoughts?: boolean | null;
1990
+ thinking_budget?: number | null;
1991
+ thinking_level?: WireGeminiThinkingLevel | null;
1992
+ }
1993
+ export interface WireOpenAiPromptCacheOptions {
1994
+ mode?: WireOpenAiPromptCacheMode | null;
1995
+ ttl?: WireOpenAiPromptCacheTtl | null;
1996
+ }
1997
+ export interface WireProviderParamsOverride {
1998
+ max_output_tokens?: number | null;
1999
+ provider_tag?: WireProviderTag | null;
2000
+ reasoning?: WireReasoningMode | null;
2001
+ temperature?: number | null;
2002
+ thinking_budget_tokens?: number | null;
2003
+ top_p?: number | null;
2004
+ }
1827
2005
  export interface AttentionBindingRequest {
1828
2006
  binding_id: string;
1829
2007
  namespace?: string | null;
@@ -2257,10 +2435,10 @@ export interface MemberBuildRejectionBindingUnresolvable {
2257
2435
  binding_unresolvable: MemberBuildRejectionBindingUnresolvablePayload;
2258
2436
  }
2259
2437
  export interface MemberBuildRejectionProviderAuthPayload {
2260
- binding_id?: string | null;
2438
+ binding_id?: BindingId | null;
2261
2439
  kind: AuthErrorKind;
2262
2440
  provider?: Provider | null;
2263
- realm_id?: string | null;
2441
+ realm_id?: RealmId | null;
2264
2442
  }
2265
2443
  export interface MemberBuildRejectionProviderAuth {
2266
2444
  provider_auth: MemberBuildRejectionProviderAuthPayload;
@@ -2581,6 +2759,294 @@ export interface BridgeLiveControlOutcomeRefresh {
2581
2759
  verb: "refresh";
2582
2760
  }
2583
2761
  export type BridgeLiveControlOutcome = BridgeLiveControlOutcomeCommitInput | BridgeLiveControlOutcomeInterrupt | BridgeLiveControlOutcomeTruncate | BridgeLiveControlOutcomeRefresh;
2762
+ export interface ApplicationToolPolicyBindingUnmanaged {
2763
+ kind: "unmanaged";
2764
+ }
2765
+ export interface ApplicationToolPolicyBindingInherit {
2766
+ kind: "inherit";
2767
+ }
2768
+ export interface ApplicationToolPolicyBindingProvider {
2769
+ kind: "provider";
2770
+ policy_id: string;
2771
+ provider_id: string;
2772
+ }
2773
+ export type ApplicationToolPolicyBinding = ApplicationToolPolicyBindingUnmanaged | ApplicationToolPolicyBindingInherit | ApplicationToolPolicyBindingProvider;
2774
+ export type ToolCategoryOverride = "inherit" | "enable" | "disable";
2775
+ export interface WireCallbackToolSetDeclarationInherit {
2776
+ kind: "inherit";
2777
+ }
2778
+ export interface WireCallbackToolSetDeclarationSet {
2779
+ kind: "set";
2780
+ tools: WireDesiredLocalCallbackTool[];
2781
+ }
2782
+ export type WireCallbackToolSetDeclaration = WireCallbackToolSetDeclarationInherit | WireCallbackToolSetDeclarationSet;
2783
+ export interface WireMemberToolAccessConstraintAllowNames {
2784
+ kind: "allow_names";
2785
+ names: string[];
2786
+ }
2787
+ export interface WireMemberToolAccessConstraintDenyNames {
2788
+ kind: "deny_names";
2789
+ names: string[];
2790
+ }
2791
+ export interface WireMemberToolAccessConstraintReadOnly {
2792
+ kind: "read_only";
2793
+ }
2794
+ export type WireMemberToolAccessConstraint = WireMemberToolAccessConstraintAllowNames | WireMemberToolAccessConstraintDenyNames | WireMemberToolAccessConstraintReadOnly;
2795
+ export interface WireMemberToolAccessDeclarationInherit {
2796
+ kind: "inherit";
2797
+ }
2798
+ export interface WireMemberToolAccessDeclarationUnrestricted {
2799
+ kind: "unrestricted";
2800
+ }
2801
+ export interface WireMemberToolAccessDeclarationConstraints {
2802
+ constraints: WireMemberToolAccessConstraint[];
2803
+ kind: "constraints";
2804
+ }
2805
+ export type WireMemberToolAccessDeclaration = WireMemberToolAccessDeclarationInherit | WireMemberToolAccessDeclarationUnrestricted | WireMemberToolAccessDeclarationConstraints;
2806
+ export interface WireIdentityConvergenceModeDrain {
2807
+ kind: "drain";
2808
+ max_wait_ms: number;
2809
+ }
2810
+ export interface WireIdentityConvergenceModeCancelActive {
2811
+ kind: "cancel_active";
2812
+ }
2813
+ export type WireIdentityConvergenceMode = WireIdentityConvergenceModeDrain | WireIdentityConvergenceModeCancelActive;
2814
+ export type WireIdentityAdoptionPrecondition = "expected_absent";
2815
+ export type WireDesiredSessionAuthorityPolicy = "require_existing";
2816
+ export interface WireDesiredExecutionControllingSession {
2817
+ execution: "controlling_session";
2818
+ }
2819
+ export interface WireDesiredExecutionAnyBoundHostSession {
2820
+ execution: "any_bound_host_session";
2821
+ }
2822
+ export interface WireDesiredExecutionPlacedSession {
2823
+ execution: "placed_session";
2824
+ host_id: string;
2825
+ }
2826
+ export interface WireDesiredExecutionExternal {
2827
+ address: string;
2828
+ execution: "external";
2829
+ identity: WireTrustedPeerIdentity;
2830
+ }
2831
+ export type WireDesiredExecution = WireDesiredExecutionControllingSession | WireDesiredExecutionAnyBoundHostSession | WireDesiredExecutionPlacedSession | WireDesiredExecutionExternal;
2832
+ export interface WireIdentityAdoptionOutcomeAdopted {
2833
+ desired_revision: number;
2834
+ outcome: "adopted";
2835
+ }
2836
+ export interface WireIdentityAdoptionOutcomePreconditionConflict {
2837
+ actual_revision: number;
2838
+ outcome: "precondition_conflict";
2839
+ }
2840
+ export interface WireIdentityAdoptionOutcomeRequestConflict {
2841
+ outcome: "request_conflict";
2842
+ request_id: string;
2843
+ }
2844
+ export type WireIdentityAdoptionOutcome = WireIdentityAdoptionOutcomeAdopted | WireIdentityAdoptionOutcomePreconditionConflict | WireIdentityAdoptionOutcomeRequestConflict;
2845
+ export type WireIdentityConvergenceCondition = "pending" | "reconciling" | "converged" | "backoff" | "repair_blocked" | "quarantined" | "tombstoned" | "suspended" | "drain_blocked";
2846
+ export type WireIdentityReconcileDecision = "backoff" | "repair_blocked" | "acquire_lease" | "await_lease" | "close_member_admission" | "await_member_drain" | "drain_blocked" | "cancel_active_member" | "seal_retirement_proven" | "seal_session_creation_consumed" | "ensure_session_authority" | "ensure_runtime_registration" | "await_external_binding_ceremony" | "ensure_external_binding_receipt" | "ensure_external_binding" | "ensure_member_materialization" | "ensure_initial_delivery_receipt" | "ensure_initial_delivery" | "await_initial_delivery" | "reconcile_wiring" | "retire_member_materialization" | "retire_runtime_registration" | "release_session_authority" | "converged" | "tombstoned" | "quarantined";
2847
+ export interface WireMemberToolCommitOutcomeCommitted {
2848
+ desired_revision: number;
2849
+ outcome: "committed";
2850
+ }
2851
+ export interface WireMemberToolCommitOutcomeNoChange {
2852
+ desired_revision: number;
2853
+ outcome: "no_change";
2854
+ }
2855
+ export interface WireMemberToolCommitOutcomeRevisionConflict {
2856
+ actual: number;
2857
+ expected: number;
2858
+ outcome: "revision_conflict";
2859
+ }
2860
+ export interface WireMemberToolCommitOutcomeRequestConflict {
2861
+ outcome: "request_conflict";
2862
+ request_id: string;
2863
+ }
2864
+ export interface WireMemberToolCommitOutcomeMemberAbsent {
2865
+ outcome: "member_absent";
2866
+ }
2867
+ export interface WireMemberToolCommitOutcomeInvalidDeclaration {
2868
+ outcome: "invalid_declaration";
2869
+ reason: string;
2870
+ }
2871
+ export type WireMemberToolCommitOutcome = WireMemberToolCommitOutcomeCommitted | WireMemberToolCommitOutcomeNoChange | WireMemberToolCommitOutcomeRevisionConflict | WireMemberToolCommitOutcomeRequestConflict | WireMemberToolCommitOutcomeMemberAbsent | WireMemberToolCommitOutcomeInvalidDeclaration;
2872
+ export interface WireIdentityConvergenceResolutionOutcomeResolved {
2873
+ active_revision: number;
2874
+ desired_revision: number;
2875
+ outcome: "resolved";
2876
+ }
2877
+ export interface WireIdentityConvergenceResolutionOutcomeDesiredRevisionConflict {
2878
+ actual: number;
2879
+ expected: number;
2880
+ outcome: "desired_revision_conflict";
2881
+ }
2882
+ export interface WireIdentityConvergenceResolutionOutcomeActiveRevisionConflict {
2883
+ actual: number;
2884
+ expected: number;
2885
+ outcome: "active_revision_conflict";
2886
+ }
2887
+ export interface WireIdentityConvergenceResolutionOutcomeNotBlocked {
2888
+ outcome: "not_blocked";
2889
+ }
2890
+ export interface WireIdentityConvergenceResolutionOutcomeMemberAbsent {
2891
+ outcome: "member_absent";
2892
+ }
2893
+ export interface WireIdentityConvergenceResolutionOutcomeRequestConflict {
2894
+ outcome: "request_conflict";
2895
+ request_id: string;
2896
+ }
2897
+ export type WireIdentityConvergenceResolutionOutcome = WireIdentityConvergenceResolutionOutcomeResolved | WireIdentityConvergenceResolutionOutcomeDesiredRevisionConflict | WireIdentityConvergenceResolutionOutcomeActiveRevisionConflict | WireIdentityConvergenceResolutionOutcomeNotBlocked | WireIdentityConvergenceResolutionOutcomeMemberAbsent | WireIdentityConvergenceResolutionOutcomeRequestConflict;
2898
+ export type BindingId = string;
2899
+ export type MeerkatSchema = unknown;
2900
+ export interface PortableMcpDeclStdio {
2901
+ args?: string[];
2902
+ command: string;
2903
+ connect_timeout_secs?: number | null;
2904
+ required_env_keys?: string[];
2905
+ transport: "stdio";
2906
+ }
2907
+ export interface PortableMcpDeclHttp {
2908
+ connect_timeout_secs?: number | null;
2909
+ http_transport?: McpHttpTransport | null;
2910
+ required_header_names?: string[];
2911
+ transport: "http";
2912
+ url: string;
2913
+ }
2914
+ export type PortableMcpDecl = PortableMcpDeclStdio | PortableMcpDeclHttp;
2915
+ export interface PortableSystemPromptSet {
2916
+ prompt: "set";
2917
+ text: string;
2918
+ }
2919
+ export interface PortableSystemPromptDisable {
2920
+ prompt: "disable";
2921
+ }
2922
+ export type PortableSystemPrompt = PortableSystemPromptSet | PortableSystemPromptDisable;
2923
+ export type ProfileId = string;
2924
+ export type RealmId = string;
2925
+ export type SchemaCompat = "lossy" | "strict";
2926
+ export type SchemaFormat = "meerkat_v1";
2927
+ export type WireAnthropicCacheControlPolicy = "disabled" | "automatic" | "system_prefix" | "system_and_conversation";
2928
+ export type WireAnthropicCacheTtl = "5m" | "1h";
2929
+ export interface WireAnthropicCompactionConfigAuto {
2930
+ kind: "auto";
2931
+ }
2932
+ export interface WireAnthropicCompactionConfigCustom {
2933
+ edit: unknown;
2934
+ kind: "custom";
2935
+ }
2936
+ export type WireAnthropicCompactionConfig = WireAnthropicCompactionConfigAuto | WireAnthropicCompactionConfigCustom;
2937
+ export type WireAnthropicContextWindow = "one_megabyte";
2938
+ export type WireAnthropicEffort = "low" | "medium" | "high" | "max" | "xhigh";
2939
+ export interface WireAnthropicInferenceGeoUs {
2940
+ kind: "us";
2941
+ }
2942
+ export interface WireAnthropicInferenceGeoGlobal {
2943
+ kind: "global";
2944
+ }
2945
+ export interface WireAnthropicInferenceGeoOther {
2946
+ kind: "other";
2947
+ region: string;
2948
+ }
2949
+ export type WireAnthropicInferenceGeo = WireAnthropicInferenceGeoUs | WireAnthropicInferenceGeoGlobal | WireAnthropicInferenceGeoOther;
2950
+ export interface WireAnthropicThinkingConfigAdaptive {
2951
+ type: "adaptive";
2952
+ }
2953
+ export interface WireAnthropicThinkingConfigEnabled {
2954
+ budget_tokens: number;
2955
+ type: "enabled";
2956
+ }
2957
+ export type WireAnthropicThinkingConfig = WireAnthropicThinkingConfigAdaptive | WireAnthropicThinkingConfigEnabled;
2958
+ export type WireGeminiThinkingLevel = "minimal" | "low" | "medium" | "high";
2959
+ export type WireOpaqueJson = string;
2960
+ export type WireOpenAiPromptCacheMode = "implicit" | "explicit";
2961
+ export type WireOpenAiPromptCacheRetention = "in_memory" | "24h";
2962
+ export type WireOpenAiPromptCacheTtl = "30m";
2963
+ export type WireOpenAiReasoningContext = "auto" | "current_turn" | "all_turns";
2964
+ export type WireOpenAiReasoningMode = "standard" | "pro";
2965
+ export type WireOpenAiTextVerbosity = "low" | "medium" | "high";
2966
+ export interface WireProviderTagAnthropic {
2967
+ cache_control?: WireAnthropicCacheControlPolicy | null;
2968
+ cache_ttl?: WireAnthropicCacheTtl | null;
2969
+ compaction?: WireAnthropicCompactionConfig | null;
2970
+ context?: WireAnthropicContextWindow | null;
2971
+ effort?: WireAnthropicEffort | null;
2972
+ inference_geo?: WireAnthropicInferenceGeo | null;
2973
+ provider: "anthropic";
2974
+ structured_output?: OutputSchema | null;
2975
+ supports_temperature_override?: boolean | null;
2976
+ thinking?: WireAnthropicThinkingConfig | null;
2977
+ thinking_budget_tokens?: number | null;
2978
+ top_k?: number | null;
2979
+ web_search?: unknown;
2980
+ }
2981
+ export interface WireProviderTagOpenAi {
2982
+ chat_template_kwargs?: unknown;
2983
+ frequency_penalty?: number | null;
2984
+ presence_penalty?: number | null;
2985
+ prompt_cache_enabled?: boolean | null;
2986
+ prompt_cache_key?: string | null;
2987
+ prompt_cache_options?: WireOpenAiPromptCacheOptions | null;
2988
+ prompt_cache_retention?: WireOpenAiPromptCacheRetention | null;
2989
+ provider: "open_ai";
2990
+ reasoning?: unknown;
2991
+ reasoning_context?: WireOpenAiReasoningContext | null;
2992
+ reasoning_effort?: WireReasoningEffort | null;
2993
+ reasoning_mode?: WireOpenAiReasoningMode | null;
2994
+ seed?: number | null;
2995
+ store?: boolean | null;
2996
+ structured_output?: OutputSchema | null;
2997
+ supports_reasoning_override?: boolean | null;
2998
+ supports_temperature_override?: boolean | null;
2999
+ text_verbosity?: WireOpenAiTextVerbosity | null;
3000
+ thinking?: unknown;
3001
+ web_search?: unknown;
3002
+ }
3003
+ export interface WireProviderTagGemini {
3004
+ cached_content_name?: string | null;
3005
+ candidate_count?: number | null;
3006
+ google_search?: unknown;
3007
+ provider: "gemini";
3008
+ structured_output?: OutputSchema | null;
3009
+ thinking?: WireGeminiThinkingConfig | null;
3010
+ thinking_budget?: number | null;
3011
+ thinking_level?: WireGeminiThinkingLevel | null;
3012
+ top_k?: number | null;
3013
+ top_p?: number | null;
3014
+ }
3015
+ export interface WireProviderTagUnknown {
3016
+ bag: StructuredProviderExtension;
3017
+ provider: "unknown";
3018
+ }
3019
+ export type WireProviderTag = WireProviderTagAnthropic | WireProviderTagOpenAi | WireProviderTagGemini | WireProviderTagUnknown;
3020
+ export type WireReasoningEffort = "none" | "low" | "medium" | "high" | "xhigh" | "max";
3021
+ export type WireReasoningMode = "emit" | "silent" | "off";
3022
+ export interface WireResolvedToolAccessPolicyAllowList {
3023
+ type: "allow_list";
3024
+ value: string[];
3025
+ }
3026
+ export interface WireResolvedToolAccessPolicyDenyList {
3027
+ type: "deny_list";
3028
+ value: string[];
3029
+ }
3030
+ export interface WireResolvedToolAccessPolicyReadOnly {
3031
+ type: "read_only";
3032
+ }
3033
+ export interface WireResolvedToolAccessPolicyConstraints {
3034
+ type: "constraints";
3035
+ value: WireToolAccessConstraint[];
3036
+ }
3037
+ export type WireResolvedToolAccessPolicy = WireResolvedToolAccessPolicyAllowList | WireResolvedToolAccessPolicyDenyList | WireResolvedToolAccessPolicyReadOnly | WireResolvedToolAccessPolicyConstraints;
3038
+ export interface WireToolAccessConstraintAllowNames {
3039
+ type: "allow_names";
3040
+ value: string[];
3041
+ }
3042
+ export interface WireToolAccessConstraintDenyNames {
3043
+ type: "deny_names";
3044
+ value: string[];
3045
+ }
3046
+ export interface WireToolAccessConstraintReadOnly {
3047
+ type: "read_only";
3048
+ }
3049
+ export type WireToolAccessConstraint = WireToolAccessConstraintAllowNames | WireToolAccessConstraintDenyNames | WireToolAccessConstraintReadOnly;
2584
3050
  export type AttentionDelegatedAuthority = "add_evidence" | "close_own_review_item" | "request_closure" | "close_if_policy_allows";
2585
3051
  export interface GoalAttentionTargetSession {
2586
3052
  kind: "session";
@@ -4116,9 +4582,9 @@ export interface WireImageGenerationToolResult {
4116
4582
  warnings?: Record<string, unknown>[];
4117
4583
  }
4118
4584
  export interface WireAuthBindingRef {
4119
- binding: string;
4120
- profile?: string | null;
4121
- realm: string;
4585
+ binding: BindingId;
4586
+ profile?: ProfileId | null;
4587
+ realm: RealmId;
4122
4588
  }
4123
4589
  export interface WireBackendProfile {
4124
4590
  backend_kind: string;