@fro.bot/systematic 1.17.0 → 1.17.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/dist/index.js +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -197,8 +197,15 @@ function loadCommandAsConfig(commandInfo) {
|
|
|
197
197
|
const { body } = parseFrontmatter(converted);
|
|
198
198
|
const cleanName = commandInfo.name.replace(/^\//, "");
|
|
199
199
|
const baseDescription = description || `${name || cleanName} command`;
|
|
200
|
+
const wrappedTemplate = `<command-instruction>
|
|
201
|
+
${body.trim()}
|
|
202
|
+
</command-instruction>
|
|
203
|
+
|
|
204
|
+
<user-request>
|
|
205
|
+
$ARGUMENTS
|
|
206
|
+
</user-request>`;
|
|
200
207
|
const config = {
|
|
201
|
-
template:
|
|
208
|
+
template: wrappedTemplate,
|
|
202
209
|
description: `(Systematic) ${baseDescription}`
|
|
203
210
|
};
|
|
204
211
|
if (agent !== undefined)
|