runtype 0.2.0 → 0.2.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 +16 -0
- data/generated/lib/runtype/agent_aliases/client.rb +320 -0
- data/generated/lib/runtype/agent_aliases/types/delete_v1agents_id_aliases_alias_request.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/delete_v1agents_id_aliases_alias_response.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_request.rb +15 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_alias_response.rb +29 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_request.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_response.rb +13 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_aliases_response_data_item.rb +29 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_request.rb +17 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_response.rb +13 -0
- data/generated/lib/runtype/agent_aliases/types/get_v1agents_id_deployments_response_data_item.rb +29 -0
- data/generated/lib/runtype/agent_aliases/types/post_v1agents_id_aliases_alias_rollback_request.rb +21 -0
- data/generated/lib/runtype/agent_aliases/types/post_v1agents_id_aliases_alias_rollback_response.rb +21 -0
- data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_request.rb +21 -0
- data/generated/lib/runtype/agent_aliases/types/put_v1agents_id_aliases_alias_response.rb +21 -0
- data/generated/lib/runtype/agents/client.rb +14 -2
- 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_agent_target_resolution.rb +15 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_execution_id_response_agent_version.rb +17 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item.rb +6 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item_agent_target_resolution.rb +15 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_executions_response_data_item_agent_version.rb +17 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_response.rb +2 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_response_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/get_v1agents_id_response_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/agents/types/get_v1agents_request.rb +2 -0
- data/generated/lib/runtype/agents/types/get_v1agents_request_managed_in_code.rb +14 -0
- data/generated/lib/runtype/agents/types/get_v1agents_response_data_item.rb +4 -0
- data/generated/lib/runtype/agents/types/get_v1agents_response_data_item_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/get_v1agents_response_data_item_sandbox_capability_issues_item_code.rb +13 -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.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice.rb +8 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice.rb +8 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_request_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/post_v1agents_response.rb +2 -0
- data/generated/lib/runtype/agents/types/post_v1agents_response_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/post_v1agents_response_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_compaction.rb +23 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_compaction_strategy.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_tool_results.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_context_management_tool_results_prune_mode.rb +14 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice.rb +8 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_request_config_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response.rb +2 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response_sandbox_capability_issues_item.rb +19 -0
- data/generated/lib/runtype/agents/types/put_v1agents_id_response_sandbox_capability_issues_item_code.rb +13 -0
- data/generated/lib/runtype/analytics/types/get_v1analytics_record_results_response_data_data_results_item.rb +4 -0
- data/generated/lib/runtype/client.rb +5 -0
- data/generated/lib/runtype/dispatch/client.rb +11 -4
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent.rb +6 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_durability.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_durability_forced.rb +14 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice.rb +8 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_one_agent_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent.rb +6 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_durability.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_durability_forced.rb +14 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice.rb +8 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_endpointing.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_endpointing_strategy.rb +16 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_mode.rb +15 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_synthesizer.rb +17 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_synthesizer_settings.rb +13 -0
- data/generated/lib/runtype/dispatch/types/post_v1dispatch_request_zero_agent_voice_speech_transcriber.rb +13 -0
- data/generated/lib/runtype/evals/types/get_v1eval_id_results_response.rb +2 -0
- data/generated/lib/runtype/evals/types/get_v1eval_id_results_response_case_errors_item.rb +15 -0
- data/generated/lib/runtype/executions/client.rb +53 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_events_request.rb +15 -0
- 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_agent_target_resolution.rb +15 -0
- data/generated/lib/runtype/executions/types/get_v1executions_execution_id_status_response_agent_version.rb +16 -0
- data/generated/lib/runtype/flows/client.rb +2 -1
- data/generated/lib/runtype/flows/types/post_v1flows_ensure_request.rb +2 -0
- data/generated/lib/runtype/records/types/get_v1records_id_results_response_data_item.rb +4 -0
- data/generated/lib/runtype/tools/client.rb +11 -11
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request.rb +29 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_language.rb +15 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_request_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response.rb +2 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy.rb +23 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_metering.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_origin.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_cf_sandbox_deploy_response_effective_policy_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request.rb +35 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_language.rb +15 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_request_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response.rb +2 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy.rb +23 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_metering.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_origin.rb +14 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_retention.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy.rb +17 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy_idle.rb +11 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy_idle_after.rb +16 -0
- data/generated/lib/runtype/tools/types/post_v1tools_sandbox_deploy_response_effective_policy_sleep_policy_never.rb +9 -0
- data/generated/lib/runtype/types/agent_ensure_bad_request.rb +11 -0
- data/generated/lib/runtype/types/agent_ensure_bad_request_code.rb +11 -0
- data/generated/lib/runtype/types/agent_ensure_deploy_target.rb +15 -0
- data/generated/lib/runtype/types/agent_ensure_deployment.rb +20 -0
- data/generated/lib/runtype/types/agent_ensure_response_changed_keys.rb +2 -0
- data/generated/lib/runtype/types/agent_ensure_response_changed_keys_deployment.rb +20 -0
- data/generated/lib/runtype/types/agent_ensure_response_version_id.rb +4 -0
- data/generated/lib/runtype/types/agent_ensure_server_error.rb +13 -0
- data/generated/lib/runtype/types/agent_ensure_server_error_code.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config.rb +2 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_compaction.rb +21 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_compaction_strategy.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_tool_results.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_context_management_tool_results_prune_mode.rb +12 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice.rb +8 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_endpointing.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_endpointing_strategy.rb +14 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_mode.rb +13 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_synthesizer.rb +15 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_synthesizer_settings.rb +11 -0
- data/generated/lib/runtype/types/agent_pull_response_definition_config_voice_speech_transcriber.rb +11 -0
- data/generated/lib/runtype/types/dispatch_continuation_json_response.rb +2 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response.rb +13 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response_pause_kind.rb +12 -0
- data/generated/lib/runtype/types/dispatch_detached_tool_output_json_response_status.rb +11 -0
- data/generated/lib/runtype/types/dispatch_resume_json_response.rb +13 -0
- data/generated/lib/runtype/types/ensure_version_metadata.rb +13 -0
- data/generated/lib/runtype/types/eval_run_scores_response_cases_item.rb +2 -0
- data/generated/lib/runtype/types/execution_stream_event.rb +2 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice.rb +29 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_kind.rb +11 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_outcome.rb +14 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_phase.rb +12 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_reason.rb +15 -0
- data/generated/lib/runtype/types/execution_stream_event_context_notice_strategy.rb +12 -0
- data/generated/lib/runtype/types/not_found_error_body_code.rb +11 -0
- data/generated/lib/runtype/types/precondition_failed_error_body.rb +17 -0
- data/generated/lib/runtype/types/precondition_failed_error_body_code.rb +11 -0
- data/generated/lib/runtype/types/run_eval_response_cases_item.rb +2 -0
- data/generated/lib/runtype.rb +154 -5
- data/lib/runtype/agent_definition.rb +1 -1
- data/lib/runtype/client.rb +22 -2
- data/lib/runtype/detached_follow.rb +136 -0
- data/lib/runtype/local_tool_runner.rb +117 -16
- data/lib/runtype/sdk_version.rb +1 -1
- data/lib/runtype.rb +1 -0
- metadata +151 -1
|
@@ -24,6 +24,7 @@ module Runtype
|
|
|
24
24
|
# @option params [String, nil] :include_count
|
|
25
25
|
# @option params [String, nil] :search
|
|
26
26
|
# @option params [Runtype::Agents::Types::GetV1AgentsRequestAgentType, nil] :agent_type
|
|
27
|
+
# @option params [Runtype::Agents::Types::GetV1AgentsRequestManagedInCode, nil] :managed_in_code
|
|
27
28
|
# @option params [Runtype::Agents::Types::GetV1AgentsRequestView, nil] :view
|
|
28
29
|
#
|
|
29
30
|
# @example
|
|
@@ -38,6 +39,7 @@ module Runtype
|
|
|
38
39
|
query_params["includeCount"] = params[:include_count] if params.key?(:include_count)
|
|
39
40
|
query_params["search"] = params[:search] if params.key?(:search)
|
|
40
41
|
query_params["agentType"] = params[:agent_type] if params.key?(:agent_type)
|
|
42
|
+
query_params["managedInCode"] = params[:managed_in_code] if params.key?(:managed_in_code)
|
|
41
43
|
query_params["view"] = params[:view] if params.key?(:view)
|
|
42
44
|
|
|
43
45
|
request = Runtype::Internal::JSON::Request.new(
|
|
@@ -122,7 +124,15 @@ module Runtype
|
|
|
122
124
|
# an error); full requests create the agent or append a new version when the canonical content hash differs.
|
|
123
125
|
# Non-executing: never touches the execution pipeline. The response always carries the server-computed canonical
|
|
124
126
|
# hash. Set dryRun to plan without writing (CI drift gate), onConflict: "overwrite" to converge over dashboard/API
|
|
125
|
-
# edits, and
|
|
127
|
+
# edits, and deploy: { alias } to atomically save and activate the definition at a release alias (release:
|
|
128
|
+
# "publish" / "none" remain compatibility spellings of deploy live / save-only, and mixing the two is a 400). A
|
|
129
|
+
# non-live deploy is alias-scoped: it appends a candidate version and moves that one pointer, and never writes the
|
|
130
|
+
# agent row, its config hash, its capabilities, its draft pointer or its live pointer, so "unchanged" is decided
|
|
131
|
+
# against the hash stored on the alias rather than against the live row. onConflict, expectedRemoteHash and
|
|
132
|
+
# managed-by-code provenance describe live-row writes and therefore do not apply to a non-live deploy; remoteHash
|
|
133
|
+
# in the response is the hash the alias carried before. The one exception is an agent name that does not exist
|
|
134
|
+
# yet: the create is the live row (there is nothing to preview against), and live is still not aimed. Optional
|
|
135
|
+
# version.label / version.notes stamp provenance (a git SHA, a release tag) on the appended version row.
|
|
126
136
|
#
|
|
127
137
|
# @param request_options [Hash]
|
|
128
138
|
# @param params [Runtype::Agents::Types::PostV1AgentsEnsureRequest]
|
|
@@ -568,7 +578,9 @@ module Runtype
|
|
|
568
578
|
|
|
569
579
|
# Execute an agent with a message array. Streams a Server-Sent Events response when streamResponse is true
|
|
570
580
|
# (default); otherwise returns a JSON result. Send the RFC 7240 `Prefer: respond-async` header to receive a
|
|
571
|
-
# durable execution handle immediately, then poll its status URL for completion.
|
|
581
|
+
# durable execution handle immediately, then poll its status URL for completion. The optional `durability` body
|
|
582
|
+
# field pins the lane for this request (`forced`: `durable` or `in_process`) or bounds its attached watch
|
|
583
|
+
# (`watchLeaseMs`), and outranks the saved agent config.
|
|
572
584
|
#
|
|
573
585
|
# @param request_options [Hash]
|
|
574
586
|
# @param params [Hash]
|
|
@@ -10,6 +10,12 @@ module Runtype
|
|
|
10
10
|
|
|
11
11
|
field :agent_spec, -> { Object }, optional: true, nullable: false, api_name: "agentSpec"
|
|
12
12
|
|
|
13
|
+
field :agent_target_resolution, -> { Runtype::Agents::Types::GetV1AgentsIDExecutionsExecutionIDResponseAgentTargetResolution }, optional: false, nullable: false, api_name: "agentTargetResolution"
|
|
14
|
+
|
|
15
|
+
field :agent_version, -> { Runtype::Agents::Types::GetV1AgentsIDExecutionsExecutionIDResponseAgentVersion }, optional: false, nullable: true, api_name: "agentVersion"
|
|
16
|
+
|
|
17
|
+
field :agent_version_id, -> { String }, optional: false, nullable: true, api_name: "agentVersionId"
|
|
18
|
+
|
|
13
19
|
field :budget_exhausted, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "budgetExhausted"
|
|
14
20
|
|
|
15
21
|
field :cancel_requested_at, -> { String }, optional: false, nullable: true, api_name: "cancelRequestedAt"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module GetV1AgentsIDExecutionsExecutionIDResponseAgentTargetResolution
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ALIAS = "alias"
|
|
10
|
+
VERSION = "version"
|
|
11
|
+
LEGACY_LIVE_ROW = "legacy-live-row"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
# Version number and label for `agentVersionId`, joined from `agent_versions`. `null` exactly when
|
|
7
|
+
# `agentVersionId` is `null`.
|
|
8
|
+
class GetV1AgentsIDExecutionsExecutionIDResponseAgentVersion < Internal::Types::Model
|
|
9
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :label, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :version_number, -> { Integer }, optional: false, nullable: false, api_name: "versionNumber"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -10,6 +10,12 @@ module Runtype
|
|
|
10
10
|
|
|
11
11
|
field :agent_spec, -> { Object }, optional: true, nullable: false, api_name: "agentSpec"
|
|
12
12
|
|
|
13
|
+
field :agent_target_resolution, -> { Runtype::Agents::Types::GetV1AgentsIDExecutionsResponseDataItemAgentTargetResolution }, optional: false, nullable: false, api_name: "agentTargetResolution"
|
|
14
|
+
|
|
15
|
+
field :agent_version, -> { Runtype::Agents::Types::GetV1AgentsIDExecutionsResponseDataItemAgentVersion }, optional: false, nullable: true, api_name: "agentVersion"
|
|
16
|
+
|
|
17
|
+
field :agent_version_id, -> { String }, optional: false, nullable: true, api_name: "agentVersionId"
|
|
18
|
+
|
|
13
19
|
field :budget_exhausted, -> { Internal::Types::Boolean }, optional: false, nullable: true, api_name: "budgetExhausted"
|
|
14
20
|
|
|
15
21
|
field :cancel_requested_at, -> { String }, optional: false, nullable: true, api_name: "cancelRequestedAt"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module GetV1AgentsIDExecutionsResponseDataItemAgentTargetResolution
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
ALIAS = "alias"
|
|
10
|
+
VERSION = "version"
|
|
11
|
+
LEGACY_LIVE_ROW = "legacy-live-row"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
# Version number and label for `agentVersionId`, joined from `agent_versions`. `null` exactly when
|
|
7
|
+
# `agentVersionId` is `null`.
|
|
8
|
+
class GetV1AgentsIDExecutionsResponseDataItemAgentVersion < Internal::Types::Model
|
|
9
|
+
field :id, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :label, -> { String }, optional: false, nullable: true
|
|
12
|
+
|
|
13
|
+
field :version_number, -> { Integer }, optional: false, nullable: false, api_name: "versionNumber"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -38,6 +38,8 @@ module Runtype
|
|
|
38
38
|
|
|
39
39
|
field :published_version_id, -> { String }, optional: false, nullable: true, api_name: "publishedVersionId"
|
|
40
40
|
|
|
41
|
+
field :sandbox_capability_issues, -> { Internal::Types::Array[Runtype::Agents::Types::GetV1AgentsIDResponseSandboxCapabilityIssuesItem] }, optional: true, nullable: false, api_name: "sandboxCapabilityIssues"
|
|
42
|
+
|
|
41
43
|
field :status, -> { String }, optional: false, nullable: false
|
|
42
44
|
|
|
43
45
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
data/generated/lib/runtype/agents/types/get_v1agents_id_response_sandbox_capability_issues_item.rb
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class GetV1AgentsIDResponseSandboxCapabilityIssuesItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { Runtype::Agents::Types::GetV1AgentsIDResponseSandboxCapabilityIssuesItemCode }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :message, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :path, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :requested, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module GetV1AgentsIDResponseSandboxCapabilityIssuesItemCode
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
UNSUPPORTED_SANDBOX_CAPABILITY = "unsupported_sandbox_capability"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -14,6 +14,8 @@ module Runtype
|
|
|
14
14
|
|
|
15
15
|
field :agent_type, -> { Runtype::Agents::Types::GetV1AgentsRequestAgentType }, optional: true, nullable: false, api_name: "agentType"
|
|
16
16
|
|
|
17
|
+
field :managed_in_code, -> { Runtype::Agents::Types::GetV1AgentsRequestManagedInCode }, optional: true, nullable: false, api_name: "managedInCode"
|
|
18
|
+
|
|
17
19
|
field :view, -> { Runtype::Agents::Types::GetV1AgentsRequestView }, optional: true, nullable: false
|
|
18
20
|
end
|
|
19
21
|
end
|
|
@@ -18,10 +18,14 @@ module Runtype
|
|
|
18
18
|
|
|
19
19
|
field :id, -> { String }, optional: false, nullable: false
|
|
20
20
|
|
|
21
|
+
field :last_modified_source, -> { String }, optional: false, nullable: true, api_name: "lastModifiedSource"
|
|
22
|
+
|
|
21
23
|
field :last_run_at, -> { String }, optional: true, nullable: false, api_name: "lastRunAt"
|
|
22
24
|
|
|
23
25
|
field :name, -> { String }, optional: false, nullable: false
|
|
24
26
|
|
|
27
|
+
field :sandbox_capability_issues, -> { Internal::Types::Array[Runtype::Agents::Types::GetV1AgentsResponseDataItemSandboxCapabilityIssuesItem] }, optional: true, nullable: false, api_name: "sandboxCapabilityIssues"
|
|
28
|
+
|
|
25
29
|
field :status, -> { String }, optional: false, nullable: false
|
|
26
30
|
|
|
27
31
|
field :updated_at, -> { String }, optional: false, nullable: false, api_name: "updatedAt"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class GetV1AgentsResponseDataItemSandboxCapabilityIssuesItem < Internal::Types::Model
|
|
7
|
+
field :code, -> { Runtype::Agents::Types::GetV1AgentsResponseDataItemSandboxCapabilityIssuesItemCode }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :message, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :path, -> { String }, optional: false, nullable: false
|
|
12
|
+
|
|
13
|
+
field :requested, -> { String }, optional: false, nullable: false
|
|
14
|
+
|
|
15
|
+
field :supported, -> { Internal::Types::Array[String] }, optional: false, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module GetV1AgentsResponseDataItemSandboxCapabilityIssuesItemCode
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
UNSUPPORTED_SANDBOX_CAPABILITY = "unsupported_sandbox_capability"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -8,6 +8,8 @@ module Runtype
|
|
|
8
8
|
|
|
9
9
|
field :definition, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinition }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :deploy, -> { Runtype::Types::AgentEnsureDeployTarget }, optional: true, nullable: false
|
|
12
|
+
|
|
11
13
|
field :dry_run, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "dryRun"
|
|
12
14
|
|
|
13
15
|
field :expected_remote_hash, -> { String }, optional: true, nullable: false, api_name: "expectedRemoteHash"
|
|
@@ -17,6 +19,8 @@ module Runtype
|
|
|
17
19
|
field :on_conflict, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestOnConflict }, optional: true, nullable: false, api_name: "onConflict"
|
|
18
20
|
|
|
19
21
|
field :release, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestRelease }, optional: true, nullable: false
|
|
22
|
+
|
|
23
|
+
field :version, -> { Runtype::Types::EnsureVersionMetadata }, optional: true, nullable: false
|
|
20
24
|
end
|
|
21
25
|
end
|
|
22
26
|
end
|
|
@@ -8,6 +8,8 @@ module Runtype
|
|
|
8
8
|
|
|
9
9
|
field :artifacts, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigArtifacts }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :context_management, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigContextManagement }, optional: true, nullable: false, api_name: "contextManagement"
|
|
12
|
+
|
|
11
13
|
field :durability, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigDurability }, optional: true, nullable: false
|
|
12
14
|
|
|
13
15
|
field :error_handling, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigErrorHandling }, optional: true, nullable: false, api_name: "errorHandling"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigContextManagement < Internal::Types::Model
|
|
7
|
+
field :compaction, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigContextManagementCompaction }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :tool_results, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigContextManagementToolResults }, optional: true, nullable: false, api_name: "toolResults"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigContextManagementCompaction < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :instructions, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :model, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :retain_recent_tokens, -> { Integer }, optional: true, nullable: false, api_name: "retainRecentTokens"
|
|
14
|
+
|
|
15
|
+
field :strategy, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigContextManagementCompactionStrategy }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :threshold_ratio, -> { Integer }, optional: true, nullable: false, api_name: "thresholdRatio"
|
|
18
|
+
|
|
19
|
+
field :threshold_tokens, -> { Integer }, optional: true, nullable: false, api_name: "thresholdTokens"
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1AgentsEnsureRequestDefinitionConfigContextManagementCompactionStrategy
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
AUTO = "auto"
|
|
10
|
+
PROVIDER_NATIVE = "provider_native"
|
|
11
|
+
SUMMARY = "summary"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigContextManagementToolResults < Internal::Types::Model
|
|
7
|
+
field :inline_threshold_chars, -> { Integer }, optional: true, nullable: false, api_name: "inlineThresholdChars"
|
|
8
|
+
|
|
9
|
+
field :prune_hot_window_tokens, -> { Integer }, optional: true, nullable: false, api_name: "pruneHotWindowTokens"
|
|
10
|
+
|
|
11
|
+
field :prune_mode, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigContextManagementToolResultsPruneMode }, optional: true, nullable: false, api_name: "pruneMode"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1AgentsEnsureRequestDefinitionConfigContextManagementToolResultsPruneMode
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
MASK = "mask"
|
|
10
|
+
OFF = "off"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
data/generated/lib/runtype/agents/types/post_v1agents_ensure_request_definition_config_voice.rb
CHANGED
|
@@ -8,9 +8,17 @@ module Runtype
|
|
|
8
8
|
|
|
9
9
|
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :endpointing, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceEndpointing }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :greeting, -> { String }, optional: true, nullable: false
|
|
14
|
+
|
|
11
15
|
field :interruption_mode, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceInterruptionMode }, optional: true, nullable: false, api_name: "interruptionMode"
|
|
12
16
|
|
|
17
|
+
field :language, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
13
19
|
field :provider, -> { String }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :speech, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeech }, optional: true, nullable: false
|
|
14
22
|
end
|
|
15
23
|
end
|
|
16
24
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigVoiceEndpointing < Internal::Types::Model
|
|
7
|
+
field :silence_ms, -> { Integer }, optional: true, nullable: false, api_name: "silenceMs"
|
|
8
|
+
|
|
9
|
+
field :strategy, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceEndpointingStrategy }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1AgentsEnsureRequestDefinitionConfigVoiceEndpointingStrategy
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PROVIDER_VAD = "provider_vad"
|
|
10
|
+
SERVER_VAD = "server_vad"
|
|
11
|
+
CLIENT_COMMIT = "client_commit"
|
|
12
|
+
MANUAL = "manual"
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeech < Internal::Types::Model
|
|
7
|
+
field :mode, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechMode }, optional: false, nullable: false
|
|
8
|
+
|
|
9
|
+
field :synthesizer, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechSynthesizer }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :transcriber, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechTranscriber }, optional: false, nullable: false
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechMode
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
PIPELINE = "pipeline"
|
|
10
|
+
SPEECH_TO_SPEECH = "speech_to_speech"
|
|
11
|
+
PROVIDER_MANAGED = "provider_managed"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechSynthesizer < Internal::Types::Model
|
|
7
|
+
field :model, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :provider, -> { String }, optional: false, nullable: false
|
|
10
|
+
|
|
11
|
+
field :settings, -> { Runtype::Agents::Types::PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechSynthesizerSettings }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :voice_id, -> { String }, optional: true, nullable: false, api_name: "voiceId"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechSynthesizerSettings < Internal::Types::Model
|
|
7
|
+
field :similarity, -> { Integer }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :stability, -> { Integer }, optional: true, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsEnsureRequestDefinitionConfigVoiceSpeechTranscriber < Internal::Types::Model
|
|
7
|
+
field :model, -> { String }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :provider, -> { String }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -8,6 +8,8 @@ module Runtype
|
|
|
8
8
|
|
|
9
9
|
field :artifacts, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigArtifacts }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :context_management, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigContextManagement }, optional: true, nullable: false, api_name: "contextManagement"
|
|
12
|
+
|
|
11
13
|
field :durability, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigDurability }, optional: true, nullable: false
|
|
12
14
|
|
|
13
15
|
field :error_handling, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigErrorHandling }, optional: true, nullable: false, api_name: "errorHandling"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsRequestConfigContextManagement < Internal::Types::Model
|
|
7
|
+
field :compaction, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigContextManagementCompaction }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :tool_results, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigContextManagementToolResults }, optional: true, nullable: false, api_name: "toolResults"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsRequestConfigContextManagementCompaction < Internal::Types::Model
|
|
7
|
+
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
8
|
+
|
|
9
|
+
field :instructions, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :model, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :retain_recent_tokens, -> { Integer }, optional: true, nullable: false, api_name: "retainRecentTokens"
|
|
14
|
+
|
|
15
|
+
field :strategy, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigContextManagementCompactionStrategy }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :threshold_ratio, -> { Integer }, optional: true, nullable: false, api_name: "thresholdRatio"
|
|
18
|
+
|
|
19
|
+
field :threshold_tokens, -> { Integer }, optional: true, nullable: false, api_name: "thresholdTokens"
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
module PostV1AgentsRequestConfigContextManagementCompactionStrategy
|
|
7
|
+
extend Runtype::Internal::Types::Enum
|
|
8
|
+
|
|
9
|
+
AUTO = "auto"
|
|
10
|
+
PROVIDER_NATIVE = "provider_native"
|
|
11
|
+
SUMMARY = "summary"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsRequestConfigContextManagementToolResults < Internal::Types::Model
|
|
7
|
+
field :inline_threshold_chars, -> { Integer }, optional: true, nullable: false, api_name: "inlineThresholdChars"
|
|
8
|
+
|
|
9
|
+
field :prune_hot_window_tokens, -> { Integer }, optional: true, nullable: false, api_name: "pruneHotWindowTokens"
|
|
10
|
+
|
|
11
|
+
field :prune_mode, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigContextManagementToolResultsPruneMode }, optional: true, nullable: false, api_name: "pruneMode"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -8,9 +8,17 @@ module Runtype
|
|
|
8
8
|
|
|
9
9
|
field :enabled, -> { Internal::Types::Boolean }, optional: true, nullable: false
|
|
10
10
|
|
|
11
|
+
field :endpointing, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigVoiceEndpointing }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :greeting, -> { String }, optional: true, nullable: false
|
|
14
|
+
|
|
11
15
|
field :interruption_mode, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigVoiceInterruptionMode }, optional: true, nullable: false, api_name: "interruptionMode"
|
|
12
16
|
|
|
17
|
+
field :language, -> { String }, optional: true, nullable: false
|
|
18
|
+
|
|
13
19
|
field :provider, -> { String }, optional: true, nullable: false
|
|
20
|
+
|
|
21
|
+
field :speech, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigVoiceSpeech }, optional: true, nullable: false
|
|
14
22
|
end
|
|
15
23
|
end
|
|
16
24
|
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Runtype
|
|
4
|
+
module Agents
|
|
5
|
+
module Types
|
|
6
|
+
class PostV1AgentsRequestConfigVoiceEndpointing < Internal::Types::Model
|
|
7
|
+
field :silence_ms, -> { Integer }, optional: true, nullable: false, api_name: "silenceMs"
|
|
8
|
+
|
|
9
|
+
field :strategy, -> { Runtype::Agents::Types::PostV1AgentsRequestConfigVoiceEndpointingStrategy }, optional: false, nullable: false
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|