qca 0.0.1.dev1__py3-none-any.whl
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.
- qca/__init__.py +50 -0
- qca/_version.py +1 -0
- qca/common/__init__.py +43 -0
- qca/common/_base_client.py +450 -0
- qca/common/_exceptions.py +97 -0
- qca/common/_files.py +38 -0
- qca/common/_models.py +33 -0
- qca/common/_resource.py +35 -0
- qca/common/_response.py +220 -0
- qca/common/_streaming.py +143 -0
- qca/common/_types.py +25 -0
- qca/common/_utils.py +73 -0
- qca/common/credentials.py +13 -0
- qca/common/pagination.py +118 -0
- qca/forward/__init__.py +7 -0
- qca/forward/_client.py +142 -0
- qca/forward/resources/__init__.py +14 -0
- qca/forward/resources/batches/__init__.py +4 -0
- qca/forward/resources/batches/batches.py +308 -0
- qca/forward/resources/batches/tasks.py +71 -0
- qca/forward/resources/channel_pairings.py +111 -0
- qca/forward/resources/channels/__init__.py +4 -0
- qca/forward/resources/channels/channels.py +336 -0
- qca/forward/resources/channels/qr_sessions.py +106 -0
- qca/forward/resources/environments.py +305 -0
- qca/forward/resources/files.py +272 -0
- qca/forward/resources/identities/__init__.py +6 -0
- qca/forward/resources/identities/configs.py +249 -0
- qca/forward/resources/identities/identities.py +570 -0
- qca/forward/resources/identities/memory_stores.py +186 -0
- qca/forward/resources/memory_stores/__init__.py +6 -0
- qca/forward/resources/memory_stores/memories.py +290 -0
- qca/forward/resources/memory_stores/memory_stores.py +321 -0
- qca/forward/resources/memory_stores/memory_versions.py +179 -0
- qca/forward/resources/models.py +58 -0
- qca/forward/resources/schedule_runs.py +149 -0
- qca/forward/resources/schedules.py +545 -0
- qca/forward/resources/sessions/__init__.py +6 -0
- qca/forward/resources/sessions/events.py +208 -0
- qca/forward/resources/sessions/resources.py +66 -0
- qca/forward/resources/sessions/sessions.py +417 -0
- qca/forward/resources/sessions/threads/__init__.py +4 -0
- qca/forward/resources/sessions/threads/events.py +128 -0
- qca/forward/resources/sessions/threads/threads.py +177 -0
- qca/forward/resources/skills/__init__.py +4 -0
- qca/forward/resources/skills/skills.py +335 -0
- qca/forward/resources/skills/versions.py +253 -0
- qca/forward/resources/templates.py +426 -0
- qca/forward/resources/vaults/__init__.py +4 -0
- qca/forward/resources/vaults/credentials.py +227 -0
- qca/forward/resources/vaults/vaults.py +217 -0
- qca/forward/types/__init__.py +205 -0
- qca/forward/types/batch.py +35 -0
- qca/forward/types/batch_cancel_params.py +11 -0
- qca/forward/types/batch_create_params.py +14 -0
- qca/forward/types/batch_file.py +13 -0
- qca/forward/types/batch_list_params.py +14 -0
- qca/forward/types/batch_request_counts.py +17 -0
- qca/forward/types/batch_task.py +24 -0
- qca/forward/types/batch_task_artifacts_item.py +14 -0
- qca/forward/types/batch_task_error.py +12 -0
- qca/forward/types/batch_task_list_params.py +14 -0
- qca/forward/types/batch_task_usage.py +11 -0
- qca/forward/types/batch_usage.py +11 -0
- qca/forward/types/channel.py +27 -0
- qca/forward/types/channel_channel_config.py +14 -0
- qca/forward/types/channel_channel_config_response_options.py +12 -0
- qca/forward/types/channel_create_params.py +18 -0
- qca/forward/types/channel_identity_resolution.py +11 -0
- qca/forward/types/channel_list_params.py +18 -0
- qca/forward/types/channel_pairing.py +17 -0
- qca/forward/types/channel_pairing_create_params.py +14 -0
- qca/forward/types/channel_qr_session.py +19 -0
- qca/forward/types/channel_qr_session_create_params.py +11 -0
- qca/forward/types/channel_update_params.py +16 -0
- qca/forward/types/content_block_param.py +17 -0
- qca/forward/types/deleted_channel.py +12 -0
- qca/forward/types/deleted_channel_pairing.py +12 -0
- qca/forward/types/deleted_identity.py +12 -0
- qca/forward/types/deleted_memory.py +13 -0
- qca/forward/types/deleted_memory_store.py +13 -0
- qca/forward/types/deleted_memory_store_mount.py +13 -0
- qca/forward/types/deleted_skill_version.py +13 -0
- qca/forward/types/effective_config.py +23 -0
- qca/forward/types/effective_config_agent.py +19 -0
- qca/forward/types/effective_config_agent_tools_item.py +15 -0
- qca/forward/types/effective_config_agent_tools_item_configs_item.py +12 -0
- qca/forward/types/effective_config_session.py +17 -0
- qca/forward/types/effective_config_session_resources_item.py +14 -0
- qca/forward/types/environment.py +24 -0
- qca/forward/types/environment_config.py +15 -0
- qca/forward/types/environment_config_packages.py +17 -0
- qca/forward/types/environment_create_params.py +15 -0
- qca/forward/types/environment_list_params.py +14 -0
- qca/forward/types/environment_update_params.py +14 -0
- qca/forward/types/environment_variable_override.py +12 -0
- qca/forward/types/environment_variable_override_param.py +12 -0
- qca/forward/types/file_list_params.py +16 -0
- qca/forward/types/file_metadata.py +22 -0
- qca/forward/types/file_upload_params.py +17 -0
- qca/forward/types/git_hub_repository.py +13 -0
- qca/forward/types/git_hub_repository_param.py +14 -0
- qca/forward/types/identity.py +19 -0
- qca/forward/types/identity_clear_params.py +11 -0
- qca/forward/types/identity_clear_response.py +18 -0
- qca/forward/types/identity_clear_response_summary.py +16 -0
- qca/forward/types/identity_config.py +25 -0
- qca/forward/types/identity_config_list_params.py +15 -0
- qca/forward/types/identity_config_spec.py +31 -0
- qca/forward/types/identity_config_spec_param.py +31 -0
- qca/forward/types/identity_config_upsert_params.py +17 -0
- qca/forward/types/identity_create_params.py +15 -0
- qca/forward/types/identity_list_params.py +17 -0
- qca/forward/types/identity_list_templates_response.py +14 -0
- qca/forward/types/identity_memory_store_list_response.py +15 -0
- qca/forward/types/identity_memory_store_mount_params.py +9 -0
- qca/forward/types/identity_stats.py +14 -0
- qca/forward/types/identity_template.py +15 -0
- qca/forward/types/identity_update_params.py +15 -0
- qca/forward/types/image_source_param.py +15 -0
- qca/forward/types/mcp_server.py +13 -0
- qca/forward/types/mcp_server_override.py +13 -0
- qca/forward/types/mcp_server_override_param.py +13 -0
- qca/forward/types/mcp_server_param.py +13 -0
- qca/forward/types/memory.py +21 -0
- qca/forward/types/memory_store.py +25 -0
- qca/forward/types/memory_store_create_params.py +14 -0
- qca/forward/types/memory_store_list_params.py +14 -0
- qca/forward/types/memory_store_memory_create_params.py +13 -0
- qca/forward/types/memory_store_memory_list_params.py +14 -0
- qca/forward/types/memory_store_memory_update_params.py +13 -0
- qca/forward/types/memory_store_memory_version_list_params.py +14 -0
- qca/forward/types/memory_store_mount.py +20 -0
- qca/forward/types/memory_store_update_params.py +13 -0
- qca/forward/types/memory_version.py +23 -0
- qca/forward/types/model.py +23 -0
- qca/forward/types/model_config.py +13 -0
- qca/forward/types/model_config_param.py +13 -0
- qca/forward/types/model_list_response.py +15 -0
- qca/forward/types/multiagent_config.py +15 -0
- qca/forward/types/multiagent_config_param.py +15 -0
- qca/forward/types/multiagent_entry.py +13 -0
- qca/forward/types/multiagent_entry_param.py +13 -0
- qca/forward/types/permission_policy.py +11 -0
- qca/forward/types/permission_policy_param.py +9 -0
- qca/forward/types/resource_binding.py +11 -0
- qca/forward/types/resource_binding_param.py +11 -0
- qca/forward/types/schedule.py +34 -0
- qca/forward/types/schedule_archive_many_params.py +12 -0
- qca/forward/types/schedule_archive_many_response.py +11 -0
- qca/forward/types/schedule_archive_params.py +11 -0
- qca/forward/types/schedule_create_params.py +21 -0
- qca/forward/types/schedule_execution.py +14 -0
- qca/forward/types/schedule_initial_events_item.py +12 -0
- qca/forward/types/schedule_list_params.py +19 -0
- qca/forward/types/schedule_pause_params.py +11 -0
- qca/forward/types/schedule_paused_reason.py +11 -0
- qca/forward/types/schedule_run.py +33 -0
- qca/forward/types/schedule_run_list_params.py +20 -0
- qca/forward/types/schedule_run_params.py +11 -0
- qca/forward/types/schedule_run_retrieve_params.py +11 -0
- qca/forward/types/schedule_run_trigger_context.py +13 -0
- qca/forward/types/schedule_sinks_item.py +16 -0
- qca/forward/types/schedule_sinks_item_target.py +12 -0
- qca/forward/types/schedule_trigger_policy.py +15 -0
- qca/forward/types/schedule_unpause_params.py +11 -0
- qca/forward/types/schedule_update_params.py +20 -0
- qca/forward/types/session.py +33 -0
- qca/forward/types/session_archive_params.py +11 -0
- qca/forward/types/session_cancel_params.py +11 -0
- qca/forward/types/session_config.py +11 -0
- qca/forward/types/session_create_params.py +21 -0
- qca/forward/types/session_create_params_config_param.py +11 -0
- qca/forward/types/session_event.py +52 -0
- qca/forward/types/session_event_list_params.py +18 -0
- qca/forward/types/session_event_param.py +24 -0
- qca/forward/types/session_event_send_params.py +15 -0
- qca/forward/types/session_event_send_response.py +14 -0
- qca/forward/types/session_event_stream_params.py +14 -0
- qca/forward/types/session_list_params.py +27 -0
- qca/forward/types/session_resource.py +17 -0
- qca/forward/types/session_resource_add_params.py +13 -0
- qca/forward/types/session_resource_spec_param.py +13 -0
- qca/forward/types/session_stats.py +12 -0
- qca/forward/types/session_template.py +18 -0
- qca/forward/types/session_thread.py +27 -0
- qca/forward/types/session_thread_archive_params.py +11 -0
- qca/forward/types/session_thread_event_list_params.py +13 -0
- qca/forward/types/session_thread_event_stream_params.py +11 -0
- qca/forward/types/session_thread_list_params.py +13 -0
- qca/forward/types/session_thread_stop_reason.py +11 -0
- qca/forward/types/session_update_params.py +17 -0
- qca/forward/types/session_update_params_config_param.py +11 -0
- qca/forward/types/session_usage.py +11 -0
- qca/forward/types/skill.py +23 -0
- qca/forward/types/skill_binding.py +14 -0
- qca/forward/types/skill_binding_param.py +14 -0
- qca/forward/types/skill_create_params.py +20 -0
- qca/forward/types/skill_list_params.py +17 -0
- qca/forward/types/skill_override.py +13 -0
- qca/forward/types/skill_override_param.py +13 -0
- qca/forward/types/skill_retrieve_params.py +11 -0
- qca/forward/types/skill_update_params.py +16 -0
- qca/forward/types/skill_version.py +22 -0
- qca/forward/types/skill_version_create_params.py +13 -0
- qca/forward/types/skill_version_list_params.py +12 -0
- qca/forward/types/system_override.py +12 -0
- qca/forward/types/system_override_param.py +12 -0
- qca/forward/types/template.py +39 -0
- qca/forward/types/template_archive_params.py +11 -0
- qca/forward/types/template_clone_params.py +13 -0
- qca/forward/types/template_create_params.py +35 -0
- qca/forward/types/template_list_params.py +14 -0
- qca/forward/types/template_update_params.py +35 -0
- qca/forward/types/tool.py +21 -0
- qca/forward/types/tool_config.py +16 -0
- qca/forward/types/tool_config_param.py +16 -0
- qca/forward/types/tool_override.py +15 -0
- qca/forward/types/tool_override_param.py +15 -0
- qca/forward/types/tool_param.py +21 -0
- qca/forward/types/vault.py +18 -0
- qca/forward/types/vault_create_params.py +13 -0
- qca/forward/types/vault_credential.py +22 -0
- qca/forward/types/vault_credential_auth.py +12 -0
- qca/forward/types/vault_credential_create_params.py +14 -0
- qca/forward/types/vault_credential_list_params.py +15 -0
- qca/forward/types/vault_list_params.py +15 -0
- qca/managed/__init__.py +7 -0
- qca/managed/_client.py +115 -0
- qca/managed/resources/__init__.py +10 -0
- qca/managed/resources/agents/__init__.py +4 -0
- qca/managed/resources/agents/agents.py +386 -0
- qca/managed/resources/agents/versions.py +71 -0
- qca/managed/resources/deployment_runs.py +160 -0
- qca/managed/resources/deployments.py +552 -0
- qca/managed/resources/dreams.py +303 -0
- qca/managed/resources/environments/__init__.py +4 -0
- qca/managed/resources/environments/environments.py +359 -0
- qca/managed/resources/environments/work.py +449 -0
- qca/managed/resources/files.py +295 -0
- qca/managed/resources/memory_stores/__init__.py +6 -0
- qca/managed/resources/memory_stores/memories.py +358 -0
- qca/managed/resources/memory_stores/memory_stores.py +362 -0
- qca/managed/resources/memory_stores/memory_versions.py +228 -0
- qca/managed/resources/models.py +71 -0
- qca/managed/resources/sessions/__init__.py +6 -0
- qca/managed/resources/sessions/events.py +240 -0
- qca/managed/resources/sessions/resources.py +303 -0
- qca/managed/resources/sessions/sessions.py +472 -0
- qca/managed/resources/sessions/threads/__init__.py +4 -0
- qca/managed/resources/sessions/threads/events.py +141 -0
- qca/managed/resources/sessions/threads/threads.py +185 -0
- qca/managed/resources/skills/__init__.py +4 -0
- qca/managed/resources/skills/skills.py +254 -0
- qca/managed/resources/skills/versions.py +273 -0
- qca/managed/resources/vaults/__init__.py +4 -0
- qca/managed/resources/vaults/credentials.py +437 -0
- qca/managed/resources/vaults/vaults.py +296 -0
- qca/managed/types/__init__.py +421 -0
- qca/managed/types/actor_union.py +15 -0
- qca/managed/types/advisor_params.py +12 -0
- qca/managed/types/agent.py +33 -0
- qca/managed/types/agent_archive_params.py +12 -0
- qca/managed/types/agent_create_params.py +31 -0
- qca/managed/types/agent_list_params.py +18 -0
- qca/managed/types/agent_mcp_tool_result_event_content_union.py +21 -0
- qca/managed/types/agent_message_event_content_union.py +12 -0
- qca/managed/types/agent_params.py +13 -0
- qca/managed/types/agent_reference.py +13 -0
- qca/managed/types/agent_retrieve_params.py +13 -0
- qca/managed/types/agent_skill_union.py +13 -0
- qca/managed/types/agent_thread_message_received_event_content_union.py +20 -0
- qca/managed/types/agent_thread_message_received_event_content_union_source.py +15 -0
- qca/managed/types/agent_thread_message_sent_event_content_union.py +18 -0
- qca/managed/types/agent_thread_message_sent_event_content_union_source.py +15 -0
- qca/managed/types/agent_tool_config_union.py +22 -0
- qca/managed/types/agent_tool_config_union_permission_policy.py +11 -0
- qca/managed/types/agent_tool_result_event_content_union.py +21 -0
- qca/managed/types/agent_tool_union.py +25 -0
- qca/managed/types/agent_tool_union_default_config.py +15 -0
- qca/managed/types/agent_tool_union_default_config_permission_policy.py +11 -0
- qca/managed/types/agent_toolset20260401_params.py +37 -0
- qca/managed/types/agent_toolset_default_config_params.py +16 -0
- qca/managed/types/agent_update_params.py +32 -0
- qca/managed/types/agent_version_list_params.py +14 -0
- qca/managed/types/agent_with_overrides_params.py +27 -0
- qca/managed/types/always_allow_policy_param.py +11 -0
- qca/managed/types/always_ask_policy_param.py +11 -0
- qca/managed/types/base64_document_source_param.py +13 -0
- qca/managed/types/base64_image_source_param.py +13 -0
- qca/managed/types/bash_tool_config_params.py +18 -0
- qca/managed/types/branch_checkout_param.py +12 -0
- qca/managed/types/budget_limit.py +15 -0
- qca/managed/types/budget_limit_param.py +15 -0
- qca/managed/types/cache_creation_usage.py +12 -0
- qca/managed/types/capability_support.py +11 -0
- qca/managed/types/cloud_config_networking_union.py +14 -0
- qca/managed/types/cloud_config_params.py +19 -0
- qca/managed/types/commit_checkout_param.py +12 -0
- qca/managed/types/context_management_capability.py +17 -0
- qca/managed/types/credential.py +23 -0
- qca/managed/types/credential_auth_union.py +23 -0
- qca/managed/types/credential_validation.py +23 -0
- qca/managed/types/custom_skill_params.py +13 -0
- qca/managed/types/custom_tool_input_schema.py +13 -0
- qca/managed/types/custom_tool_input_schema_param.py +13 -0
- qca/managed/types/custom_tool_params.py +17 -0
- qca/managed/types/delete_session_resource.py +12 -0
- qca/managed/types/deleted_credential.py +12 -0
- qca/managed/types/deleted_file.py +12 -0
- qca/managed/types/deleted_memory.py +12 -0
- qca/managed/types/deleted_memory_store.py +12 -0
- qca/managed/types/deleted_session.py +12 -0
- qca/managed/types/deleted_skill.py +12 -0
- qca/managed/types/deleted_skill_version.py +12 -0
- qca/managed/types/deleted_vault.py +12 -0
- qca/managed/types/delta_content.py +16 -0
- qca/managed/types/deployment.py +37 -0
- qca/managed/types/deployment_archive_params.py +12 -0
- qca/managed/types/deployment_create_params.py +36 -0
- qca/managed/types/deployment_initial_event_union.py +20 -0
- qca/managed/types/deployment_list_params.py +22 -0
- qca/managed/types/deployment_pause_params.py +12 -0
- qca/managed/types/deployment_paused_reason_error_union.py +11 -0
- qca/managed/types/deployment_paused_reason_union.py +15 -0
- qca/managed/types/deployment_retrieve_params.py +12 -0
- qca/managed/types/deployment_run.py +24 -0
- qca/managed/types/deployment_run_error_union.py +12 -0
- qca/managed/types/deployment_run_list_params.py +24 -0
- qca/managed/types/deployment_run_params.py +12 -0
- qca/managed/types/deployment_run_retrieve_params.py +12 -0
- qca/managed/types/deployment_unpause_params.py +12 -0
- qca/managed/types/deployment_update_params.py +34 -0
- qca/managed/types/deployment_user_define_outcome_event_rubric_union.py +13 -0
- qca/managed/types/deployment_user_message_event_content_union.py +18 -0
- qca/managed/types/deployment_user_message_event_content_union_source.py +15 -0
- qca/managed/types/document_block_param.py +22 -0
- qca/managed/types/dream.py +33 -0
- qca/managed/types/dream_archive_params.py +12 -0
- qca/managed/types/dream_cancel_params.py +12 -0
- qca/managed/types/dream_create_params.py +23 -0
- qca/managed/types/dream_error.py +12 -0
- qca/managed/types/dream_input_union.py +13 -0
- qca/managed/types/dream_list_params.py +19 -0
- qca/managed/types/dream_memory_store_input_param.py +12 -0
- qca/managed/types/dream_model_config.py +12 -0
- qca/managed/types/dream_model_config_param.py +12 -0
- qca/managed/types/dream_output.py +12 -0
- qca/managed/types/dream_retrieve_params.py +12 -0
- qca/managed/types/dream_sessions_input_param.py +12 -0
- qca/managed/types/dream_usage.py +14 -0
- qca/managed/types/edit_tool_config_params.py +18 -0
- qca/managed/types/effort_capability.py +19 -0
- qca/managed/types/effort_high_param.py +11 -0
- qca/managed/types/effort_low_param.py +11 -0
- qca/managed/types/effort_max_param.py +11 -0
- qca/managed/types/effort_medium_param.py +11 -0
- qca/managed/types/effort_xhigh_param.py +11 -0
- qca/managed/types/environment.py +23 -0
- qca/managed/types/environment_archive_params.py +12 -0
- qca/managed/types/environment_config_union.py +17 -0
- qca/managed/types/environment_create_params.py +21 -0
- qca/managed/types/environment_delete_params.py +12 -0
- qca/managed/types/environment_delete_response.py +12 -0
- qca/managed/types/environment_list_params.py +18 -0
- qca/managed/types/environment_retrieve_params.py +12 -0
- qca/managed/types/environment_update_params.py +21 -0
- qca/managed/types/environment_variable_auth_response_networking_union.py +12 -0
- qca/managed/types/environment_variable_create_params.py +20 -0
- qca/managed/types/environment_variable_update_params.py +19 -0
- qca/managed/types/environment_work_ack_params.py +11 -0
- qca/managed/types/environment_work_heartbeat_params.py +13 -0
- qca/managed/types/environment_work_list_params.py +15 -0
- qca/managed/types/environment_work_poll_params.py +14 -0
- qca/managed/types/environment_work_retrieve_params.py +12 -0
- qca/managed/types/environment_work_stats_params.py +12 -0
- qca/managed/types/environment_work_stop_params.py +13 -0
- qca/managed/types/environment_work_update_params.py +13 -0
- qca/managed/types/file_delete_params.py +12 -0
- qca/managed/types/file_document_source_param.py +12 -0
- qca/managed/types/file_download_params.py +12 -0
- qca/managed/types/file_get_metadata_params.py +12 -0
- qca/managed/types/file_image_source_param.py +12 -0
- qca/managed/types/file_list_params.py +19 -0
- qca/managed/types/file_metadata.py +25 -0
- qca/managed/types/file_resource.py +17 -0
- qca/managed/types/file_resource_params.py +13 -0
- qca/managed/types/file_rubric_params.py +12 -0
- qca/managed/types/file_scope.py +12 -0
- qca/managed/types/file_upload_params.py +18 -0
- qca/managed/types/git_hub_repository_resource_checkout_union.py +13 -0
- qca/managed/types/git_hub_repository_resource_config_checkout_union.py +13 -0
- qca/managed/types/git_hub_repository_resource_params.py +19 -0
- qca/managed/types/glob_tool_config_params.py +18 -0
- qca/managed/types/grep_tool_config_params.py +18 -0
- qca/managed/types/image_block_param.py +17 -0
- qca/managed/types/injection_location_params.py +12 -0
- qca/managed/types/injection_location_response.py +12 -0
- qca/managed/types/injection_location_update_params.py +12 -0
- qca/managed/types/limited_credential_networking_params.py +12 -0
- qca/managed/types/limited_network_params.py +14 -0
- qca/managed/types/mcp_probe.py +15 -0
- qca/managed/types/mcp_server_url_definition.py +13 -0
- qca/managed/types/mcp_tool_config.py +16 -0
- qca/managed/types/mcp_tool_config_params.py +17 -0
- qca/managed/types/mcp_tool_config_permission_policy_union.py +11 -0
- qca/managed/types/mcp_toolset_default_config_params.py +16 -0
- qca/managed/types/mcp_toolset_params.py +18 -0
- qca/managed/types/mcpo_auth_create_params.py +19 -0
- qca/managed/types/mcpo_auth_refresh_params.py +23 -0
- qca/managed/types/mcpo_auth_refresh_response.py +18 -0
- qca/managed/types/mcpo_auth_refresh_response_token_endpoint_auth_union.py +11 -0
- qca/managed/types/mcpo_auth_refresh_update_params.py +17 -0
- qca/managed/types/mcpo_auth_update_params.py +18 -0
- qca/managed/types/memory.py +22 -0
- qca/managed/types/memory_list_item_union.py +21 -0
- qca/managed/types/memory_store.py +19 -0
- qca/managed/types/memory_store_archive_params.py +12 -0
- qca/managed/types/memory_store_create_params.py +15 -0
- qca/managed/types/memory_store_delete_params.py +12 -0
- qca/managed/types/memory_store_list_params.py +19 -0
- qca/managed/types/memory_store_memory_create_params.py +16 -0
- qca/managed/types/memory_store_memory_delete_params.py +13 -0
- qca/managed/types/memory_store_memory_list_params.py +17 -0
- qca/managed/types/memory_store_memory_retrieve_params.py +13 -0
- qca/managed/types/memory_store_memory_update_params.py +21 -0
- qca/managed/types/memory_store_memory_version_list_params.py +23 -0
- qca/managed/types/memory_store_memory_version_redact_params.py +12 -0
- qca/managed/types/memory_store_memory_version_retrieve_params.py +13 -0
- qca/managed/types/memory_store_resource_param.py +14 -0
- qca/managed/types/memory_store_retrieve_params.py +12 -0
- qca/managed/types/memory_store_update_params.py +15 -0
- qca/managed/types/memory_version.py +27 -0
- qca/managed/types/model_capabilities.py +25 -0
- qca/managed/types/model_config.py +18 -0
- qca/managed/types/model_config_effort_union.py +11 -0
- qca/managed/types/model_config_params.py +39 -0
- qca/managed/types/model_info.py +30 -0
- qca/managed/types/model_list_params.py +15 -0
- qca/managed/types/monetary_amount.py +12 -0
- qca/managed/types/monetary_amount_param.py +12 -0
- qca/managed/types/multiagent.py +15 -0
- qca/managed/types/multiagent_agent_union.py +17 -0
- qca/managed/types/multiagent_params.py +17 -0
- qca/managed/types/multiagent_self_params.py +11 -0
- qca/managed/types/outcome_evaluation_resource.py +18 -0
- qca/managed/types/output_behavior_create_new_param.py +11 -0
- qca/managed/types/output_behavior_union.py +12 -0
- qca/managed/types/output_behavior_update_existing_param.py +12 -0
- qca/managed/types/packages.py +17 -0
- qca/managed/types/packages_params.py +17 -0
- qca/managed/types/plain_text_document_source_param.py +13 -0
- qca/managed/types/precondition_param.py +12 -0
- qca/managed/types/qoder_skill_params.py +13 -0
- qca/managed/types/read_tool_config_params.py +18 -0
- qca/managed/types/redacted_block_param.py +11 -0
- qca/managed/types/refresh_http_response.py +14 -0
- qca/managed/types/refresh_object.py +15 -0
- qca/managed/types/schedule.py +16 -0
- qca/managed/types/schedule_params.py +13 -0
- qca/managed/types/search_result_block_param.py +19 -0
- qca/managed/types/search_result_citations.py +11 -0
- qca/managed/types/search_result_citations_param.py +9 -0
- qca/managed/types/search_result_content.py +12 -0
- qca/managed/types/search_result_content_param.py +12 -0
- qca/managed/types/self_hosted_config_params.py +11 -0
- qca/managed/types/self_hosted_work.py +26 -0
- qca/managed/types/self_hosted_work_heartbeat_response.py +15 -0
- qca/managed/types/self_hosted_work_queue_stats.py +15 -0
- qca/managed/types/send_session_events.py +14 -0
- qca/managed/types/send_session_events_data_union.py +39 -0
- qca/managed/types/server_tool_usage.py +12 -0
- qca/managed/types/session.py +37 -0
- qca/managed/types/session_agent.py +28 -0
- qca/managed/types/session_agent_skill_union.py +13 -0
- qca/managed/types/session_agent_tool_union.py +25 -0
- qca/managed/types/session_agent_tool_union_default_config.py +17 -0
- qca/managed/types/session_agent_tool_union_default_config_permission_policy.py +11 -0
- qca/managed/types/session_agent_update_param.py +24 -0
- qca/managed/types/session_archive_params.py +12 -0
- qca/managed/types/session_create_params.py +31 -0
- qca/managed/types/session_delete_params.py +12 -0
- qca/managed/types/session_error_event_error_union.py +19 -0
- qca/managed/types/session_error_event_error_union_retry_status.py +11 -0
- qca/managed/types/session_event.py +77 -0
- qca/managed/types/session_event_list_params.py +23 -0
- qca/managed/types/session_event_send_params.py +34 -0
- qca/managed/types/session_event_stop_reason.py +12 -0
- qca/managed/types/session_event_stream_params.py +13 -0
- qca/managed/types/session_event_usage.py +24 -0
- qca/managed/types/session_list_params.py +26 -0
- qca/managed/types/session_multiagent_coordinator.py +15 -0
- qca/managed/types/session_multiagent_coordinator_agent_union.py +26 -0
- qca/managed/types/session_resource_add_params.py +15 -0
- qca/managed/types/session_resource_config_union.py +21 -0
- qca/managed/types/session_resource_delete_params.py +12 -0
- qca/managed/types/session_resource_get_response_union.py +27 -0
- qca/managed/types/session_resource_list_params.py +16 -0
- qca/managed/types/session_resource_retrieve_params.py +12 -0
- qca/managed/types/session_resource_union.py +27 -0
- qca/managed/types/session_resource_update_params.py +14 -0
- qca/managed/types/session_resource_update_response_union.py +27 -0
- qca/managed/types/session_retrieve_params.py +12 -0
- qca/managed/types/session_stats.py +12 -0
- qca/managed/types/session_stream_event.py +82 -0
- qca/managed/types/session_stream_event_stop_reason.py +12 -0
- qca/managed/types/session_stream_event_usage.py +24 -0
- qca/managed/types/session_thread.py +27 -0
- qca/managed/types/session_thread_agent_skill_union.py +13 -0
- qca/managed/types/session_thread_agent_tool_union.py +25 -0
- qca/managed/types/session_thread_agent_tool_union_default_config.py +17 -0
- qca/managed/types/session_thread_agent_tool_union_default_config_permission_policy.py +11 -0
- qca/managed/types/session_thread_agent_union.py +26 -0
- qca/managed/types/session_thread_archive_params.py +12 -0
- qca/managed/types/session_thread_event_list_params.py +16 -0
- qca/managed/types/session_thread_event_stream_params.py +13 -0
- qca/managed/types/session_thread_list_params.py +14 -0
- qca/managed/types/session_thread_retrieve_params.py +12 -0
- qca/managed/types/session_thread_stats.py +13 -0
- qca/managed/types/session_thread_usage.py +22 -0
- qca/managed/types/session_update_params.py +22 -0
- qca/managed/types/session_usage.py +22 -0
- qca/managed/types/session_work_data.py +12 -0
- qca/managed/types/skill.py +22 -0
- qca/managed/types/skill_create_params.py +17 -0
- qca/managed/types/skill_delete_params.py +12 -0
- qca/managed/types/skill_list_params.py +19 -0
- qca/managed/types/skill_retrieve_params.py +12 -0
- qca/managed/types/skill_source.py +11 -0
- qca/managed/types/skill_version.py +19 -0
- qca/managed/types/skill_version_create_params.py +15 -0
- qca/managed/types/skill_version_delete_params.py +12 -0
- qca/managed/types/skill_version_download_params.py +12 -0
- qca/managed/types/skill_version_list_params.py +14 -0
- qca/managed/types/skill_version_retrieve_params.py +12 -0
- qca/managed/types/span_model_usage.py +15 -0
- qca/managed/types/start_event_preview_union.py +12 -0
- qca/managed/types/static_bearer_create_params.py +13 -0
- qca/managed/types/static_bearer_update_params.py +12 -0
- qca/managed/types/stream_session_thread_events_union.py +82 -0
- qca/managed/types/stream_session_thread_events_union_stop_reason.py +12 -0
- qca/managed/types/stream_session_thread_events_union_usage.py +24 -0
- qca/managed/types/system_content_block.py +12 -0
- qca/managed/types/system_content_block_param.py +12 -0
- qca/managed/types/system_message_event_params.py +15 -0
- qca/managed/types/text_block.py +12 -0
- qca/managed/types/text_block_param.py +12 -0
- qca/managed/types/text_rubric_params.py +12 -0
- qca/managed/types/thinking_capability.py +15 -0
- qca/managed/types/thinking_types.py +15 -0
- qca/managed/types/token_endpoint_auth_basic_param.py +12 -0
- qca/managed/types/token_endpoint_auth_basic_update_param.py +12 -0
- qca/managed/types/token_endpoint_auth_none_param.py +11 -0
- qca/managed/types/token_endpoint_auth_post_param.py +12 -0
- qca/managed/types/token_endpoint_auth_post_update_param.py +12 -0
- qca/managed/types/trigger_context_union.py +13 -0
- qca/managed/types/unrestricted_credential_networking_params.py +11 -0
- qca/managed/types/unrestricted_network_param.py +11 -0
- qca/managed/types/url_document_source_param.py +12 -0
- qca/managed/types/url_image_source_param.py +12 -0
- qca/managed/types/urlmcp_server_params.py +13 -0
- qca/managed/types/user_custom_tool_result_event_content_union.py +21 -0
- qca/managed/types/user_custom_tool_result_event_params.py +20 -0
- qca/managed/types/user_define_outcome_event_params.py +18 -0
- qca/managed/types/user_define_outcome_event_rubric_union.py +13 -0
- qca/managed/types/user_interrupt_event_params.py +12 -0
- qca/managed/types/user_location.py +15 -0
- qca/managed/types/user_location_param.py +15 -0
- qca/managed/types/user_message_event_content_union.py +18 -0
- qca/managed/types/user_message_event_content_union_source.py +15 -0
- qca/managed/types/user_message_event_params.py +18 -0
- qca/managed/types/user_tool_confirmation_event_params.py +14 -0
- qca/managed/types/user_tool_result_event_content_union.py +21 -0
- qca/managed/types/user_tool_result_event_params.py +20 -0
- qca/managed/types/vault.py +18 -0
- qca/managed/types/vault_archive_params.py +12 -0
- qca/managed/types/vault_create_params.py +14 -0
- qca/managed/types/vault_credential_archive_params.py +12 -0
- qca/managed/types/vault_credential_create_params.py +20 -0
- qca/managed/types/vault_credential_delete_params.py +12 -0
- qca/managed/types/vault_credential_list_params.py +18 -0
- qca/managed/types/vault_credential_mcpo_auth_validate_params.py +12 -0
- qca/managed/types/vault_credential_retrieve_params.py +12 -0
- qca/managed/types/vault_credential_update_params.py +19 -0
- qca/managed/types/vault_delete_params.py +12 -0
- qca/managed/types/vault_list_params.py +18 -0
- qca/managed/types/vault_retrieve_params.py +12 -0
- qca/managed/types/web_fetch_tool_config_params.py +21 -0
- qca/managed/types/web_search_tool_config_params.py +22 -0
- qca/managed/types/write_tool_config_params.py +18 -0
- qca/py.typed +0 -0
- qca-0.0.1.dev1.dist-info/METADATA +279 -0
- qca-0.0.1.dev1.dist-info/RECORD +596 -0
- qca-0.0.1.dev1.dist-info/WHEEL +5 -0
- qca-0.0.1.dev1.dist-info/licenses/LICENSE +21 -0
- qca-0.0.1.dev1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, Dict, Literal, Optional, Union
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .skill_source import SkillSource
|
|
10
|
+
|
|
11
|
+
__all__ = ["Skill"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Skill(BaseModel):
|
|
15
|
+
metadata: Optional[Dict[str, str]] = None
|
|
16
|
+
id: Optional[str] = None
|
|
17
|
+
created_at: Optional[datetime] = None
|
|
18
|
+
display_title: Optional[str] = None
|
|
19
|
+
latest_version: Optional[str] = None
|
|
20
|
+
source: Optional[Union[str, SkillSource]] = None
|
|
21
|
+
type: Optional[Literal["skill"]] = None
|
|
22
|
+
updated_at: Optional[datetime] = None
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Dict, List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
from qca.common._types import FileTypes
|
|
8
|
+
|
|
9
|
+
__all__ = ["SkillCreateParams"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class SkillCreateParams(TypedDict, total=False):
|
|
13
|
+
metadata: Dict[str, str]
|
|
14
|
+
files: Required[List[FileTypes]]
|
|
15
|
+
display_title: Optional[str]
|
|
16
|
+
workspace_id: Optional[str]
|
|
17
|
+
betas: List[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillDeleteParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillDeleteParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillListParams(TypedDict, total=False):
|
|
11
|
+
display_name: Optional[str]
|
|
12
|
+
name: Optional[str]
|
|
13
|
+
before_id: Optional[str]
|
|
14
|
+
after_id: Optional[str]
|
|
15
|
+
page: Optional[str]
|
|
16
|
+
source: Optional[str]
|
|
17
|
+
limit: Optional[int]
|
|
18
|
+
workspace_id: Optional[str]
|
|
19
|
+
betas: List[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillRetrieveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillRetrieveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import Literal, Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["SkillVersion"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class SkillVersion(BaseModel):
|
|
12
|
+
version: Optional[str] = None
|
|
13
|
+
directory: Optional[str] = None
|
|
14
|
+
id: Optional[str] = None
|
|
15
|
+
created_at: Optional[datetime] = None
|
|
16
|
+
description: Optional[str] = None
|
|
17
|
+
name: Optional[str] = None
|
|
18
|
+
skill_id: Optional[str] = None
|
|
19
|
+
type: Optional[Literal["skill_version"]] = None
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
from qca.common._types import FileTypes
|
|
8
|
+
|
|
9
|
+
__all__ = ["SkillVersionCreateParams"]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class SkillVersionCreateParams(TypedDict, total=False):
|
|
13
|
+
files: Required[List[FileTypes]]
|
|
14
|
+
workspace_id: Optional[str]
|
|
15
|
+
betas: List[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillVersionDeleteParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillVersionDeleteParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillVersionDownloadParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillVersionDownloadParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillVersionListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillVersionListParams(TypedDict, total=False):
|
|
11
|
+
limit: Optional[int]
|
|
12
|
+
page: Optional[str]
|
|
13
|
+
workspace_id: Optional[str]
|
|
14
|
+
betas: List[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SkillVersionRetrieveParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SkillVersionRetrieveParams(TypedDict, total=False):
|
|
11
|
+
workspace_id: Optional[str]
|
|
12
|
+
betas: List[str]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["SpanModelUsage"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SpanModelUsage(BaseModel):
|
|
11
|
+
cache_creation_input_tokens: Optional[int] = None
|
|
12
|
+
cache_read_input_tokens: Optional[int] = None
|
|
13
|
+
input_tokens: Optional[int] = None
|
|
14
|
+
output_tokens: Optional[int] = None
|
|
15
|
+
speed: Optional[str] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["StartEventPreviewUnion"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StartEventPreviewUnion(BaseModel):
|
|
11
|
+
id: Optional[str] = None
|
|
12
|
+
type: Optional[str] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["StaticBearerCreateParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StaticBearerCreateParams(TypedDict, total=False):
|
|
11
|
+
token: Required[str]
|
|
12
|
+
mcp_server_url: Required[str]
|
|
13
|
+
type: Required[Literal["static_bearer"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["StaticBearerUpdateParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StaticBearerUpdateParams(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["static_bearer"]]
|
|
12
|
+
token: Optional[str]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
if TYPE_CHECKING:
|
|
9
|
+
from .agent_mcp_tool_result_event_content_union import AgentMCPToolResultEventContentUnion
|
|
10
|
+
from .agent_message_event_content_union import AgentMessageEventContentUnion
|
|
11
|
+
from .agent_thread_message_received_event_content_union import AgentThreadMessageReceivedEventContentUnion
|
|
12
|
+
from .agent_thread_message_sent_event_content_union import AgentThreadMessageSentEventContentUnion
|
|
13
|
+
from .agent_tool_result_event_content_union import AgentToolResultEventContentUnion
|
|
14
|
+
from .budget_limit import BudgetLimit
|
|
15
|
+
from .delta_content import DeltaContent
|
|
16
|
+
from .session_agent import SessionAgent
|
|
17
|
+
from .session_error_event_error_union import SessionErrorEventErrorUnion
|
|
18
|
+
from .span_model_usage import SpanModelUsage
|
|
19
|
+
from .start_event_preview_union import StartEventPreviewUnion
|
|
20
|
+
from .stream_session_thread_events_union_stop_reason import StreamSessionThreadEventsUnionStopReason
|
|
21
|
+
from .stream_session_thread_events_union_usage import StreamSessionThreadEventsUnionUsage
|
|
22
|
+
from .system_content_block import SystemContentBlock
|
|
23
|
+
from .user_custom_tool_result_event_content_union import UserCustomToolResultEventContentUnion
|
|
24
|
+
from .user_define_outcome_event_rubric_union import UserDefineOutcomeEventRubricUnion
|
|
25
|
+
from .user_message_event_content_union import UserMessageEventContentUnion
|
|
26
|
+
from .user_tool_result_event_content_union import UserToolResultEventContentUnion
|
|
27
|
+
|
|
28
|
+
__all__ = ["StreamSessionThreadEventsUnion"]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class StreamSessionThreadEventsUnion(BaseModel):
|
|
32
|
+
id: Optional[str] = None
|
|
33
|
+
content: Optional[
|
|
34
|
+
Union[
|
|
35
|
+
List[UserMessageEventContentUnion],
|
|
36
|
+
List[UserCustomToolResultEventContentUnion],
|
|
37
|
+
List[AgentMessageEventContentUnion],
|
|
38
|
+
List[AgentMCPToolResultEventContentUnion],
|
|
39
|
+
List[AgentToolResultEventContentUnion],
|
|
40
|
+
List[AgentThreadMessageReceivedEventContentUnion],
|
|
41
|
+
List[AgentThreadMessageSentEventContentUnion],
|
|
42
|
+
List[UserToolResultEventContentUnion],
|
|
43
|
+
List[SystemContentBlock],
|
|
44
|
+
]
|
|
45
|
+
] = None
|
|
46
|
+
type: Optional[str] = None
|
|
47
|
+
processed_at: Optional[datetime] = None
|
|
48
|
+
session_thread_id: Optional[str] = None
|
|
49
|
+
result: Optional[str] = None
|
|
50
|
+
tool_use_id: Optional[str] = None
|
|
51
|
+
deny_message: Optional[str] = None
|
|
52
|
+
custom_tool_use_id: Optional[str] = None
|
|
53
|
+
is_error: Optional[bool] = None
|
|
54
|
+
input: Optional[Any] = None
|
|
55
|
+
name: Optional[str] = None
|
|
56
|
+
mcp_server_name: Optional[str] = None
|
|
57
|
+
evaluated_permission: Optional[str] = None
|
|
58
|
+
mcp_tool_use_id: Optional[str] = None
|
|
59
|
+
from_session_thread_id: Optional[str] = None
|
|
60
|
+
from_agent_name: Optional[str] = None
|
|
61
|
+
to_session_thread_id: Optional[str] = None
|
|
62
|
+
to_agent_name: Optional[str] = None
|
|
63
|
+
error: Optional[SessionErrorEventErrorUnion] = None
|
|
64
|
+
stop_reason: Optional[StreamSessionThreadEventsUnionStopReason] = None
|
|
65
|
+
agent_name: Optional[str] = None
|
|
66
|
+
iteration: Optional[int] = None
|
|
67
|
+
outcome_id: Optional[str] = None
|
|
68
|
+
explanation: Optional[str] = None
|
|
69
|
+
outcome_evaluation_start_id: Optional[str] = None
|
|
70
|
+
usage: Optional[StreamSessionThreadEventsUnionUsage] = None
|
|
71
|
+
model_request_start_id: Optional[str] = None
|
|
72
|
+
model_usage: Optional[SpanModelUsage] = None
|
|
73
|
+
description: Optional[str] = None
|
|
74
|
+
max_iterations: Optional[int] = None
|
|
75
|
+
rubric: Optional[UserDefineOutcomeEventRubricUnion] = None
|
|
76
|
+
agent: Optional[SessionAgent] = None
|
|
77
|
+
budget: Optional[BudgetLimit] = None
|
|
78
|
+
metadata: Optional[Dict[str, str]] = None
|
|
79
|
+
title: Optional[str] = None
|
|
80
|
+
event: Optional[StartEventPreviewUnion] = None
|
|
81
|
+
delta: Optional[DeltaContent] = None
|
|
82
|
+
event_id: Optional[str] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["StreamSessionThreadEventsUnionStopReason"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class StreamSessionThreadEventsUnionStopReason(BaseModel):
|
|
11
|
+
type: Optional[str] = None
|
|
12
|
+
event_ids: Optional[List[str]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .cache_creation_usage import CacheCreationUsage
|
|
9
|
+
from .monetary_amount import MonetaryAmount
|
|
10
|
+
from .server_tool_usage import ServerToolUsage
|
|
11
|
+
|
|
12
|
+
__all__ = ["StreamSessionThreadEventsUnionUsage"]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class StreamSessionThreadEventsUnionUsage(BaseModel):
|
|
16
|
+
cache_creation_input_tokens: Optional[int] = None
|
|
17
|
+
cache_read_input_tokens: Optional[int] = None
|
|
18
|
+
input_tokens: Optional[int] = None
|
|
19
|
+
output_tokens: Optional[int] = None
|
|
20
|
+
speed: Optional[str] = None
|
|
21
|
+
active_seconds: Optional[float] = None
|
|
22
|
+
cache_creation: Optional[CacheCreationUsage] = None
|
|
23
|
+
list_cost: Optional[MonetaryAmount] = None
|
|
24
|
+
server_tool_use: Optional[ServerToolUsage] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["SystemContentBlockParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SystemContentBlockParam(TypedDict, total=False):
|
|
11
|
+
text: Required[str]
|
|
12
|
+
type: Required[Literal["text"]]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, List, Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .system_content_block_param import SystemContentBlockParam
|
|
9
|
+
|
|
10
|
+
__all__ = ["SystemMessageEventParams"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class SystemMessageEventParams(TypedDict, total=False):
|
|
14
|
+
content: Required[List[SystemContentBlockParam]]
|
|
15
|
+
type: Required[Literal["system.message"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TextBlockParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TextBlockParam(TypedDict, total=False):
|
|
11
|
+
text: Required[str]
|
|
12
|
+
type: Required[Literal["text"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TextRubricParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TextRubricParams(TypedDict, total=False):
|
|
11
|
+
content: Required[str]
|
|
12
|
+
type: Required[Literal["text"]]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .thinking_types import ThinkingTypes
|
|
9
|
+
|
|
10
|
+
__all__ = ["ThinkingCapability"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ThinkingCapability(BaseModel):
|
|
14
|
+
supported: Optional[bool] = None
|
|
15
|
+
types: Optional[ThinkingTypes] = None
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .capability_support import CapabilitySupport
|
|
9
|
+
|
|
10
|
+
__all__ = ["ThinkingTypes"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ThinkingTypes(BaseModel):
|
|
14
|
+
adaptive: Optional[CapabilitySupport] = None
|
|
15
|
+
enabled: Optional[CapabilitySupport] = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TokenEndpointAuthBasicParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenEndpointAuthBasicParam(TypedDict, total=False):
|
|
11
|
+
client_secret: Required[str]
|
|
12
|
+
type: Required[Literal["client_secret_basic"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TokenEndpointAuthBasicUpdateParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenEndpointAuthBasicUpdateParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["client_secret_basic"]]
|
|
12
|
+
client_secret: Optional[str]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TokenEndpointAuthNoneParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenEndpointAuthNoneParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["none"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TokenEndpointAuthPostParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenEndpointAuthPostParam(TypedDict, total=False):
|
|
11
|
+
client_secret: Required[str]
|
|
12
|
+
type: Required[Literal["client_secret_post"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal, Optional
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["TokenEndpointAuthPostUpdateParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class TokenEndpointAuthPostUpdateParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["client_secret_post"]]
|
|
12
|
+
client_secret: Optional[str]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import Optional
|
|
5
|
+
|
|
6
|
+
from qca.common._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["TriggerContextUnion"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TriggerContextUnion(BaseModel):
|
|
12
|
+
scheduled_at: Optional[datetime] = None
|
|
13
|
+
type: Optional[str] = None
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["UnrestrictedCredentialNetworkingParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UnrestrictedCredentialNetworkingParams(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["unrestricted"]]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["URLDocumentSourceParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class URLDocumentSourceParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["url"]]
|
|
12
|
+
url: Required[str]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["URLImageSourceParam"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class URLImageSourceParam(TypedDict, total=False):
|
|
11
|
+
type: Required[Literal["url"]]
|
|
12
|
+
url: Required[str]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import Literal
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Required, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["URLMCPServerParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class URLMCPServerParams(TypedDict, total=False):
|
|
11
|
+
name: Required[str]
|
|
12
|
+
type: Required[Literal["url"]]
|
|
13
|
+
url: Required[str]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING, List, Optional
|
|
4
|
+
|
|
5
|
+
from qca.common._models import BaseModel
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .search_result_citations import SearchResultCitations
|
|
9
|
+
from .search_result_content import SearchResultContent
|
|
10
|
+
|
|
11
|
+
__all__ = ["UserCustomToolResultEventContentUnion"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class UserCustomToolResultEventContentUnion(BaseModel):
|
|
15
|
+
text: Optional[str] = None
|
|
16
|
+
type: Optional[str] = None
|
|
17
|
+
source: Optional[str] = None
|
|
18
|
+
context: Optional[str] = None
|
|
19
|
+
title: Optional[str] = None
|
|
20
|
+
citations: Optional[SearchResultCitations] = None
|
|
21
|
+
content: Optional[List[SearchResultContent]] = None
|