sinapse-ai 6.0.2 → 6.0.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.
@@ -7,8 +7,8 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 6.0.2
11
- generated_at: "2026-03-25T03:38:47.355Z"
10
+ version: 6.0.3
11
+ generated_at: "2026-03-25T03:41:18.669Z"
12
12
  generator: scripts/generate-install-manifest.js
13
13
  file_count: 1090
14
14
  files:
@@ -1217,7 +1217,7 @@ files:
1217
1217
  type: data
1218
1218
  size: 9586
1219
1219
  - path: data/entity-registry.yaml
1220
- hash: sha256:5ea2b18bd32413355ceb504f4169456c962709f4801335be29287e1eab221a3b
1220
+ hash: sha256:d7be69ecf0ad65133bc9039070d377321f39b51bb6f4050aaef227b8dbdddcd2
1221
1221
  type: data
1222
1222
  size: 519845
1223
1223
  - path: data/learned-patterns.yaml
package/bin/cli.js CHANGED
@@ -602,7 +602,7 @@ function cmdUpdateGlobal() {
602
602
  }
603
603
  }
604
604
 
605
- // Only generate commands for orqx agents (user-facing orchestrators)
605
+ // Count total agents and generate orqx commands (skip if already copied from framework)
606
606
  let totalAgents = 0;
607
607
  for (const squad of squads) {
608
608
  const agentsDir = path.join(SINAPSE_HOME, squad.name, 'agents');
@@ -611,16 +611,20 @@ function cmdUpdateGlobal() {
611
611
  totalAgents += allAgents.length;
612
612
  const orqxAgents = allAgents.filter(f => f.includes('-orqx'));
613
613
  for (const file of orqxAgents) {
614
+ const destPath = path.join(CLAUDE_COMMANDS_DIR, file);
615
+ if (fs.existsSync(destPath)) continue; // skip if already from framework
614
616
  const agentId = file.replace('.md', '');
615
617
  const meta = extractAgentMeta(path.join(agentsDir, file));
616
618
  const squadPath = `${sinapseBase}/${squad.name}`;
617
- fs.writeFileSync(
618
- path.join(CLAUDE_COMMANDS_DIR, `${agentId}.md`),
619
- generateCommandMd(agentId, meta.name, meta.icon, squad.name, squadPath, file)
620
- );
619
+ fs.writeFileSync(destPath, generateCommandMd(agentId, meta.name, meta.icon, squad.name, squadPath, file));
621
620
  cmdCount++;
622
621
  }
623
622
  }
623
+ // Also count sinapse/ orqx agents
624
+ const sinapseAgentsDir = path.join(SINAPSE_HOME, 'sinapse', 'agents');
625
+ if (fs.existsSync(sinapseAgentsDir)) {
626
+ totalAgents += fs.readdirSync(sinapseAgentsDir).filter(f => f.endsWith('.md')).length;
627
+ }
624
628
  console.log(` ${GREEN}OK${NC} ${cmdCount} command files (${totalAgents} agents total)`);
625
629
 
626
630
  // Phase 3: Regenerate awareness
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinapse-ai",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "SINAPSE: AI-Orchestrated System for Full Stack Development — 17 squads, 161 agents",
5
5
  "bin": {
6
6
  "sinapse": "bin/sinapse.js",