@blocklet/pages-kit-agents 0.7.27 → 0.7.29
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
|
@@ -95,7 +95,6 @@ const plannerAgent = core_1.AIAgent.from({
|
|
|
95
95
|
...exports.plannerParamsSchema.shape,
|
|
96
96
|
structurePlan: structurePlanSchema,
|
|
97
97
|
}),
|
|
98
|
-
// @ts-expect-error
|
|
99
98
|
memory,
|
|
100
99
|
instructions: plannerInstructions,
|
|
101
100
|
includeInputInOutput: true,
|
|
@@ -107,7 +106,6 @@ const validatorAgent = core_1.AIAgent.from({
|
|
|
107
106
|
...exports.plannerParamsSchema.shape,
|
|
108
107
|
structurePlan: structurePlanSchema,
|
|
109
108
|
}),
|
|
110
|
-
// @ts-expect-error
|
|
111
109
|
memory,
|
|
112
110
|
outputSchema: zod_1.z.object({
|
|
113
111
|
isApproved: zod_1.z.boolean().describe('结构规划是否符合要求,无缺失 section 且无严重重复内容'),
|
|
@@ -143,7 +143,6 @@ const generatorAgent = core_1.AIAgent.from({
|
|
|
143
143
|
...exports.generatorParamsSchema.shape,
|
|
144
144
|
templateYaml: templateYamlSchema,
|
|
145
145
|
}),
|
|
146
|
-
// @ts-expect-error
|
|
147
146
|
memory,
|
|
148
147
|
instructions: `
|
|
149
148
|
${generatorAgentInstructions}
|
|
@@ -154,7 +153,6 @@ const validatorAgent = core_1.AIAgent.from({
|
|
|
154
153
|
name: 'validator',
|
|
155
154
|
description: '验证 Yaml 结构符合 Pages Kit 框架的 Yaml Schema 结构',
|
|
156
155
|
inputSchema: exports.generatorParamsSchema,
|
|
157
|
-
// @ts-expect-error
|
|
158
156
|
memory,
|
|
159
157
|
outputSchema: zod_1.z.object({
|
|
160
158
|
isApproved: zod_1.z.boolean().describe('模板 Yaml 结构是否符合要求,feedback 中是否存在必须修改的项'),
|