waldiez 0.5.2__py3-none-any.whl → 0.5.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldiez might be problematic. Click here for more details.
- waldiez/_version.py +1 -1
- waldiez/cli.py +2 -0
- waldiez/models/chat/chat_message.py +1 -1
- waldiez/runner.py +35 -2
- waldiez/running/base_runner.py +38 -8
- waldiez/running/environment.py +32 -13
- waldiez/running/import_runner.py +13 -0
- waldiez/running/post_run.py +71 -14
- waldiez/running/pre_run.py +42 -0
- waldiez/running/protocol.py +6 -0
- waldiez/running/subprocess_runner.py +4 -0
- waldiez/running/timeline_processor.py +1248 -0
- waldiez/utils/version.py +12 -1
- {waldiez-0.5.2.dist-info → waldiez-0.5.3.dist-info}/METADATA +33 -32
- {waldiez-0.5.2.dist-info → waldiez-0.5.3.dist-info}/RECORD +19 -18
- {waldiez-0.5.2.dist-info → waldiez-0.5.3.dist-info}/WHEEL +0 -0
- {waldiez-0.5.2.dist-info → waldiez-0.5.3.dist-info}/entry_points.txt +0 -0
- {waldiez-0.5.2.dist-info → waldiez-0.5.3.dist-info}/licenses/LICENSE +0 -0
- {waldiez-0.5.2.dist-info → waldiez-0.5.3.dist-info}/licenses/NOTICE.md +0 -0
waldiez/utils/version.py
CHANGED
|
@@ -4,9 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
import json
|
|
6
6
|
from functools import cache
|
|
7
|
+
from importlib.metadata import version
|
|
7
8
|
from pathlib import Path
|
|
8
9
|
|
|
9
10
|
|
|
11
|
+
def _get_waldiez_version_from_importlib() -> str | None:
|
|
12
|
+
"""Get the Waldiez version from the version package."""
|
|
13
|
+
try:
|
|
14
|
+
return version("waldiez")
|
|
15
|
+
except Exception: # pylint: disable=broad-exception-caught
|
|
16
|
+
return None
|
|
17
|
+
|
|
18
|
+
|
|
10
19
|
def _get_waldiez_version_from_package_json() -> str | None:
|
|
11
20
|
"""Get the Waldiez version from package.json."""
|
|
12
21
|
package_json_path = Path(__file__).parent.parent.parent / "package.json"
|
|
@@ -37,7 +46,9 @@ def get_waldiez_version() -> str:
|
|
|
37
46
|
str
|
|
38
47
|
The Waldiez version, or "dev" if not found.
|
|
39
48
|
"""
|
|
40
|
-
w_version =
|
|
49
|
+
w_version = _get_waldiez_version_from_importlib()
|
|
50
|
+
if not w_version:
|
|
51
|
+
w_version = _get_waldiez_version_from_version_py()
|
|
41
52
|
if not w_version:
|
|
42
53
|
w_version = _get_waldiez_version_from_package_json()
|
|
43
54
|
if not w_version:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
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.5
|
|
31
31
|
Requires-Dist: aiocsv==1.3.2
|
|
32
32
|
Requires-Dist: aiofiles==24.1.0
|
|
33
33
|
Requires-Dist: aiosqlite==0.21.0
|
|
@@ -46,24 +46,24 @@ Requires-Dist: pydantic<3,>=2.10.2
|
|
|
46
46
|
Requires-Dist: rpds-py==0.26.0
|
|
47
47
|
Requires-Dist: typer<1,>=0.9.0
|
|
48
48
|
Provides-Extra: ag2-extras
|
|
49
|
-
Requires-Dist: ag2[anthropic]==0.9.
|
|
50
|
-
Requires-Dist: ag2[bedrock]==0.9.
|
|
51
|
-
Requires-Dist: ag2[cohere]==0.9.
|
|
52
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
53
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
54
|
-
Requires-Dist: ag2[groq]==0.9.
|
|
55
|
-
Requires-Dist: ag2[interop-crewai]==0.9.
|
|
56
|
-
Requires-Dist: ag2[interop-langchain]==0.9.
|
|
57
|
-
Requires-Dist: ag2[lmm]==0.9.
|
|
58
|
-
Requires-Dist: ag2[mistral]==0.9.
|
|
59
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
60
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
61
|
-
Requires-Dist: ag2[ollama]==0.9.
|
|
62
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
63
|
-
Requires-Dist: ag2[together]==0.9.
|
|
64
|
-
Requires-Dist: ag2[together]==0.9.
|
|
65
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
66
|
-
Requires-Dist: ag2[websurfer]==0.9.
|
|
49
|
+
Requires-Dist: ag2[anthropic]==0.9.5; extra == 'ag2-extras'
|
|
50
|
+
Requires-Dist: ag2[bedrock]==0.9.5; extra == 'ag2-extras'
|
|
51
|
+
Requires-Dist: ag2[cohere]==0.9.5; extra == 'ag2-extras'
|
|
52
|
+
Requires-Dist: ag2[gemini]==0.9.5; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
53
|
+
Requires-Dist: ag2[gemini]==0.9.5; (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.5; extra == 'ag2-extras'
|
|
55
|
+
Requires-Dist: ag2[interop-crewai]==0.9.5; extra == 'ag2-extras'
|
|
56
|
+
Requires-Dist: ag2[interop-langchain]==0.9.5; extra == 'ag2-extras'
|
|
57
|
+
Requires-Dist: ag2[lmm]==0.9.5; extra == 'ag2-extras'
|
|
58
|
+
Requires-Dist: ag2[mistral]==0.9.5; extra == 'ag2-extras'
|
|
59
|
+
Requires-Dist: ag2[neo4j]==0.9.5; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
60
|
+
Requires-Dist: ag2[neo4j]==0.9.5; (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.5; extra == 'ag2-extras'
|
|
62
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'ag2-extras'
|
|
63
|
+
Requires-Dist: ag2[together]==0.9.5; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
64
|
+
Requires-Dist: ag2[together]==0.9.5; (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.5; extra == 'ag2-extras'
|
|
66
|
+
Requires-Dist: ag2[websurfer]==0.9.5; 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,10 +103,10 @@ 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.
|
|
107
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
106
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'dev'
|
|
107
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'dev'
|
|
108
108
|
Requires-Dist: autoflake==2.3.1; extra == 'dev'
|
|
109
|
-
Requires-Dist: bandit==1.8.
|
|
109
|
+
Requires-Dist: bandit==1.8.6; 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
112
|
Requires-Dist: fakeredis==2.30.1; extra == 'dev'
|
|
@@ -124,12 +124,12 @@ Requires-Dist: nbformat>=5.10.4; extra == 'dev'
|
|
|
124
124
|
Requires-Dist: nodeenv>=1.9.1; extra == 'dev'
|
|
125
125
|
Requires-Dist: notebook-shim>=0.2.4; extra == 'dev'
|
|
126
126
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'dev'
|
|
127
|
-
Requires-Dist: pandas-stubs==2.
|
|
127
|
+
Requires-Dist: pandas-stubs==2.3.0.250703; extra == 'dev'
|
|
128
128
|
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.12.
|
|
132
|
+
Requires-Dist: ruff==0.12.2; 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,30 @@ 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.5.
|
|
160
|
+
Requires-Dist: waldiez-jupyter==0.5.3; 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.
|
|
164
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'redis'
|
|
165
165
|
Provides-Extra: runner
|
|
166
|
-
Requires-Dist: waldiez-runner==0.5.
|
|
166
|
+
Requires-Dist: waldiez-runner==0.5.3; (python_version >= '3.11') and extra == 'runner'
|
|
167
167
|
Provides-Extra: studio
|
|
168
|
-
Requires-Dist: waldiez-studio==0.5.
|
|
168
|
+
Requires-Dist: waldiez-studio==0.5.3; extra == 'studio'
|
|
169
169
|
Provides-Extra: test
|
|
170
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
171
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
170
|
+
Requires-Dist: ag2[redis]==0.9.5; extra == 'test'
|
|
171
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'test'
|
|
172
172
|
Requires-Dist: fakeredis==2.30.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
175
|
Requires-Dist: pytest-cov==6.2.1; extra == 'test'
|
|
176
|
+
Requires-Dist: pytest-env==1.1.5; extra == 'test'
|
|
176
177
|
Requires-Dist: pytest-html==4.1.1; extra == 'test'
|
|
177
178
|
Requires-Dist: pytest-sugar==1.0.0; extra == 'test'
|
|
178
179
|
Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
|
|
179
180
|
Requires-Dist: pytest-xdist==3.8.0; extra == 'test'
|
|
180
181
|
Requires-Dist: pytest==8.4.1; extra == 'test'
|
|
181
182
|
Provides-Extra: websockets
|
|
182
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
183
|
+
Requires-Dist: ag2[websockets]==0.9.5; extra == 'websockets'
|
|
183
184
|
Description-Content-Type: text/markdown
|
|
184
185
|
|
|
185
186
|
# Waldiez
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
waldiez/__init__.py,sha256=GdbXP8mS6FUiljxvd-eH_J2gEztoHCQpD8Hq51GKUSs,943
|
|
2
2
|
waldiez/__main__.py,sha256=0dYzNrQbovRwQQvmZC6_1FDR1m71SUIOkTleO5tBnBw,203
|
|
3
|
-
waldiez/_version.py,sha256=
|
|
4
|
-
waldiez/cli.py,sha256=
|
|
3
|
+
waldiez/_version.py,sha256=FxF72beS0MjM6utnd1HIhNRsgisIx4Av26r79oywij4,249
|
|
4
|
+
waldiez/cli.py,sha256=YuDQrCqncjwI0n-G4DLSrZMQ_SA7YjwzrMdUBZ_eK60,7820
|
|
5
5
|
waldiez/exporter.py,sha256=IEk8LM-tqjLxyi7R8M9wmbFXf4kZiqmiOMmsZumkgns,8347
|
|
6
6
|
waldiez/logger.py,sha256=UFdPwS2AOl2LkFQVonDSET9Dguq5jsn2mV817iTZFJc,16375
|
|
7
7
|
waldiez/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
-
waldiez/runner.py,sha256=
|
|
8
|
+
waldiez/runner.py,sha256=NzzzmXKLpTK73y7U0WDT4hFBphZdPcbgHzpIZUhbw8A,17018
|
|
9
9
|
waldiez/cli_extras/__init__.py,sha256=ZvuLaN3IGuffWMh7mladTGkJxx3kn5IepUF3jk4ZAWY,684
|
|
10
10
|
waldiez/cli_extras/jupyter.py,sha256=nOQraO7Xg1G8SCP93OpIVheXieXW5ireSC9Oir-dXzA,3047
|
|
11
11
|
waldiez/cli_extras/runner.py,sha256=V_aoTKZsvtPgjszvWlPamKjnOG93L2aY6sBcHnIh9XI,983
|
|
@@ -157,7 +157,7 @@ waldiez/models/agents/user_proxy/user_proxy_data.py,sha256=xcBa2wKxRh8amc_eFuKg6
|
|
|
157
157
|
waldiez/models/chat/__init__.py,sha256=t3ylx9eAN9iQWovUEwewPiP6xjC3ABMsuvXFV9Ph6ZM,1089
|
|
158
158
|
waldiez/models/chat/chat.py,sha256=3pt1dB1A8gXzukONip4fHBiZa1rkGxSDDnlt-Ob37kU,12571
|
|
159
159
|
waldiez/models/chat/chat_data.py,sha256=SmdbKfroGIcS0J2l1C4bdmCURGYTkrHGpMy7kew8KV4,11712
|
|
160
|
-
waldiez/models/chat/chat_message.py,sha256=
|
|
160
|
+
waldiez/models/chat/chat_message.py,sha256=yl6YRejPkVC-TIVFfzfBvvngdlZgW7P1G2SKBECfKvg,8658
|
|
161
161
|
waldiez/models/chat/chat_nested.py,sha256=vBTKIqd5ji16Z3VBr4uWtf1UL_zT2qdsvtYaLAUW6zw,4297
|
|
162
162
|
waldiez/models/chat/chat_summary.py,sha256=EysRTfS8o0SrhKlpbQK8uCK7MAGnaX21jYyxEHIQ4oU,3123
|
|
163
163
|
waldiez/models/common/__init__.py,sha256=ASr7j6CrAQ5RVs2Jh6gW2vsrfQvlouNbnD91umsHyOw,2117
|
|
@@ -194,23 +194,24 @@ waldiez/models/tool/predefined/_youtube.py,sha256=_U2C4PnmMbtHes63FJ30vxWu1hUuo0
|
|
|
194
194
|
waldiez/models/tool/predefined/protocol.py,sha256=Yl8xVAYi9pAN8gLAd5k5A7guKJjLNA_xkJ2x4BXDlm0,2120
|
|
195
195
|
waldiez/models/tool/predefined/registry.py,sha256=4uhz7nk_v4rHJ8b7aKN_no7mtD2dEayurxNZh6fP93I,2162
|
|
196
196
|
waldiez/running/__init__.py,sha256=4A3FHJcN4a9P8OWlKblikl89O4bzKa6JcTAPNBuwTh0,370
|
|
197
|
-
waldiez/running/base_runner.py,sha256=
|
|
198
|
-
waldiez/running/environment.py,sha256=
|
|
197
|
+
waldiez/running/base_runner.py,sha256=DlmCskmB7_ud01ekamb6CmhnrWmW8BPrrx6msHS7sRc,30955
|
|
198
|
+
waldiez/running/environment.py,sha256=6-FxIKADnwFGYmlRU8ca_kV8QhJKlj-zBGXGTkx5e4k,6635
|
|
199
199
|
waldiez/running/gen_seq_diagram.py,sha256=wsF9b9uG0NA5iVAlW-wOtYn0w_9-bySBO9nWkUIBNUc,5943
|
|
200
|
-
waldiez/running/import_runner.py,sha256=
|
|
200
|
+
waldiez/running/import_runner.py,sha256=5N-MopWPYRyF5qlJuhCsdKvwIUDlsEXmBMjJRLNRO-k,16169
|
|
201
201
|
waldiez/running/patch_io_stream.py,sha256=HcbS_580xSa1YD6qy6FalbuJcpMGh9Qc87MSybtGh2c,6808
|
|
202
|
-
waldiez/running/post_run.py,sha256=
|
|
203
|
-
waldiez/running/pre_run.py,sha256=
|
|
204
|
-
waldiez/running/protocol.py,sha256=
|
|
202
|
+
waldiez/running/post_run.py,sha256=24NamHbMib33Q5OkXhQNpv3S5CKF-r6DoCyhxpysz6U,5969
|
|
203
|
+
waldiez/running/pre_run.py,sha256=04KDy--ikps23HZBu2gmtVsRfx3jhws5dWY472IDK7E,4834
|
|
204
|
+
waldiez/running/protocol.py,sha256=k-iSDA8D9IXuXqxKFekY1XBLrMnF5yQzcql7yhF5aGk,8684
|
|
205
205
|
waldiez/running/run_results.py,sha256=c1fp5WTi8CEXIZpZRRH4nkJKW6RidhzIfIatjJVe9Kw,518
|
|
206
|
-
waldiez/running/subprocess_runner.py,sha256=
|
|
206
|
+
waldiez/running/subprocess_runner.py,sha256=tPBqxebwtNUn5QkBmkuV973eH3SZQ2iA0KOLtpVnwRU,2892
|
|
207
|
+
waldiez/running/timeline_processor.py,sha256=_ErErUVEx77i-Zf11wNLfYUY3st_xGDWnRN6b7n9b7I,43364
|
|
207
208
|
waldiez/running/utils.py,sha256=7DnuL-FNkraDhu3QUV3GEZC_dNgo3IMlptBzG9tMUKA,3002
|
|
208
209
|
waldiez/utils/__init__.py,sha256=D2AY5iqhh95zarm-FHLXSOzNSV3DITJVm1spemtA9hw,275
|
|
209
210
|
waldiez/utils/conflict_checker.py,sha256=bskxC2KmPrAOjjYfgQhGXgNxdU5Z10ZZmx-_c0W8I7I,1493
|
|
210
|
-
waldiez/utils/version.py,sha256=
|
|
211
|
-
waldiez-0.5.
|
|
212
|
-
waldiez-0.5.
|
|
213
|
-
waldiez-0.5.
|
|
214
|
-
waldiez-0.5.
|
|
215
|
-
waldiez-0.5.
|
|
216
|
-
waldiez-0.5.
|
|
211
|
+
waldiez/utils/version.py,sha256=dY8K7oC4R6XyYM47mHawqnqnsYHiQirMb_prqV7DjzU,1817
|
|
212
|
+
waldiez-0.5.3.dist-info/METADATA,sha256=_jsAiEIJ2lYIslI7FODRLwIB6Xc4WfeoXdx3rg5jt8I,20500
|
|
213
|
+
waldiez-0.5.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
214
|
+
waldiez-0.5.3.dist-info/entry_points.txt,sha256=9MQ8Y1rD19CU7UwjNPwoyTRpQsPs2QimjrtwTD0bD6k,44
|
|
215
|
+
waldiez-0.5.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
216
|
+
waldiez-0.5.3.dist-info/licenses/NOTICE.md,sha256=L7xtckFRYvYJjhjQNtFpURWCiAvEuq4ePvxJsC-XAdk,785
|
|
217
|
+
waldiez-0.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|