@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,66 +1,66 @@
1
1
  import {
2
- Service68
3
- } from "./websearch-s153yc2g.js";
2
+ Service77
3
+ } from "./persistent-pty-mpahdt45.js";
4
4
  import {
5
- Service69
6
- } from "./websearch-s6dasder.js";
5
+ Service63
6
+ } from "./persistent-pty-ba82ctx4.js";
7
7
  import {
8
- ID11,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service65
14
- } from "./websearch-fkv8g0v1.js";
13
+ Service19
14
+ } from "./persistent-pty-66dyjrem.js";
15
15
  import {
16
16
  __export
17
- } from "./websearch-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input10,
22
+ Input: () => Input4,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin11,
24
+ Plugin: () => Plugin4,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name10
26
+ description: () => description3,
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name10 = "websearch";
32
+ var name4 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input10 = Schema.Struct({
42
+ var Input4 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID11,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin11 = {
49
+ var Plugin4 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service69;
53
- const forms = yield* Service68;
54
- const websearch = yield* Service65;
52
+ const permission = yield* Service63;
53
+ const forms = yield* Service77;
54
+ const websearch = yield* Service19;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name4,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input10,
58
+ description: description3,
59
+ input: Input4,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name4,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name10];
179
+ delete event.tools[name4];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description5, Input10, Plugin11, exports_websearch };
187
+ export { name4, NO_RESULTS2, description3, Input4, Plugin4, exports_websearch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service55
3
- } from "./websearch-b60qvk9z.js";
2
+ Service48
3
+ } from "./persistent-pty-kcmy9jxr.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service55;
22
+ const environment = yield* Service48;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./websearch-vfz7kkm7.js";
2
+ ID12
3
+ } from "./persistent-pty-tj531n0d.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID8
3
- } from "./websearch-savs1ssj.js";
2
+ ID13
3
+ } from "./persistent-pty-xv9ma6ry.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./websearch-hjbc5kem.js";
6
+ } from "./persistent-pty-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID8.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID8.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service55
3
- } from "./websearch-b60qvk9z.js";
2
+ Service48
3
+ } from "./persistent-pty-kcmy9jxr.js";
4
4
  import {
5
- Service13,
5
+ Service45,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./websearch-tqde4kee.js";
8
+ } from "./persistent-pty-623746t2.js";
9
9
  import {
10
- Service75
11
- } from "./websearch-4qxmcfde.js";
10
+ Service14
11
+ } from "./persistent-pty-hmdeq4v3.js";
12
12
  import {
13
- Service69
14
- } from "./websearch-s6dasder.js";
13
+ Service63
14
+ } from "./persistent-pty-ba82ctx4.js";
15
15
  import {
16
- Service19
17
- } from "./websearch-v27dtnaa.js";
16
+ Service18
17
+ } from "./persistent-pty-c9rej1jf.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./websearch-6prwharc.js";
20
+ } from "./persistent-pty-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./websearch-9rqn6x4v.js";
23
+ } from "./persistent-pty-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input4,
29
- Output: () => Output3,
30
- Plugin: () => Plugin5,
28
+ Input: () => Input9,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin9,
31
31
  WriteTool: () => exports_write,
32
- name: () => name4,
33
- toModelContent: () => toModelContent3
32
+ name: () => name9,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name4 = "write";
39
- var Input4 = Schema.Struct({
38
+ var name9 = "write";
39
+ var Input9 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output3 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin5 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin9 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service55;
58
- const formatter = yield* Service75;
59
- const permission = yield* Service69;
55
+ const access = yield* Service18;
56
+ const fileMutation = yield* Service45;
57
+ const environment = yield* Service48;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service63;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name4,
61
+ name: name9,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input4,
69
- output: Output3,
68
+ input: Input9,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name4, Input4, Output3, toModelContent3, Plugin5, exports_write };
101
+ export { name9, Input9, Output7, toModelContent4, Plugin9, exports_write };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./websearch-wyfky7qa.js";
5
+ Service78
6
+ } from "./persistent-pty-43v53x48.js";
7
7
  import {
8
- Service53
9
- } from "./websearch-0jdsmxy0.js";
8
+ Service54
9
+ } from "./persistent-pty-9kzytzbk.js";
10
10
  import {
11
- Service77
12
- } from "./websearch-xgzkh95h.js";
11
+ Service16
12
+ } from "./persistent-pty-9y5n8jnt.js";
13
13
  import {
14
14
  observe2
15
- } from "./websearch-qsdy395h.js";
15
+ } from "./persistent-pty-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./websearch-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin31
24
+ Plugin: () => Plugin15
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin31 = define({
30
+ var Plugin15 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service53;
34
- const location = yield* Service79;
33
+ const config = yield* Service54;
34
+ const location = yield* Service78;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service77;
36
+ const worktrees = yield* Service16;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin31 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin31, exports_worktree };
51
+ export { Plugin15, exports_worktree };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./websearch-2a5m3afh.js";
5
+ } from "./persistent-pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./websearch-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./websearch-p1kt70e2.js";
4
+ } from "./persistent-pty-edjqbjbz.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./websearch-a1pdeahv.js";
8
+ } from "./persistent-pty-9c8f3b19.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./websearch-pknna89w.js";
11
+ } from "./persistent-pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./websearch-0q0f95c6.js";
14
+ } from "./persistent-pty-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./websearch-9rqn6x4v.js";
17
+ } from "./persistent-pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event14,
24
- ID: () => ID10,
25
- Info: () => Info25,
23
+ Event: () => Event18,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
26
  Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service61,
28
+ Service: () => Service76,
29
29
  Value: () => Value2,
30
- node: () => node64
30
+ node: () => node80
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID10 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event14 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
- class Info25 extends Schema.Class("Credential.Info")({
44
- id: ID10,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service61 extends Context.Service()("@opencode/Credential") {
51
+ class Service76 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service61, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
55
  const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info25({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service61.of({
71
+ return Service76.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info25({
80
- id: ID10.create(),
79
+ const credential = new Info30({
80
+ id: ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event14.Updated, {}, { global: true });
105
- yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event18.Updated, {}, { global: true });
105
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event14.Updated, {}, { global: true });
157
+ yield* bus.publish(Event18.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event14.Updated, {}, { global: true });
190
+ yield* bus.publish(Event18.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [node87, node86] });
196
+ var node80 = makeGlobalNode({ service: Service76, layer, deps: [node87, node86] });
197
197
 
198
- export { ID10, OAuth3, Key3, Value2, Event14, Info25, Service61, node64, exports_credential };
198
+ export { ID15, OAuth3, Key3, Value2, Event18, Info30, Service76, node80, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./websearch-gd4qta3r.js";
3
+ } from "./persistent-pty-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./websearch-tvtrv512.js";
6
+ } from "./persistent-pty-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./websearch-rdw6cm16.js";
9
+ } from "./persistent-pty-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service44,
21
+ Service: () => Service49,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node46
23
+ node: () => node53
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service44 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service49 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service44, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service44.of({
125
+ return Service49.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node46 = makeLocationNode({
143
- service: Service44,
142
+ var node53 = makeLocationNode({
143
+ service: Service49,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service44, node46, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node53, exports_tool_output2 };