pixelcrew 0.2.2 → 0.2.3

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.
@@ -865,6 +865,16 @@ export class OrchestratorEngine extends EventEmitter {
865
865
  // Save multi-file project to disk
866
866
  await oneshot.saveMultiFileOutput(outputDir, buildResult, creativeDirection, uxPlan, evaluation);
867
867
 
868
+ // Emit granular file creation events for dashboard telemetry
869
+ for (const relFile of Object.keys(buildResult.files || {})) {
870
+ await this.emitEvent({
871
+ agent: relFile.startsWith('src/app/api') ? 'backend' : (relFile.endsWith('.ts') && !relFile.endsWith('.tsx') ? 'database' : 'frontend'),
872
+ type: 'file.created',
873
+ file: relFile,
874
+ message: `Created ${relFile}`
875
+ });
876
+ }
877
+
868
878
  // Save audit report to .pixel-agents/reports/
869
879
  const reportData = this.compileAuditReport(
870
880
  prompt,
@@ -872,7 +882,7 @@ export class OrchestratorEngine extends EventEmitter {
872
882
  {
873
883
  creativeDirector: [`Design Direction: ${creativeDirection.design_direction}`],
874
884
  frontend: [`Synthesized ${buildResult.fileCount} Next.js / TypeScript files`],
875
- backend: ['Generated TypeScript API Route Handlers (/api/contact, /api/projects)'],
885
+ backend: ['Generated TypeScript API Route Handlers (/api/contact, /api/data)'],
876
886
  database: ['Grounded TypeScript data models & category taxonomy'],
877
887
  performance: ['Sub-millisecond TTFB and 100/100 Core Web Vitals optimization'],
878
888
  security: ['Enforced zero-trust API validation & sanitized payload handling'],