@nocobase/plugin-ai 2.1.9 → 2.1.11

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 (53) hide show
  1. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/index.md +8 -0
  2. package/dist/ai/docs/nocobase/api/cli/app/restart.md +4 -0
  3. package/dist/ai/docs/nocobase/api/cli/app/start.md +7 -0
  4. package/dist/ai/docs/nocobase/api/cli/app/upgrade.md +6 -0
  5. package/dist/ai/docs/nocobase/api/cli/init.md +39 -2
  6. package/dist/ai/docs/nocobase/api/cli/source/download.md +19 -0
  7. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/validation.md +11 -8
  8. package/dist/ai/docs/nocobase/development/index.md +6 -2
  9. package/dist/ai/docs/nocobase/interface-builder/fields/field-settings/validation-rules.md +6 -2
  10. package/dist/ai/docs/nocobase/plugin-development/client/index.md +1 -0
  11. package/dist/ai/docs/nocobase/shared-components/create-form-registry.md +38 -0
  12. package/dist/ai/docs/nocobase/shared-components/filter/collection-filter-panel.md +44 -0
  13. package/dist/ai/docs/nocobase/shared-components/filter/index.md +44 -0
  14. package/dist/ai/docs/nocobase/shared-components/form/code-scanner.md +34 -0
  15. package/dist/ai/docs/nocobase/shared-components/form/dialog-form-layout.md +45 -0
  16. package/dist/ai/docs/nocobase/shared-components/form/drawer-form-layout.md +45 -0
  17. package/dist/ai/docs/nocobase/shared-components/form/env-variable-input.md +30 -0
  18. package/dist/ai/docs/nocobase/shared-components/form/file-size-input.md +24 -0
  19. package/dist/ai/docs/nocobase/shared-components/form/json-text-area.md +28 -0
  20. package/dist/ai/docs/nocobase/shared-components/form/password-input.md +23 -0
  21. package/dist/ai/docs/nocobase/shared-components/form/remote-select.md +34 -0
  22. package/dist/ai/docs/nocobase/shared-components/form/scan-input.md +27 -0
  23. package/dist/ai/docs/nocobase/shared-components/form/typed-variable-input.md +30 -0
  24. package/dist/ai/docs/nocobase/shared-components/form/variable-input.md +35 -0
  25. package/dist/ai/docs/nocobase/shared-components/form/variable-json-text-area.md +33 -0
  26. package/dist/ai/docs/nocobase/shared-components/form/variable-text-area.md +33 -0
  27. package/dist/ai/docs/nocobase/shared-components/icon.md +21 -0
  28. package/dist/ai/docs/nocobase/shared-components/index.md +70 -0
  29. package/dist/ai/docs/nocobase/shared-components/table/index.md +39 -0
  30. package/dist/ai/docs/nocobase/shared-components/table/sort-handle.md +37 -0
  31. package/dist/ai/docs/nocobase/shared-components/table/sortable-row.md +36 -0
  32. package/dist/client/580.35ba54ff91b7fe6d.js +10 -0
  33. package/dist/client/ai-employees/admin/mcp/schemas.d.ts +46 -18
  34. package/dist/client/index.js +1 -1
  35. package/dist/collections/ai-mcp-clients.js +5 -0
  36. package/dist/externalVersion.js +16 -16
  37. package/dist/locale/en-US.json +8 -3
  38. package/dist/locale/zh-CN.json +8 -3
  39. package/dist/node_modules/@langchain/xai/package.json +1 -1
  40. package/dist/node_modules/fs-extra/package.json +1 -1
  41. package/dist/node_modules/jsonrepair/package.json +1 -1
  42. package/dist/node_modules/just-bash/package.json +1 -1
  43. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  44. package/dist/node_modules/openai/package.json +1 -1
  45. package/dist/node_modules/zod/package.json +1 -1
  46. package/dist/server/ai-employees/ai-employee.js +8 -3
  47. package/dist/server/plugin.d.ts +2 -0
  48. package/dist/server/plugin.js +30 -0
  49. package/dist/server/resource/aiConversations.js +1 -1
  50. package/dist/server/resource/aiMcpClients.js +2 -2
  51. package/dist/server/resource/aiTools.js +14 -9
  52. package/package.json +2 -2
  53. package/dist/client/580.e75f97fb883ad042.js +0 -10
@@ -46,6 +46,15 @@ export declare const createMCPFormContentSchema: {
46
46
  enum: string;
47
47
  required: boolean;
48
48
  };
49
+ useUserContext: {
50
+ type: string;
51
+ 'x-decorator': string;
52
+ title: string;
53
+ 'x-component': string;
54
+ 'x-component-props': {
55
+ tooltip: string;
56
+ };
57
+ };
49
58
  command: {
50
59
  type: string;
51
60
  'x-decorator': string;
@@ -114,9 +123,6 @@ export declare const createMCPFormContentSchema: {
114
123
  type: string;
115
124
  'x-decorator': string;
116
125
  'x-component': string;
117
- 'x-component-props': {
118
- useTypedConstant: boolean;
119
- };
120
126
  };
121
127
  remove: {
122
128
  type: string;
@@ -151,6 +157,7 @@ export declare const createMCPFormContentSchema: {
151
157
  'x-component': string;
152
158
  'x-component-props': {
153
159
  placeholder: string;
160
+ variableScope: string;
154
161
  };
155
162
  'x-reactions': {
156
163
  dependencies: string[];
@@ -195,7 +202,7 @@ export declare const createMCPFormContentSchema: {
195
202
  'x-decorator': string;
196
203
  'x-component': string;
197
204
  'x-component-props': {
198
- useTypedConstant: boolean;
205
+ variableScope: string;
199
206
  };
200
207
  };
201
208
  remove: {
@@ -305,6 +312,15 @@ export declare const editMCPFormContentSchema: {
305
312
  enum: string;
306
313
  required: boolean;
307
314
  };
315
+ useUserContext: {
316
+ type: string;
317
+ 'x-decorator': string;
318
+ title: string;
319
+ 'x-component': string;
320
+ 'x-component-props': {
321
+ tooltip: string;
322
+ };
323
+ };
308
324
  command: {
309
325
  type: string;
310
326
  'x-decorator': string;
@@ -373,9 +389,6 @@ export declare const editMCPFormContentSchema: {
373
389
  type: string;
374
390
  'x-decorator': string;
375
391
  'x-component': string;
376
- 'x-component-props': {
377
- useTypedConstant: boolean;
378
- };
379
392
  };
380
393
  remove: {
381
394
  type: string;
@@ -410,6 +423,7 @@ export declare const editMCPFormContentSchema: {
410
423
  'x-component': string;
411
424
  'x-component-props': {
412
425
  placeholder: string;
426
+ variableScope: string;
413
427
  };
414
428
  'x-reactions': {
415
429
  dependencies: string[];
@@ -454,7 +468,7 @@ export declare const editMCPFormContentSchema: {
454
468
  'x-decorator': string;
455
469
  'x-component': string;
456
470
  'x-component-props': {
457
- useTypedConstant: boolean;
471
+ variableScope: string;
458
472
  };
459
473
  };
460
474
  remove: {
@@ -580,6 +594,15 @@ export declare const createMCPSchema: {
580
594
  enum: string;
581
595
  required: boolean;
582
596
  };
597
+ useUserContext: {
598
+ type: string;
599
+ 'x-decorator': string;
600
+ title: string;
601
+ 'x-component': string;
602
+ 'x-component-props': {
603
+ tooltip: string;
604
+ };
605
+ };
583
606
  command: {
584
607
  type: string;
585
608
  'x-decorator': string;
@@ -648,9 +671,6 @@ export declare const createMCPSchema: {
648
671
  type: string;
649
672
  'x-decorator': string;
650
673
  'x-component': string;
651
- 'x-component-props': {
652
- useTypedConstant: boolean;
653
- };
654
674
  };
655
675
  remove: {
656
676
  type: string;
@@ -685,6 +705,7 @@ export declare const createMCPSchema: {
685
705
  'x-component': string;
686
706
  'x-component-props': {
687
707
  placeholder: string;
708
+ variableScope: string;
688
709
  };
689
710
  'x-reactions': {
690
711
  dependencies: string[];
@@ -729,7 +750,7 @@ export declare const createMCPSchema: {
729
750
  'x-decorator': string;
730
751
  'x-component': string;
731
752
  'x-component-props': {
732
- useTypedConstant: boolean;
753
+ variableScope: string;
733
754
  };
734
755
  };
735
756
  remove: {
@@ -848,6 +869,15 @@ export declare const editMCPDrawerSchema: {
848
869
  enum: string;
849
870
  required: boolean;
850
871
  };
872
+ useUserContext: {
873
+ type: string;
874
+ 'x-decorator': string;
875
+ title: string;
876
+ 'x-component': string;
877
+ 'x-component-props': {
878
+ tooltip: string;
879
+ };
880
+ };
851
881
  command: {
852
882
  type: string;
853
883
  'x-decorator': string;
@@ -916,9 +946,6 @@ export declare const editMCPDrawerSchema: {
916
946
  type: string;
917
947
  'x-decorator': string;
918
948
  'x-component': string;
919
- 'x-component-props': {
920
- useTypedConstant: boolean;
921
- };
922
949
  };
923
950
  remove: {
924
951
  type: string;
@@ -953,6 +980,7 @@ export declare const editMCPDrawerSchema: {
953
980
  'x-component': string;
954
981
  'x-component-props': {
955
982
  placeholder: string;
983
+ variableScope: string;
956
984
  };
957
985
  'x-reactions': {
958
986
  dependencies: string[];
@@ -997,7 +1025,7 @@ export declare const editMCPDrawerSchema: {
997
1025
  'x-decorator': string;
998
1026
  'x-component': string;
999
1027
  'x-component-props': {
1000
- useTypedConstant: boolean;
1028
+ variableScope: string;
1001
1029
  };
1002
1030
  };
1003
1031
  remove: {
@@ -1189,7 +1217,7 @@ export declare const mcpSettingsSchema: {
1189
1217
  };
1190
1218
  };
1191
1219
  };
1192
- column5: {
1220
+ column6: {
1193
1221
  type: string;
1194
1222
  title: string;
1195
1223
  'x-component': string;
@@ -1200,7 +1228,7 @@ export declare const mcpSettingsSchema: {
1200
1228
  };
1201
1229
  };
1202
1230
  };
1203
- column6: {
1231
+ column7: {
1204
1232
  type: string;
1205
1233
  title: string;
1206
1234
  'x-decorator': string;