@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,110 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/utils/logger.ts
4
- import chalk from "chalk";
5
- var SymbolLogger = class {
6
- constructor(symbol, type) {
7
- this.symbol = symbol;
8
- this.type = type;
9
- }
10
- format(level, message, data) {
11
- const prefix = this.getPrefix(level);
12
- const symbolStr = this.formatSymbol();
13
- const dataStr = data ? chalk.gray(` ${JSON.stringify(data)}`) : "";
14
- return `${prefix} ${symbolStr} ${message}${dataStr}`;
15
- }
16
- getPrefix(level) {
17
- switch (level) {
18
- case "debug":
19
- return chalk.gray("\u25CB");
20
- case "info":
21
- return chalk.blue("\u2139");
22
- case "success":
23
- return chalk.green("\u2714");
24
- case "warn":
25
- return chalk.yellow("\u26A0");
26
- case "error":
27
- return chalk.red("\u2716");
28
- }
29
- }
30
- formatSymbol() {
31
- switch (this.type) {
32
- case "command":
33
- return chalk.cyan(`[${this.symbol}]`);
34
- case "component":
35
- return chalk.magenta(`#${this.symbol}`);
36
- case "operation":
37
- return chalk.blue(this.symbol);
38
- }
39
- }
40
- debug(message, data) {
41
- if (process.env.DEBUG) {
42
- console.log(this.format("debug", message, data));
43
- }
44
- }
45
- info(message, data) {
46
- console.log(this.format("info", message, data));
47
- }
48
- success(message, data) {
49
- console.log(this.format("success", message, data));
50
- }
51
- warn(message, data) {
52
- console.log(this.format("warn", message, data));
53
- }
54
- error(message, data) {
55
- console.error(this.format("error", message, data));
56
- }
57
- // For operations with duration tracking
58
- start(message, data) {
59
- this.info(message, data);
60
- return new DurationTracker(this.symbol, this.type);
61
- }
62
- };
63
- var DurationTracker = class {
64
- constructor(symbol, type) {
65
- this.symbol = symbol;
66
- this.type = type;
67
- this.startTime = Date.now();
68
- }
69
- startTime;
70
- getDuration() {
71
- return Date.now() - this.startTime;
72
- }
73
- success(message, data) {
74
- const duration = this.getDuration();
75
- const logger = new SymbolLogger(this.symbol, this.type);
76
- logger.success(message, { ...data, duration: `${duration}ms` });
77
- }
78
- error(message, data) {
79
- const duration = this.getDuration();
80
- const logger = new SymbolLogger(this.symbol, this.type);
81
- logger.error(message, { ...data, duration: `${duration}ms` });
82
- }
83
- };
84
- var log = {
85
- /**
86
- * Log for CLI commands (paradigm init, paradigm sync, etc.)
87
- * @example log.command('init').success('Created .paradigm/')
88
- */
89
- command(name) {
90
- return new SymbolLogger(name, "command");
91
- },
92
- /**
93
- * Log for internal components (file writers, parsers, etc.)
94
- * @example log.component('mcp-config').error('Failed to write')
95
- */
96
- component(name) {
97
- return new SymbolLogger(name, "component");
98
- },
99
- /**
100
- * Log for operations (sync, build, analyze, etc.)
101
- * @example log.operation('sync').info('Syncing IDE files')
102
- */
103
- operation(name) {
104
- return new SymbolLogger(name, "operation");
105
- }
106
- };
107
-
108
- export {
109
- log
110
- };
@@ -1,138 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // ../paradigm-mcp/src/utils/agent-state.ts
4
- import * as fs from "fs";
5
- import * as path from "path";
6
- import * as os from "os";
7
- import * as yaml from "js-yaml";
8
- var PROJECT_STATE_DIR = ".paradigm/agent-state";
9
- var GLOBAL_AGENTS_DIR = path.join(os.homedir(), ".paradigm", "agents");
10
- function loadAgentState(agentId, rootDir) {
11
- const statePath = path.join(rootDir, PROJECT_STATE_DIR, `${agentId}.yaml`);
12
- if (!fs.existsSync(statePath)) return null;
13
- try {
14
- const content = fs.readFileSync(statePath, "utf8");
15
- return yaml.load(content);
16
- } catch {
17
- return null;
18
- }
19
- }
20
- function saveAgentState(agentId, rootDir, state) {
21
- const stateDir = path.join(rootDir, PROJECT_STATE_DIR);
22
- if (!fs.existsSync(stateDir)) {
23
- fs.mkdirSync(stateDir, { recursive: true });
24
- }
25
- const statePath = path.join(stateDir, `${agentId}.yaml`);
26
- fs.writeFileSync(statePath, yaml.dump(state, { lineWidth: 120, noRefs: true, sortKeys: false }), "utf8");
27
- }
28
- function recordAgentSession(agentId, rootDir, session) {
29
- const existing = loadAgentState(agentId, rootDir);
30
- const projectName = path.basename(rootDir);
31
- const state = {
32
- id: agentId,
33
- project: projectName,
34
- lastSession: {
35
- date: (/* @__PURE__ */ new Date()).toISOString(),
36
- sessionId: session.sessionId,
37
- summary: session.summary,
38
- filesReviewed: session.filesReviewed,
39
- symbolsTouched: session.symbolsTouched,
40
- decisions: session.decisions
41
- },
42
- pendingWork: session.pendingWork || existing?.pendingWork || [],
43
- recentPatterns: session.patterns || existing?.recentPatterns || [],
44
- sessionsOnProject: (existing?.sessionsOnProject || 0) + 1,
45
- lastPurposeUpdate: existing?.lastPurposeUpdate
46
- };
47
- saveAgentState(agentId, rootDir, state);
48
- updateGlobalAgentState(agentId, projectName);
49
- return state;
50
- }
51
- function addPendingWork(agentId, rootDir, items) {
52
- const state = loadAgentState(agentId, rootDir);
53
- if (!state) return;
54
- state.pendingWork = [.../* @__PURE__ */ new Set([...state.pendingWork, ...items])];
55
- saveAgentState(agentId, rootDir, state);
56
- }
57
- function completePendingWork(agentId, rootDir, completedItems) {
58
- const state = loadAgentState(agentId, rootDir);
59
- if (!state) return;
60
- const completedSet = new Set(completedItems.map((i) => i.toLowerCase()));
61
- state.pendingWork = state.pendingWork.filter((item) => !completedSet.has(item.toLowerCase()));
62
- saveAgentState(agentId, rootDir, state);
63
- }
64
- function addProjectPattern(agentId, rootDir, pattern) {
65
- const state = loadAgentState(agentId, rootDir);
66
- if (!state) return;
67
- if (!state.recentPatterns.includes(pattern)) {
68
- state.recentPatterns.push(pattern);
69
- if (state.recentPatterns.length > 10) {
70
- state.recentPatterns = state.recentPatterns.slice(-10);
71
- }
72
- saveAgentState(agentId, rootDir, state);
73
- }
74
- }
75
- function loadGlobalAgentState(agentId) {
76
- const statePath = path.join(GLOBAL_AGENTS_DIR, agentId, "state.yaml");
77
- if (!fs.existsSync(statePath)) return null;
78
- try {
79
- const content = fs.readFileSync(statePath, "utf8");
80
- return yaml.load(content);
81
- } catch {
82
- return null;
83
- }
84
- }
85
- function updateGlobalAgentState(agentId, projectName) {
86
- const stateDir = path.join(GLOBAL_AGENTS_DIR, agentId);
87
- if (!fs.existsSync(stateDir)) {
88
- fs.mkdirSync(stateDir, { recursive: true });
89
- }
90
- const statePath = path.join(stateDir, "state.yaml");
91
- const existing = loadGlobalAgentState(agentId);
92
- const now = (/* @__PURE__ */ new Date()).toISOString();
93
- const history = existing?.projectHistory || [];
94
- const projectEntry = history.find((h) => h.project === projectName);
95
- if (projectEntry) {
96
- projectEntry.sessions += 1;
97
- projectEntry.lastActive = now;
98
- } else {
99
- history.push({ project: projectName, sessions: 1, lastActive: now });
100
- }
101
- history.sort((a, b) => b.lastActive.localeCompare(a.lastActive));
102
- const state = {
103
- id: agentId,
104
- totalSessions: (existing?.totalSessions || 0) + 1,
105
- lastActiveProject: projectName,
106
- lastActiveDate: now,
107
- projectHistory: history
108
- };
109
- fs.writeFileSync(statePath, yaml.dump(state, { lineWidth: 120, noRefs: true, sortKeys: false }), "utf8");
110
- }
111
- function loadAllAgentStates(rootDir) {
112
- const stateDir = path.join(rootDir, PROJECT_STATE_DIR);
113
- if (!fs.existsSync(stateDir)) return [];
114
- try {
115
- return fs.readdirSync(stateDir).filter((f) => f.endsWith(".yaml")).map((f) => {
116
- try {
117
- const content = fs.readFileSync(path.join(stateDir, f), "utf8");
118
- return yaml.load(content);
119
- } catch {
120
- return null;
121
- }
122
- }).filter(Boolean);
123
- } catch {
124
- return [];
125
- }
126
- }
127
-
128
- export {
129
- loadAgentState,
130
- saveAgentState,
131
- recordAgentSession,
132
- addPendingWork,
133
- completePendingWork,
134
- addProjectPattern,
135
- loadGlobalAgentState,
136
- updateGlobalAgentState,
137
- loadAllAgentStates
138
- };
@@ -1,269 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // ../paradigm-mcp/src/utils/plugin-update-checker.ts
4
- import * as fs from "fs";
5
- import * as path from "path";
6
- import * as os from "os";
7
- import * as crypto from "crypto";
8
- import { exec } from "child_process";
9
- var CLAUDE_PLUGINS_DIR = path.join(os.homedir(), ".claude", "plugins");
10
- var CHECK_STATE_PATH = path.join(os.homedir(), ".paradigm", "plugin-update-check.json");
11
- var THROTTLE_HOURS = 6;
12
- function execAsync(cmd, options = {}) {
13
- return new Promise((resolve, reject) => {
14
- exec(cmd, { timeout: options.timeout || 3e3, cwd: options.cwd }, (err, stdout) => {
15
- if (err) return reject(err);
16
- resolve(stdout.trim());
17
- });
18
- });
19
- }
20
- function readJsonSafe(filePath) {
21
- try {
22
- if (!fs.existsSync(filePath)) return null;
23
- return JSON.parse(fs.readFileSync(filePath, "utf8"));
24
- } catch {
25
- return null;
26
- }
27
- }
28
- function loadCheckState() {
29
- return readJsonSafe(CHECK_STATE_PATH);
30
- }
31
- function saveCheckState(state) {
32
- const dir = path.dirname(CHECK_STATE_PATH);
33
- if (!fs.existsSync(dir)) {
34
- fs.mkdirSync(dir, { recursive: true });
35
- }
36
- fs.writeFileSync(CHECK_STATE_PATH, JSON.stringify(state, null, 2));
37
- }
38
- function isThrottled() {
39
- const state = loadCheckState();
40
- if (!state) return false;
41
- const elapsed = Date.now() - new Date(state.lastCheck).getTime();
42
- return elapsed < THROTTLE_HOURS * 3600 * 1e3;
43
- }
44
- function computePluginContentHash(pluginDir) {
45
- const hash = crypto.createHash("sha256");
46
- const relevantExts = /* @__PURE__ */ new Set([".md", ".json", ".sh", ".yaml", ".yml", ".ts", ".js"]);
47
- const skipDirs = /* @__PURE__ */ new Set([".git", "node_modules", ".cache"]);
48
- function walkDir(dir) {
49
- let entries;
50
- try {
51
- entries = fs.readdirSync(dir, { withFileTypes: true });
52
- } catch {
53
- return;
54
- }
55
- entries.sort((a, b) => a.name.localeCompare(b.name));
56
- for (const entry of entries) {
57
- if (skipDirs.has(entry.name)) continue;
58
- const fullPath = path.join(dir, entry.name);
59
- if (entry.isDirectory()) {
60
- walkDir(fullPath);
61
- } else if (entry.isFile()) {
62
- const ext = path.extname(entry.name).toLowerCase();
63
- if (relevantExts.has(ext)) {
64
- try {
65
- const content = fs.readFileSync(fullPath, "utf8");
66
- const relPath = path.relative(pluginDir, fullPath);
67
- hash.update(relPath + "\0" + content);
68
- } catch {
69
- }
70
- }
71
- }
72
- }
73
- }
74
- walkDir(pluginDir);
75
- return hash.digest("hex").slice(0, 12);
76
- }
77
- function discoverPlugins() {
78
- const plugins = [];
79
- const marketplacesDir = path.join(CLAUDE_PLUGINS_DIR, "marketplaces");
80
- const cacheDir = path.join(CLAUDE_PLUGINS_DIR, "cache");
81
- if (!fs.existsSync(marketplacesDir)) return plugins;
82
- let marketplaceRepos;
83
- try {
84
- marketplaceRepos = fs.readdirSync(marketplacesDir).filter((d) => {
85
- const fullPath = path.join(marketplacesDir, d);
86
- return fs.statSync(fullPath).isDirectory() && fs.existsSync(path.join(fullPath, ".git"));
87
- });
88
- } catch {
89
- return plugins;
90
- }
91
- for (const repoDir of marketplaceRepos) {
92
- const marketplacePath = path.join(marketplacesDir, repoDir);
93
- const pluginsSubdir = path.join(marketplacePath, "plugins");
94
- if (!fs.existsSync(pluginsSubdir)) continue;
95
- let pluginDirs;
96
- try {
97
- pluginDirs = fs.readdirSync(pluginsSubdir).filter(
98
- (d) => fs.statSync(path.join(pluginsSubdir, d)).isDirectory()
99
- );
100
- } catch {
101
- continue;
102
- }
103
- for (const pluginName of pluginDirs) {
104
- const pluginJsonPath = path.join(pluginsSubdir, pluginName, ".claude-plugin", "plugin.json");
105
- const pluginJson = readJsonSafe(pluginJsonPath);
106
- if (!pluginJson) continue;
107
- const localVersion = pluginJson.version || "unknown";
108
- const pluginCacheDir = path.join(cacheDir, repoDir, pluginName);
109
- let installedVersion = "unknown";
110
- let installedSha = "unknown";
111
- if (fs.existsSync(pluginCacheDir)) {
112
- try {
113
- const versions = fs.readdirSync(pluginCacheDir).filter((d) => fs.statSync(path.join(pluginCacheDir, d)).isDirectory()).sort((a, b) => {
114
- const pa = a.split(".").map(Number);
115
- const pb = b.split(".").map(Number);
116
- for (let i = 0; i < 3; i++) {
117
- if ((pa[i] || 0) !== (pb[i] || 0)) return (pa[i] || 0) - (pb[i] || 0);
118
- }
119
- return 0;
120
- }).reverse();
121
- if (versions.length > 0) {
122
- installedVersion = versions[0];
123
- const cachedPluginJson = readJsonSafe(
124
- path.join(pluginCacheDir, versions[0], ".claude-plugin", "plugin.json")
125
- );
126
- if (cachedPluginJson?.sha) {
127
- installedSha = cachedPluginJson.sha;
128
- }
129
- }
130
- } catch {
131
- }
132
- }
133
- let repo = repoDir;
134
- try {
135
- const remoteUrl = fs.readFileSync(
136
- path.join(marketplacePath, ".git", "config"),
137
- "utf8"
138
- );
139
- const match = remoteUrl.match(/github\.com[:/]([^/]+\/[^/\s.]+)/);
140
- if (match) {
141
- repo = match[1].replace(/\.git$/, "");
142
- }
143
- } catch {
144
- }
145
- plugins.push({
146
- repo,
147
- plugin: pluginName,
148
- installedVersion,
149
- installedSha,
150
- marketplacePath,
151
- localVersion,
152
- pluginSourceDir: path.join(pluginsSubdir, pluginName),
153
- pluginCacheDir: fs.existsSync(pluginCacheDir) && installedVersion !== "unknown" ? path.join(pluginCacheDir, installedVersion) : ""
154
- });
155
- }
156
- }
157
- return plugins;
158
- }
159
- async function checkPlugin(plugin) {
160
- let remoteSha = null;
161
- let localSha = plugin.installedSha;
162
- try {
163
- localSha = await execAsync("git rev-parse HEAD", { cwd: plugin.marketplacePath });
164
- } catch {
165
- }
166
- try {
167
- const output = await execAsync("git ls-remote origin HEAD", {
168
- cwd: plugin.marketplacePath,
169
- timeout: 3e3
170
- });
171
- const match = output.match(/^([a-f0-9]+)/);
172
- if (match) {
173
- remoteSha = match[1];
174
- }
175
- } catch {
176
- }
177
- const hasRemoteUpdate = remoteSha !== null && remoteSha !== localSha;
178
- const hasCacheStale = plugin.localVersion !== plugin.installedVersion && plugin.installedVersion !== "unknown";
179
- const marketplaceContentHash = computePluginContentHash(plugin.pluginSourceDir);
180
- const cachedContentHash = plugin.pluginCacheDir ? computePluginContentHash(plugin.pluginCacheDir) : "";
181
- const hasContentDrift = cachedContentHash !== "" && marketplaceContentHash !== cachedContentHash;
182
- return {
183
- repo: plugin.repo,
184
- plugin: plugin.plugin,
185
- installedVersion: plugin.installedVersion,
186
- installedSha: localSha,
187
- localVersion: plugin.localVersion,
188
- remoteSha,
189
- marketplacePath: plugin.marketplacePath,
190
- hasRemoteUpdate,
191
- hasCacheStale: hasCacheStale || hasContentDrift,
192
- marketplaceContentHash,
193
- cachedContentHash,
194
- hasContentDrift
195
- };
196
- }
197
- function getPluginUpdateNotice() {
198
- const state = loadCheckState();
199
- if (!state?.results) return null;
200
- const updatable = state.results.filter((r) => r.hasRemoteUpdate || r.hasCacheStale);
201
- if (updatable.length === 0) return null;
202
- const lines = [];
203
- lines.push("--- PLUGIN UPDATES AVAILABLE ---");
204
- lines.push("Updates available for installed Claude Code plugins:");
205
- const pullCmds = [];
206
- const reinstallCmds = [];
207
- for (const r of updatable) {
208
- if (r.hasRemoteUpdate) {
209
- const versionInfo = r.installedVersion !== "unknown" ? `${r.installedVersion} \u2192 ${r.localVersion}` : "newer commits available";
210
- lines.push(` - ${r.plugin} (${r.repo}): ${versionInfo}`);
211
- pullCmds.push(`git -C ${r.marketplacePath} pull origin main`);
212
- reinstallCmds.push(`/plugin marketplace add ${r.repo}`);
213
- } else if (r.hasContentDrift) {
214
- lines.push(` - ${r.plugin} (${r.repo}): content changed (hash ${r.cachedContentHash} \u2192 ${r.marketplaceContentHash}, reinstall needed)`);
215
- reinstallCmds.push(`/plugin marketplace add ${r.repo}`);
216
- } else if (r.hasCacheStale) {
217
- lines.push(` - ${r.plugin} (${r.repo}): ${r.installedVersion} \u2192 ${r.localVersion} (reinstall needed)`);
218
- reinstallCmds.push(`/plugin marketplace add ${r.repo}`);
219
- }
220
- }
221
- lines.push("");
222
- lines.push("Tell the user about these updates and suggest the following steps:");
223
- if (pullCmds.length > 0) {
224
- lines.push("");
225
- lines.push("Step 1 \u2014 Pull latest from remote:");
226
- lines.push(` ${pullCmds.join(" && \\\n ")}`);
227
- }
228
- if (reinstallCmds.length > 0) {
229
- const stepNum = pullCmds.length > 0 ? 2 : 1;
230
- lines.push("");
231
- lines.push(`Step ${stepNum} \u2014 Reinstall to update the cached version:`);
232
- for (const cmd of reinstallCmds) {
233
- lines.push(` ${cmd}`);
234
- }
235
- lines.push("");
236
- lines.push(`Step ${stepNum + 1} \u2014 Restart the Claude Code session to load the new version.`);
237
- }
238
- lines.push("---");
239
- return lines.join("\n");
240
- }
241
- function schedulePluginUpdateCheck() {
242
- if (isThrottled()) return;
243
- (async () => {
244
- try {
245
- const results = await runPluginUpdateCheck();
246
- saveCheckState({
247
- lastCheck: (/* @__PURE__ */ new Date()).toISOString(),
248
- results
249
- });
250
- } catch {
251
- }
252
- })();
253
- }
254
- async function runPluginUpdateCheck() {
255
- const plugins = discoverPlugins();
256
- if (plugins.length === 0) return [];
257
- const results = await Promise.all(plugins.map((p) => checkPlugin(p)));
258
- saveCheckState({
259
- lastCheck: (/* @__PURE__ */ new Date()).toISOString(),
260
- results
261
- });
262
- return results;
263
- }
264
-
265
- export {
266
- getPluginUpdateNotice,
267
- schedulePluginUpdateCheck,
268
- runPluginUpdateCheck
269
- };
@@ -1,37 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/core/agent-provider.ts
4
- var MODEL_PRICING = {
5
- // Prices per 1M tokens (as of 2025)
6
- opus: { input: 15, output: 75 },
7
- sonnet: { input: 3, output: 15 },
8
- haiku: { input: 0.25, output: 1.25 }
9
- };
10
- function calculateCost(usage, model) {
11
- const pricing = MODEL_PRICING[model];
12
- const inputCost = usage.input / 1e6 * pricing.input;
13
- const outputCost = usage.output / 1e6 * pricing.output;
14
- return inputCost + outputCost;
15
- }
16
- function formatCost(usd) {
17
- if (usd < 0.01) {
18
- return `$${(usd * 100).toFixed(3)}\xA2`;
19
- }
20
- return `$${usd.toFixed(4)}`;
21
- }
22
- function formatTokens(count) {
23
- if (count >= 1e6) {
24
- return `${(count / 1e6).toFixed(2)}M`;
25
- }
26
- if (count >= 1e3) {
27
- return `${(count / 1e3).toFixed(1)}K`;
28
- }
29
- return count.toString();
30
- }
31
-
32
- export {
33
- MODEL_PRICING,
34
- calculateCost,
35
- formatCost,
36
- formatTokens
37
- };