nexus-prime 7.6.0 → 7.6.2

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.
@@ -962,8 +962,13 @@ export function buildMcpToolDefinitions() {
962
962
  required: ['taskId', 'goal', 'findings'],
963
963
  },
964
964
  },
965
- ...synapseToolDefinitions,
966
- ...architectsToolDefinitions,
965
+ // When NEXUS_DISABLE_WORKFORCE=1 (the daemon default since v7.6.1),
966
+ // strip the 24 nexus_synapse_* / nexus_architects_* tools from the
967
+ // catalog so the model doesn't see surface area for engines that
968
+ // aren't initialized at runtime. Set NEXUS_DISABLE_WORKFORCE=0 to
969
+ // re-enable both engines + their tools.
970
+ ...(process.env.NEXUS_DISABLE_WORKFORCE === '1' ? [] : synapseToolDefinitions),
971
+ ...(process.env.NEXUS_DISABLE_WORKFORCE === '1' ? [] : architectsToolDefinitions),
967
972
  // ── Workforce (unified worker+job layer) ──────────────────────────
968
973
  {
969
974
  name: 'nexus_work_enqueue',
package/dist/cli.js CHANGED
@@ -788,6 +788,16 @@ program
788
788
  if (process.env.NEXUS_DAEMON_FAST_START === undefined) {
789
789
  process.env.NEXUS_DAEMON_FAST_START = '1';
790
790
  }
791
+ // Default the daemon to "workforce-disabled" mode: Synapse + Architects
792
+ // engines stay in the source tree (tests still run, code is preserved)
793
+ // but they don't open their SQLite DBs, run schema migrations, or
794
+ // surface their 24 MCP tools to clients. Saves ~700ms boot, shrinks
795
+ // the model-visible tool catalog, and removes the empty Workforce
796
+ // surface from the dashboard. Re-enable with NEXUS_DISABLE_WORKFORCE=0
797
+ // for users who actually hire operatives + dispatch missions.
798
+ if (process.env.NEXUS_DISABLE_WORKFORCE === undefined) {
799
+ process.env.NEXUS_DISABLE_WORKFORCE = '1';
800
+ }
791
801
  const workspaceContext = resolveWorkspaceContext({ workspaceRoot: getWorkspaceRoot() });
792
802
  const daemon = new NexusDaemonServer(workspaceContext);
793
803
  const { started, record } = await daemon.start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexus-prime",
3
- "version": "7.6.0",
3
+ "version": "7.6.2",
4
4
  "description": "Local-first MCP control plane for coding agents with bootstrap-orchestrate execution, memory fabric, token budgeting, and worktree-backed swarms",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",