@fro.bot/systematic 1.22.3 → 1.22.4

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -464,6 +464,15 @@ var bundledAgentsDir = path4.join(packageRoot, "agents");
464
464
  var bundledCommandsDir = path4.join(packageRoot, "commands");
465
465
  var packageJsonPath = path4.join(packageRoot, "package.json");
466
466
  var hasLoggedInit = false;
467
+ var applyBootstrapContent = (output, content) => {
468
+ if (output.system.length > 0) {
469
+ output.system[output.system.length - 1] += `
470
+
471
+ ${content}`;
472
+ } else {
473
+ output.system.push(content);
474
+ }
475
+ };
467
476
  var getPackageVersion = () => {
468
477
  try {
469
478
  if (!fs3.existsSync(packageJsonPath))
@@ -528,13 +537,7 @@ var SystematicPlugin = async ({ client, directory }) => {
528
537
  }
529
538
  const content = getBootstrapContent(config, { bundledSkillsDir });
530
539
  if (content) {
531
- if (output.system.length > 0) {
532
- output.system[output.system.length - 1] += `
533
-
534
- ${content}`;
535
- } else {
536
- output.system.push(content);
537
- }
540
+ applyBootstrapContent(output, content);
538
541
  }
539
542
  }
540
543
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fro.bot/systematic",
3
- "version": "1.22.3",
3
+ "version": "1.22.4",
4
4
  "description": "Structured engineering workflows for OpenCode",
5
5
  "type": "module",
6
6
  "homepage": "https://fro.bot/systematic",