waldiez 0.4.11__tar.gz → 0.5.1__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.

Potentially problematic release.


This version of waldiez might be problematic. Click here for more details.

Files changed (208) hide show
  1. {waldiez-0.4.11 → waldiez-0.5.1}/PKG-INFO +36 -110
  2. {waldiez-0.4.11 → waldiez-0.5.1}/README.md +0 -74
  3. {waldiez-0.4.11 → waldiez-0.5.1}/pyproject.toml +36 -36
  4. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/_version.py +1 -1
  5. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/cli.py +21 -52
  6. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/group_manager_agent_extas.py +1 -1
  7. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/utils/__init__.py +0 -2
  8. {waldiez-0.4.11 → waldiez-0.5.1}/.gitignore +0 -0
  9. {waldiez-0.4.11 → waldiez-0.5.1}/LICENSE +0 -0
  10. {waldiez-0.4.11 → waldiez-0.5.1}/NOTICE.md +0 -0
  11. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/__init__.py +0 -0
  12. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/__main__.py +0 -0
  13. {waldiez-0.4.11/waldiez/utils → waldiez-0.5.1/waldiez}/cli_extras/__init__.py +0 -0
  14. {waldiez-0.4.11/waldiez/utils → waldiez-0.5.1/waldiez}/cli_extras/jupyter.py +0 -0
  15. {waldiez-0.4.11/waldiez/utils → waldiez-0.5.1/waldiez}/cli_extras/runner.py +0 -0
  16. {waldiez-0.4.11/waldiez/utils → waldiez-0.5.1/waldiez}/cli_extras/studio.py +0 -0
  17. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporter.py +0 -0
  18. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/__init__.py +0 -0
  19. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/__init__.py +0 -0
  20. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/code_execution.py +0 -0
  21. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/exporter.py +0 -0
  22. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/__init__.py +0 -0
  23. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/captain_agent_extras.py +0 -0
  24. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/group/target.py +0 -0
  25. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/group_member_extras.py +0 -0
  26. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/handoffs/__init__.py +0 -0
  27. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/handoffs/after_work.py +0 -0
  28. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/handoffs/available.py +0 -0
  29. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/handoffs/condition.py +0 -0
  30. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/handoffs/handoff.py +0 -0
  31. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/handoffs/target.py +0 -0
  32. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag/__init__.py +0 -0
  33. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag/chroma_extras.py +0 -0
  34. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag/mongo_extras.py +0 -0
  35. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag/pgvector_extras.py +0 -0
  36. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag/qdrant_extras.py +0 -0
  37. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag/vector_db_extras.py +0 -0
  38. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/rag_user_proxy_agent_extras.py +0 -0
  39. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/extras/reasoning_agent_extras.py +0 -0
  40. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/factory.py +0 -0
  41. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/processor.py +0 -0
  42. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/system_message.py +0 -0
  43. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/agent/termination.py +0 -0
  44. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/__init__.py +0 -0
  45. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/exporter.py +0 -0
  46. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/factory.py +0 -0
  47. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/processor.py +0 -0
  48. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/utils/__init__.py +0 -0
  49. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/utils/common.py +0 -0
  50. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/utils/group.py +0 -0
  51. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/utils/nested.py +0 -0
  52. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/utils/sequential.py +0 -0
  53. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/chats/utils/single.py +0 -0
  54. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/__init__.py +0 -0
  55. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/constants.py +0 -0
  56. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/content.py +0 -0
  57. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/context.py +0 -0
  58. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/enums.py +0 -0
  59. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/errors.py +0 -0
  60. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/exporter.py +0 -0
  61. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/exporters.py +0 -0
  62. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/__init__.py +0 -0
  63. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/agent_extras/__init__.py +0 -0
  64. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/agent_extras/captain_extras.py +0 -0
  65. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/agent_extras/group_manager_extras.py +0 -0
  66. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/agent_extras/rag_user_extras.py +0 -0
  67. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/agent_extras/reasoning_extras.py +0 -0
  68. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/agent_extras/standard_extras.py +0 -0
  69. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/base.py +0 -0
  70. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/chat_extras.py +0 -0
  71. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/flow_extras.py +0 -0
  72. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/model_extras.py +0 -0
  73. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/path_resolver.py +0 -0
  74. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/serializer.py +0 -0
  75. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/extras/tool_extras.py +0 -0
  76. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/protocols.py +0 -0
  77. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/result.py +0 -0
  78. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/types.py +0 -0
  79. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/utils/__init__.py +0 -0
  80. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/utils/comment.py +0 -0
  81. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/utils/llm_config.py +0 -0
  82. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/core/validation.py +0 -0
  83. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/__init__.py +0 -0
  84. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/execution_generator.py +0 -0
  85. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/exporter.py +0 -0
  86. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/factory.py +0 -0
  87. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/file_generator.py +0 -0
  88. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/merger.py +0 -0
  89. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/orchestrator.py +0 -0
  90. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/utils/__init__.py +0 -0
  91. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/utils/common.py +0 -0
  92. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/utils/importing.py +0 -0
  93. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/utils/linting.py +0 -0
  94. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/flow/utils/logging.py +0 -0
  95. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/models/__init__.py +0 -0
  96. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/models/exporter.py +0 -0
  97. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/models/factory.py +0 -0
  98. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/models/processor.py +0 -0
  99. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/tools/__init__.py +0 -0
  100. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/tools/exporter.py +0 -0
  101. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/tools/factory.py +0 -0
  102. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/tools/processor.py +0 -0
  103. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/exporting/tools/registration.py +0 -0
  104. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/__init__.py +0 -0
  105. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/_ws.py +0 -0
  106. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/__init__.py +0 -0
  107. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/base.py +0 -0
  108. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/constants.py +0 -0
  109. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/__init__.py +0 -0
  110. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/audio.py +0 -0
  111. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/base.py +0 -0
  112. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/file.py +0 -0
  113. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/image.py +0 -0
  114. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/text.py +0 -0
  115. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/content/video.py +0 -0
  116. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/user_input.py +0 -0
  117. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/models/user_response.py +0 -0
  118. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/mqtt.py +0 -0
  119. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/redis.py +0 -0
  120. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/structured.py +0 -0
  121. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/utils.py +0 -0
  122. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/io/ws.py +0 -0
  123. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/logger.py +0 -0
  124. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/__init__.py +0 -0
  125. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/__init__.py +0 -0
  126. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/__init__.py +0 -0
  127. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/agent.py +0 -0
  128. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/agent_data.py +0 -0
  129. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/agent_type.py +0 -0
  130. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/code_execution.py +0 -0
  131. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/human_input_mode.py +0 -0
  132. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/linked_tool.py +0 -0
  133. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/nested_chat.py +0 -0
  134. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/termination_message.py +0 -0
  135. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agent/update_system_message.py +0 -0
  136. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/agents.py +0 -0
  137. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/assistant/__init__.py +0 -0
  138. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/assistant/assistant.py +0 -0
  139. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/assistant/assistant_data.py +0 -0
  140. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/captain/__init__.py +0 -0
  141. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/captain/captain_agent.py +0 -0
  142. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/captain/captain_agent_data.py +0 -0
  143. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/captain/captain_agent_lib_entry.py +0 -0
  144. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/extra_requirements.py +0 -0
  145. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/group_manager/__init__.py +0 -0
  146. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/group_manager/group_manager.py +0 -0
  147. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/group_manager/group_manager_data.py +0 -0
  148. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/group_manager/speakers.py +0 -0
  149. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/rag_user_proxy/__init__.py +0 -0
  150. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/rag_user_proxy/rag_user_proxy.py +0 -0
  151. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/rag_user_proxy/rag_user_proxy_data.py +0 -0
  152. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/rag_user_proxy/retrieve_config.py +0 -0
  153. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/rag_user_proxy/vector_db_config.py +0 -0
  154. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/reasoning/__init__.py +0 -0
  155. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/reasoning/reasoning_agent.py +0 -0
  156. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/reasoning/reasoning_agent_data.py +0 -0
  157. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/reasoning/reasoning_agent_reason_config.py +0 -0
  158. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/user_proxy/__init__.py +0 -0
  159. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/user_proxy/user_proxy.py +0 -0
  160. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/agents/user_proxy/user_proxy_data.py +0 -0
  161. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/chat/__init__.py +0 -0
  162. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/chat/chat.py +0 -0
  163. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/chat/chat_data.py +0 -0
  164. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/chat/chat_message.py +0 -0
  165. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/chat/chat_nested.py +0 -0
  166. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/chat/chat_summary.py +0 -0
  167. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/__init__.py +0 -0
  168. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/ag2_version.py +0 -0
  169. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/base.py +0 -0
  170. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/date_utils.py +0 -0
  171. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/dict_utils.py +0 -0
  172. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/handoff.py +0 -0
  173. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/id_generator.py +0 -0
  174. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/method_utils.py +0 -0
  175. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/naming.py +0 -0
  176. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/common/waldiez_version.py +0 -0
  177. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/flow/__init__.py +0 -0
  178. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/flow/connection.py +0 -0
  179. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/flow/flow.py +0 -0
  180. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/flow/flow_data.py +0 -0
  181. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/flow/info.py +0 -0
  182. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/flow/naming.py +0 -0
  183. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/model/__init__.py +0 -0
  184. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/model/extra_requirements.py +0 -0
  185. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/model/model.py +0 -0
  186. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/model/model_data.py +0 -0
  187. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/tool/__init__.py +0 -0
  188. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/tool/extra_requirements.py +0 -0
  189. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/tool/tool.py +0 -0
  190. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/tool/tool_data.py +0 -0
  191. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/tool/tool_type.py +0 -0
  192. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/models/waldiez.py +0 -0
  193. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/py.typed +0 -0
  194. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/runner.py +0 -0
  195. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/__init__.py +0 -0
  196. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/base_runner.py +0 -0
  197. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/environment.py +0 -0
  198. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/gen_seq_diagram.py +0 -0
  199. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/import_runner.py +0 -0
  200. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/patch_io_stream.py +0 -0
  201. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/post_run.py +0 -0
  202. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/pre_run.py +0 -0
  203. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/protocol.py +0 -0
  204. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/run_results.py +0 -0
  205. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/subprocess_runner.py +0 -0
  206. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/running/utils.py +0 -0
  207. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/utils/conflict_checker.py +0 -0
  208. {waldiez-0.4.11 → waldiez-0.5.1}/waldiez/utils/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: waldiez
3
- Version: 0.4.11
3
+ Version: 0.5.1
4
4
  Dynamic: Keywords
5
5
  Summary: Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez.
6
6
  Project-URL: Homepage, https://waldiez.io
@@ -27,7 +27,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
27
27
  Classifier: Topic :: Software Development :: Code Generators
28
28
  Classifier: Typing :: Typed
29
29
  Requires-Python: <3.14,>=3.10
30
- Requires-Dist: ag2[openai]==0.9.2
30
+ Requires-Dist: ag2[openai]==0.9.3
31
31
  Requires-Dist: aiocsv==1.3.2
32
32
  Requires-Dist: aiofiles==24.1.0
33
33
  Requires-Dist: aiosqlite==0.21.0
@@ -37,7 +37,7 @@ Requires-Dist: graphviz<=0.21
37
37
  Requires-Dist: httpx<1
38
38
  Requires-Dist: jupytext
39
39
  Requires-Dist: nest-asyncio==1.6.0
40
- Requires-Dist: numpy<=2.3.0
40
+ Requires-Dist: numpy<=2.3.1
41
41
  Requires-Dist: pandas>=2
42
42
  Requires-Dist: parso==0.8.4
43
43
  Requires-Dist: pillow
@@ -46,24 +46,24 @@ Requires-Dist: pydantic<3,>=2.10.2
46
46
  Requires-Dist: rpds-py==0.25.1
47
47
  Requires-Dist: typer<1,>=0.9.0
48
48
  Provides-Extra: ag2-extras
49
- Requires-Dist: ag2[anthropic]==0.9.2; extra == 'ag2-extras'
50
- Requires-Dist: ag2[bedrock]==0.9.2; extra == 'ag2-extras'
51
- Requires-Dist: ag2[cohere]==0.9.2; extra == 'ag2-extras'
52
- Requires-Dist: ag2[gemini]==0.9.2; (sys_platform != 'win32') and extra == 'ag2-extras'
53
- Requires-Dist: ag2[gemini]==0.9.2; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
54
- Requires-Dist: ag2[groq]==0.9.2; extra == 'ag2-extras'
55
- Requires-Dist: ag2[interop-crewai]==0.9.2; extra == 'ag2-extras'
56
- Requires-Dist: ag2[interop-langchain]==0.9.2; extra == 'ag2-extras'
57
- Requires-Dist: ag2[lmm]==0.9.2; extra == 'ag2-extras'
58
- Requires-Dist: ag2[mistral]==0.9.2; extra == 'ag2-extras'
59
- Requires-Dist: ag2[neo4j]==0.9.2; (sys_platform != 'win32') and extra == 'ag2-extras'
60
- Requires-Dist: ag2[neo4j]==0.9.2; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
61
- Requires-Dist: ag2[ollama]==0.9.2; extra == 'ag2-extras'
62
- Requires-Dist: ag2[redis]==0.9.2; extra == 'ag2-extras'
63
- Requires-Dist: ag2[together]==0.9.2; (sys_platform != 'win32') and extra == 'ag2-extras'
64
- Requires-Dist: ag2[together]==0.9.2; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
65
- Requires-Dist: ag2[websockets]==0.9.2; extra == 'ag2-extras'
66
- Requires-Dist: ag2[websurfer]==0.9.2; extra == 'ag2-extras'
49
+ Requires-Dist: ag2[anthropic]==0.9.3; extra == 'ag2-extras'
50
+ Requires-Dist: ag2[bedrock]==0.9.3; extra == 'ag2-extras'
51
+ Requires-Dist: ag2[cohere]==0.9.3; extra == 'ag2-extras'
52
+ Requires-Dist: ag2[gemini]==0.9.3; (sys_platform != 'win32') and extra == 'ag2-extras'
53
+ Requires-Dist: ag2[gemini]==0.9.3; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
54
+ Requires-Dist: ag2[groq]==0.9.3; extra == 'ag2-extras'
55
+ Requires-Dist: ag2[interop-crewai]==0.9.3; extra == 'ag2-extras'
56
+ Requires-Dist: ag2[interop-langchain]==0.9.3; extra == 'ag2-extras'
57
+ Requires-Dist: ag2[lmm]==0.9.3; extra == 'ag2-extras'
58
+ Requires-Dist: ag2[mistral]==0.9.3; extra == 'ag2-extras'
59
+ Requires-Dist: ag2[neo4j]==0.9.3; (sys_platform != 'win32') and extra == 'ag2-extras'
60
+ Requires-Dist: ag2[neo4j]==0.9.3; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
61
+ Requires-Dist: ag2[ollama]==0.9.3; extra == 'ag2-extras'
62
+ Requires-Dist: ag2[redis]==0.9.3; extra == 'ag2-extras'
63
+ Requires-Dist: ag2[together]==0.9.3; (sys_platform != 'win32') and extra == 'ag2-extras'
64
+ Requires-Dist: ag2[together]==0.9.3; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
65
+ Requires-Dist: ag2[websockets]==0.9.3; extra == 'ag2-extras'
66
+ Requires-Dist: ag2[websurfer]==0.9.3; extra == 'ag2-extras'
67
67
  Requires-Dist: beautifulsoup4; extra == 'ag2-extras'
68
68
  Requires-Dist: chromadb>=0.5.10; (sys_platform != 'win32') and extra == 'ag2-extras'
69
69
  Requires-Dist: chromadb>=0.5.10; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
@@ -103,15 +103,15 @@ Requires-Dist: sentence-transformers; (sys_platform == 'linux') and extra == 'ag
103
103
  Requires-Dist: weaviate-client<5,>=4; extra == 'ag2-extras'
104
104
  Requires-Dist: wikipedia-api<1.0,>=0.8.1; extra == 'ag2-extras'
105
105
  Provides-Extra: dev
106
- Requires-Dist: ag2[redis]==0.9.2; extra == 'dev'
107
- Requires-Dist: ag2[websockets]==0.9.2; extra == 'dev'
106
+ Requires-Dist: ag2[redis]==0.9.3; extra == 'dev'
107
+ Requires-Dist: ag2[websockets]==0.9.3; extra == 'dev'
108
108
  Requires-Dist: autoflake==2.3.1; extra == 'dev'
109
109
  Requires-Dist: bandit==1.8.5; extra == 'dev'
110
110
  Requires-Dist: black[jupyter]==25.1.0; extra == 'dev'
111
111
  Requires-Dist: build==1.2.2.post1; extra == 'dev'
112
- Requires-Dist: fakeredis<=3.30.0,>=2.28.1; extra == 'dev'
113
- Requires-Dist: fastjsonschema>=2.21; extra == 'dev'
114
- Requires-Dist: flake8==7.2.0; extra == 'dev'
112
+ Requires-Dist: fakeredis>=2.30; extra == 'dev'
113
+ Requires-Dist: fastjsonschema>=2.21.1; extra == 'dev'
114
+ Requires-Dist: flake8==7.3.0; extra == 'dev'
115
115
  Requires-Dist: hatchling==1.27.0; extra == 'dev'
116
116
  Requires-Dist: jsonschema==4.24.0; extra == 'dev'
117
117
  Requires-Dist: jupyter-server==2.16.0; extra == 'dev'
@@ -129,7 +129,7 @@ Requires-Dist: pre-commit==4.2.0; extra == 'dev'
129
129
  Requires-Dist: pydocstyle==6.3.0; extra == 'dev'
130
130
  Requires-Dist: pylint==3.3.7; extra == 'dev'
131
131
  Requires-Dist: python-dotenv==1.1.0; extra == 'dev'
132
- Requires-Dist: ruff==0.11.13; extra == 'dev'
132
+ Requires-Dist: ruff==0.12.0; extra == 'dev'
133
133
  Requires-Dist: toml==0.10.2; (python_version <= '3.10') and extra == 'dev'
134
134
  Requires-Dist: types-jsonschema==4.24.0.20250528; extra == 'dev'
135
135
  Requires-Dist: types-pyyaml==6.0.12.20250516; extra == 'dev'
@@ -157,29 +157,29 @@ Requires-Dist: natsort==8.4.0; extra == 'docs'
157
157
  Provides-Extra: jupyter
158
158
  Requires-Dist: jupyter-server==2.16.0; extra == 'jupyter'
159
159
  Requires-Dist: jupyterlab<5.0,>=4.3.0; extra == 'jupyter'
160
- Requires-Dist: waldiez-jupyter==0.4.11; extra == 'jupyter'
160
+ Requires-Dist: waldiez-jupyter==0.5.1; extra == 'jupyter'
161
161
  Provides-Extra: mqtt
162
162
  Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'mqtt'
163
163
  Provides-Extra: redis
164
- Requires-Dist: ag2[redis]==0.9.2; extra == 'redis'
164
+ Requires-Dist: ag2[redis]==0.9.3; extra == 'redis'
165
165
  Provides-Extra: runner
166
- Requires-Dist: waldiez-runner==0.4.11; (python_version >= '3.11') and extra == 'runner'
166
+ Requires-Dist: waldiez-runner==0.5.1; (python_version >= '3.11') and extra == 'runner'
167
167
  Provides-Extra: studio
168
- Requires-Dist: waldiez-studio==0.4.11; extra == 'studio'
168
+ Requires-Dist: waldiez-studio==0.5.1; extra == 'studio'
169
169
  Provides-Extra: test
170
- Requires-Dist: ag2[redis]==0.9.2; extra == 'test'
171
- Requires-Dist: ag2[websockets]==0.9.2; extra == 'test'
170
+ Requires-Dist: ag2[redis]==0.9.3; extra == 'test'
171
+ Requires-Dist: ag2[websockets]==0.9.3; extra == 'test'
172
172
  Requires-Dist: fakeredis<=3.30.0,>=2.28.1; extra == 'test'
173
173
  Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'test'
174
174
  Requires-Dist: pytest-asyncio==1.0.0; extra == 'test'
175
- Requires-Dist: pytest-cov==6.1.1; extra == 'test'
175
+ Requires-Dist: pytest-cov==6.2.1; extra == 'test'
176
176
  Requires-Dist: pytest-html==4.1.1; extra == 'test'
177
177
  Requires-Dist: pytest-sugar==1.0.0; extra == 'test'
178
178
  Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
179
179
  Requires-Dist: pytest-xdist==3.7.0; extra == 'test'
180
- Requires-Dist: pytest==8.4.0; extra == 'test'
180
+ Requires-Dist: pytest==8.4.1; extra == 'test'
181
181
  Provides-Extra: websockets
182
- Requires-Dist: ag2[websockets]==0.9.2; extra == 'websockets'
182
+ Requires-Dist: ag2[websockets]==0.9.3; extra == 'websockets'
183
183
  Description-Content-Type: text/markdown
184
184
 
185
185
  # Waldiez
@@ -220,80 +220,6 @@ If you’re looking for the React component, please refer to [README.npm](https:
220
220
 
221
221
  > Note: The React component is only for creating and editing flows — it is not needed to convert or run flows (that functionality is handled by the Python package).
222
222
 
223
- To include waldiez on your website using CDN, here is a simple example:
224
-
225
- ```html
226
- <!doctype html>
227
- <html lang="en">
228
- <head>
229
- <meta charset="UTF-8" />
230
- <script type="importmap">
231
- {
232
- "imports": {
233
- "react": "https://esm.sh/react@19.1.0",
234
- "react-dom/client": "https://esm.sh/react-dom@19.1.0/client",
235
- "@waldiez/react": "https://esm.sh/@waldiez/react"
236
- }
237
- }
238
- </script>
239
- <style>
240
- body {
241
- margin: 0;
242
- padding: 0;
243
- justify-content: center;
244
- background-color: white;
245
- color: black;
246
- }
247
- @media (prefers-color-scheme: dark) {
248
- body {
249
- background-color: black;
250
- color: white;
251
- }
252
- }
253
- #loading {
254
- width: 100vw;
255
- height: 100vh;
256
- padding: 0;
257
- margin: 0;
258
- display: flex;
259
- align-items: center;
260
- }
261
- #root {
262
- display: flex;
263
- flex-direction: column;
264
- width: 100vw;
265
- height: 100vh;
266
- }
267
- #waldiez-root {
268
- position: relative;
269
- width: 80vw;
270
- height: 80vh;
271
- margin: auto;
272
- }
273
- </style>
274
- <link rel="stylesheet" href="https://esm.sh/@waldiez/react/dist/@waldiez.css">
275
- </head>
276
- <body>
277
- <div id="root"></div>
278
- <div id="loading">
279
- Loading...
280
- </div>
281
- <script type="module" src="https://esm.sh/tsx"></script>
282
- <script type="text/babel">
283
- import { createRoot } from "react-dom/client"
284
- import { Waldiez } from "@waldiez/react";
285
- const root = document.getElementById("root");
286
- document.getElementById("loading").style.display = "none";
287
- createRoot(root).render(
288
- <div id="waldiez-root">
289
- <Waldiez />
290
- </div>
291
- )
292
- </script>
293
- </body>
294
- </html>
295
- ```
296
-
297
223
  To add the waldiez library to your app:
298
224
 
299
225
  ```shell
@@ -36,80 +36,6 @@ If you’re looking for the React component, please refer to [README.npm](https:
36
36
 
37
37
  > Note: The React component is only for creating and editing flows — it is not needed to convert or run flows (that functionality is handled by the Python package).
38
38
 
39
- To include waldiez on your website using CDN, here is a simple example:
40
-
41
- ```html
42
- <!doctype html>
43
- <html lang="en">
44
- <head>
45
- <meta charset="UTF-8" />
46
- <script type="importmap">
47
- {
48
- "imports": {
49
- "react": "https://esm.sh/react@19.1.0",
50
- "react-dom/client": "https://esm.sh/react-dom@19.1.0/client",
51
- "@waldiez/react": "https://esm.sh/@waldiez/react"
52
- }
53
- }
54
- </script>
55
- <style>
56
- body {
57
- margin: 0;
58
- padding: 0;
59
- justify-content: center;
60
- background-color: white;
61
- color: black;
62
- }
63
- @media (prefers-color-scheme: dark) {
64
- body {
65
- background-color: black;
66
- color: white;
67
- }
68
- }
69
- #loading {
70
- width: 100vw;
71
- height: 100vh;
72
- padding: 0;
73
- margin: 0;
74
- display: flex;
75
- align-items: center;
76
- }
77
- #root {
78
- display: flex;
79
- flex-direction: column;
80
- width: 100vw;
81
- height: 100vh;
82
- }
83
- #waldiez-root {
84
- position: relative;
85
- width: 80vw;
86
- height: 80vh;
87
- margin: auto;
88
- }
89
- </style>
90
- <link rel="stylesheet" href="https://esm.sh/@waldiez/react/dist/@waldiez.css">
91
- </head>
92
- <body>
93
- <div id="root"></div>
94
- <div id="loading">
95
- Loading...
96
- </div>
97
- <script type="module" src="https://esm.sh/tsx"></script>
98
- <script type="text/babel">
99
- import { createRoot } from "react-dom/client"
100
- import { Waldiez } from "@waldiez/react";
101
- const root = document.getElementById("root");
102
- document.getElementById("loading").style.display = "none";
103
- createRoot(root).render(
104
- <div id="waldiez-root">
105
- <Waldiez />
106
- </div>
107
- )
108
- </script>
109
- </body>
110
- </html>
111
- ```
112
-
113
39
  To add the waldiez library to your app:
114
40
 
115
41
  ```shell
@@ -27,12 +27,12 @@ classifiers = [
27
27
  ]
28
28
 
29
29
  dependencies = [
30
- "ag2[openai]==0.9.2",
30
+ "ag2[openai]==0.9.3",
31
31
  "aiocsv==1.3.2",
32
32
  "aiofiles==24.1.0",
33
33
  "aiosqlite==0.21.0",
34
34
  "asyncer==0.0.8",
35
- "numpy<=2.3.0",
35
+ "numpy<=2.3.1",
36
36
  "nest_asyncio==1.6.0",
37
37
  "graphviz<=0.21",
38
38
  "pandas>=2",
@@ -42,7 +42,7 @@ dependencies = [
42
42
  "parso==0.8.4",
43
43
  "rpds-py==0.25.1",
44
44
  "pydantic>=2.10.2,<3",
45
- # ag2[together]==0.9.2 depends on together>=1.2
45
+ # ag2[together]==0.9.3 depends on together>=1.2
46
46
  # together>=1.2 depends on typer>=0.9,<0.16
47
47
  "typer>=0.9.0,<1",
48
48
  "click<8.2",
@@ -71,57 +71,57 @@ waldiez = "waldiez.cli:app"
71
71
  [project.optional-dependencies]
72
72
  # stream-io-extensions: redis, websockets, mqtt
73
73
  redis = [
74
- "ag2[redis]==0.9.2",
74
+ "ag2[redis]==0.9.3",
75
75
  ]
76
76
  websockets = [
77
- "ag2[websockets]==0.9.2",
77
+ "ag2[websockets]==0.9.3",
78
78
  ]
79
79
  mqtt = [
80
80
  "paho-mqtt>=2.1.0,<3.0",
81
81
  ]
82
82
  # jupyterlab extension
83
83
  jupyter = [
84
- "waldiez_jupyter==0.4.11",
84
+ "waldiez_jupyter==0.5.1",
85
85
  "jupyterlab>=4.3.0,<5.0",
86
86
  "jupyter_server==2.16.0",
87
87
  ]
88
88
  runner = [
89
- "waldiez_runner==0.4.11; python_version >= '3.11'",
89
+ "waldiez_runner==0.5.1; python_version >= '3.11'",
90
90
  ]
91
91
  studio = [
92
- "waldiez_studio==0.4.11",
92
+ "waldiez_studio==0.5.1",
93
93
  ]
94
94
  ag2_extras = [
95
95
  # models
96
- "ag2[anthropic]==0.9.2",
97
- "ag2[bedrock]==0.9.2",
98
- "ag2[cohere]==0.9.2",
99
- "ag2[gemini]==0.9.2;sys_platform != 'win32'",
100
- "ag2[gemini]==0.9.2;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
101
- "ag2[groq]==0.9.2",
102
- "ag2[lmm]==0.9.2",
103
- "ag2[mistral]==0.9.2",
96
+ "ag2[anthropic]==0.9.3",
97
+ "ag2[bedrock]==0.9.3",
98
+ "ag2[cohere]==0.9.3",
99
+ "ag2[gemini]==0.9.3;sys_platform != 'win32'",
100
+ "ag2[gemini]==0.9.3;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
101
+ "ag2[groq]==0.9.3",
102
+ "ag2[lmm]==0.9.3",
103
+ "ag2[mistral]==0.9.3",
104
104
  "mistralai>=1.8.1",
105
- "ag2[ollama]==0.9.2",
106
- "ag2[together]==0.9.2;sys_platform != 'win32'",
107
- "ag2[together]==0.9.2;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'", # utils
105
+ "ag2[ollama]==0.9.3",
106
+ "ag2[together]==0.9.3;sys_platform != 'win32'",
107
+ "ag2[together]==0.9.3;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'", # utils
108
108
  # utils
109
- "ag2[websockets]==0.9.2",
110
- "ag2[redis]==0.9.2",
109
+ "ag2[websockets]==0.9.3",
110
+ "ag2[redis]==0.9.3",
111
111
  "crewai>=0.76,<1",
112
112
  "opentelemetry-api>=1.34.0",
113
113
  "opentelemetry-sdk>=1.34.0",
114
114
  # "crewai-tools>=0.47.0;python_version >= '3.13'",
115
115
  "crewai-tools<=0.46.0;python_version<'3.13'",
116
- "ag2[interop-crewai]==0.9.2",
116
+ "ag2[interop-crewai]==0.9.3",
117
117
  # "crewai>=0.126.0;python_version >= '3.13'",
118
118
  # "crewai-tools>=0.47.0;python_version >= '3.13'",
119
119
  "litellm",
120
120
  "weaviate-client>=4,<5",
121
- "ag2[interop-langchain]==0.9.2",
122
- "ag2[neo4j]==0.9.2;sys_platform != 'win32'",
123
- "ag2[neo4j]==0.9.2;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
124
- "ag2[websurfer]==0.9.2",
121
+ "ag2[interop-langchain]==0.9.3",
122
+ "ag2[neo4j]==0.9.3;sys_platform != 'win32'",
123
+ "ag2[neo4j]==0.9.3;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
124
+ "ag2[websurfer]==0.9.3",
125
125
  "chromadb>=0.5.10;sys_platform != 'win32'",
126
126
  "chromadb>=0.5.10;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
127
127
  "pgvector>=0.4.0",
@@ -157,18 +157,18 @@ ag2_extras = [
157
157
  "mcp>=1.4.0,<2",
158
158
  ]
159
159
  dev = [
160
- "ag2[redis]==0.9.2",
161
- "ag2[websockets]==0.9.2",
160
+ "ag2[redis]==0.9.3",
161
+ "ag2[websockets]==0.9.3",
162
162
  "autoflake==2.3.1",
163
163
  "bandit==1.8.5",
164
164
  "black[jupyter]==25.1.0",
165
165
  "build==1.2.2.post1",
166
- "fakeredis>=2.28.1,<=3.30.0",
167
- "flake8==7.2.0",
166
+ "fakeredis>=2.30",
167
+ "flake8==7.3.0",
168
168
  "jsonschema==4.24.0",
169
169
  "jupyterlab>=4.4.0,<5.0",
170
170
  "notebook-shim>=0.2.4",
171
- "fastjsonschema>=2.21",
171
+ "fastjsonschema>=2.21.1",
172
172
  "jupyter_server==2.16.0",
173
173
  "nbclient>=0.10.2",
174
174
  "nbformat>=5.10.4",
@@ -183,7 +183,7 @@ dev = [
183
183
  "pydocstyle==6.3.0",
184
184
  "pylint==3.3.7",
185
185
  "python-dotenv==1.1.0",
186
- "ruff==0.11.13",
186
+ "ruff==0.12.0",
187
187
  "types-pyyaml==6.0.12.20250516",
188
188
  "types-jsonschema==4.24.0.20250528",
189
189
  "types-redis==4.6.0.20241004",
@@ -211,13 +211,13 @@ docs = [
211
211
  "natsort==8.4.0",
212
212
  ]
213
213
  test = [
214
- "ag2[redis]==0.9.2",
215
- "ag2[websockets]==0.9.2",
214
+ "ag2[redis]==0.9.3",
215
+ "ag2[websockets]==0.9.3",
216
216
  "fakeredis>=2.28.1,<=3.30.0",
217
217
  "paho-mqtt>=2.1.0,<3.0",
218
- "pytest==8.4.0",
218
+ "pytest==8.4.1",
219
219
  "pytest-asyncio==1.0.0",
220
- "pytest-cov==6.1.1",
220
+ "pytest-cov==6.2.1",
221
221
  "pytest-html==4.1.1",
222
222
  "pytest-sugar==1.0.0",
223
223
  "pytest-timeout==2.4.0",
@@ -5,4 +5,4 @@
5
5
  This file is automatically generated by Hatchling.
6
6
  Do not edit this file directly.
7
7
  """
8
- __version__ = VERSION = "0.4.11"
8
+ __version__ = VERSION = "0.5.1"
@@ -1,8 +1,8 @@
1
1
  # SPDX-License-Identifier: Apache-2.0.
2
2
  # Copyright (c) 2024 - 2025 Waldiez and contributors.
3
3
  # flake8: noqa: E501
4
- # pylint: disable=missing-function-docstring,missing-param-doc,missing-raises-doc
5
- # pylint: disable=line-too-long
4
+ # pylint: disable=missing-function-docstring, missing-param-doc, missing-raises-doc
5
+ # pylint: disable=line-too-long, import-outside-toplevel
6
6
  """Command line interface to convert or run a waldiez file."""
7
7
 
8
8
  import json
@@ -15,11 +15,10 @@ import typer
15
15
  from dotenv import load_dotenv
16
16
  from typing_extensions import Annotated
17
17
 
18
- from .exporter import WaldiezExporter
18
+ from .cli_extras import add_cli_extras
19
19
  from .logger import get_logger
20
20
  from .models import Waldiez
21
- from .runner import WaldiezRunner
22
- from .utils import add_cli_extras, get_waldiez_version
21
+ from .utils import get_waldiez_version
23
22
 
24
23
  load_dotenv()
25
24
  LOG = get_logger()
@@ -119,6 +118,8 @@ def run(
119
118
  os.environ["AUTOGEN_USE_DOCKER"] = "0"
120
119
  os.environ["NEP50_DISABLE_WARNING"] = "1"
121
120
  output_path = _get_output_path(output, force)
121
+ from waldiez.runner import WaldiezRunner
122
+
122
123
  try:
123
124
  runner = WaldiezRunner.load(file)
124
125
  except FileNotFoundError as error:
@@ -181,6 +182,13 @@ def convert(
181
182
  False,
182
183
  help="Override the output file if it already exists.",
183
184
  ),
185
+ patch_io: bool = typer.Option( # noqa: B008
186
+ False,
187
+ help=(
188
+ "If set, the exported script will inlclude a snippet to patch ag2's IOStream "
189
+ "to safe print and input methods. "
190
+ ),
191
+ ),
184
192
  debug: bool = typer.Option(
185
193
  False,
186
194
  "--debug",
@@ -199,12 +207,19 @@ def convert(
199
207
  typer.echo("Invalid .waldiez file. Not a valid json?")
200
208
  raise typer.Exit(code=1) from error
201
209
  waldiez = Waldiez.from_dict(data)
210
+ from waldiez.exporter import WaldiezExporter
211
+
202
212
  exporter = WaldiezExporter(waldiez)
203
213
  if debug:
204
214
  LOG.set_level("DEBUG")
205
215
  if output is None:
206
216
  output = Path(file).with_suffix(".py").resolve()
207
- exporter.export(output, force=force, debug=debug)
217
+ exporter.export(
218
+ output,
219
+ force=force,
220
+ skip_patch_io=not patch_io,
221
+ debug=debug,
222
+ )
208
223
  generated = str(output).replace(os.getcwd(), ".")
209
224
  typer.echo(f"Generated: {generated}")
210
225
 
@@ -231,52 +246,6 @@ def check(
231
246
  LOG.success("Waldiez flow seems valid.")
232
247
 
233
248
 
234
- # def _do_run(
235
- # data: dict[str, Any],
236
- # structured: bool,
237
- # uploads_root: Optional[Path],
238
- # output_path: Optional[Path],
239
- # ) -> None:
240
- # """Run the Waldiez flow and get the results."""
241
- # waldiez = Waldiez.from_dict(data)
242
- # if structured:
243
- # stream = StructuredIOStream(uploads_root=uploads_root)
244
- # with StructuredIOStream.set_default(stream):
245
- # runner = WaldiezRunner(waldiez)
246
- # if waldiez.is_async:
247
- # anyio.run(
248
- # runner.a_run,
249
- # output_path,
250
- # uploads_root,
251
- # True, # structured_io
252
- # False, # skip_mmd
253
- # )
254
- # else:
255
- # runner.run(
256
- # output_path=output_path,
257
- # uploads_root=uploads_root,
258
- # structured_io=True,
259
- # skip_mmd=False,
260
- # )
261
- # else:
262
- # runner = WaldiezRunner(waldiez)
263
- # if waldiez.is_async:
264
- # anyio.run(
265
- # runner.a_run,
266
- # output_path,
267
- # uploads_root,
268
- # False, # structured_io
269
- # False, # skip_mmd
270
- # )
271
- # else:
272
- # runner.run(
273
- # output_path=output_path,
274
- # uploads_root=uploads_root,
275
- # structured_io=False,
276
- # skip_mmd=False,
277
- # )
278
-
279
-
280
249
  def _get_output_path(output: Optional[Path], force: bool) -> Optional[Path]:
281
250
  if output is not None:
282
251
  output = Path(output).resolve()
@@ -415,7 +415,7 @@ class GroupManagerProcessor:
415
415
  transitions_dict[agent_name] = transition_names
416
416
 
417
417
  # Serialize transitions
418
- transitions_str = self.serializer(transitions_dict, 1)
418
+ transitions_str = self.serializer(transitions_dict, tabs=1)
419
419
  transitions_str = transitions_str.replace('"', "").replace("'", "")
420
420
 
421
421
  lines.extend(
@@ -2,12 +2,10 @@
2
2
  # Copyright (c) 2024 - 2025 Waldiez and contributors.
3
3
  """Utils to call on init."""
4
4
 
5
- from .cli_extras import add_cli_extras
6
5
  from .conflict_checker import check_conflicts
7
6
  from .version import get_waldiez_version
8
7
 
9
8
  __all__ = [
10
9
  "check_conflicts",
11
- "add_cli_extras",
12
10
  "get_waldiez_version",
13
11
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes