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

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 (812) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +89 -2
  4. package/dist/aisdk.js +93 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{persistent-pty-858znxdh.js → file-00ahzcwm.js} +15 -15
  8. package/dist/chunks/{persistent-pty-7m5f9412.js → file-0h54jqbs.js} +8 -8
  9. package/dist/chunks/{persistent-pty-r0cp9c3a.js → file-0mt6cg7p.js} +6 -6
  10. package/dist/chunks/{persistent-pty-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{persistent-pty-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  12. package/dist/chunks/{persistent-pty-axcfkn0b.js → file-0s3e8wbd.js} +60 -53
  13. package/dist/chunks/{persistent-pty-pmr4s4kc.js → file-0v53mg2y.js} +4 -4
  14. package/dist/chunks/{persistent-pty-mm6h0sq5.js → file-0vdk82c3.js} +25 -25
  15. package/dist/chunks/{persistent-pty-07bs0vjz.js → file-10jz9m44.js} +13 -13
  16. package/dist/chunks/{persistent-pty-s586x74b.js → file-129brntk.js} +13 -13
  17. package/dist/chunks/{persistent-pty-xbh0n0bt.js → file-182z4mkv.js} +4 -4
  18. package/dist/chunks/{persistent-pty-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{persistent-pty-4xcpnpvy.js → file-1j54nx79.js} +8 -8
  20. package/dist/chunks/{persistent-pty-hz420t0m.js → file-1t72z6bs.js} +15 -15
  21. package/dist/chunks/{persistent-pty-dmcv08zt.js → file-1zzmp92z.js} +38 -25
  22. package/dist/chunks/{persistent-pty-21r38tys.js → file-21r38tys.js} +1 -1
  23. package/dist/chunks/{persistent-pty-tt6wxkxp.js → file-26m8t0ek.js} +23 -23
  24. package/dist/chunks/{persistent-pty-x49tpfx8.js → file-28q1zxr2.js} +8 -8
  25. package/dist/chunks/{persistent-pty-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{persistent-pty-vvgctfdq.js → file-2fy2emhs.js} +12 -12
  27. package/dist/chunks/{persistent-pty-8gp97p59.js → file-2jtppnb6.js} +25 -25
  28. package/dist/chunks/{persistent-pty-7dqw4kz8.js → file-2k8khapm.js} +5 -5
  29. package/dist/chunks/{persistent-pty-enks4xxx.js → file-2m2rh4pc.js} +8 -8
  30. package/dist/chunks/{persistent-pty-pedsh274.js → file-2rpf5fdd.js} +6 -6
  31. package/dist/chunks/{persistent-pty-dqhps3gd.js → file-2yrd4w3g.js} +14 -17
  32. package/dist/chunks/{persistent-pty-k165hmq5.js → file-2zf3hwjc.js} +22 -22
  33. package/dist/chunks/{persistent-pty-nnrfkqda.js → file-313wy76v.js} +18 -18
  34. package/dist/chunks/{persistent-pty-xf4dwdmn.js → file-34v3mw25.js} +18 -18
  35. package/dist/chunks/file-36msp9ny.js +26 -0
  36. package/dist/chunks/{persistent-pty-c24ss25q.js → file-3btn89ec.js} +10 -10
  37. package/dist/chunks/{persistent-pty-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{persistent-pty-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{persistent-pty-c1495ybz.js → file-3pbjq009.js} +6 -6
  40. package/dist/chunks/{persistent-pty-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{persistent-pty-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{persistent-pty-2wacw76k.js → file-3v0x2y7p.js} +29 -29
  43. package/dist/chunks/{persistent-pty-dyznf783.js → file-3w80k797.js} +59 -59
  44. package/dist/chunks/{persistent-pty-9fpgstc4.js → file-3xy0seps.js} +5 -5
  45. package/dist/chunks/{persistent-pty-e3db9cm6.js → file-3z6mat0v.js} +26 -26
  46. package/dist/chunks/{persistent-pty-w5dgsa5w.js → file-3zykk5as.js} +8 -8
  47. package/dist/chunks/{persistent-pty-pdn6mkhs.js → file-42j12a3k.js} +23 -23
  48. package/dist/chunks/{persistent-pty-q5rhn9x0.js → file-485fr60v.js} +7 -7
  49. package/dist/chunks/{persistent-pty-fch79rh9.js → file-4jc5c4h4.js} +1 -1
  50. package/dist/chunks/{persistent-pty-j0x671y3.js → file-4rcm86v0.js} +15 -15
  51. package/dist/chunks/{persistent-pty-496ptbe5.js → file-4zqrhqht.js} +51 -50
  52. package/dist/chunks/{persistent-pty-a8axnbpa.js → file-5276hfdk.js} +21 -21
  53. package/dist/chunks/{persistent-pty-rycxbs55.js → file-52zzeq6p.js} +30 -30
  54. package/dist/chunks/{persistent-pty-56gdpj1q.js → file-56gdpj1q.js} +2 -2
  55. package/dist/chunks/{persistent-pty-81swgkk7.js → file-57ez7d0k.js} +7 -7
  56. package/dist/chunks/{persistent-pty-4bdgx2my.js → file-58qyzcvs.js} +11 -11
  57. package/dist/chunks/{persistent-pty-0nvtj8my.js → file-5c70fjhz.js} +4 -4
  58. package/dist/chunks/{persistent-pty-5daktx2q.js → file-5daktx2q.js} +1 -1
  59. package/dist/chunks/{persistent-pty-marnn1hp.js → file-5phqnecy.js} +6 -6
  60. package/dist/chunks/{persistent-pty-paphc93g.js → file-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{persistent-pty-ayn42wpr.js → file-5r9teng0.js} +4 -4
  62. package/dist/chunks/{persistent-pty-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{persistent-pty-s8hds3n7.js → file-5vyabe77.js} +46 -46
  64. package/dist/chunks/{persistent-pty-y3qvm77n.js → file-5w575vpr.js} +5 -5
  65. package/dist/chunks/{persistent-pty-aa476z6j.js → file-658qrzb6.js} +4 -4
  66. package/dist/chunks/{persistent-pty-669tq793.js → file-669tq793.js} +1 -1
  67. package/dist/chunks/{persistent-pty-y75c90f9.js → file-6bxb4cxk.js} +9 -9
  68. package/dist/chunks/{persistent-pty-rvsh4nhd.js → file-6gryy3ht.js} +20 -20
  69. package/dist/chunks/{persistent-pty-2402vzrj.js → file-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{persistent-pty-a3gkz02n.js → file-6kg1vfnr.js} +6 -6
  71. package/dist/chunks/{persistent-pty-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{persistent-pty-jcyd57qm.js → file-6p7t068e.js} +9 -9
  73. package/dist/chunks/{persistent-pty-rjncv4cx.js → file-6s5nejzz.js} +11 -11
  74. package/dist/chunks/{persistent-pty-0c4p4pyk.js → file-6wce12fj.js} +30 -30
  75. package/dist/chunks/{persistent-pty-q8nw8w0b.js → file-6we377py.js} +23 -23
  76. package/dist/chunks/{persistent-pty-71q4at8m.js → file-71q4at8m.js} +1 -1
  77. package/dist/chunks/{persistent-pty-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{persistent-pty-jav6p6ha.js → file-7dx4zb5w.js} +34 -34
  79. package/dist/chunks/{persistent-pty-avan7d23.js → file-7e0sczy2.js} +19 -19
  80. package/dist/chunks/{persistent-pty-5aeq7032.js → file-7qb1bt6t.js} +13 -13
  81. package/dist/chunks/{persistent-pty-g25g5a4k.js → file-7vzzf4r8.js} +29 -29
  82. package/dist/chunks/{persistent-pty-s2q6918b.js → file-804mq7mh.js} +17 -17
  83. package/dist/chunks/{persistent-pty-758t4wd9.js → file-85170kwf.js} +30 -30
  84. package/dist/chunks/{persistent-pty-r12607a7.js → file-88t9pbvw.js} +17 -17
  85. package/dist/chunks/{persistent-pty-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{persistent-pty-8baymvr8.js → file-8fj94art.js} +4 -4
  87. package/dist/chunks/{persistent-pty-t7n9q6bq.js → file-8gxqpgph.js} +4 -4
  88. package/dist/chunks/{persistent-pty-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{persistent-pty-g25n9e5v.js → file-8yjzh81f.js} +22 -36
  90. package/dist/chunks/{persistent-pty-yag4m0hg.js → file-919h57eb.js} +31 -30
  91. package/dist/chunks/{persistent-pty-6rx7art5.js → file-9avcp2jz.js} +16 -16
  92. package/dist/chunks/{persistent-pty-4jkr53zg.js → file-9dvg4g8f.js} +22 -22
  93. package/dist/chunks/{persistent-pty-yzzaphg0.js → file-9tb0rzq8.js} +4 -4
  94. package/dist/chunks/{persistent-pty-9qxgj1yn.js → file-9vj1at0d.js} +11 -11
  95. package/dist/chunks/{persistent-pty-hk10kj8x.js → file-9x1sbddt.js} +13 -13
  96. package/dist/chunks/{persistent-pty-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{persistent-pty-aaet6srn.js → file-aaet6srn.js} +2 -2
  98. package/dist/chunks/{persistent-pty-s8zy8myc.js → file-af04s6ss.js} +5 -5
  99. package/dist/chunks/{persistent-pty-wzsbb5hr.js → file-agxtagsk.js} +32 -32
  100. package/dist/chunks/{persistent-pty-rq1dwzcr.js → file-ampdzzmt.js} +13 -13
  101. package/dist/chunks/{persistent-pty-0kbrq2j8.js → file-atrnym84.js} +12 -12
  102. package/dist/chunks/{persistent-pty-1nfpt5r1.js → file-avezr732.js} +4 -4
  103. package/dist/chunks/{persistent-pty-fmcf9gbb.js → file-b1e26q27.js} +36 -36
  104. package/dist/chunks/{persistent-pty-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{persistent-pty-mm04bz81.js → file-bd58x3af.js} +13 -13
  106. package/dist/chunks/{persistent-pty-qn4ba14w.js → file-bgxcxs0p.js} +5 -5
  107. package/dist/chunks/{persistent-pty-tspgchm8.js → file-bknfn28s.js} +20 -20
  108. package/dist/chunks/{persistent-pty-z2d75gdc.js → file-bq2epsr3.js} +20 -20
  109. package/dist/chunks/{persistent-pty-83x3c1cr.js → file-bycsbmk8.js} +6 -6
  110. package/dist/chunks/{persistent-pty-p1wf2k30.js → file-c4vcfcbt.js} +9 -9
  111. package/dist/chunks/{persistent-pty-3w2b2yj4.js → file-c78bbtc9.js} +5 -5
  112. package/dist/chunks/{persistent-pty-1bsf6wqz.js → file-cb51cg86.js} +97 -96
  113. package/dist/chunks/{persistent-pty-b1gy5zdm.js → file-cf2ej5qv.js} +11 -11
  114. package/dist/chunks/{persistent-pty-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{persistent-pty-2zw4rjvd.js → file-ckpz9tzv.js} +13 -13
  116. package/dist/chunks/file-cpj0znwe.js +24 -0
  117. package/dist/chunks/{persistent-pty-pqsh7sw8.js → file-cqc023f0.js} +22 -22
  118. package/dist/chunks/{persistent-pty-0wy9zd5d.js → file-da6evnzj.js} +11 -11
  119. package/dist/chunks/{persistent-pty-wk8vywde.js → file-de97ckz5.js} +16 -16
  120. package/dist/chunks/{persistent-pty-844ef7ks.js → file-dgj0dq1g.js} +8 -8
  121. package/dist/chunks/{persistent-pty-01375378.js → file-dqc15y4x.js} +2 -2
  122. package/dist/chunks/{persistent-pty-2p4phcfp.js → file-dqvbfby7.js} +196 -183
  123. package/dist/chunks/{persistent-pty-3ydh67fs.js → file-dtnrh8vj.js} +42 -42
  124. package/dist/chunks/{persistent-pty-2gj877a4.js → file-e1x4awme.js} +22 -22
  125. package/dist/chunks/{persistent-pty-e5nv3ght.js → file-e5nv3ght.js} +2 -2
  126. package/dist/chunks/{persistent-pty-r33ff4dw.js → file-e6hd9jay.js} +6 -6
  127. package/dist/chunks/{persistent-pty-jt82t686.js → file-eb6z8chr.js} +24 -24
  128. package/dist/chunks/{persistent-pty-sg67attt.js → file-ecmre7pn.js} +95 -95
  129. package/dist/chunks/{persistent-pty-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{persistent-pty-vrn1sxtn.js → file-ef6j5nc6.js} +9 -9
  131. package/dist/chunks/{persistent-pty-8rr4encj.js → file-ejt0hq34.js} +13 -13
  132. package/dist/chunks/{persistent-pty-nqm8jas2.js → file-em65arkj.js} +36 -36
  133. package/dist/chunks/{persistent-pty-72v2qqr0.js → file-emc9sr5q.js} +5 -5
  134. package/dist/chunks/{persistent-pty-crfr8jm1.js → file-eqjzvt4d.js} +10 -10
  135. package/dist/chunks/{persistent-pty-tfna5j6r.js → file-eqz5qmce.js} +17 -17
  136. package/dist/chunks/{persistent-pty-57e9z27j.js → file-et0rkxxj.js} +8 -8
  137. package/dist/chunks/{persistent-pty-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{persistent-pty-cztn7rx7.js → file-ev5x2d0f.js} +21 -14
  139. package/dist/chunks/{persistent-pty-f3ngv102.js → file-f3ngv102.js} +1 -1
  140. package/dist/chunks/{persistent-pty-wh1sxcy7.js → file-f42mf92g.js} +8 -8
  141. package/dist/chunks/{persistent-pty-csdaj16z.js → file-f5syc60y.js} +3 -3
  142. package/dist/chunks/{persistent-pty-f828m53h.js → file-f828m53h.js} +2 -2
  143. package/dist/chunks/{persistent-pty-pwxeempz.js → file-fctbv38k.js} +30 -30
  144. package/dist/chunks/{persistent-pty-74vtdart.js → file-ffs43ht2.js} +19 -19
  145. package/dist/chunks/{persistent-pty-kz993g5t.js → file-frmeqhta.js} +7 -7
  146. package/dist/chunks/{persistent-pty-yzpqraws.js → file-fvrhsr23.js} +2 -2
  147. package/dist/chunks/{persistent-pty-06tybfx6.js → file-fwkb73sv.js} +5 -5
  148. package/dist/chunks/{persistent-pty-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{persistent-pty-40ykk5rq.js → file-g0sczcq0.js} +22 -15
  150. package/dist/chunks/{persistent-pty-8hz2npkx.js → file-g601pm08.js} +8 -10
  151. package/dist/chunks/{persistent-pty-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{persistent-pty-cq5jfqfc.js → file-ggz1pmcj.js} +25 -25
  153. package/dist/chunks/{persistent-pty-vpesspm9.js → file-gs1hwhc0.js} +25 -25
  154. package/dist/chunks/{persistent-pty-gsx0ryk4.js → file-gsx0ryk4.js} +2 -2
  155. package/dist/chunks/{persistent-pty-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{persistent-pty-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  157. package/dist/chunks/{persistent-pty-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{persistent-pty-hfdr1yjj.js → file-hfdr1yjj.js} +4 -4
  159. package/dist/chunks/{persistent-pty-rsfa6j5g.js → file-hhh0a6zm.js} +9 -9
  160. package/dist/chunks/{persistent-pty-hjt4xg1x.js → file-hjt4xg1x.js} +1 -1
  161. package/dist/chunks/{persistent-pty-g8r6989n.js → file-hkcvz44k.js} +11 -11
  162. package/dist/chunks/{persistent-pty-9yr2yfq4.js → file-hq8zt1th.js} +6 -6
  163. package/dist/chunks/{persistent-pty-cjjk0ngx.js → file-hy5fgcee.js} +17 -17
  164. package/dist/chunks/{persistent-pty-tyqkzprt.js → file-j325xqev.js} +2 -2
  165. package/dist/chunks/{persistent-pty-j56e64zr.js → file-j56e64zr.js} +1 -1
  166. package/dist/chunks/{persistent-pty-7qbafv54.js → file-jac4mw22.js} +3 -3
  167. package/dist/chunks/{persistent-pty-svxpmbmv.js → file-jbkjz0j2.js} +35 -29
  168. package/dist/chunks/{persistent-pty-08c87ar3.js → file-jndejbar.js} +35 -34
  169. package/dist/chunks/{persistent-pty-c5gn303e.js → file-jva4mgym.js} +4 -4
  170. package/dist/chunks/{persistent-pty-kfekjm9s.js → file-jzt5g60a.js} +18 -18
  171. package/dist/chunks/{persistent-pty-qtj6hy35.js → file-k0mc747p.js} +42 -42
  172. package/dist/chunks/{persistent-pty-28m91z5w.js → file-k2bnz6b5.js} +52 -52
  173. package/dist/chunks/{persistent-pty-07yh2w3s.js → file-k2s68ryd.js} +6 -6
  174. package/dist/chunks/{persistent-pty-mnqckem1.js → file-k6wrm9a0.js} +49 -20
  175. package/dist/chunks/{persistent-pty-kyjj2hpk.js → file-kjpj2a9q.js} +31 -31
  176. package/dist/chunks/{persistent-pty-gwmaab63.js → file-kzw69375.js} +14 -14
  177. package/dist/chunks/{persistent-pty-zy1ry69w.js → file-m2cb1kfd.js} +35 -35
  178. package/dist/chunks/{persistent-pty-9fxcdvg0.js → file-m3td6s3w.js} +9 -9
  179. package/dist/chunks/{persistent-pty-pbkjeet7.js → file-m49cwa8c.js} +14 -14
  180. package/dist/chunks/{persistent-pty-4mdcdt6k.js → file-m4e3ywc5.js} +32 -32
  181. package/dist/chunks/{persistent-pty-gar1hgen.js → file-m7tah5hb.js} +6 -6
  182. package/dist/chunks/{persistent-pty-205snssp.js → file-m947q6k5.js} +24 -24
  183. package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{persistent-pty-zmjtwb5q.js → file-mcjktpac.js} +20 -20
  185. package/dist/chunks/{persistent-pty-zahra9jy.js → file-mkt4f7jq.js} +27 -27
  186. package/dist/chunks/{persistent-pty-xwy7nsbm.js → file-mnejq3c6.js} +13 -13
  187. package/dist/chunks/{persistent-pty-vj87fc1v.js → file-mppen3ja.js} +11 -11
  188. package/dist/chunks/{persistent-pty-brpq8yh8.js → file-mqadsv8v.js} +9 -9
  189. package/dist/chunks/{persistent-pty-rvxgyzv0.js → file-mry3yw3z.js} +34 -34
  190. package/dist/chunks/{persistent-pty-dpz13x6g.js → file-mv06p09r.js} +31 -31
  191. package/dist/chunks/{persistent-pty-r5x6zcsm.js → file-mvfsc1pv.js} +3 -3
  192. package/dist/chunks/{persistent-pty-xv814t3x.js → file-mw62vq54.js} +11 -11
  193. package/dist/chunks/{persistent-pty-km3hm7vc.js → file-n1jngd1w.js} +24 -24
  194. package/dist/chunks/{persistent-pty-pdps0bse.js → file-nc8419v6.js} +12 -12
  195. package/dist/chunks/{persistent-pty-2ww59eqx.js → file-ne2r7j9m.js} +22 -22
  196. package/dist/chunks/{persistent-pty-xqrmvh4d.js → file-nqrry9qg.js} +32 -32
  197. package/dist/chunks/{persistent-pty-xqmeh0zh.js → file-ns74bfrf.js} +19 -19
  198. package/dist/chunks/{persistent-pty-aemcnybr.js → file-nx3x71r4.js} +11 -11
  199. package/dist/chunks/{persistent-pty-16mp2rsj.js → file-p0bspynp.js} +5 -5
  200. package/dist/chunks/{persistent-pty-1nvffc7z.js → file-p9v06vkv.js} +7 -7
  201. package/dist/chunks/{persistent-pty-zd83r0vm.js → file-pajef2pp.js} +16 -16
  202. package/dist/chunks/{persistent-pty-b6thfyg0.js → file-ph5begyf.js} +37 -30
  203. package/dist/chunks/{persistent-pty-ch16p0qp.js → file-phc861ae.js} +3 -3
  204. package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{persistent-pty-pknna89w.js → file-pknna89w.js} +1 -1
  206. package/dist/chunks/{persistent-pty-0axr4kr0.js → file-pmh6tya1.js} +171 -9
  207. package/dist/chunks/{persistent-pty-1j73jf0y.js → file-pnwnc2eb.js} +12 -12
  208. package/dist/chunks/{persistent-pty-t6apg4xb.js → file-prvz8ejv.js} +18 -18
  209. package/dist/chunks/{persistent-pty-y1eyp4h1.js → file-pwpabjhk.js} +59 -59
  210. package/dist/chunks/{persistent-pty-qwgwmjpf.js → file-q4yxhgfy.js} +4 -4
  211. package/dist/chunks/file-qapv375x.js +4 -0
  212. package/dist/chunks/file-qc068m1q.js +18 -0
  213. package/dist/chunks/{persistent-pty-nc5bxtt4.js → file-qc0tpyc3.js} +9 -9
  214. package/dist/chunks/{persistent-pty-kh1txrez.js → file-qcd1qc15.js} +9 -9
  215. package/dist/chunks/{persistent-pty-41ysy2js.js → file-qd4n55pn.js} +33 -33
  216. package/dist/chunks/{persistent-pty-qj8patcw.js → file-qfa7jkp4.js} +8 -8
  217. package/dist/chunks/{persistent-pty-qsdy395h.js → file-qsdy395h.js} +1 -1
  218. package/dist/chunks/{persistent-pty-zb4p73ts.js → file-qyrnw00n.js} +17 -9
  219. package/dist/chunks/{persistent-pty-xta415tq.js → file-r0eemgrz.js} +23 -23
  220. package/dist/chunks/file-r3mfjy6q.js +472 -0
  221. package/dist/chunks/{persistent-pty-r9mregkx.js → file-r9mregkx.js} +2 -2
  222. package/dist/chunks/{persistent-pty-fhnehbw5.js → file-ra8qdd9e.js} +4 -4
  223. package/dist/chunks/{persistent-pty-zrhm0kb5.js → file-rcsscm7r.js} +11 -11
  224. package/dist/chunks/{persistent-pty-kg06axw8.js → file-rdw6cm16.js} +3 -1
  225. package/dist/chunks/{persistent-pty-vexsgc0a.js → file-rpp558y0.js} +32 -30
  226. package/dist/chunks/{persistent-pty-cw8m5w0x.js → file-ryjh9mcz.js} +6 -6
  227. package/dist/chunks/{persistent-pty-qm01ndw7.js → file-rzxstzmh.js} +14 -14
  228. package/dist/chunks/{persistent-pty-a23yy72n.js → file-s3dxyf65.js} +18 -18
  229. package/dist/chunks/{persistent-pty-9vcfs5dg.js → file-s48t05nw.js} +19 -19
  230. package/dist/chunks/{persistent-pty-s8d7rejh.js → file-s8d7rejh.js} +1 -1
  231. package/dist/chunks/{persistent-pty-tcmfg0c6.js → file-s8rxtnbc.js} +15 -15
  232. package/dist/chunks/{persistent-pty-d4eh0prg.js → file-scv7p57g.js} +9 -9
  233. package/dist/chunks/{persistent-pty-g8d3gcyj.js → file-sxz6gkc3.js} +4 -4
  234. package/dist/chunks/{persistent-pty-9w4ppqge.js → file-sznyev98.js} +5 -5
  235. package/dist/chunks/{persistent-pty-gk7f333q.js → file-t3x95jfd.js} +70 -70
  236. package/dist/chunks/file-t50jsm69.js +201 -0
  237. package/dist/chunks/{persistent-pty-a3sm1a4h.js → file-t6z0eevx.js} +19 -18
  238. package/dist/chunks/{persistent-pty-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{persistent-pty-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{persistent-pty-jjefxv93.js → file-tdqfck99.js} +14 -14
  241. package/dist/chunks/{persistent-pty-tdstcens.js → file-tdstcens.js} +1 -1
  242. package/dist/chunks/{persistent-pty-kz70mmnm.js → file-tg00ampp.js} +4 -4
  243. package/dist/chunks/{persistent-pty-496zq10v.js → file-tmz405jm.js} +33 -33
  244. package/dist/chunks/{persistent-pty-tvtrv512.js → file-tvtrv512.js} +1 -1
  245. package/dist/chunks/{persistent-pty-tvhq06z0.js → file-tz1hbxk4.js} +3 -3
  246. package/dist/chunks/{persistent-pty-p8ad8txy.js → file-v71dgxb6.js} +32 -32
  247. package/dist/chunks/{persistent-pty-wydq2hf7.js → file-vanydjgv.js} +51 -51
  248. package/dist/chunks/{persistent-pty-5765z361.js → file-vcyhp7t3.js} +11 -11
  249. package/dist/chunks/{persistent-pty-veqvce7d.js → file-veqvce7d.js} +1 -1
  250. package/dist/chunks/{persistent-pty-70znhec0.js → file-vfgva3xk.js} +24 -24
  251. package/dist/chunks/{persistent-pty-476tty53.js → file-vhvvs13s.js} +20 -20
  252. package/dist/chunks/{persistent-pty-n5hgnsg4.js → file-vm86ksqf.js} +8 -8
  253. package/dist/chunks/{persistent-pty-6kckr5h4.js → file-vmbah541.js} +6 -6
  254. package/dist/chunks/{persistent-pty-admsvzww.js → file-vq7z185x.js} +4 -4
  255. package/dist/chunks/{persistent-pty-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{persistent-pty-znp8765m.js → file-w0x3jd68.js} +26 -26
  257. package/dist/chunks/{persistent-pty-mfhfdr54.js → file-w1k39n5e.js} +4 -4
  258. package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  259. package/dist/chunks/{persistent-pty-jpej03b4.js → file-w75v1kbk.js} +1 -1
  260. package/dist/chunks/{persistent-pty-wd87259q.js → file-wd87259q.js} +1 -1
  261. package/dist/chunks/{persistent-pty-yxmjpxht.js → file-wdpdtye9.js} +28 -28
  262. package/dist/chunks/{persistent-pty-9z190z2h.js → file-wndsw9jd.js} +11 -11
  263. package/dist/chunks/{persistent-pty-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{persistent-pty-k8jcpvvr.js → file-x42bs0x6.js} +47 -47
  265. package/dist/chunks/{persistent-pty-tx9qvpbt.js → file-xe94yqgp.js} +3 -3
  266. package/dist/chunks/file-xfz9zfky.js +53 -0
  267. package/dist/chunks/{persistent-pty-156rc272.js → file-xgfp89dv.js} +15 -15
  268. package/dist/chunks/{persistent-pty-9zswys26.js → file-xhmq8qgk.js} +9 -9
  269. package/dist/chunks/{persistent-pty-s8hqqq62.js → file-xjrg1qn8.js} +18 -18
  270. package/dist/chunks/{persistent-pty-9nw0mbe1.js → file-y119texf.js} +28 -28
  271. package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{persistent-pty-wbjq657r.js → file-y3dttyaz.js} +39 -39
  273. package/dist/chunks/{persistent-pty-22cd4xtf.js → file-y6h4mdg2.js} +41 -41
  274. package/dist/chunks/{persistent-pty-y71avatq.js → file-y71avatq.js} +1 -1
  275. package/dist/chunks/{persistent-pty-44zaeaht.js → file-ye1wyhtp.js} +7 -7
  276. package/dist/chunks/{persistent-pty-dx72tz9d.js → file-yn670k7r.js} +28 -28
  277. package/dist/chunks/{persistent-pty-1acjjqhc.js → file-yp2x3t23.js} +4 -4
  278. package/dist/chunks/file-yqncp4jv.js +251 -0
  279. package/dist/chunks/{persistent-pty-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{persistent-pty-yrznvahk.js → file-yrznvahk.js} +2 -2
  281. package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{persistent-pty-z63w68vq.js → file-z63w68vq.js} +2 -2
  283. package/dist/chunks/{persistent-pty-d1qe38wd.js → file-z6cdq4y7.js} +4 -4
  284. package/dist/chunks/{persistent-pty-j91288an.js → file-z7bpncyg.js} +11 -11
  285. package/dist/chunks/{persistent-pty-xbh1yte2.js → file-zdw538jz.js} +16 -16
  286. package/dist/chunks/{persistent-pty-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{persistent-pty-5s1ew4p0.js → file-zg2jh87r.js} +14 -14
  288. package/dist/chunks/{persistent-pty-067daj8h.js → file-zkb0rj7d.js} +30 -30
  289. package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{persistent-pty-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +78 -78
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -19
  298. package/dist/config/plugin/agent.js +122 -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 +140 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -120
  304. package/dist/config/plugin/image.js +122 -119
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -119
  307. package/dist/config/plugin/mcp.js +129 -128
  308. package/dist/config/plugin/policy.js +122 -118
  309. package/dist/config/plugin/provider.js +121 -117
  310. package/dist/config/plugin/reference.js +124 -121
  311. package/dist/config/plugin/shell.js +124 -121
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -140
  314. package/dist/config/plugin/snapshot.js +122 -119
  315. package/dist/config/plugin/source.js +119 -115
  316. package/dist/config/plugin/tool-output.js +124 -121
  317. package/dist/config/plugin/websearch.js +123 -119
  318. package/dist/config/plugin/worktree.js +125 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +80 -80
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +1 -1
  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 +74 -74
  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 +1 -1
  425. package/dist/filesystem/search.js +100 -100
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +97 -97
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +105 -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 +95 -4
  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 +1 -1
  461. package/dist/integration/connection.js +11 -19
  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 +135 -135
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +86 -86
  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 +95 -4
  478. package/dist/model-resolver.js +98 -87
  479. package/dist/model.js +104 -11
  480. package/dist/models-dev.js +105 -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 +87 -87
  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 +98 -98
  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 +94 -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 +89 -2
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -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 +92 -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 +92 -81
  515. package/dist/plugin/provider/gitlab.js +90 -3
  516. package/dist/plugin/provider/google-vertex.js +89 -2
  517. package/dist/plugin/provider/kilo.js +89 -2
  518. package/dist/plugin/provider/llmgateway.js +89 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -80
  521. package/dist/plugin/provider/nvidia.js +89 -2
  522. package/dist/plugin/provider/ollama.js +119 -119
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +91 -79
  525. package/dist/plugin/provider/opencode.js +92 -80
  526. package/dist/plugin/provider/openrouter.js +90 -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 +90 -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 +89 -2
  534. package/dist/plugin/provider/vllm.js +119 -119
  535. package/dist/plugin/provider/xai.js +90 -78
  536. package/dist/plugin/provider/zenmux.js +89 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +69 -69
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +138 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +91 -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 +120 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  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 +227 -227
  556. package/dist/project/schema.js +6 -6
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +85 -85
  559. package/dist/provider.js +101 -8
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  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 +3 -3
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +92 -92
  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 +131 -131
  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 +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +128 -128
  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 +76 -76
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  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 +98 -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 +123 -123
  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 +170 -170
  608. package/dist/session/shell.js +137 -134
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +76 -75
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +153 -153
  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 +13 -13
  625. package/dist/shell.js +139 -136
  626. package/dist/skill/discovery.js +2 -2
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +105 -105
  629. package/dist/snapshot.js +92 -92
  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 +123 -123
  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 +123 -123
  637. package/dist/tool/plugin/grep.js +121 -121
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +104 -104
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +110 -110
  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 +113 -113
  647. package/dist/tool/plugin/write.js +115 -115
  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 +13 -13
  652. package/dist/types/github-copilot/models.d.ts +61 -0
  653. package/dist/types/instance.d.ts +3 -2
  654. package/dist/types/integration/connection.d.ts +8 -0
  655. package/dist/types/integration.d.ts +2 -0
  656. package/dist/types/modal/models.d.ts +30 -0
  657. package/dist/types/model-resolver.d.ts +2 -3
  658. package/dist/types/model.d.ts +33 -0
  659. package/dist/types/plugin/host.d.ts +4 -3
  660. package/dist/types/plugin/internal.d.ts +4 -3
  661. package/dist/types/plugin/provider/azure.d.ts +2 -1
  662. package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +2 -1
  663. package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +2 -1
  664. package/dist/types/plugin/provider/configured.d.ts +1 -2
  665. package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
  666. package/dist/types/plugin/provider/modal.d.ts +2 -2
  667. package/dist/types/plugin/provider/snowflake-cortex.d.ts +2 -1
  668. package/dist/types/provider.d.ts +43 -1
  669. package/dist/types/state.d.ts +4 -0
  670. package/dist/types/v1/config/migrate.d.ts +3 -3
  671. package/dist/util/error-summary.js +1 -1
  672. package/dist/util/error.js +1 -1
  673. package/dist/util/git-executable.js +2 -2
  674. package/dist/util/iife.js +1 -1
  675. package/dist/util/lazy.js +1 -1
  676. package/dist/util/slug.js +1 -1
  677. package/dist/util/token.js +1 -1
  678. package/dist/util/which.js +1 -1
  679. package/dist/util/wildcard.js +1 -1
  680. package/dist/v1/config/agent.js +5 -5
  681. package/dist/v1/config/attachment.js +4 -4
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/config.js +16 -16
  684. package/dist/v1/config/error.js +2 -2
  685. package/dist/v1/config/formatter.js +5 -5
  686. package/dist/v1/config/layout.js +1 -1
  687. package/dist/v1/config/lsp.js +5 -5
  688. package/dist/v1/config/mcp.js +4 -4
  689. package/dist/v1/config/migrate.js +91 -4
  690. package/dist/v1/config/permission.js +1 -1
  691. package/dist/v1/config/plugin.js +3 -3
  692. package/dist/v1/config/provider-options.js +1 -1
  693. package/dist/v1/config/provider.js +4 -4
  694. package/dist/v1/config/server.js +2 -2
  695. package/dist/v1/config/skills.js +3 -3
  696. package/dist/v1/permission.js +1 -1
  697. package/dist/vcs/patch.js +1 -1
  698. package/dist/vcs.js +86 -86
  699. package/dist/websearch.js +83 -83
  700. package/dist/wellknown/plugin.js +73 -73
  701. package/dist/wellknown.js +78 -78
  702. package/dist/workspace/driver.js +5 -5
  703. package/dist/workspace/sql.js +1 -1
  704. package/dist/workspace.js +77 -77
  705. package/dist/worktree/directory.js +2 -2
  706. package/dist/worktree/git.js +8 -8
  707. package/dist/worktree/refresh.js +345 -345
  708. package/dist/worktree/sql.js +5 -5
  709. package/dist/worktree.js +91 -91
  710. package/package.json +8 -8
  711. package/dist/catalog.js +0 -89
  712. package/dist/chunks/persistent-pty-0mesazry.js +0 -4
  713. package/dist/chunks/persistent-pty-0vt4hkwr.js +0 -55
  714. package/dist/chunks/persistent-pty-67z4309q.js +0 -193
  715. package/dist/chunks/persistent-pty-by5v678g.js +0 -18
  716. package/dist/chunks/persistent-pty-e6mws8mz.js +0 -26
  717. package/dist/chunks/persistent-pty-hnc9qj7b.js +0 -49
  718. package/dist/chunks/persistent-pty-nn38a0fv.js +0 -247
  719. package/dist/chunks/persistent-pty-rt91ng8c.js +0 -466
  720. package/dist/types/catalog.d.ts +0 -49
  721. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-2710q6r3.js → file-2710q6r3.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-359p4xyc.js → file-359p4xyc.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-3asan66x.js → file-3asan66x.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-53557ph1.js → file-53557ph1.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-550bvhaj.js → file-550bvhaj.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-6prwharc.js → file-6prwharc.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-7m9af43g.js → file-7m9af43g.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-822emrt2.js → file-822emrt2.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-8n3pysct.js → file-8n3pysct.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-922hggd3.js → file-922hggd3.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-af5trqkr.js → file-af5trqkr.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-afrmfg78.js → file-afrmfg78.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-d9fn303g.js → file-d9fn303g.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-dajrwvna.js → file-dajrwvna.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-dap0rakb.js → file-dap0rakb.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-df08tz66.js → file-df08tz66.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-dy18nga0.js → file-dy18nga0.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-ec1grn59.js → file-ec1grn59.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-faypxj3z.js → file-faypxj3z.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-fd410y7t.js → file-fd410y7t.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-g86h250q.js → file-g86h250q.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-gftt206x.js → file-gftt206x.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-hk9envan.js → file-hk9envan.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-mp448xyj.js → file-mp448xyj.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-njntx4h6.js → file-njntx4h6.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-q74kybfr.js → file-q74kybfr.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  801. /package/dist/chunks/{persistent-pty-twg0f83k.js → file-twg0f83k.js} +0 -0
  802. /package/dist/chunks/{persistent-pty-w803qqfp.js → file-w803qqfp.js} +0 -0
  803. /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  804. /package/dist/chunks/{persistent-pty-wtztk69x.js → file-wtztk69x.js} +0 -0
  805. /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  806. /package/dist/chunks/{persistent-pty-x61499pn.js → file-x61499pn.js} +0 -0
  807. /package/dist/chunks/{persistent-pty-y44na4kk.js → file-y44na4kk.js} +0 -0
  808. /package/dist/chunks/{persistent-pty-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  809. /package/dist/chunks/{persistent-pty-y8f7s663.js → file-y8f7s663.js} +0 -0
  810. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  811. /package/dist/chunks/{persistent-pty-ym463w8f.js → file-ym463w8f.js} +0 -0
  812. /package/dist/chunks/{persistent-pty-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./persistent-pty-wk8vywde.js";
5
+ Service77
6
+ } from "./file-de97ckz5.js";
7
7
  import {
8
- Service58
9
- } from "./persistent-pty-kfekjm9s.js";
8
+ Service23
9
+ } from "./file-jzt5g60a.js";
10
10
  import {
11
- Service10
12
- } from "./persistent-pty-4jkr53zg.js";
11
+ Service7
12
+ } from "./file-9dvg4g8f.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./persistent-pty-2a5m3afh.js";
15
+ } from "./file-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service11
27
- } from "./persistent-pty-j0x671y3.js";
26
+ Service6
27
+ } from "./file-4rcm86v0.js";
28
28
  import {
29
29
  __export
30
- } from "./persistent-pty-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin30,
35
+ Input: () => Input2,
36
+ Plugin: () => Plugin3,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent6
38
+ name: () => name2,
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name10 = "read";
45
+ var name2 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input2 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin30 = {
58
+ var Plugin3 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service11;
62
- const access = yield* Service58;
63
- const sessionInstructions = yield* Service10;
61
+ const reader = yield* Service6;
62
+ const access = yield* Service23;
63
+ const sessionInstructions = yield* Service7;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service76;
65
+ const location = yield* Service77;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name2,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input2,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin30 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent6(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent6 = (path, offset, output) => {
147
+ var toModelContent2 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name10, Input10, Plugin30, toModelContent6, exports_read };
183
+ export { name2, Input2, Plugin3, toModelContent2, exports_read };
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service79
3
- } from "./persistent-pty-zd83r0vm.js";
2
+ Service80
3
+ } from "./file-pajef2pp.js";
4
4
  import {
5
- Service76
6
- } from "./persistent-pty-wk8vywde.js";
5
+ Service77
6
+ } from "./file-de97ckz5.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service35
10
- } from "./persistent-pty-28m91z5w.js";
9
+ Service36
10
+ } from "./file-k2bnz6b5.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin45
19
+ Plugin: () => Plugin46
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin45 = define({
196
+ var Plugin46 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service76;
200
- const mcp = yield* Service35;
201
- const bus = yield* Service79;
199
+ const location = yield* Service77;
200
+ const mcp = yield* Service36;
201
+ const bus = yield* Service80;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
204
204
  loaded.prompts = yield* mcp.prompts();
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin45, exports_command2 };
283
+ export { Plugin46, exports_command2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID15,
2
+ ID6,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./persistent-pty-0axr4kr0.js";
6
+ } from "./file-pmh6tya1.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service71,
16
+ Service: () => Service58,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node76
18
+ node: () => node62
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID15,
131
+ providerID: ID6,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service71 extends Context.Service()("@opencode/AISDK") {
139
+ class Service58 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service71, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service71.of({
179
+ const service = Service58.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
817
817
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
818
818
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
819
819
  }
820
- var node76 = makeLocationNode({ service: Service71, layer: locationLayer2, deps: [] });
820
+ var node62 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
821
821
 
822
- export { InitError2, Service71, locationLayer2, node76, exports_aisdk };
822
+ export { InitError2, Service58, locationLayer2, node62, exports_aisdk };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-zrhm0kb5.js";
3
+ } from "./file-rcsscm7r.js";
4
4
  import {
5
5
  call2
6
- } from "./persistent-pty-56gdpj1q.js";
6
+ } from "./file-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin35,
14
+ Plugin: () => Plugin37,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin35 = define({
36
+ var Plugin37 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin35 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin35 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint2, Plugin35, exports_tinyfish };
76
+ export { endpoint4, Plugin37, exports_tinyfish };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service80
3
- } from "./persistent-pty-aemcnybr.js";
2
+ Service81
3
+ } from "./file-nx3x71r4.js";
4
4
  import {
5
- Service79
6
- } from "./persistent-pty-zd83r0vm.js";
5
+ Service80
6
+ } from "./file-pajef2pp.js";
7
7
  import {
8
- Service48
9
- } from "./persistent-pty-9yr2yfq4.js";
8
+ Service50
9
+ } from "./file-hq8zt1th.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./persistent-pty-fxbjtjnd.js";
12
+ } from "./file-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./persistent-pty-gftt206x.js";
15
+ } from "./file-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError10,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./persistent-pty-r0cp9c3a.js";
23
+ } from "./file-0mt6cg7p.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./persistent-pty-ec1grn59.js";
26
+ } from "./file-ec1grn59.js";
27
27
  import {
28
- Service60
29
- } from "./persistent-pty-74vtdart.js";
28
+ Service68
29
+ } from "./file-ffs43ht2.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service46
34
- } from "./persistent-pty-znp8765m.js";
33
+ Service51
34
+ } from "./file-w0x3jd68.js";
35
35
  import {
36
- Service44
37
- } from "./persistent-pty-qtj6hy35.js";
36
+ Service48
37
+ } from "./file-k0mc747p.js";
38
38
  import {
39
39
  prepare2
40
- } from "./persistent-pty-6rx7art5.js";
40
+ } from "./file-9avcp2jz.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./persistent-pty-mm6h0sq5.js";
45
+ } from "./file-0vdk82c3.js";
46
46
  import {
47
47
  start2
48
- } from "./persistent-pty-nc5bxtt4.js";
48
+ } from "./file-qc0tpyc3.js";
49
49
  import {
50
50
  get4
51
- } from "./persistent-pty-9fxcdvg0.js";
51
+ } from "./file-m3td6s3w.js";
52
52
  import {
53
53
  __export
54
- } from "./persistent-pty-9rqn6x4v.js";
54
+ } from "./file-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service79;
67
- const database = yield* Service80;
68
- const store = yield* Service60;
69
- const instances = yield* Service48;
70
- const execution = yield* Service44;
71
- const admission = yield* Service46;
66
+ const bus = yield* Service80;
67
+ const database = yield* Service81;
68
+ const store = yield* Service68;
69
+ const instances = yield* Service50;
70
+ const execution = yield* Service48;
71
+ const admission = yield* Service51;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError10({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service81, database), Effect.provideService(Service80, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service80, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./persistent-pty-zd83r0vm.js";
2
+ Service80,
3
+ node85
4
+ } from "./file-pajef2pp.js";
5
5
  import {
6
6
  environment2
7
- } from "./persistent-pty-9vcfs5dg.js";
7
+ } from "./file-s48t05nw.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./persistent-pty-sk3qaz4a.js";
10
+ } from "./file-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError6,
20
- Options: () => Options6,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service53,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured8,
25
- layer: () => layer19,
26
- node: () => node58
22
+ Service: () => Service21,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured4,
25
+ layer: () => layer11,
26
+ node: () => node25
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options6 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service53 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service21 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* () {
53
- const bus = yield* Service79;
52
+ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
53
+ const bus = yield* Service80;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError6({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service53.of({
242
+ return Service21.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer19 = makeLayer();
259
- var configured8 = (options) => makeGlobalNode({
260
- service: Service53,
261
- layer: options === undefined ? layer19 : makeLayer(options),
262
- deps: [node84, Global.node]
258
+ var layer11 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service21,
261
+ layer: options === undefined ? layer11 : makeLayer(options),
262
+ deps: [node85, Global.node]
263
263
  });
264
- var node58 = configured8();
264
+ var node25 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options6, UnavailableError2, NotFoundError6, Service53, layer19, configured8, node58, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError3, NotFoundError4, Service21, layer11, configured4, node25, exports_persistent_pty, Handoff2 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./persistent-pty-qaymkmh1.js";
3
+ } from "./file-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make5(input) {
8
+ function make4(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make5 };
264
+ export { make4 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./persistent-pty-tazgh4e4.js";
3
+ } from "./file-tazgh4e4.js";
4
4
  import {
5
- ID6,
6
- Service40
7
- } from "./persistent-pty-41ysy2js.js";
5
+ ID13,
6
+ Service70
7
+ } from "./file-qd4n55pn.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./persistent-pty-csdaj16z.js";
10
+ } from "./file-f5syc60y.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./persistent-pty-r0cp9c3a.js";
13
+ } from "./file-0mt6cg7p.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./persistent-pty-a1bz86dw.js";
16
+ } from "./file-a1bz86dw.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service40;
84
+ const snapshot = yield* Service70;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID6.make(from),
91
- to: ID6.make(to),
90
+ from: ID13.make(from),
91
+ to: ID13.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));