@agiflowai/aicode-utils 0.5.0 → 0.6.0

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.cjs CHANGED
@@ -286,7 +286,7 @@ var ProjectConfigResolver = class ProjectConfigResolver {
286
286
  configSource: ConfigSource.TOOLKIT_YAML,
287
287
  workspaceRoot
288
288
  };
289
- } catch (error) {}
289
+ } catch (_error) {}
290
290
  throw new Error(ProjectConfigResolver.getHelpfulErrorMessage(absolutePath));
291
291
  } catch (error) {
292
292
  if (error instanceof Error && error.message.includes("No project configuration found")) throw error;
@@ -671,20 +671,28 @@ const sections = {
671
671
  },
672
672
  list: (title, items) => {
673
673
  print.header(`\n${title}\n`);
674
- items.forEach((item) => print.item(item));
674
+ items.forEach((item) => {
675
+ print.item(item);
676
+ });
675
677
  },
676
678
  nextSteps: (steps) => {
677
679
  print.header(`\n${icons.clipboard} Next steps:`);
678
- steps.forEach((step) => print.indent(step));
680
+ steps.forEach((step) => {
681
+ print.indent(step);
682
+ });
679
683
  },
680
684
  createdFiles: (files, maxShow = 10) => {
681
685
  print.header(`\n${icons.folder} Created files:`);
682
- files.slice(0, maxShow).forEach((file) => print.item(file));
686
+ files.slice(0, maxShow).forEach((file) => {
687
+ print.item(file);
688
+ });
683
689
  if (files.length > maxShow) print.indent(`... and ${files.length - maxShow} more files`);
684
690
  },
685
691
  warnings: (warnings) => {
686
692
  print.warning(`\n${icons.warning} Warnings:`);
687
- warnings.forEach((warning) => print.item(warning));
693
+ warnings.forEach((warning) => {
694
+ print.item(warning);
695
+ });
688
696
  }
689
697
  };
690
698
 
package/dist/index.js CHANGED
@@ -264,7 +264,7 @@ var ProjectConfigResolver = class ProjectConfigResolver {
264
264
  configSource: ConfigSource.TOOLKIT_YAML,
265
265
  workspaceRoot
266
266
  };
267
- } catch (error) {}
267
+ } catch (_error) {}
268
268
  throw new Error(ProjectConfigResolver.getHelpfulErrorMessage(absolutePath));
269
269
  } catch (error) {
270
270
  if (error instanceof Error && error.message.includes("No project configuration found")) throw error;
@@ -649,20 +649,28 @@ const sections = {
649
649
  },
650
650
  list: (title, items) => {
651
651
  print.header(`\n${title}\n`);
652
- items.forEach((item) => print.item(item));
652
+ items.forEach((item) => {
653
+ print.item(item);
654
+ });
653
655
  },
654
656
  nextSteps: (steps) => {
655
657
  print.header(`\n${icons.clipboard} Next steps:`);
656
- steps.forEach((step) => print.indent(step));
658
+ steps.forEach((step) => {
659
+ print.indent(step);
660
+ });
657
661
  },
658
662
  createdFiles: (files, maxShow = 10) => {
659
663
  print.header(`\n${icons.folder} Created files:`);
660
- files.slice(0, maxShow).forEach((file) => print.item(file));
664
+ files.slice(0, maxShow).forEach((file) => {
665
+ print.item(file);
666
+ });
661
667
  if (files.length > maxShow) print.indent(`... and ${files.length - maxShow} more files`);
662
668
  },
663
669
  warnings: (warnings) => {
664
670
  print.warning(`\n${icons.warning} Warnings:`);
665
- warnings.forEach((warning) => print.item(warning));
671
+ warnings.forEach((warning) => {
672
+ print.item(warning);
673
+ });
666
674
  }
667
675
  };
668
676
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agiflowai/aicode-utils",
3
3
  "description": "Shared utilities and types for AI-powered code generation, scaffolding, and analysis",
4
- "version": "0.5.0",
4
+ "version": "0.6.0",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "AgiflowIO",
7
7
  "repository": {