agentmesh_runtime 3.2.1__tar.gz → 3.2.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.
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/PKG-INFO +1 -1
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/pyproject.toml +1 -1
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/src/agent_runtime/deploy.py +4 -4
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/.gitignore +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/LICENSE +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/README.md +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/SECURITY.md +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/src/agent_runtime/__init__.py +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/src/agent_runtime/py.typed +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/tests/test_deploy.py +0 -0
- {agentmesh_runtime-3.2.1 → agentmesh_runtime-3.2.2}/tests/test_runtime_imports.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentmesh_runtime
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.2
|
|
4
4
|
Summary: Public Preview — AgentMesh Runtime: Execution supervisor for multi-agent sessions with privilege rings, saga orchestration, and audit trails
|
|
5
5
|
Project-URL: Homepage, https://github.com/microsoft/agent-governance-toolkit
|
|
6
6
|
Project-URL: Repository, https://github.com/microsoft/agent-governance-toolkit
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agentmesh_runtime"
|
|
7
|
-
version = "3.2.
|
|
7
|
+
version = "3.2.2"
|
|
8
8
|
description = "Public Preview — AgentMesh Runtime: Execution supervisor for multi-agent sessions with privilege rings, saga orchestration, and audit trails"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -87,7 +87,7 @@ class DockerDeployer:
|
|
|
87
87
|
def _run(self, args: list[str], check: bool = True) -> subprocess.CompletedProcess[str]:
|
|
88
88
|
cmd = [self._docker] + args
|
|
89
89
|
logger.debug("Running: %s", " ".join(cmd))
|
|
90
|
-
return subprocess.run(cmd, capture_output=True, text=True, check=check, timeout=60)
|
|
90
|
+
return subprocess.run(cmd, capture_output=True, text=True, check=check, timeout=60) # noqa: S603 — trusted subprocess in deployment script
|
|
91
91
|
|
|
92
92
|
def deploy(self, agent_id: str, image: str, config: GovernanceConfig,
|
|
93
93
|
port: int = 0, env: dict[str, str] | None = None, **kwargs: Any) -> DeploymentResult:
|
|
@@ -103,7 +103,7 @@ class DockerDeployer:
|
|
|
103
103
|
"--cap-drop", "ALL",
|
|
104
104
|
"--security-opt", "no-new-privileges",
|
|
105
105
|
"--read-only",
|
|
106
|
-
"--tmpfs", "/tmp:rw,noexec,nosuid",
|
|
106
|
+
"--tmpfs", "/tmp:rw,noexec,nosuid", # noqa: S108 — Docker tmpfs mount specification, not a hardcoded path
|
|
107
107
|
# Governance config as env vars
|
|
108
108
|
"-e", f"AGT_POLICY_PATH={config.policy_path}",
|
|
109
109
|
"-e", f"AGT_TRUST_LEVEL={config.trust_level}",
|
|
@@ -214,7 +214,7 @@ class KubernetesDeployer:
|
|
|
214
214
|
cmd.extend(["--context", self._context])
|
|
215
215
|
cmd.extend(args)
|
|
216
216
|
logger.debug("Running: %s", " ".join(cmd))
|
|
217
|
-
return subprocess.run(cmd, capture_output=True, text=True, check=check, timeout=120)
|
|
217
|
+
return subprocess.run(cmd, capture_output=True, text=True, check=check, timeout=120) # noqa: S603 — trusted subprocess in deployment script
|
|
218
218
|
|
|
219
219
|
def _build_pod_manifest(self, agent_id: str, image: str, config: GovernanceConfig) -> dict[str, Any]:
|
|
220
220
|
return {
|
|
@@ -260,7 +260,7 @@ class KubernetesDeployer:
|
|
|
260
260
|
"requests": {"cpu": "100m", "memory": "256Mi"},
|
|
261
261
|
"limits": {"cpu": "500m", "memory": "512Mi"},
|
|
262
262
|
},
|
|
263
|
-
"volumeMounts": [{"name": "tmp", "mountPath": "/tmp"}],
|
|
263
|
+
"volumeMounts": [{"name": "tmp", "mountPath": "/tmp"}], # noqa: S108 — Docker container path specification
|
|
264
264
|
},
|
|
265
265
|
],
|
|
266
266
|
"volumes": [{"name": "tmp", "emptyDir": {"sizeLimit": "100Mi"}}],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|