solace-agent-mesh 1.0.7__py3-none-any.whl → 1.0.9__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 (73) hide show
  1. solace_agent_mesh/agent/adk/services.py +9 -1
  2. solace_agent_mesh/assets/docs/404.html +3 -3
  3. solace_agent_mesh/assets/docs/assets/js/{3d406171.7d02a73b.js → 3d406171.0b9eeed1.js} +1 -1
  4. solace_agent_mesh/assets/docs/assets/js/{main.d79f063b.js → main.3d0e7879.js} +2 -2
  5. solace_agent_mesh/assets/docs/assets/js/{runtime~main.6415ad00.js → runtime~main.05d19492.js} +1 -1
  6. solace_agent_mesh/assets/docs/docs/documentation/concepts/agents/index.html +3 -3
  7. solace_agent_mesh/assets/docs/docs/documentation/concepts/architecture/index.html +3 -3
  8. solace_agent_mesh/assets/docs/docs/documentation/concepts/cli/index.html +3 -3
  9. solace_agent_mesh/assets/docs/docs/documentation/concepts/gateways/index.html +3 -3
  10. solace_agent_mesh/assets/docs/docs/documentation/concepts/orchestrator/index.html +3 -3
  11. solace_agent_mesh/assets/docs/docs/documentation/concepts/plugins/index.html +3 -3
  12. solace_agent_mesh/assets/docs/docs/documentation/deployment/debugging/index.html +3 -3
  13. solace_agent_mesh/assets/docs/docs/documentation/deployment/deploy/index.html +3 -3
  14. solace_agent_mesh/assets/docs/docs/documentation/deployment/observability/index.html +3 -3
  15. solace_agent_mesh/assets/docs/docs/documentation/getting-started/component-overview/index.html +3 -3
  16. solace_agent_mesh/assets/docs/docs/documentation/getting-started/configurations/index.html +3 -3
  17. solace_agent_mesh/assets/docs/docs/documentation/getting-started/installation/index.html +3 -3
  18. solace_agent_mesh/assets/docs/docs/documentation/getting-started/introduction/index.html +3 -3
  19. solace_agent_mesh/assets/docs/docs/documentation/getting-started/quick-start/index.html +3 -3
  20. solace_agent_mesh/assets/docs/docs/documentation/tutorials/bedrock-agents/index.html +3 -3
  21. solace_agent_mesh/assets/docs/docs/documentation/tutorials/custom-agent/index.html +7 -7
  22. solace_agent_mesh/assets/docs/docs/documentation/tutorials/event-mesh-gateway/index.html +3 -3
  23. solace_agent_mesh/assets/docs/docs/documentation/tutorials/mcp-integration/index.html +3 -3
  24. solace_agent_mesh/assets/docs/docs/documentation/tutorials/mongodb-integration/index.html +3 -3
  25. solace_agent_mesh/assets/docs/docs/documentation/tutorials/rag-integration/index.html +3 -3
  26. solace_agent_mesh/assets/docs/docs/documentation/tutorials/rest-gateway/index.html +3 -3
  27. solace_agent_mesh/assets/docs/docs/documentation/tutorials/slack-integration/index.html +3 -3
  28. solace_agent_mesh/assets/docs/docs/documentation/tutorials/sql-database/index.html +3 -3
  29. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/artifact-management/index.html +3 -3
  30. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/audio-tools/index.html +3 -3
  31. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/data-analysis-tools/index.html +3 -3
  32. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/embeds/index.html +3 -3
  33. solace_agent_mesh/assets/docs/docs/documentation/user-guide/builtin-tools/index.html +3 -3
  34. solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-agents/index.html +3 -3
  35. solace_agent_mesh/assets/docs/docs/documentation/user-guide/create-gateways/index.html +3 -3
  36. solace_agent_mesh/assets/docs/docs/documentation/user-guide/creating-service-providers/index.html +3 -3
  37. solace_agent_mesh/assets/docs/docs/documentation/user-guide/solace-ai-connector/index.html +3 -3
  38. solace_agent_mesh/assets/docs/docs/documentation/user-guide/structure/index.html +3 -3
  39. solace_agent_mesh/assets/docs/lunr-index-1757091012487.json +1 -0
  40. solace_agent_mesh/assets/docs/lunr-index.json +1 -1
  41. solace_agent_mesh/assets/docs/{search-doc-1756146501924.json → search-doc-1757091012487.json} +1 -1
  42. solace_agent_mesh/assets/docs/search-doc.json +1 -1
  43. solace_agent_mesh/cli/__init__.py +1 -1
  44. solace_agent_mesh/cli/commands/add_cmd/web_add_agent_step.py +12 -3
  45. solace_agent_mesh/cli/commands/add_cmd/web_add_gateway_step.py +10 -14
  46. solace_agent_mesh/cli/commands/init_cmd/web_init_step.py +2 -15
  47. solace_agent_mesh/cli/commands/plugin_cmd/catalog_cmd.py +6 -2
  48. solace_agent_mesh/cli/utils.py +15 -0
  49. solace_agent_mesh/client/webui/frontend/static/assets/{authCallback-DvlO62me.js → authCallback-BmF2l6vg.js} +1 -1
  50. solace_agent_mesh/client/webui/frontend/static/assets/{client-bp6u3qVZ.js → client-D881Dttc.js} +4 -4
  51. solace_agent_mesh/client/webui/frontend/static/assets/main-D0FnP_W4.css +1 -0
  52. solace_agent_mesh/client/webui/frontend/static/assets/main-Do32sFPX.js +708 -0
  53. solace_agent_mesh/client/webui/frontend/static/auth-callback.html +2 -2
  54. solace_agent_mesh/client/webui/frontend/static/index.html +3 -3
  55. solace_agent_mesh/config_portal/backend/common.py +1 -1
  56. solace_agent_mesh/config_portal/backend/plugin_catalog/constants.py +1 -1
  57. solace_agent_mesh/config_portal/frontend/static/client/assets/{_index-MqsrTd6g.js → _index-Bym6YkMd.js} +74 -24
  58. solace_agent_mesh/config_portal/frontend/static/client/assets/{components-B7lKcHVY.js → components-Rk0n-9cK.js} +1 -1
  59. solace_agent_mesh/config_portal/frontend/static/client/assets/{entry.client-CEumGClk.js → entry.client-mvZjNKiz.js} +1 -1
  60. solace_agent_mesh/config_portal/frontend/static/client/assets/{index-DSo1AH_7.js → index-DzNKzXrc.js} +1 -1
  61. solace_agent_mesh/config_portal/frontend/static/client/assets/manifest-d845808d.js +1 -0
  62. solace_agent_mesh/config_portal/frontend/static/client/assets/{root-C4XmHinv.js → root-BWvk5-gF.js} +1 -1
  63. solace_agent_mesh/config_portal/frontend/static/client/index.html +3 -3
  64. {solace_agent_mesh-1.0.7.dist-info → solace_agent_mesh-1.0.9.dist-info}/METADATA +1 -1
  65. {solace_agent_mesh-1.0.7.dist-info → solace_agent_mesh-1.0.9.dist-info}/RECORD +69 -69
  66. solace_agent_mesh/assets/docs/lunr-index-1756146501924.json +0 -1
  67. solace_agent_mesh/client/webui/frontend/static/assets/main-BCpII1-0.css +0 -1
  68. solace_agent_mesh/client/webui/frontend/static/assets/main-BucUdn9m.js +0 -673
  69. solace_agent_mesh/config_portal/frontend/static/client/assets/manifest-28271392.js +0 -1
  70. /solace_agent_mesh/assets/docs/assets/js/{main.d79f063b.js.LICENSE.txt → main.3d0e7879.js.LICENSE.txt} +0 -0
  71. {solace_agent_mesh-1.0.7.dist-info → solace_agent_mesh-1.0.9.dist-info}/WHEEL +0 -0
  72. {solace_agent_mesh-1.0.7.dist-info → solace_agent_mesh-1.0.9.dist-info}/entry_points.txt +0 -0
  73. {solace_agent_mesh-1.0.7.dist-info → solace_agent_mesh-1.0.9.dist-info}/licenses/LICENSE +0 -0
@@ -1 +1 @@
1
- __version__ = "1.0.7"
1
+ __version__ = "1.0.9"
@@ -3,7 +3,8 @@ import multiprocessing
3
3
  import sys
4
4
  import webbrowser
5
5
  from pathlib import Path
6
- from time import sleep
6
+ from cli.utils import wait_for_server
7
+
7
8
 
8
9
  from config_portal.backend.server import run_flask
9
10
 
@@ -31,9 +32,17 @@ def launch_add_agent_web_portal(cli_options: dict):
31
32
  fg="green",
32
33
  )
33
34
  )
34
- sleep(1)
35
35
  try:
36
- webbrowser.open(portal_url)
36
+ if wait_for_server(portal_url):
37
+ click.echo(
38
+ click.style(
39
+ f"Opening your browser to '{portal_url}'...",
40
+ fg="green",
41
+ )
42
+ )
43
+ webbrowser.open(portal_url)
44
+ else:
45
+ raise TimeoutError("Server did not start in time.")
37
46
  except Exception:
38
47
  click.echo(
39
48
  click.style(
@@ -2,7 +2,8 @@ import click
2
2
  import multiprocessing
3
3
  import webbrowser
4
4
  from pathlib import Path
5
- from time import sleep
5
+ from cli.utils import wait_for_server
6
+
6
7
 
7
8
  from config_portal.backend.server import run_flask
8
9
 
@@ -40,22 +41,17 @@ def launch_add_gateway_web_portal(cli_options: dict):
40
41
  fg="cyan",
41
42
  )
42
43
  )
43
- sleep(2)
44
44
  try:
45
- if not add_gateway_gui_process.is_alive():
45
+ if wait_for_server(portal_url):
46
46
  click.echo(
47
- click.style("Web server failed to start.", fg="red"), err=True
48
- )
49
- add_gateway_gui_process.join(timeout=1)
50
- return None
51
-
52
- click.echo(
53
- click.style(
54
- f"Opening your browser to '{portal_url}'...",
55
- fg="green",
47
+ click.style(
48
+ f"Opening your browser to '{portal_url}'...",
49
+ fg="green",
50
+ )
56
51
  )
57
- )
58
- webbrowser.open(portal_url)
52
+ webbrowser.open(portal_url)
53
+ else:
54
+ raise TimeoutError("Server did not start in time.")
59
55
  except Exception as e:
60
56
  click.echo(
61
57
  click.style(
@@ -1,9 +1,9 @@
1
1
  import click
2
2
  import multiprocessing
3
- from time import sleep
4
3
  import sys
5
4
  import webbrowser
6
- import requests
5
+ from ...utils import wait_for_server
6
+
7
7
 
8
8
  try:
9
9
  from config_portal.backend.server import run_flask
@@ -19,19 +19,6 @@ except ImportError as e:
19
19
  sys.exit(1)
20
20
 
21
21
 
22
- def wait_for_server(url, timeout=30):
23
- start = 0
24
- while start < timeout:
25
- try:
26
- r = requests.get(url)
27
- if r.status_code == 200:
28
- return True
29
- except Exception:
30
- pass
31
- sleep(0.5)
32
- start += 0.5
33
- return False
34
-
35
22
 
36
23
  def perform_web_init(current_cli_params: dict) -> dict:
37
24
  """
@@ -4,7 +4,8 @@ import webbrowser
4
4
  import os
5
5
  import time
6
6
  from pathlib import Path
7
- from cli.utils import error_exit
7
+ from cli.utils import error_exit, wait_for_server
8
+
8
9
 
9
10
  config_portal_host = "CONFIG_PORTAL_HOST"
10
11
 
@@ -108,7 +109,10 @@ def catalog(port: int, installer_command: str):
108
109
  click.echo(f"Opening Plugin Catalog at: {portal_url}")
109
110
 
110
111
  try:
111
- webbrowser.open(portal_url)
112
+ if wait_for_server(portal_url):
113
+ webbrowser.open(portal_url)
114
+ else:
115
+ raise TimeoutError("Server did not start in time.")
112
116
  except Exception:
113
117
  click.echo(
114
118
  click.style(
@@ -3,6 +3,8 @@ from pathlib import Path
3
3
  import importlib
4
4
  import click
5
5
  import re
6
+ import requests
7
+ from time import sleep
6
8
 
7
9
 
8
10
  def ask_yes_no_question(question: str, default=False) -> bool:
@@ -189,3 +191,16 @@ def indent_multiline_string(
189
191
  )
190
192
  else:
191
193
  return "\n".join(indentation + line for line in text.splitlines()).lstrip()
194
+
195
+ def wait_for_server(url, timeout=30):
196
+ start = 0
197
+ while start < timeout:
198
+ try:
199
+ r = requests.get(url)
200
+ if r.status_code == 200:
201
+ return True
202
+ except Exception:
203
+ pass
204
+ sleep(0.5)
205
+ start += 0.5
206
+ return False
@@ -1 +1 @@
1
- import{r,j as s,d as a}from"./client-bp6u3qVZ.js";function c(){return r.useEffect(()=>{const n=window.location.hash.substring(1),e=new URLSearchParams(n),o=e.get("access_token"),t=e.get("refresh_token");o?(localStorage.setItem("access_token",o),t&&localStorage.setItem("refresh_token",t),window.location.href="/"):console.error("AuthCallback: No access token found in URL hash.")},[]),s.jsx("div",{children:"Loading..."})}a.createRoot(document.getElementById("root")).render(s.jsx(c,{}));
1
+ import{r,j as s,d as a}from"./client-D881Dttc.js";function c(){return r.useEffect(()=>{const n=window.location.hash.substring(1),e=new URLSearchParams(n),o=e.get("access_token"),t=e.get("refresh_token");o?(localStorage.setItem("access_token",o),t&&localStorage.setItem("refresh_token",t),window.location.href="/"):console.error("AuthCallback: No access token found in URL hash.")},[]),s.jsx("div",{children:"Loading..."})}a.createRoot(document.getElementById("root")).render(s.jsx(c,{}));