@agentiffai/design 1.3.17 → 1.3.19
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/{Window-pJb3Z5_P.d.cts → Window-DyRP81dS.d.cts} +42 -3
- package/dist/{Window-pJb3Z5_P.d.ts → Window-DyRP81dS.d.ts} +42 -3
- package/dist/copilotkit/index.cjs +424 -179
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.d.cts +4 -30
- package/dist/copilotkit/index.d.ts +4 -30
- package/dist/copilotkit/index.js +351 -109
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/index.cjs +1552 -1348
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1925 -1724
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +18 -2
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +8 -0
- package/dist/layout/index.d.ts +8 -0
- package/dist/layout/index.js +18 -2
- package/dist/layout/index.js.map +1 -1
- package/dist/workflow/index.cjs +12 -6
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.d.cts +4 -0
- package/dist/workflow/index.d.ts +4 -0
- package/dist/workflow/index.js +12 -6
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { R as ReportIssueCallback } from '../Window-DyRP81dS.cjs';
|
|
2
|
+
export { A as Action, c as ActionVariant, d as Actions, a as ActionsLayout, b as ActionsProps, E as AdapterErrorCategory, f as AgentState, e as AgentStateProps, t as AssistantMessage, g as AssistantMessageAdapter, o as AssistantMessageProps, k as Button, B as ButtonProps, i as ButtonSize, j as ButtonVariant, u as FileAttachment, p as FileAttachmentProps, l as Footer, F as FooterProps, m as Header, H as HeaderProps, n as Input, I as InputProps, M as Message, v as Messages, w as MessagesList, x as MessagesListContainer, y as MessagesListContent, q as MessagesListProps, s as MessagesProps, D as Response, C as ResponseProps, G as StreamErrorMessage, S as StreamErrorMessageProps, N as StreamStatusIndicator, L as StreamStatusIndicatorProps, K as StreamingText, J as StreamingTextProps, P as Suggestions, O as SuggestionsProps, z as UserMessage, U as UserMessageProps, Q as Window, W as WindowProps, h as clearToolCalls, r as registerToolCall } from '../Window-DyRP81dS.cjs';
|
|
3
|
+
import { RenderMessageProps, InputProps, UserMessageProps } from '@copilotkit/react-ui';
|
|
3
4
|
import * as React$1 from 'react';
|
|
4
5
|
import React__default, { ReactNode } from 'react';
|
|
5
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -26,33 +27,6 @@ import 'styled-components/dist/types';
|
|
|
26
27
|
*/
|
|
27
28
|
declare const ActionExecutionAdapter: React__default.FC<RenderMessageProps>;
|
|
28
29
|
|
|
29
|
-
/**
|
|
30
|
-
* Adapter component that bridges custom AssistantMessage with CopilotKit's expected interface
|
|
31
|
-
*
|
|
32
|
-
* This adapter:
|
|
33
|
-
* 1. Converts CopilotKit's AssistantMessageProps to our custom component props
|
|
34
|
-
* 2. Handles loading states by showing AssistantThinking component
|
|
35
|
-
* 3. Extracts message content and renders with our styled component
|
|
36
|
-
* 4. Renders generativeUI (tool call renders) when present
|
|
37
|
-
* 5. Detects errors and provides "Report Issue" action button
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Error category types matching the mobile client's error system
|
|
42
|
-
*/
|
|
43
|
-
type ErrorCategory = 'Network' | 'Auth' | 'OAuth' | 'Workflow' | 'Unknown';
|
|
44
|
-
/**
|
|
45
|
-
* Callback for reporting issues from chat
|
|
46
|
-
*/
|
|
47
|
-
interface ReportIssueCallback {
|
|
48
|
-
(context: {
|
|
49
|
-
errorCategory?: ErrorCategory;
|
|
50
|
-
correlationId?: string;
|
|
51
|
-
chatSnippet?: string;
|
|
52
|
-
}): void;
|
|
53
|
-
}
|
|
54
|
-
declare const AssistantMessageAdapter: React__default.NamedExoticComponent<AssistantMessageProps>;
|
|
55
|
-
|
|
56
30
|
/**
|
|
57
31
|
* Adapter component that bridges custom Input with CopilotKit's expected interface
|
|
58
32
|
*
|
|
@@ -228,4 +202,4 @@ declare namespace CustomCopilotSidebar {
|
|
|
228
202
|
var displayName: string;
|
|
229
203
|
}
|
|
230
204
|
|
|
231
|
-
export { ActionExecutionAdapter, type
|
|
205
|
+
export { ActionExecutionAdapter, type CopilotErrorEvent, CustomCopilotSidebar, type CustomCopilotSidebarProps, InputAdapter, CustomCopilotSidebar$1 as IntegratedSidebar, type CustomCopilotSidebarProps$1 as IntegratedSidebarProps, ReportIssueCallback, UserMessageAdapter };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { R as ReportIssueCallback } from '../Window-DyRP81dS.js';
|
|
2
|
+
export { A as Action, c as ActionVariant, d as Actions, a as ActionsLayout, b as ActionsProps, E as AdapterErrorCategory, f as AgentState, e as AgentStateProps, t as AssistantMessage, g as AssistantMessageAdapter, o as AssistantMessageProps, k as Button, B as ButtonProps, i as ButtonSize, j as ButtonVariant, u as FileAttachment, p as FileAttachmentProps, l as Footer, F as FooterProps, m as Header, H as HeaderProps, n as Input, I as InputProps, M as Message, v as Messages, w as MessagesList, x as MessagesListContainer, y as MessagesListContent, q as MessagesListProps, s as MessagesProps, D as Response, C as ResponseProps, G as StreamErrorMessage, S as StreamErrorMessageProps, N as StreamStatusIndicator, L as StreamStatusIndicatorProps, K as StreamingText, J as StreamingTextProps, P as Suggestions, O as SuggestionsProps, z as UserMessage, U as UserMessageProps, Q as Window, W as WindowProps, h as clearToolCalls, r as registerToolCall } from '../Window-DyRP81dS.js';
|
|
3
|
+
import { RenderMessageProps, InputProps, UserMessageProps } from '@copilotkit/react-ui';
|
|
3
4
|
import * as React$1 from 'react';
|
|
4
5
|
import React__default, { ReactNode } from 'react';
|
|
5
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -26,33 +27,6 @@ import 'styled-components/dist/types';
|
|
|
26
27
|
*/
|
|
27
28
|
declare const ActionExecutionAdapter: React__default.FC<RenderMessageProps>;
|
|
28
29
|
|
|
29
|
-
/**
|
|
30
|
-
* Adapter component that bridges custom AssistantMessage with CopilotKit's expected interface
|
|
31
|
-
*
|
|
32
|
-
* This adapter:
|
|
33
|
-
* 1. Converts CopilotKit's AssistantMessageProps to our custom component props
|
|
34
|
-
* 2. Handles loading states by showing AssistantThinking component
|
|
35
|
-
* 3. Extracts message content and renders with our styled component
|
|
36
|
-
* 4. Renders generativeUI (tool call renders) when present
|
|
37
|
-
* 5. Detects errors and provides "Report Issue" action button
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Error category types matching the mobile client's error system
|
|
42
|
-
*/
|
|
43
|
-
type ErrorCategory = 'Network' | 'Auth' | 'OAuth' | 'Workflow' | 'Unknown';
|
|
44
|
-
/**
|
|
45
|
-
* Callback for reporting issues from chat
|
|
46
|
-
*/
|
|
47
|
-
interface ReportIssueCallback {
|
|
48
|
-
(context: {
|
|
49
|
-
errorCategory?: ErrorCategory;
|
|
50
|
-
correlationId?: string;
|
|
51
|
-
chatSnippet?: string;
|
|
52
|
-
}): void;
|
|
53
|
-
}
|
|
54
|
-
declare const AssistantMessageAdapter: React__default.NamedExoticComponent<AssistantMessageProps>;
|
|
55
|
-
|
|
56
30
|
/**
|
|
57
31
|
* Adapter component that bridges custom Input with CopilotKit's expected interface
|
|
58
32
|
*
|
|
@@ -228,4 +202,4 @@ declare namespace CustomCopilotSidebar {
|
|
|
228
202
|
var displayName: string;
|
|
229
203
|
}
|
|
230
204
|
|
|
231
|
-
export { ActionExecutionAdapter, type
|
|
205
|
+
export { ActionExecutionAdapter, type CopilotErrorEvent, CustomCopilotSidebar, type CustomCopilotSidebarProps, InputAdapter, CustomCopilotSidebar$1 as IntegratedSidebar, type CustomCopilotSidebarProps$1 as IntegratedSidebarProps, ReportIssueCallback, UserMessageAdapter };
|