@shun-js/aibaiban-server 0.8.6 → 0.8.8
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/package.json +2 -2
- package/server/util/prompt-agent.js +6 -0
- package/views/index.html +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shun-js/aibaiban-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.8",
|
|
4
4
|
"description": "aibaiban.com server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai aibaiban"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public",
|
|
45
45
|
"registry": "https://registry.npmjs.org/"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "2ef5979706688cf913a6e74caa24bcfea4143803"
|
|
48
48
|
}
|
|
@@ -74,6 +74,12 @@ module.exports = {
|
|
|
74
74
|
图表类型: {diagramType}
|
|
75
75
|
细化描述: {elaboration}
|
|
76
76
|
|
|
77
|
+
⚠️ 重要语法限制:
|
|
78
|
+
1. 禁止使用以下 Mermaid 保留字作为节点名称: start, end, stop, pause, resume, done, state, choice, fork, join
|
|
79
|
+
2. 如果流程有"开始"或"结束",使用"开始"((开始))、"结束"((结束)) 或 图标如((●))、((○)) 代替
|
|
80
|
+
3. 节点名称避免使用特殊符号如括号()[]{},可以用中文双引号""包裹
|
|
81
|
+
4. 连接线避免使用特殊字符,用中文描述如"是"、"否"、"到"
|
|
82
|
+
|
|
77
83
|
要求:
|
|
78
84
|
1. 生成合法的 Mermaid 语法
|
|
79
85
|
2. 使用中文标签
|
package/views/index.html
CHANGED
|
@@ -107,32 +107,32 @@
|
|
|
107
107
|
<script
|
|
108
108
|
type="module"
|
|
109
109
|
crossorigin
|
|
110
|
-
src="https://static-small.vincentqiao.com/aibaiban/static/index-
|
|
110
|
+
src="https://static-small.vincentqiao.com/aibaiban/static/index-B8pTLfcc.js"
|
|
111
111
|
></script>
|
|
112
112
|
<link
|
|
113
113
|
rel="modulepreload"
|
|
114
114
|
crossorigin
|
|
115
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/react-vendor-
|
|
115
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/react-vendor-sruPWfIs.js"
|
|
116
116
|
/>
|
|
117
117
|
<link
|
|
118
118
|
rel="modulepreload"
|
|
119
119
|
crossorigin
|
|
120
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-base-
|
|
120
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-base-CUHU3t6W.js"
|
|
121
121
|
/>
|
|
122
122
|
<link
|
|
123
123
|
rel="modulepreload"
|
|
124
124
|
crossorigin
|
|
125
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-icons-
|
|
125
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-icons-C5ujIBy3.js"
|
|
126
126
|
/>
|
|
127
127
|
<link
|
|
128
128
|
rel="modulepreload"
|
|
129
129
|
crossorigin
|
|
130
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-x-
|
|
130
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-x-Ch3MovBd.js"
|
|
131
131
|
/>
|
|
132
132
|
<link
|
|
133
133
|
rel="modulepreload"
|
|
134
134
|
crossorigin
|
|
135
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/excalidraw-
|
|
135
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/excalidraw-BGgbH-5v.js"
|
|
136
136
|
/>
|
|
137
137
|
<link
|
|
138
138
|
rel="stylesheet"
|