@a-company/paradigm 5.11.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 (408) 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 -20529
  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/plsat/.purpose +3 -2
  195. package/dist/university-ui/assets/{index-BjewBB6s.js → index-CGFJczb1.js} +2 -2
  196. package/dist/university-ui/assets/{index-BjewBB6s.js.map → index-CGFJczb1.js.map} +1 -1
  197. package/dist/university-ui/index.html +1 -1
  198. package/dist/upgrade-B4IOLZYK.js +53 -0
  199. package/dist/validate-C6SMKGYD.js +9 -0
  200. package/dist/validate-LSCDOLBO.js +13 -0
  201. package/dist/validate-VZXTJHGO.js +6 -0
  202. package/dist/watch-LRM5XD46.js +8 -0
  203. package/dist/watch-PZCCUP6K.js +9 -0
  204. package/dist/wisdom-XZ3QKPNP.js +7 -0
  205. package/dist/work-log-loader-DL5GZ2BQ.js +2 -0
  206. package/dist/workspace-2ODL5WLY.js +2 -0
  207. package/package.json +1 -1
  208. package/platform-ui/dist/assets/AmbientSection-DqQ2mfCO.js +1 -0
  209. package/platform-ui/dist/assets/{CanvasSection-DwPTRdIN.js → CanvasSection-DLW0s-Bu.js} +1 -1
  210. package/platform-ui/dist/assets/{DocsSection-BJc_ws4I.js → DocsSection-BQ9Hi51g.js} +1 -1
  211. package/platform-ui/dist/assets/{GitSection-DhqBo1xc.js → GitSection-QQeUX6o3.js} +1 -1
  212. package/platform-ui/dist/assets/{GraphSection-D9fhVnZ0.js → GraphSection-0c9C-w7K.js} +2 -2
  213. package/platform-ui/dist/assets/{GraphSection-BlgXTl53.css → GraphSection-Bbs2a8sC.css} +1 -1
  214. package/platform-ui/dist/assets/LoreSection--t56kCj2.js +1 -0
  215. package/platform-ui/dist/assets/LoreSection-qnmm3o4y.css +1 -0
  216. package/platform-ui/dist/assets/SentinelSection-C4OoME9U.js +1 -0
  217. package/platform-ui/dist/assets/{SymphonySection-BRoBaUSS.js → SymphonySection-B-rvsLxq.js} +1 -1
  218. package/platform-ui/dist/assets/TeamSection-CBFmNEEo.js +1 -0
  219. package/platform-ui/dist/assets/index-Bxp0TVaf.css +1 -0
  220. package/platform-ui/dist/assets/index-DPpOdAtC.js +57 -0
  221. package/platform-ui/dist/index.html +2 -2
  222. package/dist/accept-orchestration-UQLM7PTQ.js +0 -189
  223. package/dist/add-FZRKEGH4.js +0 -81
  224. package/dist/agent-WERIO2XV.js +0 -523
  225. package/dist/agent-loader-TFIANSF4.js +0 -44
  226. package/dist/agent-state-S5DAWPTF.js +0 -24
  227. package/dist/agents-suggest-DNSYJ6IA.js +0 -83
  228. package/dist/aggregate-H57K7PNV.js +0 -88
  229. package/dist/assess-4WVXZLZQ.js +0 -68
  230. package/dist/auto-QFS5NHQU.js +0 -504
  231. package/dist/beacon-KXZXYQHX.js +0 -251
  232. package/dist/calibration-V46G7JTY.js +0 -135
  233. package/dist/check-OWAIWV23.js +0 -175
  234. package/dist/chunk-2IO7JAG2.js +0 -148
  235. package/dist/chunk-2T6BTYBN.js +0 -712
  236. package/dist/chunk-36TKPM5Z.js +0 -400
  237. package/dist/chunk-45MUDW6E.js +0 -804
  238. package/dist/chunk-4BLYIB7J.js +0 -5701
  239. package/dist/chunk-4L3UTYQX.js +0 -677
  240. package/dist/chunk-4NCFWYGG.js +0 -110
  241. package/dist/chunk-54LTTQBH.js +0 -138
  242. package/dist/chunk-5EWAQHFY.js +0 -269
  243. package/dist/chunk-5JGJACDU.js +0 -37
  244. package/dist/chunk-5OUOLN6M.js +0 -659
  245. package/dist/chunk-5VKJBNJL.js +0 -444
  246. package/dist/chunk-6N3JTACN.js +0 -2260
  247. package/dist/chunk-6QC3YGB6.js +0 -114
  248. package/dist/chunk-7N7GSU6K.js +0 -34
  249. package/dist/chunk-ABVQGRF7.js +0 -268
  250. package/dist/chunk-CL7JSK52.js +0 -129
  251. package/dist/chunk-CSD7IHSN.js +0 -152
  252. package/dist/chunk-EDOAWN7J.js +0 -717
  253. package/dist/chunk-EKGMAM62.js +0 -525
  254. package/dist/chunk-EZ3GOCYC.js +0 -132
  255. package/dist/chunk-F3BCHPYT.js +0 -143
  256. package/dist/chunk-FKJUBQU3.js +0 -3081
  257. package/dist/chunk-GT5QGC2H.js +0 -253
  258. package/dist/chunk-GZDFVP2N.js +0 -540
  259. package/dist/chunk-IRKUEJVW.js +0 -405
  260. package/dist/chunk-J2JEQRT3.js +0 -164
  261. package/dist/chunk-JASGXLK3.js +0 -679
  262. package/dist/chunk-KVDYJLTC.js +0 -121
  263. package/dist/chunk-L27I3CPZ.js +0 -357
  264. package/dist/chunk-LHLIAYQ3.js +0 -185
  265. package/dist/chunk-MCMOGQMU.js +0 -145
  266. package/dist/chunk-NQKQG45G.js +0 -688
  267. package/dist/chunk-PBHIFAL4.js +0 -259
  268. package/dist/chunk-PDX44BCA.js +0 -11
  269. package/dist/chunk-PMXRGPRQ.js +0 -305
  270. package/dist/chunk-RAB5IKPR.js +0 -487
  271. package/dist/chunk-RJE5G7WO.js +0 -590
  272. package/dist/chunk-RTHA3XRE.js +0 -880
  273. package/dist/chunk-S2HO5MLR.js +0 -621
  274. package/dist/chunk-S3ORKP3V.js +0 -716
  275. package/dist/chunk-TAIJOFOE.js +0 -124
  276. package/dist/chunk-TXESEO7Y.js +0 -245
  277. package/dist/chunk-UPLDI7CN.js +0 -1334
  278. package/dist/chunk-VL67H5IC.js +0 -506
  279. package/dist/chunk-VPPK3SY4.js +0 -1136
  280. package/dist/chunk-YMDLDELF.js +0 -314
  281. package/dist/chunk-YO6DVTL7.js +0 -99
  282. package/dist/chunk-YRZ5RPEB.js +0 -1561
  283. package/dist/chunk-ZDHLG5VP.js +0 -5676
  284. package/dist/chunk-ZGUAAVMA.js +0 -756
  285. package/dist/chunk-ZSYVKSY6.js +0 -2602
  286. package/dist/claude-FRRWJSTJ.js +0 -362
  287. package/dist/claude-cli-XJLK2X4L.js +0 -276
  288. package/dist/claude-code-HTBA4XRB.js +0 -126
  289. package/dist/claude-code-teams-T4SP24MD.js +0 -199
  290. package/dist/commands-5N4ILTPH.js +0 -5859
  291. package/dist/conductor-CQVGTEQN.js +0 -161
  292. package/dist/config-schema-EA4XALGG.js +0 -154
  293. package/dist/constellation-A26CCGQS.js +0 -225
  294. package/dist/context-audit-RLO3ETRP.js +0 -682
  295. package/dist/cost-BGM32XJU.js +0 -93
  296. package/dist/cost-VI46A4XL.js +0 -174
  297. package/dist/cursor-cli-JVEZGHWQ.js +0 -269
  298. package/dist/cursorrules-HLIKJJZT.js +0 -84
  299. package/dist/decision-loader-WWCLIQPJ.js +0 -20
  300. package/dist/delete-KBRPQLPC.js +0 -56
  301. package/dist/diff-D4X53HAC.js +0 -126
  302. package/dist/discipline-FA4OZXIS.js +0 -24
  303. package/dist/dist-34NA5RS5.js +0 -74
  304. package/dist/dist-5QE2BB2B-5S3T6Y3T.js +0 -6919
  305. package/dist/dist-77JDTVAY.js +0 -62
  306. package/dist/dist-OGTSAZ55.js +0 -1358
  307. package/dist/dist-QK4SQAK7.js +0 -64
  308. package/dist/dist-TA6LSC2Q.js +0 -20
  309. package/dist/docs-PBZB7LYP.js +0 -89
  310. package/dist/docs-QIYKO3BR.js +0 -155
  311. package/dist/doctor-ULBOHEIC.js +0 -11
  312. package/dist/drift-R5NRKFHI.js +0 -251
  313. package/dist/echo-O2LY7CC2.js +0 -248
  314. package/dist/edit-R2HNLMOG.js +0 -63
  315. package/dist/event-25OJKDCE.js +0 -31
  316. package/dist/export-IWVL7XLF.js +0 -38
  317. package/dist/flow-CRRVV3O3.js +0 -185
  318. package/dist/global-3NG5JXUB.js +0 -136
  319. package/dist/graduate-USAWGBJM.js +0 -160
  320. package/dist/graph-VHUMAAS6.js +0 -12
  321. package/dist/graph-server-YL22VBBN.js +0 -116
  322. package/dist/habits-OL5NGPXO.js +0 -1405
  323. package/dist/history-WOWC573W.js +0 -277
  324. package/dist/hooks-HFWSCGPV.js +0 -12
  325. package/dist/integrity-IHO4FZTS.js +0 -194
  326. package/dist/integrity-checker-PSKJA5SB.js +0 -12
  327. package/dist/journal-loader-5EYSBFFY.js +0 -18
  328. package/dist/lint-K6CJGGPH.js +0 -456
  329. package/dist/list-4YK7QKFF.js +0 -57
  330. package/dist/list-ENR7Q4CR.js +0 -56
  331. package/dist/lore-loader-7NO6N6FT.js +0 -26
  332. package/dist/lore-server-UNJY5KC3.js +0 -118
  333. package/dist/manual-G6FISID5.js +0 -204
  334. package/dist/migrate-LS45DNEV.js +0 -889
  335. package/dist/migrate-assessments-RGH4O6IX.js +0 -97
  336. package/dist/model-discovery-D2H3VBGC.js +0 -8
  337. package/dist/nomination-engine-RV5CNO5B.js +0 -42
  338. package/dist/notebook-YWIYGEHV.js +0 -155
  339. package/dist/orchestrate-JLILBBJE.js +0 -324
  340. package/dist/peers-DEOUIZM6.js +0 -82
  341. package/dist/persona-UHAHIVST.js +0 -390
  342. package/dist/pipeline-L4HCSBGN.js +0 -263
  343. package/dist/platform-server-H5YO3DQD.js +0 -1475
  344. package/dist/plugin-update-checker-KRRSGXMV.js +0 -12
  345. package/dist/portal-check-NPYGII2D.js +0 -42
  346. package/dist/portal-compliance-J7DGAPFX.js +0 -18
  347. package/dist/probe-MHL5HQZ2.js +0 -167
  348. package/dist/promote-F6ZYZZAL.js +0 -182
  349. package/dist/providers-GK7PB2OL.js +0 -104
  350. package/dist/quiz-M66SC7F7.js +0 -99
  351. package/dist/record-RA4WR2BO.js +0 -49
  352. package/dist/reindex-5LTD53ZC.js +0 -16
  353. package/dist/remember-HBWJ655S.js +0 -77
  354. package/dist/retag-3OLCVDEQ.js +0 -62
  355. package/dist/review-27ATYTD2.js +0 -33
  356. package/dist/review-57QMURZV.js +0 -334
  357. package/dist/ripple-JPBXP5I3.js +0 -215
  358. package/dist/sentinel-4XIG4STA.js +0 -63
  359. package/dist/sentinel-bridge-MDUXTQRL.js +0 -109
  360. package/dist/serve-CAH3PHE7.js +0 -33
  361. package/dist/serve-INL7SNBK.js +0 -36
  362. package/dist/serve-KBSE36PL.js +0 -49
  363. package/dist/server-54SKYFFY.js +0 -1647
  364. package/dist/server-XUOIO7E6.js +0 -338
  365. package/dist/session-tracker-C4BMD5WG.js +0 -13
  366. package/dist/session-work-log-MZ47OAPB.js +0 -20
  367. package/dist/setup-EDS27WUR.js +0 -25
  368. package/dist/setup-KO5AFC4K.js +0 -296
  369. package/dist/shift-D2JOHHBF.js +0 -668
  370. package/dist/show-5PV5KFJE.js +0 -176
  371. package/dist/show-NQKYX6WQ.js +0 -82
  372. package/dist/snapshot-BK4RBPCG.js +0 -62
  373. package/dist/spawn-RCHNXDHE.js +0 -196
  374. package/dist/status-WGIAQODY.js +0 -71
  375. package/dist/summary-NIRABMF5.js +0 -140
  376. package/dist/sweep-QMHNSIY5.js +0 -934
  377. package/dist/switch-6EJPZDIA.js +0 -232
  378. package/dist/symphony-4OCY36AI.js +0 -791
  379. package/dist/symphony-B75X2MME.js +0 -326
  380. package/dist/symphony-loader-UZGON56V.js +0 -90
  381. package/dist/symphony-peers-2ZQYLRNI.js +0 -34
  382. package/dist/symphony-peers-OL7F6M5S.js +0 -121
  383. package/dist/symphony-relay-UJYUXN65.js +0 -710
  384. package/dist/sync-VEHUH4OA.js +0 -11
  385. package/dist/sync-llms-YHCFIE6X.js +0 -166
  386. package/dist/task-loader-LDYWQSLM.js +0 -20
  387. package/dist/team-O5MIIFMA.js +0 -34
  388. package/dist/test-566CP5KC.js +0 -1017
  389. package/dist/thread-N754I4D5.js +0 -274
  390. package/dist/timeline-M3CICQFE.js +0 -112
  391. package/dist/triage-HHYGT3HY.js +0 -671
  392. package/dist/tutorial-KD22SUNO.js +0 -666
  393. package/dist/upgrade-H5PF32BW.js +0 -551
  394. package/dist/validate-CNKEKO6A.js +0 -134
  395. package/dist/validate-MB5ULIHS.js +0 -39
  396. package/dist/validate-QH3LADM6.js +0 -64
  397. package/dist/watch-2TKP5PVL.js +0 -199
  398. package/dist/watch-ZF4ML6CD.js +0 -111
  399. package/dist/wisdom-AATMGNFA.js +0 -319
  400. package/dist/work-log-loader-5L45XNYZ.js +0 -14
  401. package/dist/workspace-6E6OSRNU.js +0 -21
  402. package/platform-ui/dist/assets/AmbientSection-WtHfNedO.js +0 -1
  403. package/platform-ui/dist/assets/LoreSection-C3EixkjW.css +0 -1
  404. package/platform-ui/dist/assets/LoreSection-CwDDHrz9.js +0 -1
  405. package/platform-ui/dist/assets/SentinelSection-Cl7e5oZ6.js +0 -1
  406. package/platform-ui/dist/assets/TeamSection-CqSIMrKz.js +0 -1
  407. package/platform-ui/dist/assets/index-CfpZFjea.css +0 -1
  408. package/platform-ui/dist/assets/index-F0KL9xrN.js +0 -57
@@ -1,93 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- AuditLogger
4
- } from "./chunk-PBHIFAL4.js";
5
- import {
6
- formatCost,
7
- formatTokens
8
- } from "./chunk-5JGJACDU.js";
9
- import "./chunk-PDX44BCA.js";
10
-
11
- // src/commands/team/cost.ts
12
- import * as path from "path";
13
- import chalk from "chalk";
14
- async function teamCostCommand(targetPath, options) {
15
- const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
16
- let from;
17
- let to;
18
- if (options.days) {
19
- const days = parseInt(options.days);
20
- from = /* @__PURE__ */ new Date();
21
- from.setDate(from.getDate() - days);
22
- }
23
- if (options.from) {
24
- from = new Date(options.from);
25
- }
26
- if (options.to) {
27
- to = new Date(options.to);
28
- }
29
- const auditLogger = new AuditLogger(rootDir);
30
- const summary = auditLogger.getCostSummary(from, to);
31
- if (options.json) {
32
- console.log(JSON.stringify(summary, null, 2));
33
- return;
34
- }
35
- console.log();
36
- console.log(chalk.blue("\u2501".repeat(50)));
37
- console.log(chalk.blue(" Orchestration Cost Summary"));
38
- console.log(chalk.blue("\u2501".repeat(50)));
39
- console.log();
40
- if (from || to) {
41
- const fromStr = from ? from.toISOString().slice(0, 10) : "beginning";
42
- const toStr = to ? to.toISOString().slice(0, 10) : "now";
43
- console.log(chalk.gray(` Period: ${fromStr} to ${toStr}`));
44
- console.log();
45
- }
46
- console.log(chalk.cyan(" Totals:"));
47
- console.log(chalk.white(` Orchestrations: ${summary.orchestrationCount}`));
48
- console.log(chalk.white(` Total tokens: ${formatTokens(summary.totalTokens)}`));
49
- console.log(chalk.white(` Total cost: ${formatCost(summary.totalCost)}`));
50
- console.log();
51
- if (Object.keys(summary.byModel).length > 0) {
52
- console.log(chalk.cyan(" By Model:"));
53
- for (const [model, data] of Object.entries(summary.byModel)) {
54
- const percent = (data.cost / summary.totalCost * 100).toFixed(1);
55
- console.log(chalk.gray(` ${model.padEnd(8)} ${formatCost(data.cost).padStart(10)} (${percent}%) - ${data.count} calls`));
56
- }
57
- console.log();
58
- }
59
- if (Object.keys(summary.byAgent).length > 0 && options.detailed) {
60
- console.log(chalk.cyan(" By Agent:"));
61
- for (const [agent, data] of Object.entries(summary.byAgent)) {
62
- const percent = (data.cost / summary.totalCost * 100).toFixed(1);
63
- console.log(chalk.gray(` ${agent.padEnd(12)} ${formatCost(data.cost).padStart(10)} (${percent}%) - ${data.count} calls`));
64
- }
65
- console.log();
66
- }
67
- if (summary.byDay.length > 0 && options.detailed) {
68
- console.log(chalk.cyan(" By Day (recent):"));
69
- const recentDays = summary.byDay.slice(-7);
70
- for (const day of recentDays) {
71
- const bar = "\u2588".repeat(Math.ceil(day.cost / summary.totalCost * 20));
72
- console.log(chalk.gray(` ${day.date} ${formatCost(day.cost).padStart(10)} ${chalk.blue(bar)}`));
73
- }
74
- console.log();
75
- }
76
- if (options.detailed) {
77
- console.log(chalk.cyan(" Model Pricing Reference:"));
78
- console.log(chalk.gray(" opus: $15.00 / $75.00 per 1M tokens (in/out)"));
79
- console.log(chalk.gray(" sonnet: $3.00 / $15.00 per 1M tokens (in/out)"));
80
- console.log(chalk.gray(" haiku: $0.25 / $1.25 per 1M tokens (in/out)"));
81
- console.log();
82
- }
83
- if (summary.totalCost > 1) {
84
- console.log(chalk.yellow(" Tips to reduce costs:"));
85
- console.log(chalk.gray(" - Use haiku for builder/tester agents"));
86
- console.log(chalk.gray(' - Set budget limits: --budget "cost=5"'));
87
- console.log(chalk.gray(' - Compare modes: paradigm team orchestrate "..." --compare'));
88
- console.log();
89
- }
90
- }
91
- export {
92
- teamCostCommand
93
- };
@@ -1,174 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- findPurposeFiles
4
- } from "./chunk-EDOAWN7J.js";
5
- import {
6
- findGateFiles
7
- } from "./chunk-IRKUEJVW.js";
8
- import "./chunk-PDX44BCA.js";
9
-
10
- // src/commands/cost.ts
11
- import * as fs from "fs";
12
- import * as path from "path";
13
- import chalk from "chalk";
14
- import ora from "ora";
15
- function estimateTokens(text) {
16
- const chars = text.length;
17
- return Math.ceil(chars / 3.5);
18
- }
19
- function getFileTokens(filePath, rootDir) {
20
- try {
21
- const content = fs.readFileSync(filePath, "utf8");
22
- const bytes = Buffer.byteLength(content, "utf8");
23
- const tokens = estimateTokens(content);
24
- const relativePath = path.relative(rootDir, filePath);
25
- return {
26
- path: filePath,
27
- relativePath,
28
- tokens,
29
- bytes
30
- };
31
- } catch {
32
- return null;
33
- }
34
- }
35
- function formatTokens(tokens) {
36
- if (tokens < 1e3) return tokens.toString();
37
- return `${(tokens / 1e3).toFixed(1)}k`;
38
- }
39
- async function costCommand(targetPath, options) {
40
- const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
41
- const spinner = ora();
42
- if (!options.json) {
43
- console.log(chalk.blue("\n\u{1F4B0} Paradigm Cost Analysis\n"));
44
- }
45
- spinner.start("Analyzing context files...");
46
- const purposeFilePaths = await findPurposeFiles(rootDir);
47
- const purposeFiles = [];
48
- for (const filePath of purposeFilePaths) {
49
- const tokens = getFileTokens(filePath, rootDir);
50
- if (tokens) purposeFiles.push(tokens);
51
- }
52
- const portalFilePaths = await findGateFiles(rootDir);
53
- const portalFiles = [];
54
- for (const filePath of portalFilePaths) {
55
- const tokens = getFileTokens(filePath, rootDir);
56
- if (tokens) portalFiles.push(tokens);
57
- }
58
- const scanIndexPath = path.join(rootDir, ".paradigm", "scan-index.json");
59
- const scanIndex = getFileTokens(scanIndexPath, rootDir);
60
- const cursorrrulesPath = path.join(rootDir, ".cursorrules");
61
- const cursorrulesNew = path.join(rootDir, ".cursor", "rules", "paradigm.mdc");
62
- let cursorrules = getFileTokens(cursorrrulesPath, rootDir);
63
- if (!cursorrules) {
64
- cursorrules = getFileTokens(cursorrulesNew, rootDir);
65
- }
66
- spinner.stop();
67
- const purposeTotal = purposeFiles.reduce((sum, f) => sum + f.tokens, 0);
68
- const portalTotal = portalFiles.reduce((sum, f) => sum + f.tokens, 0);
69
- const scanTotal = scanIndex?.tokens || 0;
70
- const cursorrulesTotal = cursorrules?.tokens || 0;
71
- const staticTotal = purposeTotal + portalTotal + scanTotal;
72
- const staticWithRules = staticTotal + cursorrulesTotal;
73
- const avgQueryTokens = 150;
74
- const typicalConversation = avgQueryTokens * 7;
75
- const savingsPercent = staticWithRules > 0 ? Math.round((1 - typicalConversation / staticWithRules) * 100) : 0;
76
- const recommendations = [];
77
- const largeFiles = purposeFiles.filter((f) => f.tokens > 500);
78
- if (largeFiles.length > 0) {
79
- recommendations.push(
80
- `${largeFiles.length} .purpose file(s) exceed 500 tokens. Consider splitting large features.`
81
- );
82
- }
83
- const mcpConfigPath = path.join(rootDir, ".cursor", "mcp.json");
84
- const hasMcp = fs.existsSync(mcpConfigPath);
85
- if (!hasMcp) {
86
- recommendations.push(
87
- "MCP not configured. Run `paradigm mcp setup` to enable dynamic context (80%+ savings)."
88
- );
89
- }
90
- if (!scanIndex) {
91
- recommendations.push(
92
- "No scan-index.json found. Run `paradigm index` for visual discovery support."
93
- );
94
- }
95
- if (purposeFiles.length < 3) {
96
- recommendations.push(
97
- "Few .purpose files found. Add more context for better AI understanding."
98
- );
99
- }
100
- const analysis = {
101
- static: {
102
- purposeFiles,
103
- portalFiles,
104
- scanIndex,
105
- cursorrules,
106
- total: staticWithRules
107
- },
108
- dynamic: {
109
- avgQueryTokens,
110
- typicalConversation
111
- },
112
- savings: {
113
- percentage: Math.max(0, savingsPercent),
114
- description: savingsPercent > 0 ? `${savingsPercent}% fewer tokens with MCP vs static context` : "MCP provides on-demand context loading"
115
- },
116
- recommendations
117
- };
118
- if (options.json) {
119
- console.log(JSON.stringify(analysis, null, 2));
120
- return;
121
- }
122
- console.log(chalk.white("Context Token Analysis"));
123
- console.log(chalk.gray("\u2500".repeat(50)));
124
- console.log(chalk.cyan("\nStatic Context (loaded every conversation):"));
125
- console.log(` .purpose files (${purposeFiles.length}):`.padEnd(35) + chalk.yellow(formatTokens(purposeTotal) + " tokens"));
126
- console.log(` portal.yaml (${portalFiles.length}):`.padEnd(35) + chalk.yellow(formatTokens(portalTotal) + " tokens"));
127
- if (scanIndex) {
128
- console.log(" scan-index.json:".padEnd(35) + chalk.yellow(formatTokens(scanTotal) + " tokens"));
129
- }
130
- if (cursorrules) {
131
- console.log(" .cursorrules:".padEnd(35) + chalk.yellow(formatTokens(cursorrulesTotal) + " tokens"));
132
- }
133
- console.log(chalk.gray("\u2500".repeat(50)));
134
- console.log(" Static Total:".padEnd(35) + chalk.yellow.bold(formatTokens(staticWithRules) + " tokens"));
135
- console.log(chalk.cyan("\nDynamic Context (MCP on-demand):"));
136
- console.log(" Avg query response:".padEnd(35) + chalk.green(formatTokens(avgQueryTokens) + " tokens"));
137
- console.log(" Typical conversation (~7 queries):".padEnd(35) + chalk.green(formatTokens(typicalConversation) + " tokens"));
138
- console.log(chalk.cyan("\nPotential Savings:"));
139
- if (savingsPercent > 0) {
140
- const savingsColor = savingsPercent > 70 ? chalk.green : savingsPercent > 40 ? chalk.yellow : chalk.white;
141
- console.log(` MCP vs Static:`.padEnd(35) + savingsColor.bold(`${savingsPercent}% reduction`));
142
- const staticCost = staticWithRules / 1e3 * 0.01;
143
- const dynamicCost = typicalConversation / 1e3 * 0.01;
144
- const savedCost = staticCost - dynamicCost;
145
- if (savedCost > 1e-3) {
146
- console.log(` Est. savings per conversation:`.padEnd(35) + chalk.green(`~$${savedCost.toFixed(4)}`));
147
- }
148
- }
149
- if (options.detailed && purposeFiles.length > 0) {
150
- console.log(chalk.cyan("\nTop Token Consumers:"));
151
- const sorted = [...purposeFiles].sort((a, b) => b.tokens - a.tokens).slice(0, 5);
152
- for (const file of sorted) {
153
- const percentage = Math.round(file.tokens / staticTotal * 100);
154
- console.log(` ${file.relativePath}`.padEnd(40) + chalk.gray(`${formatTokens(file.tokens)} (${percentage}%)`));
155
- }
156
- }
157
- if (recommendations.length > 0) {
158
- console.log(chalk.cyan("\nRecommendations:"));
159
- for (const rec of recommendations) {
160
- console.log(chalk.yellow(` \u2022 ${rec}`));
161
- }
162
- }
163
- console.log(chalk.cyan("\nMCP Status:"));
164
- if (hasMcp) {
165
- console.log(chalk.green(" \u2713 MCP configured - using dynamic context loading"));
166
- } else {
167
- console.log(chalk.yellow(" \u25CB MCP not configured"));
168
- console.log(chalk.gray(" Run `paradigm mcp setup` to enable token-efficient queries"));
169
- }
170
- console.log("");
171
- }
172
- export {
173
- costCommand
174
- };
@@ -1,269 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- MODEL_PRICING
4
- } from "./chunk-5JGJACDU.js";
5
- import "./chunk-PDX44BCA.js";
6
-
7
- // src/core/providers/cursor-cli.ts
8
- import * as fs from "fs";
9
- import * as path from "path";
10
- import { spawn, execSync } from "child_process";
11
- import { EventEmitter } from "events";
12
- var CursorCliProvider = class {
13
- name = "cursor-cli";
14
- agentPath = null;
15
- constructor() {
16
- }
17
- listModels() {
18
- return ["opus", "sonnet", "haiku"];
19
- }
20
- supportsParallel() {
21
- return true;
22
- }
23
- supportsMcp() {
24
- return true;
25
- }
26
- getTokenCost(model) {
27
- return MODEL_PRICING[model];
28
- }
29
- /**
30
- * Check if Cursor CLI is available
31
- */
32
- async isAvailable() {
33
- if (!this.isCursorEnvironment()) {
34
- return false;
35
- }
36
- try {
37
- const result = execSync("which agent", { encoding: "utf-8" }).trim();
38
- if (result) {
39
- this.agentPath = result;
40
- return true;
41
- }
42
- } catch {
43
- const paths = [
44
- "/usr/local/bin/agent",
45
- path.join(process.env.HOME || "", ".local/bin/agent"),
46
- path.join(process.env.HOME || "", ".cursor/bin/agent"),
47
- // macOS application paths
48
- "/Applications/Cursor.app/Contents/Resources/app/bin/agent"
49
- ];
50
- for (const p of paths) {
51
- if (fs.existsSync(p)) {
52
- this.agentPath = p;
53
- return true;
54
- }
55
- }
56
- }
57
- return false;
58
- }
59
- /**
60
- * Detect if running in Cursor environment
61
- */
62
- isCursorEnvironment() {
63
- return process.env.TERM_PROGRAM === "cursor" || !!process.env.CURSOR_SESSION || !!process.env.CURSOR_TRACE_ID || (process.env.VSCODE_CWD?.toLowerCase().includes("cursor") ?? false) || (process.env.VSCODE_NLS_CONFIG?.toLowerCase().includes("cursor") ?? false) || process.env.TERM_PROGRAM === "vscode" && (process.env.VSCODE_GIT_ASKPASS_NODE?.toLowerCase().includes("cursor") ?? false);
64
- }
65
- /**
66
- * Spawn an agent by invoking Cursor CLI
67
- */
68
- async *spawn(agent, options) {
69
- if (!this.agentPath) {
70
- yield {
71
- type: "error",
72
- content: "Cursor agent CLI not found",
73
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
74
- };
75
- return;
76
- }
77
- const prompt = this.buildPrompt(agent, options);
78
- yield {
79
- type: "text",
80
- content: `Starting ${agent.name} agent via Cursor CLI...
81
- `,
82
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
83
- };
84
- const args = [
85
- "-p",
86
- prompt.slice(0, 8e3)
87
- // Non-interactive mode with prompt
88
- ];
89
- if (options.model) {
90
- const cursorModel = this.mapToCursorModel(options.model);
91
- if (cursorModel) {
92
- args.push("--model", cursorModel);
93
- }
94
- }
95
- const messageEmitter = new EventEmitter();
96
- let outputBuffer = "";
97
- let totalUsage = { input: 0, output: 0, total: 0 };
98
- let lastError = null;
99
- let completed = false;
100
- const proc = spawn(this.agentPath, args, {
101
- cwd: options.workingDirectory || process.cwd(),
102
- env: { ...process.env },
103
- stdio: ["pipe", "pipe", "pipe"]
104
- });
105
- proc.stdout?.on("data", (data) => {
106
- const text = data.toString();
107
- outputBuffer += text;
108
- messageEmitter.emit("text", text);
109
- });
110
- proc.stderr?.on("data", (data) => {
111
- const text = data.toString();
112
- if (text.toLowerCase().includes("error")) {
113
- lastError = text;
114
- messageEmitter.emit("error", new Error(text));
115
- } else {
116
- messageEmitter.emit("progress", text);
117
- }
118
- });
119
- proc.on("close", (code) => {
120
- completed = true;
121
- const outputTokens = Math.ceil(outputBuffer.length / 4);
122
- const inputTokens = Math.ceil(prompt.length / 4);
123
- totalUsage = {
124
- input: inputTokens,
125
- output: outputTokens,
126
- total: inputTokens + outputTokens
127
- };
128
- messageEmitter.emit("done", code);
129
- });
130
- proc.on("error", (err) => {
131
- lastError = err.message;
132
- messageEmitter.emit("error", err);
133
- });
134
- const timeoutMs = options.timeout || 5 * 60 * 1e3;
135
- const timeoutHandle = setTimeout(() => {
136
- proc.kill();
137
- lastError = `Cursor agent timed out after ${timeoutMs / 1e3}s`;
138
- messageEmitter.emit("timeout");
139
- }, timeoutMs);
140
- const messageQueue = [];
141
- let resolveNext = null;
142
- const pushMessage = (msg) => {
143
- if (resolveNext) {
144
- resolveNext(msg);
145
- resolveNext = null;
146
- } else {
147
- messageQueue.push(msg);
148
- }
149
- };
150
- messageEmitter.on("text", (text) => {
151
- pushMessage({
152
- type: "text",
153
- content: text,
154
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
155
- });
156
- });
157
- messageEmitter.on("progress", (_text) => {
158
- pushMessage({
159
- type: "text",
160
- content: ".",
161
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
162
- });
163
- });
164
- messageEmitter.on("done", () => {
165
- clearTimeout(timeoutHandle);
166
- pushMessage({
167
- type: "done",
168
- content: "Agent completed",
169
- usage: totalUsage,
170
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
171
- });
172
- });
173
- messageEmitter.on("timeout", () => {
174
- pushMessage({
175
- type: "error",
176
- content: lastError || "Timeout",
177
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
178
- });
179
- });
180
- messageEmitter.on("error", (err) => {
181
- clearTimeout(timeoutHandle);
182
- pushMessage({
183
- type: "error",
184
- content: err.message,
185
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
186
- });
187
- });
188
- while (!completed || messageQueue.length > 0) {
189
- if (messageQueue.length > 0) {
190
- const msg = messageQueue.shift();
191
- yield msg;
192
- if (msg.type === "done" || msg.type === "error") {
193
- break;
194
- }
195
- } else {
196
- const msg = await new Promise((resolve) => {
197
- resolveNext = resolve;
198
- setTimeout(() => resolve(null), 100);
199
- });
200
- if (msg) {
201
- yield msg;
202
- if (msg.type === "done" || msg.type === "error") {
203
- break;
204
- }
205
- }
206
- }
207
- }
208
- if (lastError && !completed) {
209
- yield {
210
- type: "error",
211
- content: lastError,
212
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
213
- };
214
- }
215
- }
216
- // ==========================================================================
217
- // Private Methods
218
- // ==========================================================================
219
- /**
220
- * Build prompt for the agent
221
- */
222
- buildPrompt(agent, options) {
223
- const parts = [];
224
- parts.push(`# ${agent.name.toUpperCase()} Agent`);
225
- parts.push("");
226
- parts.push("## Role");
227
- parts.push(agent.role);
228
- parts.push("");
229
- parts.push("## Task");
230
- parts.push(options.task);
231
- parts.push("");
232
- if (options.context.systemPrompt) {
233
- parts.push("## Context");
234
- parts.push(options.context.systemPrompt.slice(0, 3e3));
235
- parts.push("");
236
- }
237
- if (options.context.symbols.length > 0) {
238
- parts.push("## Symbols");
239
- parts.push(options.context.symbols.join(", "));
240
- parts.push("");
241
- }
242
- if (options.context.handoffContext) {
243
- parts.push("## From Previous Agent");
244
- parts.push(options.context.handoffContext);
245
- parts.push("");
246
- }
247
- parts.push("## Instructions");
248
- parts.push("Complete the task above. Be concise and focused. Keep response under 500 words.");
249
- return parts.join("\n");
250
- }
251
- /**
252
- * Map Paradigm model tiers to Cursor model names
253
- */
254
- mapToCursorModel(model) {
255
- switch (model) {
256
- case "opus":
257
- return "claude-opus-4-6";
258
- case "sonnet":
259
- return "claude-sonnet-4-5-20250929";
260
- case "haiku":
261
- return "claude-haiku-4-5-20251001";
262
- default:
263
- return null;
264
- }
265
- }
266
- };
267
- export {
268
- CursorCliProvider
269
- };
@@ -1,84 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- cursorrrulesExists,
4
- generateCursorrules,
5
- paradigmConfigExists,
6
- writeCursorrules
7
- } from "./chunk-LHLIAYQ3.js";
8
- import "./chunk-36TKPM5Z.js";
9
- import {
10
- getDefaultParadigmConfig,
11
- parseParadigmConfig,
12
- serializeParadigmConfig
13
- } from "./chunk-YO6DVTL7.js";
14
- import "./chunk-PDX44BCA.js";
15
-
16
- // src/commands/cursorrules.ts
17
- import * as fs from "fs";
18
- import * as path from "path";
19
- import chalk from "chalk";
20
- import ora from "ora";
21
- async function cursorrrulesCommand(targetPath, options) {
22
- const rootDir = targetPath ? path.resolve(targetPath) : process.cwd();
23
- const projectName = path.basename(rootDir);
24
- const configPath = path.join(rootDir, ".paradigm");
25
- const spinner = ora();
26
- if (!paradigmConfigExists(rootDir)) {
27
- if (options.init) {
28
- spinner.start("Creating .paradigm config...");
29
- const defaultConfig = getDefaultParadigmConfig(projectName);
30
- fs.writeFileSync(configPath, serializeParadigmConfig(defaultConfig), "utf8");
31
- spinner.succeed(chalk.green(".paradigm config created"));
32
- } else {
33
- console.log(chalk.red("\n\u274C No .paradigm file found."));
34
- console.log(chalk.gray("\nRun with --init to create a default .paradigm config:"));
35
- console.log(chalk.cyan(" paradigm cursorrules --init\n"));
36
- process.exit(1);
37
- }
38
- }
39
- let config;
40
- try {
41
- const content = fs.readFileSync(configPath, "utf8");
42
- config = parseParadigmConfig(content);
43
- } catch (err) {
44
- const error = err;
45
- console.log(chalk.red(`
46
- \u274C Failed to parse .paradigm: ${error.message}
47
- `));
48
- process.exit(1);
49
- }
50
- const scanIndexExists = fs.existsSync(path.join(rootDir, ".paradigm", "scan-index.json")) || fs.existsSync(path.join(rootDir, ".paradigm-scan-index.json"));
51
- const includeScan = options.withScan || scanIndexExists;
52
- if (options.preview) {
53
- const content = generateCursorrules(config, projectName, { withScan: includeScan });
54
- console.log(chalk.blue("\n--- Preview of .cursorrules content ---\n"));
55
- console.log(content);
56
- console.log(chalk.blue("\n--- End preview ---\n"));
57
- return;
58
- }
59
- let mode = "create";
60
- if (options.append) {
61
- mode = "append";
62
- } else if (!options.force && cursorrrulesExists(rootDir)) {
63
- console.log(chalk.yellow("\n\u26A0\uFE0F .cursorrules already exists."));
64
- console.log(chalk.gray("Use --force to overwrite, or --append to add Paradigm section.\n"));
65
- process.exit(1);
66
- }
67
- spinner.start("Generating .cursorrules...");
68
- const result = writeCursorrules(rootDir, config, mode, projectName, { withScan: includeScan });
69
- if (result.success) {
70
- spinner.succeed(chalk.green(result.message));
71
- console.log(chalk.gray(`
72
- Path: ${result.path}`));
73
- if (includeScan) {
74
- console.log(chalk.gray(" Includes: Scan protocol"));
75
- }
76
- console.log();
77
- } else {
78
- spinner.fail(chalk.red("Failed to generate .cursorrules"));
79
- process.exit(1);
80
- }
81
- }
82
- export {
83
- cursorrrulesCommand
84
- };
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- findDecisionsForSymbol,
4
- getDecisionSummary,
5
- loadDecision,
6
- loadDecisions,
7
- recordDecision,
8
- supersedeDecision,
9
- updateDecision
10
- } from "./chunk-EZ3GOCYC.js";
11
- import "./chunk-7N7GSU6K.js";
12
- export {
13
- findDecisionsForSymbol,
14
- getDecisionSummary,
15
- loadDecision,
16
- loadDecisions,
17
- recordDecision,
18
- supersedeDecision,
19
- updateDecision
20
- };
@@ -1,56 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- deleteLoreEntry,
4
- loadLoreEntry
5
- } from "./chunk-EKGMAM62.js";
6
- import "./chunk-PDX44BCA.js";
7
-
8
- // src/commands/lore/delete.ts
9
- import chalk from "chalk";
10
- async function loreDeleteCommand(id, options) {
11
- const rootDir = process.cwd();
12
- const entry = await loadLoreEntry(rootDir, id);
13
- if (!entry) {
14
- console.error(chalk.red(`
15
- Entry not found: ${id}
16
- `));
17
- process.exitCode = 1;
18
- return;
19
- }
20
- if (options.dryRun) {
21
- console.log(chalk.cyan(`
22
- [dry-run] Would delete lore entry:`));
23
- console.log(chalk.white(` ${entry.id} - ${entry.title}`));
24
- console.log(chalk.gray(` Type: ${entry.type} | Author: ${entry.author} | ${entry.timestamp}`));
25
- console.log(chalk.gray(` Symbols: ${(entry.symbols_touched || []).join(", ")}`));
26
- console.log(chalk.cyan(`
27
- [dry-run] No changes made.
28
- `));
29
- return;
30
- }
31
- if (!options.yes) {
32
- console.log(chalk.yellow(`
33
- Will delete lore entry:`));
34
- console.log(chalk.white(` ${entry.id} - ${entry.title}`));
35
- console.log(chalk.gray(` Type: ${entry.type} | Author: ${entry.author} | ${entry.timestamp}`));
36
- console.log(chalk.gray(` Symbols: ${(entry.symbols_touched || []).join(", ")}`));
37
- console.log(chalk.gray(`
38
- Use --yes to confirm deletion.
39
- `));
40
- return;
41
- }
42
- const success = await deleteLoreEntry(rootDir, id);
43
- if (success) {
44
- console.log(chalk.green(`
45
- Deleted lore entry: ${id}
46
- `));
47
- } else {
48
- console.error(chalk.red(`
49
- Failed to delete: ${id}
50
- `));
51
- process.exitCode = 1;
52
- }
53
- }
54
- export {
55
- loreDeleteCommand
56
- };