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.es5.js
CHANGED
|
@@ -16592,8 +16592,6 @@ class NavigatorChatClient {
|
|
|
16592
16592
|
}
|
|
16593
16593
|
}
|
|
16594
16594
|
|
|
16595
|
-
const DEFAULT_PORT = 8081;
|
|
16596
|
-
const DEFAULT_PATH = "/ws";
|
|
16597
16595
|
/**
|
|
16598
16596
|
* Minimal MCP WebSocket transport that handles tool call dispatching.
|
|
16599
16597
|
* UI layers can provide their own tool handler while reusing this
|
|
@@ -16682,16 +16680,9 @@ class NavigatorMcpWebSocketClient {
|
|
|
16682
16680
|
return (_a = this.options.logger) !== null && _a !== void 0 ? _a : console;
|
|
16683
16681
|
}
|
|
16684
16682
|
buildUrl() {
|
|
16685
|
-
var _a
|
|
16686
|
-
|
|
16687
|
-
|
|
16688
|
-
}
|
|
16689
|
-
const protocol = (_a = this.options.protocol) !== null && _a !== void 0 ? _a : "ws";
|
|
16690
|
-
const host = (_b = this.options.host) !== null && _b !== void 0 ? _b : "localhost";
|
|
16691
|
-
const port = (_c = this.options.port) !== null && _c !== void 0 ? _c : DEFAULT_PORT;
|
|
16692
|
-
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}`;
|
|
16693
|
-
const baseUrl = `${protocol}://${host}:${port}${path}`;
|
|
16694
|
-
return this.appendAuthParams(baseUrl);
|
|
16683
|
+
var _a;
|
|
16684
|
+
const url = (_a = this.options.url) !== null && _a !== void 0 ? _a : "ws://localhost:8081/ws";
|
|
16685
|
+
return this.appendAuthParams(url);
|
|
16695
16686
|
}
|
|
16696
16687
|
appendAuthParams(url) {
|
|
16697
16688
|
var _a, _b;
|
|
@@ -16752,7 +16743,7 @@ class NavigatorMcpWebSocketClient {
|
|
|
16752
16743
|
}
|
|
16753
16744
|
|
|
16754
16745
|
// This is updated with the package.json version on build.
|
|
16755
|
-
const VERSION = "6.8.
|
|
16746
|
+
const VERSION = "6.8.4";
|
|
16756
16747
|
|
|
16757
16748
|
export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient };
|
|
16758
16749
|
//# sourceMappingURL=bruce-models.es5.js.map
|