@8wave/ai-elements 0.112.0-beta.8 → 0.112.0
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/_chunks/{PkToolShowVideo-Djr8Ofsz.js → PkToolShowVideo-p6Y9j3-B.js} +3 -3
- package/dist/_chunks/PkToolShowVideo-p6Y9j3-B.js.map +1 -0
- package/dist/_chunks/{browser-B0Xnbqi7.js → browser-Ct5TRDgj.js} +521 -518
- package/dist/_chunks/{browser-B0Xnbqi7.js.map → browser-Ct5TRDgj.js.map} +1 -1
- package/dist/_chunks/markdown-BRD-hDrH.js.map +1 -1
- package/dist/_chunks/{web-Dzr6HJ14.js → web-CEmtEYdH.js} +89 -65
- package/dist/_chunks/web-CEmtEYdH.js.map +1 -0
- package/dist/ai-elements.es.js +2918 -3166
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Document-Bjz-CSLq.js → Document-2X01-F4Z.js} +2 -2
- package/dist-vue/_chunks/Document-2X01-F4Z.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-BGSXeh04.js → PkChatbot-C11EVHnI.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-BGSXeh04.js.map → PkChatbot-C11EVHnI.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-AxAOI9t2.js → PkChatbotAuth-Bi508F1u.js} +57 -57
- package/dist-vue/_chunks/PkChatbotAuth-Bi508F1u.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-BNjbDHgy.js → PkChatbotMessages-BD-vUak6.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotMessages-BNjbDHgy.js.map → PkChatbotMessages-BD-vUak6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-ZWFtuc-N.js → PkChatbotViewChat-DJnjuhjt.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotViewChat-ZWFtuc-N.js.map → PkChatbotViewChat-DJnjuhjt.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-BLMzqmXi.js → PkChatbotViewConversations-BCdolW0R.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-BLMzqmXi.js.map → PkChatbotViewConversations-BCdolW0R.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DLkQ7ClA.js → PkChatbotViewFiles-Cudao8ew.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DLkQ7ClA.js.map → PkChatbotViewFiles-Cudao8ew.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DZ-Jim4x.js → PkChatbotViewProfile-DDsKOkcC.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-DZ-Jim4x.js.map → PkChatbotViewProfile-DDsKOkcC.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BXdA_2Na.js → PkToolShowDiagram-RtkI_sKL.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BXdA_2Na.js.map → PkToolShowDiagram-RtkI_sKL.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-B3tBNres.js → PkToolShowSources-gI947JOm.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-B3tBNres.js.map → PkToolShowSources-gI947JOm.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-Bv9kMd88.js → PkToolShowVideo-BZOTu2Qe.js} +3 -3
- package/dist-vue/_chunks/PkToolShowVideo-BZOTu2Qe.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-Bc6V5Rv0.js → useChatbotStore-BwrBZJCq.js} +1157 -1500
- package/dist-vue/_chunks/useChatbotStore-BwrBZJCq.js.map +1 -0
- package/dist-vue/_chunks/{web-Dzr6HJ14.js → web-CEmtEYdH.js} +89 -65
- package/dist-vue/_chunks/web-CEmtEYdH.js.map +1 -0
- package/dist-vue/apps/web-component/src/composables/useChatbotAuthForm.d.ts +0 -1
- package/dist-vue/composables.js +2809 -80
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +250 -195
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +16 -20
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +2 -2
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +12 -0
- package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +11 -2
- package/dist-vue/packages/models/src/schema/Organization.d.ts +3 -3
- package/dist-vue/packages/models/src/schema/User.d.ts +10 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +1 -1
- package/dist-vue/style.css +1 -1
- package/package.json +3 -3
- package/dist/_chunks/PkToolShowVideo-Djr8Ofsz.js.map +0 -1
- package/dist/_chunks/web-Dzr6HJ14.js.map +0 -1
- package/dist-vue/_chunks/Document-Bjz-CSLq.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotAuth-AxAOI9t2.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowVideo-Bv9kMd88.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-Bc6V5Rv0.js.map +0 -1
- package/dist-vue/_chunks/web-Dzr6HJ14.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -229,7 +229,7 @@ var e = {
|
|
|
229
229
|
fileUploadMaxFilesPerChat: "Max files per chat",
|
|
230
230
|
webSearch: "Web search",
|
|
231
231
|
toolWorkingSet: "Tool selection",
|
|
232
|
-
toolWorkingSetMode: "
|
|
232
|
+
toolWorkingSetMode: "Mode",
|
|
233
233
|
deprecated: "Deprecated",
|
|
234
234
|
whatsapp: "WhatsApp",
|
|
235
235
|
teams: "Microsoft Teams",
|
|
@@ -397,7 +397,6 @@ var e = {
|
|
|
397
397
|
dismissableNotice: "It will be hidden after the first message.",
|
|
398
398
|
privacyPolicyNotice: "Displayed at the bottom of the contact form. Supports Markdown.",
|
|
399
399
|
fileUploadEnabled: "Allow users to attach files to their messages.",
|
|
400
|
-
toolWorkingSetMode: "Before each reply, an evaluation model (TypeSafe Jev, through the AI gateway) picks the MCP servers, API tools and sub-agents the message needs, and the agent sees only those: a shorter context and quicker replies. When the agent needs another one, it brings it back on its own. In shadow mode the choice is only recorded, to compare it with the tools the agent actually uses.",
|
|
401
400
|
approvalChannels: "A tool can ask the user to confirm before it runs: expand a tool to turn it on. On API endpoints and scheduled runs the call is refused.",
|
|
402
401
|
platformSupported: "Renders natively on WhatsApp and Teams",
|
|
403
402
|
tool: {
|
|
@@ -542,20 +541,19 @@ var e = {
|
|
|
542
541
|
prompt: "Your confirmation is needed to continue:"
|
|
543
542
|
},
|
|
544
543
|
toolSelection: {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
threshold: "threshold {threshold}",
|
|
549
|
-
latency: "Time",
|
|
550
|
-
budget: "limit {budget} ms",
|
|
551
|
-
cost: "Cost",
|
|
544
|
+
exposed: "Groups exposed to the model: probability {threshold} or higher, or used earlier",
|
|
545
|
+
latency: "Evaluation time, limit {budget} ms",
|
|
546
|
+
cost: "Cost charged to the organization: {cost}",
|
|
552
547
|
notCharged: "Not charged",
|
|
553
548
|
inputTokens: "Input tokens",
|
|
549
|
+
title: "Tool selection",
|
|
550
|
+
failed: "Failed",
|
|
551
|
+
leadFailed: "The evaluation failed or did not answer within {budget} ms: every group stayed exposed.",
|
|
554
552
|
tools: "{n} tool | {n} tools",
|
|
555
553
|
missed: "Missed",
|
|
556
554
|
used: "Used",
|
|
557
555
|
enabled: "Brought back",
|
|
558
|
-
seeded: "
|
|
556
|
+
seeded: "Used earlier",
|
|
559
557
|
probability: "Probability that the message needs the group; exposed from {threshold}"
|
|
560
558
|
},
|
|
561
559
|
validation: { invalidPhoneNumber: "The number entered is incorrect" },
|
|
@@ -800,7 +798,7 @@ var e = {
|
|
|
800
798
|
fileUploadMaxFilesPerChat: "File massimi per chat",
|
|
801
799
|
webSearch: "Ricerca web",
|
|
802
800
|
toolWorkingSet: "Selezione dei tool",
|
|
803
|
-
toolWorkingSetMode: "
|
|
801
|
+
toolWorkingSetMode: "Modalità",
|
|
804
802
|
deprecated: "Deprecato",
|
|
805
803
|
whatsapp: "WhatsApp",
|
|
806
804
|
teams: "Microsoft Teams",
|
|
@@ -968,7 +966,6 @@ var e = {
|
|
|
968
966
|
dismissableNotice: "Verrà nascosto dopo il primo messaggio.",
|
|
969
967
|
privacyPolicyNotice: "Visibile del modulo di contatto.",
|
|
970
968
|
fileUploadEnabled: "Permetti agli utenti di allegare file ai messaggi.",
|
|
971
|
-
toolWorkingSetMode: "Prima di ogni risposta un modello di valutazione (TypeSafe Jev, tramite il gateway AI) sceglie i server MCP, gli API Tools e i sotto-agenti che servono al messaggio, e l’agente vede solo quelli: contesto più corto e risposte più rapide. Quando gliene serve un altro, l’agente lo riattiva da solo. In modalità ombra la scelta viene solo registrata, per confrontarla con i tool che l’agente usa davvero.",
|
|
972
969
|
approvalChannels: "Un tool può chiedere conferma all'utente prima di eseguire: espandi il tool per attivarla. Via API o in esecuzioni schedulate la chiamata viene rifiutata.",
|
|
973
970
|
platformSupported: "Resa nativa su WhatsApp e Teams",
|
|
974
971
|
tool: {
|
|
@@ -1113,20 +1110,19 @@ var e = {
|
|
|
1113
1110
|
prompt: "Per continuare serve la tua conferma:"
|
|
1114
1111
|
},
|
|
1115
1112
|
toolSelection: {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
threshold: "soglia {threshold}",
|
|
1120
|
-
latency: "Tempo",
|
|
1121
|
-
budget: "limite {budget} ms",
|
|
1122
|
-
cost: "Costo",
|
|
1113
|
+
exposed: "Gruppi esposti al modello: probabilità da {threshold} in su, o usati prima",
|
|
1114
|
+
latency: "Tempo della valutazione, limite {budget} ms",
|
|
1115
|
+
cost: "Costo addebitato all’organizzazione: {cost}",
|
|
1123
1116
|
notCharged: "Non addebitata",
|
|
1124
1117
|
inputTokens: "Token in ingresso",
|
|
1118
|
+
title: "Selezione dei tool",
|
|
1119
|
+
failed: "Non riuscita",
|
|
1120
|
+
leadFailed: "La valutazione non è riuscita o non ha risposto entro {budget} ms: tutti i gruppi sono rimasti esposti.",
|
|
1125
1121
|
tools: "{n} tool | {n} tool",
|
|
1126
1122
|
missed: "Mancato",
|
|
1127
1123
|
used: "Usato",
|
|
1128
1124
|
enabled: "Riattivato",
|
|
1129
|
-
seeded: "
|
|
1125
|
+
seeded: "Usato in precedenza",
|
|
1130
1126
|
probability: "Probabilità che il messaggio abbia bisogno del gruppo; esposto da {threshold}"
|
|
1131
1127
|
},
|
|
1132
1128
|
validation: { invalidPhoneNumber: "Il numero inserito non è corretto" },
|
|
@@ -119,9 +119,9 @@ type __VLS_ModelProps = {
|
|
|
119
119
|
} | undefined;
|
|
120
120
|
};
|
|
121
121
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
122
|
-
declare var
|
|
122
|
+
declare var __VLS_766: {};
|
|
123
123
|
type __VLS_Slots = {} & {
|
|
124
|
-
default?: (props: typeof
|
|
124
|
+
default?: (props: typeof __VLS_766) => any;
|
|
125
125
|
};
|
|
126
126
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
127
127
|
"update:reasoning": (value: {
|
|
@@ -658,6 +658,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
658
658
|
providerExecuted?: boolean | undefined;
|
|
659
659
|
state: "input-streaming";
|
|
660
660
|
input?: unknown;
|
|
661
|
+
rawInput?: string | undefined;
|
|
661
662
|
output?: never | undefined;
|
|
662
663
|
errorText?: never | undefined;
|
|
663
664
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -826,6 +827,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
826
827
|
providerExecuted?: boolean | undefined;
|
|
827
828
|
state: "input-streaming";
|
|
828
829
|
input?: unknown;
|
|
830
|
+
rawInput?: string | undefined;
|
|
829
831
|
output?: never | undefined;
|
|
830
832
|
errorText?: never | undefined;
|
|
831
833
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -1162,6 +1164,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
1162
1164
|
providerExecuted?: boolean | undefined;
|
|
1163
1165
|
state: "input-streaming";
|
|
1164
1166
|
input?: unknown;
|
|
1167
|
+
rawInput?: string | undefined;
|
|
1165
1168
|
output?: never | undefined;
|
|
1166
1169
|
errorText?: never | undefined;
|
|
1167
1170
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -1330,6 +1333,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
1330
1333
|
providerExecuted?: boolean | undefined;
|
|
1331
1334
|
state: "input-streaming";
|
|
1332
1335
|
input?: unknown;
|
|
1336
|
+
rawInput?: string | undefined;
|
|
1333
1337
|
output?: never | undefined;
|
|
1334
1338
|
errorText?: never | undefined;
|
|
1335
1339
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -2364,6 +2368,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
2364
2368
|
providerExecuted?: boolean | undefined;
|
|
2365
2369
|
state: "input-streaming";
|
|
2366
2370
|
input?: unknown;
|
|
2371
|
+
rawInput?: string | undefined;
|
|
2367
2372
|
output?: never | undefined;
|
|
2368
2373
|
errorText?: never | undefined;
|
|
2369
2374
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -2532,6 +2537,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
2532
2537
|
providerExecuted?: boolean | undefined;
|
|
2533
2538
|
state: "input-streaming";
|
|
2534
2539
|
input?: unknown;
|
|
2540
|
+
rawInput?: string | undefined;
|
|
2535
2541
|
output?: never | undefined;
|
|
2536
2542
|
errorText?: never | undefined;
|
|
2537
2543
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -2868,6 +2874,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
2868
2874
|
providerExecuted?: boolean | undefined;
|
|
2869
2875
|
state: "input-streaming";
|
|
2870
2876
|
input?: unknown;
|
|
2877
|
+
rawInput?: string | undefined;
|
|
2871
2878
|
output?: never | undefined;
|
|
2872
2879
|
errorText?: never | undefined;
|
|
2873
2880
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -3036,6 +3043,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
3036
3043
|
providerExecuted?: boolean | undefined;
|
|
3037
3044
|
state: "input-streaming";
|
|
3038
3045
|
input?: unknown;
|
|
3046
|
+
rawInput?: string | undefined;
|
|
3039
3047
|
output?: never | undefined;
|
|
3040
3048
|
errorText?: never | undefined;
|
|
3041
3049
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -4070,6 +4078,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
4070
4078
|
providerExecuted?: boolean | undefined;
|
|
4071
4079
|
state: "input-streaming";
|
|
4072
4080
|
input?: unknown;
|
|
4081
|
+
rawInput?: string | undefined;
|
|
4073
4082
|
output?: never | undefined;
|
|
4074
4083
|
errorText?: never | undefined;
|
|
4075
4084
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -4238,6 +4247,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
4238
4247
|
providerExecuted?: boolean | undefined;
|
|
4239
4248
|
state: "input-streaming";
|
|
4240
4249
|
input?: unknown;
|
|
4250
|
+
rawInput?: string | undefined;
|
|
4241
4251
|
output?: never | undefined;
|
|
4242
4252
|
errorText?: never | undefined;
|
|
4243
4253
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -4574,6 +4584,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
4574
4584
|
providerExecuted?: boolean | undefined;
|
|
4575
4585
|
state: "input-streaming";
|
|
4576
4586
|
input?: unknown;
|
|
4587
|
+
rawInput?: string | undefined;
|
|
4577
4588
|
output?: never | undefined;
|
|
4578
4589
|
errorText?: never | undefined;
|
|
4579
4590
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -4742,6 +4753,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
4742
4753
|
providerExecuted?: boolean | undefined;
|
|
4743
4754
|
state: "input-streaming";
|
|
4744
4755
|
input?: unknown;
|
|
4756
|
+
rawInput?: string | undefined;
|
|
4745
4757
|
output?: never | undefined;
|
|
4746
4758
|
errorText?: never | undefined;
|
|
4747
4759
|
callProviderMetadata?: ProviderMetadata | undefined;
|
|
@@ -69,13 +69,15 @@ export declare const ByokEmbeddingFamilySchema: z.ZodEnum<{
|
|
|
69
69
|
"openai/text-embedding-3-large": "openai/text-embedding-3-large";
|
|
70
70
|
}>;
|
|
71
71
|
/**
|
|
72
|
-
* How the two families read on a page: the product name
|
|
73
|
-
*
|
|
72
|
+
* How the two families read on a page: the product name, its producer and
|
|
73
|
+
* the producer's logo (the one the catalog gives its language models). Here
|
|
74
|
+
* with the list, because the gateway catalog the pages read holds the
|
|
74
75
|
* language models only.
|
|
75
76
|
*/
|
|
76
77
|
export declare const BYOK_EMBEDDING_FAMILY_NAMES: Record<ByokEmbeddingFamily, {
|
|
77
78
|
label: string;
|
|
78
79
|
brand: string;
|
|
80
|
+
brandIcon: string;
|
|
79
81
|
}>;
|
|
80
82
|
/**
|
|
81
83
|
* The semantic space a vector belongs to. Two vectors are comparable only
|
|
@@ -348,6 +350,9 @@ export declare const DiscoveredModelSchema: z.ZodObject<{
|
|
|
348
350
|
id: z.ZodString;
|
|
349
351
|
listingMatch: z.ZodNullable<z.ZodString>;
|
|
350
352
|
kind: z.ZodEnum<typeof DiscoveredModelKind>;
|
|
353
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
354
|
+
brandIcon: z.ZodOptional<z.ZodString>;
|
|
355
|
+
releasedAt: z.ZodOptional<z.ZodString>;
|
|
351
356
|
}, z.core.$strip>;
|
|
352
357
|
export type DiscoveredModel = z.infer<typeof DiscoveredModelSchema>;
|
|
353
358
|
export declare const ModelProviderDiscoverResponseSchema: z.ZodObject<{
|
|
@@ -355,6 +360,9 @@ export declare const ModelProviderDiscoverResponseSchema: z.ZodObject<{
|
|
|
355
360
|
id: z.ZodString;
|
|
356
361
|
listingMatch: z.ZodNullable<z.ZodString>;
|
|
357
362
|
kind: z.ZodEnum<typeof DiscoveredModelKind>;
|
|
363
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
364
|
+
brandIcon: z.ZodOptional<z.ZodString>;
|
|
365
|
+
releasedAt: z.ZodOptional<z.ZodString>;
|
|
358
366
|
}, z.core.$strip>>;
|
|
359
367
|
listingUnavailable: z.ZodBoolean;
|
|
360
368
|
}, z.core.$strip>;
|
|
@@ -399,6 +407,7 @@ export declare const ModelCatalogEntrySchema: z.ZodObject<{
|
|
|
399
407
|
priceEstimated: z.ZodBoolean;
|
|
400
408
|
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
401
409
|
maxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
410
|
+
releasedAt: z.ZodOptional<z.ZodString>;
|
|
402
411
|
inputModalities: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
403
412
|
reasoning: z.ZodOptional<z.ZodObject<{
|
|
404
413
|
effortLevels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -302,9 +302,9 @@ export type OrganizationModelDefaults = z.infer<typeof OrganizationModelDefaults
|
|
|
302
302
|
* shape would turn the first switch into a silent change of mode, from
|
|
303
303
|
* "follow the platform" to "frozen at today's list". The price is on the
|
|
304
304
|
* other side: a newly curated model appears switched on even for an
|
|
305
|
-
* organization that curated its list
|
|
306
|
-
*
|
|
307
|
-
*
|
|
305
|
+
* organization that curated its list. A switched off model never answers:
|
|
306
|
+
* an agent left on it answers with the organization's default, and a
|
|
307
|
+
* fallback on it is dropped (`applyModelSwitches` in the backend).
|
|
308
308
|
*/
|
|
309
309
|
export declare const OrganizationModelSettingsSchema: z.ZodObject<{
|
|
310
310
|
agentModel: z.ZodOptional<z.ZodString>;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { StoragePolicy } from './Media';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
+
/** Shortest password better-auth accepts, see `packages/auth`. */
|
|
4
|
+
export declare const PASSWORD_MIN_LENGTH = 8;
|
|
5
|
+
/**
|
|
6
|
+
* Longest password better-auth accepts. Since better-auth 1.7.6 a longer one
|
|
7
|
+
* is refused on sign-in too (`PASSWORD_TOO_LONG`), so every form checks it
|
|
8
|
+
* before sending and shows the translated validation error instead.
|
|
9
|
+
*/
|
|
10
|
+
export declare const PASSWORD_MAX_LENGTH = 64;
|
|
11
|
+
/** A password as better-auth accepts it, for every form that sends one. */
|
|
12
|
+
export declare const PasswordSchema: z.ZodString;
|
|
3
13
|
export declare const UserSchema: z.ZodObject<{
|
|
4
14
|
id: z.ZodString;
|
|
5
15
|
name: z.ZodString;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* A test checks every id against a saved copy of the listing, which is what
|
|
18
18
|
* replaces the by-hand verification that missed a model on 2026-09-18.
|
|
19
19
|
*/
|
|
20
|
-
export declare const GATEWAY_MODELS: readonly ["openai/gpt-5-nano", "openai/gpt-5-mini", "openai/gpt-5.1-thinking", "openai/gpt-5.2", "openai/gpt-5.4-nano", "openai/gpt-5.4-mini", "openai/gpt-5.4", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "openai/gpt-5.6-sol", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-terra-fast", "openai/gpt-5.6-sol-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-fast", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.8", "anthropic/claude-opus-5", "anthropic/claude-opus-5-fast", "anthropic/claude-opus-5.5", "anthropic/claude-opus-5.5-fast", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "deepseek/deepseek-v3.2", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4.1-flash", "deepseek/deepseek-v4-pro-0813", "alibaba/qwen3.6-plus", "alibaba/qwen3.7-max", "alibaba/qwen3.7-plus", "alibaba/qwen3.7-flash", "alibaba/qwen3.8-flash", "alibaba/qwen3.8-max", "alibaba/qwen3.8-27b", "alibaba/qwen3.8-max-0902", "alibaba/qwen3.8-omni-flash", "alibaba/qwen3.8-max-prime", "spacexai/grok-4.3", "spacexai/grok-4.6", "spacexai/grok-4.7", "zai/glm-5.2", "zai/glm-5.2-fast", "zai/glm-5.3", "zai/glm-5.3-flash", "zai/glm-5.3-fast", "zai/glm-5.3-flashx", "meta/muse-spark-1.1", "meta/muse-spark-1.2", "meta/muse-spark-1.3", "moonshotai/kimi-k3", "moonshotai/kimi-k3-fast", "mistral/ministral-14b", "mistral/mistral-small", "mistral/mistral-medium-3.5", "mistral/mistral-large-3", "xiaomi/mimo-v2.6-flash", "xiaomi/mimo-v2.6-pro", "xiaomi/mimo-v2.6-pro-ultraspeed"];
|
|
20
|
+
export declare const GATEWAY_MODELS: readonly ["openai/gpt-5-nano", "openai/gpt-5-mini", "openai/gpt-5.1-thinking", "openai/gpt-5.2", "openai/gpt-5.4-nano", "openai/gpt-5.4-mini", "openai/gpt-5.4", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "openai/gpt-5.6-sol", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-terra-fast", "openai/gpt-5.6-sol-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-fast", "openai/gpt-6.1-sol", "openai/gpt-6.1-sol-fast", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "anthropic/claude-sonnet-5.5", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.8", "anthropic/claude-opus-5", "anthropic/claude-opus-5-fast", "anthropic/claude-opus-5.5", "anthropic/claude-opus-5.5-fast", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "deepseek/deepseek-v3.2", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4.1-flash", "deepseek/deepseek-v4-pro-0813", "alibaba/qwen3.6-plus", "alibaba/qwen3.7-max", "alibaba/qwen3.7-plus", "alibaba/qwen3.7-flash", "alibaba/qwen3.8-flash", "alibaba/qwen3.8-max", "alibaba/qwen3.8-27b", "alibaba/qwen3.8-max-0902", "alibaba/qwen3.8-omni-flash", "alibaba/qwen3.8-max-prime", "spacexai/grok-4.3", "spacexai/grok-4.6", "spacexai/grok-4.7", "zai/glm-5.2", "zai/glm-5.2-fast", "zai/glm-5.3", "zai/glm-5.3-flash", "zai/glm-5.3-fast", "zai/glm-5.3-flashx", "meta/muse-spark-1.1", "meta/muse-spark-1.2", "meta/muse-spark-1.3", "moonshotai/kimi-k3", "moonshotai/kimi-k3-fast", "mistral/ministral-14b", "mistral/mistral-small", "mistral/mistral-medium-3.5", "mistral/mistral-large-3", "xiaomi/mimo-v2.6-flash", "xiaomi/mimo-v2.6-pro", "xiaomi/mimo-v2.6-pro-ultraspeed"];
|
|
21
21
|
/**
|
|
22
22
|
* A model id: an entry of {@link GATEWAY_MODELS}, or a `byok/` id served by an
|
|
23
23
|
* organization's own endpoint. A plain string on purpose, because the second
|