@burtson-labs/bandit-engine 2.0.35 → 2.0.36

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.
Files changed (43) hide show
  1. package/README.md +3 -2
  2. package/dist/{aiProviderStore-3YS2BZU3.mjs → aiProviderStore-UJRDUYOF.mjs} +2 -2
  3. package/dist/{chat-2LYIZNWZ.mjs → chat-SZK3EBDO.mjs} +5 -5
  4. package/dist/chat-provider.js +227 -11
  5. package/dist/chat-provider.js.map +1 -1
  6. package/dist/chat-provider.mjs +4 -4
  7. package/dist/{chunk-6PQRG6W4.mjs → chunk-2ZZA2IFL.mjs} +3 -3
  8. package/dist/{chunk-GBANNFRD.mjs → chunk-ED5NNDKO.mjs} +3 -3
  9. package/dist/{chunk-XD5VJCFN.mjs → chunk-FJO5ZWYU.mjs} +3 -3
  10. package/dist/{chunk-XXMCI2WK.mjs → chunk-G4OXOTNJ.mjs} +41 -8
  11. package/dist/{chunk-XXMCI2WK.mjs.map → chunk-G4OXOTNJ.mjs.map} +1 -1
  12. package/dist/{chunk-LG2JCTOE.mjs → chunk-PLNFTIGX.mjs} +4 -4
  13. package/dist/{chunk-7RLN6ZGT.mjs → chunk-S635Q6OQ.mjs} +3 -3
  14. package/dist/{chunk-IGD4KGB5.mjs → chunk-ZAVV2AT5.mjs} +4 -4
  15. package/dist/{chunk-IHJPVIGB.mjs → chunk-ZNNOTDRD.mjs} +208 -1
  16. package/dist/chunk-ZNNOTDRD.mjs.map +1 -0
  17. package/dist/cli/cli.js +1078 -62
  18. package/dist/cli/cli.js.map +1 -1
  19. package/dist/{gateway-BiHRHJMM.d.ts → gateway-Ckf_KusF.d.mts} +4 -4
  20. package/dist/{gateway-BiHRHJMM.d.mts → gateway-Ckf_KusF.d.ts} +4 -4
  21. package/dist/index.d.mts +2 -2
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +318 -69
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +8 -8
  26. package/dist/management/management.js +316 -67
  27. package/dist/management/management.js.map +1 -1
  28. package/dist/management/management.mjs +6 -6
  29. package/dist/modals/chat-modal/chat-modal.js +236 -20
  30. package/dist/modals/chat-modal/chat-modal.js.map +1 -1
  31. package/dist/modals/chat-modal/chat-modal.mjs +4 -4
  32. package/dist/public-types.d.mts +1 -1
  33. package/dist/public-types.d.ts +1 -1
  34. package/package.json +1 -1
  35. package/dist/chunk-IHJPVIGB.mjs.map +0 -1
  36. /package/dist/{aiProviderStore-3YS2BZU3.mjs.map → aiProviderStore-UJRDUYOF.mjs.map} +0 -0
  37. /package/dist/{chat-2LYIZNWZ.mjs.map → chat-SZK3EBDO.mjs.map} +0 -0
  38. /package/dist/{chunk-6PQRG6W4.mjs.map → chunk-2ZZA2IFL.mjs.map} +0 -0
  39. /package/dist/{chunk-GBANNFRD.mjs.map → chunk-ED5NNDKO.mjs.map} +0 -0
  40. /package/dist/{chunk-XD5VJCFN.mjs.map → chunk-FJO5ZWYU.mjs.map} +0 -0
  41. /package/dist/{chunk-LG2JCTOE.mjs.map → chunk-PLNFTIGX.mjs.map} +0 -0
  42. /package/dist/{chunk-7RLN6ZGT.mjs.map → chunk-S635Q6OQ.mjs.map} +0 -0
  43. /package/dist/{chunk-IGD4KGB5.mjs.map → chunk-ZAVV2AT5.mjs.map} +0 -0
@@ -47,13 +47,13 @@ interface AIModel {
47
47
  modified_at?: string;
48
48
  }
49
49
  interface AIProviderConfig {
50
- type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'gateway' | 'playground';
50
+ type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'xai' | 'gateway' | 'playground';
51
51
  baseUrl?: string;
52
52
  apiKey?: string;
53
53
  apiVersion?: string;
54
54
  deploymentName?: string;
55
55
  gatewayUrl?: string;
56
- provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
56
+ provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
57
57
  tokenFactory?: () => string | null;
58
58
  }
59
59
 
@@ -213,7 +213,7 @@ interface GatewayChatRequest {
213
213
  top_p?: number;
214
214
  frequency_penalty?: number;
215
215
  presence_penalty?: number;
216
- provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
216
+ provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
217
217
  stop?: string | string[];
218
218
  images?: string[];
219
219
  }
@@ -246,7 +246,7 @@ interface GatewayGenerateRequest {
246
246
  stream?: boolean;
247
247
  temperature?: number;
248
248
  max_tokens?: number;
249
- provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
249
+ provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
250
250
  stop?: string | string[];
251
251
  }
252
252
  interface GatewayGenerateResponse {
@@ -47,13 +47,13 @@ interface AIModel {
47
47
  modified_at?: string;
48
48
  }
49
49
  interface AIProviderConfig {
50
- type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'gateway' | 'playground';
50
+ type: 'ollama' | 'openai' | 'azure-openai' | 'anthropic' | 'xai' | 'gateway' | 'playground';
51
51
  baseUrl?: string;
52
52
  apiKey?: string;
53
53
  apiVersion?: string;
54
54
  deploymentName?: string;
55
55
  gatewayUrl?: string;
56
- provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
56
+ provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
57
57
  tokenFactory?: () => string | null;
58
58
  }
59
59
 
@@ -213,7 +213,7 @@ interface GatewayChatRequest {
213
213
  top_p?: number;
214
214
  frequency_penalty?: number;
215
215
  presence_penalty?: number;
216
- provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
216
+ provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
217
217
  stop?: string | string[];
218
218
  images?: string[];
219
219
  }
@@ -246,7 +246,7 @@ interface GatewayGenerateRequest {
246
246
  stream?: boolean;
247
247
  temperature?: number;
248
248
  max_tokens?: number;
249
- provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama';
249
+ provider?: 'openai' | 'azure-openai' | 'anthropic' | 'ollama' | 'xai';
250
250
  stop?: string | string[];
251
251
  }
252
252
  interface GatewayGenerateResponse {
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-BiHRHJMM.mjs';
2
- export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-BiHRHJMM.mjs';
1
+ import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-Ckf_KusF.mjs';
2
+ export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-Ckf_KusF.mjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React, { ReactNode } from 'react';
5
5
  import * as zustand from 'zustand';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-BiHRHJMM.js';
2
- export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-BiHRHJMM.js';
1
+ import { F as FeatureFlagConfig, a as FeatureKey, b as FeatureEvaluation, S as SubscriptionTier, T as TrialUsage, G as GatewayHealthResponse, c as GatewayModel, d as GatewayMemoryResponse } from './gateway-Ckf_KusF.js';
2
+ export { t as AIChatRequest, u as AIChatResponse, w as AIGenerateRequest, x as AIGenerateResponse, y as AIMessage, s as AIModel, A as AIProviderConfig, g as ChatConfig, e as ChatModal, h as ChatModalProps, C as ChatProvider, D as DEFAULT_TIER_FEATURES, f as FeatureMatrix, m as GatewayChatRequest, n as GatewayChatResponse, j as GatewayContract, o as GatewayGenerateRequest, p as GatewayGenerateResponse, r as GatewayMemoryRecord, l as GatewayMessage, k as GatewayMessageContent, q as GatewayModelsResponse, O as OSS_DEFAULT_FEATURES, P as PackageSettings, i as VoiceModelsResponse, V as VoiceService, v as voiceService } from './gateway-Ckf_KusF.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React, { ReactNode } from 'react';
5
5
  import * as zustand from 'zustand';