solace-agent-mesh 1.0.5__py3-none-any.whl → 1.0.7__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/agent/adk/artifacts/__init__.py +1 -0
- solace_agent_mesh/agent/adk/{filesystem_artifact_service.py → artifacts/filesystem_artifact_service.py} +14 -15
- solace_agent_mesh/agent/adk/artifacts/s3_artifact_service.py +440 -0
- solace_agent_mesh/agent/adk/callbacks.py +123 -159
- solace_agent_mesh/agent/adk/embed_resolving_mcp_toolset.py +316 -0
- solace_agent_mesh/agent/adk/intelligent_mcp_callbacks.py +414 -0
- solace_agent_mesh/agent/adk/mcp_content_processor.py +665 -0
- solace_agent_mesh/agent/adk/services.py +35 -1
- solace_agent_mesh/agent/adk/setup.py +85 -45
- solace_agent_mesh/agent/adk/tool_wrapper.py +19 -3
- solace_agent_mesh/agent/protocol/event_handlers.py +1 -1
- solace_agent_mesh/agent/sac/app.py +67 -0
- solace_agent_mesh/agent/sac/component.py +14 -86
- solace_agent_mesh/assets/docs/404.html +3 -3
- solace_agent_mesh/assets/docs/assets/js/04989206.b9dfe831.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/0e682baa.b3bbde9a.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/1023fc19.364235d5.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/1523c6b4.1b0ec6f9.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/166ab619.e8f3a7c7.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/21ceee5f.3bf39250.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/3d406171.7d02a73b.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/42b3f8d8.8ccb9901.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/442a8107.b3159bb2.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/4c2787c2.fc6804f2.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/5b4258a4.0d080cd9.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/75384d09.ccd480c4.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/768e31b0.8b51cd70.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/945fb41e.c63791d1.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/{9eff14a2.036c35ea.js → 9eff14a2.472b0310.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/a3a92b25.4b7fa6a2.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/aba87c2f.76376d7c.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/ae4415af.7a2f0bbf.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/b7006a3a.73a79653.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/beecea0d.ae31f6a7.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/c2c06897.587b4af5.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/{cd3d4052.ca6eed8c.js → cd3d4052.b6535013.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/f284c35a.731836ad.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/f897a61a.0aa29dbb.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/main.d79f063b.js +2 -0
- solace_agent_mesh/assets/docs/assets/js/runtime~main.6415ad00.js +1 -0
- solace_agent_mesh/assets/docs/docs/documentation/concepts/agents/index.html +28 -4
- solace_agent_mesh/assets/docs/docs/documentation/concepts/architecture/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/concepts/cli/index.html +8 -8
- solace_agent_mesh/assets/docs/docs/documentation/concepts/gateways/index.html +5 -5
- solace_agent_mesh/assets/docs/docs/documentation/concepts/orchestrator/index.html +5 -5
- solace_agent_mesh/assets/docs/docs/documentation/concepts/plugins/index.html +34 -5
- solace_agent_mesh/assets/docs/docs/documentation/deployment/debugging/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/deployment/deploy/index.html +5 -5
- solace_agent_mesh/assets/docs/docs/documentation/deployment/observability/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/component-overview/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/configurations/index.html +72 -0
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/installation/index.html +5 -5
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/introduction/index.html +7 -7
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/quick-start/index.html +35 -16
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/bedrock-agents/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/custom-agent/index.html +17 -11
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/event-mesh-gateway/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/mcp-integration/index.html +5 -5
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/mongodb-integration/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/rag-integration/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/rest-gateway/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/slack-integration/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/sql-database/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/artifact-management/index.html +8 -8
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/audio-tools/index.html +14 -14
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/data-analysis-tools/index.html +8 -8
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/embeds/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-agents/index.html +35 -23
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-gateways/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/creating-service-providers/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/solace-ai-connector/index.html +4 -4
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/structure/index.html +4 -4
- solace_agent_mesh/assets/docs/lunr-index-1756146501924.json +1 -0
- solace_agent_mesh/assets/docs/lunr-index.json +1 -1
- solace_agent_mesh/assets/docs/search-doc-1756146501924.json +1 -0
- solace_agent_mesh/assets/docs/search-doc.json +1 -1
- solace_agent_mesh/assets/docs/sitemap.xml +1 -1
- solace_agent_mesh/cli/__init__.py +1 -1
- solace_agent_mesh/cli/commands/add_cmd/add_cmd_llm.txt +1 -1
- solace_agent_mesh/cli/commands/add_cmd/agent_cmd.py +67 -10
- solace_agent_mesh/cli/commands/add_cmd/gateway_cmd.py +2 -2
- solace_agent_mesh/cli/commands/eval_cmd.py +8 -2
- solace_agent_mesh/cli/commands/init_cmd/__init__.py +20 -2
- solace_agent_mesh/cli/commands/init_cmd/env_step.py +25 -1
- solace_agent_mesh/cli/commands/init_cmd/orchestrator_step.py +45 -1
- solace_agent_mesh/cli/utils.py +21 -12
- solace_agent_mesh/client/webui/frontend/static/assets/main-BucUdn9m.js +673 -0
- solace_agent_mesh/client/webui/frontend/static/index.html +1 -1
- solace_agent_mesh/common/a2a_protocol.py +1 -1
- solace_agent_mesh/common/utils/initializer.py +4 -6
- solace_agent_mesh/common/utils/mime_helpers.py +60 -1
- solace_agent_mesh/config_portal/backend/server.py +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/assets/{_index-xSu2leR8.js → _index-MqsrTd6g.js} +9 -9
- solace_agent_mesh/config_portal/frontend/static/client/assets/{manifest-950eb3be.js → manifest-28271392.js} +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/index.html +1 -1
- solace_agent_mesh/core_a2a/core_a2a_llm.txt +1 -1
- solace_agent_mesh/core_a2a/service.py +1 -1
- solace_agent_mesh/evaluation/run.py +149 -15
- solace_agent_mesh/evaluation/summary_builder.py +5 -3
- solace_agent_mesh/gateway/http_sse/dependencies.py +1 -1
- solace_agent_mesh/gateway/http_sse/http_sse_llm.txt +1 -1
- solace_agent_mesh/gateway/http_sse/services/task_service.py +1 -1
- solace_agent_mesh/llm_detail.txt +2 -2
- solace_agent_mesh/templates/agent_template.yaml +1 -1
- solace_agent_mesh/templates/plugin_agent_config_template.yaml +3 -3
- solace_agent_mesh/templates/plugin_readme_template.md +1 -1
- solace_agent_mesh/templates/shared_config.yaml +8 -1
- {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/METADATA +5 -2
- {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/RECORD +114 -109
- solace_agent_mesh/assets/docs/assets/js/04989206.da8246cd.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/0e682baa.79f0ab22.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/1023fc19.8e6d174c.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/1523c6b4.91c7bc01.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/166ab619.7d97ccaf.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/21ceee5f.614fa8dd.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/3d406171.9b081d5f.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/42b3f8d8.36090198.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/442a8107.5ba94b65.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/4c2787c2.66ee00e9.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/5b4258a4.bda20761.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/75384d09.c3991823.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/768e31b0.a12673db.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/945fb41e.74d728aa.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/a3a92b25.26ca071f.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/aba87c2f.a6b84da6.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/ae4415af.96189a93.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/b7006a3a.38c0cf3d.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/bb2ef573.56931473.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/c2c06897.63b76e9e.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/f284c35a.5aff74ab.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/f897a61a.862b0514.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/main.946fa17b.js +0 -2
- solace_agent_mesh/assets/docs/assets/js/runtime~main.aa687c82.js +0 -1
- solace_agent_mesh/assets/docs/docs/documentation/enterprise/index.html +0 -17
- solace_agent_mesh/assets/docs/lunr-index-1755275703209.json +0 -1
- solace_agent_mesh/assets/docs/search-doc-1755275703209.json +0 -1
- solace_agent_mesh/client/webui/frontend/static/assets/main-DzKPMTRs.js +0 -673
- /solace_agent_mesh/assets/docs/assets/js/{main.946fa17b.js.LICENSE.txt → main.d79f063b.js.LICENSE.txt} +0 -0
- {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/WHEEL +0 -0
- {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/entry_points.txt +0 -0
- {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
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-BucUdn9m.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/client-bp6u3qVZ.js">
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/main-BCpII1-0.css">
|
|
11
11
|
</head>
|
|
@@ -34,7 +34,7 @@ A2A_STATUS_SIGNAL_STORAGE_KEY = "temp:a2a_status_signals_collected"
|
|
|
34
34
|
def get_a2a_base_topic(namespace: str) -> str:
|
|
35
35
|
"""Returns the base topic prefix for all A2A communication."""
|
|
36
36
|
if not namespace:
|
|
37
|
-
raise ValueError("
|
|
37
|
+
raise ValueError("namespace cannot be empty.")
|
|
38
38
|
return f"{namespace.rstrip('/')}/{A2A_BASE_PATH}"
|
|
39
39
|
|
|
40
40
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import json
|
|
3
|
-
import yaml
|
|
4
3
|
from solace_ai_connector.common.log import log
|
|
5
4
|
from solace_ai_connector.main import load_config
|
|
6
5
|
|
|
@@ -20,30 +19,29 @@ def initialize():
|
|
|
20
19
|
# Contact Solace support for enterprise features
|
|
21
20
|
return
|
|
22
21
|
|
|
23
|
-
enterprise_config = os.getenv("
|
|
22
|
+
enterprise_config = os.getenv("SAM_AUTHORIZATION_CONFIG")
|
|
24
23
|
if enterprise_config and isinstance(enterprise_config, str):
|
|
25
24
|
if enterprise_config.endswith('.yaml') or enterprise_config.endswith('.yml'):
|
|
26
25
|
try:
|
|
27
26
|
enterprise_config = load_config(enterprise_config)
|
|
28
27
|
except Exception as e:
|
|
29
|
-
log.error("Failed to load YAML config from
|
|
28
|
+
log.error("Failed to load YAML config from SAM_AUTHORIZATION_CONFIG: %s", e, exc_info=True)
|
|
30
29
|
raise
|
|
31
30
|
elif enterprise_config.endswith('.json'):
|
|
32
31
|
try:
|
|
33
32
|
with open(enterprise_config, 'r', encoding='utf-8') as file:
|
|
34
33
|
enterprise_config = json.load(file)
|
|
35
34
|
except Exception as e:
|
|
36
|
-
log.error("Failed to load JSON config from
|
|
35
|
+
log.error("Failed to load JSON config from SAM_AUTHORIZATION_CONFIG: %s", e, exc_info=True)
|
|
37
36
|
raise
|
|
38
37
|
else:
|
|
39
38
|
try:
|
|
40
39
|
enterprise_config = json.loads(enterprise_config)
|
|
41
40
|
except json.JSONDecodeError as e:
|
|
42
|
-
log.error("Invalid JSON in
|
|
41
|
+
log.error("Invalid JSON in SAM_AUTHORIZATION_CONFIG: %s", e, exc_info=True)
|
|
43
42
|
raise
|
|
44
43
|
else:
|
|
45
44
|
enterprise_config = {}
|
|
46
|
-
return
|
|
47
45
|
|
|
48
46
|
try:
|
|
49
47
|
initialize_enterprise_features(enterprise_config)
|
|
@@ -103,4 +103,63 @@ def is_text_based_file(mime_type: Optional[str], content_bytes: Optional[bytes]
|
|
|
103
103
|
except UnicodeDecodeError:
|
|
104
104
|
return False
|
|
105
105
|
|
|
106
|
-
return False
|
|
106
|
+
return False
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def get_extension_for_mime_type(
|
|
110
|
+
mime_type: Optional[str], default_extension: str = ".dat"
|
|
111
|
+
) -> str:
|
|
112
|
+
"""
|
|
113
|
+
Returns a file extension for a given MIME type.
|
|
114
|
+
|
|
115
|
+
Args:
|
|
116
|
+
mime_type: The MIME type string (e.g., 'image/png', 'application/json').
|
|
117
|
+
default_extension: The extension to return if the MIME type is not found.
|
|
118
|
+
|
|
119
|
+
Returns:
|
|
120
|
+
The corresponding file extension (e.g., '.png', '.json').
|
|
121
|
+
"""
|
|
122
|
+
if not mime_type:
|
|
123
|
+
return default_extension
|
|
124
|
+
|
|
125
|
+
# Comprehensive mapping of common MIME types to file extensions
|
|
126
|
+
extension_mapping = {
|
|
127
|
+
# Text formats
|
|
128
|
+
"text/plain": ".txt",
|
|
129
|
+
"text/html": ".html",
|
|
130
|
+
"text/css": ".css",
|
|
131
|
+
"text/javascript": ".js",
|
|
132
|
+
"text/csv": ".csv",
|
|
133
|
+
"text/markdown": ".md",
|
|
134
|
+
"text/xml": ".xml",
|
|
135
|
+
# Application formats
|
|
136
|
+
"application/json": ".json",
|
|
137
|
+
"application/x-yaml": ".yaml",
|
|
138
|
+
"application/yaml": ".yaml",
|
|
139
|
+
"application/pdf": ".pdf",
|
|
140
|
+
"application/zip": ".zip",
|
|
141
|
+
"application/octet-stream": ".bin",
|
|
142
|
+
# Image formats
|
|
143
|
+
"image/png": ".png",
|
|
144
|
+
"image/jpeg": ".jpg",
|
|
145
|
+
"image/jpg": ".jpg",
|
|
146
|
+
"image/gif": ".gif",
|
|
147
|
+
"image/bmp": ".bmp",
|
|
148
|
+
"image/webp": ".webp",
|
|
149
|
+
"image/svg+xml": ".svg",
|
|
150
|
+
# Audio formats
|
|
151
|
+
"audio/wav": ".wav",
|
|
152
|
+
"audio/mp3": ".mp3",
|
|
153
|
+
"audio/mpeg": ".mp3",
|
|
154
|
+
"audio/ogg": ".ogg",
|
|
155
|
+
"audio/flac": ".flac",
|
|
156
|
+
"audio/aac": ".aac",
|
|
157
|
+
"audio/m4a": ".m4a",
|
|
158
|
+
# Video formats
|
|
159
|
+
"video/mp4": ".mp4",
|
|
160
|
+
"video/webm": ".webm",
|
|
161
|
+
"video/x-msvideo": ".avi",
|
|
162
|
+
"video/quicktime": ".mov",
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
return extension_mapping.get(mime_type.lower(), default_extension)
|
|
@@ -54,7 +54,7 @@ def get_agent_field_definitions():
|
|
|
54
54
|
fields.append(
|
|
55
55
|
{
|
|
56
56
|
"name": "namespace",
|
|
57
|
-
"label": "
|
|
57
|
+
"label": "Namespace",
|
|
58
58
|
"type": "text",
|
|
59
59
|
"default": AGENT_DEFAULTS["namespace"],
|
|
60
60
|
"description": "A2A topic namespace (e.g., myorg/dev). Can use ${NAMESPACE}.",
|