@roomle/embedding-lib 10.0.0-alpha.6 → 10.0.0-alpha.8
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/README.md +6 -0
- package/SECURITY.md +5 -0
- package/THIRD-PARTY-NOTICES.txt +2 -2
- package/{chat-model-DKlWonm6.mjs → chat-model-CFuHw4cp.mjs} +11 -11
- package/{chat-model-gyIajfDW.mjs → chat-model-JqqVnnmY.mjs} +11 -11
- package/configurator.js +1 -1
- package/configurator.min.js +1 -1
- package/construction.js +1 -1
- package/construction.min.js +1 -1
- package/docs/md/web/embedding/CHANGELOG.md +12 -7
- package/hi.js +1 -1
- package/hi.min.js +1 -1
- package/package.json +3 -2
- package/packages/web-sdk/packages/common-core/src/planning-assistant/chat-model.d.ts +1 -1
- package/packages/web-sdk/packages/common-core/src/planning-assistant/types.d.ts +3 -1
- package/sbom.cdx.json +5 -5
package/README.md
CHANGED
|
@@ -11,3 +11,9 @@ You can find an extensive guide on how to get started on [docs.roomle.com](https
|
|
|
11
11
|
## Bugs & Issues
|
|
12
12
|
|
|
13
13
|
If you encounter issues please report them using our [Servicedesk](https://roomle.atlassian.net/servicedesk/customer/portals).
|
|
14
|
+
|
|
15
|
+
## Security
|
|
16
|
+
|
|
17
|
+
If you think you found a security vulnerability in this package, please report it to [security@roomle.com](mailto:security@roomle.com). Please do not open a public issue.
|
|
18
|
+
|
|
19
|
+
Our [Vulnerability Disclosure Policy](https://www.roomle.com/en/security-disclosure-policy) describes the scope, the process and what you can expect from us.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
If you think you found a security vulnerability in this package, please report it to [security@roomle.com](mailto:security@roomle.com). Please do not open a public issue.
|
|
4
|
+
|
|
5
|
+
Our [Vulnerability Disclosure Policy](https://www.roomle.com/en/security-disclosure-policy) describes the scope, the process and what you can expect from us.
|
package/THIRD-PARTY-NOTICES.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Third-party software notices for @roomle/embedding-lib
|
|
2
|
-
Generated 2026-11-
|
|
1
|
+
Third-party software notices for @roomle/embedding-lib 2b456661c14c386d6a8799e19550dbc2fd730faf
|
|
2
|
+
Generated 2026-11-16
|
|
3
3
|
|
|
4
4
|
This product includes the following third-party components.
|
|
5
5
|
|
|
@@ -36,25 +36,25 @@ var t = (e) => e.flatMap((e) => {
|
|
|
36
36
|
...n,
|
|
37
37
|
prompt: t(n.prompt)
|
|
38
38
|
})
|
|
39
|
-
}), r = async ({ provider: e, model: t, apiKey: r, baseUrl: i, headers: a, chatCompletions: o, responses: s,
|
|
40
|
-
let
|
|
39
|
+
}), r = async ({ provider: e, model: t, apiKey: r, baseUrl: i, headers: a, chatCompletions: o, responses: s, storedResponses: c, reasoningEffort: l }, u) => {
|
|
40
|
+
let d = u ? { fetch: new Proxy(fetch, { apply: async (e, t, n) => (typeof n[1]?.body == "string" && await u(n[1].body), fetch(...n)) }) } : {};
|
|
41
41
|
switch (e) {
|
|
42
42
|
case "openai": {
|
|
43
43
|
let { createOpenAI: e } = await import("./dist-Cmx_tCV5.mjs");
|
|
44
44
|
return { languageModel: e({
|
|
45
45
|
apiKey: r,
|
|
46
|
-
...
|
|
46
|
+
...d
|
|
47
47
|
})(t) };
|
|
48
48
|
}
|
|
49
49
|
case "azure": {
|
|
50
50
|
let { createAzure: e } = await import("./dist-Ur4DqwwC.mjs"), n = e({
|
|
51
51
|
apiKey: r,
|
|
52
52
|
baseURL: i,
|
|
53
|
-
...
|
|
53
|
+
...d
|
|
54
54
|
});
|
|
55
55
|
return {
|
|
56
56
|
languageModel: o ? n.chat(t) : n(t),
|
|
57
|
-
providerOptions:
|
|
57
|
+
providerOptions: l ? { azure: { reasoningEffort: l } } : void 0
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
case "openai-compatible": {
|
|
@@ -69,9 +69,9 @@ var t = (e) => e.flatMap((e) => {
|
|
|
69
69
|
...r || a?.Authorization ? {} : { Authorization: void 0 },
|
|
70
70
|
...a
|
|
71
71
|
},
|
|
72
|
-
...
|
|
72
|
+
...d
|
|
73
73
|
}).responses(t),
|
|
74
|
-
providerOptions: { openai: {
|
|
74
|
+
providerOptions: { openai: c ? { store: !0 } : {
|
|
75
75
|
store: !1,
|
|
76
76
|
forceReasoning: !0
|
|
77
77
|
} }
|
|
@@ -84,14 +84,14 @@ var t = (e) => e.flatMap((e) => {
|
|
|
84
84
|
apiKey: r,
|
|
85
85
|
headers: a,
|
|
86
86
|
includeUsage: !0,
|
|
87
|
-
...
|
|
87
|
+
...d
|
|
88
88
|
})(t)) };
|
|
89
89
|
}
|
|
90
90
|
case "mistral": {
|
|
91
91
|
let { createMistral: e } = await import("./dist-BI_3AeI-.mjs");
|
|
92
92
|
return { languageModel: n(e({
|
|
93
93
|
apiKey: r,
|
|
94
|
-
...
|
|
94
|
+
...d
|
|
95
95
|
})(t)) };
|
|
96
96
|
}
|
|
97
97
|
case "anthropic": {
|
|
@@ -99,14 +99,14 @@ var t = (e) => e.flatMap((e) => {
|
|
|
99
99
|
return { languageModel: e({
|
|
100
100
|
apiKey: r,
|
|
101
101
|
headers: { "anthropic-dangerous-direct-browser-access": "true" },
|
|
102
|
-
...
|
|
102
|
+
...d
|
|
103
103
|
})(t) };
|
|
104
104
|
}
|
|
105
105
|
case "google": {
|
|
106
106
|
let { createGoogleGenerativeAI: e } = await import("./dist-CjIZv2gB.mjs");
|
|
107
107
|
return { languageModel: e({
|
|
108
108
|
apiKey: r,
|
|
109
|
-
...
|
|
109
|
+
...d
|
|
110
110
|
})(t) };
|
|
111
111
|
}
|
|
112
112
|
default: throw Error(`Unknown provider "${e}" - supported: azure, openai, openai-compatible, mistral, anthropic, google`);
|
|
@@ -37,25 +37,25 @@ var t = "The images of this result follow in the next message.", n = (e) => e.fl
|
|
|
37
37
|
...t,
|
|
38
38
|
prompt: n(t.prompt)
|
|
39
39
|
})
|
|
40
|
-
}), i = async ({ provider: e, model: t, apiKey: n, baseUrl: i, headers: a, chatCompletions: o, responses: s,
|
|
41
|
-
let
|
|
40
|
+
}), i = async ({ provider: e, model: t, apiKey: n, baseUrl: i, headers: a, chatCompletions: o, responses: s, storedResponses: c, reasoningEffort: l }, u) => {
|
|
41
|
+
let d = u ? { fetch: new Proxy(fetch, { apply: async (e, t, n) => (typeof n[1]?.body == "string" && await u(n[1].body), fetch(...n)) }) } : {};
|
|
42
42
|
switch (e) {
|
|
43
43
|
case "openai": {
|
|
44
44
|
let { createOpenAI: e } = await import("./dist-Cxe4osFc.mjs");
|
|
45
45
|
return { languageModel: e({
|
|
46
46
|
apiKey: n,
|
|
47
|
-
...
|
|
47
|
+
...d
|
|
48
48
|
})(t) };
|
|
49
49
|
}
|
|
50
50
|
case "azure": {
|
|
51
51
|
let { createAzure: e } = await import("./dist-Dr3LcjP6.mjs"), r = e({
|
|
52
52
|
apiKey: n,
|
|
53
53
|
baseURL: i,
|
|
54
|
-
...
|
|
54
|
+
...d
|
|
55
55
|
});
|
|
56
56
|
return {
|
|
57
57
|
languageModel: o ? r.chat(t) : r(t),
|
|
58
|
-
providerOptions:
|
|
58
|
+
providerOptions: l ? { azure: { reasoningEffort: l } } : void 0
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
case "openai-compatible": {
|
|
@@ -70,9 +70,9 @@ var t = "The images of this result follow in the next message.", n = (e) => e.fl
|
|
|
70
70
|
baseURL: i,
|
|
71
71
|
apiKey: n ?? "none",
|
|
72
72
|
headers: r,
|
|
73
|
-
...
|
|
73
|
+
...d
|
|
74
74
|
}).responses(t),
|
|
75
|
-
providerOptions: { openai: {
|
|
75
|
+
providerOptions: { openai: c ? { store: !0 } : {
|
|
76
76
|
store: !1,
|
|
77
77
|
forceReasoning: !0
|
|
78
78
|
} }
|
|
@@ -85,14 +85,14 @@ var t = "The images of this result follow in the next message.", n = (e) => e.fl
|
|
|
85
85
|
apiKey: n,
|
|
86
86
|
headers: a,
|
|
87
87
|
includeUsage: !0,
|
|
88
|
-
...
|
|
88
|
+
...d
|
|
89
89
|
})(t)) };
|
|
90
90
|
}
|
|
91
91
|
case "mistral": {
|
|
92
92
|
let { createMistral: e } = await import("./dist-CZbrRF4T.mjs");
|
|
93
93
|
return { languageModel: r(e({
|
|
94
94
|
apiKey: n,
|
|
95
|
-
...
|
|
95
|
+
...d
|
|
96
96
|
})(t)) };
|
|
97
97
|
}
|
|
98
98
|
case "anthropic": {
|
|
@@ -100,14 +100,14 @@ var t = "The images of this result follow in the next message.", n = (e) => e.fl
|
|
|
100
100
|
return { languageModel: e({
|
|
101
101
|
apiKey: n,
|
|
102
102
|
headers: { "anthropic-dangerous-direct-browser-access": "true" },
|
|
103
|
-
...
|
|
103
|
+
...d
|
|
104
104
|
})(t) };
|
|
105
105
|
}
|
|
106
106
|
case "google": {
|
|
107
107
|
let { createGoogleGenerativeAI: e } = await import("./dist-DCzWWudD.mjs");
|
|
108
108
|
return { languageModel: e({
|
|
109
109
|
apiKey: n,
|
|
110
|
-
...
|
|
110
|
+
...d
|
|
111
111
|
})(t) };
|
|
112
112
|
}
|
|
113
113
|
default: throw Error(`Unknown provider "${e}" - supported: azure, openai, openai-compatible, mistral, anthropic, google`);
|
package/configurator.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { i as e, r as t } from "./chat-model-
|
|
2
|
+
import { i as e, r as t } from "./chat-model-JqqVnnmY.mjs";
|
|
3
3
|
//#region packages/embedding-lib/src/configurator-agent/configurator-mcp-tools.ts
|
|
4
4
|
var n = async (e) => {
|
|
5
5
|
if (typeof e.getConfiguratorAgentTools != "function" || typeof e.callConfiguratorAgentTool != "function") throw Error("Update the Rubens UI: configurator agent tools are unavailable.");
|
package/configurator.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { i as e, r as t } from "./chat-model-
|
|
2
|
+
import { i as e, r as t } from "./chat-model-CFuHw4cp.mjs";
|
|
3
3
|
var n = async (e) => {
|
|
4
4
|
if (typeof e.getConfiguratorAgentTools != "function" || typeof e.callConfiguratorAgentTool != "function") throw Error("Update the Rubens UI: configurator agent tools are unavailable.");
|
|
5
5
|
return t(await e.getConfiguratorAgentTools(), (t, n) => e.callConfiguratorAgentTool(t, n), "configurator-mcp");
|
package/construction.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { i as e, n as t, r as n, t as r } from "./chat-model-
|
|
2
|
+
import { i as e, n as t, r as n, t as r } from "./chat-model-JqqVnnmY.mjs";
|
|
3
3
|
//#region packages/embedding-lib/src/construction-agent/construction-mcp-tools.ts
|
|
4
4
|
var i = async (e) => {
|
|
5
5
|
if (typeof e.getConstructionAgentTools != "function" || typeof e.callConstructionAgentTool != "function") throw Error("Update the Rubens UI: fence agent tools are unavailable.");
|
package/construction.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { i as e, n as t, r as n, t as r } from "./chat-model-
|
|
2
|
+
import { i as e, n as t, r as n, t as r } from "./chat-model-CFuHw4cp.mjs";
|
|
3
3
|
var i = async (e) => {
|
|
4
4
|
if (typeof e.getConstructionAgentTools != "function" || typeof e.callConstructionAgentTool != "function") throw Error("Update the Rubens UI: fence agent tools are unavailable.");
|
|
5
5
|
return n(await e.getConstructionAgentTools(), (t, n) => e.callConstructionAgentTool(t, n), "fence-mcp");
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
## 10.0.0-alpha.
|
|
1
|
+
## 10.0.0-alpha.8 (2026-11-16)
|
|
2
2
|
|
|
3
|
-
* Merge branch 'master' into
|
|
4
|
-
* Merge
|
|
5
|
-
* Merge pull request #
|
|
6
|
-
* Merge pull request #
|
|
7
|
-
*
|
|
8
|
-
*
|
|
3
|
+
* Merge branch 'master' into release/test ([2b45666](https://github.com/roomle-dev/roomle-ui/commit/2b45666))
|
|
4
|
+
* Merge pull request #3370 from roomle-dev/chore/trim-agent-process-guidelines-RML-18675 ([93e663f](https://github.com/roomle-dev/roomle-ui/commit/93e663f)), closes [#3370](https://github.com/roomle-dev/roomle-ui/issues/3370)
|
|
5
|
+
* Merge pull request #3373 from roomle-dev/upgraded-by-ci/core-3.3.0-alpha.21 ([27135b2](https://github.com/roomle-dev/roomle-ui/commit/27135b2)), closes [#3373](https://github.com/roomle-dev/roomle-ui/issues/3373)
|
|
6
|
+
* Merge pull request #3374 from roomle-dev/feat/gateway-stored-responses-RML-18597 ([b34d52b](https://github.com/roomle-dev/roomle-ui/commit/b34d52b)), closes [#3374](https://github.com/roomle-dev/roomle-ui/issues/3374)
|
|
7
|
+
* Merge pull request #3378 from roomle-dev/upgraded-by-ci/core-3.3.0-alpha.22 ([f404266](https://github.com/roomle-dev/roomle-ui/commit/f404266)), closes [#3378](https://github.com/roomle-dev/roomle-ui/issues/3378)
|
|
8
|
+
* feat: chain stored openai-compatible gateway responses ([4a094b3](https://github.com/roomle-dev/roomle-ui/commit/4a094b3))
|
|
9
|
+
* feat(core): upgrade to version 3.3.0-alpha.21 ([b3715d1](https://github.com/roomle-dev/roomle-ui/commit/b3715d1))
|
|
10
|
+
* feat(core): upgrade to version 3.3.0-alpha.22 ([d428222](https://github.com/roomle-dev/roomle-ui/commit/d428222))
|
|
11
|
+
* fix(planner-core): preserve held configurator mode on slider gestures and hide preview box (RML-1866 ([3b0f496](https://github.com/roomle-dev/roomle-ui/commit/3b0f496))
|
|
12
|
+
* chore: address review comments on pr 3370 ([a83c0ff](https://github.com/roomle-dev/roomle-ui/commit/a83c0ff))
|
|
13
|
+
* chore: trim redundancy in agent process guidelines ([5ac3c1c](https://github.com/roomle-dev/roomle-ui/commit/5ac3c1c))
|
package/hi.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
2
|
import { t as e } from "./browser-D6M-d6y5.mjs";
|
|
3
3
|
import { t } from "./utils-BwWn6Fw4.mjs";
|
|
4
|
-
import { i as n, r } from "./chat-model-
|
|
4
|
+
import { i as n, r } from "./chat-model-JqqVnnmY.mjs";
|
|
5
5
|
var i = (e, t) => t === e.libraryId ? e : {
|
|
6
6
|
...e,
|
|
7
7
|
libraryId: t
|
package/hi.min.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
2
|
import { t as e } from "./browser-BjtSrqbu.mjs";
|
|
3
3
|
import { t } from "./utils-BoELtcEK.mjs";
|
|
4
|
-
import { i as n, r } from "./chat-model-
|
|
4
|
+
import { i as n, r } from "./chat-model-CFuHw4cp.mjs";
|
|
5
5
|
var i = (e, t) => t === e.libraryId ? e : {
|
|
6
6
|
...e,
|
|
7
7
|
libraryId: t
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomle/embedding-lib",
|
|
3
|
-
"version": "10.0.0-alpha.
|
|
3
|
+
"version": "10.0.0-alpha.8",
|
|
4
4
|
"description": "This is a small library which can be used to communicate with the Roomle Configurator. ES modules only (browser-compatible).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./roomle-embedding-lib.js",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
8
|
"files": [
|
|
9
|
-
"./"
|
|
9
|
+
"./",
|
|
10
|
+
"SECURITY.md"
|
|
10
11
|
],
|
|
11
12
|
"exports": {
|
|
12
13
|
".": {
|
|
@@ -2,7 +2,7 @@ import { LanguageModelV4, SharedV4ProviderOptions } from '@ai-sdk/provider';
|
|
|
2
2
|
import { PlanningAssistantConfig } from './types';
|
|
3
3
|
export type { PlanningAssistantConfig } from './types';
|
|
4
4
|
/** The AI SDK language model of the config and the provider options `streamText` takes with it. */
|
|
5
|
-
export declare const loadChatModel: ({ provider, model, apiKey, baseUrl, headers, chatCompletions, responses, reasoningEffort, }: PlanningAssistantConfig, observeRequest?: (body: string) => Promise<void>) => Promise<{
|
|
5
|
+
export declare const loadChatModel: ({ provider, model, apiKey, baseUrl, headers, chatCompletions, responses, storedResponses, reasoningEffort, }: PlanningAssistantConfig, observeRequest?: (body: string) => Promise<void>) => Promise<{
|
|
6
6
|
languageModel: LanguageModelV4;
|
|
7
7
|
providerOptions?: SharedV4ProviderOptions;
|
|
8
8
|
}>;
|
|
@@ -16,8 +16,10 @@ export interface PlanningAssistantConfig {
|
|
|
16
16
|
headers?: Record<string, string>;
|
|
17
17
|
/** `azure` only: call the deployment through the Chat Completions API instead of the Responses API. */
|
|
18
18
|
chatCompletions?: boolean;
|
|
19
|
-
/** `openai-compatible` only: call `<baseUrl>/responses` instead of `<baseUrl>/chat/completions`, stateless (`store: false`, the whole history in every request, the reasoning carried encrypted)
|
|
19
|
+
/** `openai-compatible` only: call `<baseUrl>/responses` instead of `<baseUrl>/chat/completions`, defaulting to stateless (`store: false`, the whole history in every request, the reasoning carried encrypted) unless `storedResponses` is true. */
|
|
20
20
|
responses?: boolean;
|
|
21
|
+
/** `openai-compatible` with `responses` only: store responses on the server (`store: true`) so supported runtimes can continue steps and follow-up turns by `previousResponseId`. */
|
|
22
|
+
storedResponses?: boolean;
|
|
21
23
|
/** `azure` only: the reasoning effort of the deployment; its default when unset. */
|
|
22
24
|
reasoningEffort?: string;
|
|
23
25
|
/** Azure Responses only: mark the library prefix for caching on a deployment verified to support explicit breakpoints. */
|
package/sbom.cdx.json
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"bomFormat": "CycloneDX",
|
|
4
4
|
"specVersion": "1.6",
|
|
5
5
|
"version": 1,
|
|
6
|
-
"serialNumber": "urn:uuid:
|
|
6
|
+
"serialNumber": "urn:uuid:49749966-267d-5dcd-aee6-731e522abaed",
|
|
7
7
|
"metadata": {
|
|
8
|
-
"timestamp": "2026-11-
|
|
8
|
+
"timestamp": "2026-11-16T06:55:37.000Z",
|
|
9
9
|
"component": {
|
|
10
10
|
"type": "library",
|
|
11
11
|
"name": "@roomle/embedding-lib",
|
|
12
|
-
"version": "
|
|
13
|
-
"bom-ref": "@roomle/embedding-lib@
|
|
12
|
+
"version": "2b456661c14c386d6a8799e19550dbc2fd730faf",
|
|
13
|
+
"bom-ref": "@roomle/embedding-lib@2b456661c14c386d6a8799e19550dbc2fd730faf"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"components": [
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
],
|
|
352
352
|
"dependencies": [
|
|
353
353
|
{
|
|
354
|
-
"ref": "@roomle/embedding-lib@
|
|
354
|
+
"ref": "@roomle/embedding-lib@2b456661c14c386d6a8799e19550dbc2fd730faf"
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"ref": "pkg:npm/%40ai-sdk/anthropic@4.0.68"
|