@webless/agent 0.6.5 → 0.6.6

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 { b as AgentIndexVersion, g as AgentPlacementConfig, a as AgentColorScheme, A as AgentBrandingConfig, L as VisitorToolResultRegistry, i as AgentRailState, j as AgentRailTheme, e as AgentInputResponse, u as AgentToolUiSurface, o as AgentToolResultJsonValue, F as FollowUpSuggestion, y as ConversationMessage, h as AgentRailPhase, V as VisitorBooking } from './manifest-Cad-TQJw.cjs';
3
- export { c as AgentInputOption, d as AgentInputRequest, n as AgentToolResult, p as AgentToolUiAction, q as AgentToolUiField, r as AgentToolUiFieldKind, s as AgentToolUiOption, t as AgentToolUiStep, v as AssistEdgeTab, w as AssistTabSide, x as AssistTabVariant, C as Citation, D as DEFAULT_AGENT_PLACEMENT, J as JourneyContext, R as ResolvedVisitorToolResultPresentation, T as ToolStep, z as ToolStepState, B as VisitorBookingResultPresentation, E as VisitorToolInputResultPresentation, G as VisitorToolResultLink, H as VisitorToolResultPresentation, I as VisitorToolResultPresenter, K as VisitorToolResultPresenterOutput, M as builtInVisitorToolResultRegistry, O as defaultAgentRailTheme, P as defaultDarkAgentRailTheme, Q as normalizeAgentPlacement, U as presentVisitorToolResult } from './manifest-Cad-TQJw.cjs';
2
+ import { d as AgentIndexVersion, i as AgentPlacementConfig, c as AgentColorScheme, b as AgentBrandingConfig, P as VisitorToolResultRegistry, k as AgentRailState, l as AgentRailTheme, g as AgentInputResponse, x as AgentToolUiSurface, r as AgentToolResultJsonValue, F as FollowUpSuggestion, D as ConversationMessage, j as AgentRailPhase, V as VisitorBooking } from './manifest-RhudtqWJ.cjs';
3
+ export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, e as AgentInputOption, f as AgentInputRequest, m as AgentStructuredToolInput, q as AgentToolResult, s as AgentToolUiAction, t as AgentToolUiField, u as AgentToolUiFieldKind, v as AgentToolUiOption, w as AgentToolUiStep, y as AssistEdgeTab, z as AssistTabSide, B as AssistTabVariant, C as Citation, E as DEFAULT_AGENT_PLACEMENT, J as JourneyContext, R as ResolvedVisitorToolResultPresentation, T as ToolStep, G as ToolStepState, H as VisitorBookingResultPresentation, I as VisitorToolInputResultPresentation, K as VisitorToolResultLink, L as VisitorToolResultPresentation, M as VisitorToolResultPresenter, O as VisitorToolResultPresenterOutput, Q as builtInVisitorToolResultRegistry, S as defaultAgentRailTheme, U as defaultDarkAgentRailTheme, W as formatAgentStructuredToolInput, X as normalizeAgentPlacement, Z as presentVisitorToolResult } from './manifest-RhudtqWJ.cjs';
4
4
 
5
5
  type AgentWidgetProps = {
6
6
  indexId: string;
@@ -43,7 +43,7 @@ type AgentRailProps = {
43
43
  onInputResponse?: (response: AgentInputResponse) => void;
44
44
  onToolInput?: (surface: AgentToolUiSurface, values: Record<string, AgentToolResultJsonValue>) => void;
45
45
  };
46
- declare function AgentRail({ state, theme, colorScheme, brandLabel, brandLogoUrl, poweredByLabel, composerPlaceholder, mobileFullscreen, expanded, onCollapse, onClose, onExpandToggle, onReset, onRetry, onSubmit, onFollowUpSelect, onBook, onInputResponse, }: AgentRailProps): react.JSX.Element;
46
+ declare function AgentRail({ state, theme, colorScheme, brandLabel, brandLogoUrl, poweredByLabel, composerPlaceholder, mobileFullscreen, expanded, onCollapse, onClose, onExpandToggle, onReset, onRetry, onSubmit, onFollowUpSelect, onBook, onInputResponse, onToolInput, }: AgentRailProps): react.JSX.Element;
47
47
 
48
48
  type UseAgentChatOptions = {
49
49
  customerId?: string;
package/dist/react.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { b as AgentIndexVersion, g as AgentPlacementConfig, a as AgentColorScheme, A as AgentBrandingConfig, L as VisitorToolResultRegistry, i as AgentRailState, j as AgentRailTheme, e as AgentInputResponse, u as AgentToolUiSurface, o as AgentToolResultJsonValue, F as FollowUpSuggestion, y as ConversationMessage, h as AgentRailPhase, V as VisitorBooking } from './manifest-Cad-TQJw.js';
3
- export { c as AgentInputOption, d as AgentInputRequest, n as AgentToolResult, p as AgentToolUiAction, q as AgentToolUiField, r as AgentToolUiFieldKind, s as AgentToolUiOption, t as AgentToolUiStep, v as AssistEdgeTab, w as AssistTabSide, x as AssistTabVariant, C as Citation, D as DEFAULT_AGENT_PLACEMENT, J as JourneyContext, R as ResolvedVisitorToolResultPresentation, T as ToolStep, z as ToolStepState, B as VisitorBookingResultPresentation, E as VisitorToolInputResultPresentation, G as VisitorToolResultLink, H as VisitorToolResultPresentation, I as VisitorToolResultPresenter, K as VisitorToolResultPresenterOutput, M as builtInVisitorToolResultRegistry, O as defaultAgentRailTheme, P as defaultDarkAgentRailTheme, Q as normalizeAgentPlacement, U as presentVisitorToolResult } from './manifest-Cad-TQJw.js';
2
+ import { d as AgentIndexVersion, i as AgentPlacementConfig, c as AgentColorScheme, b as AgentBrandingConfig, P as VisitorToolResultRegistry, k as AgentRailState, l as AgentRailTheme, g as AgentInputResponse, x as AgentToolUiSurface, r as AgentToolResultJsonValue, F as FollowUpSuggestion, D as ConversationMessage, j as AgentRailPhase, V as VisitorBooking } from './manifest-RhudtqWJ.js';
3
+ export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, e as AgentInputOption, f as AgentInputRequest, m as AgentStructuredToolInput, q as AgentToolResult, s as AgentToolUiAction, t as AgentToolUiField, u as AgentToolUiFieldKind, v as AgentToolUiOption, w as AgentToolUiStep, y as AssistEdgeTab, z as AssistTabSide, B as AssistTabVariant, C as Citation, E as DEFAULT_AGENT_PLACEMENT, J as JourneyContext, R as ResolvedVisitorToolResultPresentation, T as ToolStep, G as ToolStepState, H as VisitorBookingResultPresentation, I as VisitorToolInputResultPresentation, K as VisitorToolResultLink, L as VisitorToolResultPresentation, M as VisitorToolResultPresenter, O as VisitorToolResultPresenterOutput, Q as builtInVisitorToolResultRegistry, S as defaultAgentRailTheme, U as defaultDarkAgentRailTheme, W as formatAgentStructuredToolInput, X as normalizeAgentPlacement, Z as presentVisitorToolResult } from './manifest-RhudtqWJ.js';
4
4
 
5
5
  type AgentWidgetProps = {
6
6
  indexId: string;
@@ -43,7 +43,7 @@ type AgentRailProps = {
43
43
  onInputResponse?: (response: AgentInputResponse) => void;
44
44
  onToolInput?: (surface: AgentToolUiSurface, values: Record<string, AgentToolResultJsonValue>) => void;
45
45
  };
46
- declare function AgentRail({ state, theme, colorScheme, brandLabel, brandLogoUrl, poweredByLabel, composerPlaceholder, mobileFullscreen, expanded, onCollapse, onClose, onExpandToggle, onReset, onRetry, onSubmit, onFollowUpSelect, onBook, onInputResponse, }: AgentRailProps): react.JSX.Element;
46
+ declare function AgentRail({ state, theme, colorScheme, brandLabel, brandLogoUrl, poweredByLabel, composerPlaceholder, mobileFullscreen, expanded, onCollapse, onClose, onExpandToggle, onReset, onRetry, onSubmit, onFollowUpSelect, onBook, onInputResponse, onToolInput, }: AgentRailProps): react.JSX.Element;
47
47
 
48
48
  type UseAgentChatOptions = {
49
49
  customerId?: string;
package/dist/react.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import "./react.css";
2
2
  import {
3
+ AGENT_STRUCTURED_TOOL_INPUT_HEADER,
4
+ AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION,
3
5
  AgentRail,
4
6
  AgentWidget,
5
7
  AssistEdgeTab,
@@ -8,13 +10,16 @@ import {
8
10
  createIdleSuggestions,
9
11
  defaultAgentRailTheme,
10
12
  defaultDarkAgentRailTheme,
13
+ formatAgentStructuredToolInput,
11
14
  hasVisitorMessages,
12
15
  isAgentBusy,
13
16
  normalizeAgentPlacement,
14
17
  presentVisitorToolResult,
15
18
  useAgentChat
16
- } from "./chunk-U2TIUZJM.js";
19
+ } from "./chunk-UR5QZZ2F.js";
17
20
  export {
21
+ AGENT_STRUCTURED_TOOL_INPUT_HEADER,
22
+ AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION,
18
23
  AgentRail,
19
24
  AgentWidget,
20
25
  AssistEdgeTab,
@@ -23,6 +28,7 @@ export {
23
28
  createIdleSuggestions,
24
29
  defaultAgentRailTheme,
25
30
  defaultDarkAgentRailTheme,
31
+ formatAgentStructuredToolInput,
26
32
  hasVisitorMessages,
27
33
  isAgentBusy,
28
34
  normalizeAgentPlacement,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webless/agent",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Webless Agent SDK — Eve runtime client, React UI, and embed bundle.",
5
5
  "type": "module",
6
6
  "license": "MIT",