@roomle/embedding-lib 0.0.0-dev-0d21dce → 0.0.0-dev-62f145e
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/ai.js +84 -15
- package/ai.min.js +82 -13
- package/{chat-model-gyIajfDW.mjs → chat-model-C1ov616e.mjs} +135 -85
- package/{chat-model-DKlWonm6.mjs → chat-model-CifTV-8H.mjs} +137 -86
- package/configurator.js +6 -5
- package/configurator.min.js +6 -5
- package/construction.js +6 -5
- package/construction.min.js +6 -5
- 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/{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 +242 -189
- package/hi.min.js +316 -267
- package/mcp-tools-CC8DTfZA.mjs +2 -0
- package/mcp-tools-CfJ_ue_2.mjs +2 -0
- package/package.json +3 -2
- 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 +28 -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 +7 -3
- 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,31 +36,34 @@ 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, 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),
|
|
57
|
-
providerOptions:
|
|
60
|
+
providerOptions: l ? { azure: { reasoningEffort: l } } : void 0
|
|
58
61
|
};
|
|
59
62
|
}
|
|
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,44 +72,44 @@ 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
|
-
providerOptions: { openai: {
|
|
77
|
+
providerOptions: { openai: c ? { store: !0 } : {
|
|
75
78
|
store: !1,
|
|
76
79
|
forceReasoning: !0
|
|
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,71 +142,119 @@ 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 = {
|
|
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
|
+
}, D = c?.recovery(y), O = new AbortController(), k = () => O.abort(a.reason);
|
|
184
|
+
a.addEventListener("abort", k, { once: !0 }), a.aborted && k();
|
|
185
|
+
let A = c ? setTimeout(() => O.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
|
+
E
|
|
196
|
+
], n, r = b ? w : void 0, o = 0, f = !1, T = [], k, A;
|
|
197
|
+
do {
|
|
198
|
+
k = void 0;
|
|
199
|
+
let b = [], x = o, w = r;
|
|
200
|
+
A = h({
|
|
201
|
+
model: _.languageModel,
|
|
202
|
+
providerOptions: _.providerOptions,
|
|
203
|
+
instructions: v.systemPrompt,
|
|
204
|
+
messages: f ? [...t, ...T].map(u) : [...t, ...T],
|
|
205
|
+
tools: D?.tools ?? y,
|
|
206
|
+
stopWhen: g(16 - x),
|
|
207
|
+
abortSignal: c ? O.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, E] : 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 A.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
|
+
k = 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 = d(e.totalUsage);
|
|
248
|
+
else if (e.type === "abort" && (m = !0, c)) throw O.signal.reason ?? /* @__PURE__ */ Error("Turn aborted");
|
|
249
|
+
}
|
|
250
|
+
k && (T.push(...b), r = void 0, f = !0);
|
|
251
|
+
} while (k);
|
|
252
|
+
if (O.signal.aborted) throw O.signal.reason;
|
|
253
|
+
x.push(E, ...T, ...await A.responseMessages), w = n, i({ type: "done" });
|
|
204
254
|
} catch (t) {
|
|
205
|
-
|
|
206
|
-
n
|
|
255
|
+
w = void 0;
|
|
256
|
+
let n = D?.summary();
|
|
257
|
+
n && x.push(E, {
|
|
207
258
|
role: "assistant",
|
|
208
259
|
content: n
|
|
209
260
|
}), i({
|
|
@@ -212,16 +263,16 @@ var t = (e) => e.flatMap((e) => {
|
|
|
212
263
|
text: `The planning assistant failed: ${t instanceof Error ? t.message : String(t)}${n ? `\n\n${n}` : ""}`
|
|
213
264
|
});
|
|
214
265
|
} finally {
|
|
215
|
-
clearTimeout(
|
|
266
|
+
clearTimeout(A), a.removeEventListener("abort", k);
|
|
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), p && !m && !O.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-C1ov616e.mjs";
|
|
3
|
+
import "./mcp-tools-CfJ_ue_2.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-CifTV-8H.mjs";
|
|
3
|
+
import "./mcp-tools-CC8DTfZA.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,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, n as t, o as n, t as r } from "./chat-model-C1ov616e.mjs";
|
|
3
|
+
import "./mcp-tools-CfJ_ue_2.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);
|
|
@@ -55,4 +56,4 @@ var i = async (e) => {
|
|
|
55
56
|
})
|
|
56
57
|
});
|
|
57
58
|
//#endregion
|
|
58
|
-
export { i as createConstructionMcpTools,
|
|
59
|
+
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-CifTV-8H.mjs";
|
|
3
|
+
import "./mcp-tools-CC8DTfZA.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);
|
|
@@ -53,4 +54,4 @@ var i = async (e) => {
|
|
|
53
54
|
])
|
|
54
55
|
})
|
|
55
56
|
});
|
|
56
|
-
export { i as createConstructionMcpTools,
|
|
57
|
+
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,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;
|
|
@@ -29,7 +29,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
29
29
|
}
|
|
30
30
|
async init() {
|
|
31
31
|
if (await super.init(), this._mode === "website") try {
|
|
32
|
-
let { DragInFromWebsiteStrategy: e } = await import("./from-website-
|
|
32
|
+
let { DragInFromWebsiteStrategy: e } = await import("./from-website-DUQ9USj1.mjs");
|
|
33
33
|
this._strategy = new e(this._instance, this._mainDomElement, {
|
|
34
34
|
settings: this.options,
|
|
35
35
|
mode: "website"
|
|
@@ -40,7 +40,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
40
40
|
else {
|
|
41
41
|
if (this._mode !== "custom-view") throw Error("Unsupported mode");
|
|
42
42
|
try {
|
|
43
|
-
let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-
|
|
43
|
+
let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-B3fIWMox.mjs");
|
|
44
44
|
this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
|
|
45
45
|
} catch (e) {
|
|
46
46
|
throw e;
|
|
@@ -36,7 +36,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
36
36
|
}
|
|
37
37
|
async init() {
|
|
38
38
|
if (await super.init(), this._mode === "website") try {
|
|
39
|
-
let { DragInFromWebsiteStrategy: e } = await import("./from-website-
|
|
39
|
+
let { DragInFromWebsiteStrategy: e } = await import("./from-website-DaTahmvJ.mjs");
|
|
40
40
|
this._strategy = new e(this._instance, this._mainDomElement, {
|
|
41
41
|
settings: this.options,
|
|
42
42
|
mode: "website"
|
|
@@ -45,7 +45,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
45
45
|
throw console.error("Could not load Dragin strategy \"FromWebsite\""), e;
|
|
46
46
|
}
|
|
47
47
|
else if (this._mode === "custom-view") try {
|
|
48
|
-
let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-
|
|
48
|
+
let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-B3HCOhdT.mjs");
|
|
49
49
|
this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
|
|
50
50
|
} catch (e) {
|
|
51
51
|
throw console.error("Could not load Dragin strategy \"FromCustomView\""), e;
|
package/embedding-plugins.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-
|
|
2
|
+
import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-mE_ozj_Q.mjs";
|
|
3
3
|
export { l as DragIn, a as RML_DRAG_GHOST_FADE_IN, e as RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS, s as RML_DRAG_GHOST_FADE_OUT, c as RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS, t as RML_DRAG_IN_DRAG_ELEMENT_ID, u as RML_DRAG_IN_FALLBACK_GHOST_HEIGHT, n as RML_DRAG_IN_FALLBACK_GHOST_URL, r as RML_DRAG_IN_FALLBACK_GHOST_WIDTH, o as RML_DRAG_IN_STYLES_ID, i as TARGET_OPACITY };
|
package/embedding-plugins.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Third-party licenses: THIRD-PARTY-NOTICES.txt and sbom.cdx.json in the root of this package */
|
|
2
|
-
import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-
|
|
2
|
+
import { a as e, c as t, d as n, f as r, h as i, i as a, m as o, o as s, s as c, t as l, u } from "./drag-in-CGBG4wEk.mjs";
|
|
3
3
|
export { l as DragIn, a as RML_DRAG_GHOST_FADE_IN, e as RML_DRAG_GHOST_FADE_IN_ANIMATION_CSS, s as RML_DRAG_GHOST_FADE_OUT, c as RML_DRAG_GHOST_FADE_OUT_ANIMATION_CSS, t as RML_DRAG_IN_DRAG_ELEMENT_ID, u as RML_DRAG_IN_FALLBACK_GHOST_HEIGHT, n as RML_DRAG_IN_FALLBACK_GHOST_URL, r as RML_DRAG_IN_FALLBACK_GHOST_WIDTH, o as RML_DRAG_IN_STYLES_ID, i as TARGET_OPACITY };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { a as e, c as t, n } from "./utils-BwWn6Fw4.mjs";
|
|
3
|
-
import { d as r } from "./drag-in-
|
|
4
|
-
import { t as i } from "./drag-ghost-
|
|
3
|
+
import { d as r } from "./drag-in-mE_ozj_Q.mjs";
|
|
4
|
+
import { t as i } from "./drag-ghost-Bhb0_67G.mjs";
|
|
5
5
|
var a = (e, n = 0) => t(e) ? {
|
|
6
6
|
clientX: e.touches[n].clientX,
|
|
7
7
|
clientY: e.touches[n].clientY
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { a as e, c as t, n } from "./utils-BoELtcEK.mjs";
|
|
3
|
-
import { d as r } from "./drag-in-
|
|
4
|
-
import { t as i } from "./drag-ghost-
|
|
3
|
+
import { d as r } from "./drag-in-CGBG4wEk.mjs";
|
|
4
|
+
import { t as i } from "./drag-ghost-BpIDzSdK.mjs";
|
|
5
5
|
var a = (e, n = 0) => t(e) ? {
|
|
6
6
|
clientX: e.touches[n].clientX,
|
|
7
7
|
clientY: e.touches[n].clientY
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { c as e, i as t, n, o as r, r as i, s as a } from "./utils-BoELtcEK.mjs";
|
|
3
|
-
import { l as o, p as s, r as c } from "./drag-in-
|
|
4
|
-
import { t as l } from "./drag-ghost-
|
|
3
|
+
import { l as o, p as s, r as c } from "./drag-in-CGBG4wEk.mjs";
|
|
4
|
+
import { t as l } from "./drag-ghost-BpIDzSdK.mjs";
|
|
5
5
|
var u = class {
|
|
6
6
|
_options = {};
|
|
7
7
|
_instance;
|