@umituz/web-ai 1.0.7 → 1.0.8

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 (37) hide show
  1. package/dist/{AIErrors-CLjXRty-.d.ts → AIErrors-CSk4nvN1.d.ts} +1 -1
  2. package/dist/{AIErrors-DjZXUiLT.d.cts → AIErrors-Dq9o95R_.d.cts} +1 -1
  3. package/dist/{cancellation-error-CkMn5Kft.d.ts → cancellation-error-Ci8fQhNF.d.ts} +3 -3
  4. package/dist/{cancellation-error-Cj7fJyCg.d.cts → cancellation-error-CpkPd67D.d.cts} +3 -3
  5. package/dist/chat/index.d.cts +4 -4
  6. package/dist/chat/index.d.ts +4 -4
  7. package/dist/{chat.service-9M-KpLo-.d.cts → chat.service-BRtiA7H9.d.cts} +2 -2
  8. package/dist/{chat.service-B4FLFxR1.d.ts → chat.service-Cqga2h1e.d.ts} +2 -2
  9. package/dist/content/index.d.cts +7 -7
  10. package/dist/content/index.d.ts +7 -7
  11. package/dist/core/index.cjs +482 -0
  12. package/dist/core/index.cjs.map +1 -1
  13. package/dist/core/index.d.cts +212 -5
  14. package/dist/core/index.d.ts +212 -5
  15. package/dist/core/index.js +446 -1
  16. package/dist/core/index.js.map +1 -1
  17. package/dist/{create-ai-0eZFFqTw.d.ts → create-ai-DW7eHMBF.d.ts} +3 -3
  18. package/dist/{create-ai-BrKR_5fQ.d.cts → create-ai-DeOpUgZ-.d.cts} +3 -3
  19. package/dist/hooks/index.d.cts +9 -9
  20. package/dist/hooks/index.d.ts +9 -9
  21. package/dist/{index-DIHz8_OJ.d.ts → index-Ca5o4gBK.d.ts} +1 -1
  22. package/dist/{index-fXjxTR5W.d.cts → index-DDzvTDg0.d.cts} +1 -1
  23. package/dist/{index-fXjxTR5W.d.ts → index-DDzvTDg0.d.ts} +1 -1
  24. package/dist/{index-DKHNcMbl.d.cts → index-itgxPeLz.d.cts} +1 -1
  25. package/dist/index.cjs +482 -0
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +9 -9
  28. package/dist/index.d.ts +9 -9
  29. package/dist/index.js +446 -1
  30. package/dist/index.js.map +1 -1
  31. package/dist/{provider.factory-BwPnqSEU.d.ts → provider.factory-CJuI08Xr.d.ts} +1 -1
  32. package/dist/{provider.factory-DyfJtR8M.d.cts → provider.factory-DG2CYFgh.d.cts} +1 -1
  33. package/dist/providers/index.d.cts +9 -9
  34. package/dist/providers/index.d.ts +9 -9
  35. package/dist/{requestQueue-CvxWxC-z.d.ts → requestQueue-D-RCbxuR.d.ts} +4 -4
  36. package/dist/{requestQueue-CkJ6Xc9K.d.cts → requestQueue-O6f8VBl5.d.cts} +4 -4
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { c as TextTier } from './index-fXjxTR5W.js';
2
- import { e as ProviderFactory } from './provider.factory-BwPnqSEU.js';
3
- import { c as TierModelMap } from './index-DIHz8_OJ.js';
1
+ import { b as TextTier } from './index-DDzvTDg0.js';
2
+ import { e as ProviderFactory } from './provider.factory-CJuI08Xr.js';
3
+ import { c as TierModelMap } from './index-Ca5o4gBK.js';
4
4
  import { c as GeminiConfig, F as FalConfig, P as PrunaConfig } from './ProviderConfig-DIFa9nmG.js';
5
5
 
6
6
  declare const ANTHROPIC_MODELS: {
@@ -1,6 +1,6 @@
1
- import { c as TextTier } from './index-fXjxTR5W.cjs';
2
- import { e as ProviderFactory } from './provider.factory-DyfJtR8M.cjs';
3
- import { c as TierModelMap } from './index-DKHNcMbl.cjs';
1
+ import { b as TextTier } from './index-DDzvTDg0.cjs';
2
+ import { e as ProviderFactory } from './provider.factory-DG2CYFgh.cjs';
3
+ import { c as TierModelMap } from './index-itgxPeLz.cjs';
4
4
  import { c as GeminiConfig, F as FalConfig, P as PrunaConfig } from './ProviderConfig-DIFa9nmG.cjs';
5
5
 
6
6
  declare const ANTHROPIC_MODELS: {
@@ -1,15 +1,15 @@
1
1
  import { B as BlogGenerationRequest, G as GeneratedBlog, m as SocialContentRequest, h as GeneratedSocialContent, c as ContentTone, q as VideoScriptRequest, i as GeneratedVideoScript, b as ContentCalendarEntry, E as Emotion, f as ContentWizardStep, e as ContentWizardData, k as ImageWizardStep, j as ImageWizardData, s as VideoWizardStep, r as VideoWizardData } from '../index-BulSkB2L.cjs';
2
- import { d as AIErrorCode, t as SentimentAnalysisResult, C as ContentAnalysisRequest, g as ContentAnalysisResult, S as SEOOptimizationRequest, q as SEOOptimizationResult, r as SEOScoreBreakdown, b as ABTestRequest, a as ABTestPrediction, A as ABTestComparison, G as GenerationResult, k as GenerationProgress, l as GenerationStatus, n as ImageGenerationInput, v as VideoGenerationInput, m as GenerationType, o as ImageQuality, w as VideoQuality } from '../AIErrors-DjZXUiLT.cjs';
3
- export { f as AspectRatio, h as CreditCost, i as GENERATION_COSTS, j as GenerationMetadata, x as calculateCreditCost } from '../AIErrors-DjZXUiLT.cjs';
2
+ import { d as AIErrorCode, t as SentimentAnalysisResult, C as ContentAnalysisRequest, g as ContentAnalysisResult, S as SEOOptimizationRequest, q as SEOOptimizationResult, r as SEOScoreBreakdown, b as ABTestRequest, a as ABTestPrediction, A as ABTestComparison, G as GenerationResult, k as GenerationProgress, l as GenerationStatus, n as ImageGenerationInput, v as VideoGenerationInput, m as GenerationType, o as ImageQuality, w as VideoQuality } from '../AIErrors-Dq9o95R_.cjs';
3
+ export { f as AspectRatio, h as CreditCost, i as GENERATION_COSTS, j as GenerationMetadata, x as calculateCreditCost } from '../AIErrors-Dq9o95R_.cjs';
4
4
  import { d as ProviderConfig, I as ImageGenerationRequest, G as GeneratedContent, V as VideoGenerationRequest, a as ImageToVideoRequest, b as VideoToVideoRequest } from '../ProviderConfig-DIFa9nmG.cjs';
5
- import { c as ITextGenerator, d as ITextProvider, e as ProviderFactory } from '../provider.factory-DyfJtR8M.cjs';
6
- import { A as AIProviderConfig, q as GroqGenerationConfig } from '../create-ai-BrKR_5fQ.cjs';
7
- import { c as TextTier } from '../index-fXjxTR5W.cjs';
5
+ import { c as ITextGenerator, d as ITextProvider, e as ProviderFactory } from '../provider.factory-DG2CYFgh.cjs';
6
+ import { A as AIProviderConfig, q as GroqGenerationConfig } from '../create-ai-DeOpUgZ-.cjs';
7
+ import { b as TextTier } from '../index-DDzvTDg0.cjs';
8
8
  import { C as CacheManager, b as CacheStats } from '../cache-manager-Df9LLYGA.cjs';
9
- import { d as ChatService, U as UseChatOptions, k as UseChatReturn } from '../chat.service-9M-KpLo-.cjs';
10
- import { T as TextGenerationService, j as PrunaResult, G as GenerateOptions, e as PrunaInput, a as GenerationStage } from '../cancellation-error-Cj7fJyCg.cjs';
11
- export { C as CancellationError } from '../cancellation-error-Cj7fJyCg.cjs';
12
- import '../index-DKHNcMbl.cjs';
9
+ import { d as ChatService, U as UseChatOptions, k as UseChatReturn } from '../chat.service-BRtiA7H9.cjs';
10
+ import { T as TextGenerationService, j as PrunaResult, G as GenerateOptions, e as PrunaInput, a as GenerationStage } from '../cancellation-error-CpkPd67D.cjs';
11
+ export { C as CancellationError } from '../cancellation-error-CpkPd67D.cjs';
12
+ import '../index-itgxPeLz.cjs';
13
13
 
14
14
  /** Provider config for the underlying AIContentService — new AIProviderConfig,
15
15
  * legacy ProviderConfig, or a custom ITextGenerator. */
@@ -1,15 +1,15 @@
1
1
  import { B as BlogGenerationRequest, G as GeneratedBlog, m as SocialContentRequest, h as GeneratedSocialContent, c as ContentTone, q as VideoScriptRequest, i as GeneratedVideoScript, b as ContentCalendarEntry, E as Emotion, f as ContentWizardStep, e as ContentWizardData, k as ImageWizardStep, j as ImageWizardData, s as VideoWizardStep, r as VideoWizardData } from '../index-BUVULo3h.js';
2
- import { d as AIErrorCode, t as SentimentAnalysisResult, C as ContentAnalysisRequest, g as ContentAnalysisResult, S as SEOOptimizationRequest, q as SEOOptimizationResult, r as SEOScoreBreakdown, b as ABTestRequest, a as ABTestPrediction, A as ABTestComparison, G as GenerationResult, k as GenerationProgress, l as GenerationStatus, n as ImageGenerationInput, v as VideoGenerationInput, m as GenerationType, o as ImageQuality, w as VideoQuality } from '../AIErrors-CLjXRty-.js';
3
- export { f as AspectRatio, h as CreditCost, i as GENERATION_COSTS, j as GenerationMetadata, x as calculateCreditCost } from '../AIErrors-CLjXRty-.js';
2
+ import { d as AIErrorCode, t as SentimentAnalysisResult, C as ContentAnalysisRequest, g as ContentAnalysisResult, S as SEOOptimizationRequest, q as SEOOptimizationResult, r as SEOScoreBreakdown, b as ABTestRequest, a as ABTestPrediction, A as ABTestComparison, G as GenerationResult, k as GenerationProgress, l as GenerationStatus, n as ImageGenerationInput, v as VideoGenerationInput, m as GenerationType, o as ImageQuality, w as VideoQuality } from '../AIErrors-CSk4nvN1.js';
3
+ export { f as AspectRatio, h as CreditCost, i as GENERATION_COSTS, j as GenerationMetadata, x as calculateCreditCost } from '../AIErrors-CSk4nvN1.js';
4
4
  import { d as ProviderConfig, I as ImageGenerationRequest, G as GeneratedContent, V as VideoGenerationRequest, a as ImageToVideoRequest, b as VideoToVideoRequest } from '../ProviderConfig-DIFa9nmG.js';
5
- import { c as ITextGenerator, d as ITextProvider, e as ProviderFactory } from '../provider.factory-BwPnqSEU.js';
6
- import { A as AIProviderConfig, q as GroqGenerationConfig } from '../create-ai-0eZFFqTw.js';
7
- import { c as TextTier } from '../index-fXjxTR5W.js';
5
+ import { c as ITextGenerator, d as ITextProvider, e as ProviderFactory } from '../provider.factory-CJuI08Xr.js';
6
+ import { A as AIProviderConfig, q as GroqGenerationConfig } from '../create-ai-DW7eHMBF.js';
7
+ import { b as TextTier } from '../index-DDzvTDg0.js';
8
8
  import { C as CacheManager, b as CacheStats } from '../cache-manager-Df9LLYGA.js';
9
- import { d as ChatService, U as UseChatOptions, k as UseChatReturn } from '../chat.service-B4FLFxR1.js';
10
- import { T as TextGenerationService, j as PrunaResult, G as GenerateOptions, e as PrunaInput, a as GenerationStage } from '../cancellation-error-CkMn5Kft.js';
11
- export { C as CancellationError } from '../cancellation-error-CkMn5Kft.js';
12
- import '../index-DIHz8_OJ.js';
9
+ import { d as ChatService, U as UseChatOptions, k as UseChatReturn } from '../chat.service-Cqga2h1e.js';
10
+ import { T as TextGenerationService, j as PrunaResult, G as GenerateOptions, e as PrunaInput, a as GenerationStage } from '../cancellation-error-Ci8fQhNF.js';
11
+ export { C as CancellationError } from '../cancellation-error-Ci8fQhNF.js';
12
+ import '../index-Ca5o4gBK.js';
13
13
 
14
14
  /** Provider config for the underlying AIContentService — new AIProviderConfig,
15
15
  * legacy ProviderConfig, or a custom ITextGenerator. */
@@ -1,4 +1,4 @@
1
- import { c as TextTier } from './index-fXjxTR5W.js';
1
+ import { b as TextTier } from './index-DDzvTDg0.js';
2
2
 
3
3
  declare enum AIErrorType {
4
4
  INVALID_API_KEY = "INVALID_API_KEY",
@@ -63,4 +63,4 @@ interface StructuredGeneration<T> {
63
63
  }
64
64
  type ProviderHealth = "healthy" | "degraded" | "exhausted" | "unavailable";
65
65
 
66
- export type { ChatMessage as C, FinishReason as F, GenerationResult as G, ProviderHealth as P, StreamCallbacks as S, TextRequest as T, StructuredGeneration as a, StructuredTextRequest as b, TextTier as c, TokenUsage as d };
66
+ export type { ChatMessage as C, FinishReason as F, GenerationResult as G, ProviderHealth as P, StructuredGeneration as S, TextRequest as T, StructuredTextRequest as a, TextTier as b, TokenUsage as c, StreamCallbacks as d };
@@ -63,4 +63,4 @@ interface StructuredGeneration<T> {
63
63
  }
64
64
  type ProviderHealth = "healthy" | "degraded" | "exhausted" | "unavailable";
65
65
 
66
- export type { ChatMessage as C, FinishReason as F, GenerationResult as G, ProviderHealth as P, StreamCallbacks as S, TextRequest as T, StructuredGeneration as a, StructuredTextRequest as b, TextTier as c, TokenUsage as d };
66
+ export type { ChatMessage as C, FinishReason as F, GenerationResult as G, ProviderHealth as P, StructuredGeneration as S, TextRequest as T, StructuredTextRequest as a, TextTier as b, TokenUsage as c, StreamCallbacks as d };
@@ -1,4 +1,4 @@
1
- import { c as TextTier } from './index-fXjxTR5W.cjs';
1
+ import { b as TextTier } from './index-DDzvTDg0.cjs';
2
2
 
3
3
  declare enum AIErrorType {
4
4
  INVALID_API_KEY = "INVALID_API_KEY",