bruce-models 6.8.3 → 6.8.5
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 +6 -13
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +6 -13
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/mcp/navigator-chat.js +2 -0
- package/dist/lib/mcp/navigator-chat.js.map +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-chat.d.ts +7 -0
- package/dist/types/mcp/navigator-mcp-websocket.d.ts +1 -5
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -16505,8 +16505,10 @@ class NavigatorChatClient {
|
|
|
16505
16505
|
}, auth);
|
|
16506
16506
|
const data = yield this.parseJson(response);
|
|
16507
16507
|
const text = (_b = (_a = data === null || data === void 0 ? void 0 : data.Text) !== null && _a !== void 0 ? _a : data === null || data === void 0 ? void 0 : data.text) !== null && _b !== void 0 ? _b : "";
|
|
16508
|
+
const steps = Array.isArray(data === null || data === void 0 ? void 0 : data.steps) ? data.steps : [];
|
|
16508
16509
|
return {
|
|
16509
16510
|
text,
|
|
16511
|
+
steps,
|
|
16510
16512
|
raw: data
|
|
16511
16513
|
};
|
|
16512
16514
|
});
|
|
@@ -16592,8 +16594,6 @@ class NavigatorChatClient {
|
|
|
16592
16594
|
}
|
|
16593
16595
|
}
|
|
16594
16596
|
|
|
16595
|
-
const DEFAULT_PORT = 8081;
|
|
16596
|
-
const DEFAULT_PATH = "/ws";
|
|
16597
16597
|
/**
|
|
16598
16598
|
* Minimal MCP WebSocket transport that handles tool call dispatching.
|
|
16599
16599
|
* UI layers can provide their own tool handler while reusing this
|
|
@@ -16682,16 +16682,9 @@ class NavigatorMcpWebSocketClient {
|
|
|
16682
16682
|
return (_a = this.options.logger) !== null && _a !== void 0 ? _a : console;
|
|
16683
16683
|
}
|
|
16684
16684
|
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);
|
|
16685
|
+
var _a;
|
|
16686
|
+
const url = (_a = this.options.url) !== null && _a !== void 0 ? _a : "ws://localhost:8081/ws";
|
|
16687
|
+
return this.appendAuthParams(url);
|
|
16695
16688
|
}
|
|
16696
16689
|
appendAuthParams(url) {
|
|
16697
16690
|
var _a, _b;
|
|
@@ -16752,7 +16745,7 @@ class NavigatorMcpWebSocketClient {
|
|
|
16752
16745
|
}
|
|
16753
16746
|
|
|
16754
16747
|
// This is updated with the package.json version on build.
|
|
16755
|
-
const VERSION = "6.8.
|
|
16748
|
+
const VERSION = "6.8.5";
|
|
16756
16749
|
|
|
16757
16750
|
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
16751
|
//# sourceMappingURL=bruce-models.es5.js.map
|