@roomle/embedding-lib 10.0.0-alpha.7 → 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.
@@ -1,5 +1,5 @@
1
- Third-party software notices for @roomle/embedding-lib 2e43a9aaf50f94566a417dc90c2ffe0b9552fa41
2
- Generated 2026-11-13
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, reasoningEffort: c }, l) => {
40
- let u = l ? { fetch: new Proxy(fetch, { apply: async (e, t, n) => (typeof n[1]?.body == "string" && await l(n[1].body), fetch(...n)) }) } : {};
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
- ...u
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
- ...u
53
+ ...d
54
54
  });
55
55
  return {
56
56
  languageModel: o ? n.chat(t) : n(t),
57
- providerOptions: c ? { azure: { reasoningEffort: c } } : void 0
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
- ...u
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
- ...u
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
- ...u
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
- ...u
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
- ...u
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, reasoningEffort: c }, l) => {
41
- let u = l ? { fetch: new Proxy(fetch, { apply: async (e, t, n) => (typeof n[1]?.body == "string" && await l(n[1].body), fetch(...n)) }) } : {};
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
- ...u
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
- ...u
54
+ ...d
55
55
  });
56
56
  return {
57
57
  languageModel: o ? r.chat(t) : r(t),
58
- providerOptions: c ? { azure: { reasoningEffort: c } } : void 0
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
- ...u
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
- ...u
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
- ...u
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
- ...u
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
- ...u
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-gyIajfDW.mjs";
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.");
@@ -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-DKlWonm6.mjs";
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-gyIajfDW.mjs";
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.");
@@ -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-DKlWonm6.mjs";
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,32 +1,13 @@
1
- ## 10.0.0-alpha.7 (2026-11-13)
1
+ ## 10.0.0-alpha.8 (2026-11-16)
2
2
 
3
- * Merge branch 'master' into chore/copilot-pr-context-RML-18644 ([eec0aea](https://github.com/roomle-dev/roomle-ui/commit/eec0aea))
4
- * Merge branch 'master' into chore/copilot-pr-context-RML-18644 ([fbc1a87](https://github.com/roomle-dev/roomle-ui/commit/fbc1a87))
5
- * Merge branch 'master' into chore/modern-web-guidance-v1-RML-18651 ([1a9a349](https://github.com/roomle-dev/roomle-ui/commit/1a9a349))
6
- * Merge branch 'master' into chore/prefix-skills-rml-RML-18648 ([f688efb](https://github.com/roomle-dev/roomle-ui/commit/f688efb))
7
- * Merge branch 'master' into chore/security-md-npm-packages-RML-18159 ([cab2e3a](https://github.com/roomle-dev/roomle-ui/commit/cab2e3a))
8
- * Merge branch 'master' into chore/security-md-npm-packages-RML-18159 ([2c63e19](https://github.com/roomle-dev/roomle-ui/commit/2c63e19))
9
- * Merge branch 'master' into claude/node-november-2026-security-e2d318 ([f1a195a](https://github.com/roomle-dev/roomle-ui/commit/f1a195a))
10
- * Merge branch 'master' into feat/configuration-assistant-image-input-RML-18579 ([f48420f](https://github.com/roomle-dev/roomle-ui/commit/f48420f))
11
- * Merge branch 'master' into feat/configuration-assistant-image-input-RML-18579 ([403de40](https://github.com/roomle-dev/roomle-ui/commit/403de40))
12
- * Merge branch 'master' into feat/configuration-assistant-image-input-RML-18579 ([b32a9fe](https://github.com/roomle-dev/roomle-ui/commit/b32a9fe))
13
- * Merge branch 'master' into feat/configuration-assistant-image-input-RML-18579 ([db32858](https://github.com/roomle-dev/roomle-ui/commit/db32858))
14
- * Merge branch 'master' into release/test ([2e43a9a](https://github.com/roomle-dev/roomle-ui/commit/2e43a9a))
15
- * Merge pull request #3326 from roomle-dev/chore/security-md-npm-packages-RML-18159 ([74cbf86](https://github.com/roomle-dev/roomle-ui/commit/74cbf86)), closes [#3326](https://github.com/roomle-dev/roomle-ui/issues/3326)
16
- * Merge pull request #3338 from roomle-dev/feat/configuration-assistant-image-input-RML-18579 ([588affa](https://github.com/roomle-dev/roomle-ui/commit/588affa)), closes [#3338](https://github.com/roomle-dev/roomle-ui/issues/3338)
17
- * Merge pull request #3352 from roomle-dev/claude/node-november-2026-security-e2d318 ([db90342](https://github.com/roomle-dev/roomle-ui/commit/db90342)), closes [#3352](https://github.com/roomle-dev/roomle-ui/issues/3352)
18
- * Merge pull request #3353 from roomle-dev/chore/copilot-pr-context-RML-18644 ([46c3462](https://github.com/roomle-dev/roomle-ui/commit/46c3462)), closes [#3353](https://github.com/roomle-dev/roomle-ui/issues/3353)
19
- * Merge pull request #3354 from roomle-dev/chore/prefix-skills-rml-RML-18648 ([7eb3fc2](https://github.com/roomle-dev/roomle-ui/commit/7eb3fc2)), closes [#3354](https://github.com/roomle-dev/roomle-ui/issues/3354)
20
- * Merge pull request #3355 from roomle-dev/chore/modern-web-guidance-v1-RML-18651 ([94c7f43](https://github.com/roomle-dev/roomle-ui/commit/94c7f43)), closes [#3355](https://github.com/roomle-dev/roomle-ui/issues/3355)
21
- * Merge pull request #3364 from roomle-dev/upgraded-by-ci/core-3.3.0-alpha.20 ([1652d1b](https://github.com/roomle-dev/roomle-ui/commit/1652d1b)), closes [#3364](https://github.com/roomle-dev/roomle-ui/issues/3364)
22
- * feat: let the configuration assistant read images ([d282f70](https://github.com/roomle-dev/roomle-ui/commit/d282f70))
23
- * feat(core): upgrade to version 3.3.0-alpha.20 ([8bcc758](https://github.com/roomle-dev/roomle-ui/commit/8bcc758))
24
- * chore(agents): add review context to PR descriptions and full-context external reviews ([0292e6a](https://github.com/roomle-dev/roomle-ui/commit/0292e6a))
25
- * chore: add SECURITY.md and README security section to npm packages ([cc4ff41](https://github.com/roomle-dev/roomle-ui/commit/cc4ff41))
26
- * chore: bump Node to 24.22.3 (November 2026 security release) ([5ecc65d](https://github.com/roomle-dev/roomle-ui/commit/5ecc65d))
27
- * chore: prefix repo skills and copilot prompts with rml- ([a8ded47](https://github.com/roomle-dev/roomle-ui/commit/a8ded47))
28
- * chore: sync package-lock.json with npm 11.19.1 bundled in Node 24.22.3 ([5acbe94](https://github.com/roomle-dev/roomle-ui/commit/5acbe94))
29
- * chore: update modern-web-guidance skill to v1.0.0 ([809621f](https://github.com/roomle-dev/roomle-ui/commit/809621f))
30
- * fix: address review comments on PR #3338 ([7aa4537](https://github.com/roomle-dev/roomle-ui/commit/7aa4537)), closes [#3338](https://github.com/roomle-dev/roomle-ui/issues/3338)
31
- * fix: hide the stage spinner when a configuration assistant turn ends ([d97a6ad](https://github.com/roomle-dev/roomle-ui/commit/d97a6ad))
32
- * fix(agents): paginate review thread queries ([e2fe7b4](https://github.com/roomle-dev/roomle-ui/commit/e2fe7b4)), closes [#3353](https://github.com/roomle-dev/roomle-ui/issues/3353)
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-gyIajfDW.mjs";
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-DKlWonm6.mjs";
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "10.0.0-alpha.7",
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",
@@ -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) — for a proxy whose reasoning model takes function tools through the Responses API only. */
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:c268d5e9-6f29-5c5e-a7fa-3fc774b00cb2",
6
+ "serialNumber": "urn:uuid:49749966-267d-5dcd-aee6-731e522abaed",
7
7
  "metadata": {
8
- "timestamp": "2026-11-13T13:05:45.000Z",
8
+ "timestamp": "2026-11-16T06:55:37.000Z",
9
9
  "component": {
10
10
  "type": "library",
11
11
  "name": "@roomle/embedding-lib",
12
- "version": "2e43a9aaf50f94566a417dc90c2ffe0b9552fa41",
13
- "bom-ref": "@roomle/embedding-lib@2e43a9aaf50f94566a417dc90c2ffe0b9552fa41"
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@2e43a9aaf50f94566a417dc90c2ffe0b9552fa41"
354
+ "ref": "@roomle/embedding-lib@2b456661c14c386d6a8799e19550dbc2fd730faf"
355
355
  },
356
356
  {
357
357
  "ref": "pkg:npm/%40ai-sdk/anthropic@4.0.68"