waldiez 0.5.6__tar.gz → 0.5.7__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.
- {waldiez-0.5.6 → waldiez-0.5.7}/.gitignore +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/PKG-INFO +59 -57
- {waldiez-0.5.6 → waldiez-0.5.7}/README.md +8 -6
- {waldiez-0.5.6 → waldiez-0.5.7}/pyproject.toml +61 -61
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/_version.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/cli.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporter.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/code_execution.py +8 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/exporter.py +2 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/captain_agent_extras.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/doc_agent_extras.py +2 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/group_manager_agent_extas.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/handoffs/after_work.py +4 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/handoffs/target.py +3 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag/chroma_extras.py +0 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag/mongo_extras.py +0 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag/pgvector_extras.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag/qdrant_extras.py +0 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag/vector_db_extras.py +3 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/factory.py +11 -11
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/processor.py +3 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/exporter.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/factory.py +5 -5
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/processor.py +22 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/utils/sequential.py +3 -68
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/utils/single.py +1 -38
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/context.py +39 -38
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/exporter.py +10 -10
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/exporters.py +36 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/base.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/chat_extras.py +4 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/path_resolver.py +6 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/serializer.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/protocols.py +6 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/result.py +8 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/types.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/utils/llm_config.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/factory.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/file_generator.py +8 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/merger.py +8 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/orchestrator.py +22 -8
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/utils/__init__.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/utils/common.py +16 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/utils/logging.py +5 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/models/factory.py +6 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/tools/exporter.py +5 -5
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/tools/factory.py +4 -5
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/tools/processor.py +3 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/tools/registration.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/_ws.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/audio.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/file.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/image.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/text.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/video.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/user_input.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/user_response.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/mqtt.py +6 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/redis.py +7 -9
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/structured.py +8 -6
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/utils.py +11 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/ws.py +4 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/logger.py +11 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/agent.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/agent_data.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/nested_chat.py +1 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/termination_message.py +0 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/update_system_message.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/doc_agent/doc_agent_data.py +33 -26
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/doc_agent/rag_query_engine.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/extra_requirements.py +5 -5
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/group_manager/group_manager.py +3 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/group_manager/speakers.py +0 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/rag_user_proxy/rag_user_proxy.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/rag_user_proxy/rag_user_proxy_data.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/rag_user_proxy/retrieve_config.py +1 -17
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/rag_user_proxy/vector_db_config.py +0 -5
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/chat/chat_data.py +0 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/chat/chat_summary.py +5 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/handoff.py +26 -18
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/naming.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/flow/flow.py +9 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/_llm.py +4 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/extra_requirements.py +3 -3
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/model.py +3 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/extra_requirements.py +2 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_google.py +3 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_perplexity.py +4 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_searxng.py +4 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_wikipedia.py +5 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/tool.py +7 -7
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/tool_data.py +39 -2
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/waldiez.py +29 -29
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/runner.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/base_runner.py +9 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/environment.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/patch_io_stream.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/post_run.py +3 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/pre_run.py +1 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/standard_runner.py +28 -4
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/timeline_processor.py +12 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/utils.py +2 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/utils/conflict_checker.py +1 -1
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/utils/version.py +1 -0
- waldiez-0.5.6/waldiez/exporting/agent/extras/group/target.py +0 -178
- {waldiez-0.5.6 → waldiez-0.5.7}/LICENSE +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/NOTICE.md +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/__main__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/cli_extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/cli_extras/jupyter.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/cli_extras/runner.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/cli_extras/studio.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/group_member_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/handoffs/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/handoffs/available.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/handoffs/condition.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/handoffs/handoff.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/rag_user_proxy_agent_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/extras/reasoning_agent_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/system_message.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/agent/termination.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/utils/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/utils/common.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/utils/group.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/chats/utils/nested.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/constants.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/content.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/enums.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/errors.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/agent_extras/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/agent_extras/captain_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/agent_extras/group_manager_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/agent_extras/rag_user_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/agent_extras/reasoning_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/agent_extras/standard_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/flow_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/model_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/extras/tool_extras.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/utils/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/utils/comment.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/core/validation.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/execution_generator.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/exporter.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/utils/importing.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/flow/utils/linting.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/models/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/models/exporter.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/models/processor.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/exporting/tools/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/base.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/constants.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/io/models/content/base.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/agent_type.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/code_execution.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/human_input_mode.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agent/linked_tool.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/agents.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/assistant/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/assistant/assistant.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/assistant/assistant_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/captain/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/captain/captain_agent.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/captain/captain_agent_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/captain/captain_agent_lib_entry.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/doc_agent/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/doc_agent/doc_agent.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/group_manager/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/group_manager/group_manager_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/rag_user_proxy/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/reasoning/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/reasoning/reasoning_agent.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/reasoning/reasoning_agent_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/reasoning/reasoning_agent_reason_config.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/user_proxy/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/user_proxy/user_proxy.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/agents/user_proxy/user_proxy_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/chat/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/chat/chat.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/chat/chat_message.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/chat/chat_nested.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/ag2_version.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/base.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/date_utils.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/dict_utils.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/id_generator.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/method_utils.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/common/waldiez_version.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/flow/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/flow/connection.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/flow/flow_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/flow/info.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/flow/naming.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/_aws.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/_price.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/model/model_data.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_config.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_duckduckgo.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_tavily.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/_youtube.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/protocol.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/predefined/registry.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/models/tool/tool_type.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/py.typed +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/__init__.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/gen_seq_diagram.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/protocol.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/running/run_results.py +0 -0
- {waldiez-0.5.6 → waldiez-0.5.7}/waldiez/utils/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
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.
|
|
30
|
+
Requires-Dist: ag2[openai]==0.9.7
|
|
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.
|
|
40
|
+
Requires-Dist: numpy<=2.3.2
|
|
41
41
|
Requires-Dist: pandas>=2
|
|
42
42
|
Requires-Dist: parso==0.8.4
|
|
43
43
|
Requires-Dist: pillow
|
|
@@ -47,45 +47,45 @@ Requires-Dist: pydantic<3,>=2.10.2
|
|
|
47
47
|
Requires-Dist: rpds-py==0.26.0
|
|
48
48
|
Requires-Dist: typer<1,>=0.9.0
|
|
49
49
|
Provides-Extra: ag2-extras
|
|
50
|
-
Requires-Dist: ag2[anthropic]==0.9.
|
|
51
|
-
Requires-Dist: ag2[autobuild]==0.9.
|
|
52
|
-
Requires-Dist: ag2[bedrock]==0.9.
|
|
53
|
-
Requires-Dist: ag2[blendsearch]==0.9.
|
|
54
|
-
Requires-Dist: ag2[cohere]==0.9.
|
|
55
|
-
Requires-Dist: ag2[commsagent-discord]==0.9.
|
|
56
|
-
Requires-Dist: ag2[commsagent-slack]==0.9.
|
|
57
|
-
Requires-Dist: ag2[commsagent-telegram]==0.9.
|
|
58
|
-
Requires-Dist: ag2[crawl4ai]==0.9.
|
|
59
|
-
Requires-Dist: ag2[duckduckgo]==0.9.
|
|
60
|
-
Requires-Dist: ag2[gemini-realtime]==0.9.
|
|
61
|
-
Requires-Dist: ag2[gemini-realtime]==0.9.
|
|
62
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
63
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
64
|
-
Requires-Dist: ag2[google-api]==0.9.
|
|
65
|
-
Requires-Dist: ag2[google-client]==0.9.
|
|
66
|
-
Requires-Dist: ag2[google-search]==0.9.
|
|
67
|
-
Requires-Dist: ag2[groq]==0.9.
|
|
68
|
-
Requires-Dist: ag2[interop-crewai]==0.9.
|
|
69
|
-
Requires-Dist: ag2[interop-langchain]==0.9.
|
|
70
|
-
Requires-Dist: ag2[lmm]==0.9.
|
|
71
|
-
Requires-Dist: ag2[mcp]==0.9.
|
|
72
|
-
Requires-Dist: ag2[mistral]==0.9.
|
|
73
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
74
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
75
|
-
Requires-Dist: ag2[ollama]==0.9.
|
|
76
|
-
Requires-Dist: ag2[openai-realtime]==0.9.
|
|
77
|
-
Requires-Dist: ag2[rag]==0.9.
|
|
78
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
79
|
-
Requires-Dist: ag2[tavily]==0.9.
|
|
80
|
-
Requires-Dist: ag2[together]==0.9.
|
|
81
|
-
Requires-Dist: ag2[together]==0.9.
|
|
82
|
-
Requires-Dist: ag2[twilio]==0.9.
|
|
83
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
84
|
-
Requires-Dist: ag2[websurfer]==0.9.
|
|
85
|
-
Requires-Dist: ag2[wikipedia]==0.9.
|
|
50
|
+
Requires-Dist: ag2[anthropic]==0.9.7; extra == 'ag2-extras'
|
|
51
|
+
Requires-Dist: ag2[autobuild]==0.9.7; extra == 'ag2-extras'
|
|
52
|
+
Requires-Dist: ag2[bedrock]==0.9.7; extra == 'ag2-extras'
|
|
53
|
+
Requires-Dist: ag2[blendsearch]==0.9.7; extra == 'ag2-extras'
|
|
54
|
+
Requires-Dist: ag2[cohere]==0.9.7; extra == 'ag2-extras'
|
|
55
|
+
Requires-Dist: ag2[commsagent-discord]==0.9.7; extra == 'ag2-extras'
|
|
56
|
+
Requires-Dist: ag2[commsagent-slack]==0.9.7; extra == 'ag2-extras'
|
|
57
|
+
Requires-Dist: ag2[commsagent-telegram]==0.9.7; extra == 'ag2-extras'
|
|
58
|
+
Requires-Dist: ag2[crawl4ai]==0.9.7; extra == 'ag2-extras'
|
|
59
|
+
Requires-Dist: ag2[duckduckgo]==0.9.7; extra == 'ag2-extras'
|
|
60
|
+
Requires-Dist: ag2[gemini-realtime]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
61
|
+
Requires-Dist: ag2[gemini-realtime]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
62
|
+
Requires-Dist: ag2[gemini]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
63
|
+
Requires-Dist: ag2[gemini]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
64
|
+
Requires-Dist: ag2[google-api]==0.9.7; extra == 'ag2-extras'
|
|
65
|
+
Requires-Dist: ag2[google-client]==0.9.7; extra == 'ag2-extras'
|
|
66
|
+
Requires-Dist: ag2[google-search]==0.9.7; extra == 'ag2-extras'
|
|
67
|
+
Requires-Dist: ag2[groq]==0.9.7; extra == 'ag2-extras'
|
|
68
|
+
Requires-Dist: ag2[interop-crewai]==0.9.7; extra == 'ag2-extras'
|
|
69
|
+
Requires-Dist: ag2[interop-langchain]==0.9.7; extra == 'ag2-extras'
|
|
70
|
+
Requires-Dist: ag2[lmm]==0.9.7; extra == 'ag2-extras'
|
|
71
|
+
Requires-Dist: ag2[mcp]==0.9.7; extra == 'ag2-extras'
|
|
72
|
+
Requires-Dist: ag2[mistral]==0.9.7; extra == 'ag2-extras'
|
|
73
|
+
Requires-Dist: ag2[neo4j]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
74
|
+
Requires-Dist: ag2[neo4j]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
75
|
+
Requires-Dist: ag2[ollama]==0.9.7; extra == 'ag2-extras'
|
|
76
|
+
Requires-Dist: ag2[openai-realtime]==0.9.7; extra == 'ag2-extras'
|
|
77
|
+
Requires-Dist: ag2[rag]==0.9.7; extra == 'ag2-extras'
|
|
78
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'ag2-extras'
|
|
79
|
+
Requires-Dist: ag2[tavily]==0.9.7; extra == 'ag2-extras'
|
|
80
|
+
Requires-Dist: ag2[together]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
81
|
+
Requires-Dist: ag2[together]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
82
|
+
Requires-Dist: ag2[twilio]==0.9.7; extra == 'ag2-extras'
|
|
83
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'ag2-extras'
|
|
84
|
+
Requires-Dist: ag2[websurfer]==0.9.7; extra == 'ag2-extras'
|
|
85
|
+
Requires-Dist: ag2[wikipedia]==0.9.7; extra == 'ag2-extras'
|
|
86
86
|
Requires-Dist: chromadb>=0.5.10; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
87
87
|
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'
|
|
88
|
-
Requires-Dist: couchbase>=4.
|
|
88
|
+
Requires-Dist: couchbase>=4.4.0; extra == 'ag2-extras'
|
|
89
89
|
Requires-Dist: fastembed>=0.3.1; extra == 'ag2-extras'
|
|
90
90
|
Requires-Dist: pgvector>=0.4.0; extra == 'ag2-extras'
|
|
91
91
|
Requires-Dist: psycopg>=3.2.6; (sys_platform == 'linux') and extra == 'ag2-extras'
|
|
@@ -99,8 +99,8 @@ Requires-Dist: pymongo>=4.11; extra == 'ag2-extras'
|
|
|
99
99
|
Requires-Dist: qdrant-client[fastembed]; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
100
100
|
Requires-Dist: qdrant-client[fastembed]; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
101
101
|
Provides-Extra: dev
|
|
102
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
103
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
102
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'dev'
|
|
103
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'dev'
|
|
104
104
|
Requires-Dist: autoflake==2.3.1; extra == 'dev'
|
|
105
105
|
Requires-Dist: bandit==1.8.6; extra == 'dev'
|
|
106
106
|
Requires-Dist: black[jupyter]==25.1.0; extra == 'dev'
|
|
@@ -125,7 +125,7 @@ Requires-Dist: pre-commit==4.2.0; extra == 'dev'
|
|
|
125
125
|
Requires-Dist: pydocstyle==6.3.0; extra == 'dev'
|
|
126
126
|
Requires-Dist: pylint==3.3.7; extra == 'dev'
|
|
127
127
|
Requires-Dist: python-dotenv>=1.1.1; extra == 'dev'
|
|
128
|
-
Requires-Dist: ruff==0.12.
|
|
128
|
+
Requires-Dist: ruff==0.12.5; extra == 'dev'
|
|
129
129
|
Requires-Dist: toml==0.10.2; (python_version <= '3.10') and extra == 'dev'
|
|
130
130
|
Requires-Dist: types-aiofiles==24.1.0.20250708; extra == 'dev'
|
|
131
131
|
Requires-Dist: types-jsonschema==4.25.0.20250720; extra == 'dev'
|
|
@@ -143,7 +143,7 @@ Requires-Dist: mkdocs-autorefs==1.4.2; extra == 'docs'
|
|
|
143
143
|
Requires-Dist: mkdocs-awesome-nav==3.1.2; extra == 'docs'
|
|
144
144
|
Requires-Dist: mkdocs-jupyter==0.25.1; extra == 'docs'
|
|
145
145
|
Requires-Dist: mkdocs-macros-plugin==1.3.7; extra == 'docs'
|
|
146
|
-
Requires-Dist: mkdocs-material==9.6.
|
|
146
|
+
Requires-Dist: mkdocs-material==9.6.16; extra == 'docs'
|
|
147
147
|
Requires-Dist: mkdocs-minify-html-plugin==0.3.1; extra == 'docs'
|
|
148
148
|
Requires-Dist: mkdocs-open-in-new-tab==1.0.8; extra == 'docs'
|
|
149
149
|
Requires-Dist: mkdocs==1.6.1; extra == 'docs'
|
|
@@ -154,18 +154,18 @@ Requires-Dist: natsort==8.4.0; extra == 'docs'
|
|
|
154
154
|
Provides-Extra: jupyter
|
|
155
155
|
Requires-Dist: jupyter-server==2.16.0; extra == 'jupyter'
|
|
156
156
|
Requires-Dist: jupyterlab<5.0,>=4.3.0; extra == 'jupyter'
|
|
157
|
-
Requires-Dist: waldiez-jupyter==0.5.
|
|
157
|
+
Requires-Dist: waldiez-jupyter==0.5.7; extra == 'jupyter'
|
|
158
158
|
Provides-Extra: mqtt
|
|
159
159
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'mqtt'
|
|
160
160
|
Provides-Extra: redis
|
|
161
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
161
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'redis'
|
|
162
162
|
Provides-Extra: runner
|
|
163
|
-
Requires-Dist: waldiez-runner==0.5.
|
|
163
|
+
Requires-Dist: waldiez-runner==0.5.7; (python_version >= '3.11') and extra == 'runner'
|
|
164
164
|
Provides-Extra: studio
|
|
165
|
-
Requires-Dist: waldiez-studio==0.5.
|
|
165
|
+
Requires-Dist: waldiez-studio==0.5.7; extra == 'studio'
|
|
166
166
|
Provides-Extra: test
|
|
167
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
168
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
167
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'test'
|
|
168
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'test'
|
|
169
169
|
Requires-Dist: fakeredis==2.30.1; extra == 'test'
|
|
170
170
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'test'
|
|
171
171
|
Requires-Dist: pytest-asyncio==1.1.0; extra == 'test'
|
|
@@ -177,7 +177,7 @@ Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
|
|
|
177
177
|
Requires-Dist: pytest-xdist==3.8.0; extra == 'test'
|
|
178
178
|
Requires-Dist: pytest==8.4.1; extra == 'test'
|
|
179
179
|
Provides-Extra: websockets
|
|
180
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
180
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'websockets'
|
|
181
181
|
Description-Content-Type: text/markdown
|
|
182
182
|
|
|
183
183
|
# Waldiez
|
|
@@ -216,7 +216,7 @@ python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
|
216
216
|
|
|
217
217
|
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
218
218
|
|
|
219
|
-
> Note: The React component is only for creating and editing flows — it is not
|
|
219
|
+
> Note: The React component is only for creating and editing flows — it is not used for converting or running flows (that functionality is handled by the Python package).
|
|
220
220
|
|
|
221
221
|
To add the waldiez library to your app:
|
|
222
222
|
|
|
@@ -319,14 +319,15 @@ $CONTAINER_COMMAND run --rm -it \
|
|
|
319
319
|
|
|
320
320
|
### As a library
|
|
321
321
|
|
|
322
|
-
####
|
|
322
|
+
#### Generate a script or a notebook from a flow
|
|
323
323
|
|
|
324
324
|
```python
|
|
325
325
|
# Export a Waldiez flow to a python script or a jupyter notebook
|
|
326
|
+
from pathlib import Path
|
|
326
327
|
from waldiez import WaldiezExporter
|
|
327
328
|
flow_path = "/path/to/a/flow.waldiez"
|
|
328
329
|
output_path = "/path/to/an/output.py" # or .ipynb
|
|
329
|
-
exporter = WaldiezExporter.load(flow_path)
|
|
330
|
+
exporter = WaldiezExporter.load(Path(flow_path))
|
|
330
331
|
exporter.export(output_path)
|
|
331
332
|
```
|
|
332
333
|
|
|
@@ -334,10 +335,11 @@ exporter.export(output_path)
|
|
|
334
335
|
|
|
335
336
|
```python
|
|
336
337
|
# Run a flow
|
|
338
|
+
from pathlib import Path
|
|
337
339
|
from waldiez import WaldiezRunner
|
|
338
340
|
flow_path = "/path/to/a/flow.waldiez"
|
|
339
341
|
output_path = "/path/to/an/output.py"
|
|
340
|
-
runner = WaldiezRunner.load(flow_path)
|
|
342
|
+
runner = WaldiezRunner.load(Path(flow_path))
|
|
341
343
|
runner.run(output_path=output_path)
|
|
342
344
|
```
|
|
343
345
|
|
|
@@ -375,6 +377,7 @@ runner.run(output_path=output_path)
|
|
|
375
377
|
|
|
376
378
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
377
379
|
|
|
380
|
+
<!--suppress ALL -->
|
|
378
381
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
379
382
|
<!-- prettier-ignore-start -->
|
|
380
383
|
<!-- markdownlint-disable -->
|
|
@@ -392,8 +395,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
392
395
|
<tr>
|
|
393
396
|
<td align="center" size="13px" colspan="7">
|
|
394
397
|
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
395
|
-
|
|
396
|
-
</img>
|
|
398
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
397
399
|
</td>
|
|
398
400
|
</tr>
|
|
399
401
|
</tfoot>
|
|
@@ -34,7 +34,7 @@ python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
|
34
34
|
|
|
35
35
|
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
36
36
|
|
|
37
|
-
> Note: The React component is only for creating and editing flows — it is not
|
|
37
|
+
> Note: The React component is only for creating and editing flows — it is not used for converting or running flows (that functionality is handled by the Python package).
|
|
38
38
|
|
|
39
39
|
To add the waldiez library to your app:
|
|
40
40
|
|
|
@@ -137,14 +137,15 @@ $CONTAINER_COMMAND run --rm -it \
|
|
|
137
137
|
|
|
138
138
|
### As a library
|
|
139
139
|
|
|
140
|
-
####
|
|
140
|
+
#### Generate a script or a notebook from a flow
|
|
141
141
|
|
|
142
142
|
```python
|
|
143
143
|
# Export a Waldiez flow to a python script or a jupyter notebook
|
|
144
|
+
from pathlib import Path
|
|
144
145
|
from waldiez import WaldiezExporter
|
|
145
146
|
flow_path = "/path/to/a/flow.waldiez"
|
|
146
147
|
output_path = "/path/to/an/output.py" # or .ipynb
|
|
147
|
-
exporter = WaldiezExporter.load(flow_path)
|
|
148
|
+
exporter = WaldiezExporter.load(Path(flow_path))
|
|
148
149
|
exporter.export(output_path)
|
|
149
150
|
```
|
|
150
151
|
|
|
@@ -152,10 +153,11 @@ exporter.export(output_path)
|
|
|
152
153
|
|
|
153
154
|
```python
|
|
154
155
|
# Run a flow
|
|
156
|
+
from pathlib import Path
|
|
155
157
|
from waldiez import WaldiezRunner
|
|
156
158
|
flow_path = "/path/to/a/flow.waldiez"
|
|
157
159
|
output_path = "/path/to/an/output.py"
|
|
158
|
-
runner = WaldiezRunner.load(flow_path)
|
|
160
|
+
runner = WaldiezRunner.load(Path(flow_path))
|
|
159
161
|
runner.run(output_path=output_path)
|
|
160
162
|
```
|
|
161
163
|
|
|
@@ -193,6 +195,7 @@ runner.run(output_path=output_path)
|
|
|
193
195
|
|
|
194
196
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
195
197
|
|
|
198
|
+
<!--suppress ALL -->
|
|
196
199
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
197
200
|
<!-- prettier-ignore-start -->
|
|
198
201
|
<!-- markdownlint-disable -->
|
|
@@ -210,8 +213,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
210
213
|
<tr>
|
|
211
214
|
<td align="center" size="13px" colspan="7">
|
|
212
215
|
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
213
|
-
|
|
214
|
-
</img>
|
|
216
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
215
217
|
</td>
|
|
216
218
|
</tr>
|
|
217
219
|
</tfoot>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
requires = [
|
|
5
5
|
"hatchling==1.27.0",
|
|
6
|
-
"hatch-nodejs-version==0.
|
|
6
|
+
"hatch-nodejs-version==0.4.0",
|
|
7
7
|
]
|
|
8
8
|
[project]
|
|
9
9
|
classifiers = [
|
|
@@ -27,12 +27,12 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
dependencies = [
|
|
30
|
-
"ag2[openai]==0.9.
|
|
30
|
+
"ag2[openai]==0.9.7",
|
|
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.
|
|
35
|
+
"numpy<=2.3.2",
|
|
36
36
|
"nest_asyncio==1.6.0",
|
|
37
37
|
"graphviz<=0.21",
|
|
38
38
|
"pandas>=2",
|
|
@@ -43,15 +43,15 @@ dependencies = [
|
|
|
43
43
|
"rpds-py==0.26.0",
|
|
44
44
|
"platformdirs==4.3.8",
|
|
45
45
|
"pydantic>=2.10.2,<3",
|
|
46
|
-
# ag2[together]==0.9.
|
|
46
|
+
# ag2[together]==0.9.7 depends on together>=1.2
|
|
47
47
|
# together>=1.2 depends on typer>=0.9,<0.16
|
|
48
48
|
"typer>=0.9.0,<1",
|
|
49
49
|
"click<8.2",
|
|
50
|
-
# ../site-packages/click/types.py
|
|
50
|
+
# ../site-packages/click/types.py, line 54, in init
|
|
51
51
|
# self.name = func.name
|
|
52
52
|
# ^^^^^^^^^^^^^
|
|
53
53
|
# AttributeError: 'tuple' object has no attribute 'name'
|
|
54
|
-
# ../site-packages/httpx/_main.py
|
|
54
|
+
# ../site-packages/httpx/_main.py, line 379, in <module>
|
|
55
55
|
# @click.option(
|
|
56
56
|
# ~~~~~~~~~~~~^
|
|
57
57
|
# "--auth",
|
|
@@ -72,72 +72,72 @@ waldiez = "waldiez.cli:app"
|
|
|
72
72
|
[project.optional-dependencies]
|
|
73
73
|
# stream-io-extensions: redis, websockets, mqtt
|
|
74
74
|
redis = [
|
|
75
|
-
"ag2[redis]==0.9.
|
|
75
|
+
"ag2[redis]==0.9.7",
|
|
76
76
|
]
|
|
77
77
|
websockets = [
|
|
78
|
-
"ag2[websockets]==0.9.
|
|
78
|
+
"ag2[websockets]==0.9.7",
|
|
79
79
|
]
|
|
80
80
|
mqtt = [
|
|
81
81
|
"paho-mqtt>=2.1.0,<3.0",
|
|
82
82
|
]
|
|
83
83
|
# jupyterlab extension
|
|
84
84
|
jupyter = [
|
|
85
|
-
"waldiez_jupyter==0.5.
|
|
85
|
+
"waldiez_jupyter==0.5.7",
|
|
86
86
|
"jupyterlab>=4.3.0,<5.0",
|
|
87
87
|
"jupyter_server==2.16.0",
|
|
88
88
|
]
|
|
89
89
|
runner = [
|
|
90
|
-
"waldiez_runner==0.5.
|
|
90
|
+
"waldiez_runner==0.5.7; python_version >= '3.11'",
|
|
91
91
|
]
|
|
92
92
|
studio = [
|
|
93
|
-
"waldiez_studio==0.5.
|
|
93
|
+
"waldiez_studio==0.5.7",
|
|
94
94
|
]
|
|
95
95
|
ag2_extras = [
|
|
96
|
-
"ag2[anthropic]==0.9.
|
|
97
|
-
"ag2[autobuild]==0.9.
|
|
98
|
-
"ag2[bedrock]==0.9.
|
|
99
|
-
"ag2[blendsearch]==0.9.
|
|
100
|
-
"ag2[cohere]==0.9.
|
|
101
|
-
"ag2[commsagent-discord]==0.9.
|
|
102
|
-
"ag2[commsagent-slack]==0.9.
|
|
103
|
-
"ag2[commsagent-telegram]==0.9.
|
|
104
|
-
"ag2[crawl4ai]==0.9.
|
|
105
|
-
"ag2[duckduckgo]==0.9.
|
|
106
|
-
"ag2[gemini-realtime]==0.9.
|
|
107
|
-
"ag2[gemini-realtime]==0.9.
|
|
108
|
-
"ag2[gemini]==0.9.
|
|
109
|
-
"ag2[gemini]==0.9.
|
|
110
|
-
"ag2[google-api]==0.9.
|
|
111
|
-
"ag2[google-client]==0.9.
|
|
112
|
-
"ag2[google-search]==0.9.
|
|
113
|
-
"ag2[groq]==0.9.
|
|
114
|
-
"ag2[interop-crewai]==0.9.
|
|
115
|
-
"ag2[interop-langchain]==0.9.
|
|
116
|
-
"ag2[lmm]==0.9.
|
|
117
|
-
# "ag2[mcp-proxy-gen]==0.9.
|
|
118
|
-
"ag2[mcp]==0.9.
|
|
119
|
-
"ag2[mistral]==0.9.
|
|
120
|
-
"ag2[neo4j]==0.9.
|
|
121
|
-
"ag2[neo4j]==0.9.
|
|
122
|
-
"ag2[ollama]==0.9.
|
|
123
|
-
"ag2[openai-realtime]==0.9.
|
|
124
|
-
"ag2[rag]==0.9.
|
|
125
|
-
"ag2[redis]==0.9.
|
|
126
|
-
"ag2[tavily]==0.9.
|
|
127
|
-
# "ag2[retrievechat-couchbase]==0.9.
|
|
128
|
-
# "ag2[retrievechat-mongodb]==0.9.
|
|
129
|
-
# "ag2[retrievechat-pgvector]==0.9.
|
|
130
|
-
# "ag2[retrievechat-qdrant]==0.9.
|
|
131
|
-
# "ag2[retrievechat]==0.9.
|
|
132
|
-
"ag2[together]==0.9.
|
|
133
|
-
"ag2[together]==0.9.
|
|
134
|
-
"ag2[twilio]==0.9.
|
|
135
|
-
"ag2[websockets]==0.9.
|
|
136
|
-
"ag2[websurfer]==0.9.
|
|
137
|
-
"ag2[wikipedia]==0.9.
|
|
96
|
+
"ag2[anthropic]==0.9.7",
|
|
97
|
+
"ag2[autobuild]==0.9.7",
|
|
98
|
+
"ag2[bedrock]==0.9.7",
|
|
99
|
+
"ag2[blendsearch]==0.9.7",
|
|
100
|
+
"ag2[cohere]==0.9.7",
|
|
101
|
+
"ag2[commsagent-discord]==0.9.7",
|
|
102
|
+
"ag2[commsagent-slack]==0.9.7",
|
|
103
|
+
"ag2[commsagent-telegram]==0.9.7",
|
|
104
|
+
"ag2[crawl4ai]==0.9.7",
|
|
105
|
+
"ag2[duckduckgo]==0.9.7",
|
|
106
|
+
"ag2[gemini-realtime]==0.9.7;sys_platform != 'win32'",
|
|
107
|
+
"ag2[gemini-realtime]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
108
|
+
"ag2[gemini]==0.9.7;sys_platform != 'win32'",
|
|
109
|
+
"ag2[gemini]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
110
|
+
"ag2[google-api]==0.9.7",
|
|
111
|
+
"ag2[google-client]==0.9.7",
|
|
112
|
+
"ag2[google-search]==0.9.7",
|
|
113
|
+
"ag2[groq]==0.9.7",
|
|
114
|
+
"ag2[interop-crewai]==0.9.7",
|
|
115
|
+
"ag2[interop-langchain]==0.9.7",
|
|
116
|
+
"ag2[lmm]==0.9.7",
|
|
117
|
+
# "ag2[mcp-proxy-gen]==0.9.7",
|
|
118
|
+
"ag2[mcp]==0.9.7",
|
|
119
|
+
"ag2[mistral]==0.9.7",
|
|
120
|
+
"ag2[neo4j]==0.9.7;sys_platform != 'win32'",
|
|
121
|
+
"ag2[neo4j]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
122
|
+
"ag2[ollama]==0.9.7",
|
|
123
|
+
"ag2[openai-realtime]==0.9.7",
|
|
124
|
+
"ag2[rag]==0.9.7",
|
|
125
|
+
"ag2[redis]==0.9.7",
|
|
126
|
+
"ag2[tavily]==0.9.7",
|
|
127
|
+
# "ag2[retrievechat-couchbase]==0.9.7",
|
|
128
|
+
# "ag2[retrievechat-mongodb]==0.9.7",
|
|
129
|
+
# "ag2[retrievechat-pgvector]==0.9.7",
|
|
130
|
+
# "ag2[retrievechat-qdrant]==0.9.7",
|
|
131
|
+
# "ag2[retrievechat]==0.9.7",
|
|
132
|
+
"ag2[together]==0.9.7;sys_platform != 'win32'",
|
|
133
|
+
"ag2[together]==0.9.7;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
134
|
+
"ag2[twilio]==0.9.7",
|
|
135
|
+
"ag2[websockets]==0.9.7",
|
|
136
|
+
"ag2[websurfer]==0.9.7",
|
|
137
|
+
"ag2[wikipedia]==0.9.7",
|
|
138
138
|
"chromadb>=0.5.10;sys_platform != 'win32'",
|
|
139
139
|
"chromadb>=0.5.10;sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
140
|
-
"couchbase>=4.
|
|
140
|
+
"couchbase>=4.4.0",
|
|
141
141
|
"fastembed>=0.3.1",
|
|
142
142
|
"pgvector>=0.4.0",
|
|
143
143
|
"psycopg>=3.2.6;sys_platform == 'linux'",
|
|
@@ -152,8 +152,8 @@ ag2_extras = [
|
|
|
152
152
|
"qdrant-client[fastembed];sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64'",
|
|
153
153
|
]
|
|
154
154
|
dev = [
|
|
155
|
-
"ag2[redis]==0.9.
|
|
156
|
-
"ag2[websockets]==0.9.
|
|
155
|
+
"ag2[redis]==0.9.7",
|
|
156
|
+
"ag2[websockets]==0.9.7",
|
|
157
157
|
"autoflake==2.3.1",
|
|
158
158
|
"bandit==1.8.6",
|
|
159
159
|
"black[jupyter]==25.1.0",
|
|
@@ -178,7 +178,7 @@ dev = [
|
|
|
178
178
|
"pydocstyle==6.3.0",
|
|
179
179
|
"pylint==3.3.7",
|
|
180
180
|
"python-dotenv>=1.1.1",
|
|
181
|
-
"ruff==0.12.
|
|
181
|
+
"ruff==0.12.5",
|
|
182
182
|
"types-aiofiles==24.1.0.20250708",
|
|
183
183
|
"types-pyyaml==6.0.12.20250516",
|
|
184
184
|
"types-jsonschema==4.25.0.20250720",
|
|
@@ -197,7 +197,7 @@ docs = [
|
|
|
197
197
|
"mkdocs-autorefs==1.4.2",
|
|
198
198
|
"mkdocs-jupyter==0.25.1",
|
|
199
199
|
"mkdocs-macros-plugin==1.3.7",
|
|
200
|
-
"mkdocs-material==9.6.
|
|
200
|
+
"mkdocs-material==9.6.16",
|
|
201
201
|
"mkdocs-minify-html-plugin==0.3.1",
|
|
202
202
|
"mkdocstrings[crystal,python]==0.30.0",
|
|
203
203
|
"mkdocstrings-crystal==0.3.7",
|
|
@@ -207,8 +207,8 @@ docs = [
|
|
|
207
207
|
"natsort==8.4.0",
|
|
208
208
|
]
|
|
209
209
|
test = [
|
|
210
|
-
"ag2[redis]==0.9.
|
|
211
|
-
"ag2[websockets]==0.9.
|
|
210
|
+
"ag2[redis]==0.9.7",
|
|
211
|
+
"ag2[websockets]==0.9.7",
|
|
212
212
|
"fakeredis==2.30.1",
|
|
213
213
|
"paho-mqtt>=2.1.0,<3.0",
|
|
214
214
|
"pytest==8.4.1",
|
|
@@ -499,7 +499,7 @@ exclude_dirs = [
|
|
|
499
499
|
# B104: bind to all interfaces (0.0.0.0)
|
|
500
500
|
# B110: allow pass on try/except
|
|
501
501
|
# B404: allow import subprocess
|
|
502
|
-
# B602, B603: allow shell=True (subprocess,popen)
|
|
502
|
+
# B602, B603: allow shell=True (subprocess, popen)
|
|
503
503
|
skips = ["B104", "B110", "B404", "B602", "B603"]
|
|
504
504
|
[tool.bandit.assert_used]
|
|
505
505
|
skips = ["*_test.py", "*/test_*.py"]
|
|
@@ -230,7 +230,7 @@ def _get_output_path(output: Optional[Path], force: bool) -> Optional[Path]:
|
|
|
230
230
|
if output is not None and not output.parent.exists():
|
|
231
231
|
output.parent.mkdir(parents=True)
|
|
232
232
|
if output is not None and output.exists():
|
|
233
|
-
if force
|
|
233
|
+
if not force:
|
|
234
234
|
LOG.error("Output file already exists.")
|
|
235
235
|
raise typer.Exit(code=1)
|
|
236
236
|
output.unlink()
|
|
@@ -97,7 +97,7 @@ class WaldiezExporter:
|
|
|
97
97
|
if path.is_dir():
|
|
98
98
|
raise IsADirectoryError(f"Output is a directory: {path}")
|
|
99
99
|
if path.exists():
|
|
100
|
-
if force
|
|
100
|
+
if not force:
|
|
101
101
|
raise FileExistsError(f"File already exists: {path}")
|
|
102
102
|
path.unlink(missing_ok=True)
|
|
103
103
|
path.parent.mkdir(parents=True, exist_ok=True)
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import json
|
|
7
7
|
|
|
8
|
+
from typing_extensions import Literal
|
|
9
|
+
|
|
8
10
|
from waldiez.models import WaldiezAgent, WaldiezAgentCodeExecutionConfig
|
|
9
11
|
|
|
10
12
|
from ..core import CodeExecutionConfig, ImportPosition, ImportStatement
|
|
@@ -57,6 +59,7 @@ class CodeExecutionProcessor:
|
|
|
57
59
|
),
|
|
58
60
|
)
|
|
59
61
|
|
|
62
|
+
# noinspection PyMethodMayBeStatic
|
|
60
63
|
def _get_executor_class_name(self, use_docker: bool) -> str:
|
|
61
64
|
"""Get the appropriate executor class name."""
|
|
62
65
|
return (
|
|
@@ -66,9 +69,13 @@ class CodeExecutionProcessor:
|
|
|
66
69
|
)
|
|
67
70
|
|
|
68
71
|
def _build_executor_content(
|
|
69
|
-
self,
|
|
72
|
+
self,
|
|
73
|
+
config: WaldiezAgentCodeExecutionConfig | Literal[False],
|
|
74
|
+
use_docker: bool,
|
|
70
75
|
) -> str:
|
|
71
76
|
"""Build the executor content string."""
|
|
77
|
+
if config is False:
|
|
78
|
+
return ""
|
|
72
79
|
executor_class = self._get_executor_class_name(use_docker)
|
|
73
80
|
lines = [f"{self.agent_name}_executor = {executor_class}("]
|
|
74
81
|
|
|
@@ -174,7 +174,7 @@ class AgentExporter(Exporter[StandardExtras]):
|
|
|
174
174
|
model_names=self.model_names,
|
|
175
175
|
initial_chats=self.initial_chats,
|
|
176
176
|
group_chat_members=self.group_chat_members,
|
|
177
|
-
serializer=
|
|
177
|
+
serializer=self.context.get_serializer().serialize,
|
|
178
178
|
)
|
|
179
179
|
|
|
180
180
|
group_manager_extras = group_manager_processor.process(
|
|
@@ -376,6 +376,7 @@ class AgentExporter(Exporter[StandardExtras]):
|
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
# pylint: disable=unused-argument
|
|
379
|
+
# noinspection PyUnusedLocal
|
|
379
380
|
def fallback_args_resolver(agent: WaldiezAgent) -> list[str]:
|
|
380
381
|
"""Fallback resolver for agent arguments.
|
|
381
382
|
|
|
@@ -292,7 +292,6 @@ class DocAgentProcessor:
|
|
|
292
292
|
if not isinstance(self.agent, WaldiezDocAgent): # pragma: no cover
|
|
293
293
|
raise TypeError("Agent must be a WaldiezDocAgent instance.")
|
|
294
294
|
query_engine = self.agent.get_query_engine()
|
|
295
|
-
db_path_str = ""
|
|
296
295
|
if query_engine.get_db_path():
|
|
297
296
|
db_path_str = query_engine.get_db_path()
|
|
298
297
|
else:
|
|
@@ -302,7 +301,7 @@ class DocAgentProcessor:
|
|
|
302
301
|
db_path_str = str(chroma_dir)
|
|
303
302
|
else:
|
|
304
303
|
db_path_str = query_engine.get_db_path()
|
|
305
|
-
if self.agent.data.reset_collection
|
|
304
|
+
if self.agent.data.reset_collection:
|
|
306
305
|
shutil.rmtree(db_path_str, ignore_errors=True)
|
|
307
306
|
Path(db_path_str).mkdir(parents=True, exist_ok=True)
|
|
308
307
|
return self.path_resolver.resolve(db_path_str)
|
|
@@ -333,7 +332,7 @@ class DocAgentProcessor:
|
|
|
333
332
|
parsed_docs_path = str(Path.cwd() / parsed_docs_path)
|
|
334
333
|
if not Path(parsed_docs_path).is_dir():
|
|
335
334
|
Path(parsed_docs_path).mkdir(parents=True, exist_ok=True)
|
|
336
|
-
if self.agent.data.reset_collection
|
|
335
|
+
if self.agent.data.reset_collection:
|
|
337
336
|
shutil.rmtree(parsed_docs_path, ignore_errors=True)
|
|
338
337
|
Path(parsed_docs_path).mkdir(parents=True, exist_ok=True)
|
|
339
338
|
return self.path_resolver.resolve(str(parsed_docs_path))
|
|
@@ -433,6 +433,7 @@ class GroupManagerProcessor:
|
|
|
433
433
|
|
|
434
434
|
return lines
|
|
435
435
|
|
|
436
|
+
# noinspection PyMethodMayBeStatic
|
|
436
437
|
def _should_check_for_after_work(self, pattern_class: str) -> bool:
|
|
437
438
|
"""Check if pattern should have after work configuration."""
|
|
438
439
|
return pattern_class not in ["ManualPattern", "AutoPattern"]
|
|
@@ -17,10 +17,10 @@ class AfterWorkResult:
|
|
|
17
17
|
|
|
18
18
|
Attributes
|
|
19
19
|
----------
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
content : str
|
|
21
|
+
The registration string for the after-work transition.
|
|
22
|
+
before_content : str
|
|
23
|
+
Any additional code that should be placed before the main content,
|
|
24
24
|
extra_imports : set[str]
|
|
25
25
|
Additional imports required for the after-work transition.
|
|
26
26
|
"""
|