monomind 1.11.8 → 1.11.10

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 (379) hide show
  1. package/.claude/agents/github/issue-tracker.md +5 -5
  2. package/.claude/agents/github/pr-manager.md +5 -5
  3. package/.claude/agents/github/release-manager.md +3 -3
  4. package/.claude/agents/github/repo-architect.md +3 -3
  5. package/.claude/agents/github/swarm-issue.md +1 -1
  6. package/.claude/agents/github/sync-coordinator.md +1 -1
  7. package/.claude/agents/github/workflow-automation.md +1 -1
  8. package/.claude/commands/github/repo-architect.md +1 -1
  9. package/.claude/commands/github/sync-coordinator.md +1 -1
  10. package/.claude/commands/mastermind/createorg.md +4 -1
  11. package/.claude/commands/mastermind/help.md +2 -2
  12. package/.claude/commands/mastermind/orgs.md +21 -0
  13. package/.claude/commands/mastermind/orgstatus.md +59 -0
  14. package/.claude/commands/mastermind/runorg.md +4 -2
  15. package/.claude/commands/mastermind/stoporg.md +78 -0
  16. package/.claude/commands/mastermind/swarm.md +1 -1
  17. package/.claude/helpers/handlers/gates-handler.cjs +135 -0
  18. package/.claude/helpers/handlers/task-handler.cjs +7 -3
  19. package/.claude/helpers/hook-handler.cjs +11 -2
  20. package/.claude/helpers/intelligence.cjs +87 -0
  21. package/.claude/helpers/learning-service.mjs +60 -0
  22. package/.claude/helpers/memory.cjs +69 -0
  23. package/.claude/helpers/router.cjs +68 -0
  24. package/.claude/helpers/session.cjs +63 -0
  25. package/.claude/helpers/utils/monograph.cjs +4 -2
  26. package/.claude/helpers/utils/telemetry.cjs +3 -2
  27. package/.claude/scheduled_tasks.lock +1 -1
  28. package/.claude/settings.json +12 -2
  29. package/.claude/skills/agentic-jujutsu/SKILL.md +1 -1
  30. package/.claude/skills/hive-mind-advanced/SKILL.md +4 -4
  31. package/.claude/skills/mastermind/_agent-select.md +2 -2
  32. package/.claude/skills/mastermind/access.md +11 -11
  33. package/.claude/skills/mastermind/adapter-manager.md +13 -13
  34. package/.claude/skills/mastermind/adapters.md +7 -7
  35. package/.claude/skills/mastermind/agent-detail.md +1 -1
  36. package/.claude/skills/mastermind/agents.md +5 -5
  37. package/.claude/skills/mastermind/approval-detail.md +6 -6
  38. package/.claude/skills/mastermind/approve.md +9 -10
  39. package/.claude/skills/mastermind/backup.md +2 -2
  40. package/.claude/skills/mastermind/bootstrap.md +2 -2
  41. package/.claude/skills/mastermind/companies.md +7 -7
  42. package/.claude/skills/mastermind/createorg.md +213 -8
  43. package/.claude/skills/mastermind/diagnose.md +4 -4
  44. package/.claude/skills/mastermind/env.md +1 -1
  45. package/.claude/skills/mastermind/environments.md +8 -8
  46. package/.claude/skills/mastermind/export.md +12 -3
  47. package/.claude/skills/mastermind/goal-detail.md +9 -9
  48. package/.claude/skills/mastermind/goals.md +4 -4
  49. package/.claude/skills/mastermind/heartbeat.md +1 -1
  50. package/.claude/skills/mastermind/idea.md +4 -4
  51. package/.claude/skills/mastermind/import.md +8 -8
  52. package/.claude/skills/mastermind/inbox.md +4 -4
  53. package/.claude/skills/mastermind/instance-settings.md +9 -9
  54. package/.claude/skills/mastermind/instance.md +9 -7
  55. package/.claude/skills/mastermind/invite-landing.md +5 -5
  56. package/.claude/skills/mastermind/invites.md +12 -12
  57. package/.claude/skills/mastermind/issue-detail.md +8 -8
  58. package/.claude/skills/mastermind/monitor.md +11 -11
  59. package/.claude/skills/mastermind/my-issues.md +6 -6
  60. package/.claude/skills/mastermind/new-agent.md +4 -4
  61. package/.claude/skills/mastermind/org-chart.md +8 -6
  62. package/.claude/skills/mastermind/org-settings.md +58 -21
  63. package/.claude/skills/mastermind/orgs.md +98 -0
  64. package/.claude/skills/mastermind/orgstatus.md +194 -0
  65. package/.claude/skills/mastermind/plan-to-tasks.md +1 -1
  66. package/.claude/skills/mastermind/plugin-manager.md +12 -12
  67. package/.claude/skills/mastermind/plugin-settings.md +5 -5
  68. package/.claude/skills/mastermind/plugins.md +5 -5
  69. package/.claude/skills/mastermind/profile.md +2 -2
  70. package/.claude/skills/mastermind/project-detail.md +12 -12
  71. package/.claude/skills/mastermind/project-workspace.md +4 -4
  72. package/.claude/skills/mastermind/projects.md +4 -4
  73. package/.claude/skills/mastermind/review.md +50 -0
  74. package/.claude/skills/mastermind/routine-detail.md +3 -3
  75. package/.claude/skills/mastermind/routines.md +7 -6
  76. package/.claude/skills/mastermind/runorg.md +178 -8
  77. package/.claude/skills/mastermind/search.md +6 -6
  78. package/.claude/skills/mastermind/secrets.md +6 -6
  79. package/.claude/skills/mastermind/skills.md +4 -4
  80. package/.claude/skills/mastermind/stoporg.md +138 -0
  81. package/.claude/skills/mastermind/workspace-detail.md +5 -5
  82. package/.claude/skills/mastermind/workspaces.md +9 -9
  83. package/.claude/skills/performance-analysis/SKILL.md +3 -3
  84. package/.claude/skills/sparc-methodology/SKILL.md +2 -2
  85. package/.claude/skills/swarm-advanced/SKILL.md +4 -4
  86. package/.claude-plugin/README.md +10 -10
  87. package/.claude-plugin/docs/INSTALLATION.md +6 -6
  88. package/.claude-plugin/docs/PLUGIN_SUMMARY.md +9 -9
  89. package/.claude-plugin/docs/QUICKSTART.md +2 -2
  90. package/.claude-plugin/docs/STRUCTURE.md +1 -1
  91. package/.claude-plugin/marketplace.json +5 -5
  92. package/.claude-plugin/plugin.json +3 -3
  93. package/README.md +129 -376
  94. package/package.json +4 -8
  95. package/packages/@monomind/cli/README.md +129 -376
  96. package/packages/@monomind/cli/dist/src/agents/registry-builder.d.ts +27 -1
  97. package/packages/@monomind/cli/dist/src/agents/registry-builder.js +2 -2
  98. package/packages/@monomind/cli/dist/src/commands/agent.js +4 -9
  99. package/packages/@monomind/cli/dist/src/commands/analyze.d.ts +1 -1
  100. package/packages/@monomind/cli/dist/src/commands/analyze.js +1 -1
  101. package/packages/@monomind/cli/dist/src/commands/claims.d.ts +1 -1
  102. package/packages/@monomind/cli/dist/src/commands/claims.js +2 -2
  103. package/packages/@monomind/cli/dist/src/commands/cleanup.d.ts +1 -1
  104. package/packages/@monomind/cli/dist/src/commands/cleanup.js +1 -1
  105. package/packages/@monomind/cli/dist/src/commands/completions.d.ts +1 -1
  106. package/packages/@monomind/cli/dist/src/commands/completions.js +1 -1
  107. package/packages/@monomind/cli/dist/src/commands/deployment.d.ts +1 -1
  108. package/packages/@monomind/cli/dist/src/commands/deployment.js +2 -2
  109. package/packages/@monomind/cli/dist/src/commands/doctor.d.ts +1 -1
  110. package/packages/@monomind/cli/dist/src/commands/doctor.js +69 -4
  111. package/packages/@monomind/cli/dist/src/commands/guidance.js +129 -0
  112. package/packages/@monomind/cli/dist/src/commands/index.js +4 -0
  113. package/packages/@monomind/cli/dist/src/commands/init.js +18 -0
  114. package/packages/@monomind/cli/dist/src/commands/monovector/import.d.ts +1 -1
  115. package/packages/@monomind/cli/dist/src/commands/monovector/import.js +1 -1
  116. package/packages/@monomind/cli/dist/src/commands/monovector/index.d.ts +1 -1
  117. package/packages/@monomind/cli/dist/src/commands/monovector/index.js +1 -1
  118. package/packages/@monomind/cli/dist/src/commands/monovector/setup.d.ts +1 -1
  119. package/packages/@monomind/cli/dist/src/commands/monovector/setup.js +2 -2
  120. package/packages/@monomind/cli/dist/src/commands/neural.d.ts +1 -1
  121. package/packages/@monomind/cli/dist/src/commands/neural.js +2 -2
  122. package/packages/@monomind/cli/dist/src/commands/performance.d.ts +1 -1
  123. package/packages/@monomind/cli/dist/src/commands/performance.js +2 -2
  124. package/packages/@monomind/cli/dist/src/commands/platforms.d.ts +1 -1
  125. package/packages/@monomind/cli/dist/src/commands/platforms.js +1 -1
  126. package/packages/@monomind/cli/dist/src/commands/plugins.d.ts +1 -1
  127. package/packages/@monomind/cli/dist/src/commands/plugins.js +2 -4
  128. package/packages/@monomind/cli/dist/src/commands/providers.d.ts +1 -1
  129. package/packages/@monomind/cli/dist/src/commands/providers.js +2 -2
  130. package/packages/@monomind/cli/dist/src/commands/route.d.ts +1 -1
  131. package/packages/@monomind/cli/dist/src/commands/route.js +5 -11
  132. package/packages/@monomind/cli/dist/src/commands/security.d.ts +1 -1
  133. package/packages/@monomind/cli/dist/src/commands/security.js +140 -91
  134. package/packages/@monomind/cli/dist/src/dlq/dlq-replayer.d.ts +7 -1
  135. package/packages/@monomind/cli/dist/src/index.d.ts +1 -1
  136. package/packages/@monomind/cli/dist/src/index.js +10 -26
  137. package/packages/@monomind/cli/dist/src/init/claudemd-generator.js +2 -2
  138. package/packages/@monomind/cli/dist/src/init/executor.js +3 -3
  139. package/packages/@monomind/cli/dist/src/init/settings-generator.js +2 -2
  140. package/packages/@monomind/cli/dist/src/mcp-client.d.ts +5 -0
  141. package/packages/@monomind/cli/dist/src/mcp-client.js +7 -0
  142. package/packages/@monomind/cli/dist/src/mcp-server.js +17 -1
  143. package/packages/@monomind/cli/dist/src/mcp-tools/a2a-tools.js +6 -6
  144. package/packages/@monomind/cli/dist/src/mcp-tools/auto-install.d.ts +2 -2
  145. package/packages/@monomind/cli/dist/src/mcp-tools/auto-install.js +1 -1
  146. package/packages/@monomind/cli/dist/src/mcp-tools/hive-mind-tools.js +1 -52
  147. package/packages/@monomind/cli/dist/src/mcp-tools/index.d.ts +4 -0
  148. package/packages/@monomind/cli/dist/src/mcp-tools/index.js +4 -0
  149. package/packages/@monomind/cli/dist/src/mcp-tools/monograph-compat.js +1 -2
  150. package/packages/@monomind/cli/dist/src/mcp-tools/monograph-tools.js +107 -5
  151. package/packages/@monomind/cli/dist/src/mcp-tools/security-tools.d.ts +6 -6
  152. package/packages/@monomind/cli/dist/src/mcp-tools/security-tools.js +48 -61
  153. package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +0 -1
  154. package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +232 -57
  155. package/packages/@monomind/cli/dist/src/memory/memory-initializer.js +3 -32
  156. package/packages/@monomind/cli/dist/src/plugins/store/discovery.js +0 -69
  157. package/packages/@monomind/cli/dist/src/routing/embed-worker.d.ts +2 -0
  158. package/packages/@monomind/cli/dist/src/routing/embed-worker.js +55 -0
  159. package/packages/@monomind/cli/dist/src/routing/embedder.d.ts +31 -0
  160. package/packages/@monomind/cli/dist/src/routing/embedder.js +0 -0
  161. package/packages/@monomind/cli/dist/src/routing/llm-caller.d.ts +1 -1
  162. package/packages/@monomind/cli/dist/src/routing/llm-caller.js +18 -3
  163. package/packages/@monomind/cli/dist/src/routing/route-layer-factory.d.ts +9 -0
  164. package/packages/@monomind/cli/dist/src/routing/route-layer-factory.js +151 -0
  165. package/packages/@monomind/cli/dist/src/services/worker-daemon.js +0 -1
  166. package/packages/@monomind/cli/dist/src/suggest.d.ts +1 -1
  167. package/packages/@monomind/cli/dist/src/suggest.js +1 -1
  168. package/packages/@monomind/cli/package.json +9 -10
  169. package/packages/@monomind/cli/scripts/understand-analyze.mjs +1 -1
  170. package/packages/@monomind/guidance/README.md +6 -6
  171. package/packages/@monomind/guidance/package.json +9 -1
  172. package/scripts/install.sh +7 -7
  173. package/scripts/ua-enrich.mjs +3 -2
  174. package/packages/@monomind/shared/dist/agent-contract.d.ts +0 -28
  175. package/packages/@monomind/shared/dist/agent-contract.js +0 -57
  176. package/packages/@monomind/shared/dist/agent-error-result.d.ts +0 -17
  177. package/packages/@monomind/shared/dist/agent-error-result.js +0 -23
  178. package/packages/@monomind/shared/dist/core/config/defaults.d.ts +0 -41
  179. package/packages/@monomind/shared/dist/core/config/defaults.js +0 -186
  180. package/packages/@monomind/shared/dist/core/config/index.d.ts +0 -8
  181. package/packages/@monomind/shared/dist/core/config/index.js +0 -12
  182. package/packages/@monomind/shared/dist/core/config/loader.d.ts +0 -45
  183. package/packages/@monomind/shared/dist/core/config/loader.js +0 -238
  184. package/packages/@monomind/shared/dist/core/config/schema.d.ts +0 -324
  185. package/packages/@monomind/shared/dist/core/config/schema.js +0 -160
  186. package/packages/@monomind/shared/dist/core/config/validator.d.ts +0 -92
  187. package/packages/@monomind/shared/dist/core/config/validator.js +0 -147
  188. package/packages/@monomind/shared/dist/core/event-bus.d.ts +0 -31
  189. package/packages/@monomind/shared/dist/core/event-bus.js +0 -197
  190. package/packages/@monomind/shared/dist/core/index.d.ts +0 -15
  191. package/packages/@monomind/shared/dist/core/index.js +0 -19
  192. package/packages/@monomind/shared/dist/core/interfaces/agent.interface.d.ts +0 -200
  193. package/packages/@monomind/shared/dist/core/interfaces/agent.interface.js +0 -6
  194. package/packages/@monomind/shared/dist/core/interfaces/coordinator.interface.d.ts +0 -310
  195. package/packages/@monomind/shared/dist/core/interfaces/coordinator.interface.js +0 -7
  196. package/packages/@monomind/shared/dist/core/interfaces/event.interface.d.ts +0 -224
  197. package/packages/@monomind/shared/dist/core/interfaces/event.interface.js +0 -46
  198. package/packages/@monomind/shared/dist/core/interfaces/index.d.ts +0 -10
  199. package/packages/@monomind/shared/dist/core/interfaces/index.js +0 -15
  200. package/packages/@monomind/shared/dist/core/interfaces/memory.interface.d.ts +0 -298
  201. package/packages/@monomind/shared/dist/core/interfaces/memory.interface.js +0 -7
  202. package/packages/@monomind/shared/dist/core/interfaces/task.interface.d.ts +0 -185
  203. package/packages/@monomind/shared/dist/core/interfaces/task.interface.js +0 -6
  204. package/packages/@monomind/shared/dist/core/orchestrator/event-coordinator.d.ts +0 -35
  205. package/packages/@monomind/shared/dist/core/orchestrator/event-coordinator.js +0 -101
  206. package/packages/@monomind/shared/dist/core/orchestrator/health-monitor.d.ts +0 -60
  207. package/packages/@monomind/shared/dist/core/orchestrator/health-monitor.js +0 -166
  208. package/packages/@monomind/shared/dist/core/orchestrator/index.d.ts +0 -46
  209. package/packages/@monomind/shared/dist/core/orchestrator/index.js +0 -64
  210. package/packages/@monomind/shared/dist/core/orchestrator/lifecycle-manager.d.ts +0 -56
  211. package/packages/@monomind/shared/dist/core/orchestrator/lifecycle-manager.js +0 -195
  212. package/packages/@monomind/shared/dist/core/orchestrator/session-manager.d.ts +0 -83
  213. package/packages/@monomind/shared/dist/core/orchestrator/session-manager.js +0 -193
  214. package/packages/@monomind/shared/dist/core/orchestrator/task-manager.d.ts +0 -49
  215. package/packages/@monomind/shared/dist/core/orchestrator/task-manager.js +0 -253
  216. package/packages/@monomind/shared/dist/events/domain-events.d.ts +0 -282
  217. package/packages/@monomind/shared/dist/events/domain-events.js +0 -165
  218. package/packages/@monomind/shared/dist/events/event-store.d.ts +0 -126
  219. package/packages/@monomind/shared/dist/events/event-store.js +0 -416
  220. package/packages/@monomind/shared/dist/events/event-store.test.d.ts +0 -8
  221. package/packages/@monomind/shared/dist/events/event-store.test.js +0 -293
  222. package/packages/@monomind/shared/dist/events/example-usage.d.ts +0 -10
  223. package/packages/@monomind/shared/dist/events/example-usage.js +0 -193
  224. package/packages/@monomind/shared/dist/events/index.d.ts +0 -21
  225. package/packages/@monomind/shared/dist/events/index.js +0 -22
  226. package/packages/@monomind/shared/dist/events/projections.d.ts +0 -177
  227. package/packages/@monomind/shared/dist/events/projections.js +0 -421
  228. package/packages/@monomind/shared/dist/events/rvf-event-log.d.ts +0 -82
  229. package/packages/@monomind/shared/dist/events/rvf-event-log.js +0 -340
  230. package/packages/@monomind/shared/dist/events/state-reconstructor.d.ts +0 -101
  231. package/packages/@monomind/shared/dist/events/state-reconstructor.js +0 -263
  232. package/packages/@monomind/shared/dist/events.d.ts +0 -80
  233. package/packages/@monomind/shared/dist/events.js +0 -249
  234. package/packages/@monomind/shared/dist/hooks/example-usage.d.ts +0 -42
  235. package/packages/@monomind/shared/dist/hooks/example-usage.js +0 -351
  236. package/packages/@monomind/shared/dist/hooks/executor.d.ts +0 -100
  237. package/packages/@monomind/shared/dist/hooks/executor.js +0 -264
  238. package/packages/@monomind/shared/dist/hooks/hooks.test.d.ts +0 -9
  239. package/packages/@monomind/shared/dist/hooks/hooks.test.js +0 -322
  240. package/packages/@monomind/shared/dist/hooks/index.d.ts +0 -52
  241. package/packages/@monomind/shared/dist/hooks/index.js +0 -51
  242. package/packages/@monomind/shared/dist/hooks/registry.d.ts +0 -133
  243. package/packages/@monomind/shared/dist/hooks/registry.js +0 -277
  244. package/packages/@monomind/shared/dist/hooks/safety/bash-safety.d.ts +0 -105
  245. package/packages/@monomind/shared/dist/hooks/safety/bash-safety.js +0 -481
  246. package/packages/@monomind/shared/dist/hooks/safety/file-organization.d.ts +0 -144
  247. package/packages/@monomind/shared/dist/hooks/safety/file-organization.js +0 -328
  248. package/packages/@monomind/shared/dist/hooks/safety/git-commit.d.ts +0 -158
  249. package/packages/@monomind/shared/dist/hooks/safety/git-commit.js +0 -450
  250. package/packages/@monomind/shared/dist/hooks/safety/index.d.ts +0 -17
  251. package/packages/@monomind/shared/dist/hooks/safety/index.js +0 -17
  252. package/packages/@monomind/shared/dist/hooks/session-hooks.d.ts +0 -234
  253. package/packages/@monomind/shared/dist/hooks/session-hooks.js +0 -334
  254. package/packages/@monomind/shared/dist/hooks/task-hooks.d.ts +0 -163
  255. package/packages/@monomind/shared/dist/hooks/task-hooks.js +0 -326
  256. package/packages/@monomind/shared/dist/hooks/types.d.ts +0 -267
  257. package/packages/@monomind/shared/dist/hooks/types.js +0 -62
  258. package/packages/@monomind/shared/dist/hooks/verify-exports.test.d.ts +0 -9
  259. package/packages/@monomind/shared/dist/hooks/verify-exports.test.js +0 -93
  260. package/packages/@monomind/shared/dist/index.d.ts +0 -46
  261. package/packages/@monomind/shared/dist/index.js +0 -77
  262. package/packages/@monomind/shared/dist/mcp/connection-pool.d.ts +0 -98
  263. package/packages/@monomind/shared/dist/mcp/connection-pool.js +0 -364
  264. package/packages/@monomind/shared/dist/mcp/index.d.ts +0 -69
  265. package/packages/@monomind/shared/dist/mcp/index.js +0 -84
  266. package/packages/@monomind/shared/dist/mcp/server.d.ts +0 -166
  267. package/packages/@monomind/shared/dist/mcp/server.js +0 -593
  268. package/packages/@monomind/shared/dist/mcp/session-manager.d.ts +0 -136
  269. package/packages/@monomind/shared/dist/mcp/session-manager.js +0 -335
  270. package/packages/@monomind/shared/dist/mcp/tool-registry.d.ts +0 -178
  271. package/packages/@monomind/shared/dist/mcp/tool-registry.js +0 -439
  272. package/packages/@monomind/shared/dist/mcp/transport/http.d.ts +0 -104
  273. package/packages/@monomind/shared/dist/mcp/transport/http.js +0 -476
  274. package/packages/@monomind/shared/dist/mcp/transport/index.d.ts +0 -102
  275. package/packages/@monomind/shared/dist/mcp/transport/index.js +0 -238
  276. package/packages/@monomind/shared/dist/mcp/transport/stdio.d.ts +0 -104
  277. package/packages/@monomind/shared/dist/mcp/transport/stdio.js +0 -263
  278. package/packages/@monomind/shared/dist/mcp/transport/websocket.d.ts +0 -133
  279. package/packages/@monomind/shared/dist/mcp/transport/websocket.js +0 -396
  280. package/packages/@monomind/shared/dist/mcp/types.d.ts +0 -438
  281. package/packages/@monomind/shared/dist/mcp/types.js +0 -54
  282. package/packages/@monomind/shared/dist/plugin-interface.d.ts +0 -544
  283. package/packages/@monomind/shared/dist/plugin-interface.js +0 -23
  284. package/packages/@monomind/shared/dist/plugin-loader.d.ts +0 -139
  285. package/packages/@monomind/shared/dist/plugin-loader.js +0 -434
  286. package/packages/@monomind/shared/dist/plugin-registry.d.ts +0 -183
  287. package/packages/@monomind/shared/dist/plugin-registry.js +0 -457
  288. package/packages/@monomind/shared/dist/plugins/index.d.ts +0 -10
  289. package/packages/@monomind/shared/dist/plugins/index.js +0 -10
  290. package/packages/@monomind/shared/dist/plugins/official/hive-mind-plugin.d.ts +0 -106
  291. package/packages/@monomind/shared/dist/plugins/official/hive-mind-plugin.js +0 -241
  292. package/packages/@monomind/shared/dist/plugins/official/index.d.ts +0 -10
  293. package/packages/@monomind/shared/dist/plugins/official/index.js +0 -10
  294. package/packages/@monomind/shared/dist/plugins/official/maestro-plugin.d.ts +0 -121
  295. package/packages/@monomind/shared/dist/plugins/official/maestro-plugin.js +0 -355
  296. package/packages/@monomind/shared/dist/plugins/types.d.ts +0 -93
  297. package/packages/@monomind/shared/dist/plugins/types.js +0 -9
  298. package/packages/@monomind/shared/dist/reducers.d.ts +0 -33
  299. package/packages/@monomind/shared/dist/reducers.js +0 -89
  300. package/packages/@monomind/shared/dist/resilience/bulkhead.d.ts +0 -105
  301. package/packages/@monomind/shared/dist/resilience/bulkhead.js +0 -206
  302. package/packages/@monomind/shared/dist/resilience/circuit-breaker.d.ts +0 -132
  303. package/packages/@monomind/shared/dist/resilience/circuit-breaker.js +0 -233
  304. package/packages/@monomind/shared/dist/resilience/index.d.ts +0 -19
  305. package/packages/@monomind/shared/dist/resilience/index.js +0 -19
  306. package/packages/@monomind/shared/dist/resilience/rate-limiter.d.ts +0 -168
  307. package/packages/@monomind/shared/dist/resilience/rate-limiter.js +0 -314
  308. package/packages/@monomind/shared/dist/resilience/retry.d.ts +0 -91
  309. package/packages/@monomind/shared/dist/resilience/retry.js +0 -159
  310. package/packages/@monomind/shared/dist/retry-policy.d.ts +0 -14
  311. package/packages/@monomind/shared/dist/retry-policy.js +0 -23
  312. package/packages/@monomind/shared/dist/retry-runner.d.ts +0 -21
  313. package/packages/@monomind/shared/dist/retry-runner.js +0 -57
  314. package/packages/@monomind/shared/dist/schema-validator.d.ts +0 -46
  315. package/packages/@monomind/shared/dist/schema-validator.js +0 -133
  316. package/packages/@monomind/shared/dist/scratchpad.d.ts +0 -23
  317. package/packages/@monomind/shared/dist/scratchpad.js +0 -32
  318. package/packages/@monomind/shared/dist/security/index.d.ts +0 -10
  319. package/packages/@monomind/shared/dist/security/index.js +0 -12
  320. package/packages/@monomind/shared/dist/security/input-validation.d.ts +0 -73
  321. package/packages/@monomind/shared/dist/security/input-validation.js +0 -201
  322. package/packages/@monomind/shared/dist/security/secure-random.d.ts +0 -92
  323. package/packages/@monomind/shared/dist/security/secure-random.js +0 -142
  324. package/packages/@monomind/shared/dist/services/index.d.ts +0 -7
  325. package/packages/@monomind/shared/dist/services/index.js +0 -7
  326. package/packages/@monomind/shared/dist/services/progress.service.d.ts +0 -124
  327. package/packages/@monomind/shared/dist/services/progress.service.js +0 -402
  328. package/packages/@monomind/shared/dist/state-manager.d.ts +0 -34
  329. package/packages/@monomind/shared/dist/state-manager.js +0 -73
  330. package/packages/@monomind/shared/dist/state-validator.d.ts +0 -20
  331. package/packages/@monomind/shared/dist/state-validator.js +0 -49
  332. package/packages/@monomind/shared/dist/swarm-state.d.ts +0 -52
  333. package/packages/@monomind/shared/dist/swarm-state.js +0 -18
  334. package/packages/@monomind/shared/dist/testing/fixture-builder.d.ts +0 -14
  335. package/packages/@monomind/shared/dist/testing/fixture-builder.js +0 -32
  336. package/packages/@monomind/shared/dist/testing/index.d.ts +0 -2
  337. package/packages/@monomind/shared/dist/testing/index.js +0 -2
  338. package/packages/@monomind/shared/dist/testing/test-model.d.ts +0 -29
  339. package/packages/@monomind/shared/dist/testing/test-model.js +0 -53
  340. package/packages/@monomind/shared/dist/types/agent-registry.d.ts +0 -62
  341. package/packages/@monomind/shared/dist/types/agent-registry.js +0 -8
  342. package/packages/@monomind/shared/dist/types/agent-version.d.ts +0 -49
  343. package/packages/@monomind/shared/dist/types/agent-version.js +0 -7
  344. package/packages/@monomind/shared/dist/types/agent.types.d.ts +0 -137
  345. package/packages/@monomind/shared/dist/types/agent.types.js +0 -6
  346. package/packages/@monomind/shared/dist/types/benchmark.d.ts +0 -39
  347. package/packages/@monomind/shared/dist/types/benchmark.js +0 -6
  348. package/packages/@monomind/shared/dist/types/communication-flow.d.ts +0 -25
  349. package/packages/@monomind/shared/dist/types/communication-flow.js +0 -7
  350. package/packages/@monomind/shared/dist/types/consensus-audit.d.ts +0 -40
  351. package/packages/@monomind/shared/dist/types/consensus-audit.js +0 -7
  352. package/packages/@monomind/shared/dist/types/dlq.d.ts +0 -40
  353. package/packages/@monomind/shared/dist/types/dlq.js +0 -7
  354. package/packages/@monomind/shared/dist/types/eval.d.ts +0 -59
  355. package/packages/@monomind/shared/dist/types/eval.js +0 -6
  356. package/packages/@monomind/shared/dist/types/index.d.ts +0 -19
  357. package/packages/@monomind/shared/dist/types/index.js +0 -33
  358. package/packages/@monomind/shared/dist/types/mcp.types.d.ts +0 -266
  359. package/packages/@monomind/shared/dist/types/mcp.types.js +0 -7
  360. package/packages/@monomind/shared/dist/types/memory.types.d.ts +0 -236
  361. package/packages/@monomind/shared/dist/types/memory.types.js +0 -7
  362. package/packages/@monomind/shared/dist/types/retry.d.ts +0 -72
  363. package/packages/@monomind/shared/dist/types/retry.js +0 -40
  364. package/packages/@monomind/shared/dist/types/specialization.d.ts +0 -27
  365. package/packages/@monomind/shared/dist/types/specialization.js +0 -8
  366. package/packages/@monomind/shared/dist/types/swarm.types.d.ts +0 -186
  367. package/packages/@monomind/shared/dist/types/swarm.types.js +0 -65
  368. package/packages/@monomind/shared/dist/types/task.types.d.ts +0 -178
  369. package/packages/@monomind/shared/dist/types/task.types.js +0 -32
  370. package/packages/@monomind/shared/dist/types/termination.d.ts +0 -29
  371. package/packages/@monomind/shared/dist/types/termination.js +0 -14
  372. package/packages/@monomind/shared/dist/types/tool-version.d.ts +0 -41
  373. package/packages/@monomind/shared/dist/types/tool-version.js +0 -8
  374. package/packages/@monomind/shared/dist/types/trigger.d.ts +0 -40
  375. package/packages/@monomind/shared/dist/types/trigger.js +0 -8
  376. package/packages/@monomind/shared/dist/types.d.ts +0 -197
  377. package/packages/@monomind/shared/dist/types.js +0 -21
  378. package/packages/@monomind/shared/dist/utils/secure-logger.d.ts +0 -69
  379. package/packages/@monomind/shared/dist/utils/secure-logger.js +0 -208
@@ -1,33 +0,0 @@
1
- /**
2
- * V1 Types - Public API
3
- * Modernized type system for monomind v1
4
- */
5
- // Agent types
6
- export * from './agent.types.js';
7
- // Task types
8
- export * from './task.types.js';
9
- // Swarm types
10
- export * from './swarm.types.js';
11
- // Memory types
12
- export * from './memory.types.js';
13
- // MCP types
14
- export * from './mcp.types.js';
15
- // Agent version types (Task 29)
16
- export * from './agent-version.js';
17
- // Retry types (Task 38)
18
- export * from './retry.js';
19
- // Termination types (Task 35)
20
- export * from './termination.js';
21
- // Agent Registry types (Task 30)
22
- export * from './agent-registry.js';
23
- // Tool Version types (Task 31)
24
- export * from './tool-version.js';
25
- // Benchmark types (Task 34)
26
- export * from './benchmark.js';
27
- // Specialization scoring types (Task 39)
28
- export * from './specialization.js';
29
- // Communication flow types (Task 40)
30
- export * from './communication-flow.js';
31
- // Re-export core interfaces for convenience
32
- export * from '../core/interfaces/index.js';
33
- //# sourceMappingURL=index.js.map
@@ -1,266 +0,0 @@
1
- /**
2
- * MCP Types
3
- * Model Context Protocol type definitions
4
- * Aligned with ADR-005 (MCP-first API design)
5
- */
6
- /**
7
- * MCP tool definition
8
- */
9
- export interface MCPTool {
10
- name: string;
11
- description: string;
12
- inputSchema: MCPInputSchema;
13
- handler: MCPToolHandler;
14
- }
15
- /**
16
- * MCP input schema (JSON Schema)
17
- */
18
- export interface MCPInputSchema {
19
- type: 'object';
20
- properties: Record<string, MCPPropertySchema>;
21
- required?: string[];
22
- additionalProperties?: boolean;
23
- }
24
- /**
25
- * MCP property schema
26
- */
27
- export interface MCPPropertySchema {
28
- type: 'string' | 'number' | 'boolean' | 'array' | 'object';
29
- description?: string;
30
- enum?: unknown[];
31
- default?: unknown;
32
- items?: MCPPropertySchema;
33
- properties?: Record<string, MCPPropertySchema>;
34
- required?: string[];
35
- }
36
- /**
37
- * MCP tool handler
38
- */
39
- export type MCPToolHandler = (params: Record<string, unknown>) => Promise<MCPToolResult>;
40
- /**
41
- * MCP tool result
42
- */
43
- export interface MCPToolResult {
44
- content: MCPContent[];
45
- isError?: boolean;
46
- }
47
- /**
48
- * MCP content types
49
- */
50
- export type MCPContent = MCPTextContent | MCPImageContent | MCPResourceContent;
51
- /**
52
- * MCP text content
53
- */
54
- export interface MCPTextContent {
55
- type: 'text';
56
- text: string;
57
- }
58
- /**
59
- * MCP image content
60
- */
61
- export interface MCPImageContent {
62
- type: 'image';
63
- data: string;
64
- mimeType: string;
65
- }
66
- /**
67
- * MCP resource content
68
- */
69
- export interface MCPResourceContent {
70
- type: 'resource';
71
- resource: {
72
- uri: string;
73
- mimeType?: string;
74
- text?: string;
75
- blob?: string;
76
- };
77
- }
78
- /**
79
- * MCP server configuration
80
- */
81
- export interface MCPServerConfig {
82
- name: string;
83
- version: string;
84
- transport: MCPTransportConfig;
85
- tools?: MCPTool[];
86
- resources?: MCPResource[];
87
- prompts?: MCPPrompt[];
88
- capabilities?: MCPCapabilities;
89
- }
90
- /**
91
- * MCP transport configuration
92
- */
93
- export interface MCPTransportConfig {
94
- type: 'stdio' | 'http' | 'websocket';
95
- port?: number;
96
- host?: string;
97
- path?: string;
98
- }
99
- /**
100
- * MCP resource definition
101
- */
102
- export interface MCPResource {
103
- uri: string;
104
- name: string;
105
- description?: string;
106
- mimeType?: string;
107
- handler: () => Promise<MCPResourceContent['resource']>;
108
- }
109
- /**
110
- * MCP prompt definition
111
- */
112
- export interface MCPPrompt {
113
- name: string;
114
- description?: string;
115
- arguments?: MCPPromptArgument[];
116
- handler: (args: Record<string, string>) => Promise<MCPPromptResult>;
117
- }
118
- /**
119
- * MCP prompt argument
120
- */
121
- export interface MCPPromptArgument {
122
- name: string;
123
- description?: string;
124
- required?: boolean;
125
- }
126
- /**
127
- * MCP prompt result
128
- */
129
- export interface MCPPromptResult {
130
- messages: MCPPromptMessage[];
131
- }
132
- /**
133
- * MCP prompt message
134
- */
135
- export interface MCPPromptMessage {
136
- role: 'user' | 'assistant';
137
- content: MCPContent;
138
- }
139
- /**
140
- * MCP capabilities
141
- */
142
- export interface MCPCapabilities {
143
- tools?: boolean;
144
- resources?: boolean;
145
- prompts?: boolean;
146
- logging?: boolean;
147
- experimental?: Record<string, boolean>;
148
- }
149
- /**
150
- * MCP request types
151
- */
152
- export type MCPRequest = MCPInitializeRequest | MCPToolCallRequest | MCPResourceReadRequest | MCPPromptGetRequest | MCPListRequest;
153
- /**
154
- * MCP initialize request
155
- */
156
- export interface MCPInitializeRequest {
157
- method: 'initialize';
158
- params: {
159
- protocolVersion: string;
160
- capabilities: MCPCapabilities;
161
- clientInfo: {
162
- name: string;
163
- version: string;
164
- };
165
- };
166
- }
167
- /**
168
- * MCP tool call request
169
- */
170
- export interface MCPToolCallRequest {
171
- method: 'tools/call';
172
- params: {
173
- name: string;
174
- arguments: Record<string, unknown>;
175
- };
176
- }
177
- /**
178
- * MCP resource read request
179
- */
180
- export interface MCPResourceReadRequest {
181
- method: 'resources/read';
182
- params: {
183
- uri: string;
184
- };
185
- }
186
- /**
187
- * MCP prompt get request
188
- */
189
- export interface MCPPromptGetRequest {
190
- method: 'prompts/get';
191
- params: {
192
- name: string;
193
- arguments?: Record<string, string>;
194
- };
195
- }
196
- /**
197
- * MCP list request
198
- */
199
- export interface MCPListRequest {
200
- method: 'tools/list' | 'resources/list' | 'prompts/list';
201
- params?: Record<string, unknown>;
202
- }
203
- /**
204
- * MCP response types
205
- */
206
- export interface MCPResponse<T = unknown> {
207
- id: string | number;
208
- result?: T;
209
- error?: MCPError;
210
- }
211
- /**
212
- * MCP error
213
- */
214
- export interface MCPError {
215
- code: number;
216
- message: string;
217
- data?: unknown;
218
- }
219
- /**
220
- * MCP event payloads
221
- */
222
- export interface MCPEventPayloads {
223
- 'mcp:initialized': {
224
- serverName: string;
225
- version: string;
226
- capabilities: MCPCapabilities;
227
- };
228
- 'mcp:tool:called': {
229
- toolName: string;
230
- arguments: Record<string, unknown>;
231
- duration: number;
232
- success: boolean;
233
- };
234
- 'mcp:resource:read': {
235
- uri: string;
236
- mimeType?: string;
237
- size: number;
238
- };
239
- 'mcp:prompt:executed': {
240
- promptName: string;
241
- arguments: Record<string, string>;
242
- messageCount: number;
243
- };
244
- 'mcp:error': {
245
- error: MCPError;
246
- request?: MCPRequest;
247
- };
248
- 'mcp:shutdown': {
249
- reason: string;
250
- };
251
- }
252
- /**
253
- * MCP server status
254
- */
255
- export interface MCPServerStatus {
256
- running: boolean;
257
- transport: MCPTransportConfig['type'];
258
- connectedClients: number;
259
- toolsRegistered: number;
260
- resourcesRegistered: number;
261
- promptsRegistered: number;
262
- requestsHandled: number;
263
- errorsCount: number;
264
- uptime: number;
265
- }
266
- //# sourceMappingURL=mcp.types.d.ts.map
@@ -1,7 +0,0 @@
1
- /**
2
- * MCP Types
3
- * Model Context Protocol type definitions
4
- * Aligned with ADR-005 (MCP-first API design)
5
- */
6
- export {};
7
- //# sourceMappingURL=mcp.types.js.map
@@ -1,236 +0,0 @@
1
- /**
2
- * Memory Types
3
- * Modernized type system for memory management
4
- * Aligned with AgentDB integration (ADR-006, ADR-009)
5
- */
6
- import type { IMemoryEntry, MemoryType, IVectorSearchParams } from '../core/interfaces/memory.interface.js';
7
- /**
8
- * Memory backend type
9
- */
10
- export type MemoryBackendType = 'sqlite' | 'agentdb' | 'hybrid' | 'redis' | 'memory';
11
- /**
12
- * Memory backend configuration
13
- */
14
- export interface MemoryBackendConfig {
15
- type: MemoryBackendType;
16
- path?: string;
17
- maxSize?: number;
18
- ttlMs?: number;
19
- sqlite?: {
20
- filename?: string;
21
- inMemory?: boolean;
22
- wal?: boolean;
23
- };
24
- agentdb?: {
25
- dimensions?: number;
26
- indexType?: 'hnsw' | 'flat' | 'ivf';
27
- efConstruction?: number;
28
- m?: number;
29
- quantization?: 'none' | 'scalar' | 'product';
30
- };
31
- redis?: {
32
- host?: string;
33
- port?: number;
34
- password?: string;
35
- db?: number;
36
- keyPrefix?: string;
37
- };
38
- hybrid?: {
39
- sqliteConfig?: MemoryBackendConfig['sqlite'];
40
- agentdbConfig?: MemoryBackendConfig['agentdb'];
41
- vectorThreshold?: number;
42
- };
43
- }
44
- /**
45
- * Memory store options
46
- */
47
- export interface MemoryStoreOptions {
48
- ttlMs?: number;
49
- type?: MemoryType;
50
- tags?: string[];
51
- embedding?: number[];
52
- overwrite?: boolean;
53
- }
54
- /**
55
- * Memory retrieve options
56
- */
57
- export interface MemoryRetrieveOptions {
58
- includeExpired?: boolean;
59
- updateAccessTime?: boolean;
60
- }
61
- /**
62
- * Memory list options
63
- */
64
- export interface MemoryListOptions {
65
- type?: MemoryType;
66
- tags?: string[];
67
- limit?: number;
68
- offset?: number;
69
- sortBy?: 'createdAt' | 'updatedAt' | 'key';
70
- sortOrder?: 'asc' | 'desc';
71
- }
72
- /**
73
- * Memory search options (for vector search)
74
- */
75
- export interface MemorySearchOptions extends IVectorSearchParams {
76
- includeMetadata?: boolean;
77
- rerank?: boolean;
78
- rerankModel?: string;
79
- }
80
- /**
81
- * Memory batch operation
82
- */
83
- export interface MemoryBatchOperation {
84
- operation: 'store' | 'update' | 'delete';
85
- key: string;
86
- value?: unknown;
87
- options?: MemoryStoreOptions;
88
- }
89
- /**
90
- * Memory batch result
91
- */
92
- export interface MemoryBatchResult {
93
- successful: string[];
94
- failed: Array<{
95
- key: string;
96
- error: Error;
97
- }>;
98
- duration: number;
99
- }
100
- /**
101
- * Memory statistics
102
- */
103
- export interface MemoryStats {
104
- totalEntries: number;
105
- totalSizeBytes: number;
106
- memoryUsageMb: number;
107
- entriesByType: Record<MemoryType, number>;
108
- oldestEntry?: Date;
109
- newestEntry?: Date;
110
- avgEntrySize: number;
111
- cacheHitRate?: number;
112
- vectorCount?: number;
113
- indexSize?: number;
114
- }
115
- /**
116
- * Memory bank statistics
117
- */
118
- export interface MemoryBankStats {
119
- bankId: string;
120
- agentId: string;
121
- entryCount: number;
122
- sizeMb: number;
123
- createdAt: Date;
124
- lastAccess: Date;
125
- }
126
- /**
127
- * Pattern for ReasoningBank integration
128
- */
129
- export interface LearnedPattern {
130
- id: string;
131
- sessionId: string;
132
- task: string;
133
- input: string;
134
- output: string;
135
- reward: number;
136
- success: boolean;
137
- critique?: string;
138
- tokensUsed?: number;
139
- latencyMs?: number;
140
- createdAt: Date;
141
- embedding?: number[];
142
- }
143
- /**
144
- * Pattern search result
145
- */
146
- export interface PatternSearchResult {
147
- pattern: LearnedPattern;
148
- score: number;
149
- relevance: number;
150
- }
151
- /**
152
- * Memory event payloads
153
- */
154
- export interface MemoryEventPayloads {
155
- 'memory:stored': {
156
- entry: IMemoryEntry;
157
- isNew: boolean;
158
- };
159
- 'memory:retrieved': {
160
- key: string;
161
- found: boolean;
162
- latencyMs: number;
163
- };
164
- 'memory:updated': {
165
- entry: IMemoryEntry;
166
- previousValue: unknown;
167
- };
168
- 'memory:deleted': {
169
- key: string;
170
- entry: IMemoryEntry;
171
- };
172
- 'memory:cleared': {
173
- entriesRemoved: number;
174
- };
175
- 'memory:pruned': {
176
- entriesRemoved: number;
177
- durationMs: number;
178
- };
179
- 'memory:search:completed': {
180
- query: IVectorSearchParams;
181
- resultCount: number;
182
- latencyMs: number;
183
- };
184
- 'memory:bank:created': {
185
- bankId: string;
186
- agentId: string;
187
- };
188
- 'memory:bank:closed': {
189
- bankId: string;
190
- agentId: string;
191
- entriesCount: number;
192
- };
193
- }
194
- /**
195
- * Cache configuration
196
- */
197
- export interface CacheConfig {
198
- enabled: boolean;
199
- maxSize: number;
200
- ttlMs: number;
201
- strategy: 'lru' | 'lfu' | 'fifo';
202
- warmupKeys?: string[];
203
- }
204
- /**
205
- * Vector index configuration
206
- */
207
- export interface VectorIndexConfig {
208
- type: 'hnsw' | 'flat' | 'ivf';
209
- dimensions: number;
210
- metric: 'cosine' | 'euclidean' | 'dot';
211
- hnsw?: {
212
- m: number;
213
- efConstruction: number;
214
- efSearch: number;
215
- };
216
- ivf?: {
217
- nlist: number;
218
- nprobe: number;
219
- };
220
- quantization?: {
221
- enabled: boolean;
222
- bits: 4 | 8 | 16;
223
- type: 'scalar' | 'product';
224
- };
225
- }
226
- /**
227
- * Flash Attention configuration (2.49x-7.47x speedup)
228
- */
229
- export interface FlashAttentionConfig {
230
- enabled: boolean;
231
- blockSize: number;
232
- headDim: number;
233
- causal: boolean;
234
- softmaxScale?: number;
235
- }
236
- //# sourceMappingURL=memory.types.d.ts.map
@@ -1,7 +0,0 @@
1
- /**
2
- * Memory Types
3
- * Modernized type system for memory management
4
- * Aligned with AgentDB integration (ADR-006, ADR-009)
5
- */
6
- export {};
7
- //# sourceMappingURL=memory.types.js.map
@@ -1,72 +0,0 @@
1
- /**
2
- * Tool Failure Retry Types
3
- *
4
- * Defines retry policies, error classifications, and result types
5
- * for exponential backoff retry logic in MCP tool execution.
6
- */
7
- /**
8
- * Errors that are safe to retry (transient failures).
9
- */
10
- export type RetryableErrorType = 'RATE_LIMIT' | 'TIMEOUT' | 'SERVER_ERROR' | 'DB_LOCK' | 'NETWORK';
11
- /**
12
- * Errors that should not be retried (permanent failures).
13
- */
14
- export type NonRetryableErrorType = 'VALIDATION' | 'PERMISSION_DENIED' | 'NOT_FOUND' | 'CONFLICT' | 'UNKNOWN';
15
- /**
16
- * Configuration for retry behavior with exponential backoff.
17
- */
18
- export interface ToolRetryPolicy {
19
- /** Maximum number of attempts (including the initial attempt). */
20
- maxAttempts: number;
21
- /** Initial delay in milliseconds before the first retry. */
22
- initialDelayMs: number;
23
- /** Maximum delay cap in milliseconds. */
24
- maxDelayMs: number;
25
- /** Multiplier applied to the delay after each attempt. */
26
- backoffMultiplier: number;
27
- /** Maximum random jitter added to each delay in milliseconds. */
28
- jitterMs: number;
29
- }
30
- /**
31
- * Records a single retry attempt for observability.
32
- */
33
- export interface RetryAttempt {
34
- /** Zero-based attempt index. */
35
- attempt: number;
36
- /** The error that triggered the retry (or final failure). */
37
- error: Error;
38
- /** Classified error type. */
39
- errorType: RetryableErrorType | NonRetryableErrorType;
40
- /** Delay in milliseconds before this attempt was made. */
41
- delayMs: number;
42
- /** When this attempt occurred. */
43
- timestamp: Date;
44
- }
45
- /**
46
- * Result of a retried operation, including full attempt history.
47
- */
48
- export interface RetryResult<T> {
49
- /** Whether the operation eventually succeeded. */
50
- success: boolean;
51
- /** The resolved value on success. */
52
- value?: T;
53
- /** History of all failed attempts. */
54
- attempts: RetryAttempt[];
55
- /** Wall-clock duration from first attempt to final resolution. */
56
- totalDurationMs: number;
57
- /** True if all attempts were exhausted without success. */
58
- exhausted: boolean;
59
- }
60
- /**
61
- * Default retry policy: 3 attempts, 1s initial delay, 2x backoff, 500ms jitter.
62
- */
63
- export declare const DEFAULT_TOOL_RETRY: ToolRetryPolicy;
64
- /**
65
- * Aggressive retry policy: 5 attempts, 500ms initial delay, faster recovery.
66
- */
67
- export declare const AGGRESSIVE_TOOL_RETRY: ToolRetryPolicy;
68
- /**
69
- * No-retry policy: single attempt, fail immediately.
70
- */
71
- export declare const NO_RETRY: ToolRetryPolicy;
72
- //# sourceMappingURL=retry.d.ts.map
@@ -1,40 +0,0 @@
1
- /**
2
- * Tool Failure Retry Types
3
- *
4
- * Defines retry policies, error classifications, and result types
5
- * for exponential backoff retry logic in MCP tool execution.
6
- */
7
- // ============================================================================
8
- // Preset Policies
9
- // ============================================================================
10
- /**
11
- * Default retry policy: 3 attempts, 1s initial delay, 2x backoff, 500ms jitter.
12
- */
13
- export const DEFAULT_TOOL_RETRY = {
14
- maxAttempts: 3,
15
- initialDelayMs: 1000,
16
- maxDelayMs: 30000,
17
- backoffMultiplier: 2.0,
18
- jitterMs: 500,
19
- };
20
- /**
21
- * Aggressive retry policy: 5 attempts, 500ms initial delay, faster recovery.
22
- */
23
- export const AGGRESSIVE_TOOL_RETRY = {
24
- maxAttempts: 5,
25
- initialDelayMs: 500,
26
- maxDelayMs: 30000,
27
- backoffMultiplier: 2.0,
28
- jitterMs: 200,
29
- };
30
- /**
31
- * No-retry policy: single attempt, fail immediately.
32
- */
33
- export const NO_RETRY = {
34
- maxAttempts: 1,
35
- initialDelayMs: 0,
36
- maxDelayMs: 0,
37
- backoffMultiplier: 1,
38
- jitterMs: 0,
39
- };
40
- //# sourceMappingURL=retry.js.map
@@ -1,27 +0,0 @@
1
- /**
2
- * Agent Specialization Scoring Types (Task 39)
3
- *
4
- * Per-agent-per-task-type scoring with time-decay, enabling monomind
5
- * to prefer historically successful agents for specific task types.
6
- */
7
- export interface SpecializationScore {
8
- agentSlug: string;
9
- taskType: string;
10
- successCount: number;
11
- failureCount: number;
12
- totalCount: number;
13
- successRate: number;
14
- avgLatencyMs: number;
15
- avgQualityScore: number;
16
- lastUpdated: string;
17
- decayFactor: number;
18
- effectiveScore: number;
19
- }
20
- export interface ScoreUpdate {
21
- agentSlug: string;
22
- taskType: string;
23
- success: boolean;
24
- latencyMs: number;
25
- qualityScore?: number;
26
- }
27
- //# sourceMappingURL=specialization.d.ts.map
@@ -1,8 +0,0 @@
1
- /**
2
- * Agent Specialization Scoring Types (Task 39)
3
- *
4
- * Per-agent-per-task-type scoring with time-decay, enabling monomind
5
- * to prefer historically successful agents for specific task types.
6
- */
7
- export {};
8
- //# sourceMappingURL=specialization.js.map