@supersolutions/super-chat-core 0.1.0 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { e as Transport, R as RetryPolicy, P as ProviderCapabilities, f as ModelInfo, g as Provider, N as NormalizedRequest, M as Message } from './types-C3VavKYX.js';
1
+ import { e as Transport, R as RetryPolicy, P as ProviderCapabilities, f as ModelInfo, g as Provider, N as NormalizedRequest, M as Message } from './types-y3SK7HwA.js';
2
2
 
3
3
  type AnthropicProviderConfig = {
4
4
  transport: Transport;
@@ -1,4 +1,4 @@
1
- import { j as JobHandle, k as JobStatus, n as JobSnapshot, g as Provider, e as Transport, R as RetryPolicy, P as ProviderCapabilities, f as ModelInfo, N as NormalizedRequest, M as Message } from './types-C3VavKYX.js';
1
+ import { i as JobHandle, j as JobStatus, n as JobSnapshot, g as Provider, e as Transport, R as RetryPolicy, P as ProviderCapabilities, f as ModelInfo, N as NormalizedRequest, M as Message } from './types-y3SK7HwA.js';
2
2
 
3
3
  /**
4
4
  * Await a background job to a terminal state.
package/dist/openai.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { j as ResponsesResponse, C as ChatResponse, k as ChatUsage, l as ResponsesUsage } from './map-in-B1lLaNxO.js';
2
- export { m as ChatContentPart, n as ChatMessage, o as ChatRequest, p as ChatStreamChunk, q as ChatTool, s as ChatToolCall, O as OpenAIDialect, a as OpenAIProviderConfig, t as ResponsesInputContent, u as ResponsesInputItem, v as ResponsesOutputItem, w as ResponsesRequest, x as ResponsesStreamEvent, y as ResponsesTool, z as ResponsesToolChoice, b as awaitJob, c as buildChatRequest, d as buildResponsesRequest, g as createOpenAIProvider, A as dropOrphanChatToolCalls, B as dropOrphanToolCalls, D as toChatMessages, E as toResponsesInput } from './map-in-B1lLaNxO.js';
3
- import { S as StreamEvent, F as FinishReason, C as ContentPart, U as Usage, f as ModelInfo, P as ProviderCapabilities } from './types-C3VavKYX.js';
1
+ import { j as ResponsesResponse, C as ChatResponse, k as ChatUsage, l as ResponsesUsage } from './map-in-CXwWaHl2.js';
2
+ export { m as ChatContentPart, n as ChatMessage, o as ChatRequest, p as ChatStreamChunk, q as ChatTool, s as ChatToolCall, O as OpenAIDialect, a as OpenAIProviderConfig, t as ResponsesInputContent, u as ResponsesInputItem, v as ResponsesOutputItem, w as ResponsesRequest, x as ResponsesStreamEvent, y as ResponsesTool, z as ResponsesToolChoice, b as awaitJob, c as buildChatRequest, d as buildResponsesRequest, g as createOpenAIProvider, A as dropOrphanChatToolCalls, B as dropOrphanToolCalls, D as toChatMessages, E as toResponsesInput } from './map-in-CXwWaHl2.js';
3
+ import { S as StreamEvent, F as FinishReason, C as ContentPart, U as Usage, f as ModelInfo, P as ProviderCapabilities } from './types-y3SK7HwA.js';
4
4
 
5
5
  /**
6
6
  * Translate a Responses SSE body. `onCursor` receives each event's
@@ -103,6 +103,11 @@ type ContentPart =
103
103
  * what makes a re-rendered card readable.
104
104
  */
105
105
  action?: unknown;
106
+ /**
107
+ * The tool call that produced this artifact: where it belongs among the
108
+ * turn's text. Absent on turns saved before order was recorded.
109
+ */
110
+ callId?: string;
106
111
  };
107
112
  type MessageRole = "system" | "user" | "assistant" | "tool";
108
113
  type Message = {
@@ -454,4 +459,4 @@ type ModelInfo = {
454
459
  supports?: Partial<ProviderCapabilities>;
455
460
  };
456
461
 
457
- export { type ContentPart as C, DEFAULT_RETRY as D, type FinishReason as F, type GenerateResult as G, type JSONSchema as J, type Message as M, type NormalizedRequest as N, type ProviderCapabilities as P, type RetryPolicy as R, type StreamEvent as S, type ToolCallStatus as T, type Usage as U, type MediaSource as a, type MessageRole as b, type ToolFailureKind as c, type TransportRequest as d, type Transport as e, type ModelInfo as f, type Provider as g, type CallOptions as h, type ToolSpec as i, type JobHandle as j, type JobStatus as k, type ProviderFileRef as l, type FileUploadRequest as m, type JobSnapshot as n, type MultipartBody as o, type ReasoningOptions as p, type ResponseFormat as q, type ToolChoice as r, isMultipartBody as s };
462
+ export { type ContentPart as C, DEFAULT_RETRY as D, type FinishReason as F, type GenerateResult as G, type JSONSchema as J, type Message as M, type NormalizedRequest as N, type ProviderCapabilities as P, type RetryPolicy as R, type StreamEvent as S, type ToolCallStatus as T, type Usage as U, type MediaSource as a, type MessageRole as b, type ToolFailureKind as c, type TransportRequest as d, type Transport as e, type ModelInfo as f, type Provider as g, type CallOptions as h, type JobHandle as i, type JobStatus as j, type ToolSpec as k, type ProviderFileRef as l, type FileUploadRequest as m, type JobSnapshot as n, type MultipartBody as o, type ReasoningOptions as p, type ResponseFormat as q, type ToolChoice as r, isMultipartBody as s };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersolutions/super-chat-core",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Provider-agnostic agent core: content model, skills, context assembly, tools, runtime, and hand-rolled provider adapters.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "SUPER SOLUTION LABS INC",