@blocklet/pages-kit-agents 0.7.27 → 0.7.28
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/agents/page-structure-planner.js +0 -2
- package/lib/cjs/agents/template-designer.js +0 -1
- package/lib/cjs/agents/template-generator.js +0 -2
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/agents/page-structure-planner.js +0 -2
- package/lib/esm/agents/template-designer.js +0 -1
- package/lib/esm/agents/template-generator.js +0 -2
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
|
@@ -92,7 +92,6 @@ const plannerAgent = AIAgent.from({
|
|
|
92
92
|
...plannerParamsSchema.shape,
|
|
93
93
|
structurePlan: structurePlanSchema,
|
|
94
94
|
}),
|
|
95
|
-
// @ts-expect-error
|
|
96
95
|
memory,
|
|
97
96
|
instructions: plannerInstructions,
|
|
98
97
|
includeInputInOutput: true,
|
|
@@ -104,7 +103,6 @@ const validatorAgent = AIAgent.from({
|
|
|
104
103
|
...plannerParamsSchema.shape,
|
|
105
104
|
structurePlan: structurePlanSchema,
|
|
106
105
|
}),
|
|
107
|
-
// @ts-expect-error
|
|
108
106
|
memory,
|
|
109
107
|
outputSchema: z.object({
|
|
110
108
|
isApproved: z.boolean().describe('结构规划是否符合要求,无缺失 section 且无严重重复内容'),
|
|
@@ -137,7 +137,6 @@ const generatorAgent = AIAgent.from({
|
|
|
137
137
|
...generatorParamsSchema.shape,
|
|
138
138
|
templateYaml: templateYamlSchema,
|
|
139
139
|
}),
|
|
140
|
-
// @ts-expect-error
|
|
141
140
|
memory,
|
|
142
141
|
instructions: `
|
|
143
142
|
${generatorAgentInstructions}
|
|
@@ -148,7 +147,6 @@ const validatorAgent = AIAgent.from({
|
|
|
148
147
|
name: 'validator',
|
|
149
148
|
description: '验证 Yaml 结构符合 Pages Kit 框架的 Yaml Schema 结构',
|
|
150
149
|
inputSchema: generatorParamsSchema,
|
|
151
|
-
// @ts-expect-error
|
|
152
150
|
memory,
|
|
153
151
|
outputSchema: z.object({
|
|
154
152
|
isApproved: z.boolean().describe('模板 Yaml 结构是否符合要求,feedback 中是否存在必须修改的项'),
|