pumuki 6.3.349 → 6.3.350

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki",
3
- "version": "6.3.349",
3
+ "version": "6.3.350",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -18,6 +18,28 @@ const formatTopFiles = (topFiles: ReadonlyArray<{ file: string; count: number }>
18
18
  .join(', ')}`;
19
19
  };
20
20
 
21
+ const formatPlatforms = (
22
+ platformRows: FrameworkMenuEvidenceSummary['platformAuditRows']
23
+ ): string => {
24
+ if (!platformRows || platformRows.length === 0) {
25
+ return 'Platforms: none';
26
+ }
27
+ return `Platforms: ${platformRows
28
+ .map((entry) => `${entry.platform}=${entry.violations}`)
29
+ .join(', ')}`;
30
+ };
31
+
32
+ const formatTopFindings = (
33
+ topFindings: FrameworkMenuEvidenceSummary['topFindings']
34
+ ): string => {
35
+ if (topFindings.length === 0) {
36
+ return 'Top findings: none';
37
+ }
38
+ return `Top findings: ${topFindings
39
+ .map((entry) => `[${entry.severity}] ${entry.ruleId} -> ${entry.file}:${entry.line}`)
40
+ .join('; ')}`;
41
+ };
42
+
21
43
  export const formatEvidenceSummaryForMenu = (
22
44
  summary: FrameworkMenuEvidenceSummary
23
45
  ): string => {
@@ -45,5 +67,7 @@ export const formatEvidenceSummaryForMenu = (
45
67
  `Severities (enterprise): critical=${byEnterpriseSeverity.CRITICAL} high=${byEnterpriseSeverity.HIGH} medium=${byEnterpriseSeverity.MEDIUM} low=${byEnterpriseSeverity.LOW}`,
46
68
  `Severities (legacy): critical=${summary.bySeverity.CRITICAL} error=${summary.bySeverity.ERROR} warn=${summary.bySeverity.WARN} info=${summary.bySeverity.INFO}`,
47
69
  formatTopFiles(summary.topFiles),
70
+ formatPlatforms(summary.platformAuditRows),
71
+ formatTopFindings(summary.topFindings),
48
72
  ].join('\n');
49
73
  };