@nocobase/plugin-ai 2.1.0-alpha.13 → 2.1.0-alpha.15

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.
Files changed (104) hide show
  1. package/dist/ai/ai-employees/atlas/index.d.ts +10 -0
  2. package/dist/ai/ai-employees/atlas/index.js +56 -0
  3. package/dist/ai/ai-employees/atlas/prompt.md +84 -0
  4. package/dist/ai/ai-employees/vera.js +1 -1
  5. package/dist/ai/skills/business-analysis-report/SKILLS.md +84 -0
  6. package/dist/ai/tools/businessReportGenerator.d.ts +10 -0
  7. package/dist/ai/tools/businessReportGenerator.js +83 -0
  8. package/dist/ai/tools/chartGenerator.js +1 -0
  9. package/dist/ai/tools/getSkill.js +1 -1
  10. package/dist/ai/tools/sub-agents/dispatch-sub-agent-task.d.ts +10 -0
  11. package/dist/ai/tools/sub-agents/dispatch-sub-agent-task.js +108 -0
  12. package/dist/ai/tools/sub-agents/get-ai-employee.d.ts +10 -0
  13. package/dist/ai/tools/sub-agents/get-ai-employee.js +67 -0
  14. package/dist/ai/tools/sub-agents/list-ai-employees.d.ts +10 -0
  15. package/dist/ai/tools/sub-agents/list-ai-employees.js +64 -0
  16. package/dist/ai/tools/sub-agents/shared.d.ts +33 -0
  17. package/dist/ai/tools/sub-agents/shared.js +169 -0
  18. package/dist/ai/tools/subAgentWebSearch.d.ts +10 -0
  19. package/dist/ai/tools/subAgentWebSearch.js +103 -0
  20. package/dist/ai/tools/suggestions.js +2 -2
  21. package/dist/client/0e94d90f0134df30.js +10 -0
  22. package/dist/client/{4f9117811ffc7ab3.js → 1c3ef55a6d63c9a3.js} +1 -1
  23. package/dist/client/55d67b74f02b8d74.js +10 -0
  24. package/dist/client/{6dc8c9b641452067.js → 5d5c118d11e91913.js} +1 -1
  25. package/dist/client/748fbb87c1013c6e.js +10 -0
  26. package/dist/client/8e82080c5e8ccfb7.js +10 -0
  27. package/dist/client/a8d6d81fb88f1a8e.js +10 -0
  28. package/dist/client/ai-employees/built-in/utils.d.ts +1 -0
  29. package/dist/client/ai-employees/business-report/tools/index.d.ts +10 -0
  30. package/dist/client/ai-employees/business-report/ui/BusinessReportCard.d.ts +12 -0
  31. package/dist/client/ai-employees/business-report/ui/BusinessReportModal.d.ts +17 -0
  32. package/dist/client/ai-employees/business-report/ui/report-utils.d.ts +36 -0
  33. package/dist/client/ai-employees/chatbox/AIEmployeeSwitch.d.ts +0 -1
  34. package/dist/client/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +5 -3
  35. package/dist/client/ai-employees/chatbox/markdown/ECharts.d.ts +1 -2
  36. package/dist/client/ai-employees/chatbox/markdown/Markdown.d.ts +1 -1
  37. package/dist/client/ai-employees/chatbox/roles.d.ts +1 -0
  38. package/dist/client/ai-employees/chatbox/stores/chat-messages.d.ts +8 -0
  39. package/dist/client/ai-employees/chatbox/utils.d.ts +15 -1
  40. package/dist/client/ai-employees/sub-agents/tools/index.d.ts +10 -0
  41. package/dist/client/ai-employees/sub-agents/ui/SubAgentDispatchCard.d.ts +21 -0
  42. package/dist/client/ai-employees/types.d.ts +19 -0
  43. package/dist/client/c065565ccbb41f99.js +10 -0
  44. package/dist/client/d5e9663991c30eed.js +10 -0
  45. package/dist/client/f87cff5213f94856.js +10 -0
  46. package/dist/client/f8c075896e8b9c0b.js +10 -0
  47. package/dist/client/fd4e5dcaf24052c1.js +10 -0
  48. package/dist/client/index.js +7 -7
  49. package/dist/client/manager/ai-manager.d.ts +4 -23
  50. package/dist/externalVersion.js +17 -15
  51. package/dist/locale/en-US.json +30 -1
  52. package/dist/locale/zh-CN.json +30 -1
  53. package/dist/node_modules/fast-glob/package.json +1 -1
  54. package/dist/node_modules/flexsearch/package.json +1 -1
  55. package/dist/node_modules/fs-extra/package.json +1 -1
  56. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  57. package/dist/node_modules/openai/package.json +1 -1
  58. package/dist/node_modules/zod/package.json +1 -1
  59. package/dist/server/ai-employees/ai-conversations.d.ts +64 -0
  60. package/dist/server/ai-employees/ai-conversations.js +285 -0
  61. package/dist/server/ai-employees/ai-employee.d.ts +88 -14
  62. package/dist/server/ai-employees/ai-employee.js +335 -200
  63. package/dist/server/ai-employees/middleware/conversation.d.ts +2 -0
  64. package/dist/server/ai-employees/middleware/conversation.js +38 -5
  65. package/dist/server/ai-employees/middleware/tools.js +37 -10
  66. package/dist/server/ai-employees/prompts.d.ts +11 -1
  67. package/dist/server/ai-employees/prompts.js +29 -2
  68. package/dist/server/ai-employees/sub-agents/dispatcher.d.ts +36 -0
  69. package/dist/server/ai-employees/sub-agents/dispatcher.js +225 -0
  70. package/dist/server/ai-employees/sub-agents/index.d.ts +9 -0
  71. package/dist/server/ai-employees/sub-agents/index.js +36 -0
  72. package/dist/server/ai-employees/utils.js +1 -1
  73. package/dist/server/collections/ai-conversations.js +6 -0
  74. package/dist/server/llm-providers/anthropic.d.ts +1 -0
  75. package/dist/server/llm-providers/anthropic.js +2 -1
  76. package/dist/server/llm-providers/dashscope.d.ts +3 -0
  77. package/dist/server/llm-providers/dashscope.js +13 -1
  78. package/dist/server/llm-providers/deepseek.d.ts +1 -0
  79. package/dist/server/llm-providers/deepseek.js +5 -2
  80. package/dist/server/llm-providers/google-genai.d.ts +1 -0
  81. package/dist/server/llm-providers/google-genai.js +2 -1
  82. package/dist/server/llm-providers/kimi/provider.d.ts +1 -0
  83. package/dist/server/llm-providers/openai/responses.d.ts +1 -0
  84. package/dist/server/llm-providers/openai/responses.js +2 -1
  85. package/dist/server/llm-providers/provider.d.ts +1 -10
  86. package/dist/server/llm-providers/provider.js +3 -34
  87. package/dist/server/manager/ai-manager.d.ts +10 -0
  88. package/dist/server/manager/ai-manager.js +32 -0
  89. package/dist/server/migrations/20260319000000-add-ai-conversations-from.d.ts +14 -0
  90. package/dist/server/migrations/20260319000000-add-ai-conversations-from.js +63 -0
  91. package/dist/server/plugin.d.ts +4 -0
  92. package/dist/server/plugin.js +4 -0
  93. package/dist/server/resource/aiConversations.d.ts +3 -3
  94. package/dist/server/resource/aiConversations.js +125 -159
  95. package/dist/server/types/ai-chat-conversation.type.d.ts +8 -2
  96. package/dist/server/types/ai-message.type.d.ts +7 -0
  97. package/dist/server/utils.d.ts +3 -0
  98. package/dist/server/utils.js +28 -1
  99. package/package.json +4 -2
  100. package/dist/client/27539a4356faebb1.js +0 -10
  101. package/dist/client/39492c2121f4c722.js +0 -10
  102. package/dist/client/53190ab4290ef9d5.js +0 -10
  103. package/dist/client/9c00efb8eb0b4d69.js +0 -10
  104. package/dist/client/d4e2ed9fa44a82b2.js +0 -10
@@ -7,8 +7,8 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  import { ComponentType } from 'react';
10
- import { ToolCall, WorkContextOptions } from '../ai-employees/types';
11
- import { Application } from '@nocobase/client';
10
+ import { WorkContextOptions } from '../ai-employees/types';
11
+ import { ToolModalProps, ToolsOptions } from '@nocobase/client';
12
12
  export type LLMProviderOptions = {
13
13
  components: {
14
14
  ProviderSettingsForm?: ComponentType;
@@ -19,27 +19,8 @@ export type LLMProviderOptions = {
19
19
  };
20
20
  formatModelLabel?: (id: string) => string;
21
21
  };
22
- export type ToolOptions = {
23
- ui?: {
24
- card?: ComponentType<{
25
- messageId: string;
26
- tool: ToolCall<unknown>;
27
- }>;
28
- modal?: {
29
- title?: string;
30
- okText?: string;
31
- useOnOk?: () => {
32
- onOk: () => void | Promise<void>;
33
- };
34
- Component?: ComponentType<{
35
- tool: ToolCall<unknown>;
36
- saveToolArgs?: (args: unknown) => Promise<void>;
37
- }>;
38
- };
39
- };
40
- invoke?: (ctx: Application, params: any) => any | Promise<any>;
41
- useHooks?: () => ToolOptions;
42
- };
22
+ export type ToolOptions = ToolsOptions;
23
+ export type { ToolModalProps };
43
24
  export declare class AIManager {
44
25
  llmProviders: any;
45
26
  chatSettings: Map<string, {
@@ -8,21 +8,22 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/plugin-acl": "2.1.0-alpha.13",
12
- "@nocobase/plugin-workflow": "2.1.0-alpha.13",
13
- "@nocobase/client": "2.1.0-alpha.13",
14
- "@nocobase/utils": "2.1.0-alpha.13",
15
- "@nocobase/database": "2.1.0-alpha.13",
16
- "@nocobase/server": "2.1.0-alpha.13",
17
- "@nocobase/plugin-file-manager": "2.1.0-alpha.13",
11
+ "@nocobase/plugin-acl": "2.1.0-alpha.15",
12
+ "@nocobase/plugin-workflow": "2.1.0-alpha.15",
13
+ "@nocobase/client": "2.1.0-alpha.15",
14
+ "@nocobase/utils": "2.1.0-alpha.15",
15
+ "@nocobase/database": "2.1.0-alpha.15",
16
+ "@nocobase/server": "2.1.0-alpha.15",
17
+ "@nocobase/plugin-file-manager": "2.1.0-alpha.15",
18
18
  "axios": "1.7.7",
19
- "@nocobase/actions": "2.1.0-alpha.13",
20
- "@nocobase/ai": "2.1.0-alpha.13",
19
+ "@nocobase/actions": "2.1.0-alpha.15",
20
+ "@nocobase/ai": "2.1.0-alpha.15",
21
+ "langchain": "1.2.24",
21
22
  "react": "18.2.0",
22
23
  "antd": "5.24.2",
23
24
  "@formily/core": "2.3.7",
24
25
  "@formily/react": "2.3.7",
25
- "@nocobase/flow-engine": "2.1.0-alpha.13",
26
+ "@nocobase/flow-engine": "2.1.0-alpha.15",
26
27
  "@ant-design/icons": "5.6.1",
27
28
  "@formily/antd-v5": "1.2.3",
28
29
  "react-router-dom": "6.30.1",
@@ -30,7 +31,6 @@ module.exports = {
30
31
  "@formily/reactive": "2.3.7",
31
32
  "lodash": "4.17.21",
32
33
  "@langchain/core": "1.1.24",
33
- "langchain": "1.2.24",
34
34
  "@langchain/langgraph": "1.1.4",
35
35
  "@langchain/community": "1.1.15",
36
36
  "@langchain/anthropic": "1.3.17",
@@ -38,12 +38,14 @@ module.exports = {
38
38
  "@langchain/deepseek": "1.0.11",
39
39
  "@langchain/google-genai": "2.1.18",
40
40
  "@langchain/ollama": "1.2.2",
41
- "@nocobase/acl": "2.1.0-alpha.13",
42
- "@nocobase/resourcer": "2.1.0-alpha.13",
41
+ "@nocobase/acl": "2.1.0-alpha.15",
42
+ "@nocobase/resourcer": "2.1.0-alpha.15",
43
43
  "@emotion/css": "11.13.0",
44
+ "dayjs": "1.11.13",
44
45
  "react-i18next": "11.18.6",
45
- "@nocobase/plugin-data-source-manager": "2.1.0-alpha.13",
46
+ "@nocobase/plugin-data-source-manager": "2.1.0-alpha.15",
46
47
  "ahooks": "3.7.8",
47
48
  "@langchain/langgraph-checkpoint": "1.0.0",
48
- "@nocobase/data-source-manager": "2.1.0-alpha.13"
49
+ "@nocobase/data-source-manager": "2.1.0-alpha.15",
50
+ "react-dom": "18.2.0"
49
51
  };
@@ -55,10 +55,12 @@
55
55
  "Background": "Background",
56
56
  "Bio": "Bio",
57
57
  "Bio placeholder": "The introduction to the AI employee will inform human colleagues about its skills and how to use it. This information will be displayed on the employee’s profile. This will not be part of the prompt of this AI employee.",
58
+ "Business analysis report": "Business analysis report",
58
59
  "Call": "Call",
59
60
  "Allow use": "Allow use",
60
61
  "Cancel": "Cancel",
61
62
  "Chart generator": "Chart generator",
63
+ "Charts": "Charts",
62
64
  "Chat error warning": "Failed to send message. Please contact the administrator or try again later.",
63
65
  "Cite {{count}} pieces of information as references": "Cite {{count}} pieces of information as references",
64
66
  "Code history": "Code history",
@@ -87,8 +89,12 @@
87
89
  "Desc": "Desc",
88
90
  "Description": "Description",
89
91
  "Diagnose and fix the error": "Diagnose and fix the error",
92
+ "Download HTML": "Download HTML",
93
+ "Download Markdown": "Download Markdown",
90
94
  "Direction": "Direction",
91
95
  "Disable search": "Disable search",
96
+ "Switching to {{ nickname }}": "Switching to {{ nickname }}",
97
+ "{{ nickname }} has completed the work": "{{ nickname }} has completed the work",
92
98
  "Displays the AI employee’s assigned tasks on the profile when hovering over the button.": "Displays the AI employee’s assigned tasks on the profile when hovering over the button.",
93
99
  "Down": "Down",
94
100
  "Edit AI employee": "Edit AI employee",
@@ -120,6 +126,7 @@
120
126
  "Get models list failed, you can enter a model name manually.": "Get models list failed, you can enter a model name manually.",
121
127
  "Greeting message": "Greeting message",
122
128
  "Greeting message placeholder": "Opening message sent to the user when starting a new conversation.",
129
+ "HTML": "HTML",
123
130
  "Image": "Image",
124
131
  "Image (send via Base64)": "Image (send via Base64)",
125
132
  "Image (send via URL)": "Image (send via URL)",
@@ -136,6 +143,7 @@
136
143
  "Limit": "Limit",
137
144
  "Max completion tokens description": "An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.",
138
145
  "Max retries": "Max retries",
146
+ "Markdown": "Markdown",
139
147
  "Message": "Message",
140
148
  "Message content": "Message content",
141
149
  "Message type": "Message type",
@@ -148,7 +156,11 @@
148
156
  "New conversation": "New conversation",
149
157
  "New from template": "New from template",
150
158
  "Next": "Next",
159
+ "Invalid report definition": "Invalid report definition",
151
160
  "Oops! Something went wrong. Let me diagnose and fix it.": "Oops! Something went wrong. Let me diagnose and fix it.",
161
+ "Open the report to preview, export, or print it.": "Open the report to preview, export, or print it.",
162
+ "The report modal will update in real time as new content arrives.": "The report modal will update in real time as new content arrives.",
163
+ "Generated at": "Generated at",
152
164
  "Other tools": "Other tools",
153
165
  "Others": "Others",
154
166
  "Parameter description": "Parameter description",
@@ -164,11 +176,14 @@
164
176
  "Picking block": "Picking block",
165
177
  "Please choose an AI employee": "Please choose an AI employee",
166
178
  "Please select file objects.": "Please select file objects.",
179
+ "Popup blocked. Please allow popups and try again.": "Popup blocked. Please allow popups and try again.",
167
180
  "Position": "Position",
168
181
  "Position description": "A short label indicating the AI employee’s responsibility.",
169
182
  "Position placeholder": "e.g. Translator, etc.",
170
183
  "Presence penalty description": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.",
184
+ "Print PDF": "Print PDF",
171
185
  "Preview": "Preview",
186
+ "Preview and export": "Preview and export",
172
187
  "Previous": "Previous",
173
188
  "Processing complete!": "New data source created successfully!",
174
189
  "Profile": "Profile",
@@ -224,6 +239,7 @@
224
239
  "Use skills": "Use skills",
225
240
  "Use workflow as a tool": "Use workflow as a tool",
226
241
  "Web search": "Web search",
242
+ "Use web search to quickly find up-to-date information from the internet.": "Use web search to quickly find up-to-date information from the internet.",
227
243
  "Work context": "Work context",
228
244
  "Work with your AI crew": "Work with your AI crew",
229
245
  "Workflow caller": "Workflow caller",
@@ -288,6 +304,10 @@
288
304
  "ai.skills.frontendDeveloper.about": "Assists with writing and testing JavaScript code for NocoBase workflows and frontend components.",
289
305
  "ai.skills.documentSearch.title": "Document search",
290
306
  "ai.skills.documentSearch.about": "Search and read indexed documentation using keyword-based search and file browsing.",
307
+ "ai.skills.businessAnalysisReport.title": "Business analysis report",
308
+ "ai.skills.businessAnalysisReport.about": "Use the data-query workflow to analyze business data and produce stakeholder-facing reports with markdown and ECharts.",
309
+ "ai.tools.businessReportGenerator.title": "Business report generator",
310
+ "ai.tools.businessReportGenerator.about": "Generate business analysis reports in markdown with ECharts visualizations for preview and export.",
291
311
  "Recommended models": "Recommended models",
292
312
  "Select models": "Select models",
293
313
  "Manual input": "Manual input",
@@ -312,6 +332,8 @@
312
332
  "Load specific SKILLS": "Load specific SKILLS",
313
333
  "Loading content of the specific SKILLS": "Loading content of the specific SKILLS",
314
334
  "General skills": "General skills",
335
+ "Generating": "Generating",
336
+ "Generating business analysis report...": "Generating business analysis report...",
315
337
  "Employee-specific skills": "Employee-specific skills",
316
338
  "Data modeling expert": "Data modeling expert",
317
339
  "A data modeling expert who helps translate business scenarios into normalized database schemas with table declarations and relationship diagrams.": "A data modeling expert who helps translate business scenarios into normalized database schemas with table declarations and relationship diagrams.",
@@ -339,5 +361,12 @@
339
361
  "Hello, I'm Cole. I have access to the NocoBase knowledge base. Ask me anything about setting up or using the platform.": "Hello, I'm Cole. I have access to the NocoBase knowledge base. Ask me anything about setting up or using the platform.",
340
362
  "Frontend code engineer": "Frontend code engineer",
341
363
  "An frontend engineer specializing in JavaScript, HTML, and CSS.": "An frontend engineer specializing in JavaScript, HTML, and CSS.",
342
- "Hello, I'm Nathan, your frontend code engineer. I'll generate high-quality JavaScript / HTML / CSS code for you. What would you like me to build today?": "Hello, I'm Nathan, your frontend code engineer. I'll generate high-quality JavaScript / HTML / CSS code for you. What would you like me to build today?"
364
+ "Hello, I'm Nathan, your frontend code engineer. I'll generate high-quality JavaScript / HTML / CSS code for you. What would you like me to build today?": "Hello, I'm Nathan, your frontend code engineer. I'll generate high-quality JavaScript / HTML / CSS code for you. What would you like me to build today?",
365
+ "AI employee task dispatching": "AI employee task dispatching",
366
+ "Awaken and assign specific tasks to ai employees": "Awaken and assign specific tasks to ai employees",
367
+ "List AI employee": "List AI employee",
368
+ "Get the list of available AI employees": "Get the list of available AI employees",
369
+ "Get AI employee": "Get AI employee",
370
+ "Get the detailed definition of AI employee": "Get the detailed definition of AI employee",
371
+ "Done in {{ durationText }}": "Done in {{ durationText }}"
343
372
  }
@@ -55,10 +55,12 @@
55
55
  "Background": "背景",
56
56
  "Bio": "简介",
57
57
  "Bio placeholder": "AI 员工的简介,用于告知人类同事其技能和使用方法。该信息将显示在员工的个人资料卡片上,但不会作为该 AI 员工的提示词。",
58
+ "Business analysis report": "业务分析报告",
58
59
  "Call": "执行",
59
60
  "Allow use": "允许使用",
60
61
  "Cancel": "取消",
61
62
  "Chart generator": "图表生成器",
63
+ "Charts": "图表",
62
64
  "Chat error warning": "发送消息失败,请联系管理员或稍后再试。",
63
65
  "Cite {{count}} pieces of information as references": "引用 {{count}} 篇资料作为参考",
64
66
  "Code history": "代码历史记录",
@@ -87,8 +89,12 @@
87
89
  "Desc": "降序",
88
90
  "Description": "描述",
89
91
  "Diagnose and fix the error": "诊断并修复错误",
92
+ "Download HTML": "下载 HTML",
93
+ "Download Markdown": "下载 Markdown",
90
94
  "Direction": "排序方向",
91
95
  "Disable search": "禁用搜索",
96
+ "Switching to {{ nickname }}": "切换为 {{ nickname }}",
97
+ "{{ nickname }} has completed the work": "{{ nickname }} 已完成工作",
92
98
  "Displays the AI employee’s assigned tasks on the profile when hovering over the button.": "当鼠标悬停在按钮上时,会在员工资料卡片上显示任务描述。",
93
99
  "Down": "下移",
94
100
  "Edit AI employee": "编辑 AI 员工",
@@ -121,6 +127,7 @@
121
127
  "Get models list failed, you can enter a model name manually.": "获取模型列表失败,你可以手动输入模型名称。",
122
128
  "Greeting message": "问候语",
123
129
  "Greeting message placeholder": "开启新对话时发送给用户的开场白",
130
+ "HTML": "HTML",
124
131
  "Image": "图片",
125
132
  "Image (send via Base64)": "图片 (通过 Base64 发送)",
126
133
  "Image (send via URL)": "图片 (通过 URL 发送)",
@@ -137,6 +144,7 @@
137
144
  "Limit": "限制",
138
145
  "Max completion tokens description": "限制一次请求中模型生成 completion 的最大 token 数。输入 token 和输出 token 的总长度受模型的上下文长度的限制。",
139
146
  "Max retries": "最大重试次数",
147
+ "Markdown": "Markdown",
140
148
  "Message": "消息",
141
149
  "Message content": "消息内容",
142
150
  "Message type": "消息类型",
@@ -149,7 +157,11 @@
149
157
  "New conversation": "新建对话",
150
158
  "New from template": "从模板新建",
151
159
  "Next": "下一步",
160
+ "Invalid report definition": "报告定义无效",
152
161
  "Oops! Something went wrong. Let me diagnose and fix it.": "哦!好像出了什么问题,让我诊断并修复它。",
162
+ "Open the report to preview, export, or print it.": "打开报告以预览、导出或打印。",
163
+ "The report modal will update in real time as new content arrives.": "报告弹窗会随着新内容到达实时更新。",
164
+ "Generated at": "生成时间",
153
165
  "Other tools": "其他工具",
154
166
  "Others": "其他",
155
167
  "Parameter description": "参数描述",
@@ -165,11 +177,14 @@
165
177
  "Picking block": "选择区块中",
166
178
  "Please choose an AI employee": "请选择 AI 员工",
167
179
  "Please select file objects.": "请选择文件对象。",
180
+ "Popup blocked. Please allow popups and try again.": "弹窗被拦截,请允许弹窗后重试。",
168
181
  "Position": "职位",
169
182
  "Position description": "AI 员工职责的简短描述",
170
183
  "Position placeholder": "例如:翻译员等",
171
184
  "Presence penalty description": "介于 -2.0 和 2.0 之间的数字。如果该值为正,那么新 token 会根据其是否已在已有文本中出现受到相应的惩罚,从而增加模型谈论新主题的可能性。",
185
+ "Print PDF": "打印 PDF",
172
186
  "Preview": "预览",
187
+ "Preview and export": "预览与导出",
173
188
  "Previous": "上一步",
174
189
  "Processing complete!": "新建数据源成功!",
175
190
  "Profile": "员工资料",
@@ -225,6 +240,7 @@
225
240
  "Use skills": "使用技能",
226
241
  "Use workflow as a tool": "使用工作流作为工具",
227
242
  "Web search": "联网搜索",
243
+ "Use web search to quickly find up-to-date information from the internet.": "使用联网搜索快速从互联网获取最新信息。",
228
244
  "Work context": "上下文",
229
245
  "Work with your AI crew": "与你的 AI 团队合作",
230
246
  "Workflow caller": "调用工作流",
@@ -291,6 +307,10 @@
291
307
  "ai.skills.frontendDeveloper.about": "协助编写和测试 nocobase 工作流和前端组件的 Javascript 代码。",
292
308
  "ai.skills.documentSearch.title": "文档检索",
293
309
  "ai.skills.documentSearch.about": "使用基于关键字的搜索和文件浏览搜索和读取索引文档。",
310
+ "ai.skills.businessAnalysisReport.title": "业务分析报告",
311
+ "ai.skills.businessAnalysisReport.about": "使用 data-query 工作流分析业务数据,并输出面向业务干系人的 Markdown + ECharts 报告。",
312
+ "ai.tools.businessReportGenerator.title": "业务报告生成器",
313
+ "ai.tools.businessReportGenerator.about": "生成可预览与导出的 Markdown 业务分析报告,并附带 ECharts 图表。",
294
314
  "Recommended models": "推荐模型",
295
315
  "Select models": "选择模型",
296
316
  "Manual input": "手动输入",
@@ -318,6 +338,8 @@
318
338
  "Load specific SKILLS": "技能加载",
319
339
  "Loading content of the specific SKILLS": "加载指定技能的到会话上下文中",
320
340
  "General skills": "通用技能",
341
+ "Generating": "生成中",
342
+ "Generating business analysis report...": "正在生成业务分析报告...",
321
343
  "Employee-specific skills": "员工专属技能",
322
344
  "Data modeling expert": "数据建模专家",
323
345
  "A data modeling expert who helps translate business scenarios into normalized database schemas with table declarations and relationship diagrams.": "一个帮助将业务场景翻译成规范化的数据库架构的建模专家,使用表声明和关系图进行建模。",
@@ -345,5 +367,12 @@
345
367
  "Hello, I'm Cole. I have access to the NocoBase knowledge base. Ask me anything about setting up or using the platform.": "你好,我是Cole。我可以进入NocoBase的知识库。问我任何关于设置或使用平台的问题。",
346
368
  "Frontend code engineer": "前端工程师",
347
369
  "An frontend engineer specializing in JavaScript, HTML, and CSS.": "一个擅长 JavaScript、HTML 和 CSS 的前端工程师。",
348
- "Hello, I'm Nathan, your frontend code engineer. I'll generate high-quality JavaScript / HTML / CSS code for you. What would you like me to build today?": "嗨,我是 Nathan,你的前端工程师。我将为您生成高质量 JavaScript / HTML / CSS 代码。今天您想创建什么?"
370
+ "Hello, I'm Nathan, your frontend code engineer. I'll generate high-quality JavaScript / HTML / CSS code for you. What would you like me to build today?": "嗨,我是 Nathan,你的前端工程师。我将为您生成高质量 JavaScript / HTML / CSS 代码。今天您想创建什么?",
371
+ "AI employee task dispatching": "AI员工任务分派",
372
+ "Awaken and assign specific tasks to ai employees": "唤醒 AI 员工并分派具体任务",
373
+ "List AI employee": "列出 AI 员工",
374
+ "Get the list of available AI employees": "获取可用的 AI 员工列表",
375
+ "Get AI employee": "获取 AI 员工",
376
+ "Get the detailed definition of AI employee": "获取 AI 员工的详细定义",
377
+ "Done in {{ durationText }}": "已完成 {{ durationText }}"
349
378
  }
@@ -1 +1 @@
1
- {"name":"fast-glob","version":"3.3.2","description":"It's a very fast and efficient glob library for Node.js","license":"MIT","repository":"mrmlnc/fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"engines":{"node":">=8.6.0"},"main":"out/index.js","typings":"out/index.d.ts","files":["out","!out/{benchmark,tests}","!out/**/*.map","!out/**/*.spec.*"],"keywords":["glob","patterns","fast","implementation"],"devDependencies":{"@nodelib/fs.macchiato":"^1.0.1","@types/glob-parent":"^5.1.0","@types/merge2":"^1.1.4","@types/micromatch":"^4.0.0","@types/mocha":"^5.2.7","@types/node":"^14.18.53","@types/picomatch":"^2.3.0","@types/sinon":"^7.5.0","bencho":"^0.1.1","eslint":"^6.5.1","eslint-config-mrmlnc":"^1.1.0","execa":"^7.1.1","fast-glob":"^3.0.4","fdir":"^6.0.1","glob":"^10.0.0","hereby":"^1.8.1","mocha":"^6.2.1","rimraf":"^5.0.0","sinon":"^7.5.0","snap-shot-it":"^7.9.10","typescript":"^4.9.5"},"dependencies":{"@nodelib/fs.stat":"^2.0.2","@nodelib/fs.walk":"^1.2.3","glob-parent":"^5.1.2","merge2":"^1.3.0","micromatch":"^4.0.4"},"scripts":{"clean":"rimraf out","lint":"eslint \"src/**/*.ts\" --cache","compile":"tsc","test":"mocha \"out/**/*.spec.js\" -s 0","test:e2e":"mocha \"out/**/*.e2e.js\" -s 0","test:e2e:sync":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(sync\\)\"","test:e2e:async":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(async\\)\"","test:e2e:stream":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"","build":"npm run clean && npm run compile && npm run lint && npm test","watch":"npm run clean && npm run compile -- --sourceMap --watch","bench:async":"npm run bench:product:async && npm run bench:regression:async","bench:stream":"npm run bench:product:stream && npm run bench:regression:stream","bench:sync":"npm run bench:product:sync && npm run bench:regression:sync","bench:product":"npm run bench:product:async && npm run bench:product:sync && npm run bench:product:stream","bench:product:async":"hereby bench:product:async","bench:product:sync":"hereby bench:product:sync","bench:product:stream":"hereby bench:product:stream","bench:regression":"npm run bench:regression:async && npm run bench:regression:sync && npm run bench:regression:stream","bench:regression:async":"hereby bench:regression:async","bench:regression:sync":"hereby bench:regression:sync","bench:regression:stream":"hereby bench:regression:stream"},"_lastModified":"2026-03-27T05:54:14.705Z"}
1
+ {"name":"fast-glob","version":"3.3.2","description":"It's a very fast and efficient glob library for Node.js","license":"MIT","repository":"mrmlnc/fast-glob","author":{"name":"Denis Malinochkin","url":"https://mrmlnc.com"},"engines":{"node":">=8.6.0"},"main":"out/index.js","typings":"out/index.d.ts","files":["out","!out/{benchmark,tests}","!out/**/*.map","!out/**/*.spec.*"],"keywords":["glob","patterns","fast","implementation"],"devDependencies":{"@nodelib/fs.macchiato":"^1.0.1","@types/glob-parent":"^5.1.0","@types/merge2":"^1.1.4","@types/micromatch":"^4.0.0","@types/mocha":"^5.2.7","@types/node":"^14.18.53","@types/picomatch":"^2.3.0","@types/sinon":"^7.5.0","bencho":"^0.1.1","eslint":"^6.5.1","eslint-config-mrmlnc":"^1.1.0","execa":"^7.1.1","fast-glob":"^3.0.4","fdir":"^6.0.1","glob":"^10.0.0","hereby":"^1.8.1","mocha":"^6.2.1","rimraf":"^5.0.0","sinon":"^7.5.0","snap-shot-it":"^7.9.10","typescript":"^4.9.5"},"dependencies":{"@nodelib/fs.stat":"^2.0.2","@nodelib/fs.walk":"^1.2.3","glob-parent":"^5.1.2","merge2":"^1.3.0","micromatch":"^4.0.4"},"scripts":{"clean":"rimraf out","lint":"eslint \"src/**/*.ts\" --cache","compile":"tsc","test":"mocha \"out/**/*.spec.js\" -s 0","test:e2e":"mocha \"out/**/*.e2e.js\" -s 0","test:e2e:sync":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(sync\\)\"","test:e2e:async":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(async\\)\"","test:e2e:stream":"mocha \"out/**/*.e2e.js\" -s 0 --grep \"\\(stream\\)\"","build":"npm run clean && npm run compile && npm run lint && npm test","watch":"npm run clean && npm run compile -- --sourceMap --watch","bench:async":"npm run bench:product:async && npm run bench:regression:async","bench:stream":"npm run bench:product:stream && npm run bench:regression:stream","bench:sync":"npm run bench:product:sync && npm run bench:regression:sync","bench:product":"npm run bench:product:async && npm run bench:product:sync && npm run bench:product:stream","bench:product:async":"hereby bench:product:async","bench:product:sync":"hereby bench:product:sync","bench:product:stream":"hereby bench:product:stream","bench:regression":"npm run bench:regression:async && npm run bench:regression:sync && npm run bench:regression:stream","bench:regression:async":"hereby bench:regression:async","bench:regression:sync":"hereby bench:regression:sync","bench:regression:stream":"hereby bench:regression:stream"},"_lastModified":"2026-04-10T12:40:59.908Z"}
@@ -1 +1 @@
1
- {"public":true,"preferGlobal":false,"name":"flexsearch","version":"0.8.212","description":"Next-Generation full-text search library for Browser and Node.js","homepage":"https://github.com/nextapps-de/flexsearch/","author":"Thomas Wilkerling","copyright":"Nextapps GmbH","license":"Apache-2.0","readme":"README.md","keywords":["fulltext search","elastic search","fastest search","contextual search","document search","fuzzy search","fuzzy match","search engine"],"repository":{"type":"git","url":"https://github.com/nextapps-de/flexsearch.git"},"bugs":{"url":"https://github.com/nextapps-de/flexsearch/issues","email":"info@nextapps.de"},"main":"dist/flexsearch.bundle.min.js","module":"dist/flexsearch.bundle.module.min.mjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dist/flexsearch.bundle.module.min.mjs","require":"./dist/flexsearch.bundle.min.js"},"./lang/*":{"import":"./dist/module/lang/*.js","require":"./dist/lang/*.min.js"},"./db/*":{"import":"./dist/module/db/*/index.js","require":"./dist/db/*/index.cjs"},"./debug":{"import":"./dist/flexsearch.bundle.module.debug.mjs","require":"./dist/flexsearch.bundle.debug.js"}},"browser":{"flexsearch":"./dist/flexsearch.bundle.module.min.mjs","flexsearch/debug":"./dist/flexsearch.bundle.module.debug.mjs","dist/flexsearch.bundle.min.js":"./dist/flexsearch.bundle.min.js","dist/flexsearch.bundle.module.min.js":"./dist/flexsearch.bundle.module.min.mjs","dist/flexsearch.bundle.module.min.mjs":"./dist/flexsearch.bundle.module.min.mjs","worker_threads":false,"path":false,"clickhouse":false,"mongodb":false,"pg-promise":false,"redis":false,"sqlite3":false},"scripts":{"build":"npm run build:bundle && npm run build:bundle:debug && exit 0","build:bundle":"node task/build RELEASE=bundle DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:bundle:debug":"node task/build RELEASE=bundle DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:compact":"node task/build RELEASE=compact DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:compact:debug":"node task/build RELEASE=compact DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:light":"node task/build RELEASE=light DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:light:debug":"node task/build RELEASE=light DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:es5":"node task/build RELEASE=es5 DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:es5:debug":"node task/build RELEASE=es5 DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:lang":"node task/build RELEASE=lang","build:db":"npx rollup tmp/db/indexeddb/index.js --file dist/db/indexeddb/index.cjs --format cjs && npx rollup tmp/db/postgres/index.js --file dist/db/postgres/index.cjs --format cjs && npx rollup tmp/db/sqlite/index.js --file dist/db/sqlite/index.cjs --format cjs && npx rollup tmp/db/mongodb/index.js --file dist/db/mongodb/index.cjs --format cjs && npx rollup tmp/db/redis/index.js --file dist/db/redis/index.cjs --format cjs && npx rollup tmp/db/clickhouse/index.js --file dist/db/clickhouse/index.cjs --format cjs","build:module":"node task/babel && exit 0","build:module:debug":"node task/babel DEBUG=true && exit 0","build:module:min":"node task/babel RELEASE=min && exit 0","build:module:bundle":"node task/build RELEASE=bundle.module DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:module:bundle:debug":"node task/build RELEASE=bundle.module DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:compact":"node task/build RELEASE=compact.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:compact:debug":"node task/build RELEASE=compact.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:light":"node task/build RELEASE=light.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:light:debug":"node task/build RELEASE=light.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:all":"npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:compact && npm run build:compact:debug && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug && npm run build:module:compact && npm run build:module:compact:debug && npm run build:es5 && npm run build:es5:debug && npm run build:lang && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:db","build:custom":"node task/build RELEASE=custom","test":"mocha test/*.js --exit","test:coverage":"c8 -c test/.c8rc.json mocha test/*.js --exit","test:keystore":"set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c test/.c8rc.json mocha test/keystore.js --exit","test:db":"c8 -c test/.c8rc.json mocha test/persistent.*.js --exit","test:all":"npx mocha test/*.js --exit module/bundle && npx mocha test/*.js --exit module-debug/bundle && npx mocha test/*.js --exit module-min/bundle && npx mocha test/*.js --exit flexsearch.bundle.debug && npx mocha test/*.js --exit flexsearch.bundle.min && npx mocha test/*.js --exit flexsearch.bundle.module.debug && npx mocha test/*.js --exit flexsearch.bundle.module.min && npx mocha test/*.js --exit flexsearch.compact.debug && npx mocha test/*.js --exit flexsearch.compact.min && npx mocha test/*.js --exit flexsearch.compact.module.debug && npx mocha test/*.js --exit flexsearch.compact.module.min && npx mocha test/*.js --exit flexsearch.es5.debug && npx mocha test/*.js --exit flexsearch.es5.min && npx mocha test/*.js --exit flexsearch.light.debug && npx mocha test/*.js --exit flexsearch.light.min && npx mocha test/*.js --exit flexsearch.light.module.debug && npx mocha test/*.js --exit flexsearch.light.module.min","release":"npm version --no-git-tag-version patch && npm run build:all && npm run test:all"},"files":["dist/**","src/**","task/**","index.d.ts","README.md","CHANGELOG.md","LICENSE"],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-conditional-compile":"^0.0.5","babel-plugin-minify-constant-folding":"^0.5.0","babel-plugin-minify-dead-code-elimination":"^0.5.2","babel-plugin-minify-flip-comparisons":"^0.4.3","babel-plugin-minify-guarded-expressions":"^0.4.4","babel-plugin-minify-infinity":"^0.4.3","babel-plugin-minify-mangle-names":"^0.5.1","babel-plugin-minify-replace":"^0.5.0","babel-plugin-minify-simplify":"^0.5.1","babel-plugin-minify-type-constructors":"^0.4.3","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-merge-sibling-variables":"^6.9.5","babel-plugin-transform-minify-booleans":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-simplify-comparison-operators":"^6.9.4","babel-plugin-transform-undefined-to-void":"^6.9.4","c8":"^10.1.3","chai":"^5.2.0","clickhouse":"^2.6.0","google-closure-compiler":"^20250520.0.0","mocha":"^11.1.0","mongodb":"^6.13.0","pg-promise":"^11.13.0","redis":"^5.1.0","rollup":"^4.35.0","sqlite3":"^5.1.7"},"funding":[{"type":"github","url":"https://github.com/ts-thomas"},{"type":"paypal","url":"https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW"},{"type":"opencollective","url":"https://opencollective.com/flexsearch"},{"type":"patreon","url":"https://patreon.com/user?u=96245532"},{"type":"liberapay","url":"https://liberapay.com/ts-thomas"}],"_lastModified":"2026-03-27T05:54:15.128Z"}
1
+ {"public":true,"preferGlobal":false,"name":"flexsearch","version":"0.8.212","description":"Next-Generation full-text search library for Browser and Node.js","homepage":"https://github.com/nextapps-de/flexsearch/","author":"Thomas Wilkerling","copyright":"Nextapps GmbH","license":"Apache-2.0","readme":"README.md","keywords":["fulltext search","elastic search","fastest search","contextual search","document search","fuzzy search","fuzzy match","search engine"],"repository":{"type":"git","url":"https://github.com/nextapps-de/flexsearch.git"},"bugs":{"url":"https://github.com/nextapps-de/flexsearch/issues","email":"info@nextapps.de"},"main":"dist/flexsearch.bundle.min.js","module":"dist/flexsearch.bundle.module.min.mjs","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./dist/flexsearch.bundle.module.min.mjs","require":"./dist/flexsearch.bundle.min.js"},"./lang/*":{"import":"./dist/module/lang/*.js","require":"./dist/lang/*.min.js"},"./db/*":{"import":"./dist/module/db/*/index.js","require":"./dist/db/*/index.cjs"},"./debug":{"import":"./dist/flexsearch.bundle.module.debug.mjs","require":"./dist/flexsearch.bundle.debug.js"}},"browser":{"flexsearch":"./dist/flexsearch.bundle.module.min.mjs","flexsearch/debug":"./dist/flexsearch.bundle.module.debug.mjs","dist/flexsearch.bundle.min.js":"./dist/flexsearch.bundle.min.js","dist/flexsearch.bundle.module.min.js":"./dist/flexsearch.bundle.module.min.mjs","dist/flexsearch.bundle.module.min.mjs":"./dist/flexsearch.bundle.module.min.mjs","worker_threads":false,"path":false,"clickhouse":false,"mongodb":false,"pg-promise":false,"redis":false,"sqlite3":false},"scripts":{"build":"npm run build:bundle && npm run build:bundle:debug && exit 0","build:bundle":"node task/build RELEASE=bundle DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:bundle:debug":"node task/build RELEASE=bundle DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:compact":"node task/build RELEASE=compact DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:compact:debug":"node task/build RELEASE=compact DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:light":"node task/build RELEASE=light DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:light:debug":"node task/build RELEASE=light DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:es5":"node task/build RELEASE=es5 DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:es5:debug":"node task/build RELEASE=es5 DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=true SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT LANGUAGE_OUT=ECMASCRIPT5_STRICT","build:lang":"node task/build RELEASE=lang","build:db":"npx rollup tmp/db/indexeddb/index.js --file dist/db/indexeddb/index.cjs --format cjs && npx rollup tmp/db/postgres/index.js --file dist/db/postgres/index.cjs --format cjs && npx rollup tmp/db/sqlite/index.js --file dist/db/sqlite/index.cjs --format cjs && npx rollup tmp/db/mongodb/index.js --file dist/db/mongodb/index.cjs --format cjs && npx rollup tmp/db/redis/index.js --file dist/db/redis/index.cjs --format cjs && npx rollup tmp/db/clickhouse/index.js --file dist/db/clickhouse/index.cjs --format cjs","build:module":"node task/babel && exit 0","build:module:debug":"node task/babel DEBUG=true && exit 0","build:module:min":"node task/babel RELEASE=min && exit 0","build:module:bundle":"node task/build RELEASE=bundle.module DEBUG=false PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false","build:module:bundle:debug":"node task/build RELEASE=bundle.module DEBUG=true PROFILER=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=true SUPPORT_RESOLVER=true SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=true SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:compact":"node task/build RELEASE=compact.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:compact:debug":"node task/build RELEASE=compact.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=true SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:module:light":"node task/build RELEASE=light.module DEBUG=false PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false","build:module:light:debug":"node task/build RELEASE=light.module DEBUG=true PROFILER=false SUPPORT_WORKER=false SUPPORT_ENCODER=true SUPPORT_CHARSET=false SUPPORT_CACHE=false SUPPORT_ASYNC=false SUPPORT_STORE=false SUPPORT_TAGS=false SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=false SUPPORT_DOCUMENT=false POLYFILL=false SUPPORT_PERSISTENT=false SUPPORT_RESOLVER=false SUPPORT_HIGHLIGHTING=false SUPPORT_KEYSTORE=false SUPPORT_COMPRESSION=false FORMATTING=PRETTY_PRINT","build:all":"npm run build:bundle && npm run build:bundle:debug && npm run build:light && npm run build:light:debug && npm run build:compact && npm run build:compact:debug && npm run build:module:bundle && npm run build:module:bundle:debug && npm run build:module:light && npm run build:module:light:debug && npm run build:module:compact && npm run build:module:compact:debug && npm run build:es5 && npm run build:es5:debug && npm run build:lang && npm run build:module && npm run build:module:debug && npm run build:module:min && npm run build:db","build:custom":"node task/build RELEASE=custom","test":"mocha test/*.js --exit","test:coverage":"c8 -c test/.c8rc.json mocha test/*.js --exit","test:keystore":"set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c test/.c8rc.json mocha test/keystore.js --exit","test:db":"c8 -c test/.c8rc.json mocha test/persistent.*.js --exit","test:all":"npx mocha test/*.js --exit module/bundle && npx mocha test/*.js --exit module-debug/bundle && npx mocha test/*.js --exit module-min/bundle && npx mocha test/*.js --exit flexsearch.bundle.debug && npx mocha test/*.js --exit flexsearch.bundle.min && npx mocha test/*.js --exit flexsearch.bundle.module.debug && npx mocha test/*.js --exit flexsearch.bundle.module.min && npx mocha test/*.js --exit flexsearch.compact.debug && npx mocha test/*.js --exit flexsearch.compact.min && npx mocha test/*.js --exit flexsearch.compact.module.debug && npx mocha test/*.js --exit flexsearch.compact.module.min && npx mocha test/*.js --exit flexsearch.es5.debug && npx mocha test/*.js --exit flexsearch.es5.min && npx mocha test/*.js --exit flexsearch.light.debug && npx mocha test/*.js --exit flexsearch.light.min && npx mocha test/*.js --exit flexsearch.light.module.debug && npx mocha test/*.js --exit flexsearch.light.module.min","release":"npm version --no-git-tag-version patch && npm run build:all && npm run test:all"},"files":["dist/**","src/**","task/**","index.d.ts","README.md","CHANGELOG.md","LICENSE"],"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-conditional-compile":"^0.0.5","babel-plugin-minify-constant-folding":"^0.5.0","babel-plugin-minify-dead-code-elimination":"^0.5.2","babel-plugin-minify-flip-comparisons":"^0.4.3","babel-plugin-minify-guarded-expressions":"^0.4.4","babel-plugin-minify-infinity":"^0.4.3","babel-plugin-minify-mangle-names":"^0.5.1","babel-plugin-minify-replace":"^0.5.0","babel-plugin-minify-simplify":"^0.5.1","babel-plugin-minify-type-constructors":"^0.4.3","babel-plugin-transform-member-expression-literals":"^6.9.4","babel-plugin-transform-merge-sibling-variables":"^6.9.5","babel-plugin-transform-minify-booleans":"^6.9.4","babel-plugin-transform-property-literals":"^6.9.4","babel-plugin-transform-simplify-comparison-operators":"^6.9.4","babel-plugin-transform-undefined-to-void":"^6.9.4","c8":"^10.1.3","chai":"^5.2.0","clickhouse":"^2.6.0","google-closure-compiler":"^20250520.0.0","mocha":"^11.1.0","mongodb":"^6.13.0","pg-promise":"^11.13.0","redis":"^5.1.0","rollup":"^4.35.0","sqlite3":"^5.1.7"},"funding":[{"type":"github","url":"https://github.com/ts-thomas"},{"type":"paypal","url":"https://www.paypal.com/donate/?hosted_button_id=GEVR88FC9BWRW"},{"type":"opencollective","url":"https://opencollective.com/flexsearch"},{"type":"patreon","url":"https://patreon.com/user?u=96245532"},{"type":"liberapay","url":"https://liberapay.com/ts-thomas"}],"_lastModified":"2026-04-10T12:41:00.315Z"}
@@ -1 +1 @@
1
- {"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-03-27T05:54:14.084Z"}
1
+ {"name":"fs-extra","version":"9.1.0","description":"fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.","engines":{"node":">=10"},"homepage":"https://github.com/jprichardson/node-fs-extra","repository":{"type":"git","url":"https://github.com/jprichardson/node-fs-extra"},"keywords":["fs","file","file system","copy","directory","extra","mkdirp","mkdir","mkdirs","recursive","json","read","write","extra","delete","remove","touch","create","text","output","move","promise"],"author":"JP Richardson <jprichardson@gmail.com>","license":"MIT","dependencies":{"at-least-node":"^1.0.0","graceful-fs":"^4.2.0","jsonfile":"^6.0.1","universalify":"^2.0.0"},"devDependencies":{"coveralls":"^3.0.0","klaw":"^2.1.1","klaw-sync":"^3.0.2","minimist":"^1.1.1","mocha":"^5.0.5","nyc":"^15.0.0","proxyquire":"^2.0.1","read-dir-files":"^0.1.1","standard":"^14.1.0"},"main":"./lib/index.js","files":["lib/","!lib/**/__tests__/"],"scripts":{"full-ci":"npm run lint && npm run coverage","coverage":"nyc -r lcovonly npm run unit","coveralls":"coveralls < coverage/lcov.info","lint":"standard","test-find":"find ./lib/**/__tests__ -name *.test.js | xargs mocha","test":"npm run lint && npm run unit","unit":"node test.js"},"_lastModified":"2026-04-10T12:40:59.386Z"}
@@ -1 +1 @@
1
- {"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-03-27T05:54:11.288Z"}
1
+ {"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2026-04-10T12:40:56.717Z"}
@@ -1 +1 @@
1
- {"name":"openai","version":"6.22.0","description":"The official TypeScript library for the OpenAI API","author":"OpenAI <support@openai.com>","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":"github:openai/openai-node","license":"Apache-2.0","packageManager":"yarn@1.22.22","files":["**/*"],"private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_lastModified":"2026-03-27T05:54:13.905Z"}
1
+ {"name":"openai","version":"6.22.0","description":"The official TypeScript library for the OpenAI API","author":"OpenAI <support@openai.com>","types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":"github:openai/openai-node","license":"Apache-2.0","packageManager":"yarn@1.22.22","files":["**/*"],"private":false,"publishConfig":{"access":"public"},"scripts":{"test":"./scripts/test","build":"./scripts/build","format":"./scripts/format","tsn":"ts-node -r tsconfig-paths/register","lint":"./scripts/lint","fix":"./scripts/format"},"dependencies":{},"bin":{"openai":"bin/cli"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./_vendor/*.mjs":{"default":"./_vendor/*.mjs"},"./_vendor/*.js":{"default":"./_vendor/*.js"},"./_vendor/*":{"import":"./_vendor/*.mjs","require":"./_vendor/*.js"},"./api-promise":{"import":"./api-promise.mjs","require":"./api-promise.js"},"./api-promise.js":{"default":"./api-promise.js"},"./api-promise.mjs":{"default":"./api-promise.mjs"},"./azure":{"import":"./azure.mjs","require":"./azure.js"},"./azure.js":{"default":"./azure.js"},"./azure.mjs":{"default":"./azure.mjs"},"./beta/*.mjs":{"default":"./beta/*.mjs"},"./beta/*.js":{"default":"./beta/*.js"},"./beta/*":{"import":"./beta/*.mjs","require":"./beta/*.js"},"./client":{"import":"./client.mjs","require":"./client.js"},"./client.js":{"default":"./client.js"},"./client.mjs":{"default":"./client.mjs"},"./core/*.mjs":{"default":"./core/*.mjs"},"./core/*.js":{"default":"./core/*.js"},"./core/*":{"import":"./core/*.mjs","require":"./core/*.js"},"./error":{"import":"./error.mjs","require":"./error.js"},"./error.js":{"default":"./error.js"},"./error.mjs":{"default":"./error.mjs"},"./helpers/*.mjs":{"default":"./helpers/*.mjs"},"./helpers/*.js":{"default":"./helpers/*.js"},"./helpers/*":{"import":"./helpers/*.mjs","require":"./helpers/*.js"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./lib/*.mjs":{"default":"./lib/*.mjs"},"./lib/*.js":{"default":"./lib/*.js"},"./lib/*":{"import":"./lib/*.mjs","require":"./lib/*.js"},"./pagination":{"import":"./pagination.mjs","require":"./pagination.js"},"./pagination.js":{"default":"./pagination.js"},"./pagination.mjs":{"default":"./pagination.mjs"},"./realtime/*.mjs":{"default":"./realtime/*.mjs"},"./realtime/*.js":{"default":"./realtime/*.js"},"./realtime/*":{"import":"./realtime/*.mjs","require":"./realtime/*.js"},"./resource":{"import":"./resource.mjs","require":"./resource.js"},"./resource.js":{"default":"./resource.js"},"./resource.mjs":{"default":"./resource.mjs"},"./resources/*.mjs":{"default":"./resources/*.mjs"},"./resources/*.js":{"default":"./resources/*.js"},"./resources/*":{"import":"./resources/*.mjs","require":"./resources/*.js"},"./resources":{"import":"./resources.mjs","require":"./resources.js"},"./resources.js":{"default":"./resources.js"},"./resources.mjs":{"default":"./resources.mjs"},"./streaming":{"import":"./streaming.mjs","require":"./streaming.js"},"./streaming.js":{"default":"./streaming.js"},"./streaming.mjs":{"default":"./streaming.mjs"},"./uploads":{"import":"./uploads.mjs","require":"./uploads.js"},"./uploads.js":{"default":"./uploads.js"},"./uploads.mjs":{"default":"./uploads.mjs"},"./version":{"import":"./version.mjs","require":"./version.js"},"./version.js":{"default":"./version.js"},"./version.mjs":{"default":"./version.mjs"}},"peerDependencies":{"ws":"^8.18.0","zod":"^3.25 || ^4.0"},"peerDependenciesMeta":{"ws":{"optional":true},"zod":{"optional":true}},"_lastModified":"2026-04-10T12:40:59.220Z"}
@@ -1 +1 @@
1
- {"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-03-27T05:54:12.322Z"}
1
+ {"name":"zod","version":"4.3.5","type":"module","license":"MIT","author":"Colin McDonnell <zod@colinhacks.com>","description":"TypeScript-first schema declaration and validation library with static type inference","homepage":"https://zod.dev","llms":"https://zod.dev/llms.txt","llmsFull":"https://zod.dev/llms-full.txt","mcpServer":"https://mcp.inkeep.com/zod/mcp","funding":"https://github.com/sponsors/colinhacks","sideEffects":false,"files":["src","**/*.js","**/*.mjs","**/*.cjs","**/*.d.ts","**/*.d.mts","**/*.d.cts","**/package.json"],"keywords":["typescript","schema","validation","type","inference"],"main":"./index.cjs","types":"./index.d.cts","module":"./index.js","zshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts","./mini":"./src/mini/index.ts","./locales":"./src/locales/index.ts","./v3":"./src/v3/index.ts","./v4":"./src/v4/index.ts","./v4-mini":"./src/v4-mini/index.ts","./v4/mini":"./src/v4/mini/index.ts","./v4/core":"./src/v4/core/index.ts","./v4/locales":"./src/v4/locales/index.ts","./v4/locales/*":"./src/v4/locales/*"},"conditions":{"@zod/source":"src"}},"exports":{"./package.json":"./package.json",".":{"@zod/source":"./src/index.ts","types":"./index.d.cts","import":"./index.js","require":"./index.cjs"},"./mini":{"@zod/source":"./src/mini/index.ts","types":"./mini/index.d.cts","import":"./mini/index.js","require":"./mini/index.cjs"},"./locales":{"@zod/source":"./src/locales/index.ts","types":"./locales/index.d.cts","import":"./locales/index.js","require":"./locales/index.cjs"},"./v3":{"@zod/source":"./src/v3/index.ts","types":"./v3/index.d.cts","import":"./v3/index.js","require":"./v3/index.cjs"},"./v4":{"@zod/source":"./src/v4/index.ts","types":"./v4/index.d.cts","import":"./v4/index.js","require":"./v4/index.cjs"},"./v4-mini":{"@zod/source":"./src/v4-mini/index.ts","types":"./v4-mini/index.d.cts","import":"./v4-mini/index.js","require":"./v4-mini/index.cjs"},"./v4/mini":{"@zod/source":"./src/v4/mini/index.ts","types":"./v4/mini/index.d.cts","import":"./v4/mini/index.js","require":"./v4/mini/index.cjs"},"./v4/core":{"@zod/source":"./src/v4/core/index.ts","types":"./v4/core/index.d.cts","import":"./v4/core/index.js","require":"./v4/core/index.cjs"},"./v4/locales":{"@zod/source":"./src/v4/locales/index.ts","types":"./v4/locales/index.d.cts","import":"./v4/locales/index.js","require":"./v4/locales/index.cjs"},"./v4/locales/*":{"@zod/source":"./src/v4/locales/*","types":"./v4/locales/*","import":"./v4/locales/*","require":"./v4/locales/*"}},"repository":{"type":"git","url":"git+https://github.com/colinhacks/zod.git"},"bugs":{"url":"https://github.com/colinhacks/zod/issues"},"support":{"backing":{"npm-funding":true}},"scripts":{"clean":"git clean -xdf . -e node_modules","build":"zshy --project tsconfig.build.json","postbuild":"tsx ../../scripts/write-stub-package-jsons.ts && pnpm biome check --write .","test:watch":"pnpm vitest","test":"pnpm vitest run","prepublishOnly":"tsx ../../scripts/check-versions.ts"},"_lastModified":"2026-04-10T12:40:57.671Z"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { Model } from '@nocobase/database';
10
+ import PluginAIServer from '../plugin';
11
+ import { AIMessage, SubAgentConversationMetadata, UserDecision } from '../types';
12
+ export type AIConversationsOptions = {
13
+ systemMessage?: unknown;
14
+ skillSettings?: unknown;
15
+ conversationSettings?: unknown;
16
+ [key: string]: unknown;
17
+ };
18
+ export type AIConversationFilterParams = {
19
+ filter: {
20
+ userId: string;
21
+ };
22
+ };
23
+ export type CreateAIConversationParams = {
24
+ userId: string;
25
+ aiEmployee: {
26
+ username: string;
27
+ };
28
+ title?: string;
29
+ options?: AIConversationsOptions;
30
+ from?: 'main-agent' | 'sub-agent';
31
+ };
32
+ export type UpdateAIConversationParams = {
33
+ userId: string;
34
+ sessionId: string;
35
+ title?: string;
36
+ options?: AIConversationsOptions;
37
+ };
38
+ export type GetAIConversationMessagesParams = {
39
+ userId: string;
40
+ sessionId: string;
41
+ cursor?: string;
42
+ paginate?: boolean;
43
+ };
44
+ export type ParsedMessageRow = AIMessage & Model;
45
+ export type GetAIConversationMessagesResult = {
46
+ rows: any[];
47
+ hasMore?: boolean;
48
+ cursor?: string | null;
49
+ };
50
+ export declare class AIConversationsManager {
51
+ protected plugin: PluginAIServer;
52
+ constructor(plugin: PluginAIServer);
53
+ create({ userId, aiEmployee, title, options, from }: CreateAIConversationParams): Promise<any>;
54
+ update({ userId, sessionId, title, options: inputOptions }: UpdateAIConversationParams): Promise<any>;
55
+ getMessages({ userId, sessionId, cursor, paginate, }: GetAIConversationMessagesParams): Promise<GetAIConversationMessagesResult>;
56
+ getUserDecisions(messageId: string): Promise<{
57
+ interruptId?: string;
58
+ decisions: UserDecision[];
59
+ } | null>;
60
+ resolveSubAgentConversation(sessionId: string, toolCallId: string): Promise<SubAgentConversationMetadata>;
61
+ private get aiConversationsRepo();
62
+ private get aiMessagesRepo();
63
+ private get aiToolMessagesRepo();
64
+ }