@a-company/paradigm 5.10.0 → 5.21.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 (409) hide show
  1. package/dist/accept-orchestration-IUAWQZUN.js +18 -0
  2. package/dist/add-P76GEMGF.js +8 -0
  3. package/dist/agent-UUTYOFTH.js +33 -0
  4. package/dist/agent-loader-EPXURMO7.js +2 -0
  5. package/dist/agent-loader-PYGPX6D2.js +2 -0
  6. package/dist/agent-state-KSQ3S7OB.js +2 -0
  7. package/dist/agents-suggest-HYTFMQD3.js +10 -0
  8. package/dist/aggregate-W66DM3GA.js +10 -0
  9. package/dist/ambient-HYZR42NX.js +35 -0
  10. package/dist/assess-UFPYEJKP.js +9 -0
  11. package/dist/auto-RHJXOZFL.js +14 -0
  12. package/dist/beacon-5QVYV5DF.js +13 -0
  13. package/dist/calibration-OLJYB5HN.js +7 -0
  14. package/dist/check-THVGY4R5.js +14 -0
  15. package/dist/chunk-22ISTMKI.js +31 -0
  16. package/dist/chunk-2QO33NYK.js +3 -0
  17. package/dist/chunk-33LKBMVK.js +134 -0
  18. package/dist/chunk-4QADCWPU.js +7 -0
  19. package/dist/chunk-4TXOVRWD.js +3 -0
  20. package/dist/chunk-4UJ4NIEQ.js +4 -0
  21. package/dist/chunk-4ZGGWZ32.js +3 -0
  22. package/dist/chunk-5TAVYPOV.js +2 -0
  23. package/dist/chunk-6EX37L4Q.js +8 -0
  24. package/dist/chunk-AD5TAD2A.js +5 -0
  25. package/dist/chunk-AGVAHVUA.js +2 -0
  26. package/dist/chunk-AO7ZSRME.js +13 -0
  27. package/dist/chunk-BFD3GFRK.js +2 -0
  28. package/dist/chunk-D34YFK4M.js +6 -0
  29. package/dist/chunk-DVZWCXB6.js +2 -0
  30. package/dist/chunk-EKZDFEJW.js +2 -0
  31. package/dist/chunk-ET5XJTSX.js +2 -0
  32. package/dist/chunk-FYDRENK7.js +3 -0
  33. package/dist/chunk-HMQ5BHP2.js +743 -0
  34. package/dist/chunk-HXKWL3VK.js +29 -0
  35. package/dist/chunk-IZSBGW6E.js +2 -0
  36. package/dist/chunk-J32OPJEX.js +2 -0
  37. package/dist/chunk-JBDMCRPP.js +7 -0
  38. package/dist/chunk-JIXHEBGK.js +7 -0
  39. package/dist/chunk-JNSJVCTU.js +2 -0
  40. package/dist/chunk-JQKKVAAN.js +2 -0
  41. package/dist/chunk-KLBH26PA.js +429 -0
  42. package/dist/chunk-L6K5HNDL.js +24 -0
  43. package/dist/chunk-LKAT7IAK.js +2 -0
  44. package/dist/chunk-M4UMM6DC.js +5 -0
  45. package/dist/chunk-NKYNHSA5.js +424 -0
  46. package/dist/chunk-NW6OKHE6.js +5 -0
  47. package/dist/chunk-NXRVR37G.js +60 -0
  48. package/dist/chunk-ODVKPZZ4.js +2 -0
  49. package/dist/chunk-PUBB7LIT.js +5 -0
  50. package/dist/chunk-Q2J542ST.js +2 -0
  51. package/dist/chunk-QGZRM6ZB.js +2 -0
  52. package/dist/chunk-QNZEG7IT.js +13 -0
  53. package/dist/chunk-QT2LKB3P.js +7 -0
  54. package/dist/chunk-RVRARWSY.js +9 -0
  55. package/dist/chunk-T6IDXUUA.js +2 -0
  56. package/dist/chunk-TYWB5IQJ.js +3 -0
  57. package/dist/chunk-UIKLE3WD.js +2 -0
  58. package/dist/chunk-V7K6CQVX.js +111 -0
  59. package/dist/chunk-VCKKJDLP.js +8 -0
  60. package/dist/chunk-VG7FN2TU.js +4 -0
  61. package/dist/chunk-W5IWDW4Y.js +16 -0
  62. package/dist/chunk-W7C6FFMO.js +8 -0
  63. package/dist/chunk-WESTEMIM.js +10 -0
  64. package/dist/chunk-WR6D3SC6.js +5 -0
  65. package/dist/chunk-WS2N27RX.js +3 -0
  66. package/dist/chunk-XMAV5AG6.js +2 -0
  67. package/dist/chunk-XROULIQN.js +2 -0
  68. package/dist/chunk-XUFYOXOU.js +3 -0
  69. package/dist/chunk-Y4XFVDZC.js +3 -0
  70. package/dist/chunk-Y6KXTQBG.js +2 -0
  71. package/dist/{chunk-GTR2TBIJ.js → chunk-Z2UZUCY6.js} +237 -1047
  72. package/dist/chunk-Z34K6GY2.js +8 -0
  73. package/dist/claude-4LR3LJQZ.js +13 -0
  74. package/dist/claude-cli-UP6HGH7C.js +6 -0
  75. package/dist/claude-code-RLJ4GX77.js +11 -0
  76. package/dist/claude-code-teams-R37HJY3Y.js +29 -0
  77. package/dist/commands-LMUD5L6R.js +455 -0
  78. package/dist/compliance-GZ7UAOG3.js +6 -0
  79. package/dist/conductor-Y5IXELTL.js +4 -0
  80. package/dist/config-schema-HR7LDEQ6.js +2 -0
  81. package/dist/constellation-CG7C4WFE.js +13 -0
  82. package/dist/context-audit-RSSRX6XC.js +6 -0
  83. package/dist/cost-IDNVMAEV.js +10 -0
  84. package/dist/cost-PK4KIF7R.js +2 -0
  85. package/dist/cursor-cli-QKF7Z6M2.js +4 -0
  86. package/dist/cursorrules-U5O4G5T4.js +14 -0
  87. package/dist/decision-loader-2XPZE4EZ.js +2 -0
  88. package/dist/delete-P5VULXR4.js +14 -0
  89. package/dist/diff-RTFUKJHF.js +9 -0
  90. package/dist/discipline-H7LDI6NT.js +2 -0
  91. package/dist/dist-3ZCH25SG.js +2 -0
  92. package/dist/dist-KGRCLBJP-2QAPFYNF.js +39 -0
  93. package/dist/dist-R3RWD35F.js +2 -0
  94. package/dist/dist-VGFSP3XM.js +2 -0
  95. package/dist/dist-VXCZWVVJ.js +2 -0
  96. package/dist/dist-W3XCATBJ.js +2 -0
  97. package/dist/docs-EDQ2STFK.js +2 -0
  98. package/dist/docs-RXPN6CK7.js +12 -0
  99. package/dist/doctor-2T2QL6VM.js +2 -0
  100. package/dist/drift-ILZE5BFJ.js +13 -0
  101. package/dist/echo-UPTQUEDU.js +46 -0
  102. package/dist/edit-GUU3HBVW.js +9 -0
  103. package/dist/event-Y3VXC2RV.js +3 -0
  104. package/dist/explain-files-3GPZUETV.js +4 -0
  105. package/dist/export-CV5KCTPS.js +2 -0
  106. package/dist/flow-S3RQ4YPY.js +11 -0
  107. package/dist/global-C44FW4G2.js +13 -0
  108. package/dist/graduate-3BBSC27A.js +5 -0
  109. package/dist/graph-CNDE5TAT.js +2 -0
  110. package/dist/graph-server-COZR5C3Z.js +14 -0
  111. package/dist/habits-4J2KRYUL.js +42 -0
  112. package/dist/history-UW454SDP.js +12 -0
  113. package/dist/hooks-XH52VGOU.js +2 -0
  114. package/dist/index.js +15 -1039
  115. package/dist/init-24MAQJFM.js +2 -0
  116. package/dist/integrity-UYDOOJDP.js +7 -0
  117. package/dist/integrity-checker-DHGMZQDG.js +2 -0
  118. package/dist/journal-loader-GLH7XFTK.js +2 -0
  119. package/dist/lint-IGKE6UPS.js +26 -0
  120. package/dist/list-5IUGP3ZB.js +7 -0
  121. package/dist/list-YKIQNKGB.js +6 -0
  122. package/dist/lore-loader-RVQI5GXL.js +2 -0
  123. package/dist/lore-loader-XY5MZRR2.js +2 -0
  124. package/dist/lore-server-FC2GMDLT.js +14 -0
  125. package/dist/manual-RXSPSFLL.js +20 -0
  126. package/dist/mcp.js +93 -20484
  127. package/dist/migrate-X5OMAFAQ.js +59 -0
  128. package/dist/migrate-assessments-GEI5WMI2.js +4 -0
  129. package/dist/model-discovery-HMB3YI4L.js +2 -0
  130. package/dist/nomination-engine-XF7TWPAP.js +2 -0
  131. package/dist/notebook-PE3JSYZI.js +11 -0
  132. package/dist/notebook-loader-CENTDDUJ.js +2 -0
  133. package/dist/orchestrate-35HBQ3O3.js +8 -0
  134. package/dist/peers-P2KXU7ZK.js +5 -0
  135. package/dist/persona-STQWZH5P.js +29 -0
  136. package/dist/pipeline-MZUITRVN.js +4 -0
  137. package/dist/platform-server-2KXHGHFV.js +25 -0
  138. package/dist/plugin-update-checker-M7PW434O.js +2 -0
  139. package/dist/portal-check-3JVNLOEP.js +8 -0
  140. package/dist/portal-compliance-2UG4VKWH.js +2 -0
  141. package/dist/probe-5L5BQDGE.js +6 -0
  142. package/dist/project-type-SURTOIG7.js +2 -0
  143. package/dist/promote-NJQDZBZA.js +8 -0
  144. package/dist/providers-4PXMWA7V.js +8 -0
  145. package/dist/quiz-FE5UGAY2.js +10 -0
  146. package/dist/record-YXPB34MY.js +6 -0
  147. package/dist/reindex-PGDQSM42.js +2 -0
  148. package/dist/remember-MJRNTXYS.js +14 -0
  149. package/dist/retag-N5XF3KXP.js +6 -0
  150. package/dist/review-6UAH6V3R.js +11 -0
  151. package/dist/review-77QI6VOC.js +6 -0
  152. package/dist/ripple-ZGDITCGB.js +10 -0
  153. package/dist/roster-FLRZ5J42.js +2 -0
  154. package/dist/sentinel-HYAZ3CO5.js +19 -0
  155. package/dist/sentinel-bridge-VR357PKL.js +2 -0
  156. package/dist/sentinel-mcp.js +38 -3808
  157. package/dist/sentinel.js +1 -34
  158. package/dist/serve-JE6UF5P2.js +8 -0
  159. package/dist/serve-L52ZUTU6.js +10 -0
  160. package/dist/serve-OY6XYL7F.js +12 -0
  161. package/dist/server-2MNROHF6.js +7 -0
  162. package/dist/server-4YNUIK4W.js +8 -0
  163. package/dist/session-tracker-SKOMBDOW.js +2 -0
  164. package/dist/session-work-log-3MNUDEZ6.js +2 -0
  165. package/dist/session-work-log-J2H5OZBR.js +2 -0
  166. package/dist/setup-3F5IK7MO.js +31 -0
  167. package/dist/setup-KPIMRZ4Q.js +2 -0
  168. package/dist/shift-6GCNH666.js +11 -0
  169. package/dist/show-BOAVWZPZ.js +7 -0
  170. package/dist/show-PJ5LFLIL.js +5 -0
  171. package/dist/snapshot-L2G56RPL.js +8 -0
  172. package/dist/spawn-UH5RENSE.js +12 -0
  173. package/dist/status-77M3SDIF.js +8 -0
  174. package/dist/status-A37ECYNJ.js +6 -0
  175. package/dist/summary-ZJLQ6KHB.js +7 -0
  176. package/dist/sweep-HU74OPVW.js +17 -0
  177. package/dist/switch-CTW4PDGI.js +17 -0
  178. package/dist/symphony-3QMBGCZY.js +2 -0
  179. package/dist/symphony-QI63XL62.js +53 -0
  180. package/dist/symphony-loader-XACVV2E3.js +2 -0
  181. package/dist/symphony-peers-U4KHMKGI.js +2 -0
  182. package/dist/symphony-peers-X5NGWXFP.js +2 -0
  183. package/dist/symphony-relay-5GY5JIPT.js +3 -0
  184. package/dist/sync-QRDSFETO.js +2 -0
  185. package/dist/sync-llms-HL5PPW3M.js +15 -0
  186. package/dist/task-loader-NZFDTUQ5.js +2 -0
  187. package/dist/team-WGERKGNP.js +2 -0
  188. package/dist/test-BQJMS4Y2.js +111 -0
  189. package/dist/thread-HFXK65D4.js +41 -0
  190. package/dist/timeline-K3ZFKJ3R.js +6 -0
  191. package/dist/triage-FCWOZASE.js +18 -0
  192. package/dist/tutorial-UC6YQMNN.js +305 -0
  193. package/dist/university-content/courses/.purpose +74 -5
  194. package/dist/university-content/courses/para-701.json +807 -0
  195. package/dist/university-content/plsat/.purpose +3 -2
  196. package/dist/university-ui/assets/{index-BjewBB6s.js → index-CGFJczb1.js} +2 -2
  197. package/dist/university-ui/assets/{index-BjewBB6s.js.map → index-CGFJczb1.js.map} +1 -1
  198. package/dist/university-ui/index.html +1 -1
  199. package/dist/upgrade-B4IOLZYK.js +53 -0
  200. package/dist/validate-C6SMKGYD.js +9 -0
  201. package/dist/validate-LSCDOLBO.js +13 -0
  202. package/dist/validate-VZXTJHGO.js +6 -0
  203. package/dist/watch-LRM5XD46.js +8 -0
  204. package/dist/watch-PZCCUP6K.js +9 -0
  205. package/dist/wisdom-XZ3QKPNP.js +7 -0
  206. package/dist/work-log-loader-DL5GZ2BQ.js +2 -0
  207. package/dist/workspace-2ODL5WLY.js +2 -0
  208. package/package.json +1 -1
  209. package/platform-ui/dist/assets/AmbientSection-DqQ2mfCO.js +1 -0
  210. package/platform-ui/dist/assets/{CanvasSection-DwPTRdIN.js → CanvasSection-DLW0s-Bu.js} +1 -1
  211. package/platform-ui/dist/assets/{DocsSection-BJc_ws4I.js → DocsSection-BQ9Hi51g.js} +1 -1
  212. package/platform-ui/dist/assets/{GitSection-DhqBo1xc.js → GitSection-QQeUX6o3.js} +1 -1
  213. package/platform-ui/dist/assets/{GraphSection-D9fhVnZ0.js → GraphSection-0c9C-w7K.js} +2 -2
  214. package/platform-ui/dist/assets/{GraphSection-BlgXTl53.css → GraphSection-Bbs2a8sC.css} +1 -1
  215. package/platform-ui/dist/assets/LoreSection--t56kCj2.js +1 -0
  216. package/platform-ui/dist/assets/LoreSection-qnmm3o4y.css +1 -0
  217. package/platform-ui/dist/assets/SentinelSection-C4OoME9U.js +1 -0
  218. package/platform-ui/dist/assets/{SymphonySection-BRoBaUSS.js → SymphonySection-B-rvsLxq.js} +1 -1
  219. package/platform-ui/dist/assets/TeamSection-CBFmNEEo.js +1 -0
  220. package/platform-ui/dist/assets/index-Bxp0TVaf.css +1 -0
  221. package/platform-ui/dist/assets/index-DPpOdAtC.js +57 -0
  222. package/platform-ui/dist/index.html +2 -2
  223. package/dist/accept-orchestration-UQLM7PTQ.js +0 -189
  224. package/dist/add-FZRKEGH4.js +0 -81
  225. package/dist/agent-WERIO2XV.js +0 -523
  226. package/dist/agent-loader-TFIANSF4.js +0 -44
  227. package/dist/agent-state-S5DAWPTF.js +0 -24
  228. package/dist/agents-suggest-DNSYJ6IA.js +0 -83
  229. package/dist/aggregate-H57K7PNV.js +0 -88
  230. package/dist/assess-4WVXZLZQ.js +0 -68
  231. package/dist/auto-QFS5NHQU.js +0 -504
  232. package/dist/beacon-KXZXYQHX.js +0 -251
  233. package/dist/calibration-V46G7JTY.js +0 -135
  234. package/dist/check-OWAIWV23.js +0 -175
  235. package/dist/chunk-2IO7JAG2.js +0 -148
  236. package/dist/chunk-2T6BTYBN.js +0 -712
  237. package/dist/chunk-36TKPM5Z.js +0 -400
  238. package/dist/chunk-45MUDW6E.js +0 -804
  239. package/dist/chunk-4BLYIB7J.js +0 -5701
  240. package/dist/chunk-4L3UTYQX.js +0 -677
  241. package/dist/chunk-4NCFWYGG.js +0 -110
  242. package/dist/chunk-54LTTQBH.js +0 -138
  243. package/dist/chunk-5EWAQHFY.js +0 -269
  244. package/dist/chunk-5JGJACDU.js +0 -37
  245. package/dist/chunk-5OUOLN6M.js +0 -659
  246. package/dist/chunk-5VKJBNJL.js +0 -444
  247. package/dist/chunk-6N3JTACN.js +0 -2260
  248. package/dist/chunk-6QC3YGB6.js +0 -114
  249. package/dist/chunk-7N7GSU6K.js +0 -34
  250. package/dist/chunk-ABVQGRF7.js +0 -268
  251. package/dist/chunk-CL7JSK52.js +0 -129
  252. package/dist/chunk-CSD7IHSN.js +0 -152
  253. package/dist/chunk-EDOAWN7J.js +0 -717
  254. package/dist/chunk-EKGMAM62.js +0 -525
  255. package/dist/chunk-EZ3GOCYC.js +0 -132
  256. package/dist/chunk-F3BCHPYT.js +0 -143
  257. package/dist/chunk-FKJUBQU3.js +0 -3081
  258. package/dist/chunk-GT5QGC2H.js +0 -253
  259. package/dist/chunk-GZDFVP2N.js +0 -540
  260. package/dist/chunk-IRKUEJVW.js +0 -405
  261. package/dist/chunk-J2JEQRT3.js +0 -164
  262. package/dist/chunk-JASGXLK3.js +0 -679
  263. package/dist/chunk-KVDYJLTC.js +0 -121
  264. package/dist/chunk-L27I3CPZ.js +0 -357
  265. package/dist/chunk-LHLIAYQ3.js +0 -185
  266. package/dist/chunk-MCMOGQMU.js +0 -145
  267. package/dist/chunk-NQKQG45G.js +0 -688
  268. package/dist/chunk-PBHIFAL4.js +0 -259
  269. package/dist/chunk-PDX44BCA.js +0 -11
  270. package/dist/chunk-PMXRGPRQ.js +0 -305
  271. package/dist/chunk-RAB5IKPR.js +0 -487
  272. package/dist/chunk-RJE5G7WO.js +0 -590
  273. package/dist/chunk-RTHA3XRE.js +0 -880
  274. package/dist/chunk-S2HO5MLR.js +0 -621
  275. package/dist/chunk-S3ORKP3V.js +0 -716
  276. package/dist/chunk-TAIJOFOE.js +0 -124
  277. package/dist/chunk-TXESEO7Y.js +0 -245
  278. package/dist/chunk-UPLDI7CN.js +0 -1334
  279. package/dist/chunk-VL67H5IC.js +0 -506
  280. package/dist/chunk-VPPK3SY4.js +0 -1136
  281. package/dist/chunk-YMDLDELF.js +0 -314
  282. package/dist/chunk-YO6DVTL7.js +0 -99
  283. package/dist/chunk-YRZ5RPEB.js +0 -1561
  284. package/dist/chunk-ZDHLG5VP.js +0 -5676
  285. package/dist/chunk-ZGUAAVMA.js +0 -756
  286. package/dist/chunk-ZSYVKSY6.js +0 -2602
  287. package/dist/claude-FRRWJSTJ.js +0 -362
  288. package/dist/claude-cli-XJLK2X4L.js +0 -276
  289. package/dist/claude-code-HTBA4XRB.js +0 -126
  290. package/dist/claude-code-teams-T4SP24MD.js +0 -199
  291. package/dist/commands-5N4ILTPH.js +0 -5859
  292. package/dist/conductor-CQVGTEQN.js +0 -161
  293. package/dist/config-schema-EA4XALGG.js +0 -154
  294. package/dist/constellation-A26CCGQS.js +0 -225
  295. package/dist/context-audit-RLO3ETRP.js +0 -682
  296. package/dist/cost-BGM32XJU.js +0 -93
  297. package/dist/cost-VI46A4XL.js +0 -174
  298. package/dist/cursor-cli-JVEZGHWQ.js +0 -269
  299. package/dist/cursorrules-HLIKJJZT.js +0 -84
  300. package/dist/decision-loader-WWCLIQPJ.js +0 -20
  301. package/dist/delete-KBRPQLPC.js +0 -56
  302. package/dist/diff-D4X53HAC.js +0 -126
  303. package/dist/discipline-FA4OZXIS.js +0 -24
  304. package/dist/dist-34NA5RS5.js +0 -74
  305. package/dist/dist-5QE2BB2B-5S3T6Y3T.js +0 -6919
  306. package/dist/dist-77JDTVAY.js +0 -62
  307. package/dist/dist-OGTSAZ55.js +0 -1358
  308. package/dist/dist-QK4SQAK7.js +0 -64
  309. package/dist/dist-TA6LSC2Q.js +0 -20
  310. package/dist/docs-PBZB7LYP.js +0 -89
  311. package/dist/docs-QIYKO3BR.js +0 -155
  312. package/dist/doctor-ULBOHEIC.js +0 -11
  313. package/dist/drift-R5NRKFHI.js +0 -251
  314. package/dist/echo-O2LY7CC2.js +0 -248
  315. package/dist/edit-R2HNLMOG.js +0 -63
  316. package/dist/event-25OJKDCE.js +0 -31
  317. package/dist/export-IWVL7XLF.js +0 -38
  318. package/dist/flow-CRRVV3O3.js +0 -185
  319. package/dist/global-3NG5JXUB.js +0 -136
  320. package/dist/graduate-USAWGBJM.js +0 -160
  321. package/dist/graph-VHUMAAS6.js +0 -12
  322. package/dist/graph-server-YL22VBBN.js +0 -116
  323. package/dist/habits-OL5NGPXO.js +0 -1405
  324. package/dist/history-WOWC573W.js +0 -277
  325. package/dist/hooks-HFWSCGPV.js +0 -12
  326. package/dist/integrity-IHO4FZTS.js +0 -194
  327. package/dist/integrity-checker-PSKJA5SB.js +0 -12
  328. package/dist/journal-loader-5EYSBFFY.js +0 -18
  329. package/dist/lint-K6CJGGPH.js +0 -456
  330. package/dist/list-4YK7QKFF.js +0 -57
  331. package/dist/list-ENR7Q4CR.js +0 -56
  332. package/dist/lore-loader-7NO6N6FT.js +0 -26
  333. package/dist/lore-server-UNJY5KC3.js +0 -118
  334. package/dist/manual-G6FISID5.js +0 -204
  335. package/dist/migrate-LS45DNEV.js +0 -889
  336. package/dist/migrate-assessments-RGH4O6IX.js +0 -97
  337. package/dist/model-discovery-D2H3VBGC.js +0 -8
  338. package/dist/nomination-engine-RV5CNO5B.js +0 -42
  339. package/dist/notebook-YWIYGEHV.js +0 -155
  340. package/dist/orchestrate-JLILBBJE.js +0 -324
  341. package/dist/peers-DEOUIZM6.js +0 -82
  342. package/dist/persona-UHAHIVST.js +0 -390
  343. package/dist/pipeline-L4HCSBGN.js +0 -263
  344. package/dist/platform-server-H5YO3DQD.js +0 -1475
  345. package/dist/plugin-update-checker-KRRSGXMV.js +0 -12
  346. package/dist/portal-check-NPYGII2D.js +0 -42
  347. package/dist/portal-compliance-J7DGAPFX.js +0 -18
  348. package/dist/probe-MHL5HQZ2.js +0 -167
  349. package/dist/promote-F6ZYZZAL.js +0 -182
  350. package/dist/providers-GK7PB2OL.js +0 -104
  351. package/dist/quiz-M66SC7F7.js +0 -99
  352. package/dist/record-RA4WR2BO.js +0 -49
  353. package/dist/reindex-5LTD53ZC.js +0 -16
  354. package/dist/remember-HBWJ655S.js +0 -77
  355. package/dist/retag-3OLCVDEQ.js +0 -62
  356. package/dist/review-27ATYTD2.js +0 -33
  357. package/dist/review-57QMURZV.js +0 -334
  358. package/dist/ripple-JPBXP5I3.js +0 -215
  359. package/dist/sentinel-4XIG4STA.js +0 -63
  360. package/dist/sentinel-bridge-MDUXTQRL.js +0 -109
  361. package/dist/serve-CAH3PHE7.js +0 -33
  362. package/dist/serve-INL7SNBK.js +0 -36
  363. package/dist/serve-KBSE36PL.js +0 -49
  364. package/dist/server-54SKYFFY.js +0 -1647
  365. package/dist/server-XUOIO7E6.js +0 -338
  366. package/dist/session-tracker-C4BMD5WG.js +0 -13
  367. package/dist/session-work-log-MZ47OAPB.js +0 -20
  368. package/dist/setup-EDS27WUR.js +0 -25
  369. package/dist/setup-KO5AFC4K.js +0 -296
  370. package/dist/shift-D2JOHHBF.js +0 -668
  371. package/dist/show-5PV5KFJE.js +0 -176
  372. package/dist/show-NQKYX6WQ.js +0 -82
  373. package/dist/snapshot-BK4RBPCG.js +0 -62
  374. package/dist/spawn-RCHNXDHE.js +0 -196
  375. package/dist/status-WGIAQODY.js +0 -71
  376. package/dist/summary-NIRABMF5.js +0 -140
  377. package/dist/sweep-QMHNSIY5.js +0 -934
  378. package/dist/switch-6EJPZDIA.js +0 -232
  379. package/dist/symphony-4OCY36AI.js +0 -791
  380. package/dist/symphony-B75X2MME.js +0 -326
  381. package/dist/symphony-loader-UZGON56V.js +0 -90
  382. package/dist/symphony-peers-2ZQYLRNI.js +0 -34
  383. package/dist/symphony-peers-OL7F6M5S.js +0 -121
  384. package/dist/symphony-relay-UJYUXN65.js +0 -710
  385. package/dist/sync-VEHUH4OA.js +0 -11
  386. package/dist/sync-llms-YHCFIE6X.js +0 -166
  387. package/dist/task-loader-LDYWQSLM.js +0 -20
  388. package/dist/team-O5MIIFMA.js +0 -34
  389. package/dist/test-566CP5KC.js +0 -1017
  390. package/dist/thread-N754I4D5.js +0 -274
  391. package/dist/timeline-M3CICQFE.js +0 -112
  392. package/dist/triage-HHYGT3HY.js +0 -671
  393. package/dist/tutorial-KD22SUNO.js +0 -666
  394. package/dist/upgrade-H5PF32BW.js +0 -551
  395. package/dist/validate-CNKEKO6A.js +0 -134
  396. package/dist/validate-MB5ULIHS.js +0 -39
  397. package/dist/validate-QH3LADM6.js +0 -64
  398. package/dist/watch-2TKP5PVL.js +0 -199
  399. package/dist/watch-ZF4ML6CD.js +0 -111
  400. package/dist/wisdom-AATMGNFA.js +0 -319
  401. package/dist/work-log-loader-5L45XNYZ.js +0 -14
  402. package/dist/workspace-6E6OSRNU.js +0 -21
  403. package/platform-ui/dist/assets/AmbientSection-WtHfNedO.js +0 -1
  404. package/platform-ui/dist/assets/LoreSection-C3EixkjW.css +0 -1
  405. package/platform-ui/dist/assets/LoreSection-CwDDHrz9.js +0 -1
  406. package/platform-ui/dist/assets/SentinelSection-Cl7e5oZ6.js +0 -1
  407. package/platform-ui/dist/assets/TeamSection-CqSIMrKz.js +0 -1
  408. package/platform-ui/dist/assets/index-CfpZFjea.css +0 -1
  409. package/platform-ui/dist/assets/index-F0KL9xrN.js +0 -57
@@ -1,668 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- teamInitCommand
4
- } from "./chunk-RTHA3XRE.js";
5
- import "./chunk-YRZ5RPEB.js";
6
- import "./chunk-6QC3YGB6.js";
7
- import "./chunk-45MUDW6E.js";
8
- import {
9
- agentsConfigured
10
- } from "./chunk-PMXRGPRQ.js";
11
- import "./chunk-PBHIFAL4.js";
12
- import "./chunk-TXESEO7Y.js";
13
- import "./chunk-5OUOLN6M.js";
14
- import {
15
- hooksInstallCommand
16
- } from "./chunk-GTR2TBIJ.js";
17
- import {
18
- detectProjectRole
19
- } from "./chunk-ABVQGRF7.js";
20
- import {
21
- doctorCommand
22
- } from "./chunk-S3ORKP3V.js";
23
- import "./chunk-5JGJACDU.js";
24
- import {
25
- initCommand
26
- } from "./chunk-JASGXLK3.js";
27
- import {
28
- indexCommand
29
- } from "./chunk-VL67H5IC.js";
30
- import "./chunk-36TKPM5Z.js";
31
- import "./chunk-ZGUAAVMA.js";
32
- import "./chunk-EDOAWN7J.js";
33
- import "./chunk-IRKUEJVW.js";
34
- import "./chunk-J2JEQRT3.js";
35
- import {
36
- detectDiscipline
37
- } from "./chunk-UPLDI7CN.js";
38
- import {
39
- syncCommand
40
- } from "./chunk-2IO7JAG2.js";
41
- import "./chunk-6N3JTACN.js";
42
- import "./chunk-YO6DVTL7.js";
43
- import {
44
- log
45
- } from "./chunk-4NCFWYGG.js";
46
- import "./chunk-YMDLDELF.js";
47
- import "./chunk-PDX44BCA.js";
48
-
49
- // src/commands/shift.ts
50
- import * as fs2 from "fs";
51
- import * as path2 from "path";
52
- import chalk from "chalk";
53
- import ora from "ora";
54
- import * as yaml from "js-yaml";
55
-
56
- // src/core/project-type.ts
57
- import * as fs from "fs";
58
- import * as path from "path";
59
- import { Glob } from "glob";
60
- function detectProjectType(cwd) {
61
- const exists = (p) => {
62
- if (p.includes("*")) {
63
- try {
64
- const matches = new Glob(p, { cwd, nodir: true }).walkSync();
65
- return matches.length > 0;
66
- } catch {
67
- return false;
68
- }
69
- }
70
- return fs.existsSync(path.join(cwd, p));
71
- };
72
- if (exists("project.godot") || exists("Assets/ProjectSettings")) return "game";
73
- if (exists("Package.swift") && !exists("package.json")) {
74
- return exists("Sources/*/App") || exists("**/AppDelegate.swift") ? "macos-app" : "ios-app";
75
- }
76
- if (exists("pubspec.yaml")) return "flutter-app";
77
- if (exists("supabase") && (exists("next.config.*") || exists("vite.config.*"))) return "saas-web-app";
78
- if (exists("next.config.*") || exists("vite.config.*") || exists("nuxt.config.*")) return "web-app";
79
- if (exists("Dockerfile") || exists("prisma") || exists("drizzle.config.*")) return "backend-api";
80
- if (exists("Cargo.toml")) return "rust-project";
81
- if (exists("pyproject.toml") || exists("setup.py") || exists("requirements.txt")) return "python-project";
82
- return "generic";
83
- }
84
- var ROSTER_SUGGESTIONS = {
85
- "saas-web-app": [
86
- "architect",
87
- "builder",
88
- "reviewer",
89
- "tester",
90
- "security",
91
- "documentor",
92
- "designer",
93
- "copywriter",
94
- "performance",
95
- "devops",
96
- "dba",
97
- "e2e",
98
- "dx",
99
- "seo",
100
- "pm",
101
- "product",
102
- "sales",
103
- "legal",
104
- "a11y",
105
- "qa",
106
- "advocate",
107
- "debugger",
108
- "release",
109
- "narrator"
110
- ],
111
- "web-app": [
112
- "architect",
113
- "builder",
114
- "reviewer",
115
- "tester",
116
- "security",
117
- "documentor",
118
- "designer",
119
- "copywriter",
120
- "performance",
121
- "devops",
122
- "e2e",
123
- "seo",
124
- "a11y",
125
- "qa",
126
- "debugger"
127
- ],
128
- "backend-api": [
129
- "architect",
130
- "builder",
131
- "reviewer",
132
- "tester",
133
- "security",
134
- "documentor",
135
- "devops",
136
- "dba",
137
- "performance",
138
- "dx",
139
- "qa",
140
- "debugger",
141
- "release"
142
- ],
143
- "ios-app": [
144
- "architect",
145
- "builder",
146
- "reviewer",
147
- "tester",
148
- "security",
149
- "documentor",
150
- "designer",
151
- "mobile",
152
- "performance",
153
- "a11y",
154
- "qa",
155
- "debugger"
156
- ],
157
- "macos-app": [
158
- "architect",
159
- "builder",
160
- "reviewer",
161
- "tester",
162
- "security",
163
- "documentor",
164
- "designer",
165
- "performance",
166
- "qa",
167
- "debugger"
168
- ],
169
- "flutter-app": [
170
- "architect",
171
- "builder",
172
- "reviewer",
173
- "tester",
174
- "security",
175
- "documentor",
176
- "designer",
177
- "mobile",
178
- "performance",
179
- "a11y",
180
- "debugger"
181
- ],
182
- "game": [
183
- "architect",
184
- "builder",
185
- "reviewer",
186
- "tester",
187
- "documentor",
188
- "gamedev",
189
- "3d",
190
- "audio",
191
- "designer",
192
- "performance",
193
- "debugger"
194
- ],
195
- "rust-project": [
196
- "architect",
197
- "builder",
198
- "reviewer",
199
- "tester",
200
- "security",
201
- "documentor",
202
- "performance",
203
- "debugger",
204
- "qa"
205
- ],
206
- "python-project": [
207
- "architect",
208
- "builder",
209
- "reviewer",
210
- "tester",
211
- "security",
212
- "documentor",
213
- "performance",
214
- "debugger",
215
- "qa"
216
- ],
217
- "generic": [
218
- "architect",
219
- "builder",
220
- "reviewer",
221
- "tester",
222
- "security",
223
- "documentor",
224
- "debugger",
225
- "qa"
226
- ]
227
- };
228
-
229
- // src/commands/shift.ts
230
- async function shiftCommand(options = {}) {
231
- const cwd = process.cwd();
232
- const projectName = path2.basename(cwd);
233
- const paradigmDir = path2.join(cwd, ".paradigm");
234
- const isInitialized = fs2.existsSync(paradigmDir) && fs2.statSync(paradigmDir).isDirectory();
235
- console.log(chalk.blue("\n\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"));
236
- console.log(chalk.blue("\u2502") + chalk.white.bold(" paradigm shift ") + chalk.blue("\u2502"));
237
- console.log(chalk.blue("\u2502") + chalk.gray(" Full project setup in one command ") + chalk.blue("\u2502"));
238
- console.log(chalk.blue("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n"));
239
- console.log(chalk.white(` \u{1F4C1} Project: ${chalk.cyan(projectName)}`));
240
- console.log(chalk.white(` \u{1F4CD} Status: ${isInitialized ? chalk.green("Paradigm detected") : chalk.yellow("New project")}`));
241
- console.log("");
242
- const tracker = log.command("shift").start("Running paradigm shift", { project: projectName });
243
- const spinner = ora();
244
- if (!isInitialized || options.force) {
245
- spinner.start("Step 1/6: Initializing Paradigm...");
246
- try {
247
- await initCommand({
248
- force: options.force,
249
- quick: true,
250
- // We'll scan separately for better UX
251
- name: projectName,
252
- stack: options.stack
253
- });
254
- spinner.succeed(chalk.green("Paradigm initialized"));
255
- } catch (error) {
256
- spinner.fail(chalk.red(`Init failed: ${error.message}`));
257
- tracker.error("Shift failed at init", { error: error.message });
258
- return;
259
- }
260
- } else {
261
- spinner.succeed(chalk.gray("Step 1/6: Already initialized (use --force to reinit)"));
262
- const configPath = path2.join(paradigmDir, "config.yaml");
263
- if (fs2.existsSync(configPath)) {
264
- try {
265
- const configContent = fs2.readFileSync(configPath, "utf8");
266
- const config = yaml.load(configContent);
267
- if (!config.discipline || config.discipline === "auto") {
268
- const detected = detectDiscipline(cwd);
269
- if (detected !== "backend") {
270
- const updated = configContent.replace(
271
- /^discipline:\s*auto\b.*$/m,
272
- `discipline: ${detected}`
273
- );
274
- if (updated !== configContent) {
275
- fs2.writeFileSync(configPath, updated, "utf8");
276
- console.log(chalk.green(` \u2713 Detected discipline: ${chalk.cyan(detected)} (updated config.yaml)`));
277
- }
278
- } else if (!config.discipline) {
279
- const withDiscipline = configContent.replace(
280
- /^(project:\s*.+)$/m,
281
- `$1
282
- discipline: ${detected}`
283
- );
284
- if (withDiscipline !== configContent) {
285
- fs2.writeFileSync(configPath, withDiscipline, "utf8");
286
- console.log(chalk.green(` \u2713 Added discipline: ${chalk.cyan(detected)} to config.yaml`));
287
- }
288
- }
289
- }
290
- } catch (e) {
291
- log.operation("shift").debug("Discipline detection failed", { error: e.message });
292
- }
293
- }
294
- }
295
- if (isInitialized) {
296
- spinner.start("Step 1b/6: Checking for migrations...");
297
- try {
298
- const { migrateCommand } = await import("./migrate-LS45DNEV.js");
299
- await migrateCommand({ apply: true, quiet: true, noSync: true });
300
- spinner.succeed(chalk.green("Migrations applied"));
301
- } catch (error) {
302
- spinner.warn(chalk.yellow(`Migration warning: ${error.message}`));
303
- }
304
- }
305
- {
306
- const configPath = path2.join(paradigmDir, "config.yaml");
307
- if (options.workspace && fs2.existsSync(configPath)) {
308
- const wsFilePath = options.workspacePath ? path2.resolve(cwd, options.workspacePath) : path2.join(path2.dirname(cwd), ".paradigm-workspace");
309
- if (fs2.existsSync(wsFilePath)) {
310
- try {
311
- const wsConfig = yaml.load(fs2.readFileSync(wsFilePath, "utf8"));
312
- const currentName = path2.basename(cwd);
313
- const wsDir = path2.dirname(wsFilePath);
314
- const relPath = "./" + path2.relative(wsDir, cwd);
315
- const alreadyMember = wsConfig.members.some(
316
- (m) => path2.resolve(wsDir, m.path) === cwd
317
- );
318
- if (!alreadyMember) {
319
- const role = detectProjectRole(currentName, cwd);
320
- wsConfig.members.push({
321
- name: currentName,
322
- path: relPath,
323
- ...role && { role }
324
- });
325
- fs2.writeFileSync(
326
- wsFilePath,
327
- yaml.dump(wsConfig, { indent: 2, lineWidth: 120, noRefs: true, sortKeys: false, quotingType: '"' }),
328
- "utf8"
329
- );
330
- console.log(chalk.green(` \u2713 Joined workspace: ${chalk.cyan(wsConfig.name)} (added as member)`));
331
- } else {
332
- console.log(chalk.green(` \u2713 Already a member of workspace: ${chalk.cyan(wsConfig.name)}`));
333
- }
334
- } catch (e) {
335
- console.log(chalk.yellow(` \u26A0 Failed to join workspace: ${e.message}`));
336
- }
337
- } else {
338
- try {
339
- const currentName = path2.basename(cwd);
340
- const wsDir = path2.dirname(wsFilePath);
341
- const relPath = "./" + path2.relative(wsDir, cwd);
342
- const role = detectProjectRole(currentName, cwd);
343
- const wsConfig = {
344
- version: "1.0",
345
- name: options.workspace,
346
- members: [{ name: currentName, path: relPath, ...role && { role } }]
347
- };
348
- fs2.mkdirSync(path2.dirname(wsFilePath), { recursive: true });
349
- fs2.writeFileSync(
350
- wsFilePath,
351
- yaml.dump(wsConfig, { indent: 2, lineWidth: 120, noRefs: true, sortKeys: false, quotingType: '"' }),
352
- "utf8"
353
- );
354
- console.log(chalk.green(` \u2713 Created workspace: ${chalk.cyan(options.workspace)} at ${chalk.gray(path2.relative(cwd, wsFilePath))}`));
355
- } catch (e) {
356
- console.log(chalk.yellow(` \u26A0 Failed to create workspace: ${e.message}`));
357
- }
358
- }
359
- try {
360
- const configContent = fs2.readFileSync(configPath, "utf8");
361
- const config = yaml.load(configContent);
362
- const relWsPath = path2.relative(cwd, wsFilePath);
363
- if (config.workspace !== relWsPath) {
364
- if (config.workspace) {
365
- const updated = configContent.replace(
366
- /^workspace:\s*.*$/m,
367
- `workspace: "${relWsPath}"`
368
- );
369
- fs2.writeFileSync(configPath, updated, "utf8");
370
- } else {
371
- const updated = configContent.trimEnd() + `
372
- workspace: "${relWsPath}"
373
- `;
374
- fs2.writeFileSync(configPath, updated, "utf8");
375
- }
376
- console.log(chalk.green(` \u2713 Linked workspace in config.yaml`));
377
- }
378
- } catch (e) {
379
- log.operation("shift").debug("Workspace config link failed", { error: e.message });
380
- }
381
- } else if (fs2.existsSync(configPath)) {
382
- try {
383
- const configContent = fs2.readFileSync(configPath, "utf8");
384
- const config = yaml.load(configContent);
385
- if (!config.workspace) {
386
- let searchDir = path2.dirname(cwd);
387
- for (let i = 0; i < 3; i++) {
388
- const wsCandidate = path2.join(searchDir, ".paradigm-workspace");
389
- if (fs2.existsSync(wsCandidate)) {
390
- const relPath = path2.relative(cwd, wsCandidate);
391
- const updated = configContent.trimEnd() + `
392
- workspace: "${relPath}"
393
- `;
394
- fs2.writeFileSync(configPath, updated, "utf8");
395
- console.log(chalk.green(` \u2713 Found workspace: ${chalk.cyan(relPath)} (added to config.yaml)`));
396
- break;
397
- }
398
- const parent = path2.dirname(searchDir);
399
- if (parent === searchDir) break;
400
- searchDir = parent;
401
- }
402
- }
403
- } catch (e) {
404
- log.operation("shift").debug("Workspace auto-detect failed", { error: e.message });
405
- }
406
- }
407
- }
408
- const teamConfigured = agentsConfigured(cwd);
409
- if (!teamConfigured || options.force) {
410
- console.log(chalk.cyan(" Step 2/6: Initializing team configuration..."));
411
- try {
412
- await teamInitCommand(cwd, {
413
- force: options.force,
414
- json: false,
415
- configureModels: true,
416
- noConfigureModels: false
417
- });
418
- console.log(chalk.green(" \u2713 Team configuration initialized\n"));
419
- } catch (error) {
420
- console.log(chalk.yellow(` \u26A0 Team init warning: ${error.message}
421
- `));
422
- }
423
- } else {
424
- spinner.succeed(chalk.gray("Step 2/6: Team already configured (use --force to reinit)"));
425
- }
426
- const rosterPath = path2.join(cwd, ".paradigm", "roster.yaml");
427
- if (!fs2.existsSync(rosterPath) || options.force) {
428
- try {
429
- const projectType = detectProjectType(cwd);
430
- const suggested = ROSTER_SUGGESTIONS[projectType] || ROSTER_SUGGESTIONS["generic"];
431
- const rosterData = { version: "1.0", project: projectName, type: projectType, active: suggested.sort() };
432
- fs2.writeFileSync(rosterPath, yaml.dump(rosterData, { lineWidth: -1, noRefs: true }), "utf8");
433
- console.log(chalk.green(` \u2713 Agent roster set: ${chalk.cyan(suggested.length)} agents for ${chalk.cyan(projectType)}`));
434
- } catch (e) {
435
- log.operation("shift").debug("Roster setup failed", { error: e.message });
436
- }
437
- } else {
438
- try {
439
- const existing = yaml.load(fs2.readFileSync(rosterPath, "utf8"));
440
- const count = existing?.active?.length ?? 0;
441
- console.log(chalk.gray(` \u2713 Agent roster exists (${count} agents active)`));
442
- } catch {
443
- console.log(chalk.gray(" \u2713 Agent roster exists"));
444
- }
445
- }
446
- {
447
- const configForTiers = path2.join(paradigmDir, "config.yaml");
448
- if (fs2.existsSync(configForTiers)) {
449
- try {
450
- const configContent = fs2.readFileSync(configForTiers, "utf8");
451
- const config = yaml.load(configContent);
452
- if (!config["model-resolution"] || options.force) {
453
- const { ModelDiscovery } = await import("./model-discovery-D2H3VBGC.js");
454
- const discovery = new ModelDiscovery(cwd);
455
- const env = discovery.detectEnvironment();
456
- let tierMap;
457
- if (env === "claude-code") {
458
- tierMap = { "tier-1": "opus", "tier-2": "sonnet", "tier-3": "haiku" };
459
- } else if (env === "cursor") {
460
- tierMap = { "tier-1": "sonnet", "tier-2": "sonnet", "tier-3": "haiku" };
461
- } else {
462
- tierMap = { "tier-1": "sonnet", "tier-2": "sonnet", "tier-3": "sonnet" };
463
- }
464
- config["model-resolution"] = tierMap;
465
- fs2.writeFileSync(configForTiers, yaml.dump(config, { lineWidth: -1, noRefs: true }), "utf8");
466
- console.log(chalk.green(` \u2713 Model tiers configured for ${chalk.cyan(env)}: tier-1=${tierMap["tier-1"]}, tier-2=${tierMap["tier-2"]}, tier-3=${tierMap["tier-3"]}`));
467
- }
468
- } catch (e) {
469
- log.operation("shift").debug("Model tier config failed", { error: e.message });
470
- }
471
- }
472
- }
473
- if (!options.quick) {
474
- spinner.start("Step 3/6: Scanning and indexing symbols...");
475
- try {
476
- await indexCommand(cwd, { quiet: true });
477
- spinner.succeed(chalk.green("Symbols indexed"));
478
- } catch (error) {
479
- spinner.warn(chalk.yellow(`Scan warning: ${error.message}`));
480
- }
481
- } else {
482
- spinner.succeed(chalk.gray("Step 3/6: Skipped scan (--quick mode)"));
483
- }
484
- {
485
- const configPath = path2.join(paradigmDir, "config.yaml");
486
- if (fs2.existsSync(configPath)) {
487
- try {
488
- const configForWs = yaml.load(fs2.readFileSync(configPath, "utf8"));
489
- if (configForWs.workspace) {
490
- spinner.start("Step 3b/6: Reindexing workspace members...");
491
- try {
492
- const { workspaceReindexCommand } = await import("./workspace-6E6OSRNU.js");
493
- await workspaceReindexCommand({ quiet: true });
494
- spinner.succeed(chalk.green("Workspace members reindexed"));
495
- } catch (e) {
496
- spinner.warn(chalk.yellow(`Workspace reindex: ${e.message}`));
497
- }
498
- }
499
- } catch (e) {
500
- log.operation("shift").debug("Workspace config read failed", { error: e.message });
501
- }
502
- }
503
- }
504
- const portalPath = path2.join(cwd, "portal.yaml");
505
- if (!fs2.existsSync(portalPath)) {
506
- const defaultPortal = { version: "1.0.0", gates: {}, routes: {} };
507
- fs2.writeFileSync(portalPath, yaml.dump(defaultPortal, { lineWidth: -1, noRefs: true }), "utf8");
508
- }
509
- const lorePath = path2.join(cwd, ".paradigm", "lore");
510
- if (!fs2.existsSync(lorePath)) {
511
- fs2.mkdirSync(lorePath, { recursive: true });
512
- }
513
- const uniBase = path2.join(cwd, ".paradigm", "university");
514
- for (const subdir of ["content/notes", "content/policies", "content/quizzes", "content/paths", "diplomas"]) {
515
- const dirPath = path2.join(uniBase, subdir);
516
- if (!fs2.existsSync(dirPath)) {
517
- fs2.mkdirSync(dirPath, { recursive: true });
518
- }
519
- }
520
- const uniConfigPath = path2.join(uniBase, "config.yaml");
521
- if (!fs2.existsSync(uniConfigPath)) {
522
- let projectName2 = "Project";
523
- try {
524
- const configPath = path2.join(cwd, ".paradigm", "config.yaml");
525
- if (fs2.existsSync(configPath)) {
526
- const configData = yaml.load(fs2.readFileSync(configPath, "utf8"));
527
- if (configData.project && typeof configData.project === "string") {
528
- projectName2 = configData.project;
529
- }
530
- }
531
- } catch {
532
- }
533
- const uniConfig = {
534
- branding: {
535
- name: `${projectName2} University`,
536
- tagline: `Learn the ${projectName2} codebase`,
537
- institution: projectName2
538
- },
539
- theme: {
540
- primary: "#6366f1",
541
- secondary: "#8b5cf6",
542
- accent: "#f59e0b",
543
- background: "#0f172a",
544
- surface: "#1e293b",
545
- text: "#f8fafc",
546
- textMuted: "#94a3b8",
547
- success: "#22c55e",
548
- error: "#ef4444",
549
- font: "Inter, system-ui, sans-serif"
550
- },
551
- content: {
552
- categories: [],
553
- defaultDifficulty: "beginner",
554
- requireApproval: false
555
- },
556
- diplomas: {
557
- includeGlobalPLSAT: true
558
- }
559
- };
560
- fs2.writeFileSync(uniConfigPath, yaml.dump(uniConfig, { lineWidth: -1, noRefs: true }), "utf8");
561
- }
562
- spinner.start("Step 4/6: Syncing IDE configurations...");
563
- try {
564
- const ideTargets = options.ide ? [options.ide] : ["claude", "cursor", "copilot", "windsurf", "agents"];
565
- const syncResults = [];
566
- for (const ide of ideTargets) {
567
- try {
568
- await syncCommand(ide, { quiet: true, force: true });
569
- syncResults.push(ide);
570
- } catch (e) {
571
- }
572
- }
573
- if (syncResults.length > 0) {
574
- spinner.succeed(chalk.green(`IDE configs synced: ${syncResults.join(", ")}`));
575
- } else {
576
- spinner.warn(chalk.yellow("No IDE configs to sync"));
577
- }
578
- } catch (error) {
579
- spinner.warn(chalk.yellow(`Sync warning: ${error.message}`));
580
- }
581
- spinner.start("Step 5/6: Installing hooks...");
582
- try {
583
- await hooksInstallCommand({ force: options.force });
584
- spinner.succeed(chalk.green("Hooks installed (git + Claude Code + Cursor)"));
585
- } catch (error) {
586
- spinner.warn(chalk.yellow(`Hooks warning: ${error.message}`));
587
- }
588
- if (options.verify) {
589
- spinner.start("Step 6/6: Running health checks...");
590
- try {
591
- const healthy = await doctorCommand({ quiet: true });
592
- if (healthy) {
593
- spinner.succeed(chalk.green("All health checks passed"));
594
- } else {
595
- spinner.warn(chalk.yellow("Some health checks need attention"));
596
- }
597
- } catch (error) {
598
- spinner.warn(chalk.yellow(`Doctor warning: ${error.message}`));
599
- }
600
- } else {
601
- spinner.succeed(chalk.gray("Step 6/6: Skipped verify (use --verify to check health)"));
602
- }
603
- console.log("");
604
- console.log(chalk.blue("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"));
605
- console.log(chalk.blue("\u2502") + chalk.white.bold(" \u2728 Paradigm shift complete! ") + chalk.blue("\u2502"));
606
- console.log(chalk.blue("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"));
607
- console.log("");
608
- console.log(chalk.white(" Created/Updated:"));
609
- console.log(chalk.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
610
- const files = [
611
- { path: ".paradigm/config.yaml", desc: "Project configuration" },
612
- { path: ".paradigm/navigator.yaml", desc: "Symbol navigation map" },
613
- { path: ".paradigm/agents.yaml", desc: "Team agent configuration" },
614
- { path: ".purpose", desc: "Root feature definitions" },
615
- { path: ".paradigm/lore/", desc: "Project lore timeline", isDir: true },
616
- { path: "portal.yaml", desc: "Authorization gates" },
617
- { path: ".paradigm/roster.yaml", desc: "Agent roster for this project" },
618
- { path: "CLAUDE.md", desc: "Claude Code AI instructions" },
619
- { path: "AGENTS.md", desc: "Universal AI agent instructions" },
620
- { path: ".cursor/rules/", desc: "Cursor AI instructions", isDir: true },
621
- { path: ".claude/hooks/", desc: "Claude Code enforcement hooks", isDir: true, optional: true },
622
- { path: ".cursor/hooks/", desc: "Cursor enforcement hooks", isDir: true, optional: true }
623
- ];
624
- const configPathForSummary = path2.join(paradigmDir, "config.yaml");
625
- if (fs2.existsSync(configPathForSummary)) {
626
- try {
627
- const cfg = yaml.load(fs2.readFileSync(configPathForSummary, "utf8"));
628
- if (typeof cfg.workspace === "string") {
629
- const wsAbsPath = path2.resolve(cwd, cfg.workspace);
630
- const wsRelPath = path2.relative(cwd, wsAbsPath);
631
- files.push({ path: wsRelPath, desc: "Multi-project workspace", optional: true });
632
- }
633
- } catch (e) {
634
- log.operation("shift").debug("Summary config read failed", { error: e.message });
635
- }
636
- }
637
- for (const file of files) {
638
- const fullPath = path2.join(cwd, file.path);
639
- if (fs2.existsSync(fullPath)) {
640
- console.log(chalk.green(" \u2713 ") + chalk.white(file.path.padEnd(28)) + chalk.gray(file.desc));
641
- } else if (!file.optional) {
642
- console.log(chalk.yellow(" \u25CB ") + chalk.gray(file.path.padEnd(28)) + chalk.gray(`(${file.desc})`));
643
- }
644
- }
645
- console.log("");
646
- console.log(chalk.white(" AI agents will now:"));
647
- console.log(chalk.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
648
- console.log(chalk.cyan(" \u2022 ") + chalk.white("Use MCP tools for navigation (paradigm_search, etc.)"));
649
- console.log(chalk.cyan(" \u2022 ") + chalk.white("Check .purpose files before modifying features"));
650
- console.log(chalk.cyan(" \u2022 ") + chalk.white("Update Paradigm files when making structural changes"));
651
- console.log(chalk.cyan(" \u2022 ") + chalk.white("Follow antipatterns and team preferences"));
652
- console.log(chalk.cyan(" \u2022 ") + chalk.white("Record lore entries to capture work history"));
653
- console.log("");
654
- console.log(chalk.white(" Next steps:"));
655
- console.log(chalk.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
656
- let nextStep = 1;
657
- if (options.workspace) {
658
- console.log(chalk.white(` ${nextStep++}. `) + chalk.gray("Run ") + chalk.cyan(`paradigm shift --workspace "${options.workspace}"`) + chalk.gray(" in sibling projects"));
659
- }
660
- console.log(chalk.white(` ${nextStep++}. `) + chalk.gray("Edit ") + chalk.cyan(".purpose") + chalk.gray(" to define your features"));
661
- console.log(chalk.white(` ${nextStep++}. `) + chalk.gray("Add ") + chalk.cyan(".purpose") + chalk.gray(" files to feature directories"));
662
- console.log(chalk.white(` ${nextStep++}. `) + chalk.gray("Run ") + chalk.cyan("paradigm shift --verify") + chalk.gray(" to check health"));
663
- console.log("");
664
- tracker.success("Paradigm shift complete", { project: projectName });
665
- }
666
- export {
667
- shiftCommand
668
- };