@opencode/core 0.0.0-dev-19726 → 0.0.0-dev-19728

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{websearch-w1k39n5e.js → persistent-pty-06dxphr1.js} +4 -4
  8. package/dist/chunks/{websearch-ntzn41cr.js → persistent-pty-08bhejcc.js} +24 -24
  9. package/dist/chunks/{websearch-9mspnbyh.js → persistent-pty-0abzxk01.js} +47 -47
  10. package/dist/chunks/{websearch-95srxab2.js → persistent-pty-0bjwe8an.js} +7 -7
  11. package/dist/chunks/{websearch-1t6x3rcf.js → persistent-pty-0f1em0ez.js} +17 -17
  12. package/dist/chunks/{websearch-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
  13. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  14. package/dist/chunks/{websearch-k7xyn1d6.js → persistent-pty-0nvdzmpy.js} +26 -26
  15. package/dist/chunks/{websearch-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{websearch-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{websearch-j3vbzy50.js → persistent-pty-0q14gyha.js} +4 -4
  18. package/dist/chunks/{websearch-y5pxcw36.js → persistent-pty-0y4tsv4g.js} +3 -3
  19. package/dist/chunks/{websearch-kbyydvt3.js → persistent-pty-18yg4hgb.js} +5 -5
  20. package/dist/chunks/{websearch-ad2rxyny.js → persistent-pty-19e86vrr.js} +32 -32
  21. package/dist/chunks/{websearch-6494ngt7.js → persistent-pty-1c6r0v3g.js} +15 -15
  22. package/dist/chunks/{websearch-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{websearch-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  24. package/dist/chunks/{websearch-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
  25. package/dist/chunks/{websearch-1b53cfnj.js → persistent-pty-27kesqea.js} +28 -28
  26. package/dist/chunks/{websearch-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{websearch-ff7vxqds.js → persistent-pty-2gbsvbx5.js} +12 -12
  28. package/dist/chunks/{websearch-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
  29. package/dist/chunks/{websearch-amcw3xe5.js → persistent-pty-2rwww3fn.js} +5 -5
  30. package/dist/chunks/{websearch-7sg42d4j.js → persistent-pty-2xh021f3.js} +20 -20
  31. package/dist/chunks/{websearch-4jv7e9dq.js → persistent-pty-2y34zzjz.js} +9 -9
  32. package/dist/chunks/{websearch-nesqjncw.js → persistent-pty-3dnp56pr.js} +13 -13
  33. package/dist/chunks/{websearch-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{websearch-35m7c38y.js → persistent-pty-3hdyanjz.js} +4 -4
  35. package/dist/chunks/{websearch-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{websearch-3cx63w9k.js → persistent-pty-3kzm2gg7.js} +15 -15
  37. package/dist/chunks/{websearch-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{websearch-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{websearch-wyfky7qa.js → persistent-pty-43v53x48.js} +14 -14
  40. package/dist/chunks/{websearch-3prwhemk.js → persistent-pty-43vp44v8.js} +42 -42
  41. package/dist/chunks/{websearch-fkjmw100.js → persistent-pty-44ke2mar.js} +6 -6
  42. package/dist/chunks/{websearch-7mncpb7s.js → persistent-pty-46h4yk7y.js} +9 -9
  43. package/dist/chunks/{websearch-hmhpp73g.js → persistent-pty-476xsedq.js} +10 -10
  44. package/dist/chunks/{websearch-5cp6651z.js → persistent-pty-4bm5ja14.js} +4 -4
  45. package/dist/chunks/{websearch-11fbehs9.js → persistent-pty-4kqw14kn.js} +13 -13
  46. package/dist/chunks/{websearch-34ngepqf.js → persistent-pty-4scff3yx.js} +92 -92
  47. package/dist/chunks/{websearch-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
  48. package/dist/chunks/{websearch-mdcbk6e4.js → persistent-pty-58b33b18.js} +7 -7
  49. package/dist/chunks/{websearch-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
  50. package/dist/chunks/{websearch-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  51. package/dist/chunks/{websearch-tn7wjcpc.js → persistent-pty-5hj37ers.js} +44 -44
  52. package/dist/chunks/{websearch-ac4r481x.js → persistent-pty-5qzy05yz.js} +20 -20
  53. package/dist/chunks/{websearch-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  54. package/dist/chunks/{websearch-1pxnjy9w.js → persistent-pty-5v97j575.js} +21 -21
  55. package/dist/chunks/{websearch-x3ea811x.js → persistent-pty-5vmxkdvd.js} +11 -11
  56. package/dist/chunks/{websearch-44ryhxgb.js → persistent-pty-5yp8twyc.js} +33 -33
  57. package/dist/chunks/{websearch-tqde4kee.js → persistent-pty-623746t2.js} +13 -13
  58. package/dist/chunks/{websearch-669tq793.js → persistent-pty-669tq793.js} +1 -1
  59. package/dist/chunks/{websearch-fkv8g0v1.js → persistent-pty-66dyjrem.js} +25 -25
  60. package/dist/chunks/{websearch-2kkb54wy.js → persistent-pty-69qp09he.js} +4 -4
  61. package/dist/chunks/{websearch-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{websearch-vb47znx6.js → persistent-pty-6nagbv76.js} +17 -17
  63. package/dist/chunks/{websearch-w9fh9rp1.js → persistent-pty-7158h6s7.js} +35 -35
  64. package/dist/chunks/{websearch-j0xwbvkd.js → persistent-pty-74esd9zg.js} +11 -11
  65. package/dist/chunks/{websearch-r1nzxzk3.js → persistent-pty-78b8afjy.js} +11 -11
  66. package/dist/chunks/{websearch-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{websearch-e2e54bcg.js → persistent-pty-7kjjtcaz.js} +9 -9
  68. package/dist/chunks/{websearch-h0kkfn6x.js → persistent-pty-7p76c24s.js} +3 -3
  69. package/dist/chunks/{websearch-fvm632bv.js → persistent-pty-7vnscw7e.js} +28 -28
  70. package/dist/chunks/{websearch-6v90sdn8.js → persistent-pty-7x79k76q.js} +33 -33
  71. package/dist/chunks/{websearch-pwhxjrkr.js → persistent-pty-7ycevcb9.js} +8 -8
  72. package/dist/chunks/{websearch-mfbsr9ym.js → persistent-pty-8106cjk8.js} +22 -22
  73. package/dist/chunks/{websearch-hykm20ba.js → persistent-pty-85htkvce.js} +9 -9
  74. package/dist/chunks/{websearch-0cr4wcw3.js → persistent-pty-8byt1a1f.js} +88 -88
  75. package/dist/chunks/{websearch-fdyxrhgm.js → persistent-pty-8ckeceky.js} +23 -23
  76. package/dist/chunks/{websearch-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  77. package/dist/chunks/{websearch-y53nxhnd.js → persistent-pty-8da4efp4.js} +11 -11
  78. package/dist/chunks/{websearch-b6ba80dv.js → persistent-pty-8hwhcqqg.js} +20 -20
  79. package/dist/chunks/{websearch-fjshgbpx.js → persistent-pty-8p23sgx2.js} +26 -26
  80. package/dist/chunks/{websearch-wek9cs2v.js → persistent-pty-8v94ed5m.js} +38 -38
  81. package/dist/chunks/{websearch-1bc1vam0.js → persistent-pty-94n6ez7z.js} +18 -18
  82. package/dist/chunks/{websearch-a1pdeahv.js → persistent-pty-9c8f3b19.js} +4 -4
  83. package/dist/chunks/{websearch-8n69n882.js → persistent-pty-9ex8f1cq.js} +8 -8
  84. package/dist/chunks/{websearch-0jdsmxy0.js → persistent-pty-9kzytzbk.js} +43 -43
  85. package/dist/chunks/{websearch-atm3m4cm.js → persistent-pty-9p9te0yq.js} +26 -26
  86. package/dist/chunks/{websearch-xgzkh95h.js → persistent-pty-9y5n8jnt.js} +21 -21
  87. package/dist/chunks/{websearch-n9n6b8bc.js → persistent-pty-9ytqehrq.js} +11 -11
  88. package/dist/chunks/{websearch-g6dazs8d.js → persistent-pty-9zmt1vx9.js} +33 -33
  89. package/dist/chunks/{websearch-s8610hey.js → persistent-pty-a3r4dcrj.js} +2 -2
  90. package/dist/chunks/{websearch-2df97718.js → persistent-pty-a4bygxwv.js} +20 -20
  91. package/dist/chunks/{websearch-wz6c4wjy.js → persistent-pty-a6ydtnj7.js} +22 -22
  92. package/dist/chunks/{websearch-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  93. package/dist/chunks/{websearch-74rrnwt7.js → persistent-pty-ab8cnxkj.js} +12 -12
  94. package/dist/chunks/{websearch-p44d8wdy.js → persistent-pty-af04s6ss.js} +5 -5
  95. package/dist/chunks/{websearch-hn57h045.js → persistent-pty-afdssyjb.js} +4 -4
  96. package/dist/chunks/{websearch-p9199vqh.js → persistent-pty-ah4kcnx7.js} +9 -9
  97. package/dist/chunks/{websearch-bcrtfppw.js → persistent-pty-ahpfebvr.js} +20 -20
  98. package/dist/chunks/{websearch-tpq2hd4z.js → persistent-pty-ahszpzb1.js} +1 -1
  99. package/dist/chunks/{websearch-wf538q6w.js → persistent-pty-akrnn5pm.js} +6 -6
  100. package/dist/chunks/{websearch-5qqj1w64.js → persistent-pty-aw8xkpzd.js} +29 -29
  101. package/dist/chunks/{websearch-hbmnenma.js → persistent-pty-b5ew5r0t.js} +175 -175
  102. package/dist/chunks/{websearch-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{websearch-s6dasder.js → persistent-pty-ba82ctx4.js} +55 -55
  104. package/dist/chunks/{websearch-wmc81avc.js → persistent-pty-be0xfwc6.js} +13 -13
  105. package/dist/chunks/{websearch-ve4pfa0n.js → persistent-pty-bf0ztrs3.js} +4 -4
  106. package/dist/chunks/{websearch-pjz7yeqt.js → persistent-pty-bkzets0h.js} +5 -5
  107. package/dist/chunks/{websearch-vhw1ncwr.js → persistent-pty-bp73j9d8.js} +17 -17
  108. package/dist/chunks/{websearch-6f890ccd.js → persistent-pty-br0tr5aq.js} +8 -8
  109. package/dist/chunks/persistent-pty-btx52nm0.js +478 -0
  110. package/dist/chunks/{websearch-4jc5c4h4.js → persistent-pty-bz85s9hh.js} +1 -1
  111. package/dist/chunks/{websearch-t0fxg8b9.js → persistent-pty-c78bbtc9.js} +5 -5
  112. package/dist/chunks/{websearch-v27dtnaa.js → persistent-pty-c9rej1jf.js} +18 -18
  113. package/dist/chunks/{websearch-a50trx6m.js → persistent-pty-cjzmr2wc.js} +41 -41
  114. package/dist/chunks/{websearch-z1y8m30d.js → persistent-pty-cm8msd5e.js} +24 -24
  115. package/dist/chunks/{websearch-v760n2zd.js → persistent-pty-da6xg5hq.js} +54 -54
  116. package/dist/chunks/{websearch-76wb4w8g.js → persistent-pty-db85t7kk.js} +11 -11
  117. package/dist/chunks/{websearch-jawc5a8y.js → persistent-pty-dbyf6pmq.js} +12 -12
  118. package/dist/chunks/{websearch-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
  119. package/dist/chunks/{websearch-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  120. package/dist/chunks/{websearch-azx168sb.js → persistent-pty-dq3nzk0j.js} +19 -19
  121. package/dist/chunks/{websearch-8h6enw4p.js → persistent-pty-dws7cgfq.js} +3 -3
  122. package/dist/chunks/{websearch-7k56d7ba.js → persistent-pty-dxhjx9yt.js} +18 -18
  123. package/dist/chunks/persistent-pty-dxj72tfx.js +18 -0
  124. package/dist/chunks/{websearch-w8mfkrd2.js → persistent-pty-dyyx6kgc.js} +18 -18
  125. package/dist/chunks/{websearch-71tstvm5.js → persistent-pty-e0k9jqvk.js} +11 -11
  126. package/dist/chunks/{websearch-02nrjc1r.js → persistent-pty-eaj1djv9.js} +4 -4
  127. package/dist/chunks/{websearch-jnfdvecq.js → persistent-pty-edcwcjj7.js} +16 -16
  128. package/dist/chunks/{websearch-p1kt70e2.js → persistent-pty-edjqbjbz.js} +3 -3
  129. package/dist/chunks/{websearch-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  130. package/dist/chunks/{websearch-hra6zdse.js → persistent-pty-em0daefh.js} +12 -12
  131. package/dist/chunks/{websearch-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  132. package/dist/chunks/{websearch-khybfek0.js → persistent-pty-fgj0ctqj.js} +24 -24
  133. package/dist/chunks/{websearch-rxph5gcs.js → persistent-pty-fwbhdv10.js} +11 -11
  134. package/dist/chunks/{websearch-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{websearch-468ms2xs.js → persistent-pty-fxyabwbq.js} +6 -6
  136. package/dist/chunks/{websearch-qfc3vy0d.js → persistent-pty-g06jb19y.js} +7 -7
  137. package/dist/chunks/{websearch-f2jpp01n.js → persistent-pty-ga8ekxq3.js} +8 -8
  138. package/dist/chunks/{websearch-fj7pky7r.js → persistent-pty-gakcnn0z.js} +10 -10
  139. package/dist/chunks/{websearch-34f9jsxp.js → persistent-pty-gcbc03sz.js} +22 -22
  140. package/dist/chunks/{websearch-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{websearch-fxqygnfa.js → persistent-pty-gnx4ytbv.js} +4 -4
  142. package/dist/chunks/{websearch-g8wxz3bw.js → persistent-pty-gq0aze3h.js} +29 -29
  143. package/dist/chunks/{websearch-fe7nnn6e.js → persistent-pty-gsphepnq.js} +8 -8
  144. package/dist/chunks/{websearch-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{websearch-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  146. package/dist/chunks/{websearch-nzyhnfxz.js → persistent-pty-h6r3nrb9.js} +4 -4
  147. package/dist/chunks/{websearch-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{websearch-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
  149. package/dist/chunks/{websearch-42xr5rts.js → persistent-pty-hds23wzw.js} +14 -14
  150. package/dist/chunks/{websearch-4qxmcfde.js → persistent-pty-hmdeq4v3.js} +18 -18
  151. package/dist/chunks/{websearch-vg2wyg4e.js → persistent-pty-hp1gy4dq.js} +36 -24
  152. package/dist/chunks/{websearch-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  153. package/dist/chunks/{websearch-hwjyn0yt.js → persistent-pty-j58c5xyq.js} +9 -9
  154. package/dist/chunks/{websearch-x5rjwhsa.js → persistent-pty-j8bvp1fm.js} +22 -22
  155. package/dist/chunks/{websearch-t4rghkh8.js → persistent-pty-j8ew5444.js} +5 -5
  156. package/dist/chunks/{websearch-p4tf5mma.js → persistent-pty-j92nbs9r.js} +16 -16
  157. package/dist/chunks/{websearch-kg8nd7j6.js → persistent-pty-jaqtfry5.js} +18 -18
  158. package/dist/chunks/{websearch-2f04pwep.js → persistent-pty-jexxy024.js} +3 -3
  159. package/dist/chunks/{websearch-1qr8tbft.js → persistent-pty-jjht5kq7.js} +15 -15
  160. package/dist/chunks/{websearch-annhxna8.js → persistent-pty-jqczgfd0.js} +39 -39
  161. package/dist/chunks/{websearch-217w27pp.js → persistent-pty-jxm7mf79.js} +6 -6
  162. package/dist/chunks/{websearch-4e8vs6eh.js → persistent-pty-k1gkpfdk.js} +8 -8
  163. package/dist/chunks/{websearch-nzks3jc8.js → persistent-pty-k3c624dm.js} +3 -3
  164. package/dist/chunks/{websearch-jppvw2tx.js → persistent-pty-k3gnzxs0.js} +5 -5
  165. package/dist/chunks/{websearch-nnj5g5ts.js → persistent-pty-k6w2t1ya.js} +4 -4
  166. package/dist/chunks/{websearch-ydejvqxg.js → persistent-pty-k8drj7r5.js} +23 -23
  167. package/dist/chunks/{websearch-b60qvk9z.js → persistent-pty-kcmy9jxr.js} +24 -24
  168. package/dist/chunks/{websearch-fyk0ct8p.js → persistent-pty-kgeynd61.js} +12 -12
  169. package/dist/chunks/{websearch-wyqjvnh3.js → persistent-pty-kpfem4ty.js} +5 -5
  170. package/dist/chunks/{websearch-75kkhfb0.js → persistent-pty-kze5qbmf.js} +5 -5
  171. package/dist/chunks/{websearch-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
  172. package/dist/chunks/{websearch-j3s2z371.js → persistent-pty-m2d0j7c0.js} +9 -9
  173. package/dist/chunks/{websearch-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{websearch-cej0pycs.js → persistent-pty-m5tndwkn.js} +15 -15
  175. package/dist/chunks/{websearch-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{websearch-vgmr4sc2.js → persistent-pty-md1q8d4s.js} +17 -17
  177. package/dist/chunks/{websearch-r16jvtnf.js → persistent-pty-mdtxnk3g.js} +18 -18
  178. package/dist/chunks/{websearch-jswts1sh.js → persistent-pty-mg83pbjr.js} +6 -6
  179. package/dist/chunks/{websearch-zfqkckys.js → persistent-pty-mnf1jt53.js} +22 -22
  180. package/dist/chunks/{websearch-s153yc2g.js → persistent-pty-mpahdt45.js} +26 -26
  181. package/dist/chunks/{websearch-j028xdjb.js → persistent-pty-mvfsc1pv.js} +3 -3
  182. package/dist/chunks/{websearch-gxz9ze6g.js → persistent-pty-mw5jjxyq.js} +36 -36
  183. package/dist/chunks/{websearch-xyhjwr2g.js → persistent-pty-mxqdc3nz.js} +32 -32
  184. package/dist/chunks/{websearch-fz2zwq67.js → persistent-pty-mzpz6184.js} +11 -11
  185. package/dist/chunks/{websearch-qpb9pvhg.js → persistent-pty-nrm3jg5q.js} +40 -40
  186. package/dist/chunks/{websearch-8rs26fy9.js → persistent-pty-nvdt7cxy.js} +10 -10
  187. package/dist/chunks/persistent-pty-nvh8apkc.js +252 -0
  188. package/dist/chunks/{websearch-ec8389mk.js → persistent-pty-nw2nz702.js} +4 -4
  189. package/dist/chunks/{websearch-5w2mrjnt.js → persistent-pty-nxmv3qtw.js} +27 -27
  190. package/dist/chunks/{websearch-ftt1jkvy.js → persistent-pty-p1rr7jpk.js} +6 -6
  191. package/dist/chunks/{websearch-3jx0dxz6.js → persistent-pty-p5zskvh4.js} +28 -28
  192. package/dist/chunks/{websearch-jvvc3tfq.js → persistent-pty-patgj9rf.js} +9 -9
  193. package/dist/chunks/{websearch-xrfmzwy2.js → persistent-pty-pcv9vap9.js} +10 -10
  194. package/dist/chunks/{websearch-688skcs6.js → persistent-pty-pg3cx23y.js} +13 -13
  195. package/dist/chunks/{websearch-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{websearch-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  197. package/dist/chunks/{websearch-aw25f9k7.js → persistent-pty-pmqwy1kz.js} +3 -3
  198. package/dist/chunks/{websearch-y4emhg5s.js → persistent-pty-pwc6j5c3.js} +46 -46
  199. package/dist/chunks/{websearch-cs9qt30b.js → persistent-pty-qbrsjjg8.js} +21 -21
  200. package/dist/chunks/{websearch-pe48638c.js → persistent-pty-qbvsdytj.js} +1 -1
  201. package/dist/chunks/{websearch-pxy915q0.js → persistent-pty-qcyhmmbj.js} +33 -33
  202. package/dist/chunks/{websearch-qj8eh1ht.js → persistent-pty-qj8eh1ht.js} +1 -1
  203. package/dist/chunks/{websearch-5d607bsg.js → persistent-pty-qmqgtz8f.js} +9 -9
  204. package/dist/chunks/{websearch-e6hmchc5.js → persistent-pty-qn4ba14w.js} +5 -5
  205. package/dist/chunks/{websearch-r3m778ec.js → persistent-pty-qqd25hrc.js} +3 -3
  206. package/dist/chunks/{websearch-4rdyqzv9.js → persistent-pty-qs8m1hnz.js} +18 -18
  207. package/dist/chunks/{websearch-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  208. package/dist/chunks/{websearch-fy3543da.js → persistent-pty-qt01bjqm.js} +9 -9
  209. package/dist/chunks/{websearch-ed7s7zhg.js → persistent-pty-r2pbtf1m.js} +11 -11
  210. package/dist/chunks/{websearch-e6hd9jay.js → persistent-pty-r33ff4dw.js} +6 -6
  211. package/dist/chunks/{websearch-grmms9d3.js → persistent-pty-r72bb3g5.js} +8 -8
  212. package/dist/chunks/{websearch-xysdzrga.js → persistent-pty-r88en1p6.js} +4 -4
  213. package/dist/chunks/{websearch-ratrq7cm.js → persistent-pty-ratrq7cm.js} +1 -1
  214. package/dist/chunks/{websearch-cm436xz1.js → persistent-pty-rbakn429.js} +11 -11
  215. package/dist/chunks/{websearch-jb663h59.js → persistent-pty-rby3xxx1.js} +11 -11
  216. package/dist/chunks/{websearch-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{websearch-xft5dqkh.js → persistent-pty-re6b68jt.js} +15 -15
  218. package/dist/chunks/{websearch-yp2x3t23.js → persistent-pty-rhraev7y.js} +4 -4
  219. package/dist/chunks/{websearch-v8fm89qw.js → persistent-pty-rma8wxqr.js} +17 -17
  220. package/dist/chunks/{websearch-bky6c04a.js → persistent-pty-rpbhrmr0.js} +5 -5
  221. package/dist/chunks/{websearch-ednp5hmx.js → persistent-pty-rtathh62.js} +5 -5
  222. package/dist/chunks/{websearch-qm8d4hv1.js → persistent-pty-ry3ayprc.js} +6 -6
  223. package/dist/chunks/{websearch-84v7aq1v.js → persistent-pty-ryn2s76s.js} +27 -27
  224. package/dist/chunks/{websearch-c8qk7tts.js → persistent-pty-s96yh66p.js} +17 -17
  225. package/dist/chunks/{websearch-femjt155.js → persistent-pty-sbhenykq.js} +3 -3
  226. package/dist/chunks/{websearch-00dr1njp.js → persistent-pty-sc61929c.js} +26 -26
  227. package/dist/chunks/{websearch-53jp9rw5.js → persistent-pty-sckksdt6.js} +32 -32
  228. package/dist/chunks/{websearch-0e4y66cd.js → persistent-pty-sdc2ahzz.js} +22 -22
  229. package/dist/chunks/{websearch-bpennfjx.js → persistent-pty-se3v9tfx.js} +22 -22
  230. package/dist/chunks/{websearch-mwdc51q5.js → persistent-pty-sv8w2zbm.js} +25 -25
  231. package/dist/chunks/{websearch-p2mak7at.js → persistent-pty-t3e2pjga.js} +3 -3
  232. package/dist/chunks/{websearch-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{websearch-1nsem4zt.js → persistent-pty-tbgrq2h7.js} +7 -7
  234. package/dist/chunks/{websearch-tnaxe9ds.js → persistent-pty-tbgyadps.js} +8 -8
  235. package/dist/chunks/{websearch-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{websearch-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  237. package/dist/chunks/{websearch-23bndme8.js → persistent-pty-tegm9nvs.js} +15 -15
  238. package/dist/chunks/{websearch-vfz7kkm7.js → persistent-pty-tj531n0d.js} +32 -32
  239. package/dist/chunks/{websearch-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  240. package/dist/chunks/{websearch-7w2s7zn9.js → persistent-pty-txa68nbj.js} +27 -27
  241. package/dist/chunks/{websearch-k6my4ra7.js → persistent-pty-v6p4jrsd.js} +8 -8
  242. package/dist/chunks/{websearch-d4kjnek0.js → persistent-pty-v8wrdptb.js} +44 -44
  243. package/dist/chunks/{websearch-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  244. package/dist/chunks/{websearch-cgjkw3zm.js → persistent-pty-vph6zqr2.js} +11 -11
  245. package/dist/chunks/{websearch-1b82cgey.js → persistent-pty-vqxe66hv.js} +10 -10
  246. package/dist/chunks/{websearch-7k11q7g3.js → persistent-pty-vr3dsx4b.js} +25 -25
  247. package/dist/chunks/{websearch-p84a3xwz.js → persistent-pty-vwzsxpqv.js} +21 -21
  248. package/dist/chunks/{websearch-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{websearch-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{websearch-7jf4j9cq.js → persistent-pty-wbrh8mmr.js} +7 -7
  251. package/dist/chunks/{websearch-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  252. package/dist/chunks/{websearch-djepkcha.js → persistent-pty-wfbbatkv.js} +10 -10
  253. package/dist/chunks/{websearch-t4dnb9f7.js → persistent-pty-ww52grw6.js} +16 -16
  254. package/dist/chunks/{websearch-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{websearch-f1msgtjz.js → persistent-pty-x31d7mze.js} +9 -9
  256. package/dist/chunks/{websearch-qn369vj2.js → persistent-pty-x44f4n8q.js} +16 -16
  257. package/dist/chunks/{websearch-028j0zm0.js → persistent-pty-xajwbek5.js} +4 -4
  258. package/dist/chunks/{websearch-ckdbnr1m.js → persistent-pty-xbw6anr4.js} +13 -13
  259. package/dist/chunks/{websearch-w7s0zwfz.js → persistent-pty-xe4w135j.js} +9 -9
  260. package/dist/chunks/{websearch-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
  261. package/dist/chunks/{websearch-2f0scwtq.js → persistent-pty-xkf2rpbc.js} +30 -30
  262. package/dist/chunks/{websearch-tvx0j432.js → persistent-pty-xmm5j47e.js} +5 -5
  263. package/dist/chunks/{websearch-67b1spex.js → persistent-pty-xndy1brp.js} +4 -4
  264. package/dist/chunks/{websearch-hyrpm5nn.js → persistent-pty-xtv69tq4.js} +10 -10
  265. package/dist/chunks/{websearch-savs1ssj.js → persistent-pty-xv9ma6ry.js} +32 -32
  266. package/dist/chunks/{websearch-3aytj4vb.js → persistent-pty-y0ge2r9f.js} +2 -2
  267. package/dist/chunks/{websearch-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{websearch-0nde5ztd.js → persistent-pty-y906m0ew.js} +5 -5
  269. package/dist/chunks/{websearch-704r4sk8.js → persistent-pty-y9k7smv5.js} +11 -11
  270. package/dist/chunks/{websearch-84vhy5z7.js → persistent-pty-ya3ej9zv.js} +5 -5
  271. package/dist/chunks/{websearch-7p797550.js → persistent-pty-ybhbtxjg.js} +6 -6
  272. package/dist/chunks/{websearch-vqfzq50h.js → persistent-pty-ycjb11n5.js} +6 -6
  273. package/dist/chunks/{websearch-a0c6s8q1.js → persistent-pty-yn8wfmf6.js} +23 -23
  274. package/dist/chunks/{websearch-3bq31pq3.js → persistent-pty-yp8dzd9b.js} +4 -4
  275. package/dist/chunks/{websearch-ty4014gx.js → persistent-pty-ypyqm45m.js} +14 -14
  276. package/dist/chunks/{websearch-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{websearch-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  278. package/dist/chunks/{websearch-b2pmyqha.js → persistent-pty-yz5gadm7.js} +69 -69
  279. package/dist/chunks/{websearch-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{websearch-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  281. package/dist/chunks/{websearch-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{websearch-4k3vs3bj.js → persistent-pty-zgbvzy4h.js} +8 -8
  283. package/dist/chunks/{websearch-j5r5s5y1.js → persistent-pty-zmpf3yp4.js} +17 -17
  284. package/dist/chunks/{websearch-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{websearch-j9evh2x0.js → persistent-pty-zsphfh87.js} +16 -16
  286. package/dist/chunks/{websearch-1ahfdqym.js → persistent-pty-ztbsr2q6.js} +6 -6
  287. package/dist/chunks/{websearch-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +138 -138
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +125 -125
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +82 -82
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +220 -220
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +100 -100
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +105 -101
  427. package/dist/form.js +85 -85
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +100 -100
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +112 -112
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +5 -5
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +93 -93
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +347 -347
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin/websearch/tinyfish.js +6 -6
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +4 -4
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +83 -83
  557. package/dist/provider.js +100 -100
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +93 -93
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +90 -90
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +89 -89
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +76 -76
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +230 -230
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +113 -113
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -171
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +155 -155
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +216 -216
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +11 -11
  623. package/dist/shell.js +137 -137
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -104
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +119 -119
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +121 -121
  635. package/dist/tool/plugin/grep.js +123 -123
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +119 -119
  638. package/dist/tool/plugin/question.js +102 -102
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +108 -108
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +109 -109
  644. package/dist/tool/plugin/websearch.js +111 -111
  645. package/dist/tool/plugin/write.js +121 -121
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +12 -12
  650. package/dist/types/filesystem.d.ts +10 -2
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +1 -1
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +7 -7
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +5 -5
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +1 -1
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/variant.js +90 -90
  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 +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/websearch-j9ykbwb6.js +0 -478
  693. package/dist/chunks/websearch-kckcqb9a.js +0 -252
  694. package/dist/chunks/websearch-q509s3k3.js +0 -18
  695. package/dist/chunks/websearch-qapv375x.js +0 -4
  696. /package/dist/chunks/{websearch-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{websearch-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{websearch-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{websearch-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{websearch-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{websearch-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{websearch-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{websearch-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{websearch-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{websearch-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{websearch-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  707. /package/dist/chunks/{websearch-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{websearch-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{websearch-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{websearch-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{websearch-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{websearch-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{websearch-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{websearch-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  715. /package/dist/chunks/{websearch-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{websearch-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{websearch-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  718. /package/dist/chunks/{websearch-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{websearch-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{websearch-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  721. /package/dist/chunks/{websearch-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{websearch-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{websearch-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  724. /package/dist/chunks/{websearch-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{websearch-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{websearch-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{websearch-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{websearch-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{websearch-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{websearch-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{websearch-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{websearch-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{websearch-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{websearch-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{websearch-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{websearch-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{websearch-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{websearch-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{websearch-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  740. /package/dist/chunks/{websearch-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{websearch-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{websearch-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{websearch-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{websearch-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{websearch-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{websearch-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{websearch-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{websearch-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{websearch-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{websearch-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  751. /package/dist/chunks/{websearch-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{websearch-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  753. /package/dist/chunks/{websearch-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{websearch-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  755. /package/dist/chunks/{websearch-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  756. /package/dist/chunks/{websearch-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  757. /package/dist/chunks/{websearch-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{websearch-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{websearch-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{websearch-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{websearch-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{websearch-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{websearch-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{websearch-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{websearch-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{websearch-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{websearch-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{websearch-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{websearch-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{websearch-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{websearch-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{websearch-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{websearch-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{websearch-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{websearch-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{websearch-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{websearch-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{websearch-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{websearch-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{websearch-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{websearch-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{websearch-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{websearch-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{websearch-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{websearch-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  786. /package/dist/chunks/{websearch-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{websearch-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{websearch-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{websearch-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{websearch-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{websearch-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./websearch-a1pdeahv.js";
4
+ } from "./persistent-pty-9c8f3b19.js";
5
5
  import {
6
6
  Service32,
7
7
  node35
8
- } from "./websearch-y4emhg5s.js";
8
+ } from "./persistent-pty-pwc6j5c3.js";
9
9
  import {
10
- Service69,
11
- node73
12
- } from "./websearch-s6dasder.js";
10
+ Service63,
11
+ node67
12
+ } from "./persistent-pty-ba82ctx4.js";
13
13
  import {
14
- Service62,
15
- node65
16
- } from "./websearch-wz6c4wjy.js";
14
+ Service53,
15
+ node58
16
+ } from "./persistent-pty-a6ydtnj7.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./persistent-pty-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service31,
26
- layer: () => layer13,
25
+ Service: () => Service26,
26
+ layer: () => layer10,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node34
29
+ node: () => node30
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service31 extends Context.Service()("@opencode/McpTool") {
38
+ class Service26 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service31, Effect.gen(function* () {
40
+ var layer10 = Layer.effect(Service26, Effect.gen(function* () {
41
41
  const mcp = yield* Service32;
42
- const tools = yield* Service62;
42
+ const tools = yield* Service53;
43
43
  const bus = yield* Service82;
44
- const permission = yield* Service69;
44
+ const permission = yield* Service63;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node34 = makeLocationNode({
124
- service: Service31,
125
- layer: layer13,
126
- deps: [node65, node35, node86, node73]
123
+ var node30 = makeLocationNode({
124
+ service: Service26,
125
+ layer: layer10,
126
+ deps: [node58, node35, node86, node67]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service31, layer13, node34, exports_mcp3 };
129
+ export { namespace2, name13, Service26, layer10, node30, exports_mcp3 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./websearch-a1pdeahv.js";
4
+ } from "./persistent-pty-9c8f3b19.js";
5
5
  import {
6
6
  __export
7
- } from "./websearch-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event17,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID12,
20
- Info: () => Info26,
19
+ ID: () => ID16,
20
+ Info: () => Info31,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
24
- Reply: () => Reply2,
25
- Service: () => Service68,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service77,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node72,
28
+ layer: () => layer24,
29
+ node: () => node81,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event17 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID12 = Form.ID;
39
- var Info26 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info31 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID12
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID12
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID12
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID12,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service68 extends Context.Service()("@opencode/Form") {
82
+ class Service77 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service68, Effect.gen(function* () {
84
+ var layer24 = Layer.effect(Service77, Effect.gen(function* () {
85
85
  const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID12.create();
93
+ const id = input.id ?? ID16.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service68, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service68.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service77.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node72 = makeLocationNode({ service: Service68, layer: layer25, deps: [node86] });
164
+ var node81 = makeLocationNode({ service: Service77, layer: layer24, deps: [node86] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID12, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer25, node72, validateAnswer2, validateFields2, exports_form, Event17 };
316
+ export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer24, node81, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./websearch-qaymkmh1.js";
3
+ } from "./persistent-pty-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 make3(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 { make3 };
264
+ export { make4 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node85
7
- } from "./websearch-74rrnwt7.js";
6
+ node84
7
+ } from "./persistent-pty-ab8cnxkj.js";
8
8
  import {
9
9
  Slug2
10
- } from "./websearch-gebd4c9n.js";
10
+ } from "./persistent-pty-gebd4c9n.js";
11
11
  import {
12
12
  Service83,
13
13
  node87
14
- } from "./websearch-p1kt70e2.js";
14
+ } from "./persistent-pty-edjqbjbz.js";
15
15
  import {
16
16
  Service82,
17
17
  node86
18
- } from "./websearch-a1pdeahv.js";
18
+ } from "./persistent-pty-9c8f3b19.js";
19
19
  import {
20
20
  ProjectTable2
21
- } from "./websearch-8p4f9s12.js";
21
+ } from "./persistent-pty-dj2t23y0.js";
22
22
  import {
23
23
  WorktreeTable2
24
- } from "./websearch-cfpkc3c9.js";
24
+ } from "./persistent-pty-m0jqrx5p.js";
25
25
  import {
26
26
  ID17,
27
27
  NotFoundError11
28
- } from "./websearch-a0c6s8q1.js";
28
+ } from "./persistent-pty-yn8wfmf6.js";
29
29
  import {
30
30
  Ref4
31
- } from "./websearch-wyfky7qa.js";
31
+ } from "./persistent-pty-43v53x48.js";
32
32
  import {
33
- Service78,
34
- node82
35
- } from "./websearch-7mncpb7s.js";
33
+ Service62,
34
+ node66
35
+ } from "./persistent-pty-46h4yk7y.js";
36
36
  import {
37
37
  DirectoryUnavailableError2,
38
38
  canonical2
39
- } from "./websearch-gv6a8nnw.js";
39
+ } from "./persistent-pty-gv6a8nnw.js";
40
40
  import {
41
- make21
42
- } from "./websearch-grmms9d3.js";
41
+ make12
42
+ } from "./persistent-pty-r72bb3g5.js";
43
43
  import {
44
- Service77
45
- } from "./websearch-xgzkh95h.js";
44
+ Service16
45
+ } from "./persistent-pty-9y5n8jnt.js";
46
46
  import {
47
47
  __export
48
- } from "./websearch-9rqn6x4v.js";
48
+ } from "./persistent-pty-9rqn6x4v.js";
49
49
 
50
50
  // src/worktree.ts
51
51
  var exports_worktree2 = {};
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
53
53
  CreateInput: () => CreateInput3,
54
54
  DestinationExistsError: () => DestinationExistsError2,
55
55
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
56
- Event: () => Event20,
57
- Info: () => Info31,
56
+ Event: () => Event4,
57
+ Info: () => Info4,
58
58
  InvalidDirectoryError: () => InvalidDirectoryError2,
59
59
  List: () => List2,
60
60
  ListEntry: () => ListEntry3,
61
61
  OperationError: () => OperationError2,
62
62
  RemoveInput: () => RemoveInput2,
63
- Service: () => Service76,
63
+ Service: () => Service15,
64
64
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
65
65
  StrategyID: () => StrategyID2,
66
66
  StrategyUnavailableError: () => StrategyUnavailableError2,
67
67
  Worktree: () => exports_worktree2,
68
- node: () => node80
68
+ node: () => node18
69
69
  });
70
70
  import { Context, Effect, Layer, Schema } from "effect";
71
71
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -79,7 +79,7 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
79
79
  var StrategyID2 = Worktree.StrategyID;
80
80
  var CreateInput3 = Worktree.CreateInput;
81
81
  var RemoveInput2 = Worktree.RemoveInput;
82
- var Info31 = Worktree.Info;
82
+ var Info4 = Worktree.Info;
83
83
  var List2 = Worktree.List;
84
84
  var ListEntry3 = Worktree.ListEntry;
85
85
 
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
94
94
 
95
95
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
96
96
  }
97
- var Event20 = Worktree.Event;
97
+ var Event4 = Worktree.Event;
98
98
 
99
- class Service76 extends Context.Service()("@opencode/Worktree") {
99
+ class Service15 extends Context.Service()("@opencode/Worktree") {
100
100
  }
101
- var layer = Layer.effect(Service76, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
103
  const database = yield* Service83;
104
104
  const db = database.db;
105
105
  const bus = yield* Service82;
106
106
  const processService = yield* AppProcess.Service;
107
- const locations = yield* Service78;
108
- const gitStrategy = yield* make21;
107
+ const locations = yield* Service62;
108
+ const gitStrategy = yield* make12;
109
109
  const project = Effect.fnUntraced(function* (projectID) {
110
110
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
111
111
  if (!row)
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
120
120
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
121
121
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
122
122
  yield* Context.get(context, Plugin.Service).awaitActivation;
123
- return Context.get(context, Service77).get();
123
+ return Context.get(context, Service16).get();
124
124
  });
125
125
  const changed = Effect.fnUntraced(function* (projectID, update) {
126
126
  if (update)
127
- yield* bus.publish(Event20.Updated, { projectID });
127
+ yield* bus.publish(Event4.Updated, { projectID });
128
128
  });
129
129
  const ops = {
130
130
  list: Effect.fnUntraced(function* (projectID) {
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
251
251
  })).pipe(Effect.orDie);
252
252
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
253
253
  }, Effect.scoped);
254
- return Service76.of({
254
+ return Service15.of({
255
255
  list: Effect.fn("Worktree.list")(function* (input) {
256
256
  yield* project(input.projectID);
257
257
  return yield* ops.list(input.projectID);
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
261
261
  refresh
262
262
  });
263
263
  }));
264
- var node80 = Node.makeGlobalNode({
265
- service: Service76,
264
+ var node18 = Node.makeGlobalNode({
265
+ service: Service15,
266
266
  layer,
267
- deps: [FSUtil.node, node85, node86, node87, AppProcess.node, node82]
267
+ deps: [FSUtil.node, node84, node86, node87, AppProcess.node, node66]
268
268
  });
269
269
  function operationError(strategy, operation, error) {
270
270
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
274
274
  });
275
275
  }
276
276
 
277
- export { StrategyID2, CreateInput3, RemoveInput2, Info31, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event20, Service76, node80, exports_worktree2, OperationError2 };
277
+ export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service79
3
- } from "./websearch-wyfky7qa.js";
2
+ Service78
3
+ } from "./persistent-pty-43v53x48.js";
4
4
  import {
5
- Service55
6
- } from "./websearch-b60qvk9z.js";
5
+ Service48
6
+ } from "./persistent-pty-kcmy9jxr.js";
7
7
  import {
8
- Service13,
8
+ Service45,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./websearch-tqde4kee.js";
11
+ } from "./persistent-pty-623746t2.js";
12
12
  import {
13
- Service75
14
- } from "./websearch-4qxmcfde.js";
13
+ Service14
14
+ } from "./persistent-pty-hmdeq4v3.js";
15
15
  import {
16
- Service69
17
- } from "./websearch-s6dasder.js";
16
+ Service63
17
+ } from "./persistent-pty-ba82ctx4.js";
18
18
  import {
19
- Service19,
19
+ Service18,
20
20
  resolvePath2
21
- } from "./websearch-v27dtnaa.js";
21
+ } from "./persistent-pty-c9rej1jf.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./websearch-6prwharc.js";
24
+ } from "./persistent-pty-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./websearch-9rqn6x4v.js";
27
+ } from "./persistent-pty-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input11,
34
- Output: () => Output7,
35
- Plugin: () => Plugin12,
36
- name: () => name11
33
+ Input: () => Input5,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin5,
36
+ name: () => name5
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name11 = "edit";
43
- var Input11 = Schema.Struct({
42
+ var name5 = "edit";
43
+ var Input5 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin12 = {
106
+ var Plugin5 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service19;
110
- const fileMutation = yield* Service13;
111
- const environment = yield* Service55;
112
- const formatter = yield* Service75;
113
- const location = yield* Service79;
114
- const permission = yield* Service69;
109
+ const access = yield* Service18;
110
+ const fileMutation = yield* Service45;
111
+ const environment = yield* Service48;
112
+ const formatter = yield* Service14;
113
+ const location = yield* Service78;
114
+ const permission = yield* Service63;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name11,
116
+ name: name5,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input11,
120
- output: Output7,
119
+ input: Input5,
120
+ output: Output4,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin12 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name11, Input11, Output7, Plugin12, exports_edit };
197
+ export { name5, Input5, Output4, Plugin5, exports_edit };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service51
3
- } from "./websearch-v8fm89qw.js";
2
+ Service67
3
+ } from "./persistent-pty-rma8wxqr.js";
4
4
  import {
5
- Service23
6
- } from "./websearch-34ngepqf.js";
5
+ Service20
6
+ } from "./persistent-pty-4scff3yx.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./websearch-x1ezjp6w.js";
10
+ } from "./persistent-pty-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make10
19
+ make: () => make5
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make10 = Effect.gen(function* () {
23
- const sessions = yield* Service23;
24
- const jobs = yield* Service51;
22
+ var make5 = Effect.gen(function* () {
23
+ const sessions = yield* Service20;
24
+ const jobs = yield* Service67;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make10 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make10, exports_subagent_job };
61
+ export { make5, exports_subagent_job };