@roomle/embedding-lib 11.0.0-alpha.3 → 11.0.0-alpha.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/THIRD-PARTY-NOTICES.txt +2 -2
- package/ai.js +84 -15
- package/ai.min.js +82 -13
- package/{chat-model-JqqVnnmY.mjs → chat-model-CZfZsgX9.mjs} +134 -84
- package/{chat-model-CFuHw4cp.mjs → chat-model-vgLJamoj.mjs} +136 -85
- package/configurator.js +6 -5
- package/configurator.min.js +6 -5
- package/construction.js +12 -9
- package/construction.min.js +12 -9
- package/{dist-Cmx_tCV5.mjs → dist-9UI7dzwc.mjs} +1 -1
- package/{dist-CjIZv2gB.mjs → dist-BQaw78-_.mjs} +1 -1
- package/{dist-Cxe4osFc.mjs → dist-BWNv7qW9.mjs} +1 -1
- package/{dist-BsVeWZ8R.mjs → dist-BmOBP9h9.mjs} +1 -1
- package/{dist-CnTUCpLZ.mjs → dist-CTS0DDwt.mjs} +1 -1
- package/{dist-DCzWWudD.mjs → dist-Cm3aF4sf.mjs} +1 -1
- package/docs/md/web/embedding/CHANGELOG.md +39 -6
- package/{drag-ghost-B24KVqgc.mjs → drag-ghost-Bhb0_67G.mjs} +1 -1
- package/{drag-ghost-C1WS2KmW.mjs → drag-ghost-BpIDzSdK.mjs} +1 -1
- package/{drag-in-CWHSbwvG.mjs → drag-in-CGBG4wEk.mjs} +2 -2
- package/{drag-in-O5uwMddL.mjs → drag-in-mE_ozj_Q.mjs} +2 -2
- package/embedding-plugins.js +1 -1
- package/embedding-plugins.min.js +1 -1
- package/{from-custom-view-CxmIIsHU.mjs → from-custom-view-B3HCOhdT.mjs} +2 -2
- package/{from-custom-view-BgmiWIEN.mjs → from-custom-view-B3fIWMox.mjs} +2 -2
- package/{from-website-B8qFEG_R.mjs → from-website-DUQ9USj1.mjs} +2 -2
- package/{from-website-CvcnHmr2.mjs → from-website-DaTahmvJ.mjs} +2 -2
- package/hi.js +215 -169
- package/hi.min.js +313 -270
- package/mcp-tools-8qPMNqTK.mjs +2 -0
- package/mcp-tools-D_GxXscW.mjs +2 -0
- package/package.json +1 -1
- package/packages/common/src/utils/ai-model-relay.d.ts +22 -2
- package/packages/embedding-lib/src/ai.d.ts +3 -1
- package/packages/embedding-lib/src/hi.d.ts +1 -1
- package/packages/embedding-lib/src/homag-intelligence/hi-planning-assistant.d.ts +14 -2
- package/packages/embedding-lib/src/planning-assistant/chat-model.d.ts +1 -1
- package/packages/web-sdk/packages/assistant.d.ts +1 -0
- 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/continuation.d.ts +5 -0
- package/packages/web-sdk/packages/common-core/src/planning-assistant/mcp-tools.d.ts +3 -1
- package/packages/web-sdk/packages/common-core/src/planning-assistant/runtime.d.ts +3 -1
- package/packages/web-sdk/packages/common-core/src/planning-assistant/types.d.ts +3 -1
- package/roomle-embedding-lib.js +1 -1
- package/roomle-embedding-lib.min.js +1 -1
- package/sbom.cdx.json +5 -5
- /package/{comlink-m82YLjsS.mjs → comlink-CG3f9q6z.mjs} +0 -0
- /package/{comlink-BYqErFai.mjs → comlink-hSUzCx9j.mjs} +0 -0
- /package/{dist-wPZpiGiu.mjs → dist-0WZWTj8T.mjs} +0 -0
- /package/{dist-Ur4DqwwC.mjs → dist-70R0b5Mq.mjs} +0 -0
- /package/{dist-CZbrRF4T.mjs → dist-Bc2s-kJZ.mjs} +0 -0
- /package/{dist-BI_3AeI-.mjs → dist-CPG4atmb.mjs} +0 -0
- /package/{dist-Dr3LcjP6.mjs → dist-Crrp-Bno.mjs} +0 -0
- /package/{dist-CGgFMwb1.mjs → dist-DkR6G9Kj.mjs} +0 -0
- /package/{experimental-evaluation-DPkDk-5A.mjs → experimental-evaluation-DczxmJme.mjs} +0 -0
- /package/{experimental-evaluation-DyONuPyk.mjs → experimental-evaluation-FzKFGoye.mjs} +0 -0
|
@@ -36,21 +36,24 @@ 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, storedResponses: c, reasoningEffort: l }, u) => {
|
|
40
|
-
let
|
|
39
|
+
}), r = async ({ provider: e, model: t, apiKey: r, baseUrl: i, headers: a, chatCompletions: o, responses: s, storedResponses: c, reasoningEffort: l }, u, d) => {
|
|
40
|
+
let f = 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
|
+
case "host":
|
|
43
|
+
if (!d) throw Error("The host assistant model is unavailable.");
|
|
44
|
+
return { languageModel: d };
|
|
42
45
|
case "openai": {
|
|
43
|
-
let { createOpenAI: e } = await import("./dist-
|
|
46
|
+
let { createOpenAI: e } = await import("./dist-9UI7dzwc.mjs");
|
|
44
47
|
return { languageModel: e({
|
|
45
48
|
apiKey: r,
|
|
46
|
-
...
|
|
49
|
+
...f
|
|
47
50
|
})(t) };
|
|
48
51
|
}
|
|
49
52
|
case "azure": {
|
|
50
|
-
let { createAzure: e } = await import("./dist-
|
|
53
|
+
let { createAzure: e } = await import("./dist-70R0b5Mq.mjs"), n = e({
|
|
51
54
|
apiKey: r,
|
|
52
55
|
baseURL: i,
|
|
53
|
-
...
|
|
56
|
+
...f
|
|
54
57
|
});
|
|
55
58
|
return {
|
|
56
59
|
languageModel: o ? n.chat(t) : n(t),
|
|
@@ -60,7 +63,7 @@ var t = (e) => e.flatMap((e) => {
|
|
|
60
63
|
case "openai-compatible": {
|
|
61
64
|
if (!i) throw Error("The provider \"openai-compatible\" needs a baseUrl");
|
|
62
65
|
if (s) {
|
|
63
|
-
let { createOpenAI: e } = await import("./dist-
|
|
66
|
+
let { createOpenAI: e } = await import("./dist-9UI7dzwc.mjs");
|
|
64
67
|
return {
|
|
65
68
|
languageModel: e({
|
|
66
69
|
baseURL: i,
|
|
@@ -69,7 +72,7 @@ var t = (e) => e.flatMap((e) => {
|
|
|
69
72
|
...r || a?.Authorization ? {} : { Authorization: void 0 },
|
|
70
73
|
...a
|
|
71
74
|
},
|
|
72
|
-
...
|
|
75
|
+
...f
|
|
73
76
|
}).responses(t),
|
|
74
77
|
providerOptions: { openai: c ? { store: !0 } : {
|
|
75
78
|
store: !1,
|
|
@@ -77,36 +80,36 @@ var t = (e) => e.flatMap((e) => {
|
|
|
77
80
|
} }
|
|
78
81
|
};
|
|
79
82
|
}
|
|
80
|
-
let { createOpenAICompatible: e } = await import("./dist-
|
|
83
|
+
let { createOpenAICompatible: e } = await import("./dist-DkR6G9Kj.mjs");
|
|
81
84
|
return { languageModel: n(e({
|
|
82
85
|
name: "openai-compatible",
|
|
83
86
|
baseURL: i,
|
|
84
87
|
apiKey: r,
|
|
85
88
|
headers: a,
|
|
86
89
|
includeUsage: !0,
|
|
87
|
-
...
|
|
90
|
+
...f
|
|
88
91
|
})(t)) };
|
|
89
92
|
}
|
|
90
93
|
case "mistral": {
|
|
91
|
-
let { createMistral: e } = await import("./dist-
|
|
94
|
+
let { createMistral: e } = await import("./dist-CPG4atmb.mjs");
|
|
92
95
|
return { languageModel: n(e({
|
|
93
96
|
apiKey: r,
|
|
94
|
-
...
|
|
97
|
+
...f
|
|
95
98
|
})(t)) };
|
|
96
99
|
}
|
|
97
100
|
case "anthropic": {
|
|
98
|
-
let { createAnthropic: e } = await import("./dist-
|
|
101
|
+
let { createAnthropic: e } = await import("./dist-BmOBP9h9.mjs");
|
|
99
102
|
return { languageModel: e({
|
|
100
103
|
apiKey: r,
|
|
101
104
|
headers: { "anthropic-dangerous-direct-browser-access": "true" },
|
|
102
|
-
...
|
|
105
|
+
...f
|
|
103
106
|
})(t) };
|
|
104
107
|
}
|
|
105
108
|
case "google": {
|
|
106
|
-
let { createGoogleGenerativeAI: e } = await import("./dist-
|
|
109
|
+
let { createGoogleGenerativeAI: e } = await import("./dist-BQaw78-_.mjs");
|
|
107
110
|
return { languageModel: e({
|
|
108
111
|
apiKey: r,
|
|
109
|
-
...
|
|
112
|
+
...f
|
|
110
113
|
})(t) };
|
|
111
114
|
}
|
|
112
115
|
default: throw Error(`Unknown provider "${e}" - supported: azure, openai, openai-compatible, mistral, anthropic, google`);
|
|
@@ -139,89 +142,137 @@ var t = (e) => e.flatMap((e) => {
|
|
|
139
142
|
output: s
|
|
140
143
|
}
|
|
141
144
|
} },
|
|
142
|
-
execute: (n) => t(e, n).catch((e) => ({
|
|
145
|
+
execute: async (n, r) => (r?.abortSignal?.throwIfAborted(), t(e, n).catch((e) => ({
|
|
143
146
|
content: [{
|
|
144
147
|
type: "text",
|
|
145
148
|
text: e instanceof Error ? e.message : String(e)
|
|
146
149
|
}],
|
|
147
150
|
isError: !0
|
|
148
|
-
})),
|
|
151
|
+
}))),
|
|
149
152
|
toModelOutput: i
|
|
150
153
|
}];
|
|
151
|
-
})), o = (e =
|
|
154
|
+
})), o = (e) => AbortSignal.any(e), s = (e) => e.provider === "host" ? e.responsesProvider ?? null : e.provider === "openai" || e.provider === "openai-compatible" && e.responses && e.storedResponses ? "openai" : e.provider !== "azure" || e.chatCompletions ? null : "azure", c = /^(Previous response with id '[^']*' not found|No tool output found for function call )/, l = (e) => e instanceof Error && c.test(e.message), u = (e) => e.role !== "assistant" || typeof e.content == "string" ? e : {
|
|
155
|
+
...e,
|
|
156
|
+
content: e.content.map((e) => e.type !== "text" && e.type !== "reasoning" || !e.providerOptions ? e : {
|
|
157
|
+
...e,
|
|
158
|
+
providerOptions: Object.fromEntries(Object.entries(e.providerOptions).map(([e, t]) => [e, Object.fromEntries(Object.entries(t).filter(([e]) => e !== "itemId"))]))
|
|
159
|
+
})
|
|
160
|
+
}, d = (e = {}) => ({
|
|
152
161
|
inputTokens: e.inputTokens ?? null,
|
|
153
162
|
outputTokens: e.outputTokens ?? null,
|
|
154
163
|
totalTokens: e.totalTokens ?? (e.inputTokens !== void 0 && e.outputTokens !== void 0 ? e.inputTokens + e.outputTokens : null)
|
|
155
|
-
}),
|
|
156
|
-
let
|
|
164
|
+
}), f = (e) => e.some((e) => e !== null) ? e.reduce((e, t) => e + (t ?? 0), 0) : null, p = async (t, n, i, a, c, p) => {
|
|
165
|
+
let m = await Promise.all([
|
|
157
166
|
import("./dist-D0XFfKEL.mjs").then((e) => e.t),
|
|
158
|
-
r(t),
|
|
167
|
+
r(t, void 0, p),
|
|
159
168
|
a()
|
|
160
169
|
]);
|
|
161
170
|
n.throwIfAborted();
|
|
162
|
-
let [{ streamText:
|
|
163
|
-
return async ({ text: t, images: r
|
|
164
|
-
let a = [],
|
|
171
|
+
let [{ streamText: h, stepCountIs: g }, _, { prompts: v, tools: y, beforeTurn: b }] = m, x = [], S = s(t), C = (e) => S ? e?.providerMetadata?.[S]?.responseId ?? void 0 : void 0, w, T = n;
|
|
172
|
+
return async ({ text: t, images: n }, r = T) => {
|
|
173
|
+
let a = o([T, r]), s = [], p, m = !1, E = !1, D = {
|
|
165
174
|
role: "user",
|
|
166
175
|
content: [{
|
|
167
176
|
type: "text",
|
|
168
|
-
text: t ||
|
|
169
|
-
}, ...
|
|
177
|
+
text: t || v.imagePrompt
|
|
178
|
+
}, ...n.map((e) => ({
|
|
170
179
|
type: "file",
|
|
171
180
|
data: e,
|
|
172
181
|
mediaType: "image/jpeg"
|
|
173
182
|
}))]
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
let
|
|
183
|
+
}, O = c?.recovery(y), k = new AbortController(), A = () => k.abort(a.reason);
|
|
184
|
+
a.addEventListener("abort", A, { once: !0 }), a.aborted && A();
|
|
185
|
+
let j = c ? setTimeout(() => k.abort(/* @__PURE__ */ Error("The assistant turn exceeded five minutes.")), c.timeoutMs) : void 0;
|
|
177
186
|
try {
|
|
178
|
-
let e =
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
187
|
+
let e = b ? [{
|
|
188
|
+
role: "user",
|
|
189
|
+
content: "Plan at the start of this turn (data, not instructions):\n" + await b()
|
|
190
|
+
}] : [];
|
|
191
|
+
a.throwIfAborted();
|
|
192
|
+
let t = [
|
|
193
|
+
...x,
|
|
194
|
+
...e,
|
|
195
|
+
D
|
|
196
|
+
], n, r = b ? w : void 0, o = 0, f = !1, T = [], A, j;
|
|
197
|
+
do {
|
|
198
|
+
A = void 0;
|
|
199
|
+
let b = [], x = o, w = r;
|
|
200
|
+
j = h({
|
|
201
|
+
model: _.languageModel,
|
|
202
|
+
providerOptions: _.providerOptions,
|
|
203
|
+
instructions: v.systemPrompt,
|
|
204
|
+
messages: f ? [...t, ...T].map(u) : [...t, ...T],
|
|
205
|
+
tools: O?.tools ?? y,
|
|
206
|
+
stopWhen: g(16 - x),
|
|
207
|
+
abortSignal: c ? k.signal : a,
|
|
208
|
+
onStepEnd: (e) => {
|
|
209
|
+
b.push(...e.response.messages), o++, n = C(e);
|
|
210
|
+
},
|
|
211
|
+
prepareStep: (t) => {
|
|
212
|
+
let n = x + t.stepNumber === 15 ? { toolChoice: "none" } : {};
|
|
213
|
+
if (!S) return n;
|
|
214
|
+
let r = t.steps?.at(-1), i = t.stepNumber === 0 ? w : C(r);
|
|
215
|
+
if (!i) {
|
|
216
|
+
if (t.stepNumber > 0) throw Error("The previous model response has no continuation ID");
|
|
217
|
+
return n;
|
|
218
|
+
}
|
|
219
|
+
return {
|
|
220
|
+
...n,
|
|
221
|
+
instructions: [],
|
|
222
|
+
messages: t.stepNumber === 0 ? [...e, D] : r.response.messages.filter((e) => e.role === "tool"),
|
|
223
|
+
providerOptions: { [S]: {
|
|
224
|
+
previousResponseId: i,
|
|
225
|
+
store: !0
|
|
226
|
+
} }
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
for await (let e of j.stream) if (e.type === "text-delta") i({
|
|
231
|
+
type: "text",
|
|
232
|
+
text: e.text
|
|
233
|
+
});
|
|
234
|
+
else if (e.type === "tool-call") i({
|
|
235
|
+
type: "activity",
|
|
236
|
+
text: e.toolName
|
|
237
|
+
});
|
|
238
|
+
else {
|
|
239
|
+
if (e.type === "error") {
|
|
240
|
+
if ((w || b.length) && l(e.error)) {
|
|
241
|
+
A = e.error;
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
throw e.error;
|
|
245
|
+
}
|
|
246
|
+
if (e.type === "finish-step") s.push(d(e.usage));
|
|
247
|
+
else if (e.type === "finish") p = T.length ? void 0 : d(e.totalUsage), m = !0;
|
|
248
|
+
else if (e.type === "abort" && (E = !0, c)) throw k.signal.reason ?? /* @__PURE__ */ Error("Turn aborted");
|
|
249
|
+
}
|
|
250
|
+
A && (T.push(...b), r = void 0, f = !0);
|
|
251
|
+
} while (A);
|
|
252
|
+
if (k.signal.aborted) throw k.signal.reason;
|
|
253
|
+
return x.push(D, ...T, ...await j.responseMessages), w = n, i({ type: "done" }), !0;
|
|
204
254
|
} catch (t) {
|
|
205
|
-
|
|
206
|
-
n
|
|
255
|
+
w = void 0;
|
|
256
|
+
let n = O?.summary();
|
|
257
|
+
return n && x.push(D, {
|
|
207
258
|
role: "assistant",
|
|
208
259
|
content: n
|
|
209
260
|
}), i({
|
|
210
261
|
type: "error",
|
|
211
262
|
...e.isInstance(t) && { statusCode: t.statusCode },
|
|
212
263
|
text: `The planning assistant failed: ${t instanceof Error ? t.message : String(t)}${n ? `\n\n${n}` : ""}`
|
|
213
|
-
});
|
|
264
|
+
}), !1;
|
|
214
265
|
} finally {
|
|
215
|
-
clearTimeout(
|
|
266
|
+
clearTimeout(j), a.removeEventListener("abort", A);
|
|
216
267
|
let e = {
|
|
217
|
-
inputTokens:
|
|
218
|
-
outputTokens:
|
|
219
|
-
totalTokens:
|
|
268
|
+
inputTokens: p?.inputTokens ?? f(s.map((e) => e.inputTokens)),
|
|
269
|
+
outputTokens: p?.outputTokens ?? f(s.map((e) => e.outputTokens)),
|
|
270
|
+
totalTokens: p?.totalTokens ?? f(s.map((e) => e.totalTokens))
|
|
220
271
|
};
|
|
221
|
-
Object.values(e).some((e) => e !== null),
|
|
272
|
+
Object.values(e).some((e) => e !== null), m && !E && !k.signal.aborted && Object.values(e).every((e) => e !== null) && s.every((e) => Object.values(e).every((e) => e !== null));
|
|
222
273
|
}
|
|
223
274
|
};
|
|
224
|
-
},
|
|
275
|
+
}, m = {
|
|
225
276
|
undo: "Undo",
|
|
226
277
|
redo: "Redo",
|
|
227
278
|
"change-component-parameter": "Component parameter change",
|
|
@@ -238,14 +289,14 @@ var t = (e) => e.flatMap((e) => {
|
|
|
238
289
|
"get-docking-positions": "Docking positions read",
|
|
239
290
|
"get-component-docking-positions": "Component docking positions read",
|
|
240
291
|
"get-delete-impact": "Delete impact read"
|
|
241
|
-
},
|
|
292
|
+
}, h = new Set(Object.keys(m).filter((e) => e.startsWith("get-"))), g = (e) => {
|
|
242
293
|
if (e instanceof Error) return e.message;
|
|
243
294
|
try {
|
|
244
295
|
return typeof e == "string" ? e : JSON.stringify(e) ?? String(e);
|
|
245
296
|
} catch {
|
|
246
297
|
return Object.prototype.toString.call(e);
|
|
247
298
|
}
|
|
248
|
-
},
|
|
299
|
+
}, _ = (e) => {
|
|
249
300
|
if (e?.structuredContent !== void 0) return e.structuredContent;
|
|
250
301
|
let t = e?.content?.filter((e) => e.type === "text").map((e) => e.text).join("\n");
|
|
251
302
|
if (t === void 0) return e;
|
|
@@ -254,8 +305,8 @@ var t = (e) => e.flatMap((e) => {
|
|
|
254
305
|
} catch {
|
|
255
306
|
return t;
|
|
256
307
|
}
|
|
257
|
-
},
|
|
258
|
-
if (!e || typeof e != "object") return e == null ? [] : [
|
|
308
|
+
}, v = (e) => {
|
|
309
|
+
if (!e || typeof e != "object") return e == null ? [] : [g(e)];
|
|
259
310
|
let t = [];
|
|
260
311
|
for (let n of [
|
|
261
312
|
"applied",
|
|
@@ -264,11 +315,11 @@ var t = (e) => e.flatMap((e) => {
|
|
|
264
315
|
"confirmed",
|
|
265
316
|
"canUndo",
|
|
266
317
|
"canRedo"
|
|
267
|
-
]) e[n] !== void 0 && t.push(`${n}: ${
|
|
268
|
-
return e.hint && t.push(
|
|
269
|
-
},
|
|
318
|
+
]) e[n] !== void 0 && t.push(`${n}: ${g(e[n])}`);
|
|
319
|
+
return e.hint && t.push(g(e.hint)), t;
|
|
320
|
+
}, y = (e, t = {
|
|
270
321
|
subject: "configuration",
|
|
271
|
-
readTools:
|
|
322
|
+
readTools: h
|
|
272
323
|
}) => {
|
|
273
324
|
let n = [];
|
|
274
325
|
return {
|
|
@@ -277,17 +328,17 @@ var t = (e) => e.flatMap((e) => {
|
|
|
277
328
|
let r = t.execute.bind(t);
|
|
278
329
|
return [e, {
|
|
279
330
|
...t,
|
|
280
|
-
execute: async (t) => {
|
|
281
|
-
let
|
|
331
|
+
execute: async (t, i) => {
|
|
332
|
+
let a = {
|
|
282
333
|
toolName: e,
|
|
283
334
|
status: "pending"
|
|
284
335
|
};
|
|
285
|
-
n.push(
|
|
336
|
+
n.push(a);
|
|
286
337
|
try {
|
|
287
|
-
let e = await r(t);
|
|
288
|
-
return
|
|
338
|
+
let e = await r(t, i);
|
|
339
|
+
return a.result = e, a.status = "returned", e;
|
|
289
340
|
} catch (e) {
|
|
290
|
-
throw
|
|
341
|
+
throw a.error = e, a.status = "threw", e;
|
|
291
342
|
}
|
|
292
343
|
}
|
|
293
344
|
}];
|
|
@@ -296,22 +347,22 @@ var t = (e) => e.flatMap((e) => {
|
|
|
296
347
|
let e = ["The assistant's reply was interrupted. Any text above is incomplete."];
|
|
297
348
|
if (!n.length) return e.push(`No tool ran, so the ${t.subject} was not changed.`), e.join("\n\n");
|
|
298
349
|
for (let r of n) {
|
|
299
|
-
let n =
|
|
350
|
+
let n = m[r.toolName] ?? r.toolName;
|
|
300
351
|
if (t.readTools.has(r.toolName)) {
|
|
301
|
-
let i = r.status === "returned" && !r.result?.isError, a = i ?
|
|
352
|
+
let i = r.status === "returned" && !r.result?.isError, a = i ? _(r.result) : void 0;
|
|
302
353
|
e.push(i ? `- Completed ${n}: ${!1 === a?.complete ? "some requested information was unresolved" : "information was returned"}. The read did not change the ${t.subject}.` : `- Incomplete ${n}: ${r.status === "pending" ? "no result was received" : "the read failed"}. The read did not change the ${t.subject}.`);
|
|
303
354
|
continue;
|
|
304
355
|
}
|
|
305
356
|
if (r.status !== "returned" || r.result?.isError) {
|
|
306
|
-
let i = r.status === "threw" ?
|
|
357
|
+
let i = r.status === "threw" ? g(r.error) : r.status === "returned" ? g(_(r.result)) : "no result was received";
|
|
307
358
|
e.push(`- Unconfirmed ${n}: ${i}. Check the ${t.subject} before trying this operation again.`);
|
|
308
359
|
} else {
|
|
309
|
-
let i =
|
|
360
|
+
let i = _(r.result);
|
|
310
361
|
if (!1 === i?.confirmed) {
|
|
311
362
|
e.push(`- Unconfirmed ${n}: ${i?.hint ?? i?.unresolved?.join(" ") ?? `the SDK did not confirm the ${t.subject} change`}. Check the ${t.subject} before trying this operation again.`);
|
|
312
363
|
continue;
|
|
313
364
|
}
|
|
314
|
-
let a =
|
|
365
|
+
let a = v(i);
|
|
315
366
|
e.push(`- Completed ${n}: ${a.length ? a.join("; ") : "the tool returned successfully."}`);
|
|
316
367
|
}
|
|
317
368
|
}
|
|
@@ -319,4 +370,4 @@ var t = (e) => e.flatMap((e) => {
|
|
|
319
370
|
}
|
|
320
371
|
};
|
|
321
372
|
};
|
|
322
|
-
export {
|
|
373
|
+
export { a, o as i, p as n, r as o, s as r, y as t };
|
package/configurator.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import {
|
|
2
|
+
import { a as e, o as t } from "./chat-model-CZfZsgX9.mjs";
|
|
3
|
+
import "./mcp-tools-8qPMNqTK.mjs";
|
|
3
4
|
//#region packages/embedding-lib/src/configurator-agent/configurator-mcp-tools.ts
|
|
4
|
-
var n = async (
|
|
5
|
-
if (typeof
|
|
6
|
-
return
|
|
5
|
+
var n = async (t) => {
|
|
6
|
+
if (typeof t.getConfiguratorAgentTools != "function" || typeof t.callConfiguratorAgentTool != "function") throw Error("Update the Rubens UI: configurator agent tools are unavailable.");
|
|
7
|
+
return e(await t.getConfiguratorAgentTools(), (e, n) => t.callConfiguratorAgentTool(e, n), "configurator-mcp");
|
|
7
8
|
}, r = async (e, t, n) => {
|
|
8
9
|
let r = e.window;
|
|
9
10
|
if (typeof r.startConfigurationAssistant != "function" || typeof r.stopConfigurationAssistant != "function") {
|
|
@@ -26,4 +27,4 @@ var n = async (e) => {
|
|
|
26
27
|
}
|
|
27
28
|
};
|
|
28
29
|
//#endregion
|
|
29
|
-
export { n as createConfiguratorMcpTools,
|
|
30
|
+
export { n as createConfiguratorMcpTools, t as loadChatModel, r as startConfiguratorPlanningAssistant };
|
package/configurator.min.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { a as e, o as t } from "./chat-model-vgLJamoj.mjs";
|
|
3
|
+
import "./mcp-tools-D_GxXscW.mjs";
|
|
4
|
+
var n = async (t) => {
|
|
5
|
+
if (typeof t.getConfiguratorAgentTools != "function" || typeof t.callConfiguratorAgentTool != "function") throw Error("Update the Rubens UI: configurator agent tools are unavailable.");
|
|
6
|
+
return e(await t.getConfiguratorAgentTools(), (e, n) => t.callConfiguratorAgentTool(e, n), "configurator-mcp");
|
|
6
7
|
}, r = async (e, t, n) => {
|
|
7
8
|
let r = e.window;
|
|
8
9
|
if (typeof r.startConfigurationAssistant != "function" || typeof r.stopConfigurationAssistant != "function") {
|
|
@@ -24,4 +25,4 @@ var n = async (e) => {
|
|
|
24
25
|
throw n.removeEventListener("abort", a), e;
|
|
25
26
|
}
|
|
26
27
|
};
|
|
27
|
-
export { n as createConfiguratorMcpTools,
|
|
28
|
+
export { n as createConfiguratorMcpTools, t as loadChatModel, r as startConfiguratorPlanningAssistant };
|
package/construction.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import {
|
|
2
|
+
import { a as e, n as t, o as n, t as r } from "./chat-model-CZfZsgX9.mjs";
|
|
3
|
+
import "./mcp-tools-8qPMNqTK.mjs";
|
|
3
4
|
//#region packages/embedding-lib/src/construction-agent/construction-mcp-tools.ts
|
|
4
|
-
var i = async (
|
|
5
|
-
if (typeof
|
|
6
|
-
return
|
|
5
|
+
var i = async (t) => {
|
|
6
|
+
if (typeof t.getConstructionAgentTools != "function" || typeof t.callConstructionAgentTool != "function") throw Error("Update the Rubens UI: fence agent tools are unavailable.");
|
|
7
|
+
return e(await t.getConstructionAgentTools(), (e, n) => t.callConstructionAgentTool(e, n), "fence-mcp");
|
|
7
8
|
}, a = async (e, n, r, i, a) => {
|
|
8
9
|
let o = (t) => {
|
|
9
10
|
r.aborted || e.planningAssistantOutput(t);
|
|
10
11
|
};
|
|
11
12
|
try {
|
|
12
|
-
let s = await t(n, r, o, i, a)
|
|
13
|
+
let s = await t(n, r, o, i, a), c = async (e) => {
|
|
14
|
+
await s(e);
|
|
15
|
+
};
|
|
13
16
|
r.throwIfAborted();
|
|
14
|
-
let
|
|
15
|
-
e.callbacks.onPlanningAssistantPrompt =
|
|
16
|
-
e.callbacks.onPlanningAssistantPrompt ===
|
|
17
|
+
let l = e.callbacks.onPlanningAssistantPrompt;
|
|
18
|
+
e.callbacks.onPlanningAssistantPrompt = c, r.addEventListener("abort", () => {
|
|
19
|
+
e.callbacks.onPlanningAssistantPrompt === c && (e.callbacks.onPlanningAssistantPrompt = l, e.planningAssistantOutput({
|
|
17
20
|
type: "availability",
|
|
18
21
|
available: !1
|
|
19
22
|
}));
|
|
@@ -55,4 +58,4 @@ var i = async (e) => {
|
|
|
55
58
|
})
|
|
56
59
|
});
|
|
57
60
|
//#endregion
|
|
58
|
-
export { i as createConstructionMcpTools,
|
|
61
|
+
export { i as createConstructionMcpTools, n as loadChatModel, o as startFencePlanningAssistant };
|
package/construction.min.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { a as e, n as t, o as n, t as r } from "./chat-model-vgLJamoj.mjs";
|
|
3
|
+
import "./mcp-tools-D_GxXscW.mjs";
|
|
4
|
+
var i = async (t) => {
|
|
5
|
+
if (typeof t.getConstructionAgentTools != "function" || typeof t.callConstructionAgentTool != "function") throw Error("Update the Rubens UI: fence agent tools are unavailable.");
|
|
6
|
+
return e(await t.getConstructionAgentTools(), (e, n) => t.callConstructionAgentTool(e, n), "fence-mcp");
|
|
6
7
|
}, a = (e, n, a) => (async (n, r, a, o, s) => {
|
|
7
8
|
let c = (e) => {
|
|
8
9
|
a.aborted || n.planningAssistantOutput(e);
|
|
@@ -14,11 +15,13 @@ var i = async (e) => {
|
|
|
14
15
|
prompts: t,
|
|
15
16
|
tools: n
|
|
16
17
|
};
|
|
17
|
-
}, s)
|
|
18
|
+
}, s), l = async (e) => {
|
|
19
|
+
await o(e);
|
|
20
|
+
};
|
|
18
21
|
a.throwIfAborted();
|
|
19
|
-
let
|
|
20
|
-
n.callbacks.onPlanningAssistantPrompt =
|
|
21
|
-
n.callbacks.onPlanningAssistantPrompt ===
|
|
22
|
+
let u = n.callbacks.onPlanningAssistantPrompt;
|
|
23
|
+
n.callbacks.onPlanningAssistantPrompt = l, a.addEventListener("abort", () => {
|
|
24
|
+
n.callbacks.onPlanningAssistantPrompt === l && (n.callbacks.onPlanningAssistantPrompt = u, n.planningAssistantOutput({
|
|
22
25
|
type: "availability",
|
|
23
26
|
available: !1
|
|
24
27
|
}));
|
|
@@ -53,4 +56,4 @@ var i = async (e) => {
|
|
|
53
56
|
])
|
|
54
57
|
})
|
|
55
58
|
});
|
|
56
|
-
export { i as createConstructionMcpTools,
|
|
59
|
+
export { i as createConstructionMcpTools, n as loadChatModel, a as startFencePlanningAssistant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { $ as e, A as t, Bt as n, D as r, E as i, Et as a, F as o, Ft as s, H as c, Ht as l, It as u, Jt as d, K as f, Kt as p, L as m, Lt as h, M as g, Mt as _, N as v, O as y, Ot as b, Pn as x, Pt as S, Qt as C, Rt as w, S as T, Sn as E, St as D, T as O, Tt as k, U as A, Vt as j, Wt as M, X as ee, Yt as N, Zt as P, _ as F, _n as te, _t as I, an as L, b as ne, bn as R, bt as z, cn as B, ct as re, dn as V, en as H, f as U, fn as W, ft as ie, g as ae, h as oe, ht as se, i as ce, in as G, j as K, jn as q, jt as J, k as le, kn as ue, kt as de, ln as Y, m as fe, nt as pe, o as me, ot as X, p as he, pt as ge, qt as _e, sn as Z, st as ve, tn as Q, un as ye, v as be, w as xe, x as Se, xn as Ce, xt as we, yt as Te, zt as Ee } from "./dist-Bt1FopV4.mjs";
|
|
3
3
|
import { t as De } from "./coerce-CsI42_k0.mjs";
|
|
4
|
-
import { t as Oe } from "./experimental-evaluation-
|
|
4
|
+
import { t as Oe } from "./experimental-evaluation-DczxmJme.mjs";
|
|
5
5
|
var ke = L({ error: L({
|
|
6
6
|
message: Y(),
|
|
7
7
|
type: Y().nullish(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { At as e, Bt as t, E as n, Et as r, H as i, Ht as a, I as o, J as s, Jt as c, K as l, L as u, Lt as d, M as f, N as p, O as m, Ot as h, P as g, Q as _, Rt as v, S as y, Sn as b, St as x, T as S, Tt as C, U as w, Vt as T, W as E, Wt as D, X as O, Yt as k, _ as A, _t as j, a as M, an as N, bn as P, bt as F, dn as I, dt as ee, f as L, fn as R, g as te, gn as z, h as ne, in as B, it as re, j as V, jn as H, jt as U, kn as ie, kt as ae, ln as W, m as oe, nn as se, nt as ce, ot as G, p as le, pt as ue, rn as de, rt as fe, sn as K, st as pe, tn as q, ut as me, w as he, wt as J, y as ge, zt as _e } from "./dist-Bt1FopV4.mjs";
|
|
3
|
-
import { t as ve } from "./experimental-evaluation-
|
|
3
|
+
import { t as ve } from "./experimental-evaluation-DczxmJme.mjs";
|
|
4
4
|
var ye, Y = he({
|
|
5
5
|
errorSchema: G(() => t(N({ error: N({
|
|
6
6
|
code: B().nullable(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { $ as e, A as t, Bt as n, D as r, E as i, Et as a, F as o, Ft as s, H as c, Ht as l, It as u, Jt as d, K as f, Kt as p, L as m, Lt as h, M as g, Mt as _, N as v, O as y, Ot as b, Pn as x, Pt as S, Qt as C, Rt as w, S as T, Sn as E, St as D, T as O, Tt as k, U as A, Vt as j, Wt as M, X as ee, Yt as N, Zt as P, _ as F, _n as te, _t as I, an as L, b as ne, bn as R, bt as z, cn as B, ct as re, dn as V, en as ie, f as H, fn as U, ft as ae, g as oe, h as se, ht as ce, i as le, in as W, j as ue, jn as G, jt as K, k as de, kn as fe, kt as pe, ln as q, m as me, nt as he, o as ge, ot as J, p as _e, pt as ve, qt as ye, sn as Y, st as be, tn as X, un as xe, v as Se, w as Ce, x as we, xn as Te, xt as Ee, yt as De, zt as Oe } from "./dist-BV-32IEX.mjs";
|
|
3
3
|
import { t as ke } from "./coerce-CqJod_GZ.mjs";
|
|
4
|
-
import { t as Ae } from "./experimental-evaluation-
|
|
4
|
+
import { t as Ae } from "./experimental-evaluation-FzKFGoye.mjs";
|
|
5
5
|
//#region node_modules/@ai-sdk/openai/dist/index.js
|
|
6
6
|
var je = L({ error: L({
|
|
7
7
|
message: q(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { $ as e, $t as t, At as n, Bt as r, Dn as i, E as a, Et as o, Ft as s, H as c, Ht as l, It as u, Jt as d, K as f, M as p, N as m, Pt as h, Rt as g, S as _, Sn as ee, T as v, Tt as y, U as b, Vt as x, Wt as S, X as te, Yt as C, Zt as w, _ as ne, _n as re, _t as T, an as E, bn as D, bt as O, ct as ie, dn as k, dt as ae, f as A, fn as j, g as M, h as oe, in as N, j as P, jn as F, jt as se, k as I, kt as ce, ln as L, m as le, mt as ue, nn as de, nt as fe, on as R, ot as z, pt as B, rn as V, sn as H, st as pe, tn as U, tt as me, un as W, ut as he, w as G, wt as K, yt as q, zt as ge } from "./dist-Bt1FopV4.mjs";
|
|
3
|
-
import { t as J } from "./experimental-evaluation-
|
|
3
|
+
import { t as J } from "./experimental-evaluation-DczxmJme.mjs";
|
|
4
4
|
var Y = G({
|
|
5
5
|
errorSchema: z(() => r(E({
|
|
6
6
|
type: U("error"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { $ as e, $t as t, At as n, Bt as r, Dn as i, E as a, Et as o, Ft as s, H as c, Ht as l, It as u, Jt as d, K as f, M as p, N as m, Pt as h, Rt as g, S as _, Sn as v, T as y, Tt as b, U as x, Vt as S, Wt as C, X as w, Yt as T, Zt as E, _ as D, _n as ee, _t as O, an as k, bn as A, bt as j, ct as te, dn as M, dt as ne, f as N, fn as P, g as F, h as re, in as I, j as L, jn as R, jt as z, k as B, kt as V, ln as H, m as U, mt as ie, nn as ae, nt as oe, on as W, ot as G, pt as se, rn as ce, sn as K, st as q, tn as J, tt as le, un as Y, ut as ue, w as de, wt as fe, yt as pe, zt as me } from "./dist-BV-32IEX.mjs";
|
|
3
|
-
import { t as he } from "./experimental-evaluation-
|
|
3
|
+
import { t as he } from "./experimental-evaluation-FzKFGoye.mjs";
|
|
4
4
|
//#region node_modules/@ai-sdk/anthropic/dist/index.js
|
|
5
5
|
var X = de({
|
|
6
6
|
errorSchema: G(() => r(k({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { At as e, Bt as t, E as n, Et as r, H as i, Ht as a, I as o, J as s, Jt as c, K as l, L as u, Lt as d, M as f, N as p, O as m, Ot as h, P as g, Q as _, Rt as v, S as y, Sn as b, St as x, T as S, Tt as C, U as w, Vt as T, W as E, Wt as D, X as O, Yt as k, _ as A, _t as j, a as M, an as N, bn as P, bt as F, dn as I, dt as ee, f as L, fn as R, g as te, gn as z, h as ne, in as B, it as re, j as V, jn as H, jt as U, kn as ie, kt as ae, ln as W, m as oe, nn as se, nt as ce, ot as G, p as le, pt as ue, rn as de, rt as fe, sn as K, st as pe, tn as q, ut as me, w as he, wt as J, y as ge, zt as _e } from "./dist-BV-32IEX.mjs";
|
|
3
|
-
import { t as ve } from "./experimental-evaluation-
|
|
3
|
+
import { t as ve } from "./experimental-evaluation-FzKFGoye.mjs";
|
|
4
4
|
//#region node_modules/@ai-sdk/google/dist/index.js
|
|
5
5
|
var ye = "4.0.85", Y = he({
|
|
6
6
|
errorSchema: G(() => t(N({ error: N({
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
## 11.0.0-alpha.
|
|
1
|
+
## 11.0.0-alpha.4 (2026-11-18)
|
|
2
2
|
|
|
3
|
-
*
|
|
4
|
-
* Merge
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
3
|
+
* feat!: unify planner assistant activation ([8214ff8](https://github.com/roomle-dev/roomle-ui/commit/8214ff8))
|
|
4
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([2e0fdb4](https://github.com/roomle-dev/roomle-ui/commit/2e0fdb4))
|
|
5
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([753547b](https://github.com/roomle-dev/roomle-ui/commit/753547b))
|
|
6
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([ea21ba1](https://github.com/roomle-dev/roomle-ui/commit/ea21ba1))
|
|
7
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([0004e60](https://github.com/roomle-dev/roomle-ui/commit/0004e60))
|
|
8
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([0fe2802](https://github.com/roomle-dev/roomle-ui/commit/0fe2802))
|
|
9
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([3a3952a](https://github.com/roomle-dev/roomle-ui/commit/3a3952a))
|
|
10
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([20f436f](https://github.com/roomle-dev/roomle-ui/commit/20f436f))
|
|
11
|
+
* Merge branch 'master' into feat/planning-assistant-RML-18677 ([6e4343e](https://github.com/roomle-dev/roomle-ui/commit/6e4343e))
|
|
12
|
+
* Merge branch 'master' into release/test ([123f342](https://github.com/roomle-dev/roomle-ui/commit/123f342))
|
|
13
|
+
* Merge pull request #3377 from roomle-dev/feat/planning-assistant-RML-18677 ([77ce3f6](https://github.com/roomle-dev/roomle-ui/commit/77ce3f6)), closes [#3377](https://github.com/roomle-dev/roomle-ui/issues/3377)
|
|
14
|
+
* fix: address planning assistant review findings ([00f6c60](https://github.com/roomle-dev/roomle-ui/commit/00f6c60))
|
|
15
|
+
* fix: apply wall and floor materials the planning tools set ([564bf97](https://github.com/roomle-dev/roomle-ui/commit/564bf97))
|
|
16
|
+
* fix: deactivate native room tools in the hi assistant ([7699103](https://github.com/roomle-dev/roomle-ui/commit/7699103))
|
|
17
|
+
* fix: dispose every kernel handle the planning tools read ([34ad6d9](https://github.com/roomle-dev/roomle-ui/commit/34ad6d9))
|
|
18
|
+
* fix: dispose the plan the redo tool reads ([0f58db9](https://github.com/roomle-dev/roomle-ui/commit/0f58db9))
|
|
19
|
+
* fix: find catalog materials by every word of the search ([50467bb](https://github.com/roomle-dev/roomle-ui/commit/50467bb))
|
|
20
|
+
* fix: follow a requested isolation only after its completed turn ([be78a83](https://github.com/roomle-dev/roomle-ui/commit/be78a83))
|
|
21
|
+
* fix: keep the host's model options over those of a relayed request ([ff936e8](https://github.com/roomle-dev/roomle-ui/commit/ff936e8))
|
|
22
|
+
* fix: mark plan content in tool results as data for the planning model ([0919e02](https://github.com/roomle-dev/roomle-ui/commit/0919e02))
|
|
23
|
+
* fix: preserve assistant lifecycle completion and hi ownership ([0fc7cfc](https://github.com/roomle-dev/roomle-ui/commit/0fc7cfc))
|
|
24
|
+
* fix: read material child tags from catalog metadata ([667672d](https://github.com/roomle-dev/roomle-ui/commit/667672d))
|
|
25
|
+
* fix: reconcile sdk documentation exclusions ([467084b](https://github.com/roomle-dev/roomle-ui/commit/467084b))
|
|
26
|
+
* fix: restore planning assistant after initial isolation ([74e09d0](https://github.com/roomle-dev/roomle-ui/commit/74e09d0))
|
|
27
|
+
* fix: take getAttachedAttic of planning objects from the plan object typing ([e3022f6](https://github.com/roomle-dev/roomle-ui/commit/e3022f6))
|
|
28
|
+
* fix: write only materials the wall or floor catalog lists ([5e31205](https://github.com/roomle-dev/roomle-ui/commit/5e31205))
|
|
29
|
+
* fix: write plan element deletions inside the native operation bracket ([3e1d46e](https://github.com/roomle-dev/roomle-ui/commit/3e1d46e))
|
|
30
|
+
* docs: describe how integrations migrate the assistant activation flags ([29426ce](https://github.com/roomle-dev/roomle-ui/commit/29426ce))
|
|
31
|
+
* refactor: let the planner tool context own its tool-call bracket ([4ef3921](https://github.com/roomle-dev/roomle-ui/commit/4ef3921))
|
|
32
|
+
* refactor: move the planner assistant lifecycle out of the planner class ([827e394](https://github.com/roomle-dev/roomle-ui/commit/827e394))
|
|
33
|
+
* perf: key the hi history ledger by a plan digest ([ec067ab](https://github.com/roomle-dev/roomle-ui/commit/ec067ab))
|
|
34
|
+
* perf: read the walls of a room once per plan context ([61b1cbd](https://github.com/roomle-dev/roomle-ui/commit/61b1cbd))
|
|
35
|
+
* feat: add native room planning assistant and isolation handover ([f1bf47b](https://github.com/roomle-dev/roomle-ui/commit/f1bf47b))
|
|
36
|
+
* feat: enable scoped room planning in the hi assistant ([724b906](https://github.com/roomle-dev/roomle-ui/commit/724b906))
|
|
37
|
+
|
|
38
|
+
### BREAKING CHANGE
|
|
39
|
+
|
|
40
|
+
* replace featureFlags.roomPlanningAssistant with featureFlags.planningAssistant. Configured HI selects its existing host assistant; otherwise the planner starts Room Planning.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-
|
|
2
|
+
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-mE_ozj_Q.mjs";
|
|
3
3
|
import "./embedding-plugins.js";
|
|
4
4
|
//#region packages/common/src/utils/drag.ts
|
|
5
5
|
var o = (e, t, n = 0, r = 0) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-
|
|
2
|
+
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-CGBG4wEk.mjs";
|
|
3
3
|
import "./embedding-plugins.min.js";
|
|
4
4
|
var o = (e, t, n = 0, r = 0) => {
|
|
5
5
|
let i = t.x + t.width + n, a = t.x - n, o = t.y + t.height + r, s = t.y - r, { x: c, y: l } = e;
|