@hintergrund/ui 0.3.4 → 0.3.7
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/dist/BuilderAgentPane-Vj3NCGvZ.js +25916 -0
- package/dist/IntegrationHealth-D1HcBrQn.js +218 -0
- package/dist/admin.js +22766 -28480
- package/dist/anthropic-messages-D8Vp-Ncs.js +3772 -0
- package/dist/azure-openai-responses-DnjyYuiz.js +168 -0
- package/dist/builder.js +27 -22
- package/dist/config.types-DZ5yfeqq.js +20 -0
- package/dist/deferred-tools-nxpq94I4.js +34 -0
- package/dist/diagnostics-x5QOwca_.js +91 -0
- package/dist/error-body-pXgvw5vV.js +68 -0
- package/dist/font-pool/LICENSES.txt +22 -0
- package/dist/font-pool/inter.ttf +0 -0
- package/dist/font-pool/inter.woff2 +0 -0
- package/dist/font-pool/jetbrains-mono.ttf +0 -0
- package/dist/font-pool/jetbrains-mono.woff2 +0 -0
- package/dist/font-pool/lora.ttf +0 -0
- package/dist/font-pool/lora.woff2 +0 -0
- package/dist/font-pool/merriweather.ttf +0 -0
- package/dist/font-pool/merriweather.woff2 +0 -0
- package/dist/font-pool/montserrat.ttf +0 -0
- package/dist/font-pool/montserrat.woff2 +0 -0
- package/dist/font-pool/playfair-display.ttf +0 -0
- package/dist/font-pool/playfair-display.woff2 +0 -0
- package/dist/font-pool/poppins.ttf +0 -0
- package/dist/font-pool/poppins.woff2 +0 -0
- package/dist/font-pool/roboto.ttf +0 -0
- package/dist/font-pool/roboto.woff2 +0 -0
- package/dist/font-pool/space-grotesk.ttf +0 -0
- package/dist/font-pool/space-grotesk.woff2 +0 -0
- package/dist/font-pool/work-sans.ttf +0 -0
- package/dist/font-pool/work-sans.woff2 +0 -0
- package/dist/github-copilot-headers-pRo3v4t7.js +27 -0
- package/dist/global-xsR9gLDa.js +30568 -0
- package/dist/google-generative-ai-BmzNjEvl.js +291 -0
- package/dist/google-shared-CG2Lbh1z.js +8746 -0
- package/dist/google-vertex-Dfla93V_.js +329 -0
- package/dist/hash-BixfZjoG.js +21 -0
- package/dist/headers-CnTiKpOL.js +24 -0
- package/dist/json-parse-CxjAnWaM.js +231 -0
- package/dist/legacy-Zmnk-v81.js +14 -0
- package/dist/login.js +131 -146
- package/dist/mail.js +694 -789
- package/dist/mistral-conversations-DeDb7Gbd.js +558 -0
- package/dist/openai-ClxLHXsh.js +5371 -0
- package/dist/openai-codex-responses-usgOtWUT.js +909 -0
- package/dist/openai-completions-D_nFQy7A.js +730 -0
- package/dist/openai-prompt-cache-Bm8Re6Vv.js +17 -0
- package/dist/openai-responses-BqL3PFsb.js +192 -0
- package/dist/openai-responses-shared-BhQj78KM.js +481 -0
- package/dist/pi-messages-CRx0yqMp.js +268 -0
- package/dist/pi-user-agent-CsXkkH60.js +20 -0
- package/dist/provider-env-Cj6X7Wly.js +35 -0
- package/dist/provider-retry-BGImU1PV.js +68 -0
- package/dist/rolldown-runtime-nTTD767F.js +37 -0
- package/dist/setup.js +391 -418
- package/dist/transform-messages-DvxSeyBQ.js +383 -0
- package/dist/ui.css +2 -1
- package/package.json +5 -5
- package/dist/BuilderAgentPane-CwG29LOX.js +0 -13938
- package/dist/IntegrationHealth-G_4vzV66.js +0 -209
- package/dist/anthropic-messages-BmLfYiwX.js +0 -5605
- package/dist/azure-openai-responses-yf2M6GVe.js +0 -222
- package/dist/client-Cd7yMX39.js +0 -7860
- package/dist/config.types-iZoywORE.js +0 -15
- package/dist/deferred-tools-BZWMWBYN.js +0 -28
- package/dist/error-body-BUPcH4GF.js +0 -71
- package/dist/github-copilot-headers-B1RBGoZi.js +0 -21
- package/dist/global-CTQcFve1.js +0 -36177
- package/dist/google-generative-ai-DkzwUYzL.js +0 -264
- package/dist/google-shared-DTgKMtfJ.js +0 -11710
- package/dist/google-vertex-D2IzqvQM.js +0 -305
- package/dist/hash-DFlR084x.js +0 -14
- package/dist/headers-D4iLzGaS.js +0 -21
- package/dist/json-parse-LZdWp-Nd.js +0 -232
- package/dist/legacy-CckexQcJ.js +0 -5
- package/dist/mistral-conversations-CNfKG0tU.js +0 -513
- package/dist/openai-codex-responses-BLNjExaC.js +0 -947
- package/dist/openai-completions-46IVoF2N.js +0 -741
- package/dist/openai-prompt-cache-BJwqbEDx.js +0 -13
- package/dist/openai-responses-BfHoZFHI.js +0 -184
- package/dist/openai-responses-shared-DOTQAbCj.js +0 -477
- package/dist/pi-messages-fnW87Z4Z.js +0 -251
- package/dist/pi-user-agent-CUqx-qiX.js +0 -13
- package/dist/provider-env-D2VjEV3S.js +0 -26
- package/dist/provider-retry-BsigVlMg.js +0 -67
- package/dist/select-Cke4DYH1.js +0 -78
- package/dist/transform-messages-CsKsy6b4.js +0 -398
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
|
|
2
|
-
return Promise.resolve().then(e);
|
|
3
|
-
} });
|
|
4
|
-
const o = ["google", "deepseek"], s = {
|
|
5
|
-
google: "GEMINI_API_KEY",
|
|
6
|
-
deepseek: "DEEPSEEK_API_KEY"
|
|
7
|
-
}, E = {
|
|
8
|
-
google: "Google Gemini",
|
|
9
|
-
deepseek: "DeepSeek"
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
E as A,
|
|
13
|
-
o as a,
|
|
14
|
-
s as b
|
|
15
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(s) {
|
|
2
|
-
return Promise.resolve().then(s);
|
|
3
|
-
} });
|
|
4
|
-
const c = (s) => s;
|
|
5
|
-
function m(s, d, t = c) {
|
|
6
|
-
const n = /* @__PURE__ */ new Map();
|
|
7
|
-
for (const e of s.tools ?? [])
|
|
8
|
-
n.set(t(e.name), e);
|
|
9
|
-
if (!d)
|
|
10
|
-
return { immediate: [...n.values()], deferred: /* @__PURE__ */ new Map() };
|
|
11
|
-
const r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set();
|
|
12
|
-
for (const e of s.messages)
|
|
13
|
-
if (e.role === "assistant")
|
|
14
|
-
for (const o of e.content)
|
|
15
|
-
o.type === "toolCall" && a.add(t(o.name));
|
|
16
|
-
else if (e.role === "toolResult")
|
|
17
|
-
for (const o of e.addedToolNames ?? []) {
|
|
18
|
-
const l = t(o);
|
|
19
|
-
a.has(l) || r.add(l);
|
|
20
|
-
}
|
|
21
|
-
const f = [], i = /* @__PURE__ */ new Map();
|
|
22
|
-
for (const [e, o] of n)
|
|
23
|
-
r.has(e) ? i.set(e, o) : f.push(o);
|
|
24
|
-
return { immediate: f, deferred: i };
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
m as s
|
|
28
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(t) {
|
|
2
|
-
return Promise.resolve().then(t);
|
|
3
|
-
} });
|
|
4
|
-
const o = 4e3;
|
|
5
|
-
function p(t) {
|
|
6
|
-
if (!(t instanceof Error))
|
|
7
|
-
return { message: i(t), messageCarriesBody: !1 };
|
|
8
|
-
const e = t, n = f(e), s = d(e), r = s === void 0 || t.message.includes(s);
|
|
9
|
-
return {
|
|
10
|
-
status: n,
|
|
11
|
-
body: s,
|
|
12
|
-
message: t.message,
|
|
13
|
-
messageCarriesBody: r
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function f(t) {
|
|
17
|
-
if (typeof t.statusCode == "number")
|
|
18
|
-
return t.statusCode;
|
|
19
|
-
if (typeof t.status == "number")
|
|
20
|
-
return t.status;
|
|
21
|
-
if (typeof t.$metadata?.httpStatusCode == "number")
|
|
22
|
-
return t.$metadata.httpStatusCode;
|
|
23
|
-
if (typeof t.$response?.statusCode == "number")
|
|
24
|
-
return t.$response.statusCode;
|
|
25
|
-
}
|
|
26
|
-
function d(t) {
|
|
27
|
-
const e = a(t);
|
|
28
|
-
if (e === void 0)
|
|
29
|
-
return;
|
|
30
|
-
const n = e.trim();
|
|
31
|
-
if (n.length !== 0)
|
|
32
|
-
return y(n, o);
|
|
33
|
-
}
|
|
34
|
-
function a(t) {
|
|
35
|
-
if (typeof t.body == "string")
|
|
36
|
-
return t.body;
|
|
37
|
-
if (u(t.error))
|
|
38
|
-
return i(t.error);
|
|
39
|
-
const e = t.$response?.body;
|
|
40
|
-
if (typeof e == "string")
|
|
41
|
-
return e;
|
|
42
|
-
if (!c(e) && u(e))
|
|
43
|
-
return i(e);
|
|
44
|
-
}
|
|
45
|
-
function c(t) {
|
|
46
|
-
return typeof t == "object" && t !== null && "pipe" in t && typeof t.pipe == "function";
|
|
47
|
-
}
|
|
48
|
-
function u(t) {
|
|
49
|
-
if (typeof t != "object" || t === null)
|
|
50
|
-
return !1;
|
|
51
|
-
const e = Object.getPrototypeOf(t);
|
|
52
|
-
return e !== Object.prototype && e !== null ? !1 : Object.keys(t).length > 0;
|
|
53
|
-
}
|
|
54
|
-
function b(t, e) {
|
|
55
|
-
return t.messageCarriesBody || t.status === void 0 || t.body === void 0 ? e !== void 0 && t.status !== void 0 ? `${e} (${t.status}): ${t.message}` : t.message : e !== void 0 ? `${e} (${t.status}): ${t.body}` : `${t.status}: ${t.body}`;
|
|
56
|
-
}
|
|
57
|
-
function y(t, e) {
|
|
58
|
-
return t.length <= e ? t : `${t.slice(0, e)}... [truncated ${t.length - e} chars]`;
|
|
59
|
-
}
|
|
60
|
-
function i(t) {
|
|
61
|
-
try {
|
|
62
|
-
const e = JSON.stringify(t);
|
|
63
|
-
return e === void 0 ? String(t) : e;
|
|
64
|
-
} catch {
|
|
65
|
-
return String(t);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
export {
|
|
69
|
-
b as f,
|
|
70
|
-
p as n
|
|
71
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(t) {
|
|
2
|
-
return Promise.resolve().then(t);
|
|
3
|
-
} });
|
|
4
|
-
function n(t) {
|
|
5
|
-
const e = t[t.length - 1];
|
|
6
|
-
return e && e.role !== "user" ? "agent" : "user";
|
|
7
|
-
}
|
|
8
|
-
function o(t) {
|
|
9
|
-
return t.some((e) => e.role === "user" && Array.isArray(e.content) ? e.content.some((r) => r.type === "image") : e.role === "toolResult" && Array.isArray(e.content) ? e.content.some((r) => r.type === "image") : !1);
|
|
10
|
-
}
|
|
11
|
-
function i(t) {
|
|
12
|
-
const e = {
|
|
13
|
-
"X-Initiator": n(t.messages),
|
|
14
|
-
"Openai-Intent": "conversation-edits"
|
|
15
|
-
};
|
|
16
|
-
return t.hasImages && (e["Copilot-Vision-Request"] = "true"), e;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
i as b,
|
|
20
|
-
o as h
|
|
21
|
-
};
|