@nocobase/plugin-ai 2.1.0-beta.36 → 2.1.0-beta.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai/docs/nocobase/api/cli/app/index.md +4 -4
- package/dist/ai/docs/nocobase/api/cli/app/restart.md +4 -2
- package/dist/ai/docs/nocobase/api/cli/app/start.md +6 -2
- package/dist/ai/docs/nocobase/api/cli/app/stop.md +2 -2
- package/dist/ai/docs/nocobase/api/cli/app/upgrade.md +27 -6
- package/dist/ai/docs/nocobase/api/cli/init.md +1 -1
- package/dist/ai/docs/nocobase/api/cli/license/plugins/sync.md +4 -0
- package/dist/ai/docs/nocobase/auth-verification/api-keys/index.md +1 -1
- package/dist/ai/docs/nocobase/file-manager/file-preview/index.md +17 -0
- package/dist/ai/docs/nocobase/integration/api-keys/index.md +1 -1
- package/dist/client/462.d172d0fe91519e35.js +10 -0
- package/dist/client/559.a0f2f1cc2be3c039.js +10 -0
- package/dist/client/index.js +4 -4
- package/dist/client/workflow/nodes/employee/index.d.ts +1 -4
- package/dist/client/workflow/nodes/llm/index.d.ts +1 -4
- package/dist/collections/ai-employees.d.ts +9 -2
- package/dist/collections/ai-employees.js +2 -1
- package/dist/externalVersion.js +20 -20
- package/dist/node_modules/@langchain/xai/dist/index.cjs +16 -2
- package/dist/node_modules/@langchain/xai/package.json +1 -1
- package/dist/node_modules/fs-extra/package.json +1 -1
- package/dist/node_modules/jsonrepair/package.json +1 -1
- package/dist/node_modules/just-bash/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/node_modules/openai/package.json +1 -1
- package/dist/node_modules/zod/package.json +1 -1
- package/dist/server/ai-employees/ai-employee.d.ts +2 -1
- package/dist/server/ai-employees/ai-employee.js +3 -1
- package/dist/server/llm-providers/provider.js +6 -2
- package/dist/server/utils.d.ts +1 -1
- package/dist/server/workflow/nodes/employee/constants.d.ts +23 -0
- package/dist/server/workflow/nodes/employee/constants.js +50 -0
- package/dist/server/workflow/nodes/employee/handler.js +23 -2
- package/dist/server/workflow/nodes/employee/index.d.ts +1 -0
- package/dist/server/workflow/nodes/employee/index.js +83 -25
- package/dist/server/workflow/nodes/employee/tools.d.ts +2 -2
- package/dist/server/workflow/nodes/employee/tools.js +26 -5
- package/dist/server/workflow/nodes/employee/types.d.ts +2 -1
- package/dist/server/workflow/nodes/llm/index.js +31 -9
- package/package.json +7 -7
- package/dist/client/462.1708385b148779cd.js +0 -10
- package/dist/client/559.585f80c3bcea0bed.js +0 -10
|
@@ -12,6 +12,7 @@ export declare class AIEmployeeInstruction extends Instruction {
|
|
|
12
12
|
title: string;
|
|
13
13
|
type: string;
|
|
14
14
|
group: string;
|
|
15
|
+
async: boolean;
|
|
15
16
|
icon: React.JSX.Element;
|
|
16
17
|
fieldset: {
|
|
17
18
|
configuration: {
|
|
@@ -23,10 +24,6 @@ export declare class AIEmployeeInstruction extends Instruction {
|
|
|
23
24
|
Configuration: React.FC<{}>;
|
|
24
25
|
WorkflowVariableRawTextArea: typeof WorkflowVariableRawTextArea;
|
|
25
26
|
};
|
|
26
|
-
isAvailable({ engine, workflow }: {
|
|
27
|
-
engine: any;
|
|
28
|
-
workflow: any;
|
|
29
|
-
}): boolean;
|
|
30
27
|
useVariables(node: any): {
|
|
31
28
|
label: any;
|
|
32
29
|
value: any;
|
|
@@ -12,6 +12,7 @@ export declare class LLMInstruction extends Instruction {
|
|
|
12
12
|
title: string;
|
|
13
13
|
type: string;
|
|
14
14
|
group: string;
|
|
15
|
+
async: boolean;
|
|
15
16
|
icon: React.JSX.Element;
|
|
16
17
|
fieldset: {
|
|
17
18
|
llmService: {
|
|
@@ -49,10 +50,6 @@ export declare class LLMInstruction extends Instruction {
|
|
|
49
50
|
Settings: React.MemoExoticComponent<import("@formily/reactive-react").ReactFC<unknown>>;
|
|
50
51
|
Chat: React.FC<{}>;
|
|
51
52
|
};
|
|
52
|
-
isAvailable({ engine, workflow }: {
|
|
53
|
-
engine: any;
|
|
54
|
-
workflow: any;
|
|
55
|
-
}): boolean;
|
|
56
53
|
useVariables(node: any, options: any): {
|
|
57
54
|
label: any;
|
|
58
55
|
value: any;
|
|
@@ -13,22 +13,29 @@ declare const _default: {
|
|
|
13
13
|
type: string;
|
|
14
14
|
primaryKey: boolean;
|
|
15
15
|
interface?: undefined;
|
|
16
|
+
defaultValue?: undefined;
|
|
16
17
|
allowNull?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
name: string;
|
|
20
|
+
type: string;
|
|
21
|
+
interface: string;
|
|
22
|
+
primaryKey?: undefined;
|
|
17
23
|
defaultValue?: undefined;
|
|
24
|
+
allowNull?: undefined;
|
|
18
25
|
} | {
|
|
19
26
|
name: string;
|
|
20
27
|
type: string;
|
|
21
28
|
interface: string;
|
|
29
|
+
defaultValue: string;
|
|
22
30
|
primaryKey?: undefined;
|
|
23
31
|
allowNull?: undefined;
|
|
24
|
-
defaultValue?: undefined;
|
|
25
32
|
} | {
|
|
26
33
|
name: string;
|
|
27
34
|
type: string;
|
|
28
35
|
primaryKey?: undefined;
|
|
29
36
|
interface?: undefined;
|
|
30
|
-
allowNull?: undefined;
|
|
31
37
|
defaultValue?: undefined;
|
|
38
|
+
allowNull?: undefined;
|
|
32
39
|
} | {
|
|
33
40
|
name: string;
|
|
34
41
|
type: string;
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,22 +8,22 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/plugin-acl": "2.1.0-beta.
|
|
12
|
-
"@nocobase/plugin-workflow": "2.1.0-beta.
|
|
13
|
-
"@nocobase/client": "2.1.0-beta.
|
|
14
|
-
"@nocobase/utils": "2.1.0-beta.
|
|
15
|
-
"@nocobase/client-v2": "2.1.0-beta.
|
|
16
|
-
"@nocobase/database": "2.1.0-beta.
|
|
17
|
-
"@nocobase/server": "2.1.0-beta.
|
|
18
|
-
"@nocobase/plugin-file-manager": "2.1.0-beta.
|
|
19
|
-
"@nocobase/actions": "2.1.0-beta.
|
|
20
|
-
"@nocobase/ai": "2.1.0-beta.
|
|
21
|
-
"langchain": "1.2.
|
|
11
|
+
"@nocobase/plugin-acl": "2.1.0-beta.38",
|
|
12
|
+
"@nocobase/plugin-workflow": "2.1.0-beta.38",
|
|
13
|
+
"@nocobase/client": "2.1.0-beta.38",
|
|
14
|
+
"@nocobase/utils": "2.1.0-beta.38",
|
|
15
|
+
"@nocobase/client-v2": "2.1.0-beta.38",
|
|
16
|
+
"@nocobase/database": "2.1.0-beta.38",
|
|
17
|
+
"@nocobase/server": "2.1.0-beta.38",
|
|
18
|
+
"@nocobase/plugin-file-manager": "2.1.0-beta.38",
|
|
19
|
+
"@nocobase/actions": "2.1.0-beta.38",
|
|
20
|
+
"@nocobase/ai": "2.1.0-beta.38",
|
|
21
|
+
"langchain": "1.2.39",
|
|
22
22
|
"react": "18.2.0",
|
|
23
23
|
"antd": "5.24.2",
|
|
24
24
|
"@formily/core": "2.3.7",
|
|
25
25
|
"@formily/react": "2.3.7",
|
|
26
|
-
"@nocobase/flow-engine": "2.1.0-beta.
|
|
26
|
+
"@nocobase/flow-engine": "2.1.0-beta.38",
|
|
27
27
|
"@ant-design/icons": "5.6.1",
|
|
28
28
|
"@formily/antd-v5": "1.2.3",
|
|
29
29
|
"react-router-dom": "6.30.1",
|
|
@@ -31,22 +31,22 @@ module.exports = {
|
|
|
31
31
|
"@formily/reactive": "2.3.7",
|
|
32
32
|
"ahooks": "3.7.8",
|
|
33
33
|
"lodash": "4.18.1",
|
|
34
|
-
"@langchain/core": "1.1.
|
|
35
|
-
"@langchain/langgraph": "1.1.
|
|
36
|
-
"@nocobase/cache": "2.1.0-beta.
|
|
34
|
+
"@langchain/core": "1.1.48",
|
|
35
|
+
"@langchain/langgraph": "1.1.5",
|
|
36
|
+
"@nocobase/cache": "2.1.0-beta.38",
|
|
37
37
|
"@langchain/anthropic": "1.3.17",
|
|
38
38
|
"axios": "1.7.7",
|
|
39
39
|
"@langchain/openai": "1.2.7",
|
|
40
40
|
"@langchain/deepseek": "1.0.11",
|
|
41
41
|
"@langchain/google-genai": "2.1.18",
|
|
42
|
-
"@langchain/ollama": "1.2.
|
|
43
|
-
"@nocobase/acl": "2.1.0-beta.
|
|
44
|
-
"@nocobase/resourcer": "2.1.0-beta.
|
|
42
|
+
"@langchain/ollama": "1.2.7",
|
|
43
|
+
"@nocobase/acl": "2.1.0-beta.38",
|
|
44
|
+
"@nocobase/resourcer": "2.1.0-beta.38",
|
|
45
45
|
"@emotion/css": "11.13.0",
|
|
46
46
|
"dayjs": "1.11.13",
|
|
47
47
|
"react-i18next": "11.18.6",
|
|
48
|
-
"@nocobase/plugin-data-source-manager": "2.1.0-beta.
|
|
48
|
+
"@nocobase/plugin-data-source-manager": "2.1.0-beta.38",
|
|
49
49
|
"@langchain/langgraph-checkpoint": "1.0.0",
|
|
50
|
-
"@nocobase/data-source-manager": "2.1.0-beta.
|
|
50
|
+
"@nocobase/data-source-manager": "2.1.0-beta.38",
|
|
51
51
|
"react-dom": "18.2.0"
|
|
52
52
|
};
|