@roomle/embedding-lib 0.0.0-dev-f0a595f → 0.0.0-dev-ac159d1

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 f0a595fb3082ce97654bc9f722e3cd2e57b5de04
2
- Generated 2026-11-22
1
+ Third-party software notices for @roomle/embedding-lib ac159d1e03147911a5fb6eef466f658423c3253b
2
+ Generated 2026-11-24
3
3
 
4
4
  This product includes the following third-party components.
5
5
 
package/construction.js CHANGED
@@ -17467,7 +17467,8 @@ var bg = {
17467
17467
  context: [],
17468
17468
  prompt: {
17469
17469
  text: e.text,
17470
- images: [...e.images]
17470
+ images: [...e.images],
17471
+ ...e.documents?.length ? { documents: [...e.documents] } : {}
17471
17472
  },
17472
17473
  events: [],
17473
17474
  outcome: "running",
@@ -17480,7 +17481,8 @@ var bg = {
17480
17481
  i === void 0 && (i = n.systemPrompts.push({
17481
17482
  rootComponentId: e.rootComponentId ?? null,
17482
17483
  text: e.systemPrompt,
17483
- imagePrompt: e.imagePrompt
17484
+ imagePrompt: e.imagePrompt,
17485
+ ...e.documentPrompt !== void 0 && { documentPrompt: e.documentPrompt }
17484
17486
  }) - 1, r.set(e, i)), t.systemPrompt = i;
17485
17487
  },
17486
17488
  context: (e) => {
@@ -17551,7 +17553,8 @@ var bg = {
17551
17553
  return Object.assign(async ({ text: r, images: a, documents: x = [] }, S = t) => {
17552
17554
  let C = ct([t, S]), w = g.startTurn({
17553
17555
  text: r,
17554
- images: a
17556
+ images: a,
17557
+ documents: x
17555
17558
  });
17556
17559
  d = w;
17557
17560
  let T = "done", E = null;
@@ -17182,7 +17182,8 @@ var ym = {
17182
17182
  context: [],
17183
17183
  prompt: {
17184
17184
  text: e.text,
17185
- images: [...e.images]
17185
+ images: [...e.images],
17186
+ ...e.documents?.length ? { documents: [...e.documents] } : {}
17186
17187
  },
17187
17188
  events: [],
17188
17189
  outcome: "running",
@@ -17195,7 +17196,8 @@ var ym = {
17195
17196
  i === void 0 && (i = n.systemPrompts.push({
17196
17197
  rootComponentId: e.rootComponentId ?? null,
17197
17198
  text: e.systemPrompt,
17198
- imagePrompt: e.imagePrompt
17199
+ imagePrompt: e.imagePrompt,
17200
+ ...e.documentPrompt !== void 0 && { documentPrompt: e.documentPrompt }
17199
17201
  }) - 1, r.set(e, i)), t.systemPrompt = i;
17200
17202
  },
17201
17203
  context: (e) => {
@@ -17241,7 +17243,8 @@ var ym = {
17241
17243
  var S;
17242
17244
  let C = g.startTurn({
17243
17245
  text: e,
17244
- images: r
17246
+ images: r,
17247
+ documents: a
17245
17248
  });
17246
17249
  d = C;
17247
17250
  let w = "done", T = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomle/embedding-lib",
3
- "version": "0.0.0-dev-f0a595f",
3
+ "version": "0.0.0-dev-ac159d1",
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",
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:7288c771-e968-58b9-b6a3-f3d88ef4f398",
6
+ "serialNumber": "urn:uuid:8272c322-285a-55a9-978f-7b990da33d31",
7
7
  "metadata": {
8
- "timestamp": "2026-11-22T19:26:31.000Z",
8
+ "timestamp": "2026-11-24T08:25:07.000Z",
9
9
  "component": {
10
10
  "type": "library",
11
11
  "name": "@roomle/embedding-lib",
12
- "version": "f0a595fb3082ce97654bc9f722e3cd2e57b5de04",
13
- "bom-ref": "@roomle/embedding-lib@f0a595fb3082ce97654bc9f722e3cd2e57b5de04"
12
+ "version": "ac159d1e03147911a5fb6eef466f658423c3253b",
13
+ "bom-ref": "@roomle/embedding-lib@ac159d1e03147911a5fb6eef466f658423c3253b"
14
14
  }
15
15
  },
16
16
  "components": [
@@ -351,7 +351,7 @@
351
351
  ],
352
352
  "dependencies": [
353
353
  {
354
- "ref": "@roomle/embedding-lib@f0a595fb3082ce97654bc9f722e3cd2e57b5de04"
354
+ "ref": "@roomle/embedding-lib@ac159d1e03147911a5fb6eef466f658423c3253b"
355
355
  },
356
356
  {
357
357
  "ref": "pkg:npm/%40ai-sdk/anthropic@4.0.68"