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.
- package/package.json +1 -1
- package/src/orchestrator/code-generator.js +994 -0
- package/src/orchestrator/engine.js +11 -1
- package/src/orchestrator/oneshot.js +80 -1277
- package/src/orchestrator/planner.js +329 -0
- package/src/orchestrator/skills-registry.js +194 -0
- package/src/orchestrator/task-queue.js +128 -0
- package/src/server/server.js +9 -2
|
@@ -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/
|
|
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'],
|