waldiez 0.4.11__py3-none-any.whl → 0.5.1__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 +21 -52
- waldiez/exporting/agent/extras/group_manager_agent_extas.py +1 -1
- waldiez/utils/__init__.py +0 -2
- {waldiez-0.4.11.dist-info → waldiez-0.5.1.dist-info}/METADATA +36 -110
- {waldiez-0.4.11.dist-info → waldiez-0.5.1.dist-info}/RECORD +14 -14
- /waldiez/{utils/cli_extras → cli_extras}/__init__.py +0 -0
- /waldiez/{utils/cli_extras → cli_extras}/jupyter.py +0 -0
- /waldiez/{utils/cli_extras → cli_extras}/runner.py +0 -0
- /waldiez/{utils/cli_extras → cli_extras}/studio.py +0 -0
- {waldiez-0.4.11.dist-info → waldiez-0.5.1.dist-info}/WHEEL +0 -0
- {waldiez-0.4.11.dist-info → waldiez-0.5.1.dist-info}/entry_points.txt +0 -0
- {waldiez-0.4.11.dist-info → waldiez-0.5.1.dist-info}/licenses/LICENSE +0 -0
- {waldiez-0.4.11.dist-info → waldiez-0.5.1.dist-info}/licenses/NOTICE.md +0 -0
waldiez/_version.py
CHANGED
waldiez/cli.py
CHANGED
|
@@ -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 .
|
|
18
|
+
from .cli_extras import add_cli_extras
|
|
19
19
|
from .logger import get_logger
|
|
20
20
|
from .models import Waldiez
|
|
21
|
-
from .
|
|
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(
|
|
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(
|
waldiez/utils/__init__.py
CHANGED
|
@@ -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
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.
|
|
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.
|
|
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.
|
|
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.
|
|
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.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.
|
|
107
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
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
|
|
113
|
-
Requires-Dist: fastjsonschema>=2.21; extra == 'dev'
|
|
114
|
-
Requires-Dist: flake8==7.
|
|
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.
|
|
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.
|
|
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.
|
|
164
|
+
Requires-Dist: ag2[redis]==0.9.3; extra == 'redis'
|
|
165
165
|
Provides-Extra: runner
|
|
166
|
-
Requires-Dist: waldiez-runner==0.
|
|
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.
|
|
168
|
+
Requires-Dist: waldiez-studio==0.5.1; 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.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.
|
|
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.
|
|
180
|
+
Requires-Dist: pytest==8.4.1; extra == 'test'
|
|
181
181
|
Provides-Extra: websockets
|
|
182
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
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
|
|
@@ -1,11 +1,15 @@
|
|
|
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=ZRPWrRshZ1C8mK7yRwE1rmOYqp22vABCrPALmyTqg-U,249
|
|
4
|
+
waldiez/cli.py,sha256=7WRfxGO3HsuHkzmVc1qV91B18ccPhzXRS6GbEsEFGZo,7751
|
|
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
8
|
waldiez/runner.py,sha256=ZeT_ERfzcm7mhLGH0po5Of0ecq9fQ_0c3ECdNRgq7g0,15619
|
|
9
|
+
waldiez/cli_extras/__init__.py,sha256=ZvuLaN3IGuffWMh7mladTGkJxx3kn5IepUF3jk4ZAWY,684
|
|
10
|
+
waldiez/cli_extras/jupyter.py,sha256=nOQraO7Xg1G8SCP93OpIVheXieXW5ireSC9Oir-dXzA,3047
|
|
11
|
+
waldiez/cli_extras/runner.py,sha256=V_aoTKZsvtPgjszvWlPamKjnOG93L2aY6sBcHnIh9XI,983
|
|
12
|
+
waldiez/cli_extras/studio.py,sha256=p4CMDCYW6lxrPvHvWX2kpsE1Ix7NnKZg1Jf15weWirE,984
|
|
9
13
|
waldiez/exporting/__init__.py,sha256=xVOqb3gADkrTmp_BVrQ-dMPiySPUDU4xZmqYqhzL8BI,1026
|
|
10
14
|
waldiez/exporting/agent/__init__.py,sha256=GpNfVQLAvGoJP_U4WkMMIGpEB8k7vEV-FVR446s2zhY,260
|
|
11
15
|
waldiez/exporting/agent/code_execution.py,sha256=sxjulr2OmeSg0SrYz7rgpBgF_AfqpHfV86kmtGU49Yk,3795
|
|
@@ -16,7 +20,7 @@ waldiez/exporting/agent/system_message.py,sha256=HEVcfpCC4NEB4XP6eFhZcosiZBMCuDh
|
|
|
16
20
|
waldiez/exporting/agent/termination.py,sha256=wL9Bbd2yDyi90Dd4P9lVb5fMhKPBhqFO9yZpKVQKYto,1566
|
|
17
21
|
waldiez/exporting/agent/extras/__init__.py,sha256=BxVi-zTW-D7fjqKsqvVI8SjiIn-jFX__wF6a-IVtAyY,497
|
|
18
22
|
waldiez/exporting/agent/extras/captain_agent_extras.py,sha256=gvRPJhWpxr9MkYCB4S-EFH3tJJVyf_lFRWAr9SoBvdM,10486
|
|
19
|
-
waldiez/exporting/agent/extras/group_manager_agent_extas.py,sha256=
|
|
23
|
+
waldiez/exporting/agent/extras/group_manager_agent_extas.py,sha256=AZoqbDjx7fCYgV_YhJglT6km_KTIvnWDR3qX8rgTu6U,17833
|
|
20
24
|
waldiez/exporting/agent/extras/group_member_extras.py,sha256=CFyNVjslmcI4nQPE5tthLPYSoohYs8dE4TY5hno20FU,5632
|
|
21
25
|
waldiez/exporting/agent/extras/rag_user_proxy_agent_extras.py,sha256=ZjQHGq1umXHMH1qnS61ZmwrinK8n2IQv50Ha_oMrtQs,8752
|
|
22
26
|
waldiez/exporting/agent/extras/reasoning_agent_extras.py,sha256=9Mf5bz_h99AHWRMkO6FQXkVsinFvPRLpJQQuxM7aDiA,2991
|
|
@@ -193,16 +197,12 @@ waldiez/running/protocol.py,sha256=nAIz219Hv_0o03TNzimRzA9c0Yk7LX5csdJyJb0zRjo,8
|
|
|
193
197
|
waldiez/running/run_results.py,sha256=c1fp5WTi8CEXIZpZRRH4nkJKW6RidhzIfIatjJVe9Kw,518
|
|
194
198
|
waldiez/running/subprocess_runner.py,sha256=S_B0QhH4vSRW9qyOcIy7s0jEcT3dAen4N4sPAk4tazI,2776
|
|
195
199
|
waldiez/running/utils.py,sha256=7DnuL-FNkraDhu3QUV3GEZC_dNgo3IMlptBzG9tMUKA,3002
|
|
196
|
-
waldiez/utils/__init__.py,sha256=
|
|
200
|
+
waldiez/utils/__init__.py,sha256=D2AY5iqhh95zarm-FHLXSOzNSV3DITJVm1spemtA9hw,275
|
|
197
201
|
waldiez/utils/conflict_checker.py,sha256=bskxC2KmPrAOjjYfgQhGXgNxdU5Z10ZZmx-_c0W8I7I,1493
|
|
198
202
|
waldiez/utils/version.py,sha256=qaduzoxI1qBEtDLdM5Gw0V76YgF1WABPcDC95VL8HLQ,1452
|
|
199
|
-
waldiez/
|
|
200
|
-
waldiez/
|
|
201
|
-
waldiez/
|
|
202
|
-
waldiez/
|
|
203
|
-
waldiez-0.
|
|
204
|
-
waldiez-0.
|
|
205
|
-
waldiez-0.4.11.dist-info/entry_points.txt,sha256=9MQ8Y1rD19CU7UwjNPwoyTRpQsPs2QimjrtwTD0bD6k,44
|
|
206
|
-
waldiez-0.4.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
207
|
-
waldiez-0.4.11.dist-info/licenses/NOTICE.md,sha256=L7xtckFRYvYJjhjQNtFpURWCiAvEuq4ePvxJsC-XAdk,785
|
|
208
|
-
waldiez-0.4.11.dist-info/RECORD,,
|
|
203
|
+
waldiez-0.5.1.dist-info/METADATA,sha256=W4oOSOecsNSNUHPfPKtn7H_RavLoE2q4iWnkbKCxeAs,20457
|
|
204
|
+
waldiez-0.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
205
|
+
waldiez-0.5.1.dist-info/entry_points.txt,sha256=9MQ8Y1rD19CU7UwjNPwoyTRpQsPs2QimjrtwTD0bD6k,44
|
|
206
|
+
waldiez-0.5.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
207
|
+
waldiez-0.5.1.dist-info/licenses/NOTICE.md,sha256=L7xtckFRYvYJjhjQNtFpURWCiAvEuq4ePvxJsC-XAdk,785
|
|
208
|
+
waldiez-0.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|