@burtson-labs/bandit-engine 2.0.52 → 2.0.54
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 +23 -12
- package/dist/{aiProviderStore-3N3VE6D4.mjs → aiProviderStore-337QNQB3.mjs} +2 -2
- package/dist/{chat-YWYLVKXX.mjs → chat-IDE6Z4Q4.mjs} +6 -6
- package/dist/chat-provider.js +17 -9
- package/dist/chat-provider.js.map +1 -1
- package/dist/chat-provider.mjs +4 -4
- package/dist/{chunk-QX6CO7TJ.mjs → chunk-557E5VZ2.mjs} +3 -3
- package/dist/{chunk-MH7WFWCP.mjs → chunk-AVV7HDGR.mjs} +3 -3
- package/dist/{chunk-BENL3EF2.mjs → chunk-H3BYFEIE.mjs} +18 -10
- package/dist/chunk-H3BYFEIE.mjs.map +1 -0
- package/dist/{chunk-YZ2HJFPQ.mjs → chunk-KM7FUWCM.mjs} +4 -4
- package/dist/chunk-KM7FUWCM.mjs.map +1 -0
- package/dist/{chunk-M3BEAMCC.mjs → chunk-KNBWR4DS.mjs} +775 -488
- package/dist/chunk-KNBWR4DS.mjs.map +1 -0
- package/dist/{chunk-Y5N3NSTU.mjs → chunk-NP2OHTTX.mjs} +116 -152
- package/dist/chunk-NP2OHTTX.mjs.map +1 -0
- package/dist/{chunk-TSQCNHOX.mjs → chunk-TLY6A6XL.mjs} +123 -147
- package/dist/chunk-TLY6A6XL.mjs.map +1 -0
- package/dist/{chunk-37PEP5JK.mjs → chunk-UFSEYVRS.mjs} +3 -3
- package/dist/{chunk-RSSJADDD.mjs → chunk-WL7NV4WJ.mjs} +28 -32
- package/dist/chunk-WL7NV4WJ.mjs.map +1 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +4097 -4045
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -15
- package/dist/index.mjs.map +1 -1
- package/dist/management/management.js +4068 -4016
- package/dist/management/management.js.map +1 -1
- package/dist/management/management.mjs +7 -7
- package/dist/modals/chat-modal/chat-modal.js +1401 -1279
- package/dist/modals/chat-modal/chat-modal.js.map +1 -1
- package/dist/modals/chat-modal/chat-modal.mjs +4 -4
- package/dist/{gateway-oScD5tvE.d.mts → public-BzsEWB08.d.mts} +11 -122
- package/dist/{gateway-oScD5tvE.d.ts → public-BzsEWB08.d.ts} +11 -122
- package/dist/public-types.d.mts +2 -32
- package/dist/public-types.d.ts +2 -32
- package/package.json +3 -11
- package/dist/chunk-BENL3EF2.mjs.map +0 -1
- package/dist/chunk-M3BEAMCC.mjs.map +0 -1
- package/dist/chunk-RSSJADDD.mjs.map +0 -1
- package/dist/chunk-TSQCNHOX.mjs.map +0 -1
- package/dist/chunk-Y5N3NSTU.mjs.map +0 -1
- package/dist/chunk-YZ2HJFPQ.mjs.map +0 -1
- package/dist/cli.js +0 -4084
- package/dist/cli.js.map +0 -1
- /package/dist/{aiProviderStore-3N3VE6D4.mjs.map → aiProviderStore-337QNQB3.mjs.map} +0 -0
- /package/dist/{chat-YWYLVKXX.mjs.map → chat-IDE6Z4Q4.mjs.map} +0 -0
- /package/dist/{chunk-QX6CO7TJ.mjs.map → chunk-557E5VZ2.mjs.map} +0 -0
- /package/dist/{chunk-MH7WFWCP.mjs.map → chunk-AVV7HDGR.mjs.map} +0 -0
- /package/dist/{chunk-37PEP5JK.mjs.map → chunk-UFSEYVRS.mjs.map} +0 -0
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
MAX_WINDOWED_HEIGHT,
|
|
4
4
|
MIN_WINDOWED_HEIGHT,
|
|
5
5
|
chat_modal_default
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-WL7NV4WJ.mjs";
|
|
7
|
+
import "../../chunk-KNBWR4DS.mjs";
|
|
8
|
+
import "../../chunk-557E5VZ2.mjs";
|
|
9
9
|
import "../../chunk-7ZDS33S2.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-H3BYFEIE.mjs";
|
|
11
11
|
import "../../chunk-KCI46M23.mjs";
|
|
12
12
|
import "../../chunk-BJTO5JO5.mjs";
|
|
13
13
|
export {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import '@burtson-labs/bandit-types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Common types used across all AI providers
|
|
@@ -16,10 +17,19 @@ interface AIChatRequest {
|
|
|
16
17
|
images?: string[];
|
|
17
18
|
options?: Record<string, unknown>;
|
|
18
19
|
}
|
|
20
|
+
interface AIToolCall {
|
|
21
|
+
id?: string;
|
|
22
|
+
type?: 'function';
|
|
23
|
+
function: {
|
|
24
|
+
name: string;
|
|
25
|
+
arguments: string | Record<string, unknown>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
19
28
|
interface AIChatResponse {
|
|
20
29
|
message: {
|
|
21
30
|
content: string;
|
|
22
31
|
role: 'assistant';
|
|
32
|
+
tool_calls?: AIToolCall[];
|
|
23
33
|
};
|
|
24
34
|
done?: boolean;
|
|
25
35
|
}
|
|
@@ -194,125 +204,4 @@ declare class VoiceService {
|
|
|
194
204
|
}
|
|
195
205
|
declare const voiceService: VoiceService;
|
|
196
206
|
|
|
197
|
-
|
|
198
|
-
type: 'text' | 'image_url';
|
|
199
|
-
text?: string;
|
|
200
|
-
image_url?: {
|
|
201
|
-
url: string;
|
|
202
|
-
detail?: 'low' | 'high' | 'auto';
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
interface GatewayMessage {
|
|
206
|
-
role: 'system' | 'user' | 'assistant';
|
|
207
|
-
content: string | GatewayMessageContent[];
|
|
208
|
-
name?: string;
|
|
209
|
-
images?: string[];
|
|
210
|
-
}
|
|
211
|
-
interface GatewayChatRequest {
|
|
212
|
-
model: string;
|
|
213
|
-
messages: GatewayMessage[];
|
|
214
|
-
stream?: boolean;
|
|
215
|
-
temperature?: number;
|
|
216
|
-
max_tokens?: number;
|
|
217
|
-
top_p?: number;
|
|
218
|
-
frequency_penalty?: number;
|
|
219
|
-
presence_penalty?: number;
|
|
220
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai' | 'bandit' | 'playground';
|
|
221
|
-
stop?: string | string[];
|
|
222
|
-
images?: string[];
|
|
223
|
-
}
|
|
224
|
-
interface GatewayChatResponse {
|
|
225
|
-
id: string;
|
|
226
|
-
object: string;
|
|
227
|
-
created: number;
|
|
228
|
-
model: string;
|
|
229
|
-
choices: {
|
|
230
|
-
index: number;
|
|
231
|
-
delta?: {
|
|
232
|
-
role?: string;
|
|
233
|
-
content?: string;
|
|
234
|
-
};
|
|
235
|
-
message?: {
|
|
236
|
-
role: string;
|
|
237
|
-
content: string;
|
|
238
|
-
};
|
|
239
|
-
finish_reason?: string | null;
|
|
240
|
-
}[];
|
|
241
|
-
usage?: {
|
|
242
|
-
prompt_tokens: number;
|
|
243
|
-
completion_tokens: number;
|
|
244
|
-
total_tokens: number;
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
interface GatewayGenerateRequest {
|
|
248
|
-
model: string;
|
|
249
|
-
prompt: string;
|
|
250
|
-
stream?: boolean;
|
|
251
|
-
temperature?: number;
|
|
252
|
-
max_tokens?: number;
|
|
253
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai' | 'bandit' | 'playground';
|
|
254
|
-
stop?: string | string[];
|
|
255
|
-
}
|
|
256
|
-
interface GatewayGenerateResponse {
|
|
257
|
-
model: string;
|
|
258
|
-
created_at: string;
|
|
259
|
-
response: string;
|
|
260
|
-
done: boolean;
|
|
261
|
-
context?: number[];
|
|
262
|
-
total_duration?: number;
|
|
263
|
-
load_duration?: number;
|
|
264
|
-
prompt_eval_count?: number;
|
|
265
|
-
prompt_eval_duration?: number;
|
|
266
|
-
eval_count?: number;
|
|
267
|
-
eval_duration?: number;
|
|
268
|
-
}
|
|
269
|
-
interface GatewayModel {
|
|
270
|
-
id: string;
|
|
271
|
-
name: string;
|
|
272
|
-
provider: string;
|
|
273
|
-
created: number;
|
|
274
|
-
modified_at: string;
|
|
275
|
-
size: number;
|
|
276
|
-
digest: string;
|
|
277
|
-
details?: {
|
|
278
|
-
format: string;
|
|
279
|
-
family: string;
|
|
280
|
-
families: string[];
|
|
281
|
-
parameter_size: string;
|
|
282
|
-
quantization_level: string;
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
interface GatewayModelsResponse {
|
|
286
|
-
models: GatewayModel[];
|
|
287
|
-
}
|
|
288
|
-
interface GatewayHealthResponse {
|
|
289
|
-
status: 'healthy' | 'unhealthy';
|
|
290
|
-
version: string;
|
|
291
|
-
providers: {
|
|
292
|
-
name: string;
|
|
293
|
-
status: 'available' | 'unavailable';
|
|
294
|
-
models_count: number;
|
|
295
|
-
}[];
|
|
296
|
-
uptime: number;
|
|
297
|
-
}
|
|
298
|
-
interface GatewayMemoryRecord {
|
|
299
|
-
id: string;
|
|
300
|
-
type: string;
|
|
301
|
-
content: string;
|
|
302
|
-
createdAt: string;
|
|
303
|
-
updatedAt: string;
|
|
304
|
-
metadata?: Record<string, unknown>;
|
|
305
|
-
}
|
|
306
|
-
interface GatewayMemoryResponse {
|
|
307
|
-
records: GatewayMemoryRecord[];
|
|
308
|
-
total: number;
|
|
309
|
-
nextCursor?: string | null;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
interface GatewayContract {
|
|
313
|
-
chat(request: GatewayChatRequest): Promise<GatewayChatResponse>;
|
|
314
|
-
generate(request: GatewayGenerateRequest): Promise<GatewayGenerateResponse>;
|
|
315
|
-
health(): Promise<GatewayHealthResponse>;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export { type AIProviderConfig as A, ChatProvider as C, DEFAULT_TIER_FEATURES as D, type FeatureFlagConfig as F, type GatewayHealthResponse as G, OSS_DEFAULT_FEATURES as O, type PackageSettings as P, type SubscriptionTier as S, type TrialUsage as T, VoiceService as V, type FeatureKey as a, type FeatureEvaluation as b, type GatewayModel as c, type GatewayMemoryResponse as d, ChatModal as e, type FeatureMatrix as f, type ChatConfig as g, type ChatModalProps as h, type VoiceModelsResponse as i, type GatewayContract as j, type GatewayMessageContent as k, type GatewayMessage as l, type GatewayChatRequest as m, type GatewayChatResponse as n, type GatewayGenerateRequest as o, type GatewayGenerateResponse as p, type GatewayModelsResponse as q, type GatewayMemoryRecord as r, type AIModel as s, type AIChatRequest as t, type AIChatResponse as u, voiceService as v, type AIGenerateRequest as w, type AIGenerateResponse as x, type AIMessage as y };
|
|
207
|
+
export { type AIChatRequest as A, type ChatConfig as C, DEFAULT_TIER_FEATURES as D, type FeatureKey as F, OSS_DEFAULT_FEATURES as O, type PackageSettings as P, type SubscriptionTier as S, type TrialUsage as T, type VoiceModelsResponse as V, type FeatureEvaluation as a, type FeatureFlagConfig as b, type AIChatResponse as c, type AIGenerateRequest as d, type AIGenerateResponse as e, type AIMessage as f, type AIModel as g, type AIProviderConfig as h, ChatModal as i, type ChatModalProps as j, ChatProvider as k, type FeatureMatrix as l, VoiceService as m, voiceService as v };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import '@burtson-labs/bandit-types';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Common types used across all AI providers
|
|
@@ -16,10 +17,19 @@ interface AIChatRequest {
|
|
|
16
17
|
images?: string[];
|
|
17
18
|
options?: Record<string, unknown>;
|
|
18
19
|
}
|
|
20
|
+
interface AIToolCall {
|
|
21
|
+
id?: string;
|
|
22
|
+
type?: 'function';
|
|
23
|
+
function: {
|
|
24
|
+
name: string;
|
|
25
|
+
arguments: string | Record<string, unknown>;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
19
28
|
interface AIChatResponse {
|
|
20
29
|
message: {
|
|
21
30
|
content: string;
|
|
22
31
|
role: 'assistant';
|
|
32
|
+
tool_calls?: AIToolCall[];
|
|
23
33
|
};
|
|
24
34
|
done?: boolean;
|
|
25
35
|
}
|
|
@@ -194,125 +204,4 @@ declare class VoiceService {
|
|
|
194
204
|
}
|
|
195
205
|
declare const voiceService: VoiceService;
|
|
196
206
|
|
|
197
|
-
|
|
198
|
-
type: 'text' | 'image_url';
|
|
199
|
-
text?: string;
|
|
200
|
-
image_url?: {
|
|
201
|
-
url: string;
|
|
202
|
-
detail?: 'low' | 'high' | 'auto';
|
|
203
|
-
};
|
|
204
|
-
}
|
|
205
|
-
interface GatewayMessage {
|
|
206
|
-
role: 'system' | 'user' | 'assistant';
|
|
207
|
-
content: string | GatewayMessageContent[];
|
|
208
|
-
name?: string;
|
|
209
|
-
images?: string[];
|
|
210
|
-
}
|
|
211
|
-
interface GatewayChatRequest {
|
|
212
|
-
model: string;
|
|
213
|
-
messages: GatewayMessage[];
|
|
214
|
-
stream?: boolean;
|
|
215
|
-
temperature?: number;
|
|
216
|
-
max_tokens?: number;
|
|
217
|
-
top_p?: number;
|
|
218
|
-
frequency_penalty?: number;
|
|
219
|
-
presence_penalty?: number;
|
|
220
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai' | 'bandit' | 'playground';
|
|
221
|
-
stop?: string | string[];
|
|
222
|
-
images?: string[];
|
|
223
|
-
}
|
|
224
|
-
interface GatewayChatResponse {
|
|
225
|
-
id: string;
|
|
226
|
-
object: string;
|
|
227
|
-
created: number;
|
|
228
|
-
model: string;
|
|
229
|
-
choices: {
|
|
230
|
-
index: number;
|
|
231
|
-
delta?: {
|
|
232
|
-
role?: string;
|
|
233
|
-
content?: string;
|
|
234
|
-
};
|
|
235
|
-
message?: {
|
|
236
|
-
role: string;
|
|
237
|
-
content: string;
|
|
238
|
-
};
|
|
239
|
-
finish_reason?: string | null;
|
|
240
|
-
}[];
|
|
241
|
-
usage?: {
|
|
242
|
-
prompt_tokens: number;
|
|
243
|
-
completion_tokens: number;
|
|
244
|
-
total_tokens: number;
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
interface GatewayGenerateRequest {
|
|
248
|
-
model: string;
|
|
249
|
-
prompt: string;
|
|
250
|
-
stream?: boolean;
|
|
251
|
-
temperature?: number;
|
|
252
|
-
max_tokens?: number;
|
|
253
|
-
provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai' | 'bandit' | 'playground';
|
|
254
|
-
stop?: string | string[];
|
|
255
|
-
}
|
|
256
|
-
interface GatewayGenerateResponse {
|
|
257
|
-
model: string;
|
|
258
|
-
created_at: string;
|
|
259
|
-
response: string;
|
|
260
|
-
done: boolean;
|
|
261
|
-
context?: number[];
|
|
262
|
-
total_duration?: number;
|
|
263
|
-
load_duration?: number;
|
|
264
|
-
prompt_eval_count?: number;
|
|
265
|
-
prompt_eval_duration?: number;
|
|
266
|
-
eval_count?: number;
|
|
267
|
-
eval_duration?: number;
|
|
268
|
-
}
|
|
269
|
-
interface GatewayModel {
|
|
270
|
-
id: string;
|
|
271
|
-
name: string;
|
|
272
|
-
provider: string;
|
|
273
|
-
created: number;
|
|
274
|
-
modified_at: string;
|
|
275
|
-
size: number;
|
|
276
|
-
digest: string;
|
|
277
|
-
details?: {
|
|
278
|
-
format: string;
|
|
279
|
-
family: string;
|
|
280
|
-
families: string[];
|
|
281
|
-
parameter_size: string;
|
|
282
|
-
quantization_level: string;
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
interface GatewayModelsResponse {
|
|
286
|
-
models: GatewayModel[];
|
|
287
|
-
}
|
|
288
|
-
interface GatewayHealthResponse {
|
|
289
|
-
status: 'healthy' | 'unhealthy';
|
|
290
|
-
version: string;
|
|
291
|
-
providers: {
|
|
292
|
-
name: string;
|
|
293
|
-
status: 'available' | 'unavailable';
|
|
294
|
-
models_count: number;
|
|
295
|
-
}[];
|
|
296
|
-
uptime: number;
|
|
297
|
-
}
|
|
298
|
-
interface GatewayMemoryRecord {
|
|
299
|
-
id: string;
|
|
300
|
-
type: string;
|
|
301
|
-
content: string;
|
|
302
|
-
createdAt: string;
|
|
303
|
-
updatedAt: string;
|
|
304
|
-
metadata?: Record<string, unknown>;
|
|
305
|
-
}
|
|
306
|
-
interface GatewayMemoryResponse {
|
|
307
|
-
records: GatewayMemoryRecord[];
|
|
308
|
-
total: number;
|
|
309
|
-
nextCursor?: string | null;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
interface GatewayContract {
|
|
313
|
-
chat(request: GatewayChatRequest): Promise<GatewayChatResponse>;
|
|
314
|
-
generate(request: GatewayGenerateRequest): Promise<GatewayGenerateResponse>;
|
|
315
|
-
health(): Promise<GatewayHealthResponse>;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export { type AIProviderConfig as A, ChatProvider as C, DEFAULT_TIER_FEATURES as D, type FeatureFlagConfig as F, type GatewayHealthResponse as G, OSS_DEFAULT_FEATURES as O, type PackageSettings as P, type SubscriptionTier as S, type TrialUsage as T, VoiceService as V, type FeatureKey as a, type FeatureEvaluation as b, type GatewayModel as c, type GatewayMemoryResponse as d, ChatModal as e, type FeatureMatrix as f, type ChatConfig as g, type ChatModalProps as h, type VoiceModelsResponse as i, type GatewayContract as j, type GatewayMessageContent as k, type GatewayMessage as l, type GatewayChatRequest as m, type GatewayChatResponse as n, type GatewayGenerateRequest as o, type GatewayGenerateResponse as p, type GatewayModelsResponse as q, type GatewayMemoryRecord as r, type AIModel as s, type AIChatRequest as t, type AIChatResponse as u, voiceService as v, type AIGenerateRequest as w, type AIGenerateResponse as x, type AIMessage as y };
|
|
207
|
+
export { type AIChatRequest as A, type ChatConfig as C, DEFAULT_TIER_FEATURES as D, type FeatureKey as F, OSS_DEFAULT_FEATURES as O, type PackageSettings as P, type SubscriptionTier as S, type TrialUsage as T, type VoiceModelsResponse as V, type FeatureEvaluation as a, type FeatureFlagConfig as b, type AIChatResponse as c, type AIGenerateRequest as d, type AIGenerateResponse as e, type AIMessage as f, type AIModel as g, type AIProviderConfig as h, ChatModal as i, type ChatModalProps as j, ChatProvider as k, type FeatureMatrix as l, VoiceService as m, voiceService as v };
|
package/dist/public-types.d.mts
CHANGED
|
@@ -1,33 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { A as AIChatRequest, c as AIChatResponse, d as AIGenerateRequest, e as AIGenerateResponse, f as AIMessage, g as AIModel, h as AIProviderConfig, C as ChatConfig, j as ChatModalProps, C as ChatProviderProps, a as FeatureEvaluation, b as FeatureFlagConfig, F as FeatureKey, l as FeatureMatrix, P as PackageSettings, S as SubscriptionTier, T as TrialUsage, V as VoiceModelsResponse } from './public-BzsEWB08.mjs';
|
|
2
|
+
export { GatewayChatRequest, GatewayChatResponse, GatewayContract, GatewayGenerateRequest, GatewayGenerateResponse, GatewayHealthResponse, GatewayMemoryRecord, GatewayMemoryResponse, GatewayMessage, GatewayMessageContent, GatewayModel, GatewayModelsResponse, StoredBanditConfigRecord, StoredBrandingConfig, StoredModelConfig } from '@burtson-labs/bandit-types';
|
|
2
3
|
import 'react';
|
|
3
|
-
|
|
4
|
-
interface StoredBrandingConfig {
|
|
5
|
-
brandingText?: string;
|
|
6
|
-
logoBase64?: string | null;
|
|
7
|
-
theme?: string;
|
|
8
|
-
hasTransparentLogo?: boolean;
|
|
9
|
-
userSaved?: boolean;
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
interface StoredModelConfig {
|
|
13
|
-
name?: string;
|
|
14
|
-
tagline?: string;
|
|
15
|
-
systemPrompt?: string;
|
|
16
|
-
selectedModel?: string;
|
|
17
|
-
avatarBase64?: string | null;
|
|
18
|
-
[key: string]: unknown;
|
|
19
|
-
}
|
|
20
|
-
interface StoredBanditConfigRecord {
|
|
21
|
-
id: string;
|
|
22
|
-
branding?: StoredBrandingConfig;
|
|
23
|
-
model?: StoredModelConfig;
|
|
24
|
-
name?: string;
|
|
25
|
-
tagline?: string;
|
|
26
|
-
systemPrompt?: string;
|
|
27
|
-
selectedModel?: string;
|
|
28
|
-
avatarBase64?: string;
|
|
29
|
-
commands?: unknown;
|
|
30
|
-
[key: string]: unknown;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type { StoredBanditConfigRecord, StoredBrandingConfig, StoredModelConfig };
|
package/dist/public-types.d.ts
CHANGED
|
@@ -1,33 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { A as AIChatRequest, c as AIChatResponse, d as AIGenerateRequest, e as AIGenerateResponse, f as AIMessage, g as AIModel, h as AIProviderConfig, C as ChatConfig, j as ChatModalProps, C as ChatProviderProps, a as FeatureEvaluation, b as FeatureFlagConfig, F as FeatureKey, l as FeatureMatrix, P as PackageSettings, S as SubscriptionTier, T as TrialUsage, V as VoiceModelsResponse } from './public-BzsEWB08.js';
|
|
2
|
+
export { GatewayChatRequest, GatewayChatResponse, GatewayContract, GatewayGenerateRequest, GatewayGenerateResponse, GatewayHealthResponse, GatewayMemoryRecord, GatewayMemoryResponse, GatewayMessage, GatewayMessageContent, GatewayModel, GatewayModelsResponse, StoredBanditConfigRecord, StoredBrandingConfig, StoredModelConfig } from '@burtson-labs/bandit-types';
|
|
2
3
|
import 'react';
|
|
3
|
-
|
|
4
|
-
interface StoredBrandingConfig {
|
|
5
|
-
brandingText?: string;
|
|
6
|
-
logoBase64?: string | null;
|
|
7
|
-
theme?: string;
|
|
8
|
-
hasTransparentLogo?: boolean;
|
|
9
|
-
userSaved?: boolean;
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
}
|
|
12
|
-
interface StoredModelConfig {
|
|
13
|
-
name?: string;
|
|
14
|
-
tagline?: string;
|
|
15
|
-
systemPrompt?: string;
|
|
16
|
-
selectedModel?: string;
|
|
17
|
-
avatarBase64?: string | null;
|
|
18
|
-
[key: string]: unknown;
|
|
19
|
-
}
|
|
20
|
-
interface StoredBanditConfigRecord {
|
|
21
|
-
id: string;
|
|
22
|
-
branding?: StoredBrandingConfig;
|
|
23
|
-
model?: StoredModelConfig;
|
|
24
|
-
name?: string;
|
|
25
|
-
tagline?: string;
|
|
26
|
-
systemPrompt?: string;
|
|
27
|
-
selectedModel?: string;
|
|
28
|
-
avatarBase64?: string;
|
|
29
|
-
commands?: unknown;
|
|
30
|
-
[key: string]: unknown;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type { StoredBanditConfigRecord, StoredBrandingConfig, StoredModelConfig };
|
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burtson-labs/bandit-engine",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.54",
|
|
4
4
|
"license": "BUSL-1.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
-
"bin": {
|
|
9
|
-
"bandit": "dist/cli.js"
|
|
10
|
-
},
|
|
11
8
|
"files": [
|
|
12
9
|
"dist",
|
|
13
|
-
"dist/cli",
|
|
14
10
|
"docs",
|
|
15
11
|
"LICENSE",
|
|
16
12
|
"README.md"
|
|
@@ -52,20 +48,18 @@
|
|
|
52
48
|
"sha.js": "^2.4.12"
|
|
53
49
|
},
|
|
54
50
|
"dependencies": {
|
|
51
|
+
"@burtson-labs/bandit-types": "*",
|
|
55
52
|
"@emotion/react": "^11.14.0",
|
|
56
53
|
"@emotion/styled": "^11.14.0",
|
|
57
|
-
"@mui/icons-material": "^7.0.1",
|
|
58
54
|
"@mui/material": "^7.1.0",
|
|
59
55
|
"@tanstack/react-query": "^5.66.3",
|
|
60
56
|
"axios": "^1.7.9",
|
|
61
|
-
"commander": "^12.1.0",
|
|
62
|
-
"fs-extra": "^11.3.0",
|
|
63
57
|
"highlight.js": "^11.10.0",
|
|
64
58
|
"idb": "latest",
|
|
65
59
|
"lowlight": "^3.1.0",
|
|
60
|
+
"lucide-react": "^1.7.0",
|
|
66
61
|
"mammoth": "^1.9.0",
|
|
67
62
|
"pdfjs-dist": "^5.2.133",
|
|
68
|
-
"prompts": "^2.4.2",
|
|
69
63
|
"react": "^19.0.0",
|
|
70
64
|
"react-dom": "^19.0.0",
|
|
71
65
|
"react-markdown": "^10.1.0",
|
|
@@ -80,9 +74,7 @@
|
|
|
80
74
|
"devDependencies": {
|
|
81
75
|
"@testing-library/jest-dom": "^6.6.3",
|
|
82
76
|
"@testing-library/react": "^16.3.0",
|
|
83
|
-
"@types/fs-extra": "^11.0.4",
|
|
84
77
|
"@types/node": "^24.0.3",
|
|
85
|
-
"@types/prompts": "^2.4.9",
|
|
86
78
|
"@types/react": "^18.3.22",
|
|
87
79
|
"@types/react-dom": "^18.2.17",
|
|
88
80
|
"@types/uuid": "^10.0.0",
|