@infinilabs/chat-message 0.0.4 → 0.0.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/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "dist",
9
9
  "README.md"
10
10
  ],
11
- "version": "0.0.4",
11
+ "version": "0.0.6",
12
12
  "license": "MIT",
13
13
  "type": "module",
14
14
  "main": "dist/ChatMessage.cjs",
@@ -34,12 +34,15 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@ant-design/x-markdown": "^2.1.3",
37
+ "@infinilabs/attachments": "^0.0.1",
37
38
  "@tailwindcss/vite": "^4.1.18",
38
39
  "ahooks": "^3.9.6",
40
+ "antd": "^6.1.4",
39
41
  "clsx": "^2.1.1",
40
42
  "i18next": "^25.7.3",
41
43
  "lucide-react": "^0.461.0",
42
44
  "mermaid": "^11.6.0",
45
+ "motion": "^12.25.0",
43
46
  "react-markdown": "^9.1.0",
44
47
  "rehype-highlight": "^7.0.2",
45
48
  "rehype-katex": "^7.0.1",
@@ -68,5 +71,9 @@
68
71
  "vite": "^7.1.2",
69
72
  "vite-plugin-css-injected-by-js": "^3.5.1",
70
73
  "vite-plugin-dts": "^4.5.4"
74
+ },
75
+ "repository": {
76
+ "type": "git",
77
+ "url": "https://github.com/infinilabs/ci"
71
78
  }
72
79
  }
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- import { UploadAttachments } from '../../stores/chatStore';
3
- declare const AttachmentList: () => import("react/jsx-runtime").JSX.Element;
4
- interface AttachmentItemProps extends UploadAttachments {
5
- deletable?: boolean;
6
- onDelete?: (id: string) => void;
7
- }
8
- export declare const AttachmentItem: FC<AttachmentItemProps>;
9
- export default AttachmentList;
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- interface FileIconProps {
3
- path: string;
4
- className?: string;
5
- }
6
- declare const FileIcon: FC<FileIconProps>;
7
- export default FileIcon;
@@ -1,8 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- interface Tooltip2Props {
3
- content: string;
4
- children: ReactNode;
5
- className?: string;
6
- }
7
- declare const Tooltip2: FC<Tooltip2Props>;
8
- export default Tooltip2;
@@ -1,5 +0,0 @@
1
- interface AppState {
2
- addError: (error: string) => void;
3
- }
4
- export declare const useAppStore: import('zustand').UseBoundStore<import('zustand').StoreApi<AppState>>;
5
- export {};
@@ -1,20 +0,0 @@
1
- export interface UploadAttachments {
2
- id: string;
3
- name: string;
4
- path: string;
5
- size: number;
6
- uploading?: boolean;
7
- uploaded?: boolean;
8
- uploadFailed?: boolean;
9
- failedMessage?: string;
10
- attachmentId?: string;
11
- [key: string]: any;
12
- }
13
- interface ChatState {
14
- synthesizeItem: any;
15
- setSynthesizeItem: (item: any) => void;
16
- uploadAttachments: UploadAttachments[];
17
- setUploadAttachments: (items: UploadAttachments[]) => void;
18
- }
19
- export declare const useChatStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ChatState>>;
20
- export {};
@@ -1,8 +0,0 @@
1
- interface ConnectState {
2
- currentAssistant: any;
3
- assistantList: any[];
4
- currentService: any;
5
- setAssistant: (assistant: any) => void;
6
- }
7
- export declare const useConnectStore: import('zustand').UseBoundStore<import('zustand').StoreApi<ConnectState>>;
8
- export {};
@@ -1,9 +0,0 @@
1
- declare const platformAdapter: {
2
- commands: (command: string, args: any) => Promise<{
3
- hits: {
4
- hits: never[];
5
- };
6
- }>;
7
- invokeBackend: <T>(command: string, args: any) => Promise<T | undefined>;
8
- };
9
- export default platformAdapter;