zen-code 4.8.0 → 4.8.2

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 (414) hide show
  1. package/dist/app.js +175 -99
  2. package/dist/chunk-00jvgph3.js +1 -0
  3. package/dist/chunk-01tsa9cq.js +1 -0
  4. package/dist/chunk-04mq56m4.js +1 -0
  5. package/dist/chunk-07em03a3.js +1 -0
  6. package/dist/chunk-07fnyy77.js +1 -0
  7. package/dist/chunk-0b5e8zpy.js +1 -0
  8. package/dist/chunk-0c25y7k9.js +1 -0
  9. package/dist/chunk-0dvy62vd.js +1 -0
  10. package/dist/chunk-0qys39ww.js +1 -0
  11. package/dist/chunk-0teh8cbt.js +2 -0
  12. package/dist/chunk-0y6jq0a0.js +1 -0
  13. package/dist/chunk-10qr9jk1.js +1 -0
  14. package/dist/chunk-10stn7rc.js +1 -0
  15. package/dist/chunk-11ctp51v.js +2 -0
  16. package/dist/chunk-131cad67.js +1 -0
  17. package/dist/{chunk-bjywwcgn.js → chunk-15zc0x9q.js} +2 -2
  18. package/dist/chunk-16jx4h98.js +1 -0
  19. package/dist/chunk-18k4wz02.js +1 -0
  20. package/dist/chunk-1a34fyjt.js +1 -0
  21. package/dist/chunk-1ek0xjkr.js +1 -0
  22. package/dist/chunk-1ja6becj.js +1 -0
  23. package/dist/{chunk-c9q11tk2.js → chunk-1mrzmr8f.js} +1 -1
  24. package/dist/chunk-1r67ngsh.js +1 -0
  25. package/dist/chunk-1w5vehgm.js +1 -0
  26. package/dist/chunk-1yq51mb3.js +1 -0
  27. package/dist/chunk-2215g4qb.js +2 -0
  28. package/dist/chunk-29tmghhd.js +1 -0
  29. package/dist/chunk-2cj25dc6.js +1 -0
  30. package/dist/chunk-2evyqqz7.js +2 -0
  31. package/dist/chunk-2f9mf6mw.js +2 -0
  32. package/dist/chunk-2kqs0amy.js +1 -0
  33. package/dist/{chunk-yvhq458c.js → chunk-2kw6zxt8.js} +1 -1
  34. package/dist/chunk-2mb0trr0.js +1 -0
  35. package/dist/{chunk-rrkzfahh.js → chunk-2mesyv20.js} +1 -1
  36. package/dist/chunk-2p664mgv.js +1 -0
  37. package/dist/chunk-2tg0fzzw.js +2 -0
  38. package/dist/chunk-2xr9jk3t.js +1 -0
  39. package/dist/chunk-2xrccbwa.js +1 -0
  40. package/dist/chunk-2yrz4qdk.js +1 -0
  41. package/dist/chunk-2zqq58q6.js +2 -0
  42. package/dist/{chunk-czz2fs2w.js → chunk-30hxw04w.js} +1 -1
  43. package/dist/{chunk-5fqt5yg1.js → chunk-33j3j89j.js} +1 -1
  44. package/dist/chunk-33xp86w3.js +1 -0
  45. package/dist/chunk-35bvsa6m.js +1 -0
  46. package/dist/chunk-35ncgr15.js +1 -0
  47. package/dist/chunk-3b63e6mc.js +1 -0
  48. package/dist/chunk-3f6xf4mm.js +1 -0
  49. package/dist/chunk-3k4101h5.js +1 -0
  50. package/dist/chunk-3mjwhvpy.js +1 -0
  51. package/dist/chunk-3pzth5e2.js +1 -0
  52. package/dist/chunk-3st09pbw.js +1 -0
  53. package/dist/{chunk-dh3jz71n.js → chunk-3tfjvh53.js} +1 -1
  54. package/dist/chunk-3x564va6.js +2 -0
  55. package/dist/chunk-3xfw5w0d.js +1 -0
  56. package/dist/chunk-3zf20ctr.js +1 -0
  57. package/dist/chunk-46ac6010.js +1 -0
  58. package/dist/chunk-46bmfch2.js +1 -0
  59. package/dist/chunk-4cg3jh38.js +1 -0
  60. package/dist/chunk-4g2gfvyd.js +1 -0
  61. package/dist/chunk-4h4fdqy9.js +1 -0
  62. package/dist/chunk-4k9xgsq4.js +1 -0
  63. package/dist/chunk-4mj1r6nd.js +1 -0
  64. package/dist/chunk-4w4ezegn.js +1 -0
  65. package/dist/chunk-51rhc5g1.js +1 -0
  66. package/dist/chunk-54j5njdj.js +1 -0
  67. package/dist/chunk-54ya969p.js +1 -0
  68. package/dist/chunk-55pfd4pp.js +1 -0
  69. package/dist/chunk-583jqck6.js +1 -0
  70. package/dist/chunk-5c13nrde.js +1 -0
  71. package/dist/chunk-5eg3bn3m.js +1 -0
  72. package/dist/chunk-5em7s1at.js +1 -0
  73. package/dist/chunk-5gjt4v98.js +1 -0
  74. package/dist/{chunk-0fhpz98a.js → chunk-5gp7nsdp.js} +2 -2
  75. package/dist/chunk-5hcvm27y.js +1 -0
  76. package/dist/chunk-5kns073z.js +1 -0
  77. package/dist/chunk-5pt6e5bh.js +1 -0
  78. package/dist/chunk-5q1qtbx4.js +1 -0
  79. package/dist/chunk-5xhjmcrr.js +1 -0
  80. package/dist/chunk-5yv6fsvn.js +1 -0
  81. package/dist/chunk-6180vb4q.js +2 -0
  82. package/dist/chunk-645r8yk7.js +1 -0
  83. package/dist/chunk-665a7fke.js +1 -0
  84. package/dist/chunk-667brfhx.js +1 -0
  85. package/dist/chunk-66s9chr5.js +1 -0
  86. package/dist/chunk-6dat5vvb.js +1 -0
  87. package/dist/chunk-6fzgq7sb.js +1 -0
  88. package/dist/chunk-6jdfap4a.js +1 -0
  89. package/dist/chunk-6qce4a2z.js +1 -0
  90. package/dist/chunk-6r8jhnde.js +1 -0
  91. package/dist/chunk-6tf8wacp.js +1 -0
  92. package/dist/chunk-6wbgc1xz.js +1 -0
  93. package/dist/chunk-6yk2jj1m.js +1 -0
  94. package/dist/chunk-74j5prfv.js +1 -0
  95. package/dist/chunk-7cenjy4r.js +2 -0
  96. package/dist/chunk-7jy1478y.js +1 -0
  97. package/dist/{chunk-j1n8jp1w.js → chunk-7kb8ygdr.js} +2 -2
  98. package/dist/chunk-7wnxdt11.js +1 -0
  99. package/dist/chunk-7wqcxfc4.js +1 -0
  100. package/dist/chunk-84nqfeqh.js +1 -0
  101. package/dist/chunk-87s313qe.js +1 -0
  102. package/dist/chunk-87w588zd.js +1 -0
  103. package/dist/chunk-8fzw4gqz.js +1 -0
  104. package/dist/chunk-8kk9kv6s.js +1 -0
  105. package/dist/chunk-8kt765dh.js +1 -0
  106. package/dist/chunk-8n9e3wbs.js +1 -0
  107. package/dist/chunk-8p1ebpny.js +1 -0
  108. package/dist/chunk-8vsqygpz.js +1 -0
  109. package/dist/chunk-8w10sa5e.js +1 -0
  110. package/dist/chunk-8ynj83n2.js +1 -0
  111. package/dist/chunk-92pjraxh.js +2 -0
  112. package/dist/chunk-95963acy.js +1 -0
  113. package/dist/chunk-962ms02t.js +1 -0
  114. package/dist/{chunk-3ep2tag7.js → chunk-98x8wkt6.js} +1 -1
  115. package/dist/chunk-9a6kwz9e.js +1 -0
  116. package/dist/chunk-9as23fmk.js +1 -0
  117. package/dist/chunk-9b45fe34.js +1 -0
  118. package/dist/chunk-9dhex1sf.js +1 -0
  119. package/dist/chunk-9dse3mh2.js +1 -0
  120. package/dist/chunk-9frwhzz8.js +1 -0
  121. package/dist/chunk-9ft87v6s.js +2 -0
  122. package/dist/chunk-9h0v5e0k.js +2 -0
  123. package/dist/chunk-9n2ge60j.js +1 -0
  124. package/dist/chunk-9nb6v3q0.js +2 -0
  125. package/dist/chunk-9phx46cq.js +2 -0
  126. package/dist/chunk-9qtsjepd.js +1 -0
  127. package/dist/chunk-9rks3bc7.js +1 -0
  128. package/dist/chunk-9skn642s.js +1 -0
  129. package/dist/chunk-9xaygaay.js +2 -0
  130. package/dist/chunk-9xcz69sj.js +1 -0
  131. package/dist/chunk-9xp471ze.js +1 -0
  132. package/dist/chunk-9xtq15gy.js +1 -0
  133. package/dist/chunk-a07p1cfs.js +1 -0
  134. package/dist/chunk-a0jc9gfw.js +1 -0
  135. package/dist/chunk-a1s72wx6.js +1 -0
  136. package/dist/chunk-a22ebaj5.js +1 -0
  137. package/dist/chunk-a4ah9wgn.js +1 -0
  138. package/dist/chunk-a5k1t6aj.js +1 -0
  139. package/dist/chunk-ajxzbnbp.js +1 -0
  140. package/dist/{chunk-bgpcx3bm.js → chunk-axn0n4dh.js} +2 -2
  141. package/dist/chunk-b3s0bcp6.js +1 -0
  142. package/dist/chunk-b6xdt5xb.js +1 -0
  143. package/dist/chunk-b79d73fy.js +1 -0
  144. package/dist/chunk-b7h6wk4v.js +1 -0
  145. package/dist/chunk-b9s35wb6.js +1 -0
  146. package/dist/chunk-bc95nfbs.js +1 -0
  147. package/dist/chunk-bcwnznke.js +1 -0
  148. package/dist/chunk-bh05aqrf.js +2 -0
  149. package/dist/chunk-bj4851d8.js +1 -0
  150. package/dist/chunk-bkan2fr3.js +1 -0
  151. package/dist/chunk-bmb36b05.js +1 -0
  152. package/dist/chunk-bnma63xz.js +1 -0
  153. package/dist/chunk-bnrv5f66.js +2 -0
  154. package/dist/chunk-brcvpmwp.js +1 -0
  155. package/dist/chunk-bwcdkk1e.js +2 -0
  156. package/dist/chunk-bwvxp5dp.js +1 -0
  157. package/dist/chunk-by1h1fy3.js +1 -0
  158. package/dist/chunk-c04rr3mc.js +1 -0
  159. package/dist/chunk-c2gqabg2.js +1 -0
  160. package/dist/{chunk-vkng13p1.js → chunk-cd3rdhh1.js} +3 -3
  161. package/dist/chunk-cdp5c1vf.js +1 -0
  162. package/dist/chunk-cfsnygh0.js +1 -0
  163. package/dist/chunk-cmfrm6a7.js +2 -0
  164. package/dist/chunk-cypczp4s.js +1 -0
  165. package/dist/chunk-czkt4sv0.js +1 -0
  166. package/dist/chunk-d20g16c2.js +1 -0
  167. package/dist/chunk-d7b0m60j.js +1 -0
  168. package/dist/chunk-d9hpz80s.js +2 -0
  169. package/dist/chunk-daahmb61.js +1 -0
  170. package/dist/{chunk-yaa4eesd.js → chunk-dchaphvw.js} +2 -2
  171. package/dist/chunk-dee62n5c.js +1 -0
  172. package/dist/chunk-dj82prdc.js +1 -0
  173. package/dist/chunk-dn2fe6a4.js +1 -0
  174. package/dist/chunk-dne3hqde.js +1 -0
  175. package/dist/chunk-dpa9tgf6.js +2 -0
  176. package/dist/chunk-dtha8g8n.js +1 -0
  177. package/dist/chunk-dxg8cctv.js +2 -0
  178. package/dist/chunk-dxyv2b1c.js +1 -0
  179. package/dist/chunk-e07gx0kg.js +1 -0
  180. package/dist/{chunk-wwn7gw8g.js → chunk-e3narvkn.js} +3 -3
  181. package/dist/chunk-e43hpgc8.js +1 -0
  182. package/dist/chunk-eceb8jjd.js +1 -0
  183. package/dist/chunk-en2d49a7.js +1 -0
  184. package/dist/chunk-en6q3h2k.js +1 -0
  185. package/dist/chunk-er06b5kx.js +2 -0
  186. package/dist/chunk-ewgpt1pm.js +1 -0
  187. package/dist/chunk-exj3mryv.js +1 -0
  188. package/dist/chunk-f4cn2y4x.js +1 -0
  189. package/dist/chunk-f6rsbhs6.js +1 -0
  190. package/dist/chunk-f7rxszbz.js +1 -0
  191. package/dist/chunk-fdvezfdb.js +1 -0
  192. package/dist/chunk-fesyrdnx.js +1 -0
  193. package/dist/chunk-ffyj4q4f.js +1 -0
  194. package/dist/chunk-fg2zmrdg.js +1 -0
  195. package/dist/chunk-fj71pv2k.js +1 -0
  196. package/dist/chunk-fm4a6pgp.js +1 -0
  197. package/dist/chunk-fsh8c4gw.js +1 -0
  198. package/dist/chunk-fsqndb8n.js +1 -0
  199. package/dist/chunk-ft4z3z88.js +2 -0
  200. package/dist/chunk-ftc3mh9t.js +1 -0
  201. package/dist/chunk-fwmc6hwy.js +1 -0
  202. package/dist/chunk-fyay9ztg.js +1 -0
  203. package/dist/chunk-g0c5mmdz.js +1 -0
  204. package/dist/{chunk-15smn69q.js → chunk-g0fa5dyc.js} +2 -2
  205. package/dist/chunk-g1r86637.js +1 -0
  206. package/dist/chunk-g1z6k96z.js +1 -0
  207. package/dist/chunk-g3p0vcay.js +2 -0
  208. package/dist/chunk-gc0daqhj.js +1 -0
  209. package/dist/chunk-ggwb349q.js +1 -0
  210. package/dist/chunk-gt6xd3pb.js +1 -0
  211. package/dist/chunk-gz0bg0j5.js +1 -0
  212. package/dist/chunk-h1j74efh.js +1 -0
  213. package/dist/chunk-h77takma.js +1 -0
  214. package/dist/chunk-hd39y2wf.js +1 -0
  215. package/dist/chunk-hqhqqe9q.js +1 -0
  216. package/dist/chunk-hsq3vxna.js +2 -0
  217. package/dist/chunk-httqsv3p.js +1 -0
  218. package/dist/{chunk-9k57afdm.js → chunk-j07r3an3.js} +1 -1
  219. package/dist/chunk-j2vek58t.js +1 -0
  220. package/dist/chunk-j3c65h0m.js +1 -0
  221. package/dist/chunk-j4c847h3.js +1 -0
  222. package/dist/chunk-j7dazkh4.js +1 -0
  223. package/dist/chunk-j9bkjc22.js +1 -0
  224. package/dist/chunk-jeavnd8g.js +1 -0
  225. package/dist/chunk-jk42e7d2.js +1 -0
  226. package/dist/chunk-jmp4rprf.js +1 -0
  227. package/dist/chunk-jn4wgzaz.js +1 -0
  228. package/dist/chunk-jpkm78je.js +1 -0
  229. package/dist/{chunk-9kc9cea3.js → chunk-jrmcscsp.js} +2 -2
  230. package/dist/chunk-jv8shhgk.js +1 -0
  231. package/dist/chunk-jva13pdt.js +1 -0
  232. package/dist/chunk-jw043xpz.js +1 -0
  233. package/dist/chunk-jwtpf45z.js +1 -0
  234. package/dist/chunk-k06v7jh2.js +1 -0
  235. package/dist/chunk-k45jk0ge.js +1 -0
  236. package/dist/chunk-kbaz8s34.js +1 -0
  237. package/dist/chunk-kephawnc.js +1 -0
  238. package/dist/chunk-khd8ds90.js +1 -0
  239. package/dist/chunk-kkk1k414.js +1 -0
  240. package/dist/{chunk-cze71w02.js → chunk-kn8f91na.js} +1 -1
  241. package/dist/chunk-kny33kyv.js +2 -0
  242. package/dist/{chunk-j204fejq.js → chunk-ksx0ymk7.js} +1 -1
  243. package/dist/chunk-kvb035wf.js +2 -0
  244. package/dist/chunk-kwhma00c.js +1 -0
  245. package/dist/chunk-ky2zgpqq.js +1 -0
  246. package/dist/chunk-kz78gsrq.js +1 -0
  247. package/dist/chunk-kz9rfhe3.js +1 -0
  248. package/dist/chunk-kzafnaxn.js +1 -0
  249. package/dist/chunk-m0czpwvf.js +1 -0
  250. package/dist/chunk-m0k36mwn.js +1 -0
  251. package/dist/chunk-m5rj1w7e.js +1 -0
  252. package/dist/chunk-mgkmr3xy.js +1 -0
  253. package/dist/chunk-mkzpj7ht.js +1 -0
  254. package/dist/chunk-mnxav3bw.js +1 -0
  255. package/dist/chunk-mp159559.js +2 -0
  256. package/dist/chunk-mttnv195.js +1 -0
  257. package/dist/chunk-mwqg224k.js +1 -0
  258. package/dist/chunk-mx8stxha.js +1 -0
  259. package/dist/chunk-mxwqk6ht.js +1 -0
  260. package/dist/chunk-my5y2p5a.js +1 -0
  261. package/dist/{chunk-jkbtx9va.js → chunk-myx87v1y.js} +1 -1
  262. package/dist/chunk-n3e766aj.js +1 -0
  263. package/dist/chunk-n4s96jdz.js +1 -0
  264. package/dist/chunk-n9yfs19q.js +1 -0
  265. package/dist/chunk-na5z94zg.js +2 -0
  266. package/dist/chunk-nay5m04y.js +1 -0
  267. package/dist/chunk-nq1k5tw4.js +1 -0
  268. package/dist/chunk-ntc51kg0.js +1 -0
  269. package/dist/{chunk-h5nnz4dy.js → chunk-ntcxtgqe.js} +1 -1
  270. package/dist/chunk-nvynvczn.js +1 -0
  271. package/dist/chunk-ny0zjscg.js +1 -0
  272. package/dist/chunk-nzfjhsr7.js +1 -0
  273. package/dist/chunk-p0ys44e5.js +1 -0
  274. package/dist/chunk-p1e4d1an.js +1 -0
  275. package/dist/chunk-p3yymm16.js +1 -0
  276. package/dist/chunk-p57dfnmm.js +1 -0
  277. package/dist/chunk-p8pfkf84.js +1 -0
  278. package/dist/chunk-pdfvchxr.js +1 -0
  279. package/dist/chunk-pht0yvya.js +1 -0
  280. package/dist/chunk-pr8jrhq9.js +1 -0
  281. package/dist/{chunk-q8arjxg1.js → chunk-pz1y3zyg.js} +1 -1
  282. package/dist/chunk-q2qcexv0.js +1 -0
  283. package/dist/{chunk-5wn1nfqy.js → chunk-q37swcyw.js} +2 -2
  284. package/dist/chunk-q9w8vj93.js +2 -0
  285. package/dist/chunk-q9wkyq6a.js +1 -0
  286. package/dist/chunk-qcyfn6sh.js +1 -0
  287. package/dist/chunk-qddn1sea.js +1 -0
  288. package/dist/chunk-qhs3hh67.js +1 -0
  289. package/dist/chunk-qrr2ytkg.js +2 -0
  290. package/dist/{chunk-s3fyfrka.js → chunk-r038t2rw.js} +2 -2
  291. package/dist/chunk-r53nsqbh.js +1 -0
  292. package/dist/chunk-rgc9k4rf.js +2 -0
  293. package/dist/chunk-rnpfchb9.js +1 -0
  294. package/dist/chunk-s237yqg5.js +1 -0
  295. package/dist/chunk-s4ksgmax.js +1 -0
  296. package/dist/chunk-s6qt552a.js +1 -0
  297. package/dist/chunk-s7qqrnzh.js +1 -0
  298. package/dist/chunk-satxmrvx.js +1 -0
  299. package/dist/chunk-sbcw8d8z.js +1 -0
  300. package/dist/chunk-sch9d3fe.js +1 -0
  301. package/dist/chunk-sd9rvjt6.js +1 -0
  302. package/dist/chunk-sdr9ywjt.js +1 -0
  303. package/dist/chunk-sexnhyqf.js +1 -0
  304. package/dist/chunk-sjkk13dd.js +1 -0
  305. package/dist/chunk-skh4rx0s.js +1 -0
  306. package/dist/chunk-srtwf73c.js +1 -0
  307. package/dist/chunk-svcy27ht.js +1 -0
  308. package/dist/chunk-sw4h382q.js +1 -0
  309. package/dist/chunk-sy7vf5c5.js +1 -0
  310. package/dist/chunk-sz3tq28n.js +2 -0
  311. package/dist/chunk-t1pybn6p.js +1 -0
  312. package/dist/chunk-t3q0fpe0.js +1 -0
  313. package/dist/chunk-t49vbac9.js +1 -0
  314. package/dist/chunk-t6bb31dn.js +1 -0
  315. package/dist/chunk-t7qx43hg.js +1 -0
  316. package/dist/{chunk-6ty22kkt.js → chunk-t7zrr341.js} +1 -1
  317. package/dist/chunk-tfqwrnhz.js +1 -0
  318. package/dist/chunk-tjj6zd94.js +2 -0
  319. package/dist/chunk-tr01bt0h.js +1 -0
  320. package/dist/chunk-tv25zrtk.js +1 -0
  321. package/dist/chunk-txdyy4ya.js +1 -0
  322. package/dist/chunk-v02wftj8.js +1 -0
  323. package/dist/chunk-v667b8k4.js +1 -0
  324. package/dist/chunk-v6faz3vj.js +1 -0
  325. package/dist/chunk-v6nssgv7.js +1 -0
  326. package/dist/chunk-vbwkgvhq.js +1 -0
  327. package/dist/chunk-vcbgawge.js +1 -0
  328. package/dist/chunk-vd8byz1r.js +2 -0
  329. package/dist/chunk-vdd1xyrt.js +1 -0
  330. package/dist/chunk-vfwh7m86.js +1 -0
  331. package/dist/chunk-vg1dem7m.js +1 -0
  332. package/dist/chunk-vkfgx6sa.js +2 -0
  333. package/dist/{chunk-vjj00e3e.js → chunk-vpah11mp.js} +2 -2
  334. package/dist/chunk-vpbyhd1b.js +1 -0
  335. package/dist/chunk-vrjcy7h1.js +1 -0
  336. package/dist/chunk-vs72fgve.js +1 -0
  337. package/dist/chunk-vsedmhna.js +1 -0
  338. package/dist/chunk-vtxyeepe.js +2 -0
  339. package/dist/{chunk-kbs4px1b.js → chunk-vxdkfxtq.js} +1 -1
  340. package/dist/{chunk-7dp8kq2f.js → chunk-vxggg3ea.js} +2 -2
  341. package/dist/chunk-vxzy50p0.js +1 -0
  342. package/dist/chunk-w3y3sdmt.js +1 -0
  343. package/dist/chunk-w4kh5s54.js +1 -0
  344. package/dist/{chunk-vc384abg.js → chunk-wbcfbyft.js} +1 -1
  345. package/dist/chunk-we3jwpsb.js +2 -0
  346. package/dist/chunk-wgwaq8q1.js +1 -0
  347. package/dist/chunk-wkvnhk36.js +1 -0
  348. package/dist/chunk-wp436n3r.js +1 -0
  349. package/dist/{chunk-3n2b4eb4.js → chunk-wxm0c8ec.js} +2 -2
  350. package/dist/chunk-wy3eznsy.js +2 -0
  351. package/dist/chunk-x0gm6db7.js +1 -0
  352. package/dist/chunk-x0xaw21f.js +1 -0
  353. package/dist/chunk-x6je1qsq.js +1 -0
  354. package/dist/chunk-x866vcqf.js +1 -0
  355. package/dist/{chunk-sft6ep0c.js → chunk-xc8efvab.js} +1 -1
  356. package/dist/chunk-xcea0hn5.js +2 -0
  357. package/dist/chunk-xg586hyh.js +1 -0
  358. package/dist/{chunk-kxk71nn0.js → chunk-xh3gtpfd.js} +1 -1
  359. package/dist/chunk-xkfzt78k.js +1 -0
  360. package/dist/chunk-xkvnfywa.js +1 -0
  361. package/dist/chunk-xqhnnbfr.js +1 -0
  362. package/dist/chunk-xtrkc4bn.js +1 -0
  363. package/dist/chunk-xxwnet5y.js +1 -0
  364. package/dist/chunk-y62ja3na.js +1 -0
  365. package/dist/chunk-y7qk76sv.js +1 -0
  366. package/dist/chunk-yd3vzgxs.js +1 -0
  367. package/dist/chunk-yd6e0k1x.js +1 -0
  368. package/dist/chunk-yhpg01ds.js +1 -0
  369. package/dist/chunk-yj3fncjn.js +1 -0
  370. package/dist/chunk-yk20e377.js +1 -0
  371. package/dist/chunk-ynjy01zm.js +1 -0
  372. package/dist/chunk-yynk0bam.js +1 -0
  373. package/dist/chunk-yyr27vj3.js +1 -0
  374. package/dist/chunk-yzgwn422.js +1 -0
  375. package/dist/chunk-z578v7vz.js +1 -0
  376. package/dist/chunk-zag96nyc.js +2 -0
  377. package/dist/chunk-zcg0fy8h.js +1 -0
  378. package/dist/chunk-zed64rf0.js +1 -0
  379. package/dist/chunk-zf96st2f.js +1 -0
  380. package/dist/chunk-zgnjqvkp.js +1 -0
  381. package/dist/chunk-zgyww0w8.js +1 -0
  382. package/dist/chunk-zj03ksjd.js +1 -0
  383. package/dist/chunk-zq5ncapf.js +1 -0
  384. package/dist/chunk-zqg7xzex.js +1 -0
  385. package/dist/{chunk-n1d8xx5k.js → chunk-zqx4fcfe.js} +1 -1
  386. package/dist/chunk-zt78xjtr.js +2 -0
  387. package/dist/chunk-zv0nefnm.js +1 -0
  388. package/dist/chunk-zv3jegxm.js +1 -0
  389. package/dist/chunk-zv9ac3c0.js +2 -0
  390. package/dist/chunk-zwhbdwnt.js +1 -0
  391. package/dist/chunk-zx19re81.js +2 -0
  392. package/dist/chunk-zxqs1xns.js +1 -0
  393. package/dist/cli.js +1 -1
  394. package/dist/nonInteractive.js +1 -1
  395. package/dist/zen-keyboard.js +1 -1
  396. package/package.json +8 -7
  397. package/dist/chunk-3jek9sxm.js +0 -2
  398. package/dist/chunk-3znrwnd8.js +0 -1
  399. package/dist/chunk-4b8yaknt.js +0 -1
  400. package/dist/chunk-5nzs0q25.js +0 -1
  401. package/dist/chunk-70a0e941.js +0 -1
  402. package/dist/chunk-8nhayyat.js +0 -1
  403. package/dist/chunk-cga0m5sy.js +0 -1
  404. package/dist/chunk-e0sqjq2h.js +0 -1
  405. package/dist/chunk-efhkdw2z.js +0 -1
  406. package/dist/chunk-ew7249h9.js +0 -1
  407. package/dist/chunk-hww94vjn.js +0 -1
  408. package/dist/chunk-k67epfhc.js +0 -1
  409. package/dist/chunk-keqk70wm.js +0 -2
  410. package/dist/chunk-mg8zpgaz.js +0 -1
  411. package/dist/chunk-ndtwq2zx.js +0 -2
  412. package/dist/chunk-pdkbrds7.js +0 -1
  413. package/dist/chunk-rdc9pxf6.js +0 -1
  414. package/dist/chunk-wbn1hbxf.js +0 -1
@@ -0,0 +1 @@
1
+ import{fc as a}from"./chunk-vxdkfxtq.js";import"./chunk-kn8f91na.js";export{a as FileSystemSkillStore};
@@ -0,0 +1 @@
1
+ import"./chunk-kn8f91na.js";var e=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBackground":"#00000000","activityBar.activeBorder":"#00000000","activityBar.activeFocusBorder":"#00000000","activityBar.background":"#dce0e8","activityBar.border":"#00000000","activityBar.dropBorder":"#8839ef33","activityBar.foreground":"#8839ef","activityBar.inactiveForeground":"#9ca0b0","activityBarBadge.background":"#8839ef","activityBarBadge.foreground":"#dce0e8","activityBarTop.activeBorder":"#00000000","activityBarTop.dropBorder":"#8839ef33","activityBarTop.foreground":"#8839ef","activityBarTop.inactiveForeground":"#9ca0b0","badge.background":"#bcc0cc","badge.foreground":"#4c4f69","banner.background":"#bcc0cc","banner.foreground":"#4c4f69","banner.iconForeground":"#4c4f69","breadcrumb.activeSelectionForeground":"#8839ef","breadcrumb.background":"#eff1f5","breadcrumb.focusForeground":"#8839ef","breadcrumb.foreground":"#4c4f69cc","breadcrumbPicker.background":"#e6e9ef","button.background":"#8839ef","button.border":"#00000000","button.foreground":"#dce0e8","button.hoverBackground":"#9c5af2","button.secondaryBackground":"#acb0be","button.secondaryBorder":"#8839ef","button.secondaryForeground":"#4c4f69","button.secondaryHoverBackground":"#c0c3ce","button.separator":"#00000000","charts.blue":"#1e66f5","charts.foreground":"#4c4f69","charts.green":"#40a02b","charts.lines":"#5c5f77","charts.orange":"#fe640b","charts.purple":"#8839ef","charts.red":"#d20f39","charts.yellow":"#df8e1d","checkbox.background":"#bcc0cc","checkbox.border":"#00000000","checkbox.foreground":"#8839ef","commandCenter.activeBackground":"#acb0be33","commandCenter.activeBorder":"#8839ef","commandCenter.activeForeground":"#8839ef","commandCenter.background":"#e6e9ef","commandCenter.border":"#00000000","commandCenter.foreground":"#5c5f77","commandCenter.inactiveBorder":"#00000000","commandCenter.inactiveForeground":"#5c5f77","debugConsole.errorForeground":"#d20f39","debugConsole.infoForeground":"#1e66f5","debugConsole.sourceForeground":"#dc8a78","debugConsole.warningForeground":"#fe640b","debugConsoleInputIcon.foreground":"#4c4f69","debugExceptionWidget.background":"#dce0e8","debugExceptionWidget.border":"#8839ef","debugIcon.breakpointCurrentStackframeForeground":"#acb0be","debugIcon.breakpointDisabledForeground":"#d20f3999","debugIcon.breakpointForeground":"#d20f39","debugIcon.breakpointStackframeForeground":"#acb0be","debugIcon.breakpointUnverifiedForeground":"#bf607c","debugIcon.continueForeground":"#40a02b","debugIcon.disconnectForeground":"#acb0be","debugIcon.pauseForeground":"#1e66f5","debugIcon.restartForeground":"#179299","debugIcon.startForeground":"#40a02b","debugIcon.stepBackForeground":"#acb0be","debugIcon.stepIntoForeground":"#4c4f69","debugIcon.stepOutForeground":"#4c4f69","debugIcon.stepOverForeground":"#8839ef","debugIcon.stopForeground":"#d20f39","debugTokenExpression.boolean":"#8839ef","debugTokenExpression.error":"#d20f39","debugTokenExpression.number":"#fe640b","debugTokenExpression.string":"#40a02b","debugToolBar.background":"#dce0e8","debugToolBar.border":"#00000000","descriptionForeground":"#4c4f69","diffEditor.border":"#acb0be","diffEditor.diagonalFill":"#acb0be99","diffEditor.insertedLineBackground":"#40a02b26","diffEditor.insertedTextBackground":"#40a02b33","diffEditor.removedLineBackground":"#d20f3926","diffEditor.removedTextBackground":"#d20f3933","diffEditorOverview.insertedForeground":"#40a02bcc","diffEditorOverview.removedForeground":"#d20f39cc","disabledForeground":"#6c6f85","dropdown.background":"#e6e9ef","dropdown.border":"#8839ef","dropdown.foreground":"#4c4f69","dropdown.listBackground":"#acb0be","editor.background":"#eff1f5","editor.findMatchBackground":"#e6adbd","editor.findMatchBorder":"#d20f3933","editor.findMatchHighlightBackground":"#a9daf0","editor.findMatchHighlightBorder":"#04a5e533","editor.findRangeHighlightBackground":"#a9daf0","editor.findRangeHighlightBorder":"#04a5e533","editor.focusedStackFrameHighlightBackground":"#40a02b26","editor.foldBackground":"#04a5e540","editor.foreground":"#4c4f69","editor.hoverHighlightBackground":"#04a5e540","editor.lineHighlightBackground":"#4c4f6912","editor.lineHighlightBorder":"#00000000","editor.rangeHighlightBackground":"#04a5e540","editor.rangeHighlightBorder":"#00000000","editor.selectionBackground":"#7c7f934d","editor.selectionHighlightBackground":"#7c7f9333","editor.selectionHighlightBorder":"#7c7f9333","editor.stackFrameHighlightBackground":"#df8e1d26","editor.wordHighlightBackground":"#7c7f9333","editor.wordHighlightStrongBackground":"#1e66f526","editorBracketHighlight.foreground1":"#d20f39","editorBracketHighlight.foreground2":"#fe640b","editorBracketHighlight.foreground3":"#df8e1d","editorBracketHighlight.foreground4":"#40a02b","editorBracketHighlight.foreground5":"#209fb5","editorBracketHighlight.foreground6":"#8839ef","editorBracketHighlight.unexpectedBracket.foreground":"#e64553","editorBracketMatch.background":"#7c7f931a","editorBracketMatch.border":"#7c7f93","editorCodeLens.foreground":"#8c8fa1","editorCursor.background":"#eff1f5","editorCursor.foreground":"#dc8a78","editorError.background":"#00000000","editorError.border":"#00000000","editorError.foreground":"#d20f39","editorGroup.border":"#acb0be","editorGroup.dropBackground":"#8839ef33","editorGroup.emptyBackground":"#eff1f5","editorGroupHeader.tabsBackground":"#dce0e8","editorGutter.addedBackground":"#40a02b","editorGutter.background":"#eff1f5","editorGutter.commentGlyphForeground":"#8839ef","editorGutter.commentRangeForeground":"#ccd0da","editorGutter.deletedBackground":"#d20f39","editorGutter.foldingControlForeground":"#7c7f93","editorGutter.modifiedBackground":"#df8e1d","editorHoverWidget.background":"#e6e9ef","editorHoverWidget.border":"#acb0be","editorHoverWidget.foreground":"#4c4f69","editorIndentGuide.activeBackground":"#acb0be","editorIndentGuide.background":"#bcc0cc","editorInfo.background":"#00000000","editorInfo.border":"#00000000","editorInfo.foreground":"#1e66f5","editorInlayHint.background":"#e6e9efbf","editorInlayHint.foreground":"#acb0be","editorInlayHint.parameterBackground":"#e6e9efbf","editorInlayHint.parameterForeground":"#6c6f85","editorInlayHint.typeBackground":"#e6e9efbf","editorInlayHint.typeForeground":"#5c5f77","editorLightBulb.foreground":"#df8e1d","editorLineNumber.activeForeground":"#8839ef","editorLineNumber.foreground":"#8c8fa1","editorLink.activeForeground":"#8839ef","editorMarkerNavigation.background":"#e6e9ef","editorMarkerNavigationError.background":"#d20f39","editorMarkerNavigationInfo.background":"#1e66f5","editorMarkerNavigationWarning.background":"#fe640b","editorOverviewRuler.background":"#e6e9ef","editorOverviewRuler.border":"#4c4f6912","editorOverviewRuler.modifiedForeground":"#df8e1d","editorRuler.foreground":"#acb0be","editorStickyScrollHover.background":"#ccd0da","editorSuggestWidget.background":"#e6e9ef","editorSuggestWidget.border":"#acb0be","editorSuggestWidget.foreground":"#4c4f69","editorSuggestWidget.highlightForeground":"#8839ef","editorSuggestWidget.selectedBackground":"#ccd0da","editorWarning.background":"#00000000","editorWarning.border":"#00000000","editorWarning.foreground":"#fe640b","editorWhitespace.foreground":"#7c7f9366","editorWidget.background":"#e6e9ef","editorWidget.foreground":"#4c4f69","editorWidget.resizeBorder":"#acb0be","errorForeground":"#d20f39","errorLens.errorBackground":"#d20f3926","errorLens.errorBackgroundLight":"#d20f3926","errorLens.errorForeground":"#d20f39","errorLens.errorForegroundLight":"#d20f39","errorLens.errorMessageBackground":"#d20f3926","errorLens.hintBackground":"#40a02b26","errorLens.hintBackgroundLight":"#40a02b26","errorLens.hintForeground":"#40a02b","errorLens.hintForegroundLight":"#40a02b","errorLens.hintMessageBackground":"#40a02b26","errorLens.infoBackground":"#1e66f526","errorLens.infoBackgroundLight":"#1e66f526","errorLens.infoForeground":"#1e66f5","errorLens.infoForegroundLight":"#1e66f5","errorLens.infoMessageBackground":"#1e66f526","errorLens.statusBarErrorForeground":"#d20f39","errorLens.statusBarHintForeground":"#40a02b","errorLens.statusBarIconErrorForeground":"#d20f39","errorLens.statusBarIconWarningForeground":"#fe640b","errorLens.statusBarInfoForeground":"#1e66f5","errorLens.statusBarWarningForeground":"#fe640b","errorLens.warningBackground":"#fe640b26","errorLens.warningBackgroundLight":"#fe640b26","errorLens.warningForeground":"#fe640b","errorLens.warningForegroundLight":"#fe640b","errorLens.warningMessageBackground":"#fe640b26","extensionBadge.remoteBackground":"#1e66f5","extensionBadge.remoteForeground":"#dce0e8","extensionButton.prominentBackground":"#8839ef","extensionButton.prominentForeground":"#dce0e8","extensionButton.prominentHoverBackground":"#9c5af2","extensionButton.separator":"#eff1f5","extensionIcon.preReleaseForeground":"#acb0be","extensionIcon.sponsorForeground":"#ea76cb","extensionIcon.starForeground":"#df8e1d","extensionIcon.verifiedForeground":"#40a02b","focusBorder":"#8839ef","foreground":"#4c4f69","gitDecoration.addedResourceForeground":"#40a02b","gitDecoration.conflictingResourceForeground":"#8839ef","gitDecoration.deletedResourceForeground":"#d20f39","gitDecoration.ignoredResourceForeground":"#9ca0b0","gitDecoration.modifiedResourceForeground":"#df8e1d","gitDecoration.stageDeletedResourceForeground":"#d20f39","gitDecoration.stageModifiedResourceForeground":"#df8e1d","gitDecoration.submoduleResourceForeground":"#1e66f5","gitDecoration.untrackedResourceForeground":"#40a02b","gitlens.closedAutolinkedIssueIconColor":"#8839ef","gitlens.closedPullRequestIconColor":"#d20f39","gitlens.decorations.branchAheadForegroundColor":"#40a02b","gitlens.decorations.branchBehindForegroundColor":"#fe640b","gitlens.decorations.branchDivergedForegroundColor":"#df8e1d","gitlens.decorations.branchMissingUpstreamForegroundColor":"#fe640b","gitlens.decorations.branchUnpublishedForegroundColor":"#40a02b","gitlens.decorations.statusMergingOrRebasingConflictForegroundColor":"#e64553","gitlens.decorations.statusMergingOrRebasingForegroundColor":"#df8e1d","gitlens.decorations.workspaceCurrentForegroundColor":"#8839ef","gitlens.decorations.workspaceRepoMissingForegroundColor":"#6c6f85","gitlens.decorations.workspaceRepoOpenForegroundColor":"#8839ef","gitlens.decorations.worktreeHasUncommittedChangesForegroundColor":"#fe640b","gitlens.decorations.worktreeMissingForegroundColor":"#e64553","gitlens.graphChangesColumnAddedColor":"#40a02b","gitlens.graphChangesColumnDeletedColor":"#d20f39","gitlens.graphLane10Color":"#ea76cb","gitlens.graphLane1Color":"#8839ef","gitlens.graphLane2Color":"#df8e1d","gitlens.graphLane3Color":"#1e66f5","gitlens.graphLane4Color":"#dd7878","gitlens.graphLane5Color":"#40a02b","gitlens.graphLane6Color":"#7287fd","gitlens.graphLane7Color":"#dc8a78","gitlens.graphLane8Color":"#d20f39","gitlens.graphLane9Color":"#179299","gitlens.graphMinimapMarkerHeadColor":"#40a02b","gitlens.graphMinimapMarkerHighlightsColor":"#df8e1d","gitlens.graphMinimapMarkerLocalBranchesColor":"#1e66f5","gitlens.graphMinimapMarkerRemoteBranchesColor":"#0b57ef","gitlens.graphMinimapMarkerStashesColor":"#8839ef","gitlens.graphMinimapMarkerTagsColor":"#dd7878","gitlens.graphMinimapMarkerUpstreamColor":"#388c26","gitlens.graphScrollMarkerHeadColor":"#40a02b","gitlens.graphScrollMarkerHighlightsColor":"#df8e1d","gitlens.graphScrollMarkerLocalBranchesColor":"#1e66f5","gitlens.graphScrollMarkerRemoteBranchesColor":"#0b57ef","gitlens.graphScrollMarkerStashesColor":"#8839ef","gitlens.graphScrollMarkerTagsColor":"#dd7878","gitlens.graphScrollMarkerUpstreamColor":"#388c26","gitlens.gutterBackgroundColor":"#ccd0da4d","gitlens.gutterForegroundColor":"#4c4f69","gitlens.gutterUncommittedForegroundColor":"#8839ef","gitlens.lineHighlightBackgroundColor":"#8839ef26","gitlens.lineHighlightOverviewRulerColor":"#8839efcc","gitlens.mergedPullRequestIconColor":"#8839ef","gitlens.openAutolinkedIssueIconColor":"#40a02b","gitlens.openPullRequestIconColor":"#40a02b","gitlens.trailingLineBackgroundColor":"#00000000","gitlens.trailingLineForegroundColor":"#4c4f694d","gitlens.unpublishedChangesIconColor":"#40a02b","gitlens.unpublishedCommitIconColor":"#40a02b","gitlens.unpulledChangesIconColor":"#fe640b","icon.foreground":"#8839ef","input.background":"#ccd0da","input.border":"#00000000","input.foreground":"#4c4f69","input.placeholderForeground":"#4c4f6973","inputOption.activeBackground":"#acb0be","inputOption.activeBorder":"#8839ef","inputOption.activeForeground":"#4c4f69","inputValidation.errorBackground":"#d20f39","inputValidation.errorBorder":"#dce0e833","inputValidation.errorForeground":"#dce0e8","inputValidation.infoBackground":"#1e66f5","inputValidation.infoBorder":"#dce0e833","inputValidation.infoForeground":"#dce0e8","inputValidation.warningBackground":"#fe640b","inputValidation.warningBorder":"#dce0e833","inputValidation.warningForeground":"#dce0e8","issues.closed":"#8839ef","issues.newIssueDecoration":"#dc8a78","issues.open":"#40a02b","list.activeSelectionBackground":"#ccd0da","list.activeSelectionForeground":"#4c4f69","list.dropBackground":"#8839ef33","list.focusAndSelectionBackground":"#bcc0cc","list.focusBackground":"#ccd0da","list.focusForeground":"#4c4f69","list.focusOutline":"#00000000","list.highlightForeground":"#8839ef","list.hoverBackground":"#ccd0da80","list.hoverForeground":"#4c4f69","list.inactiveSelectionBackground":"#ccd0da","list.inactiveSelectionForeground":"#4c4f69","list.warningForeground":"#fe640b","listFilterWidget.background":"#bcc0cc","listFilterWidget.noMatchesOutline":"#d20f39","listFilterWidget.outline":"#00000000","menu.background":"#eff1f5","menu.border":"#eff1f580","menu.foreground":"#4c4f69","menu.selectionBackground":"#acb0be","menu.selectionBorder":"#00000000","menu.selectionForeground":"#4c4f69","menu.separatorBackground":"#acb0be","menubar.selectionBackground":"#bcc0cc","menubar.selectionForeground":"#4c4f69","merge.commonContentBackground":"#bcc0cc","merge.commonHeaderBackground":"#acb0be","merge.currentContentBackground":"#40a02b33","merge.currentHeaderBackground":"#40a02b66","merge.incomingContentBackground":"#1e66f533","merge.incomingHeaderBackground":"#1e66f566","minimap.background":"#e6e9ef80","minimap.errorHighlight":"#d20f39bf","minimap.findMatchHighlight":"#04a5e54d","minimap.selectionHighlight":"#acb0bebf","minimap.selectionOccurrenceHighlight":"#acb0bebf","minimap.warningHighlight":"#fe640bbf","minimapGutter.addedBackground":"#40a02bbf","minimapGutter.deletedBackground":"#d20f39bf","minimapGutter.modifiedBackground":"#df8e1dbf","minimapSlider.activeBackground":"#8839ef99","minimapSlider.background":"#8839ef33","minimapSlider.hoverBackground":"#8839ef66","notificationCenter.border":"#8839ef","notificationCenterHeader.background":"#e6e9ef","notificationCenterHeader.foreground":"#4c4f69","notificationLink.foreground":"#1e66f5","notificationToast.border":"#8839ef","notifications.background":"#e6e9ef","notifications.border":"#8839ef","notifications.foreground":"#4c4f69","notificationsErrorIcon.foreground":"#d20f39","notificationsInfoIcon.foreground":"#1e66f5","notificationsWarningIcon.foreground":"#fe640b","panel.background":"#eff1f5","panel.border":"#acb0be","panelSection.border":"#acb0be","panelSection.dropBackground":"#8839ef33","panelTitle.activeBorder":"#8839ef","panelTitle.activeForeground":"#4c4f69","panelTitle.inactiveForeground":"#6c6f85","peekView.border":"#8839ef","peekViewEditor.background":"#e6e9ef","peekViewEditor.matchHighlightBackground":"#04a5e54d","peekViewEditor.matchHighlightBorder":"#00000000","peekViewEditorGutter.background":"#e6e9ef","peekViewResult.background":"#e6e9ef","peekViewResult.fileForeground":"#4c4f69","peekViewResult.lineForeground":"#4c4f69","peekViewResult.matchHighlightBackground":"#04a5e54d","peekViewResult.selectionBackground":"#ccd0da","peekViewResult.selectionForeground":"#4c4f69","peekViewTitle.background":"#eff1f5","peekViewTitleDescription.foreground":"#5c5f77b3","peekViewTitleLabel.foreground":"#4c4f69","pickerGroup.border":"#8839ef","pickerGroup.foreground":"#8839ef","problemsErrorIcon.foreground":"#d20f39","problemsInfoIcon.foreground":"#1e66f5","problemsWarningIcon.foreground":"#fe640b","progressBar.background":"#8839ef","pullRequests.closed":"#d20f39","pullRequests.draft":"#7c7f93","pullRequests.merged":"#8839ef","pullRequests.notification":"#4c4f69","pullRequests.open":"#40a02b","sash.hoverBorder":"#8839ef","scmGraph.foreground1":"#df8e1d","scmGraph.foreground2":"#d20f39","scmGraph.foreground3":"#40a02b","scmGraph.foreground4":"#8839ef","scmGraph.foreground5":"#179299","scmGraph.historyItemBaseRefColor":"#fe640b","scmGraph.historyItemRefColor":"#1e66f5","scmGraph.historyItemRemoteRefColor":"#8839ef","scrollbar.shadow":"#dce0e8","scrollbarSlider.activeBackground":"#ccd0da66","scrollbarSlider.background":"#acb0be80","scrollbarSlider.hoverBackground":"#9ca0b0","selection.background":"#8839ef66","settings.dropdownBackground":"#bcc0cc","settings.dropdownListBorder":"#00000000","settings.focusedRowBackground":"#acb0be33","settings.headerForeground":"#4c4f69","settings.modifiedItemIndicator":"#8839ef","settings.numberInputBackground":"#bcc0cc","settings.numberInputBorder":"#00000000","settings.textInputBackground":"#bcc0cc","settings.textInputBorder":"#00000000","sideBar.background":"#e6e9ef","sideBar.border":"#00000000","sideBar.dropBackground":"#8839ef33","sideBar.foreground":"#4c4f69","sideBarSectionHeader.background":"#e6e9ef","sideBarSectionHeader.foreground":"#4c4f69","sideBarTitle.foreground":"#8839ef","statusBar.background":"#dce0e8","statusBar.border":"#00000000","statusBar.debuggingBackground":"#fe640b","statusBar.debuggingBorder":"#00000000","statusBar.debuggingForeground":"#dce0e8","statusBar.foreground":"#4c4f69","statusBar.noFolderBackground":"#dce0e8","statusBar.noFolderBorder":"#00000000","statusBar.noFolderForeground":"#4c4f69","statusBarItem.activeBackground":"#acb0be66","statusBarItem.errorBackground":"#00000000","statusBarItem.errorForeground":"#d20f39","statusBarItem.hoverBackground":"#acb0be33","statusBarItem.prominentBackground":"#00000000","statusBarItem.prominentForeground":"#8839ef","statusBarItem.prominentHoverBackground":"#acb0be33","statusBarItem.remoteBackground":"#1e66f5","statusBarItem.remoteForeground":"#dce0e8","statusBarItem.warningBackground":"#00000000","statusBarItem.warningForeground":"#fe640b","symbolIcon.arrayForeground":"#fe640b","symbolIcon.booleanForeground":"#8839ef","symbolIcon.classForeground":"#df8e1d","symbolIcon.colorForeground":"#ea76cb","symbolIcon.constantForeground":"#fe640b","symbolIcon.constructorForeground":"#7287fd","symbolIcon.enumeratorForeground":"#df8e1d","symbolIcon.enumeratorMemberForeground":"#df8e1d","symbolIcon.eventForeground":"#ea76cb","symbolIcon.fieldForeground":"#4c4f69","symbolIcon.fileForeground":"#8839ef","symbolIcon.folderForeground":"#8839ef","symbolIcon.functionForeground":"#1e66f5","symbolIcon.interfaceForeground":"#df8e1d","symbolIcon.keyForeground":"#179299","symbolIcon.keywordForeground":"#8839ef","symbolIcon.methodForeground":"#1e66f5","symbolIcon.moduleForeground":"#4c4f69","symbolIcon.namespaceForeground":"#df8e1d","symbolIcon.nullForeground":"#e64553","symbolIcon.numberForeground":"#fe640b","symbolIcon.objectForeground":"#df8e1d","symbolIcon.operatorForeground":"#179299","symbolIcon.packageForeground":"#dd7878","symbolIcon.propertyForeground":"#e64553","symbolIcon.referenceForeground":"#df8e1d","symbolIcon.snippetForeground":"#dd7878","symbolIcon.stringForeground":"#40a02b","symbolIcon.structForeground":"#179299","symbolIcon.textForeground":"#4c4f69","symbolIcon.typeParameterForeground":"#e64553","symbolIcon.unitForeground":"#4c4f69","symbolIcon.variableForeground":"#4c4f69","tab.activeBackground":"#eff1f5","tab.activeBorder":"#00000000","tab.activeBorderTop":"#8839ef","tab.activeForeground":"#8839ef","tab.activeModifiedBorder":"#df8e1d","tab.border":"#e6e9ef","tab.hoverBackground":"#ffffff","tab.hoverBorder":"#00000000","tab.hoverForeground":"#8839ef","tab.inactiveBackground":"#e6e9ef","tab.inactiveForeground":"#9ca0b0","tab.inactiveModifiedBorder":"#df8e1d4d","tab.lastPinnedBorder":"#8839ef","tab.unfocusedActiveBackground":"#e6e9ef","tab.unfocusedActiveBorder":"#00000000","tab.unfocusedActiveBorderTop":"#8839ef4d","tab.unfocusedInactiveBackground":"#d6dbe5","table.headerBackground":"#ccd0da","table.headerForeground":"#4c4f69","terminal.ansiBlack":"#5c5f77","terminal.ansiBlue":"#1e66f5","terminal.ansiBrightBlack":"#6c6f85","terminal.ansiBrightBlue":"#456eff","terminal.ansiBrightCyan":"#2d9fa8","terminal.ansiBrightGreen":"#49af3d","terminal.ansiBrightMagenta":"#fe85d8","terminal.ansiBrightRed":"#de293e","terminal.ansiBrightWhite":"#bcc0cc","terminal.ansiBrightYellow":"#eea02d","terminal.ansiCyan":"#179299","terminal.ansiGreen":"#40a02b","terminal.ansiMagenta":"#ea76cb","terminal.ansiRed":"#d20f39","terminal.ansiWhite":"#acb0be","terminal.ansiYellow":"#df8e1d","terminal.border":"#acb0be","terminal.dropBackground":"#8839ef33","terminal.foreground":"#4c4f69","terminal.inactiveSelectionBackground":"#acb0be80","terminal.selectionBackground":"#acb0be","terminal.tab.activeBorder":"#8839ef","terminalCommandDecoration.defaultBackground":"#acb0be","terminalCommandDecoration.errorBackground":"#d20f39","terminalCommandDecoration.successBackground":"#40a02b","terminalCursor.background":"#eff1f5","terminalCursor.foreground":"#dc8a78","testing.coverCountBadgeBackground":"#00000000","testing.coverCountBadgeForeground":"#8839ef","testing.coveredBackground":"#40a02b4d","testing.coveredBorder":"#00000000","testing.coveredGutterBackground":"#40a02b4d","testing.iconErrored":"#d20f39","testing.iconErrored.retired":"#d20f39","testing.iconFailed":"#d20f39","testing.iconFailed.retired":"#d20f39","testing.iconPassed":"#40a02b","testing.iconPassed.retired":"#40a02b","testing.iconQueued":"#1e66f5","testing.iconQueued.retired":"#1e66f5","testing.iconSkipped":"#6c6f85","testing.iconSkipped.retired":"#6c6f85","testing.iconUnset":"#4c4f69","testing.iconUnset.retired":"#4c4f69","testing.message.error.lineBackground":"#d20f3926","testing.message.info.decorationForeground":"#40a02bcc","testing.message.info.lineBackground":"#40a02b26","testing.messagePeekBorder":"#8839ef","testing.messagePeekHeaderBackground":"#acb0be","testing.peekBorder":"#8839ef","testing.peekHeaderBackground":"#acb0be","testing.runAction":"#8839ef","testing.uncoveredBackground":"#d20f3933","testing.uncoveredBorder":"#00000000","testing.uncoveredBranchBackground":"#d20f3933","testing.uncoveredGutterBackground":"#d20f3940","textBlockQuote.background":"#e6e9ef","textBlockQuote.border":"#dce0e8","textCodeBlock.background":"#e6e9ef","textLink.activeForeground":"#04a5e5","textLink.foreground":"#1e66f5","textPreformat.foreground":"#4c4f69","textSeparator.foreground":"#8839ef","titleBar.activeBackground":"#dce0e8","titleBar.activeForeground":"#4c4f69","titleBar.border":"#00000000","titleBar.inactiveBackground":"#dce0e8","titleBar.inactiveForeground":"#4c4f6980","tree.inactiveIndentGuidesStroke":"#bcc0cc","tree.indentGuidesStroke":"#7c7f93","walkThrough.embeddedEditorBackground":"#eff1f54d","welcomePage.progress.background":"#dce0e8","welcomePage.progress.foreground":"#8839ef","welcomePage.tileBackground":"#e6e9ef","widget.shadow":"#e6e9ef80"},"displayName":"Catppuccin Latte","name":"catppuccin-latte","semanticHighlighting":true,"semanticTokenColors":{"boolean":{"foreground":"#fe640b"},"builtinAttribute.attribute.library:rust":{"foreground":"#1e66f5"},"class.builtin:python":{"foreground":"#8839ef"},"class:python":{"foreground":"#df8e1d"},"constant.builtin.readonly:nix":{"foreground":"#8839ef"},"enumMember":{"foreground":"#179299"},"function.decorator:python":{"foreground":"#fe640b"},"generic.attribute:rust":{"foreground":"#4c4f69"},"heading":{"foreground":"#d20f39"},"number":{"foreground":"#fe640b"},"pol":{"foreground":"#dd7878"},"property.readonly:javascript":{"foreground":"#4c4f69"},"property.readonly:javascriptreact":{"foreground":"#4c4f69"},"property.readonly:typescript":{"foreground":"#4c4f69"},"property.readonly:typescriptreact":{"foreground":"#4c4f69"},"selfKeyword":{"foreground":"#d20f39"},"text.emph":{"fontStyle":"italic","foreground":"#d20f39"},"text.math":{"foreground":"#dd7878"},"text.strong":{"fontStyle":"bold","foreground":"#d20f39"},"tomlArrayKey":{"fontStyle":"","foreground":"#1e66f5"},"tomlTableKey":{"fontStyle":"","foreground":"#1e66f5"},"type.defaultLibrary:go":{"foreground":"#8839ef"},"variable.defaultLibrary":{"foreground":"#e64553"},"variable.readonly.defaultLibrary:go":{"foreground":"#8839ef"},"variable.readonly:javascript":{"foreground":"#4c4f69"},"variable.readonly:javascriptreact":{"foreground":"#4c4f69"},"variable.readonly:scala":{"foreground":"#4c4f69"},"variable.readonly:typescript":{"foreground":"#4c4f69"},"variable.readonly:typescriptreact":{"foreground":"#4c4f69"},"variable.typeHint:python":{"foreground":"#df8e1d"}},"tokenColors":[{"scope":["text","source","variable.other.readwrite","punctuation.definition.variable"],"settings":{"foreground":"#4c4f69"}},{"scope":"punctuation","settings":{"fontStyle":"","foreground":"#7c7f93"}},{"scope":["comment","punctuation.definition.comment"],"settings":{"fontStyle":"italic","foreground":"#7c7f93"}},{"scope":["string","punctuation.definition.string"],"settings":{"foreground":"#40a02b"}},{"scope":"constant.character.escape","settings":{"foreground":"#ea76cb"}},{"scope":["constant.numeric","variable.other.constant","entity.name.constant","constant.language.boolean","constant.language.false","constant.language.true","keyword.other.unit.user-defined","keyword.other.unit.suffix.floating-point"],"settings":{"foreground":"#fe640b"}},{"scope":["keyword","keyword.operator.word","keyword.operator.new","variable.language.super","support.type.primitive","storage.type","storage.modifier","punctuation.definition.keyword"],"settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":"entity.name.tag.documentation","settings":{"foreground":"#8839ef"}},{"scope":["keyword.operator","punctuation.accessor","punctuation.definition.generic","meta.function.closure punctuation.section.parameters","punctuation.definition.tag","punctuation.separator.key-value"],"settings":{"foreground":"#179299"}},{"scope":["entity.name.function","meta.function-call.method","support.function","support.function.misc","variable.function"],"settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":["entity.name.class","entity.other.inherited-class","support.class","meta.function-call.constructor","entity.name.struct"],"settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":"entity.name.enum","settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":["meta.enum variable.other.readwrite","variable.other.enummember"],"settings":{"foreground":"#179299"}},{"scope":"meta.property.object","settings":{"foreground":"#179299"}},{"scope":["meta.type","meta.type-alias","support.type","entity.name.type"],"settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":["meta.annotation variable.function","meta.annotation variable.annotation.function","meta.annotation punctuation.definition.annotation","meta.decorator","punctuation.decorator"],"settings":{"foreground":"#fe640b"}},{"scope":["variable.parameter","meta.function.parameters"],"settings":{"fontStyle":"italic","foreground":"#e64553"}},{"scope":["constant.language","support.function.builtin"],"settings":{"foreground":"#d20f39"}},{"scope":"entity.other.attribute-name.documentation","settings":{"foreground":"#d20f39"}},{"scope":["keyword.control.directive","punctuation.definition.directive"],"settings":{"foreground":"#df8e1d"}},{"scope":"punctuation.definition.typeparameters","settings":{"foreground":"#04a5e5"}},{"scope":"entity.name.namespace","settings":{"foreground":"#df8e1d"}},{"scope":["support.type.property-name.css","support.type.property-name.less"],"settings":{"fontStyle":"","foreground":"#1e66f5"}},{"scope":["variable.language.this","variable.language.this punctuation.definition.variable"],"settings":{"foreground":"#d20f39"}},{"scope":"variable.object.property","settings":{"foreground":"#4c4f69"}},{"scope":["string.template variable","string variable"],"settings":{"foreground":"#4c4f69"}},{"scope":"keyword.operator.new","settings":{"fontStyle":"bold"}},{"scope":"storage.modifier.specifier.extern.cpp","settings":{"foreground":"#8839ef"}},{"scope":["entity.name.scope-resolution.template.call.cpp","entity.name.scope-resolution.parameter.cpp","entity.name.scope-resolution.cpp","entity.name.scope-resolution.function.definition.cpp"],"settings":{"foreground":"#df8e1d"}},{"scope":"storage.type.class.doxygen","settings":{"fontStyle":""}},{"scope":["storage.modifier.reference.cpp"],"settings":{"foreground":"#179299"}},{"scope":"meta.interpolation.cs","settings":{"foreground":"#4c4f69"}},{"scope":"comment.block.documentation.cs","settings":{"foreground":"#4c4f69"}},{"scope":["source.css entity.other.attribute-name.class.css","entity.other.attribute-name.parent-selector.css punctuation.definition.entity.css"],"settings":{"foreground":"#df8e1d"}},{"scope":"punctuation.separator.operator.css","settings":{"foreground":"#179299"}},{"scope":"source.css entity.other.attribute-name.pseudo-class","settings":{"foreground":"#179299"}},{"scope":"source.css constant.other.unicode-range","settings":{"foreground":"#fe640b"}},{"scope":"source.css variable.parameter.url","settings":{"fontStyle":"","foreground":"#40a02b"}},{"scope":["support.type.vendored.property-name"],"settings":{"foreground":"#04a5e5"}},{"scope":["source.css meta.property-value variable","source.css meta.property-value variable.other.less","source.css meta.property-value variable.other.less punctuation.definition.variable.less","meta.definition.variable.scss"],"settings":{"foreground":"#e64553"}},{"scope":["source.css meta.property-list variable","meta.property-list variable.other.less","meta.property-list variable.other.less punctuation.definition.variable.less"],"settings":{"foreground":"#1e66f5"}},{"scope":"keyword.other.unit.percentage.css","settings":{"foreground":"#fe640b"}},{"scope":"source.css meta.attribute-selector","settings":{"foreground":"#40a02b"}},{"scope":["keyword.other.definition.ini","punctuation.support.type.property-name.json","support.type.property-name.json","punctuation.support.type.property-name.toml","support.type.property-name.toml","entity.name.tag.yaml","punctuation.support.type.property-name.yaml","support.type.property-name.yaml"],"settings":{"fontStyle":"","foreground":"#1e66f5"}},{"scope":["constant.language.json","constant.language.yaml"],"settings":{"foreground":"#fe640b"}},{"scope":["entity.name.type.anchor.yaml","variable.other.alias.yaml"],"settings":{"fontStyle":"","foreground":"#df8e1d"}},{"scope":["support.type.property-name.table","entity.name.section.group-title.ini"],"settings":{"foreground":"#df8e1d"}},{"scope":"constant.other.time.datetime.offset.toml","settings":{"foreground":"#ea76cb"}},{"scope":["punctuation.definition.anchor.yaml","punctuation.definition.alias.yaml"],"settings":{"foreground":"#ea76cb"}},{"scope":"entity.other.document.begin.yaml","settings":{"foreground":"#ea76cb"}},{"scope":"markup.changed.diff","settings":{"foreground":"#fe640b"}},{"scope":["meta.diff.header.from-file","meta.diff.header.to-file","punctuation.definition.from-file.diff","punctuation.definition.to-file.diff"],"settings":{"foreground":"#1e66f5"}},{"scope":"markup.inserted.diff","settings":{"foreground":"#40a02b"}},{"scope":"markup.deleted.diff","settings":{"foreground":"#d20f39"}},{"scope":["variable.other.env"],"settings":{"foreground":"#1e66f5"}},{"scope":["string.quoted variable.other.env"],"settings":{"foreground":"#4c4f69"}},{"scope":"support.function.builtin.gdscript","settings":{"foreground":"#1e66f5"}},{"scope":"constant.language.gdscript","settings":{"foreground":"#fe640b"}},{"scope":"comment meta.annotation.go","settings":{"foreground":"#e64553"}},{"scope":"comment meta.annotation.parameters.go","settings":{"foreground":"#fe640b"}},{"scope":"constant.language.go","settings":{"foreground":"#fe640b"}},{"scope":"variable.graphql","settings":{"foreground":"#4c4f69"}},{"scope":"string.unquoted.alias.graphql","settings":{"foreground":"#dd7878"}},{"scope":"constant.character.enum.graphql","settings":{"foreground":"#179299"}},{"scope":"meta.objectvalues.graphql constant.object.key.graphql string.unquoted.graphql","settings":{"foreground":"#dd7878"}},{"scope":["keyword.other.doctype","meta.tag.sgml.doctype punctuation.definition.tag","meta.tag.metadata.doctype entity.name.tag","meta.tag.metadata.doctype punctuation.definition.tag"],"settings":{"foreground":"#8839ef"}},{"scope":["entity.name.tag"],"settings":{"fontStyle":"","foreground":"#1e66f5"}},{"scope":["text.html constant.character.entity","text.html constant.character.entity punctuation","constant.character.entity.xml","constant.character.entity.xml punctuation","constant.character.entity.js.jsx","constant.charactger.entity.js.jsx punctuation","constant.character.entity.tsx","constant.character.entity.tsx punctuation"],"settings":{"foreground":"#d20f39"}},{"scope":["entity.other.attribute-name"],"settings":{"foreground":"#df8e1d"}},{"scope":["support.class.component","support.class.component.jsx","support.class.component.tsx","support.class.component.vue"],"settings":{"fontStyle":"","foreground":"#ea76cb"}},{"scope":["punctuation.definition.annotation","storage.type.annotation"],"settings":{"foreground":"#fe640b"}},{"scope":"constant.other.enum.java","settings":{"foreground":"#179299"}},{"scope":"storage.modifier.import.java","settings":{"foreground":"#4c4f69"}},{"scope":"comment.block.javadoc.java keyword.other.documentation.javadoc.java","settings":{"fontStyle":""}},{"scope":"meta.export variable.other.readwrite.js","settings":{"foreground":"#e64553"}},{"scope":["variable.other.constant.js","variable.other.constant.ts","variable.other.property.js","variable.other.property.ts"],"settings":{"foreground":"#4c4f69"}},{"scope":["variable.other.jsdoc","comment.block.documentation variable.other"],"settings":{"fontStyle":"","foreground":"#e64553"}},{"scope":"storage.type.class.jsdoc","settings":{"fontStyle":""}},{"scope":"support.type.object.console.js","settings":{"foreground":"#4c4f69"}},{"scope":["support.constant.node","support.type.object.module.js"],"settings":{"foreground":"#8839ef"}},{"scope":"storage.modifier.implements","settings":{"foreground":"#8839ef"}},{"scope":["constant.language.null.js","constant.language.null.ts","constant.language.undefined.js","constant.language.undefined.ts","support.type.builtin.ts"],"settings":{"foreground":"#8839ef"}},{"scope":"variable.parameter.generic","settings":{"foreground":"#df8e1d"}},{"scope":["keyword.declaration.function.arrow.js","storage.type.function.arrow.ts"],"settings":{"foreground":"#179299"}},{"scope":"punctuation.decorator.ts","settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":["keyword.operator.expression.in.js","keyword.operator.expression.in.ts","keyword.operator.expression.infer.ts","keyword.operator.expression.instanceof.js","keyword.operator.expression.instanceof.ts","keyword.operator.expression.is","keyword.operator.expression.keyof.ts","keyword.operator.expression.of.js","keyword.operator.expression.of.ts","keyword.operator.expression.typeof.ts"],"settings":{"foreground":"#8839ef"}},{"scope":"support.function.macro.julia","settings":{"fontStyle":"italic","foreground":"#179299"}},{"scope":"constant.language.julia","settings":{"foreground":"#fe640b"}},{"scope":"constant.other.symbol.julia","settings":{"foreground":"#e64553"}},{"scope":"text.tex keyword.control.preamble","settings":{"foreground":"#179299"}},{"scope":"text.tex support.function.be","settings":{"foreground":"#04a5e5"}},{"scope":"constant.other.general.math.tex","settings":{"foreground":"#dd7878"}},{"scope":"variable.language.liquid","settings":{"foreground":"#ea76cb"}},{"scope":"comment.line.double-dash.documentation.lua storage.type.annotation.lua","settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":["comment.line.double-dash.documentation.lua entity.name.variable.lua","comment.line.double-dash.documentation.lua variable.lua"],"settings":{"foreground":"#4c4f69"}},{"scope":["heading.1.markdown punctuation.definition.heading.markdown","heading.1.markdown","heading.1.quarto punctuation.definition.heading.quarto","heading.1.quarto","markup.heading.atx.1.mdx","markup.heading.atx.1.mdx punctuation.definition.heading.mdx","markup.heading.setext.1.markdown","markup.heading.heading-0.asciidoc"],"settings":{"foreground":"#d20f39"}},{"scope":["heading.2.markdown punctuation.definition.heading.markdown","heading.2.markdown","heading.2.quarto punctuation.definition.heading.quarto","heading.2.quarto","markup.heading.atx.2.mdx","markup.heading.atx.2.mdx punctuation.definition.heading.mdx","markup.heading.setext.2.markdown","markup.heading.heading-1.asciidoc"],"settings":{"foreground":"#fe640b"}},{"scope":["heading.3.markdown punctuation.definition.heading.markdown","heading.3.markdown","heading.3.quarto punctuation.definition.heading.quarto","heading.3.quarto","markup.heading.atx.3.mdx","markup.heading.atx.3.mdx punctuation.definition.heading.mdx","markup.heading.heading-2.asciidoc"],"settings":{"foreground":"#df8e1d"}},{"scope":["heading.4.markdown punctuation.definition.heading.markdown","heading.4.markdown","heading.4.quarto punctuation.definition.heading.quarto","heading.4.quarto","markup.heading.atx.4.mdx","markup.heading.atx.4.mdx punctuation.definition.heading.mdx","markup.heading.heading-3.asciidoc"],"settings":{"foreground":"#40a02b"}},{"scope":["heading.5.markdown punctuation.definition.heading.markdown","heading.5.markdown","heading.5.quarto punctuation.definition.heading.quarto","heading.5.quarto","markup.heading.atx.5.mdx","markup.heading.atx.5.mdx punctuation.definition.heading.mdx","markup.heading.heading-4.asciidoc"],"settings":{"foreground":"#209fb5"}},{"scope":["heading.6.markdown punctuation.definition.heading.markdown","heading.6.markdown","heading.6.quarto punctuation.definition.heading.quarto","heading.6.quarto","markup.heading.atx.6.mdx","markup.heading.atx.6.mdx punctuation.definition.heading.mdx","markup.heading.heading-5.asciidoc"],"settings":{"foreground":"#7287fd"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#d20f39"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#d20f39"}},{"scope":"markup.strikethrough","settings":{"fontStyle":"strikethrough","foreground":"#6c6f85"}},{"scope":["punctuation.definition.link","markup.underline.link"],"settings":{"foreground":"#1e66f5"}},{"scope":["text.html.markdown punctuation.definition.link.title","text.html.quarto punctuation.definition.link.title","string.other.link.title.markdown","string.other.link.title.quarto","markup.link","punctuation.definition.constant.markdown","punctuation.definition.constant.quarto","constant.other.reference.link.markdown","constant.other.reference.link.quarto","markup.substitution.attribute-reference"],"settings":{"foreground":"#7287fd"}},{"scope":["punctuation.definition.raw.markdown","punctuation.definition.raw.quarto","markup.inline.raw.string.markdown","markup.inline.raw.string.quarto","markup.raw.block.markdown","markup.raw.block.quarto"],"settings":{"foreground":"#40a02b"}},{"scope":"fenced_code.block.language","settings":{"foreground":"#04a5e5"}},{"scope":["markup.fenced_code.block punctuation.definition","markup.raw support.asciidoc"],"settings":{"foreground":"#7c7f93"}},{"scope":["markup.quote","punctuation.definition.quote.begin"],"settings":{"foreground":"#ea76cb"}},{"scope":"meta.separator.markdown","settings":{"foreground":"#179299"}},{"scope":["punctuation.definition.list.begin.markdown","punctuation.definition.list.begin.quarto","markup.list.bullet"],"settings":{"foreground":"#179299"}},{"scope":"markup.heading.quarto","settings":{"fontStyle":"bold"}},{"scope":["entity.other.attribute-name.multipart.nix","entity.other.attribute-name.single.nix"],"settings":{"foreground":"#1e66f5"}},{"scope":"variable.parameter.name.nix","settings":{"fontStyle":"","foreground":"#4c4f69"}},{"scope":"meta.embedded variable.parameter.name.nix","settings":{"fontStyle":"","foreground":"#7287fd"}},{"scope":"string.unquoted.path.nix","settings":{"fontStyle":"","foreground":"#ea76cb"}},{"scope":["support.attribute.builtin","meta.attribute.php"],"settings":{"foreground":"#df8e1d"}},{"scope":"meta.function.parameters.php punctuation.definition.variable.php","settings":{"foreground":"#e64553"}},{"scope":"constant.language.php","settings":{"foreground":"#8839ef"}},{"scope":"text.html.php support.function","settings":{"foreground":"#04a5e5"}},{"scope":"keyword.other.phpdoc.php","settings":{"fontStyle":""}},{"scope":["support.variable.magic.python","meta.function-call.arguments.python"],"settings":{"foreground":"#4c4f69"}},{"scope":["support.function.magic.python"],"settings":{"fontStyle":"italic","foreground":"#04a5e5"}},{"scope":["variable.parameter.function.language.special.self.python","variable.language.special.self.python"],"settings":{"fontStyle":"italic","foreground":"#d20f39"}},{"scope":["keyword.control.flow.python","keyword.operator.logical.python"],"settings":{"foreground":"#8839ef"}},{"scope":"storage.type.function.python","settings":{"foreground":"#8839ef"}},{"scope":["support.token.decorator.python","meta.function.decorator.identifier.python"],"settings":{"foreground":"#04a5e5"}},{"scope":["meta.function-call.python"],"settings":{"foreground":"#1e66f5"}},{"scope":["entity.name.function.decorator.python","punctuation.definition.decorator.python"],"settings":{"fontStyle":"italic","foreground":"#fe640b"}},{"scope":"constant.character.format.placeholder.other.python","settings":{"foreground":"#ea76cb"}},{"scope":["support.type.exception.python","support.function.builtin.python"],"settings":{"foreground":"#fe640b"}},{"scope":["support.type.python"],"settings":{"foreground":"#8839ef"}},{"scope":"constant.language.python","settings":{"foreground":"#fe640b"}},{"scope":["meta.indexed-name.python","meta.item-access.python"],"settings":{"fontStyle":"italic","foreground":"#e64553"}},{"scope":"storage.type.string.python","settings":{"fontStyle":"italic","foreground":"#40a02b"}},{"scope":"meta.function.parameters.python","settings":{"fontStyle":""}},{"scope":"meta.function-call.r","settings":{"foreground":"#1e66f5"}},{"scope":"meta.function-call.arguments.r","settings":{"foreground":"#4c4f69"}},{"scope":["string.regexp punctuation.definition.string.begin","string.regexp punctuation.definition.string.end"],"settings":{"foreground":"#ea76cb"}},{"scope":"keyword.control.anchor.regexp","settings":{"foreground":"#8839ef"}},{"scope":"string.regexp.ts","settings":{"foreground":"#4c4f69"}},{"scope":["punctuation.definition.group.regexp","keyword.other.back-reference.regexp"],"settings":{"foreground":"#40a02b"}},{"scope":"punctuation.definition.character-class.regexp","settings":{"foreground":"#df8e1d"}},{"scope":"constant.other.character-class.regexp","settings":{"foreground":"#ea76cb"}},{"scope":"constant.other.character-class.range.regexp","settings":{"foreground":"#dc8a78"}},{"scope":"keyword.operator.quantifier.regexp","settings":{"foreground":"#179299"}},{"scope":"constant.character.numeric.regexp","settings":{"foreground":"#fe640b"}},{"scope":["punctuation.definition.group.no-capture.regexp","meta.assertion.look-ahead.regexp","meta.assertion.negative-look-ahead.regexp"],"settings":{"foreground":"#1e66f5"}},{"scope":["meta.annotation.rust","meta.annotation.rust punctuation","meta.attribute.rust","punctuation.definition.attribute.rust"],"settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":["meta.attribute.rust string.quoted.double.rust","meta.attribute.rust string.quoted.single.char.rust"],"settings":{"fontStyle":""}},{"scope":["entity.name.function.macro.rules.rust","storage.type.module.rust","storage.modifier.rust","storage.type.struct.rust","storage.type.enum.rust","storage.type.trait.rust","storage.type.union.rust","storage.type.impl.rust","storage.type.rust","storage.type.function.rust","storage.type.type.rust"],"settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":"entity.name.type.numeric.rust","settings":{"fontStyle":"","foreground":"#8839ef"}},{"scope":"meta.generic.rust","settings":{"foreground":"#fe640b"}},{"scope":"entity.name.impl.rust","settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":"entity.name.module.rust","settings":{"foreground":"#fe640b"}},{"scope":"entity.name.trait.rust","settings":{"fontStyle":"italic","foreground":"#df8e1d"}},{"scope":"storage.type.source.rust","settings":{"foreground":"#df8e1d"}},{"scope":"entity.name.union.rust","settings":{"foreground":"#df8e1d"}},{"scope":"meta.enum.rust storage.type.source.rust","settings":{"foreground":"#179299"}},{"scope":["support.macro.rust","meta.macro.rust support.function.rust","entity.name.function.macro.rust"],"settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":["storage.modifier.lifetime.rust","entity.name.type.lifetime"],"settings":{"fontStyle":"italic","foreground":"#1e66f5"}},{"scope":"string.quoted.double.rust constant.other.placeholder.rust","settings":{"foreground":"#ea76cb"}},{"scope":"meta.function.return-type.rust meta.generic.rust storage.type.rust","settings":{"foreground":"#4c4f69"}},{"scope":"meta.function.call.rust","settings":{"foreground":"#1e66f5"}},{"scope":"punctuation.brackets.angle.rust","settings":{"foreground":"#04a5e5"}},{"scope":"constant.other.caps.rust","settings":{"foreground":"#fe640b"}},{"scope":["meta.function.definition.rust variable.other.rust"],"settings":{"foreground":"#e64553"}},{"scope":"meta.function.call.rust variable.other.rust","settings":{"foreground":"#4c4f69"}},{"scope":"variable.language.self.rust","settings":{"foreground":"#d20f39"}},{"scope":["variable.other.metavariable.name.rust","meta.macro.metavariable.rust keyword.operator.macro.dollar.rust"],"settings":{"foreground":"#ea76cb"}},{"scope":["comment.line.shebang","comment.line.shebang punctuation.definition.comment","comment.line.shebang","punctuation.definition.comment.shebang.shell","meta.shebang.shell"],"settings":{"fontStyle":"italic","foreground":"#ea76cb"}},{"scope":"comment.line.shebang constant.language","settings":{"fontStyle":"italic","foreground":"#179299"}},{"scope":["meta.function-call.arguments.shell punctuation.definition.variable.shell","meta.function-call.arguments.shell punctuation.section.interpolation","meta.function-call.arguments.shell punctuation.definition.variable.shell","meta.function-call.arguments.shell punctuation.section.interpolation"],"settings":{"foreground":"#d20f39"}},{"scope":"meta.string meta.interpolation.parameter.shell variable.other.readwrite","settings":{"fontStyle":"italic","foreground":"#fe640b"}},{"scope":["source.shell punctuation.section.interpolation","punctuation.definition.evaluation.backticks.shell"],"settings":{"foreground":"#179299"}},{"scope":"entity.name.tag.heredoc.shell","settings":{"foreground":"#8839ef"}},{"scope":"string.quoted.double.shell variable.other.normal.shell","settings":{"foreground":"#4c4f69"}},{"scope":["markup.heading.typst"],"settings":{"foreground":"#d20f39"}}],"type":"light"}'));export{e as default};
@@ -0,0 +1,2 @@
1
+ import{Na as i}from"./chunk-r038t2rw.js";import{Oa as s,Pa as j,Qa as o,Ra as d,Sa as r,Ta as t,Ua as a}from"./chunk-axn0n4dh.js";import{lc as R}from"./chunk-kn8f91na.js";import{AIMessageChunk as O0}from"@langchain/core/messages";import{Command as D0,Send as K0}from"@langchain/langgraph";import{concat as V0}from"@langchain/core/utils/stream";import{load as F0}from"@langchain/core/load";var V=[];for(let $=0;$<256;++$)V.push(($+256).toString(16).slice(1));function p($,x=0){return(V[$[x+0]]+V[$[x+1]]+V[$[x+2]]+V[$[x+3]]+"-"+V[$[x+4]]+V[$[x+5]]+"-"+V[$[x+6]]+V[$[x+7]]+"-"+V[$[x+8]]+V[$[x+9]]+"-"+V[$[x+10]]+V[$[x+11]]+V[$[x+12]]+V[$[x+13]]+V[$[x+14]]+V[$[x+15]]).toLowerCase()}import{randomFillSync as P0}from"node:crypto";var G=new Uint8Array(256),S=G.length;function w(){if(S>G.length-16)P0(G),S=0;return G.slice(S,S+=16)}var m={};function Q0($,x,X){let Y;if($)Y=l($.random??$.rng?.()??w(),$.msecs,$.seq,x,X);else{let Z=Date.now(),J=w();z0(m,Z,J),Y=l(J,m.msecs,m.seq,x,X)}return x??p(Y)}function z0($,x,X){if($.msecs??=-1/0,$.seq??=0,x>$.msecs)$.seq=X[6]<<23|X[7]<<16|X[8]<<8|X[9],$.msecs=x;else if($.seq=$.seq+1|0,$.seq===0)$.msecs++;return $}function l($,x,X,Y,Z=0){if($.length<16)throw Error("Random bytes length must be >= 16");if(!Y)Y=new Uint8Array(16),Z=0;else if(Z<0||Z+16>Y.length)throw RangeError(`UUID byte range ${Z}:${Z+15} is out of buffer bounds`);return x??=Date.now(),X??=$[6]*127<<24|$[7]<<16|$[8]<<8|$[9],Y[Z++]=x/1099511627776&255,Y[Z++]=x/4294967296&255,Y[Z++]=x/16777216&255,Y[Z++]=x/65536&255,Y[Z++]=x/256&255,Y[Z++]=x&255,Y[Z++]=112|X>>>28&15,Y[Z++]=X>>>20&255,Y[Z++]=128|X>>>14&63,Y[Z++]=X>>>6&255,Y[Z++]=X<<2&255|$[10]&3,Y[Z++]=$[11],Y[Z++]=$[12],Y[Z++]=$[13],Y[Z++]=$[14],Y[Z++]=$[15],Y}var B=Q0;import"kysely";var A0=($)=>{let x=$.goto!=null&&!Array.isArray($.goto)?[$.goto]:$.goto;return new D0({goto:x?.map((X)=>{if(typeof X!=="string")return new K0(X.node,X.input);return X}),update:$.update??void 0,resume:$.resume})},n="[...]",B0="[Circular]",M=[],E=[];function L0(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function N0($,x,X,Y){if(typeof Y>"u")Y=L0();k($,"",0,[],void 0,0,Y);var Z;try{if(E.length===0)Z=JSON.stringify($,x,X);else Z=JSON.stringify($,R0(x),X)}catch(U){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{while(M.length!==0){var J=M.pop();if(J.length===4)Object.defineProperty(J[0],J[1],J[3]);else J[0][J[1]]=J[2]}}return Z}function b($,x,X,Y){var Z=Object.getOwnPropertyDescriptor(Y,X);if(Z.get!==void 0)if(Z.configurable)Object.defineProperty(Y,X,{value:$}),M.push([Y,X,x,Z]);else E.push([x,X,$]);else Y[X]=$,M.push([Y,X,x])}function k($,x,X,Y,Z,J,U){J+=1;var H;if(typeof $==="object"&&$!==null){for(H=0;H<Y.length;H++)if(Y[H]===$){b(B0,$,x,Z);return}if(typeof U.depthLimit<"u"&&J>U.depthLimit){b(n,$,x,Z);return}if(typeof U.edgesLimit<"u"&&X+1>U.edgesLimit){b(n,$,x,Z);return}if(Y.push($),Array.isArray($))for(H=0;H<$.length;H++)k($[H],H,H,Y,$,J,U);else{var W=Object.keys($);for(H=0;H<W.length;H++){var Q=W[H];k($[Q],Q,H,Y,$,J,U)}}Y.pop()}}function R0($){return $=typeof $<"u"?$:function(x,X){return X},function(x,X){if(E.length>0)for(var Y=0;Y<E.length;Y++){var Z=E[Y];if(Z[1]===x&&Z[0]===X){X=Z[2],E.splice(Y,1);break}}return $.call(this,x,X)}}function _0($){return $!==null&&$.lc===1&&$.type==="constructor"&&Array.isArray($.id)}async function y($){if($&&typeof $==="object")if(Array.isArray($))return await Promise.all($.map((X)=>y(X)));else{let x={};for(let[X,Y]of Object.entries($))x[X]=await y(Y);if(x.lc===2&&x.type==="undefined")return;else if(x.lc===2&&x.type==="constructor"&&Array.isArray(x.id))try{let X=x.id[x.id.length-1],Y;switch(X){case"Set":Y=Set;break;case"Map":Y=Map;break;case"RegExp":Y=RegExp;break;case"Error":Y=Error;break;default:return x}if(x.method)return Y[x.method](...x.args||[]);else return new Y(...x.args||[])}catch(X){return x}else if(_0(x))return F0(JSON.stringify(x));return x}return $}function v($,x,X,Y){return{lc:2,type:"constructor",id:[$.name],method:x??null,args:X??[],kwargs:Y??{}}}function E0($){if($===void 0)return{lc:2,type:"undefined"};else if($ instanceof Set||$ instanceof Map)return v($.constructor,void 0,[Array.from($)]);else if($ instanceof RegExp)return v(RegExp,void 0,[$.source,$.flags]);else if($ instanceof Error)return v($.constructor,void 0,[$.message]);else if($?.lg_name==="Send")return{node:$.node,args:$.args};else return $}class e{_dumps($){return new TextEncoder().encode(N0($,(X,Y)=>{return E0(Y)}))}async dumpsTyped($){if($ instanceof Uint8Array)return["bytes",$];else return["json",this._dumps($)]}async _loads($){let x=JSON.parse($);return y(x)}async loadsTyped($,x){if($==="bytes")return typeof x==="string"?new TextEncoder().encode(x):x;else if($==="json")return this._loads(typeof x==="string"?x:new TextDecoder().decode(x));else throw Error(`Unknown serialization type: ${$}`)}}class $0 extends i.default{constructor($,x=!0,X=300){super();this.id=$,this.compressMessages=x,this.ttl=X}serializer=new e;async encodeData($){let[x,X]=await this.serializer.dumpsTyped($);return X}async decodeData($){return await this.serializer.loadsTyped("json",$)}}class x0{queues=new Map;defaultCompressMessages;queueConstructor;constructor($,x={}){this.defaultCompressMessages=x.defaultCompressMessages??!0,this.queueConstructor=$}createQueue($,x=300){return this.queues.set($,new this.queueConstructor($,this.defaultCompressMessages,x)),this.queues.get($)}async getQueue($){let x=this.queues.get($);if(!x)if(await this.queueConstructor?.isQueueExist?.($))return this.createQueue($);else throw Error(`Queue with id '${$}' does not exist`);return x}async cancelQueue($){await this.removeQueue($)}async pushToQueue($,x){await(await this.getQueue($)).push(x)}async getQueueData($){let x=this.queues.get($);if(!x)throw Error(`Queue with id '${$}' does not exist`);return await x.getAll()}async clearQueue($){let x=this.queues.get($);if(x){let X=x.clear();if(X instanceof Promise)await X}}async removeQueue($){let x=this.queues.get($);if(!x)return!1;try{await x.cancel()}catch(X){console.error("Error cancelling queue:",X)}try{let X=x.clear();if(X instanceof Promise)await X}catch(X){console.error("Error clearing queue:",X)}if(typeof x.destroy==="function")try{await x.destroy()}catch(X){console.error("Error destroying queue:",X)}return this.queues.delete($)}getAllQueueIds(){return Array.from(this.queues.keys())}async getAllQueuesData(){let $={};for(let[x,X]of this.queues)$[x]=await X.getAll();return $}clearAllQueues(){for(let $ of this.queues.values())$.clear()}async copyQueue($,x,X){let Z=await(await this.getQueue($)).copyToQueue(x,X);return this.queues.set(x,Z),Z}}var T={};async function n0($,x){T[$]=x}async function X0($,x,X){if(!T[$])throw Error(`Graph "${$}" not found`);let Y=typeof T[$]==="function"?await T[$](x??{configurable:{}}):T[$];if(typeof X?.checkpointer<"u")Y.checkpointer=X?.checkpointer??F.globalCheckPointer;else Y.checkpointer=F.globalCheckPointer;return Y.store=X?.store??void 0,Y}class I{db;adapter;constructor($){this.db=$.db,this.adapter=$}async setup(){await this.adapter.createTables(this.db),await this.adapter.createIndexes(this.db)}async create($){let x=$?.threadId||B(),X=new Date,Y=$?.metadata||{},Z={};if($?.ifExists==="raise"){if(await this.db.selectFrom("threads").select("thread_id").where("thread_id","=",x).executeTakeFirst())throw Error(`Thread with ID ${x} already exists.`)}if($?.ifExists==="do_nothing"&&$?.threadId){let J=await this.db.selectFrom("threads").selectAll().where("thread_id","=",x).executeTakeFirst();if(J)return{thread_id:J.thread_id,created_at:this.adapter.dbToDate(J.created_at).toISOString(),updated_at:this.adapter.dbToDate(J.updated_at).toISOString(),state_updated_at:this.adapter.dbToDate(J.updated_at).toISOString(),metadata:this.adapter.dbToJson(J.metadata),status:J.status,values:J.values?this.adapter.dbToJson(J.values):null,interrupts:this.adapter.dbToJson(J.interrupts)}}return await this.db.insertInto("threads").values({thread_id:x,created_at:this.adapter.dateToDb(X),updated_at:this.adapter.dateToDb(X),metadata:this.adapter.jsonToDb(Y),status:"idle",values:null,interrupts:this.adapter.jsonToDb(Z)}).execute(),{thread_id:x,created_at:X.toISOString(),updated_at:X.toISOString(),state_updated_at:X.toISOString(),metadata:Y,status:"idle",values:null,interrupts:Z}}async search($){let x=this.db.selectFrom("threads"),X;if($?.select)X=new Set($.select);else if($?.withoutDetails)X=new Set(["thread_id","created_at","updated_at","metadata","status"]);else X=new Set(["thread_id","created_at","updated_at","metadata","status","values","interrupts"]);let Y=[];if(X.has("thread_id"))Y.push("thread_id");if(X.has("created_at"))Y.push("created_at");if(X.has("updated_at"))Y.push("updated_at");if(X.has("metadata"))Y.push("metadata");if(X.has("status"))Y.push("status");if(X.has("values"))Y.push("values");if(X.has("interrupts"))Y.push("interrupts");if(Y.length>0)x=x.select(Y);else x=x.selectAll();if($?.ids&&$.ids.length>0)x=x.where("thread_id","in",$.ids);if($?.status)x=x.where("status","=",$.status);if($?.metadata)for(let[J,U]of Object.entries($.metadata))x=x.where(this.adapter.buildJsonQuery(this.db,"metadata",J,U));if($?.values)x=x.where((J)=>{return J("values","=",this.adapter.jsonToDb($.values))});if($?.sortBy){let J=$.sortOrder==="desc"?"desc":"asc";x=x.orderBy($.sortBy,J)}if($?.limit!==void 0){if(x=x.limit($.limit),$?.offset!==void 0)x=x.offset($.offset)}return(await x.execute()).map((J)=>{let U={thread_id:J.thread_id};if(X.has("created_at"))U.created_at=this.adapter.dbToDate(J.created_at).toISOString();if(X.has("updated_at"))U.updated_at=this.adapter.dbToDate(J.updated_at).toISOString();if(X.has("metadata"))U.metadata=this.adapter.dbToJson(J.metadata);if(X.has("status"))U.status=J.status;if(X.has("values"))U.values=J.values?this.adapter.dbToJson(J.values):null;if(X.has("interrupts"))U.interrupts=this.adapter.dbToJson(J.interrupts);return U})}async get($){let x=await this.db.selectFrom("threads").selectAll().where("thread_id","=",$).executeTakeFirst();if(!x)throw Error(`Thread with ID ${$} not found.`);return{thread_id:x.thread_id,created_at:this.adapter.dbToDate(x.created_at).toISOString(),updated_at:this.adapter.dbToDate(x.updated_at).toISOString(),state_updated_at:this.adapter.dbToDate(x.updated_at).toISOString(),metadata:this.adapter.dbToJson(x.metadata),status:x.status,values:x.values?this.adapter.dbToJson(x.values):null,interrupts:this.adapter.dbToJson(x.interrupts)}}async set($,x){if(!await this.db.selectFrom("threads").select("thread_id").where("thread_id","=",$).executeTakeFirst())throw Error(`Thread with ID ${$} not found.`);let Y={updated_at:this.adapter.dateToDb(new Date)};if(x.metadata!==void 0)Y.metadata=this.adapter.jsonToDb(x.metadata);if(x.status!==void 0)Y.status=x.status;if(x.values!==void 0)Y.values=x.values?this.adapter.jsonToDb(x.values):null;if(x.interrupts!==void 0)Y.interrupts=this.adapter.jsonToDb(x.interrupts);await this.db.updateTable("threads").set(Y).where("thread_id","=",$).execute()}async delete($){if((await this.db.deleteFrom("threads").where("thread_id","=",$).executeTakeFirst()).numDeletedRows===0n)throw Error(`Thread with ID ${$} not found.`)}async updateState($,x){let X=await this.get($);if(X.status==="busy")throw Error(`Thread with ID ${$} is busy, can't update state.`);let Y=X.metadata?.graph_id;if(!Y)return await this.set($,{values:x.values??null}),{configurable:{thread_id:$}};let Z={configurable:{thread_id:$,graph_id:Y}},J=await X0(Y,Z),U=await J.updateState(Z,x.values),H=await J.getState(Z);return await this.set($,{values:JSON.parse(f(H.values))}),U}async createRun($,x,X){let Y=B(),Z=new Date,J=X?.metadata??{};return await this.db.insertInto("runs").values({run_id:Y,thread_id:$,assistant_id:x,created_at:this.adapter.dateToDb(Z),updated_at:this.adapter.dateToDb(Z),status:"pending",metadata:this.adapter.jsonToDb(J),multitask_strategy:"reject"}).execute(),{run_id:Y,thread_id:$,assistant_id:x,created_at:Z.toISOString(),updated_at:Z.toISOString(),status:"pending",metadata:J,multitask_strategy:"reject"}}async listRuns($,x){let X=this.db.selectFrom("runs").selectAll().where("thread_id","=",$).orderBy("created_at","desc");if(x?.status)X=X.where("status","=",x.status);if(x?.limit!==void 0){if(X=X.limit(x.limit),x?.offset!==void 0)X=X.offset(x.offset)}return(await X.execute()).map((Z)=>({run_id:Z.run_id,thread_id:Z.thread_id,assistant_id:Z.assistant_id,created_at:this.adapter.dbToDate(Z.created_at).toISOString(),updated_at:this.adapter.dbToDate(Z.updated_at).toISOString(),status:Z.status,metadata:this.adapter.dbToJson(Z.metadata),multitask_strategy:Z.multitask_strategy}))}async updateRun($,x){if(!await this.db.selectFrom("runs").select("run_id").where("run_id","=",$).executeTakeFirst())throw Error(`Run with ID ${$} not found.`);let Y={updated_at:this.adapter.dateToDb(new Date)};if(x.status!==void 0)Y.status=x.status;if(x.metadata!==void 0)Y.metadata=this.adapter.jsonToDb(x.metadata);if(x.multitask_strategy!==void 0)Y.multitask_strategy=x.multitask_strategy;await this.db.updateTable("runs").set(Y).where("run_id","=",$).execute()}async count($){return(await this.search($)).length}async patch($,x){let X=await this.db.selectFrom("threads").selectAll().where("thread_id","=",$).executeTakeFirst();if(!X)throw Error(`Thread with ID ${$} not found.`);let Y={updated_at:this.adapter.dateToDb(new Date)};if(x.metadata!==void 0){let Z=this.adapter.dbToJson(X.metadata)||{};Y.metadata=this.adapter.jsonToDb({...Z,...x.metadata})}if(x.status!==void 0)Y.status=x.status;if(x.values!==void 0)Y.values=x.values?this.adapter.jsonToDb(x.values):null;if(x.interrupts!==void 0)Y.interrupts=this.adapter.jsonToDb(x.interrupts);return await this.db.updateTable("threads").set(Y).where("thread_id","=",$).execute(),await this.get($)}async getState($,x){let X=await this.get($);if(x?.checkpointId){let Z=await this.db.selectFrom("checkpoints").selectAll().where("checkpoint_id","=",x.checkpointId).where("thread_id","=",$).executeTakeFirst();if(!Z)throw Error(`Checkpoint with ID ${x.checkpointId} not found for thread ${$}`);return{values:this.adapter.dbToJson(Z.values),next:this.adapter.dbToJson(Z.next),metadata:this.adapter.dbToJson(Z.metadata),checkpoint:{id:Z.checkpoint_id,thread_id:$,parent_checkpoint_id:null,checkpoint_ns:"",metadata:this.adapter.dbToJson(Z.metadata),created_at:this.adapter.dbToDate(Z.created_at).toISOString()},created_at:this.adapter.dbToDate(Z.created_at).toISOString(),parent_checkpoint:null,tasks:[]}}return{values:X.values||{},next:[],metadata:X.metadata,checkpoint:null,created_at:X.created_at,parent_checkpoint:null,tasks:[]}}async getStateHistory($,x){let Y=await this.db.selectFrom("checkpoints").selectAll().where("thread_id","=",$).orderBy("created_at","asc").execute(),Z=Y.map((J)=>({values:this.adapter.dbToJson(J.values),next:this.adapter.dbToJson(J.next),metadata:this.adapter.dbToJson(J.metadata),checkpoint:{thread_id:$,checkpoint_ns:"",checkpoint_id:J.checkpoint_id,checkpoint_map:null},created_at:this.adapter.dbToDate(J.created_at).toISOString(),parent_checkpoint:null,tasks:[]}));if(x?.before){let J=Y.findIndex((U)=>U.checkpoint_id===x.before);if(J!==-1)Z=Z.slice(J+1)}if(x?.limit)Z=Z.slice(0,x.limit);return Z}async copy($){let x=await this.get($),X=B(),Y=new Date;await this.db.insertInto("threads").values({thread_id:X,created_at:this.adapter.dateToDb(Y),updated_at:this.adapter.dateToDb(Y),metadata:this.adapter.jsonToDb(x.metadata),status:x.status,values:x.values?this.adapter.jsonToDb(x.values):null,interrupts:this.adapter.jsonToDb(x.interrupts)}).execute();let Z=await this.db.selectFrom("checkpoints").selectAll().where("thread_id","=",$).orderBy("created_at","asc").execute();for(let J of Z)await this.db.insertInto("checkpoints").values({checkpoint_id:B(),thread_id:X,values:J.values,next:J.next,config:J.config,created_at:J.created_at,metadata:J.metadata}).execute();return{...x,thread_id:X,created_at:Y.toISOString(),updated_at:Y.toISOString()}}async saveCheckpoint($,x,X,Y,Z){await this.db.insertInto("checkpoints").values({checkpoint_id:B(),thread_id:$,values:this.adapter.jsonToDb(x),next:this.adapter.jsonToDb(X),config:this.adapter.jsonToDb(Y),created_at:this.adapter.dateToDb(new Date),metadata:this.adapter.jsonToDb(Z||{})}).execute()}}function T0($){let[x,X]=$.split("::");return{threadId:x,checkpointNs:X??""}}function C($,x,X){return`${$}::${x}::${X}`}function g($){if($===null||typeof $!=="object")return JSON.stringify($);if(Array.isArray($))return JSON.stringify($.map((Y)=>g(Y)));let x={},X=Object.keys($).sort();for(let Y of X)x[Y]=$[Y];return JSON.stringify(x,(Y,Z)=>{if(Z!==null&&typeof Z==="object"&&!Array.isArray(Z)){let J={},U=Object.keys(Z).sort();for(let H of U)J[H]=Z[H];return J}return Z})}class Y0 extends d{storage={};writes={};constructor($){super($)}async get($){return(await this.getTuple($))?.checkpoint}async _migratePendingSends($,x,X,Y){let Z=$,J=C(x,X,Y),U=await Promise.all(Object.values(this.writes[J]??{}).filter(([H,W])=>W===j).map(async([H,W,Q])=>await this.serde.loadsTyped("json",Q)));Z.channel_values??={},Z.channel_values[j]=U,Z.channel_versions??={},Z.channel_versions[j]=Object.keys(Z.channel_versions).length>0?r(...Object.values(Z.channel_versions)):this.getNextVersion(void 0)}async _loadPendingWrites($,x,X){let Y=C($,x,X),Z=this.writes[Y]??{};if(Object.keys(Z).length===0)return[];return await Promise.all(Object.values(Z).map(async([J,U,H])=>{return[J,U,await this.serde.loadsTyped("json",H)]}))}_cleanupOldWrites($,x,X){let Y=C($,x,X);delete this.writes[Y]}_checkMetadataFilterMatch($,x){for(let[X,Y]of Object.entries(x)){let Z=$?.[X];if(Y===null){if(!(X in($||{}))||Z!==null)return!1}else if(typeof Y==="object"&&!Array.isArray(Y)){if(typeof Z!=="object"||Z===null)return!1;if(g(Y)!==g(Z))return!1}else if(Z!==Y)return!1}return!0}async getTuple($){let x=$.configurable?.thread_id,X=$.configurable?.checkpoint_ns??"",Y=a($);if(x===void 0)return;let Z=this.storage[x]?.[X];if(Z===void 0)return;let{checkpoint:J,metadata:U,checkpoint_id:H,parent_checkpoint_id:W}=Z;if(Y&&H!==Y)return;let Q=await this.serde.loadsTyped("json",J);if(Q.v<4&&W!==void 0)await this._migratePendingSends(Q,x,X,W);let P=await this._loadPendingWrites(x,X,H),O=await this.serde.loadsTyped("json",U),K={config:{configurable:{thread_id:x,checkpoint_ns:X,checkpoint_id:H}},checkpoint:Q,metadata:O,pendingWrites:P};if(W!==void 0)K.parentConfig={configurable:{thread_id:x,checkpoint_ns:X,checkpoint_id:W}};return K}async*list($,x){let{before:X,limit:Y,filter:Z}=x??{},J=$.configurable?.thread_id?[$.configurable.thread_id]:Object.keys(this.storage),U=$.configurable?.checkpoint_ns,H=$.configurable?.checkpoint_id,W=[];for(let P of J){let O=this.storage[P];if(O===void 0)continue;for(let K of Object.keys(O)){if(U!==void 0&&K!==U)continue;let A=O[K];if(A===void 0)continue;let{checkpoint_id:D}=A;if(H&&D!==H)continue;if(X?.configurable?.checkpoint_id&&D>=X.configurable.checkpoint_id)continue;let L=await this.serde.loadsTyped("json",A.metadata);if(Z&&!this._checkMetadataFilterMatch(L,Z))continue;W.push({threadId:P,checkpointNs:K,namespaceData:A})}}W.sort((P,O)=>O.namespaceData.checkpoint_ts-P.namespaceData.checkpoint_ts);let Q=0;for(let{threadId:P,checkpointNs:O,namespaceData:K}of W){if(Y!==void 0&&Q>=Y)return;let{checkpoint:A,metadata:D,checkpoint_id:L,parent_checkpoint_id:_}=K,z=await this.serde.loadsTyped("json",A);if(z.v<4&&_!==void 0)await this._migratePendingSends(z,P,O,_);let q=await this._loadPendingWrites(P,O,L),W0=await this.serde.loadsTyped("json",D),u={config:{configurable:{thread_id:P,checkpoint_ns:O,checkpoint_id:L}},checkpoint:z,metadata:W0,pendingWrites:q};if(_!==void 0)u.parentConfig={configurable:{thread_id:P,checkpoint_ns:O,checkpoint_id:_}};Q++,yield u}}async put($,x,X,Y){let Z=o(x),J=$.configurable?.thread_id,U=$.configurable?.checkpoint_ns??"",H=$.configurable?.checkpoint_id;if(J===void 0)throw Error("thread_id is required");let W=x.id||s(0);if(!this.storage[J])this.storage[J]={};let Q=this.storage[J][U];if(Q!==void 0&&Q.checkpoint_id!==W)this._cleanupOldWrites(J,U,Q.checkpoint_id);let[[,P],[,O]]=await Promise.all([this.serde.dumpsTyped(Z),this.serde.dumpsTyped(X)]);return this.storage[J][U]={checkpoint:P,metadata:O,checkpoint_id:W,parent_checkpoint_id:H,checkpoint_ts:Date.now()},{configurable:{thread_id:J,checkpoint_ns:U,checkpoint_id:W}}}async putWrites($,x,X){let Y=$.configurable?.thread_id,Z=$.configurable?.checkpoint_ns??"",J=$.configurable?.checkpoint_id;if(!Y||!J)throw Error("thread_id and checkpoint_id are required");let U=C(Y,Z,J),H=this.writes[U];if(this.writes[U]===void 0)this.writes[U]={};await Promise.all(x.map(async([W,Q],P)=>{let[,O]=await this.serde.dumpsTyped(Q),K=[X,t[W]||P],A=`${K[0]},${K[1]}`;if(K[1]>=0&&H&&A in H)return;this.writes[U][A]=[X,W,O]}))}async deleteThread($){delete this.storage[$];for(let x of Object.keys(this.writes)){let{threadId:X}=T0(x.split("::").slice(0,2).join("::"));if(X===$)delete this.writes[x]}}}class N{event;data;id;constructor($,x){this.event=$,this.data=x}}class Z0 extends N{constructor(){super("__system_cancel__","user cancel this run")}}class J0 extends N{constructor(){super("__stream_end__","stream end")}}class c extends N{constructor($){super("__stream_error__",{error:$.name,message:$.message})}}class h extends $0{data=[];activeGenerators=new Set;isDestroyed=!1;async push($){if(this.isDestroyed)return;let x=this.compressMessages?await this.encodeData($):$;process.env.LG_TEMP_MESSAGE!=="true"&&this.data.push(x),this.emit("dataChange",x)}onDataChange($){if(this.isDestroyed)return()=>{};return this.on("dataChange",async(x)=>{if(this.isDestroyed)return;$(this.compressMessages?await this.decodeData(x):x)}),()=>this.off("dataChange",$)}async*onDataReceive(){if(this.isDestroyed)return;let $=new AbortController;this.activeGenerators.add($);let x=[],X=null,Y=!1,Z=!1,J=null,U=async(Q)=>{if(Z||$.signal.aborted)return;try{let P=this.compressMessages?await this.decodeData(Q):Q;if(x.push(P),P.event==="__stream_end__"||P.event==="__stream_error__"||P.event==="__stream_cancel__"){if(J)clearTimeout(J),J=null;if(J=setTimeout(()=>{if(Y=!0,X)X(),X=null},300),P.event==="__stream_cancel__")$.abort("stream cancelled")}if(X)X(),X=null}catch(P){if(console.error("Error in handleData:",P),X)X(),X=null}};this.on("dataChange",U);let H=()=>{if(Y=!0,X)X(),X=null};$.signal.addEventListener("abort",H);let W=()=>{if(Z)return;if(Z=!0,J)clearTimeout(J),J=null;try{this.off("dataChange",U)}catch(Q){}try{$.signal.removeEventListener("abort",H)}catch(Q){}if(X)X(),X=null;x.length=0,this.activeGenerators.delete($)};try{if($.signal.aborted||this.isDestroyed)return;while(!Y&&!$.signal.aborted&&!this.isDestroyed)if(x.length>0){for(let Q of x)yield Q;x.length=0}else await new Promise((Q)=>{X=Q})}finally{W()}}async getAll(){if(this.isDestroyed)return[];return this.compressMessages?await Promise.all(this.data.map(($)=>this.decodeData($))):[...this.data]}clear(){this.data.length=0}cancelSignal=new AbortController;async cancel(){for(let $ of this.activeGenerators)try{$.abort("user cancel this run")}catch(x){}if(this.activeGenerators.clear(),!this.cancelSignal.signal.aborted)this.cancelSignal.abort("user cancel this run");if(!this.isDestroyed)await this.push(new Z0)}async copyToQueue($,x){let X=this.data.slice(),Y=new h($,this.compressMessages,x??this.ttl);return Y.data=X,Y}async destroy(){if(this.isDestroyed)return;this.isDestroyed=!0,await this.cancel(),this.clear(),this.removeAllListeners(),this.activeGenerators.clear()}}class U0{threads=[];checkpoints=new Map;async setup(){return}async create($){let x=$?.threadId||B();if($?.ifExists==="raise"&&this.threads.some((Y)=>Y.thread_id===x))throw Error(`Thread with ID ${x} already exists.`);let X={thread_id:x,created_at:new Date().toISOString(),updated_at:new Date().toISOString(),state_updated_at:new Date().toISOString(),metadata:$?.metadata||{},status:"idle",values:null,interrupts:{}};return this.checkpoints.set(x,[]),this.threads.push(X),X}async search($){let x=[...this.threads];if($?.ids&&$.ids.length>0)x=x.filter((J)=>$.ids.includes(J.thread_id));if($?.status)x=x.filter((J)=>J.status===$.status);if($?.metadata){for(let J in $.metadata)if(Object.prototype.hasOwnProperty.call($.metadata,J))x=x.filter((U)=>U.metadata&&U.metadata[J]===$.metadata?.[J])}if($?.values)x=x.filter((J)=>{if(!J.values)return!1;return this.deepEqual(J.values,$.values)});if($?.sortBy)x.sort((J,U)=>{let H,W;switch($.sortBy){case"thread_id":H=J.thread_id,W=U.thread_id;break;case"created_at":H=new Date(J.created_at).getTime(),W=new Date(U.created_at).getTime();break;case"updated_at":H=new Date(J.updated_at).getTime(),W=new Date(U.updated_at).getTime();break;case"status":H=J.status,W=U.status;break;default:return 0}if($.sortOrder==="desc")return W>H?1:W<H?-1:0;else return H>W?1:H<W?-1:0});let X=$?.offset||0,Y=$?.limit||x.length;return x.slice(X,X+Y).map((J)=>{let U={thread_id:J.thread_id},H;if($?.select)H=new Set($.select);else if($?.withoutDetails)H=new Set(["thread_id","created_at","updated_at","metadata","status"]);else H=new Set(["thread_id","created_at","updated_at","metadata","status","values","interrupts"]);if(H.has("thread_id"))U.thread_id=J.thread_id;if(H.has("created_at"))U.created_at=J.created_at;if(H.has("updated_at"))U.updated_at=J.updated_at;if(H.has("metadata"))U.metadata=J.metadata;if(H.has("status"))U.status=J.status;if(H.has("values"))U.values=J.values;if(H.has("interrupts"))U.interrupts=J.interrupts;return U})}deepEqual($,x){if($===x)return!0;if(typeof $!==typeof x)return!1;if(typeof $!=="object"||$===null||x===null)return!1;let X=Object.keys($),Y=Object.keys(x);if(X.length!==Y.length)return!1;for(let Z of X){if(!Y.includes(Z))return!1;if(!this.deepEqual($[Z],x[Z]))return!1}return!0}async get($){let x=this.threads.find((X)=>X.thread_id===$);if(!x)throw Error(`Thread with ID ${$} not found.`);return x}async set($,x){let X=this.threads.findIndex((Y)=>Y.thread_id===$);if(X===-1)throw Error(`Thread with ID ${$} not found.`);this.threads[X]={...this.threads[X],...x}}async delete($){let x=this.threads.length;if(this.threads=this.threads.filter((X)=>X.thread_id!==$),this.checkpoints.delete($),this.threads.length===x)throw Error(`Thread with ID ${$} not found.`)}async updateState($,x){let X=this.threads.findIndex((Z)=>Z.thread_id===$);if(X===-1)throw Error(`Thread with ID ${$} not found.`);let Y=this.threads[X];if(Y.status==="busy")throw Error(`Thread with ID ${$} is busy, can't update state.`);if(this.threads[X]={...Y,values:x.values,updated_at:new Date().toISOString()},Y.metadata?.graph_id){let Z=Y.metadata?.graph_id,J={configurable:{thread_id:$,graph_id:Z}};try{let U=await X0(Z,J),H=await U.updateState(J,x.values),W=await U.getState(J);return await this.set($,{values:JSON.parse(f(W.values))}),H}catch(U){console.warn("Failed to update graph state:",U)}}return{configurable:{thread_id:$}}}runs=[];async createRun($,x,X){let Z={run_id:B(),thread_id:$,assistant_id:x,created_at:new Date().toISOString(),updated_at:new Date().toISOString(),status:"pending",metadata:X?.metadata??{},multitask_strategy:"reject"};return this.runs.push(Z),Z}async listRuns($,x){let X=[...this.runs];if(x?.status)X=X.filter((Y)=>Y.status===x.status);if(x?.limit)X=X.slice(x.offset||0,(x.offset||0)+x.limit);return X}async updateRun($,x){let X=this.runs.findIndex((Y)=>Y.run_id===$);if(X===-1)throw Error(`Run with ID ${$} not found.`);this.runs[X]={...this.runs[X],...x}}async count($){return(await this.search($)).length}async patch($,x){let X=this.threads.findIndex((Z)=>Z.thread_id===$);if(X===-1)throw Error(`Thread with ID ${$} not found.`);let Y={...this.threads[X],...x,updated_at:new Date().toISOString(),metadata:x.metadata?{...this.threads[X].metadata,...x.metadata}:this.threads[X].metadata};return this.threads[X]=Y,Y}async getState($,x){let X=await this.get($);if(x?.checkpointId){let J=(this.checkpoints.get($)||[]).find((U)=>U.checkpoint_id===x.checkpointId);if(!J)throw Error(`Checkpoint with ID ${x.checkpointId} not found for thread ${$}`);return{values:J.values,next:J.next,metadata:J.metadata,checkpoint:{id:J.checkpoint_id,thread_id:$,parent_checkpoint_id:null,checkpoint_ns:"",metadata:J.metadata,created_at:J.created_at},created_at:J.created_at,parent_checkpoint:null,tasks:[]}}return{values:X.values||{},next:[],metadata:X.metadata,checkpoint:null,created_at:X.created_at,parent_checkpoint:null,tasks:[]}}async getStateHistory($,x){let X=this.checkpoints.get($)||[],Y=X.map((Z)=>({values:Z.values,next:Z.next,metadata:Z.metadata,checkpoint:{checkpoint_id:Z.checkpoint_id,thread_id:$,checkpoint_ns:"",checkpoint_map:void 0},created_at:Z.created_at,parent_checkpoint:null,tasks:[]}));if(x?.before){let Z=X.findIndex((J)=>J.checkpoint_id===x.before);if(Z!==-1)Y=Y.slice(Z+1)}if(x?.limit)Y=Y.slice(0,x.limit);return Y}async copy($){let x=await this.get($),X=B(),Y={...x,thread_id:X,created_at:new Date().toISOString(),updated_at:new Date().toISOString()};this.threads.push(Y);let J=(this.checkpoints.get($)||[]).map((U)=>({...U,checkpoint_id:B(),thread_id:X}));return this.checkpoints.set(X,J),Y}async saveCheckpoint($,x,X,Y,Z){let J=this.checkpoints.get($)||[],U={checkpoint_id:B(),thread_id:$,values:x,next:X,config:Y,created_at:new Date().toISOString(),metadata:Z};J.push(U),this.checkpoints.set($,J)}}var S0=async()=>{if(process.env.REDIS_URL&&(process.env.CHECKPOINT_TYPE==="redis"||process.env.CHECKPOINT_TYPE==="shallow/redis")){if(process.env.CHECKPOINT_TYPE==="redis"){console.debug("LG | Using redis as checkpoint");let{RedisSaver:$}=await import("./chunk-czkt4sv0.js");return await $.fromUrl(process.env.REDIS_URL,{defaultTTL:60,refreshOnRead:!0})}if(process.env.CHECKPOINT_TYPE==="shallow/redis"){console.debug("LG | Using shallow redis as checkpoint");let{ShallowRedisSaver:$}=await import("./chunk-zxqs1xns.js");return await $.fromUrl(process.env.REDIS_URL)}}if(process.env.DATABASE_URL&&H0(process.env.DATABASE_URL)==="postgres"){console.debug("LG | Using postgres as checkpoint");let{createPGCheckpoint:$}=await import("./chunk-1mrzmr8f.js");return $()}if(process.env.SQLITE_DATABASE_URI){if(process.env.CHECKPOINT_TYPE==="sqlite"){console.debug("LG | Using sqlite (full) as checkpoint");let{SqliteSaver:X}=await import("./chunk-2mesyv20.js");return await X.fromConnStringAsync(process.env.SQLITE_DATABASE_URI)}console.debug("LG | Using shallow sqlite as checkpoint (default)");let{SqliteShallowSaver:$}=await import("./chunk-33j3j89j.js");return await $.fromConnStringAsync(process.env.SQLITE_DATABASE_URI)}return console.log("LG | You are using memory as checkpoint!"),console.log("\x1B[33m%s\x1B[0m","LG | set SQLITE_DATABASE_URI=./.langgraph_api/langgraph.db to your .env file to use \x1B[1mSQLite\x1B[0m for dev!"),console.log("\x1B[33m%s\x1B[0m","LG | set DATABASE_URL=postgresql://user:pass@localhost:5432/db to your .env file to use \x1B[1mPostgreSQL\x1B[0m for prod!"),new Y0},G0=async()=>{let $;if(process.env.REDIS_URL){console.debug("LG | Using redis as stream queue");let{RedisStreamQueue:x}=await import("./chunk-wbcfbyft.js");$=x}else $=h;return new x0($)};function H0($){let x=$.toLowerCase();if(x.startsWith("http://")||x.startsWith("https://"))return"remote";return"postgres"}var w0=async($)=>{if(process.env.DATABASE_URL){if(H0(process.env.DATABASE_URL)==="remote"){console.debug("LG | Using Remote PostgreSQL ThreadsManager");let{RemoteKyselyThreadsManager:X}=await import("./chunk-ksx0ymk7.js"),Y=new X(process.env.DATABASE_URL);if(process.env.DATABASE_INIT==="true")await Y.setup();return Y}else if($.checkpointer){console.debug("LG | Using PostgreSQL ThreadsManager");let{PostgresAdapter:X}=await import("./chunk-pz1y3zyg.js"),Y=$.checkpointer.pool,Z=new I(new X(Y));if(process.env.DATABASE_INIT==="true")await Z.setup();return Z}}if(process.env.SQLITE_DATABASE_URI&&$.checkpointer){console.debug("LG | Using SQLite ThreadsManager");let{SQLiteAdapter:x}=await import("./chunk-2kw6zxt8.js"),X=$.checkpointer.db,Y=new I(new x(X));return await Y.setup(),Y}return new U0};class F{static globalMessageQueue=null;static globalCheckPointer=null;static globalThreadsManager=null;static isInitialized=null;static async initGlobal(){if(F.isInitialized)return F.isInitialized;return F.isInitialized=(async()=>{let[$,x]=await Promise.all([G0(),S0()]);console.debug("LG | checkpointer created");let X=await w0({checkpointer:x});console.debug("LG | threads manager created"),console.debug("LG | global init done"),F.globalMessageQueue=$,F.globalCheckPointer=x,F.globalThreadsManager=X})(),F.isInitialized}}async function C0($,x,X,Y,Z){let U=Y.config?.configurable?.graph_id;if(!U||typeof U!=="string")throw Error("Invalid or missing graph_id");let H=await Z.getGraph(U,Y.config,{checkpointer:Y.temporary?null:void 0}),W=Array.isArray(Y.streamMode)?Y.streamMode:Y.streamMode?[Y.streamMode]:[],Q=new Set(["values",...W.filter((D)=>D!=="events"&&D!=="messages-tuple")]);if(W.includes("messages-tuple"))Q.add("messages");if(W.includes("messages"))Q.add("values");await X.push(new N("metadata",{run_id:x.run_id,attempt:Z.attempt,graph_id:U}));let P={...Y.config?.metadata,run_attempt:Z.attempt},O=null,K=null,A=null;try{O=new Set,K=new Map,A=await H.stream(Y.command!=null?A0(Y.command):Y.input??null,{interruptAfter:Y.interruptAfter,interruptBefore:Y.interruptBefore,tags:Y.config?.tags,configurable:Y.config?.configurable,recursionLimit:Y.config?.recursionLimit,subgraphs:Y.streamSubgraphs,metadata:P,runId:x.run_id,streamMode:[...Q],signal:X.cancelSignal.signal});for await(let D of A){let L=[];if(D.length===3)L=D.splice(0,1);let _=(z)=>{if(L.length===0)return z;if(L.length===1&&L[0]?.length===0)return z;return`${z}|${L.join("|")}`};if(D[0]==="values"){let z=D[1];if(_("values")==="values")if(await X.push(new N(_("values"),z)),z?.__interrupt__)await $.set(x.thread_id,{status:"interrupted",interrupts:z?JSON.parse(f(z)):""});else await $.set(x.thread_id,{values:z?JSON.parse(f(z)):""})}else if(D[0]==="messages"){let z=D[1][0],q=D[1][1];if(z.id&&!O.has(z.id))await X.push(new N("messages/metadata",{[z.id]:q})),O.add(z.id);if(O0.isInstance(z)&&z.id){if(K.set(z.id,[...K.get(z.id)??[],z]),await X.push(new N("messages/partial",[K.get(z.id).reduce(V0)])),z.content===""&&!z.tool_calls?.length)K.delete(z.id)}else await X.push(new N("messages/partial",[z]))}else if(D[0]==="updates"){let z=D[1];await X.push(new N(_("updates"),z))}}}catch(D){if(!(D instanceof Error&&D.message?.includes("cancel"))){console.error("streamStateWithQueue error:",D);try{await X.push(new c(D))}catch(L){}}throw D}finally{try{await X.push(new J0)}catch(D){}if(O)O.clear(),O=null;if(K)K.clear(),K=null;A=null}}var f=($,x=0)=>{return JSON.stringify($,function(X,Y){let Z=this[X];if(Z!=null&&typeof Z==="object"&&"toDict"in Z&&typeof Z.toDict==="function"){let{type:J,data:U}=Z.toDict();return{...U,type:J}}return Y},x)};async function*i0($,x,X,Y){x=await x;let{run_id:Z,thread_id:J}=x,U=null,H=null,W=null,Q=!1;try{await $.set(J,{status:"busy"}),await $.updateRun(x.run_id,{status:"running"}),H=F.globalMessageQueue.createQueue(Z),U=H.onDataReceive(),W=C0($,x,H,X,Y).catch((P)=>{if(Q)return;if(P.message!=="user cancel this run")console.error("Queue task error:",P);F.globalMessageQueue.pushToQueue(Z,new c(P))});for await(let P of U)yield P;await $.updateRun(x.run_id,{status:"success"})}catch(P){console.error("Stream error:",P),await $.updateRun(x.run_id,{status:"error"}),await $.set(J,{status:"error"})}finally{if(Q=!0,U){try{await U.return(void 0)}catch(O){}U=null}if(H&&!H.cancelSignal.signal.aborted)try{H.cancelSignal.abort("Stream consumer disconnected")}catch(O){}if(W){try{await Promise.race([W,new Promise((O)=>setTimeout(O,1000))])}catch(O){}W=null}if((await $.get(J)).status==="interrupted")await F.globalMessageQueue.copyQueue(Z,J,30000);else await $.set(J,{status:"idle",interrupts:{}});await F.globalMessageQueue.removeQueue(Z),H=null}}
2
+ export{$0 as Fa,T as Ga,n0 as Ha,X0 as Ia,Z0 as Ja,F as Ka,f as La,i0 as Ma};
@@ -0,0 +1 @@
1
+ import"./chunk-kn8f91na.js";var a=Object.freeze(JSON.parse('{"displayName":"Vala","fileTypes":["vala","vapi","gs"],"name":"vala","patterns":[{"include":"#code"}],"repository":{"code":{"patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#strings"},{"include":"#keywords"},{"include":"#types"},{"include":"#functions"},{"include":"#variables"}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.vala"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.vala"},{"include":"text.html.javadoc"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.vala"}},"end":"\\\\*/","name":"comment.block.vala"},{"captures":{"1":{"name":"comment.line.double-slash.vala"},"2":{"name":"punctuation.definition.comment.vala"}},"match":"\\\\s*((//).*$\\\\n?)"}]},"constants":{"patterns":[{"match":"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdflu]|UL|ul)?\\\\b","name":"constant.numeric.vala"},{"match":"\\\\b([A-Z][0-9A-Z_]+)\\\\b","name":"variable.other.constant.vala"}]},"functions":{"patterns":[{"match":"(\\\\w+)(?=\\\\s*(<[.\\\\s\\\\w]+>\\\\s*)?\\\\()","name":"entity.name.function.vala"}]},"keywords":{"patterns":[{"match":"(?<=^|[^.@\\\\w])(as|do|if|in|is|not|or|and|for|get|new|out|ref|set|try|var|base|case|else|enum|lock|null|this|true|void|weak|async|break|catch|class|const|false|owned|throw|using|while|with|yield|delete|extern|inline|params|public|return|sealed|signal|sizeof|static|struct|switch|throws|typeof|unlock|default|dynamic|ensures|finally|foreach|private|unowned|virtual|abstract|continue|delegate|internal|override|requires|volatile|construct|interface|namespace|protected|errordomain)\\\\b","name":"keyword.vala"},{"match":"(?<=^|[^.@\\\\w])(bool|double|float|unichar2??|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|string16|string32|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64|va_list|time_t)\\\\b","name":"keyword.vala"},{"match":"(#(?:if|elif|else|endif))","name":"keyword.vala"}]},"strings":{"patterns":[{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.vala"},{"begin":"@\\"","end":"\\"","name":"string.quoted.interpolated.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"},{"match":"\\\\$\\\\w+","name":"constant.character.escape.vala"},{"match":"\\\\$\\\\(([^()]|\\\\(([^()]|\\\\([^)]*\\\\))*\\\\))*\\\\)","name":"constant.character.escape.vala"}]},{"begin":"\\"","end":"\\"","name":"string.quoted.double.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"}]},{"begin":"\'","end":"\'","name":"string.quoted.single.vala","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.vala"}]},{"match":"/((\\\\\\\\/)|([^/]))*/(?=\\\\s*[\\\\n),.;])","name":"string.regexp.vala"}]},"types":{"patterns":[{"match":"(?<=^|[^.@\\\\w])(bool|double|float|unichar2??|char|uchar|int|uint|long|ulong|short|ushort|size_t|ssize_t|string|string16|string32|void|signal|int8|int16|int32|int64|uint8|uint16|uint32|uint64|va_list|time_t)\\\\b","name":"storage.type.primitive.vala"},{"match":"\\\\b([A-Z]+\\\\w*)\\\\b","name":"entity.name.type.vala"}]},"variables":{"patterns":[{"match":"\\\\b([_a-z]+\\\\w*)\\\\b","name":"variable.other.vala"}]}},"scopeName":"source.vala"}')),e=[a];export{e as default};
@@ -0,0 +1 @@
1
+ import{V as x,W as I}from"./chunk-q37swcyw.js";import"./chunk-vxggg3ea.js";import{Oa as C,Pa as T,Qa as b,Ra as w,Sa as v}from"./chunk-axn0n4dh.js";import{hc as K}from"./chunk-kn8f91na.js";var W=K(I(),1),g=[{index:"checkpoints",prefix:"checkpoint:",schema:{"$.thread_id":{type:"TAG",AS:"thread_id"},"$.checkpoint_ns":{type:"TAG",AS:"checkpoint_ns"},"$.checkpoint_id":{type:"TAG",AS:"checkpoint_id"},"$.parent_checkpoint_id":{type:"TAG",AS:"parent_checkpoint_id"},"$.checkpoint_ts":{type:"NUMERIC",AS:"checkpoint_ts"},"$.has_writes":{type:"TAG",AS:"has_writes"},"$.source":{type:"TAG",AS:"source"},"$.step":{type:"NUMERIC",AS:"step"}}},{index:"checkpoint_blobs",prefix:"checkpoint_blob:",schema:{"$.thread_id":{type:"TAG",AS:"thread_id"},"$.checkpoint_ns":{type:"TAG",AS:"checkpoint_ns"},"$.checkpoint_id":{type:"TAG",AS:"checkpoint_id"},"$.channel":{type:"TAG",AS:"channel"},"$.version":{type:"TAG",AS:"version"},"$.type":{type:"TAG",AS:"type"}}},{index:"checkpoint_writes",prefix:"checkpoint_write:",schema:{"$.thread_id":{type:"TAG",AS:"thread_id"},"$.checkpoint_ns":{type:"TAG",AS:"checkpoint_ns"},"$.checkpoint_id":{type:"TAG",AS:"checkpoint_id"},"$.task_id":{type:"TAG",AS:"task_id"},"$.idx":{type:"NUMERIC",AS:"idx"},"$.channel":{type:"TAG",AS:"channel"},"$.type":{type:"TAG",AS:"type"}}}],f=class z extends w{client;ttlConfig;constructor(G,J){super();this.client=G,this.ttlConfig=J}static async fromUrl(G,J){let Z=W.createClient({url:G});await Z.connect();let Q=new z(Z,J);return await Q.ensureIndexes(),Q}static async fromCluster(G,J){let Z=W.createCluster({rootNodes:G});await Z.connect();let Q=new z(Z,J);return await Q.ensureIndexes(),Q}async get(G){return(await this.getTuple(G))?.checkpoint}async getTuple(G){let J=G.configurable?.thread_id,Z=G.configurable?.checkpoint_ns??"",Q=G.configurable?.checkpoint_id;if(!J)return;let Y,E;if(Q)Y=`checkpoint:${J}:${Z}:${Q}`,E=await this.client.json.get(Y);else{let $=`checkpoint:${J}:${Z}:*`,_=await this.client.keys($);if(_.length===0)return;_.sort(),Y=_[_.length-1],E=await this.client.json.get(Y)}if(!E)return;if(this.ttlConfig?.refreshOnRead&&this.ttlConfig?.defaultTTL)await this.applyTTL(Y);let{checkpoint:F,pendingWrites:X}=await this.loadCheckpointWithWrites(E);return await this.createCheckpointTuple(E,F,X)}async put(G,J,Z,Q){await this.ensureIndexes();let Y=G.configurable?.thread_id,E=G.configurable?.checkpoint_ns??"",F=G.configurable?.checkpoint_id;if(!Y)throw Error("thread_id is required");let X=J.id||C(0),$=`checkpoint:${Y}:${E}:${X}`,_=b(J);if(_.channel_values&&Q!==void 0)if(Object.keys(Q).length===0)_.channel_values={};else{let U={};for(let B of Object.keys(Q))if(B in _.channel_values)U[B]=_.channel_values[B];_.channel_values=U}let H={thread_id:Y,checkpoint_ns:E===""?"__empty__":E,checkpoint_id:X,parent_checkpoint_id:F||null,checkpoint:_,metadata:Z,checkpoint_ts:Date.now(),has_writes:"false"};if(this.addSearchableMetadataFields(H,Z),await this.client.json.set($,"$",H),this.ttlConfig?.defaultTTL)await this.applyTTL($);return{configurable:{thread_id:Y,checkpoint_ns:E,checkpoint_id:X}}}async*list(G,J){if(await this.ensureIndexes(),J?.filter!==void 0){let Q=Object.values(J.filter).some((X)=>X===null),Y=[];if(G?.configurable?.thread_id){let X=G.configurable.thread_id.replace(/[-.@]/g,"\\$&");Y.push(`(@thread_id:{${X}})`)}if(G?.configurable?.checkpoint_ns!==void 0){let X=G.configurable.checkpoint_ns;if(X==="")Y.push("(@checkpoint_ns:{__empty__})");else{let $=X.replace(/[-.@]/g,"\\$&");Y.push(`(@checkpoint_ns:{${$}})`)}}if(!J?.before&&J?.filter){for(let[X,$]of Object.entries(J.filter))if($===void 0);else if($===null);else if(typeof $==="string"){let _=x(X),H=x($);Y.push(`(@${_}:{${H}})`)}else if(typeof $==="number"){let _=x(X);Y.push(`(@${_}:[${$} ${$}])`)}else if(typeof $==="object"&&Object.keys($).length===0);}if(Y.length===0)Y.push("*");let E=Y.join(" "),F=J?.limit??10;try{let X=J?.before&&!G?.configurable?.thread_id?1000:J?.before?F*10:F,$=(await this.client.ft.search("checkpoints",E,{LIMIT:{from:0,size:X},SORTBY:{BY:"checkpoint_ts",DIRECTION:"DESC"}})).documents,_=0;for(let H of $){if(_>=F)break;if(J?.before?.configurable?.checkpoint_id){if(H.value.checkpoint_id>=J.before.configurable.checkpoint_id)continue}let U=H.value,B=!0;if((Q||J?.before)&&J?.filter){for(let[M,O]of Object.entries(J.filter))if(O===null){if(U.metadata?.[M]!==null){B=!1;break}}else if(O!==void 0){let A=U.metadata?.[M];if(typeof O==="object"&&O!==null){if(q(A)!==q(O)){B=!1;break}}else if(A!==O){B=!1;break}}if(!B)continue}let{checkpoint:L,pendingWrites:R}=await this.loadCheckpointWithWrites(U);yield await this.createCheckpointTuple(U,L,R),_++}return}catch(X){if(X.message?.includes("no such index"));else throw X}if(G?.configurable?.thread_id){let X=G.configurable.thread_id,$=G.configurable.checkpoint_ns??"",_=`checkpoint:${X}:${$}:*`,H=await this.client.keys(_);H.sort().reverse();let U=H;if(J?.before?.configurable?.checkpoint_id){let R=`checkpoint:${J.before.configurable.thread_id||X}:${J.before.configurable.checkpoint_ns??$}:${J.before.configurable.checkpoint_id}`,M=H.indexOf(R);if(M>0)U=H.slice(M+1);else if(M===0)U=[]}let B=J?.limit??10,L=U.slice(0,B);for(let R of L){let M=await this.client.json.get(R);if(M){let O=!0;for(let[V,S]of Object.entries(J.filter)){let N=M.metadata?.[V];if(S===null){if(N!==null){O=!1;break}}else if(N!==S){O=!1;break}}if(!O)continue;let{checkpoint:A,pendingWrites:P}=await this.loadCheckpointWithWrites(M);yield await this.createCheckpointTuple(M,A,P)}}}else{let X=G?.configurable?.checkpoint_ns!==void 0?`checkpoint:*:${G.configurable.checkpoint_ns===""?"__empty__":G.configurable.checkpoint_ns}:*`:"checkpoint:*",$=await this.client.keys(X),_=[];for(let B of $){let L=await this.client.json.get(B);if(L)_.push({key:B,doc:L})}_.sort((B,L)=>L.doc.checkpoint_ts-B.doc.checkpoint_ts);let H=0,U=J?.limit??10;for(let{doc:B}of _){if(H>=U)break;if(J?.before?.configurable?.checkpoint_id){if(B.checkpoint_id>=J.before.configurable.checkpoint_id)continue}let L=!0;if(J?.filter){for(let[O,A]of Object.entries(J.filter))if(A===null){if(B.metadata?.[O]!==null){L=!1;break}}else if(A!==void 0){let P=B.metadata?.[O];if(typeof A==="object"&&A!==null){if(q(P)!==q(A)){L=!1;break}}else if(P!==A){L=!1;break}}if(!L)continue}let{checkpoint:R,pendingWrites:M}=await this.loadCheckpointWithWrites(B);yield await this.createCheckpointTuple(B,R,M),H++}}return}let Z={...J,filter:{}};yield*this.list(G,Z)}async putWrites(G,J,Z){await this.ensureIndexes();let Q=G.configurable?.thread_id,Y=G.configurable?.checkpoint_ns??"",E=G.configurable?.checkpoint_id;if(!Q||!E)throw Error("thread_id and checkpoint_id are required");let F=[],X=performance.now()*1000;for(let _=0;_<J.length;_++){let[H,U]=J[_],B=`checkpoint_write:${Q}:${Y}:${E}:${Z}:${_}`;F.push(B);let L={thread_id:Q,checkpoint_ns:Y,checkpoint_id:E,task_id:Z,idx:_,channel:H,type:typeof U==="object"?"json":"string",value:U,timestamp:X,global_idx:X+_};await this.client.json.set(B,"$",L)}if(F.length>0){let _=`write_keys_zset:${Q}:${Y}:${E}`,H={};if(F.forEach((U,B)=>{H[U]=X+B}),await this.client.zAdd(_,Object.entries(H).map(([U,B])=>({score:B,value:U}))),this.ttlConfig?.defaultTTL)await this.applyTTL(...F,_)}let $=`checkpoint:${Q}:${Y}:${E}`;if(await this.client.exists($)){let _=await this.client.json.get($);if(_)_.has_writes="true",await this.client.json.set($,"$",_)}}async deleteThread(G){let J=`checkpoint:${G}:*`,Z=await this.client.keys(J);if(Z.length>0)await this.client.del(Z);let Q=`writes:${G}:*`,Y=await this.client.keys(Q);if(Y.length>0)await this.client.del(Y)}async end(){await this.client.quit()}async loadPendingWrites(G,J,Z){let Q=`checkpoint_write:${G}:${J}:${Z}:*`,Y=await this.client.keys(Q);if(Y.length===0)return;let E=[];for(let X of Y){let $=await this.client.json.get(X);if($)E.push($)}E.sort((X,$)=>(X.global_idx||0)-($.global_idx||0));let F=[];for(let X of E){let $=await this.serde.loadsTyped("json",JSON.stringify(X.value));F.push([X.task_id,X.channel,$])}return F}async loadCheckpointWithWrites(G){let J=await this.serde.loadsTyped("json",JSON.stringify(G.checkpoint));if(J.v<4&&G.parent_checkpoint_id!=null){let Q=G.checkpoint_ns==="__empty__"?"":G.checkpoint_ns;await this.migratePendingSends(J,G.thread_id,Q,G.parent_checkpoint_id)}let Z;if(G.has_writes==="true"){let Q=G.checkpoint_ns==="__empty__"?"":G.checkpoint_ns;Z=await this.loadPendingWrites(G.thread_id,Q,G.checkpoint_id)}return{checkpoint:J,pendingWrites:Z}}async migratePendingSends(G,J,Z,Q){let Y=await this.loadPendingWrites(J,Z,Q);if(!Y||Y.length===0)return;let E=Y.filter(([,X])=>X===T);if(E.length===0)return;let F=[];for(let[,,X]of E)F.push(X);G.channel_values??={},G.channel_values[T]=F,G.channel_versions[T]=Object.keys(G.channel_versions).length>0?v(...Object.values(G.channel_versions)):1}async createCheckpointTuple(G,J,Z){let Q=G.checkpoint_ns==="__empty__"?"":G.checkpoint_ns,Y=await this.serde.loadsTyped("json",JSON.stringify(G.metadata));return{config:{configurable:{thread_id:G.thread_id,checkpoint_ns:Q,checkpoint_id:G.checkpoint_id}},checkpoint:J,metadata:Y,parentConfig:G.parent_checkpoint_id?{configurable:{thread_id:G.thread_id,checkpoint_ns:Q,checkpoint_id:G.parent_checkpoint_id}}:void 0,pendingWrites:Z}}addSearchableMetadataFields(G,J){if(!J)return;if("source"in J)G.source=J.source;if("step"in J)G.step=J.step;if("writes"in J)G.writes=typeof J.writes==="object"?JSON.stringify(J.writes):J.writes;if("score"in J)G.score=J.score}async applyTTL(...G){if(!this.ttlConfig?.defaultTTL)return;let J=Math.floor(this.ttlConfig.defaultTTL*60),Z=await Promise.allSettled(G.map((Q)=>this.client.expire(Q,J)));for(let Q=0;Q<Z.length;Q++)if(Z[Q].status==="rejected")console.warn(`Failed to set TTL for key ${G[Q]}:`,Z[Q].reason)}async ensureIndexes(){for(let G of g)try{await this.client.ft.create(G.index,G.schema,{ON:"JSON",PREFIX:G.prefix})}catch(J){if(!J.message?.includes("Index already exists"))console.error(`Failed to create index ${G.index}:`,J.message)}}};function q(z){if(z===null||typeof z!=="object")return JSON.stringify(z);if(Array.isArray(z))return JSON.stringify(z.map((Z)=>q(Z)));let G={},J=Object.keys(z).sort();for(let Z of J)G[Z]=z[Z];return JSON.stringify(G,(Z,Q)=>{if(Q!==null&&typeof Q==="object"&&!Array.isArray(Q)){let Y={},E=Object.keys(Q).sort();for(let F of E)Y[F]=Q[F];return Y}return Q})}export{f as RedisSaver};