versionhq 1.1.5__tar.gz → 1.1.6.3__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.
Files changed (63) hide show
  1. versionhq-1.1.6.3/.github/workflows/publish.yml +63 -0
  2. versionhq-1.1.6.3/.github/workflows/publish_testpypi.yml +63 -0
  3. {versionhq-1.1.5 → versionhq-1.1.6.3}/.gitignore +3 -0
  4. {versionhq-1.1.5 → versionhq-1.1.6.3}/PKG-INFO +2 -2
  5. {versionhq-1.1.5 → versionhq-1.1.6.3}/pyproject.toml +2 -2
  6. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/__init__.py +1 -1
  7. {versionhq-1.1.5/src/versionHQ.egg-info → versionhq-1.1.6.3/src/versionhq.egg-info}/PKG-INFO +2 -2
  8. {versionhq-1.1.5/src/versionHQ.egg-info → versionhq-1.1.6.3/src/versionhq.egg-info}/SOURCES.txt +6 -6
  9. {versionhq-1.1.5 → versionhq-1.1.6.3}/uv.lock +1 -1
  10. versionhq-1.1.5/.github/workflows/publish.yml +0 -54
  11. versionhq-1.1.5/src/versionhq/tool/composio.py +0 -102
  12. {versionhq-1.1.5 → versionhq-1.1.6.3}/.github/workflows/security_check.yml +0 -0
  13. {versionhq-1.1.5 → versionhq-1.1.6.3}/.pre-commit-config.yaml +0 -0
  14. {versionhq-1.1.5 → versionhq-1.1.6.3}/.python-version +0 -0
  15. {versionhq-1.1.5 → versionhq-1.1.6.3}/LICENSE +0 -0
  16. {versionhq-1.1.5 → versionhq-1.1.6.3}/Procfile +0 -0
  17. {versionhq-1.1.5 → versionhq-1.1.6.3}/README.md +0 -0
  18. {versionhq-1.1.5 → versionhq-1.1.6.3}/SECURITY.md +0 -0
  19. {versionhq-1.1.5 → versionhq-1.1.6.3}/db/preprocess.py +0 -0
  20. {versionhq-1.1.5 → versionhq-1.1.6.3}/requirements.txt +0 -0
  21. {versionhq-1.1.5 → versionhq-1.1.6.3}/runtime.txt +0 -0
  22. {versionhq-1.1.5 → versionhq-1.1.6.3}/setup.cfg +0 -0
  23. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/__init__.py +0 -0
  24. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/cache_handler.py +0 -0
  25. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/i18n.py +0 -0
  26. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/logger.py +0 -0
  27. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/process_config.py +0 -0
  28. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/rpm_controller.py +0 -0
  29. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/_utils/usage_metrics.py +0 -0
  30. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/agent/__init__.py +0 -0
  31. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/agent/model.py +0 -0
  32. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/agent/parser.py +0 -0
  33. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/cli/__init__.py +0 -0
  34. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/__init__.py +0 -0
  35. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/customer/__init__.py +0 -0
  36. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/customer/model.py +0 -0
  37. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/product/__init__.py +0 -0
  38. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/product/model.py +0 -0
  39. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/workflow/__init__.py +0 -0
  40. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/clients/workflow/model.py +0 -0
  41. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/llm/__init__.py +0 -0
  42. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/llm/llm_vars.py +0 -0
  43. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/llm/model.py +0 -0
  44. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/task/__init__.py +0 -0
  45. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/task/formatter.py +0 -0
  46. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/task/model.py +0 -0
  47. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/team/__init__.py +0 -0
  48. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/team/model.py +0 -0
  49. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/team/team_planner.py +0 -0
  50. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/tool/__init__.py +0 -0
  51. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/tool/decorator.py +0 -0
  52. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/tool/model.py +0 -0
  53. {versionhq-1.1.5 → versionhq-1.1.6.3}/src/versionhq/tool/tool_handler.py +0 -0
  54. {versionhq-1.1.5/src/versionHQ.egg-info → versionhq-1.1.6.3/src/versionhq.egg-info}/dependency_links.txt +0 -0
  55. {versionhq-1.1.5/src/versionHQ.egg-info → versionhq-1.1.6.3/src/versionhq.egg-info}/requires.txt +0 -0
  56. {versionhq-1.1.5/src/versionHQ.egg-info → versionhq-1.1.6.3/src/versionhq.egg-info}/top_level.txt +0 -0
  57. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/__init__.py +0 -0
  58. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/cli/__init__.py +0 -0
  59. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/task/__init__.py +0 -0
  60. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/task/sync_test.py +0 -0
  61. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/team/Prompts/Demo_test.py +0 -0
  62. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/team/__init__.py +0 -0
  63. {versionhq-1.1.5 → versionhq-1.1.6.3}/tests/team/kickoff_test.py +0 -0
@@ -0,0 +1,63 @@
1
+ name: Publisher
2
+
3
+ on:
4
+ release:
5
+ types: [released]
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ jobs:
11
+ release-build:
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v4
19
+ with:
20
+ version: "0.5.11"
21
+
22
+ - name: Build release distributions
23
+ run: |
24
+ uv venv --python=python3.13.1
25
+ source .venv/bin/activate
26
+ uv pip install --upgrade pip twine
27
+ uv pip install -r requirements.txt
28
+ uv build --sdist --wheel
29
+
30
+ - name: Upload distributions
31
+ uses: actions/upload-artifact@v4
32
+ with:
33
+ name: release-dists
34
+ path: dist/
35
+
36
+ pypi-publish:
37
+ runs-on: ubuntu-latest
38
+ needs:
39
+ - release-build
40
+
41
+ permissions:
42
+ id-token: write
43
+
44
+ environment:
45
+ name: pypi
46
+ url: https://pypi.org/p/versionhq/
47
+
48
+ steps:
49
+ - name: Retrieve release distributions
50
+ uses: actions/download-artifact@v4
51
+ with:
52
+ name: release-dists
53
+ path: dist/
54
+
55
+ - name: Publish release distributions to PyPI
56
+ uses: pypa/gh-action-pypi-publish@release/v1
57
+ with:
58
+ packages-dir: dist/
59
+ repository-url: https://upload.pypi.org/legacy/
60
+ verbose: true
61
+ user: __token__
62
+ password: ${{ secrets.PYPI_API_TOKEN }}
63
+
@@ -0,0 +1,63 @@
1
+ name: TestPyPi Publisher
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - 'main'
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ release-build:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - name: Install uv
19
+ uses: astral-sh/setup-uv@v4
20
+ with:
21
+ version: "0.5.11"
22
+
23
+ - name: Build release distributions
24
+ run: |
25
+ uv venv --python=python3.13.1
26
+ source .venv/bin/activate
27
+ uv pip install --upgrade pip twine
28
+ uv pip install -r requirements.txt
29
+ uv build --sdist --wheel
30
+
31
+ - name: Upload distributions
32
+ uses: actions/upload-artifact@v4
33
+ with:
34
+ name: release-dists
35
+ path: dist/
36
+
37
+ pypi-publish:
38
+ runs-on: ubuntu-latest
39
+ needs:
40
+ - release-build
41
+
42
+ permissions:
43
+ id-token: write
44
+
45
+ environment:
46
+ name: testpypi
47
+ url: https://test.pypi.org/p/versionhq/
48
+
49
+ steps:
50
+ - name: Retrieve release distributions
51
+ uses: actions/download-artifact@v4
52
+ with:
53
+ name: release-dists
54
+ path: dist/
55
+
56
+ - name: Publish release distributions to PyPI
57
+ uses: pypa/gh-action-pypi-publish@release/v1
58
+ with:
59
+ packages-dir: dist/
60
+ repository-url: https://test.pypi.org/legacy/
61
+ verbose: true
62
+ user: __token__
63
+ password: ${{ secrets.TESTPYPI_API_TOKEN }}
@@ -1,3 +1,6 @@
1
+ publish.yml
2
+ python_publish*
3
+
1
4
  composio.py
2
5
  memo.txt
3
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: versionHQ
3
- Version: 1.1.5
2
+ Name: versionhq
3
+ Version: 1.1.6.3
4
4
  Summary: LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows
5
5
  Author-email: Kuriko Iwai <kuriko@versi0n.io>
6
6
  License: MIT License
@@ -14,8 +14,8 @@ include = ["*"]
14
14
  exclude = ["test*", "__pycache__"]
15
15
 
16
16
  [project]
17
- name = "versionHQ"
18
- version = "1.1.5"
17
+ name = "versionhq"
18
+ version = "1.1.6.3"
19
19
  authors = [{ name = "Kuriko Iwai", email = "kuriko@versi0n.io" }]
20
20
  description = "LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows"
21
21
  readme = "README.md"
@@ -17,7 +17,7 @@ from versionhq.team.model import Team, TeamOutput
17
17
  from versionhq.tool.model import Tool
18
18
 
19
19
 
20
- __version__ = "1.1.5"
20
+ __version__ = "1.1.6.3"
21
21
  __all__ = [
22
22
  "Agent",
23
23
  "Customer",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
- Name: versionHQ
3
- Version: 1.1.5
2
+ Name: versionhq
3
+ Version: 1.1.6.3
4
4
  Summary: LLM orchestration frameworks for model-agnostic AI agents that handle complex outbound workflows
5
5
  Author-email: Kuriko Iwai <kuriko@versi0n.io>
6
6
  License: MIT License
@@ -10,14 +10,15 @@ requirements.txt
10
10
  runtime.txt
11
11
  uv.lock
12
12
  .github/workflows/publish.yml
13
+ .github/workflows/publish_testpypi.yml
13
14
  .github/workflows/security_check.yml
14
15
  db/preprocess.py
15
- src/versionHQ.egg-info/PKG-INFO
16
- src/versionHQ.egg-info/SOURCES.txt
17
- src/versionHQ.egg-info/dependency_links.txt
18
- src/versionHQ.egg-info/requires.txt
19
- src/versionHQ.egg-info/top_level.txt
20
16
  src/versionhq/__init__.py
17
+ src/versionhq.egg-info/PKG-INFO
18
+ src/versionhq.egg-info/SOURCES.txt
19
+ src/versionhq.egg-info/dependency_links.txt
20
+ src/versionhq.egg-info/requires.txt
21
+ src/versionhq.egg-info/top_level.txt
21
22
  src/versionhq/_utils/__init__.py
22
23
  src/versionhq/_utils/cache_handler.py
23
24
  src/versionhq/_utils/i18n.py
@@ -46,7 +47,6 @@ src/versionhq/team/__init__.py
46
47
  src/versionhq/team/model.py
47
48
  src/versionhq/team/team_planner.py
48
49
  src/versionhq/tool/__init__.py
49
- src/versionhq/tool/composio.py
50
50
  src/versionhq/tool/decorator.py
51
51
  src/versionhq/tool/model.py
52
52
  src/versionhq/tool/tool_handler.py
@@ -1652,7 +1652,7 @@ wheels = [
1652
1652
 
1653
1653
  [[package]]
1654
1654
  name = "versionhq"
1655
- version = "1.1.4.4"
1655
+ version = "1.1.5"
1656
1656
  source = { editable = "." }
1657
1657
  dependencies = [
1658
1658
  { name = "composio" },
@@ -1,54 +0,0 @@
1
- name: Publisher
2
-
3
- on:
4
- release:
5
- types: [created]
6
-
7
- jobs:
8
- pypi-publish:
9
- name: Publish on PyPI
10
-
11
- runs-on: ubuntu-latest
12
- environment:
13
- name: pypi
14
- url: https://pypi.org/p/versionhq
15
- permissions:
16
- id-token: write
17
- steps:
18
- - uses: actions/checkout@v4
19
-
20
- - name: Install uv
21
- uses: astral-sh/setup-uv@v4
22
- with:
23
- version: "0.5.11"
24
-
25
- - name: Set up Python
26
- uses: actions/setup-python@v5
27
- with:
28
- python-version: "3.13.1"
29
-
30
- - name: Set up vertual environment
31
- run: uv venv --python=python3.13.1
32
- run: source .venv/bin/activate
33
-
34
- - name: Install pip, twine, black
35
- run: uv pip install --upgrade pip twine black
36
-
37
- - name: Install dependencies
38
- run: uv pip install -r requirements.txt
39
-
40
- - name: Run black
41
- run: uv run black .
42
-
43
- - name: Build a binary wheel and a source tarball
44
- run: uv build --sdist --wheel
45
-
46
- - name: Publish distribution 📦 to PyPI
47
- uses: pypa/gh-action-pypi-publish@release/v1
48
- with:
49
- repositories: https://upload.pypi.org/legacy/
50
- with:
51
- verbose: true
52
- with:
53
- user: __token__
54
- password: ${{ secrets.PYPI_API_TOKEN }}
@@ -1,102 +0,0 @@
1
- import os
2
- from dotenv import load_dotenv
3
- from typing import Any, Callable, Type, get_args, get_origin
4
- from composio import ComposioToolSet, Action, App
5
-
6
-
7
- load_dotenv(override=True)
8
- DEFAULT_REDIRECT_URL = os.environ.get("DEFAULT_REDIRECT_URL")
9
- DEFAULT_APP_NAME = "hubspot"
10
- DEFAULT_USER_ID = os.environ.get("DEFAULT_USER_ID")
11
-
12
-
13
- def connect(app_name: str = DEFAULT_APP_NAME, user_id: str = DEFAULT_USER_ID, redirect_url: str = DEFAULT_REDIRECT_URL, *args, **kwargs):
14
- """
15
- Connect with the data pipelines or destination services.
16
- """
17
-
18
- composio_toolset = ComposioToolSet(api_key=os.environ.get("COMPOSIO_API_KEY"))
19
-
20
-
21
- if not user_id:
22
- return None
23
-
24
- auth_scheme = "OAUTH2"
25
- connection_request = composio_toolset.initiate_connection(
26
- app=app_name,
27
- redirect_url = redirect_url, # user comes here after oauth flow
28
- entity_id=user_id,
29
- auth_scheme=auth_scheme,
30
- )
31
-
32
- print(connection_request.connectedAccountId,connection_request.connectionStatus)
33
- print(connection_request.redirectUrl)
34
-
35
-
36
-
37
- # connection_request_id = "connection_request_id" # replace connection_request_id from earlier response
38
- # # validate the connection is active
39
- # connected_account = composio_toolset.get_connected_account(id=connection_request_id)
40
- # print(connected_account.status) # should be
41
-
42
-
43
- # @action(toolname="hubspot")
44
- # def deploy_on_hubspot(param1: str, param2: str, execute_request: Callable) -> str:
45
- # """
46
- # Deploy the messaging workflow on the third-party service using Composio.
47
- # List of the services: https://composio.dev/tools?category=marketing
48
-
49
- # my custom action description which will be passed to llm
50
-
51
- # :param param1: param1 description which will be passed to llm
52
- # :param param2: param2 description which will be passed to llm
53
- # :return info: return description
54
- # """
55
-
56
- # response = execute_request(
57
- # "/my_action_endpoint",
58
- # "GET",
59
- # {} # body can be added here
60
- # ) # execute requests by appending credentials to the request
61
- # return str(response) # complete auth dict is available for local use if needed
62
-
63
-
64
- # toolset = ComposioToolSet(entity_id=D)
65
- # tools = composio_toolset.get_tools(actions=[deploy_on_hubspot])
66
-
67
-
68
- # rag_tools = composio_toolset.get_tools(
69
- # apps=[App.RAGTOOL],
70
- # actions=[
71
- # Action.FILETOOL_LIST_FILES,
72
- # Action.FILETOOL_CHANGE_WORKING_DIRECTORY,
73
- # Action.FILETOOL_FIND_FILE,
74
- # ],
75
- # )
76
-
77
- # rag_query_tools = composio_toolset.get_tools(
78
- # apps=[App.RAGTOOL],
79
- # )
80
-
81
- # # can pass multiple actions
82
- # tools = composio_toolset.get_tools(
83
- # actions=[Action.GITHUB_CREATE_AN_ISSUE]
84
- # )
85
-
86
- # rag_tools = composio_toolset.get_tools(
87
- # apps=[App.RAGTOOL],
88
- # actions=[
89
- # Action.FILETOOL_LIST_FILES,
90
- # Action.FILETOOL_CHANGE_WORKING_DIRECTORY,
91
- # Action.FILETOOL_FIND_FILE,
92
- # ],
93
- # )
94
-
95
- # rag_query_tools = composio_toolset.get_tools(
96
- # apps=[App.RAGTOOL],
97
- # )
98
-
99
-
100
- if __name__ == "__main__":
101
- connect()
102
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes