agent-vm-hermes-adapter 0.0.116__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.
- agent_vm_hermes_adapter-0.0.116/.gitignore +88 -0
- agent_vm_hermes_adapter-0.0.116/LICENSE +21 -0
- agent_vm_hermes_adapter-0.0.116/PKG-INFO +10 -0
- agent_vm_hermes_adapter-0.0.116/pyproject.toml +30 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/__init__.py +31 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_gateway_bootstrap.py +542 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_gateway_runtime_client_loop.py +79 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_gateway_runtime_environment.py +659 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_gateway_runtime_process_hooks.py +126 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_gateway_runtime_process_state.py +104 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_gateway_runtime_processes.py +646 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_profile_adapter.py +259 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/managed_tool_portal_capability_tools.py +190 -0
- agent_vm_hermes_adapter-0.0.116/src/agent_vm_hermes_adapter/py.typed +1 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
.pnpm-store/
|
|
4
|
+
__pycache__/
|
|
5
|
+
*.pyc
|
|
6
|
+
.venv/
|
|
7
|
+
venv/
|
|
8
|
+
|
|
9
|
+
# Build outputs
|
|
10
|
+
dist/
|
|
11
|
+
build/
|
|
12
|
+
!packages/agent-vm/src/build/
|
|
13
|
+
!packages/agent-vm/src/build/**
|
|
14
|
+
*.egg-info/
|
|
15
|
+
.eggs/
|
|
16
|
+
|
|
17
|
+
# Swift
|
|
18
|
+
.build/
|
|
19
|
+
.swiftpm/
|
|
20
|
+
DerivedData/
|
|
21
|
+
*.xcodeproj/xcuserdata/
|
|
22
|
+
*.xcworkspace/xcuserdata/
|
|
23
|
+
Package.resolved
|
|
24
|
+
|
|
25
|
+
# IDE
|
|
26
|
+
.idea/
|
|
27
|
+
.vscode/
|
|
28
|
+
*.swp
|
|
29
|
+
*.swo
|
|
30
|
+
|
|
31
|
+
# OS
|
|
32
|
+
**/.DS_Store
|
|
33
|
+
Thumbs.db
|
|
34
|
+
|
|
35
|
+
# Environment
|
|
36
|
+
.env
|
|
37
|
+
.env.local
|
|
38
|
+
.env.*.local
|
|
39
|
+
.dev.vars
|
|
40
|
+
system.json
|
|
41
|
+
|
|
42
|
+
# Test / Coverage
|
|
43
|
+
.coverage
|
|
44
|
+
htmlcov/
|
|
45
|
+
coverage/
|
|
46
|
+
!packages/agent-portal-sdk/contract-fixtures/portable-contracts/coverage/
|
|
47
|
+
!packages/agent-portal-sdk/contract-fixtures/portable-contracts/coverage/*.fixture.json
|
|
48
|
+
.pytest_cache/
|
|
49
|
+
.ruff_cache/
|
|
50
|
+
/state/
|
|
51
|
+
/runtime/
|
|
52
|
+
workspaces/
|
|
53
|
+
tmp/
|
|
54
|
+
/tmp/
|
|
55
|
+
temp/
|
|
56
|
+
/temp/
|
|
57
|
+
test-results/
|
|
58
|
+
playwright-report/
|
|
59
|
+
|
|
60
|
+
# Logs
|
|
61
|
+
*.log
|
|
62
|
+
npm-debug.log*
|
|
63
|
+
|
|
64
|
+
# Generated
|
|
65
|
+
*.gen.ts
|
|
66
|
+
__generated__/
|
|
67
|
+
*.tgz
|
|
68
|
+
vm-images/gateways/*/vendor/
|
|
69
|
+
config/**
|
|
70
|
+
|
|
71
|
+
# Secrets (never commit)
|
|
72
|
+
*.pem
|
|
73
|
+
*.key
|
|
74
|
+
credentials.json
|
|
75
|
+
|
|
76
|
+
# Gondolin image build cache
|
|
77
|
+
build-cache/
|
|
78
|
+
|
|
79
|
+
# Scaffold tracking
|
|
80
|
+
.scaffold-project.json
|
|
81
|
+
.agent-vm-smoke-cache/
|
|
82
|
+
cache/
|
|
83
|
+
.cache/
|
|
84
|
+
*.bak
|
|
85
|
+
*.tgz
|
|
86
|
+
.npmrc
|
|
87
|
+
!.npmrc
|
|
88
|
+
.DS_Store
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 Shravan Sunder
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: agent-vm-hermes-adapter
|
|
3
|
+
Version: 0.0.116
|
|
4
|
+
Summary: Partial managed Hermes profile adapter for agent-vm.
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Python: <3.14,>=3.13
|
|
8
|
+
Requires-Dist: agent-vm-agent-portal-sdk==0.0.116
|
|
9
|
+
Requires-Dist: hermes-agent==0.18.2
|
|
10
|
+
Requires-Dist: pydantic<3,>=2.12.0
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "agent-vm-hermes-adapter"
|
|
3
|
+
version = "0.0.116"
|
|
4
|
+
description = "Partial managed Hermes profile adapter for agent-vm."
|
|
5
|
+
requires-python = ">=3.13,<3.14"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
dependencies = ["agent-vm-agent-portal-sdk==0.0.116", "hermes-agent==0.18.2", "pydantic>=2.12.0,<3"]
|
|
8
|
+
|
|
9
|
+
[project.scripts]
|
|
10
|
+
agent-vm-hermes-gateway = "agent_vm_hermes_adapter.managed_gateway_bootstrap:main"
|
|
11
|
+
|
|
12
|
+
[project.entry-points."hermes_agent.plugins"]
|
|
13
|
+
agent-vm-tool-portal = "agent_vm_hermes_adapter.managed_tool_portal_capability_tools"
|
|
14
|
+
|
|
15
|
+
[build-system]
|
|
16
|
+
requires = ["hatchling>=1.27.0"]
|
|
17
|
+
build-backend = "hatchling.build"
|
|
18
|
+
|
|
19
|
+
[tool.hatch.build.targets.sdist]
|
|
20
|
+
include = ["src/agent_vm_hermes_adapter"]
|
|
21
|
+
|
|
22
|
+
[tool.hatch.build.targets.wheel]
|
|
23
|
+
packages = ["src/agent_vm_hermes_adapter"]
|
|
24
|
+
|
|
25
|
+
[tool.ruff]
|
|
26
|
+
line-length = 100
|
|
27
|
+
target-version = "py313"
|
|
28
|
+
|
|
29
|
+
[tool.ruff.lint]
|
|
30
|
+
select = ["E", "F", "I", "UP"]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""Managed Hermes Gateway Runtime adapter."""
|
|
2
|
+
|
|
3
|
+
from .managed_gateway_bootstrap import (
|
|
4
|
+
HermesManagedEnvironmentHooks,
|
|
5
|
+
load_managed_adapter_material,
|
|
6
|
+
run_managed_hermes_gateway,
|
|
7
|
+
)
|
|
8
|
+
from .managed_gateway_runtime_environment import (
|
|
9
|
+
HermesGatewayRuntimeEnvironment,
|
|
10
|
+
HermesGatewayRuntimeEnvironmentFactory,
|
|
11
|
+
HermesGatewayRuntimeOutcomeError,
|
|
12
|
+
)
|
|
13
|
+
from .managed_profile_adapter import (
|
|
14
|
+
CanonicalManagedAgentProjection,
|
|
15
|
+
HermesManagedAdapter,
|
|
16
|
+
HermesManagedAdapterConfig,
|
|
17
|
+
HermesProfileAdmissionError,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
__all__ = (
|
|
21
|
+
"CanonicalManagedAgentProjection",
|
|
22
|
+
"HermesManagedAdapter",
|
|
23
|
+
"HermesManagedAdapterConfig",
|
|
24
|
+
"HermesProfileAdmissionError",
|
|
25
|
+
"HermesGatewayRuntimeEnvironment",
|
|
26
|
+
"HermesGatewayRuntimeEnvironmentFactory",
|
|
27
|
+
"HermesGatewayRuntimeOutcomeError",
|
|
28
|
+
"HermesManagedEnvironmentHooks",
|
|
29
|
+
"load_managed_adapter_material",
|
|
30
|
+
"run_managed_hermes_gateway",
|
|
31
|
+
)
|