openclaw-cortex 3.2.6 → 3.3.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 (257) hide show
  1. package/dist/{accounts-6btx_LVr.js → accounts-B3MIBUxY.js} +14 -14
  2. package/dist/{accounts-Cg6z7lKw.js → accounts-Doecg-Pe.js} +1 -1
  3. package/dist/{accounts-BOYxuJ9C.js → accounts-X5YWm9b7.js} +1 -1
  4. package/dist/{active-listener-BhL5jMd9.js → active-listener-DI-5r3l7.js} +1 -1
  5. package/dist/{agent-scope-fNLAHxGF.js → agent-scope-Eh54NB14.js} +3 -3
  6. package/dist/{audio-preflight-DgmMV8p-.js → audio-preflight-BT6BcGi_.js} +4 -4
  7. package/dist/{audio-preflight-oJZolUYt.js → audio-preflight-TVmfRTgf.js} +30 -30
  8. package/dist/{bindings-DdWLXM-y.js → bindings-C6TS0yEe.js} +2 -2
  9. package/dist/build-info.json +3 -3
  10. package/dist/bundled/boot-md/handler.js +53 -53
  11. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  12. package/dist/bundled/command-logger/handler.js +1 -1
  13. package/dist/bundled/session-memory/handler.js +53 -53
  14. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  15. package/dist/{channel-activity-LT3oBvO7.js → channel-activity-By7mU0Ld.js} +1 -1
  16. package/dist/{chrome-DxhUHYxR.js → chrome-CBhKqm1e.js} +7 -7
  17. package/dist/{chrome-BxjGg3Ji.js → chrome-Dvy8C6LZ.js} +13 -13
  18. package/dist/{chunk-TRVny4T1.js → chunk-DoTNWpve.js} +1 -1
  19. package/dist/{command-format-D1Crrvey.js → command-format--87BbJbN.js} +1 -1
  20. package/dist/{command-registry-CN383dzr.js → command-registry-DRaOk1jG.js} +4 -4
  21. package/dist/{commands-registry-CASS36zB.js → commands-registry-kwpFg3sO.js} +3 -3
  22. package/dist/{plugin-sdk/common-xLIrQlvS.js → common-D2vcaiue.js} +2 -2
  23. package/dist/{completion-cli-DiUpyj8K.js → completion-cli-CaMCaGeg.js} +1 -1
  24. package/dist/{completion-cli-DWog-ATG.js → completion-cli-Cq0-yq4r.js} +2 -2
  25. package/dist/{config-BXrj6C49.js → config-YM0DHrFa.js} +12 -12
  26. package/dist/control-ui/_app/immutable/chunks/{CTWxnwAC.js → A8Xp3VCv.js} +1 -1
  27. package/dist/control-ui/_app/immutable/chunks/{D6TmrqPb.js → B26luS__.js} +4 -4
  28. package/dist/control-ui/_app/immutable/chunks/{DRMrozhP.js → B2bAh5Q1.js} +1 -1
  29. package/dist/control-ui/_app/immutable/chunks/{X1MNi0qp.js → B2hZObCg.js} +1 -1
  30. package/dist/control-ui/_app/immutable/chunks/{YH-SwxLT.js → B9jIaMGe.js} +1 -1
  31. package/dist/control-ui/_app/immutable/chunks/{L9tM3YT2.js → BAw4ath1.js} +1 -1
  32. package/dist/control-ui/_app/immutable/chunks/{XUyUXXap.js → BGv0vpQT.js} +1 -1
  33. package/dist/control-ui/_app/immutable/chunks/{C_KVsgu8.js → BSoyQ_R5.js} +1 -1
  34. package/dist/control-ui/_app/immutable/chunks/{DFN8J1NF.js → BVUk3tWa.js} +1 -1
  35. package/dist/control-ui/_app/immutable/chunks/{BwY8sfED.js → BeZ-nXK1.js} +1 -1
  36. package/dist/control-ui/_app/immutable/chunks/Bh70dShK.js +1 -0
  37. package/dist/control-ui/_app/immutable/chunks/{DA25TLUp.js → BseClIFT.js} +1 -1
  38. package/dist/control-ui/_app/immutable/chunks/{C1Eymii5.js → BuTRGpGL.js} +1 -1
  39. package/dist/control-ui/_app/immutable/chunks/{BR-s7H7s.js → C-sMwVJq.js} +1 -1
  40. package/dist/control-ui/_app/immutable/chunks/{CToOwI3J.js → CA2Fqmpq.js} +1 -1
  41. package/dist/control-ui/_app/immutable/chunks/{BpdIPI45.js → CF2DLLi1.js} +1 -1
  42. package/dist/control-ui/_app/immutable/chunks/{HSq6Z-Ri.js → CFmcBGqp.js} +1 -1
  43. package/dist/control-ui/_app/immutable/chunks/{CjRaiADz.js → CN4OLKrr.js} +1 -1
  44. package/dist/control-ui/_app/immutable/chunks/{DBlwFnJd.js → CQBY9X6E.js} +1 -1
  45. package/dist/control-ui/_app/immutable/chunks/{Dp0CT_qn.js → CT8t8-J1.js} +1 -1
  46. package/dist/control-ui/_app/immutable/chunks/{CtgLaeta.js → CcGwJm6c.js} +1 -1
  47. package/dist/control-ui/_app/immutable/chunks/{CMAgoL0b.js → CgoZPVeh.js} +1 -1
  48. package/dist/control-ui/_app/immutable/chunks/{c7C9Q4bC.js → CpgMrl7C.js} +1 -1
  49. package/dist/control-ui/_app/immutable/chunks/D3iU0WXt.js +5 -0
  50. package/dist/control-ui/_app/immutable/chunks/{CTNPOj0C.js → D5-Leoub.js} +1 -1
  51. package/dist/control-ui/_app/immutable/chunks/{qjmh8Sgh.js → DCmPRZMl.js} +1 -1
  52. package/dist/control-ui/_app/immutable/chunks/{FrknC80A.js → DDlWCD6s.js} +1 -1
  53. package/dist/control-ui/_app/immutable/chunks/{Mcnmm_vJ.js → DLh1OHbt.js} +1 -1
  54. package/dist/control-ui/_app/immutable/chunks/{f2z7Vhzy.js → DP56tnrP.js} +1 -1
  55. package/dist/control-ui/_app/immutable/chunks/{DvXEWbFO.js → DTaVu539.js} +1 -1
  56. package/dist/control-ui/_app/immutable/chunks/{BQKxqYwa.js → DUYD8zIj.js} +1 -1
  57. package/dist/control-ui/_app/immutable/chunks/{DeOOVYCg.js → DXEhjiCw.js} +2 -2
  58. package/dist/control-ui/_app/immutable/chunks/{DN-9aXEU.js → DYGYDwS0.js} +1 -1
  59. package/dist/control-ui/_app/immutable/chunks/{Dr9WtqlZ.js → DaqZ8F7d.js} +1 -1
  60. package/dist/control-ui/_app/immutable/chunks/{DcdYjMti.js → DlgMBTXO.js} +1 -1
  61. package/dist/control-ui/_app/immutable/chunks/{C4FsZxvN.js → Dox5Ke1c.js} +1 -1
  62. package/dist/control-ui/_app/immutable/chunks/{CmisPrPB.js → Dp6rzy9s.js} +1 -1
  63. package/dist/control-ui/_app/immutable/chunks/{xY7vVkih.js → FLe1BQLx.js} +1 -1
  64. package/dist/control-ui/_app/immutable/chunks/{BFumT5Y0.js → IZSoudUT.js} +35 -35
  65. package/dist/control-ui/_app/immutable/chunks/{Dgn5d0KE.js → LV_KoVeT.js} +1 -1
  66. package/dist/control-ui/_app/immutable/chunks/{CRqxfK8Q.js → PNoU9iVn.js} +1 -1
  67. package/dist/control-ui/_app/immutable/chunks/{DVR5y4oH.js → UuW2ZfGw.js} +1 -1
  68. package/dist/control-ui/_app/immutable/chunks/{BwK9WVrR.js → ecD8_m48.js} +1 -1
  69. package/dist/control-ui/_app/immutable/chunks/{BLM6VoLO.js → gowA3Z9N.js} +1 -1
  70. package/dist/control-ui/_app/immutable/chunks/{DLqjuVZy.js → j5wpLmOt.js} +1 -1
  71. package/dist/control-ui/_app/immutable/chunks/{D3i-icoF.js → lwt7gw4R.js} +1 -1
  72. package/dist/control-ui/_app/immutable/chunks/pbkj8eYC.js +1 -0
  73. package/dist/control-ui/_app/immutable/chunks/{DREM5LJO.js → ppjADO0n.js} +1 -1
  74. package/dist/control-ui/_app/immutable/chunks/{DkQuM6_3.js → r2Nt9SxP.js} +1 -1
  75. package/dist/control-ui/_app/immutable/chunks/{xiH5_-XQ.js → s1JCCdcW.js} +1 -1
  76. package/dist/control-ui/_app/immutable/chunks/{XzWkBa-Y.js → sya67AFr.js} +1 -1
  77. package/dist/control-ui/_app/immutable/chunks/{CGNab0sK.js → wegGCVaW.js} +1 -1
  78. package/dist/control-ui/_app/immutable/entry/{app.BP81uCNW.js → app.Fto7AlG1.js} +2 -2
  79. package/dist/control-ui/_app/immutable/entry/start.BisB9g6B.js +1 -0
  80. package/dist/control-ui/_app/immutable/nodes/{0.BobSoCVT.js → 0.UVUABpvE.js} +2 -2
  81. package/dist/control-ui/_app/immutable/nodes/{1.DXqGuW0y.js → 1.D-BcAijP.js} +1 -1
  82. package/dist/control-ui/_app/immutable/nodes/{10.BDapaGMa.js → 10.DCWCeB7T.js} +1 -1
  83. package/dist/control-ui/_app/immutable/nodes/{11.DBYtQZHB.js → 11.DhEjys02.js} +1 -1
  84. package/dist/control-ui/_app/immutable/nodes/{12.D8XUK_lu.js → 12.DSYRsOVI.js} +1 -1
  85. package/dist/control-ui/_app/immutable/nodes/{13.BDfcMPWD.js → 13.eYK8pE6F.js} +1 -1
  86. package/dist/control-ui/_app/immutable/nodes/{14.CRNfMLjf.js → 14.BXh21cYH.js} +1 -1
  87. package/dist/control-ui/_app/immutable/nodes/{15.BcW25Cjx.js → 15.BFU0eVY_.js} +1 -1
  88. package/dist/control-ui/_app/immutable/nodes/{16.C4l7NDBm.js → 16.DBHG2mB-.js} +1 -1
  89. package/dist/control-ui/_app/immutable/nodes/{17.BkTX8oXe.js → 17.CyrSC_X9.js} +1 -1
  90. package/dist/control-ui/_app/immutable/nodes/{18.B5ULV77i.js → 18.Bf01kDE6.js} +1 -1
  91. package/dist/control-ui/_app/immutable/nodes/2.-1WNqW3J.js +1 -0
  92. package/dist/control-ui/_app/immutable/nodes/{3.CAwDlZXX.js → 3.DkKyJn61.js} +1 -1
  93. package/dist/control-ui/_app/immutable/nodes/{4.UqbCNSjq.js → 4.B2rWu0jt.js} +1 -1
  94. package/dist/control-ui/_app/immutable/nodes/{5.fyz3FwUS.js → 5.DFem5Aji.js} +1 -1
  95. package/dist/control-ui/_app/immutable/nodes/{6.Dico67qE.js → 6.7jHvlHW1.js} +1 -1
  96. package/dist/control-ui/_app/immutable/nodes/{7.CTGW4yVr.js → 7.DrqcqVUQ.js} +1 -1
  97. package/dist/control-ui/_app/immutable/nodes/{8.B4g5dpji.js → 8.Cs1y6ZIY.js} +1 -1
  98. package/dist/control-ui/_app/immutable/nodes/{9.BzrUr7aI.js → 9.m08xA4oj.js} +1 -1
  99. package/dist/control-ui/_app/version.json +1 -1
  100. package/dist/control-ui/index.html +6 -6
  101. package/dist/{deliver-Brnl4HfK.js → deliver-6ybd_3jT.js} +1 -1
  102. package/dist/{deliver-Cj9AtdCD.js → deliver-CzlDovgN.js} +20 -20
  103. package/dist/{diagnostic-CoT2YQH4.js → diagnostic-D8zLma7p.js} +1 -1
  104. package/dist/{doctor-completion-C10-HEge.js → doctor-completion-DucI70Ne.js} +1 -1
  105. package/dist/{doctor-completion-QnooXNE2.js → doctor-completion-vGK1q4Ye.js} +1 -1
  106. package/dist/entry.js +1 -1
  107. package/dist/extensionAPI.js +6 -6
  108. package/dist/{frontmatter-BT4H5SZG.js → frontmatter-D07uaEbx.js} +2 -2
  109. package/dist/{fs-safe-C_CYPw9r.js → fs-safe-CIZ43-83.js} +1 -1
  110. package/dist/{gateway-cli-BckfYcm_.js → gateway-cli-CvQSDvm3.js} +2 -2
  111. package/dist/{gateway-cli-EerfyXJc.js → gateway-cli-DXjkd0k0.js} +2 -2
  112. package/dist/{gemini-auth-DumDbrQC.js → gemini-auth-Bj7vQfrk.js} +1 -1
  113. package/dist/{github-copilot-token-BQ98eazZ.js → github-copilot-token-Bu5FPDAY.js} +7 -7
  114. package/dist/{image-4JNpzCjn.js → image-BccL3ngs.js} +1 -1
  115. package/dist/{image-BWAaAO2H.js → image-D7-aybgX.js} +4 -4
  116. package/dist/index.js +1 -1
  117. package/dist/{ir-ibDQZVBL.js → ir-rhivtCTu.js} +4 -4
  118. package/dist/llm-slug-generator.js +53 -53
  119. package/dist/{local-roots-BgXHvzfc.js → local-roots-Bt7xv1V2.js} +5 -5
  120. package/dist/{login-DlnaqDqy.js → login-BPfI6TLW.js} +7 -7
  121. package/dist/{login-qr-CAaBBzm5.js → login-qr-C9i5PuWG.js} +12 -12
  122. package/dist/{manager-DfEENlRy.js → manager-CuDUtoEb.js} +13 -13
  123. package/dist/{manifest-registry-Dovhiqzt.js → manifest-registry-CpMEl7vN.js} +19 -19
  124. package/dist/{markdown-tables-DO9qAEKa.js → markdown-tables-1wSxjPR8.js} +1 -1
  125. package/dist/{message-channel-BDlvrUZF.js → message-channel-CW_Jr8qx.js} +1 -1
  126. package/dist/{model-auth-BZOnizY6.js → model-auth-D56n6qom.js} +9 -9
  127. package/dist/{normalize-C3cb7hCc.js → normalize-O7CagPR-.js} +9 -9
  128. package/dist/{onboard-B-Y124zt.js → onboard-CNYoHyW0.js} +1 -1
  129. package/dist/{onboard-C_8S5h5L.js → onboard-m7GmQI89.js} +1 -1
  130. package/dist/{onboarding-fEEZIbzq.js → onboarding-CjjXl4IO.js} +1 -1
  131. package/dist/{onboarding-DGH1xg-b.js → onboarding-DB_nNcp7.js} +1 -1
  132. package/dist/{onboarding.finalize-BDkEi13n.js → onboarding.finalize-C0TCYGuN.js} +3 -3
  133. package/dist/{onboarding.finalize-DG5b4KjH.js → onboarding.finalize-ChIElmdD.js} +4 -4
  134. package/dist/{outbound-DlR1v-S7.js → outbound-Y1aXeGg2.js} +7 -7
  135. package/dist/{outbound-attachment-CjHKg7c1.js → outbound-attachment-Qu3GEH7P.js} +2 -2
  136. package/dist/{paths-gnW-md4M.js → paths-B4zRLe0K.js} +1 -1
  137. package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
  138. package/dist/{pi-auth-json-DpaHuKnz.js → pi-auth-json-CDC723lK.js} +8 -8
  139. package/dist/{pi-embedded-DiF5uNsJ.js → pi-embedded-BSutTOmE.js} +154 -154
  140. package/dist/{pi-embedded-DCp1o-Q-.js → pi-embedded-BgUNEKQv.js} +16 -16
  141. package/dist/{pi-embedded-helpers-6DRwyFRK.js → pi-embedded-helpers-BWG1sdJc.js} +52 -52
  142. package/dist/{pi-embedded-helpers-OUBsvbo7.js → pi-embedded-helpers-Dh6fWzG0.js} +4 -4
  143. package/dist/plugin-sdk/{accounts-uAqOguyH.js → accounts-LxMkgia0.js} +1 -1
  144. package/dist/plugin-sdk/{accounts-b1Cok6r_.js → accounts-iN-dbgw4.js} +3 -3
  145. package/dist/plugin-sdk/{accounts-CRs7kbLB.js → accounts-vV5Gfd26.js} +1 -1
  146. package/dist/plugin-sdk/{active-listener-BdVTYHTN.js → active-listener-Bh0LXjEI.js} +1 -1
  147. package/dist/plugin-sdk/{agent-scope-Bs92YR2y.js → agent-scope-CbyigN8s.js} +2 -2
  148. package/dist/plugin-sdk/{api-key-rotation-wd2Jnynp.js → api-key-rotation--_SHlBvO.js} +1 -1
  149. package/dist/plugin-sdk/{audio-preflight-CblfMzuT.js → audio-preflight-Cs-ml8zg.js} +25 -25
  150. package/dist/plugin-sdk/{bindings-BiEEaTNG.js → bindings-EiVe9I7R.js} +2 -2
  151. package/dist/plugin-sdk/{channel-activity-DHI8R5Xg.js → channel-activity-PV3vhwo2.js} +1 -1
  152. package/dist/plugin-sdk/{channel-web-B06HVGIL.js → channel-web-21Mv-TmV.js} +22 -22
  153. package/dist/plugin-sdk/{chrome-ORXV3sOi.js → chrome-DY36v1wL.js} +3 -3
  154. package/dist/plugin-sdk/{chunk-C9J4kyVw.js → chunk-CyOBR4uk.js} +1 -1
  155. package/dist/plugin-sdk/{command-format-BTciq6Gg.js → command-format-C5kdEGEu.js} +1 -1
  156. package/dist/plugin-sdk/{commands-registry-B03cVRjI.js → commands-registry-OichNmLJ.js} +3 -3
  157. package/dist/{common-bBB_AQl2.js → plugin-sdk/common-BnJL1iD6.js} +2 -2
  158. package/dist/plugin-sdk/{config-gGD5Rkaw.js → config-BG3Dq3SQ.js} +9 -9
  159. package/dist/plugin-sdk/{deliver-DrIvPqH5.js → deliver-BtCdGBea.js} +10 -10
  160. package/dist/plugin-sdk/{diagnostic-oBxO5N68.js → diagnostic-DFXnVf2I.js} +1 -1
  161. package/dist/plugin-sdk/{fs-safe--E2UxVCE.js → fs-safe-D3UMk9-G.js} +1 -1
  162. package/dist/plugin-sdk/{image-psst3EfB.js → image-CcHh2-91.js} +4 -4
  163. package/dist/plugin-sdk/index.js +52 -52
  164. package/dist/plugin-sdk/{ir-B7KEB-SH.js → ir-CyBaWJwF.js} +4 -4
  165. package/dist/plugin-sdk/{local-roots-BCWc25rb.js → local-roots-BO0Dyqgm.js} +3 -3
  166. package/dist/plugin-sdk/{login-B3Mf_yyo.js → login-gAP1E9vw.js} +7 -7
  167. package/dist/plugin-sdk/{login-qr-BwyNiRRo.js → login-qr-C_TnVe07.js} +9 -9
  168. package/dist/plugin-sdk/{manager-Dv8oeW8Q.js → manager-CC6jXeB-.js} +8 -8
  169. package/dist/plugin-sdk/{manifest-registry-Lzj-fZNH.js → manifest-registry-BgkX6ON4.js} +1 -1
  170. package/dist/plugin-sdk/{markdown-tables-JToF08xk.js → markdown-tables-Q9Bw5OWT.js} +1 -1
  171. package/dist/plugin-sdk/{message-channel-C3OrO29D.js → message-channel-DxNExIdv.js} +1 -1
  172. package/dist/plugin-sdk/{model-selection-BP-yZfgL.js → model-selection-CcOKuG2n.js} +4 -4
  173. package/dist/plugin-sdk/{normalize-CALo0r3J.js → normalize-DQzsuqr8.js} +4 -4
  174. package/dist/plugin-sdk/{outbound-Xv_dXAwT.js → outbound-BNo9XNzM.js} +7 -7
  175. package/dist/plugin-sdk/{outbound-attachment-BcrG8SHW.js → outbound-attachment-CisuJmNV.js} +2 -2
  176. package/dist/plugin-sdk/{pi-auth-json-cJTtFNw1.js → pi-auth-json-BHnQjxub.js} +5 -5
  177. package/dist/plugin-sdk/{pi-embedded-helpers-DjyrCaOR.js → pi-embedded-helpers-D5mU_VuV.js} +17 -17
  178. package/dist/plugin-sdk/{plugins-DkDfsqpU.js → plugins-DZx_qlHO.js} +3 -3
  179. package/dist/plugin-sdk/{pw-ai-DzpfUQcL.js → pw-ai-DYABE96f.js} +8 -8
  180. package/dist/plugin-sdk/{qmd-manager-CJcPR4Tl.js → qmd-manager-B3_LuPWI.js} +4 -4
  181. package/dist/plugin-sdk/{registry-C8pj8ctW.js → registry-BECEtj9n.js} +2 -2
  182. package/dist/plugin-sdk/{replies-D70UX9el.js → replies-DYi7SN77.js} +3 -3
  183. package/dist/plugin-sdk/{reply-Bd2hTqt2.js → reply-Cjk7LMy5.js} +78 -78
  184. package/dist/plugin-sdk/{reply-prefix-C4uKnJw5.js → reply-prefix-CjyfQ_d1.js} +1 -1
  185. package/dist/plugin-sdk/{resolve-route-D3KbwzED.js → resolve-route-DcFELQ2A.js} +3 -3
  186. package/dist/plugin-sdk/{retry-B8Oq5mgi.js → retry-Bkj1k1me.js} +1 -1
  187. package/dist/plugin-sdk/{runner-eN6avbf7.js → runner-DpYDxpAW.js} +9 -9
  188. package/dist/plugin-sdk/{send-DbftCLdT.js → send-BZCJA8cX.js} +11 -11
  189. package/dist/plugin-sdk/{send-NfHYBhul.js → send-DZKSn0On.js} +7 -7
  190. package/dist/plugin-sdk/{send-g2G5-BE1.js → send-DstsvZrR.js} +7 -7
  191. package/dist/plugin-sdk/{send-DTQ35K1k.js → send-L7Qzaw1k.js} +11 -11
  192. package/dist/plugin-sdk/{send-CYWWJEcn.js → send-ydtZKtPY.js} +6 -6
  193. package/dist/plugin-sdk/{session-BS3El_89.js → session-hN4eOpFg.js} +4 -4
  194. package/dist/plugin-sdk/{skill-commands-Cle2Lzhm.js → skill-commands-BI1wVtHZ.js} +5 -5
  195. package/dist/plugin-sdk/{skills-BKSekIbi.js → skills-Xz3Fbq-R.js} +7 -7
  196. package/dist/plugin-sdk/{sqlite-Yn48izJ_.js → sqlite-DtIiUWZr.js} +1 -1
  197. package/dist/plugin-sdk/{store-Cz4sBcdW.js → store-w9NR0-ll.js} +2 -2
  198. package/dist/plugin-sdk/{subsystem-BfLMZ8kW.js → subsystem-Ck27y_6W.js} +1 -1
  199. package/dist/plugin-sdk/{tables-gytp5jHK.js → tables-CmVJrzl_.js} +1 -1
  200. package/dist/plugin-sdk/{thinking-BOKrkVfN.js → thinking-DIWJ8ngy.js} +5 -5
  201. package/dist/plugin-sdk/{tokens-D1LxPszt.js → tokens-B6GWdF_0.js} +1 -1
  202. package/dist/plugin-sdk/{tool-loop-detection-CYSptBsl.js → tool-loop-detection-CbPwu1_R.js} +2 -2
  203. package/dist/plugin-sdk/web-DV9s3A0M.js +65 -0
  204. package/dist/plugin-sdk/{whatsapp-actions-Cxf0P-Zz.js → whatsapp-actions-DdnRWwJa.js} +20 -20
  205. package/dist/{plugins-CJYXNO4s.js → plugins-CLJ0iOl0.js} +1 -1
  206. package/dist/{program-DadI_6OM.js → program-CVLtKnfR.js} +2 -2
  207. package/dist/{program-context-Cj0DZ4-w.js → program-context-tjPv_pMM.js} +6 -6
  208. package/dist/{prompt-select-styled-SU9h5tPd.js → prompt-select-styled-4UgZMl1u.js} +2 -2
  209. package/dist/{prompt-select-styled-_rVIdUqN.js → prompt-select-styled-lWJwdNOt.js} +2 -2
  210. package/dist/{pw-ai-ByDR1q8k.js → pw-ai-Bp7tQXP7.js} +1 -1
  211. package/dist/{pw-ai-BrMJUJAV.js → pw-ai-DvWHo51A.js} +11 -11
  212. package/dist/{qmd-manager-DTtrEBXO.js → qmd-manager-DLZCCfAl.js} +7 -7
  213. package/dist/{register.maintenance-lcYGhRfn.js → register.maintenance-Be6mgKHS.js} +5 -5
  214. package/dist/{register.maintenance-CKkRbcT9.js → register.maintenance-CXdFRu0F.js} +6 -6
  215. package/dist/{register.onboard-7yDtMX-p.js → register.onboard-DBC7puPE.js} +2 -2
  216. package/dist/{register.onboard-DWWcPpQm.js → register.onboard-o3lH_CIx.js} +2 -2
  217. package/dist/{register.setup-DQ2pAYjq.js → register.setup-4Bh1tPhz.js} +2 -2
  218. package/dist/{register.setup-pmtj5F29.js → register.setup-CdGVt-tp.js} +2 -2
  219. package/dist/{register.subclis-BjYBzftC.js → register.subclis-Db-mOleG.js} +3 -3
  220. package/dist/{registry-BmY4gNy6.js → registry-CXBAJGac.js} +17 -17
  221. package/dist/{replies-CpfV6teD.js → replies-Dst9shzA.js} +3 -3
  222. package/dist/{reply-prefix-ImxHFIBV.js → reply-prefix-Bi0kA6w2.js} +1 -1
  223. package/dist/{resolve-route-B6jAofkW.js → resolve-route-BUh-vL4u.js} +4 -4
  224. package/dist/{retry-BxB_D6Pn.js → retry-BwVcNQB0.js} +1 -1
  225. package/dist/{run-main-C9QTrYeQ.js → run-main-BNrhYed3.js} +3 -3
  226. package/dist/{runner-xrbh4KIj.js → runner-C3yJ8DJi.js} +9 -9
  227. package/dist/{runner-BYhtaPKn.js → runner-j4Bfr_LY.js} +1 -1
  228. package/dist/{send-e_SdAJeq.js → send-Br3A9kpZ.js} +19 -19
  229. package/dist/{send-C-XCIJuC.js → send-BzIvr4Z_.js} +6 -6
  230. package/dist/{send-CiDdpmzA.js → send-CDciUPAf.js} +6 -6
  231. package/dist/{send-sBat2Hk3.js → send-CJ2zw6gd.js} +7 -7
  232. package/dist/{send-oQqEPZFE.js → send-CtOVbiqN.js} +10 -10
  233. package/dist/{session-Br88pwYq.js → session-DaH2NktH.js} +8 -8
  234. package/dist/{session-dirs-DV_qZ5wI.js → session-dirs-BtvMQvd2.js} +1 -1
  235. package/dist/{session-dirs-DGhcLUEt.js → session-dirs-Dp66oMuK.js} +1 -1
  236. package/dist/{skill-commands-L55X--Ff.js → skill-commands-CQlQjOjc.js} +9 -9
  237. package/dist/{skills-0iSdpmyU.js → skills-CEwsiFJU.js} +21 -21
  238. package/dist/{sqlite-DJh2xLr6.js → sqlite-BY19hYgD.js} +4 -4
  239. package/dist/{store-DHkrtQed.js → store-DXYMQMY7.js} +2 -2
  240. package/dist/{subsystem-B5g771Td.js → subsystem-BFaeHXzD.js} +1 -1
  241. package/dist/{tables-D5EnkI03.js → tables-CuY2NO6I.js} +1 -1
  242. package/dist/{thinking-cSNbxycr.js → thinking-BM9OL9gE.js} +5 -5
  243. package/dist/{tokens-BRx7o_ZS.js → tokens-CC-Nd7t2.js} +1 -1
  244. package/dist/{tool-loop-detection-BjQsVGUc.js → tool-loop-detection-DDnbw1kC.js} +3 -3
  245. package/dist/{update-cli-BJkEpOzH.js → update-cli-1QGSqP3Y.js} +7 -7
  246. package/dist/{update-cli-CijRWAjm.js → update-cli-CmLe-3UM.js} +6 -6
  247. package/dist/{web-CVGYB15Z.js → web-DN0Lf8sf.js} +57 -57
  248. package/dist/{web-ZW9Geotk.js → web-y3J71ECd.js} +6 -6
  249. package/dist/{whatsapp-actions-n2AzHm58.js → whatsapp-actions-Bhzconsy.js} +23 -23
  250. package/dist/{workspace-B32hQFzW.js → workspace-DRkjyTds.js} +6 -6
  251. package/package.json +1 -1
  252. package/dist/control-ui/_app/immutable/chunks/2UnHt_9K.js +0 -1
  253. package/dist/control-ui/_app/immutable/chunks/B4GbTqhO.js +0 -1
  254. package/dist/control-ui/_app/immutable/chunks/DM2PI6Ub.js +0 -5
  255. package/dist/control-ui/_app/immutable/entry/start.BkyZMPcP.js +0 -1
  256. package/dist/control-ui/_app/immutable/nodes/2.BbOfUph1.js +0 -1
  257. package/dist/plugin-sdk/web-CHrq1191.js +0 -65
@@ -1,4 +1,4 @@
1
- import{p as Y}from"./C_KVsgu8.js";import{I as K}from"./Dgn5d0KE.js";import{t as U,q as V,s as X,g as J,a as Q,b as Z,_ as l,l as m,d as rr,u as er,E as tr,z as ar,k as C,F as sr,G as nr,H as or,c as cr,I as ir}from"./D6TmrqPb.js";import{p as dr}from"./XzWkBa-Y.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},hr=nr.gitGraph,I=l(()=>sr({...hr,...or().gitGraph}),"getConfig"),c=new K(()=>{const t=I(),r=t.mainBranchName,s=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:s}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function A(){return ir({length:7})}l(A,"getID");function F(t,r){const s=Object.create(null);return t.reduce((n,e)=>{const a=r(e);return s[a]||(s[a]=!0,n.push(e)),n},[])}l(F,"uniqBy");var lr=l(function(t){c.records.direction=t},"setDirection"),$r=l(function(t){m.debug("options str",t),t=t?.trim(),t=t||"{}";try{c.records.options=JSON.parse(t)}catch(r){m.error("error while parsing gitGraph options",r.message)}},"setOptions"),fr=l(function(){return c.records.options},"getOptions"),gr=l(function(t){let r=t.msg,s=t.id;const n=t.type;let e=t.tags;m.info("commit",r,s,n,e),m.debug("Entering commit:",r,s,n,e);const a=I();s=C.sanitizeText(s,a),r=C.sanitizeText(r,a),e=e?.map(o=>C.sanitizeText(o,a));const d={id:s||c.records.seq+"-"+A(),message:r,seq:c.records.seq++,type:n??p.NORMAL,tags:e??[],parents:c.records.head==null?[]:[c.records.head.id],branch:c.records.currBranch};c.records.head=d,m.info("main branch",a.mainBranchName),c.records.commits.has(d.id)&&m.warn(`Commit ID ${d.id} already exists`),c.records.commits.set(d.id,d),c.records.branches.set(c.records.currBranch,d.id),m.debug("in pushCommit "+d.id)},"commit"),yr=l(function(t){let r=t.name;const s=t.order;if(r=C.sanitizeText(r,I()),c.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);c.records.branches.set(r,c.records.head!=null?c.records.head.id:null),c.records.branchConfig.set(r,{name:r,order:s}),D(r),m.debug("in createBranch")},"branch"),ur=l(t=>{let r=t.branch,s=t.id;const n=t.type,e=t.tags,a=I();r=C.sanitizeText(r,a),s&&(s=C.sanitizeText(s,a));const d=c.records.branches.get(c.records.currBranch),o=c.records.branches.get(r),f=d?c.records.commits.get(d):void 0,h=o?c.records.commits.get(o):void 0;if(f&&h&&f.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(c.records.currBranch===r){const i=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if(f===void 0||!f){const i=new Error(`Incorrect usage of "merge". Current branch (${c.records.currBranch})has no commits`);throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},i}if(!c.records.branches.has(r)){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},i}if(h===void 0||!h){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},i}if(f===h){const i=new Error('Incorrect usage of "merge". Both branches have same head');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if(s&&c.records.commits.has(s)){const i=new Error('Incorrect usage of "merge". Commit with id:'+s+" already exists, use different custom id");throw i.hash={text:`merge ${r} ${s} ${n} ${e?.join(" ")}`,token:`merge ${r} ${s} ${n} ${e?.join(" ")}`,expected:[`merge ${r} ${s}_UNIQUE ${n} ${e?.join(" ")}`]},i}const $=o||"",g={id:s||`${c.records.seq}-${A()}`,message:`merged branch ${r} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,$],branch:c.records.currBranch,type:p.MERGE,customType:n,customId:!!s,tags:e??[]};c.records.head=g,c.records.commits.set(g.id,g),c.records.branches.set(c.records.currBranch,g.id),m.debug(c.records.branches),m.debug("in mergeBranch")},"merge"),xr=l(function(t){let r=t.id,s=t.targetId,n=t.tags,e=t.parent;m.debug("Entering cherryPick:",r,s,n);const a=I();if(r=C.sanitizeText(r,a),s=C.sanitizeText(s,a),n=n?.map(f=>C.sanitizeText(f,a)),e=C.sanitizeText(e,a),!r||!c.records.commits.has(r)){const f=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw f.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},f}const d=c.records.commits.get(r);if(d===void 0||!d)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(d.parents)&&d.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=d.branch;if(d.type===p.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!s||!c.records.commits.has(s)){if(o===c.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},g}const f=c.records.branches.get(c.records.currBranch);if(f===void 0||!f){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},g}const h=c.records.commits.get(f);if(h===void 0||!h){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},g}const $={id:c.records.seq+"-"+A(),message:`cherry-picked ${d?.message} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,d.id],branch:c.records.currBranch,type:p.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${d.id}${d.type===p.MERGE?`|parent:${e}`:""}`]};c.records.head=$,c.records.commits.set($.id,$),c.records.branches.set(c.records.currBranch,$.id),m.debug(c.records.branches),m.debug("in cherryPick")}},"cherryPick"),D=l(function(t){if(t=C.sanitizeText(t,I()),c.records.branches.has(t)){c.records.currBranch=t;const r=c.records.branches.get(c.records.currBranch);r===void 0||!r?c.records.head=null:c.records.head=c.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function _(t,r,s){const n=t.indexOf(r);n===-1?t.push(s):t.splice(n,1,s)}l(_,"upsert");function P(t){const r=t.reduce((e,a)=>e.seq>a.seq?e:a,t[0]);let s="";t.forEach(function(e){e===r?s+=" *":s+=" |"});const n=[s,r.id,r.seq];for(const e in c.records.branches)c.records.branches.get(e)===r.id&&n.push(e);if(m.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=c.records.commits.get(r.parents[0]);_(t,r,e),r.parents[1]&&t.push(c.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=c.records.commits.get(r.parents[0]);_(t,r,e)}}t=F(t,e=>e.id),P(t)}l(P,"prettyPrintCommitHistory");var pr=l(function(){m.debug(c.records.commits);const t=N()[0];P([t])},"prettyPrint"),mr=l(function(){c.reset(),ar()},"clear"),br=l(function(){return[...c.records.branchConfig.values()].map((r,s)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${s}`)}).sort((r,s)=>(r.order??0)-(s.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),wr=l(function(){return c.records.branches},"getBranches"),vr=l(function(){return c.records.commits},"getCommits"),N=l(function(){const t=[...c.records.commits.values()];return t.forEach(function(r){m.debug(r.id)}),t.sort((r,s)=>r.seq-s.seq),t},"getCommitsArray"),Cr=l(function(){return c.records.currBranch},"getCurrentBranch"),Er=l(function(){return c.records.direction},"getDirection"),Tr=l(function(){return c.records.head},"getHead"),S={commitType:p,getConfig:I,setDirection:lr,setOptions:$r,getOptions:fr,commit:gr,branch:yr,merge:ur,cherryPick:xr,checkout:D,prettyPrint:pr,clear:mr,getBranchesAsObjArray:br,getBranches:wr,getCommits:vr,getCommitsArray:N,getCurrentBranch:Cr,getDirection:Er,getHead:Tr,setAccTitle:Z,getAccTitle:Q,getAccDescription:J,setAccDescription:X,setDiagramTitle:V,getDiagramTitle:U},Br=l((t,r)=>{Y(t,r),t.dir&&r.setDirection(t.dir);for(const s of t.statements)Lr(s,r)},"populate"),Lr=l((t,r)=>{const n={Commit:l(e=>r.commit(kr(e)),"Commit"),Branch:l(e=>r.branch(Mr(e)),"Branch"),Merge:l(e=>r.merge(Ir(e)),"Merge"),Checkout:l(e=>r.checkout(Rr(e)),"Checkout"),CherryPicking:l(e=>r.cherryPick(Gr(e)),"CherryPicking")}[t.$type];n?n(t):m.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),kr=l(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?p[t.type]:p.NORMAL,tags:t.tags??void 0}),"parseCommit"),Mr=l(t=>({name:t.name,order:t.order??0}),"parseBranch"),Ir=l(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?p[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Rr=l(t=>t.branch,"parseCheckout"),Gr=l(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),Or={parse:l(async t=>{const r=await dr("gitGraph",t);m.debug(r),Br(r,S)},"parse")},qr=cr(),v=qr?.gitGraph,L=10,k=40,E=4,T=2,M=8,b=new Map,w=new Map,O=30,R=new Map,q=[],B=0,u="LR",Ar=l(()=>{b.clear(),w.clear(),R.clear(),B=0,q=[],u="LR"},"clear"),W=l(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(n=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=n.trim(),r.appendChild(e)}),r},"drawText"),j=l(t=>{let r,s,n;return u==="BT"?(s=l((e,a)=>e<=a,"comparisonFunc"),n=1/0):(s=l((e,a)=>e>=a,"comparisonFunc"),n=0),t.forEach(e=>{const a=u==="TB"||u=="BT"?w.get(e)?.y:w.get(e)?.x;a!==void 0&&s(a,n)&&(r=e,n=a)}),r},"findClosestParent"),Hr=l(t=>{let r="",s=1/0;return t.forEach(n=>{const e=w.get(n).y;e<=s&&(r=n,s=e)}),r||void 0},"findClosestParentBT"),_r=l((t,r,s)=>{let n=s,e=s;const a=[];t.forEach(d=>{const o=r.get(d);if(!o)throw new Error(`Commit not found for key ${d}`);o.parents.length?(n=zr(o),e=Math.max(n,e)):a.push(o),Fr(o,n)}),n=e,a.forEach(d=>{Dr(d,n,s)}),t.forEach(d=>{const o=r.get(d);if(o?.parents.length){const f=Hr(o.parents);n=w.get(f).y-k,n<=e&&(e=n);const h=b.get(o.branch).pos,$=n-L;w.set(o.id,{x:h,y:$})}})},"setParallelBTPos"),Pr=l(t=>{const r=j(t.parents.filter(n=>n!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const s=w.get(r)?.y;if(s===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return s},"findClosestParentPos"),zr=l(t=>Pr(t)+k,"calculateCommitPosition"),Fr=l((t,r)=>{const s=b.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const n=s.pos,e=r+L;return w.set(t.id,{x:n,y:e}),{x:n,y:e}},"setCommitPosition"),Dr=l((t,r,s)=>{const n=b.get(t.branch);if(!n)throw new Error(`Branch not found for commit ${t.id}`);const e=r+s,a=n.pos;w.set(t.id,{x:a,y:e})},"setRootPosition"),Nr=l((t,r,s,n,e,a)=>{if(a===p.HIGHLIGHT)t.append("rect").attr("x",s.x-10).attr("y",s.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%M} ${n}-outer`),t.append("rect").attr("x",s.x-6).attr("y",s.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%M} ${n}-inner`);else if(a===p.CHERRY_PICK)t.append("circle").attr("cx",s.x).attr("cy",s.y).attr("r",10).attr("class",`commit ${r.id} ${n}`),t.append("circle").attr("cx",s.x-3).attr("cy",s.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${n}`),t.append("circle").attr("cx",s.x+3).attr("cy",s.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${n}`),t.append("line").attr("x1",s.x+3).attr("y1",s.y+1).attr("x2",s.x).attr("y2",s.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${n}`),t.append("line").attr("x1",s.x-3).attr("y1",s.y+1).attr("x2",s.x).attr("y2",s.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${n}`);else{const d=t.append("circle");if(d.attr("cx",s.x),d.attr("cy",s.y),d.attr("r",r.type===p.MERGE?9:10),d.attr("class",`commit ${r.id} commit${e%M}`),a===p.MERGE){const o=t.append("circle");o.attr("cx",s.x),o.attr("cy",s.y),o.attr("r",6),o.attr("class",`commit ${n} ${r.id} commit${e%M}`)}a===p.REVERSE&&t.append("path").attr("d",`M ${s.x-5},${s.y-5}L${s.x+5},${s.y+5}M${s.x-5},${s.y+5}L${s.x+5},${s.y-5}`).attr("class",`commit ${n} ${r.id} commit${e%M}`)}},"drawCommitBullet"),Sr=l((t,r,s,n)=>{if(r.type!==p.CHERRY_PICK&&(r.customId&&r.type===p.MERGE||r.type!==p.MERGE)&&v?.showCommitLabel){const e=t.append("g"),a=e.insert("rect").attr("class","commit-label-bkg"),d=e.append("text").attr("x",n).attr("y",s.y+25).attr("class","commit-label").text(r.id),o=d.node()?.getBBox();if(o&&(a.attr("x",s.posWithOffset-o.width/2-T).attr("y",s.y+13.5).attr("width",o.width+2*T).attr("height",o.height+2*T),u==="TB"||u==="BT"?(a.attr("x",s.x-(o.width+4*E+5)).attr("y",s.y-12),d.attr("x",s.x-(o.width+4*E)).attr("y",s.y+o.height-12)):d.attr("x",s.posWithOffset-o.width/2),v.rotateCommitLabel))if(u==="TB"||u==="BT")d.attr("transform","rotate(-45, "+s.x+", "+s.y+")"),a.attr("transform","rotate(-45, "+s.x+", "+s.y+")");else{const f=-7.5-(o.width+10)/25*9.5,h=10+o.width/25*8.5;e.attr("transform","translate("+f+", "+h+") rotate(-45, "+n+", "+s.y+")")}}},"drawCommitLabel"),Wr=l((t,r,s,n)=>{if(r.tags.length>0){let e=0,a=0,d=0;const o=[];for(const f of r.tags.reverse()){const h=t.insert("polygon"),$=t.append("circle"),g=t.append("text").attr("y",s.y-16-e).attr("class","tag-label").text(f),i=g.node()?.getBBox();if(!i)throw new Error("Tag bbox not found");a=Math.max(a,i.width),d=Math.max(d,i.height),g.attr("x",s.posWithOffset-i.width/2),o.push({tag:g,hole:$,rect:h,yOffset:e}),e+=20}for(const{tag:f,hole:h,rect:$,yOffset:g}of o){const i=d/2,y=s.y-19.2-g;if($.attr("class","tag-label-bkg").attr("points",`
1
+ import{p as Y}from"./BSoyQ_R5.js";import{I as K}from"./LV_KoVeT.js";import{t as U,q as V,s as X,g as J,a as Q,b as Z,_ as l,l as m,d as rr,u as er,E as tr,z as ar,k as C,F as sr,G as nr,H as or,c as cr,I as ir}from"./B26luS__.js";import{p as dr}from"./sya67AFr.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},hr=nr.gitGraph,I=l(()=>sr({...hr,...or().gitGraph}),"getConfig"),c=new K(()=>{const t=I(),r=t.mainBranchName,s=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:s}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function A(){return ir({length:7})}l(A,"getID");function F(t,r){const s=Object.create(null);return t.reduce((n,e)=>{const a=r(e);return s[a]||(s[a]=!0,n.push(e)),n},[])}l(F,"uniqBy");var lr=l(function(t){c.records.direction=t},"setDirection"),$r=l(function(t){m.debug("options str",t),t=t?.trim(),t=t||"{}";try{c.records.options=JSON.parse(t)}catch(r){m.error("error while parsing gitGraph options",r.message)}},"setOptions"),fr=l(function(){return c.records.options},"getOptions"),gr=l(function(t){let r=t.msg,s=t.id;const n=t.type;let e=t.tags;m.info("commit",r,s,n,e),m.debug("Entering commit:",r,s,n,e);const a=I();s=C.sanitizeText(s,a),r=C.sanitizeText(r,a),e=e?.map(o=>C.sanitizeText(o,a));const d={id:s||c.records.seq+"-"+A(),message:r,seq:c.records.seq++,type:n??p.NORMAL,tags:e??[],parents:c.records.head==null?[]:[c.records.head.id],branch:c.records.currBranch};c.records.head=d,m.info("main branch",a.mainBranchName),c.records.commits.has(d.id)&&m.warn(`Commit ID ${d.id} already exists`),c.records.commits.set(d.id,d),c.records.branches.set(c.records.currBranch,d.id),m.debug("in pushCommit "+d.id)},"commit"),yr=l(function(t){let r=t.name;const s=t.order;if(r=C.sanitizeText(r,I()),c.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);c.records.branches.set(r,c.records.head!=null?c.records.head.id:null),c.records.branchConfig.set(r,{name:r,order:s}),D(r),m.debug("in createBranch")},"branch"),ur=l(t=>{let r=t.branch,s=t.id;const n=t.type,e=t.tags,a=I();r=C.sanitizeText(r,a),s&&(s=C.sanitizeText(s,a));const d=c.records.branches.get(c.records.currBranch),o=c.records.branches.get(r),f=d?c.records.commits.get(d):void 0,h=o?c.records.commits.get(o):void 0;if(f&&h&&f.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(c.records.currBranch===r){const i=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if(f===void 0||!f){const i=new Error(`Incorrect usage of "merge". Current branch (${c.records.currBranch})has no commits`);throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},i}if(!c.records.branches.has(r)){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},i}if(h===void 0||!h){const i=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},i}if(f===h){const i=new Error('Incorrect usage of "merge". Both branches have same head');throw i.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},i}if(s&&c.records.commits.has(s)){const i=new Error('Incorrect usage of "merge". Commit with id:'+s+" already exists, use different custom id");throw i.hash={text:`merge ${r} ${s} ${n} ${e?.join(" ")}`,token:`merge ${r} ${s} ${n} ${e?.join(" ")}`,expected:[`merge ${r} ${s}_UNIQUE ${n} ${e?.join(" ")}`]},i}const $=o||"",g={id:s||`${c.records.seq}-${A()}`,message:`merged branch ${r} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,$],branch:c.records.currBranch,type:p.MERGE,customType:n,customId:!!s,tags:e??[]};c.records.head=g,c.records.commits.set(g.id,g),c.records.branches.set(c.records.currBranch,g.id),m.debug(c.records.branches),m.debug("in mergeBranch")},"merge"),xr=l(function(t){let r=t.id,s=t.targetId,n=t.tags,e=t.parent;m.debug("Entering cherryPick:",r,s,n);const a=I();if(r=C.sanitizeText(r,a),s=C.sanitizeText(s,a),n=n?.map(f=>C.sanitizeText(f,a)),e=C.sanitizeText(e,a),!r||!c.records.commits.has(r)){const f=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw f.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},f}const d=c.records.commits.get(r);if(d===void 0||!d)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(d.parents)&&d.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=d.branch;if(d.type===p.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!s||!c.records.commits.has(s)){if(o===c.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},g}const f=c.records.branches.get(c.records.currBranch);if(f===void 0||!f){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},g}const h=c.records.commits.get(f);if(h===void 0||!h){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${s}`,token:`cherryPick ${r} ${s}`,expected:["cherry-pick abc"]},g}const $={id:c.records.seq+"-"+A(),message:`cherry-picked ${d?.message} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,d.id],branch:c.records.currBranch,type:p.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${d.id}${d.type===p.MERGE?`|parent:${e}`:""}`]};c.records.head=$,c.records.commits.set($.id,$),c.records.branches.set(c.records.currBranch,$.id),m.debug(c.records.branches),m.debug("in cherryPick")}},"cherryPick"),D=l(function(t){if(t=C.sanitizeText(t,I()),c.records.branches.has(t)){c.records.currBranch=t;const r=c.records.branches.get(c.records.currBranch);r===void 0||!r?c.records.head=null:c.records.head=c.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function _(t,r,s){const n=t.indexOf(r);n===-1?t.push(s):t.splice(n,1,s)}l(_,"upsert");function P(t){const r=t.reduce((e,a)=>e.seq>a.seq?e:a,t[0]);let s="";t.forEach(function(e){e===r?s+=" *":s+=" |"});const n=[s,r.id,r.seq];for(const e in c.records.branches)c.records.branches.get(e)===r.id&&n.push(e);if(m.debug(n.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=c.records.commits.get(r.parents[0]);_(t,r,e),r.parents[1]&&t.push(c.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=c.records.commits.get(r.parents[0]);_(t,r,e)}}t=F(t,e=>e.id),P(t)}l(P,"prettyPrintCommitHistory");var pr=l(function(){m.debug(c.records.commits);const t=N()[0];P([t])},"prettyPrint"),mr=l(function(){c.reset(),ar()},"clear"),br=l(function(){return[...c.records.branchConfig.values()].map((r,s)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${s}`)}).sort((r,s)=>(r.order??0)-(s.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),wr=l(function(){return c.records.branches},"getBranches"),vr=l(function(){return c.records.commits},"getCommits"),N=l(function(){const t=[...c.records.commits.values()];return t.forEach(function(r){m.debug(r.id)}),t.sort((r,s)=>r.seq-s.seq),t},"getCommitsArray"),Cr=l(function(){return c.records.currBranch},"getCurrentBranch"),Er=l(function(){return c.records.direction},"getDirection"),Tr=l(function(){return c.records.head},"getHead"),S={commitType:p,getConfig:I,setDirection:lr,setOptions:$r,getOptions:fr,commit:gr,branch:yr,merge:ur,cherryPick:xr,checkout:D,prettyPrint:pr,clear:mr,getBranchesAsObjArray:br,getBranches:wr,getCommits:vr,getCommitsArray:N,getCurrentBranch:Cr,getDirection:Er,getHead:Tr,setAccTitle:Z,getAccTitle:Q,getAccDescription:J,setAccDescription:X,setDiagramTitle:V,getDiagramTitle:U},Br=l((t,r)=>{Y(t,r),t.dir&&r.setDirection(t.dir);for(const s of t.statements)Lr(s,r)},"populate"),Lr=l((t,r)=>{const n={Commit:l(e=>r.commit(kr(e)),"Commit"),Branch:l(e=>r.branch(Mr(e)),"Branch"),Merge:l(e=>r.merge(Ir(e)),"Merge"),Checkout:l(e=>r.checkout(Rr(e)),"Checkout"),CherryPicking:l(e=>r.cherryPick(Gr(e)),"CherryPicking")}[t.$type];n?n(t):m.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),kr=l(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?p[t.type]:p.NORMAL,tags:t.tags??void 0}),"parseCommit"),Mr=l(t=>({name:t.name,order:t.order??0}),"parseBranch"),Ir=l(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?p[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Rr=l(t=>t.branch,"parseCheckout"),Gr=l(t=>({id:t.id,targetId:"",tags:t.tags?.length===0?void 0:t.tags,parent:t.parent}),"parseCherryPicking"),Or={parse:l(async t=>{const r=await dr("gitGraph",t);m.debug(r),Br(r,S)},"parse")},qr=cr(),v=qr?.gitGraph,L=10,k=40,E=4,T=2,M=8,b=new Map,w=new Map,O=30,R=new Map,q=[],B=0,u="LR",Ar=l(()=>{b.clear(),w.clear(),R.clear(),B=0,q=[],u="LR"},"clear"),W=l(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|<br\s*\/?>/gi):t).forEach(n=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=n.trim(),r.appendChild(e)}),r},"drawText"),j=l(t=>{let r,s,n;return u==="BT"?(s=l((e,a)=>e<=a,"comparisonFunc"),n=1/0):(s=l((e,a)=>e>=a,"comparisonFunc"),n=0),t.forEach(e=>{const a=u==="TB"||u=="BT"?w.get(e)?.y:w.get(e)?.x;a!==void 0&&s(a,n)&&(r=e,n=a)}),r},"findClosestParent"),Hr=l(t=>{let r="",s=1/0;return t.forEach(n=>{const e=w.get(n).y;e<=s&&(r=n,s=e)}),r||void 0},"findClosestParentBT"),_r=l((t,r,s)=>{let n=s,e=s;const a=[];t.forEach(d=>{const o=r.get(d);if(!o)throw new Error(`Commit not found for key ${d}`);o.parents.length?(n=zr(o),e=Math.max(n,e)):a.push(o),Fr(o,n)}),n=e,a.forEach(d=>{Dr(d,n,s)}),t.forEach(d=>{const o=r.get(d);if(o?.parents.length){const f=Hr(o.parents);n=w.get(f).y-k,n<=e&&(e=n);const h=b.get(o.branch).pos,$=n-L;w.set(o.id,{x:h,y:$})}})},"setParallelBTPos"),Pr=l(t=>{const r=j(t.parents.filter(n=>n!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const s=w.get(r)?.y;if(s===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return s},"findClosestParentPos"),zr=l(t=>Pr(t)+k,"calculateCommitPosition"),Fr=l((t,r)=>{const s=b.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const n=s.pos,e=r+L;return w.set(t.id,{x:n,y:e}),{x:n,y:e}},"setCommitPosition"),Dr=l((t,r,s)=>{const n=b.get(t.branch);if(!n)throw new Error(`Branch not found for commit ${t.id}`);const e=r+s,a=n.pos;w.set(t.id,{x:a,y:e})},"setRootPosition"),Nr=l((t,r,s,n,e,a)=>{if(a===p.HIGHLIGHT)t.append("rect").attr("x",s.x-10).attr("y",s.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%M} ${n}-outer`),t.append("rect").attr("x",s.x-6).attr("y",s.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%M} ${n}-inner`);else if(a===p.CHERRY_PICK)t.append("circle").attr("cx",s.x).attr("cy",s.y).attr("r",10).attr("class",`commit ${r.id} ${n}`),t.append("circle").attr("cx",s.x-3).attr("cy",s.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${n}`),t.append("circle").attr("cx",s.x+3).attr("cy",s.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${n}`),t.append("line").attr("x1",s.x+3).attr("y1",s.y+1).attr("x2",s.x).attr("y2",s.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${n}`),t.append("line").attr("x1",s.x-3).attr("y1",s.y+1).attr("x2",s.x).attr("y2",s.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${n}`);else{const d=t.append("circle");if(d.attr("cx",s.x),d.attr("cy",s.y),d.attr("r",r.type===p.MERGE?9:10),d.attr("class",`commit ${r.id} commit${e%M}`),a===p.MERGE){const o=t.append("circle");o.attr("cx",s.x),o.attr("cy",s.y),o.attr("r",6),o.attr("class",`commit ${n} ${r.id} commit${e%M}`)}a===p.REVERSE&&t.append("path").attr("d",`M ${s.x-5},${s.y-5}L${s.x+5},${s.y+5}M${s.x-5},${s.y+5}L${s.x+5},${s.y-5}`).attr("class",`commit ${n} ${r.id} commit${e%M}`)}},"drawCommitBullet"),Sr=l((t,r,s,n)=>{if(r.type!==p.CHERRY_PICK&&(r.customId&&r.type===p.MERGE||r.type!==p.MERGE)&&v?.showCommitLabel){const e=t.append("g"),a=e.insert("rect").attr("class","commit-label-bkg"),d=e.append("text").attr("x",n).attr("y",s.y+25).attr("class","commit-label").text(r.id),o=d.node()?.getBBox();if(o&&(a.attr("x",s.posWithOffset-o.width/2-T).attr("y",s.y+13.5).attr("width",o.width+2*T).attr("height",o.height+2*T),u==="TB"||u==="BT"?(a.attr("x",s.x-(o.width+4*E+5)).attr("y",s.y-12),d.attr("x",s.x-(o.width+4*E)).attr("y",s.y+o.height-12)):d.attr("x",s.posWithOffset-o.width/2),v.rotateCommitLabel))if(u==="TB"||u==="BT")d.attr("transform","rotate(-45, "+s.x+", "+s.y+")"),a.attr("transform","rotate(-45, "+s.x+", "+s.y+")");else{const f=-7.5-(o.width+10)/25*9.5,h=10+o.width/25*8.5;e.attr("transform","translate("+f+", "+h+") rotate(-45, "+n+", "+s.y+")")}}},"drawCommitLabel"),Wr=l((t,r,s,n)=>{if(r.tags.length>0){let e=0,a=0,d=0;const o=[];for(const f of r.tags.reverse()){const h=t.insert("polygon"),$=t.append("circle"),g=t.append("text").attr("y",s.y-16-e).attr("class","tag-label").text(f),i=g.node()?.getBBox();if(!i)throw new Error("Tag bbox not found");a=Math.max(a,i.width),d=Math.max(d,i.height),g.attr("x",s.posWithOffset-i.width/2),o.push({tag:g,hole:$,rect:h,yOffset:e}),e+=20}for(const{tag:f,hole:h,rect:$,yOffset:g}of o){const i=d/2,y=s.y-19.2-g;if($.attr("class","tag-label-bkg").attr("points",`
2
2
  ${n-a/2-E/2},${y+T}
3
3
  ${n-a/2-E/2},${y-T}
4
4
  ${s.posWithOffset-a/2-E},${y-i-T}