@opencode/core 0.0.0-dev-19593 → 0.0.0-dev-19595

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{mime-35wynegs.js → persistent-pty-01375378.js} +2 -2
  9. package/dist/chunks/{mime-8zve7j1r.js → persistent-pty-067daj8h.js} +32 -32
  10. package/dist/chunks/{mime-219neeqh.js → persistent-pty-06tybfx6.js} +5 -5
  11. package/dist/chunks/{mime-qkma89m6.js → persistent-pty-07bs0vjz.js} +13 -13
  12. package/dist/chunks/{mime-11qgt1va.js → persistent-pty-07yh2w3s.js} +6 -6
  13. package/dist/chunks/{mime-1h8wvx6q.js → persistent-pty-08c87ar3.js} +20 -20
  14. package/dist/chunks/{mime-33n3bzdy.js → persistent-pty-0axr4kr0.js} +6 -6
  15. package/dist/chunks/{mime-5r3v2435.js → persistent-pty-0c4p4pyk.js} +34 -32
  16. package/dist/chunks/{mime-58426wyj.js → persistent-pty-0kbrq2j8.js} +9 -9
  17. package/dist/chunks/{mime-8nk5pr3x.js → persistent-pty-0nvtj8my.js} +4 -4
  18. package/dist/chunks/{mime-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{mime-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{mime-p2ab4s2r.js → persistent-pty-0vt4hkwr.js} +5 -5
  21. package/dist/chunks/{mime-sae7gfvb.js → persistent-pty-0wy9zd5d.js} +11 -11
  22. package/dist/chunks/{mime-gqz15p6p.js → persistent-pty-156rc272.js} +15 -15
  23. package/dist/chunks/{mime-r0e9nadw.js → persistent-pty-16mp2rsj.js} +5 -5
  24. package/dist/chunks/{mime-f2n192rq.js → persistent-pty-1acjjqhc.js} +4 -4
  25. package/dist/chunks/{mime-wxg5n4nt.js → persistent-pty-1bsf6wqz.js} +88 -88
  26. package/dist/chunks/{mime-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{mime-89fvnp0w.js → persistent-pty-1j73jf0y.js} +12 -12
  28. package/dist/chunks/{mime-wavq5vqb.js → persistent-pty-1nfpt5r1.js} +1 -1
  29. package/dist/chunks/{mime-8mw9dy87.js → persistent-pty-1nvffc7z.js} +7 -7
  30. package/dist/chunks/{mime-7x9wdesj.js → persistent-pty-205snssp.js} +27 -27
  31. package/dist/chunks/{mime-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  32. package/dist/chunks/{mime-sxr8e92x.js → persistent-pty-22cd4xtf.js} +42 -42
  33. package/dist/chunks/{mime-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  34. package/dist/chunks/{mime-cp31e4n6.js → persistent-pty-28m91z5w.js} +54 -54
  35. package/dist/chunks/{mime-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{mime-sge7677j.js → persistent-pty-2gj877a4.js} +22 -22
  37. package/dist/chunks/{mime-43fjnve3.js → persistent-pty-2p4phcfp.js} +177 -177
  38. package/dist/chunks/{mime-4m405q6x.js → persistent-pty-2wacw76k.js} +44 -44
  39. package/dist/chunks/{mime-vknx877p.js → persistent-pty-2ww59eqx.js} +20 -20
  40. package/dist/chunks/{mime-n4aaschn.js → persistent-pty-2zw4rjvd.js} +9 -9
  41. package/dist/chunks/{mime-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{mime-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{mime-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{mime-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{mime-3w0fmcng.js → persistent-pty-3w2b2yj4.js} +5 -5
  46. package/dist/chunks/{mime-vp7npndj.js → persistent-pty-3ydh67fs.js} +47 -47
  47. package/dist/chunks/{mime-522twr50.js → persistent-pty-40ykk5rq.js} +18 -18
  48. package/dist/chunks/{mime-7kppz51p.js → persistent-pty-41ysy2js.js} +24 -24
  49. package/dist/chunks/{mime-233vw3g8.js → persistent-pty-44zaeaht.js} +12 -12
  50. package/dist/chunks/{mime-0dd32wke.js → persistent-pty-476tty53.js} +20 -20
  51. package/dist/chunks/{mime-0m2e9swf.js → persistent-pty-496ptbe5.js} +43 -43
  52. package/dist/chunks/{mime-2z24jnne.js → persistent-pty-496zq10v.js} +43 -43
  53. package/dist/chunks/{mime-428y0mtg.js → persistent-pty-4bdgx2my.js} +11 -11
  54. package/dist/chunks/{mime-mzs7jtbe.js → persistent-pty-4jkr53zg.js} +22 -22
  55. package/dist/chunks/{mime-y87sds1v.js → persistent-pty-4mdcdt6k.js} +37 -37
  56. package/dist/chunks/{mime-tyqa4rq3.js → persistent-pty-4xcpnpvy.js} +11 -11
  57. package/dist/chunks/{mime-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{mime-qg6c32m5.js → persistent-pty-5765z361.js} +11 -11
  59. package/dist/chunks/{mime-was7srj9.js → persistent-pty-57e9z27j.js} +6 -6
  60. package/dist/chunks/{mime-zp6fq2c5.js → persistent-pty-5aeq7032.js} +13 -13
  61. package/dist/chunks/{mime-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{mime-60w3gzyt.js → persistent-pty-5s1ew4p0.js} +10 -10
  63. package/dist/chunks/{mime-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{mime-669tq793.js → persistent-pty-669tq793.js} +1 -1
  65. package/dist/chunks/{mime-s3w38y65.js → persistent-pty-67z4309q.js} +28 -28
  66. package/dist/chunks/{mime-1nq040z3.js → persistent-pty-6kckr5h4.js} +4 -4
  67. package/dist/chunks/{mime-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{mime-6xm8j45g.js → persistent-pty-6rx7art5.js} +16 -16
  69. package/dist/chunks/{mime-mc7r38pz.js → persistent-pty-70znhec0.js} +24 -24
  70. package/dist/chunks/{mime-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
  71. package/dist/chunks/{mime-ndqxs5js.js → persistent-pty-72v2qqr0.js} +5 -5
  72. package/dist/chunks/{mime-6e67y2h6.js → persistent-pty-74vtdart.js} +17 -17
  73. package/dist/chunks/{mime-mhxmw1gn.js → persistent-pty-758t4wd9.js} +26 -26
  74. package/dist/chunks/{mime-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{mime-2k8khapm.js → persistent-pty-7dqw4kz8.js} +5 -5
  76. package/dist/chunks/{mime-vgx6weyf.js → persistent-pty-7m5f9412.js} +8 -8
  77. package/dist/chunks/{mime-ypdxe0g3.js → persistent-pty-7qbafv54.js} +5 -5
  78. package/dist/chunks/{mime-rk0rec3h.js → persistent-pty-81swgkk7.js} +9 -9
  79. package/dist/chunks/{mime-exmx9z86.js → persistent-pty-83x3c1cr.js} +13 -13
  80. package/dist/chunks/{mime-tpw6cwsb.js → persistent-pty-844ef7ks.js} +8 -8
  81. package/dist/chunks/{mime-6f9xqzex.js → persistent-pty-858znxdh.js} +15 -15
  82. package/dist/chunks/{mime-70d2s7af.js → persistent-pty-8baymvr8.js} +1 -1
  83. package/dist/chunks/{mime-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{mime-n9gzpzcc.js → persistent-pty-8gp97p59.js} +33 -33
  85. package/dist/chunks/{mime-6ecentyg.js → persistent-pty-8hz2npkx.js} +7 -7
  86. package/dist/chunks/{mime-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{mime-g9wvjw5e.js → persistent-pty-8rr4encj.js} +18 -18
  88. package/dist/chunks/{mime-apaaqhj0.js → persistent-pty-9fpgstc4.js} +11 -11
  89. package/dist/chunks/{mime-m0e07c1q.js → persistent-pty-9fxcdvg0.js} +9 -9
  90. package/dist/chunks/{mime-7t2a4rxe.js → persistent-pty-9nw0mbe1.js} +32 -32
  91. package/dist/chunks/{mime-599ntear.js → persistent-pty-9qxgj1yn.js} +11 -11
  92. package/dist/chunks/{mime-en53wcfr.js → persistent-pty-9vcfs5dg.js} +15 -15
  93. package/dist/chunks/{mime-q6yya7b3.js → persistent-pty-9w4ppqge.js} +5 -5
  94. package/dist/chunks/{mime-zcqf6png.js → persistent-pty-9yr2yfq4.js} +6 -6
  95. package/dist/chunks/{mime-gnwbrhke.js → persistent-pty-9z190z2h.js} +11 -11
  96. package/dist/chunks/{mime-xf8yqmad.js → persistent-pty-9zswys26.js} +9 -9
  97. package/dist/chunks/{mime-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{mime-1fqx7y25.js → persistent-pty-a23yy72n.js} +18 -18
  99. package/dist/chunks/{mime-cjwramev.js → persistent-pty-a3gkz02n.js} +6 -6
  100. package/dist/chunks/{mime-0pt4f7ej.js → persistent-pty-a3sm1a4h.js} +15 -15
  101. package/dist/chunks/{mime-yhnrb9df.js → persistent-pty-a8axnbpa.js} +23 -23
  102. package/dist/chunks/{mime-wce6r091.js → persistent-pty-aa476z6j.js} +4 -4
  103. package/dist/chunks/{mime-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  104. package/dist/chunks/{mime-19dhad8j.js → persistent-pty-admsvzww.js} +4 -4
  105. package/dist/chunks/{mime-tp988bqa.js → persistent-pty-aemcnybr.js} +11 -11
  106. package/dist/chunks/{mime-3v1f2d9y.js → persistent-pty-avan7d23.js} +20 -20
  107. package/dist/chunks/{mime-a7ymv1f3.js → persistent-pty-axcfkn0b.js} +32 -32
  108. package/dist/chunks/{mime-k3a2w7sd.js → persistent-pty-ayn42wpr.js} +4 -4
  109. package/dist/chunks/{mime-pzy0y0v9.js → persistent-pty-b1gy5zdm.js} +11 -11
  110. package/dist/chunks/{mime-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{mime-rw5ambcd.js → persistent-pty-b6thfyg0.js} +22 -22
  112. package/dist/chunks/{mime-793krves.js → persistent-pty-brpq8yh8.js} +9 -9
  113. package/dist/chunks/persistent-pty-by5v678g.js +18 -0
  114. package/dist/chunks/{mime-dhwr7h25.js → persistent-pty-c1495ybz.js} +11 -11
  115. package/dist/chunks/{mime-1k3djte8.js → persistent-pty-c24ss25q.js} +10 -10
  116. package/dist/chunks/{mime-18e56dsp.js → persistent-pty-c5gn303e.js} +4 -4
  117. package/dist/chunks/{mime-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{mime-syx98vxf.js → persistent-pty-ch16p0qp.js} +6 -6
  119. package/dist/chunks/{mime-p1rhzz4x.js → persistent-pty-cjjk0ngx.js} +17 -17
  120. package/dist/chunks/{mime-j1ydts1m.js → persistent-pty-cq5jfqfc.js} +26 -26
  121. package/dist/chunks/{mime-9t6fn9sm.js → persistent-pty-crfr8jm1.js} +10 -10
  122. package/dist/chunks/{mime-nvxqht09.js → persistent-pty-csdaj16z.js} +3 -3
  123. package/dist/chunks/{mime-0artwwxx.js → persistent-pty-cw8m5w0x.js} +3 -3
  124. package/dist/chunks/{mime-6w1gr0yw.js → persistent-pty-cztn7rx7.js} +17 -17
  125. package/dist/chunks/{mime-hwyw3hyr.js → persistent-pty-d1qe38wd.js} +4 -4
  126. package/dist/chunks/{mime-8jqmzt62.js → persistent-pty-d4eh0prg.js} +9 -9
  127. package/dist/chunks/{mime-mgfyp3pg.js → persistent-pty-dmcv08zt.js} +18 -18
  128. package/dist/chunks/{mime-z2st3mnt.js → persistent-pty-dpz13x6g.js} +28 -28
  129. package/dist/chunks/{mime-aqtq9wzx.js → persistent-pty-dqhps3gd.js} +11 -11
  130. package/dist/chunks/{mime-n0t0kfwn.js → persistent-pty-dx72tz9d.js} +28 -28
  131. package/dist/chunks/{mime-t0kymgeb.js → persistent-pty-dyznf783.js} +62 -62
  132. package/dist/chunks/{mime-p11mj9nc.js → persistent-pty-e3db9cm6.js} +28 -28
  133. package/dist/chunks/{mime-bndc73cn.js → persistent-pty-e5nv3ght.js} +5 -5
  134. package/dist/chunks/persistent-pty-e6mws8mz.js +26 -0
  135. package/dist/chunks/{mime-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{mime-0pb75hch.js → persistent-pty-enks4xxx.js} +5 -5
  137. package/dist/chunks/{mime-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{mime-vsp1fds9.js → persistent-pty-f3ngv102.js} +21 -21
  139. package/dist/chunks/{mime-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
  140. package/dist/chunks/{mime-d942djzc.js → persistent-pty-fch79rh9.js} +28 -3
  141. package/dist/chunks/{mime-mz6ae2yf.js → persistent-pty-fhnehbw5.js} +1 -1
  142. package/dist/chunks/{mime-rbtn8dzz.js → persistent-pty-fmcf9gbb.js} +33 -33
  143. package/dist/chunks/{mime-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{mime-8v4hj3yf.js → persistent-pty-g25g5a4k.js} +26 -26
  145. package/dist/chunks/{mime-ycn09wbg.js → persistent-pty-g25n9e5v.js} +8 -8
  146. package/dist/chunks/{mime-806j49yq.js → persistent-pty-g8d3gcyj.js} +7 -7
  147. package/dist/chunks/{mime-rk95q894.js → persistent-pty-g8r6989n.js} +11 -11
  148. package/dist/chunks/{mime-0jez15af.js → persistent-pty-gar1hgen.js} +6 -6
  149. package/dist/chunks/{mime-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{mime-mv4qg2g8.js → persistent-pty-gk7f333q.js} +71 -71
  151. package/dist/chunks/{mime-jjs74g98.js → persistent-pty-gsx0ryk4.js} +9 -9
  152. package/dist/chunks/{mime-th5km1p3.js → persistent-pty-gv6a8nnw.js} +5 -5
  153. package/dist/chunks/{mime-2swfdtqq.js → persistent-pty-gwmaab63.js} +14 -14
  154. package/dist/chunks/{mime-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  155. package/dist/chunks/{mime-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{mime-vkxpz7g2.js → persistent-pty-hfdr1yjj.js} +4 -4
  157. package/dist/chunks/{mime-nhy5jxhy.js → persistent-pty-hjt4xg1x.js} +4 -4
  158. package/dist/chunks/{mime-mk0f86h1.js → persistent-pty-hk10kj8x.js} +18 -18
  159. package/dist/chunks/{mime-244ce5kg.js → persistent-pty-hnc9qj7b.js} +12 -12
  160. package/dist/chunks/{mime-y5hshd3q.js → persistent-pty-hz420t0m.js} +27 -27
  161. package/dist/chunks/{mime-3ey5ve5m.js → persistent-pty-j0x671y3.js} +17 -17
  162. package/dist/chunks/{mime-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  163. package/dist/chunks/{mime-6ph579g1.js → persistent-pty-j91288an.js} +11 -11
  164. package/dist/chunks/{mime-ex7fppdg.js → persistent-pty-jav6p6ha.js} +45 -45
  165. package/dist/chunks/{mime-71pc8m80.js → persistent-pty-jcyd57qm.js} +9 -9
  166. package/dist/chunks/{mime-z1jvgbj7.js → persistent-pty-jjefxv93.js} +14 -14
  167. package/dist/chunks/{mime-pdxxk7hn.js → persistent-pty-jpej03b4.js} +1 -1
  168. package/dist/chunks/{mime-47jk2x7b.js → persistent-pty-jt82t686.js} +23 -23
  169. package/dist/chunks/{mime-2bg24y81.js → persistent-pty-k165hmq5.js} +20 -20
  170. package/dist/chunks/{mime-7f5wqp31.js → persistent-pty-k8jcpvvr.js} +47 -47
  171. package/dist/chunks/{mime-9adpk5qf.js → persistent-pty-kfekjm9s.js} +18 -18
  172. package/dist/chunks/{mime-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  173. package/dist/chunks/{mime-kpj3v0jx.js → persistent-pty-kh1txrez.js} +7 -7
  174. package/dist/chunks/{mime-29zjypxj.js → persistent-pty-km3hm7vc.js} +25 -25
  175. package/dist/chunks/{mime-a7fxnse5.js → persistent-pty-kyjj2hpk.js} +29 -29
  176. package/dist/chunks/{mime-265kqrgy.js → persistent-pty-kz70mmnm.js} +1 -1
  177. package/dist/chunks/{mime-8gz95mnd.js → persistent-pty-kz993g5t.js} +7 -7
  178. package/dist/chunks/{mime-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{mime-7n2xhmm7.js → persistent-pty-marnn1hp.js} +9 -9
  180. package/dist/chunks/{mime-csf2jhsg.js → persistent-pty-mfhfdr54.js} +4 -4
  181. package/dist/chunks/{mime-x9yfajt1.js → persistent-pty-mm04bz81.js} +16 -16
  182. package/dist/chunks/{mime-a9pbgtwm.js → persistent-pty-mm6h0sq5.js} +25 -25
  183. package/dist/chunks/{mime-f14wgmqf.js → persistent-pty-mnqckem1.js} +9 -9
  184. package/dist/chunks/{mime-rw09cprj.js → persistent-pty-n5hgnsg4.js} +8 -8
  185. package/dist/chunks/{mime-9fk3d21e.js → persistent-pty-nc5bxtt4.js} +9 -9
  186. package/dist/chunks/persistent-pty-nn38a0fv.js +247 -0
  187. package/dist/chunks/{mime-6tjahags.js → persistent-pty-nnrfkqda.js} +18 -18
  188. package/dist/chunks/{mime-7mawc3w3.js → persistent-pty-nqm8jas2.js} +36 -36
  189. package/dist/chunks/{mime-94np39z2.js → persistent-pty-p1wf2k30.js} +9 -9
  190. package/dist/chunks/{mime-7dn07k07.js → persistent-pty-p8ad8txy.js} +32 -32
  191. package/dist/chunks/{mime-j935v87r.js → persistent-pty-paphc93g.js} +2 -2
  192. package/dist/chunks/{mime-wwxdkha1.js → persistent-pty-pbkjeet7.js} +13 -13
  193. package/dist/chunks/{mime-9v7b1t0y.js → persistent-pty-pdn6mkhs.js} +29 -29
  194. package/dist/chunks/{mime-6yr30ss5.js → persistent-pty-pdps0bse.js} +12 -12
  195. package/dist/chunks/{mime-mkyvxn7c.js → persistent-pty-pedsh274.js} +6 -6
  196. package/dist/chunks/{mime-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{mime-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  198. package/dist/chunks/{mime-3j8sdtpz.js → persistent-pty-pmr4s4kc.js} +4 -4
  199. package/dist/chunks/{mime-t9kjr4z5.js → persistent-pty-pqsh7sw8.js} +24 -24
  200. package/dist/chunks/{mime-nk4x76k7.js → persistent-pty-pwxeempz.js} +32 -32
  201. package/dist/chunks/{mime-sat34sqy.js → persistent-pty-q5rhn9x0.js} +14 -14
  202. package/dist/chunks/{mime-rpw1jzq2.js → persistent-pty-q8nw8w0b.js} +29 -29
  203. package/dist/chunks/{mime-ffxj81eb.js → persistent-pty-qj8patcw.js} +12 -12
  204. package/dist/chunks/{mime-7mny09t0.js → persistent-pty-qm01ndw7.js} +10 -10
  205. package/dist/chunks/{mime-hnr5yq9h.js → persistent-pty-qn4ba14w.js} +5 -5
  206. package/dist/chunks/{mime-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  207. package/dist/chunks/{mime-pva5nxfr.js → persistent-pty-qtj6hy35.js} +42 -42
  208. package/dist/chunks/{mime-wrqsgs34.js → persistent-pty-qwgwmjpf.js} +4 -4
  209. package/dist/chunks/{mime-p8vshhkt.js → persistent-pty-r0cp9c3a.js} +9 -9
  210. package/dist/chunks/{mime-jt9z208x.js → persistent-pty-r12607a7.js} +17 -17
  211. package/dist/chunks/{mime-efv4s0g0.js → persistent-pty-r33ff4dw.js} +6 -6
  212. package/dist/chunks/{mime-mvfsc1pv.js → persistent-pty-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{mime-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
  214. package/dist/chunks/{mime-rr42dmak.js → persistent-pty-rjncv4cx.js} +11 -11
  215. package/dist/chunks/{mime-mvtk1eek.js → persistent-pty-rq1dwzcr.js} +13 -13
  216. package/dist/chunks/{mime-z7haez8t.js → persistent-pty-rsfa6j5g.js} +9 -9
  217. package/dist/chunks/persistent-pty-rt91ng8c.js +466 -0
  218. package/dist/chunks/{mime-9jn58xvx.js → persistent-pty-rvsh4nhd.js} +28 -28
  219. package/dist/chunks/{mime-84f9n64y.js → persistent-pty-rvxgyzv0.js} +37 -37
  220. package/dist/chunks/{mime-hfk58y1y.js → persistent-pty-rycxbs55.js} +32 -32
  221. package/dist/chunks/{mime-msr7tfg3.js → persistent-pty-s2q6918b.js} +10 -10
  222. package/dist/chunks/{mime-zdzzr9rq.js → persistent-pty-s586x74b.js} +13 -13
  223. package/dist/chunks/{mime-0gdmqesm.js → persistent-pty-s8d7rejh.js} +4 -4
  224. package/dist/chunks/{mime-gg6k7kh9.js → persistent-pty-s8hds3n7.js} +46 -46
  225. package/dist/chunks/{mime-3e6fhmkh.js → persistent-pty-s8hqqq62.js} +23 -23
  226. package/dist/chunks/{mime-d2aac7k2.js → persistent-pty-s8zy8myc.js} +5 -5
  227. package/dist/chunks/{mime-7k089n9a.js → persistent-pty-sg67attt.js} +98 -98
  228. package/dist/chunks/{mime-qwnx8exk.js → persistent-pty-svxpmbmv.js} +19 -19
  229. package/dist/chunks/{mime-b9bv6qq3.js → persistent-pty-t6apg4xb.js} +21 -21
  230. package/dist/chunks/{mime-ddt2bs9e.js → persistent-pty-t7n9q6bq.js} +4 -4
  231. package/dist/chunks/{mime-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{mime-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
  233. package/dist/chunks/{mime-c8v5kc65.js → persistent-pty-tcmfg0c6.js} +18 -18
  234. package/dist/chunks/{mime-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  235. package/dist/chunks/{mime-xzzqdqzt.js → persistent-pty-tfna5j6r.js} +17 -17
  236. package/dist/chunks/{mime-fcj6b5ej.js → persistent-pty-tspgchm8.js} +20 -20
  237. package/dist/chunks/{mime-8j0zrhvt.js → persistent-pty-tt6wxkxp.js} +20 -20
  238. package/dist/chunks/{mime-60n7bf9e.js → persistent-pty-tvhq06z0.js} +3 -3
  239. package/dist/chunks/{mime-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  240. package/dist/chunks/{mime-eraanh1f.js → persistent-pty-tx9qvpbt.js} +2 -2
  241. package/dist/chunks/{mime-tqkrwgse.js → persistent-pty-tyqkzprt.js} +2 -2
  242. package/dist/chunks/{mime-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  243. package/dist/chunks/{mime-pkm3pkx5.js → persistent-pty-vexsgc0a.js} +16 -16
  244. package/dist/chunks/{mime-y598pph1.js → persistent-pty-vj87fc1v.js} +19 -11
  245. package/dist/chunks/{mime-az6rvz1x.js → persistent-pty-vpesspm9.js} +25 -25
  246. package/dist/chunks/{mime-7n7hfnea.js → persistent-pty-vrn1sxtn.js} +6 -6
  247. package/dist/chunks/{mime-1rr79kmz.js → persistent-pty-vvgctfdq.js} +12 -12
  248. package/dist/chunks/{mime-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{mime-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{mime-aq5y8b9e.js → persistent-pty-w5dgsa5w.js} +8 -8
  251. package/dist/chunks/{mime-zmyxeed4.js → persistent-pty-wbjq657r.js} +41 -41
  252. package/dist/chunks/{mime-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  253. package/dist/chunks/{mime-h7xbcxh5.js → persistent-pty-wh1sxcy7.js} +8 -8
  254. package/dist/chunks/{mime-hsyde07s.js → persistent-pty-wk8vywde.js} +17 -17
  255. package/dist/chunks/{mime-k5ysc9y0.js → persistent-pty-wydq2hf7.js} +50 -50
  256. package/dist/chunks/{mime-g6jvm51t.js → persistent-pty-wzsbb5hr.js} +32 -32
  257. package/dist/chunks/{mime-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{mime-3xfqjwf0.js → persistent-pty-x49tpfx8.js} +8 -8
  259. package/dist/chunks/{mime-cvtmmhw6.js → persistent-pty-xbh0n0bt.js} +1 -1
  260. package/dist/chunks/{mime-yad4qhb5.js → persistent-pty-xbh1yte2.js} +18 -18
  261. package/dist/chunks/{mime-25c3bv42.js → persistent-pty-xf4dwdmn.js} +32 -32
  262. package/dist/chunks/{mime-4x2wqn1j.js → persistent-pty-xqmeh0zh.js} +22 -22
  263. package/dist/chunks/{mime-qxad6akg.js → persistent-pty-xqrmvh4d.js} +32 -32
  264. package/dist/chunks/{mime-rjasbbd6.js → persistent-pty-xta415tq.js} +25 -25
  265. package/dist/chunks/{mime-mq0v60k6.js → persistent-pty-xv814t3x.js} +11 -11
  266. package/dist/chunks/{mime-jy2v93y2.js → persistent-pty-xwy7nsbm.js} +10 -10
  267. package/dist/chunks/{mime-efemqsg6.js → persistent-pty-y1eyp4h1.js} +59 -59
  268. package/dist/chunks/{mime-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{mime-xyf1yhas.js → persistent-pty-y3qvm77n.js} +10 -10
  270. package/dist/chunks/{mime-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
  271. package/dist/chunks/{mime-08vesxpc.js → persistent-pty-y75c90f9.js} +6 -6
  272. package/dist/chunks/{mime-n7w7dj2n.js → persistent-pty-yag4m0hg.js} +30 -30
  273. package/dist/chunks/{mime-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{mime-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
  275. package/dist/chunks/{mime-a14tmfw2.js → persistent-pty-yxmjpxht.js} +26 -26
  276. package/dist/chunks/{mime-thfnv5gc.js → persistent-pty-yzpqraws.js} +2 -2
  277. package/dist/chunks/{mime-7wj5bpvf.js → persistent-pty-yzzaphg0.js} +4 -4
  278. package/dist/chunks/{mime-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{mime-d8d1pk1w.js → persistent-pty-z2d75gdc.js} +27 -27
  280. package/dist/chunks/{mime-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  281. package/dist/chunks/{mime-9s1hrf4j.js → persistent-pty-zahra9jy.js} +21 -21
  282. package/dist/chunks/{mime-t2p9dx1c.js → persistent-pty-zb4p73ts.js} +4 -4
  283. package/dist/chunks/{mime-sbwhh814.js → persistent-pty-zd83r0vm.js} +16 -16
  284. package/dist/chunks/{mime-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{mime-3nv94yae.js → persistent-pty-zmjtwb5q.js} +23 -23
  286. package/dist/chunks/{mime-yq15jsfs.js → persistent-pty-znp8765m.js} +26 -26
  287. package/dist/chunks/{mime-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{mime-6mn0csek.js → persistent-pty-zrhm0kb5.js} +11 -11
  289. package/dist/chunks/{mime-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{mime-yxmrz8pz.js → persistent-pty-zy1ry69w.js} +34 -34
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +119 -119
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +120 -120
  304. package/dist/config/plugin/image.js +119 -119
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +119 -119
  307. package/dist/config/plugin/mcp.js +128 -128
  308. package/dist/config/plugin/policy.js +118 -118
  309. package/dist/config/plugin/provider.js +117 -117
  310. package/dist/config/plugin/reference.js +121 -121
  311. package/dist/config/plugin/shell.js +121 -121
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +140 -140
  314. package/dist/config/plugin/snapshot.js +119 -119
  315. package/dist/config/plugin/source.js +121 -121
  316. package/dist/config/plugin/tool-output.js +121 -121
  317. package/dist/config/plugin/websearch.js +119 -119
  318. package/dist/config/plugin/worktree.js +122 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +82 -82
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +223 -223
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +81 -81
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +94 -94
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +7 -7
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +137 -137
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +126 -126
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +7 -7
  478. package/dist/model-resolver.js +85 -85
  479. package/dist/model.js +8 -8
  480. package/dist/models-dev.js +87 -87
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +114 -114
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +96 -96
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +133 -133
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -346
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +223 -223
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +89 -89
  559. package/dist/provider.js +5 -5
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +1 -1
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +91 -91
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +133 -133
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +126 -126
  581. package/dist/session/generate.js +152 -152
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +74 -74
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +134 -134
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +74 -74
  612. package/dist/session/store.js +84 -84
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +155 -155
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +222 -222
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +217 -217
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +11 -11
  625. package/dist/shell.js +136 -136
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +88 -88
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -125
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +121 -121
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +119 -119
  640. package/dist/tool/plugin/question.js +104 -104
  641. package/dist/tool/plugin/read.js +120 -120
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +119 -119
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +15 -15
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +7 -7
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +4 -4
  671. package/dist/v1/config/permission.js +7 -7
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +83 -83
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +4 -4
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +345 -345
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +93 -93
  691. package/package.json +8 -8
  692. package/dist/chunks/mime-4v7qdvcn.js +0 -18
  693. package/dist/chunks/mime-5wm2rtqk.js +0 -247
  694. package/dist/chunks/mime-7136dx6n.js +0 -466
  695. package/dist/chunks/mime-89qrc0yw.js +0 -26
  696. /package/dist/chunks/{mime-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
  697. /package/dist/chunks/{mime-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{mime-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{mime-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{mime-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{mime-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{mime-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{mime-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{mime-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{mime-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{mime-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  707. /package/dist/chunks/{mime-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{mime-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{mime-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{mime-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{mime-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{mime-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{mime-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{mime-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  715. /package/dist/chunks/{mime-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{mime-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  717. /package/dist/chunks/{mime-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{mime-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{mime-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  720. /package/dist/chunks/{mime-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{mime-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{mime-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  723. /package/dist/chunks/{mime-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{mime-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{mime-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{mime-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{mime-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{mime-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{mime-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{mime-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{mime-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{mime-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{mime-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{mime-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{mime-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{mime-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{mime-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{mime-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  739. /package/dist/chunks/{mime-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{mime-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{mime-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{mime-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{mime-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{mime-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{mime-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{mime-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{mime-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{mime-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{mime-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{mime-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{mime-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  752. /package/dist/chunks/{mime-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{mime-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  754. /package/dist/chunks/{mime-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{mime-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  756. /package/dist/chunks/{mime-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{mime-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{mime-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{mime-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{mime-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{mime-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{mime-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{mime-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{mime-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{mime-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{mime-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{mime-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{mime-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{mime-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{mime-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{mime-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{mime-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{mime-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{mime-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{mime-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{mime-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{mime-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{mime-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{mime-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{mime-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{mime-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{mime-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  783. /package/dist/chunks/{mime-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{mime-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{mime-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{mime-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{mime-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{mime-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service78,
4
- node83
5
- } from "./mime-sbwhh814.js";
3
+ Service79,
4
+ node84
5
+ } from "./persistent-pty-zd83r0vm.js";
6
6
  import {
7
7
  __export
8
- } from "./mime-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service8,
14
+ Service: () => Service12,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node10
16
+ layer: () => layer7,
17
+ node: () => node15
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service8 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service12 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service8, Effect.gen(function* () {
26
- const bus = yield* Service78;
25
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
26
+ const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service8.of({
29
+ return Service12.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node10 = makeGlobalNode({ service: Service8, layer: layer5, deps: [node83] });
36
+ var node15 = makeGlobalNode({ service: Service12, layer: layer7, deps: [node84] });
37
37
 
38
- export { Updated2, Service8, layer5, node10, exports_sdk };
38
+ export { Updated2, Service12, layer7, node15, exports_sdk };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./mime-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service7,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node9
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service7 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node9 = makeLocationNode({
19
- service: Service7,
18
+ var node8 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service7, node9, bound2, exports_instance2 };
32
+ export { Service5, node8, bound2, exports_instance2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./mime-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
- Service70
6
- } from "./mime-hsyde07s.js";
5
+ Service76
6
+ } from "./persistent-pty-wk8vywde.js";
7
7
  import {
8
- Service59
9
- } from "./mime-vp7npndj.js";
8
+ Service55
9
+ } from "./persistent-pty-3ydh67fs.js";
10
10
  import {
11
- Service64
12
- } from "./mime-ex7fppdg.js";
11
+ Service19
12
+ } from "./persistent-pty-jav6p6ha.js";
13
13
  import {
14
14
  observe2
15
- } from "./mime-qsdy395h.js";
15
+ } from "./persistent-pty-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./mime-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin30
24
+ Plugin: () => Plugin14
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin30 = define({
30
+ var Plugin14 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service59;
34
- const location = yield* Service70;
33
+ const config = yield* Service55;
34
+ const location = yield* Service76;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service64;
36
+ const worktrees = yield* Service19;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin30 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin30, exports_worktree };
51
+ export { Plugin14, exports_worktree };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./mime-33n3bzdy.js";
4
+ } from "./persistent-pty-0axr4kr0.js";
5
5
 
6
6
  // src/plugin/provider/nvidia.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./mime-qaymkmh1.js";
3
+ } from "./persistent-pty-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,63 +1,63 @@
1
+ import {
2
+ Service80,
3
+ node85
4
+ } from "./persistent-pty-aemcnybr.js";
1
5
  import {
2
6
  Service79,
3
7
  node84
4
- } from "./mime-tp988bqa.js";
5
- import {
6
- Service78,
7
- node83
8
- } from "./mime-sbwhh814.js";
8
+ } from "./persistent-pty-zd83r0vm.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./mime-pknna89w.js";
11
+ } from "./persistent-pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./mime-0q0f95c6.js";
14
+ } from "./persistent-pty-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./mime-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID17,
25
- Info: () => Info32,
23
+ Event: () => Event19,
24
+ ID: () => ID16,
25
+ Info: () => Info30,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service77,
28
+ Service: () => Service74,
29
29
  Value: () => Value2,
30
- node: () => node82
30
+ node: () => node79
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID17 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info32 extends Schema.Class("Credential.Info")({
44
- id: ID17,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service77 extends Context.Service()("@opencode/Credential") {
51
+ class Service74 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service77, Effect.gen(function* () {
54
- const db = (yield* Service79).db;
55
- const bus = yield* Service78;
53
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
54
+ const db = (yield* Service80).db;
55
+ const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info32({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service77.of({
71
+ return Service74.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info32({
80
- id: ID17.create(),
79
+ const credential = new Info30({
80
+ id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event19.Updated, {}, { global: true });
105
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event19.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event19.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node82 = makeGlobalNode({ service: Service77, layer, deps: [node84, node83] });
196
+ var node79 = makeGlobalNode({ service: Service74, layer, deps: [node85, node84] });
197
197
 
198
- export { ID17, OAuth3, Key4, Value2, Event20, Info32, Service77, node82, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event19, Info30, Service74, node79, exports_credential };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./mime-33n3bzdy.js";
3
+ } from "./persistent-pty-0axr4kr0.js";
4
4
  import {
5
- Service74
6
- } from "./mime-s3w38y65.js";
5
+ Service70
6
+ } from "./persistent-pty-67z4309q.js";
7
7
  import {
8
- Service59
9
- } from "./mime-vp7npndj.js";
8
+ Service55
9
+ } from "./persistent-pty-3ydh67fs.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service74;
14
+ const catalog = yield* Service70;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service59);
16
+ const service = yield* Effect.serviceOption(Service55);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./mime-6msgmcgs.js";
4
+ } from "./persistent-pty-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./mime-qfa1cgps.js";
7
+ } from "./persistent-pty-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./mime-922hggd3.js";
5
+ } from "./persistent-pty-922hggd3.js";
6
6
  import {
7
- Service68,
8
- node72
9
- } from "./mime-mc7r38pz.js";
7
+ Service51,
8
+ node55
9
+ } from "./persistent-pty-70znhec0.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./mime-8d7r5vzw.js";
12
+ } from "./persistent-pty-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./mime-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service67,
24
- node: () => node71
23
+ Service: () => Service18,
24
+ node: () => node21
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service67 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service18 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service67, Effect.gen(function* () {
67
- const environment = yield* Service68;
66
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
67
+ const environment = yield* Service51;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service67.of({
95
+ return Service18.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node71 = makeLocationNode({ service: Service67, layer, deps: [node72, RipgrepBinary2.node] });
178
+ var node21 = makeLocationNode({ service: Service18, layer, deps: [node55, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service67, node71, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service18, node21, exports_ripgrep };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service72
3
- } from "./mime-6yr30ss5.js";
2
+ Service78
3
+ } from "./persistent-pty-pdps0bse.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
- canonical3
7
- } from "./mime-th5km1p3.js";
6
+ canonical2
7
+ } from "./persistent-pty-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./mime-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make20
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make20 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service72;
23
+ const git = yield* Service78;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -28,7 +28,7 @@ var make20 = Effect.gen(function* () {
28
28
  if (!repository)
29
29
  return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
30
30
  yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
31
- return { directory: yield* canonical3(fs, input.directory) };
31
+ return { directory: yield* canonical2(fs, input.directory) };
32
32
  }),
33
33
  remove: Effect.fn("Worktree.Git.remove")(function* (input) {
34
34
  const repository = yield* git.repo.discover(input.directory);
@@ -41,9 +41,9 @@ var make20 = Effect.gen(function* () {
41
41
  if (!repository)
42
42
  return yield* new DirectoryUnavailableError2({ directory });
43
43
  const entries = yield* git.worktree.list(repository);
44
- return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
44
+ return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
45
45
  })
46
46
  };
47
47
  });
48
48
 
49
- export { make20, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service39
3
- } from "./mime-zcqf6png.js";
2
+ Service48
3
+ } from "./persistent-pty-9yr2yfq4.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./mime-4v7qdvcn.js";
6
+ } from "./persistent-pty-by5v678g.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./mime-p8vshhkt.js";
9
+ } from "./persistent-pty-r0cp9c3a.js";
10
10
  import {
11
- Service47
12
- } from "./mime-vknx877p.js";
11
+ Service36
12
+ } from "./persistent-pty-2ww59eqx.js";
13
13
  import {
14
14
  __export
15
- } from "./mime-9rqn6x4v.js";
15
+ } from "./persistent-pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service39;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
25
+ const instances = yield* Service48;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });