solace-agent-mesh 1.0.8__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.
- solace_agent_mesh/assets/docs/404.html +3 -3
- solace_agent_mesh/assets/docs/assets/js/{3d406171.7d02a73b.js → 3d406171.0b9eeed1.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/{main.6dba4a66.js → main.3d0e7879.js} +2 -2
- solace_agent_mesh/assets/docs/assets/js/{runtime~main.6415ad00.js → runtime~main.05d19492.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 +3 -3
- 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/getting-started/component-overview/index.html +3 -3
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/configurations/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 +3 -3
- 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 +7 -7
- 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/rag-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-1757091012487.json +1 -0
- solace_agent_mesh/assets/docs/lunr-index.json +1 -1
- solace_agent_mesh/assets/docs/search-doc-1757091012487.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/add_cmd/web_add_agent_step.py +12 -3
- solace_agent_mesh/cli/commands/add_cmd/web_add_gateway_step.py +10 -14
- solace_agent_mesh/cli/commands/init_cmd/web_init_step.py +2 -15
- solace_agent_mesh/cli/commands/plugin_cmd/catalog_cmd.py +6 -2
- solace_agent_mesh/cli/utils.py +15 -0
- solace_agent_mesh/client/webui/frontend/static/assets/{authCallback-DvlO62me.js → authCallback-BmF2l6vg.js} +1 -1
- solace_agent_mesh/client/webui/frontend/static/assets/{client-bp6u3qVZ.js → client-D881Dttc.js} +4 -4
- solace_agent_mesh/client/webui/frontend/static/assets/main-D0FnP_W4.css +1 -0
- solace_agent_mesh/client/webui/frontend/static/assets/main-Do32sFPX.js +708 -0
- solace_agent_mesh/client/webui/frontend/static/auth-callback.html +2 -2
- solace_agent_mesh/client/webui/frontend/static/index.html +3 -3
- solace_agent_mesh/config_portal/backend/common.py +1 -1
- solace_agent_mesh/config_portal/backend/plugin_catalog/constants.py +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/assets/{_index-MqsrTd6g.js → _index-Bym6YkMd.js} +74 -24
- solace_agent_mesh/config_portal/frontend/static/client/assets/{components-B7lKcHVY.js → components-Rk0n-9cK.js} +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/assets/{entry.client-CEumGClk.js → entry.client-mvZjNKiz.js} +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/assets/{index-DSo1AH_7.js → index-DzNKzXrc.js} +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/assets/manifest-d845808d.js +1 -0
- solace_agent_mesh/config_portal/frontend/static/client/assets/{root-C4XmHinv.js → root-BWvk5-gF.js} +1 -1
- solace_agent_mesh/config_portal/frontend/static/client/index.html +3 -3
- {solace_agent_mesh-1.0.8.dist-info → solace_agent_mesh-1.0.9.dist-info}/METADATA +1 -1
- {solace_agent_mesh-1.0.8.dist-info → solace_agent_mesh-1.0.9.dist-info}/RECORD +68 -68
- solace_agent_mesh/assets/docs/lunr-index-1756153049706.json +0 -1
- solace_agent_mesh/assets/docs/search-doc-1756153049706.json +0 -1
- solace_agent_mesh/client/webui/frontend/static/assets/main-BCpII1-0.css +0 -1
- solace_agent_mesh/client/webui/frontend/static/assets/main-BucUdn9m.js +0 -673
- solace_agent_mesh/config_portal/frontend/static/client/assets/manifest-28271392.js +0 -1
- /solace_agent_mesh/assets/docs/assets/js/{main.6dba4a66.js.LICENSE.txt → main.3d0e7879.js.LICENSE.txt} +0 -0
- {solace_agent_mesh-1.0.8.dist-info → solace_agent_mesh-1.0.9.dist-info}/WHEEL +0 -0
- {solace_agent_mesh-1.0.8.dist-info → solace_agent_mesh-1.0.9.dist-info}/entry_points.txt +0 -0
- {solace_agent_mesh-1.0.8.dist-info → solace_agent_mesh-1.0.9.dist-info}/licenses/LICENSE +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
45
|
+
if wait_for_server(portal_url):
|
|
46
46
|
click.echo(
|
|
47
|
-
click.style(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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(
|
solace_agent_mesh/cli/utils.py
CHANGED
|
@@ -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-
|
|
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,{}));
|