@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
@@ -1,18 +1,115 @@
1
1
  ---
2
2
  pkg: "@nocobase/plugin-data-source-external-mysql"
3
+ title: "External data source - MySQL"
4
+ description: "Connect MySQL as an external NocoBase database, including version support, plugin installation, connection configuration, table scope, permissions, and field mapping."
5
+ keywords: "external data source,MySQL,external database,field mapping,NocoBase"
3
6
  ---
4
7
 
5
- # External Data Source - MySQL
8
+ # MySQL
6
9
 
7
10
  ## Introduction
8
11
 
9
- Use an external MySQL database as a data source. Currently supported versions: MySQL >= 5.7
12
+ MySQL can be connected to NocoBase as an external database. NocoBase reads MySQL tables, fields, and views and uses them as collections in the external data source.
10
13
 
11
- ## Installation
14
+ Unlike the [main database](../main/index.md), the original business system, database client, or migration scripts maintain the real MySQL schema. NocoBase reads structure, stores field metadata, and configures blocks, permissions, workflows, and APIs.
12
15
 
13
- This is a commercial plugin. For detailed activation instructions, please refer to: [Commercial Plugin Activation Guide](https://www.nocobase.com/en/blog/nocobase-commercial-license-activation-guide)
16
+ | Setting | Description |
17
+ | --- | --- |
18
+ | Supported version | MySQL >= 5.7. |
19
+ | Commercial editions | Standard, Professional, and Enterprise. |
20
+ | Plugin | `@nocobase/plugin-data-source-external-mysql`. |
21
+ | Connection protocol | MySQL protocol. |
14
22
 
23
+ Use external MySQL to connect existing ERP, MES, WMS, or CRM databases, build management pages without migrating historical data, apply permissions and workflows to existing tables, and leave schema maintenance to DBAs or the original system.
15
24
 
16
- ## Usage Instructions
25
+ :::warning Note
17
26
 
18
- Refer to the [Data Source / External Database](/data-sources/data-source-manager/external-database) section.
27
+ External MySQL is not the NocoBase system database. NocoBase does not manage its backup, restore, migrations, or schema changes.
28
+
29
+ :::
30
+
31
+ ## Plugin installation
32
+
33
+ This is a commercial plugin. See the [commercial plugin activation guide](https://www.nocobase.com/en/blog/nocobase-commercial-license-activation-guide) for activation.
34
+
35
+ ## Add a data source
36
+
37
+ In **Data source management**, click **Add new**, select MySQL, and enter the connection information.
38
+
39
+ ![Add MySQL](https://static-docs.nocobase.com/20240507204820.png)
40
+
41
+ | Setting | Description |
42
+ | --- | --- |
43
+ | Data source name | Internal identifier used by blocks, permissions, workflows, and APIs. It cannot be changed after creation. |
44
+ | Data source display name | Name shown in the interface, such as ERP MySQL or Orders database. |
45
+ | Host / Port | MySQL server address and port. The usual default port is `3306`. |
46
+ | Database | The MySQL database to connect. |
47
+ | Username / Password | Credentials used to connect. NocoBase reads only objects that this account can access; it does not grant access to other users' private objects. |
48
+ | Table prefix | Limits reading to matching tables and views, and removes the prefix from the NocoBase collection name. |
49
+ | Collections / Add all collections | With **Add all collections** enabled, imports all tables and views in scope; otherwise imports only selected objects. |
50
+ | Enabled the data source | Disables access through blocks, permissions, workflows, and APIs while keeping the configuration. |
51
+
52
+ :::tip Tip
53
+
54
+ For a database with many objects, narrow the scope with `Database`, `Table prefix`, and **Collections**. Import only objects the application needs so that permissions, page building, and synchronization remain manageable.
55
+
56
+ :::
57
+
58
+ ## Select collections
59
+
60
+ Click **Load Collections** to read available MySQL tables and views. Results depend on the connection account, `Database`, `Table prefix`, and **Collections** settings.
61
+
62
+ **Add all collections** is enabled by default. Disable it and select individual objects when only part of the database is needed.
63
+
64
+ ![Select MySQL collections](https://static-docs.nocobase.com/add_new_database_configure_load_collection.png)
65
+
66
+ :::warning Note
67
+
68
+ One external data source can import at most 500 tables or views. Narrow the scope with `Database`, `Table prefix`, or **Collections** when MySQL has many objects.
69
+
70
+ :::
71
+
72
+ ## Synchronize and configure fields
73
+
74
+ MySQL maintains the external table structure. NocoBase does not create columns, change column types, or delete real fields in external MySQL.
75
+
76
+ When the MySQL schema changes, use **Sync from database** to reread collection and field metadata. Synchronization updates NocoBase collections, fields, primary keys, unique keys, and type mappings; it does not delete real MySQL tables or data.
77
+
78
+ After synchronization, configure field titles, Field types, and Field interfaces in NocoBase. NocoBase relation fields are metadata only and do not automatically add real foreign-key columns to MySQL.
79
+
80
+ ## Field type mapping
81
+
82
+ | MySQL type | NocoBase Field type | Available Field interfaces |
83
+ | --- | --- | --- |
84
+ | `TINYINT`, `SMALLINT`, `MEDIUMINT` | `integer`, `boolean`, `sort` | Integer, Sort, Checkbox, Switch, Select, Radio group. |
85
+ | `INT`, `INTEGER` | `integer`, `unixTimestamp`, `sort` | Integer, Sort, Unix timestamp, Select, Radio group. |
86
+ | `BIGINT` | `bigInt`, `snowflakeId`, `unixTimestamp`, `sort` | Integer, Sort, Unix timestamp, Created at, Updated at. |
87
+ | `FLOAT`, `DOUBLE` | `float` | Number, Percent. |
88
+ | `DECIMAL` | `decimal` | Number, Percent, Currency. |
89
+ | `CHAR`, `VARCHAR` | `string`, `uuid`, `nanoid`, `encryption` | Input, Email, Phone, Password, Color, Icon, Select, Radio group, UUID, Nano ID. |
90
+ | `TINYTEXT`, `TEXT`, `MEDIUMTEXT`, `LONGTEXT` | `text` | Textarea, Markdown, Vditor, Rich text, URL. |
91
+ | `DATE` | `dateOnly` | Date. |
92
+ | `TIME` | `time` | Time. |
93
+ | `DATETIME` | `datetimeNoTz`, `datetimeTz`, `date` | Date, Time, Created at, Updated at. |
94
+ | `TIMESTAMP` | `datetimeTz`, `date` | Date, Time, Created at, Updated at. |
95
+ | `YEAR` | `string`, `integer` | Input, Integer, Date. |
96
+ | `JSON` | `json`, `array` | JSON. |
97
+
98
+ :::warning Note
99
+
100
+ Unsupported MySQL types are shown separately in field configuration. They require development support before they can be used as normal NocoBase fields.
101
+
102
+ :::
103
+
104
+ ## Primary key and Record unique key
105
+
106
+ Collections used for block display and editing should have a primary key or unique field. NocoBase uses the primary key as the Record unique key when available.
107
+
108
+ For views, tables without a primary key, or composite-primary-key tables, configure **Record unique key** manually. Without a usable identifier, blocks might not view, edit, or delete records correctly.
109
+
110
+ ![Primary key and Record unique key](https://static-docs.nocobase.com/20260709205547.png)
111
+ ![Configure Record unique key](https://static-docs.nocobase.com/20260709205609.png)
112
+
113
+ - [External databases](./index.md) - General external-database configuration and management.
114
+ - [Data source management](../data-source-manager/index.md) - Data-source entry points and management.
115
+ - [Collection fields](../data-modeling/collection-fields/index.md) - Field types and mapping.
@@ -1,157 +1,159 @@
1
1
  ---
2
- title: 'External NocoBase'
3
- description: 'Connect another NocoBase application as an external data source and learn about configuration, available capabilities, and workflow limitations.'
4
- keywords: 'External NocoBase,NocoBase data source,data source manager,workflow,NocoBase'
2
+ title: "External NocoBase"
3
+ description: "Connect another NocoBase application as an external data source. Learn the configuration, available capabilities, and workflow limitations."
4
+ keywords: "external NocoBase,NocoBase data source,data source management,workflow,NocoBase"
5
5
  ---
6
6
 
7
7
  # External NocoBase
8
8
 
9
9
  ## Introduction
10
10
 
11
- The External NocoBase data source connects another NocoBase application to the current application while preserving metadata from the remote application, including collections, field interfaces, titles, and association fields.
11
+ An External NocoBase data source connects another NocoBase application to the current application, retaining metadata configured in the remote application, including collections, Field interfaces, titles, and relation fields.
12
12
 
13
- Compared with an external database data source, an external NocoBase data source usually does not require you to configure field interfaces again or manually create association fields. In addition to viewing, creating, editing, and deleting records, it also supports file upload and preview, import and export, chart queries, and some workflow scenarios.
13
+ Unlike an external database data source, External NocoBase normally does not require you to configure Field interfaces again or manually create relation fields. In addition to viewing, creating, editing, and deleting records, it supports file upload and preview, import and export, chart queries, and some workflow scenarios.
14
14
 
15
- ## Add a Data Source
15
+ ## Add a data source
16
16
 
17
- After activating the plugin, add an External NocoBase data source in Data Source Manager and fill in the access information of the remote application.
17
+ After activating the plugin, add an External NocoBase data source in **Data source management** and enter the remote application's access information.
18
18
 
19
- | Option | Description |
19
+ | Setting | Description |
20
20
  | --- | --- |
21
- | API URL | The full API URL of the remote NocoBase application, such as `https://example.com/api` |
22
- | Origin | The public origin of the remote NocoBase application, such as `https://example.com`. It is mainly used to handle preview URLs for local files in the remote application |
21
+ | API address | The complete API address of the remote NocoBase application, for example `https://example.com/api` |
22
+ | Origin | The access origin of the remote NocoBase application, for example `https://example.com`. It is primarily used to handle local-file preview addresses in the remote application |
23
23
  | API key | The credential used by the current application to access the remote NocoBase application |
24
- | Request headers | Additional request headers sent to the remote application, such as space information |
25
- | Timeout | Request timeout for accessing the remote application |
24
+ | Request headers | Additional request headers passed to the remote application, such as space information |
25
+ | Timeout | The request timeout for accessing the remote application |
26
26
 
27
- After the data source is enabled, the system loads the collections from the remote application.
27
+ After you enable the data source, the system loads collections from the remote application.
28
28
 
29
29
  ![](https://static-docs.nocobase.com/202606101149185.png)
30
30
 
31
31
  ## Permissions
32
32
 
33
- An External NocoBase data source is affected by permissions in both the current application and the remote application.
33
+ External NocoBase data sources are affected by permissions in both the current and remote applications.
34
34
 
35
- - In the current application, you can configure access permissions for different collections and fields just like other external data sources.
36
- - In the remote application, data is read and operated according to the permissions of the configured API key.
35
+ - The current application can configure access permissions for different collections and fields, as with other external data sources
36
+ - The remote application reads and operates the corresponding data according to the permissions of the configured API key
37
37
 
38
- External NocoBase data sources do not return permission metadata used for fine-grained button visibility on the frontend. As a result, some buttons may not be automatically hidden by permissions in the same way as the main data source. Regardless of whether a button is visible, submitted operations still go through server-side permission checks in the current application, and unauthorized operations are rejected.
38
+ An External NocoBase data source does not return permission metadata used by the client to precisely control button visibility. Some buttons might not automatically hide according to permissions as they do for a main data source. Whether or not a button is visible, submitting an operation still passes through the current application's server-side permission check, and unauthorized operations are rejected.
39
+
40
+ :::warning Note
41
+
42
+ Prepare a dedicated API key for the External NocoBase data source and grant only the necessary collection and action permissions. If an operation fails although the current application permits it, check the permissions of the remote API key.
39
43
 
40
- :::warning{title=Note}
41
- Prepare a dedicated API key for the External NocoBase data source and grant only the required collection and operation permissions. If a user has permission in the current application but the operation fails, check the permissions of the remote API key.
42
44
  :::
43
45
 
44
- ## Use Collections
46
+ ## Use collections
45
47
 
46
- After collections are loaded successfully, select this data source in page configuration, block configuration, charts, or workflows to use collections from the remote application.
48
+ After collections are loaded, select this data source in page configuration, block configuration, charts, or workflows to use collections from the remote application.
47
49
 
48
- When the collection structure in the remote application changes, reload the collections in the current application.
50
+ When the remote collection structure changes, reload collections in the current application.
49
51
 
50
- ## Features
52
+ ## Capabilities
51
53
 
52
- External NocoBase data sources are mainly used to use collections and data from a remote application in the current application. The collection structure, field configuration, and actual data are still maintained by the remote application.
54
+ External NocoBase is mainly used to access collections and data from the remote application in the current application. The collection structure, field configuration, and actual data continue to be maintained by the remote application.
53
55
 
54
- ### Collections and Fields
56
+ ### Collections and fields
55
57
 
56
- The current application loads metadata from the remote application, including collections, field interfaces, titles, and association fields. Compared with an external database data source, you usually do not need to configure field interfaces again or manually create association fields in the current application.
58
+ The current application loads metadata from the remote application, including collections, Field interfaces, titles, and relation fields. Unlike an external database data source, you normally do not need to configure Field interfaces again or manually create relation fields in the current application.
57
59
 
58
- The current application does not support configuring fields directly for an External NocoBase data source. To add fields, adjust field types, or modify association fields, make the changes in the remote application and then reload the collections in the current application.
60
+ You cannot configure fields of an External NocoBase data source directly in the current application. To add a field, adjust a Field type, or modify a relation field, make the change in the remote application, then return to the current application and reload collections.
59
61
 
60
- ### Records and Associated Data
62
+ ### Records and relation data
61
63
 
62
- External NocoBase data sources support viewing, creating, editing, and deleting records in page blocks, and also support viewing and maintaining associated data. Operations are initiated by the current application and sent to the remote application through the configured API key.
64
+ An External NocoBase data source supports viewing, creating, editing, and deleting records in page blocks, as well as viewing and maintaining relation data. The current application initiates operations and requests the remote application through the configured API key.
63
65
 
64
- ### Files and Attachments
66
+ ### Files and attachments
65
67
 
66
- Files are uploaded to the storage used by the remote application. The current application initiates upload, preview, and download requests, but the files themselves are not stored in the current application.
68
+ Files are uploaded to the storage used by the remote application. The current application initiates upload, preview, and download requests, while the file itself is not stored in the current application.
67
69
 
68
- Origin is mainly used to handle preview URLs for files stored locally by the remote application. If the remote application returns a relative path, the current application uses Origin to complete the file access URL. Origin should be the public access address of the remote NocoBase application, for example:
70
+ Origin is primarily used to handle preview addresses for files stored locally by the remote application. When the remote application returns a relative path, the current application uses Origin to complete the file access address. Set Origin to the public access address of the remote NocoBase application, for example:
69
71
 
70
72
  ```text
71
73
  https://example.com
72
74
  ```
73
75
 
74
- Do not use the API URL as Origin.
76
+ Do not use the API address as Origin.
75
77
 
76
- ### Import and Export
78
+ ### Import and export
77
79
 
78
- Import and export operations read from or write to the data source through external files, and are proxied to the remote application for execution. The current application handles user operations, forwards requests, and returns download results. The actual data read and write operations are completed by the remote application.
80
+ Import and export are operations that read and write data sources through external files, and are both proxied to the remote application. The current application receives user actions, forwards requests, and returns download results, while the remote application performs the actual data reads and writes.
79
81
 
80
- - Import records: the current application receives the uploaded import file and proxies it to the remote application for import.
81
- - Export records: the current application proxies the request to the remote application to export records. In synchronous mode, the record file returned by the remote application is streamed back to the browser for download. In asynchronous mode, a local async task is created, record export is started in the remote application, progress is synchronized to the local task, and the result file is streamed from the remote application when downloaded.
82
- - Export attachments: the current application proxies the request to the remote application to export attachments. In synchronous mode, the attachment archive returned by the remote application is streamed back to the browser for download. In asynchronous mode, a local async task is created, attachment export is started in the remote application, progress is synchronized to the local task, and the attachment archive is streamed from the remote application when downloaded.
82
+ - **Import records**: The current application receives the uploaded import file and proxies it to the remote application for import
83
+ - **Export records**: The current application proxies a record-export request to the remote application. In synchronous mode, the record file returned by the remote application is streamed to the browser for download. In asynchronous mode, a local asynchronous task is created; it initiates record export in the remote application, synchronizes progress, and streams the record file from the remote application when the result is downloaded
84
+ - **Export attachments**: The current application proxies an attachment-export request to the remote application. In synchronous mode, the attachment archive returned by the remote application is streamed to the browser for download. In asynchronous mode, a local asynchronous task is created; it initiates attachment export in the remote application, synchronizes progress, and streams the attachment archive from the remote application when the result is downloaded
83
85
 
84
- ### Template Print
86
+ ### Template printing
85
87
 
86
- Template Print can use records from an External NocoBase data source. Print templates and print action configuration are stored in the current application. When printing, the current application reads remote records and associated data, and generates the print file in the current application.
88
+ Template printing can use records from an External NocoBase data source. Print-template and print-action configurations are stored in the current application. When printing, the current application reads remote records and relation data, then generates the print file in the current application.
87
89
 
88
90
  ### Charts
89
91
 
90
- #### Query Panel
92
+ #### Query panel
91
93
 
92
- External NocoBase data sources can be used in the chart query panel. The current application processes query parameters according to locally configured chart, data source, collection, and field permissions, then requests results from the remote application.
94
+ An External NocoBase data source can be used in a chart query panel. The current application processes query parameters according to locally configured chart, data-source, collection, and field permissions, then requests results from the remote application.
93
95
 
94
- The remote API key must also have access to the corresponding data, otherwise the query fails.
96
+ The remote API key also needs permission to access the corresponding data, otherwise the query fails.
95
97
 
96
- #### SQL Panel
98
+ #### SQL panel
97
99
 
98
- The SQL panel is the SQL query mode in charts and is used only for queries. The current application saves SQL configuration and initiates the call, while the SQL is proxied to the remote application for execution.
100
+ The SQL panel is the SQL query mode of charts and is used only for queries. The current application stores the SQL configuration and initiates the request; SQL is proxied to the remote application for execution.
99
101
 
100
- When using the SQL panel, the local user must have UI configuration permissions in the current application, and the remote API key must also have UI configuration permissions in the remote application. SQL is not broken down by collection and field permissions like the query panel. Grant UI configuration permissions to local users and the corresponding API key with caution.
102
+ When using the SQL panel, local users need UI-configuration permission in the current application, and the remote API key needs UI-configuration permission in the remote application. Unlike the query panel, the SQL panel does not break query parameters down by collection and field permissions. Grant UI-configuration permissions to local users and the API key carefully.
101
103
 
102
104
  ### Workflows
103
105
 
104
- External NocoBase data sources may involve workflows in both the current application and the remote application. The current application responds to events in local pages, buttons, and API request chains. After the remote application receives proxied requests, it handles them according to its own workflow configuration.
106
+ External NocoBase data can involve two sets of workflows: one in the current application and one in the remote application. The current application handles events in local pages, buttons, and API request chains. After receiving a proxied request, the remote application processes it using its own workflow configuration.
105
107
 
106
- The current application does not listen to create, update, or delete events that occur inside remote collections. Remote collection events are triggered only in the remote application.
108
+ The current application does not listen for internal create, update, or delete events from remote collections. Remote collection events are triggered only in the remote application.
107
109
 
108
110
  #### Triggers
109
111
 
110
- The following table describes how triggers affected by External NocoBase data sources behave in the current application and the remote application when the corresponding workflow is enabled.
112
+ The following table describes how data-source-related triggers behave in the current and remote applications when the corresponding workflow is enabled.
111
113
 
112
114
  | Trigger | Current application | Remote application | Description |
113
115
  | --- | --- | --- | --- |
114
- | Pre-action event | Triggered | Triggered only in global mode | Global mode is triggered in the current application, and local mode follows button bindings in the current application. After the remote application receives the proxied request, only global mode is triggered |
115
- | Post-action event | Triggered | Triggered only in global mode | Global mode is triggered in the current application, and local mode follows button bindings in the current application. After the remote application receives the proxied request, only global mode is triggered |
116
- | Custom action event | Triggered | Not triggered | A Trigger workflow button bound in the current application triggers the local workflow. Proxied CRUD requests do not trigger remote custom action events |
117
- | Collection event | Not triggered | Triggered | The actual data changes in the remote application. The current application does not trigger local collection events, while the remote application triggers its own collection events |
118
- | Date field schedule trigger | Not triggered | Triggered | The current application does not trigger based on fields in remote collections. The remote application triggers according to its own date field configuration |
116
+ | Before request event | Triggered | Global mode only | In the current application, global mode is triggered and local mode is triggered according to bindings on current-application buttons. After the remote application receives a proxied request, only global mode is triggered |
117
+ | After request event | Triggered | Global mode only | In the current application, global mode is triggered and local mode is triggered according to bindings on current-application buttons. After the remote application receives a proxied request, only global mode is triggered |
118
+ | Custom action event | Triggered | Not triggered | A **Trigger workflow** button bound in the current application triggers a local workflow. Proxied CRUD requests do not trigger custom action events in the remote application |
119
+ | Collection event | Not triggered | Triggered | Actual data changes in the remote application, so the current application does not trigger local collection events. The remote application triggers its own collection events |
120
+ | Scheduled date-field trigger | Not triggered | Triggered | The current application does not trigger based on remote collection fields. The remote application triggers according to its own date-field configuration |
119
121
 
120
- Triggers that do not depend on data sources are triggered in the current application and the remote application according to their own configurations.
122
+ Triggers that do not depend on a data source are triggered in the current and remote applications according to their own configurations.
121
123
 
122
- To orchestrate workflows that operate on External NocoBase data in the current application, use pre-action events, post-action events, or custom action events. Existing workflows in the remote application run independently in the remote application.
124
+ To orchestrate workflows that operate on External NocoBase data in the current application, use before-request events, after-request events, or custom action events. Existing workflows in the remote application run independently there.
123
125
 
124
126
  #### Nodes
125
127
 
126
- The following table lists only data-source-related nodes. General nodes such as condition, calculation, loop, and JSON processing do not depend on the data source type and can be used as usual.
128
+ The following table lists only data-source-related nodes. General nodes such as conditions, calculations, loops, and JSON processing do not depend on the data-source type and can be used in ordinary workflows.
127
129
 
128
130
  | Node | Available | Description |
129
131
  | --- | --- | --- |
130
- | Query records | Available | Query records in the remote application |
131
- | Create record | Available | Create records in the remote application |
132
- | Update record | Available | Update records in the remote application |
133
- | Delete record | Available | Delete records in the remote application |
134
- | SQL node | Not available | The workflow SQL node supports only database data sources |
135
- | Aggregate node | Not available | The aggregate node supports only database data sources |
132
+ | Query records | Yes | Queries records in the remote application |
133
+ | Create record | Yes | Creates records in the remote application |
134
+ | Update record | Yes | Updates records in the remote application |
135
+ | Delete record | Yes | Deletes records in the remote application |
136
+ | SQL node | No | Workflow SQL nodes support database data sources only |
137
+ | Aggregate node | No | Aggregate nodes support database data sources only |
136
138
 
137
139
  ## FAQ
138
140
 
139
- ### Collections Do Not Appear
141
+ ### Collections do not appear
140
142
 
141
- Check whether the data source is enabled and whether the API URL and API key are correct. The remote application must also allow the API key to access the corresponding collections.
143
+ Check whether the data source is enabled and whether the API address and API key are correct. The remote application must also allow the API key to access the corresponding collections.
142
144
 
143
- ### Files Upload Successfully but Cannot Be Previewed
145
+ ### File upload succeeds but preview fails
144
146
 
145
- If the current application or the remote application uses local file storage, check whether Origin is the public access address of the corresponding application. Origin should not be the API URL.
147
+ When the current or remote application uses local file storage, check whether Origin is set to the public access address of the corresponding application. Origin must not be the API address.
146
148
 
147
- ### The Current Application Has Permission, but the Operation Fails
149
+ ### The current application permits the operation, but it fails
148
150
 
149
- Check the API key permissions in the remote application. External NocoBase data sources are affected by permissions in both the current application and the remote application.
151
+ Check the permissions of the API key in the remote application. An External NocoBase data source is affected by both current-application and remote-application permissions.
150
152
 
151
- ### Collections Cannot Be Used After a Remote Service Error
153
+ ### Collections cannot be used after a remote service failure
152
154
 
153
- If the remote application returns 502, restarts, or is temporarily unavailable, the current application may temporarily fail to read remote collection metadata. After the remote service recovers, the current application automatically reloads metadata the next time this data source's collections are accessed.
155
+ If the remote application returns a 502 error, restarts, or is temporarily unavailable, the current application might temporarily be unable to read remote collection metadata. After the remote service recovers, the current application automatically reloads metadata the next time a collection from the data source is accessed.
154
156
 
155
- ### Why Fields Cannot Be Configured in the Current Application
157
+ ### Why can't fields be configured in the current application?
156
158
 
157
- External NocoBase data sources use the collection structure and field configuration from the remote application. Adjust fields in the remote application, then reload the collections in the current application.
159
+ An External NocoBase data source uses the collection structure and field configuration of the remote application. Adjust fields in the remote application, then return to the current application and reload collections.
@@ -1,24 +1,53 @@
1
1
  ---
2
2
  pkg: "@nocobase/plugin-data-source-external-oracle"
3
+ title: "External data source - Oracle"
4
+ description: "Learn how to connect Oracle as an external database in NocoBase, including supported versions, plugin installation, Thin and Thick connection modes, Client directory, permissions, and field mapping."
5
+ keywords: "external data source,Oracle,external database,Thin,Thick,Client directory,field mapping,NocoBase"
3
6
  ---
4
7
 
5
- # External Data Source - Oracle
8
+ # Oracle
6
9
 
7
10
  ## Introduction
8
11
 
9
- This plugin allows you to use an external Oracle database as a data source. It supports Oracle versions >= 11g.
12
+ Oracle can be connected to NocoBase as an external database. NocoBase reads tables, fields, and views from Oracle and makes them available as collections in the external data source.
10
13
 
11
- ## Installation
14
+ Unlike a [main data source](../main/index.md), the actual schema of an external Oracle database continues to be maintained by the original business system, database client, or migration scripts. NocoBase reads the schema, stores field metadata, and lets you configure blocks, permissions, workflows, and APIs.
12
15
 
13
- ### Install Oracle Client
16
+ | Setting | Description |
17
+ | --- | --- |
18
+ | Supported version | Oracle >= 11g. |
19
+ | Commercial editions | Available in the Enterprise edition. |
20
+ | Plugin | `@nocobase/plugin-data-source-external-oracle`. |
21
+ | Connection mode | Oracle Database 12.1 and later usually use Thin mode. Versions earlier than 12.1 use Thick mode. |
14
22
 
15
- For Oracle server versions earlier than 12.1, you need to install the Oracle client.
23
+ External Oracle is suitable when you need to:
16
24
 
25
+ - Connect an Oracle database used by an existing ERP, MES, WMS, CRM, or other business system
26
+ - Build management pages in NocoBase without migrating historical data
27
+ - Apply permissions, workflow processing, data corrections, or reporting to existing tables
28
+ - Keep the database schema maintained by DBAs, migration scripts, or the original system
17
29
 
18
- ![Oracle Client Installation](https://static-docs.nocobase.com/20241204164359.png)
30
+ :::warning Note
19
31
 
32
+ An external Oracle database is not a NocoBase system database. NocoBase does not manage its backups, restores, migrations, or schema changes.
20
33
 
21
- Example for Linux:
34
+ :::
35
+
36
+ ## Plugin installation
37
+
38
+ This is a commercial plugin. For activation instructions, see the [Commercial plugin activation guide](https://www.nocobase.com/en/blog/nocobase-commercial-license-activation-guide).
39
+
40
+ When you use Thick mode, install Oracle Client libraries in the NocoBase runtime environment and specify **Client directory** in the data-source settings.
41
+
42
+ ## Install the Oracle client
43
+
44
+ Oracle Database 12.1 and later usually use Thin mode, which does not require an additional Oracle Client installation. Install Oracle Client libraries in the NocoBase runtime environment only when connecting to a version earlier than Oracle Database 12.1 or when Thick mode is required.
45
+
46
+ After selecting **Thick** mode in the data-source settings, make sure the machine running the NocoBase service can load Oracle Client.
47
+
48
+ ![Oracle connection mode](https://static-docs.nocobase.com/20241204164359.png)
49
+
50
+ On Linux, you can install Oracle Instant Client as follows:
22
51
 
23
52
  ```bash
24
53
  apt-get update
@@ -29,12 +58,101 @@ echo /opt/instantclient_19_25 > /etc/ld.so.conf.d/oracle-instantclient.conf
29
58
  ldconfig
30
59
  ```
31
60
 
32
- If the client is not installed as described above, you will need to specify the path to the client (for more details, refer to the [node-oracledb documentation](https://node-oracledb.readthedocs.io/en/latest/user_guide/initialization.html)).
61
+ When Oracle Client is not installed in a system-default loadable location, enter the client library directory in **Client directory**. For the installation above, the directory is `/opt/instantclient_19_25`.
62
+
63
+ ![Configure Client directory](https://static-docs.nocobase.com/20241204165940.png)
64
+
65
+ :::tip Tip
66
+
67
+ Configure `Client directory` only in Thick mode. Thin mode does not use this setting. For more initialization rules, see the [node-oracledb initialization documentation](https://node-oracledb.readthedocs.io/en/latest/user_guide/initialization.html).
68
+
69
+ :::
70
+
71
+ ## Add a data source
72
+
73
+ In **Data source management**, click **Add new**, select Oracle, and then enter the connection details.
74
+
75
+ ![Add an external Oracle data source](https://static-docs.nocobase.com/20241204164359.png)
76
+
77
+ Common connection settings are as follows:
78
+
79
+ | Setting | Description |
80
+ | --- | --- |
81
+ | Data source name | The internal identifier used by blocks, permissions, workflows, and APIs. It cannot be changed after the data source is created. |
82
+ | Data source display name | The name displayed in the interface. Use a name that business users can recognize, such as `ERP Oracle` or `Finance database`. |
83
+ | Host / Port | The Oracle host address and port. The default port is usually `1521`. |
84
+ | ServerName | The Oracle service name configured for the database listener. |
85
+ | Username / Password | The account credentials used to connect to Oracle. NocoBase reads tables and views under the Owner of this account; it does not grant access to, or read, objects under other Owners. |
86
+ | Connection mode | The Oracle connection mode. Oracle Database 12.1 and later usually use Thin mode. Versions earlier than 12.1 use Thick mode. |
87
+ | Client directory | The directory containing Oracle Client libraries for Oracle Thick mode. Configure it only when Thick mode is selected. |
88
+ | Table prefix | A table-name prefix. When configured, NocoBase reads only tables and views that match the prefix, and removes the prefix from the generated NocoBase collection names. |
89
+ | Collections / Add all collections | Controls the connection scope. With **Add all collections** enabled, NocoBase connects all tables and views in the current Owner and prefix scope. When disabled, it connects only the objects selected in **Collections**. |
90
+ | Enabled the data source | Whether to enable the data source. When disabled, its configuration is retained, but blocks, permissions, workflows, and APIs can no longer read its data. |
91
+
92
+ :::tip Tip
93
+
94
+ In Oracle, the connection scope is primarily determined by the Owner of the connection account, `Table prefix`, and **Collections**. If an instance contains many objects, connect with a dedicated account for the business schema to prevent unrelated objects from being added to NocoBase.
95
+
96
+ :::
97
+
98
+ ## Select collections
99
+
100
+ After entering connection details, click **Load Collections** to read available tables and views from Oracle. The results depend on the Owner of the connection account, `Table prefix`, and **Collections** settings.
101
+
102
+ By default, **Add all collections** is enabled, which connects all tables and views in the current scope. To connect only selected objects, disable **Add all collections** and select the required tables or views from the list.
103
+
104
+ ![Select external Oracle collections](https://static-docs.nocobase.com/add_new_database_configure_load_collection.png)
105
+
106
+ :::warning Note
107
+
108
+ An external data source can connect up to 500 tables or views at a time. When Oracle contains many objects, narrow the scope through the Owner of the connection account, `Table prefix`, or **Collections** first.
109
+
110
+ :::
111
+
112
+ ## Synchronize and configure fields
113
+
114
+ The external Oracle schema is maintained in the database. NocoBase does not create fields, change field types, or delete actual fields in the external database.
115
+
116
+ When the Oracle schema changes, run **Sync from database** from the data source to read collection and field metadata again. Synchronization updates the collections, fields, primary keys, unique keys, and field-type mapping metadata stored in NocoBase. It does not delete actual Oracle tables or data.
117
+
118
+ After fields are synchronized, you can configure their titles, Field type, and Field interface in NocoBase. NocoBase relationship fields are also stored as relationship metadata in NocoBase and do not automatically add actual foreign-key columns to Oracle tables.
119
+
120
+ ## Field type mapping
121
+
122
+ NocoBase automatically maps Oracle types to appropriate Field types and Field interfaces. You can adjust the display interface in field settings.
123
+
124
+ | Oracle type | NocoBase Field type | Available Field interfaces |
125
+ | --- | --- | --- |
126
+ | `NUMBER` | `integer`, `float`, `boolean`, `bigInt`, `unixTimestamp`, `sort` | Integer, Number, Sort, Checkbox, Switch, Select, Radio group. |
127
+ | `BINARY_FLOAT`, `BINARY_DOUBLE`, `FLOAT` | `float` | Number, Percent. |
128
+ | `INTEGER`, `SMALLINT`, `PLSQL_INTEGER` | `integer`, `boolean`, `sort` | Integer, Sort, Checkbox, Switch, Select, Radio group. |
129
+ | `CHAR`, `NCHAR`, `VARCHAR2`, `NVARCHAR2` | `string`, `uuid`, `nanoid`, `datetimeNoTz` | Input, Email, Phone, Password, Color, Icon, Select, Radio group, UUID, Nano ID. |
130
+ | `LONG`, `NCLOB` | `string`, `text` | Input, Textarea, Markdown, Vditor, Rich text. |
131
+ | `CLOB` | `string` | Input, Textarea, Rich text. |
132
+ | `DATE` | `datetimeNoTz` | Date, Time, Created at, Updated at. |
133
+ | `TIMESTAMP` | `datetimeNoTz` | Date, Time, Created at, Updated at. |
134
+ | `TIMESTAMP WITH TIME ZONE`, `TIMESTAMP WITH LOCAL TIME ZONE` | `datetimeTz` | Date, Time, Created at, Updated at. |
135
+ | `ROWID`, `UROWID` | `string`, `text`, `integer` | Input, Textarea, Integer. |
136
+ | `JSON` | `json` | JSON. |
137
+
138
+ :::warning Note
139
+
140
+ Binary object types such as `BLOB` and `BFILE` are not automatically used as regular file fields. To manage attachments in pages, it is usually better to use a file collection or attachment field in NocoBase to store file metadata.
141
+
142
+ :::
143
+
144
+ ## Primary key and Record unique key
33
145
 
146
+ Collections used for block display and editing should have a primary key or unique field. NocoBase uses the primary key as the Record unique key when available.
34
147
 
35
- ![Oracle Client Path Configuration](https://static-docs.nocobase.com/20241204165940.png)
148
+ For views, tables without a primary key, or composite-primary-key tables, configure **Record unique key** manually in the collection settings. Without a usable identifier, blocks might not view, edit, or delete records correctly.
36
149
 
150
+ ![Primary key and Record unique key](https://static-docs.nocobase.com/20260709210948.png)
151
+ ![Configure Record unique key](https://static-docs.nocobase.com/20260709211004.png)
37
152
 
38
- ## Usage
153
+ ## Related links
39
154
 
40
- For detailed instructions, refer to the [Data Source / External Database](/data-sources/data-source-manager/external-database) section.
155
+ - [External databases](./index.md) - General external-database configuration and management.
156
+ - [Data source management](../data-source-manager/index.md) - Data-source entry points and management.
157
+ - [Collection fields](../data-modeling/collection-fields/index.md) - Field types and field mapping.
158
+ - [node-oracledb initialization documentation](https://node-oracledb.readthedocs.io/en/latest/user_guide/initialization.html) - How Oracle Client libraries are loaded.