bruce-models 6.8.3 → 6.8.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/bruce-models.es5.js +4 -13
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +4 -13
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/mcp/navigator-mcp-websocket.js +3 -12
- package/dist/lib/mcp/navigator-mcp-websocket.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/mcp/navigator-mcp-websocket.d.ts +1 -5
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -16277,8 +16277,6 @@
|
|
|
16277
16277
|
}
|
|
16278
16278
|
}
|
|
16279
16279
|
|
|
16280
|
-
const DEFAULT_PORT = 8081;
|
|
16281
|
-
const DEFAULT_PATH = "/ws";
|
|
16282
16280
|
/**
|
|
16283
16281
|
* Minimal MCP WebSocket transport that handles tool call dispatching.
|
|
16284
16282
|
* UI layers can provide their own tool handler while reusing this
|
|
@@ -16367,16 +16365,9 @@
|
|
|
16367
16365
|
return (_a = this.options.logger) !== null && _a !== void 0 ? _a : console;
|
|
16368
16366
|
}
|
|
16369
16367
|
buildUrl() {
|
|
16370
|
-
var _a
|
|
16371
|
-
|
|
16372
|
-
|
|
16373
|
-
}
|
|
16374
|
-
const protocol = (_a = this.options.protocol) !== null && _a !== void 0 ? _a : "ws";
|
|
16375
|
-
const host = (_b = this.options.host) !== null && _b !== void 0 ? _b : "localhost";
|
|
16376
|
-
const port = (_c = this.options.port) !== null && _c !== void 0 ? _c : DEFAULT_PORT;
|
|
16377
|
-
const path = ((_d = this.options.path) !== null && _d !== void 0 ? _d : DEFAULT_PATH).startsWith("/") ? (_e = this.options.path) !== null && _e !== void 0 ? _e : DEFAULT_PATH : `/${this.options.path}`;
|
|
16378
|
-
const baseUrl = `${protocol}://${host}:${port}${path}`;
|
|
16379
|
-
return this.appendAuthParams(baseUrl);
|
|
16368
|
+
var _a;
|
|
16369
|
+
const url = (_a = this.options.url) !== null && _a !== void 0 ? _a : "ws://localhost:8081/ws";
|
|
16370
|
+
return this.appendAuthParams(url);
|
|
16380
16371
|
}
|
|
16381
16372
|
appendAuthParams(url) {
|
|
16382
16373
|
var _a, _b;
|
|
@@ -16437,7 +16428,7 @@
|
|
|
16437
16428
|
}
|
|
16438
16429
|
|
|
16439
16430
|
// This is updated with the package.json version on build.
|
|
16440
|
-
const VERSION = "6.8.
|
|
16431
|
+
const VERSION = "6.8.4";
|
|
16441
16432
|
|
|
16442
16433
|
exports.VERSION = VERSION;
|
|
16443
16434
|
exports.AbstractApi = AbstractApi;
|