veris-ai 1.12.0__tar.gz → 1.12.2__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.
Potentially problematic release.
This version of veris-ai might be problematic. Click here for more details.
- {veris_ai-1.12.0 → veris_ai-1.12.2}/.github/workflows/test.yml +1 -1
- veris_ai-1.12.2/CHANGELOG.md +13 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/PKG-INFO +24 -1
- {veris_ai-1.12.0 → veris_ai-1.12.2}/README.md +7 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/pyproject.toml +2 -2
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/agents_wrapper.py +2 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/uv.lock +15 -20
- veris_ai-1.12.0/CHANGELOG.md +0 -56
- {veris_ai-1.12.0 → veris_ai-1.12.2}/.cursor/rules/documentation-management.mdc +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/.github/workflows/release.yml +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/.gitignore +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/.pre-commit-config.yaml +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/CLAUDE.md +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/LICENSE +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/examples/README.md +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/examples/__init__.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/examples/import_options.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/examples/openai_agents_example.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/README.md +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/__init__.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/api_client.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/jaeger_interface/README.md +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/jaeger_interface/__init__.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/jaeger_interface/client.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/jaeger_interface/models.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/models.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/observability.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/tool_mock.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/src/veris_ai/utils.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/README.md +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/__init__.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/conftest.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/fixtures/__init__.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/fixtures/http_server.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/fixtures/simple_app.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_agents_wrapper_extract.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_agents_wrapper_simple.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_helpers.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_mcp_protocol_server_mocked.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_token_decoding.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_tool_mock.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_utils.py +0 -0
- {veris_ai-1.12.0 → veris_ai-1.12.2}/tests/test_veris_runner_tool_options.py +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## v0.1.1 (2025-04-17)
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
- Updates to package for publishing ([#1](https://github.com/veris-ai/veris-python-sdk/pull/1),
|
|
13
|
+
[`c6f460e`](https://github.com/veris-ai/veris-python-sdk/commit/c6f460ea6e2f8472c120370a14f67f1d8c28626c))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: veris-ai
|
|
3
|
-
Version: 1.12.
|
|
3
|
+
Version: 1.12.2
|
|
4
4
|
Summary: A Python package for Veris AI tools
|
|
5
5
|
Project-URL: Homepage, https://github.com/veris-ai/veris-python-sdk
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/veris-ai/veris-python-sdk/issues
|
|
@@ -21,10 +21,33 @@ Requires-Dist: opentelemetry-sdk>=1.34.1
|
|
|
21
21
|
Requires-Dist: pydantic>=2.0.0
|
|
22
22
|
Requires-Dist: requests>=2.31.0
|
|
23
23
|
Requires-Dist: tenacity>=9.1.2
|
|
24
|
+
Provides-Extra: agents
|
|
25
|
+
Requires-Dist: openai-agents>=0.2.5; extra == 'agents'
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: mypy>=1.17.0; extra == 'dev'
|
|
28
|
+
Requires-Dist: pre-commit>=3.3.3; extra == 'dev'
|
|
29
|
+
Requires-Dist: pytest-asyncio>=1.1.0; extra == 'dev'
|
|
30
|
+
Requires-Dist: pytest-cov>=6.2.1; extra == 'dev'
|
|
31
|
+
Requires-Dist: pytest>=8.4.1; extra == 'dev'
|
|
32
|
+
Requires-Dist: ruff>=0.12.4; extra == 'dev'
|
|
33
|
+
Requires-Dist: types-requests>=2.32.4.20250611; extra == 'dev'
|
|
34
|
+
Requires-Dist: uvicorn>=0.30.0; extra == 'dev'
|
|
35
|
+
Provides-Extra: fastapi
|
|
36
|
+
Requires-Dist: fastapi-mcp>=0.4.0; extra == 'fastapi'
|
|
37
|
+
Requires-Dist: fastapi>=0.116.1; extra == 'fastapi'
|
|
38
|
+
Provides-Extra: instrument
|
|
39
|
+
Requires-Dist: wrapt>=1.14.0; extra == 'instrument'
|
|
24
40
|
Description-Content-Type: text/markdown
|
|
25
41
|
|
|
26
42
|
# Veris AI Python SDK
|
|
27
43
|
|
|
44
|
+
[](https://badge.fury.io/py/veris-ai)
|
|
45
|
+
[](https://pypi.org/project/veris-ai/)
|
|
46
|
+
[](https://pepy.tech/project/veris-ai)
|
|
47
|
+
[](https://opensource.org/licenses/MIT)
|
|
48
|
+
[](https://github.com/veris-ai/veris-python-sdk/actions/workflows/test.yml)
|
|
49
|
+
[](https://github.com/astral-sh/ruff)
|
|
50
|
+
|
|
28
51
|
For more information visit us at https://veris.ai
|
|
29
52
|
|
|
30
53
|
A Python package for Veris AI tools with simulation capabilities and FastAPI MCP (Model Context Protocol) integration.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Veris AI Python SDK
|
|
2
2
|
|
|
3
|
+
[](https://badge.fury.io/py/veris-ai)
|
|
4
|
+
[](https://pypi.org/project/veris-ai/)
|
|
5
|
+
[](https://pepy.tech/project/veris-ai)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://github.com/veris-ai/veris-python-sdk/actions/workflows/test.yml)
|
|
8
|
+
[](https://github.com/astral-sh/ruff)
|
|
9
|
+
|
|
3
10
|
For more information visit us at https://veris.ai
|
|
4
11
|
|
|
5
12
|
A Python package for Veris AI tools with simulation capabilities and FastAPI MCP (Model Context Protocol) integration.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "veris-ai"
|
|
7
|
-
version = "1.12.
|
|
7
|
+
version = "1.12.2"
|
|
8
8
|
description = "A Python package for Veris AI tools"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -156,7 +156,7 @@ tag_format = "v{version}"
|
|
|
156
156
|
[tool.uv.sources]
|
|
157
157
|
veris-ai = { workspace = true }
|
|
158
158
|
|
|
159
|
-
[
|
|
159
|
+
[project.optional-dependencies]
|
|
160
160
|
dev = [
|
|
161
161
|
"ruff>=0.12.4",
|
|
162
162
|
"pytest>=8.4.1",
|
|
@@ -83,6 +83,7 @@ def _wrap(
|
|
|
83
83
|
) -> Any: # noqa: ANN401
|
|
84
84
|
"""Wrapped on_invoke_tool that intercepts the tool function."""
|
|
85
85
|
session_id = veris.session_id
|
|
86
|
+
thread_id = veris.thread_id
|
|
86
87
|
the_func = tool_functions.get(tool_id)
|
|
87
88
|
if the_func and session_id:
|
|
88
89
|
# mock_tool_call is synchronous, don't await it
|
|
@@ -91,6 +92,7 @@ def _wrap(
|
|
|
91
92
|
session_id,
|
|
92
93
|
json.loads(parameters),
|
|
93
94
|
tool_options.get(tool_name_inner),
|
|
95
|
+
thread_id=thread_id,
|
|
94
96
|
)
|
|
95
97
|
# Fall back to original if we couldn't extract the function
|
|
96
98
|
return await orig_invoke(ctx, parameters)
|
|
@@ -1571,7 +1571,7 @@ wheels = [
|
|
|
1571
1571
|
|
|
1572
1572
|
[[package]]
|
|
1573
1573
|
name = "veris-ai"
|
|
1574
|
-
version = "1.
|
|
1574
|
+
version = "1.12.1"
|
|
1575
1575
|
source = { editable = "." }
|
|
1576
1576
|
dependencies = [
|
|
1577
1577
|
{ name = "httpx" },
|
|
@@ -1589,7 +1589,7 @@ dependencies = [
|
|
|
1589
1589
|
{ name = "tenacity" },
|
|
1590
1590
|
]
|
|
1591
1591
|
|
|
1592
|
-
[package.
|
|
1592
|
+
[package.optional-dependencies]
|
|
1593
1593
|
agents = [
|
|
1594
1594
|
{ name = "openai-agents" },
|
|
1595
1595
|
]
|
|
@@ -1613,8 +1613,12 @@ instrument = [
|
|
|
1613
1613
|
|
|
1614
1614
|
[package.metadata]
|
|
1615
1615
|
requires-dist = [
|
|
1616
|
+
{ name = "fastapi", marker = "extra == 'fastapi'", specifier = ">=0.116.1" },
|
|
1617
|
+
{ name = "fastapi-mcp", marker = "extra == 'fastapi'", specifier = ">=0.4.0" },
|
|
1616
1618
|
{ name = "httpx", specifier = ">=0.24.0" },
|
|
1617
1619
|
{ name = "logfire", specifier = ">=4.3.3" },
|
|
1620
|
+
{ name = "mypy", marker = "extra == 'dev'", specifier = ">=1.17.0" },
|
|
1621
|
+
{ name = "openai-agents", marker = "extra == 'agents'", specifier = ">=0.2.5" },
|
|
1618
1622
|
{ name = "opentelemetry-api", specifier = ">=1.34.1" },
|
|
1619
1623
|
{ name = "opentelemetry-exporter-otlp", specifier = ">=1.34.1" },
|
|
1620
1624
|
{ name = "opentelemetry-instrumentation", specifier = ">=0.55b1" },
|
|
@@ -1623,28 +1627,19 @@ requires-dist = [
|
|
|
1623
1627
|
{ name = "opentelemetry-instrumentation-mcp", specifier = ">=0.44.1" },
|
|
1624
1628
|
{ name = "opentelemetry-instrumentation-requests", specifier = ">=0.55b1" },
|
|
1625
1629
|
{ name = "opentelemetry-sdk", specifier = ">=1.34.1" },
|
|
1630
|
+
{ name = "pre-commit", marker = "extra == 'dev'", specifier = ">=3.3.3" },
|
|
1626
1631
|
{ name = "pydantic", specifier = ">=2.0.0" },
|
|
1632
|
+
{ name = "pytest", marker = "extra == 'dev'", specifier = ">=8.4.1" },
|
|
1633
|
+
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=1.1.0" },
|
|
1634
|
+
{ name = "pytest-cov", marker = "extra == 'dev'", specifier = ">=6.2.1" },
|
|
1627
1635
|
{ name = "requests", specifier = ">=2.31.0" },
|
|
1636
|
+
{ name = "ruff", marker = "extra == 'dev'", specifier = ">=0.12.4" },
|
|
1628
1637
|
{ name = "tenacity", specifier = ">=9.1.2" },
|
|
1638
|
+
{ name = "types-requests", marker = "extra == 'dev'", specifier = ">=2.32.4.20250611" },
|
|
1639
|
+
{ name = "uvicorn", marker = "extra == 'dev'", specifier = ">=0.30.0" },
|
|
1640
|
+
{ name = "wrapt", marker = "extra == 'instrument'", specifier = ">=1.14.0" },
|
|
1629
1641
|
]
|
|
1630
|
-
|
|
1631
|
-
[package.metadata.requires-dev]
|
|
1632
|
-
agents = [{ name = "openai-agents", specifier = ">=0.2.5" }]
|
|
1633
|
-
dev = [
|
|
1634
|
-
{ name = "mypy", specifier = ">=1.17.0" },
|
|
1635
|
-
{ name = "pre-commit", specifier = ">=3.3.3" },
|
|
1636
|
-
{ name = "pytest", specifier = ">=8.4.1" },
|
|
1637
|
-
{ name = "pytest-asyncio", specifier = ">=1.1.0" },
|
|
1638
|
-
{ name = "pytest-cov", specifier = ">=6.2.1" },
|
|
1639
|
-
{ name = "ruff", specifier = ">=0.12.4" },
|
|
1640
|
-
{ name = "types-requests", specifier = ">=2.32.4.20250611" },
|
|
1641
|
-
{ name = "uvicorn", specifier = ">=0.30.0" },
|
|
1642
|
-
]
|
|
1643
|
-
fastapi = [
|
|
1644
|
-
{ name = "fastapi", specifier = ">=0.116.1" },
|
|
1645
|
-
{ name = "fastapi-mcp", specifier = ">=0.4.0" },
|
|
1646
|
-
]
|
|
1647
|
-
instrument = [{ name = "wrapt", specifier = ">=1.14.0" }]
|
|
1642
|
+
provides-extras = ["dev", "fastapi", "agents", "instrument"]
|
|
1648
1643
|
|
|
1649
1644
|
[[package]]
|
|
1650
1645
|
name = "virtualenv"
|
veris_ai-1.12.0/CHANGELOG.md
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# CHANGELOG
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## v0.2.1 (2025-04-18)
|
|
9
|
-
|
|
10
|
-
### Bug Fixes
|
|
11
|
-
|
|
12
|
-
- Fixes to type conversion for outputs
|
|
13
|
-
([`b8e8e3b`](https://github.com/veris-ai/veris-python-sdk/commit/b8e8e3bbd606654ae3c342f07f7d27c8c9fefa6d))
|
|
14
|
-
|
|
15
|
-
- Update some comment for testing
|
|
16
|
-
([`bf204e7`](https://github.com/veris-ai/veris-python-sdk/commit/bf204e711c6c54da613d2f59a64f8d90e2ba7659))
|
|
17
|
-
|
|
18
|
-
### Continuous Integration
|
|
19
|
-
|
|
20
|
-
- Separate release and publish workflows
|
|
21
|
-
([`0a2ea8b`](https://github.com/veris-ai/veris-python-sdk/commit/0a2ea8bbb393fda6ef60161ff290f37df0a2faa5))
|
|
22
|
-
|
|
23
|
-
- Update ci and warnings for semantic-release
|
|
24
|
-
([`fcbe2cc`](https://github.com/veris-ai/veris-python-sdk/commit/fcbe2cccd22821cf5760126abb6174aa1f63082f))
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## v0.2.0 (2025-04-18)
|
|
28
|
-
|
|
29
|
-
### Chores
|
|
30
|
-
|
|
31
|
-
- Update changelog for 0.1.1
|
|
32
|
-
([`24d7139`](https://github.com/veris-ai/veris-python-sdk/commit/24d713943737abcea6394258e5129ae0a55cb869))
|
|
33
|
-
|
|
34
|
-
- Update semantic release config
|
|
35
|
-
([`6f745e0`](https://github.com/veris-ai/veris-python-sdk/commit/6f745e09263703cfe034ba688b96e4da50759889))
|
|
36
|
-
|
|
37
|
-
### Continuous Integration
|
|
38
|
-
|
|
39
|
-
- Add workflows for release ([#3](https://github.com/veris-ai/veris-python-sdk/pull/3),
|
|
40
|
-
[`3c160e7`](https://github.com/veris-ai/veris-python-sdk/commit/3c160e7e928ed1efb42825b767084df5d451edb5))
|
|
41
|
-
|
|
42
|
-
- Fix publish ci workflow ([#4](https://github.com/veris-ai/veris-python-sdk/pull/4),
|
|
43
|
-
[`47f23e1`](https://github.com/veris-ai/veris-python-sdk/commit/47f23e19cd04b60ab0ae087b6d70b4748350393c))
|
|
44
|
-
|
|
45
|
-
### Features
|
|
46
|
-
|
|
47
|
-
- Remove dependencies and use linter ([#2](https://github.com/veris-ai/veris-python-sdk/pull/2),
|
|
48
|
-
[`4b8c43b`](https://github.com/veris-ai/veris-python-sdk/commit/4b8c43b551265ff9c994f53d29a7ef185b7e3286))
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
## v0.1.1 (2025-04-17)
|
|
52
|
-
|
|
53
|
-
### Features
|
|
54
|
-
|
|
55
|
-
- Updates to package for publishing ([#1](https://github.com/veris-ai/veris-python-sdk/pull/1),
|
|
56
|
-
[`c6f460e`](https://github.com/veris-ai/veris-python-sdk/commit/c6f460ea6e2f8472c120370a14f67f1d8c28626c))
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|