@fencyai/react 0.1.116 → 0.1.118

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.
@@ -6,5 +6,6 @@ export interface AgentTaskProgressVerboseProps {
6
6
  clientToken: string;
7
7
  }>;
8
8
  loadingText?: string;
9
+ onSourceClick?: (memoryId: string) => void;
9
10
  }
10
11
  export declare const AgentTaskProgressVerbose: React.FC<AgentTaskProgressVerboseProps>;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export interface StreamingChatCompletionTextProps {
3
+ text: string;
4
+ }
5
+ export declare const StreamingChatCompletionText: React.FC<StreamingChatCompletionTextProps>;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export interface StreamingMemoryTypeChatCompletionFindSourcesProps {
3
+ data: {
4
+ type: 'StreamingMemoryTypeChatCompletionFindSources';
5
+ };
6
+ isLatest?: boolean;
7
+ durationSeconds?: number;
8
+ }
9
+ export declare const StreamingMemoryTypeChatCompletionFindSources: React.FC<StreamingMemoryTypeChatCompletionFindSourcesProps>;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ export interface StreamingMemoryTypeChatCompletionSearchProps {
3
+ data: {
4
+ type: 'StreamingMemoryTypeChatCompletionSearch';
5
+ queryDescription: string;
6
+ };
7
+ isLatest?: boolean;
8
+ durationSeconds?: number;
9
+ }
10
+ export declare const StreamingMemoryTypeChatCompletionSearch: React.FC<StreamingMemoryTypeChatCompletionSearchProps>;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ export interface StreamingMemoryTypeChatCompletionSourcesResultProps {
3
+ data: {
4
+ type: 'StreamingMemoryTypeChatCompletionSourcesResult';
5
+ sources: {
6
+ memoryId: string;
7
+ pageNumbers: number[];
8
+ }[];
9
+ };
10
+ onSourceClick?: (memoryId: string) => void;
11
+ }
12
+ export declare const StreamingMemoryTypeChatCompletionSourcesResult: React.FC<StreamingMemoryTypeChatCompletionSourcesResultProps>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export interface StructuredChatCompletionJsonProps {
3
+ data: {
4
+ type: 'StructuredChatCompletionJson';
5
+ json: any;
6
+ };
7
+ }
8
+ export declare const StructuredChatCompletionJson: React.FC<StructuredChatCompletionJsonProps>;
package/dist/index.d.ts CHANGED
@@ -9,7 +9,11 @@ export { AgentTaskProgressVerbose } from './agent-task/AgentTaskProgressVerbose'
9
9
  export { GenericAgentTaskExecution } from './agent-task/data-types/GenericAgentTaskExecution';
10
10
  export { GenericAgentTaskReasoning } from './agent-task/data-types/GenericAgentTaskReasoning';
11
11
  export { GenericAgentTaskFinalResponse } from './agent-task/data-types/GenericAgentTaskFinalResponse';
12
- export { StreamingChatCompletionResponse } from './agent-task/data-types/StreamingChatCompletionResponse';
12
+ export { StreamingChatCompletionText } from './agent-task/data-types/StreamingChatCompletionText';
13
+ export { StructuredChatCompletionJson } from './agent-task/data-types/StructuredChatCompletionJson';
14
+ export { StreamingMemoryTypeChatCompletionSearch } from './agent-task/data-types/StreamingMemoryTypeChatCompletionSearch';
15
+ export { StreamingMemoryTypeChatCompletionFindSources } from './agent-task/data-types/StreamingMemoryTypeChatCompletionFindSources';
16
+ export { StreamingMemoryTypeChatCompletionSourcesResult } from './agent-task/data-types/StreamingMemoryTypeChatCompletionSourcesResult';
13
17
  export { ShimmeringText } from './agent-task/ShimmeringText';
14
18
  export { FencyProvider } from './provider/FencyProvider';
15
19
  export * from './types';