@zero-library/chat-copilot 3.1.16 → 3.1.17

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/index.d.mts CHANGED
@@ -1773,6 +1773,7 @@ interface DownloadFileReq {
1773
1773
  path?: string;
1774
1774
  index?: boolean;
1775
1775
  agentId?: string;
1776
+ isPreview?: boolean;
1776
1777
  }
1777
1778
 
1778
1779
  /**
@@ -1821,4 +1822,4 @@ declare const getFileUrl: (params: DownloadFileReq, baseUrl?: string, url?: stri
1821
1822
 
1822
1823
  declare const _default: react.ForwardRefExoticComponent<ChatProps & react.RefAttributes<ChatHandle>>;
1823
1824
 
1824
- export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps, getFileIcon, getFileUrl };
1825
+ export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps, WorkspaceTypeEnum, getFileIcon, getFileUrl };
package/dist/index.d.ts CHANGED
@@ -1773,6 +1773,7 @@ interface DownloadFileReq {
1773
1773
  path?: string;
1774
1774
  index?: boolean;
1775
1775
  agentId?: string;
1776
+ isPreview?: boolean;
1776
1777
  }
1777
1778
 
1778
1779
  /**
@@ -1821,4 +1822,4 @@ declare const getFileUrl: (params: DownloadFileReq, baseUrl?: string, url?: stri
1821
1822
 
1822
1823
  declare const _default: react.ForwardRefExoticComponent<ChatProps & react.RefAttributes<ChatHandle>>;
1823
1824
 
1824
- export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps, getFileIcon, getFileUrl };
1825
+ export { type AgentConfig, type AgentInfo, type AgentSpec, _default$1 as Attachments, type AttachmentsProps, type ChatConfig, _default as ChatCopilot, type ChatHandle, type ChatHooks, type ChatLayout, type ChatParams, type ChatProps, _default$2 as ChatSender, type ChatServices, type ConversationMessage, type ConversationMessageSend, type ConversationStrategy, type CustomButtonProps, type FileTextType, type FileUploadConfig, type FileUrlType, type InputFile, type MessageRenderProps, type ReferencesType, type RequestInstance, type SenderProps, WorkspaceTypeEnum, getFileIcon, getFileUrl };
package/dist/index.esm.js CHANGED
@@ -237,6 +237,15 @@ var index_module_default = {
237
237
  };
238
238
 
239
239
  // src/core/constants.ts
240
+ var WorkspaceTypeEnum = /* @__PURE__ */ ((WorkspaceTypeEnum2) => {
241
+ WorkspaceTypeEnum2["GLOBAL"] = "global";
242
+ WorkspaceTypeEnum2["SKILL"] = "skill";
243
+ WorkspaceTypeEnum2["CONVERSATION"] = "conversation";
244
+ WorkspaceTypeEnum2["KNOWLEDGE"] = "knowledge";
245
+ WorkspaceTypeEnum2["PROJECT"] = "project";
246
+ WorkspaceTypeEnum2["DEV_SKILL"] = "devSkill";
247
+ return WorkspaceTypeEnum2;
248
+ })(WorkspaceTypeEnum || {});
240
249
  var CONV_MODE = {
241
250
  PROD: 1};
242
251
  var TOKEN_KEY = "NS-TOKEN";
@@ -6668,6 +6677,6 @@ var layouts_default = forwardRef(({ theme: theme5, params, hooks, layout, config
6668
6677
  ] }) }) }) });
6669
6678
  });
6670
6679
 
6671
- export { Attachments_default as Attachments, layouts_default as ChatCopilot, ChatSender_default as ChatSender, getFileIcon, getFileUrl };
6680
+ export { Attachments_default as Attachments, layouts_default as ChatCopilot, ChatSender_default as ChatSender, WorkspaceTypeEnum, getFileIcon, getFileUrl };
6672
6681
  //# sourceMappingURL=index.esm.js.map
6673
6682
  //# sourceMappingURL=index.esm.js.map