@webless/agent 0.14.2 → 0.14.3

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/react.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { f as AgentIndexVersion, m as AgentPlacementConfig, e as AgentColorScheme, c as AgentBrandingConfig, b as AgentAnalyticsConfig, _ as VisitorToolResultRegistry, d as AgentClient, q as AgentRuntimeHandoffEvent, j as AgentMessageFeedback, T as ToolStep, o as AgentRailState, p as AgentRailTheme, K as ConversationMessage, l as AgentPanelSubmitOptions, i as AgentInputResponse, F as AgentToolUiSurface, y as AgentToolResultJsonValue, M as FollowUpSuggestion, n as AgentRailPhase, V as VisitorBooking, R as ResolvedVisitorToolResultPresentation } from './panel-controller-CDWodIJl.cjs';
3
- export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, g as AgentInputOption, h as AgentInputRequest, r as AgentSearchReferences, s as AgentSearchSource, t as AgentStructuredToolInput, x as AgentToolResult, z as AgentToolUiAction, B as AgentToolUiField, C as AgentToolUiFieldKind, D as AgentToolUiOption, E as AgentToolUiStep, G as AssistEdgeTab, H as AssistTabSide, I as AssistTabVariant, J as Citation, L as DEFAULT_AGENT_PLACEMENT, N as JourneyContext, P as ToolStepState, Q as VisitorBookingResultPresentation, S as VisitorSearchResultPresentation, U as VisitorToolInputResultPresentation, W as VisitorToolResultLink, X as VisitorToolResultPresentation, Y as VisitorToolResultPresenter, Z as VisitorToolResultPresenterOutput, $ as builtInVisitorToolResultRegistry, a0 as defaultAgentRailTheme, a1 as defaultDarkAgentRailTheme, a2 as formatAgentStructuredToolInput, a3 as normalizeAgentPlacement, a5 as presentVisitorToolResult } from './panel-controller-CDWodIJl.cjs';
2
+ import { f as AgentIndexVersion, n as AgentPlacementConfig, e as AgentColorScheme, c as AgentBrandingConfig, b as AgentAnalyticsConfig, $ as VisitorToolResultRegistry, d as AgentClient, r as AgentRuntimeHandoffEvent, j as AgentMessageFeedback, T as ToolStep, p as AgentRailState, q as AgentRailTheme, L as ConversationMessage, m as AgentPanelSubmitOptions, i as AgentInputResponse, G as AgentToolUiSurface, z as AgentToolResultJsonValue, N as FollowUpSuggestion, o as AgentRailPhase, V as VisitorBooking, R as ResolvedVisitorToolResultPresentation } from './panel-controller-csugUSgZ.cjs';
3
+ export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, g as AgentInputOption, h as AgentInputRequest, s as AgentSearchReferences, t as AgentSearchSource, u as AgentStructuredToolInput, y as AgentToolResult, B as AgentToolUiAction, C as AgentToolUiField, D as AgentToolUiFieldKind, E as AgentToolUiOption, F as AgentToolUiStep, H as AssistEdgeTab, I as AssistTabSide, J as AssistTabVariant, K as Citation, M as DEFAULT_AGENT_PLACEMENT, O as JourneyContext, Q as ToolStepState, S as VisitorBookingResultPresentation, U as VisitorSearchResultPresentation, W as VisitorToolInputResultPresentation, X as VisitorToolResultLink, Y as VisitorToolResultPresentation, Z as VisitorToolResultPresenter, _ as VisitorToolResultPresenterOutput, a0 as builtInVisitorToolResultRegistry, a1 as defaultAgentRailTheme, a2 as defaultDarkAgentRailTheme, a3 as formatAgentStructuredToolInput, a5 as normalizeAgentPlacement, a7 as presentVisitorToolResult } from './panel-controller-csugUSgZ.cjs';
4
4
  import 'zod';
5
5
 
6
6
  type AgentWidgetProps = {
@@ -12,6 +12,7 @@ type AgentWidgetProps = {
12
12
  runtimeOrigin?: string;
13
13
  handoffEnabled?: boolean;
14
14
  placement?: Partial<AgentPlacementConfig>;
15
+ panelPresentation?: "drawer" | "popup";
15
16
  defaultCollapsed?: boolean;
16
17
  pageShift?: boolean;
17
18
  registerPanelController?: boolean;
@@ -20,7 +21,7 @@ type AgentWidgetProps = {
20
21
  analytics?: AgentAnalyticsConfig;
21
22
  toolResultRegistry?: VisitorToolResultRegistry;
22
23
  };
23
- declare function AgentWidget({ indexId, customerId, getUnpublishedPreviewGrant, previewBuildId, version, runtimeOrigin, handoffEnabled, placement: placementInput, defaultCollapsed, pageShift, registerPanelController, colorScheme, branding, analytics, toolResultRegistry, }: AgentWidgetProps): react.JSX.Element;
24
+ declare function AgentWidget({ indexId, customerId, getUnpublishedPreviewGrant, previewBuildId, version, runtimeOrigin, handoffEnabled, placement: placementInput, panelPresentation, defaultCollapsed, pageShift, registerPanelController, colorScheme, branding, analytics, toolResultRegistry, }: AgentWidgetProps): react.JSX.Element;
24
25
 
25
26
  declare function useAgentHandoff(options: {
26
27
  enabled: boolean;
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { f as AgentIndexVersion, m as AgentPlacementConfig, e as AgentColorScheme, c as AgentBrandingConfig, b as AgentAnalyticsConfig, _ as VisitorToolResultRegistry, d as AgentClient, q as AgentRuntimeHandoffEvent, j as AgentMessageFeedback, T as ToolStep, o as AgentRailState, p as AgentRailTheme, K as ConversationMessage, l as AgentPanelSubmitOptions, i as AgentInputResponse, F as AgentToolUiSurface, y as AgentToolResultJsonValue, M as FollowUpSuggestion, n as AgentRailPhase, V as VisitorBooking, R as ResolvedVisitorToolResultPresentation } from './panel-controller-CDWodIJl.js';
3
- export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, g as AgentInputOption, h as AgentInputRequest, r as AgentSearchReferences, s as AgentSearchSource, t as AgentStructuredToolInput, x as AgentToolResult, z as AgentToolUiAction, B as AgentToolUiField, C as AgentToolUiFieldKind, D as AgentToolUiOption, E as AgentToolUiStep, G as AssistEdgeTab, H as AssistTabSide, I as AssistTabVariant, J as Citation, L as DEFAULT_AGENT_PLACEMENT, N as JourneyContext, P as ToolStepState, Q as VisitorBookingResultPresentation, S as VisitorSearchResultPresentation, U as VisitorToolInputResultPresentation, W as VisitorToolResultLink, X as VisitorToolResultPresentation, Y as VisitorToolResultPresenter, Z as VisitorToolResultPresenterOutput, $ as builtInVisitorToolResultRegistry, a0 as defaultAgentRailTheme, a1 as defaultDarkAgentRailTheme, a2 as formatAgentStructuredToolInput, a3 as normalizeAgentPlacement, a5 as presentVisitorToolResult } from './panel-controller-CDWodIJl.js';
2
+ import { f as AgentIndexVersion, n as AgentPlacementConfig, e as AgentColorScheme, c as AgentBrandingConfig, b as AgentAnalyticsConfig, $ as VisitorToolResultRegistry, d as AgentClient, r as AgentRuntimeHandoffEvent, j as AgentMessageFeedback, T as ToolStep, p as AgentRailState, q as AgentRailTheme, L as ConversationMessage, m as AgentPanelSubmitOptions, i as AgentInputResponse, G as AgentToolUiSurface, z as AgentToolResultJsonValue, N as FollowUpSuggestion, o as AgentRailPhase, V as VisitorBooking, R as ResolvedVisitorToolResultPresentation } from './panel-controller-csugUSgZ.js';
3
+ export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, g as AgentInputOption, h as AgentInputRequest, s as AgentSearchReferences, t as AgentSearchSource, u as AgentStructuredToolInput, y as AgentToolResult, B as AgentToolUiAction, C as AgentToolUiField, D as AgentToolUiFieldKind, E as AgentToolUiOption, F as AgentToolUiStep, H as AssistEdgeTab, I as AssistTabSide, J as AssistTabVariant, K as Citation, M as DEFAULT_AGENT_PLACEMENT, O as JourneyContext, Q as ToolStepState, S as VisitorBookingResultPresentation, U as VisitorSearchResultPresentation, W as VisitorToolInputResultPresentation, X as VisitorToolResultLink, Y as VisitorToolResultPresentation, Z as VisitorToolResultPresenter, _ as VisitorToolResultPresenterOutput, a0 as builtInVisitorToolResultRegistry, a1 as defaultAgentRailTheme, a2 as defaultDarkAgentRailTheme, a3 as formatAgentStructuredToolInput, a5 as normalizeAgentPlacement, a7 as presentVisitorToolResult } from './panel-controller-csugUSgZ.js';
4
4
  import 'zod';
5
5
 
6
6
  type AgentWidgetProps = {
@@ -12,6 +12,7 @@ type AgentWidgetProps = {
12
12
  runtimeOrigin?: string;
13
13
  handoffEnabled?: boolean;
14
14
  placement?: Partial<AgentPlacementConfig>;
15
+ panelPresentation?: "drawer" | "popup";
15
16
  defaultCollapsed?: boolean;
16
17
  pageShift?: boolean;
17
18
  registerPanelController?: boolean;
@@ -20,7 +21,7 @@ type AgentWidgetProps = {
20
21
  analytics?: AgentAnalyticsConfig;
21
22
  toolResultRegistry?: VisitorToolResultRegistry;
22
23
  };
23
- declare function AgentWidget({ indexId, customerId, getUnpublishedPreviewGrant, previewBuildId, version, runtimeOrigin, handoffEnabled, placement: placementInput, defaultCollapsed, pageShift, registerPanelController, colorScheme, branding, analytics, toolResultRegistry, }: AgentWidgetProps): react.JSX.Element;
24
+ declare function AgentWidget({ indexId, customerId, getUnpublishedPreviewGrant, previewBuildId, version, runtimeOrigin, handoffEnabled, placement: placementInput, panelPresentation, defaultCollapsed, pageShift, registerPanelController, colorScheme, branding, analytics, toolResultRegistry, }: AgentWidgetProps): react.JSX.Element;
24
25
 
25
26
  declare function useAgentHandoff(options: {
26
27
  enabled: boolean;
package/dist/react.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  sendAgentAnswerFeedback,
28
28
  useAgentChat,
29
29
  useAgentColorScheme
30
- } from "./chunk-KUNT2X4I.js";
30
+ } from "./chunk-RUZGX75D.js";
31
31
 
32
32
  // src/react/components/AgentTranscript/AgentTranscript.tsx
33
33
  import { Fragment as Fragment2 } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webless/agent",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "description": "Webless Agent SDK — Eve runtime client, React UI, and embed bundle.",
5
5
  "type": "module",
6
6
  "license": "MIT",