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.

Files changed (142) hide show
  1. solace_agent_mesh/agent/adk/artifacts/__init__.py +1 -0
  2. solace_agent_mesh/agent/adk/{filesystem_artifact_service.py → artifacts/filesystem_artifact_service.py} +14 -15
  3. solace_agent_mesh/agent/adk/artifacts/s3_artifact_service.py +440 -0
  4. solace_agent_mesh/agent/adk/callbacks.py +123 -159
  5. solace_agent_mesh/agent/adk/embed_resolving_mcp_toolset.py +316 -0
  6. solace_agent_mesh/agent/adk/intelligent_mcp_callbacks.py +414 -0
  7. solace_agent_mesh/agent/adk/mcp_content_processor.py +665 -0
  8. solace_agent_mesh/agent/adk/services.py +35 -1
  9. solace_agent_mesh/agent/adk/setup.py +85 -45
  10. solace_agent_mesh/agent/adk/tool_wrapper.py +19 -3
  11. solace_agent_mesh/agent/protocol/event_handlers.py +1 -1
  12. solace_agent_mesh/agent/sac/app.py +67 -0
  13. solace_agent_mesh/agent/sac/component.py +14 -86
  14. solace_agent_mesh/assets/docs/404.html +3 -3
  15. solace_agent_mesh/assets/docs/assets/js/04989206.b9dfe831.js +1 -0
  16. solace_agent_mesh/assets/docs/assets/js/0e682baa.b3bbde9a.js +1 -0
  17. solace_agent_mesh/assets/docs/assets/js/1023fc19.364235d5.js +1 -0
  18. solace_agent_mesh/assets/docs/assets/js/1523c6b4.1b0ec6f9.js +1 -0
  19. solace_agent_mesh/assets/docs/assets/js/166ab619.e8f3a7c7.js +1 -0
  20. solace_agent_mesh/assets/docs/assets/js/21ceee5f.3bf39250.js +1 -0
  21. solace_agent_mesh/assets/docs/assets/js/3d406171.7d02a73b.js +1 -0
  22. solace_agent_mesh/assets/docs/assets/js/42b3f8d8.8ccb9901.js +1 -0
  23. solace_agent_mesh/assets/docs/assets/js/442a8107.b3159bb2.js +1 -0
  24. solace_agent_mesh/assets/docs/assets/js/4c2787c2.fc6804f2.js +1 -0
  25. solace_agent_mesh/assets/docs/assets/js/5b4258a4.0d080cd9.js +1 -0
  26. solace_agent_mesh/assets/docs/assets/js/75384d09.ccd480c4.js +1 -0
  27. solace_agent_mesh/assets/docs/assets/js/768e31b0.8b51cd70.js +1 -0
  28. solace_agent_mesh/assets/docs/assets/js/945fb41e.c63791d1.js +1 -0
  29. solace_agent_mesh/assets/docs/assets/js/{9eff14a2.036c35ea.js → 9eff14a2.472b0310.js} +1 -1
  30. solace_agent_mesh/assets/docs/assets/js/a3a92b25.4b7fa6a2.js +1 -0
  31. solace_agent_mesh/assets/docs/assets/js/aba87c2f.76376d7c.js +1 -0
  32. solace_agent_mesh/assets/docs/assets/js/ae4415af.7a2f0bbf.js +1 -0
  33. solace_agent_mesh/assets/docs/assets/js/b7006a3a.73a79653.js +1 -0
  34. solace_agent_mesh/assets/docs/assets/js/beecea0d.ae31f6a7.js +1 -0
  35. solace_agent_mesh/assets/docs/assets/js/c2c06897.587b4af5.js +1 -0
  36. solace_agent_mesh/assets/docs/assets/js/{cd3d4052.ca6eed8c.js → cd3d4052.b6535013.js} +1 -1
  37. solace_agent_mesh/assets/docs/assets/js/f284c35a.731836ad.js +1 -0
  38. solace_agent_mesh/assets/docs/assets/js/f897a61a.0aa29dbb.js +1 -0
  39. solace_agent_mesh/assets/docs/assets/js/main.d79f063b.js +2 -0
  40. solace_agent_mesh/assets/docs/assets/js/runtime~main.6415ad00.js +1 -0
  41. solace_agent_mesh/assets/docs/docs/documentation/concepts/agents/index.html +28 -4
  42. solace_agent_mesh/assets/docs/docs/documentation/concepts/architecture/index.html +6 -6
  43. solace_agent_mesh/assets/docs/docs/documentation/concepts/cli/index.html +8 -8
  44. solace_agent_mesh/assets/docs/docs/documentation/concepts/gateways/index.html +5 -5
  45. solace_agent_mesh/assets/docs/docs/documentation/concepts/orchestrator/index.html +5 -5
  46. solace_agent_mesh/assets/docs/docs/documentation/concepts/plugins/index.html +34 -5
  47. solace_agent_mesh/assets/docs/docs/documentation/deployment/debugging/index.html +4 -4
  48. solace_agent_mesh/assets/docs/docs/documentation/deployment/deploy/index.html +5 -5
  49. solace_agent_mesh/assets/docs/docs/documentation/deployment/observability/index.html +4 -4
  50. solace_agent_mesh/assets/docs/docs/documentation/getting-started/component-overview/index.html +6 -6
  51. solace_agent_mesh/assets/docs/docs/documentation/getting-started/configurations/index.html +72 -0
  52. solace_agent_mesh/assets/docs/docs/documentation/getting-started/installation/index.html +5 -5
  53. solace_agent_mesh/assets/docs/docs/documentation/getting-started/introduction/index.html +7 -7
  54. solace_agent_mesh/assets/docs/docs/documentation/getting-started/quick-start/index.html +35 -16
  55. solace_agent_mesh/assets/docs/docs/documentation/tutorials/bedrock-agents/index.html +4 -4
  56. solace_agent_mesh/assets/docs/docs/documentation/tutorials/custom-agent/index.html +17 -11
  57. solace_agent_mesh/assets/docs/docs/documentation/tutorials/event-mesh-gateway/index.html +4 -4
  58. solace_agent_mesh/assets/docs/docs/documentation/tutorials/mcp-integration/index.html +5 -5
  59. solace_agent_mesh/assets/docs/docs/documentation/tutorials/mongodb-integration/index.html +4 -4
  60. solace_agent_mesh/assets/docs/docs/documentation/tutorials/rag-integration/index.html +6 -6
  61. solace_agent_mesh/assets/docs/docs/documentation/tutorials/rest-gateway/index.html +6 -6
  62. solace_agent_mesh/assets/docs/docs/documentation/tutorials/slack-integration/index.html +6 -6
  63. solace_agent_mesh/assets/docs/docs/documentation/tutorials/sql-database/index.html +4 -4
  64. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/artifact-management/index.html +8 -8
  65. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/audio-tools/index.html +14 -14
  66. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/data-analysis-tools/index.html +8 -8
  67. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/embeds/index.html +4 -4
  68. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/index.html +6 -6
  69. solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-agents/index.html +35 -23
  70. solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-gateways/index.html +4 -4
  71. solace_agent_mesh/assets/docs/docs/documentation/user-guide/creating-service-providers/index.html +6 -6
  72. solace_agent_mesh/assets/docs/docs/documentation/user-guide/solace-ai-connector/index.html +4 -4
  73. solace_agent_mesh/assets/docs/docs/documentation/user-guide/structure/index.html +4 -4
  74. solace_agent_mesh/assets/docs/lunr-index-1756146501924.json +1 -0
  75. solace_agent_mesh/assets/docs/lunr-index.json +1 -1
  76. solace_agent_mesh/assets/docs/search-doc-1756146501924.json +1 -0
  77. solace_agent_mesh/assets/docs/search-doc.json +1 -1
  78. solace_agent_mesh/assets/docs/sitemap.xml +1 -1
  79. solace_agent_mesh/cli/__init__.py +1 -1
  80. solace_agent_mesh/cli/commands/add_cmd/add_cmd_llm.txt +1 -1
  81. solace_agent_mesh/cli/commands/add_cmd/agent_cmd.py +67 -10
  82. solace_agent_mesh/cli/commands/add_cmd/gateway_cmd.py +2 -2
  83. solace_agent_mesh/cli/commands/eval_cmd.py +8 -2
  84. solace_agent_mesh/cli/commands/init_cmd/__init__.py +20 -2
  85. solace_agent_mesh/cli/commands/init_cmd/env_step.py +25 -1
  86. solace_agent_mesh/cli/commands/init_cmd/orchestrator_step.py +45 -1
  87. solace_agent_mesh/cli/utils.py +21 -12
  88. solace_agent_mesh/client/webui/frontend/static/assets/main-BucUdn9m.js +673 -0
  89. solace_agent_mesh/client/webui/frontend/static/index.html +1 -1
  90. solace_agent_mesh/common/a2a_protocol.py +1 -1
  91. solace_agent_mesh/common/utils/initializer.py +4 -6
  92. solace_agent_mesh/common/utils/mime_helpers.py +60 -1
  93. solace_agent_mesh/config_portal/backend/server.py +1 -1
  94. solace_agent_mesh/config_portal/frontend/static/client/assets/{_index-xSu2leR8.js → _index-MqsrTd6g.js} +9 -9
  95. solace_agent_mesh/config_portal/frontend/static/client/assets/{manifest-950eb3be.js → manifest-28271392.js} +1 -1
  96. solace_agent_mesh/config_portal/frontend/static/client/index.html +1 -1
  97. solace_agent_mesh/core_a2a/core_a2a_llm.txt +1 -1
  98. solace_agent_mesh/core_a2a/service.py +1 -1
  99. solace_agent_mesh/evaluation/run.py +149 -15
  100. solace_agent_mesh/evaluation/summary_builder.py +5 -3
  101. solace_agent_mesh/gateway/http_sse/dependencies.py +1 -1
  102. solace_agent_mesh/gateway/http_sse/http_sse_llm.txt +1 -1
  103. solace_agent_mesh/gateway/http_sse/services/task_service.py +1 -1
  104. solace_agent_mesh/llm_detail.txt +2 -2
  105. solace_agent_mesh/templates/agent_template.yaml +1 -1
  106. solace_agent_mesh/templates/plugin_agent_config_template.yaml +3 -3
  107. solace_agent_mesh/templates/plugin_readme_template.md +1 -1
  108. solace_agent_mesh/templates/shared_config.yaml +8 -1
  109. {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/METADATA +5 -2
  110. {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/RECORD +114 -109
  111. solace_agent_mesh/assets/docs/assets/js/04989206.da8246cd.js +0 -1
  112. solace_agent_mesh/assets/docs/assets/js/0e682baa.79f0ab22.js +0 -1
  113. solace_agent_mesh/assets/docs/assets/js/1023fc19.8e6d174c.js +0 -1
  114. solace_agent_mesh/assets/docs/assets/js/1523c6b4.91c7bc01.js +0 -1
  115. solace_agent_mesh/assets/docs/assets/js/166ab619.7d97ccaf.js +0 -1
  116. solace_agent_mesh/assets/docs/assets/js/21ceee5f.614fa8dd.js +0 -1
  117. solace_agent_mesh/assets/docs/assets/js/3d406171.9b081d5f.js +0 -1
  118. solace_agent_mesh/assets/docs/assets/js/42b3f8d8.36090198.js +0 -1
  119. solace_agent_mesh/assets/docs/assets/js/442a8107.5ba94b65.js +0 -1
  120. solace_agent_mesh/assets/docs/assets/js/4c2787c2.66ee00e9.js +0 -1
  121. solace_agent_mesh/assets/docs/assets/js/5b4258a4.bda20761.js +0 -1
  122. solace_agent_mesh/assets/docs/assets/js/75384d09.c3991823.js +0 -1
  123. solace_agent_mesh/assets/docs/assets/js/768e31b0.a12673db.js +0 -1
  124. solace_agent_mesh/assets/docs/assets/js/945fb41e.74d728aa.js +0 -1
  125. solace_agent_mesh/assets/docs/assets/js/a3a92b25.26ca071f.js +0 -1
  126. solace_agent_mesh/assets/docs/assets/js/aba87c2f.a6b84da6.js +0 -1
  127. solace_agent_mesh/assets/docs/assets/js/ae4415af.96189a93.js +0 -1
  128. solace_agent_mesh/assets/docs/assets/js/b7006a3a.38c0cf3d.js +0 -1
  129. solace_agent_mesh/assets/docs/assets/js/bb2ef573.56931473.js +0 -1
  130. solace_agent_mesh/assets/docs/assets/js/c2c06897.63b76e9e.js +0 -1
  131. solace_agent_mesh/assets/docs/assets/js/f284c35a.5aff74ab.js +0 -1
  132. solace_agent_mesh/assets/docs/assets/js/f897a61a.862b0514.js +0 -1
  133. solace_agent_mesh/assets/docs/assets/js/main.946fa17b.js +0 -2
  134. solace_agent_mesh/assets/docs/assets/js/runtime~main.aa687c82.js +0 -1
  135. solace_agent_mesh/assets/docs/docs/documentation/enterprise/index.html +0 -17
  136. solace_agent_mesh/assets/docs/lunr-index-1755275703209.json +0 -1
  137. solace_agent_mesh/assets/docs/search-doc-1755275703209.json +0 -1
  138. solace_agent_mesh/client/webui/frontend/static/assets/main-DzKPMTRs.js +0 -673
  139. /solace_agent_mesh/assets/docs/assets/js/{main.946fa17b.js.LICENSE.txt → main.d79f063b.js.LICENSE.txt} +0 -0
  140. {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/WHEEL +0 -0
  141. {solace_agent_mesh-1.0.5.dist-info → solace_agent_mesh-1.0.7.dist-info}/entry_points.txt +0 -0
  142. {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-DzKPMTRs.js"></script>
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("A2A namespace cannot be empty.")
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("SAM_ENTERPRISE_CONFIG")
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 SAM_ENTERPRISE_CONFIG: %s", e, exc_info=True)
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 SAM_ENTERPRISE_CONFIG: %s", e, exc_info=True)
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 SAM_ENTERPRISE_CONFIG: %s", e, exc_info=True)
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": "A2A Namespace",
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}.",