@solarisdk/mcp 0.3.3 → 0.3.4
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.
- package/dist/browser.js +6 -1
- package/dist/solari-mcp-http.bundle.cjs +4 -2
- package/dist/solari-mcp.bundle.cjs +4 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -363,10 +363,15 @@ export function makeBrowserToolset(cfg, reg, deps = defaultDeps) {
|
|
|
363
363
|
catch {
|
|
364
364
|
/* already gone — that is the point */
|
|
365
365
|
}
|
|
366
|
+
// Prefer the short link when the gateway offers one — it is far easier
|
|
367
|
+
// to relay to someone on a phone. Fall back to the long URL for older
|
|
368
|
+
// gateways that do not return shortUrl yet.
|
|
369
|
+
const showUrl = h.shortUrl ?? h.url;
|
|
366
370
|
return text({
|
|
367
371
|
mode: "hot",
|
|
368
372
|
handoffId: h.handoffId,
|
|
369
|
-
url:
|
|
373
|
+
url: showUrl,
|
|
374
|
+
fullUrl: h.url,
|
|
370
375
|
expiresAt: h.expiresAt,
|
|
371
376
|
next: "Show the url to the user, then call solari_browser_await_login.",
|
|
372
377
|
});
|
|
@@ -112358,7 +112358,7 @@ var SolariClient = class {
|
|
|
112358
112358
|
};
|
|
112359
112359
|
|
|
112360
112360
|
// src/version.ts
|
|
112361
|
-
var VERSION = "0.3.
|
|
112361
|
+
var VERSION = "0.3.4";
|
|
112362
112362
|
|
|
112363
112363
|
// node_modules/puppeteer-core/lib/esm/puppeteer/index.js
|
|
112364
112364
|
init_index_browser();
|
|
@@ -113922,10 +113922,12 @@ function makeBrowserToolset(cfg, reg, deps = defaultDeps) {
|
|
|
113922
113922
|
await e.browser.close();
|
|
113923
113923
|
} catch {
|
|
113924
113924
|
}
|
|
113925
|
+
const showUrl = h.shortUrl ?? h.url;
|
|
113925
113926
|
return text({
|
|
113926
113927
|
mode: "hot",
|
|
113927
113928
|
handoffId: h.handoffId,
|
|
113928
|
-
url:
|
|
113929
|
+
url: showUrl,
|
|
113930
|
+
fullUrl: h.url,
|
|
113929
113931
|
expiresAt: h.expiresAt,
|
|
113930
113932
|
next: "Show the url to the user, then call solari_browser_await_login."
|
|
113931
113933
|
});
|
|
@@ -111027,7 +111027,7 @@ var SolariClient = class {
|
|
|
111027
111027
|
};
|
|
111028
111028
|
|
|
111029
111029
|
// src/version.ts
|
|
111030
|
-
var VERSION = "0.3.
|
|
111030
|
+
var VERSION = "0.3.4";
|
|
111031
111031
|
|
|
111032
111032
|
// node_modules/puppeteer-core/lib/esm/puppeteer/index.js
|
|
111033
111033
|
init_index_browser();
|
|
@@ -112591,10 +112591,12 @@ function makeBrowserToolset(cfg, reg, deps = defaultDeps) {
|
|
|
112591
112591
|
await e.browser.close();
|
|
112592
112592
|
} catch {
|
|
112593
112593
|
}
|
|
112594
|
+
const showUrl = h.shortUrl ?? h.url;
|
|
112594
112595
|
return text({
|
|
112595
112596
|
mode: "hot",
|
|
112596
112597
|
handoffId: h.handoffId,
|
|
112597
|
-
url:
|
|
112598
|
+
url: showUrl,
|
|
112599
|
+
fullUrl: h.url,
|
|
112598
112600
|
expiresAt: h.expiresAt,
|
|
112599
112601
|
next: "Show the url to the user, then call solari_browser_await_login."
|
|
112600
112602
|
});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
1
|
+
export declare const VERSION = "0.3.4";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solarisdk/mcp",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "Model Context Protocol server for the Solari cloud browser, sandboxes + desktops
|
|
3
|
+
"version": "0.3.4",
|
|
4
|
+
"description": "Model Context Protocol server for the Solari cloud browser, sandboxes + desktops \u2014 drive them from Claude Desktop/Cowork, Claude Code, Cursor, etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"solari-mcp": "./dist/cli.js"
|