solace-agent-mesh 1.0.1__py3-none-any.whl → 1.0.2__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.
Potentially problematic release.
This version of solace-agent-mesh might be problematic. Click here for more details.
- solace_agent_mesh/__init__.py +5 -0
- solace_agent_mesh/agent/adk/callbacks.py +23 -1
- solace_agent_mesh/agent/adk/filesystem_artifact_service.py +2 -2
- solace_agent_mesh/agent/adk/runner.py +10 -6
- solace_agent_mesh/agent/adk/services.py +1 -1
- solace_agent_mesh/agent/protocol/event_handlers.py +14 -39
- solace_agent_mesh/agent/sac/component.py +145 -37
- solace_agent_mesh/agent/sac/task_execution_context.py +15 -6
- solace_agent_mesh/agent/tools/general_agent_tools.py +4 -2
- solace_agent_mesh/agent/tools/peer_agent_tool.py +6 -5
- solace_agent_mesh/assets/docs/404.html +3 -3
- solace_agent_mesh/assets/docs/assets/js/1c6e87d2.a8c5ce5a.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/f897a61a.f8c53b0f.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/{main.7ed3319f.js → main.c6286d7c.js} +2 -2
- solace_agent_mesh/assets/docs/assets/js/{runtime~main.d9520ae2.js → runtime~main.d5133813.js} +1 -1
- solace_agent_mesh/assets/docs/docs/documentation/concepts/agents/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/concepts/architecture/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/concepts/cli/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/concepts/gateways/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/concepts/orchestrator/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/concepts/plugins/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/deployment/debugging/index.html +21 -4
- solace_agent_mesh/assets/docs/docs/documentation/deployment/deploy/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/deployment/observability/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/enterprise/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/component-overview/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/installation/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/introduction/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/quick-start/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/bedrock-agents/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/custom-agent/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/event-mesh-gateway/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/mcp-integration/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/mongodb-integration/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/rest-gateway/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/slack-integration/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/sql-database/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/artifact-management/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/audio-tools/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/data-analysis-tools/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/embeds/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-agents/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-gateways/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/creating-service-providers/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/solace-ai-connector/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/structure/index.html +3 -3
- solace_agent_mesh/assets/docs/lunr-index-1754075282978.json +1 -0
- solace_agent_mesh/assets/docs/lunr-index.json +1 -1
- solace_agent_mesh/assets/docs/search-doc-1754075282978.json +1 -0
- solace_agent_mesh/assets/docs/search-doc.json +1 -1
- solace_agent_mesh/cli/__init__.py +1 -1
- solace_agent_mesh/cli/commands/init_cmd/env_step.py +8 -0
- solace_agent_mesh/cli/commands/init_cmd/orchestrator_step.py +20 -0
- solace_agent_mesh/cli/commands/plugin_cmd/catalog_cmd.py +1 -0
- solace_agent_mesh/cli/commands/plugin_cmd/official_registry.py +2 -1
- solace_agent_mesh/client/webui/frontend/static/assets/main-D11Lmy9p.css +1 -0
- solace_agent_mesh/client/webui/frontend/static/assets/{main-An0a5j5k.js → main-Gfk3BYn5.js} +96 -96
- solace_agent_mesh/client/webui/frontend/static/index.html +2 -2
- solace_agent_mesh/common/utils/initializer.py +51 -0
- solace_agent_mesh/config_portal/backend/plugin_catalog/constants.py +2 -1
- solace_agent_mesh/config_portal/backend/plugin_catalog/registry_manager.py +6 -2
- solace_agent_mesh/config_portal/backend/plugin_catalog/scraper.py +1 -5
- solace_agent_mesh/config_portal/backend/plugin_catalog_server.py +1 -0
- solace_agent_mesh/config_portal/backend/server.py +1 -0
- solace_agent_mesh/config_portal/frontend/static/client/assets/{_index-DNxCwAGB.js → _index-_7yox_eh.js} +25 -25
- solace_agent_mesh/config_portal/frontend/static/client/assets/{manifest-d2b54a97.js → manifest-e5c3acfe.js} +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/index.html +1 -1
- solace_agent_mesh/gateway/http_sse/routers/artifacts.py +9 -3
- solace_agent_mesh/templates/gateway_component_template.py +75 -44
- solace_agent_mesh/templates/logging_config_template.ini +64 -0
- {solace_agent_mesh-1.0.1.dist-info → solace_agent_mesh-1.0.2.dist-info}/METADATA +2 -2
- {solace_agent_mesh-1.0.1.dist-info → solace_agent_mesh-1.0.2.dist-info}/RECORD +77 -75
- solace_agent_mesh/assets/docs/assets/js/1c6e87d2.23bccffb.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/f897a61a.2c2e152c.js +0 -1
- solace_agent_mesh/assets/docs/lunr-index-1753813536522.json +0 -1
- solace_agent_mesh/assets/docs/search-doc-1753813536522.json +0 -1
- solace_agent_mesh/client/webui/frontend/static/assets/main-Bu5-4Bac.css +0 -1
- /solace_agent_mesh/assets/docs/assets/js/{main.7ed3319f.js.LICENSE.txt → main.c6286d7c.js.LICENSE.txt} +0 -0
- {solace_agent_mesh-1.0.1.dist-info → solace_agent_mesh-1.0.2.dist-info}/WHEEL +0 -0
- {solace_agent_mesh-1.0.1.dist-info → solace_agent_mesh-1.0.2.dist-info}/entry_points.txt +0 -0
- {solace_agent_mesh-1.0.1.dist-info → solace_agent_mesh-1.0.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/assets/favicon-BLgzUch9.ico" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Solace Agent Mesh</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/main-
|
|
8
|
+
<script type="module" crossorigin src="/assets/main-Gfk3BYn5.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/client-bp6u3qVZ.js">
|
|
10
|
-
<link rel="stylesheet" crossorigin href="/assets/main-
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/main-D11Lmy9p.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
13
13
|
<div id="root"></div>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import json
|
|
3
|
+
import yaml
|
|
4
|
+
from solace_ai_connector.common.log import log
|
|
5
|
+
|
|
6
|
+
_has_initialized_system = False
|
|
7
|
+
|
|
8
|
+
def initialize():
|
|
9
|
+
global _has_initialized_system
|
|
10
|
+
if not _has_initialized_system:
|
|
11
|
+
_has_initialized_system = True
|
|
12
|
+
else:
|
|
13
|
+
return
|
|
14
|
+
|
|
15
|
+
try:
|
|
16
|
+
from solace_a2a_agent_enterprise.init_enterprise import initialize_enterprise_features
|
|
17
|
+
except ImportError:
|
|
18
|
+
# Community edition
|
|
19
|
+
# Contact Solace support for enterprise features
|
|
20
|
+
return
|
|
21
|
+
|
|
22
|
+
enterprise_config = os.getenv("SAM_ENTERPRISE_CONFIG")
|
|
23
|
+
if enterprise_config and isinstance(enterprise_config, str):
|
|
24
|
+
if enterprise_config.endswith('.yaml') or enterprise_config.endswith('.yml'):
|
|
25
|
+
try:
|
|
26
|
+
with open(enterprise_config, 'r', encoding='utf-8') as file:
|
|
27
|
+
enterprise_config = yaml.safe_load(file)
|
|
28
|
+
except Exception as e:
|
|
29
|
+
log.error("Failed to load YAML config from SAM_ENTERPRISE_CONFIG: %s", e, exc_info=True)
|
|
30
|
+
raise
|
|
31
|
+
elif enterprise_config.endswith('.json'):
|
|
32
|
+
try:
|
|
33
|
+
with open(enterprise_config, 'r', encoding='utf-8') as file:
|
|
34
|
+
enterprise_config = json.load(file)
|
|
35
|
+
except Exception as e:
|
|
36
|
+
log.error("Failed to load JSON config from SAM_ENTERPRISE_CONFIG: %s", e, exc_info=True)
|
|
37
|
+
raise
|
|
38
|
+
else:
|
|
39
|
+
try:
|
|
40
|
+
enterprise_config = json.loads(enterprise_config)
|
|
41
|
+
except json.JSONDecodeError as e:
|
|
42
|
+
log.error("Invalid JSON in SAM_ENTERPRISE_CONFIG: %s", e, exc_info=True)
|
|
43
|
+
raise
|
|
44
|
+
else:
|
|
45
|
+
enterprise_config = {}
|
|
46
|
+
|
|
47
|
+
try:
|
|
48
|
+
initialize_enterprise_features(enterprise_config)
|
|
49
|
+
except Exception as e:
|
|
50
|
+
log.error("Failed to initialize enterprise features: %s", e, exc_info=True)
|
|
51
|
+
raise
|
|
@@ -3,6 +3,7 @@ from pathlib import Path
|
|
|
3
3
|
|
|
4
4
|
try:
|
|
5
5
|
from cli.utils import get_sam_cli_home_dir
|
|
6
|
+
|
|
6
7
|
SAM_HOME = get_sam_cli_home_dir()
|
|
7
8
|
except ImportError:
|
|
8
9
|
print(
|
|
@@ -14,7 +15,7 @@ except ImportError:
|
|
|
14
15
|
SAM_HOME.mkdir(parents=True, exist_ok=True)
|
|
15
16
|
|
|
16
17
|
DEFAULT_OFFICIAL_REGISTRY_URL = (
|
|
17
|
-
|
|
18
|
+
"https://github.com/SolaceLabs/solace-agent-mesh-core-plugins"
|
|
18
19
|
)
|
|
19
20
|
OFFICIAL_REGISTRY_GIT_BRANCH = "main"
|
|
20
21
|
IGNORE_OFFICIAL_FLAG_REPOS = []
|
|
@@ -6,7 +6,11 @@ from typing import List, Optional, Dict, Any
|
|
|
6
6
|
from pydantic import ValidationError
|
|
7
7
|
|
|
8
8
|
from .models import Registry
|
|
9
|
-
from .constants import
|
|
9
|
+
from .constants import (
|
|
10
|
+
DEFAULT_OFFICIAL_REGISTRY_URL,
|
|
11
|
+
USER_REGISTRIES_PATH,
|
|
12
|
+
OFFICIAL_REGISTRY_GIT_BRANCH,
|
|
13
|
+
)
|
|
10
14
|
|
|
11
15
|
|
|
12
16
|
class RegistryManager:
|
|
@@ -33,7 +37,7 @@ class RegistryManager:
|
|
|
33
37
|
),
|
|
34
38
|
is_default=True,
|
|
35
39
|
is_official_source=True,
|
|
36
|
-
git_branch=OFFICIAL_REGISTRY_GIT_BRANCH
|
|
40
|
+
git_branch=OFFICIAL_REGISTRY_GIT_BRANCH,
|
|
37
41
|
)
|
|
38
42
|
|
|
39
43
|
registries_map: Dict[str, Registry] = {
|
|
@@ -250,11 +250,7 @@ class PluginScraper:
|
|
|
250
250
|
kwargs = {}
|
|
251
251
|
if registry.git_branch:
|
|
252
252
|
kwargs["branch"] = registry.git_branch
|
|
253
|
-
git.Repo.clone_from(
|
|
254
|
-
registry.path_or_url,
|
|
255
|
-
repo_local_path,
|
|
256
|
-
**kwargs
|
|
257
|
-
)
|
|
253
|
+
git.Repo.clone_from(registry.path_or_url, repo_local_path, **kwargs)
|
|
258
254
|
|
|
259
255
|
for item in repo_local_path.iterdir():
|
|
260
256
|
if item.is_dir() and not item.name.startswith("."):
|