agentmesh_runtime 3.6.0__tar.gz → 3.7.0__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.
@@ -69,6 +69,7 @@ bld/
69
69
 
70
70
  # Build results on 'Bin' directories
71
71
  **/[Bb]in/*
72
+ !agent-governance-copilot-cli/bin/agt-copilot.mjs
72
73
  # Uncomment if you have tasks that rely on *.refresh files to move binaries
73
74
  # (https://github.com/github/gitignore/pull/3736)
74
75
  #!**/[Bb]in/*.refresh
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentmesh_runtime
3
- Version: 3.6.0
3
+ Version: 3.7.0
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.6.0"
7
+ version = "3.7.0"
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"}
@@ -11,6 +11,7 @@ from __future__ import annotations
11
11
 
12
12
  import json
13
13
  import logging
14
+ import os
14
15
  import re
15
16
  import shutil
16
17
  import subprocess
@@ -322,9 +323,10 @@ class KubernetesDeployer:
322
323
  try:
323
324
  # Ensure namespace
324
325
  self._run(["create", "namespace", self._namespace], check=False)
325
- tmp_dir = Path(tempfile.gettempdir())
326
- manifest_path = tmp_dir / f"agt-{agent_id}-manifest.json"
326
+ fd, tmp_path = tempfile.mkstemp(prefix=f"agt-{agent_id}-", suffix=".json")
327
+ manifest_path = Path(tmp_path)
327
328
  try:
329
+ os.close(fd)
328
330
  manifest_path.write_text(manifest_json, encoding="utf-8")
329
331
  self._run(["apply", "-f", str(manifest_path)])
330
332
  finally: