coreason-manifest 0.5.0__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.
- coreason_manifest/server.py +2 -2
- {coreason_manifest-0.5.0.dist-info → coreason_manifest-0.5.1.dist-info}/METADATA +6 -6
- {coreason_manifest-0.5.0.dist-info → coreason_manifest-0.5.1.dist-info}/RECORD +6 -6
- {coreason_manifest-0.5.0.dist-info → coreason_manifest-0.5.1.dist-info}/WHEEL +0 -0
- {coreason_manifest-0.5.0.dist-info → coreason_manifest-0.5.1.dist-info}/licenses/LICENSE +0 -0
- {coreason_manifest-0.5.0.dist-info → coreason_manifest-0.5.1.dist-info}/licenses/NOTICE +0 -0
coreason_manifest/server.py
CHANGED
|
@@ -98,10 +98,10 @@ async def validate_manifest(request: Request) -> Union[ValidationResponse, JSONR
|
|
|
98
98
|
except ManifestSyntaxError as e:
|
|
99
99
|
# Return 422 with the error
|
|
100
100
|
resp = ValidationResponse(valid=False, policy_violations=[f"Syntax Error: {str(e)}"])
|
|
101
|
-
return JSONResponse(status_code=status.
|
|
101
|
+
return JSONResponse(status_code=status.HTTP_422_UNPROCESSABLE_CONTENT, content=resp.model_dump())
|
|
102
102
|
except PolicyViolationError as e:
|
|
103
103
|
resp = ValidationResponse(valid=False, policy_violations=e.violations)
|
|
104
|
-
return JSONResponse(status_code=status.
|
|
104
|
+
return JSONResponse(status_code=status.HTTP_422_UNPROCESSABLE_CONTENT, content=resp.model_dump())
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
@app.get("/health") # type: ignore[misc]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: coreason_manifest
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: This package is the definitive source of truth. If it isn't in the manifest, it doesn't exist. If it violates the manifest, it doesn't run.
|
|
5
5
|
License: # The Prosperity Public License 3.0.0
|
|
6
6
|
|
|
@@ -63,20 +63,20 @@ License-File: LICENSE
|
|
|
63
63
|
License-File: NOTICE
|
|
64
64
|
Author: Gowtham A Rao
|
|
65
65
|
Author-email: gowtham.rao@coreason.ai
|
|
66
|
-
Requires-Python: >=3.
|
|
66
|
+
Requires-Python: >=3.12
|
|
67
67
|
Classifier: License :: Other/Proprietary License
|
|
68
68
|
Classifier: Programming Language :: Python :: 3.12
|
|
69
69
|
Classifier: Operating System :: OS Independent
|
|
70
70
|
Requires-Dist: aiofiles (>=23.2.1,<24.0.0)
|
|
71
71
|
Requires-Dist: anyio (>=4.12.1,<5.0.0)
|
|
72
|
-
Requires-Dist: coreason-identity (>=0.1
|
|
73
|
-
Requires-Dist: fastapi (>=0.
|
|
72
|
+
Requires-Dist: coreason-identity (>=0.4.1,<0.5.0)
|
|
73
|
+
Requires-Dist: fastapi (>=0.128.0,<0.129.0)
|
|
74
74
|
Requires-Dist: httpx (>=0.28.1,<0.29.0)
|
|
75
|
-
Requires-Dist: jsonschema (>=4.
|
|
75
|
+
Requires-Dist: jsonschema (>=4.26.0,<5.0.0)
|
|
76
76
|
Requires-Dist: loguru (>=0.7.2,<0.8.0)
|
|
77
77
|
Requires-Dist: pydantic (>=2.12.5,<3.0.0)
|
|
78
78
|
Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
|
|
79
|
-
Requires-Dist: uvicorn (>=0.
|
|
79
|
+
Requires-Dist: uvicorn (>=0.40.0,<0.41.0)
|
|
80
80
|
Project-URL: Documentation, https://github.com/CoReason-AI/coreason_manifest
|
|
81
81
|
Project-URL: Homepage, https://github.com/CoReason-AI/coreason_manifest
|
|
82
82
|
Project-URL: Repository, https://github.com/CoReason-AI/coreason_manifest
|
|
@@ -10,12 +10,12 @@ coreason_manifest/policies/tbom.json,sha256=rSn4V44_IdFqCC86J3Jc31qQKTV4J5BdmyO0
|
|
|
10
10
|
coreason_manifest/policy.py,sha256=vvEivq5HSjv-bMSrZ5VMM3eTomYFp39SBtuFajG9RU4,5009
|
|
11
11
|
coreason_manifest/schemas/__init__.py,sha256=9TMs6jWKCIewAKkj-u0tq9c6N_-0CU6b5s9q6MTS6v4,17
|
|
12
12
|
coreason_manifest/schemas/agent.schema.json,sha256=VigUX3ltX7YaW9P7n0DNYGNOf8C6VCuXNy71u3LB9i4,6812
|
|
13
|
-
coreason_manifest/server.py,sha256=
|
|
13
|
+
coreason_manifest/server.py,sha256=ezuk-4sABF92U4cY1ppYJGJf8q6yeoteVlrwnmk7Jis,4253
|
|
14
14
|
coreason_manifest/utils/__init__.py,sha256=Q9gXiBtX3mD9GTu4z0JDHSHkbXC-MRHagrOaOmRH_1Q,435
|
|
15
15
|
coreason_manifest/utils/logger.py,sha256=A7E6Hd_Jk1XDUajNEJQl-WtUv9M2LT76b4_TsbxnILw,1227
|
|
16
16
|
coreason_manifest/validator.py,sha256=v33EzKroRwLEjZeuRRpTB7cqB38op3DV2EZpZhJ80a0,2240
|
|
17
|
-
coreason_manifest-0.5.
|
|
18
|
-
coreason_manifest-0.5.
|
|
19
|
-
coreason_manifest-0.5.
|
|
20
|
-
coreason_manifest-0.5.
|
|
21
|
-
coreason_manifest-0.5.
|
|
17
|
+
coreason_manifest-0.5.1.dist-info/METADATA,sha256=7BttvVoqqTsQwYR34ih_iLY2kz1_TxsotrbXwTiGF2k,7421
|
|
18
|
+
coreason_manifest-0.5.1.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
|
|
19
|
+
coreason_manifest-0.5.1.dist-info/licenses/LICENSE,sha256=3tYb7ZQe7sVXcbNmX22fDESFjOSIlCZodUGpZMkuSlk,3063
|
|
20
|
+
coreason_manifest-0.5.1.dist-info/licenses/NOTICE,sha256=tqzUyP9VTCGxoHLgBI0AC1i0G7m_PSyESFL8Jwuw0dA,610
|
|
21
|
+
coreason_manifest-0.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|