@nocobase/plugin-ai 2.2.0-alpha.1 → 2.2.0-alpha.10

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 (1401) hide show
  1. package/client-v2.d.ts +1 -0
  2. package/dist/ai/docs/nocobase/ai/ai-quick-start.md +1 -1
  3. package/dist/ai/docs/nocobase/ai/claude-code/index.md +2 -2
  4. package/dist/ai/docs/nocobase/ai/codex/index.md +2 -2
  5. package/dist/ai/docs/nocobase/ai/hermes-agent/index.md +2 -2
  6. package/dist/ai/docs/nocobase/ai/index.md +1 -1
  7. package/dist/ai/docs/nocobase/ai/install-nocobase-app.md +117 -0
  8. package/dist/ai/docs/nocobase/ai/local-development-setup.md +94 -0
  9. package/dist/ai/docs/nocobase/ai/openclaw/index.md +2 -2
  10. package/dist/ai/docs/nocobase/ai/opencode/index.md +2 -2
  11. package/dist/ai/docs/nocobase/ai/quick-start.mdx +22 -15
  12. package/dist/ai/docs/nocobase/ai/upgrade-from-2-0-to-2-1.md +57 -0
  13. package/dist/ai/docs/nocobase/ai/upgrade-nocobase-app.md +111 -0
  14. package/dist/ai/docs/nocobase/ai/windows-wsl.md +409 -0
  15. package/dist/ai/docs/nocobase/ai/workbuddy/index.md +2 -2
  16. package/dist/ai/docs/nocobase/ai-builder/index.md +17 -2
  17. package/dist/ai/docs/nocobase/ai-builder/version-control.md +120 -0
  18. package/dist/ai/docs/nocobase/ai-dev/index.md +1 -1
  19. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/dev/external-knowledge-base.md +318 -0
  20. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/documents.md +76 -0
  21. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/hit-tests.md +66 -0
  22. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/index.md +73 -0
  23. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/segments.md +93 -0
  24. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/settings.md +77 -0
  25. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/rag.md +1 -1
  26. package/dist/ai/docs/nocobase/ai-employees/scenarios/company-background-research.md +125 -0
  27. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/create-document.md +79 -0
  28. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/delete-document.md +71 -0
  29. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/index.md +92 -0
  30. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/retrieve-document.md +87 -0
  31. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/update-document.md +70 -0
  32. package/dist/ai/docs/nocobase/api/app/env.md +31 -2
  33. package/dist/ai/docs/nocobase/api/cli/app/restart.md +4 -0
  34. package/dist/ai/docs/nocobase/api/cli/app/start.md +7 -0
  35. package/dist/ai/docs/nocobase/api/cli/app/upgrade.md +6 -0
  36. package/dist/ai/docs/nocobase/api/cli/config/delete.md +9 -6
  37. package/dist/ai/docs/nocobase/api/cli/config/get.md +8 -6
  38. package/dist/ai/docs/nocobase/api/cli/config/index.md +40 -26
  39. package/dist/ai/docs/nocobase/api/cli/config/set.md +15 -8
  40. package/dist/ai/docs/nocobase/api/cli/env/auth.md +53 -5
  41. package/dist/ai/docs/nocobase/api/cli/index.md +14 -2
  42. package/dist/ai/docs/nocobase/api/cli/init.md +41 -4
  43. package/dist/ai/docs/nocobase/api/cli/plugin/import.md +1 -1
  44. package/dist/ai/docs/nocobase/api/cli/portal/config.md +44 -0
  45. package/dist/ai/docs/nocobase/api/cli/portal/create.md +48 -0
  46. package/dist/ai/docs/nocobase/api/cli/portal/deploy.md +39 -0
  47. package/dist/ai/docs/nocobase/api/cli/portal/destroy.md +41 -0
  48. package/dist/ai/docs/nocobase/api/cli/portal/dev.md +39 -0
  49. package/dist/ai/docs/nocobase/api/cli/portal/index.md +136 -0
  50. package/dist/ai/docs/nocobase/api/cli/portal/info.md +41 -0
  51. package/dist/ai/docs/nocobase/api/cli/portal/list.md +40 -0
  52. package/dist/ai/docs/nocobase/api/cli/portal/pull.md +43 -0
  53. package/dist/ai/docs/nocobase/api/cli/portal/push.md +41 -0
  54. package/dist/ai/docs/nocobase/api/cli/self/check.md +19 -2
  55. package/dist/ai/docs/nocobase/api/cli/self/index.md +1 -1
  56. package/dist/ai/docs/nocobase/api/cli/self/update.md +17 -3
  57. package/dist/ai/docs/nocobase/api/cli/skills/install.md +1 -0
  58. package/dist/ai/docs/nocobase/api/cli/skills/update.md +1 -0
  59. package/dist/ai/docs/nocobase/api/cli/source/download.md +19 -0
  60. package/dist/ai/docs/nocobase/building-tips/ai-fill-js-block-form.md +1092 -0
  61. package/dist/ai/docs/nocobase/building-tips/operations-dashboard.md +513 -0
  62. package/dist/ai/docs/nocobase/data-sources/calendar/calendar-collection.md +100 -3
  63. package/dist/ai/docs/nocobase/data-sources/collection-comment/index.md +92 -39
  64. package/dist/ai/docs/nocobase/data-sources/collection-sql/index.md +150 -29
  65. package/dist/ai/docs/nocobase/data-sources/collection-tree/index.md +93 -5
  66. package/dist/ai/docs/nocobase/data-sources/collection-view/index.md +226 -4
  67. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/china-region.md +122 -5
  68. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/collection-select.md +105 -4
  69. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/json.md +102 -4
  70. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/nano-id.md +104 -4
  71. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/snowflake-id.md +108 -4
  72. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/sort.md +3 -19
  73. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/uuid.md +104 -4
  74. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/associations/index.md +44 -8
  75. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/color.md +102 -4
  76. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/email.md +104 -4
  77. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/icon.md +102 -4
  78. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/input.md +112 -8
  79. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/integer.md +103 -4
  80. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/number.md +103 -4
  81. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/password.md +102 -4
  82. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/percent.md +104 -5
  83. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/phone.md +104 -4
  84. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/textarea.md +99 -8
  85. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/url.md +103 -4
  86. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/checkbox-group.md +105 -3
  87. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/checkbox.md +102 -4
  88. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/china-region.md +108 -5
  89. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/multiple-select.md +103 -5
  90. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/radio-group.md +106 -4
  91. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/select.md +103 -5
  92. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/date.md +102 -4
  93. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/datetime-without-tz.md +103 -5
  94. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/datetime.md +103 -5
  95. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/index.md +53 -47
  96. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/time.md +102 -4
  97. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/unix-timestamp.md +103 -5
  98. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/circle.md +102 -4
  99. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/line.md +103 -5
  100. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/point.md +102 -4
  101. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/polygon.md +102 -4
  102. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/index.md +62 -16
  103. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/media/markdown.md +104 -4
  104. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/media/rich-text.md +105 -5
  105. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/created-at.md +105 -5
  106. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/created-by.md +103 -5
  107. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/space.md +100 -6
  108. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/table-oid.md +102 -4
  109. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/updated-at.md +104 -5
  110. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/updated-by.md +104 -6
  111. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/validation.md +69 -56
  112. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection.md +32 -13
  113. package/dist/ai/docs/nocobase/data-sources/data-modeling/index.md +41 -33
  114. package/dist/ai/docs/nocobase/data-sources/data-source-external-mariadb/index.md +114 -6
  115. package/dist/ai/docs/nocobase/data-sources/data-source-external-mssql/index.md +117 -6
  116. package/dist/ai/docs/nocobase/data-sources/data-source-external-mysql/index.md +103 -6
  117. package/dist/ai/docs/nocobase/data-sources/data-source-external-nocobase/index.md +75 -73
  118. package/dist/ai/docs/nocobase/data-sources/data-source-external-oracle/index.md +129 -11
  119. package/dist/ai/docs/nocobase/data-sources/data-source-external-postgres/index.md +110 -6
  120. package/dist/ai/docs/nocobase/data-sources/data-source-kingbase/index.md +75 -49
  121. package/dist/ai/docs/nocobase/data-sources/data-source-main/general-collection.md +116 -15
  122. package/dist/ai/docs/nocobase/data-sources/data-source-main/index.md +92 -62
  123. package/dist/ai/docs/nocobase/data-sources/data-source-main/inheritance-collection.md +97 -10
  124. package/dist/ai/docs/nocobase/data-sources/data-source-manager/external-database.md +97 -58
  125. package/dist/ai/docs/nocobase/data-sources/data-source-manager/index.md +32 -24
  126. package/dist/ai/docs/nocobase/data-sources/data-source-rest-api/index.md +115 -153
  127. package/dist/ai/docs/nocobase/data-sources/external/clickhouse.md +124 -0
  128. package/dist/ai/docs/nocobase/data-sources/external/doris.md +130 -0
  129. package/dist/ai/docs/nocobase/data-sources/external/index.md +140 -0
  130. package/dist/ai/docs/nocobase/data-sources/external/kingbase.md +129 -0
  131. package/dist/ai/docs/nocobase/data-sources/external/mariadb.md +126 -0
  132. package/dist/ai/docs/nocobase/data-sources/external/mssql.md +129 -0
  133. package/dist/ai/docs/nocobase/data-sources/external/mysql.md +115 -0
  134. package/dist/ai/docs/nocobase/data-sources/external/nocobase.md +159 -0
  135. package/dist/ai/docs/nocobase/data-sources/external/oceanbase.md +126 -0
  136. package/dist/ai/docs/nocobase/data-sources/external/oracle.md +158 -0
  137. package/dist/ai/docs/nocobase/data-sources/external/postgresql.md +122 -0
  138. package/dist/ai/docs/nocobase/data-sources/external/rest-api.md +245 -0
  139. package/dist/ai/docs/nocobase/data-sources/field-attachment-url/index.md +100 -12
  140. package/dist/ai/docs/nocobase/data-sources/field-encryption/index.md +48 -47
  141. package/dist/ai/docs/nocobase/data-sources/field-formula/index.md +99 -5
  142. package/dist/ai/docs/nocobase/data-sources/field-markdown-vditor/index.md +105 -5
  143. package/dist/ai/docs/nocobase/data-sources/field-sequence/index.md +102 -5
  144. package/dist/ai/docs/nocobase/data-sources/field-signature/index.md +18 -16
  145. package/dist/ai/docs/nocobase/data-sources/field-sort/index.md +76 -73
  146. package/dist/ai/docs/nocobase/data-sources/file-manager/field-attachment.md +101 -7
  147. package/dist/ai/docs/nocobase/data-sources/file-manager/file-collection.md +101 -14
  148. package/dist/ai/docs/nocobase/data-sources/index.md +49 -33
  149. package/dist/ai/docs/nocobase/data-sources/main/index.md +130 -0
  150. package/dist/ai/docs/nocobase/data-sources/main/kingbase.md +147 -0
  151. package/dist/ai/docs/nocobase/data-sources/main/mariadb.md +59 -0
  152. package/dist/ai/docs/nocobase/data-sources/main/mysql.md +59 -0
  153. package/dist/ai/docs/nocobase/data-sources/main/oceanbase.md +62 -0
  154. package/dist/ai/docs/nocobase/data-sources/main/postgresql.md +61 -0
  155. package/dist/ai/docs/nocobase/development/index.md +9 -2
  156. package/dist/ai/docs/nocobase/file-manager/field-attachment.md +6 -0
  157. package/dist/ai/docs/nocobase/file-manager/file-preview/index.md +3 -12
  158. package/dist/ai/docs/nocobase/file-manager/stable-url.md +87 -0
  159. package/dist/ai/docs/nocobase/file-manager/storage/aliyun-oss.md +9 -0
  160. package/dist/ai/docs/nocobase/file-manager/storage/amazon-s3.md +9 -0
  161. package/dist/ai/docs/nocobase/file-manager/storage/index.md +66 -3
  162. package/dist/ai/docs/nocobase/file-manager/storage/local.md +12 -1
  163. package/dist/ai/docs/nocobase/file-manager/storage/migrate-to-s3-pro.md +269 -0
  164. package/dist/ai/docs/nocobase/file-manager/storage/s3-pro.md +58 -7
  165. package/dist/ai/docs/nocobase/file-manager/storage/tencent-cos.md +9 -0
  166. package/dist/ai/docs/nocobase/get-started/deployment/how-to-deploy-nocobase-faster.mdx +2 -2
  167. package/dist/ai/docs/nocobase/get-started/deployment/production.md +24 -2
  168. package/dist/ai/docs/nocobase/get-started/how-nocobase-works.mdx +8 -1
  169. package/dist/ai/docs/nocobase/get-started/installation/docker-caddy.mdx +178 -0
  170. package/dist/ai/docs/nocobase/get-started/installation/docker-nginx.mdx +179 -0
  171. package/dist/ai/docs/nocobase/get-started/installation/docker.mdx +118 -1
  172. package/dist/ai/docs/nocobase/get-started/installation/env.md +48 -5
  173. package/dist/ai/docs/nocobase/get-started/quickstart.md +6 -1
  174. package/dist/ai/docs/nocobase/get-started/system-requirements.md +9 -1
  175. package/dist/ai/docs/nocobase/index.md +8 -11
  176. package/dist/ai/docs/nocobase/interface-builder/blocks/data-blocks/comment.md +107 -0
  177. package/dist/ai/docs/nocobase/interface-builder/blocks/data-blocks/gantt.md +204 -0
  178. package/dist/ai/docs/nocobase/interface-builder/blocks/data-blocks/map.md +105 -0
  179. package/dist/ai/docs/nocobase/interface-builder/fields/field-settings/scan-input.md +43 -0
  180. package/dist/ai/docs/nocobase/interface-builder/fields/field-settings/validation-rules.md +6 -2
  181. package/dist/ai/docs/nocobase/interface-builder/index.md +7 -6
  182. package/dist/ai/docs/nocobase/interface-builder/ui-layout/desktop.md +97 -0
  183. package/dist/ai/docs/nocobase/interface-builder/ui-layout/index.md +50 -0
  184. package/dist/ai/docs/nocobase/interface-builder/ui-layout/mobile.md +133 -0
  185. package/dist/ai/docs/nocobase/multi-app/multi-app-vs-multi-portal-vs-multi-space.md +159 -0
  186. package/dist/ai/docs/nocobase/multi-app/multi-portal/index.md +195 -0
  187. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/index.md +6 -6
  188. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/cli.md +5 -9
  189. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/env.md +3 -3
  190. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/migration.md +1 -1
  191. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/index.md +11 -1
  192. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/reverse-proxy/caddy.md +16 -3
  193. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/reverse-proxy/index.md +2 -2
  194. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/reverse-proxy/nginx.md +17 -3
  195. package/dist/ai/docs/nocobase/ops-management/backup-manager/index.mdx +9 -7
  196. package/dist/ai/docs/nocobase/ops-management/migration-manager/built-in-tables.md +423 -0
  197. package/dist/ai/docs/nocobase/ops-management/migration-manager/index.md +12 -9
  198. package/dist/ai/docs/nocobase/ops-management/release-management/index.md +111 -24
  199. package/dist/ai/docs/nocobase/ops-management/version-control/index.md +22 -6
  200. package/dist/ai/docs/nocobase/plugin-development/client/index.md +1 -0
  201. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-acl/index.md +5 -3
  202. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-bulk-edit/index.md +5 -3
  203. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-bulk-update/index.md +5 -3
  204. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-custom-request/index.md +5 -2
  205. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-duplicate/index.md +4 -2
  206. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-export/index.md +4 -2
  207. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-export-pro/index.md +3 -1
  208. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-import/index.md +4 -2
  209. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-import-pro/index.md +3 -1
  210. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-print/index.md +3 -1
  211. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-template-print/index.md +5 -3
  212. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ai/index.md +6 -2
  213. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ai-gigachat/index.md +3 -1
  214. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ai-knowledge-base/index.md +2 -0
  215. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-api-doc/index.md +4 -2
  216. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-api-keys/index.md +5 -3
  217. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-app-sso/index.md +16 -0
  218. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-app-supervisor/index.md +5 -3
  219. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-async-task-manager/index.md +5 -3
  220. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-audit-logger/index.md +2 -0
  221. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-audit-logs/index.md +3 -1
  222. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth/index.md +3 -1
  223. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-cas/index.md +3 -1
  224. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-dingtalk/index.md +5 -3
  225. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-ldap/index.md +3 -1
  226. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-oidc/index.md +3 -1
  227. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-saml/index.md +3 -1
  228. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-sms/index.md +5 -3
  229. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-wecom/index.md +5 -3
  230. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-backup-restore/index.md +3 -1
  231. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-backups/index.md +5 -3
  232. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-comment/index.md +14 -0
  233. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-grid-card/index.md +4 -2
  234. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-iframe/index.md +3 -1
  235. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-list/index.md +3 -1
  236. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-markdown/index.md +4 -2
  237. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-multi-step-form/index.md +6 -1
  238. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-template/index.md +3 -1
  239. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-tree/index.md +3 -1
  240. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-workbench/index.md +3 -1
  241. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-calendar/index.md +4 -2
  242. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-charts/index.md +5 -1
  243. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-client/index.md +4 -2
  244. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-collection-fdw/index.md +3 -1
  245. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-collection-sql/index.md +3 -1
  246. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-collection-tree/index.md +3 -1
  247. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-comments/index.md +3 -1
  248. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-custom-brand/index.md +2 -0
  249. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-custom-variables/index.md +3 -1
  250. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-clickhouse/index.md +5 -3
  251. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-doris/index.md +5 -3
  252. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-mariadb/index.md +3 -1
  253. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-mssql/index.md +3 -1
  254. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-mysql/index.md +3 -1
  255. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-nocobase/index.md +16 -0
  256. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-oracle/index.md +5 -3
  257. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-postgres/index.md +3 -1
  258. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-kingbase/index.md +4 -2
  259. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-main/index.md +5 -3
  260. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-manager/index.md +5 -3
  261. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-rest-api/index.md +3 -1
  262. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-visualization/index.md +5 -3
  263. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-visualization-echarts/index.md +8 -4
  264. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-departments/index.md +3 -1
  265. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-email-manager/index.md +4 -2
  266. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-embed/index.md +4 -1
  267. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-environment-variables/index.md +3 -1
  268. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-error-handler/index.md +3 -1
  269. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-attachment-url/index.md +4 -2
  270. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-china-region/index.md +5 -3
  271. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-code/index.md +3 -1
  272. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-component-mask/index.md +5 -3
  273. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-encryption/index.md +2 -0
  274. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-formula/index.md +3 -1
  275. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-m2m-array/index.md +5 -3
  276. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-markdown-vditor/index.md +4 -2
  277. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-sequence/index.md +3 -1
  278. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-signature/index.md +3 -1
  279. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-sort/index.md +3 -1
  280. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-file-manager/index.md +5 -3
  281. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-file-previewer-office/index.md +5 -3
  282. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-file-storage-s3-pro/index.md +4 -2
  283. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-flow-engine/index.md +4 -2
  284. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-form-drafts/index.md +5 -3
  285. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-gantt/index.md +3 -1
  286. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-graph-collection-manager/index.md +8 -1
  287. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-idp-oauth/index.md +14 -0
  288. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ip-restriction/index.md +2 -0
  289. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-kanban/index.md +4 -2
  290. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-license/index.md +3 -1
  291. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-locale-tester/index.md +3 -1
  292. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-localization/index.md +4 -2
  293. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-lock-adapter-redis/index.md +2 -0
  294. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-logger/index.md +4 -2
  295. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-map/index.md +87 -3
  296. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-mcp-server/index.md +14 -0
  297. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-migration-manager/index.md +5 -3
  298. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-mobile/index.md +8 -1
  299. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-mobile-client/index.md +7 -3
  300. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-app-manager/index.md +3 -1
  301. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-app-share-collection/index.md +3 -1
  302. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-keyword-filter/index.md +4 -1
  303. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-portal/index.md +16 -0
  304. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-space/index.md +5 -3
  305. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-notification-email/index.md +3 -1
  306. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-notification-in-app-message/index.md +3 -1
  307. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-notification-manager/index.md +5 -3
  308. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-password-policy/index.md +2 -0
  309. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-public-forms/index.md +5 -3
  310. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-pubsub-adapter-redis/index.md +2 -0
  311. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-queue-adapter-rabbitmq/index.md +2 -0
  312. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-queue-adapter-redis/index.md +2 -0
  313. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-record-history/index.md +2 -0
  314. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-request-encryption/index.md +2 -0
  315. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-snapshot-field/index.md +6 -4
  316. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-system-settings/index.md +3 -1
  317. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-telemetry/index.md +2 -0
  318. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-telemetry-prometheus/index.md +2 -0
  319. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-text-copy/index.md +5 -3
  320. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-theme-editor/index.md +4 -2
  321. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-two-factor-authentication/index.md +2 -0
  322. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ui-layout/index.md +14 -0
  323. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ui-schema-storage/index.md +4 -2
  324. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ui-templates/index.md +4 -2
  325. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-user-data-sync/index.md +5 -3
  326. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-users/index.md +4 -2
  327. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-verification/index.md +3 -1
  328. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-verification-totp-authenticator/index.md +2 -0
  329. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-version-control/index.md +3 -1
  330. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workerid-allocator-redis/index.md +4 -2
  331. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow/index.md +3 -1
  332. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-action-trigger/index.md +4 -2
  333. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-aggregate/index.md +5 -3
  334. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-approval/index.md +4 -2
  335. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-cc/index.md +3 -1
  336. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-custom-action-trigger/index.md +4 -2
  337. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-date-calculation/index.md +5 -3
  338. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-delay/index.md +4 -2
  339. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-dynamic-calculation/index.md +6 -4
  340. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-javascript/index.md +5 -3
  341. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-json-query/index.md +5 -3
  342. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-json-variable-mapping/index.md +3 -1
  343. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-loop/index.md +4 -2
  344. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-mailer/index.md +5 -3
  345. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-manual/index.md +5 -3
  346. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-notification/index.md +5 -3
  347. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-parallel/index.md +5 -3
  348. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-request/index.md +5 -3
  349. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-request-interceptor/index.md +4 -2
  350. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-response-message/index.md +4 -2
  351. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-sql/index.md +5 -3
  352. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-subflow/index.md +3 -1
  353. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-test/index.md +4 -2
  354. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-transaction/index.md +16 -0
  355. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-variable/index.md +5 -3
  356. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-webhook/index.md +4 -2
  357. package/dist/ai/docs/nocobase/runjs/context/ai.md +206 -0
  358. package/dist/ai/docs/nocobase/security/guide.md +23 -0
  359. package/dist/ai/docs/nocobase/shared-components/create-form-registry.md +38 -0
  360. package/dist/ai/docs/nocobase/shared-components/filter/collection-filter-panel.md +44 -0
  361. package/dist/ai/docs/nocobase/shared-components/filter/index.md +44 -0
  362. package/dist/ai/docs/nocobase/shared-components/form/code-scanner.md +34 -0
  363. package/dist/ai/docs/nocobase/shared-components/form/dialog-form-layout.md +45 -0
  364. package/dist/ai/docs/nocobase/shared-components/form/drawer-form-layout.md +45 -0
  365. package/dist/ai/docs/nocobase/shared-components/form/env-variable-input.md +30 -0
  366. package/dist/ai/docs/nocobase/shared-components/form/file-size-input.md +24 -0
  367. package/dist/ai/docs/nocobase/shared-components/form/json-text-area.md +28 -0
  368. package/dist/ai/docs/nocobase/shared-components/form/password-input.md +23 -0
  369. package/dist/ai/docs/nocobase/shared-components/form/remote-select.md +34 -0
  370. package/dist/ai/docs/nocobase/shared-components/form/scan-input.md +27 -0
  371. package/dist/ai/docs/nocobase/shared-components/form/typed-variable-input.md +30 -0
  372. package/dist/ai/docs/nocobase/shared-components/form/variable-input.md +35 -0
  373. package/dist/ai/docs/nocobase/shared-components/form/variable-json-text-area.md +33 -0
  374. package/dist/ai/docs/nocobase/shared-components/form/variable-text-area.md +33 -0
  375. package/dist/ai/docs/nocobase/shared-components/icon.md +21 -0
  376. package/dist/ai/docs/nocobase/shared-components/index.md +70 -0
  377. package/dist/ai/docs/nocobase/shared-components/table/index.md +39 -0
  378. package/dist/ai/docs/nocobase/shared-components/table/sort-handle.md +37 -0
  379. package/dist/ai/docs/nocobase/shared-components/table/sortable-row.md +36 -0
  380. package/dist/ai/docs/nocobase/tutorials/index.md +20 -1
  381. package/dist/ai/docs/nocobase/workflow/development/api.md +259 -77
  382. package/dist/ai/docs/nocobase/workflow/development/index.md +2 -1
  383. package/dist/ai/docs/nocobase/workflow/development/migration.md +319 -0
  384. package/dist/ai/docs/nocobase/workflow/development/node.md +84 -51
  385. package/dist/ai/docs/nocobase/workflow/development/trigger.md +122 -20
  386. package/dist/ai/docs/nocobase/workflow/nodes/index.md +2 -1
  387. package/dist/ai/docs/nocobase/workflow/nodes/transaction.md +81 -0
  388. package/dist/ai/tools/executeFrontendTool.d.ts +10 -0
  389. package/dist/ai/tools/executeFrontendTool.js +86 -0
  390. package/dist/ai/tools/formFiller.js +4 -3
  391. package/dist/ai/tools/loadFrontendTool.d.ts +10 -0
  392. package/dist/ai/tools/loadFrontendTool.js +99 -0
  393. package/dist/ai/tools/subAgentWebSearch.js +20 -15
  394. package/dist/client/23.65ea8c37cd4b884b.js +10 -0
  395. package/dist/client/264.cc98933ef65608b6.js +10 -0
  396. package/dist/client/336.7a8a8853196ad779.js +11 -0
  397. package/dist/client/372.49163fac65cef81c.js +10 -0
  398. package/dist/client/416.92b74ca47e4099c4.js +10 -0
  399. package/dist/client/446.d63c38d0309fe250.js +10 -0
  400. package/dist/client/525.94dd4136c1361477.js +10 -0
  401. package/dist/client/663.680bcf6272a8504d.js +10 -0
  402. package/dist/client/681.399948c18d753667.js +10 -0
  403. package/dist/client/705.19b642db34de438a.js +10 -0
  404. package/dist/client/ai-employees/1.x/selector/AIContextCollector.d.ts +1 -4
  405. package/dist/client/ai-employees/permissions/PermissionsTab.d.ts +21 -5
  406. package/dist/client/index.d.ts +15 -19
  407. package/dist/client/index.js +8 -8
  408. package/dist/client/workflow/nodes/employee/index.d.ts +2 -23
  409. package/dist/client/workflow/nodes/llm/index.d.ts +2 -52
  410. package/dist/client/workflow/triggers/ai-employee/index.d.ts +2 -83
  411. package/dist/client-v2/23.1bcb6986b40723d8.js +10 -0
  412. package/dist/client-v2/264.be92ff6a4d2612f1.js +10 -0
  413. package/dist/client-v2/336.e406470429e0670e.js +11 -0
  414. package/dist/client-v2/372.387161cdeb106987.js +10 -0
  415. package/dist/client-v2/406.341be51205c674e0.js +10 -0
  416. package/dist/client-v2/416.0e1c2d9cde43b83d.js +10 -0
  417. package/dist/client-v2/446.073d450882db29fd.js +10 -0
  418. package/dist/client-v2/457.d72febb89e88fc00.js +10 -0
  419. package/dist/client-v2/663.342341f0b2b412d8.js +10 -0
  420. package/dist/client-v2/681.082f4f1c7b841983.js +10 -0
  421. package/dist/client-v2/705.8dc34d43f02f322c.js +10 -0
  422. package/dist/{client/ai-employees/admin/AvatarSelect.d.ts → client-v2/ai-employees/AIEmployeeDropdown.d.ts} +8 -9
  423. package/dist/client-v2/ai-employees/AIEmployeeShortcut.d.ts +9 -2
  424. package/dist/{client → client-v2}/ai-employees/AddContextButton.d.ts +1 -1
  425. package/dist/{client → client-v2}/ai-employees/ai-coding/AICodingButton.d.ts +2 -1
  426. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/Actions.d.ts +2 -4
  427. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/AddLLMModal.d.ts +2 -4
  428. package/dist/client-v2/ai-employees/chatbox/components/Attachments.d.ts +27 -0
  429. package/dist/{client/ai-employees/permissions/Permissions.d.ts → client-v2/ai-employees/chatbox/components/ChatBox.d.ts} +2 -2
  430. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ChatBoxLayout.d.ts +1 -1
  431. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ContextItem.d.ts +1 -1
  432. package/dist/{client/ai-employees/admin/Employees.d.ts → client-v2/ai-employees/chatbox/components/DebugPanel.d.ts} +1 -1
  433. package/dist/{client/ai-employees/chatbox/markdown/Code.d.ts → client-v2/ai-employees/chatbox/components/Markdown.d.ts} +12 -5
  434. package/dist/{client/ai-employees/admin/ProfileSettings.d.ts → client-v2/ai-employees/chatbox/components/MessageContent.d.ts} +3 -2
  435. package/dist/client-v2/ai-employees/chatbox/components/MessageRenderers.d.ts +39 -0
  436. package/dist/{client/ai-employees/chatbox/generative-ui → client-v2/ai-employees/chatbox/components}/ToolCard.d.ts +7 -5
  437. package/dist/{client/ai-employees/admin/datasource/components/basic → client-v2/ai-employees/chatbox/components}/index.d.ts +5 -2
  438. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChat.d.ts +21 -22
  439. package/dist/client-v2/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +3 -2
  440. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChatConversationActions.d.ts +2 -2
  441. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChatMessageActions.d.ts +8 -5
  442. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useToolCallActions.d.ts +1 -1
  443. package/dist/client-v2/ai-employees/chatbox/hooks/useUploadFiles.d.ts +46 -0
  444. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useWorkflowTasks.d.ts +1 -1
  445. package/dist/{client → client-v2}/ai-employees/chatbox/model.d.ts +9 -2
  446. package/dist/client-v2/ai-employees/chatbox/roles.d.ts +162 -0
  447. package/dist/client-v2/ai-employees/chatbox/stores/chat-box.d.ts +1 -49
  448. package/dist/client-v2/ai-employees/chatbox/stores/chat-conversations.d.ts +2 -19
  449. package/dist/client-v2/ai-employees/chatbox/stores/chat-messages.d.ts +1 -46
  450. package/dist/{client → client-v2}/ai-employees/chatbox/stores/chat-tool-call.d.ts +1 -15
  451. package/dist/client-v2/ai-employees/chatbox/stores/chat-tools.d.ts +30 -0
  452. package/dist/client-v2/ai-employees/chatbox/stores/create-selectors.d.ts +31 -3
  453. package/dist/{client/ai-employees/chatbox/conversations/common.d.ts → client-v2/ai-employees/chatbox/stores/workflow-tasks.d.ts} +21 -4
  454. package/dist/client-v2/ai-employees/chatbox/utils/normalizeTriggerTaskOptions.d.ts +19 -0
  455. package/dist/{client → client-v2}/ai-employees/chatbox/utils.d.ts +26 -6
  456. package/dist/{client/ai-employees/data-visualization/context.d.ts → client-v2/ai-employees/context/chart-config.d.ts} +1 -1
  457. package/dist/{client → client-v2}/ai-employees/context/code-editor.d.ts +1 -1
  458. package/dist/{client → client-v2}/ai-employees/context/datasource.d.ts +1 -1
  459. package/dist/{client → client-v2}/ai-employees/context/flow-models.d.ts +1 -1
  460. package/dist/{client/ai-employees/admin/datasource/components/DatasourceSettingDetail.d.ts → client-v2/ai-employees/data-modeling/setup.d.ts} +6 -5
  461. package/dist/{client → client-v2}/ai-employees/datasource/DatasourceSelector.d.ts +6 -2
  462. package/dist/{client/ai-employees/admin/datasource/flow-models/DatasourceSettingModel.d.ts → client-v2/ai-employees/flow/index.d.ts} +4 -6
  463. package/dist/client-v2/ai-employees/form-filler/tools/index.d.ts +18 -0
  464. package/dist/{client/ai-employees/ai-coding/tools/index.d.ts → client-v2/ai-employees/frontend-tools.d.ts} +3 -3
  465. package/dist/{client → client-v2}/ai-employees/stores/ai-selection.d.ts +4 -4
  466. package/dist/{client → client-v2}/ai-employees/stores/dialog-controller.d.ts +4 -4
  467. package/dist/{client/ai-employees/business-report/ui → client-v2/ai-employees/tools}/BusinessReportCard.d.ts +2 -2
  468. package/dist/{client/ai-employees/business-report/ui → client-v2/ai-employees/tools}/BusinessReportModal.d.ts +2 -2
  469. package/dist/{client/ai-employees/1.x/selector/withAISelectable.d.ts → client-v2/ai-employees/tools/ChartGeneratorCard.d.ts} +5 -4
  470. package/dist/{client/ai-employees/ai-coding/ui → client-v2/ai-employees/tools}/CodeToolCard.d.ts +1 -1
  471. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools}/DataModelingCard.d.ts +3 -5
  472. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools}/DataModelingModal.d.ts +4 -6
  473. package/dist/{client/ai-employees/sub-agents/ui → client-v2/ai-employees/tools}/SubAgentDispatchCard.d.ts +4 -9
  474. package/dist/{client/ai-employees/AISettingsProvider.d.ts → client-v2/ai-employees/tools/SuggestionsOptionsCard.d.ts} +6 -8
  475. package/dist/{client/ai-employees/workflow-tasks/ui → client-v2/ai-employees/tools}/WorkflowTaskOutputCard.d.ts +7 -2
  476. package/dist/{client/ai-employees/ai-coding/tools/context-tools.d.ts → client-v2/ai-employees/tools/ai-coding.d.ts} +3 -1
  477. package/dist/client-v2/ai-employees/tools/business-report-utils.d.ts +45 -0
  478. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools/data-modeling}/CollectionNode.d.ts +2 -3
  479. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools/data-modeling}/Diagram.d.ts +1 -1
  480. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools/data-modeling}/Table.d.ts +2 -2
  481. package/dist/client-v2/ai-employees/tools/data-modeling/legacy-template.d.ts +13 -0
  482. package/dist/client-v2/ai-employees/tools/data-modeling/runtime.d.ts +15 -0
  483. package/dist/{client/ai-employees → client-v2/ai-employees/tools}/data-modeling/types.d.ts +27 -4
  484. package/dist/client-v2/ai-employees/tools/data-modeling/useFieldInterfaceOptions.d.ts +151 -0
  485. package/dist/{client/ai-employees/data-visualization/tools/index.d.ts → client-v2/ai-employees/tools/data-visualization.d.ts} +1 -1
  486. package/dist/client-v2/ai-employees/tools/index.d.ts +32 -0
  487. package/dist/client-v2/ai-employees/types.d.ts +104 -7
  488. package/dist/client-v2/components/RemoteSelect.d.ts +43 -0
  489. package/dist/{client → client-v2}/debug-logger.d.ts +2 -2
  490. package/dist/client-v2/f0053e745af0ad03.svg +50 -0
  491. package/dist/client-v2/features/components.d.ts +14 -0
  492. package/dist/{client → client-v2}/features/feature-manager.d.ts +2 -0
  493. package/dist/{client → client-v2}/features/index.d.ts +6 -1
  494. package/dist/{client → client-v2}/features/vector-database-provider.d.ts +2 -2
  495. package/dist/client-v2/features/vector-store-provider.d.ts +38 -0
  496. package/dist/client-v2/index.d.ts +12 -6
  497. package/dist/client-v2/index.js +37 -1
  498. package/dist/client-v2/llm-providers/forms.d.ts +44 -0
  499. package/dist/client-v2/llm-providers/index.d.ts +24 -0
  500. package/dist/{client/ai-employees/chart-generator/tools/index.d.ts → client-v2/llm-services/utils.d.ts} +5 -2
  501. package/dist/client-v2/locale.d.ts +14 -0
  502. package/dist/{client → client-v2}/manager/ai-feature-manager.d.ts +2 -1
  503. package/dist/client-v2/manager/ai-manager.d.ts +57 -0
  504. package/dist/client-v2/manager/frontend-tool-registry.d.ts +30 -0
  505. package/dist/client-v2/models/ai-employees/AIEmployeeActionModel.d.ts +33 -0
  506. package/dist/client-v2/models/ai-employees/AIEmployeeShortcutModel.d.ts +44 -0
  507. package/dist/client-v2/pages/AdminSettingsPage.d.ts +24 -0
  508. package/dist/client-v2/pages/DatasourceSettingsPage.d.ts +62 -0
  509. package/dist/client-v2/pages/EmployeesPage.d.ts +63 -0
  510. package/dist/client-v2/pages/LLMServicesPage.d.ts +75 -0
  511. package/dist/client-v2/pages/MCPSettingsPage.d.ts +73 -0
  512. package/dist/client-v2/pages/drawerWidth.d.ts +10 -0
  513. package/dist/client-v2/pages/permissions/Permissions.d.ts +67 -0
  514. package/dist/client-v2/pages/permissions/PermissionsTab.d.ts +12 -0
  515. package/dist/client-v2/pages/useUnsavedChangesBeforeClose.d.ts +29 -0
  516. package/dist/client-v2/plugin.d.ts +33 -0
  517. package/dist/client-v2/repositories/AIConfigRepository.d.ts +3 -23
  518. package/dist/client-v2/runjs/registerAIEmployeeRunJSFacade.d.ts +20 -0
  519. package/dist/client-v2/workflow/components/FormValueRegistry.d.ts +12 -0
  520. package/dist/{client/components/ListCollapse.d.ts → client-v2/workflow/components/WorkflowListCollapse.d.ts} +5 -4
  521. package/dist/client-v2/workflow/constants.d.ts +26 -0
  522. package/dist/client-v2/workflow/nodes/employee/components/AIEmployeeFieldset.d.ts +11 -0
  523. package/dist/{client/ai-employees/common/CodeHighlight.d.ts → client-v2/workflow/nodes/employee/components/AIEmployeeSelect.d.ts} +5 -6
  524. package/dist/{client/ai-employees/ContextAwareTooltip.d.ts → client-v2/workflow/nodes/employee/components/Assignees.d.ts} +2 -1
  525. package/dist/client-v2/workflow/nodes/employee/components/FeedbackSettings.d.ts +17 -0
  526. package/dist/client-v2/workflow/nodes/employee/components/FileInputs.d.ts +11 -0
  527. package/dist/{client/ai-employees/AIEmployeesProvider.d.ts → client-v2/workflow/nodes/employee/components/MessageInputs.d.ts} +2 -3
  528. package/dist/client-v2/workflow/nodes/employee/components/ModelOptions.d.ts +17 -0
  529. package/dist/{client/ai-employees/admin/datasource/components/basic/CollectionCascader.d.ts → client-v2/workflow/nodes/employee/components/SkillSettings.d.ts} +6 -3
  530. package/dist/client-v2/workflow/nodes/employee/components/StructuredOutput.d.ts +11 -0
  531. package/dist/client-v2/workflow/nodes/employee/components/UserInput.d.ts +18 -0
  532. package/dist/client-v2/workflow/nodes/employee/components/WebSearchOptions.d.ts +16 -0
  533. package/dist/client-v2/workflow/nodes/employee/index.d.ts +23 -0
  534. package/dist/{client/ai-employees/AIEmployeeListItem.d.ts → client-v2/workflow/nodes/llm/components/LLMFieldset.d.ts} +3 -5
  535. package/dist/{client/admin-settings/AdminSettings.d.ts → client-v2/workflow/nodes/llm/components/Messages.d.ts} +2 -1
  536. package/dist/client-v2/workflow/nodes/llm/components/StructuredOutput.d.ts +11 -0
  537. package/dist/client-v2/workflow/nodes/llm/index.d.ts +30 -0
  538. package/dist/{client/ai-employees/1.x/selector/BlockSelector.d.ts → client-v2/workflow/register.d.ts} +2 -6
  539. package/dist/client-v2/workflow/triggers/ai-employee/AIEmployeeTriggerConfig.d.ts +11 -0
  540. package/dist/client-v2/workflow/triggers/ai-employee/Parameters.d.ts +11 -0
  541. package/dist/client-v2/workflow/triggers/ai-employee/index.d.ts +25 -0
  542. package/dist/client-v2/workflow/types.d.ts +128 -0
  543. package/dist/collections/ai-mcp-clients.js +5 -0
  544. package/dist/common/frontend-tools.d.ts +26 -0
  545. package/dist/common/frontend-tools.js +57 -0
  546. package/dist/externalVersion.js +24 -29
  547. package/dist/locale/en-US.json +62 -3
  548. package/dist/locale/zh-CN.json +62 -3
  549. package/dist/node_modules/@langchain/mistralai/LICENSE +21 -0
  550. package/dist/node_modules/@langchain/mistralai/dist/chat_models.cjs +859 -0
  551. package/dist/node_modules/@langchain/mistralai/dist/chat_models.d.cts +541 -0
  552. package/dist/node_modules/@langchain/mistralai/dist/chat_models.d.ts +541 -0
  553. package/dist/node_modules/@langchain/mistralai/dist/chat_models.js +857 -0
  554. package/dist/node_modules/@langchain/mistralai/dist/embeddings.cjs +140 -0
  555. package/dist/node_modules/@langchain/mistralai/dist/embeddings.d.cts +116 -0
  556. package/dist/node_modules/@langchain/mistralai/dist/embeddings.d.ts +116 -0
  557. package/dist/node_modules/@langchain/mistralai/dist/embeddings.js +139 -0
  558. package/dist/node_modules/@langchain/mistralai/dist/index.cjs +21 -0
  559. package/dist/node_modules/@langchain/mistralai/dist/index.d.cts +4 -0
  560. package/dist/node_modules/@langchain/mistralai/dist/index.d.ts +4 -0
  561. package/dist/node_modules/@langchain/mistralai/dist/index.js +5 -0
  562. package/dist/node_modules/@langchain/mistralai/dist/llms.cjs +275 -0
  563. package/dist/node_modules/@langchain/mistralai/dist/llms.d.cts +147 -0
  564. package/dist/node_modules/@langchain/mistralai/dist/llms.d.ts +147 -0
  565. package/dist/node_modules/@langchain/mistralai/dist/llms.js +274 -0
  566. package/dist/node_modules/@langchain/mistralai/dist/utils.cjs +61 -0
  567. package/dist/node_modules/@langchain/mistralai/dist/utils.js +59 -0
  568. package/dist/node_modules/@langchain/mistralai/package.json +1 -0
  569. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.cjs +25 -34
  570. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.d.cts +10 -22
  571. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.d.ts +10 -22
  572. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.js +17 -25
  573. package/dist/node_modules/@langchain/xai/dist/chat_models/index.cjs +2 -2
  574. package/dist/node_modules/@langchain/xai/dist/chat_models/index.d.cts +3 -0
  575. package/dist/node_modules/@langchain/xai/dist/chat_models/index.js +3 -2
  576. package/dist/node_modules/@langchain/xai/dist/chat_models/responses-types.d.cts +5 -12
  577. package/dist/node_modules/@langchain/xai/dist/chat_models/responses-types.d.ts +5 -12
  578. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.cjs +18 -19
  579. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.d.cts +1 -1
  580. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.d.ts +1 -1
  581. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.js +13 -13
  582. package/dist/node_modules/@langchain/xai/dist/converters/responses.cjs +16 -22
  583. package/dist/node_modules/@langchain/xai/dist/converters/responses.js +7 -12
  584. package/dist/node_modules/@langchain/xai/dist/index.cjs +2 -2
  585. package/dist/node_modules/@langchain/xai/dist/index.d.ts +0 -1
  586. package/dist/node_modules/@langchain/xai/dist/index.js +1 -2
  587. package/dist/node_modules/@langchain/xai/dist/live_search.cjs +4 -5
  588. package/dist/node_modules/@langchain/xai/dist/live_search.js +4 -4
  589. package/dist/node_modules/@langchain/xai/dist/profiles.cjs +81 -97
  590. package/dist/node_modules/@langchain/xai/dist/profiles.js +81 -96
  591. package/dist/node_modules/@langchain/xai/dist/tools/code_execution.cjs +1 -2
  592. package/dist/node_modules/@langchain/xai/dist/tools/code_execution.js +1 -1
  593. package/dist/node_modules/@langchain/xai/dist/tools/collections_search.cjs +1 -2
  594. package/dist/node_modules/@langchain/xai/dist/tools/collections_search.js +1 -1
  595. package/dist/node_modules/@langchain/xai/dist/tools/index.cjs +6 -7
  596. package/dist/node_modules/@langchain/xai/dist/tools/index.d.cts +1 -2
  597. package/dist/node_modules/@langchain/xai/dist/tools/index.d.ts +1 -2
  598. package/dist/node_modules/@langchain/xai/dist/tools/index.js +6 -7
  599. package/dist/node_modules/@langchain/xai/dist/tools/live_search.cjs +3 -7
  600. package/dist/node_modules/@langchain/xai/dist/tools/live_search.d.cts +1 -2
  601. package/dist/node_modules/@langchain/xai/dist/tools/live_search.d.ts +1 -2
  602. package/dist/node_modules/@langchain/xai/dist/tools/live_search.js +3 -6
  603. package/dist/node_modules/@langchain/xai/dist/tools/web_search.cjs +1 -2
  604. package/dist/node_modules/@langchain/xai/dist/tools/web_search.js +1 -1
  605. package/dist/node_modules/@langchain/xai/dist/tools/x_search.cjs +1 -2
  606. package/dist/node_modules/@langchain/xai/dist/tools/x_search.js +1 -1
  607. package/dist/node_modules/@langchain/xai/package.json +1 -1
  608. package/dist/node_modules/fs-extra/package.json +1 -1
  609. package/dist/node_modules/jsonrepair/package.json +1 -1
  610. package/dist/node_modules/just-bash/package.json +1 -1
  611. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  612. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts +1 -1
  613. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts +1 -1
  614. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts +1 -1
  615. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts +1 -1
  616. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts +1 -1
  617. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts +1 -1
  618. package/dist/node_modules/openai/api-promise.d.mts +1 -0
  619. package/dist/node_modules/openai/api-promise.d.ts +1 -0
  620. package/dist/node_modules/openai/auth/index.d.mts +4 -0
  621. package/dist/node_modules/openai/auth/index.d.ts +4 -0
  622. package/dist/node_modules/openai/auth/index.js +11 -0
  623. package/dist/node_modules/openai/auth/subject-token-providers.d.mts +20 -0
  624. package/dist/node_modules/openai/auth/subject-token-providers.d.ts +20 -0
  625. package/dist/node_modules/openai/auth/subject-token-providers.js +127 -0
  626. package/dist/node_modules/openai/auth/types.d.mts +23 -0
  627. package/dist/node_modules/openai/auth/types.d.ts +23 -0
  628. package/dist/node_modules/openai/auth/types.js +3 -0
  629. package/dist/node_modules/openai/auth/workload-identity-auth.d.mts +16 -0
  630. package/dist/node_modules/openai/auth/workload-identity-auth.d.ts +16 -0
  631. package/dist/node_modules/openai/auth/workload-identity-auth.js +95 -0
  632. package/dist/node_modules/openai/azure.d.mts +6 -2
  633. package/dist/node_modules/openai/azure.d.ts +6 -2
  634. package/dist/node_modules/openai/azure.js +4 -3
  635. package/dist/node_modules/openai/beta/realtime/websocket.js +7 -2
  636. package/dist/node_modules/openai/beta/realtime/ws.js +5 -1
  637. package/dist/node_modules/openai/bin/migration-config.json +1120 -0
  638. package/dist/node_modules/openai/client.d.mts +72 -10
  639. package/dist/node_modules/openai/client.d.ts +72 -10
  640. package/dist/node_modules/openai/client.js +207 -28
  641. package/dist/node_modules/openai/core/EventEmitter.d.mts +56 -0
  642. package/dist/node_modules/openai/core/EventEmitter.d.ts +56 -0
  643. package/dist/node_modules/openai/core/EventEmitter.js +93 -0
  644. package/dist/node_modules/openai/core/error.d.mts +15 -0
  645. package/dist/node_modules/openai/core/error.d.ts +15 -0
  646. package/dist/node_modules/openai/core/error.js +34 -1
  647. package/dist/node_modules/openai/core/pagination.d.mts +18 -0
  648. package/dist/node_modules/openai/core/pagination.d.ts +18 -0
  649. package/dist/node_modules/openai/core/pagination.js +32 -1
  650. package/dist/node_modules/openai/core/streaming.d.mts +1 -1
  651. package/dist/node_modules/openai/core/streaming.d.ts +1 -1
  652. package/dist/node_modules/openai/core/streaming.js +2 -2
  653. package/dist/node_modules/openai/error.d.mts +1 -0
  654. package/dist/node_modules/openai/error.d.ts +1 -0
  655. package/dist/node_modules/openai/index.d.mts +1 -1
  656. package/dist/node_modules/openai/index.d.ts +1 -1
  657. package/dist/node_modules/openai/index.js +1 -1
  658. package/dist/node_modules/openai/internal/parse.js +2 -2
  659. package/dist/node_modules/openai/internal/qs/index.d.mts +2 -2
  660. package/dist/node_modules/openai/internal/qs/index.d.ts +2 -2
  661. package/dist/node_modules/openai/internal/request-options.d.mts +5 -0
  662. package/dist/node_modules/openai/internal/request-options.d.ts +5 -0
  663. package/dist/node_modules/openai/internal/shims.d.mts +6 -0
  664. package/dist/node_modules/openai/internal/shims.d.ts +6 -0
  665. package/dist/node_modules/openai/internal/types.d.mts +17 -11
  666. package/dist/node_modules/openai/internal/types.d.ts +17 -11
  667. package/dist/node_modules/openai/internal/utils/env.js +2 -2
  668. package/dist/node_modules/openai/internal/utils/log.js +2 -0
  669. package/dist/node_modules/openai/internal/utils/query.d.mts +2 -0
  670. package/dist/node_modules/openai/internal/utils/query.d.ts +2 -0
  671. package/dist/node_modules/openai/internal/utils/query.js +10 -0
  672. package/dist/node_modules/openai/internal/utils.d.mts +1 -0
  673. package/dist/node_modules/openai/internal/utils.d.ts +1 -0
  674. package/dist/node_modules/openai/internal/utils.js +1 -0
  675. package/dist/node_modules/openai/internal/ws-adapter-browser.d.mts +34 -0
  676. package/dist/node_modules/openai/internal/ws-adapter-browser.d.ts +34 -0
  677. package/dist/node_modules/openai/internal/ws-adapter-browser.js +88 -0
  678. package/dist/node_modules/openai/internal/ws-adapter-node.d.mts +27 -0
  679. package/dist/node_modules/openai/internal/ws-adapter-node.d.ts +27 -0
  680. package/dist/node_modules/openai/internal/ws-adapter-node.js +90 -0
  681. package/dist/node_modules/openai/internal/ws-adapter.d.mts +24 -0
  682. package/dist/node_modules/openai/internal/ws-adapter.d.ts +24 -0
  683. package/dist/node_modules/openai/internal/ws-adapter.js +11 -0
  684. package/dist/node_modules/openai/internal/ws.d.mts +80 -0
  685. package/dist/node_modules/openai/internal/ws.d.ts +80 -0
  686. package/dist/node_modules/openai/internal/ws.js +153 -0
  687. package/dist/node_modules/openai/package.json +1 -1
  688. package/dist/node_modules/openai/pagination.d.mts +1 -0
  689. package/dist/node_modules/openai/pagination.d.ts +1 -0
  690. package/dist/node_modules/openai/realtime/websocket.js +7 -2
  691. package/dist/node_modules/openai/realtime/ws.js +5 -1
  692. package/dist/node_modules/openai/resource.d.mts +1 -0
  693. package/dist/node_modules/openai/resource.d.ts +1 -0
  694. package/dist/node_modules/openai/resources/admin/admin.d.mts +10 -0
  695. package/dist/node_modules/openai/resources/admin/admin.d.ts +10 -0
  696. package/dist/node_modules/openai/resources/admin/admin.js +17 -0
  697. package/dist/node_modules/openai/resources/admin/index.d.mts +3 -0
  698. package/dist/node_modules/openai/resources/admin/index.d.ts +3 -0
  699. package/dist/node_modules/openai/resources/admin/index.js +9 -0
  700. package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.d.mts +140 -0
  701. package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.d.ts +140 -0
  702. package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.js +81 -0
  703. package/dist/node_modules/openai/resources/admin/organization/audit-logs.d.mts +1267 -0
  704. package/dist/node_modules/openai/resources/admin/organization/audit-logs.d.ts +1267 -0
  705. package/dist/node_modules/openai/resources/admin/organization/audit-logs.js +31 -0
  706. package/dist/node_modules/openai/resources/admin/organization/certificates.d.mts +322 -0
  707. package/dist/node_modules/openai/resources/admin/organization/certificates.d.ts +322 -0
  708. package/dist/node_modules/openai/resources/admin/organization/certificates.js +144 -0
  709. package/dist/node_modules/openai/resources/admin/organization/data-retention.d.mts +50 -0
  710. package/dist/node_modules/openai/resources/admin/organization/data-retention.d.ts +50 -0
  711. package/dist/node_modules/openai/resources/admin/organization/data-retention.js +42 -0
  712. package/dist/node_modules/openai/resources/admin/organization/groups/groups.d.mts +160 -0
  713. package/dist/node_modules/openai/resources/admin/organization/groups/groups.d.ts +160 -0
  714. package/dist/node_modules/openai/resources/admin/organization/groups/groups.js +109 -0
  715. package/dist/node_modules/openai/resources/admin/organization/groups/index.d.mts +4 -0
  716. package/dist/node_modules/openai/resources/admin/organization/groups/index.d.ts +4 -0
  717. package/dist/node_modules/openai/resources/admin/organization/groups/index.js +11 -0
  718. package/dist/node_modules/openai/resources/admin/organization/groups/roles.d.mts +275 -0
  719. package/dist/node_modules/openai/resources/admin/organization/groups/roles.d.ts +275 -0
  720. package/dist/node_modules/openai/resources/admin/organization/groups/roles.js +84 -0
  721. package/dist/node_modules/openai/resources/admin/organization/groups/users.d.mts +164 -0
  722. package/dist/node_modules/openai/resources/admin/organization/groups/users.d.ts +164 -0
  723. package/dist/node_modules/openai/resources/admin/organization/groups/users.js +84 -0
  724. package/dist/node_modules/openai/resources/admin/organization/groups.d.mts +2 -0
  725. package/dist/node_modules/openai/resources/admin/organization/groups.d.ts +2 -0
  726. package/dist/node_modules/openai/resources/admin/organization/groups.js +6 -0
  727. package/dist/node_modules/openai/resources/admin/organization/index.d.mts +13 -0
  728. package/dist/node_modules/openai/resources/admin/organization/index.d.ts +13 -0
  729. package/dist/node_modules/openai/resources/admin/organization/index.js +29 -0
  730. package/dist/node_modules/openai/resources/admin/organization/invites.d.mts +153 -0
  731. package/dist/node_modules/openai/resources/admin/organization/invites.d.ts +153 -0
  732. package/dist/node_modules/openai/resources/admin/organization/invites.js +83 -0
  733. package/dist/node_modules/openai/resources/admin/organization/organization.d.mts +50 -0
  734. package/dist/node_modules/openai/resources/admin/organization/organization.d.ts +50 -0
  735. package/dist/node_modules/openai/resources/admin/organization/organization.js +57 -0
  736. package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts +167 -0
  737. package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts +167 -0
  738. package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.js +68 -0
  739. package/dist/node_modules/openai/resources/admin/organization/projects/certificates.d.mts +186 -0
  740. package/dist/node_modules/openai/resources/admin/organization/projects/certificates.d.ts +186 -0
  741. package/dist/node_modules/openai/resources/admin/organization/projects/certificates.js +64 -0
  742. package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.d.mts +53 -0
  743. package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.d.ts +53 -0
  744. package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.js +46 -0
  745. package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.d.mts +142 -0
  746. package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.d.ts +142 -0
  747. package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.js +93 -0
  748. package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.d.mts +3 -0
  749. package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.d.ts +3 -0
  750. package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.js +9 -0
  751. package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.d.mts +292 -0
  752. package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.d.ts +292 -0
  753. package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.js +87 -0
  754. package/dist/node_modules/openai/resources/admin/organization/projects/groups.d.mts +2 -0
  755. package/dist/node_modules/openai/resources/admin/organization/projects/groups.d.ts +2 -0
  756. package/dist/node_modules/openai/resources/admin/organization/projects/groups.js +6 -0
  757. package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.mts +174 -0
  758. package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.ts +174 -0
  759. package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.js +45 -0
  760. package/dist/node_modules/openai/resources/admin/organization/projects/index.d.mts +13 -0
  761. package/dist/node_modules/openai/resources/admin/organization/projects/index.d.ts +13 -0
  762. package/dist/node_modules/openai/resources/admin/organization/projects/index.js +29 -0
  763. package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.d.mts +86 -0
  764. package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.d.ts +86 -0
  765. package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.js +63 -0
  766. package/dist/node_modules/openai/resources/admin/organization/projects/projects.d.mts +188 -0
  767. package/dist/node_modules/openai/resources/admin/organization/projects/projects.d.ts +188 -0
  768. package/dist/node_modules/openai/resources/admin/organization/projects/projects.js +149 -0
  769. package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.d.mts +120 -0
  770. package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.d.ts +120 -0
  771. package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.js +47 -0
  772. package/dist/node_modules/openai/resources/admin/organization/projects/roles.d.mts +146 -0
  773. package/dist/node_modules/openai/resources/admin/organization/projects/roles.d.ts +146 -0
  774. package/dist/node_modules/openai/resources/admin/organization/projects/roles.js +108 -0
  775. package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts +168 -0
  776. package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts +168 -0
  777. package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.js +101 -0
  778. package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.mts +241 -0
  779. package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.ts +241 -0
  780. package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.js +102 -0
  781. package/dist/node_modules/openai/resources/admin/organization/projects/users/index.d.mts +3 -0
  782. package/dist/node_modules/openai/resources/admin/organization/projects/users/index.d.ts +3 -0
  783. package/dist/node_modules/openai/resources/admin/organization/projects/users/index.js +9 -0
  784. package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.d.mts +266 -0
  785. package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.d.ts +266 -0
  786. package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.js +87 -0
  787. package/dist/node_modules/openai/resources/admin/organization/projects/users/users.d.mts +157 -0
  788. package/dist/node_modules/openai/resources/admin/organization/projects/users/users.d.ts +157 -0
  789. package/dist/node_modules/openai/resources/admin/organization/projects/users/users.js +116 -0
  790. package/dist/node_modules/openai/resources/admin/organization/projects/users.d.mts +2 -0
  791. package/dist/node_modules/openai/resources/admin/organization/projects/users.d.ts +2 -0
  792. package/dist/node_modules/openai/resources/admin/organization/projects/users.js +6 -0
  793. package/dist/node_modules/openai/resources/admin/organization/projects.d.mts +2 -0
  794. package/dist/node_modules/openai/resources/admin/organization/projects.d.ts +2 -0
  795. package/dist/node_modules/openai/resources/admin/organization/projects.js +6 -0
  796. package/dist/node_modules/openai/resources/admin/organization/roles.d.mts +153 -0
  797. package/dist/node_modules/openai/resources/admin/organization/roles.d.ts +153 -0
  798. package/dist/node_modules/openai/resources/admin/organization/roles.js +96 -0
  799. package/dist/node_modules/openai/resources/admin/organization/spend-alerts.d.mts +224 -0
  800. package/dist/node_modules/openai/resources/admin/organization/spend-alerts.d.ts +224 -0
  801. package/dist/node_modules/openai/resources/admin/organization/spend-alerts.js +93 -0
  802. package/dist/node_modules/openai/resources/admin/organization/usage.d.mts +5123 -0
  803. package/dist/node_modules/openai/resources/admin/organization/usage.d.ts +5123 -0
  804. package/dist/node_modules/openai/resources/admin/organization/usage.js +207 -0
  805. package/dist/node_modules/openai/resources/admin/organization/users/index.d.mts +3 -0
  806. package/dist/node_modules/openai/resources/admin/organization/users/index.d.ts +3 -0
  807. package/dist/node_modules/openai/resources/admin/organization/users/index.js +9 -0
  808. package/dist/node_modules/openai/resources/admin/organization/users/roles.d.mts +249 -0
  809. package/dist/node_modules/openai/resources/admin/organization/users/roles.d.ts +249 -0
  810. package/dist/node_modules/openai/resources/admin/organization/users/roles.js +84 -0
  811. package/dist/node_modules/openai/resources/admin/organization/users/users.d.mts +185 -0
  812. package/dist/node_modules/openai/resources/admin/organization/users/users.d.ts +185 -0
  813. package/dist/node_modules/openai/resources/admin/organization/users/users.js +84 -0
  814. package/dist/node_modules/openai/resources/admin/organization/users.d.mts +2 -0
  815. package/dist/node_modules/openai/resources/admin/organization/users.d.ts +2 -0
  816. package/dist/node_modules/openai/resources/admin/organization/users.js +6 -0
  817. package/dist/node_modules/openai/resources/admin/organization.d.mts +2 -0
  818. package/dist/node_modules/openai/resources/admin/organization.d.ts +2 -0
  819. package/dist/node_modules/openai/resources/admin/organization.js +6 -0
  820. package/dist/node_modules/openai/resources/admin.d.mts +2 -0
  821. package/dist/node_modules/openai/resources/admin.d.ts +2 -0
  822. package/dist/node_modules/openai/resources/admin.js +6 -0
  823. package/dist/node_modules/openai/resources/audio/speech.d.mts +22 -5
  824. package/dist/node_modules/openai/resources/audio/speech.d.ts +22 -5
  825. package/dist/node_modules/openai/resources/audio/speech.js +8 -2
  826. package/dist/node_modules/openai/resources/audio/transcriptions.d.mts +6 -0
  827. package/dist/node_modules/openai/resources/audio/transcriptions.d.ts +6 -0
  828. package/dist/node_modules/openai/resources/audio/transcriptions.js +4 -0
  829. package/dist/node_modules/openai/resources/audio/translations.d.mts +3 -0
  830. package/dist/node_modules/openai/resources/audio/translations.d.ts +3 -0
  831. package/dist/node_modules/openai/resources/audio/translations.js +4 -1
  832. package/dist/node_modules/openai/resources/batches.d.mts +8 -4
  833. package/dist/node_modules/openai/resources/batches.d.ts +8 -4
  834. package/dist/node_modules/openai/resources/batches.js +14 -4
  835. package/dist/node_modules/openai/resources/beta/assistants.d.mts +6 -2
  836. package/dist/node_modules/openai/resources/beta/assistants.d.ts +6 -2
  837. package/dist/node_modules/openai/resources/beta/assistants.js +8 -0
  838. package/dist/node_modules/openai/resources/beta/chatkit/sessions.d.mts +4 -2
  839. package/dist/node_modules/openai/resources/beta/chatkit/sessions.d.ts +4 -2
  840. package/dist/node_modules/openai/resources/beta/chatkit/sessions.js +6 -2
  841. package/dist/node_modules/openai/resources/beta/chatkit/threads.d.mts +4 -4
  842. package/dist/node_modules/openai/resources/beta/chatkit/threads.d.ts +4 -4
  843. package/dist/node_modules/openai/resources/beta/chatkit/threads.js +13 -5
  844. package/dist/node_modules/openai/resources/beta/realtime/sessions.js +1 -0
  845. package/dist/node_modules/openai/resources/beta/realtime/transcription-sessions.js +1 -0
  846. package/dist/node_modules/openai/resources/beta/threads/messages.d.mts +2 -0
  847. package/dist/node_modules/openai/resources/beta/threads/messages.d.ts +2 -0
  848. package/dist/node_modules/openai/resources/beta/threads/messages.js +7 -0
  849. package/dist/node_modules/openai/resources/beta/threads/runs/runs.d.mts +2 -0
  850. package/dist/node_modules/openai/resources/beta/threads/runs/runs.d.ts +2 -0
  851. package/dist/node_modules/openai/resources/beta/threads/runs/runs.js +10 -0
  852. package/dist/node_modules/openai/resources/beta/threads/runs/steps.d.mts +2 -0
  853. package/dist/node_modules/openai/resources/beta/threads/runs/steps.d.ts +2 -0
  854. package/dist/node_modules/openai/resources/beta/threads/runs/steps.js +4 -0
  855. package/dist/node_modules/openai/resources/beta/threads/threads.d.mts +8 -4
  856. package/dist/node_modules/openai/resources/beta/threads/threads.d.ts +8 -4
  857. package/dist/node_modules/openai/resources/beta/threads/threads.js +8 -0
  858. package/dist/node_modules/openai/resources/chat/completions/completions.d.mts +37 -18
  859. package/dist/node_modules/openai/resources/chat/completions/completions.d.ts +37 -18
  860. package/dist/node_modules/openai/resources/chat/completions/completions.js +27 -5
  861. package/dist/node_modules/openai/resources/chat/completions/messages.d.mts +3 -0
  862. package/dist/node_modules/openai/resources/chat/completions/messages.d.ts +3 -0
  863. package/dist/node_modules/openai/resources/chat/completions/messages.js +4 -1
  864. package/dist/node_modules/openai/resources/completions.d.mts +9 -3
  865. package/dist/node_modules/openai/resources/completions.d.ts +9 -3
  866. package/dist/node_modules/openai/resources/completions.js +9 -1
  867. package/dist/node_modules/openai/resources/containers/containers.js +11 -3
  868. package/dist/node_modules/openai/resources/containers/files/content.js +1 -0
  869. package/dist/node_modules/openai/resources/containers/files/files.js +7 -2
  870. package/dist/node_modules/openai/resources/conversations/conversations.d.mts +15 -0
  871. package/dist/node_modules/openai/resources/conversations/conversations.d.ts +15 -0
  872. package/dist/node_modules/openai/resources/conversations/conversations.js +17 -4
  873. package/dist/node_modules/openai/resources/conversations/items.d.mts +4 -1
  874. package/dist/node_modules/openai/resources/conversations/items.d.ts +4 -1
  875. package/dist/node_modules/openai/resources/conversations/items.js +14 -3
  876. package/dist/node_modules/openai/resources/embeddings.d.mts +3 -0
  877. package/dist/node_modules/openai/resources/embeddings.d.ts +3 -0
  878. package/dist/node_modules/openai/resources/embeddings.js +4 -0
  879. package/dist/node_modules/openai/resources/evals/evals.d.mts +3 -0
  880. package/dist/node_modules/openai/resources/evals/evals.d.ts +3 -0
  881. package/dist/node_modules/openai/resources/evals/evals.js +12 -5
  882. package/dist/node_modules/openai/resources/evals/runs/output-items.d.mts +3 -0
  883. package/dist/node_modules/openai/resources/evals/runs/output-items.d.ts +3 -0
  884. package/dist/node_modules/openai/resources/evals/runs/output-items.js +8 -2
  885. package/dist/node_modules/openai/resources/evals/runs/runs.d.mts +3 -0
  886. package/dist/node_modules/openai/resources/evals/runs/runs.d.ts +3 -0
  887. package/dist/node_modules/openai/resources/evals/runs/runs.js +21 -4
  888. package/dist/node_modules/openai/resources/files.d.mts +11 -1
  889. package/dist/node_modules/openai/resources/files.d.ts +11 -1
  890. package/dist/node_modules/openai/resources/files.js +20 -5
  891. package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts +3 -0
  892. package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts +3 -0
  893. package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.js +13 -2
  894. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts +2 -2
  895. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts +2 -2
  896. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts +1 -1
  897. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts +1 -1
  898. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts +54 -7
  899. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts +54 -7
  900. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js +26 -9
  901. package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts +3 -0
  902. package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts +3 -0
  903. package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js +4 -1
  904. package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts +3 -0
  905. package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts +3 -0
  906. package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.js +26 -7
  907. package/dist/node_modules/openai/resources/images.d.mts +56 -24
  908. package/dist/node_modules/openai/resources/images.d.ts +56 -24
  909. package/dist/node_modules/openai/resources/images.js +11 -3
  910. package/dist/node_modules/openai/resources/index.d.mts +2 -1
  911. package/dist/node_modules/openai/resources/index.d.ts +2 -1
  912. package/dist/node_modules/openai/resources/index.js +3 -1
  913. package/dist/node_modules/openai/resources/models.d.mts +3 -0
  914. package/dist/node_modules/openai/resources/models.d.ts +3 -0
  915. package/dist/node_modules/openai/resources/models.js +6 -3
  916. package/dist/node_modules/openai/resources/moderations.d.mts +3 -0
  917. package/dist/node_modules/openai/resources/moderations.d.ts +3 -0
  918. package/dist/node_modules/openai/resources/moderations.js +4 -1
  919. package/dist/node_modules/openai/resources/realtime/calls.d.mts +13 -3
  920. package/dist/node_modules/openai/resources/realtime/calls.d.ts +13 -3
  921. package/dist/node_modules/openai/resources/realtime/calls.js +4 -0
  922. package/dist/node_modules/openai/resources/realtime/client-secrets.d.mts +45 -39
  923. package/dist/node_modules/openai/resources/realtime/client-secrets.d.ts +45 -39
  924. package/dist/node_modules/openai/resources/realtime/client-secrets.js +19 -1
  925. package/dist/node_modules/openai/resources/realtime/index.d.mts +1 -1
  926. package/dist/node_modules/openai/resources/realtime/index.d.ts +1 -1
  927. package/dist/node_modules/openai/resources/realtime/realtime.d.mts +592 -21
  928. package/dist/node_modules/openai/resources/realtime/realtime.d.ts +592 -21
  929. package/dist/node_modules/openai/resources/responses/index.d.mts +2 -0
  930. package/dist/node_modules/openai/resources/responses/index.d.ts +2 -0
  931. package/dist/node_modules/openai/resources/responses/input-items.js +1 -1
  932. package/dist/node_modules/openai/resources/responses/input-tokens.d.mts +4 -1
  933. package/dist/node_modules/openai/resources/responses/input-tokens.d.ts +4 -1
  934. package/dist/node_modules/openai/resources/responses/input-tokens.js +9 -2
  935. package/dist/node_modules/openai/resources/responses/internal-base.d.mts +71 -0
  936. package/dist/node_modules/openai/resources/responses/internal-base.d.ts +71 -0
  937. package/dist/node_modules/openai/resources/responses/internal-base.js +48 -0
  938. package/dist/node_modules/openai/resources/responses/responses.d.mts +956 -64
  939. package/dist/node_modules/openai/resources/responses/responses.d.ts +956 -64
  940. package/dist/node_modules/openai/resources/responses/responses.js +20 -5
  941. package/dist/node_modules/openai/resources/responses/ws-base.d.mts +106 -0
  942. package/dist/node_modules/openai/resources/responses/ws-base.d.ts +106 -0
  943. package/dist/node_modules/openai/resources/responses/ws-base.js +476 -0
  944. package/dist/node_modules/openai/resources/responses/ws.d.mts +13 -0
  945. package/dist/node_modules/openai/resources/responses/ws.d.ts +13 -0
  946. package/dist/node_modules/openai/resources/responses/ws.js +31 -0
  947. package/dist/node_modules/openai/resources/shared.d.mts +3 -2
  948. package/dist/node_modules/openai/resources/shared.d.ts +3 -2
  949. package/dist/node_modules/openai/resources/skills/content.d.mts +1 -1
  950. package/dist/node_modules/openai/resources/skills/content.d.ts +1 -1
  951. package/dist/node_modules/openai/resources/skills/content.js +2 -1
  952. package/dist/node_modules/openai/resources/skills/skills.d.mts +5 -5
  953. package/dist/node_modules/openai/resources/skills/skills.d.ts +5 -5
  954. package/dist/node_modules/openai/resources/skills/skills.js +18 -10
  955. package/dist/node_modules/openai/resources/skills/versions/content.d.mts +1 -1
  956. package/dist/node_modules/openai/resources/skills/versions/content.d.ts +1 -1
  957. package/dist/node_modules/openai/resources/skills/versions/content.js +2 -1
  958. package/dist/node_modules/openai/resources/skills/versions/versions.d.mts +4 -4
  959. package/dist/node_modules/openai/resources/skills/versions/versions.d.ts +4 -4
  960. package/dist/node_modules/openai/resources/skills/versions/versions.js +14 -7
  961. package/dist/node_modules/openai/resources/uploads/parts.d.mts +3 -0
  962. package/dist/node_modules/openai/resources/uploads/parts.d.ts +3 -0
  963. package/dist/node_modules/openai/resources/uploads/parts.js +4 -1
  964. package/dist/node_modules/openai/resources/uploads/uploads.d.mts +10 -1
  965. package/dist/node_modules/openai/resources/uploads/uploads.d.ts +10 -1
  966. package/dist/node_modules/openai/resources/uploads/uploads.js +20 -4
  967. package/dist/node_modules/openai/resources/vector-stores/file-batches.d.mts +9 -3
  968. package/dist/node_modules/openai/resources/vector-stores/file-batches.d.ts +9 -3
  969. package/dist/node_modules/openai/resources/vector-stores/file-batches.js +9 -1
  970. package/dist/node_modules/openai/resources/vector-stores/files.d.mts +3 -1
  971. package/dist/node_modules/openai/resources/vector-stores/files.d.ts +3 -1
  972. package/dist/node_modules/openai/resources/vector-stores/files.js +10 -1
  973. package/dist/node_modules/openai/resources/vector-stores/vector-stores.js +6 -0
  974. package/dist/node_modules/openai/resources/videos.d.mts +123 -11
  975. package/dist/node_modules/openai/resources/videos.d.ts +123 -11
  976. package/dist/node_modules/openai/resources/videos.js +46 -11
  977. package/dist/node_modules/openai/src/auth/index.ts +9 -0
  978. package/dist/node_modules/openai/src/auth/subject-token-providers.ts +185 -0
  979. package/dist/node_modules/openai/src/auth/types.ts +28 -0
  980. package/dist/node_modules/openai/src/auth/workload-identity-auth.ts +122 -0
  981. package/dist/node_modules/openai/src/azure.ts +9 -4
  982. package/dist/node_modules/openai/src/beta/realtime/websocket.ts +7 -2
  983. package/dist/node_modules/openai/src/beta/realtime/ws.ts +5 -1
  984. package/dist/node_modules/openai/src/client.ts +312 -35
  985. package/dist/node_modules/openai/src/core/EventEmitter.ts +114 -0
  986. package/dist/node_modules/openai/src/core/error.ts +40 -0
  987. package/dist/node_modules/openai/src/core/pagination.ts +62 -0
  988. package/dist/node_modules/openai/src/core/streaming.ts +2 -1
  989. package/dist/node_modules/openai/src/index.ts +2 -0
  990. package/dist/node_modules/openai/src/internal/parse.ts +12 -2
  991. package/dist/node_modules/openai/src/internal/request-options.ts +2 -0
  992. package/dist/node_modules/openai/src/internal/types.ts +14 -8
  993. package/dist/node_modules/openai/src/internal/utils/env.ts +2 -2
  994. package/dist/node_modules/openai/src/internal/utils/log.ts +2 -0
  995. package/dist/node_modules/openai/src/internal/utils/query.ts +7 -0
  996. package/dist/node_modules/openai/src/internal/utils.ts +1 -0
  997. package/dist/node_modules/openai/src/internal/ws-adapter-browser.ts +123 -0
  998. package/dist/node_modules/openai/src/internal/ws-adapter-node.ts +105 -0
  999. package/dist/node_modules/openai/src/internal/ws-adapter.ts +30 -0
  1000. package/dist/node_modules/openai/src/internal/ws.ts +193 -0
  1001. package/dist/node_modules/openai/src/realtime/websocket.ts +7 -2
  1002. package/dist/node_modules/openai/src/realtime/ws.ts +5 -1
  1003. package/dist/node_modules/openai/src/resources/admin/admin.ts +15 -0
  1004. package/dist/node_modules/openai/src/resources/admin/index.ts +4 -0
  1005. package/dist/node_modules/openai/src/resources/admin/organization/admin-api-keys.ts +199 -0
  1006. package/dist/node_modules/openai/src/resources/admin/organization/audit-logs.ts +1597 -0
  1007. package/dist/node_modules/openai/src/resources/admin/organization/certificates.ts +458 -0
  1008. package/dist/node_modules/openai/src/resources/admin/organization/data-retention.ts +79 -0
  1009. package/dist/node_modules/openai/src/resources/admin/organization/groups/groups.ts +277 -0
  1010. package/dist/node_modules/openai/src/resources/admin/organization/groups/index.ts +36 -0
  1011. package/dist/node_modules/openai/src/resources/admin/organization/groups/roles.ts +359 -0
  1012. package/dist/node_modules/openai/src/resources/admin/organization/groups/users.ts +232 -0
  1013. package/dist/node_modules/openai/src/resources/admin/organization/groups.ts +3 -0
  1014. package/dist/node_modules/openai/src/resources/admin/organization/index.ts +117 -0
  1015. package/dist/node_modules/openai/src/resources/admin/organization/invites.ts +215 -0
  1016. package/dist/node_modules/openai/src/resources/admin/organization/organization.ts +272 -0
  1017. package/dist/node_modules/openai/src/resources/admin/organization/projects/api-keys.ts +239 -0
  1018. package/dist/node_modules/openai/src/resources/admin/organization/projects/certificates.ts +269 -0
  1019. package/dist/node_modules/openai/src/resources/admin/organization/projects/data-retention.ts +91 -0
  1020. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/groups.ts +231 -0
  1021. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/index.ts +24 -0
  1022. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/roles.ts +386 -0
  1023. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups.ts +3 -0
  1024. package/dist/node_modules/openai/src/resources/admin/organization/projects/hosted-tool-permissions.ts +217 -0
  1025. package/dist/node_modules/openai/src/resources/admin/organization/projects/index.ts +102 -0
  1026. package/dist/node_modules/openai/src/resources/admin/organization/projects/model-permissions.ts +123 -0
  1027. package/dist/node_modules/openai/src/resources/admin/organization/projects/projects.ts +445 -0
  1028. package/dist/node_modules/openai/src/resources/admin/organization/projects/rate-limits.ts +173 -0
  1029. package/dist/node_modules/openai/src/resources/admin/organization/projects/roles.ts +210 -0
  1030. package/dist/node_modules/openai/src/resources/admin/organization/projects/service-accounts.ts +266 -0
  1031. package/dist/node_modules/openai/src/resources/admin/organization/projects/spend-alerts.ts +332 -0
  1032. package/dist/node_modules/openai/src/resources/admin/organization/projects/users/index.ts +25 -0
  1033. package/dist/node_modules/openai/src/resources/admin/organization/projects/users/roles.ts +351 -0
  1034. package/dist/node_modules/openai/src/resources/admin/organization/projects/users/users.ts +256 -0
  1035. package/dist/node_modules/openai/src/resources/admin/organization/projects/users.ts +3 -0
  1036. package/dist/node_modules/openai/src/resources/admin/organization/projects.ts +3 -0
  1037. package/dist/node_modules/openai/src/resources/admin/organization/roles.ts +217 -0
  1038. package/dist/node_modules/openai/src/resources/admin/organization/spend-alerts.ts +301 -0
  1039. package/dist/node_modules/openai/src/resources/admin/organization/usage.ts +6427 -0
  1040. package/dist/node_modules/openai/src/resources/admin/organization/users/index.ts +22 -0
  1041. package/dist/node_modules/openai/src/resources/admin/organization/users/roles.ts +328 -0
  1042. package/dist/node_modules/openai/src/resources/admin/organization/users/users.ts +291 -0
  1043. package/dist/node_modules/openai/src/resources/admin/organization/users.ts +3 -0
  1044. package/dist/node_modules/openai/src/resources/admin/organization.ts +3 -0
  1045. package/dist/node_modules/openai/src/resources/admin.ts +3 -0
  1046. package/dist/node_modules/openai/src/resources/audio/speech.ts +26 -6
  1047. package/dist/node_modules/openai/src/resources/audio/transcriptions.ts +7 -0
  1048. package/dist/node_modules/openai/src/resources/audio/translations.ts +7 -1
  1049. package/dist/node_modules/openai/src/resources/batches.ts +20 -8
  1050. package/dist/node_modules/openai/src/resources/beta/assistants.ts +11 -2
  1051. package/dist/node_modules/openai/src/resources/beta/chatkit/sessions.ts +6 -2
  1052. package/dist/node_modules/openai/src/resources/beta/chatkit/threads.ts +13 -5
  1053. package/dist/node_modules/openai/src/resources/beta/realtime/sessions.ts +1 -0
  1054. package/dist/node_modules/openai/src/resources/beta/realtime/transcription-sessions.ts +1 -0
  1055. package/dist/node_modules/openai/src/resources/beta/threads/messages.ts +7 -0
  1056. package/dist/node_modules/openai/src/resources/beta/threads/runs/runs.ts +10 -0
  1057. package/dist/node_modules/openai/src/resources/beta/threads/runs/steps.ts +4 -0
  1058. package/dist/node_modules/openai/src/resources/beta/threads/threads.ts +14 -4
  1059. package/dist/node_modules/openai/src/resources/chat/completions/completions.ts +64 -27
  1060. package/dist/node_modules/openai/src/resources/chat/completions/messages.ts +4 -1
  1061. package/dist/node_modules/openai/src/resources/completions.ts +15 -6
  1062. package/dist/node_modules/openai/src/resources/containers/containers.ts +11 -3
  1063. package/dist/node_modules/openai/src/resources/containers/files/content.ts +1 -0
  1064. package/dist/node_modules/openai/src/resources/containers/files/files.ts +7 -2
  1065. package/dist/node_modules/openai/src/resources/conversations/conversations.ts +31 -4
  1066. package/dist/node_modules/openai/src/resources/conversations/items.ts +17 -3
  1067. package/dist/node_modules/openai/src/resources/embeddings.ts +4 -0
  1068. package/dist/node_modules/openai/src/resources/evals/evals.ts +12 -5
  1069. package/dist/node_modules/openai/src/resources/evals/runs/output-items.ts +8 -2
  1070. package/dist/node_modules/openai/src/resources/evals/runs/runs.ts +21 -4
  1071. package/dist/node_modules/openai/src/resources/files.ts +23 -5
  1072. package/dist/node_modules/openai/src/resources/fine-tuning/alpha/graders.ts +13 -2
  1073. package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/checkpoints.ts +6 -0
  1074. package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/index.ts +3 -0
  1075. package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/permissions.ts +84 -10
  1076. package/dist/node_modules/openai/src/resources/fine-tuning/jobs/checkpoints.ts +4 -1
  1077. package/dist/node_modules/openai/src/resources/fine-tuning/jobs/jobs.ts +26 -7
  1078. package/dist/node_modules/openai/src/resources/images.ts +74 -27
  1079. package/dist/node_modules/openai/src/resources/index.ts +7 -0
  1080. package/dist/node_modules/openai/src/resources/models.ts +6 -3
  1081. package/dist/node_modules/openai/src/resources/moderations.ts +4 -1
  1082. package/dist/node_modules/openai/src/resources/realtime/calls.ts +21 -2
  1083. package/dist/node_modules/openai/src/resources/realtime/client-secrets.ts +54 -40
  1084. package/dist/node_modules/openai/src/resources/realtime/index.ts +0 -1
  1085. package/dist/node_modules/openai/src/resources/realtime/realtime.ts +705 -20
  1086. package/dist/node_modules/openai/src/resources/responses/index.ts +2 -0
  1087. package/dist/node_modules/openai/src/resources/responses/input-items.ts +1 -1
  1088. package/dist/node_modules/openai/src/resources/responses/input-tokens.ts +9 -2
  1089. package/dist/node_modules/openai/src/resources/responses/internal-base.ts +113 -0
  1090. package/dist/node_modules/openai/src/resources/responses/responses.ts +1314 -143
  1091. package/dist/node_modules/openai/src/resources/responses/ws-base.ts +611 -0
  1092. package/dist/node_modules/openai/src/resources/responses/ws.ts +38 -0
  1093. package/dist/node_modules/openai/src/resources/shared.ts +9 -1
  1094. package/dist/node_modules/openai/src/resources/skills/content.ts +2 -1
  1095. package/dist/node_modules/openai/src/resources/skills/skills.ts +21 -10
  1096. package/dist/node_modules/openai/src/resources/skills/versions/content.ts +2 -1
  1097. package/dist/node_modules/openai/src/resources/skills/versions/versions.ts +14 -7
  1098. package/dist/node_modules/openai/src/resources/uploads/parts.ts +4 -1
  1099. package/dist/node_modules/openai/src/resources/uploads/uploads.ts +20 -4
  1100. package/dist/node_modules/openai/src/resources/vector-stores/file-batches.ts +18 -4
  1101. package/dist/node_modules/openai/src/resources/vector-stores/files.ts +13 -2
  1102. package/dist/node_modules/openai/src/resources/vector-stores/vector-stores.ts +6 -0
  1103. package/dist/node_modules/openai/src/resources/videos.ts +186 -16
  1104. package/dist/node_modules/openai/src/version.ts +1 -1
  1105. package/dist/node_modules/openai/streaming.d.mts +1 -0
  1106. package/dist/node_modules/openai/streaming.d.ts +1 -0
  1107. package/dist/node_modules/openai/uploads.d.mts +1 -0
  1108. package/dist/node_modules/openai/uploads.d.ts +1 -0
  1109. package/dist/node_modules/openai/version.d.mts +1 -1
  1110. package/dist/node_modules/openai/version.d.ts +1 -1
  1111. package/dist/node_modules/openai/version.js +1 -1
  1112. package/dist/node_modules/zod/package.json +1 -1
  1113. package/dist/server/ai-employees/ai-conversations.d.ts +2 -0
  1114. package/dist/server/ai-employees/ai-employee.d.ts +3 -11
  1115. package/dist/server/ai-employees/ai-employee.js +84 -102
  1116. package/dist/server/ai-employees/ai-knowledge-base.d.ts +0 -4
  1117. package/dist/server/ai-employees/ai-knowledge-base.js +25 -89
  1118. package/dist/server/ai-employees/checkpoints/cleaner.d.ts +2 -0
  1119. package/dist/server/ai-employees/checkpoints/cleaner.js +11 -1
  1120. package/dist/server/ai-employees/middleware/conversation.d.ts +2 -0
  1121. package/dist/server/ai-employees/middleware/conversation.js +2 -1
  1122. package/dist/server/ai-employees/middleware/index.d.ts +1 -0
  1123. package/dist/server/ai-employees/middleware/index.js +2 -0
  1124. package/dist/server/ai-employees/middleware/tool-call-sanitizer.d.ts +16 -0
  1125. package/dist/server/ai-employees/middleware/tool-call-sanitizer.js +90 -0
  1126. package/dist/server/ai-employees/prompts.d.ts +2 -1
  1127. package/dist/server/ai-employees/prompts.js +8 -2
  1128. package/dist/server/ai-employees/tool-call-sanitizer.d.ts +27 -0
  1129. package/dist/server/ai-employees/tool-call-sanitizer.js +85 -0
  1130. package/dist/server/ai-employees/utils.d.ts +3 -1
  1131. package/dist/server/ai-employees/utils.js +23 -3
  1132. package/dist/server/attachments.d.ts +24 -0
  1133. package/dist/server/attachments.js +204 -0
  1134. package/dist/server/collections/ai-usage-events.d.ts +10 -0
  1135. package/dist/server/collections/ai-usage-events.js +183 -0
  1136. package/dist/server/collections/lc-checkpoint-blobs.js +1 -1
  1137. package/dist/server/collections/lc-checkpoint-writes.js +1 -1
  1138. package/dist/server/collections/lc-checkpoints.js +1 -1
  1139. package/dist/server/document-loader/cached.d.ts +1 -0
  1140. package/dist/server/document-loader/cached.js +18 -9
  1141. package/dist/server/document-loader/constants.js +1 -0
  1142. package/dist/server/document-loader/loader.d.ts +0 -1
  1143. package/dist/server/document-loader/loader.js +25 -8
  1144. package/dist/server/document-loader/types.d.ts +7 -0
  1145. package/dist/server/features/feature-manager.d.ts +2 -2
  1146. package/dist/server/features/index.d.ts +1 -1
  1147. package/dist/server/features/knowledge-base.d.ts +2 -1
  1148. package/dist/server/features/vector-store-provider.d.ts +2 -9
  1149. package/dist/server/frontend-tools.d.ts +25 -0
  1150. package/dist/server/frontend-tools.js +171 -0
  1151. package/dist/server/llm-providers/anthropic.d.ts +2 -1
  1152. package/dist/server/llm-providers/anthropic.js +1 -3
  1153. package/dist/server/llm-providers/dashscope.d.ts +2 -1
  1154. package/dist/server/llm-providers/dashscope.js +18 -3
  1155. package/dist/server/llm-providers/deepseek.d.ts +2 -1
  1156. package/dist/server/llm-providers/deepseek.js +33 -2
  1157. package/dist/server/llm-providers/google-genai.d.ts +1 -1
  1158. package/dist/server/llm-providers/google-genai.js +1 -5
  1159. package/dist/server/llm-providers/kimi/provider.d.ts +2 -1
  1160. package/dist/server/llm-providers/kimi/provider.js +24 -4
  1161. package/dist/server/llm-providers/mimo.js +2 -2
  1162. package/dist/server/llm-providers/mistral.d.ts +96 -0
  1163. package/dist/server/llm-providers/mistral.js +325 -0
  1164. package/dist/server/llm-providers/openai/completions.d.ts +2 -1
  1165. package/dist/server/llm-providers/openai/completions.js +19 -3
  1166. package/dist/server/llm-providers/openai/responses.d.ts +2 -1
  1167. package/dist/server/llm-providers/openai/responses.js +25 -5
  1168. package/dist/server/llm-providers/orcarouter.d.ts +35 -0
  1169. package/dist/server/llm-providers/orcarouter.js +155 -0
  1170. package/dist/server/llm-providers/provider.d.ts +18 -6
  1171. package/dist/server/llm-providers/provider.js +61 -18
  1172. package/dist/server/manager/ai-chat-conversation.js +2 -0
  1173. package/dist/server/manager/ai-context-datasource-manager.js +34 -7
  1174. package/dist/server/manager/ai-manager.d.ts +2 -1
  1175. package/dist/server/manager/ai-manager.js +4 -1
  1176. package/dist/server/manager/ai-usage-events.d.ts +49 -0
  1177. package/dist/server/manager/ai-usage-events.js +195 -0
  1178. package/dist/server/manager/work-context-handler.js +10 -3
  1179. package/dist/server/plugin.d.ts +3 -0
  1180. package/dist/server/plugin.js +79 -0
  1181. package/dist/server/resource/aiConversations.d.ts +2 -0
  1182. package/dist/server/resource/aiConversations.js +72 -3
  1183. package/dist/server/resource/aiMcpClients.js +2 -2
  1184. package/dist/server/resource/aiTools.js +14 -9
  1185. package/dist/server/types/knowledge-base.type.d.ts +15 -1
  1186. package/dist/server/utils.d.ts +5 -2
  1187. package/dist/server/utils.js +11 -19
  1188. package/dist/server/workflow/nodes/employee/files.d.ts +3 -1
  1189. package/dist/server/workflow/nodes/employee/files.js +31 -5
  1190. package/dist/server/workflow/nodes/employee/index.js +92 -46
  1191. package/dist/server/workflow/nodes/employee/tools.js +8 -1
  1192. package/dist/server/workflow/nodes/llm/index.js +3 -0
  1193. package/package.json +18 -16
  1194. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base.md +0 -82
  1195. package/dist/ai/docs/nocobase/data-sources/development/index.md +0 -6
  1196. package/dist/client/119.c6bf8c6433167d81.js +0 -10
  1197. package/dist/client/170.d98eacdc00d9d527.js +0 -10
  1198. package/dist/client/228.b4b709f93b86b6b9.js +0 -10
  1199. package/dist/client/280.003b9e9788599244.js +0 -10
  1200. package/dist/client/290.0f7f441d8a94f03c.js +0 -10
  1201. package/dist/client/331.d547c95410476a69.js +0 -10
  1202. package/dist/client/406.9a530334eae8cede.js +0 -10
  1203. package/dist/client/428.fdd0cc3cfd1632ef.js +0 -10
  1204. package/dist/client/462.d172d0fe91519e35.js +0 -10
  1205. package/dist/client/486.dcac8f3fcec19c33.js +0 -10
  1206. package/dist/client/502.2b4a51e0a8122e52.js +0 -10
  1207. package/dist/client/525.33a9c8ec28be4ec4.js +0 -10
  1208. package/dist/client/559.a0f2f1cc2be3c039.js +0 -10
  1209. package/dist/client/561.776886c5308e3c26.js +0 -10
  1210. package/dist/client/580.e75f97fb883ad042.js +0 -10
  1211. package/dist/client/597.b0d64948d74cf6cb.js +0 -10
  1212. package/dist/client/604.de96f3ec4d471afd.js +0 -10
  1213. package/dist/client/614.aa766080f6b99aab.js +0 -10
  1214. package/dist/client/646.b0ed728921b007d4.js +0 -10
  1215. package/dist/client/687.224e569a99cae4bb.js +0 -10
  1216. package/dist/client/699.57c0a1acb723202a.js +0 -10
  1217. package/dist/client/711.92cd94681fde7e05.js +0 -10
  1218. package/dist/client/758.a9741e81911e53c3.js +0 -10
  1219. package/dist/client/768.5177bff46ae71a5b.js +0 -10
  1220. package/dist/client/792.abb57765453bcbcc.js +0 -10
  1221. package/dist/client/820.f72ef2462b61d812.js +0 -10
  1222. package/dist/client/832.0cf69e3f43c320b2.js +0 -10
  1223. package/dist/client/927.d95c74ebb8fd51c9.js +0 -10
  1224. package/dist/client/ai-employees/1.x/selector/AISelectorProvider.d.ts +0 -33
  1225. package/dist/client/ai-employees/ProfileCard.d.ts +0 -14
  1226. package/dist/client/ai-employees/admin/ChatSettings.d.ts +0 -10
  1227. package/dist/client/ai-employees/admin/DataSourceSettings.d.ts +0 -10
  1228. package/dist/client/ai-employees/admin/EnableSwitch.d.ts +0 -10
  1229. package/dist/client/ai-employees/admin/InputsFormSettings.d.ts +0 -10
  1230. package/dist/client/ai-employees/admin/KnowledgeBaseSettings.d.ts +0 -10
  1231. package/dist/client/ai-employees/admin/ModelSettings.d.ts +0 -10
  1232. package/dist/client/ai-employees/admin/SkillSettings.d.ts +0 -19
  1233. package/dist/client/ai-employees/admin/SystemPrompt.d.ts +0 -10
  1234. package/dist/client/ai-employees/admin/Templates.d.ts +0 -10
  1235. package/dist/client/ai-employees/admin/ToolsSettings.d.ts +0 -17
  1236. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingForm.d.ts +0 -10
  1237. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingGrid.d.ts +0 -10
  1238. package/dist/client/ai-employees/admin/datasource/components/basic/FieldsTransfer.d.ts +0 -17
  1239. package/dist/client/ai-employees/admin/datasource/components/form-steps/CollectionSetting.d.ts +0 -17
  1240. package/dist/client/ai-employees/admin/datasource/components/form-steps/FieldsSetting.d.ts +0 -15
  1241. package/dist/client/ai-employees/admin/datasource/components/form-steps/FilterSetting.d.ts +0 -17
  1242. package/dist/client/ai-employees/admin/datasource/components/form-steps/Preview.d.ts +0 -13
  1243. package/dist/client/ai-employees/admin/datasource/components/form-steps/SortSetting.d.ts +0 -15
  1244. package/dist/client/ai-employees/admin/datasource/components/form-steps/index.d.ts +0 -13
  1245. package/dist/client/ai-employees/admin/datasource/components/index.d.ts +0 -9
  1246. package/dist/client/ai-employees/admin/datasource/context.d.ts +0 -17
  1247. package/dist/client/ai-employees/admin/datasource/flow-models/index.d.ts +0 -9
  1248. package/dist/client/ai-employees/admin/datasource/index.d.ts +0 -10
  1249. package/dist/client/ai-employees/admin/hooks.d.ts +0 -39
  1250. package/dist/client/ai-employees/admin/mcp/MCPSettings.d.ts +0 -10
  1251. package/dist/client/ai-employees/admin/mcp/MCPToolsList.d.ts +0 -19
  1252. package/dist/client/ai-employees/admin/mcp/context.d.ts +0 -15
  1253. package/dist/client/ai-employees/admin/mcp/schemas.d.ts +0 -1286
  1254. package/dist/client/ai-employees/ai-coding/CodeHistory.d.ts +0 -10
  1255. package/dist/client/ai-employees/ai-coding/markdown/Code.d.ts +0 -16
  1256. package/dist/client/ai-employees/avatars.d.ts +0 -9
  1257. package/dist/client/ai-employees/built-in/utils.d.ts +0 -15
  1258. package/dist/client/ai-employees/business-report/tools/index.d.ts +0 -10
  1259. package/dist/client/ai-employees/business-report/ui/report-utils.d.ts +0 -38
  1260. package/dist/client/ai-employees/chart-generator/ui/ECharts.d.ts +0 -13
  1261. package/dist/client/ai-employees/chatbox/AIThinking.d.ts +0 -12
  1262. package/dist/client/ai-employees/chatbox/Attachment.d.ts +0 -14
  1263. package/dist/client/ai-employees/chatbox/AttachmentsHeader.d.ts +0 -10
  1264. package/dist/client/ai-employees/chatbox/ChatBox.d.ts +0 -12
  1265. package/dist/client/ai-employees/chatbox/ContextItemsHeader.d.ts +0 -10
  1266. package/dist/client/ai-employees/chatbox/DebugPanel.d.ts +0 -16
  1267. package/dist/client/ai-employees/chatbox/EditMessageHeader.d.ts +0 -10
  1268. package/dist/client/ai-employees/chatbox/HintMessageHeader.d.ts +0 -10
  1269. package/dist/client/ai-employees/chatbox/MessageRenderer.d.ts +0 -33
  1270. package/dist/client/ai-employees/chatbox/SenderFooter.d.ts +0 -13
  1271. package/dist/client/ai-employees/chatbox/SenderHeader.d.ts +0 -10
  1272. package/dist/client/ai-employees/chatbox/SenderPrefix.d.ts +0 -10
  1273. package/dist/client/ai-employees/chatbox/Upload.d.ts +0 -12
  1274. package/dist/client/ai-employees/chatbox/VirtualList.d.ts +0 -28
  1275. package/dist/client/ai-employees/chatbox/conversations/ConversationsList.d.ts +0 -13
  1276. package/dist/client/ai-employees/chatbox/conversations/WorkflowTasksList.d.ts +0 -13
  1277. package/dist/client/ai-employees/chatbox/conversations/index.d.ts +0 -9
  1278. package/dist/client/ai-employees/chatbox/generative-ui/DefaultToolCard.d.ts +0 -16
  1279. package/dist/client/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +0 -18
  1280. package/dist/client/ai-employees/chatbox/hooks/useUploadFiles.d.ts +0 -12
  1281. package/dist/client/ai-employees/chatbox/markdown/ECharts.d.ts +0 -10
  1282. package/dist/client/ai-employees/chatbox/markdown/Form.d.ts +0 -10
  1283. package/dist/client/ai-employees/chatbox/markdown/Generating.d.ts +0 -10
  1284. package/dist/client/ai-employees/chatbox/markdown/Markdown.d.ts +0 -13
  1285. package/dist/client/ai-employees/chatbox/roles.d.ts +0 -32
  1286. package/dist/client/ai-employees/chatbox/stores/chat-box.d.ts +0 -9
  1287. package/dist/client/ai-employees/chatbox/stores/chat-conversations.d.ts +0 -9
  1288. package/dist/client/ai-employees/chatbox/stores/chat-messages.d.ts +0 -9
  1289. package/dist/client/ai-employees/chatbox/stores/chat-tools.d.ts +0 -51
  1290. package/dist/client/ai-employees/chatbox/stores/create-selectors.d.ts +0 -18
  1291. package/dist/client/ai-employees/chatbox/stores/workflow-tasks.d.ts +0 -45
  1292. package/dist/client/ai-employees/context/classic-pages.d.ts +0 -10
  1293. package/dist/client/ai-employees/data-modeling/Table.d.ts +0 -12
  1294. package/dist/client/ai-employees/data-modeling/setup.d.ts +0 -10
  1295. package/dist/client/ai-employees/data-modeling/tools/index.d.ts +0 -10
  1296. package/dist/client/ai-employees/data-modeling/ui/useFieldInterfaceOptions.d.ts +0 -14
  1297. package/dist/client/ai-employees/datasource/DatasourceList.d.ts +0 -17
  1298. package/dist/client/ai-employees/datasource/index.d.ts +0 -9
  1299. package/dist/client/ai-employees/flow/events/index.d.ts +0 -9
  1300. package/dist/client/ai-employees/flow/index.d.ts +0 -36
  1301. package/dist/client/ai-employees/flow/models/AIEmployeeActionModel.d.ts +0 -18
  1302. package/dist/client/ai-employees/flow/models/AIEmployeeShortcutModel.d.ts +0 -30
  1303. package/dist/client/ai-employees/form-filler/tools/index.d.ts +0 -10
  1304. package/dist/client/ai-employees/shortcuts/ShortcutList.d.ts +0 -10
  1305. package/dist/client/ai-employees/shortcuts/useShortcuts.d.ts +0 -13
  1306. package/dist/client/ai-employees/stores/context-aware.d.ts +0 -19
  1307. package/dist/client/ai-employees/sub-agents/tools/index.d.ts +0 -10
  1308. package/dist/client/ai-employees/suggestions/tools/index.d.ts +0 -10
  1309. package/dist/client/ai-employees/suggestions/ui/SuggestionsOptions.d.ts +0 -13
  1310. package/dist/client/ai-employees/types.d.ts +0 -259
  1311. package/dist/client/ai-employees/workflow-tasks/tools/index.d.ts +0 -10
  1312. package/dist/client/chat-settings/Messages.d.ts +0 -11
  1313. package/dist/client/chat-settings/StructuredOutput.d.ts +0 -11
  1314. package/dist/client/components/skill-settings.d.ts +0 -22
  1315. package/dist/client/llm-providers/anthropic/ModelSettings.d.ts +0 -10
  1316. package/dist/client/llm-providers/anthropic/ProviderSettings.d.ts +0 -10
  1317. package/dist/client/llm-providers/anthropic/index.d.ts +0 -10
  1318. package/dist/client/llm-providers/components/Chat.d.ts +0 -10
  1319. package/dist/client/llm-providers/components/ModelSelect.d.ts +0 -10
  1320. package/dist/client/llm-providers/dashscope/ModelSettings.d.ts +0 -10
  1321. package/dist/client/llm-providers/dashscope/ProviderSettings.d.ts +0 -10
  1322. package/dist/client/llm-providers/dashscope/index.d.ts +0 -10
  1323. package/dist/client/llm-providers/deepseek/ModelSettings.d.ts +0 -10
  1324. package/dist/client/llm-providers/deepseek/index.d.ts +0 -10
  1325. package/dist/client/llm-providers/google-genai/MessageRenderer.d.ts +0 -13
  1326. package/dist/client/llm-providers/google-genai/ModelSettings.d.ts +0 -10
  1327. package/dist/client/llm-providers/google-genai/ProviderSettings.d.ts +0 -10
  1328. package/dist/client/llm-providers/google-genai/index.d.ts +0 -10
  1329. package/dist/client/llm-providers/kimi/ModelSettings.d.ts +0 -10
  1330. package/dist/client/llm-providers/kimi/index.d.ts +0 -10
  1331. package/dist/client/llm-providers/mimo/ModelSettings.d.ts +0 -10
  1332. package/dist/client/llm-providers/mimo/index.d.ts +0 -10
  1333. package/dist/client/llm-providers/ollama/ModelSettings.d.ts +0 -10
  1334. package/dist/client/llm-providers/ollama/ProviderSettings.d.ts +0 -10
  1335. package/dist/client/llm-providers/ollama/index.d.ts +0 -10
  1336. package/dist/client/llm-providers/openai/completions/ModelSettings.d.ts +0 -10
  1337. package/dist/client/llm-providers/openai/completions/index.d.ts +0 -10
  1338. package/dist/client/llm-providers/openai/components/ProviderSettings.d.ts +0 -10
  1339. package/dist/client/llm-providers/openai/responses/ModelSettings.d.ts +0 -10
  1340. package/dist/client/llm-providers/openai/responses/index.d.ts +0 -10
  1341. package/dist/client/llm-providers/tongyi/ModelSettings.d.ts +0 -10
  1342. package/dist/client/llm-providers/tongyi/ProviderSettings.d.ts +0 -10
  1343. package/dist/client/llm-providers/tongyi/index.d.ts +0 -10
  1344. package/dist/client/llm-providers/xai/ModelSettings.d.ts +0 -10
  1345. package/dist/client/llm-providers/xai/index.d.ts +0 -10
  1346. package/dist/client/llm-services/LLMServices.d.ts +0 -13
  1347. package/dist/client/llm-services/component/DefaultModelSelect.d.ts +0 -10
  1348. package/dist/client/llm-services/component/EnabledModelsSelect.d.ts +0 -23
  1349. package/dist/client/llm-services/component/LLMTestFlight.d.ts +0 -10
  1350. package/dist/client/llm-services/component/ModelOptionsSettings.d.ts +0 -10
  1351. package/dist/client/llm-services/component/UnifiedModelSettings.d.ts +0 -10
  1352. package/dist/client/llm-services/hooks/useLLMServiceCatalog.d.ts +0 -18
  1353. package/dist/client/llm-services/llm-providers.d.ts +0 -27
  1354. package/dist/client/llm-services/utils.d.ts +0 -30
  1355. package/dist/client/manager/ai-manager.d.ts +0 -35
  1356. package/dist/client/repositories/AIConfigRepository.d.ts +0 -60
  1357. package/dist/client/repositories/hooks/useAIConfigRepository.d.ts +0 -10
  1358. package/dist/client/schemas/llms.d.ts +0 -347
  1359. package/dist/client/workflow/nodes/employee/components/AIEmployeeSelect.d.ts +0 -10
  1360. package/dist/client/workflow/nodes/employee/components/assigness.d.ts +0 -11
  1361. package/dist/client/workflow/nodes/employee/components/file-inputs.d.ts +0 -10
  1362. package/dist/client/workflow/nodes/employee/components/message-inputs.d.ts +0 -12
  1363. package/dist/client/workflow/nodes/employee/components/model-options.d.ts +0 -10
  1364. package/dist/client/workflow/nodes/employee/components/structured-output.d.ts +0 -10
  1365. package/dist/client/workflow/nodes/employee/components/users-select.d.ts +0 -15
  1366. package/dist/client/workflow/nodes/employee/components/web-search-options.d.ts +0 -10
  1367. package/dist/client/workflow/nodes/employee/configuration.d.ts +0 -12
  1368. package/dist/client/workflow/nodes/employee/flow-models/feedback.d.ts +0 -14
  1369. package/dist/client/workflow/nodes/employee/flow-models/task.d.ts +0 -13
  1370. package/dist/client/workflow/nodes/llm/ModelSettings.d.ts +0 -11
  1371. package/dist/client/workflow/triggers/ai-employee/Parameters.d.ts +0 -13
  1372. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/cli-design/nb-app-design-intent.md +0 -0
  1373. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/cli-design/nb-proxy-design-intent.md +0 -0
  1374. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/airgap.md +0 -0
  1375. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/docker-compose.md +0 -0
  1376. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/operations/backup-restore.md +0 -0
  1377. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/operations/manage-app.md +0 -0
  1378. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/operations/multi-environment.md +0 -0
  1379. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/plugins/third-party.md +0 -0
  1380. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/autostart.md +0 -0
  1381. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/release-management.md +0 -0
  1382. /package/dist/{client → client-v2}/ai-employees/AISelection.d.ts +0 -0
  1383. /package/dist/{client → client-v2}/ai-employees/AISelectionControl.d.ts +0 -0
  1384. /package/dist/{client → client-v2}/ai-employees/ai-coding/prompts.d.ts +0 -0
  1385. /package/dist/{client → client-v2}/ai-employees/ai-coding/setup.d.ts +0 -0
  1386. /package/dist/{client/ai-employees/chatbox/AIEmployeeSwitch.d.ts → client-v2/ai-employees/chatbox/components/AIEmployeeSwitcher.d.ts} +0 -0
  1387. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ChatButton.d.ts +0 -0
  1388. /package/dist/{client/ai-employees/chatbox/conversations → client-v2/ai-employees/chatbox/components}/Conversations.d.ts +0 -0
  1389. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/Messages.d.ts +0 -0
  1390. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ModelSwitcher.d.ts +0 -0
  1391. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/SearchSwitch.d.ts +0 -0
  1392. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/Sender.d.ts +0 -0
  1393. /package/dist/{client/ai-employees/chatbox/generative-ui → client-v2/ai-employees/chatbox/components}/ToolModal.d.ts +0 -0
  1394. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/UserPrompt.d.ts +0 -0
  1395. /package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChatBoxEffect.d.ts +0 -0
  1396. /package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useLoadMoreObserver.d.ts +0 -0
  1397. /package/dist/client-v2/ai-employees/{chatbox/stores → stores}/global-store.d.ts +0 -0
  1398. /package/dist/{client/ai-employees/flow/models → client-v2/models/ai-employees}/AIEmployeeShortcutListModel.d.ts +0 -0
  1399. /package/dist/{client/ai-employees/flow/models → client-v2/models/ai-employees}/index.d.ts +0 -0
  1400. /package/dist/{client/ai-employees/flow/events/ai-context-selection.d.ts → client-v2/workflow/components/index.d.ts} +0 -0
  1401. /package/dist/node_modules/@langchain/{xai → mistralai}/dist/_virtual/rolldown_runtime.cjs +0 -0
@@ -0,0 +1,77 @@
1
+ ---
2
+ pkg: "@nocobase/plugin-ai-knowledge-base"
3
+ title: "Settings"
4
+ description: "Modify basic information, vector store, and default segmentation settings on the Settings page of a knowledge base, and understand the relation between knowledge-base-level and document-level segmentation settings."
5
+ keywords: "knowledge base settings,segmentation settings,Chunk size,Chunk overlap,vector store,NocoBase"
6
+ ---
7
+
8
+ # Settings
9
+
10
+ ## Open the Settings page
11
+
12
+ After opening the knowledge base detail page, click Settings in the left sidebar. This page modifies basic information, file storage, vector store, and default segmentation settings of the current knowledge base.
13
+
14
+ ![](https://static-docs.nocobase.com/20260617005832.png)
15
+
16
+ ## Basic information
17
+
18
+ Local knowledge base settings include:
19
+
20
+ | Setting | Description |
21
+ | --- | --- |
22
+ | Key | Unique identifier of the knowledge base. It cannot be changed after creation |
23
+ | Name | Knowledge base name |
24
+ | File storage | Where documents and segment files are stored. It cannot be changed after creation |
25
+ | Vector store | Vector store used by the current knowledge base |
26
+ | Description | Knowledge base description |
27
+ | Enabled | Whether the current knowledge base is enabled |
28
+
29
+ :::tip Vector store changes
30
+
31
+ After you modify Vector store, NocoBase asks for confirmation when saving. After the vector store changes, existing documents must be vectorized again before vector data can be written to the new vector store. Choose Save and vectorize to save the settings and vectorize immediately, or choose Save only to save the settings and later run Vectorization manually on the Documents page.
32
+
33
+ :::
34
+
35
+ ![](https://static-docs.nocobase.com/20260617005951.png)
36
+
37
+ ## Default segmentation parameters
38
+
39
+ The Settings page includes three segmentation parameters:
40
+
41
+ | Setting | Default | Description |
42
+ | --- | --- | --- |
43
+ | Split document | Enabled | Whether uploaded documents are automatically split into multiple segments |
44
+ | Chunk size | `6000` | Maximum character count of each segment |
45
+ | Chunk overlap | `1200` | Overlapping character count between adjacent segments |
46
+
47
+ Chunk overlap cannot be greater than or equal to Chunk size. If the value is invalid, the backend normalizes it to keep overlap smaller than a single segment.
48
+
49
+ ## Relation to document-level segment settings
50
+
51
+ These settings are knowledge-base-level defaults. They mainly affect documents uploaded or regenerated later.
52
+
53
+ After a document enters the knowledge base, it keeps its own segmentation parameters. On the Documents page, click Segments for a document, then open Segment settings to set Split document, Chunk size, and Chunk overlap for that document and run Resegment.
54
+
55
+ The relation between the two places is:
56
+
57
+ - Segmentation parameters in Settings define the default strategy for the knowledge base and are suitable for controlling new documents consistently
58
+ - Segmentation parameters in the Segments dialog only apply to the current document and are suitable for handling a document that is too long, too short, or structurally special
59
+ - Existing generated segments are not automatically rebuilt after knowledge-base-level defaults change
60
+ - To apply new parameters to an existing document, open its Segment settings and run Resegment
61
+
62
+ :::warning Note
63
+
64
+ Resegment discards manually edited segment content and related questions in that document. Changing knowledge-base-level defaults does not immediately overwrite existing segments; only document-level Resegment rebuilds segments.
65
+
66
+ :::
67
+
68
+ ## When to adjust parameters
69
+
70
+ Default parameters cover most plain text, Markdown, Word, and PDF documents. Adjust them only in these cases:
71
+
72
+ - Segments are too long and matched results include too much unrelated content: reduce Chunk size
73
+ - Segments are too short and context is incomplete: increase Chunk size
74
+ - Sentence breaks are obvious between adjacent segments: increase Chunk overlap
75
+ - You want the whole document to be one retrieval unit: turn off Split document
76
+
77
+ After saving settings, newly uploaded documents use the new default parameters.
@@ -19,7 +19,7 @@ Select the AI employee for which you want to enable RAG, click the `Edit` button
19
19
  In the `Knowledge base` tab, turn on the `Enable` switch.
20
20
 
21
21
  - In `Knowledge Base Prompt`, enter the prompt for referencing the knowledge base. `{knowledgeBaseData}` is a fixed placeholder and should not be modified.
22
- - In `Knowledge Base`, select the configured knowledge base. See: [Knowledge Base](/ai-employees/knowledge-base/knowledge-base).
22
+ - In `Knowledge Base`, select the configured knowledge base. See: [Knowledge Base](./knowledge-base/).
23
23
  - In the `Top K` input box, enter the number of documents to retrieve, the default is 3.
24
24
  - In the `Score` input box, enter the document relevance threshold for retrieval.
25
25
 
@@ -0,0 +1,125 @@
1
+ ---
2
+ title: "Workflow + AI for employees to complete company background research automation"
3
+ description: "Through company information forms, background investigation records, workflows, and AI employees, a company background investigation process can be automatically triggered, retained, and supported for manual review."
4
+ keywords: "NocoBase, AI employees, workflow, company background research, due diligence, automation, business practice"
5
+ ---
6
+
7
+ # Workflow + AI for employees to complete company background research automation
8
+
9
+ In NocoBase, you can turn company background research into a trackable automated task flow. Business staff still work in the familiar company information page, while workflow and AI staff are responsible for completing background information, recording the processing process, and saving each generated report.
10
+
11
+ ![](https://static-docs.nocobase.com/202607121806356.png)
12
+
13
+ This scenario is suitable for dealing with a common problem: company background information is not a static field that ends after being entered once. Public information will change, regulatory events will occur, and the status of cooperation will be constantly adjusted as business progresses. If you only rely on manual supplementary recording on a regular basis, it will be easy to miss; if you directly let AI cover company information, it will be difficult to explain "how this judgment came about." The approach here is to separate and save the current data and the research process - the company record saves the version being used by the business personnel, and the background check record saves the status, output and history of each AI survey.
14
+
15
+ ## Let’s look at the two tables first
16
+
17
+ The company information form provides the basic information of the research object, and the background investigation record form is responsible for undertaking each research task. One saves the currently available information, and the other saves the processing process and historical results.
18
+
19
+ ### `companies`: Company information table
20
+
21
+ | Core fields | effect |
22
+ | ---------------------- | -------------------------------------------------------------- |
23
+ | Company name | The main identifying information of the research object. |
24
+ | Website | Provide official website clues to reduce misjudgments caused by companies with the same name or abbreviation. |
25
+ | Address | Assist in determining regions, entities and business scope. |
26
+ | Company type | Mark business relationships such as customers, suppliers, partners, etc. to facilitate subsequent judgment and follow-up priorities. |
27
+ | Background information | Save the company background report you are currently using and use Markdown to render structured content. |
28
+
29
+ ### `background_check_tasks`: Background check record form
30
+
31
+ | Core fields | effect |
32
+ | ------------------------- | ---------------------------------------------------------------------------------- |
33
+ | Company ID / Company name | Record which company this survey is for to facilitate task execution and historical review. |
34
+ | Status | The flow of marking tasks from `pending` to `processing` and `completed` is also the basis for preventing repeated triggering. |
35
+ | Research report | Save the complete research report generated by AI this time. |
36
+ | Summary | Save AI's summary of the research process, risk points, and information to be supplemented. |
37
+ | Previous background | Save the old version before writing back, supporting historical tracking and comparison of old and new reports. |
38
+
39
+ ![](https://static-docs.nocobase.com/202607121807627.png)
40
+
41
+ ## Enter the research process from company information
42
+
43
+ The company list is the most familiar entrance for business people. You can see the company name, official website, company type, contact person, email and other information on the page. After entering a company, business personnel can view the current background report or initiate a new background investigation.
44
+
45
+ After entering the editing page, "Background information" is displayed using the Markdown editing component. The AI-generated content is not a short summary, but a structured report that can be read, copied, and continued to be maintained. Business personnel can still modify it manually, but each result generated by AI will leave a corresponding history in the background check record.
46
+
47
+ ![](https://static-docs.nocobase.com/202607121807450.png)
48
+
49
+ In this way, the page still looks like an ordinary company data maintenance interface, and the underlying processing method has become "current data + research history". The company table saves the current version, and the task table saves the process and evidence chain.
50
+
51
+ ## Three triggering methods
52
+
53
+ ![](https://static-docs.nocobase.com/202607121807495.png)
54
+
55
+ Background research shouldn’t just rely on a manual button. In real business, you may want to automatically complete the information after adding a new company, you may also need to make up historical records regularly, and you may also take the initiative to re-investigate before signing a contract or reviewing.
56
+
57
+ The `New company background check` workflow handles automatic research after adding or updating a company. It listens to the data events of the company table and is triggered when the company name exists and the background information is empty. The AI ​​will not be called immediately after triggering, but will first check whether there are any unfinished tasks for the same company; if not, a new background check record will be created.
58
+
59
+ ![](https://static-docs.nocobase.com/202607121807374.png)
60
+
61
+ The `Timing company background check` workflow is responsible for the continuous completion of historical data. It runs every 30 minutes, queries companies whose background information is still empty, and loops through batches. Inside the loop, we also check whether the task already exists, and then decide whether to create a new task. In this way, the scheduled task can be run repeatedly without creating multiple concurrently processed records due to repeated scanning.
62
+
63
+ ![](https://static-docs.nocobase.com/202607121807404.png)
64
+
65
+ The `Manual company background check` workflow is bound to the "Run background check" button on the company details page, which is suitable for business personnel to proactively initiate a survey before visiting, signing a contract, or reviewing. Manual triggering and automatic triggering use the same set of follow-up links: a background check record is created first, and then the task execution workflow takes over the AI ​​investigation.
66
+
67
+ ![](https://static-docs.nocobase.com/202607121807793.png)
68
+
69
+ These three entrances solve problems at different points in time, and are ultimately merged into the same background investigation record form. New triggers, scheduled triggers, and manual triggers are only responsible for recording the "need to investigate", and the specific execution, status management, and result writing back are handed over to subsequent workflows for unified processing.
70
+
71
+ ## Turn AI research into tasks
72
+
73
+ `Do company background check` is the workflow that actually performs research. It listens for the `pending` record in the background check record table. Once the previous automatic, scheduled or manual process creates a task, this workflow will be triggered asynchronously.
74
+
75
+ When executed, the workflow first queries whether the company still exists. If the company does not exist, the task will be closed and the description will be written; if the company exists, the task status will be switched to `processing`, and then the AI ​​employee will be called to generate the report. The prompt word of the AI ​​employee requires the output of two parts: a Markdown report that can be written directly into the company background field, and a summary for manual review.
76
+
77
+ ![](https://static-docs.nocobase.com/202607121808833.png)
78
+
79
+ After AI returns structured results, the workflow first writes the report, summary, and old background content into the background check record, and then writes the new report back to the company record. This order avoids the problem of "only the latest results, no process records": the company page keeps the latest available content, and the task records retain the context before this generation and writing back.
80
+
81
+ ![](https://static-docs.nocobase.com/202607121808662.png)
82
+
83
+ After tasking, batch processing will also become more natural. The scheduled workflow does not need to wait for each company's research to be completed, but is only responsible for creating multiple records to be processed; each record independently triggers the AI ​​survey. Multiple companies can advance in parallel, and if a certain task fails or times out, other companies will not be blocked.
84
+
85
+ ## Make AI results reviewable
86
+
87
+ AI-generated reports are organized according to a fixed structure: company profile, core business, development history and capital background, market position and competitive perspective, sales follow-up judgment, and citation links. Business personnel can see not only the "conclusion", but also the risk tips and additional information given by AI in the summary.
88
+
89
+ The background investigation record details page displays "Research report" and "Previous background" in tabs, and provides a "Copy" operation. In this way, you can quickly copy this report during discussion, review, or external communication, and you can also check changes against the old version.
90
+
91
+ The record details also configure two AI worker tasks. in:
92
+
93
+ - Improve the background research report: regenerate the report after adding information through dialogue, and write the results back to the company records
94
+ - Compare the old and new background research reports: Read the old and new reports and let AI explain the substantial differences brought about by this update
95
+
96
+ This allows AI not to stop at “generating text once” but to participate in the process of continuous maintenance, review and version comparison.
97
+
98
+ ![](https://static-docs.nocobase.com/202607121808444.png)
99
+
100
+ ## How to combine workflow
101
+
102
+ Overall, this set of workflows can be divided into four layers.
103
+
104
+ The first layer is responsible for creating tasks. `New company background check` is for newly added or updated companies, `Timing company background check` is for historical data completion, and `Manual company background check` is for manual initiative. They will all check whether there are any unfinished records before creating a task, reducing duplicate processing from the source.
105
+
106
+ The second layer is responsible for performing tasks. `Do company background check` listens to the background check record, advances the pending task to processing, calls the AI ​​employee, and writes the report, summary, and company's current background fields upon completion.
107
+
108
+ The third layer is responsible for providing controlled writeback capabilities to AI employees. As a tool-based workflow, `Update company background` restricts AI to only write specified records according to clear parameters to avoid over-exerting data modification permissions.
109
+
110
+ The fourth layer is responsible for exception cleaning. `Clean overtime processing background check` runs every 30 minutes to clean up non-completed tasks that have not been completed for more than 15 minutes to avoid long-term processing of tasks after abnormal interruption.
111
+
112
+ ![](https://static-docs.nocobase.com/202607121808799.png)
113
+
114
+ ## What scenarios can be migrated to?
115
+
116
+ What this scene shows is not an isolated form or a separate AI button, but a combination of several capabilities in NocoBase: the data table is responsible for carrying business objects and historical records, the page is responsible for viewing and triggering by business personnel, the workflow is responsible for scheduling and writing back, and the AI ​​staff is responsible for generating reviewable structured results.
117
+
118
+ Similar models can be migrated to scenarios such as supplier admission, customer due diligence, contract risk preliminary review, lead quality scoring, public opinion tracking, and preliminary screening of investment and financing targets. As long as there are several requirements in the business such as "data needs to be continuously completed", "AI results need to be left behind" and "historical versions cannot be overwritten", a runnable, trackable and scalable automated process can be built in a similar way.
119
+
120
+ ## Reference documentation
121
+
122
+ - [NocoBase Workflow](/workflow/)
123
+ - [NocoBase AI Employee](/ai-employees/)
124
+ - [NocoBase Workflow AI Employee Node ](/ai-employees/workflow/nodes/employee/configuration)
125
+ - [NocoBase AI employee customization tool ](/ai-employees/features/tools)
@@ -0,0 +1,79 @@
1
+ ---
2
+ pkg: "@nocobase/plugin-ai-knowledge-base"
3
+ title: "Workflow AI knowledge base node - Create document"
4
+ description: "Use a collection event trigger and the AI knowledge base Create document node to synchronize newly added records to the AI knowledge base."
5
+ keywords: "AI knowledge base,workflow,create document,collection event trigger,NocoBase"
6
+ ---
7
+
8
+ # Create document
9
+
10
+ <PluginInfo name="ai-knowledge-base"></PluginInfo>
11
+
12
+ ## Introduction
13
+
14
+ In NocoBase, the **Create document** node writes new documents to an AI knowledge base from a workflow. In this example, it listens for new records in `Answers` and writes the answer body, document name, related questions, and a stable `Key` to the target knowledge base.
15
+
16
+ AI knowledge base nodes are asynchronous nodes, so the workflow must use asynchronous execution. Prepare the target knowledge base and vector store first. See [Overview](./) for the full scenario.
17
+
18
+ ## Workflow structure
19
+
20
+ The example workflow listens for new records in `Answers` and synchronizes each answer as one document in the target knowledge base.
21
+
22
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-create-editable-overview.png)
23
+
24
+ Where:
25
+
26
+ - `Collection event` listens for newly added collection records
27
+ - `Create document` writes record content to the AI knowledge base
28
+
29
+ ## Before you start
30
+
31
+ The example uses the `Answers` / `Questions` collections and target knowledge base described in [Overview](./). Before configuring the workflow, confirm that:
32
+
33
+ - A Local knowledge base has been created, with file storage and vector store configured. See [Knowledge base overview](../../../knowledge-base/knowledge-base) and [Vector store](../../../knowledge-base/vector-store)
34
+ - The `Answers.questions` relation field is ready. To review the collection structure, return to [Overview](./)
35
+ - The workflow uses asynchronous execution. See [Workflow](../../../../workflow) for the basics
36
+
37
+ ## Configure the trigger
38
+
39
+ Create an asynchronous workflow and select `Collection event` as the trigger. In the trigger configuration:
40
+
41
+ - Set `Collection` to the collection to synchronize, such as `Main / Answers`
42
+ - Set `Trigger on` to `After record added`
43
+ - If the document needs fields from related collections, preload relation fields in `Preload associations`
44
+
45
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-create-trigger-config.png)
46
+
47
+ The example preloads the `questions` relation field so related questions can be written to `Related questions`.
48
+
49
+ ## Configure the Create document node
50
+
51
+ Add a `Create document` node after the trigger.
52
+
53
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-create-node-config.png)
54
+
55
+ Key settings:
56
+
57
+ These settings decide the knowledge base document name, body content, splitting behavior, and whether related questions are included.
58
+
59
+ | Setting | Example value | Description |
60
+ | --- | --- | --- |
61
+ | `Knowledge base` | Target knowledge base | Select the same Local knowledge base prepared in the overview. The workflow creates a document in its `Documents` list and then enters splitting and vectorization. |
62
+ | `Split document` | `No` | Controls whether the body is split into multiple segments. In this example, one answer is already a complete response. With splitting disabled, the whole document becomes one segment and works better with `Related questions`. |
63
+ | `Related questions` | `Answers.questions.content` | Only takes effect when `Split document` is disabled. It writes common phrasings into `Related questions` for the current segment. It does not rewrite the body, but participates in retrieval. |
64
+ | `Document type` | `Text` | Creates a knowledge base document from a text field. The example uses a collection field as the answer body, so `Text` is selected. Use `Attachment` if your business collection stores files or file URLs. |
65
+ | `Content` | `Answers.Content` | Select the answer body as the knowledge base document body. The `Content` shown in segment management comes from this field. |
66
+ | `Key` | `Answers.ID` | Sets the unique identifier of the knowledge base document. The example uses the `Answers` record ID so update and delete workflows can find the same document by the same `Key`. |
67
+ | `Name` | `Answers.Title` | Sets the document name. The example uses the answer title, making it easier to identify the document in `Documents`, enter segment management, and run hit tests. |
68
+
69
+ If `Related questions` references relation fields, configure `Preload associations` in the trigger first. Otherwise, the node can only access the current `Answers` record and cannot read the related `questions` data.
70
+
71
+ :::warning Note
72
+
73
+ `Key` is used by the later update and delete workflows. The Create, Update, and Delete workflows must use the same Key rule, usually the business collection record ID.
74
+
75
+ :::
76
+
77
+ ## Next step
78
+
79
+ The Create document workflow is the starting point of the synchronization chain. Continue with [Update document](./update-document) and [Delete document](./delete-document), then return to the "Verify the synchronization chain" section in [Overview](./) to verify add, update, and delete in order.
@@ -0,0 +1,71 @@
1
+ ---
2
+ pkg: "@nocobase/plugin-ai-knowledge-base"
3
+ title: "Workflow AI knowledge base node - Delete document"
4
+ description: "Use a collection event trigger and the AI knowledge base Delete document node to delete knowledge base documents after collection records are deleted."
5
+ keywords: "AI knowledge base,workflow,delete document,collection event trigger,NocoBase"
6
+ ---
7
+
8
+ # Delete document
9
+
10
+ <PluginInfo name="ai-knowledge-base"></PluginInfo>
11
+
12
+ ## Introduction
13
+
14
+ In NocoBase, the **Delete document** node deletes a specified document from an AI knowledge base. In this example, it listens for deletion events in `Answers` and deletes the corresponding document from the target knowledge base by the same `Key` used by Create document, so removed data is no longer retrieved.
15
+
16
+ The Delete document node is asynchronous. It depends on the `Key` written when the document was created, so it must use the same target knowledge base and the same `Key` rule as the Create and Update document nodes.
17
+
18
+ ## Workflow structure
19
+
20
+ The example workflow listens for deletion events in `Answers` and deletes the document with the same `Key` from the target knowledge base.
21
+
22
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-delete-editable-overview.png)
23
+
24
+ Where:
25
+
26
+ - `Collection event` listens for collection deletion
27
+ - `Delete document` deletes the document from the target knowledge base
28
+
29
+ ## Before you start
30
+
31
+ The example uses the target knowledge base and `Key` rule from [Create document](./create-document). Before configuring the workflow, confirm that:
32
+
33
+ - The Create document workflow is enabled and the target knowledge base contains documents with the same `Key`
34
+ - The delete workflow can read this `Key` from trigger data. The example uses the `Answers` record ID
35
+ - If you need to review the full synchronization chain, see the workflow responsibilities in [Overview](./)
36
+
37
+ ## Configure the trigger
38
+
39
+ Select `Collection event` as the trigger. In the trigger configuration:
40
+
41
+ - Set `Collection` to the collection to listen to, such as `Main / Answers`
42
+ - Set `Trigger on` to `After record deleted`
43
+
44
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-delete-trigger-config.png)
45
+
46
+ Deleting a document only needs the document `Key`, so relation fields usually do not need to be preloaded.
47
+
48
+ ## Configure the Delete document node
49
+
50
+ Add a `Delete document` node after the trigger.
51
+
52
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-delete-node-config.png)
53
+
54
+ Key settings:
55
+
56
+ The Delete document node only needs to locate the document to delete. It does not need body content, title, or related questions.
57
+
58
+ | Setting | Example value | Description |
59
+ | --- | --- | --- |
60
+ | `Knowledge base` | Target knowledge base | Select the same knowledge base used by the Create and Update document nodes. |
61
+ | `Key` | `Answers.ID` | Select the exact same field used by the Create document node. The example continues to use the `Answers` record ID so the node deletes the document that corresponds to this answer. |
62
+
63
+ :::warning Note
64
+
65
+ The delete node does not look up documents by title or body content. It only locates documents by `Knowledge base` and `Key`. The Create, Update, and Delete workflows must use the same `Key`.
66
+
67
+ :::
68
+
69
+ ## Next step
70
+
71
+ After configuring the Delete document node, return to the "Verify the synchronization chain" section in [Overview](./) to verify add, update, and delete in order.
@@ -0,0 +1,92 @@
1
+ ---
2
+ pkg: "@nocobase/plugin-ai-knowledge-base"
3
+ title: "Workflow AI knowledge base nodes overview"
4
+ description: "Introduces the workflow AI knowledge base node scenario, collection structure, and how Create, Update, and Delete document nodes synchronize knowledge base content."
5
+ keywords: "AI knowledge base,workflow,collection event trigger,knowledge base synchronization,NocoBase"
6
+ ---
7
+
8
+ # Overview
9
+
10
+ <PluginInfo name="ai-knowledge-base"></PluginInfo>
11
+
12
+ ## Introduction
13
+
14
+ AI knowledge base nodes allow workflows to manage knowledge base documents directly. When business data changes, you can synchronize added, updated, and deleted records to the knowledge base, keeping knowledge base content aligned with your business collections.
15
+
16
+ This documentation uses a Q&A scenario as an example: administrators maintain standard answers and common phrasings for each answer. Workflows synchronize the answer body and related questions to the same target knowledge base, so AI employees or other processes can later use those knowledge base documents.
17
+
18
+ ## Example scenario
19
+
20
+ The example uses two business collections:
21
+
22
+ - `Answers`: stores answer content that can be synchronized to the knowledge base
23
+ - `Questions`: stores common phrasings related to each answer
24
+
25
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-overview-collections.png)
26
+
27
+ `Answers` is the source collection for knowledge base documents. When an answer is added, a document is created. When an answer is changed, the document is updated. When an answer is deleted, the document is removed.
28
+
29
+ `Questions` is not an independent source of knowledge base documents. It is attached to answers through the `Answers.questions` relation field and supplements the different phrasings that can point to the same answer.
30
+
31
+ Before synchronization, prepare a Local knowledge base. You can name it according to your environment. The Create, Update, and Delete workflows only need to select the same knowledge base.
32
+
33
+ ## Answers collection structure
34
+
35
+ `Answers` mainly uses three fields:
36
+
37
+ - `Title`: used as the knowledge base document name
38
+ - `Content`: used as the knowledge base document body
39
+ - `questions`: relation to the `Questions` collection for related questions
40
+
41
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-overview-answers-fields.png)
42
+
43
+ `questions` is a one-to-many relation field. Its source collection is `Answers`, target collection is `Questions`, both source key and target key use `ID`, and the foreign key is stored in `Questions`.
44
+
45
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-overview-answers-questions-relation.png)
46
+
47
+ This relation field is preloaded when creating and updating documents. It writes related questions into `Related questions`, so one answer can be retrieved not only by body text but also by common phrasings.
48
+
49
+ :::tip
50
+
51
+ If your knowledge base documents do not need related questions, you do not need a relation field like `questions`. A stable `Key` field and body content are enough for create, update, and delete synchronization.
52
+
53
+ :::
54
+
55
+ ## Workflow responsibilities
56
+
57
+ The core of this example is three synchronization workflows. They process the same `Answers` data and write to the same target knowledge base:
58
+
59
+ | Scenario | Trigger | Node | Purpose |
60
+ | --- | --- | --- | --- |
61
+ | Add answer | `Answers` collection `After record added` | `Create document` | Write the new answer to the AI knowledge base |
62
+ | Update answer | `Answers` collection `After record updated` | `Update document` | Update the document by the same `Key` |
63
+ | Delete answer | `Answers` collection `After record deleted` | `Delete document` | Delete the document by the same `Key` |
64
+
65
+ `Key` is the most important field in the synchronization chain. Create, update, and delete workflows must use the same `Key` rule. The example directly uses the record ID of the `Answers` collection.
66
+
67
+ :::tip Text content ingestion and vectorization
68
+
69
+ When configuring a Create document or Update document node, if `Document type` is set to `Text`, the workflow first saves the text field selected in `Content` as a `.txt` document, then writes it to the target knowledge base. The knowledge base then generates segments according to the current segmentation settings, vectorizes enabled segments together with their related questions, and stores them in the vector database bound to the knowledge base.
70
+
71
+ This process runs as an asynchronous workflow node. A completed node does not mean the document can be retrieved immediately. Usually, wait until `Status` in the `Documents` list changes to `Success` before checking segments or running hit tests.
72
+
73
+ :::
74
+
75
+ ## Operation guides
76
+
77
+ - [Create document](./create-document)
78
+ - [Update document](./update-document)
79
+ - [Delete document](./delete-document)
80
+ - [Retrieve document](./retrieve-document)
81
+
82
+ ## Verify the synchronization chain
83
+
84
+ After configuring the Create, Update, and Delete workflows, use the same `Answers` record to verify the full synchronization chain.
85
+
86
+ After adding an answer, check in this order:
87
+
88
+ 1. Go to `Documents` in the target knowledge base, confirm that the new document appears, and check that `Status` is `Success`. See [knowledge base document management](../../../knowledge-base/knowledge-base/documents) for details.
89
+ 2. Click `Segments` for the document and confirm that `Related questions` includes common phrasings from `Answers.questions`. See [segment management](../../../knowledge-base/knowledge-base/segments) for details.
90
+ 3. Go to `Hit tests`, enter a keyword from the answer body or a related question, and confirm that the synchronized answer can be hit. See [hit tests](../../../knowledge-base/knowledge-base/hit-tests) for details.
91
+
92
+ After the add synchronization is correct, update the same `Answers` record and confirm that the target knowledge base document changes. Finally, delete the record and confirm that the corresponding document is removed from the target knowledge base.
@@ -0,0 +1,87 @@
1
+ ---
2
+ pkg: "@nocobase/plugin-ai-knowledge-base"
3
+ title: "Workflow AI knowledge base node - Retrieve document"
4
+ description: "Use the AI knowledge base Retrieve document node in a workflow to retrieve snippets and provide them as task context for an AI employee node."
5
+ keywords: "AI knowledge base,workflow,retrieve document,AI employee,RAG,NocoBase"
6
+ ---
7
+
8
+ # Retrieve document
9
+
10
+ <PluginInfo name="ai-knowledge-base"></PluginInfo>
11
+
12
+ ## Introduction
13
+
14
+ In NocoBase, the **Retrieve document** node searches an AI knowledge base in a workflow and returns matched document snippets. It is suitable before an AI employee node: retrieve knowledge base snippets with task input first, then pass the results to the AI employee as task context.
15
+
16
+ The Retrieve document node is asynchronous. Before using it, configure the knowledge base and make sure it already contains vectorized documents.
17
+
18
+ ## Workflow structure
19
+
20
+ The example workflow listens for new records in `Questions`, sends matching text to `Retrieve document`, and passes the retrieval result to a downstream `AI employee` node for task processing.
21
+
22
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-retrieve-overview.png)
23
+
24
+ Where:
25
+
26
+ - `Collection event` receives task input
27
+ - `Retrieve document` retrieves snippets from the knowledge base
28
+ - `AI employee` processes the task based on snippets
29
+
30
+ In real business workflows, the result generated by the AI employee usually needs to be saved. You can continue with database operation nodes after it. This guide omits those later saving steps to focus on the Retrieve document node.
31
+
32
+ ## Before you start
33
+
34
+ This example is an independent retrieval workflow. Before configuring it, confirm that:
35
+
36
+ - The knowledge base already contains vectorized documents. For document maintenance, see [Knowledge base overview](../../../knowledge-base/knowledge-base) and [Create document](./create-document)
37
+ - A data source for matching text is ready. The example uses the `Questions` collection
38
+ - A usable downstream AI employee node is ready. See [AI employee node](../employee/configuration)
39
+
40
+ ## Configure the trigger
41
+
42
+ Select `Collection event` as the trigger. In the trigger configuration:
43
+
44
+ - Set `Collection` to the matching-text source collection, such as `Main / Questions`
45
+ - Set `Trigger on` to `After record added`
46
+
47
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-retrieve-trigger-config.png)
48
+
49
+ Each time an input record is added, the workflow automatically enters retrieval and task processing.
50
+
51
+ ## Configure the Retrieve document node
52
+
53
+ Add a `Retrieve document` node after the trigger. It is recommended to change the node key to an easy-to-reference name, such as `retrieve_docs`.
54
+
55
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-retrieve-node-config.png)
56
+
57
+ Key settings:
58
+
59
+ - Select one or more knowledge bases in `Knowledge base`
60
+ - Set `Input matching text` to the matching text field
61
+ - Set `Top K` to the maximum number of snippets to return
62
+ - Set `Score` to the minimum similarity threshold
63
+
64
+ After execution, the node returns an array of document snippets. Each result contains `id`, `content`, `score`, and `metadata`, sorted by `score` from high to low.
65
+
66
+ ## Pass the result to the AI employee node
67
+
68
+ In the `AI employee` node, write the retrieval result into the prompt. The example directly references the Retrieve document node output:
69
+
70
+ ```text
71
+ Task input: {{$context.data.f_b2izf5j4xx0}}
72
+
73
+ Knowledge base snippets:
74
+ {{$jobsMapByNodeKey.retrieve_docs}}
75
+
76
+ Use the snippets as context to complete the task. If the snippets are not enough, explain what information is missing.
77
+ ```
78
+
79
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-retrieve-ai-employee-config.png)
80
+
81
+ `retrieve_docs` is the key of the retrieval node. If your node key is different, replace it with the actual key.
82
+
83
+ :::tip
84
+
85
+ If you only want to pass snippet text, reference the `content` field in the retrieval result through the variable selector. Passing the whole result array also includes `score` and `metadata`, which helps the AI judge source and relevance.
86
+
87
+ :::
@@ -0,0 +1,70 @@
1
+ ---
2
+ pkg: "@nocobase/plugin-ai-knowledge-base"
3
+ title: "Workflow AI knowledge base node - Update document"
4
+ description: "Use a collection event trigger and the AI knowledge base Update document node to synchronize collection updates to the AI knowledge base."
5
+ keywords: "AI knowledge base,workflow,update document,collection event trigger,NocoBase"
6
+ ---
7
+
8
+ # Update document
9
+
10
+ <PluginInfo name="ai-knowledge-base"></PluginInfo>
11
+
12
+ ## Introduction
13
+
14
+ In NocoBase, the **Update document** node updates existing documents in an AI knowledge base from a workflow. In this example, it listens for updated records in `Answers`, finds the document in the target knowledge base by the same `Key` used by Create document, and rewrites it with the latest fields.
15
+
16
+ The Update document node is asynchronous. It is not used as an independent entry point. It should follow the Create document workflow and use the same target knowledge base and the same `Key` rule as Create and Delete document nodes.
17
+
18
+ ## Workflow structure
19
+
20
+ The example workflow listens for updated records in `Answers` and synchronizes the latest answer content to the same document in the target knowledge base.
21
+
22
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-update-editable-overview.png)
23
+
24
+ Where:
25
+
26
+ - `Collection event` listens for collection updates
27
+ - `Update document` updates the document with the same `Key` in the target knowledge base
28
+
29
+ ## Before you start
30
+
31
+ The example uses the target knowledge base and `Key` rule from [Create document](./create-document). Before configuring the workflow, confirm that:
32
+
33
+ - The Create document workflow is enabled and has created at least one knowledge base document
34
+ - `Key` uses a stable and unique business field. The example uses the `Answers` record ID
35
+ - If updates should also synchronize related questions, preload the `questions` relation field in the trigger
36
+
37
+ ## Configure the trigger
38
+
39
+ Select `Collection event` as the trigger. In the trigger configuration:
40
+
41
+ - Set `Collection` to the collection to listen to, such as `Main / Answers`
42
+ - Set `Trigger on` to `After record updated`
43
+ - Use `Changed fields` to limit which field changes trigger the workflow, such as title or body changes
44
+ - If the node needs relation fields, preload them in `Preload associations`
45
+
46
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-update-trigger-config.png)
47
+
48
+ If `Changed fields` is not selected, any field change triggers this workflow.
49
+
50
+ ## Configure the Update document node
51
+
52
+ Add an `Update document` node after the trigger.
53
+
54
+ ![](https://static-docs.nocobase.com/ai-employees/workflow/knowledge/2026-06-12/kb-update-node-config.png)
55
+
56
+ Key settings:
57
+
58
+ Most Update document settings are the same as [Create document](./create-document). Usually, continue using the same target knowledge base, splitting behavior, body field, and title field. If related questions also need to be synchronized, continue using `Answers.questions.content`.
59
+
60
+ The important difference is `Key`: in the Update document node, `Key` is required and must be exactly the same as in the Create document node. The example continues to use `Answers.ID`, so the node can find and overwrite the same knowledge base document.
61
+
62
+ :::warning Note
63
+
64
+ If no document is found for the specified `Key`, the update fails. Before configuring this workflow, make sure the Create document workflow has already created documents with the same `Key`.
65
+
66
+ :::
67
+
68
+ ## Next step
69
+
70
+ After configuring the Update document node, continue with [Delete document](./delete-document). After all three workflows are configured, return to the "Verify the synchronization chain" section in [Overview](./) to verify add, update, and delete in order.