@intent-hq/web 2.327.2 → 2.327.4

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 (242) hide show
  1. package/bin/intent-web.mjs +2 -0
  2. package/package.json +1 -1
  3. package/web/app/immutable/assets/{14.HorMMNG4.css → 14.CU62PBbE.css} +1 -1
  4. package/web/app/immutable/assets/16.DdJIHg9f.css +1 -0
  5. package/web/app/immutable/assets/ChatPanel.B73KM22O.css +1 -0
  6. package/web/app/immutable/assets/{16.CQiMfhJh.css → DockRecordingEditor.Cpd07eyT.css} +1 -1
  7. package/web/app/immutable/assets/conversation-turns.BHHyRLdd.css +1 -0
  8. package/web/app/immutable/chunks/{7k5ozo9c.js → -DqWFMjY.js} +1 -1
  9. package/web/app/immutable/chunks/{DvnDAxdo.js → 0rLfviYO.js} +1 -1
  10. package/web/app/immutable/chunks/{BV4AHhCq.js → 13JKYtK_.js} +1 -1
  11. package/web/app/immutable/chunks/{CAL5qbag.js → 4IYHA49l.js} +1 -1
  12. package/web/app/immutable/chunks/{C1TwLTiC.js → 4Zskc9_e.js} +1 -1
  13. package/web/app/immutable/chunks/{DQfuBwT8.js → 4mn3OQkh.js} +1 -1
  14. package/web/app/immutable/chunks/{BK3YE2GB.js → 5fWnBOdu.js} +1 -1
  15. package/web/app/immutable/chunks/{Ca3Yads8.js → 5lVDKMGV.js} +4 -4
  16. package/web/app/immutable/chunks/{Aw3-65IC.js → 95-CBX6k.js} +1 -1
  17. package/web/app/immutable/chunks/{fSndiqme.js → 9jHc2HrQ.js} +1 -1
  18. package/web/app/immutable/chunks/{CKjldRop.js → 9o72bVmU.js} +1 -1
  19. package/web/app/immutable/chunks/{Ou2B083h.js → 9xAB6iEw.js} +3 -3
  20. package/web/app/immutable/chunks/{BbEZgkca.js → A7QYlP8X.js} +2 -2
  21. package/web/app/immutable/chunks/{7rjdCDDK.js → B0J8YEPJ.js} +1 -1
  22. package/web/app/immutable/chunks/{DF5OSHTI.js → B3GFeWXU.js} +1 -1
  23. package/web/app/immutable/chunks/{DTOenBGo.js → B5JLqeOx.js} +1 -1
  24. package/web/app/immutable/chunks/{C-am1GTe.js → B6X5Wi93.js} +1 -1
  25. package/web/app/immutable/chunks/{B-LxAE4l.js → B6hQw8HR.js} +1 -1
  26. package/web/app/immutable/chunks/B7dOkBeu.js +1 -0
  27. package/web/app/immutable/chunks/{D4fSLYwV.js → B8AHyIcJ.js} +1 -1
  28. package/web/app/immutable/chunks/{Bhff3giG.js → B9k9ipWN.js} +1 -1
  29. package/web/app/immutable/chunks/{HpcR9-ZP.js → B9xeURWe.js} +1 -1
  30. package/web/app/immutable/chunks/{DeQzn7pT.js → BA1UhUwc.js} +7 -7
  31. package/web/app/immutable/chunks/{BXo80d0I.js → BAgeXgSf.js} +1 -1
  32. package/web/app/immutable/chunks/{Gh0Bk6WC.js → BBy57-xG.js} +1 -1
  33. package/web/app/immutable/chunks/{C9-oKvmU.js → BCc6fRgu.js} +1 -1
  34. package/web/app/immutable/chunks/{CypQ6Hrf.js → BEOwcfbQ.js} +1 -1
  35. package/web/app/immutable/chunks/{CLDLGPLG.js → BGT3aL1b.js} +1 -1
  36. package/web/app/immutable/chunks/BH7mKpum.js +1 -0
  37. package/web/app/immutable/chunks/{2Yr7qZy-.js → BJptJeKO.js} +1 -1
  38. package/web/app/immutable/chunks/{ChyK3c5O.js → BJqJJOp_.js} +1 -1
  39. package/web/app/immutable/chunks/{BxRFeUGV.js → BJyBc51V.js} +1 -1
  40. package/web/app/immutable/chunks/{D7NWkz7l.js → BL9TmjaL.js} +1 -1
  41. package/web/app/immutable/chunks/{D4wVqBkS.js → BLyZPAr5.js} +1 -1
  42. package/web/app/immutable/chunks/{C1vc2ZF2.js → BMtNlV8v.js} +1 -1
  43. package/web/app/immutable/chunks/{CqnfptVg.js → BOR1_TRO.js} +1 -1
  44. package/web/app/immutable/chunks/{CpOX1cm0.js → BRdBfY-O.js} +4 -4
  45. package/web/app/immutable/chunks/{XKfxOi0c.js → BRpgL-_J.js} +1 -1
  46. package/web/app/immutable/chunks/{C0AexULD.js → BS6nPK7B.js} +1 -1
  47. package/web/app/immutable/chunks/{DkPB5Gyi.js → BSVsWuXl.js} +1 -1
  48. package/web/app/immutable/chunks/{DAXKoZjm.js → BT5Z8Ufg.js} +1 -1
  49. package/web/app/immutable/chunks/{DCo2M5nt.js → BU_i_vpd.js} +1 -1
  50. package/web/app/immutable/chunks/{BvULLTwA.js → BUsZHo0X.js} +2 -2
  51. package/web/app/immutable/chunks/BX9t7Lu-.js +190 -0
  52. package/web/app/immutable/chunks/{DZzTUgIA.js → BY8Jls8O.js} +1 -1
  53. package/web/app/immutable/chunks/{jgNaB-mi.js → BZ9svoQk.js} +1 -1
  54. package/web/app/immutable/chunks/{CdlZ8r5v.js → BZKFinnt.js} +1 -1
  55. package/web/app/immutable/chunks/{Dmq2MLxr.js → BbOZc-at.js} +1 -1
  56. package/web/app/immutable/chunks/{D_TIL4Xc.js → Bc2kn6EH.js} +1 -1
  57. package/web/app/immutable/chunks/{M0UFWl_S.js → BdQCA_Nv.js} +1 -1
  58. package/web/app/immutable/chunks/BdWqymET.js +1 -0
  59. package/web/app/immutable/chunks/{_tv07_-D.js → Bdhho7CC.js} +1 -1
  60. package/web/app/immutable/chunks/{Bq9BF2kT.js → BfIdeT8L.js} +1 -1
  61. package/web/app/immutable/chunks/{Dd-c6aT7.js → BfWiwhpc.js} +1 -1
  62. package/web/app/immutable/chunks/{BerYBtY0.js → BgxXTSJ6.js} +1 -1
  63. package/web/app/immutable/chunks/{Q-FVgluz.js → Bjrk7UMZ.js} +1 -1
  64. package/web/app/immutable/chunks/{RgXiUiyX.js → BmIgxNuB.js} +1 -1
  65. package/web/app/immutable/chunks/{BJpbRkma.js → BoIGV7s7.js} +1 -1
  66. package/web/app/immutable/chunks/{D-YrUZis.js → Br_KUH7F.js} +1 -1
  67. package/web/app/immutable/chunks/{CuimWTUN.js → Bs5pujY-.js} +1 -1
  68. package/web/app/immutable/chunks/{BclymnXe.js → BtrIIAMB.js} +1 -1
  69. package/web/app/immutable/chunks/{C6LN2Lq-.js → Bv_0taxh.js} +1 -1
  70. package/web/app/immutable/chunks/{CDFRtA1F.js → Bw4y3_Ol.js} +1 -1
  71. package/web/app/immutable/chunks/{BOod2-vo.js → Bxub7VY-.js} +1 -1
  72. package/web/app/immutable/chunks/{B6ZEHAgn.js → BxxGMnsj.js} +1 -1
  73. package/web/app/immutable/chunks/BzV5CowC.js +1 -0
  74. package/web/app/immutable/chunks/{C5bHHEee.js → C3Gi_9p3.js} +1 -1
  75. package/web/app/immutable/chunks/{dinOFH6z.js → C4Tw7-py.js} +1 -1
  76. package/web/app/immutable/chunks/{Dr-K85Pz.js → C4xkBjNQ.js} +1 -1
  77. package/web/app/immutable/chunks/{CPzusSaQ.js → C58HgKcj.js} +1 -1
  78. package/web/app/immutable/chunks/{ewlOsRgS.js → C5MuNtit.js} +1 -1
  79. package/web/app/immutable/chunks/{D19QPbvx.js → C5PRf5_x.js} +3 -3
  80. package/web/app/immutable/chunks/{BbiJIN_E.js → C6DXM5lO.js} +1 -1
  81. package/web/app/immutable/chunks/{ColHxoku.js → C6bEmXfu.js} +4 -4
  82. package/web/app/immutable/chunks/{CNZwPZBB.js → C8PcVt0F.js} +1 -1
  83. package/web/app/immutable/chunks/{DhJNH_hq.js → C9ruBEtx.js} +1 -1
  84. package/web/app/immutable/chunks/{B4Rscrf6.js → CB_tD4hW.js} +1 -1
  85. package/web/app/immutable/chunks/{B1nmZwVF.js → CBgs1jD4.js} +1 -1
  86. package/web/app/immutable/chunks/{D1ynivqZ.js → CIJcws70.js} +1 -1
  87. package/web/app/immutable/chunks/{BaUvfuFA.js → CKGr2YTz.js} +1 -1
  88. package/web/app/immutable/chunks/{marbulK7.js → CMR4YeKo.js} +1 -1
  89. package/web/app/immutable/chunks/{C7eFRIGF.js → CMmbfhfC.js} +1 -1
  90. package/web/app/immutable/chunks/{C_4hXDel.js → CP2Kg1B4.js} +1 -1
  91. package/web/app/immutable/chunks/{Dp0wSsDS.js → CPFrNISL.js} +2 -2
  92. package/web/app/immutable/chunks/{DeB-Py0k.js → CQNA0ds6.js} +1 -1
  93. package/web/app/immutable/chunks/{BwVx_Xm9.js → CR1VVB-y.js} +1 -1
  94. package/web/app/immutable/chunks/{D4wUHJ-V.js → CR7xGCmU.js} +1 -1
  95. package/web/app/immutable/chunks/{CW9PUdij.js → CRCP-bLi.js} +1 -1
  96. package/web/app/immutable/chunks/{Cwdoe-yo.js → CRinz0qf.js} +1 -1
  97. package/web/app/immutable/chunks/{CTMsT2IU.js → CRkupLLY.js} +3 -3
  98. package/web/app/immutable/chunks/{D8dE5NKO.js → CSiaiLHL.js} +1 -1
  99. package/web/app/immutable/chunks/{B4Qf0RS5.js → CUF2wY0B.js} +1 -1
  100. package/web/app/immutable/chunks/{D_kdhP8o.js → CUNya7Ty.js} +1 -1
  101. package/web/app/immutable/chunks/{DgtgAyRj.js → CVCmU8cH.js} +1 -1
  102. package/web/app/immutable/chunks/{CpPVAOg5.js → CVWsHMge.js} +1 -1
  103. package/web/app/immutable/chunks/{Cw26kBCe.js → CZnfw8n4.js} +1 -1
  104. package/web/app/immutable/chunks/{BGUHg5o_.js → Cb0R6qJM.js} +1 -1
  105. package/web/app/immutable/chunks/{CoZ28bOB.js → CcNhqKh5.js} +1 -1
  106. package/web/app/immutable/chunks/CdVR7Ll7.js +1 -0
  107. package/web/app/immutable/chunks/{BJFbczXI.js → CdbmwjaM.js} +1 -1
  108. package/web/app/immutable/chunks/{COyObFie.js → Cds8-CeJ.js} +1 -1
  109. package/web/app/immutable/chunks/{jxb5pgpW.js → CgpltzkY.js} +1 -1
  110. package/web/app/immutable/chunks/{DoKuqfYA.js → Cjxd8cwf.js} +1 -1
  111. package/web/app/immutable/chunks/{BFQmpH-Y.js → ClIEAc52.js} +1 -1
  112. package/web/app/immutable/chunks/{BedviAdk.js → CmPULPQO.js} +1 -1
  113. package/web/app/immutable/chunks/{Cy1SRgRj.js → CqajeRKF.js} +1 -1
  114. package/web/app/immutable/chunks/{C7VjZ5I1.js → Cr2ds2GX.js} +1 -1
  115. package/web/app/immutable/chunks/{uxNvmxnz.js → Crtm1Tdw.js} +1 -1
  116. package/web/app/immutable/chunks/{DacYbmEF.js → CsQZrNPD.js} +1 -1
  117. package/web/app/immutable/chunks/{DoV4Ngwf.js → CseMAxRT.js} +1 -1
  118. package/web/app/immutable/chunks/{BDUVRWqe.js → CtDsnagM.js} +3 -3
  119. package/web/app/immutable/chunks/{l7AMrk83.js → Cue9ti62.js} +1 -1
  120. package/web/app/immutable/chunks/{b8_D7H9k.js → CwBXGgp6.js} +1 -1
  121. package/web/app/immutable/chunks/{CTc1mqQ1.js → CwW6ndDl.js} +1 -1
  122. package/web/app/immutable/chunks/{DbYMKWAI.js → D17qSIEz.js} +2 -2
  123. package/web/app/immutable/chunks/{Do9PiZ5P.js → D1EubvTh.js} +2 -2
  124. package/web/app/immutable/chunks/D1Wd8yWC.js +12 -0
  125. package/web/app/immutable/chunks/{DwkxcWNI.js → D3glRUn0.js} +2 -2
  126. package/web/app/immutable/chunks/{qB-JaQGy.js → D3pCGnn6.js} +1 -1
  127. package/web/app/immutable/chunks/{Byv1V5rF.js → D5Vbuf5Q.js} +1 -1
  128. package/web/app/immutable/chunks/{DguixOqZ.js → D86pbdSK.js} +1 -1
  129. package/web/app/immutable/chunks/{DGuIJztL.js → D8POxNfK.js} +1 -1
  130. package/web/app/immutable/chunks/{ffjPpoAP.js → D9fDSLwb.js} +1 -1
  131. package/web/app/immutable/chunks/{C5mH9Vrl.js → DG3MtJwi.js} +1 -1
  132. package/web/app/immutable/chunks/DKDYIgLv.js +11 -0
  133. package/web/app/immutable/chunks/{LknVBIaq.js → DMsh1yGi.js} +1 -1
  134. package/web/app/immutable/chunks/{BOY33UBS.js → DMv-E05P.js} +4 -4
  135. package/web/app/immutable/chunks/{D7jA8MQK.js → DPXmbcdl.js} +1 -1
  136. package/web/app/immutable/chunks/{D9E32u14.js → DRBvR0Tt.js} +1 -1
  137. package/web/app/immutable/chunks/{DhAAH4rU.js → DRLE5FVS.js} +1 -1
  138. package/web/app/immutable/chunks/{Bw8BPAST.js → DSjgIWnH.js} +1 -1
  139. package/web/app/immutable/chunks/{gnxdhh79.js → DUGrMwWd.js} +1 -1
  140. package/web/app/immutable/chunks/{CaaDYQm4.js → DV6D0Bkp.js} +5 -5
  141. package/web/app/immutable/chunks/{DVnJa0eT.js → DVAV2MG2.js} +1 -1
  142. package/web/app/immutable/chunks/{Fb6bTqJy.js → DVEpt846.js} +1 -1
  143. package/web/app/immutable/chunks/{Ciht8P3-.js → DXmYCfpj.js} +1 -1
  144. package/web/app/immutable/chunks/{BmnlV2jU.js → DYU4YpuR.js} +1 -1
  145. package/web/app/immutable/chunks/{DFxg8FPE.js → Dc2Hdtlu.js} +1 -1
  146. package/web/app/immutable/chunks/{BsesepNZ.js → De3HYtL6.js} +1 -1
  147. package/web/app/immutable/chunks/{7nLxl2IJ.js → DfxmKh09.js} +1 -1
  148. package/web/app/immutable/chunks/{CB-J-0bJ.js → DgyZhpgg.js} +1 -1
  149. package/web/app/immutable/chunks/{YcWsBw0J.js → DhFS-yhc.js} +1 -1
  150. package/web/app/immutable/chunks/{CvG8wNT6.js → Dk4Ddrsx.js} +1 -1
  151. package/web/app/immutable/chunks/{MgRcWC-F.js → Dk8ELDo2.js} +1 -1
  152. package/web/app/immutable/chunks/{CLbcqiJX.js → DkHQqDIr.js} +1 -1
  153. package/web/app/immutable/chunks/{DT-w4ZA3.js → DlTQCTDP.js} +1 -1
  154. package/web/app/immutable/chunks/DmQ8h8xi.js +1 -0
  155. package/web/app/immutable/chunks/{X6OEIYik.js → Dn7dutqt.js} +1 -1
  156. package/web/app/immutable/chunks/{9taqgPH1.js → DnkVLfZ3.js} +1 -1
  157. package/web/app/immutable/chunks/{BgiA9PsC.js → DrS3YtfK.js} +2 -2
  158. package/web/app/immutable/chunks/{ClHpwdNk.js → Dv5hWj70.js} +1 -1
  159. package/web/app/immutable/chunks/{Bil-5-Mv.js → DvSMiV5j.js} +1 -1
  160. package/web/app/immutable/chunks/{Es_LZ_6E.js → DvzRlb0E.js} +1 -1
  161. package/web/app/immutable/chunks/{n9Db8fQb.js → DxGU3xpZ.js} +1 -1
  162. package/web/app/immutable/chunks/{ClBnJ15C.js → ECTD8W-L.js} +1 -1
  163. package/web/app/immutable/chunks/{CcSZNfbk.js → EotFP58O.js} +1 -1
  164. package/web/app/immutable/chunks/{BwY7DKzU.js → FQUUYt8f.js} +1 -1
  165. package/web/app/immutable/chunks/{BBYPPwon.js → FyCAxxbB.js} +1 -1
  166. package/web/app/immutable/chunks/{wOsjtdPJ.js → KVLkeJBt.js} +1 -1
  167. package/web/app/immutable/chunks/{DFghII67.js → Ld9N5V0Z.js} +1 -1
  168. package/web/app/immutable/chunks/{CdhZKdub.js → NjepB5TE.js} +1 -1
  169. package/web/app/immutable/chunks/{Ph7T0qF8.js → OY7xFhVZ.js} +1 -1
  170. package/web/app/immutable/chunks/{DkcUxSHK.js → PlbZiyMr.js} +1 -1
  171. package/web/app/immutable/chunks/{2bCqOBlF.js → PnXyzret.js} +2 -2
  172. package/web/app/immutable/chunks/PpSNoAPM.js +1 -0
  173. package/web/app/immutable/chunks/Pw8-HxaI.js +408 -0
  174. package/web/app/immutable/chunks/{COPJQClu.js → Q9zhiNlv.js} +1 -1
  175. package/web/app/immutable/chunks/{CIno4eJd.js → R736-vzp.js} +1 -1
  176. package/web/app/immutable/chunks/{B_oexMWu.js → SP1g61ea.js} +1 -1
  177. package/web/app/immutable/chunks/{95PmebfY.js → U2OaO8zU.js} +1 -1
  178. package/web/app/immutable/chunks/{HdOtmFfs.js → UvxFr-I2.js} +1 -1
  179. package/web/app/immutable/chunks/VCguIe99.js +1 -0
  180. package/web/app/immutable/chunks/{IsBHRTqp.js → VxpSEzE0.js} +1 -1
  181. package/web/app/immutable/chunks/{BTxVcBTE.js → WKwDz9jQ.js} +1 -1
  182. package/web/app/immutable/chunks/{C4ih-xND.js → WPm8oU1g.js} +2 -2
  183. package/web/app/immutable/chunks/{B-B22ZmQ.js → X9_JIY5I.js} +1 -1
  184. package/web/app/immutable/chunks/{CpW6JN4X.js → YqTahsxp.js} +1 -1
  185. package/web/app/immutable/chunks/{CYgFtonv.js → Z311vB9V.js} +1 -1
  186. package/web/app/immutable/chunks/{BYCQnKWG.js → bqazsiqQ.js} +1 -1
  187. package/web/app/immutable/chunks/e_7d0HhT.js +271 -0
  188. package/web/app/immutable/chunks/{1JDc8gDP.js → evMM8bqV.js} +1 -1
  189. package/web/app/immutable/chunks/{BUU84hQY.js → felZLd_I.js} +1 -1
  190. package/web/app/immutable/chunks/{CBEZBV7x.js → gDHuvKO5.js} +1 -1
  191. package/web/app/immutable/chunks/gP4ZqKh0.js +5 -0
  192. package/web/app/immutable/chunks/{-ntpqjUQ.js → hua24XJh.js} +1 -1
  193. package/web/app/immutable/chunks/{B-mVY4KG.js → hwMB9Jx_.js} +1 -1
  194. package/web/app/immutable/chunks/{D6NxvjAo.js → kw6HOG6J.js} +2 -2
  195. package/web/app/immutable/chunks/{CXCbFJ1d.js → mo2YzLEW.js} +1 -1
  196. package/web/app/immutable/chunks/{C2vxCrLD.js → qH6ij_zT.js} +1 -1
  197. package/web/app/immutable/chunks/{C5SMJxa0.js → rDgjtPAw.js} +2 -2
  198. package/web/app/immutable/chunks/{DpJ6ItFS.js → rz5fXBI2.js} +1 -1
  199. package/web/app/immutable/chunks/{CzSCQAr8.js → sAd9qIlC.js} +1 -1
  200. package/web/app/immutable/chunks/{DqLpc8uk.js → sm9FgN6B.js} +1 -1
  201. package/web/app/immutable/entry/app.nL8LhceC.js +4 -0
  202. package/web/app/immutable/entry/start.DMMboC2Z.js +1 -0
  203. package/web/app/immutable/nodes/{0.D4UmpUyl.js → 0.DnTOWH22.js} +1 -1
  204. package/web/app/immutable/nodes/{1.DTuLvyGe.js → 1.DdFwPgy2.js} +1 -1
  205. package/web/app/immutable/nodes/{10.yW5YYZcV.js → 10.BodWJQlD.js} +1 -1
  206. package/web/app/immutable/nodes/{12.B-WFagfi.js → 12.CZF6J8V0.js} +1 -1
  207. package/web/app/immutable/nodes/{13.knDmuG_H.js → 13.CmgBwUCN.js} +1 -1
  208. package/web/app/immutable/nodes/14.Cch3Hlry.js +3 -0
  209. package/web/app/immutable/nodes/{15.5d-87wXx.js → 15.D8X9TwUZ.js} +1 -1
  210. package/web/app/immutable/nodes/16.DDUlFhjD.js +2 -0
  211. package/web/app/immutable/nodes/{17.S_DWC10F.js → 17.CR8Vf-gp.js} +2 -2
  212. package/web/app/immutable/nodes/{2.D-iQ8fmd.js → 2.DJ8VmJpJ.js} +12 -12
  213. package/web/app/immutable/nodes/{3.CQKvVdrW.js → 3.B0GEDD6l.js} +1 -1
  214. package/web/app/immutable/nodes/{4.Dq9WSzj3.js → 4.C1EmG9sP.js} +1 -1
  215. package/web/app/immutable/nodes/{5.C2b8MeJP.js → 5.weYY_j2P.js} +1 -1
  216. package/web/app/immutable/nodes/{6.DZyVWynY.js → 6.BDlVx9Dk.js} +1 -1
  217. package/web/app/immutable/nodes/{7.BNPj2Hjb.js → 7.C0Ip3FSb.js} +1 -1
  218. package/web/app/immutable/nodes/{8.CYaF3iZ7.js → 8.CpQw4Gbe.js} +4 -4
  219. package/web/app/immutable/nodes/{9.D9yeuWg6.js → 9.DT0bh2W_.js} +5 -5
  220. package/web/app/version.json +1 -1
  221. package/web/index.html +14 -14
  222. package/web/app/immutable/assets/ChatPanel.CbI83JII.css +0 -1
  223. package/web/app/immutable/assets/conversation-turns.uwdl8ht7.css +0 -1
  224. package/web/app/immutable/chunks/BJzHxIyr.js +0 -1
  225. package/web/app/immutable/chunks/BQKilZql.js +0 -190
  226. package/web/app/immutable/chunks/Bdee7uP3.js +0 -1
  227. package/web/app/immutable/chunks/C3g8Ux-E.js +0 -408
  228. package/web/app/immutable/chunks/CJvik4ry.js +0 -1
  229. package/web/app/immutable/chunks/D0OfnhNR.js +0 -11
  230. package/web/app/immutable/chunks/D3NOBSUZ.js +0 -271
  231. package/web/app/immutable/chunks/DLrZLCmS.js +0 -1
  232. package/web/app/immutable/chunks/DSwaqM2D.js +0 -1
  233. package/web/app/immutable/chunks/Debl1LJu.js +0 -1
  234. package/web/app/immutable/chunks/DqIdPWw6.js +0 -1
  235. package/web/app/immutable/chunks/DsvlGcLM.js +0 -9
  236. package/web/app/immutable/chunks/DuXpPbhO.js +0 -5
  237. package/web/app/immutable/chunks/tVWh__3e.js +0 -1
  238. package/web/app/immutable/chunks/xNaKu_mj.js +0 -1
  239. package/web/app/immutable/entry/app.CUk63TN3.js +0 -4
  240. package/web/app/immutable/entry/start.ByRHyT3-.js +0 -1
  241. package/web/app/immutable/nodes/14.CtAbrlVb.js +0 -3
  242. package/web/app/immutable/nodes/16.BcAEiIYy.js +0 -2
@@ -1 +1 @@
1
- import{D as C}from"./CdlZ8r5v.js";import{t as re,bq as y,a_ as se,by as ae,b as ne,bo as I}from"./CNdlzZOD.js";import{bs as oe,cb as ie,c5 as le,bH as k,aD as b,a5 as G,bA as q,b_ as R,W as E,bn as ce,bV as W,c9 as F,aA as x,ay as H,bl as N,bS as L,bO as O,a7 as de,aB as P}from"./DYhIMPy1.js";import{G as ue}from"./DrH3w3jB.js";import{u as D}from"./9iFKJfkz.js";import{a as me}from"./BOY33UBS.js";const K=C.shape.model,pe=C.shape.states.unwrap().element;function U(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function fe(t){return/^(?:|model|model\.(?:nodes|edges|groups)|states)$/.test(t)}function ge(t){let e=0;const s=()=>{for(;/[\t\n\r ]/.test(t[e]??"\0");)e+=1},a=(l,d)=>{if(d>64)throw new Error("JSON nesting limit exceeded");s();const f=e,u=t[e];if(u===void 0)return{complete:!1};if(u==='"'){for(e+=1;e<t.length;){const r=t[e++];if(r==="\\")e+=1;else if(r==='"')return{value:JSON.parse(t.slice(f,e)),complete:!0}}return{complete:!1}}if(u==="{"||u==="["){const r=u==="{",c=r?Object.create(null):[],h=r?"}":"]";if(e+=1,s(),t[e]===h)return e+=1,{value:c,complete:!0};for(;e<t.length;){let i="";if(r){if(t[e]!=='"')throw new Error("Expected JSON property");const _=a(l,d+1);if(!_.complete)return{value:c,complete:!1};if(i=_.value,s(),e===t.length)return{value:c,complete:!1};if(t[e++]!==":")throw new Error("Expected JSON colon")}const g=r?l?`${l}.${i}`:i:`${l}[]`,v=a(g,d+1);if((v.complete||fe(g)&&v.value!==void 0)&&(Array.isArray(c)?c.push(v.value):c[i]=v.value),!v.complete)return{value:c,complete:!1};if(s(),e===t.length)return{value:c,complete:!1};if(t[e]===h)return e+=1,{value:c,complete:!0};if(t[e++]!==",")throw new Error("Expected JSON separator");s()}return{value:c,complete:!1}}for(;e<t.length&&!/[\t\n\r ,}\]]/.test(t[e]);)e+=1;return e===t.length?{complete:!1}:{value:JSON.parse(t.slice(f,e)),complete:!0}},n=a("",0);if(s(),n.complete&&e!==t.length)throw new Error("Unexpected JSON suffix");return n}function J(t){const e=new Set;return t.filter(({id:s})=>e.has(s)?!1:(e.add(s),!0))}function z(t,e,s,a){return[t.visibleNodes,t.highlightedNodes].every(n=>n?.every(l=>e.has(l))??!0)&&[t.visibleEdges,t.highlightedEdges].every(n=>n?.every(l=>s.has(l))??!0)&&(t.visibleGroups?.every(n=>a.has(n))??!0)&&(t.camera?.focus===void 0||e.has(t.camera.focus))}function ve(t){if(!U(t)||!U(t.model))return null;const e=t.model,s=(i,g)=>Array.isArray(i)?i.filter(v=>g.safeParse(v).success):[];let a=J(s(e.nodes,K.shape.nodes.element)),n=J(s(e.groups,K.shape.groups.unwrap().element)),l=!0;for(;l;){const i=new Set(a.map(({id:m})=>m)),g=n.filter(m=>m.nodeIds.every(A=>i.has(A))),v=new Set(g.map(({id:m})=>m)),_=a.filter(m=>m.group===void 0||v.has(m.group));l=_.length!==a.length||g.length!==n.length,a=_,n=g}if(!a.length)return null;const d=new Set(a.map(({id:i})=>i)),f=J(s(e.edges,K.shape.edges.element)).filter(i=>d.has(i.from)&&d.has(i.to)),u=new Set(f.map(({id:i})=>i)),r=new Set(n.map(({id:i})=>i)),c=J(s(t.states,pe)).filter(i=>z(i,d,u,r)),h={...t,model:{...e,nodes:a,edges:f,...e.groups===void 0?{}:{groups:n}},...t.states===void 0?{}:{states:c}};return c.some(i=>i.id===h.currentStateId)||delete h.currentStateId,C.safeParse(h).success?h:null}function V(t){if(!C.safeParse(t).success)return null;const e=t,{nodes:s,edges:a,groups:n=[]}=e.model,l=e.states??[],d=new Set(s.map(({id:r})=>r)),f=new Set(a.map(({id:r})=>r)),u=new Set(n.map(({id:r})=>r));return[s,a,n,l].some(r=>new Set(r.map(({id:c})=>c)).size!==r.length)||s.some(r=>r.group!==void 0&&!u.has(r.group))||a.some(r=>!d.has(r.from)||!d.has(r.to))||n.some(r=>r.nodeIds.some(c=>!d.has(c)))||l.some(r=>!z(r,d,f,u))||e.currentStateId!==void 0&&!l.some(r=>r.id===e.currentStateId)?null:e}function Ne(t,e=!1){const s=(a,n,l)=>({rawSource:t,status:a,diagram:n,...l?{error:l}:{}});try{if(e){const n=V(JSON.parse(t));return n?s("complete",n):s("invalid",null,"Invalid diagram payload")}const a=ge(t);if(a.complete){const n=V(a.value);if(n)return s("complete",n)}return s("partial",ve(a.value))}catch{return s(e?"invalid":"partial",null,e?"Invalid diagram JSON":void 0)}}var he=P('<div class="diagram-feedback svelte-p097sp" role="alert"><strong> </strong> <span> </span></div> <pre class="diagram-source svelte-p097sp"> </pre>',1),we=P('<div class="diagram-feedback svelte-p097sp" role="status"> </div>'),Se=P('<div class="streaming-diagram svelte-p097sp"><!></div>');function _e(t,e){if(new.target)return re({component:_e,...t});oe(e,!0);let s=y(e,"diagram",7),a=y(e,"isStreaming",7,!1),n=y(e,"source",7),l=y(e,"sourceError",7),d=y(e,"viewResetKey",7),f=y(e,"onBindingClick",7),u=W(null),r=W(0),c="",h,i=!1;ie(()=>{const o=s(),p=n(),w=d(),S=a(),B=!!l();le(()=>{i&&(w!==h||!p.startsWith(c))&&(k(u,null),k(r,b(r)+1)),i=!0,c=p,h=w,B||!S&&!o?k(u,null):o&&k(u,o,!0)})});const g=F(()=>l()?null:s()??(a()?b(u):null)),v=F(()=>!!l()||!a()&&!s());var _={get diagram(){return s()},set diagram(o){s(o),x()},get isStreaming(){return a()},set isStreaming(o=!1){a(o),x()},get source(){return n()},set source(o){n(o),x()},get sourceError(){return l()},set sourceError(o){l(o),x()},get viewResetKey(){return d()},set viewResetKey(o){d(o),x()},get onBindingClick(){return f()},set onBindingClick(o){f(o),x()},$set:ae,$on:(o,p)=>ne(e,o,p)},m=Se(),A=G(m);{var M=o=>{var p=he(),w=H(p),S=G(w),B=N(S,!0),X=L(S,2),Y=N(X,!0);q(w);var j=L(w,2),Z=N(j,!0);R(($,ee,te)=>{O(B,$),O(Y,ee),D(j,"aria-label",te),O(Z,n())},[()=>I.markdown_mermaid_renderFailed_error(),()=>I.diagram_renderer_error_description(),()=>I.markdown_mermaid_viewSource_label()]),E(o,p)},Q=o=>{var p=de(),w=H(p);ue(w,()=>b(r),S=>{me(S,{get diagram(){return b(g)},editable:!1,get viewResetKey(){return d()},get onBindingClick(){return f()}})}),E(o,p)},T=o=>{var p=we(),w=N(p,!0);R(S=>O(w,S),[()=>I.ui_spinner_loading_ariaLabel()]),E(o,p)};se(A,o=>{b(v)?o(M):b(g)?o(Q,1):o(T,-1)})}return q(m),R(()=>{D(m,"aria-busy",a()),D(m,"data-diagram-streaming",a())}),E(t,m),ce(_)}export{_e as S,Ne as p};
1
+ import{D as C}from"./BZKFinnt.js";import{t as re,bq as y,a_ as se,by as ae,b as ne,bo as I}from"./CNdlzZOD.js";import{bs as oe,cb as ie,c5 as le,bH as k,aD as b,a5 as G,bA as q,b_ as R,W as E,bn as ce,bV as W,c9 as F,aA as x,ay as H,bl as N,bS as L,bO as O,a7 as de,aB as P}from"./DYhIMPy1.js";import{G as ue}from"./DrH3w3jB.js";import{u as D}from"./9iFKJfkz.js";import{a as me}from"./DMv-E05P.js";const K=C.shape.model,pe=C.shape.states.unwrap().element;function U(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function fe(t){return/^(?:|model|model\.(?:nodes|edges|groups)|states)$/.test(t)}function ge(t){let e=0;const s=()=>{for(;/[\t\n\r ]/.test(t[e]??"\0");)e+=1},a=(l,d)=>{if(d>64)throw new Error("JSON nesting limit exceeded");s();const f=e,u=t[e];if(u===void 0)return{complete:!1};if(u==='"'){for(e+=1;e<t.length;){const r=t[e++];if(r==="\\")e+=1;else if(r==='"')return{value:JSON.parse(t.slice(f,e)),complete:!0}}return{complete:!1}}if(u==="{"||u==="["){const r=u==="{",c=r?Object.create(null):[],h=r?"}":"]";if(e+=1,s(),t[e]===h)return e+=1,{value:c,complete:!0};for(;e<t.length;){let i="";if(r){if(t[e]!=='"')throw new Error("Expected JSON property");const _=a(l,d+1);if(!_.complete)return{value:c,complete:!1};if(i=_.value,s(),e===t.length)return{value:c,complete:!1};if(t[e++]!==":")throw new Error("Expected JSON colon")}const g=r?l?`${l}.${i}`:i:`${l}[]`,v=a(g,d+1);if((v.complete||fe(g)&&v.value!==void 0)&&(Array.isArray(c)?c.push(v.value):c[i]=v.value),!v.complete)return{value:c,complete:!1};if(s(),e===t.length)return{value:c,complete:!1};if(t[e]===h)return e+=1,{value:c,complete:!0};if(t[e++]!==",")throw new Error("Expected JSON separator");s()}return{value:c,complete:!1}}for(;e<t.length&&!/[\t\n\r ,}\]]/.test(t[e]);)e+=1;return e===t.length?{complete:!1}:{value:JSON.parse(t.slice(f,e)),complete:!0}},n=a("",0);if(s(),n.complete&&e!==t.length)throw new Error("Unexpected JSON suffix");return n}function J(t){const e=new Set;return t.filter(({id:s})=>e.has(s)?!1:(e.add(s),!0))}function z(t,e,s,a){return[t.visibleNodes,t.highlightedNodes].every(n=>n?.every(l=>e.has(l))??!0)&&[t.visibleEdges,t.highlightedEdges].every(n=>n?.every(l=>s.has(l))??!0)&&(t.visibleGroups?.every(n=>a.has(n))??!0)&&(t.camera?.focus===void 0||e.has(t.camera.focus))}function ve(t){if(!U(t)||!U(t.model))return null;const e=t.model,s=(i,g)=>Array.isArray(i)?i.filter(v=>g.safeParse(v).success):[];let a=J(s(e.nodes,K.shape.nodes.element)),n=J(s(e.groups,K.shape.groups.unwrap().element)),l=!0;for(;l;){const i=new Set(a.map(({id:m})=>m)),g=n.filter(m=>m.nodeIds.every(A=>i.has(A))),v=new Set(g.map(({id:m})=>m)),_=a.filter(m=>m.group===void 0||v.has(m.group));l=_.length!==a.length||g.length!==n.length,a=_,n=g}if(!a.length)return null;const d=new Set(a.map(({id:i})=>i)),f=J(s(e.edges,K.shape.edges.element)).filter(i=>d.has(i.from)&&d.has(i.to)),u=new Set(f.map(({id:i})=>i)),r=new Set(n.map(({id:i})=>i)),c=J(s(t.states,pe)).filter(i=>z(i,d,u,r)),h={...t,model:{...e,nodes:a,edges:f,...e.groups===void 0?{}:{groups:n}},...t.states===void 0?{}:{states:c}};return c.some(i=>i.id===h.currentStateId)||delete h.currentStateId,C.safeParse(h).success?h:null}function V(t){if(!C.safeParse(t).success)return null;const e=t,{nodes:s,edges:a,groups:n=[]}=e.model,l=e.states??[],d=new Set(s.map(({id:r})=>r)),f=new Set(a.map(({id:r})=>r)),u=new Set(n.map(({id:r})=>r));return[s,a,n,l].some(r=>new Set(r.map(({id:c})=>c)).size!==r.length)||s.some(r=>r.group!==void 0&&!u.has(r.group))||a.some(r=>!d.has(r.from)||!d.has(r.to))||n.some(r=>r.nodeIds.some(c=>!d.has(c)))||l.some(r=>!z(r,d,f,u))||e.currentStateId!==void 0&&!l.some(r=>r.id===e.currentStateId)?null:e}function Ne(t,e=!1){const s=(a,n,l)=>({rawSource:t,status:a,diagram:n,...l?{error:l}:{}});try{if(e){const n=V(JSON.parse(t));return n?s("complete",n):s("invalid",null,"Invalid diagram payload")}const a=ge(t);if(a.complete){const n=V(a.value);if(n)return s("complete",n)}return s("partial",ve(a.value))}catch{return s(e?"invalid":"partial",null,e?"Invalid diagram JSON":void 0)}}var he=P('<div class="diagram-feedback svelte-p097sp" role="alert"><strong> </strong> <span> </span></div> <pre class="diagram-source svelte-p097sp"> </pre>',1),we=P('<div class="diagram-feedback svelte-p097sp" role="status"> </div>'),Se=P('<div class="streaming-diagram svelte-p097sp"><!></div>');function _e(t,e){if(new.target)return re({component:_e,...t});oe(e,!0);let s=y(e,"diagram",7),a=y(e,"isStreaming",7,!1),n=y(e,"source",7),l=y(e,"sourceError",7),d=y(e,"viewResetKey",7),f=y(e,"onBindingClick",7),u=W(null),r=W(0),c="",h,i=!1;ie(()=>{const o=s(),p=n(),w=d(),S=a(),B=!!l();le(()=>{i&&(w!==h||!p.startsWith(c))&&(k(u,null),k(r,b(r)+1)),i=!0,c=p,h=w,B||!S&&!o?k(u,null):o&&k(u,o,!0)})});const g=F(()=>l()?null:s()??(a()?b(u):null)),v=F(()=>!!l()||!a()&&!s());var _={get diagram(){return s()},set diagram(o){s(o),x()},get isStreaming(){return a()},set isStreaming(o=!1){a(o),x()},get source(){return n()},set source(o){n(o),x()},get sourceError(){return l()},set sourceError(o){l(o),x()},get viewResetKey(){return d()},set viewResetKey(o){d(o),x()},get onBindingClick(){return f()},set onBindingClick(o){f(o),x()},$set:ae,$on:(o,p)=>ne(e,o,p)},m=Se(),A=G(m);{var M=o=>{var p=he(),w=H(p),S=G(w),B=N(S,!0),X=L(S,2),Y=N(X,!0);q(w);var j=L(w,2),Z=N(j,!0);R(($,ee,te)=>{O(B,$),O(Y,ee),D(j,"aria-label",te),O(Z,n())},[()=>I.markdown_mermaid_renderFailed_error(),()=>I.diagram_renderer_error_description(),()=>I.markdown_mermaid_viewSource_label()]),E(o,p)},Q=o=>{var p=de(),w=H(p);ue(w,()=>b(r),S=>{me(S,{get diagram(){return b(g)},editable:!1,get viewResetKey(){return d()},get onBindingClick(){return f()}})}),E(o,p)},T=o=>{var p=we(),w=N(p,!0);R(S=>O(w,S),[()=>I.ui_spinner_loading_ariaLabel()]),E(o,p)};se(A,o=>{b(v)?o(M):b(g)?o(Q,1):o(T,-1)})}return q(m),R(()=>{D(m,"aria-busy",a()),D(m,"data-diagram-streaming",a())}),E(t,m),ce(_)}export{_e as S,Ne as p};
@@ -1,4 +1,4 @@
1
- import{Ig as N}from"./BJpbRkma.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function U(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function V(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
1
+ import{Ig as N}from"./BoIGV7s7.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function U(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function V(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
2
2
  `).replace(/\\t/g," ").replace(/\\r/g,"\r")}function _(t){return typeof t!="string"?null:t.trim()||null}function v(t){if(Array.isArray(t)){for(const e of t){const o=_(e);if(o)return o}return null}return _(t)}function j(t,e,o){let n=_(o.path);if(!n&&typeof e=="string"&&e.toLowerCase().startsWith("edit ")){const c=_(e.substring(5));n=c&&x(c)?c:null}if(!n)return null;if(o.command==="create"){const c=o.file_text??"",d=p(c),u=d?d.split(`
3
3
  `):[];return{filePath:n,action:"create",additions:u.length,deletions:0,toolName:e,toolCallId:t,oldContent:"",newContent:d}}let s=0,i=0;const r=[],l=[];let a;if(Array.isArray(o.str_replace_entries))for(const c of o.str_replace_entries){const d=c.old_str,u=c.new_str,h=c.old_str_start_line_number;if(d!==void 0&&u!==void 0){const g=p(d),w=p(u);i+=g?g.split(`
4
4
  `).length:0,s+=w?w.split(`