@blocklet/pages-kit-agents 0.5.56 → 0.6.1
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/lib/cjs/prompts/site-map-generator.md +18 -16
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/prompts/site-map-generator.md +18 -16
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/workflow-cli.ts +0 -30
- package/lib/cjs/agents/orchestrator/index.d.ts +0 -115
- package/lib/cjs/agents/orchestrator/index.js +0 -264
- package/lib/cjs/agents/orchestrator/orchestrator-prompts.d.ts +0 -130
- package/lib/cjs/agents/orchestrator/orchestrator-prompts.js +0 -135
- package/lib/esm/agents/orchestrator/index.d.ts +0 -115
- package/lib/esm/agents/orchestrator/index.js +0 -243
- package/lib/esm/agents/orchestrator/orchestrator-prompts.d.ts +0 -130
- package/lib/esm/agents/orchestrator/orchestrator-prompts.js +0 -131
- package/lib/types/agents/orchestrator/index.d.ts +0 -115
- package/lib/types/agents/orchestrator/orchestrator-prompts.d.ts +0 -130
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
## 目标
|
|
6
6
|
|
|
7
7
|
用户要求:
|
|
8
|
-
|
|
8
|
+
<user_question>
|
|
9
9
|
{{ question }}
|
|
10
|
-
|
|
10
|
+
</user_question>
|
|
11
11
|
|
|
12
12
|
你的任务是根据用户的要求生成一个完整的 Sitemap。这个 Sitemap 应该包含多层级的页面结构,反映用户在探索这个主题时可能有的所有合理信息需求和探索路径。请确保每个页面标题都清晰、有吸引力,并暗示其内容对用户有价值。
|
|
13
13
|
|
|
@@ -24,12 +24,13 @@
|
|
|
24
24
|
### 主题分析和规则解析
|
|
25
25
|
|
|
26
26
|
你首先需要分析用户的意图,要分析出两个意图:
|
|
27
|
+
|
|
27
28
|
- 用户要求的主题
|
|
28
29
|
- 用户提出的规则和限制
|
|
29
30
|
|
|
30
31
|
你需要以下面的格式输出你这一步的分析:
|
|
31
32
|
|
|
32
|
-
```
|
|
33
|
+
```json
|
|
33
34
|
{
|
|
34
35
|
"core_topic": "xxx",
|
|
35
36
|
"constraints": [
|
|
@@ -81,16 +82,17 @@
|
|
|
81
82
|
这一步你需要对上一步输的节点树做检查和信息补充。
|
|
82
83
|
|
|
83
84
|
每个节点需要补充以下信息:
|
|
85
|
+
|
|
84
86
|
- ascii 字段,规划页面展示的蓝图
|
|
85
87
|
- pageRefs 字段,当前页面关联的页面
|
|
86
88
|
|
|
87
89
|
需要做的检查:
|
|
90
|
+
|
|
88
91
|
- 当前输出的节点树是否符合用户要求的规则 constraints
|
|
89
92
|
- 页面是否存在重复
|
|
90
93
|
|
|
91
94
|
输出最终的节点树
|
|
92
95
|
|
|
93
|
-
|
|
94
96
|
## 输出要求
|
|
95
97
|
|
|
96
98
|
- 输出你每一步的思考和结果,以及决策的原因
|
|
@@ -98,18 +100,18 @@
|
|
|
98
100
|
|
|
99
101
|
<output_sample>
|
|
100
102
|
[
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
103
|
+
{
|
|
104
|
+
"nid": "xxx",
|
|
105
|
+
"path": "/x",
|
|
106
|
+
"title": "xxx",
|
|
107
|
+
"description": "xxx",
|
|
108
|
+
"pageRefs": ["xxx", ...],
|
|
109
|
+
"ascii": "xxx"
|
|
110
|
+
"subNodes": [
|
|
111
|
+
....
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
...
|
|
113
115
|
]
|
|
114
116
|
</output_sample>
|
|
115
117
|
|