@shun-js/aibaiban-server 1.0.2 → 1.0.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/package.json +2 -2
- package/server/util/prompt-agent.js +4 -3
- 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": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
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": "6882b0a600e3ad421b67cee58134371ec478ce93"
|
|
48
48
|
}
|
|
@@ -86,9 +86,10 @@ module.exports = {
|
|
|
86
86
|
|
|
87
87
|
⚠️ 重要语法限制:
|
|
88
88
|
1. 禁止使用以下 Mermaid 保留字作为节点名称: start, end, stop, pause, resume, done, state, choice, fork, join
|
|
89
|
-
2. 如果流程有"开始"或"结束",使用
|
|
90
|
-
3.
|
|
91
|
-
4.
|
|
89
|
+
2. 如果流程有"开始"或"结束",使用 node_start((开始))、node_end((结束)) 这样的自定义ID
|
|
90
|
+
3. 节点文本和连接线文本中禁止使用括号()[]{},这些是 Mermaid 的形状语法符号,会导致解析错误
|
|
91
|
+
4. 连接线标签示例: -->|是| 、-->|否| 、-->|提交|,不要写 -->|否(注册)| 或 -->|是(通过)|
|
|
92
|
+
5. 如需补充说明,用斜杠/顿号/破折号代替括号,如"否-注册"、"否/注册"
|
|
92
93
|
|
|
93
94
|
要求:
|
|
94
95
|
1. 生成合法的 Mermaid 语法
|
package/views/index.html
CHANGED
|
@@ -109,32 +109,32 @@
|
|
|
109
109
|
<script
|
|
110
110
|
type="module"
|
|
111
111
|
crossorigin
|
|
112
|
-
src="https://static-small.vincentqiao.com/aibaiban/static/index-
|
|
112
|
+
src="https://static-small.vincentqiao.com/aibaiban/static/index-CYIYkLbz.js"
|
|
113
113
|
></script>
|
|
114
114
|
<link
|
|
115
115
|
rel="modulepreload"
|
|
116
116
|
crossorigin
|
|
117
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/react-vendor-
|
|
117
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/react-vendor-zXWpQZWf.js"
|
|
118
118
|
/>
|
|
119
119
|
<link
|
|
120
120
|
rel="modulepreload"
|
|
121
121
|
crossorigin
|
|
122
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-base-
|
|
122
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-base-BkT6tJ3N.js"
|
|
123
123
|
/>
|
|
124
124
|
<link
|
|
125
125
|
rel="modulepreload"
|
|
126
126
|
crossorigin
|
|
127
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-icons-
|
|
127
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-icons-AALiXfxf.js"
|
|
128
128
|
/>
|
|
129
129
|
<link
|
|
130
130
|
rel="modulepreload"
|
|
131
131
|
crossorigin
|
|
132
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-x-
|
|
132
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/antd-x-DKY-WOLC.js"
|
|
133
133
|
/>
|
|
134
134
|
<link
|
|
135
135
|
rel="modulepreload"
|
|
136
136
|
crossorigin
|
|
137
|
-
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/excalidraw-
|
|
137
|
+
href="https://static-small.vincentqiao.com/aibaiban/static/chunks/excalidraw-WA-IihWf.js"
|
|
138
138
|
/>
|
|
139
139
|
<link
|
|
140
140
|
rel="stylesheet"
|