@supersolutions/super-chat-core 0.3.0 → 0.4.1

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 { 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';
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-4pPC7-fh.js';
2
2
 
3
3
  /**
4
4
  * Await a background job to a terminal state.
@@ -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-y3SK7HwA.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-4pPC7-fh.js';
2
2
 
3
3
  type AnthropicProviderConfig = {
4
4
  transport: Transport;
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-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';
1
+ import { j as ResponsesResponse, C as ChatResponse, k as ChatUsage, l as ResponsesUsage } from './map-in-BhzgnLeg.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-BhzgnLeg.js';
3
+ import { S as StreamEvent, F as FinishReason, C as ContentPart, U as Usage, f as ModelInfo, P as ProviderCapabilities } from './types-4pPC7-fh.js';
4
4
 
5
5
  /**
6
6
  * Translate a Responses SSE body. `onCursor` receives each event's
@@ -108,6 +108,11 @@ type ContentPart =
108
108
  * turn's text. Absent on turns saved before order was recorded.
109
109
  */
110
110
  callId?: string;
111
+ /**
112
+ * For a card shown beside the chat: `"panel"`. Absent means inline, so a reloaded thread
113
+ * opens the card where it was first shown. Never `"inline"`.
114
+ */
115
+ placement?: "panel";
111
116
  };
112
117
  type MessageRole = "system" | "user" | "assistant" | "tool";
113
118
  type Message = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersolutions/super-chat-core",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
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",