@nocobase/plugin-ai 2.1.2 → 2.1.3
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/ai/claude-code/index.md +1 -1
- package/dist/ai/docs/nocobase/ai/codex/index.md +1 -1
- package/dist/ai/docs/nocobase/ai/hermes-agent/index.md +1 -1
- package/dist/ai/docs/nocobase/ai/install-nocobase-app.md +8 -2
- package/dist/ai/docs/nocobase/ai/openclaw/index.md +1 -1
- package/dist/ai/docs/nocobase/ai/opencode/index.md +1 -1
- package/dist/ai/docs/nocobase/ai/quick-start.mdx +1 -1
- package/dist/ai/docs/nocobase/ai/workbuddy/index.md +1 -1
- package/dist/client/561.7ec804ef39ec7dcd.js +10 -0
- package/dist/client/{646.b0ed728921b007d4.js → 646.d4483b4ff23da0a0.js} +1 -1
- package/dist/client/components/ListCollapse.d.ts +2 -1
- package/dist/client/index.js +2 -2
- package/dist/externalVersion.js +17 -17
- 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/llm-providers/dashscope.js +2 -2
- package/dist/server/llm-providers/kimi/provider.js +2 -2
- package/dist/server/llm-providers/mimo.js +2 -2
- package/dist/server/llm-providers/openai/completions.js +2 -2
- package/dist/server/llm-providers/openai/responses.js +8 -4
- package/dist/server/llm-providers/provider.d.ts +2 -2
- package/dist/server/llm-providers/provider.js +1 -0
- package/dist/server/workflow/nodes/llm/index.js +3 -0
- package/package.json +2 -2
- package/dist/client/561.776886c5308e3c26.js +0 -10
|
@@ -63,7 +63,7 @@ Before starting, make sure you have the following environment ready:
|
|
|
63
63
|
|
|
64
64
|
- Claude Code installed (`npm install -g @anthropic-ai/claude-code`)
|
|
65
65
|
- Node.js >= 22 (for running NocoBase CLI and Skills)
|
|
66
|
-
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly
|
|
66
|
+
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly. The minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
67
67
|
|
|
68
68
|
## Quick Start
|
|
69
69
|
|
|
@@ -61,7 +61,7 @@ Before starting, make sure you have the following environment ready:
|
|
|
61
61
|
|
|
62
62
|
- Codex installed (`npm install -g @openai/codex`)
|
|
63
63
|
- Node.js >= 22 (for running NocoBase CLI and Skills)
|
|
64
|
-
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly
|
|
64
|
+
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly. The minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
65
65
|
|
|
66
66
|
## Quick Start
|
|
67
67
|
|
|
@@ -69,7 +69,7 @@ Before starting, make sure you have the following environment ready:
|
|
|
69
69
|
|
|
70
70
|
- A server running Hermes Agent (Linux / macOS, Python 3.10+)
|
|
71
71
|
- Node.js >= 22 (for running NocoBase CLI and Skills)
|
|
72
|
-
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly
|
|
72
|
+
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly. The minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
73
73
|
|
|
74
74
|
Installing Hermes requires just one command:
|
|
75
75
|
|
|
@@ -5,8 +5,6 @@ description: Install NocoBase CLI and quickly create a new NocoBase application
|
|
|
5
5
|
|
|
6
6
|
# Install NocoBase App
|
|
7
7
|
|
|
8
|
-
If you do not have a NocoBase application yet, the fastest way is to install `@nocobase/cli` first, then run `nb init --ui` once. In most cases, the default options in the wizard are enough.
|
|
9
|
-
|
|
10
8
|
## Prerequisites
|
|
11
9
|
|
|
12
10
|
- Node.js >= 22
|
|
@@ -88,6 +86,13 @@ CLI configuration is stored in `~/.nocobase/` by default, so AI Agents can usual
|
|
|
88
86
|
|
|
89
87
|
If this app will be exposed to real users later, we do not recommend using `IP + port` for the long term. The next step is usually to put it behind a reverse proxy and enable HTTPS.
|
|
90
88
|
|
|
89
|
+
## Next Steps
|
|
90
|
+
|
|
91
|
+
- If you already have a running NocoBase app, see [AI Agent Integration Guide](./quick-start.mdx)
|
|
92
|
+
- If you want to manage app startup, shutdown, logs, and upgrades, see [Manage apps](../nocobase-cli/operations/manage-app.md)
|
|
93
|
+
- If you want to continue with production deployment, see [Install apps with CLI](../nocobase-cli/installation/cli.md) and [Production deployment overview](../nocobase-cli/production/index.md)
|
|
94
|
+
- If you want AI to start building apps, see [AI Builder](../ai-builder/index.md)
|
|
95
|
+
|
|
91
96
|
## Related Links
|
|
92
97
|
|
|
93
98
|
- [Installation and Version Comparison](../get-started/quickstart.md) — Compare installation methods and version channels first, then decide how to install
|
|
@@ -95,4 +100,5 @@ If this app will be exposed to real users later, we do not recommend using `IP +
|
|
|
95
100
|
- [`nb init` command reference](../api/cli/init.md) — Initialize a new app, take over an existing local app, or connect a remote app
|
|
96
101
|
- [`nb env info` command reference](../api/cli/env/info.md) — View the connection details and runtime configuration of the current env
|
|
97
102
|
- [NocoBase CLI](../api/cli/index.md) — Full reference for all `nb` commands
|
|
103
|
+
- [Manage apps](../nocobase-cli/operations/manage-app.md) — Start, stop, restart, view logs, and upgrade apps
|
|
98
104
|
- [Multiple environment management](../nocobase-cli/operations/multi-environment.md) — Common operations when you maintain multiple envs at the same time
|
|
@@ -63,7 +63,7 @@ Before starting, make sure you have the following environment ready:
|
|
|
63
63
|
|
|
64
64
|
- A deployed OpenClaw Agent ([one-click Lark deployment](https://openclaw.feishu.cn) or local deployment)
|
|
65
65
|
- Node.js >= 22 (for running NocoBase CLI and Skills)
|
|
66
|
-
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly
|
|
66
|
+
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly. The minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
67
67
|
|
|
68
68
|
:::warning Note
|
|
69
69
|
|
|
@@ -63,7 +63,7 @@ Before starting, make sure you have the following environment ready:
|
|
|
63
63
|
|
|
64
64
|
- OpenCode installed ([installation guide](https://opencode.ai/docs/))
|
|
65
65
|
- Node.js >= 22 (for running NocoBase CLI and Skills)
|
|
66
|
-
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly
|
|
66
|
+
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly. The minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
67
67
|
|
|
68
68
|
## Quick Start
|
|
69
69
|
|
|
@@ -92,7 +92,7 @@ After configuration is complete, restart your AI Agent session and you can start
|
|
|
92
92
|
|
|
93
93
|
## Connect AI Agent to an Existing NocoBase
|
|
94
94
|
|
|
95
|
-
If you already have a running NocoBase instance, you can connect AI Agent to it directly. **Since AI capabilities are evolving rapidly,
|
|
95
|
+
If you already have a running NocoBase instance, you can connect AI Agent to it directly. **Since AI capabilities are evolving rapidly, the minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
96
96
|
|
|
97
97
|
<Tabs>
|
|
98
98
|
<Tab label="Manual Connection" value="manual-connect">
|
|
@@ -70,7 +70,7 @@ Before starting, make sure you have the following environment ready:
|
|
|
70
70
|
|
|
71
71
|
- WorkBuddy account ([registration portal](https://www.codebuddy.cn))
|
|
72
72
|
- Node.js >= 22 (for running NocoBase CLI and Skills)
|
|
73
|
-
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly
|
|
73
|
+
- If you already have a NocoBase instance, **AI capabilities are evolving rapidly. The minimum required version is NocoBase 2.1.0, and we recommend updating to the latest version.**
|
|
74
74
|
|
|
75
75
|
:::warning Note
|
|
76
76
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
"use strict";(self.webpackChunk_nocobase_plugin_ai=self.webpackChunk_nocobase_plugin_ai||[]).push([["561"],{3392:function(e,t,r){r.r(t),r.d(t,{Messages:function(){return v},MessagesSettings:function(){return g}});var o=r(3342),n=r(9155),a=r.n(n),s=r(3079),l=r(7768),c=r(418),p=r(166),i=r(5230),m=r(1990),u=r(2333),y=r(2059),d=(0,i.observer)(function(e){var t,r,o=(0,i.useField)(),n=(0,i.useFieldSchema)(),s=Array.isArray(o.value)?o.value:[],l=e.header,m=e.itemTitle;return a().createElement(c.ArrayBase,null,a().createElement(u.Ay,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(t){var o;o=r[t],t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o})}return e}({},e),r=r={value:s,onChange:function(e){o.form.setValuesIn(o.path,e)},getDefaultValue:function(){return(0,p.clone)(e.defaultValue)},renderHeader:function(e,t){var r=o.form.queryFeedbacks({type:"error",address:"".concat(o.address.concat(t),".**")}),n=null!=l?l:m;return r.length?a().createElement(y.Badge,{size:"small",className:"errors-badge",count:r.length},n):n},renderItem:function(e,t){var r=Array.isArray(n.items)?n.items[t]||n.items[0]:n.items;return r?a().createElement(c.ArrayBase.Item,{index:t,record:e},a().createElement(i.RecursionField,{schema:r,name:t})):null}},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t)))}),b=(0,i.observer)(function(){var e=(0,s.kj)(),t=(0,i.useField)().query(".type").take();return(null==t?void 0:t.value)==="image_url"||(null==t?void 0:t.value)==="image_base64"?a().createElement(o.SchemaComponent,{components:{WorkflowVariableInput:m.WorkflowVariableInput},schema:{type:"void",properties:{image_url:{type:"object",properties:{url:{title:(0,l.tval)("Image",{ns:s.MF}),type:"string","x-decorator":"FormItem","x-component":"WorkflowVariableInput","x-component-props":{changeOnSelect:!0}}}}}}}):a().createElement(o.SchemaComponent,{components:{WorkflowVariableRawTextArea:m.WorkflowVariableRawTextArea},schema:{type:"void",properties:{content:{title:e("Content"),type:"string","x-decorator":"FormItem","x-component":"WorkflowVariableRawTextArea","x-component-props":{autoSize:{minRows:5}}}}}})}),f=(0,i.observer)(function(){var e=(0,s.kj)(),t=(0,i.useField)().query(".role").take();return t?"user"===t.value?a().createElement(o.SchemaComponent,{components:{FormLayout:c.FormLayout,ListCollapse:d,UserMessage:b},schema:{type:"void",properties:{content:{type:"array","x-component":"ListCollapse","x-component-props":{size:"small",bordered:!1,addText:(0,l.tval)("Add content",{ns:s.MF}),defaultValue:{type:"text"},header:e("Content"),itemTitle:e("Content")},default:[{type:"text"}],"x-decorator":"FormItem",items:{type:"object",properties:{form:{type:"void","x-component":"FormLayout","x-component-props":{layout:"vertical"},properties:{type:{title:e("Type"),type:"string","x-decorator":"FormItem","x-component":"Select",enum:[{label:e("Text"),value:"text"},{label:e("Image (send via URL)"),value:"image_url"},{label:e("Image (send via Base64)"),value:"image_base64"}],default:"text"},user:{type:"void","x-component":"UserMessage"}}}}}}}}}):a().createElement(o.SchemaComponent,{components:{WorkflowVariableRawTextArea:m.WorkflowVariableRawTextArea},schema:{type:"void",properties:{message:{title:(0,l.tval)("Content",{ns:s.MF}),type:"string","x-decorator":"FormItem","x-component":"WorkflowVariableRawTextArea"}}}}):null}),v=function(){var e=(0,s.kj)();return a().createElement(o.SchemaComponent,{components:{Content:f,FormLayout:c.FormLayout,ListCollapse:d},schema:{type:"void",properties:{messages:{type:"array","x-component":"ListCollapse","x-component-props":{size:"small",addText:(0,l.tval)("Add prompt",{ns:s.MF}),defaultValue:{role:"user",content:[{type:"text"}]},header:e("Message"),itemTitle:e("Message")},"x-decorator":"FormItem",default:[{role:"user",content:[{type:"text"}]}],items:{type:"object",properties:{form:{type:"void","x-component":"FormLayout","x-component-props":{layout:"vertical"},properties:{role:{title:(0,l.tval)("Role",{ns:s.MF}),type:"string","x-decorator":"FormItem","x-component":"Select",enum:[{label:"System",value:"system"},{label:"User",value:"user"},{label:"Assistant",value:"assistant"}],default:"user"},content:{type:"void","x-component":"Content"}}}}}}}}})},g=function(){return a().createElement(o.SchemaComponent,{components:{Messages:v},schema:{type:"void",properties:{messages:{type:"void","x-component":"Messages"}}}})}}}]);
|