runtype 0.5.0 → 0.11.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +767 -0
- data/README.md +30 -2
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_response.rb +2 -0
- data/generated/lib/runtype/agent_feedback/client.rb +58 -0
- data/generated/lib/runtype/agent_feedback/types/post_v1agent_feedback_request.rb +19 -0
- data/generated/lib/runtype/agent_feedback/types/post_v1agent_feedback_request_category.rb +19 -0
- data/generated/lib/runtype/agent_feedback/types/post_v1agent_feedback_response.rb +13 -0
- data/generated/lib/runtype/agent_feedback/types/post_v1agent_feedback_response_status.rb +13 -0
- data/generated/lib/runtype/agents/client.rb +127 -14
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config.rb +59 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_advisor.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_artifacts.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_artifacts_types_item.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_durability.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_durability_forced.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_fallbacks_item.rb +19 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_fallbacks_item_message.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_fallbacks_item_model.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_fallbacks_item_retry.rb +11 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_on_error.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_triggers_item.rb +11 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_error_handling_triggers_item_type.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_logging_policy.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_loop_config.rb +19 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_memory.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_memory_pointer_scope.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_pii_redaction.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_reasoning.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_reasoning_budget_tokens.rb +25 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_reasoning_budget_tokens_reasoning_effort.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_reasoning_budget_tokens_reasoning_summary.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox.rb +29 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_coding_agents_item.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_instance_type.rb +16 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_network_access.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_network_access_allow.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_network_access_allow_profile.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_network_access_zero.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_persistence.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_provider.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_sleep_after.rb +16 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_sandbox_ttl.rb +16 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_state.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_state_merge_strategy.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_state_predict_state_item.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_temporal.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tenancy_strategy.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tenancy_strategy_assurance_floor.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tenancy_strategy_assurance_floor_end_user.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tenancy_strategy_assurance_floor_tenant.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tenancy_strategy_preset.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools.rb +31 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_approval.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_approval_choices.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_approval_require.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_code_mode_config.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_mcp_servers_item.rb +25 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_mcp_servers_item_auth.rb +21 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_mcp_servers_item_auth_type.rb +18 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_mcp_servers_item_transport.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_per_tool_limits_value.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_runtime_tools_item.rb +23 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_runtime_tools_item_tool_type.rb +19 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_subagent_config.rb +33 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_subagent_config_default_execution_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_subagent_config_default_notify.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_subagent_config_execution_modes_item.rb +14 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_tool_call_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_tools_tool_search.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice.rb +25 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_eleven_labs.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_interruption_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/create_voice_agent_draft_request_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response.rb +6 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_execution_lane.rb +14 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_external_telemetry.rb +17 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_external_telemetry_completeness.rb +16 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_external_telemetry_source.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_tool_calls_response_tool_calls_item.rb +14 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_request.rb +2 -0
- data/generated/lib/runtype/agents/types/{get_v1agents_id_export_runtime_response_agent_type.rb → get_v1agents_id_executions_request_agent_source.rb} +4 -2
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item.rb +2 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item_otel_producer.rb +20 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_export_runtime_request.rb +6 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_export_runtime_request_format.rb +14 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_request.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response_data.rb +27 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response_data_cost.rb +11 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response_data_tokens.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response_data_tools_item.rb +17 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response_data_versions_item.rb +19 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_run_insights_response_data_window.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request.rb +4 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_sandbox.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_sandbox_coding_agents_item.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_tools.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_tools_runtime_tools_item.rb +4 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_tools_tool_search.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_id_execute_request_x_runtype_concurrency.rb +1 -1
- data/generated/lib/runtype/agents/types/post_v1agents_request_claude_managed_config.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_sandbox.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_sandbox_coding_agents_item.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_tools.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_tools_runtime_tools_item.rb +4 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_tools_tool_search.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_claude_managed_config.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_sandbox.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_sandbox_coding_agents_item.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_tools.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_tools_runtime_tools_item.rb +4 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_tools_tool_search.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response.rb +2 -0
- data/generated/lib/runtype/client.rb +25 -5
- data/generated/lib/runtype/client_runtime/client.rb +57 -6
- data/generated/lib/runtype/client_runtime/types/post_v1client_agents_agent_id_voice_prewarm_request.rb +15 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_chat_request_submit_mode.rb +1 -1
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_session_id.rb +1 -1
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_session_id_identity_proof.rb +19 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_session_id_identity_proof_provider.rb +17 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_three.rb +1 -1
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_three_identity_proof.rb +19 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_three_identity_proof_provider.rb +17 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_two.rb +1 -1
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_two_identity_proof.rb +19 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_two_identity_proof_provider.rb +17 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_zero.rb +1 -1
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_zero_identity_proof.rb +19 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_request_zero_identity_proof_provider.rb +17 -0
- data/generated/lib/runtype/client_runtime/types/post_v1client_init_response_durable_recovery.rb +1 -1
- data/generated/lib/runtype/client_tokens/types/post_v1client_tokens_request.rb +2 -0
- data/generated/lib/runtype/dispatch/client.rb +5 -4
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_request_continuation_tool_output_messages_item.rb +4 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_request_continuation_tool_output_messages_item_role.rb +1 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_request_continuation_tool_output_messages_item_tool_calls_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_request_continuation_tool_output_messages_item_tool_results_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_stream_request_continuation_tool_output_messages_item.rb +4 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_stream_request_continuation_tool_output_messages_item_role.rb +1 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_stream_request_continuation_tool_output_messages_item_tool_calls_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_continue_stream_request_continuation_tool_output_messages_item_tool_results_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_sandbox.rb +2 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_sandbox_coding_agents_item.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_sandbox.rb +2 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_sandbox_coding_agents_item.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_request_messages_item.rb +4 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_request_messages_item_role.rb +1 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_request_messages_item_tool_calls_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_request_messages_item_tool_results_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_stream_request_messages_item.rb +4 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_stream_request_messages_item_role.rb +1 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_stream_request_messages_item_tool_calls_item.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_resume_stream_request_messages_item_tool_results_item.rb +17 -0
- data/generated/lib/runtype/documentation/client.rb +2 -3
- data/generated/lib/runtype/documentation/types/post_v1documentation_build_instructions_request.rb +2 -0
- data/generated/lib/runtype/evals/client.rb +4 -1
- data/generated/lib/runtype/executions/client.rb +3 -1
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_status_response.rb +6 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_status_response_execution_lane.rb +14 -0
- data/generated/lib/runtype/identity_integrations/client.rb +39 -0
- data/generated/lib/runtype/logs/client.rb +166 -8
- data/generated/lib/runtype/logs/types/get_v1logs_context_execution_id_blocks_request.rb +13 -0
- data/generated/lib/runtype/logs/types/get_v1logs_context_execution_id_blocks_response.rb +13 -0
- data/generated/lib/runtype/logs/types/get_v1logs_context_execution_id_request.rb +11 -0
- data/generated/lib/runtype/logs/types/{get_v1logs_debug_response.rb → get_v1logs_context_execution_id_response.rb} +2 -2
- data/generated/lib/runtype/logs/types/get_v1logs_entry_request.rb +15 -0
- data/generated/lib/runtype/logs/types/get_v1logs_entry_response.rb +13 -0
- data/generated/lib/runtype/logs/types/get_v1logs_entry_response_data.rb +11 -0
- data/generated/lib/runtype/logs/types/get_v1logs_request.rb +8 -0
- data/generated/lib/runtype/logs/types/get_v1logs_response.rb +2 -0
- data/generated/lib/runtype/logs/types/get_v1logs_response_data.rb +2 -0
- data/generated/lib/runtype/logs/types/get_v1logs_response_data_live.rb +17 -0
- data/generated/lib/runtype/logs/types/get_v1logs_response_data_live_reason.rb +14 -0
- data/generated/lib/runtype/logs/types/get_v1logs_response_data_pagination.rb +2 -0
- data/generated/lib/runtype/logs/types/get_v1logs_response_window.rb +14 -0
- data/generated/lib/runtype/logs/types/get_v1logs_stats_request.rb +8 -0
- data/generated/lib/runtype/logs/types/get_v1logs_stats_response.rb +2 -0
- data/generated/lib/runtype/logs/types/get_v1logs_stats_response_data.rb +4 -0
- data/generated/lib/runtype/logs/types/get_v1logs_stats_response_data_stats_source.rb +15 -0
- data/generated/lib/runtype/logs/types/get_v1logs_stats_response_window.rb +14 -0
- data/generated/lib/runtype/logs/types/get_v1logs_trace_conversation_conversation_id_response.rb +1 -1
- data/generated/lib/runtype/logs/types/get_v1logs_trace_execution_execution_id_children_request.rb +11 -0
- data/generated/lib/runtype/logs/types/get_v1logs_trace_execution_execution_id_children_response.rb +15 -0
- data/generated/lib/runtype/logs/types/get_v1logs_trace_execution_execution_id_children_response_data_item.rb +19 -0
- data/generated/lib/runtype/logs/types/get_v1logs_trace_execution_execution_id_response.rb +1 -1
- data/generated/lib/runtype/messaging_conversations/client.rb +2 -0
- data/generated/lib/runtype/messaging_conversations/types/get_v1messaging_conversations_id_messages_request.rb +2 -0
- data/generated/lib/runtype/products/client.rb +303 -7
- data/generated/lib/runtype/products/types/create_product_comment_request.rb +19 -0
- data/generated/lib/runtype/products/types/create_product_comment_request_author_kind.rb +14 -0
- data/generated/lib/runtype/products/types/create_product_comment_thread_request.rb +17 -0
- data/generated/lib/runtype/products/types/declare_product_stack_request.rb +15 -0
- data/generated/lib/runtype/products/types/declare_product_stack_request_source.rb +15 -0
- data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item.rb +1 -1
- data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item.rb +55 -23
- data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_completeness.rb +17 -0
- data/generated/lib/runtype/products/types/{get_v1products_id_activity_response_data_agents_item_data_item_execution_mode.rb → get_v1products_id_activity_response_data_agents_item_data_item_kind.rb} +3 -3
- data/generated/lib/runtype/products/types/{get_v1products_id_activity_response_data_agents_item_data_item_notification_mode.rb → get_v1products_id_activity_response_data_agents_item_data_item_origin.rb} +4 -4
- data/generated/lib/runtype/products/types/{get_v1products_id_activity_response_data_agents_item_data_item_agent_target_resolution.rb → get_v1products_id_activity_response_data_agents_item_data_item_source.rb} +3 -4
- data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_status.rb +1 -2
- data/generated/lib/runtype/products/types/get_v1products_id_comments_request.rb +19 -0
- data/generated/lib/runtype/products/types/get_v1products_id_comments_request_status.rb +15 -0
- data/generated/lib/runtype/products/types/get_v1products_id_response.rb +2 -0
- data/generated/lib/runtype/products/types/get_v1products_id_response_editor_context.rb +6 -0
- data/generated/lib/runtype/products/types/get_v1products_id_response_editor_context_flow_steps_map_value_item.rb +2 -0
- data/generated/lib/runtype/products/types/get_v1products_id_surfaces_surface_id_response.rb +2 -0
- data/generated/lib/runtype/products/types/get_v1products_response_data_item_capabilities_item.rb +4 -0
- data/generated/lib/runtype/products/types/post_v1products_ensure_request_definition_spec_internal_docs_resources_item.rb +6 -0
- data/generated/lib/runtype/products/types/post_v1products_request_canvas.rb +2 -0
- data/generated/lib/runtype/products/types/post_v1products_request_spec.rb +2 -0
- data/generated/lib/runtype/products/types/post_v1products_request_spec_internal_docs_resources_item.rb +6 -0
- data/generated/lib/runtype/products/types/put_v1products_id_request_canvas.rb +2 -0
- data/generated/lib/runtype/products/types/put_v1products_id_request_spec.rb +2 -0
- data/generated/lib/runtype/products/types/put_v1products_id_request_spec_internal_docs_resources_item.rb +6 -0
- data/generated/lib/runtype/products/types/put_v1products_id_surfaces_surface_id_entry_point_request.rb +15 -0
- data/generated/lib/runtype/products/types/put_v1products_id_surfaces_surface_id_entry_point_response.rb +13 -0
- data/generated/lib/runtype/products/types/update_product_comment_thread_request.rb +15 -0
- data/generated/lib/runtype/question_sets/client.rb +416 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_request.rb +11 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_resolved_request.rb +13 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_versions_request.rb +11 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_versions_response.rb +11 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_versions_version_number_calibrations_request.rb +17 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_id_versions_version_number_calibrations_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_request.rb +17 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_request_direction.rb +14 -0
- data/generated/lib/runtype/question_sets/types/get_v1question_sets_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_id_versions_version_number_calibrations_request.rb +17 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_id_versions_version_number_calibrations_request_record.rb +15 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_id_versions_version_number_calibrations_request_record_per_question_value.rb +19 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_id_versions_version_number_calibrations_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_id_versions_version_number_publish_request.rb +13 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_id_versions_version_number_publish_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_request.rb +21 -0
- data/generated/lib/runtype/question_sets/types/post_v1question_sets_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/put_v1question_sets_id_request.rb +21 -0
- data/generated/lib/runtype/question_sets/types/put_v1question_sets_id_response.rb +13 -0
- data/generated/lib/runtype/question_sets/types/put_v1question_sets_id_response_version.rb +30 -0
- data/generated/lib/runtype/runs/client.rb +150 -0
- data/generated/lib/runtype/runs/types/get_v1runs_execution_id_request.rb +15 -0
- data/generated/lib/runtype/runs/types/get_v1runs_execution_id_request_overlay.rb +14 -0
- data/generated/lib/runtype/runs/types/get_v1runs_execution_id_request_view.rb +14 -0
- data/generated/lib/runtype/runs/types/get_v1runs_execution_id_response.rb +11 -0
- data/generated/lib/runtype/runs/types/get_v1runs_request.rb +47 -0
- data/generated/lib/runtype/runs/types/get_v1runs_request_include_children.rb +14 -0
- data/generated/lib/runtype/runs/types/get_v1runs_request_overlay.rb +14 -0
- data/generated/lib/runtype/runs/types/get_v1runs_request_source.rb +14 -0
- data/generated/lib/runtype/runs/types/get_v1runs_request_status.rb +15 -0
- data/generated/lib/runtype/runs/types/get_v1runs_request_view.rb +14 -0
- data/generated/lib/runtype/runs/types/get_v1runs_response.rb +15 -0
- data/generated/lib/runtype/runs/types/get_v1runs_response_pagination.rb +19 -0
- data/generated/lib/runtype/runs/types/get_v1runs_response_window.rb +14 -0
- data/generated/lib/runtype/schedules/client.rb +97 -0
- data/generated/lib/runtype/schedules/types/get_v1schedules_id_runs_response_data_item.rb +2 -0
- data/generated/lib/runtype/schedules/types/get_v1schedules_pull_request.rb +19 -0
- data/generated/lib/runtype/schedules/types/get_v1schedules_runs_all_response_data_item.rb +2 -0
- data/generated/lib/runtype/schedules/types/post_v1schedules_ensure_request.rb +23 -0
- data/generated/lib/runtype/schedules/types/post_v1schedules_ensure_request_on_conflict.rb +14 -0
- data/generated/lib/runtype/skills/client.rb +39 -0
- data/generated/lib/runtype/skills/types/get_v1skills_id_bindings_request.rb +11 -0
- data/generated/lib/runtype/skills/types/get_v1skills_id_bindings_response.rb +11 -0
- data/generated/lib/runtype/skills/types/get_v1skills_id_bindings_response_data_item.rb +25 -0
- data/generated/lib/runtype/skills/types/get_v1skills_id_bindings_response_data_item_agent.rb +15 -0
- data/generated/lib/runtype/surfaces/client.rb +48 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound.rb +16 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_channel_overrides_value.rb +13 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_channel_overrides_value_channel_response_mode.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_channel_overrides_value_eagerness.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_channel_response_mode.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_context_backfill.rb +19 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_context_backfill_mode.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_eagerness.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_keywords.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_response_data_item_inbound_on_uncertain.rb +14 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_surface_id_channel_context_request.rb +13 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_surface_id_channel_context_response.rb +19 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_surface_id_channel_context_response_provider.rb +15 -0
- data/generated/lib/runtype/surfaces/types/get_v1surfaces_surface_id_response.rb +2 -0
- data/generated/lib/runtype/telemetry/client.rb +58 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_request.rb +11 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response.rb +27 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_admission.rb +17 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_errors_item.rb +13 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_status.rb +16 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_tiers.rb +15 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_tiers_canonical.rb +21 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_tiers_hot.rb +20 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_tiers_raw.rb +21 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_totals.rb +27 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_trace.rb +23 -0
- data/generated/lib/runtype/telemetry/types/get_otlp_ingest_health_response_trace_delivery.rb +23 -0
- data/generated/lib/runtype/tools/types/post_v1tools_flows_flow_id_convert_to_tool_response_validation.rb +2 -0
- data/generated/lib/runtype/tools/types/post_v1tools_id_execute_request.rb +2 -0
- data/generated/lib/runtype/tools/types/post_v1tools_id_execute_response.rb +3 -7
- data/generated/lib/runtype/tools/types/post_v1tools_id_execute_response_error.rb +19 -0
- data/generated/lib/runtype/tools/types/{post_v1tools_id_execute_response_status.rb → post_v1tools_id_execute_response_error_status.rb} +1 -1
- data/generated/lib/runtype/tools/types/post_v1tools_id_test_response.rb +3 -7
- data/generated/lib/runtype/tools/types/post_v1tools_id_test_response_error.rb +19 -0
- data/generated/lib/runtype/tools/types/{post_v1tools_id_test_response_status.rb → post_v1tools_id_test_response_error_status.rb} +1 -1
- data/generated/lib/runtype/tools/types/post_v1tools_response_validation.rb +2 -0
- data/generated/lib/runtype/tools/types/put_v1tools_id_response_validation.rb +2 -0
- data/generated/lib/runtype/types/agent_ensure_capability.rb +21 -0
- data/generated/lib/runtype/types/agent_ensure_capability_change.rb +17 -0
- data/generated/lib/runtype/types/agent_ensure_capability_change_action.rb +14 -0
- data/generated/lib/runtype/types/agent_ensure_capability_change_kind.rb +13 -0
- data/generated/lib/runtype/types/agent_ensure_response_changed_keys.rb +4 -0
- data/generated/lib/runtype/types/agent_ensure_response_version_id.rb +4 -0
- data/generated/lib/runtype/types/agent_ensure_skill_binding.rb +13 -0
- data/generated/lib/runtype/types/agent_ensure_skill_binding_change.rb +17 -0
- data/generated/lib/runtype/types/agent_ensure_skill_binding_change_action.rb +14 -0
- data/generated/lib/runtype/types/agent_pull_response.rb +4 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_sandbox.rb +2 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_sandbox_coding_agents_item.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_tools.rb +2 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_tools_runtime_tools_item.rb +4 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_tools_tool_search.rb +13 -0
- data/generated/lib/runtype/types/builtin_tool_execute_result.rb +15 -0
- data/generated/lib/runtype/types/channel_context_decision.rb +17 -0
- data/generated/lib/runtype/types/channel_context_decision_capability.rb +15 -0
- data/generated/lib/runtype/types/channel_context_decision_capability_outcome.rb +14 -0
- data/generated/lib/runtype/types/channel_context_decision_decision.rb +14 -0
- data/generated/lib/runtype/types/channel_context_decision_failure.rb +17 -0
- data/generated/lib/runtype/types/channel_context_label.rb +17 -0
- data/generated/lib/runtype/types/channel_context_label_label.rb +13 -0
- data/generated/lib/runtype/types/channel_context_label_source.rb +15 -0
- data/generated/lib/runtype/types/channel_context_message.rb +25 -0
- data/generated/lib/runtype/types/channel_context_message_author_kind.rb +13 -0
- data/generated/lib/runtype/types/collection_lookup_failed_error.rb +17 -0
- data/generated/lib/runtype/types/collection_lookup_failed_error_code.rb +11 -0
- data/generated/lib/runtype/types/context_blocks.rb +11 -0
- data/generated/lib/runtype/types/context_blocks_blocks_item.rb +13 -0
- data/generated/lib/runtype/types/context_manifest_entry.rb +27 -0
- data/generated/lib/runtype/types/context_manifest_entry_category.rb +16 -0
- data/generated/lib/runtype/types/context_manifest_entry_flags_item.rb +13 -0
- data/generated/lib/runtype/types/context_manifest_entry_kind.rb +19 -0
- data/generated/lib/runtype/types/context_manifest_entry_role.rb +14 -0
- data/generated/lib/runtype/types/context_snapshot.rb +33 -0
- data/generated/lib/runtype/types/context_snapshot_removed_since_previous_item.rb +11 -0
- data/generated/lib/runtype/types/context_snapshot_removed_since_previous_item_reason.rb +14 -0
- data/generated/lib/runtype/types/context_snapshot_reported.rb +13 -0
- data/generated/lib/runtype/types/context_snapshots.rb +13 -0
- data/generated/lib/runtype/types/conversation_trace.rb +17 -0
- data/generated/lib/runtype/types/conversation_trace_executions_item.rb +13 -0
- data/generated/lib/runtype/types/conversation_trace_produced_by.rb +38 -0
- data/generated/lib/runtype/types/conversation_trace_produced_by_source.rb +12 -0
- data/generated/lib/runtype/types/conversation_trace_truncation.rb +13 -0
- data/generated/lib/runtype/types/conversation_trace_truncation_reason.rb +11 -0
- data/generated/lib/runtype/types/create_voice_agent_draft_response.rb +11 -0
- data/generated/lib/runtype/types/declare_product_stack_response.rb +15 -0
- data/generated/lib/runtype/types/declare_product_stack_response_source.rb +13 -0
- data/generated/lib/runtype/types/dispatch_agent_json_response.rb +6 -0
- data/generated/lib/runtype/types/dispatch_agent_json_response_agent_target_resolution.rb +13 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response.rb +6 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response_agent_target_resolution.rb +13 -0
- data/generated/lib/runtype/types/dispatch_tool_output_continuation_json_response.rb +6 -0
- data/generated/lib/runtype/types/dispatch_tool_output_continuation_json_response_agent_target_resolution.rb +13 -0
- data/generated/lib/runtype/types/eval_run_scores_response.rb +2 -0
- data/generated/lib/runtype/types/eval_run_scores_response_cases_item.rb +2 -0
- data/generated/lib/runtype/types/eval_run_scores_response_cases_item_failure_kind.rb +11 -0
- data/generated/lib/runtype/types/eval_suite_detail.rb +2 -0
- data/generated/lib/runtype/types/eval_suite_detail_warnings_item.rb +13 -0
- data/generated/lib/runtype/types/eval_suite_latest_run.rb +2 -0
- data/generated/lib/runtype/types/eval_suite_summary.rb +2 -0
- data/generated/lib/runtype/types/eval_suite_summary_warnings_item.rb +13 -0
- data/generated/lib/runtype/types/execution_stream_event.rb +4 -0
- data/generated/lib/runtype/types/execution_stream_event_model_call_complete.rb +41 -0
- data/generated/lib/runtype/types/execution_stream_event_model_call_complete_attributes_value.rb +15 -0
- data/generated/lib/runtype/types/execution_stream_event_model_call_complete_subagent.rb +13 -0
- data/generated/lib/runtype/types/execution_stream_event_model_call_complete_tokens.rb +17 -0
- data/generated/lib/runtype/types/execution_stream_event_model_call_start.rb +29 -0
- data/generated/lib/runtype/types/execution_stream_event_model_call_start_subagent.rb +13 -0
- data/generated/lib/runtype/types/execution_stream_event_turn_complete.rb +2 -0
- data/generated/lib/runtype/types/execution_stream_event_turn_complete_attributes_value.rb +15 -0
- data/generated/lib/runtype/types/external_observed_approvals.rb +17 -0
- data/generated/lib/runtype/types/external_observed_approvals_availability.rb +11 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item.rb +23 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_decision.rb +14 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_observations_item.rb +15 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_observations_item_source.rb +15 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_observations_item_source_attribute.rb +11 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_observations_item_source_kind.rb +11 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_observations_item_state.rb +13 -0
- data/generated/lib/runtype/types/external_observed_approvals_lifecycles_item_raw_states_item.rb +13 -0
- data/generated/lib/runtype/types/identity_assertion_jwks.rb +9 -0
- data/generated/lib/runtype/types/identity_assertion_public_jwk.rb +21 -0
- data/generated/lib/runtype/types/judgment_calibration_record.rb +23 -0
- data/generated/lib/runtype/types/judgment_calibration_record_source.rb +12 -0
- data/generated/lib/runtype/types/list_product_comments_response.rb +13 -0
- data/generated/lib/runtype/types/product_canvas_block.rb +23 -0
- data/generated/lib/runtype/types/product_comment.rb +23 -0
- data/generated/lib/runtype/types/product_comment_author_kind.rb +12 -0
- data/generated/lib/runtype/types/product_comment_thread.rb +27 -0
- data/generated/lib/runtype/types/product_declared_stack.rb +15 -0
- data/generated/lib/runtype/types/product_pull_response_definition_spec_internal_docs_resources_item.rb +6 -0
- data/generated/lib/runtype/types/product_stack.rb +18 -0
- data/generated/lib/runtype/types/product_stack_declared.rb +14 -0
- data/generated/lib/runtype/types/product_stack_detected.rb +12 -0
- data/generated/lib/runtype/types/product_stack_item.rb +21 -0
- data/generated/lib/runtype/types/question_set.rb +25 -0
- data/generated/lib/runtype/types/question_set_error.rb +13 -0
- data/generated/lib/runtype/types/question_set_list_item.rb +29 -0
- data/generated/lib/runtype/types/question_set_version.rb +27 -0
- data/generated/lib/runtype/types/resolved_question_set.rb +21 -0
- data/generated/lib/runtype/types/resolved_question_set_calibration.rb +17 -0
- data/generated/lib/runtype/types/resolved_question_set_calibration_source.rb +12 -0
- data/generated/lib/runtype/types/run_eval_response.rb +2 -0
- data/generated/lib/runtype/types/run_eval_response_cases_item.rb +2 -0
- data/generated/lib/runtype/types/run_eval_response_cases_item_failure_kind.rb +11 -0
- data/generated/lib/runtype/types/run_list_pagination.rb +15 -0
- data/generated/lib/runtype/types/run_list_row.rb +107 -0
- data/generated/lib/runtype/types/run_list_row_completeness.rb +15 -0
- data/generated/lib/runtype/types/run_list_row_kind.rb +12 -0
- data/generated/lib/runtype/types/run_list_row_origin.rb +13 -0
- data/generated/lib/runtype/types/run_list_row_source.rb +12 -0
- data/generated/lib/runtype/types/run_list_row_status.rb +16 -0
- data/generated/lib/runtype/types/runtime_exported_skill.rb +21 -0
- data/generated/lib/runtype/types/schedule_ensure_conflict.rb +17 -0
- data/generated/lib/runtype/types/schedule_ensure_conflict_code.rb +12 -0
- data/generated/lib/runtype/types/schedule_ensure_definition.rb +27 -0
- data/generated/lib/runtype/types/schedule_ensure_definition_execution_options.rb +27 -0
- data/generated/lib/runtype/types/schedule_ensure_definition_execution_options_logging_policy.rb +13 -0
- data/generated/lib/runtype/types/schedule_ensure_definition_trigger.rb +15 -0
- data/generated/lib/runtype/types/schedule_ensure_definition_trigger_type.rb +12 -0
- data/generated/lib/runtype/types/schedule_ensure_hash_mismatch.rb +13 -0
- data/generated/lib/runtype/types/schedule_ensure_hash_mismatch_code.rb +11 -0
- data/generated/lib/runtype/types/schedule_ensure_response.rb +15 -0
- data/generated/lib/runtype/types/schedule_ensure_response_changed_keys.rb +19 -0
- data/generated/lib/runtype/types/schedule_ensure_response_changed_keys_changes.rb +13 -0
- data/generated/lib/runtype/types/schedule_ensure_response_changed_keys_result.rb +11 -0
- data/generated/lib/runtype/types/schedule_ensure_response_one.rb +9 -0
- data/generated/lib/runtype/types/schedule_ensure_response_one_result.rb +11 -0
- data/generated/lib/runtype/types/schedule_ensure_response_zero.rb +13 -0
- data/generated/lib/runtype/types/schedule_ensure_response_zero_result.rb +13 -0
- data/generated/lib/runtype/types/schedule_ensure_target.rb +15 -0
- data/generated/lib/runtype/types/schedule_pull_response.rb +17 -0
- data/generated/lib/runtype/types/schedule_run_link.rb +15 -0
- data/generated/lib/runtype/types/schedule_run_link_kind.rb +13 -0
- data/generated/lib/runtype/types/tool_execute_error.rb +13 -0
- data/generated/lib/runtype/types/trace_log_entry.rb +145 -0
- data/generated/lib/runtype/types/trace_log_entry_estimated_context_breakdown.rb +15 -0
- data/generated/lib/runtype/types/trace_log_entry_estimated_context_breakdown_categories_value.rb +11 -0
- data/generated/lib/runtype/types/trace_log_entry_estimated_cost.rb +14 -0
- data/generated/lib/runtype/types/trace_log_entry_level.rb +14 -0
- data/generated/lib/runtype/types/trace_log_entry_logging_policy.rb +11 -0
- data/generated/lib/runtype/types/trace_log_entry_otlp_incomplete_activity.rb +13 -0
- data/generated/lib/runtype/types/trace_log_entry_otlp_instrumentation_warning.rb +11 -0
- data/generated/lib/runtype/types/trace_log_entry_otlp_record_kind.rb +13 -0
- data/generated/lib/runtype/types/trace_log_entry_status.rb +16 -0
- data/generated/lib/runtype/types/trace_log_entry_type.rb +19 -0
- data/generated/lib/runtype/types/trace_node.rb +35 -0
- data/generated/lib/runtype/types/trace_node_lifecycle.rb +14 -0
- data/generated/lib/runtype/types/trace_node_node_type.rb +16 -0
- data/generated/lib/runtype/types/trace_produced_by.rb +37 -0
- data/generated/lib/runtype/types/trace_produced_by_source.rb +12 -0
- data/generated/lib/runtype/types/trace_tree.rb +41 -0
- data/generated/lib/runtype/types/trace_tree_availability.rb +13 -0
- data/generated/lib/runtype/types/trace_tree_availability_reason.rb +11 -0
- data/generated/lib/runtype/types/trace_tree_child_truncation.rb +15 -0
- data/generated/lib/runtype/types/trace_tree_child_truncation_reason.rb +11 -0
- data/generated/lib/runtype/types/trace_tree_source.rb +13 -0
- data/generated/lib/runtype/types/trace_tree_totals_source.rb +12 -0
- data/generated/lib/runtype/types/trace_tree_truncation.rb +13 -0
- data/generated/lib/runtype/types/trace_tree_truncation_reason.rb +11 -0
- data/generated/lib/runtype/users/types/get_v1users_profile_response_features.rb +2 -0
- data/generated/lib/runtype.rb +3506 -2910
- data/lib/runtype/agent_ensure.rb +64 -9
- data/lib/runtype/client.rb +1 -0
- data/lib/runtype/config_ensure.rb +272 -0
- data/lib/runtype/content_hash.rb +257 -0
- data/lib/runtype/detached_follow.rb +12 -0
- data/lib/runtype/errors.rb +42 -8
- data/lib/runtype/local_tool_runner.rb +3 -1
- data/lib/runtype/sdk_version.rb +1 -1
- data/lib/runtype.rb +2 -0
- metadata +370 -11
- data/generated/lib/runtype/agents/types/get_v1agents_id_export_runtime_response.rb +0 -25
- data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_agent_version.rb +0 -17
- data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item_data_item_pending_approval.rb +0 -27
|
@@ -4,7 +4,7 @@ module Runtype
|
|
|
4
4
|
module Logs
|
|
5
5
|
module Types
|
|
6
6
|
class GetV1LogsTraceExecutionExecutionIDResponse < Internal::Types::Model
|
|
7
|
-
field :data, -> {
|
|
7
|
+
field :data, -> { Runtype::Types::TraceTree }, optional: false, nullable: false
|
|
8
8
|
|
|
9
9
|
field :success, -> { Internal::Types::Boolean }, optional: false, nullable: false
|
|
10
10
|
end
|
|
@@ -227,6 +227,7 @@ module Runtype
|
|
|
227
227
|
# @option request_options [Integer] :timeout_in_seconds
|
|
228
228
|
# @option params [String] :id
|
|
229
229
|
# @option params [String, nil] :limit
|
|
230
|
+
# @option params [String, nil] :offset
|
|
230
231
|
# @option params [String, nil] :order
|
|
231
232
|
#
|
|
232
233
|
# @example
|
|
@@ -237,6 +238,7 @@ module Runtype
|
|
|
237
238
|
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
238
239
|
query_params = {}
|
|
239
240
|
query_params["limit"] = params[:limit] if params.key?(:limit)
|
|
241
|
+
query_params["offset"] = params[:offset] if params.key?(:offset)
|
|
240
242
|
query_params["order"] = params[:order] if params.key?(:order)
|
|
241
243
|
|
|
242
244
|
request = Runtype::Internal::JSON::Request.new(
|
|
@@ -97,8 +97,10 @@ module Runtype
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
# Assemble a product from a validated Full Product Object (FPO).
|
|
101
|
-
#
|
|
100
|
+
# Assemble a product from a validated Full Product Object (FPO). API keys must carry PRODUCTS:WRITE (or
|
|
101
|
+
# PRODUCTS:CREATE) and SECRETS:WRITE, plus the write scope for every entity kind the FPO materializes
|
|
102
|
+
# (FLOWS:WRITE, AGENTS:WRITE, PRODUCTS:SURFACES:WRITE, SCHEDULES:WRITE, RECORDS:WRITE, EVALS:WRITE, SKILLS:WRITE),
|
|
103
|
+
# and SECRETS:READ when an inline HTTP step references a managed secret.
|
|
102
104
|
#
|
|
103
105
|
# @param request_options [Hash]
|
|
104
106
|
# @param params [Hash]
|
|
@@ -220,7 +222,11 @@ module Runtype
|
|
|
220
222
|
# reported in `entities[].result = "failed"` (and `hasFailures`) and a re-run self-heals; only a top-level product
|
|
221
223
|
# reject aborts. Set dryRun to plan without writing. Set prune to remove product-scoped capabilities/surfaces (and
|
|
222
224
|
# their items) absent from the FPO (account-scoped flows/agents/tools/records are never removed). Whole-FPO
|
|
223
|
-
# fast-probe is not yet supported (PR3).
|
|
225
|
+
# fast-probe is not yet supported (PR3). API keys converge each nested flow, agent, schedule, record, eval suite
|
|
226
|
+
# and skill only with that entity kind's own write scope (FLOWS:WRITE, AGENTS:WRITE or AGENTS:CREATE/UPDATE,
|
|
227
|
+
# SCHEDULES:WRITE, RECORDS:WRITE, EVALS:WRITE, SKILLS:WRITE) on top of the product scope; otherwise that entity
|
|
228
|
+
# reports `failed`. Binding a skill to an agent also needs agent update scope. Schedules also honor the plan's
|
|
229
|
+
# active-schedule limit and minimum frequency.
|
|
224
230
|
#
|
|
225
231
|
# @param request_options [Hash]
|
|
226
232
|
# @param params [Runtype::Products::Types::PostV1ProductsEnsureFpoRequest]
|
|
@@ -308,7 +314,8 @@ module Runtype
|
|
|
308
314
|
# FPO-local ids, so feeding the result back into POST /products/ensure-fpo converges to `unchanged`.
|
|
309
315
|
# records/schedules/secrets are NOT reconstructed and `tools` is emitted empty (tool refs are portable
|
|
310
316
|
# `tool:<name>`); see `warnings` for per-pull caveats. The contentHash is recomputed from the live graph, so it is
|
|
311
|
-
# accurate immediately after a dashboard edit.
|
|
317
|
+
# accurate immediately after a dashboard edit. API keys need PRODUCTS:READ, plus FLOWS:READ, AGENTS:READ,
|
|
318
|
+
# SCHEDULES:READ, EVALS:READ or SKILLS:READ for each section the product carries.
|
|
312
319
|
#
|
|
313
320
|
# @param request_options [Hash]
|
|
314
321
|
# @param params [Hash]
|
|
@@ -472,9 +479,10 @@ module Runtype
|
|
|
472
479
|
end
|
|
473
480
|
|
|
474
481
|
# First page of every activity source a product has: one entry per conversational surface (messaging conversations
|
|
475
|
-
# or client-conversation records) and one per distinct agent capability
|
|
476
|
-
# `
|
|
477
|
-
#
|
|
482
|
+
# or client-conversation records) and one per distinct agent capability. Agent rows are `RunListRow`s read the way
|
|
483
|
+
# `GET /v1/runs?agentId=` reads them, so a client continues that source with `/v1/runs` and the surface sources
|
|
484
|
+
# with their own list endpoints; rows, cursors and `hasMore` match. A source that fails returns empty rows plus an
|
|
485
|
+
# `error`; the response is still 200.
|
|
478
486
|
#
|
|
479
487
|
# @param request_options [Hash]
|
|
480
488
|
# @param params [Hash]
|
|
@@ -688,6 +696,198 @@ module Runtype
|
|
|
688
696
|
end
|
|
689
697
|
end
|
|
690
698
|
|
|
699
|
+
# List the comment threads on a product's canvas with their messages. Threads belong to the product's
|
|
700
|
+
# organization; a personal account's product has none.
|
|
701
|
+
#
|
|
702
|
+
# @param request_options [Hash]
|
|
703
|
+
# @param params [Hash]
|
|
704
|
+
# @option request_options [String] :base_url
|
|
705
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
706
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
707
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
708
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
709
|
+
# @option params [String] :id
|
|
710
|
+
# @option params [Runtype::Products::Types::GetV1ProductsIDCommentsRequestStatus, nil] :status
|
|
711
|
+
# @option params [Integer, nil] :limit
|
|
712
|
+
# @option params [String, nil] :cursor
|
|
713
|
+
# @option params [String, nil] :ids
|
|
714
|
+
#
|
|
715
|
+
# @example
|
|
716
|
+
# client.products.list_product_comments(id: "id")
|
|
717
|
+
#
|
|
718
|
+
# @return [Runtype::Types::ListProductCommentsResponse]
|
|
719
|
+
def list_product_comments(request_options: {}, **params)
|
|
720
|
+
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
721
|
+
query_params = {}
|
|
722
|
+
query_params["status"] = params[:status] if params.key?(:status)
|
|
723
|
+
query_params["limit"] = params[:limit] if params.key?(:limit)
|
|
724
|
+
query_params["cursor"] = params[:cursor] if params.key?(:cursor)
|
|
725
|
+
query_params["ids"] = params[:ids] if params.key?(:ids)
|
|
726
|
+
|
|
727
|
+
request = Runtype::Internal::JSON::Request.new(
|
|
728
|
+
base_url: request_options[:base_url],
|
|
729
|
+
method: "GET",
|
|
730
|
+
path: "v1/products/#{URI.encode_uri_component(params[:id].to_s)}/comments",
|
|
731
|
+
query: query_params,
|
|
732
|
+
request_options: request_options
|
|
733
|
+
)
|
|
734
|
+
begin
|
|
735
|
+
response = @client.send(request)
|
|
736
|
+
rescue Net::HTTPRequestTimeout
|
|
737
|
+
raise Runtype::Errors::TimeoutError
|
|
738
|
+
end
|
|
739
|
+
code = response.code.to_i
|
|
740
|
+
if code.between?(200, 299)
|
|
741
|
+
Runtype::Types::ListProductCommentsResponse.load(response.body)
|
|
742
|
+
else
|
|
743
|
+
error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
|
|
744
|
+
raise error_class.new(response.body, code: code)
|
|
745
|
+
end
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
# Start a comment thread on one element of the product canvas with its first comment. The author is the caller's
|
|
749
|
+
# credential.
|
|
750
|
+
#
|
|
751
|
+
# @param request_options [Hash]
|
|
752
|
+
# @param params [Runtype::Products::Types::CreateProductCommentThreadRequest]
|
|
753
|
+
# @option request_options [String] :base_url
|
|
754
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
755
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
756
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
757
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
758
|
+
# @option params [String] :id
|
|
759
|
+
#
|
|
760
|
+
# @example
|
|
761
|
+
# client.products.start_a_product_comment_thread(
|
|
762
|
+
# id: "id",
|
|
763
|
+
# anchor: "anchor",
|
|
764
|
+
# body: "body"
|
|
765
|
+
# )
|
|
766
|
+
#
|
|
767
|
+
# @return [Runtype::Types::ProductCommentThread]
|
|
768
|
+
def start_a_product_comment_thread(request_options: {}, **params)
|
|
769
|
+
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
770
|
+
request_data = Runtype::Products::Types::CreateProductCommentThreadRequest.new(params).to_h
|
|
771
|
+
non_body_param_names = %w[id]
|
|
772
|
+
body = request_data.except(*non_body_param_names)
|
|
773
|
+
|
|
774
|
+
request = Runtype::Internal::JSON::Request.new(
|
|
775
|
+
base_url: request_options[:base_url],
|
|
776
|
+
method: "POST",
|
|
777
|
+
path: "v1/products/#{URI.encode_uri_component(params[:id].to_s)}/comments",
|
|
778
|
+
body: body,
|
|
779
|
+
request_options: request_options
|
|
780
|
+
)
|
|
781
|
+
begin
|
|
782
|
+
response = @client.send(request)
|
|
783
|
+
rescue Net::HTTPRequestTimeout
|
|
784
|
+
raise Runtype::Errors::TimeoutError
|
|
785
|
+
end
|
|
786
|
+
code = response.code.to_i
|
|
787
|
+
if code.between?(200, 299)
|
|
788
|
+
Runtype::Types::ProductCommentThread.load(response.body)
|
|
789
|
+
else
|
|
790
|
+
error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
|
|
791
|
+
raise error_class.new(response.body, code: code)
|
|
792
|
+
end
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
# Resolve a thread, recording who resolved it and when, or open it again. Setting the state it already has changes
|
|
796
|
+
# nothing.
|
|
797
|
+
#
|
|
798
|
+
# @param request_options [Hash]
|
|
799
|
+
# @param params [Runtype::Products::Types::UpdateProductCommentThreadRequest]
|
|
800
|
+
# @option request_options [String] :base_url
|
|
801
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
802
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
803
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
804
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
805
|
+
# @option params [String] :id
|
|
806
|
+
# @option params [String] :thread_id
|
|
807
|
+
#
|
|
808
|
+
# @example
|
|
809
|
+
# client.products.resolve_a_product_comment_thread(
|
|
810
|
+
# id: "id",
|
|
811
|
+
# thread_id: "threadId",
|
|
812
|
+
# resolved: true
|
|
813
|
+
# )
|
|
814
|
+
#
|
|
815
|
+
# @return [Runtype::Types::ProductCommentThread]
|
|
816
|
+
def resolve_a_product_comment_thread(request_options: {}, **params)
|
|
817
|
+
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
818
|
+
request_data = Runtype::Products::Types::UpdateProductCommentThreadRequest.new(params).to_h
|
|
819
|
+
non_body_param_names = %w[id threadId]
|
|
820
|
+
body = request_data.except(*non_body_param_names)
|
|
821
|
+
|
|
822
|
+
request = Runtype::Internal::JSON::Request.new(
|
|
823
|
+
base_url: request_options[:base_url],
|
|
824
|
+
method: "PATCH",
|
|
825
|
+
path: "v1/products/#{URI.encode_uri_component(params[:id].to_s)}/comments/threads/#{URI.encode_uri_component(params[:thread_id].to_s)}",
|
|
826
|
+
body: body,
|
|
827
|
+
request_options: request_options
|
|
828
|
+
)
|
|
829
|
+
begin
|
|
830
|
+
response = @client.send(request)
|
|
831
|
+
rescue Net::HTTPRequestTimeout
|
|
832
|
+
raise Runtype::Errors::TimeoutError
|
|
833
|
+
end
|
|
834
|
+
code = response.code.to_i
|
|
835
|
+
if code.between?(200, 299)
|
|
836
|
+
Runtype::Types::ProductCommentThread.load(response.body)
|
|
837
|
+
else
|
|
838
|
+
error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
|
|
839
|
+
raise error_class.new(response.body, code: code)
|
|
840
|
+
end
|
|
841
|
+
end
|
|
842
|
+
|
|
843
|
+
# Add a comment to a thread, resolved or not. `authorKind: assistant` posts the Assistant's answer to an
|
|
844
|
+
# `@assistant` mention, relayed by the caller's client.
|
|
845
|
+
#
|
|
846
|
+
# @param request_options [Hash]
|
|
847
|
+
# @param params [Runtype::Products::Types::CreateProductCommentRequest]
|
|
848
|
+
# @option request_options [String] :base_url
|
|
849
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
850
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
851
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
852
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
853
|
+
# @option params [String] :id
|
|
854
|
+
# @option params [String] :thread_id
|
|
855
|
+
#
|
|
856
|
+
# @example
|
|
857
|
+
# client.products.reply_in_a_product_comment_thread(
|
|
858
|
+
# id: "id",
|
|
859
|
+
# thread_id: "threadId",
|
|
860
|
+
# body: "body"
|
|
861
|
+
# )
|
|
862
|
+
#
|
|
863
|
+
# @return [Runtype::Types::ProductComment]
|
|
864
|
+
def reply_in_a_product_comment_thread(request_options: {}, **params)
|
|
865
|
+
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
866
|
+
request_data = Runtype::Products::Types::CreateProductCommentRequest.new(params).to_h
|
|
867
|
+
non_body_param_names = %w[id threadId]
|
|
868
|
+
body = request_data.except(*non_body_param_names)
|
|
869
|
+
|
|
870
|
+
request = Runtype::Internal::JSON::Request.new(
|
|
871
|
+
base_url: request_options[:base_url],
|
|
872
|
+
method: "POST",
|
|
873
|
+
path: "v1/products/#{URI.encode_uri_component(params[:id].to_s)}/comments/threads/#{URI.encode_uri_component(params[:thread_id].to_s)}/messages",
|
|
874
|
+
body: body,
|
|
875
|
+
request_options: request_options
|
|
876
|
+
)
|
|
877
|
+
begin
|
|
878
|
+
response = @client.send(request)
|
|
879
|
+
rescue Net::HTTPRequestTimeout
|
|
880
|
+
raise Runtype::Errors::TimeoutError
|
|
881
|
+
end
|
|
882
|
+
code = response.code.to_i
|
|
883
|
+
if code.between?(200, 299)
|
|
884
|
+
Runtype::Types::ProductComment.load(response.body)
|
|
885
|
+
else
|
|
886
|
+
error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
|
|
887
|
+
raise error_class.new(response.body, code: code)
|
|
888
|
+
end
|
|
889
|
+
end
|
|
890
|
+
|
|
691
891
|
# Get the secret configuration summary for a product. Never returns secret values — used to decide whether to show
|
|
692
892
|
# a "Configure secrets" prompt.
|
|
693
893
|
#
|
|
@@ -764,6 +964,57 @@ module Runtype
|
|
|
764
964
|
end
|
|
765
965
|
end
|
|
766
966
|
|
|
967
|
+
# Replace what one source declares the product is built on (frameworks, vector databases, upstream services,
|
|
968
|
+
# versions). The Overview shows declared items beside the ones detected from the product's own configuration. The
|
|
969
|
+
# actor is the caller's credential: a named API key reads as its name, anyone else by first name.
|
|
970
|
+
#
|
|
971
|
+
# @param request_options [Hash]
|
|
972
|
+
# @param params [Runtype::Products::Types::DeclareProductStackRequest]
|
|
973
|
+
# @option request_options [String] :base_url
|
|
974
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
975
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
976
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
977
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
978
|
+
# @option params [String] :id
|
|
979
|
+
#
|
|
980
|
+
# @example
|
|
981
|
+
# client.products.declare_product_stack(
|
|
982
|
+
# id: "id",
|
|
983
|
+
# items: [{
|
|
984
|
+
# key: "key",
|
|
985
|
+
# label: "label"
|
|
986
|
+
# }],
|
|
987
|
+
# source: "mcp"
|
|
988
|
+
# )
|
|
989
|
+
#
|
|
990
|
+
# @return [Runtype::Types::DeclareProductStackResponse]
|
|
991
|
+
def declare_product_stack(request_options: {}, **params)
|
|
992
|
+
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
993
|
+
request_data = Runtype::Products::Types::DeclareProductStackRequest.new(params).to_h
|
|
994
|
+
non_body_param_names = %w[id]
|
|
995
|
+
body = request_data.except(*non_body_param_names)
|
|
996
|
+
|
|
997
|
+
request = Runtype::Internal::JSON::Request.new(
|
|
998
|
+
base_url: request_options[:base_url],
|
|
999
|
+
method: "PUT",
|
|
1000
|
+
path: "v1/products/#{URI.encode_uri_component(params[:id].to_s)}/stack/declared",
|
|
1001
|
+
body: body,
|
|
1002
|
+
request_options: request_options
|
|
1003
|
+
)
|
|
1004
|
+
begin
|
|
1005
|
+
response = @client.send(request)
|
|
1006
|
+
rescue Net::HTTPRequestTimeout
|
|
1007
|
+
raise Runtype::Errors::TimeoutError
|
|
1008
|
+
end
|
|
1009
|
+
code = response.code.to_i
|
|
1010
|
+
if code.between?(200, 299)
|
|
1011
|
+
Runtype::Types::DeclareProductStackResponse.load(response.body)
|
|
1012
|
+
else
|
|
1013
|
+
error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
|
|
1014
|
+
raise error_class.new(response.body, code: code)
|
|
1015
|
+
end
|
|
1016
|
+
end
|
|
1017
|
+
|
|
767
1018
|
# List the surfaces for a product with filtering and cursor pagination.
|
|
768
1019
|
#
|
|
769
1020
|
# @param request_options [Hash]
|
|
@@ -1091,6 +1342,51 @@ module Runtype
|
|
|
1091
1342
|
end
|
|
1092
1343
|
end
|
|
1093
1344
|
|
|
1345
|
+
# @param request_options [Hash]
|
|
1346
|
+
# @param params [Runtype::Products::Types::PutV1ProductsIDSurfacesSurfaceIDEntryPointRequest]
|
|
1347
|
+
# @option request_options [String] :base_url
|
|
1348
|
+
# @option request_options [Hash{String => Object}] :additional_headers
|
|
1349
|
+
# @option request_options [Hash{String => Object}] :additional_query_parameters
|
|
1350
|
+
# @option request_options [Hash{String => Object}] :additional_body_parameters
|
|
1351
|
+
# @option request_options [Integer] :timeout_in_seconds
|
|
1352
|
+
# @option params [String] :id
|
|
1353
|
+
# @option params [String] :surface_id
|
|
1354
|
+
#
|
|
1355
|
+
# @example
|
|
1356
|
+
# client.products.set_the_answering_capability_of_a_chat_surface(
|
|
1357
|
+
# id: "id",
|
|
1358
|
+
# surface_id: "surfaceId",
|
|
1359
|
+
# capability_id: "capabilityId"
|
|
1360
|
+
# )
|
|
1361
|
+
#
|
|
1362
|
+
# @return [Runtype::Products::Types::PutV1ProductsIDSurfacesSurfaceIDEntryPointResponse]
|
|
1363
|
+
def set_the_answering_capability_of_a_chat_surface(request_options: {}, **params)
|
|
1364
|
+
params = Runtype::Internal::Types::Utils.normalize_keys(params)
|
|
1365
|
+
request_data = Runtype::Products::Types::PutV1ProductsIDSurfacesSurfaceIDEntryPointRequest.new(params).to_h
|
|
1366
|
+
non_body_param_names = %w[id surfaceId]
|
|
1367
|
+
body = request_data.except(*non_body_param_names)
|
|
1368
|
+
|
|
1369
|
+
request = Runtype::Internal::JSON::Request.new(
|
|
1370
|
+
base_url: request_options[:base_url],
|
|
1371
|
+
method: "PUT",
|
|
1372
|
+
path: "v1/products/#{URI.encode_uri_component(params[:id].to_s)}/surfaces/#{URI.encode_uri_component(params[:surface_id].to_s)}/entry-point",
|
|
1373
|
+
body: body,
|
|
1374
|
+
request_options: request_options
|
|
1375
|
+
)
|
|
1376
|
+
begin
|
|
1377
|
+
response = @client.send(request)
|
|
1378
|
+
rescue Net::HTTPRequestTimeout
|
|
1379
|
+
raise Runtype::Errors::TimeoutError
|
|
1380
|
+
end
|
|
1381
|
+
code = response.code.to_i
|
|
1382
|
+
if code.between?(200, 299)
|
|
1383
|
+
Runtype::Products::Types::PutV1ProductsIDSurfacesSurfaceIDEntryPointResponse.load(response.body)
|
|
1384
|
+
else
|
|
1385
|
+
error_class = Runtype::Errors::ResponseError.subclass_for_code(code)
|
|
1386
|
+
raise error_class.new(response.body, code: code)
|
|
1387
|
+
end
|
|
1388
|
+
end
|
|
1389
|
+
|
|
1094
1390
|
# Add a capability item to a surface.
|
|
1095
1391
|
#
|
|
1096
1392
|
# @param request_options [Hash]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Products
|
|
5
|
+
module Types
|
|
6
|
+
class CreateProductCommentRequest < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :thread_id, -> { String }, optional: false, nullable: false, api_name: "threadId"
|
|
10
|
+
|
|
11
|
+
field :author_kind, -> { Runtype::Products::Types::CreateProductCommentRequestAuthorKind }, optional: true, nullable: false, api_name: "authorKind"
|
|
12
|
+
|
|
13
|
+
field :body, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :mentions, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Products
|
|
5
|
+
module Types
|
|
6
|
+
class CreateProductCommentThreadRequest < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :anchor, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :body, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :mentions, -> { Internal::Types::Array[String] }, optional: true, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Products
|
|
5
|
+
module Types
|
|
6
|
+
class DeclareProductStackRequest < Internal::Types::Model
|
|
7
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :items, -> { Internal::Types::Array[Runtype::Types::ProductStackItem] }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :source, -> { Runtype::Products::Types::DeclareProductStackRequestSource }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/generated/lib/runtype/products/types/get_v1products_id_activity_response_data_agents_item.rb
CHANGED
|
@@ -10,7 +10,7 @@ module Runtype
|
|
|
10
10
|
|
|
11
11
|
field :error, -> { Runtype::Products::Types::GetV1ProductsIDActivityResponseDataAgentsItemError }, optional: true, nullable: false
|
|
12
12
|
|
|
13
|
-
field :pagination, -> { Runtype::Types::
|
|
13
|
+
field :pagination, -> { Runtype::Types::RunListPagination }, optional: false, nullable: false
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -6,71 +6,103 @@ module Runtype
|
|
|
6
6
|
class GetV1ProductsIDActivityResponseDataAgentsItemDataItem < Internal::Types::Model
|
|
7
7
|
field :agent_id, -> { String }, optional: false, nullable: true, api_name: "agentId"
|
|
8
8
|
|
|
9
|
-
field :
|
|
9
|
+
field :agent_target_resolution, -> { String }, optional: true, nullable: false, api_name: "agentTargetResolution"
|
|
10
10
|
|
|
11
|
-
field :
|
|
11
|
+
field :agent_version_id, -> { String }, optional: true, nullable: false, api_name: "agentVersionId"
|
|
12
12
|
|
|
13
|
-
field :
|
|
13
|
+
field :agent_version_label, -> { String }, optional: true, nullable: false, api_name: "agentVersionLabel"
|
|
14
14
|
|
|
15
|
-
field :
|
|
15
|
+
field :agent_version_number, -> { Integer }, optional: true, nullable: false, api_name: "agentVersionNumber"
|
|
16
16
|
|
|
17
|
-
field :
|
|
17
|
+
field :batch_execution_id, -> { String }, optional: false, nullable: true, api_name: "batchExecutionId"
|
|
18
18
|
|
|
19
|
-
field :budget_exhausted, -> { Internal::Types::Boolean }, optional:
|
|
19
|
+
field :budget_exhausted, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "budgetExhausted"
|
|
20
20
|
|
|
21
|
-
field :
|
|
21
|
+
field :cache_read_tokens, -> { Integer }, optional: true, nullable: false, api_name: "cacheReadTokens"
|
|
22
22
|
|
|
23
|
-
field :
|
|
23
|
+
field :cache_write_tokens, -> { Integer }, optional: true, nullable: false, api_name: "cacheWriteTokens"
|
|
24
|
+
|
|
25
|
+
field :cancel_requested_at, -> { String }, optional: true, nullable: false, api_name: "cancelRequestedAt"
|
|
26
|
+
|
|
27
|
+
field :child_count, -> { Integer }, optional: false, nullable: true, api_name: "childCount"
|
|
28
|
+
|
|
29
|
+
field :completeness, -> { Runtype::Products::Types::GetV1ProductsIDActivityResponseDataAgentsItemDataItemCompleteness }, optional: false, nullable: true
|
|
24
30
|
|
|
25
31
|
field :conversation_id, -> { String }, optional: false, nullable: true, api_name: "conversationId"
|
|
26
32
|
|
|
27
|
-
field :
|
|
33
|
+
field :duration_ms, -> { Integer }, optional: false, nullable: true, api_name: "durationMs"
|
|
34
|
+
|
|
35
|
+
field :ended_at, -> { String }, optional: false, nullable: true, api_name: "endedAt"
|
|
28
36
|
|
|
29
37
|
field :execution_id, -> { String }, optional: false, nullable: false, api_name: "executionId"
|
|
30
38
|
|
|
31
|
-
field :
|
|
39
|
+
field :expires_at, -> { String }, optional: true, nullable: false, api_name: "expiresAt"
|
|
32
40
|
|
|
33
|
-
field :
|
|
41
|
+
field :fidelity_tier, -> { String }, optional: false, nullable: true, api_name: "fidelityTier"
|
|
34
42
|
|
|
35
|
-
field :
|
|
43
|
+
field :flow_id, -> { String }, optional: false, nullable: true, api_name: "flowId"
|
|
36
44
|
|
|
37
|
-
field :
|
|
45
|
+
field :inline_definition, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "inlineDefinition"
|
|
38
46
|
|
|
39
47
|
field :input_messages, -> { Object }, optional: true, nullable: false, api_name: "inputMessages"
|
|
40
48
|
|
|
41
|
-
field :
|
|
49
|
+
field :input_preview, -> { String }, optional: true, nullable: false, api_name: "inputPreview"
|
|
42
50
|
|
|
43
|
-
field :
|
|
51
|
+
field :input_tokens, -> { Integer }, optional: false, nullable: true, api_name: "inputTokens"
|
|
44
52
|
|
|
45
|
-
field :
|
|
53
|
+
field :iterations, -> { Integer }, optional: true, nullable: false
|
|
46
54
|
|
|
47
|
-
field :
|
|
55
|
+
field :kind, -> { Runtype::Products::Types::GetV1ProductsIDActivityResponseDataAgentsItemDataItemKind }, optional: false, nullable: false
|
|
48
56
|
|
|
49
|
-
field :
|
|
57
|
+
field :last_heartbeat_at, -> { String }, optional: true, nullable: false, api_name: "lastHeartbeatAt"
|
|
58
|
+
|
|
59
|
+
field :origin, -> { Runtype::Products::Types::GetV1ProductsIDActivityResponseDataAgentsItemDataItemOrigin }, optional: false, nullable: true
|
|
60
|
+
|
|
61
|
+
field :otel_producer, -> { Object }, optional: true, nullable: false, api_name: "otelProducer"
|
|
62
|
+
|
|
63
|
+
field :output_tokens, -> { Integer }, optional: false, nullable: true, api_name: "outputTokens"
|
|
50
64
|
|
|
51
65
|
field :parent_execution_id, -> { String }, optional: false, nullable: true, api_name: "parentExecutionId"
|
|
52
66
|
|
|
53
67
|
field :parent_tool_call_id, -> { String }, optional: false, nullable: true, api_name: "parentToolCallId"
|
|
54
68
|
|
|
55
|
-
field :pending_approval, -> {
|
|
69
|
+
field :pending_approval, -> { Object }, optional: true, nullable: false, api_name: "pendingApproval"
|
|
56
70
|
|
|
57
71
|
field :progress, -> { Object }, optional: true, nullable: false
|
|
58
72
|
|
|
59
|
-
field :
|
|
73
|
+
field :reasoning_tokens, -> { Integer }, optional: true, nullable: false, api_name: "reasoningTokens"
|
|
74
|
+
|
|
75
|
+
field :record_id, -> { String }, optional: false, nullable: true, api_name: "recordId"
|
|
76
|
+
|
|
77
|
+
field :requested_flow_id, -> { String }, optional: true, nullable: false, api_name: "requestedFlowId"
|
|
78
|
+
|
|
79
|
+
field :retention_elided, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "retentionElided"
|
|
60
80
|
|
|
61
81
|
field :root_execution_id, -> { String }, optional: false, nullable: true, api_name: "rootExecutionId"
|
|
62
82
|
|
|
63
|
-
field :
|
|
83
|
+
field :self_reported_cost, -> { String }, optional: false, nullable: true, api_name: "selfReportedCost"
|
|
84
|
+
|
|
85
|
+
field :source, -> { Runtype::Products::Types::GetV1ProductsIDActivityResponseDataAgentsItemDataItemSource }, optional: false, nullable: false
|
|
86
|
+
|
|
87
|
+
field :span_count, -> { Integer }, optional: false, nullable: true, api_name: "spanCount"
|
|
88
|
+
|
|
89
|
+
field :started_at, -> { String }, optional: false, nullable: false, api_name: "startedAt"
|
|
64
90
|
|
|
65
91
|
field :status, -> { Runtype::Products::Types::GetV1ProductsIDActivityResponseDataAgentsItemDataItemStatus }, optional: false, nullable: false
|
|
66
92
|
|
|
67
|
-
field :stop_reason, -> { String }, optional:
|
|
93
|
+
field :stop_reason, -> { String }, optional: true, nullable: false, api_name: "stopReason"
|
|
94
|
+
|
|
95
|
+
field :store_results, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "storeResults"
|
|
96
|
+
|
|
97
|
+
field :surface_id, -> { String }, optional: false, nullable: true, api_name: "surfaceId"
|
|
68
98
|
|
|
69
99
|
field :surface_type, -> { String }, optional: false, nullable: true, api_name: "surfaceType"
|
|
70
100
|
|
|
101
|
+
field :test, -> { Internal::Types::Boolean }, optional: false, nullable: true
|
|
102
|
+
|
|
71
103
|
field :total_cost, -> { String }, optional: false, nullable: true, api_name: "totalCost"
|
|
72
104
|
|
|
73
|
-
field :
|
|
105
|
+
field :trace_id, -> { String }, optional: false, nullable: true, api_name: "traceId"
|
|
74
106
|
end
|
|
75
107
|
end
|
|
76
108
|
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Products
|
|
5
|
+
module Types
|
|
6
|
+
module GetV1ProductsIDActivityResponseDataAgentsItemDataItemCompleteness
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PARTIAL = "partial"
|
|
10
|
+
COMPLETE = "complete"
|
|
11
|
+
CONFLICTED = "conflicted"
|
|
12
|
+
EXPIRED = "expired"
|
|
13
|
+
DELETED = "deleted"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
module Runtype
|
|
4
4
|
module Products
|
|
5
5
|
module Types
|
|
6
|
-
module
|
|
6
|
+
module GetV1ProductsIDActivityResponseDataAgentsItemDataItemKind
|
|
7
7
|
extend Runtype::Internal::Types::Enum
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
AGENT = "agent"
|
|
10
|
+
FLOW = "flow"
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|