@gammatech/aijsx 0.16.0-dev.2024-11-05 → 0.16.2-dev.2024-11-05

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/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LogChatCompletionRequest, A as AINode, R as RenderContext, a as LogImplementation, S as SpanProcessor, C as ContextValues, b as Context, T as Tracer, c as ReadableSpan, d as SpanAttributes, e as SpanExporter, f as AIComponent, P as Prompt, g as ChatCompletionRequestPayloads, D as DebugMessage, E as EvaluatorResult, h as EvaluatorFn, i as PromptParsed, J as JSX } from './jsx-dev-runtime-yLtSq2UV.mjs';
2
- export { z as AIElement, k as AIFragment, B as BoundLogger, p as ChatCompletionUsage, m as ChatMessage, n as ChatRole, v as CombinedLogger, u as ConsoleLogger, I as ImagePart, o as ImagePartProps, w as Literal, q as LogChatCompletionResponse, r as LogLevel, s as Logger, N as NoopLogImplementation, W as OutputParser, G as PropsOfAIComponent, x as RenderResult, F as Renderable, M as Span, H as SpanContext, O as SpanEvent, K as SpanStatus, U as TracingContext, Q as TracingContextKey, V as TracingContextManager, y as attachedContextSymbol, j as createAIElement, l as createContext, t as toDebugMessage } from './jsx-dev-runtime-yLtSq2UV.mjs';
1
+ import { L as LogChatCompletionRequest, A as AINode, C as ChatCompletionUsage, R as RenderContext, a as LogImplementation, S as SpanProcessor, b as ContextValues, c as Context, T as Tracer, d as ReadableSpan, e as SpanAttributes, f as SpanExporter, g as AIComponent, P as Prompt, h as ChatCompletionRequestPayloads, D as DebugMessage, E as EvaluatorResult, i as EvaluatorFn, j as PromptParsed, J as JSX } from './jsx-dev-runtime-yyAW1PnA.mjs';
2
+ export { z as AIElement, l as AIFragment, B as BoundLogger, n as ChatMessage, o as ChatRole, v as CombinedLogger, u as ConsoleLogger, I as ImagePart, p as ImagePartProps, w as Literal, q as LogChatCompletionResponse, r as LogLevel, s as Logger, N as NoopLogImplementation, W as OutputParser, G as PropsOfAIComponent, x as RenderResult, F as Renderable, M as Span, H as SpanContext, O as SpanEvent, K as SpanStatus, U as TracingContext, Q as TracingContextKey, V as TracingContextManager, y as attachedContextSymbol, k as createAIElement, m as createContext, t as toDebugMessage } from './jsx-dev-runtime-yyAW1PnA.mjs';
3
3
  import { ZodObject, ZodRawShape, ZodTypeAny, ZodString, z } from 'zod';
4
4
  import { OpenAI } from 'openai';
5
5
  export { OpenAI as OpenAIClient } from 'openai';
@@ -35,12 +35,7 @@ type ChatCompletionClientAndProvider<K> = {
35
35
  client: K;
36
36
  provider?: string;
37
37
  providerRegion?: string;
38
- costFn?: (model: string, usage: {
39
- prompt: number;
40
- completion: number;
41
- cachedPromptTokensCreated: number;
42
- cachedPromptTokensRead: number;
43
- }) => number;
38
+ costFn?: (model: string, usage: Omit<ChatCompletionUsage, 'total'>) => number;
44
39
  };
45
40
  type GetChatCompletionClientAndProvider<Model, Client> = (model: Model, args: {
46
41
  retryCount: number;
@@ -168,11 +163,6 @@ type TraceProps = {
168
163
  declare const Trace: AIComponent<TraceProps>;
169
164
 
170
165
  type Cost = number;
171
- type Usage = {
172
- prompt: number;
173
- completion: number;
174
- total: number;
175
- };
176
166
  declare namespace AISpanAttributes {
177
167
  type Prompt = {
178
168
  prompt: Prompt;
@@ -192,7 +182,7 @@ declare namespace AISpanAttributes {
192
182
  inputMessages: DebugMessage[];
193
183
  finishReason: string | null;
194
184
  output: string;
195
- tokensUsed: Usage;
185
+ tokensUsed: ChatCompletionUsage;
196
186
  [key: string]: any;
197
187
  };
198
188
  }
@@ -201,7 +191,7 @@ declare namespace ProcessedAISpanAttributes {
201
191
  prompt: never;
202
192
  evaluatorResults: Record<string, EvaluatorResult>;
203
193
  evaluatorError?: string;
204
- totalUsage?: Usage;
194
+ totalUsage?: ChatCompletionUsage;
205
195
  totalCost?: Cost;
206
196
  parentPromptKey?: string;
207
197
  rootPromptKey?: string;
@@ -330,4 +320,4 @@ type GoogleChatCompletionProps = {
330
320
  };
331
321
  declare function GoogleChatCompletion(props: GoogleChatCompletionProps, ctx: RenderContext): JSX.Element;
332
322
 
333
- export { AIComponent, AINode, AISpanAttributes, AISpanProcessor, Accumulate, AnthropicChatCompletion, type AnthropicChatCompletionRequest, AnthropicClientContext, AssistantMessage, type ChatCompletionClientAndProvider, ChatCompletionError, type ChatCompletionRequestPayloads, Context, type CostFn, DebugMessage, DefaultMaxRetriesContext, EvaluatorFn, EvaluatorResult, Fallback, type GetChatCompletionClientAndProvider, GoogleChatCompletion, type GoogleChatCompletionRequest, GoogleClientContext, LogChatCompletionRequest, LogImplementation, OpenAIChatCompletion, type OpenAIChatCompletionRequest, type OpenAIChatMessage, OpenAIClientContext, ParseVariablesError, ProcessedAISpanAttributes, type Prompt, PromptInvalidOutputError, PromptParsed, ReadableSpan, RenderContext, Retry, RetryCountContext, RetryLastErrorContext, SpanAttributes, SpanExporter, SpanProcessor, SystemMessage, Trace, Tracer, UserMessage, type ValidAnthropicChatModel, type ValidGoogleChatModel, type ValidOpenAIChatModel, type ValidOpenAIVisionModel, createPrompt, createRenderContext, evaluatePrompt, AnthropicPromptCacheDebugger as experimental__AnthropicPromptCacheDebugger, isPromptParsed, tracing };
323
+ export { AIComponent, AINode, AISpanAttributes, AISpanProcessor, Accumulate, AnthropicChatCompletion, type AnthropicChatCompletionRequest, AnthropicClientContext, AssistantMessage, type ChatCompletionClientAndProvider, ChatCompletionError, type ChatCompletionRequestPayloads, ChatCompletionUsage, Context, type CostFn, DebugMessage, DefaultMaxRetriesContext, EvaluatorFn, EvaluatorResult, Fallback, type GetChatCompletionClientAndProvider, GoogleChatCompletion, type GoogleChatCompletionRequest, GoogleClientContext, LogChatCompletionRequest, LogImplementation, OpenAIChatCompletion, type OpenAIChatCompletionRequest, type OpenAIChatMessage, OpenAIClientContext, ParseVariablesError, ProcessedAISpanAttributes, type Prompt, PromptInvalidOutputError, PromptParsed, ReadableSpan, RenderContext, Retry, RetryCountContext, RetryLastErrorContext, SpanAttributes, SpanExporter, SpanProcessor, SystemMessage, Trace, Tracer, UserMessage, type ValidAnthropicChatModel, type ValidGoogleChatModel, type ValidOpenAIChatModel, type ValidOpenAIVisionModel, createPrompt, createRenderContext, evaluatePrompt, AnthropicPromptCacheDebugger as experimental__AnthropicPromptCacheDebugger, isPromptParsed, tracing };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as LogChatCompletionRequest, A as AINode, R as RenderContext, a as LogImplementation, S as SpanProcessor, C as ContextValues, b as Context, T as Tracer, c as ReadableSpan, d as SpanAttributes, e as SpanExporter, f as AIComponent, P as Prompt, g as ChatCompletionRequestPayloads, D as DebugMessage, E as EvaluatorResult, h as EvaluatorFn, i as PromptParsed, J as JSX } from './jsx-dev-runtime-yLtSq2UV.js';
2
- export { z as AIElement, k as AIFragment, B as BoundLogger, p as ChatCompletionUsage, m as ChatMessage, n as ChatRole, v as CombinedLogger, u as ConsoleLogger, I as ImagePart, o as ImagePartProps, w as Literal, q as LogChatCompletionResponse, r as LogLevel, s as Logger, N as NoopLogImplementation, W as OutputParser, G as PropsOfAIComponent, x as RenderResult, F as Renderable, M as Span, H as SpanContext, O as SpanEvent, K as SpanStatus, U as TracingContext, Q as TracingContextKey, V as TracingContextManager, y as attachedContextSymbol, j as createAIElement, l as createContext, t as toDebugMessage } from './jsx-dev-runtime-yLtSq2UV.js';
1
+ import { L as LogChatCompletionRequest, A as AINode, C as ChatCompletionUsage, R as RenderContext, a as LogImplementation, S as SpanProcessor, b as ContextValues, c as Context, T as Tracer, d as ReadableSpan, e as SpanAttributes, f as SpanExporter, g as AIComponent, P as Prompt, h as ChatCompletionRequestPayloads, D as DebugMessage, E as EvaluatorResult, i as EvaluatorFn, j as PromptParsed, J as JSX } from './jsx-dev-runtime-yyAW1PnA.js';
2
+ export { z as AIElement, l as AIFragment, B as BoundLogger, n as ChatMessage, o as ChatRole, v as CombinedLogger, u as ConsoleLogger, I as ImagePart, p as ImagePartProps, w as Literal, q as LogChatCompletionResponse, r as LogLevel, s as Logger, N as NoopLogImplementation, W as OutputParser, G as PropsOfAIComponent, x as RenderResult, F as Renderable, M as Span, H as SpanContext, O as SpanEvent, K as SpanStatus, U as TracingContext, Q as TracingContextKey, V as TracingContextManager, y as attachedContextSymbol, k as createAIElement, m as createContext, t as toDebugMessage } from './jsx-dev-runtime-yyAW1PnA.js';
3
3
  import { ZodObject, ZodRawShape, ZodTypeAny, ZodString, z } from 'zod';
4
4
  import { OpenAI } from 'openai';
5
5
  export { OpenAI as OpenAIClient } from 'openai';
@@ -35,12 +35,7 @@ type ChatCompletionClientAndProvider<K> = {
35
35
  client: K;
36
36
  provider?: string;
37
37
  providerRegion?: string;
38
- costFn?: (model: string, usage: {
39
- prompt: number;
40
- completion: number;
41
- cachedPromptTokensCreated: number;
42
- cachedPromptTokensRead: number;
43
- }) => number;
38
+ costFn?: (model: string, usage: Omit<ChatCompletionUsage, 'total'>) => number;
44
39
  };
45
40
  type GetChatCompletionClientAndProvider<Model, Client> = (model: Model, args: {
46
41
  retryCount: number;
@@ -168,11 +163,6 @@ type TraceProps = {
168
163
  declare const Trace: AIComponent<TraceProps>;
169
164
 
170
165
  type Cost = number;
171
- type Usage = {
172
- prompt: number;
173
- completion: number;
174
- total: number;
175
- };
176
166
  declare namespace AISpanAttributes {
177
167
  type Prompt = {
178
168
  prompt: Prompt;
@@ -192,7 +182,7 @@ declare namespace AISpanAttributes {
192
182
  inputMessages: DebugMessage[];
193
183
  finishReason: string | null;
194
184
  output: string;
195
- tokensUsed: Usage;
185
+ tokensUsed: ChatCompletionUsage;
196
186
  [key: string]: any;
197
187
  };
198
188
  }
@@ -201,7 +191,7 @@ declare namespace ProcessedAISpanAttributes {
201
191
  prompt: never;
202
192
  evaluatorResults: Record<string, EvaluatorResult>;
203
193
  evaluatorError?: string;
204
- totalUsage?: Usage;
194
+ totalUsage?: ChatCompletionUsage;
205
195
  totalCost?: Cost;
206
196
  parentPromptKey?: string;
207
197
  rootPromptKey?: string;
@@ -330,4 +320,4 @@ type GoogleChatCompletionProps = {
330
320
  };
331
321
  declare function GoogleChatCompletion(props: GoogleChatCompletionProps, ctx: RenderContext): JSX.Element;
332
322
 
333
- export { AIComponent, AINode, AISpanAttributes, AISpanProcessor, Accumulate, AnthropicChatCompletion, type AnthropicChatCompletionRequest, AnthropicClientContext, AssistantMessage, type ChatCompletionClientAndProvider, ChatCompletionError, type ChatCompletionRequestPayloads, Context, type CostFn, DebugMessage, DefaultMaxRetriesContext, EvaluatorFn, EvaluatorResult, Fallback, type GetChatCompletionClientAndProvider, GoogleChatCompletion, type GoogleChatCompletionRequest, GoogleClientContext, LogChatCompletionRequest, LogImplementation, OpenAIChatCompletion, type OpenAIChatCompletionRequest, type OpenAIChatMessage, OpenAIClientContext, ParseVariablesError, ProcessedAISpanAttributes, type Prompt, PromptInvalidOutputError, PromptParsed, ReadableSpan, RenderContext, Retry, RetryCountContext, RetryLastErrorContext, SpanAttributes, SpanExporter, SpanProcessor, SystemMessage, Trace, Tracer, UserMessage, type ValidAnthropicChatModel, type ValidGoogleChatModel, type ValidOpenAIChatModel, type ValidOpenAIVisionModel, createPrompt, createRenderContext, evaluatePrompt, AnthropicPromptCacheDebugger as experimental__AnthropicPromptCacheDebugger, isPromptParsed, tracing };
323
+ export { AIComponent, AINode, AISpanAttributes, AISpanProcessor, Accumulate, AnthropicChatCompletion, type AnthropicChatCompletionRequest, AnthropicClientContext, AssistantMessage, type ChatCompletionClientAndProvider, ChatCompletionError, type ChatCompletionRequestPayloads, ChatCompletionUsage, Context, type CostFn, DebugMessage, DefaultMaxRetriesContext, EvaluatorFn, EvaluatorResult, Fallback, type GetChatCompletionClientAndProvider, GoogleChatCompletion, type GoogleChatCompletionRequest, GoogleClientContext, LogChatCompletionRequest, LogImplementation, OpenAIChatCompletion, type OpenAIChatCompletionRequest, type OpenAIChatMessage, OpenAIClientContext, ParseVariablesError, ProcessedAISpanAttributes, type Prompt, PromptInvalidOutputError, PromptParsed, ReadableSpan, RenderContext, Retry, RetryCountContext, RetryLastErrorContext, SpanAttributes, SpanExporter, SpanProcessor, SystemMessage, Trace, Tracer, UserMessage, type ValidAnthropicChatModel, type ValidGoogleChatModel, type ValidOpenAIChatModel, type ValidOpenAIVisionModel, createPrompt, createRenderContext, evaluatePrompt, AnthropicPromptCacheDebugger as experimental__AnthropicPromptCacheDebugger, isPromptParsed, tracing };
package/dist/index.js CHANGED
@@ -82,6 +82,9 @@ var ChatCompletionError = class extends Error {
82
82
  this.status = status;
83
83
  this.shouldRetry = shouldRetry4;
84
84
  this.originalError = originalError;
85
+ if (originalError?.stack) {
86
+ this.stack = originalError.stack;
87
+ }
85
88
  }
86
89
  name = "ChatCompletionError";
87
90
  };
@@ -1854,7 +1857,9 @@ var AISpanProcessor = class {
1854
1857
  const totalUsage = {
1855
1858
  prompt: 0,
1856
1859
  completion: 0,
1857
- total: 0
1860
+ total: 0,
1861
+ cachedPromptTokensCreated: 0,
1862
+ cachedPromptTokensRead: 0
1858
1863
  };
1859
1864
  const root = this.spanTree.findNode(rootSpan.spanContext.spanId);
1860
1865
  root?.descendents(({ span }) => {
@@ -1871,6 +1876,8 @@ var AISpanProcessor = class {
1871
1876
  totalUsage.prompt += tokensUsed.prompt;
1872
1877
  totalUsage.completion += tokensUsed.completion;
1873
1878
  totalUsage.total += tokensUsed.total;
1879
+ totalUsage.cachedPromptTokensCreated += tokensUsed.cachedPromptTokensCreated;
1880
+ totalUsage.cachedPromptTokensRead += tokensUsed.cachedPromptTokensRead;
1874
1881
  });
1875
1882
  rootSpan.attributes.totalCost = totalCost;
1876
1883
  rootSpan.attributes.totalUsage = totalUsage;
@@ -2613,12 +2620,19 @@ async function* AnthropicChatCompletionInner(props, ctx) {
2613
2620
  `AnthropicClient.APIError: ${err.message}`,
2614
2621
  logRequestData,
2615
2622
  status,
2616
- retry
2623
+ retry,
2624
+ err
2617
2625
  );
2618
2626
  } else if (err instanceof Error) {
2619
2627
  const status = extractStatusFromError2(err);
2620
2628
  const retry = shouldRetryFromStatus(status);
2621
- throw new ChatCompletionError(err.message, logRequestData, status, retry);
2629
+ throw new ChatCompletionError(
2630
+ err.message,
2631
+ logRequestData,
2632
+ status,
2633
+ retry,
2634
+ err
2635
+ );
2622
2636
  }
2623
2637
  throw err;
2624
2638
  }
package/dist/index.mjs CHANGED
@@ -14,6 +14,9 @@ var ChatCompletionError = class extends Error {
14
14
  this.status = status;
15
15
  this.shouldRetry = shouldRetry4;
16
16
  this.originalError = originalError;
17
+ if (originalError?.stack) {
18
+ this.stack = originalError.stack;
19
+ }
17
20
  }
18
21
  name = "ChatCompletionError";
19
22
  };
@@ -1753,7 +1756,9 @@ var AISpanProcessor = class {
1753
1756
  const totalUsage = {
1754
1757
  prompt: 0,
1755
1758
  completion: 0,
1756
- total: 0
1759
+ total: 0,
1760
+ cachedPromptTokensCreated: 0,
1761
+ cachedPromptTokensRead: 0
1757
1762
  };
1758
1763
  const root = this.spanTree.findNode(rootSpan.spanContext.spanId);
1759
1764
  root?.descendents(({ span }) => {
@@ -1770,6 +1775,8 @@ var AISpanProcessor = class {
1770
1775
  totalUsage.prompt += tokensUsed.prompt;
1771
1776
  totalUsage.completion += tokensUsed.completion;
1772
1777
  totalUsage.total += tokensUsed.total;
1778
+ totalUsage.cachedPromptTokensCreated += tokensUsed.cachedPromptTokensCreated;
1779
+ totalUsage.cachedPromptTokensRead += tokensUsed.cachedPromptTokensRead;
1773
1780
  });
1774
1781
  rootSpan.attributes.totalCost = totalCost;
1775
1782
  rootSpan.attributes.totalUsage = totalUsage;
@@ -2512,12 +2519,19 @@ async function* AnthropicChatCompletionInner(props, ctx) {
2512
2519
  `AnthropicClient.APIError: ${err.message}`,
2513
2520
  logRequestData,
2514
2521
  status,
2515
- retry
2522
+ retry,
2523
+ err
2516
2524
  );
2517
2525
  } else if (err instanceof Error) {
2518
2526
  const status = extractStatusFromError2(err);
2519
2527
  const retry = shouldRetryFromStatus(status);
2520
- throw new ChatCompletionError(err.message, logRequestData, status, retry);
2528
+ throw new ChatCompletionError(
2529
+ err.message,
2530
+ logRequestData,
2531
+ status,
2532
+ retry,
2533
+ err
2534
+ );
2521
2535
  }
2522
2536
  throw err;
2523
2537
  }
@@ -362,4 +362,4 @@ declare const jsxs: typeof jsx;
362
362
  /** @hidden */
363
363
  declare const Fragment: typeof AIFragment;
364
364
 
365
- export { type AINode as A, BoundLogger as B, type ContextValues as C, type DebugMessage as D, type EvaluatorResult as E, type Renderable as F, type PropsOfAIComponent as G, type SpanContext as H, ImagePart as I, JSX as J, type SpanStatus as K, type LogChatCompletionRequest as L, type Span as M, NoopLogImplementation as N, type SpanEvent as O, type Prompt as P, type TracingContextKey as Q, type RenderContext as R, type SpanProcessor as S, type Tracer as T, type TracingContext as U, type TracingContextManager as V, type OutputParser as W, jsx as X, jsxDEV as Y, jsxs as Z, Fragment as _, LogImplementation as a, type Context as b, type ReadableSpan as c, type SpanAttributes as d, type SpanExporter as e, type AIComponent as f, type ChatCompletionRequestPayloads as g, type EvaluatorFn as h, type PromptParsed as i, createAIElement as j, AIFragment as k, createContext as l, type ChatMessage as m, type ChatRole as n, type ImagePartProps as o, type ChatCompletionUsage as p, type LogChatCompletionResponse as q, type LogLevel as r, type Logger as s, toDebugMessage as t, ConsoleLogger as u, CombinedLogger as v, type Literal as w, type RenderResult as x, attachedContextSymbol as y, type AIElement as z };
365
+ export { type AINode as A, BoundLogger as B, type ChatCompletionUsage as C, type DebugMessage as D, type EvaluatorResult as E, type Renderable as F, type PropsOfAIComponent as G, type SpanContext as H, ImagePart as I, JSX as J, type SpanStatus as K, type LogChatCompletionRequest as L, type Span as M, NoopLogImplementation as N, type SpanEvent as O, type Prompt as P, type TracingContextKey as Q, type RenderContext as R, type SpanProcessor as S, type Tracer as T, type TracingContext as U, type TracingContextManager as V, type OutputParser as W, jsx as X, jsxDEV as Y, jsxs as Z, Fragment as _, LogImplementation as a, type ContextValues as b, type Context as c, type ReadableSpan as d, type SpanAttributes as e, type SpanExporter as f, type AIComponent as g, type ChatCompletionRequestPayloads as h, type EvaluatorFn as i, type PromptParsed as j, createAIElement as k, AIFragment as l, createContext as m, type ChatMessage as n, type ChatRole as o, type ImagePartProps as p, type LogChatCompletionResponse as q, type LogLevel as r, type Logger as s, toDebugMessage as t, ConsoleLogger as u, CombinedLogger as v, type Literal as w, type RenderResult as x, attachedContextSymbol as y, type AIElement as z };
@@ -362,4 +362,4 @@ declare const jsxs: typeof jsx;
362
362
  /** @hidden */
363
363
  declare const Fragment: typeof AIFragment;
364
364
 
365
- export { type AINode as A, BoundLogger as B, type ContextValues as C, type DebugMessage as D, type EvaluatorResult as E, type Renderable as F, type PropsOfAIComponent as G, type SpanContext as H, ImagePart as I, JSX as J, type SpanStatus as K, type LogChatCompletionRequest as L, type Span as M, NoopLogImplementation as N, type SpanEvent as O, type Prompt as P, type TracingContextKey as Q, type RenderContext as R, type SpanProcessor as S, type Tracer as T, type TracingContext as U, type TracingContextManager as V, type OutputParser as W, jsx as X, jsxDEV as Y, jsxs as Z, Fragment as _, LogImplementation as a, type Context as b, type ReadableSpan as c, type SpanAttributes as d, type SpanExporter as e, type AIComponent as f, type ChatCompletionRequestPayloads as g, type EvaluatorFn as h, type PromptParsed as i, createAIElement as j, AIFragment as k, createContext as l, type ChatMessage as m, type ChatRole as n, type ImagePartProps as o, type ChatCompletionUsage as p, type LogChatCompletionResponse as q, type LogLevel as r, type Logger as s, toDebugMessage as t, ConsoleLogger as u, CombinedLogger as v, type Literal as w, type RenderResult as x, attachedContextSymbol as y, type AIElement as z };
365
+ export { type AINode as A, BoundLogger as B, type ChatCompletionUsage as C, type DebugMessage as D, type EvaluatorResult as E, type Renderable as F, type PropsOfAIComponent as G, type SpanContext as H, ImagePart as I, JSX as J, type SpanStatus as K, type LogChatCompletionRequest as L, type Span as M, NoopLogImplementation as N, type SpanEvent as O, type Prompt as P, type TracingContextKey as Q, type RenderContext as R, type SpanProcessor as S, type Tracer as T, type TracingContext as U, type TracingContextManager as V, type OutputParser as W, jsx as X, jsxDEV as Y, jsxs as Z, Fragment as _, LogImplementation as a, type ContextValues as b, type Context as c, type ReadableSpan as d, type SpanAttributes as e, type SpanExporter as f, type AIComponent as g, type ChatCompletionRequestPayloads as h, type EvaluatorFn as i, type PromptParsed as j, createAIElement as k, AIFragment as l, createContext as m, type ChatMessage as n, type ChatRole as o, type ImagePartProps as p, type LogChatCompletionResponse as q, type LogLevel as r, type Logger as s, toDebugMessage as t, ConsoleLogger as u, CombinedLogger as v, type Literal as w, type RenderResult as x, attachedContextSymbol as y, type AIElement as z };
@@ -1,2 +1,2 @@
1
- export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yLtSq2UV.mjs';
1
+ export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yyAW1PnA.mjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yLtSq2UV.js';
1
+ export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yyAW1PnA.js';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yLtSq2UV.mjs';
1
+ export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yyAW1PnA.mjs';
2
2
  import 'zod';
@@ -1,2 +1,2 @@
1
- export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yLtSq2UV.js';
1
+ export { _ as Fragment, J as JSX, X as jsx, Y as jsxDEV, Z as jsxs } from './jsx-dev-runtime-yyAW1PnA.js';
2
2
  import 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gammatech/aijsx",
3
- "version": "0.16.0-dev.2024-11-05",
3
+ "version": "0.16.2-dev.2024-11-05",
4
4
  "description": "Rewrite of aijsx",
5
5
  "author": "Jordan Garcia",
6
6
  "license": "MIT",