arkruntime 0.5.0__tar.gz → 0.7.0__tar.gz

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.
Files changed (840) hide show
  1. {arkruntime-0.5.0/src/arkruntime.egg-info → arkruntime-0.7.0}/PKG-INFO +69 -1
  2. {arkruntime-0.5.0 → arkruntime-0.7.0}/README.md +66 -0
  3. {arkruntime-0.5.0 → arkruntime-0.7.0}/THIRD_PARTY_NOTICES.md +4 -3
  4. {arkruntime-0.5.0 → arkruntime-0.7.0}/pyproject.toml +5 -1
  5. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_base_client.py +43 -8
  6. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_client.py +2 -2
  7. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_constants.py +2 -1
  8. arkruntime-0.7.0/src/arkruntime/_version.py +27 -0
  9. arkruntime-0.7.0/src/arkruntime/mcp.py +197 -0
  10. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/environments/work.py +4 -4
  11. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/images/images.py +10 -5
  12. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/__init__.py +12 -0
  13. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/client.py +31 -11
  14. arkruntime-0.7.0/src/arkruntime/selfhosted/mcp.py +351 -0
  15. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/types.py +13 -1
  16. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/worker.py +26 -15
  17. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/__init__.py +2 -0
  18. arkruntime-0.7.0/src/arkruntime/types/images/background.py +18 -0
  19. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/create_image_generation_request.py +10 -5
  20. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/create_image_generation_request_param.py +9 -5
  21. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/__init__.py +8 -0
  22. arkruntime-0.7.0/src/arkruntime/types/session/agent_with_upgrades.py +73 -0
  23. arkruntime-0.7.0/src/arkruntime/types/session/create_session_upgrade_request.py +53 -0
  24. arkruntime-0.7.0/src/arkruntime/types/session/environment_with_upgrades.py +43 -0
  25. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/model_overrides.py +12 -0
  26. arkruntime-0.7.0/src/arkruntime/types/session/model_upgrades.py +52 -0
  27. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_status.py +3 -0
  28. {arkruntime-0.5.0 → arkruntime-0.7.0/src/arkruntime.egg-info}/PKG-INFO +69 -1
  29. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime.egg-info/SOURCES.txt +8 -0
  30. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime.egg-info/requires.txt +5 -0
  31. {arkruntime-0.5.0 → arkruntime-0.7.0}/LICENSE +0 -0
  32. {arkruntime-0.5.0 → arkruntime-0.7.0}/MANIFEST.in +0 -0
  33. {arkruntime-0.5.0 → arkruntime-0.7.0}/setup.cfg +0 -0
  34. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/__init__.py +0 -0
  35. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_compat.py +0 -0
  36. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_exceptions.py +0 -0
  37. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_files.py +0 -0
  38. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_legacy_response.py +0 -0
  39. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_managed_agents_serialize.py +0 -0
  40. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_models.py +0 -0
  41. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_qs.py +0 -0
  42. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_request_options.py +0 -0
  43. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_resource.py +0 -0
  44. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_response.py +0 -0
  45. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_streaming.py +0 -0
  46. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_types.py +0 -0
  47. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/__init__.py +0 -0
  48. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_key_agreement.py +0 -0
  49. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_logs.py +0 -0
  50. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_model_breaker.py +0 -0
  51. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_streams.py +0 -0
  52. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_transform.py +0 -0
  53. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_typing.py +0 -0
  54. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/_utils/_utils.py +0 -0
  55. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/__init__.py +0 -0
  56. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/_parsing/__init__.py +0 -0
  57. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/_parsing/_completions.py +0 -0
  58. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/_parsing/_responses.py +0 -0
  59. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/_pydantic.py +0 -0
  60. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/_tools.py +0 -0
  61. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/streaming/__init__.py +0 -0
  62. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/streaming/_deltas.py +0 -0
  63. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/streaming/chat/__init__.py +0 -0
  64. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/streaming/chat/_completions.py +0 -0
  65. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/streaming/chat/_events.py +0 -0
  66. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/common/streaming/chat/_types.py +0 -0
  67. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/pagination.py +0 -0
  68. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/__init__.py +0 -0
  69. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/agents/__init__.py +0 -0
  70. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/agents/agents.py +0 -0
  71. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/__init__.py +0 -0
  72. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/_utils.py +0 -0
  73. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/batch.py +0 -0
  74. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/chat/__init__.py +0 -0
  75. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/chat/chat.py +0 -0
  76. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/chat/completions.py +0 -0
  77. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/embeddings.py +0 -0
  78. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/batch/multimodal_embeddings.py +0 -0
  79. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/beta/__init__.py +0 -0
  80. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/beta/beta.py +0 -0
  81. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/beta/chat/__init__.py +0 -0
  82. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/beta/chat/chat.py +0 -0
  83. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/beta/chat/completions.py +0 -0
  84. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/chat/__init__.py +0 -0
  85. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/chat/chat.py +0 -0
  86. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/chat/completions.py +0 -0
  87. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/content_generation/__init__.py +0 -0
  88. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/content_generation/content_generation.py +0 -0
  89. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/content_generation/tasks.py +0 -0
  90. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/embeddings/__init__.py +0 -0
  91. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/embeddings/embeddings.py +0 -0
  92. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/encryption.py +0 -0
  93. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/environments/__init__.py +0 -0
  94. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/environments/environments.py +0 -0
  95. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/files/__init__.py +0 -0
  96. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/files/files.py +0 -0
  97. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/images/__init__.py +0 -0
  98. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/memory_stores/__init__.py +0 -0
  99. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/memory_stores/memories.py +0 -0
  100. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/memory_stores/memory_stores.py +0 -0
  101. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/multimodal_embeddings/__init__.py +0 -0
  102. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/multimodal_embeddings/multimodal_embeddings.py +0 -0
  103. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/responses/__init__.py +0 -0
  104. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/responses/input_items.py +0 -0
  105. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/responses/responses.py +0 -0
  106. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/sessions/__init__.py +0 -0
  107. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/sessions/session_events.py +0 -0
  108. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/sessions/session_resources.py +0 -0
  109. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/sessions/session_threads.py +0 -0
  110. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/sessions/sessions.py +0 -0
  111. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/skills/__init__.py +0 -0
  112. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/skills/skills.py +0 -0
  113. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/tokenization/__init__.py +0 -0
  114. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/tokenization/tokenization.py +0 -0
  115. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/vaults/__init__.py +0 -0
  116. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/vaults/credentials.py +0 -0
  117. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/resources/vaults/vaults.py +0 -0
  118. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/envinit.py +0 -0
  119. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/session_tool_runner.py +0 -0
  120. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/tool_result_store.py +0 -0
  121. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/selfhosted/tools.py +0 -0
  122. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/__init__.py +0 -0
  123. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/__init__.py +0 -0
  124. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/_init_extras_shim.py +0 -0
  125. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/agent.py +0 -0
  126. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/agent_ref.py +0 -0
  127. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/agent_ref_type.py +0 -0
  128. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/agent_skill_ref.py +0 -0
  129. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/create_agent_request.py +0 -0
  130. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/custom_tool_input_schema.py +0 -0
  131. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/delete_agent_response.py +0 -0
  132. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/list_agents_response.py +0 -0
  133. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/mcp_server.py +0 -0
  134. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/mcp_server_type.py +0 -0
  135. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/model_config.py +0 -0
  136. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/model_speed.py +0 -0
  137. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/multiagent_config.py +0 -0
  138. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/multiagent_type.py +0 -0
  139. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/permission_policy.py +0 -0
  140. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/permission_policy_type.py +0 -0
  141. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/skill_ref_type.py +0 -0
  142. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/tag.py +0 -0
  143. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/token_limits.py +0 -0
  144. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/tool_config.py +0 -0
  145. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/tool_default_config.py +0 -0
  146. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/tool_item.py +0 -0
  147. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/agent/update_agent_request.py +0 -0
  148. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/__init__.py +0 -0
  149. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/_init_extras_shim.py +0 -0
  150. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_choice_logprobs.py +0 -0
  151. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part.py +0 -0
  152. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_audio.py +0 -0
  153. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_audio_input_audio.py +0 -0
  154. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_audio_input_audio_param.py +0 -0
  155. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_audio_param.py +0 -0
  156. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_file.py +0 -0
  157. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_file_file.py +0 -0
  158. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_file_file_param.py +0 -0
  159. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_file_param.py +0 -0
  160. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_image.py +0 -0
  161. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_image_image_url.py +0 -0
  162. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_image_image_url_param.py +0 -0
  163. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_image_param.py +0 -0
  164. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_param.py +0 -0
  165. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_text.py +0 -0
  166. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_text_param.py +0 -0
  167. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_video.py +0 -0
  168. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_video_param.py +0 -0
  169. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_video_video_url.py +0 -0
  170. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_content_part_video_video_url_param.py +0 -0
  171. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_content.py +0 -0
  172. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_content_param.py +0 -0
  173. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_tool_call.py +0 -0
  174. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_tool_call_chunk.py +0 -0
  175. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_tool_call_chunk_function.py +0 -0
  176. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_tool_call_function.py +0 -0
  177. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_tool_call_function_param.py +0 -0
  178. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_message_tool_call_param.py +0 -0
  179. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_named_tool_choice.py +0 -0
  180. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_named_tool_choice_param.py +0 -0
  181. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request.py +0 -0
  182. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_assistant_message.py +0 -0
  183. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_assistant_message_param.py +0 -0
  184. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_message.py +0 -0
  185. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_message_param.py +0 -0
  186. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_param.py +0 -0
  187. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_system_message.py +0 -0
  188. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_system_message_param.py +0 -0
  189. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_tool_message.py +0 -0
  190. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_tool_message_param.py +0 -0
  191. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_user_message.py +0 -0
  192. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_request_user_message_param.py +0 -0
  193. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response.py +0 -0
  194. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response_choice.py +0 -0
  195. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response_format.py +0 -0
  196. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response_format_json_schema.py +0 -0
  197. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response_format_json_schema_param.py +0 -0
  198. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response_format_param.py +0 -0
  199. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_response_message.py +0 -0
  200. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_role.py +0 -0
  201. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_service_status.py +0 -0
  202. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stop.py +0 -0
  203. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stop_param.py +0 -0
  204. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stream_choice_logprobs.py +0 -0
  205. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stream_options.py +0 -0
  206. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stream_options_param.py +0 -0
  207. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stream_response.py +0 -0
  208. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stream_response_choice.py +0 -0
  209. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_stream_response_delta.py +0 -0
  210. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_token_logprob.py +0 -0
  211. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_token_logprob_top_logprob.py +0 -0
  212. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_tool.py +0 -0
  213. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_tool_choice.py +0 -0
  214. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_tool_choice_function.py +0 -0
  215. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_tool_choice_function_param.py +0 -0
  216. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_tool_choice_param.py +0 -0
  217. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/chat_completion_tool_param.py +0 -0
  218. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/completion_tokens_details.py +0 -0
  219. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/completion_usage.py +0 -0
  220. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/error.py +0 -0
  221. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/error_response.py +0 -0
  222. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/finish_reason.py +0 -0
  223. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/function_object.py +0 -0
  224. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/function_object_param.py +0 -0
  225. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/image_detail.py +0 -0
  226. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/image_pixel_limit.py +0 -0
  227. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/image_pixel_limit_param.py +0 -0
  228. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/model_fallback_status.py +0 -0
  229. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/moderation_hit_type.py +0 -0
  230. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/parsed_chat_completion_shim.py +0 -0
  231. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/parsed_function_tool_call_shim.py +0 -0
  232. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/prompt_tokens_details.py +0 -0
  233. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/reasoning_effort.py +0 -0
  234. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/request_service_tier.py +0 -0
  235. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/response_format_type.py +0 -0
  236. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/response_service_tier.py +0 -0
  237. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/thinking.py +0 -0
  238. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/thinking_mode.py +0 -0
  239. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/thinking_param.py +0 -0
  240. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/tool_choice_mode.py +0 -0
  241. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/tool_type.py +0 -0
  242. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/tool_type_param.py +0 -0
  243. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/video_image_pixel_limit.py +0 -0
  244. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/chat/video_image_pixel_limit_param.py +0 -0
  245. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/completion_usage.py +0 -0
  246. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/__init__.py +0 -0
  247. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/_init_extras_shim.py +0 -0
  248. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/audio_role.py +0 -0
  249. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/audio_url.py +0 -0
  250. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/audio_url_param.py +0 -0
  251. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/content_generation_task.py +0 -0
  252. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/content_item.py +0 -0
  253. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/content_item_param.py +0 -0
  254. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/content_type.py +0 -0
  255. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/create_content_generation_task_request.py +0 -0
  256. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/create_content_generation_task_request_param.py +0 -0
  257. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/create_content_generation_task_response.py +0 -0
  258. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/draft_task.py +0 -0
  259. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/draft_task_param.py +0 -0
  260. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/image_role.py +0 -0
  261. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/image_url.py +0 -0
  262. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/image_url_param.py +0 -0
  263. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/list_content_generation_tasks_response.py +0 -0
  264. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/reasoning_effort.py +0 -0
  265. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/task_content.py +0 -0
  266. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/task_error.py +0 -0
  267. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/task_status.py +0 -0
  268. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/task_usage.py +0 -0
  269. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/tool.py +0 -0
  270. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/tool_param.py +0 -0
  271. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/tool_type.py +0 -0
  272. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/tool_type_param.py +0 -0
  273. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/tool_usage.py +0 -0
  274. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/video_role.py +0 -0
  275. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/video_url.py +0 -0
  276. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/content_generation/video_url_param.py +0 -0
  277. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/__init__.py +0 -0
  278. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/_init_extras_shim.py +0 -0
  279. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding.py +0 -0
  280. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_input.py +0 -0
  281. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_input_param.py +0 -0
  282. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_item.py +0 -0
  283. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_request.py +0 -0
  284. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_request_param.py +0 -0
  285. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_response.py +0 -0
  286. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/embedding_usage.py +0 -0
  287. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/embedding/encoding_format.py +0 -0
  288. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/__init__.py +0 -0
  289. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/_init_extras_shim.py +0 -0
  290. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/create_environment_request.py +0 -0
  291. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/delete_environment_response.py +0 -0
  292. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/env_config.py +0 -0
  293. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/env_config_type.py +0 -0
  294. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/environment.py +0 -0
  295. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/environment_scope.py +0 -0
  296. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/environment_with_overrides.py +0 -0
  297. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/heartbeat_work_response.py +0 -0
  298. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/list_environments_response.py +0 -0
  299. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/networking_config.py +0 -0
  300. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/networking_type.py +0 -0
  301. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/packages_config.py +0 -0
  302. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/poll_work_empty_response.py +0 -0
  303. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/stop_work_body.py +0 -0
  304. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/tos_config.py +0 -0
  305. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/update_environment_request.py +0 -0
  306. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/volc_tag.py +0 -0
  307. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/work_data.py +0 -0
  308. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/work_item.py +0 -0
  309. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/environment/work_state.py +0 -0
  310. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/__init__.py +0 -0
  311. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/_init_extras_shim.py +0 -0
  312. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/file_create_request.py +0 -0
  313. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/file_create_request_param.py +0 -0
  314. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/file_deleted.py +0 -0
  315. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/file_error.py +0 -0
  316. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/file_list_response.py +0 -0
  317. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/file_object.py +0 -0
  318. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/order.py +0 -0
  319. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/preprocess_configs.py +0 -0
  320. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/preprocess_configs_param.py +0 -0
  321. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/purpose.py +0 -0
  322. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/status.py +0 -0
  323. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/tos_storage.py +0 -0
  324. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/tos_storage_param.py +0 -0
  325. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/video.py +0 -0
  326. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/file/video_param.py +0 -0
  327. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/_init_extras_shim.py +0 -0
  328. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/bounding_box.py +0 -0
  329. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/image_data_item.py +0 -0
  330. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/image_error.py +0 -0
  331. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/image_generation_response.py +0 -0
  332. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/image_generation_stream_event.py +0 -0
  333. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/image_generation_stream_event_type.py +0 -0
  334. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/optimize_prompt_mode.py +0 -0
  335. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/optimize_prompt_options.py +0 -0
  336. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/optimize_prompt_options_param.py +0 -0
  337. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/output_format.py +0 -0
  338. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/response_format.py +0 -0
  339. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/sequential_image_generation_mode.py +0 -0
  340. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/sequential_image_generation_options.py +0 -0
  341. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/sequential_image_generation_options_param.py +0 -0
  342. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/tool.py +0 -0
  343. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/tool_param.py +0 -0
  344. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/tool_type.py +0 -0
  345. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/tool_type_param.py +0 -0
  346. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/tool_usage.py +0 -0
  347. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/images/usage.py +0 -0
  348. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/__init__.py +0 -0
  349. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/_init_extras_shim.py +0 -0
  350. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/actor.py +0 -0
  351. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/actor_type.py +0 -0
  352. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/create_memory_request.py +0 -0
  353. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/create_memory_store_request.py +0 -0
  354. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/delete_memory_response.py +0 -0
  355. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/delete_memory_store_response.py +0 -0
  356. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/list_memories_order_by.py +0 -0
  357. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/list_memories_response.py +0 -0
  358. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/list_memory_stores_response.py +0 -0
  359. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/memory.py +0 -0
  360. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/memory_list_item.py +0 -0
  361. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/memory_list_item_type.py +0 -0
  362. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/memory_store.py +0 -0
  363. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/update_memory_request.py +0 -0
  364. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/memory/update_memory_store_request.py +0 -0
  365. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/__init__.py +0 -0
  366. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/_init_extras_shim.py +0 -0
  367. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/content.py +0 -0
  368. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/content_block_start.py +0 -0
  369. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/content_block_start_content_block.py +0 -0
  370. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/count_tokens_response.py +0 -0
  371. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/error.py +0 -0
  372. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part.py +0 -0
  373. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_document.py +0 -0
  374. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_document_source.py +0 -0
  375. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_image.py +0 -0
  376. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_image_source.py +0 -0
  377. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_server_tool_use.py +0 -0
  378. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_text.py +0 -0
  379. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_thinking.py +0 -0
  380. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_tool_reference.py +0 -0
  381. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_tool_result.py +0 -0
  382. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_tool_use.py +0 -0
  383. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_content_part_web_search_tool_result.py +0 -0
  384. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management.py +0 -0
  385. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_clear_thinking.py +0 -0
  386. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_clear_tool_uses.py +0 -0
  387. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_clear_tool_uses_trigger.py +0 -0
  388. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_edit.py +0 -0
  389. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_keep.py +0 -0
  390. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_keep_all.py +0 -0
  391. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_keep_parameter.py +0 -0
  392. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_keep_thinking_turns.py +0 -0
  393. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_context_management_keep_tool_uses.py +0 -0
  394. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_document_source_type.py +0 -0
  395. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_error_response.py +0 -0
  396. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_image_source_type.py +0 -0
  397. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_iteration_usage.py +0 -0
  398. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_message_content.py +0 -0
  399. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_metadata.py +0 -0
  400. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_output_config.py +0 -0
  401. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_output_format.py +0 -0
  402. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_output_format_type.py +0 -0
  403. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_request.py +0 -0
  404. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_request_message.py +0 -0
  405. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_request_service_tier.py +0 -0
  406. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response.py +0 -0
  407. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block.py +0 -0
  408. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block_delta.py +0 -0
  409. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block_delta_signature.py +0 -0
  410. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block_delta_text.py +0 -0
  411. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block_delta_thinking.py +0 -0
  412. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block_delta_tool_use.py +0 -0
  413. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_block_stop.py +0 -0
  414. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_part.py +0 -0
  415. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_part_server_tool_use.py +0 -0
  416. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_part_text.py +0 -0
  417. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_part_thinking.py +0 -0
  418. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_part_tool_use.py +0 -0
  419. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_content_part_web_search_tool_result.py +0 -0
  420. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_stop_reason.py +0 -0
  421. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_stream_message_delta.py +0 -0
  422. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_stream_message_delta_delta.py +0 -0
  423. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_stream_message_start.py +0 -0
  424. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_stream_message_start_message.py +0 -0
  425. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_response_stream_message_stop.py +0 -0
  426. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_role.py +0 -0
  427. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_server_tool_caller.py +0 -0
  428. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_server_tool_usage.py +0 -0
  429. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_service_status.py +0 -0
  430. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_stop_sequences.py +0 -0
  431. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_stream_event.py +0 -0
  432. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_stream_options.py +0 -0
  433. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_system.py +0 -0
  434. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_system_text_part.py +0 -0
  435. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_thinking.py +0 -0
  436. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool.py +0 -0
  437. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_choice.py +0 -0
  438. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_choice_any.py +0 -0
  439. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_choice_auto.py +0 -0
  440. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_choice_none.py +0 -0
  441. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_choice_tool.py +0 -0
  442. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_result_content.py +0 -0
  443. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_result_content_part.py +0 -0
  444. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_tool_user_location.py +0 -0
  445. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_usage.py +0 -0
  446. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_web_search_result.py +0 -0
  447. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_web_search_tool_result_content.py +0 -0
  448. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/messages_web_search_tool_result_error.py +0 -0
  449. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/messages/model_fallback_status.py +0 -0
  450. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/__init__.py +0 -0
  451. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/_init_extras_shim.py +0 -0
  452. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding.py +0 -0
  453. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding_data_item.py +0 -0
  454. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding_input.py +0 -0
  455. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding_input_param.py +0 -0
  456. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding_input_type.py +0 -0
  457. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding_object.py +0 -0
  458. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/embedding_usage.py +0 -0
  459. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/encoding_format.py +0 -0
  460. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/image_url.py +0 -0
  461. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/image_url_param.py +0 -0
  462. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/multi_embedding_config.py +0 -0
  463. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/multi_embedding_config_param.py +0 -0
  464. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/multi_embedding_mode.py +0 -0
  465. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/multi_modal_embedding_request.py +0 -0
  466. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/multi_modal_embedding_request_param.py +0 -0
  467. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/multi_modal_embedding_response.py +0 -0
  468. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/prompt_tokens_details.py +0 -0
  469. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/sparse_embedding_config.py +0 -0
  470. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/sparse_embedding_config_param.py +0 -0
  471. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/sparse_embedding_mode.py +0 -0
  472. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/sparse_embedding_value.py +0 -0
  473. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/video_url.py +0 -0
  474. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/multimodal_embedding/video_url_param.py +0 -0
  475. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/__init__.py +0 -0
  476. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/_init_extras_shim.py +0 -0
  477. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/annotation.py +0 -0
  478. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/annotation_param.py +0 -0
  479. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/applied_edit.py +0 -0
  480. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/audio_chunk.py +0 -0
  481. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/audio_chunking_strategy.py +0 -0
  482. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/audio_chunking_strategy_param.py +0 -0
  483. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/cache_mode.py +0 -0
  484. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_thinking.py +0 -0
  485. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_thinking_keep.py +0 -0
  486. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_thinking_keep_param.py +0 -0
  487. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_thinking_param.py +0 -0
  488. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_thinking_response.py +0 -0
  489. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_tool_uses.py +0 -0
  490. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_tool_uses_inputs.py +0 -0
  491. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_tool_uses_inputs_param.py +0 -0
  492. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_tool_uses_param.py +0 -0
  493. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/clear_tool_uses_response.py +0 -0
  494. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_filter.py +0 -0
  495. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item.py +0 -0
  496. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_audio.py +0 -0
  497. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_audio_param.py +0 -0
  498. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_file.py +0 -0
  499. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_file_param.py +0 -0
  500. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_image.py +0 -0
  501. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_image_param.py +0 -0
  502. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_param.py +0 -0
  503. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_text.py +0 -0
  504. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_text_param.py +0 -0
  505. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_video.py +0 -0
  506. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/content_item_video_param.py +0 -0
  507. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/context_management.py +0 -0
  508. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/context_management_param.py +0 -0
  509. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/context_management_response.py +0 -0
  510. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/cover_image.py +0 -0
  511. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/cover_image_param.py +0 -0
  512. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/delete_response_response.py +0 -0
  513. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doc_citation.py +0 -0
  514. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doc_citation_param.py +0 -0
  515. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_call_block.py +0 -0
  516. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_call_block_output_text.py +0 -0
  517. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_call_block_reasoning_search.py +0 -0
  518. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_call_block_reasoning_text.py +0 -0
  519. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_call_block_search.py +0 -0
  520. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_feature.py +0 -0
  521. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_feature_item.py +0 -0
  522. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_feature_item_param.py +0 -0
  523. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_feature_mode.py +0 -0
  524. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_feature_param.py +0 -0
  525. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_search_result.py +0 -0
  526. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_search_text_item.py +0 -0
  527. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_tool.py +0 -0
  528. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/doubao_app_tool_param.py +0 -0
  529. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/edit.py +0 -0
  530. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/edit_param.py +0 -0
  531. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/function_tool.py +0 -0
  532. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/function_tool_param.py +0 -0
  533. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_detail.py +0 -0
  534. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_pixel_limit.py +0 -0
  535. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_pixel_limit_param.py +0 -0
  536. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_process_options.py +0 -0
  537. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_process_options_param.py +0 -0
  538. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_process_tool.py +0 -0
  539. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/image_process_tool_param.py +0 -0
  540. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/incomplete_details.py +0 -0
  541. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/input_item.py +0 -0
  542. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/input_item_list_params_shim.py +0 -0
  543. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/input_item_param.py +0 -0
  544. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/input_tokens_details.py +0 -0
  545. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_agent_tool_call.py +0 -0
  546. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_doubao_app_call.py +0 -0
  547. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_easy_message.py +0 -0
  548. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_easy_message_param.py +0 -0
  549. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_image_process.py +0 -0
  550. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_knowledge_search.py +0 -0
  551. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_approval_request.py +0 -0
  552. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_approval_request_param.py +0 -0
  553. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_approval_response.py +0 -0
  554. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_approval_response_param.py +0 -0
  555. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_call.py +0 -0
  556. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_call_param.py +0 -0
  557. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_list_tools.py +0 -0
  558. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_mcp_list_tools_param.py +0 -0
  559. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_tool_call.py +0 -0
  560. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_tool_call_output.py +0 -0
  561. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_tool_call_output_param.py +0 -0
  562. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_tool_call_param.py +0 -0
  563. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_function_web_search.py +0 -0
  564. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_input_message.py +0 -0
  565. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_output_message.py +0 -0
  566. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_reasoning.py +0 -0
  567. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_reasoning_param.py +0 -0
  568. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_reference.py +0 -0
  569. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_status.py +0 -0
  570. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/item_transcription.py +0 -0
  571. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/knowledge_search_tool.py +0 -0
  572. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/knowledge_search_tool_param.py +0 -0
  573. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/list_input_items_response.py +0 -0
  574. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_allowed_tools.py +0 -0
  575. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_allowed_tools_filter.py +0 -0
  576. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_allowed_tools_filter_param.py +0 -0
  577. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_allowed_tools_param.py +0 -0
  578. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_approval_mode.py +0 -0
  579. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_list_tools_tool.py +0 -0
  580. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_list_tools_tool_param.py +0 -0
  581. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_require_approval.py +0 -0
  582. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_require_approval_param.py +0 -0
  583. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool.py +0 -0
  584. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_approval_filter.py +0 -0
  585. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_approval_filter_always.py +0 -0
  586. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_approval_filter_always_param.py +0 -0
  587. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_approval_filter_never.py +0 -0
  588. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_approval_filter_never_param.py +0 -0
  589. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_approval_filter_param.py +0 -0
  590. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/mcp_tool_param.py +0 -0
  591. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/message_content.py +0 -0
  592. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/message_content_param.py +0 -0
  593. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/message_role.py +0 -0
  594. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/order.py +0 -0
  595. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_content_item.py +0 -0
  596. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_content_item_param.py +0 -0
  597. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_content_item_reasoning_text.py +0 -0
  598. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_content_item_reasoning_text_param.py +0 -0
  599. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_content_item_text.py +0 -0
  600. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_content_item_text_param.py +0 -0
  601. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_item.py +0 -0
  602. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/output_tokens_details.py +0 -0
  603. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/parsed_response_shim.py +0 -0
  604. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/reasoning.py +0 -0
  605. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/reasoning_effort.py +0 -0
  606. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/reasoning_param.py +0 -0
  607. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/reasoning_summary_part.py +0 -0
  608. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/reasoning_summary_part_param.py +0 -0
  609. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response.py +0 -0
  610. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_agent_tool_call_completed_event.py +0 -0
  611. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_agent_tool_call_in_progress_event.py +0 -0
  612. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_caching.py +0 -0
  613. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_caching_param.py +0 -0
  614. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_completed_event.py +0 -0
  615. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_content_part_added_event.py +0 -0
  616. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_content_part_done_event.py +0 -0
  617. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_created_event.py +0 -0
  618. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_block_added_event.py +0 -0
  619. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_block_done_event.py +0 -0
  620. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_completed_event.py +0 -0
  621. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_failed_event.py +0 -0
  622. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_in_progress_event.py +0 -0
  623. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_output_text_delta_event.py +0 -0
  624. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_output_text_done_event.py +0 -0
  625. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_reasoning_search_completed_event.py +0 -0
  626. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_reasoning_search_in_progress_event.py +0 -0
  627. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_reasoning_search_searching_event.py +0 -0
  628. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_reasoning_text_delta_event.py +0 -0
  629. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_reasoning_text_done_event.py +0 -0
  630. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_search_completed_event.py +0 -0
  631. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_search_in_progress_event.py +0 -0
  632. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_doubao_app_call_search_searching_event.py +0 -0
  633. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_error.py +0 -0
  634. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_error_event.py +0 -0
  635. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_failed_event.py +0 -0
  636. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_function_call_arguments_delta_event.py +0 -0
  637. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_function_call_arguments_done_event.py +0 -0
  638. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_image_process_action.py +0 -0
  639. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_image_process_call_completed_event.py +0 -0
  640. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_image_process_call_in_progress_event.py +0 -0
  641. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_image_process_call_processing_event.py +0 -0
  642. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_image_process_error.py +0 -0
  643. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_in_progress_event.py +0 -0
  644. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_includable.py +0 -0
  645. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_incomplete_event.py +0 -0
  646. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_knowledge_search_call_completed_event.py +0 -0
  647. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_knowledge_search_call_failed_event.py +0 -0
  648. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_knowledge_search_call_in_progress_event.py +0 -0
  649. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_knowledge_search_call_searching_event.py +0 -0
  650. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_approval_request_event.py +0 -0
  651. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_call_arguments_delta_event.py +0 -0
  652. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_call_arguments_done_event.py +0 -0
  653. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_call_completed_event.py +0 -0
  654. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_call_failed_event.py +0 -0
  655. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_call_in_progress_event.py +0 -0
  656. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_list_tools_completed_event.py +0 -0
  657. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_list_tools_failed_event.py +0 -0
  658. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_mcp_list_tools_in_progress_event.py +0 -0
  659. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_output_item_added_event.py +0 -0
  660. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_output_item_done_event.py +0 -0
  661. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_output_text_annotation_added_event.py +0 -0
  662. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_raw_text_delta_event.py +0 -0
  663. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_raw_text_done_event.py +0 -0
  664. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_summary_part_added_event.py +0 -0
  665. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_summary_part_done_event.py +0 -0
  666. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_summary_text_delta_event.py +0 -0
  667. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_summary_text_done_event.py +0 -0
  668. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_text_delta_event.py +0 -0
  669. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_reasoning_text_done_event.py +0 -0
  670. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_status.py +0 -0
  671. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_stream_event.py +0 -0
  672. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_text_config.py +0 -0
  673. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_text_config_param.py +0 -0
  674. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_text_delta_event.py +0 -0
  675. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_text_done_event.py +0 -0
  676. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_transcription_part_added_event.py +0 -0
  677. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_transcription_part_done_event.py +0 -0
  678. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_transcription_text_delta_event.py +0 -0
  679. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_transcription_text_done_event.py +0 -0
  680. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_usage.py +0 -0
  681. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_web_search_call_completed_event.py +0 -0
  682. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_web_search_call_in_progress_event.py +0 -0
  683. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/response_web_search_call_searching_event.py +0 -0
  684. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/responses_input.py +0 -0
  685. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/responses_input_param.py +0 -0
  686. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/responses_request.py +0 -0
  687. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/responses_request_param.py +0 -0
  688. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/service_tier.py +0 -0
  689. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/session.py +0 -0
  690. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/session_param.py +0 -0
  691. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/text_format.py +0 -0
  692. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/text_format_param.py +0 -0
  693. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/text_format_type.py +0 -0
  694. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/text_translation_options.py +0 -0
  695. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/thinking.py +0 -0
  696. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/thinking_mode.py +0 -0
  697. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/thinking_param.py +0 -0
  698. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/thinking_turns_param.py +0 -0
  699. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/thinking_turns_param_param.py +0 -0
  700. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool.py +0 -0
  701. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice.py +0 -0
  702. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_function.py +0 -0
  703. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_function_param.py +0 -0
  704. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_knowledge_search.py +0 -0
  705. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_knowledge_search_param.py +0 -0
  706. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_mcp.py +0 -0
  707. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_mcp_param.py +0 -0
  708. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_options.py +0 -0
  709. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_param.py +0 -0
  710. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_web_search.py +0 -0
  711. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_choice_web_search_param.py +0 -0
  712. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_name_list.py +0 -0
  713. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_name_list_param.py +0 -0
  714. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_param.py +0 -0
  715. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_usage.py +0 -0
  716. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_usage_details.py +0 -0
  717. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_uses_keep.py +0 -0
  718. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_uses_keep_param.py +0 -0
  719. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_uses_trigger.py +0 -0
  720. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/tool_uses_trigger_param.py +0 -0
  721. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/transcription_part.py +0 -0
  722. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/truncation_mode.py +0 -0
  723. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/typed_tool_choice.py +0 -0
  724. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/typed_tool_choice_param.py +0 -0
  725. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/url_citation.py +0 -0
  726. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/url_citation_param.py +0 -0
  727. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/user_location.py +0 -0
  728. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/user_location_param.py +0 -0
  729. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/web_search_action.py +0 -0
  730. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/web_search_source.py +0 -0
  731. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/web_search_tool.py +0 -0
  732. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/responses/web_search_tool_param.py +0 -0
  733. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/_init_extras_shim.py +0 -0
  734. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/agent_identifier.py +0 -0
  735. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/agent_ref.py +0 -0
  736. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/base64_document_source.py +0 -0
  737. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/base64_image_source.py +0 -0
  738. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/cache_creation.py +0 -0
  739. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/create_session_request.py +0 -0
  740. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/create_session_resource_request.py +0 -0
  741. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/delete_session_response.py +0 -0
  742. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/document_source.py +0 -0
  743. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/environment_config_override.py +0 -0
  744. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/environment_networking_config.py +0 -0
  745. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/environment_packages_config.py +0 -0
  746. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/environment_tos_config.py +0 -0
  747. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/environment_with_overrides.py +0 -0
  748. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/file_document_source.py +0 -0
  749. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/file_image_source.py +0 -0
  750. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/image_source.py +0 -0
  751. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/list_session_events_response_wire.py +0 -0
  752. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/list_session_resources_response.py +0 -0
  753. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/list_session_threads_response.py +0 -0
  754. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/list_sessions_order.py +0 -0
  755. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/list_sessions_response.py +0 -0
  756. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_agent_message_preview.py +0 -0
  757. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_agent_thinking_preview.py +0 -0
  758. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_delta_content.py +0 -0
  759. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_delta_event.py +0 -0
  760. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_delta_text_block.py +0 -0
  761. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_document_block.py +0 -0
  762. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_event_params.py +0 -0
  763. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_file_rubric_params.py +0 -0
  764. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_image_block.py +0 -0
  765. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_message_content_block.py +0 -0
  766. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_rubric.py +0 -0
  767. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_search_result_block.py +0 -0
  768. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_session_event.py +0 -0
  769. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_start_event.py +0 -0
  770. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_start_event_preview.py +0 -0
  771. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_stream_preview_event.py +0 -0
  772. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_system_content_block.py +0 -0
  773. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_system_message_event_params.py +0 -0
  774. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_text_block.py +0 -0
  775. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_text_rubric_params.py +0 -0
  776. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_tool_result_content_block.py +0 -0
  777. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_user_custom_tool_result_event_params.py +0 -0
  778. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_user_define_outcome_event_params.py +0 -0
  779. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_user_interrupt_event_params.py +0 -0
  780. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_user_message_event_params.py +0 -0
  781. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_user_tool_confirmation_event_params.py +0 -0
  782. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/managed_agents_user_tool_result_event_params.py +0 -0
  783. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/plain_text_document_source.py +0 -0
  784. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/search_result_citations.py +0 -0
  785. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/search_result_content.py +0 -0
  786. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/send_session_events_request.py +0 -0
  787. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/send_session_events_response.py +0 -0
  788. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session.py +0 -0
  789. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_resource.py +0 -0
  790. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_resource_access.py +0 -0
  791. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_resource_type.py +0 -0
  792. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_stream_shim.py +0 -0
  793. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_thread.py +0 -0
  794. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_thread_status.py +0 -0
  795. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/session_usage.py +0 -0
  796. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/tag.py +0 -0
  797. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/tool_confirmation_result.py +0 -0
  798. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/update_session_request.py +0 -0
  799. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/url_document_source.py +0 -0
  800. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/session/url_image_source.py +0 -0
  801. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/skill/__init__.py +0 -0
  802. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/skill/_init_extras_shim.py +0 -0
  803. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/skill/create_skill_request.py +0 -0
  804. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/skill/skill.py +0 -0
  805. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/__init__.py +0 -0
  806. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/_init_extras_shim.py +0 -0
  807. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/tokenization_input.py +0 -0
  808. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/tokenization_input_param.py +0 -0
  809. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/tokenization_item.py +0 -0
  810. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/tokenization_request.py +0 -0
  811. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/tokenization_request_param.py +0 -0
  812. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/tokenization/tokenization_response.py +0 -0
  813. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/__init__.py +0 -0
  814. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/_init_extras_shim.py +0 -0
  815. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/create_credential_request.py +0 -0
  816. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/create_vault_request.py +0 -0
  817. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/credential.py +0 -0
  818. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/credential_auth.py +0 -0
  819. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/credential_auth_type.py +0 -0
  820. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/credential_networking.py +0 -0
  821. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/credential_networking_type.py +0 -0
  822. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/credential_validation.py +0 -0
  823. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/delete_credential_response.py +0 -0
  824. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/delete_vault_response.py +0 -0
  825. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/limited_credential_networking.py +0 -0
  826. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/list_credentials_response.py +0 -0
  827. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/list_vaults_response.py +0 -0
  828. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/mcp_probe.py +0 -0
  829. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/mcpo_auth_refresh.py +0 -0
  830. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/refresh_http_response.py +0 -0
  831. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/refresh_object.py +0 -0
  832. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/refresh_status.py +0 -0
  833. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/token_endpoint_auth.py +0 -0
  834. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/token_endpoint_auth_type.py +0 -0
  835. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/update_credential_request.py +0 -0
  836. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/update_vault_request.py +0 -0
  837. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/validation_status.py +0 -0
  838. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime/types/vault/vault.py +0 -0
  839. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime.egg-info/dependency_links.txt +0 -0
  840. {arkruntime-0.5.0 → arkruntime-0.7.0}/src/arkruntime.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arkruntime
3
- Version: 0.5.0
3
+ Version: 0.7.0
4
4
  Summary: Ark runtime SDK for Python
5
5
  Author: Volcengine
6
6
  License: Apache-2.0
@@ -16,6 +16,8 @@ Requires-Dist: sniffio
16
16
  Requires-Dist: typing-extensions>=4.7
17
17
  Requires-Dist: distro>=1.7.0
18
18
  Requires-Dist: volcengine-python-sdk>=5.0.20
19
+ Provides-Extra: mcp
20
+ Requires-Dist: mcp<3,>=1.0; python_version >= "3.10" and extra == "mcp"
19
21
  Dynamic: license-file
20
22
 
21
23
  # Ark Runtime Python SDK
@@ -337,6 +339,72 @@ See the [examples/](./examples) directory for runnable scripts:
337
339
 
338
340
  MCP examples are provided for both clouds and explicitly send `ark-beta-mcp: true`. Other built-in-tool examples are CN-only and show their required beta headers.
339
341
 
342
+ ## Self-hosted MCP tools
343
+
344
+ The self-hosted worker core exposes a protocol-independent `MCPClient`
345
+ interface without requiring the official MCP package. Install the optional
346
+ adapter on Python 3.10 or newer when using an official MCP `ClientSession`:
347
+
348
+ ```bash
349
+ pip install 'arkruntime[mcp]'
350
+ ```
351
+
352
+ The official adapter runs through an AnyIO `BlockingPortal`, so it works with
353
+ both asyncio and Trio backends. Create the portal and MCP `ClientSession` in
354
+ the same AnyIO lifecycle, then use `custom_tool_items()` for the Agent
355
+ declaration and `mcp_tools()` for the worker registry. Keep both alive for the
356
+ entire worker lifetime. See the runnable
357
+ [`self_hosted_mcp_worker`](./examples/self_hosted_mcp_worker) example.
358
+
359
+ The adapter wraps an already connected MCP `ClientSession`, so applications may
360
+ use stdio or another transport supported by their MCP client. One client
361
+ session is reused across all Managed Agents Sessions handled by the worker;
362
+ calls do not automatically include a Managed Agents `session_id` or `work_id`,
363
+ and Session idle/deletion is not an MCP lifecycle notification. Use stateless
364
+ tools or implement explicit tenant/session isolation in the MCP server.
365
+
366
+ Applications that cannot install the optional package may implement
367
+ `arkruntime.selfhosted.MCPClient` directly. The core SDK continues to support
368
+ Python 3.8, while the official MCP adapter requires Python 3.10 or newer.
369
+
370
+ Managed Agents currently accepts the top-level JSON Schema fields `type`,
371
+ `properties`, and `required`. The helper keeps those fields structured, inlines
372
+ local `$defs` and `definitions` references used by properties, and appends other
373
+ top-level constraints as compact JSON to the tool description. The MCP server
374
+ remains the authoritative validator when the worker executes the call. Agent
375
+ tool descriptions, including appended constraints, must fit within 10,000
376
+ characters.
377
+
378
+ Fetch every `tools/list` page, then use the exact same selected definitions for
379
+ the Agent and worker. Managed Agents currently accepts at most eight custom
380
+ tools per Agent. Tool discovery happens at worker startup, so update the Agent
381
+ while it is idle and restart the worker whenever the MCP server changes its
382
+ tool list.
383
+
384
+ Custom tools do not use Managed Agents permission policies. The worker executes
385
+ each matching call, so implement approval, authorization, and operation
386
+ allowlists in the MCP server or a wrapper tool. Only wrap trusted servers,
387
+ avoid names that collide with built-in Agent tools, add prefixes when multiple
388
+ servers expose the same name, and configure an MCP client timeout. Client-side
389
+ MCP servers run with the worker's OS, filesystem, and network permissions, not
390
+ in a Managed Agents sandbox. Run them with least privilege and a minimal
391
+ environment, and do not pass `ARK_API_KEY` to an MCP subprocess. Tool names,
392
+ descriptions, inputs, and results enter the model context and must be treated
393
+ as untrusted content.
394
+
395
+ ### Tool result support
396
+
397
+ The worker preserves MCP `isError` and supports text, `image/jpeg`,
398
+ `image/png`, `image/gif`, and `image/webp` image blocks. Embedded resources may
399
+ contain the same image MIME types, `application/pdf`, or text whose MIME type is
400
+ absent, empty, or starts with `text/`. When a result has no content blocks but
401
+ has `structuredContent`, the helper serializes it as compact JSON text.
402
+
403
+ Audio, resource links, unknown content types, and other resource MIME types
404
+ become an error result. If a result mixes supported and unsupported blocks, the
405
+ whole converted result is an error; the supported blocks are not returned
406
+ separately.
407
+
340
408
  ## Requirements
341
409
 
342
410
  - Python >= 3.8
@@ -317,6 +317,72 @@ See the [examples/](./examples) directory for runnable scripts:
317
317
 
318
318
  MCP examples are provided for both clouds and explicitly send `ark-beta-mcp: true`. Other built-in-tool examples are CN-only and show their required beta headers.
319
319
 
320
+ ## Self-hosted MCP tools
321
+
322
+ The self-hosted worker core exposes a protocol-independent `MCPClient`
323
+ interface without requiring the official MCP package. Install the optional
324
+ adapter on Python 3.10 or newer when using an official MCP `ClientSession`:
325
+
326
+ ```bash
327
+ pip install 'arkruntime[mcp]'
328
+ ```
329
+
330
+ The official adapter runs through an AnyIO `BlockingPortal`, so it works with
331
+ both asyncio and Trio backends. Create the portal and MCP `ClientSession` in
332
+ the same AnyIO lifecycle, then use `custom_tool_items()` for the Agent
333
+ declaration and `mcp_tools()` for the worker registry. Keep both alive for the
334
+ entire worker lifetime. See the runnable
335
+ [`self_hosted_mcp_worker`](./examples/self_hosted_mcp_worker) example.
336
+
337
+ The adapter wraps an already connected MCP `ClientSession`, so applications may
338
+ use stdio or another transport supported by their MCP client. One client
339
+ session is reused across all Managed Agents Sessions handled by the worker;
340
+ calls do not automatically include a Managed Agents `session_id` or `work_id`,
341
+ and Session idle/deletion is not an MCP lifecycle notification. Use stateless
342
+ tools or implement explicit tenant/session isolation in the MCP server.
343
+
344
+ Applications that cannot install the optional package may implement
345
+ `arkruntime.selfhosted.MCPClient` directly. The core SDK continues to support
346
+ Python 3.8, while the official MCP adapter requires Python 3.10 or newer.
347
+
348
+ Managed Agents currently accepts the top-level JSON Schema fields `type`,
349
+ `properties`, and `required`. The helper keeps those fields structured, inlines
350
+ local `$defs` and `definitions` references used by properties, and appends other
351
+ top-level constraints as compact JSON to the tool description. The MCP server
352
+ remains the authoritative validator when the worker executes the call. Agent
353
+ tool descriptions, including appended constraints, must fit within 10,000
354
+ characters.
355
+
356
+ Fetch every `tools/list` page, then use the exact same selected definitions for
357
+ the Agent and worker. Managed Agents currently accepts at most eight custom
358
+ tools per Agent. Tool discovery happens at worker startup, so update the Agent
359
+ while it is idle and restart the worker whenever the MCP server changes its
360
+ tool list.
361
+
362
+ Custom tools do not use Managed Agents permission policies. The worker executes
363
+ each matching call, so implement approval, authorization, and operation
364
+ allowlists in the MCP server or a wrapper tool. Only wrap trusted servers,
365
+ avoid names that collide with built-in Agent tools, add prefixes when multiple
366
+ servers expose the same name, and configure an MCP client timeout. Client-side
367
+ MCP servers run with the worker's OS, filesystem, and network permissions, not
368
+ in a Managed Agents sandbox. Run them with least privilege and a minimal
369
+ environment, and do not pass `ARK_API_KEY` to an MCP subprocess. Tool names,
370
+ descriptions, inputs, and results enter the model context and must be treated
371
+ as untrusted content.
372
+
373
+ ### Tool result support
374
+
375
+ The worker preserves MCP `isError` and supports text, `image/jpeg`,
376
+ `image/png`, `image/gif`, and `image/webp` image blocks. Embedded resources may
377
+ contain the same image MIME types, `application/pdf`, or text whose MIME type is
378
+ absent, empty, or starts with `text/`. When a result has no content blocks but
379
+ has `structuredContent`, the helper serializes it as compact JSON text.
380
+
381
+ Audio, resource links, unknown content types, and other resource MIME types
382
+ become an error result. If a result mixes supported and unsupported blocks, the
383
+ whole converted result is an error; the supported blocks are not returned
384
+ separately.
385
+
320
386
  ## Requirements
321
387
 
322
388
  - Python >= 3.8
@@ -5,9 +5,10 @@ from third-party open-source projects.
5
5
 
6
6
  ## Anthropic self-hosted worker SDK
7
7
 
8
- Portions of the self-hosted worker lifecycle and local agent tool
9
- implementations under `src/arkruntime/selfhosted` are structurally adapted
10
- from Anthropic's self-hosted worker SDK implementations:
8
+ Portions of the self-hosted worker lifecycle, local agent tool, and client-side
9
+ MCP helper implementations under `src/arkruntime/selfhosted` and
10
+ `src/arkruntime/mcp.py` are structurally adapted from Anthropic's SDK
11
+ implementations:
11
12
 
12
13
  - https://github.com/anthropics/anthropic-sdk-python
13
14
  - https://github.com/anthropics/anthropic-sdk-go
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "arkruntime"
7
- version = "0.5.0"
7
+ version = "0.7.0"
8
8
  description = "Ark runtime SDK for Python"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -23,6 +23,9 @@ dependencies = [
23
23
  "volcengine-python-sdk>=5.0.20",
24
24
  ]
25
25
 
26
+ [project.optional-dependencies]
27
+ mcp = ["mcp>=1.0,<3; python_version >= '3.10'"]
28
+
26
29
  [project.urls]
27
30
  Homepage = "https://github.com/volcengine/ark-runtime-python"
28
31
 
@@ -42,6 +45,7 @@ dev = [
42
45
  "pytest-cov>=5",
43
46
  "pytest-xdist>=3",
44
47
  "respx>=0.21",
48
+ "trio>=0.22",
45
49
  ]
46
50
 
47
51
  [tool.setuptools]
@@ -5,6 +5,7 @@
5
5
  from __future__ import annotations
6
6
 
7
7
  import asyncio
8
+ import email.utils
8
9
  import json
9
10
  import logging
10
11
  import time
@@ -184,7 +185,7 @@ class BaseClient(Generic[_HttpxClientT]):
184
185
 
185
186
  @property
186
187
  def user_agent(self) -> str:
187
- return "volc-sdk-python/" + VERSION
188
+ return "ark-runtime-python/" + VERSION
188
189
 
189
190
  def default_headers(self) -> Dict[str, str]:
190
191
  return {
@@ -199,10 +200,14 @@ class BaseClient(Generic[_HttpxClientT]):
199
200
  def _make_sse_decoder(self) -> SSEDecoder | SSEBytesDecoder:
200
201
  return SSEDecoder()
201
202
 
202
- def _build_headers(self, options: RequestOptions) -> httpx.Headers:
203
+ def _build_headers(self, options: RequestOptions, *, retries_taken: int = 0) -> httpx.Headers:
203
204
  custom_headers = options.headers or {}
204
- headers_dict = {**self.default_headers(), **custom_headers}
205
+ headers_dict = {
206
+ **self.default_headers(),
207
+ "x-stainless-retry-count": str(retries_taken),
208
+ }
205
209
  headers = httpx.Headers(headers_dict)
210
+ headers.update(custom_headers)
206
211
 
207
212
  return headers
208
213
 
@@ -237,7 +242,7 @@ class BaseClient(Generic[_HttpxClientT]):
237
242
  else:
238
243
  raise RuntimeError(f"Unexpected JSON data type, {type(body)}, cannot merge with `extra_body`")
239
244
 
240
- headers = self._build_headers(options)
245
+ headers = self._build_headers(options, retries_taken=retries_taken)
241
246
  params = options.params
242
247
  content_type = headers.get("Content-Type")
243
248
  files = options.files
@@ -338,9 +343,13 @@ class BaseClient(Generic[_HttpxClientT]):
338
343
  options: RequestOptions,
339
344
  response_headers: Optional[httpx.Headers] = None,
340
345
  ) -> float:
341
- max_retries = options.max_retries if options.max_retries else self.max_retries
346
+ max_retries = options.get_max_retries(self.max_retries)
347
+
348
+ retry_after = self._parse_retry_after_header(response_headers)
349
+ if retry_after is not None and 0 < retry_after <= 60:
350
+ return retry_after
342
351
 
343
- nb_retries = max_retries - remaining_retries
352
+ nb_retries = min(max(max_retries - remaining_retries - 1, 0), 1000)
344
353
 
345
354
  # Apply exponential backoff, but not more than the max.
346
355
  sleep_seconds = min(INITIAL_RETRY_DELAY * pow(2.0, nb_retries), MAX_RETRY_DELAY)
@@ -350,9 +359,31 @@ class BaseClient(Generic[_HttpxClientT]):
350
359
  timeout = sleep_seconds * jitter
351
360
  return timeout if timeout >= 0 else 0
352
361
 
362
+ def _parse_retry_after_header(self, response_headers: Optional[httpx.Headers] = None) -> Optional[float]:
363
+ if response_headers is None:
364
+ return None
365
+
366
+ try:
367
+ retry_after_ms = response_headers.get("retry-after-ms")
368
+ return float(retry_after_ms) / 1000
369
+ except (TypeError, ValueError):
370
+ pass
371
+
372
+ retry_after = response_headers.get("retry-after")
373
+ try:
374
+ return float(retry_after)
375
+ except (TypeError, ValueError):
376
+ pass
377
+
378
+ retry_date = email.utils.parsedate_tz(retry_after)
379
+ if retry_date is None:
380
+ return None
381
+ return float(email.utils.mktime_tz(retry_date) - time.time())
382
+
353
383
  def _should_retry(self, response: httpx.Response) -> bool:
354
384
  # Note: this is not a standard header
355
385
  should_retry_header = response.headers.get("x-should-retry")
386
+ should_retry_header = should_retry_header.lower() if should_retry_header else None
356
387
 
357
388
  # If the server explicitly says whether or not to retry, obey.
358
389
  if should_retry_header == "true":
@@ -503,7 +534,8 @@ class SyncAPIClient(BaseClient):
503
534
  stream_cls: type[_StreamT] | None,
504
535
  ) -> ResponseT | _StreamT:
505
536
  retries = self._remaining_retries(remaining_retries, options)
506
- request = self._build_request(options)
537
+ max_retries = options.get_max_retries(self.max_retries)
538
+ request = self._build_request(options, retries_taken=max_retries - retries)
507
539
  req_id = request.headers.get(CLIENT_REQUEST_HEADER, "")
508
540
  try:
509
541
  response = self._client.send(
@@ -703,6 +735,7 @@ class SyncAPIClient(BaseClient):
703
735
  stream: bool = False,
704
736
  stream_cls: type[_StreamT] | None = None,
705
737
  ) -> ResponseT | _StreamT:
738
+ options = {**options, "max_retries": 0}
706
739
  opts = RequestOptions.construct( # type: ignore
707
740
  method="post",
708
741
  url=path,
@@ -916,6 +949,7 @@ class AsyncAPIClient(BaseClient):
916
949
  stream: bool = False,
917
950
  stream_cls: type[_AsyncStreamT] | None = None,
918
951
  ) -> ResponseT | _AsyncStreamT:
952
+ options = {**options, "max_retries": 0}
919
953
  opts = RequestOptions.construct(
920
954
  method="post",
921
955
  url=path,
@@ -984,7 +1018,8 @@ class AsyncAPIClient(BaseClient):
984
1018
  stream_cls: type[_AsyncStreamT] | None,
985
1019
  ) -> ResponseT | _AsyncStreamT:
986
1020
  retries = self._remaining_retries(remaining_retries, options)
987
- request = self._build_request(options)
1021
+ max_retries = options.get_max_retries(self.max_retries)
1022
+ request = self._build_request(options, retries_taken=max_retries - retries)
988
1023
  req_id = request.headers.get(CLIENT_REQUEST_HEADER, "")
989
1024
  try:
990
1025
  response = await self._client.send(
@@ -76,7 +76,7 @@ class Ark(SyncAPIClient):
76
76
  sk: secret access key
77
77
  api_key: api key,this api key will not be refreshed
78
78
  timeout: timeout of client. default httpx.Timeout(timeout=60.0, connect=60.0)
79
- max_retries: times of retry when request failed. default 1
79
+ max_retries: times of retry when request failed. default 2
80
80
  http_client: specify customized http_client
81
81
  Returns:
82
82
  ark client
@@ -229,7 +229,7 @@ class AsyncArk(AsyncAPIClient):
229
229
  sk: secret access key
230
230
  api_key: api key,this api key will not be refreshed
231
231
  timeout: timeout of client. default httpx.Timeout(timeout=60.0, connect=60.0)
232
- max_retries: times of retry when request failed. default 1
232
+ max_retries: times of retry when request failed. default 2
233
233
  http_client: specify customized http_client
234
234
  Returns:
235
235
  async ark client
@@ -4,7 +4,8 @@
4
4
 
5
5
  import httpx
6
6
 
7
- VERSION = "1.0.0"
7
+ from ._version import VERSION as VERSION
8
+
8
9
  BASE_URL = "https://ark.cn-beijing.volces.com/api/v3"
9
10
 
10
11
 
@@ -0,0 +1,27 @@
1
+ # Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ import re
5
+ from importlib.metadata import version
6
+ from pathlib import Path
7
+
8
+
9
+ def _get_version() -> str:
10
+ # Source and editable imports must use this checkout, even if another
11
+ # arkruntime distribution is installed. Releases use wheel metadata,
12
+ # which setuptools derives from the same pyproject.toml project.version.
13
+ source_root = Path(__file__).resolve().parent.parent
14
+ pyproject = source_root.parent / "pyproject.toml"
15
+ if source_root.name == "src" and pyproject.is_file():
16
+ # The project declares a static, single-line version. Read only the
17
+ # [project] table without requiring a TOML dependency on Python 3.8.
18
+ project = re.search(r"(?ms)^\[project\][ \t]*\n(.*?)(?=^\[|\Z)", pyproject.read_text(encoding="utf-8"))
19
+ if project is not None:
20
+ declared = re.search(r"""(?m)^version\s*=\s*["']([^"'\r\n]+)["'][ \t]*(?:#.*)?$""", project[1])
21
+ if declared is not None:
22
+ return declared[1]
23
+ raise RuntimeError("Expected a static project.version in " + str(pyproject))
24
+ return version("arkruntime")
25
+
26
+
27
+ VERSION = _get_version()
@@ -0,0 +1,197 @@
1
+ # Copyright (c) 2026 ByteDance Ltd. and/or its affiliates.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+ """把官方 MCP Python SDK 适配到方舟 self-hosted MCP 接口。
4
+
5
+ 安装可选依赖:``pip install 'arkruntime[mcp]'``。官方 MCP 包需要
6
+ Python 3.10 或更高版本。调用方应在 AnyIO 事件循环中创建
7
+ ``BlockingPortal``,并保证 portal 与 MCP ``ClientSession`` 的生命周期覆盖 worker。
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import concurrent.futures
13
+ import contextlib
14
+ import time
15
+ from typing import Any, Dict, Iterable, List, Optional
16
+
17
+ try:
18
+ from anyio.from_thread import BlockingPortal
19
+ from mcp import ClientSession, types
20
+ except ImportError as exc: # pragma: no cover - depends on the optional extra.
21
+ raise ImportError(
22
+ "The 'mcp' package is required for MCP helpers. Install it with: "
23
+ "pip install 'arkruntime[mcp]'. Python 3.10 or newer is required."
24
+ ) from exc
25
+
26
+ from arkruntime.selfhosted.mcp import (
27
+ MCPCallToolResult,
28
+ MCPClient,
29
+ MCPContent,
30
+ MCPResource,
31
+ MCPToolDefinition,
32
+ )
33
+ from arkruntime.selfhosted.mcp import (
34
+ custom_tool_item as core_custom_tool_item,
35
+ )
36
+ from arkruntime.selfhosted.mcp import (
37
+ custom_tool_items as core_custom_tool_items,
38
+ )
39
+ from arkruntime.selfhosted.mcp import (
40
+ mcp_tool as core_mcp_tool,
41
+ )
42
+ from arkruntime.selfhosted.mcp import (
43
+ mcp_tools as core_mcp_tools,
44
+ )
45
+ from arkruntime.selfhosted.tools import Tool, ToolContext
46
+ from arkruntime.types.agent import ToolItem
47
+
48
+ __all__ = ["AnyIOMCPClient", "custom_tool_item", "custom_tool_items", "mcp_tool", "mcp_tools"]
49
+
50
+ _MISSING = object()
51
+
52
+
53
+ def _field(value: Any, snake_name: str, camel_name: str, default: Any = _MISSING) -> Any:
54
+ if hasattr(value, snake_name):
55
+ return getattr(value, snake_name)
56
+ if hasattr(value, camel_name):
57
+ return getattr(value, camel_name)
58
+ if default is not _MISSING:
59
+ return default
60
+ raise AttributeError(snake_name)
61
+
62
+
63
+ class AnyIOMCPClient(MCPClient):
64
+ """通过 AnyIO portal 从 worker 线程调用异步 MCP ClientSession。"""
65
+
66
+ def __init__(
67
+ self,
68
+ client: ClientSession,
69
+ portal: BlockingPortal,
70
+ *,
71
+ timeout: Optional[float] = None,
72
+ poll_interval: float = 0.25,
73
+ ) -> None:
74
+ if client is None:
75
+ raise ValueError("mcp client is required")
76
+ if portal is None:
77
+ raise ValueError("anyio blocking portal is required")
78
+ if timeout is not None and timeout <= 0:
79
+ raise ValueError("timeout must be positive")
80
+ if poll_interval <= 0:
81
+ raise ValueError("poll_interval must be positive")
82
+ self._client = client
83
+ self._portal = portal
84
+ self._timeout = timeout
85
+ self._poll_interval = poll_interval
86
+
87
+ def call_tool(
88
+ self,
89
+ name: str,
90
+ arguments: Dict[str, Any],
91
+ context: ToolContext,
92
+ ) -> Optional[MCPCallToolResult]:
93
+ future = self._portal.start_task_soon(self._client.call_tool, name, arguments)
94
+ started = time.monotonic()
95
+ while True:
96
+ try:
97
+ return _call_tool_result(future.result(timeout=self._poll_interval))
98
+ except concurrent.futures.TimeoutError:
99
+ if _is_cancelled(context):
100
+ _cancel_and_wait(future)
101
+ raise RuntimeError("execution canceled")
102
+ if self._timeout is not None and time.monotonic() - started >= self._timeout:
103
+ _cancel_and_wait(future)
104
+ raise RuntimeError(f"execution timed out after {self._timeout:g} seconds")
105
+
106
+
107
+ def custom_tool_item(tool: "types.Tool") -> ToolItem:
108
+ """把官方 MCP Tool 转换成 Agent custom tool 声明。"""
109
+
110
+ return core_custom_tool_item(_tool_definition(tool))
111
+
112
+
113
+ def custom_tool_items(tools: Iterable["types.Tool"]) -> List[ToolItem]:
114
+ """批量转换官方 MCP Tools。"""
115
+
116
+ return core_custom_tool_items([_tool_definition(tool) for tool in tools])
117
+
118
+
119
+ def mcp_tool(
120
+ tool: "types.Tool",
121
+ client: ClientSession,
122
+ *,
123
+ portal: BlockingPortal,
124
+ timeout: Optional[float] = None,
125
+ ) -> Tool:
126
+ """把官方 MCP Tool 包装成 worker Custom Tool。"""
127
+
128
+ return core_mcp_tool(_tool_definition(tool), AnyIOMCPClient(client, portal, timeout=timeout))
129
+
130
+
131
+ def mcp_tools(
132
+ tools: Iterable["types.Tool"],
133
+ client: ClientSession,
134
+ *,
135
+ portal: BlockingPortal,
136
+ timeout: Optional[float] = None,
137
+ ) -> Dict[str, Tool]:
138
+ """批量包装官方 MCP Tools。"""
139
+
140
+ return core_mcp_tools(
141
+ [_tool_definition(tool) for tool in tools],
142
+ AnyIOMCPClient(client, portal, timeout=timeout),
143
+ )
144
+
145
+
146
+ def _tool_definition(tool: "types.Tool") -> MCPToolDefinition:
147
+ if tool is None:
148
+ raise ValueError("mcp tool is required")
149
+ return MCPToolDefinition(
150
+ name=tool.name,
151
+ description=tool.description or "",
152
+ input_schema=_field(tool, "input_schema", "inputSchema", {"type": "object"}),
153
+ )
154
+
155
+
156
+ def _call_tool_result(result: "types.CallToolResult") -> Optional[MCPCallToolResult]:
157
+ if result is None:
158
+ return None
159
+ return MCPCallToolResult(
160
+ content=[_content(item) for item in result.content],
161
+ structured_content=_field(result, "structured_content", "structuredContent", None),
162
+ is_error=bool(_field(result, "is_error", "isError", False)),
163
+ )
164
+
165
+
166
+ def _content(content: "types.ContentBlock") -> MCPContent:
167
+ if isinstance(content, types.TextContent):
168
+ return MCPContent(type="text", text=content.text)
169
+ if isinstance(content, types.ImageContent):
170
+ return MCPContent(
171
+ type="image",
172
+ mime_type=_field(content, "mime_type", "mimeType"),
173
+ data=content.data,
174
+ )
175
+ if isinstance(content, types.EmbeddedResource):
176
+ return MCPContent(type="resource", resource=_resource(content.resource))
177
+ return MCPContent(type=str(getattr(content, "type", type(content).__name__)))
178
+
179
+
180
+ def _resource(resource: Any) -> MCPResource:
181
+ return MCPResource(
182
+ uri=str(resource.uri),
183
+ mime_type=_field(resource, "mime_type", "mimeType", None),
184
+ text=getattr(resource, "text", None),
185
+ blob=getattr(resource, "blob", None),
186
+ )
187
+
188
+
189
+ def _is_cancelled(context: ToolContext) -> bool:
190
+ cancel_event = context.cancel_event
191
+ return cancel_event is not None and bool(getattr(cancel_event, "is_set", lambda: False)())
192
+
193
+
194
+ def _cancel_and_wait(future: "concurrent.futures.Future[Any]") -> None:
195
+ future.cancel()
196
+ with contextlib.suppress(concurrent.futures.CancelledError, concurrent.futures.TimeoutError):
197
+ future.result(timeout=1)
@@ -26,9 +26,9 @@ def _path(environment_id: str, suffix: str) -> str:
26
26
  return f"/environments/{quote(environment_id, safe='')}/work/{suffix.lstrip('/')}"
27
27
 
28
28
 
29
- def _query(*, block_ms: int = 0, reclaim_older_than_ms: int = 0) -> dict:
29
+ def _query(*, block_ms: Optional[int] = 0, reclaim_older_than_ms: int = 0) -> dict:
30
30
  query = {}
31
- if block_ms > 0:
31
+ if block_ms is not None and block_ms > 0:
32
32
  query["block_ms"] = block_ms
33
33
  if reclaim_older_than_ms > 0:
34
34
  query["reclaim_older_than_ms"] = reclaim_older_than_ms
@@ -48,7 +48,7 @@ class EnvironmentWork(SyncAPIResource):
48
48
  environment_id: str,
49
49
  *,
50
50
  worker_id: str = "",
51
- block_ms: int = 999,
51
+ block_ms: Optional[int] = 999,
52
52
  reclaim_older_than_ms: int = 0,
53
53
  extra_headers=None,
54
54
  extra_query=None,
@@ -144,7 +144,7 @@ class AsyncEnvironmentWork(AsyncAPIResource):
144
144
  environment_id: str,
145
145
  *,
146
146
  worker_id: str = "",
147
- block_ms: int = 999,
147
+ block_ms: Optional[int] = 999,
148
148
  reclaim_older_than_ms: int = 0,
149
149
  extra_headers=None,
150
150
  extra_query=None,