@hintergrund/ui 0.2.3 → 0.3.1
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/{Builder-H8tY8V9I.js → BuilderAgentPane-B7-K-t7-.js} +8133 -8367
- package/dist/IntegrationHealth-CGj9Gtg3.js +246 -0
- package/dist/admin.js +26690 -28910
- package/dist/{anthropic-messages-C3hIUlsA.js → anthropic-messages-B9cFrV8_.js} +1 -1
- package/dist/{azure-openai-responses-t7u41KMr.js → azure-openai-responses-DDg04vbg.js} +6 -6
- package/dist/builder.js +18 -3
- package/dist/config.types-iZoywORE.js +15 -0
- package/dist/{global-Bk9T4Af5.js → global-CGPq4E9I.js} +3014 -2785
- package/dist/{google-generative-ai-6ZG79NDC.js → google-generative-ai-CLKiyDxm.js} +6 -6
- package/dist/{google-shared-C6y4fA42.js → google-shared-BVSu3Wpo.js} +1 -1
- package/dist/{google-vertex-f2myaAmm.js → google-vertex-Cvrx6WS_.js} +7 -7
- package/dist/legacy-Ch3FhyVA.js +5 -0
- package/dist/login.js +113 -75
- package/dist/mail.js +793 -0
- package/dist/{mistral-conversations-D16H8Mgq.js → mistral-conversations-C7SJfbbS.js} +11 -11
- package/dist/{openai-codex-responses-DIHPbnIS.js → openai-codex-responses-BLdLSFPf.js} +11 -11
- package/dist/{openai-completions-vDHGFsWV.js → openai-completions-CSZqjwmH.js} +6 -6
- package/dist/{openai-responses-B0rjAJxx.js → openai-responses-BLltsSBW.js} +2 -2
- package/dist/{openai-responses-shared-DqdzMfa_.js → openai-responses-shared-C_oYyHxW.js} +1 -1
- package/dist/{pi-messages-DB2BtH-g.js → pi-messages-BbItJqhU.js} +10 -10
- package/dist/select-nmcCSHOs.js +78 -0
- package/dist/setup.js +340 -233
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as an, H as Ct } from "./BuilderAgentPane-B7-K-t7-.js";
|
|
2
2
|
import { s as on } from "./deferred-tools-BZWMWBYN.js";
|
|
3
3
|
import { h as cn } from "./headers-D4iLzGaS.js";
|
|
4
4
|
import { p as Ot, a as ln } from "./json-parse-LZdWp-Nd.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { O as y, a as p, r as f, i as R, b as g } from "./client-Cd7yMX39.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D as _, G as I } from "./BuilderAgentPane-B7-K-t7-.js";
|
|
3
3
|
import { f as O, n as v } from "./error-body-BUPcH4GF.js";
|
|
4
4
|
import { h as P } from "./headers-D4iLzGaS.js";
|
|
5
5
|
import { g as m } from "./provider-env-D2VjEV3S.js";
|
|
6
6
|
import { r as b } from "./provider-retry-BsigVlMg.js";
|
|
7
7
|
import { c as h, b as w } from "./transform-messages-CsKsy6b4.js";
|
|
8
8
|
import { c as N } from "./openai-prompt-cache-BJwqbEDx.js";
|
|
9
|
-
import { p as U, c as z, a as S } from "./openai-responses-shared-
|
|
9
|
+
import { p as U, c as z, a as S } from "./openai-responses-shared-C_oYyHxW.js";
|
|
10
10
|
typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(r) {
|
|
11
11
|
return Promise.resolve().then(r);
|
|
12
12
|
} });
|
|
@@ -120,18 +120,18 @@ const Z = (r, a, e) => {
|
|
|
120
120
|
throw new Error(`No API key for provider: ${r.provider}`);
|
|
121
121
|
const i = C(r, o, e), u = h(a.tools, r.compat?.supportsOpenAIGrammarTools ?? !1);
|
|
122
122
|
let c = G(r, a, e, n, u);
|
|
123
|
-
const
|
|
124
|
-
|
|
123
|
+
const l = await e?.onPayload?.(c, r);
|
|
124
|
+
l !== void 0 && (c = l);
|
|
125
125
|
const A = {
|
|
126
126
|
...e?.signal ? { signal: e.signal } : {},
|
|
127
127
|
...e?.timeoutMs !== void 0 ? { timeout: e.timeoutMs } : {},
|
|
128
128
|
maxRetries: 0
|
|
129
|
-
}, { data: E, response:
|
|
129
|
+
}, { data: E, response: d } = await b(() => i.responses.create(c, A).withResponse(), {
|
|
130
130
|
maxRetries: e?.maxRetries,
|
|
131
131
|
maxRetryDelayMs: e?.maxRetryDelayMs,
|
|
132
132
|
signal: e?.signal
|
|
133
133
|
});
|
|
134
|
-
if (await e?.onResponse?.({ status:
|
|
134
|
+
if (await e?.onResponse?.({ status: d.status, headers: P(d.headers) }, r), t.push({ type: "start", partial: s }), await U(E, s, t, r, { grammarToolInputProperties: u }), e?.signal?.aborted)
|
|
135
135
|
throw new Error("Request was aborted");
|
|
136
136
|
if (s.stopReason === "pending")
|
|
137
137
|
throw new Error("Azure OpenAI Responses stream ended without a stop reason");
|
package/dist/builder.js
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
import "./global-
|
|
2
|
-
import {
|
|
1
|
+
import { K as n, L as i, N as u, O as a, _ as l, $ as p } from "./global-CGPq4E9I.js";
|
|
2
|
+
import { u as c } from "./BuilderAgentPane-B7-K-t7-.js";
|
|
3
3
|
typeof globalThis.process > "u" && (globalThis.process = { env: {}, platform: "browser", version: "", versions: {}, browser: !0, nextTick: function(e) {
|
|
4
4
|
return Promise.resolve().then(e);
|
|
5
5
|
} });
|
|
6
|
+
function d(e, r) {
|
|
7
|
+
i(r, !0);
|
|
8
|
+
let t = u(r, "projectId", 7, "");
|
|
9
|
+
a();
|
|
10
|
+
var o = {
|
|
11
|
+
get projectId() {
|
|
12
|
+
return t();
|
|
13
|
+
},
|
|
14
|
+
set projectId(s = "") {
|
|
15
|
+
t(s), p();
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
return c(e, { floating: !1 }), l(o);
|
|
19
|
+
}
|
|
20
|
+
customElements.define("hintergrund-builder", n(d, { projectId: {} }, [], []));
|
|
6
21
|
export {
|
|
7
|
-
|
|
22
|
+
d as default
|
|
8
23
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
};
|