@standardagents/builder 0.12.1 → 0.12.2
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/dist/built-in-routes.js +28 -35
- package/dist/built-in-routes.js.map +1 -1
- package/dist/client/assets/index.css +1 -1
- package/dist/client/index.js +27 -27
- package/dist/index.d.ts +17 -0
- package/dist/index.js +31 -35
- package/dist/index.js.map +1 -1
- package/dist/plugin.js +4 -0
- package/dist/plugin.js.map +1 -1
- package/package.json +4 -4
package/dist/plugin.js
CHANGED
|
@@ -991,6 +991,10 @@ function generatePromptFile(data) {
|
|
|
991
991
|
const reasoningCode = formatReasoningConfig(data.reasoning);
|
|
992
992
|
lines.push(` reasoning: ${reasoningCode},`);
|
|
993
993
|
}
|
|
994
|
+
if (data.hooks && data.hooks.length > 0) {
|
|
995
|
+
const hooksCode = data.hooks.map((h) => `'${escapeString2(h)}'`).join(", ");
|
|
996
|
+
lines.push(` hooks: [${hooksCode}],`);
|
|
997
|
+
}
|
|
994
998
|
if (hasSchema) {
|
|
995
999
|
const zodCode = jsonSchemaToZod(data.requiredSchema, 1);
|
|
996
1000
|
lines.push(` requiredSchema: ${zodCode},`);
|