@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/{chunk-KUNT2X4I.js → chunk-RUZGX75D.js} +5 -3
- package/dist/{chunk-KUNT2X4I.js.map → chunk-RUZGX75D.js.map} +1 -1
- package/dist/embed.cjs +14 -3
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.css +36 -0
- package/dist/embed.css.map +1 -1
- package/dist/embed.d.cts +2 -2
- package/dist/embed.d.ts +2 -2
- package/dist/embed.js +10 -2
- package/dist/embed.js.map +1 -1
- package/dist/{panel-controller-CDWodIJl.d.cts → panel-controller-csugUSgZ.d.cts} +5 -1
- package/dist/{panel-controller-CDWodIJl.d.ts → panel-controller-csugUSgZ.d.ts} +5 -1
- package/dist/react.cjs +4 -2
- package/dist/react.cjs.map +1 -1
- package/dist/react.css +36 -0
- package/dist/react.css.map +1 -1
- package/dist/react.d.cts +4 -3
- package/dist/react.d.ts +4 -3
- package/dist/react.js +1 -1
- package/package.json +1 -1
package/dist/react.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { f as AgentIndexVersion,
|
|
3
|
-
export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, g as AgentInputOption, h as AgentInputRequest,
|
|
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,
|
|
3
|
-
export { A as AGENT_STRUCTURED_TOOL_INPUT_HEADER, a as AGENT_STRUCTURED_TOOL_INPUT_SCHEMA_VERSION, g as AgentInputOption, h as AgentInputRequest,
|
|
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