ultra-dex 3.7.0 → 4.0.0

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 (704) hide show
  1. package/README.md +39 -4
  2. package/assets/agents/0-orchestration/orchestrator.md +52 -26
  3. package/assets/agents/00-AGENT_INDEX.md +36 -26
  4. package/assets/agents/1-leadership/cto.md +14 -1
  5. package/assets/agents/1-leadership/planner.md +28 -6
  6. package/assets/agents/1-leadership/research.md +53 -26
  7. package/assets/agents/2-development/backend.md +18 -25
  8. package/assets/agents/2-development/database.md +32 -22
  9. package/assets/agents/2-development/frontend.md +13 -1
  10. package/assets/agents/3-security/auth.md +17 -1
  11. package/assets/agents/3-security/security.md +40 -14
  12. package/assets/agents/4-devops/devops.md +29 -15
  13. package/assets/agents/5-quality/debugger.md +18 -1
  14. package/assets/agents/5-quality/documentation.md +23 -1
  15. package/assets/agents/5-quality/reviewer.md +16 -1
  16. package/assets/agents/5-quality/testing.md +21 -4
  17. package/assets/agents/6-specialist/performance.md +36 -22
  18. package/assets/agents/6-specialist/refactoring.md +43 -22
  19. package/assets/agents/AGENT-INSTRUCTIONS.md +10 -10
  20. package/assets/agents/README.md +16 -1
  21. package/assets/agents/documentation.md +5 -0
  22. package/assets/art/doomsday.js +41 -0
  23. package/assets/challenges/auth-30m.json +16 -0
  24. package/assets/code-patterns/clerk-middleware.ts +1 -4
  25. package/assets/code-patterns/server-actions.ts +16 -12
  26. package/assets/code-patterns/trpc-router.ts +24 -26
  27. package/assets/cursor-rules/README.md +30 -29
  28. package/assets/dashboard.html +846 -592
  29. package/assets/docs/BUILD-AUTH-30M.md +20 -0
  30. package/assets/docs/CHECKLIST-21-STEP.md +14 -10
  31. package/assets/docs/CODEMAP.md +90 -10
  32. package/assets/docs/CUSTOMIZATION.md +35 -7
  33. package/assets/docs/QUICK-REFERENCE.md +49 -41
  34. package/assets/docs/ROADMAP.md +77 -18
  35. package/assets/docs/TROUBLESHOOTING.md +22 -15
  36. package/assets/docs/VISION-V2.md +15 -7
  37. package/assets/docs/WORKFLOW-DIAGRAMS.md +24 -13
  38. package/assets/docs/index.html +570 -517
  39. package/assets/live-templates/astro-sanity/README.md +2 -0
  40. package/assets/live-templates/ecommerce-next/package.json +32 -0
  41. package/assets/live-templates/ecommerce-next/src/app/products/page.tsx +161 -0
  42. package/assets/live-templates/ecommerce-next/src/lib/store.ts +63 -0
  43. package/assets/live-templates/fastapi-api/README.md +37 -0
  44. package/assets/live-templates/fastapi-api/main.py +147 -0
  45. package/assets/live-templates/fastapi-api/package.json +15 -0
  46. package/assets/live-templates/fastapi-api/requirements.txt +15 -0
  47. package/assets/live-templates/next15-prisma-clerk/README.md +2 -0
  48. package/assets/live-templates/next15-saas/.env.example +28 -0
  49. package/assets/live-templates/next15-saas/README.md +47 -0
  50. package/assets/live-templates/next15-saas/middleware.ts +9 -0
  51. package/assets/live-templates/next15-saas/next.config.js +11 -0
  52. package/assets/live-templates/next15-saas/package.json +46 -0
  53. package/assets/live-templates/next15-saas/postcss.config.js +6 -0
  54. package/assets/live-templates/next15-saas/prisma/schema.prisma +112 -0
  55. package/assets/live-templates/next15-saas/src/app/admin/page.tsx +89 -0
  56. package/assets/live-templates/next15-saas/src/app/api/stripe/checkout/route.ts +37 -0
  57. package/assets/live-templates/next15-saas/src/app/api/webhooks/stripe/route.ts +99 -0
  58. package/assets/live-templates/next15-saas/src/app/dashboard/page.tsx +78 -0
  59. package/assets/live-templates/next15-saas/src/app/globals.css +3 -0
  60. package/assets/live-templates/next15-saas/src/app/layout.tsx +21 -0
  61. package/assets/live-templates/next15-saas/src/app/page.tsx +58 -0
  62. package/assets/live-templates/next15-saas/src/components/ui/button.tsx +37 -0
  63. package/assets/live-templates/next15-saas/src/components/ui/card.tsx +32 -0
  64. package/assets/live-templates/next15-saas/src/lib/db.ts +9 -0
  65. package/assets/live-templates/next15-saas/src/lib/email/resend.ts +28 -0
  66. package/assets/live-templates/next15-saas/src/lib/stripe/client.ts +3 -0
  67. package/assets/live-templates/next15-saas/src/lib/stripe/server.ts +50 -0
  68. package/assets/live-templates/next15-saas/src/lib/upload/s3.ts +39 -0
  69. package/assets/live-templates/next15-saas/src/lib/utils.ts +6 -0
  70. package/assets/live-templates/next15-saas/tailwind.config.js +19 -0
  71. package/assets/live-templates/next15-saas/tsconfig.json +26 -0
  72. package/assets/live-templates/next15-saas/types/index.ts +73 -0
  73. package/assets/live-templates/nuxt3-supabase/README.md +2 -0
  74. package/assets/live-templates/remix-saas/README.md +39 -0
  75. package/assets/live-templates/remix-saas/app/lib/db.server.ts +18 -0
  76. package/assets/live-templates/remix-saas/app/lib/payments/stripe.server.ts +45 -0
  77. package/assets/live-templates/remix-saas/app/root.tsx +32 -0
  78. package/assets/live-templates/remix-saas/app/routes/_index.tsx +68 -0
  79. package/assets/live-templates/remix-saas/app/routes/api.webhooks.stripe.tsx +67 -0
  80. package/assets/live-templates/remix-saas/app/routes/dashboard.tsx +84 -0
  81. package/assets/live-templates/remix-saas/app/tailwind.css +16 -0
  82. package/assets/live-templates/remix-saas/package.json +43 -0
  83. package/assets/live-templates/remix-saas/prisma/schema.prisma +94 -0
  84. package/assets/live-templates/remix-supabase/README.md +2 -0
  85. package/assets/live-templates/remix-supabase/app/root.tsx +3 -3
  86. package/assets/live-templates/remix-supabase/app/utils/supabase.server.ts +3 -3
  87. package/assets/live-templates/remix-supabase/remix.config.js +3 -3
  88. package/assets/live-templates/solid-drizzle/README.md +2 -0
  89. package/assets/live-templates/solid-drizzle/drizzle.config.ts +4 -4
  90. package/assets/live-templates/solid-drizzle/src/routes/index.tsx +1 -1
  91. package/assets/live-templates/sveltekit-drizzle/README.md +2 -0
  92. package/assets/live-templates/sveltekit-drizzle/drizzle.config.ts +1 -1
  93. package/assets/live-templates/sveltekit-drizzle/svelte.config.js +1 -1
  94. package/assets/live-templates/sveltekit-drizzle/vite.config.js +1 -1
  95. package/assets/live-templates/sveltekit-saas/README.md +37 -0
  96. package/assets/live-templates/sveltekit-saas/package.json +36 -0
  97. package/assets/live-templates/sveltekit-saas/prisma/schema.prisma +68 -0
  98. package/assets/live-templates/sveltekit-saas/src/app.css +15 -0
  99. package/assets/live-templates/sveltekit-saas/src/lib/server/db.ts +9 -0
  100. package/assets/live-templates/sveltekit-saas/src/lib/server/stripe.ts +17 -0
  101. package/assets/live-templates/sveltekit-saas/src/routes/+layout.svelte +36 -0
  102. package/assets/live-templates/sveltekit-saas/src/routes/+page.svelte +38 -0
  103. package/assets/live-templates/sveltekit-saas/src/routes/dashboard/+page.server.ts +27 -0
  104. package/assets/live-templates/sveltekit-saas/src/routes/dashboard/+page.svelte +51 -0
  105. package/assets/live-templates/tauri-desktop/README.md +2 -0
  106. package/assets/playground.html +260 -250
  107. package/assets/snippets/auth-middleware.js +11 -0
  108. package/assets/snippets/db-connection.js +13 -0
  109. package/assets/snippets/ui-button.jsx +14 -0
  110. package/assets/templates/CASE-STUDY-TEMPLATE.md +27 -25
  111. package/assets/templates/MASTER-PLAN-TEMPLATE.md +121 -65
  112. package/assets/templates/ORDER-TRACKER-TEMPLATE.md +17 -13
  113. package/assets/templates/PHASE-TRACKER-TEMPLATE.md +55 -29
  114. package/assets/templates/README.md +66 -20
  115. package/assets/templates/config/quality-gate.json +2 -6
  116. package/bin/demo-pro.js +19 -20
  117. package/bin/ultra-dex.js +265 -168
  118. package/bin/ultra.js +4 -0
  119. package/lib/acp/cursor.js +40 -67
  120. package/lib/acp/host.js +36 -31
  121. package/lib/advisor/database-tree.js +33 -0
  122. package/lib/advisor/model-costs.js +8 -0
  123. package/lib/agents/architect-graph.js +25 -0
  124. package/lib/agents/base-agent.js +38 -0
  125. package/lib/agents/checkpoint.js +395 -0
  126. package/lib/agents/daemon.js +405 -0
  127. package/lib/agents/debugger-graph.js +25 -0
  128. package/lib/agents/executor-graph.js +25 -0
  129. package/lib/agents/graph-utils.js +54 -0
  130. package/lib/agents/handshake.js +36 -0
  131. package/lib/agents/meta-orchestrator.js +77 -0
  132. package/lib/agents/negotiation.js +44 -0
  133. package/lib/agents/planner-graph.js +25 -0
  134. package/lib/agents/planner.js +22 -0
  135. package/lib/agents/protocol.js +68 -0
  136. package/lib/agents/queue.js +559 -0
  137. package/lib/agents/ralph-loop.js +62 -0
  138. package/lib/agents/registry.js +23 -0
  139. package/lib/agents/reviewer-graph.js +25 -0
  140. package/lib/agents/session-manager.js +544 -0
  141. package/lib/agents/swarm.js +89 -0
  142. package/lib/agents/vision-agent.js +8 -0
  143. package/lib/agents/vision.js +281 -0
  144. package/lib/agents/workflow-rules.js +54 -0
  145. package/lib/ai/eval-loop.js +6 -0
  146. package/lib/ai/evaluation-loop.js +516 -0
  147. package/lib/ai/hybrid-rag.js +133 -85
  148. package/lib/ai/model-router.js +533 -515
  149. package/lib/ai/rag-defaults.js +37 -0
  150. package/lib/ai/router-config.js +92 -0
  151. package/lib/ai/router.js +449 -0
  152. package/lib/ai/trace.js +568 -0
  153. package/lib/analytics/index.js +186 -0
  154. package/lib/analytics/storage.js +49 -0
  155. package/lib/api/auth.js +126 -0
  156. package/lib/api/gateway.js +109 -0
  157. package/lib/api/websocket.js +30 -0
  158. package/lib/architect/decision-tree.js +66 -0
  159. package/lib/audit/index.js +7 -0
  160. package/lib/auth/api-keys.js +285 -0
  161. package/lib/auth/audit.js +318 -0
  162. package/lib/auth/rbac.js +12 -13
  163. package/lib/auth/sso/index.js +22 -0
  164. package/lib/auth/sso/oidc.js +18 -0
  165. package/lib/auth/sso/providers/auth0.js +8 -0
  166. package/lib/auth/sso/providers/azure-ad.js +8 -0
  167. package/lib/auth/sso/providers/google.js +8 -0
  168. package/lib/auth/sso/providers/okta.js +8 -0
  169. package/lib/auth/sso/providers/onelogin.js +8 -0
  170. package/lib/auth/sso/saml.js +18 -0
  171. package/lib/auth/sso.js +159 -22
  172. package/lib/auth/token-storage.js +249 -0
  173. package/lib/auto-context/index.js +238 -0
  174. package/lib/automation/checkpoints.js +37 -0
  175. package/lib/automation/pipeline.js +82 -0
  176. package/lib/autonomous/agent.js +13 -0
  177. package/lib/autonomous/gates.js +11 -0
  178. package/lib/autonomous/pipeline.js +31 -0
  179. package/lib/autonomous-mode/index.js +73 -0
  180. package/lib/background/pr-generator.js +18 -0
  181. package/lib/background/reviewer.js +18 -0
  182. package/lib/background/ticket-agent.js +55 -0
  183. package/lib/bots/code-review/analyzer.js +61 -0
  184. package/lib/bots/code-review/github.js +59 -0
  185. package/lib/bots/code-review/gitlab.js +34 -0
  186. package/lib/bots/code-review/index.js +23 -0
  187. package/lib/browser/agent.js +101 -0
  188. package/lib/browser/chrome-agents.js +67 -0
  189. package/lib/browser/extension-scaffold.js +84 -0
  190. package/lib/browser/orchestrator.js +19 -0
  191. package/lib/browser/playwright.js +45 -0
  192. package/lib/browser/vision.js +33 -0
  193. package/lib/budget/calculator.js +20 -0
  194. package/lib/budget/tracker.js +36 -0
  195. package/lib/cache/file-cache.js +22 -0
  196. package/lib/cache/graph-cache.js +26 -0
  197. package/lib/cache/index.js +44 -34
  198. package/lib/canvas/editor.js +55 -0
  199. package/lib/canvas/sync.js +35 -0
  200. package/lib/ci/healer.js +17 -0
  201. package/lib/ci/pr-reviewer.js +31 -0
  202. package/lib/ci/strategies.js +30 -0
  203. package/lib/cicd/self-healing.js +385 -0
  204. package/lib/commands/advanced.js +31 -17
  205. package/lib/commands/agent-gen.js +114 -0
  206. package/lib/commands/agents.js +610 -218
  207. package/lib/commands/ai-advisor.js +35 -0
  208. package/lib/commands/api.js +300 -0
  209. package/lib/commands/architect.js +34 -0
  210. package/lib/commands/audit.js +321 -163
  211. package/lib/commands/auth-sso.js +54 -0
  212. package/lib/commands/auth.js +353 -55
  213. package/lib/commands/auto-implement.js +76 -31
  214. package/lib/commands/autonomous.js +114 -95
  215. package/lib/commands/background-agent.js +90 -0
  216. package/lib/commands/banner.js +34 -17
  217. package/lib/commands/batch.js +63 -63
  218. package/lib/commands/benchmark.js +83 -0
  219. package/lib/commands/bot.js +83 -0
  220. package/lib/commands/brain.js +27 -16
  221. package/lib/commands/browse.js +56 -0
  222. package/lib/commands/browser-auto.js +71 -41
  223. package/lib/commands/browser.js +663 -1
  224. package/lib/commands/budget.js +99 -0
  225. package/lib/commands/build.js +98 -66
  226. package/lib/commands/challenge.js +132 -0
  227. package/lib/commands/chat.js +115 -0
  228. package/lib/commands/check-enhanced-v2.js +68 -40
  229. package/lib/commands/check-enhanced.js +83 -66
  230. package/lib/commands/check.js +624 -0
  231. package/lib/commands/chrome-agent.js +39 -0
  232. package/lib/commands/ci-monitor.js +141 -103
  233. package/lib/commands/cicd.js +121 -0
  234. package/lib/commands/clean.js +64 -0
  235. package/lib/commands/cloud.js +355 -731
  236. package/lib/commands/code-gen.js +129 -93
  237. package/lib/commands/commit.js +293 -0
  238. package/lib/commands/compare.js +51 -0
  239. package/lib/commands/config.js +196 -71
  240. package/lib/commands/credentials.js +57 -0
  241. package/lib/commands/daemon.js +73 -0
  242. package/lib/commands/dashboard-websocket-client.js +64 -61
  243. package/lib/commands/dashboard.js +308 -219
  244. package/lib/commands/db-advisor.js +29 -0
  245. package/lib/commands/deploy.js +88 -45
  246. package/lib/commands/diff.js +768 -294
  247. package/lib/commands/docker.js +76 -0
  248. package/lib/commands/docs.js +451 -0
  249. package/lib/commands/doctor.js +130 -43
  250. package/lib/commands/dr-check.js +140 -0
  251. package/lib/commands/env.js +95 -0
  252. package/lib/commands/estimate.js +113 -35
  253. package/lib/commands/examples.js +47 -28
  254. package/lib/commands/exec.js +229 -255
  255. package/lib/commands/export.js +486 -140
  256. package/lib/commands/fetch.js +7 -2
  257. package/lib/commands/fix.js +83 -57
  258. package/lib/commands/forge.js +60 -0
  259. package/lib/commands/gate.js +64 -0
  260. package/lib/commands/generate.js +149 -34
  261. package/lib/commands/github.js +66 -36
  262. package/lib/commands/governance.js +160 -0
  263. package/lib/commands/graph.js +233 -0
  264. package/lib/commands/health.js +9 -0
  265. package/lib/commands/help.js +90 -0
  266. package/lib/commands/hooks.js +7 -5
  267. package/lib/commands/impact.js +89 -0
  268. package/lib/commands/init.js +289 -919
  269. package/lib/commands/install-completion.js +376 -0
  270. package/lib/commands/integrate.js +56 -45
  271. package/lib/commands/jira.js +246 -0
  272. package/lib/commands/k8s.js +65 -0
  273. package/lib/commands/ledger.js +95 -0
  274. package/lib/commands/marketplace.js +11 -0
  275. package/lib/commands/mcp-host.js +63 -0
  276. package/lib/commands/mcp-remote.js +94 -0
  277. package/lib/commands/memory.js +275 -227
  278. package/lib/commands/monitor.js +128 -0
  279. package/lib/commands/monitoring.js +58 -37
  280. package/lib/commands/neuro-plan.js +22 -0
  281. package/lib/commands/notion.js +127 -0
  282. package/lib/commands/onboard.js +50 -0
  283. package/lib/commands/pipeline.js +203 -88
  284. package/lib/commands/plan.js +164 -150
  285. package/lib/commands/playground.js +1 -3
  286. package/lib/commands/plugin-scan.js +28 -0
  287. package/lib/commands/plugin.js +206 -38
  288. package/lib/commands/pre-commit.js +9 -0
  289. package/lib/commands/privacy.js +71 -0
  290. package/lib/commands/production-ready.js +56 -0
  291. package/lib/commands/profile.js +60 -0
  292. package/lib/commands/pty.js +33 -32
  293. package/lib/commands/quality-enhanced.js +45 -23
  294. package/lib/commands/quality.js +110 -90
  295. package/lib/commands/rag.js +216 -0
  296. package/lib/commands/ralph.js +40 -33
  297. package/lib/commands/reality-check.js +61 -0
  298. package/lib/commands/review.js +202 -171
  299. package/lib/commands/risk.js +9 -0
  300. package/lib/commands/rollback.js +234 -0
  301. package/lib/commands/route.js +40 -0
  302. package/lib/commands/rules.js +96 -0
  303. package/lib/commands/run.js +214 -47
  304. package/lib/commands/scaffold-enhanced.js +67 -54
  305. package/lib/commands/scaffold-plan-new.js +441 -0
  306. package/lib/commands/scaffold-plan.js +564 -0
  307. package/lib/commands/scaffold.js +131 -8
  308. package/lib/commands/search.js +158 -132
  309. package/lib/commands/security.js +111 -0
  310. package/lib/commands/serve.js +183 -130
  311. package/lib/commands/session.js +286 -0
  312. package/lib/commands/setup.js +208 -194
  313. package/lib/commands/snap.js +51 -0
  314. package/lib/commands/state.js +154 -87
  315. package/lib/commands/status.js +9 -0
  316. package/lib/commands/suggest.js +151 -108
  317. package/lib/commands/swarm-advanced.js +215 -0
  318. package/lib/commands/swarm.js +320 -162
  319. package/lib/commands/sync-pm.js +36 -26
  320. package/lib/commands/sync.js +355 -48
  321. package/lib/commands/team.js +318 -91
  322. package/lib/commands/telemetry.js +85 -0
  323. package/lib/commands/template.js +162 -0
  324. package/lib/commands/templates.js +100 -0
  325. package/lib/commands/test.js +76 -0
  326. package/lib/commands/trello.js +200 -0
  327. package/lib/commands/undo.js +91 -195
  328. package/lib/commands/upgrade.js +26 -18
  329. package/lib/commands/validate.js +27 -10
  330. package/lib/commands/vector-search.js +41 -29
  331. package/lib/commands/verify.js +208 -101
  332. package/lib/commands/version-check.js +75 -0
  333. package/lib/commands/vibe.js +122 -0
  334. package/lib/commands/voice.js +112 -101
  335. package/lib/commands/watch.js +113 -52
  336. package/lib/commands/workflow.js +9 -0
  337. package/lib/commands/workflows.js +301 -128
  338. package/lib/commands/workspace.js +103 -98
  339. package/lib/commerce/alerts.js +654 -0
  340. package/lib/commerce/billing.js +727 -0
  341. package/lib/commerce/budget.js +754 -0
  342. package/lib/commerce/usage.js +651 -0
  343. package/lib/config/defaults.js +40 -0
  344. package/lib/config/paths.js +2 -0
  345. package/lib/config/theme.js +26 -5
  346. package/lib/config/urls.js +2 -0
  347. package/lib/context/compactor.js +62 -60
  348. package/lib/context/slicer.js +19 -0
  349. package/lib/context/test-compactor.js +7 -5
  350. package/lib/daemon/health.js +11 -0
  351. package/lib/daemon/scheduler.js +48 -0
  352. package/lib/daemon/server.js +54 -0
  353. package/lib/dashboard/public/index.html +99 -0
  354. package/lib/dashboard/public/styles.css +115 -0
  355. package/lib/dashboard/server.js +64 -0
  356. package/lib/docker/generator.js +129 -0
  357. package/lib/docs/context7.js +64 -0
  358. package/lib/domain/availability.js +34 -0
  359. package/lib/domain/booking-conflict.js +34 -0
  360. package/lib/domain/invoice-calculator.js +15 -0
  361. package/lib/domain/invoice-state.js +48 -0
  362. package/lib/enterprise/agent-access.js +136 -0
  363. package/lib/enterprise/usage.js +141 -0
  364. package/lib/gamification/achievements.js +625 -0
  365. package/lib/gamification/challenge-engine.js +461 -0
  366. package/lib/gamification/challenges/build-auth.js +307 -0
  367. package/lib/gamification/leaderboard.js +439 -0
  368. package/lib/gates/architectural.js +70 -0
  369. package/lib/gates/functional.js +38 -0
  370. package/lib/gates/index.js +14 -0
  371. package/lib/gates/structural.js +59 -0
  372. package/lib/god-mode/orchestrator.js +9 -0
  373. package/lib/governance/adr-check.js +225 -0
  374. package/lib/governance/adr-schema.js +244 -0
  375. package/lib/governance/audit.js +60 -4
  376. package/lib/governance/capability-schema.js +51 -0
  377. package/lib/governance/data-policy.js +99 -0
  378. package/lib/governance/governor.js +77 -0
  379. package/lib/governance/index.js +49 -25
  380. package/lib/governance/rules.js +26 -2
  381. package/lib/governance/schema.js +53 -0
  382. package/lib/graph/deep-rag.js +190 -0
  383. package/lib/graph/falkordb-client.js +59 -0
  384. package/lib/graph/impact-visualizer.js +210 -0
  385. package/lib/graph/repo-indexer.js +728 -0
  386. package/lib/graph/schema.cypher +19 -0
  387. package/lib/graph/semantic-graph.js +288 -0
  388. package/lib/graph/state-machine.js +463 -0
  389. package/lib/graph/traversal.js +591 -0
  390. package/lib/graph/visualizer.js +430 -0
  391. package/lib/history/tracker.js +38 -15
  392. package/lib/history/undo.js +12 -6
  393. package/lib/hive/consensus.js +25 -0
  394. package/lib/hive/memory.js +42 -0
  395. package/lib/hive/sync.js +28 -0
  396. package/lib/hooks/pre-commit.js +12 -0
  397. package/lib/init/scaffold.js +11 -0
  398. package/lib/input/voice.js +255 -0
  399. package/lib/integrations/discord.js +657 -0
  400. package/lib/integrations/github-projects.js +83 -0
  401. package/lib/integrations/github.js +1228 -0
  402. package/lib/integrations/index.js +29 -0
  403. package/lib/integrations/jira.js +234 -0
  404. package/lib/integrations/linear.js +142 -0
  405. package/lib/integrations/notion.js +277 -0
  406. package/lib/integrations/segment.js +78 -0
  407. package/lib/integrations/slack.js +712 -0
  408. package/lib/integrations/stripe.js +2252 -0
  409. package/lib/integrations/supabase.js +99 -0
  410. package/lib/integrations/trello.js +385 -0
  411. package/lib/integrations/utils.js +48 -0
  412. package/lib/integrations/vercel.js +68 -0
  413. package/lib/intelligence/decision-ledger.js +406 -0
  414. package/lib/k8s/generator.js +195 -0
  415. package/lib/kernel/agent.js +286 -259
  416. package/lib/kernel/context.js +85 -85
  417. package/lib/kernel/editor.js +104 -87
  418. package/lib/kernel/session.js +76 -72
  419. package/lib/kernel/tools.js +147 -129
  420. package/lib/ledger/decisions.js +17 -0
  421. package/lib/ledger/index.js +17 -0
  422. package/lib/ledger/query.js +59 -0
  423. package/lib/ledger/schema.ts +70 -0
  424. package/lib/ledger/storage.js +56 -0
  425. package/lib/licensing/tiers.js +21 -0
  426. package/lib/marketplace/client.js +74 -27
  427. package/lib/marketplace/index.js +586 -0
  428. package/lib/marketplace/install.js +20 -0
  429. package/lib/marketplace/publish.js +16 -0
  430. package/lib/marketplace/registry.js +101 -0
  431. package/lib/marketplace/rules.js +31 -0
  432. package/lib/marketplace/search.js +13 -0
  433. package/lib/marketplace/template-registry.js +69 -0
  434. package/lib/marketplace/templates.js +123 -0
  435. package/lib/marketplace/workflow-registry.js +76 -0
  436. package/lib/marketplace/workflows.js +138 -0
  437. package/lib/mcp/adapters/claude.js +10 -0
  438. package/lib/mcp/adapters/cursor.js +10 -0
  439. package/lib/mcp/apps/components.js +497 -0
  440. package/lib/mcp/apps/index.js +293 -0
  441. package/lib/mcp/apps/renderer.js +392 -0
  442. package/lib/mcp/apps/schemas/agent-status.json +12 -0
  443. package/lib/mcp/apps/schemas/dashboard.json +13 -0
  444. package/lib/mcp/apps/schemas/task-progress.json +12 -0
  445. package/lib/mcp/capability-router.js +9 -0
  446. package/lib/mcp/client.js +45 -33
  447. package/lib/mcp/context-bus.js +455 -0
  448. package/lib/mcp/context-engine.js +57 -52
  449. package/lib/mcp/graph.js +175 -109
  450. package/lib/mcp/host.js +35 -35
  451. package/lib/mcp/index.js +12 -0
  452. package/lib/mcp/langchain-adapter.js +651 -0
  453. package/lib/mcp/memory.js +19 -6
  454. package/lib/mcp/protocol-handler.js +153 -0
  455. package/lib/mcp/remote/auth.js +59 -0
  456. package/lib/mcp/remote/client.js +496 -0
  457. package/lib/mcp/remote/server.js +650 -0
  458. package/lib/mcp/remote/sync.js +44 -0
  459. package/lib/mcp/resources.js +167 -131
  460. package/lib/mcp/router.js +160 -0
  461. package/lib/mcp/server.js +30 -22
  462. package/lib/mcp/servers/context7.js +17 -0
  463. package/lib/mcp/tools.js +412 -218
  464. package/lib/mcp/websocket.js +67 -42
  465. package/lib/mcp/wizard.js +315 -0
  466. package/lib/memory/cold-tier.js +75 -0
  467. package/lib/memory/compactor.js +31 -0
  468. package/lib/memory/compression.js +24 -0
  469. package/lib/memory/embeddings.js +30 -0
  470. package/lib/memory/graph-engine.js +95 -0
  471. package/lib/memory/hot-tier.js +78 -0
  472. package/lib/memory/hot-warm-cold.js +46 -0
  473. package/lib/memory/manager.js +76 -0
  474. package/lib/memory/memex.js +38 -176
  475. package/lib/memory/mind.js +485 -0
  476. package/lib/memory/multi-tier.js +80 -69
  477. package/lib/memory/persistent.js +18 -0
  478. package/lib/memory/ppm.js +6 -0
  479. package/lib/memory/retriever.js +60 -0
  480. package/lib/memory/schema.js +368 -0
  481. package/lib/memory/schema.ts +26 -0
  482. package/lib/memory/session.js +27 -0
  483. package/lib/memory/titans.js +123 -0
  484. package/lib/memory/vector-db.js +27 -0
  485. package/lib/memory/vector-store.js +131 -0
  486. package/lib/memory/warm-tier.js +76 -0
  487. package/lib/meta/evaluator.js +18 -0
  488. package/lib/meta/learner.js +44 -0
  489. package/lib/meta/optimizer.js +20 -0
  490. package/lib/migration/index.js +69 -0
  491. package/lib/multi-repo/index.js +54 -0
  492. package/lib/multimodal/agent.js +33 -0
  493. package/lib/multimodal/design.js +33 -0
  494. package/lib/multimodal/docs.js +30 -0
  495. package/lib/nl-pipeline/index.js +94 -0
  496. package/lib/nlp/intent-parser.js +428 -0
  497. package/lib/nlp/router.js +254 -52
  498. package/lib/ops/cost-estimator.js +89 -0
  499. package/lib/ops/docker-integration.js +968 -0
  500. package/lib/ops/git-hooks.js +764 -0
  501. package/lib/ops/rollback-gen.js +283 -0
  502. package/lib/orchestration/index.js +153 -0
  503. package/lib/pair-programming/index.js +80 -0
  504. package/lib/perf/budget-checker.js +54 -0
  505. package/lib/planning/goal-decomposition.js +18 -0
  506. package/lib/planning/neuro-symbolic.js +74 -0
  507. package/lib/planning/rules-engine.js +32 -0
  508. package/lib/plugin-system.js +23 -13
  509. package/lib/plugins/ai-tools.js +274 -0
  510. package/lib/plugins/guide.js +58 -48
  511. package/lib/plugins/index.js +47 -43
  512. package/lib/plugins/integration.js +15 -14
  513. package/lib/pm/universal-pm.js +885 -0
  514. package/lib/predictive-architecture/index.js +76 -0
  515. package/lib/privacy/consent.js +30 -0
  516. package/lib/privacy/deletion.js +35 -0
  517. package/lib/privacy/gdpr.js +41 -0
  518. package/lib/protocol/handler.js +481 -0
  519. package/lib/providers/agent-sdk.js +38 -12
  520. package/lib/providers/anthropic-agents.js +30 -24
  521. package/lib/providers/base.js +2 -0
  522. package/lib/providers/claude.js +302 -257
  523. package/lib/providers/gemini.js +11 -9
  524. package/lib/providers/index.js +131 -25
  525. package/lib/providers/langchain.js +67 -51
  526. package/lib/providers/langgraph.js +8 -6
  527. package/lib/providers/mock.js +93 -0
  528. package/lib/providers/ollama.js +19 -18
  529. package/lib/providers/openai-assistants.js +18 -14
  530. package/lib/providers/openai.js +26 -15
  531. package/lib/providers/router.js +93 -39
  532. package/lib/providers/streaming.js +89 -0
  533. package/lib/providers/vercel-ai.js +212 -0
  534. package/lib/providers/whisper.js +38 -0
  535. package/lib/quality/a11y-check.js +462 -0
  536. package/lib/quality/automation-21.js +476 -0
  537. package/lib/quality/automation.js +218 -167
  538. package/lib/quality/checklist.js +13 -9
  539. package/lib/quality/decision-ledger.js +610 -0
  540. package/lib/quality/gate.js +156 -0
  541. package/lib/quality/gates.js +4 -0
  542. package/lib/quality/hooks.js +6 -4
  543. package/lib/quality/index.js +8 -0
  544. package/lib/quality/protocol-21.js +378 -0
  545. package/lib/quality/report.js +109 -0
  546. package/lib/quality/risk-register.js +405 -0
  547. package/lib/quality/rules.js +34 -0
  548. package/lib/quality/scanner.js +53 -47
  549. package/lib/rag/embeddings.js +160 -0
  550. package/lib/rag/graph.js +536 -0
  551. package/lib/rag/neo4j.js +165 -0
  552. package/lib/reasoning/cot-parser.js +22 -0
  553. package/lib/reasoning/visualizer.js +35 -0
  554. package/lib/repl/commands.js +436 -0
  555. package/lib/repl/index.js +154 -193
  556. package/lib/repl/pty.js +39 -21
  557. package/lib/repl/session.js +278 -0
  558. package/lib/router/benchmarks.js +41 -0
  559. package/lib/router/classifier.js +32 -0
  560. package/lib/router/cost-optimizer.js +42 -0
  561. package/lib/router/evaluator.js +27 -0
  562. package/lib/router/model-router.js +151 -0
  563. package/lib/router/router.js +72 -0
  564. package/lib/sandbox/Dockerfile +16 -0
  565. package/lib/sandbox/Dockerfile.go +4 -0
  566. package/lib/sandbox/Dockerfile.node +4 -0
  567. package/lib/sandbox/Dockerfile.python +4 -0
  568. package/lib/sandbox/Dockerfile.rust +4 -0
  569. package/lib/sandbox/docker.js +622 -0
  570. package/lib/sandbox/permissions.js +44 -0
  571. package/lib/sandbox/runtimes/go.js +9 -0
  572. package/lib/sandbox/runtimes/node.js +9 -0
  573. package/lib/sandbox/runtimes/python.js +9 -0
  574. package/lib/sandbox/runtimes/rust.js +9 -0
  575. package/lib/security/audit-layer.js +186 -0
  576. package/lib/security/auditor.js +78 -0
  577. package/lib/security/certifier.js +37 -0
  578. package/lib/security/keychain.js +58 -0
  579. package/lib/security/plugin-validator.js +45 -0
  580. package/lib/security/report.js +46 -0
  581. package/lib/security/validators.js +51 -0
  582. package/lib/self-improve/index.js +102 -0
  583. package/lib/server/middleware/auth.js +214 -0
  584. package/lib/server/middleware/rate-limit.js +224 -0
  585. package/lib/server/websocket.js +60 -0
  586. package/lib/swarm/coordinator.js +13 -10
  587. package/lib/swarm/index.js +213 -54
  588. package/lib/swarm/meta-orchestrator.js +24 -0
  589. package/lib/swarm/orchestrator.js +543 -0
  590. package/lib/swarm/protocol.js +85 -88
  591. package/lib/swarm/tiers.js +79 -54
  592. package/lib/team/collaboration.js +277 -0
  593. package/lib/team/permissions.js +21 -0
  594. package/lib/team/shared-context.js +43 -0
  595. package/lib/team/sync.js +25 -0
  596. package/lib/team/team-settings.js +48 -0
  597. package/lib/team/workspace.js +34 -0
  598. package/lib/templates/code/clerk-middleware.ts +1 -4
  599. package/lib/templates/code/server-actions.ts +16 -12
  600. package/lib/templates/code/trpc-router.ts +24 -26
  601. package/lib/templates/context.js +2 -0
  602. package/lib/templates/custom-agent.md +8 -3
  603. package/lib/templates/embedded.js +2 -0
  604. package/lib/templates/manager.js +568 -0
  605. package/lib/templates/nextjs-saas.js +626 -0
  606. package/lib/templates/pack-manager.js +87 -0
  607. package/lib/templates/prompts/generate-plan.js +62 -6
  608. package/lib/templates/prompts/review-code.js +3 -2
  609. package/lib/templates/prompts/section-prompts.js +2 -0
  610. package/lib/templates/prompts/system-prompt.md +5 -0
  611. package/lib/templates/quick-start.js +2 -0
  612. package/lib/templates/ultra.js +16 -7
  613. package/lib/themes/doomsday.js +58 -214
  614. package/lib/time-travel/index.js +59 -0
  615. package/lib/training/dataset.js +50 -0
  616. package/lib/training/evaluate.js +26 -0
  617. package/lib/training/fine-tune.js +56 -0
  618. package/lib/training/index.js +169 -0
  619. package/lib/training/studio.js +36 -0
  620. package/lib/ui/TokenBudget.js +170 -161
  621. package/lib/ui/adaptive.js +226 -0
  622. package/lib/ui/components/ArrowMenu.js +26 -27
  623. package/lib/ui/components/CollapsibleDiff.js +36 -34
  624. package/lib/ui/components/FileSelector.js +16 -20
  625. package/lib/ui/components/LoadingSpinner.js +11 -9
  626. package/lib/ui/components/Shimmer.js +15 -13
  627. package/lib/ui/components/Thinking.js +35 -29
  628. package/lib/ui/components/icons.js +5 -3
  629. package/lib/ui/dashboard.js +299 -0
  630. package/lib/ui/diff.js +42 -35
  631. package/lib/ui/gradients.js +19 -0
  632. package/lib/ui/index.js +31 -3
  633. package/lib/ui/interactive.js +108 -105
  634. package/lib/ui/interface.js +202 -168
  635. package/lib/ui/layout.js +7 -3
  636. package/lib/ui/logger.js +144 -4
  637. package/lib/ui/renderer.js +192 -170
  638. package/lib/ui/spinner.js +35 -0
  639. package/lib/ui/spinners.js +65 -58
  640. package/lib/ui/theme.js +138 -88
  641. package/lib/utils/agents.js +9 -7
  642. package/lib/utils/agents.ts +6 -6
  643. package/lib/utils/browser.js +24 -21
  644. package/lib/utils/build-helpers.js +22 -25
  645. package/lib/utils/config-manager.js +135 -51
  646. package/lib/utils/config.js +2 -0
  647. package/lib/utils/contextual-help.js +72 -83
  648. package/lib/utils/dashboard-notifier.js +48 -43
  649. package/lib/utils/enhanced-output.js +4 -2
  650. package/lib/utils/error-handler.js +115 -82
  651. package/lib/utils/error-recovery.js +54 -51
  652. package/lib/utils/errors.js +2 -0
  653. package/lib/utils/fallback.js +2 -0
  654. package/lib/utils/files.js +3 -1
  655. package/lib/utils/graph.js +15 -13
  656. package/lib/utils/help.js +85 -77
  657. package/lib/utils/history.js +73 -69
  658. package/lib/utils/interactive-mode.js +75 -65
  659. package/lib/utils/messages.js +24 -22
  660. package/lib/utils/monitoring.js +62 -46
  661. package/lib/utils/network.js +3 -1
  662. package/lib/utils/output.js +2 -0
  663. package/lib/utils/parser.js +16 -14
  664. package/lib/utils/performance.js +65 -58
  665. package/lib/utils/plugin-system.js +36 -35
  666. package/lib/utils/privacy.js +102 -0
  667. package/lib/utils/profiler.js +26 -22
  668. package/lib/utils/progress.js +171 -17
  669. package/lib/utils/prompt-builder.js +10 -4
  670. package/lib/utils/prompts.js +117 -91
  671. package/lib/utils/reconciler.js +29 -15
  672. package/lib/utils/review-helpers.js +82 -54
  673. package/lib/utils/sessionPersistence.js +114 -25
  674. package/lib/utils/smart-error.js +365 -0
  675. package/lib/utils/snap-progress.js +27 -0
  676. package/lib/utils/spinners.js +9 -7
  677. package/lib/utils/state-sync.js +3 -1
  678. package/lib/utils/status.js +12 -24
  679. package/lib/utils/stream.js +380 -0
  680. package/lib/utils/sync.js +5 -1
  681. package/lib/utils/tables.js +67 -48
  682. package/lib/utils/telemetry.js +127 -0
  683. package/lib/utils/theme-state.js +2 -0
  684. package/lib/utils/token-budget.js +8 -0
  685. package/lib/utils/token-forecast.js +222 -0
  686. package/lib/utils/validation.js +7 -12
  687. package/lib/utils/validation.ts +5 -2
  688. package/lib/utils/version-display.js +6 -4
  689. package/lib/utils/version.js +2 -0
  690. package/lib/verify/21-steps.js +34 -0
  691. package/lib/vibe/interface.js +230 -0
  692. package/lib/vibe/interpreter.js +102 -0
  693. package/lib/vibe/realtime.js +17 -0
  694. package/lib/vision/scanner.js +34 -19
  695. package/lib/visual/index.js +38 -0
  696. package/lib/voice/command.js +63 -0
  697. package/lib/voice/index.js +8 -0
  698. package/lib/voice/whisper.js +267 -0
  699. package/lib/whitelabel/branding.js +17 -0
  700. package/lib/whitelabel/config.js +35 -0
  701. package/lib/whitelabel/theme.js +15 -0
  702. package/package.json +31 -16
  703. package/scripts/install-completion.js +61 -0
  704. package/assets/docs/LAUNCH-POSTS.md +0 -238
package/README.md CHANGED
@@ -10,21 +10,27 @@
10
10
  ### ✨ Major Features
11
11
 
12
12
  #### 🎯 VS Code Extension Sidebar
13
+
13
14
  Full IDE integration with 4 sidebar views:
15
+
14
16
  ```bash
15
17
  # Install from VSIX or marketplace
16
18
  # Access: Agent Explorer, Swarm Status, Context Preview, Quick Actions
17
19
  ```
18
20
 
19
21
  #### ⚡ Real-Time WebSocket Dashboard
22
+
20
23
  Instant updates, no polling:
24
+
21
25
  ```bash
22
26
  npx ultra-dex dashboard # or: npx ultra-dex d
23
27
  # Live agent status, auto-reconnect, connection indicators
24
28
  ```
25
29
 
26
30
  #### 🧠 Session Persistence & Memory
31
+
27
32
  Never lose context:
33
+
28
34
  ```bash
29
35
  npx ultra-dex memory sessions # List all sessions
30
36
  npx ultra-dex memory query "auth" # Search past decisions
@@ -59,7 +65,7 @@ npx ultra-dex setup --quick # Fast defaults
59
65
  ```bash
60
66
  # Quick Aliases
61
67
  npx ultra-dex s "task" # swarm
62
- npx ultra-dex d # dashboard
68
+ npx ultra-dex d # dashboard
63
69
  npx ultra-dex v # verify
64
70
  npx ultra-dex b # build
65
71
  npx ultra-dex g "idea" # generate
@@ -95,6 +101,7 @@ npx ultra-dex watch --sync # Auto-runs sync --brain
95
101
  ### 📚 Example Repositories
96
102
 
97
103
  Complete starter templates:
104
+
98
105
  - **E-commerce** (Next.js + Stripe + PostgreSQL)
99
106
  - **SaaS Analytics** (ClickHouse + Redis + Real-time)
100
107
  - **Real-time Chat** (Socket.io + WebSocket)
@@ -139,6 +146,7 @@ npx ultra-dex dashboard
139
146
  ## 📖 Core Commands
140
147
 
141
148
  ### Project Management
149
+
142
150
  ```bash
143
151
  npx ultra-dex init # Initialize new project
144
152
  npx ultra-dex generate "idea" # AI-generated implementation plan
@@ -149,6 +157,7 @@ npx ultra-dex verify # Verify implementation completeness
149
157
  ```
150
158
 
151
159
  ### Development
160
+
152
161
  ```bash
153
162
  npx ultra-dex build # Build project
154
163
  npx ultra-dex validate # Validate against standards
@@ -158,6 +167,7 @@ npx ultra-dex exec "code" # Execute in sandbox
158
167
  ```
159
168
 
160
169
  ### Monitoring & Control
170
+
161
171
  ```bash
162
172
  npx ultra-dex dashboard # Open God Mode dashboard
163
173
  npx ultra-dex serve # Start MCP server
@@ -168,6 +178,7 @@ npx ultra-dex metrics # Show metrics
168
178
  ```
169
179
 
170
180
  ### Advanced
181
+
171
182
  ```bash
172
183
  npx ultra-dex sync --brain # Auto-sync CONTEXT.md
173
184
  npx ultra-dex cloud # Cloud collaboration
@@ -183,7 +194,9 @@ npx ultra-dex history # Command history
183
194
  ## 🎯 Key Features
184
195
 
185
196
  ### 1. 21-Step Verification Framework
197
+
186
198
  Every task follows production-ready standards:
199
+
187
200
  1. Understand requirement
188
201
  2. List assumptions
189
202
  3. Analyze logic flow
@@ -207,7 +220,9 @@ Every task follows production-ready standards:
207
220
  21. Final verify
208
221
 
209
222
  ### 2. 34 Cursor Rules
223
+
210
224
  Production-grade coding standards:
225
+
211
226
  - Core principles, TypeScript, React patterns
212
227
  - Authentication, database, testing
213
228
  - Security, performance, accessibility
@@ -216,7 +231,9 @@ Production-grade coding standards:
216
231
  [View Rules](./cli/assets/cursor-rules/)
217
232
 
218
233
  ### 3. Agent Ecosystem
234
+
219
235
  **17 Specialized Agents:**
236
+
220
237
  - **Leadership:** @cto, @planner, @research
221
238
  - **Development:** @backend, @frontend, @database
222
239
  - **Security:** @auth, @security
@@ -226,7 +243,9 @@ Production-grade coding standards:
226
243
  - **Meta:** @orchestrator
227
244
 
228
245
  ### 4. Template System
246
+
229
247
  **3 Template Variants:**
248
+
230
249
  - **LITE** (12 sections) - Quick MVPs
231
250
  - **FULL** (34 sections) - Complete projects
232
251
  - **ENTERPRISE** (50+ sections) - Large-scale
@@ -236,16 +255,19 @@ Production-grade coding standards:
236
255
  ## 🛠️ Installation & Setup
237
256
 
238
257
  ### Prerequisites
239
- - Node.js 18+
258
+
259
+ - Node.js 18+
240
260
  - Git
241
261
  - (Optional) Docker for sandbox execution
242
262
 
243
263
  ### Install
264
+
244
265
  ```bash
245
266
  npm install -g ultra-dex
246
267
  ```
247
268
 
248
269
  ### First-Time Setup
270
+
249
271
  ```bash
250
272
  npx ultra-dex setup
251
273
  # Interactive wizard configures:
@@ -256,12 +278,13 @@ npx ultra-dex setup
256
278
  ```
257
279
 
258
280
  ### Shell Completions
281
+
259
282
  ```bash
260
283
  # Bash
261
284
  source <(ultra-dex completions bash)
262
285
  # Add to ~/.bashrc for persistence
263
286
 
264
- # Zsh
287
+ # Zsh
265
288
  source <(ultra-dex completions zsh)
266
289
  # Add to ~/.zshrc for persistence
267
290
  ```
@@ -282,6 +305,7 @@ source <(ultra-dex completions zsh)
282
305
  ## 🎓 Learning Path
283
306
 
284
307
  ### Beginner (Day 1)
308
+
285
309
  ```bash
286
310
  npx ultra-dex init # Create project
287
311
  npx ultra-dex generate "Todo app" # Generate plan
@@ -289,6 +313,7 @@ npx ultra-dex align # Check alignment
289
313
  ```
290
314
 
291
315
  ### Intermediate (Week 1)
316
+
292
317
  ```bash
293
318
  npx ultra-dex swarm "Feature X" # Run agents
294
319
  npx ultra-dex dashboard # Monitor progress
@@ -296,6 +321,7 @@ npx ultra-dex verify # Verify completion
296
321
  ```
297
322
 
298
323
  ### Advanced (Month 1)
324
+
299
325
  ```bash
300
326
  npx ultra-dex voice "Complex system" # Voice input
301
327
  npx ultra-dex sync --brain # Auto-sync
@@ -353,24 +379,28 @@ my-project/
353
379
  ### Common Issues
354
380
 
355
381
  **Command not found:**
382
+
356
383
  ```bash
357
384
  npm install -g ultra-dex
358
385
  # Or use: npx ultra-dex
359
386
  ```
360
387
 
361
388
  **API key errors:**
389
+
362
390
  ```bash
363
391
  npx ultra-dex setup # Configure keys
364
392
  # Or set env var: export ANTHROPIC_API_KEY=...
365
393
  ```
366
394
 
367
395
  **Port already in use:**
396
+
368
397
  ```bash
369
398
  npx ultra-dex serve --port 3003 # Use different port
370
399
  lsof -ti:3001 | xargs kill -9 # Kill process
371
400
  ```
372
401
 
373
402
  **Need help:**
403
+
374
404
  ```bash
375
405
  npx ultra-dex doctor # Diagnostics
376
406
  npx ultra-dex <command> --help # Command help
@@ -381,6 +411,7 @@ npx ultra-dex <command> --help # Command help
381
411
  ## 🌟 Why Ultra-Dex?
382
412
 
383
413
  ### Before Ultra-Dex
414
+
384
415
  - ❌ AI agents forget context between sessions
385
416
  - ❌ No standard for AI-assisted development
386
417
  - ❌ Manual coordination between tools
@@ -388,6 +419,7 @@ npx ultra-dex <command> --help # Command help
388
419
  - ❌ No verification framework
389
420
 
390
421
  ### With Ultra-Dex
422
+
391
423
  - ✅ Persistent memory across sessions
392
424
  - ✅ 21-step production-ready framework
393
425
  - ✅ Coordinated agent swarms
@@ -399,11 +431,13 @@ npx ultra-dex <command> --help # Command help
399
431
  ## 📈 Roadmap
400
432
 
401
433
  ### v3.6.0 (March 2026)
434
+
402
435
  - Deep Graph RAG (FalkorDB/Neo4j)
403
436
  - Enterprise Auth (SSO/SAML)
404
437
  - LangGraph Integration
405
438
 
406
439
  ### v4.0.0 (Q2 2026)
440
+
407
441
  - AI Agent Protocol SDK
408
442
  - JetBrains/Neovim plugins
409
443
  - Agent Marketplace
@@ -415,6 +449,7 @@ npx ultra-dex <command> --help # Command help
415
449
  We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md)
416
450
 
417
451
  ### Ways to Contribute
452
+
418
453
  - Report bugs
419
454
  - Suggest features
420
455
  - Add cursor rules
@@ -437,7 +472,7 @@ MIT License - see [LICENSE](./LICENSE)
437
472
 
438
473
  ---
439
474
 
440
- **Ultra-Dex v3.5.0** - *The most complete AI orchestration platform for developers.*
475
+ **Ultra-Dex v3.5.0** - _The most complete AI orchestration platform for developers._
441
476
 
442
477
  🚀 **Ready for production. Ready for you.** 🚀
443
478
 
@@ -26,6 +26,7 @@ You are the **Ultra-Dex Orchestrator**, a meta-agent that coordinates all 16 spe
26
26
  For any feature, follow this sequence:
27
27
 
28
28
  ### Phase 1: Planning (Leadership Tier)
29
+
29
30
  ```
30
31
  @Planner → Break down into atomic tasks (4-9 hours each)
31
32
  @Research → Evaluate technology options if needed
@@ -33,6 +34,7 @@ For any feature, follow this sequence:
33
34
  ```
34
35
 
35
36
  ### Phase 2: Implementation (Development Tier)
37
+
36
38
  ```
37
39
  @Database → Schema design and migrations
38
40
  @Backend → API endpoints and business logic
@@ -40,12 +42,14 @@ For any feature, follow this sequence:
40
42
  ```
41
43
 
42
44
  ### Phase 3: Security (Security Tier)
45
+
43
46
  ```
44
47
  @Auth → Authentication and authorization
45
48
  @Security → Security audit and vulnerability check
46
49
  ```
47
50
 
48
51
  ### Phase 4: Quality (Quality Tier)
52
+
49
53
  ```
50
54
  @Testing → Write and run tests
51
55
  @Reviewer → Code review and approval
@@ -53,11 +57,13 @@ For any feature, follow this sequence:
53
57
  ```
54
58
 
55
59
  ### Phase 5: Deployment (DevOps Tier)
60
+
56
61
  ```
57
62
  @DevOps → Deploy to staging → production
58
63
  ```
59
64
 
60
65
  ### Phase 6: Optimization (Specialist Tier - if needed)
66
+
61
67
  ```
62
68
  @Performance → Optimize slow paths
63
69
  @Refactoring → Clean up code debt
@@ -73,31 +79,36 @@ Use this prompt to start any complete feature:
73
79
  ## Feature: [FEATURE NAME]
74
80
 
75
81
  ### 1. Requirements
82
+
76
83
  - [What the feature does]
77
84
  - [Who uses it]
78
85
  - [Success criteria]
79
86
 
80
87
  ### 2. Agent Workflow
81
- | Phase | Agent | Task | Status |
82
- |-------|-------|------|--------|
83
- | Planning | @Planner | Break down tasks | [ ] |
84
- | Planning | @CTO | Architecture approval | [ ] |
85
- | Implementation | @Database | Schema design | [ ] |
86
- | Implementation | @Backend | API endpoints | [ ] |
87
- | Implementation | @Frontend | UI components | [ ] |
88
- | Security | @Auth | Auth implementation | [ ] |
89
- | Security | @Security | Security audit | [ ] |
90
- | Quality | @Testing | Write tests | [ ] |
91
- | Quality | @Reviewer | Code review | [ ] |
92
- | Deployment | @DevOps | Deploy to production | [ ] |
88
+
89
+ | Phase | Agent | Task | Status |
90
+ | -------------- | --------- | --------------------- | ------ |
91
+ | Planning | @Planner | Break down tasks | [ ] |
92
+ | Planning | @CTO | Architecture approval | [ ] |
93
+ | Implementation | @Database | Schema design | [ ] |
94
+ | Implementation | @Backend | API endpoints | [ ] |
95
+ | Implementation | @Frontend | UI components | [ ] |
96
+ | Security | @Auth | Auth implementation | [ ] |
97
+ | Security | @Security | Security audit | [ ] |
98
+ | Quality | @Testing | Write tests | [ ] |
99
+ | Quality | @Reviewer | Code review | [ ] |
100
+ | Deployment | @DevOps | Deploy to production | [ ] |
93
101
 
94
102
  ### 3. Current Phase
103
+
95
104
  [PHASE NAME] - [AGENT] working on [TASK]
96
105
 
97
106
  ### 4. Handoff Context
107
+
98
108
  [What the next agent needs to know]
99
109
 
100
110
  ### 5. Blockers
111
+
101
112
  [Any issues preventing progress]
102
113
  ```
103
114
 
@@ -109,37 +120,43 @@ Use this prompt to start any complete feature:
109
120
  ## Feature: User Authentication with Email + OAuth
110
121
 
111
122
  ### 1. Requirements
123
+
112
124
  - Email/password login
113
125
  - Google OAuth
114
126
  - Protected routes
115
127
  - Session management
116
128
 
117
129
  ### 2. Agent Workflow
118
- | Phase | Agent | Task | Status |
119
- |-------|-------|------|--------|
120
- | Planning | @Planner | Break into 6 tasks | [x] |
121
- | Planning | @CTO | Approve Clerk vs NextAuth | [x] |
122
- | Implementation | @Database | User schema + sessions | [x] |
123
- | Implementation | @Backend | Auth API routes | [x] |
124
- | Implementation | @Frontend | Login/signup pages | [x] |
125
- | Security | @Auth | Middleware + RLS | [x] |
126
- | Security | @Security | Security audit | [x] |
127
- | Quality | @Testing | Auth tests | [ ] |
128
- | Quality | @Reviewer | Code review | [ ] |
129
- | Deployment | @DevOps | Deploy with env vars | [ ] |
130
+
131
+ | Phase | Agent | Task | Status |
132
+ | -------------- | --------- | ------------------------- | ------ |
133
+ | Planning | @Planner | Break into 6 tasks | [x] |
134
+ | Planning | @CTO | Approve Clerk vs NextAuth | [x] |
135
+ | Implementation | @Database | User schema + sessions | [x] |
136
+ | Implementation | @Backend | Auth API routes | [x] |
137
+ | Implementation | @Frontend | Login/signup pages | [x] |
138
+ | Security | @Auth | Middleware + RLS | [x] |
139
+ | Security | @Security | Security audit | [x] |
140
+ | Quality | @Testing | Auth tests | [ ] |
141
+ | Quality | @Reviewer | Code review | [ ] |
142
+ | Deployment | @DevOps | Deploy with env vars | [ ] |
130
143
 
131
144
  ### 3. Current Phase
145
+
132
146
  Quality - @Testing working on auth tests
133
147
 
134
148
  ### 4. Handoff Context
149
+
135
150
  Auth implementation complete with:
151
+
136
152
  - Clerk integration (auth.ts)
137
153
  - Protected middleware (middleware.ts)
138
154
  - Login page (app/login/page.tsx)
139
155
  - User dashboard (app/dashboard/page.tsx)
140
- Test coverage needed for: login, logout, OAuth, protected routes
156
+ Test coverage needed for: login, logout, OAuth, protected routes
141
157
 
142
158
  ### 5. Blockers
159
+
143
160
  None
144
161
  ```
145
162
 
@@ -148,6 +165,7 @@ None
148
165
  ## Quick Orchestration Commands
149
166
 
150
167
  **Complete Feature:**
168
+
151
169
  ```
152
170
  Orchestrate: [Feature Name]
153
171
  - Start from planning
@@ -156,6 +174,7 @@ Orchestrate: [Feature Name]
156
174
  ```
157
175
 
158
176
  **Partial Feature (skip planning):**
177
+
159
178
  ```
160
179
  Orchestrate: [Feature Name]
161
180
  - Architecture: [Already decided]
@@ -164,6 +183,7 @@ Orchestrate: [Feature Name]
164
183
  ```
165
184
 
166
185
  **Hotfix (minimal workflow):**
186
+
167
187
  ```
168
188
  Orchestrate Hotfix: [Bug Description]
169
189
  - @Debugger → @Testing → @DevOps
@@ -183,24 +203,29 @@ When transitioning between agents:
183
203
  5. **Link** to relevant documentation
184
204
 
185
205
  Example handoff:
206
+
186
207
  ```markdown
187
208
  ## Handoff: @Database → @Backend
188
209
 
189
210
  ### Completed
211
+
190
212
  - User schema with multi-tenancy (orgId)
191
213
  - Session table for auth
192
214
  - Migration: 20240115_add_users.sql
193
215
 
194
216
  ### Files Changed
217
+
195
218
  - prisma/schema.prisma (User, Session, Organization models)
196
219
  - prisma/migrations/20240115_add_users/
197
220
 
198
221
  ### For @Backend
222
+
199
223
  - Create CRUD endpoints for User
200
224
  - Implement org-scoped queries (WHERE orgId = ?)
201
225
  - Auth middleware should set orgId from session
202
226
 
203
227
  ### Constraints
228
+
204
229
  - All queries must be org-scoped (multi-tenant)
205
230
  - Use Prisma client, not raw SQL
206
231
  ```
@@ -215,6 +240,7 @@ Example handoff:
215
240
  - **Single component**: Use the specific agent directly
216
241
 
217
242
  **Use Orchestrator when:**
243
+
218
244
  - Building a complete new feature
219
245
  - Feature spans multiple tiers (DB + API + UI)
220
246
  - Security-sensitive features (auth, payments)
@@ -222,4 +248,4 @@ Example handoff:
222
248
 
223
249
  ---
224
250
 
225
- *Ultra-Dex v1.7.0 - Meta Orchestration for Production Features*
251
+ _Ultra-Dex v1.7.0 - Meta Orchestration for Production Features_
@@ -6,71 +6,77 @@ Quick reference for all 16 production agents organized by tier.
6
6
 
7
7
  ## 0. Meta Orchestration
8
8
 
9
- | Agent | Role | When to Use | File |
10
- |-------|------|-------------|------|
9
+ | Agent | Role | When to Use | File |
10
+ | ----------------- | ------------------------------------------- | ------------------------------------------ | ---------------------------------------------------- |
11
11
  | **@Orchestrator** | Coordinate all agents for complete features | Building features that span multiple tiers | [orchestrator.md](./0-orchestration/orchestrator.md) |
12
12
 
13
13
  ---
14
14
 
15
15
  ## 1. Leadership Tier
16
+
16
17
  Strategic planning and technology decisions.
17
18
 
18
- | Agent | Role | When to Use | File |
19
- |-------|------|-------------|------|
20
- | **@CTO** | Architecture & tech stack decisions | Major features, system design, stack choices | [cto.md](./1-leadership/cto.md) |
21
- | **@Planner** | Task breakdown & sprint planning | Starting any feature, breaking down work | [planner.md](./1-leadership/planner.md) |
22
- | **@Research** | Technology evaluation & comparison | Choosing frameworks, libraries, approaches | [research.md](./1-leadership/research.md) |
19
+ | Agent | Role | When to Use | File |
20
+ | ------------- | ----------------------------------- | -------------------------------------------- | ----------------------------------------- |
21
+ | **@CTO** | Architecture & tech stack decisions | Major features, system design, stack choices | [cto.md](./1-leadership/cto.md) |
22
+ | **@Planner** | Task breakdown & sprint planning | Starting any feature, breaking down work | [planner.md](./1-leadership/planner.md) |
23
+ | **@Research** | Technology evaluation & comparison | Choosing frameworks, libraries, approaches | [research.md](./1-leadership/research.md) |
23
24
 
24
25
  ---
25
26
 
26
27
  ## 2. Development Tier
28
+
27
29
  Core implementation of features.
28
30
 
29
- | Agent | Role | When to Use | File |
30
- |-------|------|-------------|------|
31
- | **@Backend** | API & server implementation | Building endpoints, business logic | [backend.md](./2-development/backend.md) |
32
- | **@Database** | Schema design & query optimization | Database changes, migrations | [database.md](./2-development/database.md) |
33
- | **@Frontend** | UI & component implementation | Building pages, components, user flows | [frontend.md](./2-development/frontend.md) |
31
+ | Agent | Role | When to Use | File |
32
+ | ------------- | ---------------------------------- | -------------------------------------- | ------------------------------------------ |
33
+ | **@Backend** | API & server implementation | Building endpoints, business logic | [backend.md](./2-development/backend.md) |
34
+ | **@Database** | Schema design & query optimization | Database changes, migrations | [database.md](./2-development/database.md) |
35
+ | **@Frontend** | UI & component implementation | Building pages, components, user flows | [frontend.md](./2-development/frontend.md) |
34
36
 
35
37
  ---
36
38
 
37
39
  ## 3. Security Tier
40
+
38
41
  Authentication, authorization, and security audits.
39
42
 
40
- | Agent | Role | When to Use | File |
41
- |-------|------|-------------|------|
42
- | **@Auth** | Authentication & authorization | Login, permissions, user management | [auth.md](./3-security/auth.md) |
43
+ | Agent | Role | When to Use | File |
44
+ | ------------- | ------------------------------------- | ----------------------------------- | --------------------------------------- |
45
+ | **@Auth** | Authentication & authorization | Login, permissions, user management | [auth.md](./3-security/auth.md) |
43
46
  | **@Security** | Security audits & vulnerability fixes | Before deployment, security reviews | [security.md](./3-security/security.md) |
44
47
 
45
48
  ---
46
49
 
47
50
  ## 4. DevOps Tier
51
+
48
52
  Deployment and infrastructure management.
49
53
 
50
- | Agent | Role | When to Use | File |
51
- |-------|------|-------------|------|
54
+ | Agent | Role | When to Use | File |
55
+ | ----------- | --------------------------- | ----------------------------- | --------------------------------- |
52
56
  | **@DevOps** | Deployment & infrastructure | Shipping to production, CI/CD | [devops.md](./4-devops/devops.md) |
53
57
 
54
58
  ---
55
59
 
56
60
  ## 5. Quality Tier
61
+
57
62
  Testing, debugging, and code review.
58
63
 
59
- | Agent | Role | When to Use | File |
60
- |-------|------|-------------|------|
61
- | **@Debugger** | Bug investigation & fixes | When something breaks, troubleshooting | [debugger.md](./5-quality/debugger.md) |
64
+ | Agent | Role | When to Use | File |
65
+ | ------------------ | ------------------------------------ | ---------------------------------------- | ------------------------------------------------ |
66
+ | **@Debugger** | Bug investigation & fixes | When something breaks, troubleshooting | [debugger.md](./5-quality/debugger.md) |
62
67
  | **@Documentation** | Technical writing & docs maintenance | Updating docs, API documentation, guides | [documentation.md](./5-quality/documentation.md) |
63
- | **@Reviewer** | Code review & quality checks | Before merging, final approval | [reviewer.md](./5-quality/reviewer.md) |
64
- | **@Testing** | QA & test automation | Writing tests, ensuring coverage | [testing.md](./5-quality/testing.md) |
68
+ | **@Reviewer** | Code review & quality checks | Before merging, final approval | [reviewer.md](./5-quality/reviewer.md) |
69
+ | **@Testing** | QA & test automation | Writing tests, ensuring coverage | [testing.md](./5-quality/testing.md) |
65
70
 
66
71
  ---
67
72
 
68
73
  ## 6. Specialist Tier
74
+
69
75
  Advanced optimization and code improvement.
70
76
 
71
- | Agent | Role | When to Use | File |
72
- |-------|------|-------------|------|
73
- | **@Performance** | Performance optimization | Slow pages/APIs, optimization needed | [performance.md](./6-specialist/performance.md) |
77
+ | Agent | Role | When to Use | File |
78
+ | ---------------- | ------------------------------ | ------------------------------------- | ----------------------------------------------- |
79
+ | **@Performance** | Performance optimization | Slow pages/APIs, optimization needed | [performance.md](./6-specialist/performance.md) |
74
80
  | **@Refactoring** | Code quality & design patterns | Cleaning up code, reducing complexity | [refactoring.md](./6-specialist/refactoring.md) |
75
81
 
76
82
  ---
@@ -114,25 +120,29 @@ Advanced optimization and code improvement.
114
120
  For complete multi-agent workflows and coordination patterns, see:
115
121
 
116
122
  **Production Guides:**
123
+
117
124
  - [Project Orchestration Guide](../guides/PROJECT-ORCHESTRATION.md) - Step-by-step multi-agent workflows
118
125
  - [Advanced Workflows](../guides/ADVANCED-WORKFLOWS.md) - Stripe, emails, migrations, real-time features
119
126
  - [Multi-Tool Workflow](../guides/MULTI-TOOL-WORKFLOW.md) - Coordinate Claude + Cursor + Copilot + ChatGPT
120
127
  - [Custom Agents Guide](../guides/CUSTOM-AGENTS-GUIDE.md) - Create domain-specific agents for your SaaS
121
128
 
122
129
  **Orchestration Examples:**
130
+
123
131
  - [Orchestration Examples](../Orchestration/EXAMPLES.md) - Real-world multi-agent workflow examples
124
132
  - [Orchestration README](../Orchestration/README.md) - Orchestration pattern overview
125
133
 
126
134
  **Templates:**
135
+
127
136
  - [Phase Tracker Template](../templates/PHASE-TRACKER-TEMPLATE.md) - Track progress by phase
128
137
  - [Order Tracker Template](../templates/ORDER-TRACKER-TEMPLATE.md) - Step-by-step execution with copy-paste prompts
129
138
  - [Master Plan Template](../templates/MASTER-PLAN-TEMPLATE.md) - Single-file project overview
130
139
 
131
140
  **Decision Frameworks:**
141
+
132
142
  - [Database Selection Guide](../guides/DATABASE-DECISION-FRAMEWORK.md) - PostgreSQL vs MongoDB vs MySQL
133
143
  - [Architecture Patterns](../guides/ARCHITECTURE-PATTERNS.md) - Monolith to Microservices
134
144
  - [AI Model Selection](../guides/AI-MODEL-SELECTION.md) - Choose the right AI for each task
135
145
 
136
146
  ---
137
147
 
138
- *Ultra-Dex v1.7.1 - Professional AI Orchestration Meta Layer*
148
+ _Ultra-Dex v1.7.1 - Professional AI Orchestration Meta Layer_