versionhq 1.2.0.1__py3-none-any.whl → 1.2.0.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.
versionhq/__init__.py CHANGED
@@ -30,7 +30,7 @@ from versionhq.memory.model import ShortTermMemory,LongTermMemory, UserMemory, M
30
30
  from versionhq.task.formation import form_agent_network
31
31
 
32
32
 
33
- __version__ = "1.2.0.1"
33
+ __version__ = "1.2.0.3"
34
34
  __all__ = [
35
35
  "Agent",
36
36
 
@@ -11,15 +11,19 @@ from versionhq.agent.model import Agent
11
11
  from versionhq._utils.logger import Logger
12
12
 
13
13
  try:
14
- import networkx as ntx
14
+ import networkx as nx
15
15
  except ImportError:
16
16
  try:
17
17
  import os
18
18
  os.system("uv add networkx --optional networkx")
19
- import networkx as ntx
19
+ import networkx as nx
20
20
  except:
21
- raise ImportError("networkx is not installed. Please install it with: uv add networkx --optional networkx")
22
-
21
+ try:
22
+ import os
23
+ os.system("pip install network --save")
24
+ import networkx as nx
25
+ except:
26
+ raise ImportError("networkx is not installed. Please install it with: uv add networkx --optional networkx")
23
27
 
24
28
  try:
25
29
  import matplotlib.pyplot as plt
@@ -29,7 +33,14 @@ except ImportError:
29
33
  os.system("uv add matplotlib --optional matplotlib")
30
34
  import matplotlib.pyplot as plt
31
35
  except:
32
- raise ImportError("matplotlib is not installed. Please install it with: uv add matplotlib --optional matplotlib")
36
+ try:
37
+ import os
38
+ os.system("pip install matplotlib --save")
39
+ import matplotlib.pyplot as plt
40
+
41
+ except:
42
+ raise ImportError("matplotlib is not installed. Please install it with: uv add matplotlib --optional matplotlib")
43
+
33
44
 
34
45
  import networkx as nx
35
46
  import matplotlib.pyplot as plt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: versionhq
3
- Version: 1.2.0.1
3
+ Version: 1.2.0.3
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
@@ -87,7 +87,7 @@ Requires-Dist: matplotlib>=3.10.0; extra == "matplotlib"
87
87
  ![MIT license](https://img.shields.io/badge/License-MIT-green)
88
88
  [![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)
89
89
  ![PyPI](https://img.shields.io/badge/PyPI-v1.2.0+-blue)
90
- ![python ver](https://img.shields.io/badge/Python-3.11+-purple)
90
+ ![python ver](https://img.shields.io/badge/Python-3.11/3.12-purple)
91
91
  ![pyenv ver](https://img.shields.io/badge/pyenv-2.5.0-orange)
92
92
 
93
93
 
@@ -266,8 +266,6 @@ By default, agents prioritize JSON over plane text outputs.
266
266
  def dummy_func(message: str, test1: str, test2: list[str]) -> str:
267
267
  return f"""{message}: {test1}, {", ".join(test2)}"""
268
268
 
269
-
270
- agent = vhq.Agent(role="demo", goal="amazing project goal")
271
269
  task = vhq.Task(
272
270
  description="Amazing task",
273
271
  pydantic_output=CustomOutput,
@@ -275,7 +273,7 @@ By default, agents prioritize JSON over plane text outputs.
275
273
  callback_kwargs=dict(message="Hi! Here is the result: ")
276
274
  )
277
275
 
278
- res = task.execute(agent=agent, context="amazing context to consider.")
276
+ res = task.execute(context="amazing context to consider.")
279
277
  print(res)
280
278
  ```
281
279
 
@@ -1,4 +1,4 @@
1
- versionhq/__init__.py,sha256=k5eLPCh71oIr_Rk7g31r0MUqFggA5sC41kO7V0V3E08,2783
1
+ versionhq/__init__.py,sha256=RZZvNni2Slrj-OaK0N9me8CaK5AvO4Ui566sGeF1oVc,2783
2
2
  versionhq/_utils/__init__.py,sha256=dzoZr4cBlh-2QZuPzTdehPUCe9lP1dmRtauD7qTjUaA,158
3
3
  versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
4
4
  versionhq/_utils/logger.py,sha256=j9SlQPIefdVUlwpGfJY83E2BUt1ejWgZ2M2I8aMyQ3c,1579
@@ -34,7 +34,7 @@ versionhq/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
34
34
  versionhq/memory/contextual_memory.py,sha256=tCsOOAUnfrOL7YiakqGoi3uShzzS870TmGnlGd3z_A4,3556
35
35
  versionhq/memory/model.py,sha256=4wow2O3UuMZ0AbC2NyxddGZac3-_GjNZbK9wsA015NA,8145
36
36
  versionhq/network/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- versionhq/network/model.py,sha256=3L5mTfGUeoY63z3NiE_xI5yjN91WjYNWqd6CDXE38YY,20318
37
+ versionhq/network/model.py,sha256=AfakEac4twHIIextUzrV5S-9qzrpaEEoaku6b9cg74A,20612
38
38
  versionhq/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  versionhq/storage/base.py,sha256=p-Jas0fXQan_qotnRD6seQxrT2lj-uw9-SmHQhdppcs,355
40
40
  versionhq/storage/ltm_sqlite_storage.py,sha256=wdUiuwHfJocdk0UGqyrdU4S5Nae1rgsoRNu3LWmGFcI,3951
@@ -60,8 +60,8 @@ versionhq/tool/composio_tool_vars.py,sha256=FvBuEXsOQUYnN7RTFxT20kAkiEYkxWKkiVtg
60
60
  versionhq/tool/decorator.py,sha256=C4ZM7Xi2gwtEMaSeRo-geo_g_MAkY77WkSLkAuY0AyI,1205
61
61
  versionhq/tool/model.py,sha256=PO4zNWBZcJhYVur381YL1dy6zqurio2jWjtbxOxZMGI,12194
62
62
  versionhq/tool/tool_handler.py,sha256=2m41K8qo5bGCCbwMFferEjT-XZ-mE9F0mDUOBkgivOI,1416
63
- versionhq-1.2.0.1.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
64
- versionhq-1.2.0.1.dist-info/METADATA,sha256=SIMqOnM5upA8vno-gWhl5Is-yCSuXUlzYvxVX1Lve1A,21535
65
- versionhq-1.2.0.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
66
- versionhq-1.2.0.1.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
67
- versionhq-1.2.0.1.dist-info/RECORD,,
63
+ versionhq-1.2.0.3.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
64
+ versionhq-1.2.0.3.dist-info/METADATA,sha256=PCPwZZLO_mShcOc9JS8M41tukqGVlk_cdYtFvU-OJ5s,21462
65
+ versionhq-1.2.0.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
66
+ versionhq-1.2.0.3.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
67
+ versionhq-1.2.0.3.dist-info/RECORD,,