@monoes/monomindcli 2.7.3 → 2.7.5

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.
Files changed (674) hide show
  1. package/.claude/agents/architecture/system-design/arch-system-design.md +0 -0
  2. package/.claude/agents/consensus/crdt-synchronizer.md +0 -0
  3. package/.claude/agents/consensus/quorum-manager.md +0 -0
  4. package/.claude/agents/consensus/security-manager.md +0 -0
  5. package/.claude/agents/core/coder.md +0 -0
  6. package/.claude/agents/core/coordinator.md +0 -0
  7. package/.claude/agents/core/planner.md +0 -0
  8. package/.claude/agents/core/researcher.md +0 -0
  9. package/.claude/agents/core/reviewer.md +0 -0
  10. package/.claude/agents/core/tester.md +0 -0
  11. package/.claude/agents/design/design-monodesign.md +0 -0
  12. package/.claude/agents/engineering/engineering-ai-data-remediation-engineer.md +0 -0
  13. package/.claude/agents/engineering/engineering-ai-engineer.md +0 -0
  14. package/.claude/agents/engineering/engineering-autonomous-optimization-architect.md +0 -0
  15. package/.claude/agents/engineering/engineering-backend-architect.md +0 -0
  16. package/.claude/agents/engineering/engineering-code-reviewer.md +0 -0
  17. package/.claude/agents/engineering/engineering-data-engineer.md +0 -0
  18. package/.claude/agents/engineering/engineering-database-optimizer.md +0 -0
  19. package/.claude/agents/engineering/engineering-devops-automator.md +0 -0
  20. package/.claude/agents/engineering/engineering-embedded-firmware-engineer.md +0 -0
  21. package/.claude/agents/engineering/engineering-feishu-integration-developer.md +0 -0
  22. package/.claude/agents/engineering/engineering-frontend-developer.md +0 -0
  23. package/.claude/agents/engineering/engineering-git-workflow-master.md +0 -0
  24. package/.claude/agents/engineering/engineering-incident-response-commander.md +0 -0
  25. package/.claude/agents/engineering/engineering-mobile-app-builder.md +0 -0
  26. package/.claude/agents/engineering/engineering-rapid-prototyper.md +0 -0
  27. package/.claude/agents/engineering/engineering-security-engineer.md +0 -0
  28. package/.claude/agents/engineering/engineering-senior-developer.md +0 -0
  29. package/.claude/agents/engineering/engineering-software-architect.md +0 -0
  30. package/.claude/agents/engineering/engineering-solidity-smart-contract-engineer.md +0 -0
  31. package/.claude/agents/engineering/engineering-sre.md +0 -0
  32. package/.claude/agents/engineering/engineering-technical-writer.md +0 -0
  33. package/.claude/agents/engineering/engineering-threat-detection-engineer.md +0 -0
  34. package/.claude/agents/engineering/engineering-wechat-mini-program-developer.md +0 -0
  35. package/.claude/agents/github/code-review-swarm.md +0 -0
  36. package/.claude/agents/github/github-modes.md +0 -0
  37. package/.claude/agents/github/issue-tracker.md +0 -0
  38. package/.claude/agents/github/multi-repo-swarm.md +0 -0
  39. package/.claude/agents/github/pr-manager.md +0 -0
  40. package/.claude/agents/github/project-board-sync.md +0 -0
  41. package/.claude/agents/github/release-manager.md +0 -0
  42. package/.claude/agents/github/repo-architect.md +0 -0
  43. package/.claude/agents/github/swarm-issue.md +0 -0
  44. package/.claude/agents/github/swarm-pr.md +0 -0
  45. package/.claude/agents/github/sync-coordinator.md +0 -0
  46. package/.claude/agents/github/workflow-automation.md +0 -0
  47. package/.claude/agents/goal/goal-planner.md +0 -0
  48. package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +0 -0
  49. package/.claude/agents/hive-mind/queen-coordinator.md +0 -0
  50. package/.claude/agents/hive-mind/scout-explorer.md +0 -0
  51. package/.claude/agents/hive-mind/swarm-memory-manager.md +0 -0
  52. package/.claude/agents/hive-mind/worker-specialist.md +0 -0
  53. package/.claude/agents/marketing/marketing-competitive-content.md +0 -0
  54. package/.claude/agents/marketing/marketing-cro-specialist.md +0 -0
  55. package/.claude/agents/marketing/marketing-email-specialist.md +0 -0
  56. package/.claude/agents/marketing/marketing-launch-strategist.md +0 -0
  57. package/.claude/agents/marketing/marketing-pricing-strategist.md +0 -0
  58. package/.claude/agents/optimization/benchmark-suite.md +0 -0
  59. package/.claude/agents/optimization/load-balancer.md +0 -0
  60. package/.claude/agents/optimization/performance-monitor.md +0 -0
  61. package/.claude/agents/optimization/resource-allocator.md +0 -0
  62. package/.claude/agents/optimization/topology-optimizer.md +0 -0
  63. package/.claude/agents/schemas/architecture-output.json +0 -0
  64. package/.claude/agents/schemas/code-review-output.json +0 -0
  65. package/.claude/agents/schemas/generic-task-input.json +0 -0
  66. package/.claude/agents/schemas/implementation-output.json +0 -0
  67. package/.claude/agents/schemas/research-output.json +0 -0
  68. package/.claude/agents/schemas/security-audit-output.json +0 -0
  69. package/.claude/agents/schemas/test-report-output.json +0 -0
  70. package/.claude/agents/specialists/integration-architect.md +0 -0
  71. package/.claude/agents/specialized/agentic-identity-trust.md +0 -0
  72. package/.claude/agents/specialized/agents-orchestrator.md +0 -0
  73. package/.claude/agents/specialized/automation-governance-architect.md +0 -0
  74. package/.claude/agents/specialized/blockchain-security-auditor.md +0 -0
  75. package/.claude/agents/specialized/compliance-auditor.md +0 -0
  76. package/.claude/agents/specialized/identity-graph-operator.md +0 -0
  77. package/.claude/agents/specialized/lsp-index-engineer.md +0 -0
  78. package/.claude/agents/specialized/mobile/spec-mobile-react-native.md +0 -0
  79. package/.claude/agents/specialized/specialized-cultural-intelligence-strategist.md +0 -0
  80. package/.claude/agents/specialized/specialized-developer-advocate.md +0 -0
  81. package/.claude/agents/specialized/specialized-document-generator.md +0 -0
  82. package/.claude/agents/specialized/specialized-mcp-builder.md +0 -0
  83. package/.claude/agents/specialized/specialized-model-qa.md +0 -0
  84. package/.claude/agents/specialized/specialized-workflow-architect.md +0 -0
  85. package/.claude/agents/specialized/zk-steward.md +0 -0
  86. package/.claude/agents/swarm/mesh-coordinator.md +0 -0
  87. package/.claude/agents/templates/automation-smart-agent.md +0 -0
  88. package/.claude/agents/templates/coordinator-swarm-init.md +0 -0
  89. package/.claude/agents/testing/production-validator.md +0 -0
  90. package/.claude/agents/testing/tdd-london-swarm.md +0 -0
  91. package/.claude/agents/testing/testing-accessibility-auditor.md +0 -0
  92. package/.claude/agents/testing/testing-api-tester.md +0 -0
  93. package/.claude/agents/testing/testing-evidence-collector.md +0 -0
  94. package/.claude/agents/testing/testing-performance-benchmarker.md +0 -0
  95. package/.claude/agents/testing/testing-test-results-analyzer.md +0 -0
  96. package/.claude/agents/testing/testing-tool-evaluator.md +0 -0
  97. package/.claude/agents/testing/testing-workflow-optimizer.md +0 -0
  98. package/.claude/commands/agents/README.md +0 -0
  99. package/.claude/commands/agents/agent-capabilities.md +0 -0
  100. package/.claude/commands/agents/agent-coordination.md +0 -0
  101. package/.claude/commands/agents/agent-spawning.md +0 -0
  102. package/.claude/commands/agents/agent-types.md +0 -0
  103. package/.claude/commands/analysis/README.md +0 -0
  104. package/.claude/commands/analysis/bottleneck-detect.md +0 -0
  105. package/.claude/commands/analysis/performance-bottlenecks.md +0 -0
  106. package/.claude/commands/analysis/performance-report.md +0 -0
  107. package/.claude/commands/analysis/token-usage.md +0 -0
  108. package/.claude/commands/automation/README.md +0 -0
  109. package/.claude/commands/automation/auto-agent.md +0 -0
  110. package/.claude/commands/automation/self-healing.md +0 -0
  111. package/.claude/commands/automation/session-memory.md +0 -0
  112. package/.claude/commands/automation/smart-agents.md +0 -0
  113. package/.claude/commands/automation/smart-spawn.md +0 -0
  114. package/.claude/commands/automation/workflow-select.md +0 -0
  115. package/.claude/commands/coordination/README.md +0 -0
  116. package/.claude/commands/coordination/agent-spawn.md +0 -0
  117. package/.claude/commands/coordination/swarm-init.md +0 -0
  118. package/.claude/commands/coordination/task-orchestrate.md +0 -0
  119. package/.claude/commands/github/README.md +0 -0
  120. package/.claude/commands/github/github-modes.md +0 -0
  121. package/.claude/commands/github/issue-tracker.md +0 -0
  122. package/.claude/commands/github/pr-manager.md +0 -0
  123. package/.claude/commands/github/release-manager.md +0 -0
  124. package/.claude/commands/github/repo-architect.md +0 -0
  125. package/.claude/commands/github/sync-coordinator.md +0 -0
  126. package/.claude/commands/hive-mind/README.md +0 -0
  127. package/.claude/commands/hive-mind/hive-mind-consensus.md +0 -0
  128. package/.claude/commands/hive-mind/hive-mind-init.md +0 -0
  129. package/.claude/commands/hive-mind/hive-mind-memory.md +0 -0
  130. package/.claude/commands/hive-mind/hive-mind-spawn.md +0 -0
  131. package/.claude/commands/hive-mind/hive-mind-status.md +0 -0
  132. package/.claude/commands/hive-mind/hive-mind-stop.md +0 -0
  133. package/.claude/commands/hive-mind/hive-mind.md +0 -0
  134. package/.claude/commands/hooks/README.md +0 -0
  135. package/.claude/commands/hooks/overview.md +0 -0
  136. package/.claude/commands/hooks/post-edit.md +0 -0
  137. package/.claude/commands/hooks/post-task.md +0 -0
  138. package/.claude/commands/hooks/pre-edit.md +0 -0
  139. package/.claude/commands/hooks/pre-task.md +0 -0
  140. package/.claude/commands/hooks/session-end.md +0 -0
  141. package/.claude/commands/hooks/setup.md +0 -0
  142. package/.claude/commands/mastermind/_repeat.md +0 -0
  143. package/.claude/commands/mastermind/_taskfile.md +0 -0
  144. package/.claude/commands/mastermind/adr.md +0 -0
  145. package/.claude/commands/mastermind/approvev1.md +0 -0
  146. package/.claude/commands/mastermind/architect.md +0 -0
  147. package/.claude/commands/mastermind/autodev.md +0 -0
  148. package/.claude/commands/mastermind/brain.md +0 -0
  149. package/.claude/commands/mastermind/budget.md +0 -0
  150. package/.claude/commands/mastermind/build.md +0 -0
  151. package/.claude/commands/mastermind/code-review.md +0 -0
  152. package/.claude/commands/mastermind/content.md +0 -0
  153. package/.claude/commands/mastermind/createorg.md +0 -0
  154. package/.claude/commands/mastermind/createtask.md +0 -0
  155. package/.claude/commands/mastermind/debug.md +0 -0
  156. package/.claude/commands/mastermind/design.md +0 -0
  157. package/.claude/commands/mastermind/do.md +0 -0
  158. package/.claude/commands/mastermind/execute.md +0 -0
  159. package/.claude/commands/mastermind/finance.md +0 -0
  160. package/.claude/commands/mastermind/finish.md +0 -0
  161. package/.claude/commands/mastermind/graph-status.md +0 -0
  162. package/.claude/commands/mastermind/help.md +0 -0
  163. package/.claude/commands/mastermind/idea.md +0 -0
  164. package/.claude/commands/mastermind/ideate.md +0 -0
  165. package/.claude/commands/mastermind/improve.md +0 -0
  166. package/.claude/commands/mastermind/loops.md +0 -0
  167. package/.claude/commands/mastermind/marketing.md +0 -0
  168. package/.claude/commands/mastermind/master.md +0 -0
  169. package/.claude/commands/mastermind/memory.md +0 -0
  170. package/.claude/commands/mastermind/okf-export.md +0 -0
  171. package/.claude/commands/mastermind/okf-import.md +0 -0
  172. package/.claude/commands/mastermind/ops.md +0 -0
  173. package/.claude/commands/mastermind/orgs.md +0 -0
  174. package/.claude/commands/mastermind/orgstatus.md +0 -0
  175. package/.claude/commands/mastermind/plan.md +0 -0
  176. package/.claude/commands/mastermind/receive-review.md +0 -0
  177. package/.claude/commands/mastermind/references/antigravity-tools.md +0 -0
  178. package/.claude/commands/mastermind/references/claude-code-tools.md +0 -0
  179. package/.claude/commands/mastermind/references/codex-tools.md +0 -0
  180. package/.claude/commands/mastermind/references/copilot-tools.md +0 -0
  181. package/.claude/commands/mastermind/references/gemini-tools.md +0 -0
  182. package/.claude/commands/mastermind/references/pi-tools.md +0 -0
  183. package/.claude/commands/mastermind/release.md +0 -0
  184. package/.claude/commands/mastermind/repeat.md +0 -0
  185. package/.claude/commands/mastermind/research.md +0 -0
  186. package/.claude/commands/mastermind/review.md +0 -0
  187. package/.claude/commands/mastermind/runorg.md +0 -0
  188. package/.claude/commands/mastermind/runorgv1.md +0 -0
  189. package/.claude/commands/mastermind/sales.md +0 -0
  190. package/.claude/commands/mastermind/skill-builder.md +0 -0
  191. package/.claude/commands/mastermind/specialagents.md +0 -0
  192. package/.claude/commands/mastermind/stoporg.md +0 -0
  193. package/.claude/commands/mastermind/swarm.md +0 -0
  194. package/.claude/commands/mastermind/taskdev.md +0 -0
  195. package/.claude/commands/mastermind/tdd.md +0 -0
  196. package/.claude/commands/mastermind/techport.md +0 -0
  197. package/.claude/commands/mastermind/topology.md +0 -0
  198. package/.claude/commands/mastermind/understand.md +0 -0
  199. package/.claude/commands/mastermind/verify.md +0 -0
  200. package/.claude/commands/mastermind/worktree.md +0 -0
  201. package/.claude/commands/mastermind.md +0 -0
  202. package/.claude/commands/memory/README.md +0 -0
  203. package/.claude/commands/memory/memory-search.md +0 -0
  204. package/.claude/commands/monitoring/README.md +0 -0
  205. package/.claude/commands/monitoring/agent-metrics.md +0 -0
  206. package/.claude/commands/monitoring/agents.md +0 -0
  207. package/.claude/commands/monitoring/status.md +0 -0
  208. package/.claude/commands/monobrowse.md +0 -0
  209. package/.claude/commands/monoes/README.md +0 -0
  210. package/.claude/commands/monoes/install.md +0 -0
  211. package/.claude/commands/monoes/monoagent.md +0 -0
  212. package/.claude/commands/monoes/monoclip.md +0 -0
  213. package/.claude/commands/monoes/monotask.md +0 -0
  214. package/.claude/commands/monograph/README.md +0 -0
  215. package/.claude/commands/monograph/monograph-build.md +0 -0
  216. package/.claude/commands/monograph/monograph-search.md +0 -0
  217. package/.claude/commands/monograph/monograph-stats.md +0 -0
  218. package/.claude/commands/monograph/monograph-watch.md +0 -0
  219. package/.claude/commands/monograph/monograph-wiki.md +0 -0
  220. package/.claude/commands/optimization/auto-topology.md +0 -0
  221. package/.claude/commands/optimization/performance-optimize.md +0 -0
  222. package/.claude/commands/pair/README.md +0 -0
  223. package/.claude/commands/pair/examples.md +0 -0
  224. package/.claude/commands/pair/modes.md +0 -0
  225. package/.claude/commands/pair/session.md +0 -0
  226. package/.claude/commands/stream-chain/pipeline.md +0 -0
  227. package/.claude/commands/stream-chain/run.md +0 -0
  228. package/.claude/commands/swarm/README.md +0 -0
  229. package/.claude/commands/swarm/analysis.md +0 -0
  230. package/.claude/commands/swarm/development.md +0 -0
  231. package/.claude/commands/swarm/examples.md +0 -0
  232. package/.claude/commands/swarm/maintenance.md +0 -0
  233. package/.claude/commands/swarm/optimization.md +0 -0
  234. package/.claude/commands/swarm/research.md +0 -0
  235. package/.claude/commands/swarm/swarm.md +0 -0
  236. package/.claude/commands/swarm/testing.md +0 -0
  237. package/.claude/commands/tokens.md +0 -0
  238. package/.claude/commands/truth/start.md +0 -0
  239. package/.claude/commands/ts.md +0 -0
  240. package/.claude/commands/workflows/README.md +0 -0
  241. package/.claude/commands/workflows/development.md +0 -0
  242. package/.claude/commands/workflows/research.md +0 -0
  243. package/.claude/commands/workflows/workflow-create.md +0 -0
  244. package/.claude/commands/workflows/workflow-execute.md +0 -0
  245. package/.claude/commands/workflows/workflow-export.md +0 -0
  246. package/.claude/helpers/control-start.cjs +0 -0
  247. package/.claude/helpers/control-stop.cjs +0 -0
  248. package/.claude/helpers/event-logger.cjs +0 -0
  249. package/.claude/helpers/extras-registry.json +0 -0
  250. package/.claude/helpers/graphify-freshen.cjs +0 -0
  251. package/.claude/helpers/handlers/adr-draft-handler.cjs +0 -0
  252. package/.claude/helpers/handlers/agent-start-handler.cjs +0 -0
  253. package/.claude/helpers/handlers/budget-status-handler.cjs +0 -0
  254. package/.claude/helpers/handlers/capture-handler.cjs +0 -0
  255. package/.claude/helpers/handlers/compact-handler.cjs +0 -0
  256. package/.claude/helpers/handlers/edit-handler.cjs +0 -0
  257. package/.claude/helpers/handlers/gates-handler.cjs +0 -0
  258. package/.claude/helpers/handlers/graph-status-handler.cjs +0 -0
  259. package/.claude/helpers/handlers/loops-status-handler.cjs +0 -0
  260. package/.claude/helpers/handlers/route-handler.cjs +0 -0
  261. package/.claude/helpers/handlers/session-handler.cjs +0 -0
  262. package/.claude/helpers/handlers/session-restore-handler.cjs +0 -0
  263. package/.claude/helpers/handlers/stats-handler.cjs +0 -0
  264. package/.claude/helpers/handlers/task-handler.cjs +0 -0
  265. package/.claude/helpers/intelligence.cjs +0 -0
  266. package/.claude/helpers/learning-service.mjs +0 -0
  267. package/.claude/helpers/loop-tracker.cjs +0 -0
  268. package/.claude/helpers/mastermind-activate.cjs +0 -0
  269. package/.claude/helpers/memory-palace.cjs +0 -0
  270. package/.claude/helpers/memory.cjs +0 -0
  271. package/.claude/helpers/metrics-db.mjs +0 -0
  272. package/.claude/helpers/monolean-activate.cjs +0 -0
  273. package/.claude/helpers/monolean-config.cjs +0 -0
  274. package/.claude/helpers/monolean-instructions.cjs +0 -0
  275. package/.claude/helpers/monolean-propagate.cjs +0 -0
  276. package/.claude/helpers/monolean-tracker.cjs +0 -0
  277. package/.claude/helpers/router.cjs +0 -0
  278. package/.claude/helpers/session.cjs +0 -0
  279. package/.claude/helpers/skill-registry.json +0 -0
  280. package/.claude/helpers/statusline.cjs +0 -0
  281. package/.claude/helpers/toggle-statusline.cjs +0 -0
  282. package/.claude/helpers/token-tracker.cjs +0 -0
  283. package/.claude/helpers/utils/agent-registrations.cjs +0 -0
  284. package/.claude/helpers/utils/fs-helpers.cjs +0 -0
  285. package/.claude/helpers/utils/micro-agents.cjs +0 -0
  286. package/.claude/helpers/utils/monograph.cjs +0 -0
  287. package/.claude/helpers/utils/system-pressure.cjs +0 -0
  288. package/.claude/helpers/utils/telemetry.cjs +0 -0
  289. package/.claude/settings.json +0 -0
  290. package/.claude/skills/agent-browser-testing/SKILL.md +0 -0
  291. package/.claude/skills/agentic-jujutsu/SKILL.md +0 -0
  292. package/.claude/skills/github-issue-triage/SKILL.md +0 -0
  293. package/.claude/skills/github-repo-recap/SKILL.md +0 -0
  294. package/.claude/skills/hive-mind-advanced/SKILL.md +0 -0
  295. package/.claude/skills/hooks-automation/SKILL.md +0 -0
  296. package/.claude/skills/mastermind-access/SKILL.md +0 -0
  297. package/.claude/skills/mastermind-activity/SKILL.md +0 -0
  298. package/.claude/skills/mastermind-adapter-manager/SKILL.md +0 -0
  299. package/.claude/skills/mastermind-adapters/SKILL.md +0 -0
  300. package/.claude/skills/mastermind-agent-detail/SKILL.md +0 -0
  301. package/.claude/skills/mastermind-agent-select/SKILL.md +0 -0
  302. package/.claude/skills/mastermind-agents/SKILL.md +0 -0
  303. package/.claude/skills/mastermind-approval-detail/SKILL.md +0 -0
  304. package/.claude/skills/mastermind-approvev1/SKILL.md +0 -0
  305. package/.claude/skills/mastermind-architect/SKILL.md +0 -0
  306. package/.claude/skills/mastermind-autodev/SKILL.md +0 -0
  307. package/.claude/skills/mastermind-backup/SKILL.md +0 -0
  308. package/.claude/skills/mastermind-bootstrap/SKILL.md +0 -0
  309. package/.claude/skills/mastermind-budgets/SKILL.md +0 -0
  310. package/.claude/skills/mastermind-build/SKILL.md +0 -0
  311. package/.claude/skills/mastermind-companies/SKILL.md +0 -0
  312. package/.claude/skills/mastermind-content/SKILL.md +0 -0
  313. package/.claude/skills/mastermind-costs/SKILL.md +0 -0
  314. package/.claude/skills/mastermind-createorg/SKILL.md +0 -0
  315. package/.claude/skills/mastermind-debug/SKILL.md +0 -0
  316. package/.claude/skills/mastermind-delegation/SKILL.md +0 -0
  317. package/.claude/skills/mastermind-design/SKILL.md +0 -0
  318. package/.claude/skills/mastermind-diagnose/SKILL.md +0 -0
  319. package/.claude/skills/mastermind-env/SKILL.md +0 -0
  320. package/.claude/skills/mastermind-environments/SKILL.md +0 -0
  321. package/.claude/skills/mastermind-execute/SKILL.md +0 -0
  322. package/.claude/skills/mastermind-export/SKILL.md +0 -0
  323. package/.claude/skills/mastermind-finance/SKILL.md +0 -0
  324. package/.claude/skills/mastermind-finish/SKILL.md +0 -0
  325. package/.claude/skills/mastermind-goal-detail/SKILL.md +0 -0
  326. package/.claude/skills/mastermind-goals/SKILL.md +0 -0
  327. package/.claude/skills/mastermind-heartbeatv1/SKILL.md +0 -0
  328. package/.claude/skills/mastermind-idea/SKILL.md +0 -0
  329. package/.claude/skills/mastermind-import/SKILL.md +0 -0
  330. package/.claude/skills/mastermind-inbox/SKILL.md +0 -0
  331. package/.claude/skills/mastermind-instance/SKILL.md +0 -0
  332. package/.claude/skills/mastermind-instance-settings/SKILL.md +0 -0
  333. package/.claude/skills/mastermind-intake/SKILL.md +0 -0
  334. package/.claude/skills/mastermind-invite-landing/SKILL.md +0 -0
  335. package/.claude/skills/mastermind-invites/SKILL.md +0 -0
  336. package/.claude/skills/mastermind-issue-detail/SKILL.md +0 -0
  337. package/.claude/skills/mastermind-issues/SKILL.md +0 -0
  338. package/.claude/skills/mastermind-join-queue/SKILL.md +0 -0
  339. package/.claude/skills/mastermind-liveness/SKILL.md +0 -0
  340. package/.claude/skills/mastermind-marketing/SKILL.md +0 -0
  341. package/.claude/skills/mastermind-marketing/references/copywriting-frameworks.md +0 -0
  342. package/.claude/skills/mastermind-marketing/references/persuasion-psychology.md +0 -0
  343. package/.claude/skills/mastermind-memory/SKILL.md +0 -0
  344. package/.claude/skills/mastermind-monitor/SKILL.md +0 -0
  345. package/.claude/skills/mastermind-monotask/SKILL.md +0 -0
  346. package/.claude/skills/mastermind-my-issues/SKILL.md +0 -0
  347. package/.claude/skills/mastermind-new-agent/SKILL.md +0 -0
  348. package/.claude/skills/mastermind-ops/SKILL.md +0 -0
  349. package/.claude/skills/mastermind-org-chart/SKILL.md +0 -0
  350. package/.claude/skills/mastermind-org-settings/SKILL.md +0 -0
  351. package/.claude/skills/mastermind-orgs/SKILL.md +0 -0
  352. package/.claude/skills/mastermind-orgstatus/SKILL.md +0 -0
  353. package/.claude/skills/mastermind-plan/SKILL.md +0 -0
  354. package/.claude/skills/mastermind-plan-to-tasks/SKILL.md +0 -0
  355. package/.claude/skills/mastermind-plugin-manager/SKILL.md +0 -0
  356. package/.claude/skills/mastermind-plugin-settings/SKILL.md +0 -0
  357. package/.claude/skills/mastermind-plugins/SKILL.md +0 -0
  358. package/.claude/skills/mastermind-profile/SKILL.md +0 -0
  359. package/.claude/skills/mastermind-project-detail/SKILL.md +0 -0
  360. package/.claude/skills/mastermind-project-workspace/SKILL.md +0 -0
  361. package/.claude/skills/mastermind-projects/SKILL.md +0 -0
  362. package/.claude/skills/mastermind-protocol/SKILL.md +0 -0
  363. package/.claude/skills/mastermind-receive-review/SKILL.md +0 -0
  364. package/.claude/skills/mastermind-release/SKILL.md +0 -0
  365. package/.claude/skills/mastermind-repeat/SKILL.md +0 -0
  366. package/.claude/skills/mastermind-research/SKILL.md +0 -0
  367. package/.claude/skills/mastermind-review/SKILL.md +0 -0
  368. package/.claude/skills/mastermind-routine-detail/SKILL.md +0 -0
  369. package/.claude/skills/mastermind-routines/SKILL.md +0 -0
  370. package/.claude/skills/mastermind-runorg/SKILL.md +0 -0
  371. package/.claude/skills/mastermind-runorgv1/SKILL.md +0 -0
  372. package/.claude/skills/mastermind-sales/SKILL.md +0 -0
  373. package/.claude/skills/mastermind-search/SKILL.md +0 -0
  374. package/.claude/skills/mastermind-secrets/SKILL.md +0 -0
  375. package/.claude/skills/mastermind-skill-builder/SKILL.md +0 -0
  376. package/.claude/skills/mastermind-skills/SKILL.md +0 -0
  377. package/.claude/skills/mastermind-stoporg/SKILL.md +0 -0
  378. package/.claude/skills/mastermind-taskdev/SKILL.md +0 -0
  379. package/.claude/skills/mastermind-taskdev/code-quality-reviewer-prompt.md +0 -0
  380. package/.claude/skills/mastermind-taskdev/final-reviewer-prompt.md +0 -0
  381. package/.claude/skills/mastermind-taskdev/implementer-prompt.md +0 -0
  382. package/.claude/skills/mastermind-taskdev/spec-reviewer-prompt.md +0 -0
  383. package/.claude/skills/mastermind-tasks/SKILL.md +0 -0
  384. package/.claude/skills/mastermind-tdd/SKILL.md +0 -0
  385. package/.claude/skills/mastermind-techport/SKILL.md +0 -0
  386. package/.claude/skills/mastermind-threads/SKILL.md +0 -0
  387. package/.claude/skills/mastermind-tree-control/SKILL.md +0 -0
  388. package/.claude/skills/mastermind-verify/SKILL.md +0 -0
  389. package/.claude/skills/mastermind-wiki/SKILL.md +0 -0
  390. package/.claude/skills/mastermind-workspace-detail/SKILL.md +0 -0
  391. package/.claude/skills/mastermind-workspaces/SKILL.md +0 -0
  392. package/.claude/skills/mastermind-worktree/SKILL.md +0 -0
  393. package/.claude/skills/monodesign/SKILL.md +0 -0
  394. package/.claude/skills/monodesign/adapt.md +0 -0
  395. package/.claude/skills/monodesign/agents/monodesign-asset-producer.md +0 -0
  396. package/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +0 -0
  397. package/.claude/skills/monodesign/animate.md +0 -0
  398. package/.claude/skills/monodesign/audit.md +0 -0
  399. package/.claude/skills/monodesign/bolder.md +0 -0
  400. package/.claude/skills/monodesign/clarify.md +0 -0
  401. package/.claude/skills/monodesign/colorize.md +0 -0
  402. package/.claude/skills/monodesign/craft.md +0 -0
  403. package/.claude/skills/monodesign/critique.md +0 -0
  404. package/.claude/skills/monodesign/delight.md +0 -0
  405. package/.claude/skills/monodesign/distill.md +0 -0
  406. package/.claude/skills/monodesign/document.md +0 -0
  407. package/.claude/skills/monodesign/extract.md +0 -0
  408. package/.claude/skills/monodesign/harden.md +0 -0
  409. package/.claude/skills/monodesign/init.md +0 -0
  410. package/.claude/skills/monodesign/layout.md +0 -0
  411. package/.claude/skills/monodesign/live.md +0 -0
  412. package/.claude/skills/monodesign/onboard.md +0 -0
  413. package/.claude/skills/monodesign/optimize.md +0 -0
  414. package/.claude/skills/monodesign/overdrive.md +0 -0
  415. package/.claude/skills/monodesign/polish.md +0 -0
  416. package/.claude/skills/monodesign/quieter.md +0 -0
  417. package/.claude/skills/monodesign/reference/adapt.md +0 -0
  418. package/.claude/skills/monodesign/reference/adapt.native.md +0 -0
  419. package/.claude/skills/monodesign/reference/android.md +0 -0
  420. package/.claude/skills/monodesign/reference/animate.md +0 -0
  421. package/.claude/skills/monodesign/reference/antipatterns-catalog.md +0 -0
  422. package/.claude/skills/monodesign/reference/audit.md +0 -0
  423. package/.claude/skills/monodesign/reference/audit.native.md +0 -0
  424. package/.claude/skills/monodesign/reference/bolder.md +0 -0
  425. package/.claude/skills/monodesign/reference/brand-workflow.md +0 -0
  426. package/.claude/skills/monodesign/reference/brand.md +0 -0
  427. package/.claude/skills/monodesign/reference/clarify.md +0 -0
  428. package/.claude/skills/monodesign/reference/codex.md +0 -0
  429. package/.claude/skills/monodesign/reference/cognitive-load.md +0 -0
  430. package/.claude/skills/monodesign/reference/color-and-contrast.md +0 -0
  431. package/.claude/skills/monodesign/reference/colorize.md +0 -0
  432. package/.claude/skills/monodesign/reference/component-specs.md +0 -0
  433. package/.claude/skills/monodesign/reference/component-states.md +0 -0
  434. package/.claude/skills/monodesign/reference/component-system.md +0 -0
  435. package/.claude/skills/monodesign/reference/copy-formulas.md +0 -0
  436. package/.claude/skills/monodesign/reference/craft.md +0 -0
  437. package/.claude/skills/monodesign/reference/critique.md +0 -0
  438. package/.claude/skills/monodesign/reference/delight.md +0 -0
  439. package/.claude/skills/monodesign/reference/design-principles.md +0 -0
  440. package/.claude/skills/monodesign/reference/distill.md +0 -0
  441. package/.claude/skills/monodesign/reference/document.md +0 -0
  442. package/.claude/skills/monodesign/reference/extract.md +0 -0
  443. package/.claude/skills/monodesign/reference/harden.md +0 -0
  444. package/.claude/skills/monodesign/reference/heuristics-scoring.md +0 -0
  445. package/.claude/skills/monodesign/reference/hooks.md +0 -0
  446. package/.claude/skills/monodesign/reference/image-prompts.md +0 -0
  447. package/.claude/skills/monodesign/reference/init.md +0 -0
  448. package/.claude/skills/monodesign/reference/interaction-design.md +0 -0
  449. package/.claude/skills/monodesign/reference/ios.md +0 -0
  450. package/.claude/skills/monodesign/reference/layout.md +0 -0
  451. package/.claude/skills/monodesign/reference/live.md +0 -0
  452. package/.claude/skills/monodesign/reference/motion-design.md +0 -0
  453. package/.claude/skills/monodesign/reference/onboard.md +0 -0
  454. package/.claude/skills/monodesign/reference/optimize.md +0 -0
  455. package/.claude/skills/monodesign/reference/overdrive.md +0 -0
  456. package/.claude/skills/monodesign/reference/personas.md +0 -0
  457. package/.claude/skills/monodesign/reference/polish.md +0 -0
  458. package/.claude/skills/monodesign/reference/pre-delivery-checklist.md +0 -0
  459. package/.claude/skills/monodesign/reference/product.md +0 -0
  460. package/.claude/skills/monodesign/reference/quieter.md +0 -0
  461. package/.claude/skills/monodesign/reference/responsive-design.md +0 -0
  462. package/.claude/skills/monodesign/reference/shape.md +0 -0
  463. package/.claude/skills/monodesign/reference/spatial-design.md +0 -0
  464. package/.claude/skills/monodesign/reference/teach.md +0 -0
  465. package/.claude/skills/monodesign/reference/token-architecture.md +0 -0
  466. package/.claude/skills/monodesign/reference/typeset.md +0 -0
  467. package/.claude/skills/monodesign/reference/typography.md +0 -0
  468. package/.claude/skills/monodesign/reference/ux-research.md +0 -0
  469. package/.claude/skills/monodesign/reference/ux-rules.md +0 -0
  470. package/.claude/skills/monodesign/reference/ux-writing.md +0 -0
  471. package/.claude/skills/monodesign/scripts/command-metadata.json +0 -0
  472. package/.claude/skills/monodesign/scripts/context-signals.mjs +0 -0
  473. package/.claude/skills/monodesign/scripts/context.mjs +0 -0
  474. package/.claude/skills/monodesign/scripts/critique-storage.mjs +0 -0
  475. package/.claude/skills/monodesign/scripts/detect-csp.mjs +0 -0
  476. package/.claude/skills/monodesign/scripts/detect.mjs +0 -0
  477. package/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +0 -0
  478. package/.claude/skills/monodesign/scripts/detector/cli/main.mjs +0 -0
  479. package/.claude/skills/monodesign/scripts/detector/design-system.mjs +0 -0
  480. package/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +0 -0
  481. package/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +0 -0
  482. package/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +0 -0
  483. package/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +0 -0
  484. package/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +0 -0
  485. package/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +0 -0
  486. package/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +0 -0
  487. package/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +0 -0
  488. package/.claude/skills/monodesign/scripts/detector/findings.mjs +0 -0
  489. package/.claude/skills/monodesign/scripts/detector/fix/css-regions.mjs +0 -0
  490. package/.claude/skills/monodesign/scripts/detector/fix/fixers.mjs +0 -0
  491. package/.claude/skills/monodesign/scripts/detector/fix/index.mjs +0 -0
  492. package/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +0 -0
  493. package/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +0 -0
  494. package/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +0 -0
  495. package/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +0 -0
  496. package/.claude/skills/monodesign/scripts/detector/shared/color.mjs +0 -0
  497. package/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +0 -0
  498. package/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +0 -0
  499. package/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +0 -0
  500. package/.claude/skills/monodesign/scripts/detector/shared/page.mjs +0 -0
  501. package/.claude/skills/monodesign/scripts/hook-admin.mjs +0 -0
  502. package/.claude/skills/monodesign/scripts/hook-before-edit.mjs +0 -0
  503. package/.claude/skills/monodesign/scripts/hook-lib.mjs +0 -0
  504. package/.claude/skills/monodesign/scripts/hook.mjs +0 -0
  505. package/.claude/skills/monodesign/scripts/lib/design-parser.mjs +0 -0
  506. package/.claude/skills/monodesign/scripts/lib/is-generated.mjs +0 -0
  507. package/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +0 -0
  508. package/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +0 -0
  509. package/.claude/skills/monodesign/scripts/lib/provider.mjs +0 -0
  510. package/.claude/skills/monodesign/scripts/lib/target-args.mjs +0 -0
  511. package/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +0 -0
  512. package/.claude/skills/monodesign/scripts/live/completion.mjs +0 -0
  513. package/.claude/skills/monodesign/scripts/live/event-validation.mjs +0 -0
  514. package/.claude/skills/monodesign/scripts/live/insert-ui.mjs +0 -0
  515. package/.claude/skills/monodesign/scripts/live/manual-apply.mjs +0 -0
  516. package/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +0 -0
  517. package/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +0 -0
  518. package/.claude/skills/monodesign/scripts/live/session-store.mjs +0 -0
  519. package/.claude/skills/monodesign/scripts/live/svelte-component.mjs +0 -0
  520. package/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +0 -0
  521. package/.claude/skills/monodesign/scripts/live/ui-core.mjs +0 -0
  522. package/.claude/skills/monodesign/scripts/live/vocabulary.mjs +0 -0
  523. package/.claude/skills/monodesign/scripts/live-accept.mjs +0 -0
  524. package/.claude/skills/monodesign/scripts/live-browser-dom.js +0 -0
  525. package/.claude/skills/monodesign/scripts/live-browser-session.js +0 -0
  526. package/.claude/skills/monodesign/scripts/live-browser.js +0 -0
  527. package/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +0 -0
  528. package/.claude/skills/monodesign/scripts/live-complete.mjs +0 -0
  529. package/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +0 -0
  530. package/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +0 -0
  531. package/.claude/skills/monodesign/scripts/live-inject.mjs +0 -0
  532. package/.claude/skills/monodesign/scripts/live-insert.mjs +0 -0
  533. package/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +0 -0
  534. package/.claude/skills/monodesign/scripts/live-poll.mjs +0 -0
  535. package/.claude/skills/monodesign/scripts/live-resume.mjs +0 -0
  536. package/.claude/skills/monodesign/scripts/live-server.mjs +0 -0
  537. package/.claude/skills/monodesign/scripts/live-status.mjs +0 -0
  538. package/.claude/skills/monodesign/scripts/live-target.mjs +0 -0
  539. package/.claude/skills/monodesign/scripts/live-wrap.mjs +0 -0
  540. package/.claude/skills/monodesign/scripts/live.mjs +0 -0
  541. package/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +0 -0
  542. package/.claude/skills/monodesign/scripts/palette.mjs +0 -0
  543. package/.claude/skills/monodesign/scripts/pin.mjs +0 -0
  544. package/.claude/skills/monodesign/shape.md +0 -0
  545. package/.claude/skills/monodesign/teach.md +0 -0
  546. package/.claude/skills/monodesign/typeset.md +0 -0
  547. package/.claude/skills/monolean/SKILL.md +0 -0
  548. package/.claude/skills/monolean-audit/SKILL.md +0 -0
  549. package/.claude/skills/monolean-debt/SKILL.md +0 -0
  550. package/.claude/skills/monolean-help/SKILL.md +0 -0
  551. package/.claude/skills/monolean-review/SKILL.md +0 -0
  552. package/.claude/skills/monomind/browse-agentcore.md +0 -0
  553. package/.claude/skills/monomind/browse-electron.md +0 -0
  554. package/.claude/skills/monomind/browse-qa.md +0 -0
  555. package/.claude/skills/monomind/browse-references/authentication.md +0 -0
  556. package/.claude/skills/monomind/browse-references/trust-boundaries.md +0 -0
  557. package/.claude/skills/monomind/browse-references/video-recording.md +0 -0
  558. package/.claude/skills/monomind/browse-slack.md +0 -0
  559. package/.claude/skills/monomind/browse-vercel.md +0 -0
  560. package/.claude/skills/monomind/browse.md +0 -0
  561. package/.claude/skills/monomotion/SKILL.md +0 -0
  562. package/.claude/skills/monomotion/rules/api-control.md +0 -0
  563. package/.claude/skills/monomotion/rules/effects.md +0 -0
  564. package/.claude/skills/monomotion/rules/integration.md +0 -0
  565. package/.claude/skills/monomotion/rules/scroll.md +0 -0
  566. package/.claude/skills/monomotion/rules/sequencing.md +0 -0
  567. package/.claude/skills/monomotion/rules/svg.md +0 -0
  568. package/.claude/skills/monomotion/rules/text.md +0 -0
  569. package/.claude/skills/pair-programming/SKILL.md +0 -0
  570. package/.claude/skills/performance-analysis/SKILL.md +0 -0
  571. package/.claude/skills/skill-builder/SKILL.md +0 -0
  572. package/.claude/skills/specialagent/SKILL.md +0 -0
  573. package/.claude/skills/stop-slop/SKILL.md +0 -0
  574. package/.claude/skills/stop-slop/references/examples.md +0 -0
  575. package/.claude/skills/stop-slop/references/phrases.md +0 -0
  576. package/.claude/skills/stop-slop/references/structures.md +0 -0
  577. package/.claude/skills/swarm-advanced/SKILL.md +0 -0
  578. package/.claude/skills/swarm-orchestration/SKILL.md +0 -0
  579. package/.claude/skills/verification-quality/SKILL.md +0 -0
  580. package/README.md +0 -0
  581. package/bin/cli.js +17 -1
  582. package/bin/preinstall.cjs +0 -0
  583. package/dist/src/commands/doctor-project-checks.d.ts +3 -0
  584. package/dist/src/commands/doctor-project-checks.d.ts.map +1 -1
  585. package/dist/src/commands/doctor-project-checks.js +81 -8
  586. package/dist/src/commands/doctor-project-checks.js.map +1 -1
  587. package/dist/src/commands/doctor.d.ts.map +1 -1
  588. package/dist/src/commands/doctor.js +16 -2
  589. package/dist/src/commands/doctor.js.map +1 -1
  590. package/dist/src/commands/memory-crud.d.ts.map +1 -1
  591. package/dist/src/commands/memory-crud.js +15 -5
  592. package/dist/src/commands/memory-crud.js.map +1 -1
  593. package/dist/src/commands/security-misc.d.ts.map +1 -1
  594. package/dist/src/commands/security-misc.js +7 -2
  595. package/dist/src/commands/security-misc.js.map +1 -1
  596. package/dist/src/init/helpers-generator.d.ts.map +1 -1
  597. package/dist/src/init/helpers-generator.js +5 -0
  598. package/dist/src/init/helpers-generator.js.map +1 -1
  599. package/dist/src/mcp-client.d.ts.map +1 -1
  600. package/dist/src/mcp-client.js +0 -2
  601. package/dist/src/mcp-client.js.map +1 -1
  602. package/dist/src/mcp-tools/agent-tools.js +1 -1
  603. package/dist/src/mcp-tools/agent-tools.js.map +1 -1
  604. package/dist/src/mcp-tools/embeddings-tools.d.ts +2 -0
  605. package/dist/src/mcp-tools/embeddings-tools.d.ts.map +1 -1
  606. package/dist/src/mcp-tools/embeddings-tools.js +11 -1
  607. package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
  608. package/dist/src/mcp-tools/guidance-tools.js +17 -17
  609. package/dist/src/mcp-tools/guidance-tools.js.map +1 -1
  610. package/dist/src/mcp-tools/hive-mind-tools.d.ts +2 -0
  611. package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
  612. package/dist/src/mcp-tools/hive-mind-tools.js +14 -2
  613. package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
  614. package/dist/src/mcp-tools/index.d.ts +0 -1
  615. package/dist/src/mcp-tools/index.d.ts.map +1 -1
  616. package/dist/src/mcp-tools/index.js +0 -1
  617. package/dist/src/mcp-tools/index.js.map +1 -1
  618. package/dist/src/mcp-tools/monograph-tools.d.ts.map +1 -1
  619. package/dist/src/mcp-tools/monograph-tools.js +1 -2
  620. package/dist/src/mcp-tools/monograph-tools.js.map +1 -1
  621. package/dist/src/mcp-tools/neural-tools.js +1 -1
  622. package/dist/src/mcp-tools/neural-tools.js.map +1 -1
  623. package/dist/src/mcp-tools/swarm-tools.js +2 -2
  624. package/dist/src/mcp-tools/swarm-tools.js.map +1 -1
  625. package/dist/src/mcp-tools/transfer-tools.d.ts +2 -0
  626. package/dist/src/mcp-tools/transfer-tools.d.ts.map +1 -1
  627. package/dist/src/mcp-tools/transfer-tools.js +11 -1
  628. package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
  629. package/dist/src/ui/dashboard.html +48 -133
  630. package/dist/src/utils/cosine-similarity.d.ts +2 -2
  631. package/dist/src/utils/cosine-similarity.js +2 -2
  632. package/dist/tsconfig.tsbuildinfo +1 -1
  633. package/package.json +1 -1
  634. package/scripts/deploy-ipfs-node.sh +0 -0
  635. package/scripts/setup-ipfs-registry.md +0 -0
  636. package/scripts/understand-analyze.mjs +0 -0
  637. package/.claude/skills/github-toolkit/SKILL.md +0 -60
  638. package/.claude/skills/memory-toolkit/SKILL.md +0 -75
  639. package/dist/src/mcp-tools/coherence/causal-infer.d.ts +0 -15
  640. package/dist/src/mcp-tools/coherence/causal-infer.d.ts.map +0 -1
  641. package/dist/src/mcp-tools/coherence/causal-infer.js +0 -333
  642. package/dist/src/mcp-tools/coherence/causal-infer.js.map +0 -1
  643. package/dist/src/mcp-tools/coherence/coherence-check.d.ts +0 -15
  644. package/dist/src/mcp-tools/coherence/coherence-check.d.ts.map +0 -1
  645. package/dist/src/mcp-tools/coherence/coherence-check.js +0 -188
  646. package/dist/src/mcp-tools/coherence/coherence-check.js.map +0 -1
  647. package/dist/src/mcp-tools/coherence/consensus-verify.d.ts +0 -14
  648. package/dist/src/mcp-tools/coherence/consensus-verify.d.ts.map +0 -1
  649. package/dist/src/mcp-tools/coherence/consensus-verify.js +0 -305
  650. package/dist/src/mcp-tools/coherence/consensus-verify.js.map +0 -1
  651. package/dist/src/mcp-tools/coherence/memory-gate.d.ts +0 -16
  652. package/dist/src/mcp-tools/coherence/memory-gate.d.ts.map +0 -1
  653. package/dist/src/mcp-tools/coherence/memory-gate.js +0 -279
  654. package/dist/src/mcp-tools/coherence/memory-gate.js.map +0 -1
  655. package/dist/src/mcp-tools/coherence/quantum-topology.d.ts +0 -15
  656. package/dist/src/mcp-tools/coherence/quantum-topology.d.ts.map +0 -1
  657. package/dist/src/mcp-tools/coherence/quantum-topology.js +0 -400
  658. package/dist/src/mcp-tools/coherence/quantum-topology.js.map +0 -1
  659. package/dist/src/mcp-tools/coherence/spectral-analyze.d.ts +0 -14
  660. package/dist/src/mcp-tools/coherence/spectral-analyze.d.ts.map +0 -1
  661. package/dist/src/mcp-tools/coherence/spectral-analyze.js +0 -312
  662. package/dist/src/mcp-tools/coherence/spectral-analyze.js.map +0 -1
  663. package/dist/src/mcp-tools/coherence/types.d.ts +0 -430
  664. package/dist/src/mcp-tools/coherence/types.d.ts.map +0 -1
  665. package/dist/src/mcp-tools/coherence/types.js +0 -144
  666. package/dist/src/mcp-tools/coherence/types.js.map +0 -1
  667. package/dist/src/mcp-tools/coherence-tools.d.ts +0 -9
  668. package/dist/src/mcp-tools/coherence-tools.d.ts.map +0 -1
  669. package/dist/src/mcp-tools/coherence-tools.js +0 -25
  670. package/dist/src/mcp-tools/coherence-tools.js.map +0 -1
  671. package/dist/src/mcp-tools/daa-tools.d.ts +0 -13
  672. package/dist/src/mcp-tools/daa-tools.d.ts.map +0 -1
  673. package/dist/src/mcp-tools/daa-tools.js +0 -553
  674. package/dist/src/mcp-tools/daa-tools.js.map +0 -1
@@ -1,312 +0,0 @@
1
- /**
2
- * Spectral Analysis Tool - pr_spectral_analyze
3
- *
4
- * Analyzes stability of systems using spectral graph theory.
5
- * Computes eigenvalues via power iteration with Hotelling deflation,
6
- * spectral gap, and stability metrics from the graph Laplacian.
7
- */
8
- import { SpectralInputSchema, successResult, errorResult, } from './types.js';
9
- // Default logger
10
- const defaultLogger = {
11
- debug: (msg, meta) => console.debug(`[pr_spectral_analyze] ${msg}`, meta),
12
- info: (msg, meta) => console.info(`[pr_spectral_analyze] ${msg}`, meta),
13
- warn: (msg, meta) => console.warn(`[pr_spectral_analyze] ${msg}`, meta),
14
- error: (msg, meta) => console.error(`[pr_spectral_analyze] ${msg}`, meta),
15
- };
16
- /**
17
- * Simple deterministic hash to seed initial vectors reproducibly from matrix content
18
- */
19
- function matrixHash(matrix) {
20
- let hash = 0;
21
- for (let i = 0; i < matrix.length; i++) {
22
- for (let j = 0; j < matrix[i].length; j++) {
23
- // Combine with a simple LCG-style mixing
24
- hash = ((hash * 1103515245 + 12345) & 0x7fffffff) ^ (matrix[i][j] * 1000003 | 0);
25
- }
26
- }
27
- return hash;
28
- }
29
- /**
30
- * Power iteration method for finding dominant eigenvalue.
31
- * Returns both the eigenvalue and the converged eigenvector.
32
- */
33
- function powerIteration(matrix, maxIterations = 100, tolerance = 1e-10, seed) {
34
- const n = matrix.length;
35
- if (n === 0)
36
- return { eigenvalue: 0, eigenvector: [] };
37
- // Initialize with deterministic vector seeded from matrix content
38
- let s = seed ?? matrixHash(matrix);
39
- let v = new Array(n).fill(0).map(() => {
40
- s = (s * 1103515245 + 12345) & 0x7fffffff;
41
- return (s / 0x7fffffff) * 2 - 1;
42
- });
43
- let eigenvalue = 0;
44
- for (let iter = 0; iter < maxIterations; iter++) {
45
- // Multiply matrix by vector
46
- const w = new Array(n).fill(0);
47
- for (let i = 0; i < n; i++) {
48
- for (let j = 0; j < n; j++) {
49
- w[i] += matrix[i][j] * v[j];
50
- }
51
- }
52
- // Find max component for normalization
53
- let maxComponent = 0;
54
- for (let i = 0; i < n; i++) {
55
- if (Math.abs(w[i]) > Math.abs(maxComponent)) {
56
- maxComponent = w[i];
57
- }
58
- }
59
- if (Math.abs(maxComponent) < tolerance)
60
- break;
61
- // Check convergence
62
- const newEigenvalue = maxComponent;
63
- if (Math.abs(newEigenvalue - eigenvalue) < tolerance) {
64
- return { eigenvalue: newEigenvalue, eigenvector: v };
65
- }
66
- eigenvalue = newEigenvalue;
67
- // Normalize
68
- for (let i = 0; i < n; i++) {
69
- v[i] = w[i] / maxComponent;
70
- }
71
- }
72
- return { eigenvalue, eigenvector: v };
73
- }
74
- /**
75
- * Compute eigenvalues via repeated power-iteration with Hotelling deflation.
76
- * Returns only eigenvalues actually computed (up to min(n, maxCount)).
77
- * For production, consider using a proper numerical library.
78
- */
79
- function computeEigenvalues(matrix, maxCount = 10) {
80
- const n = matrix.length;
81
- if (n === 0)
82
- return [];
83
- if (n === 1)
84
- return [matrix[0][0]];
85
- const eigenvalues = [];
86
- // Work on a copy so deflation doesn't mutate the original
87
- let current = matrix.map(row => [...row]);
88
- const count = Math.min(n, maxCount);
89
- for (let k = 0; k < count; k++) {
90
- const { eigenvalue, eigenvector } = powerIteration(current, 200, 1e-10, matrixHash(current) + k);
91
- // If power iteration didn't converge to anything meaningful, stop
92
- if (Math.abs(eigenvalue) < 1e-12)
93
- break;
94
- eigenvalues.push(eigenvalue);
95
- // Hotelling deflation: subtract lambda * v * v^T from the matrix
96
- // to remove the dominant eigenvalue and find the next one
97
- let vNorm = 0;
98
- for (let i = 0; i < n; i++)
99
- vNorm += eigenvector[i] * eigenvector[i];
100
- if (vNorm < 1e-12)
101
- break;
102
- for (let i = 0; i < n; i++) {
103
- for (let j = 0; j < n; j++) {
104
- current[i][j] -= eigenvalue * (eigenvector[i] * eigenvector[j]) / vNorm;
105
- }
106
- }
107
- }
108
- return eigenvalues.sort((a, b) => Math.abs(b) - Math.abs(a));
109
- }
110
- /**
111
- * Compute the Laplacian matrix from adjacency matrix
112
- */
113
- function computeLaplacian(adjacency) {
114
- const n = adjacency.length;
115
- const laplacian = [];
116
- for (let i = 0; i < n; i++) {
117
- laplacian[i] = [];
118
- let degree = 0;
119
- for (let j = 0; j < n; j++) {
120
- degree += adjacency[i][j];
121
- }
122
- for (let j = 0; j < n; j++) {
123
- if (i === j) {
124
- laplacian[i][j] = degree;
125
- }
126
- else {
127
- laplacian[i][j] = -adjacency[i][j];
128
- }
129
- }
130
- }
131
- return laplacian;
132
- }
133
- /**
134
- * Compute spectral gap (difference between first and second eigenvalues)
135
- */
136
- function computeSpectralGap(eigenvalues) {
137
- if (eigenvalues.length < 2)
138
- return 0;
139
- // For Laplacian: spectral gap is lambda_2 (first non-zero eigenvalue)
140
- // Eigenvalues should be sorted by magnitude
141
- const sorted = [...eigenvalues].sort((a, b) => a - b);
142
- // Find first significantly non-zero eigenvalue
143
- for (let i = 0; i < sorted.length; i++) {
144
- if (Math.abs(sorted[i]) > 1e-10) {
145
- return sorted[i];
146
- }
147
- }
148
- return sorted.length > 1 ? Math.abs(sorted[1] - sorted[0]) : 0;
149
- }
150
- /**
151
- * Compute stability index based on eigenvalue distribution
152
- */
153
- function computeStabilityIndex(eigenvalues) {
154
- if (eigenvalues.length === 0)
155
- return 0;
156
- // Stability based on eigenvalue spread and negativity
157
- const maxEig = Math.max(...eigenvalues.map(Math.abs));
158
- if (maxEig === 0)
159
- return 1;
160
- // Count negative eigenvalues (indicate instability in dynamical systems)
161
- const negativeCount = eigenvalues.filter(e => e < -1e-10).length;
162
- const negativeRatio = negativeCount / eigenvalues.length;
163
- // Stability score: higher is more stable
164
- // Based on spectral gap and lack of negative eigenvalues
165
- const spectralGap = computeSpectralGap(eigenvalues);
166
- const normalizedGap = Math.min(spectralGap / maxEig, 1);
167
- return (1 - negativeRatio) * (0.5 + 0.5 * normalizedGap);
168
- }
169
- /**
170
- * Get interpretation of spectral analysis results
171
- */
172
- function getInterpretation(stable, spectralGap, stabilityIndex) {
173
- if (stable && stabilityIndex > 0.8) {
174
- return 'System is highly stable with strong connectivity';
175
- }
176
- if (stable && stabilityIndex > 0.5) {
177
- return 'System is stable with moderate connectivity';
178
- }
179
- if (stable) {
180
- return 'System is marginally stable - monitor for changes';
181
- }
182
- if (spectralGap < 0.01) {
183
- return 'System shows instability - agents may be forming isolated clusters';
184
- }
185
- if (stabilityIndex < 0.3) {
186
- return 'System is unstable - coordination patterns are fragmented';
187
- }
188
- return 'System shows instability patterns - recommend topology adjustment';
189
- }
190
- /**
191
- * Handler for pr_spectral_analyze tool
192
- */
193
- async function handler(input, context) {
194
- const logger = context?.logger ?? defaultLogger;
195
- const startTime = performance.now();
196
- try {
197
- // Validate input
198
- const validationResult = SpectralInputSchema.safeParse(input);
199
- if (!validationResult.success) {
200
- logger.error('Input validation failed', { error: validationResult.error.message });
201
- return errorResult(`Invalid input: ${validationResult.error.message}`);
202
- }
203
- const { matrix, analyzeType } = validationResult.data;
204
- const n = matrix.length;
205
- logger.debug('Processing spectral analysis', { matrixSize: n, analyzeType });
206
- // Validate square matrix
207
- for (let i = 0; i < n; i++) {
208
- if (matrix[i].length !== n) {
209
- return errorResult(`Matrix must be square. Row ${i} has ${matrix[i].length} elements, expected ${n}`);
210
- }
211
- }
212
- // Check max matrix size from config
213
- const maxSize = context?.config?.spectral?.maxMatrixSize ?? 1000;
214
- if (n > maxSize) {
215
- return errorResult(`Matrix size ${n} exceeds maximum allowed size ${maxSize}`);
216
- }
217
- let eigenvalues;
218
- let spectralGap;
219
- let stabilityIndex;
220
- // Try to use WASM bridge if available
221
- if (context?.bridge?.initialized) {
222
- try {
223
- logger.debug('Using WASM bridge for spectral analysis');
224
- const flatMatrix = new Float32Array(matrix.flat());
225
- const result = await context.bridge.analyzeSpectral(flatMatrix, n);
226
- eigenvalues = result.eigenvalues;
227
- spectralGap = result.spectralGap;
228
- stabilityIndex = result.stabilityIndex;
229
- }
230
- catch (wasmError) {
231
- logger.warn('WASM bridge failed, falling back to JS implementation', {
232
- error: wasmError instanceof Error ? wasmError.message : String(wasmError),
233
- });
234
- // Compute Laplacian for stability analysis
235
- const laplacian = computeLaplacian(matrix);
236
- eigenvalues = computeEigenvalues(laplacian);
237
- spectralGap = computeSpectralGap(eigenvalues);
238
- stabilityIndex = computeStabilityIndex(eigenvalues);
239
- }
240
- }
241
- else {
242
- // Pure JavaScript fallback
243
- logger.debug('Using JavaScript fallback for spectral analysis');
244
- const laplacian = computeLaplacian(matrix);
245
- eigenvalues = computeEigenvalues(laplacian);
246
- spectralGap = computeSpectralGap(eigenvalues);
247
- stabilityIndex = computeStabilityIndex(eigenvalues);
248
- }
249
- // Determine stability based on spectral gap threshold
250
- const stabilityThreshold = context?.config?.spectral?.stabilityThreshold ?? 0.1;
251
- const stable = spectralGap > stabilityThreshold && stabilityIndex > 0.5;
252
- const output = {
253
- spectralGap,
254
- eigenvalues: eigenvalues.slice(0, 10), // Return top 10 eigenvalues
255
- stable,
256
- details: {
257
- stabilityIndex,
258
- interpretation: getInterpretation(stable, spectralGap, stabilityIndex),
259
- matrixSize: n,
260
- analyzeType,
261
- },
262
- };
263
- const duration = performance.now() - startTime;
264
- logger.info('Spectral analysis completed', {
265
- stable,
266
- spectralGap: spectralGap.toFixed(4),
267
- stabilityIndex: stabilityIndex.toFixed(4),
268
- durationMs: duration.toFixed(2),
269
- });
270
- return successResult(output);
271
- }
272
- catch (error) {
273
- const duration = performance.now() - startTime;
274
- logger.error('Spectral analysis failed', {
275
- error: error instanceof Error ? error.message : String(error),
276
- durationMs: duration.toFixed(2),
277
- });
278
- return errorResult(error instanceof Error ? error : new Error(String(error)));
279
- }
280
- }
281
- /**
282
- * pr_spectral_analyze MCP Tool Definition
283
- */
284
- export const spectralAnalyzeTool = {
285
- name: 'pr_spectral_analyze',
286
- description: 'Analyze stability using spectral graph theory. Computes eigenvalues via power iteration with Hotelling deflation, spectral gap, and stability metrics from the graph Laplacian.',
287
- category: 'spectral',
288
- version: '0.1.3',
289
- tags: ['spectral', 'eigenvalues', 'stability', 'graph-theory', 'ai-interpretability'],
290
- cacheable: true,
291
- cacheTTL: 60000,
292
- inputSchema: {
293
- type: 'object',
294
- properties: {
295
- matrix: {
296
- type: 'array',
297
- items: { type: 'array', items: { type: 'number' } },
298
- description: 'Adjacency matrix representing connections (must be square)',
299
- },
300
- analyzeType: {
301
- type: 'string',
302
- enum: ['stability', 'clustering', 'connectivity'],
303
- default: 'stability',
304
- description: 'Type of analysis to perform',
305
- },
306
- },
307
- required: ['matrix'],
308
- },
309
- handler,
310
- };
311
- export default spectralAnalyzeTool;
312
- //# sourceMappingURL=spectral-analyze.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spectral-analyze.js","sourceRoot":"","sources":["../../../../src/mcp-tools/coherence/spectral-analyze.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,EACL,mBAAmB,EACnB,aAAa,EACb,WAAW,GACZ,MAAM,YAAY,CAAC;AAEpB,iBAAiB;AACjB,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;IAC3G,IAAI,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;IACzG,IAAI,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;IACzG,KAAK,EAAE,CAAC,GAAW,EAAE,IAA8B,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,yBAAyB,GAAG,EAAE,EAAE,IAAI,CAAC;CAC5G,CAAC;AAEF;;GAEG;AACH,SAAS,UAAU,CAAC,MAAkB;IACpC,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAC1C,yCAAyC;YACzC,IAAI,GAAG,CAAC,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