versionhq 1.2.2.10__py3-none-any.whl → 1.2.3.0__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.
versionhq/__init__.py CHANGED
@@ -32,7 +32,7 @@ from versionhq.agent_network.formation import form_agent_network
32
32
  from versionhq.task_graph.draft import workflow
33
33
 
34
34
 
35
- __version__ = "1.2.2.10"
35
+ __version__ = "1.2.3.0"
36
36
  __all__ = [
37
37
  "Agent",
38
38
 
@@ -1,6 +1,5 @@
1
1
  import re
2
2
  import requests
3
- import html2text
4
3
  import gzip
5
4
  import http.client
6
5
  import urllib.request
@@ -37,6 +36,11 @@ class RagTool(BaseTool):
37
36
  if isinstance(source_code, bytes):
38
37
  source_code = source_code.decode('utf-8')
39
38
 
39
+ try:
40
+ import html2text
41
+ except:
42
+ Logger().log(message="Dependencies for tools are missing. Add tool packages by running: `uv add versionhq[tool]`.", color="red", level="error")
43
+
40
44
  h = html2text.HTML2Text()
41
45
  h.ignore_links = False
42
46
  text = h.handle(source_code)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: versionhq
3
- Version: 1.2.2.10
3
+ Version: 1.2.3.0
4
4
  Summary: An agentic orchestration framework for building agent networks that handle task automation.
5
5
  Author-email: Kuriko Iwai <kuriko@versi0n.io>
6
6
  License: MIT License
@@ -34,13 +34,14 @@ Classifier: Programming Language :: Python
34
34
  Classifier: Programming Language :: Python :: 3
35
35
  Classifier: Programming Language :: Python :: 3.11
36
36
  Classifier: Programming Language :: Python :: 3.12
37
+ Classifier: Programming Language :: Python :: 3.13
37
38
  Classifier: License :: OSI Approved :: MIT License
38
39
  Classifier: Operating System :: OS Independent
39
40
  Classifier: Development Status :: 3 - Alpha
40
41
  Classifier: Intended Audience :: Developers
41
42
  Classifier: Intended Audience :: Information Technology
42
43
  Classifier: Topic :: Software Development :: Build Tools
43
- Requires-Python: <3.13,>=3.11
44
+ Requires-Python: >=3.11
44
45
  Description-Content-Type: text/markdown
45
46
  License-File: LICENSE
46
47
  Requires-Dist: regex==2024.11.6
@@ -67,8 +68,12 @@ Requires-Dist: composio-core==0.7.0
67
68
  Requires-Dist: networkx>=3.4.2
68
69
  Requires-Dist: matplotlib>=3.10.0
69
70
  Requires-Dist: boto3>=1.37.1
71
+ Provides-Extra: torch
72
+ Requires-Dist: torch>=2.6.0; extra == "torch"
73
+ Requires-Dist: torchvision>=0.21.0; extra == "torch"
74
+ Requires-Dist: pytorch-triton-xpu>=3.2.0; sys_platform == "linux" and extra == "torch"
70
75
  Provides-Extra: docling
71
- Requires-Dist: docling>=2.17.0; extra == "docling"
76
+ Requires-Dist: docling>=2.25.2; extra == "docling"
72
77
  Provides-Extra: mem0ai
73
78
  Requires-Dist: mem0ai>=0.1.55; extra == "mem0ai"
74
79
  Provides-Extra: pdfplumber
@@ -91,7 +96,7 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "eval"
91
96
  ![MIT license](https://img.shields.io/badge/License-MIT-green)
92
97
  [![Publisher](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml/badge.svg)](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
93
98
  ![PyPI](https://img.shields.io/badge/PyPI-v1.2.2+-blue)
94
- ![python ver](https://img.shields.io/badge/Python-3.11|3.12-purple)
99
+ ![python ver](https://img.shields.io/badge/Python-3.11|3.12|3.13-purple)
95
100
  ![pyenv ver](https://img.shields.io/badge/pyenv-2.5.0-orange)
96
101
 
97
102
 
@@ -252,7 +257,7 @@ agent.update(
252
257
  pip install versionhq
253
258
  ```
254
259
 
255
- (Python 3.11 / 3.12)
260
+ (Python 3.11 | 3.12 | 3.13)
256
261
 
257
262
 
258
263
  ### Launching an agent
@@ -384,7 +389,6 @@ Tasks can be delegated to a manager, peers within the agent network, or a comple
384
389
 
385
390
  **Deployment**
386
391
 
387
- * **Python**: Primary programming language. v3.12.x is recommended
388
392
  * [uv](https://docs.astral.sh/uv/): Python package installer and resolver
389
393
  * [pre-commit](https://pre-commit.com/): Manage and maintain pre-commit hooks
390
394
  * [setuptools](https://pypi.org/project/setuptools/): Build python modules
@@ -473,8 +477,6 @@ pyproject.toml # Project config
473
477
  uv sync --all-extras --no-extra pygraphviz
474
478
  ```
475
479
 
476
- - `torch`/`Docling` related errors: Set up default Python version either `3.11.x` or `3.12.x` (same as AssertionError)
477
-
478
480
  ### Adding env secrets to .env file
479
481
 
480
482
  Create `.env` file in the project root and add secret vars following `.env.sample` file.
@@ -580,8 +582,6 @@ Common issues and solutions:
580
582
 
581
583
  * Memory errors: If processing large contracts, you may need to increase the available memory for the Python process.
582
584
 
583
- * Issues related to the Python version: Docling/Pytorch is not ready for Python 3.13 as of Jan 2025. Use Python 3.12.x as default by running `uv venv --python 3.12.8` and `uv python pin 3.12.8`.
584
-
585
585
  * Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`.
586
586
 
587
587
  * Issues related to agents and other systems: Check `.logs` directory located in the root directory for error messages and stack traces.
@@ -1,4 +1,4 @@
1
- versionhq/__init__.py,sha256=viaEUAZice5yfALfCU4C_RuVCIfGQ__ybM0o0atPTXc,2981
1
+ versionhq/__init__.py,sha256=Co8oha5gA6GLy73HAkQ-HmC8IaXLGOK5YeIOT6KMnDc,2980
2
2
  versionhq/_utils/__init__.py,sha256=d-vYVcORZKG-kkLe_fzE8VbViDpAk9DDOKe2fVK25ew,178
3
3
  versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
4
4
  versionhq/_utils/llm_as_a_judge.py,sha256=RM0oYfoeanuUyUL3Ewl6_8Xn1F5Axd285UMH46kxG1I,2378
@@ -60,10 +60,10 @@ versionhq/tool/composio_tool.py,sha256=IATfsEnF_1RPJyGtPBmAtEJh5XPcgDHpyG3SUR461
60
60
  versionhq/tool/composio_tool_vars.py,sha256=FvBuEXsOQUYnN7RTFxT20kAkiEYkxWKkiVtgpqOzKZQ,1843
61
61
  versionhq/tool/decorator.py,sha256=C4ZM7Xi2gwtEMaSeRo-geo_g_MAkY77WkSLkAuY0AyI,1205
62
62
  versionhq/tool/model.py,sha256=Nc2f9frTK5tH4kh6EeEAk1Fi1w19kEXLOcsBwHCS1a4,12189
63
- versionhq/tool/rag_tool.py,sha256=l1ZzbZ5Iyn3Dgsdg5v0Y3lZl8y0kt81Vdz675RKnK_Y,3654
63
+ versionhq/tool/rag_tool.py,sha256=dW5o-83V4bMFFJEj3PUm7XjblwrYJGmZVBlCpPj6CeM,3852
64
64
  versionhq/tool/tool_handler.py,sha256=2m41K8qo5bGCCbwMFferEjT-XZ-mE9F0mDUOBkgivOI,1416
65
- versionhq-1.2.2.10.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
66
- versionhq-1.2.2.10.dist-info/METADATA,sha256=w774nWz0LeS-U2LAnxVb_phAtwCvhIe_x8wwqBw5VWs,21657
67
- versionhq-1.2.2.10.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
68
- versionhq-1.2.2.10.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
69
- versionhq-1.2.2.10.dist-info/RECORD,,
65
+ versionhq-1.2.3.0.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
66
+ versionhq-1.2.3.0.dist-info/METADATA,sha256=ecBan7bE1D3h9QCoGrmez3swRMqLhJsxilByj0pJCyg,21535
67
+ versionhq-1.2.3.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
68
+ versionhq-1.2.3.0.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
69
+ versionhq-1.2.3.0.dist-info/RECORD,,