@opencode/core 0.0.0-dev-21354 → 0.0.0-dev-21362

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-y4pqvk03.js → tool-01rpkdw6.js} +2 -2
  8. package/dist/chunks/{model-resolver-2tj97pmg.js → tool-0413hwj4.js} +37 -37
  9. package/dist/chunks/{model-resolver-xjy4dz85.js → tool-073332rd.js} +20 -20
  10. package/dist/chunks/{model-resolver-b6rs5hhk.js → tool-08vgyj7k.js} +18 -18
  11. package/dist/chunks/{model-resolver-84ha93mn.js → tool-0976wqw8.js} +27 -27
  12. package/dist/chunks/{model-resolver-nvq1gv7c.js → tool-0j3c2sb1.js} +11 -11
  13. package/dist/chunks/{model-resolver-3nx0ym5x.js → tool-0mcdt3xm.js} +22 -22
  14. package/dist/chunks/{model-resolver-rscvxc63.js → tool-0nyyp0wg.js} +15 -15
  15. package/dist/chunks/{model-resolver-47jkzegy.js → tool-0r3c1bmw.js} +5 -5
  16. package/dist/chunks/{model-resolver-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{model-resolver-m0k3p8s9.js → tool-0zprb6es.js} +25 -25
  18. package/dist/chunks/{model-resolver-g90hexag.js → tool-1fqwyhye.js} +58 -58
  19. package/dist/chunks/{model-resolver-9gzkep83.js → tool-1pwk8kcs.js} +14 -14
  20. package/dist/chunks/{model-resolver-g5fw83fw.js → tool-1rgsmk43.js} +10 -10
  21. package/dist/chunks/{model-resolver-967benbv.js → tool-2ae0q92z.js} +11 -11
  22. package/dist/chunks/{model-resolver-v9t9bmqx.js → tool-2d2h4qhb.js} +34 -34
  23. package/dist/chunks/{model-resolver-xcypc51k.js → tool-2fpns0sv.js} +40 -40
  24. package/dist/chunks/{model-resolver-qe9z13v3.js → tool-2kjm689e.js} +22 -22
  25. package/dist/chunks/{model-resolver-4vdcag56.js → tool-2nhcazd0.js} +16 -16
  26. package/dist/chunks/{model-resolver-qt2d63t9.js → tool-2s6t35ks.js} +4 -4
  27. package/dist/chunks/{model-resolver-7j2zvw39.js → tool-2t1tfy87.js} +16 -16
  28. package/dist/chunks/{model-resolver-g2qxcqrf.js → tool-2tny0edy.js} +186 -186
  29. package/dist/chunks/{model-resolver-rba33dr3.js → tool-3493q4kq.js} +17 -17
  30. package/dist/chunks/{model-resolver-46p5gayd.js → tool-37nhdnh0.js} +4 -4
  31. package/dist/chunks/{model-resolver-bp6qvqjj.js → tool-3eneve4b.js} +46 -46
  32. package/dist/chunks/{model-resolver-3yqxwn64.js → tool-3f43s8b4.js} +51 -51
  33. package/dist/chunks/{model-resolver-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{model-resolver-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{model-resolver-vhbqgehn.js → tool-3jt1eddq.js} +63 -63
  36. package/dist/chunks/{model-resolver-c1f0ef0e.js → tool-3nmfsz90.js} +8 -8
  37. package/dist/chunks/{model-resolver-n62bhn6h.js → tool-3p3jney2.js} +15 -15
  38. package/dist/chunks/{model-resolver-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{model-resolver-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{model-resolver-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{model-resolver-gv2b8e0t.js → tool-455yydvh.js} +28 -28
  42. package/dist/chunks/{model-resolver-sk5hrgtc.js → tool-4e8vs6eh.js} +8 -8
  43. package/dist/chunks/{model-resolver-0y23mm2p.js → tool-4k7jacjp.js} +11 -11
  44. package/dist/chunks/{model-resolver-svmspn7k.js → tool-4kjbsxnw.js} +4 -4
  45. package/dist/chunks/tool-4vgve9x2.js +26 -0
  46. package/dist/chunks/{model-resolver-e0vbf2p2.js → tool-4xcz4xpr.js} +17 -17
  47. package/dist/chunks/{model-resolver-2a6rn6yr.js → tool-52hb404k.js} +6 -6
  48. package/dist/chunks/{model-resolver-54ma36ye.js → tool-54ma36ye.js} +1 -1
  49. package/dist/chunks/{model-resolver-9s481m48.js → tool-58vmr7wj.js} +16 -16
  50. package/dist/chunks/{model-resolver-z2rrnsn5.js → tool-5bnha4a9.js} +2 -2
  51. package/dist/chunks/{model-resolver-ttrv0ee4.js → tool-5ee0ck5t.js} +21 -21
  52. package/dist/chunks/{model-resolver-6zyxy6vr.js → tool-5ehgcgpr.js} +43 -43
  53. package/dist/chunks/{model-resolver-e7gxy7fd.js → tool-5g57z1ma.js} +4 -4
  54. package/dist/chunks/{model-resolver-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{model-resolver-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
  56. package/dist/chunks/{model-resolver-mq8c8wma.js → tool-61b1kan1.js} +23 -23
  57. package/dist/chunks/{model-resolver-6827pfxn.js → tool-6827pfxn.js} +1 -1
  58. package/dist/chunks/{model-resolver-3c9v7fz9.js → tool-6efjf592.js} +17 -17
  59. package/dist/chunks/{model-resolver-gc8nt84s.js → tool-6kfemk62.js} +52 -52
  60. package/dist/chunks/{model-resolver-evrqa78t.js → tool-6mbm070j.js} +29 -29
  61. package/dist/chunks/{model-resolver-7fkffz83.js → tool-6pc27hjz.js} +8 -8
  62. package/dist/chunks/{model-resolver-yentwms3.js → tool-6tz1jnny.js} +5 -5
  63. package/dist/chunks/{model-resolver-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{model-resolver-pty45f7z.js → tool-6ysb8vkt.js} +17 -17
  65. package/dist/chunks/{model-resolver-2sz974pf.js → tool-6zt8z75t.js} +26 -26
  66. package/dist/chunks/tool-713g62m8.js +517 -0
  67. package/dist/chunks/{model-resolver-1g0trf6w.js → tool-76ejvhhr.js} +18 -18
  68. package/dist/chunks/{model-resolver-775gj3j1.js → tool-775gj3j1.js} +2 -2
  69. package/dist/chunks/{model-resolver-zenctmbx.js → tool-793g28qj.js} +36 -36
  70. package/dist/chunks/{model-resolver-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{model-resolver-jqyzchqw.js → tool-7cnnqjpd.js} +6 -6
  72. package/dist/chunks/{model-resolver-bdehnvdw.js → tool-7def0ggy.js} +44 -44
  73. package/dist/chunks/{model-resolver-qgn6gcr1.js → tool-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{model-resolver-6dt87k62.js → tool-7hrceg3g.js} +37 -37
  75. package/dist/chunks/{model-resolver-xztctcj7.js → tool-7k4nsz29.js} +11 -11
  76. package/dist/chunks/{model-resolver-cqq90766.js → tool-7kkywtdn.js} +14 -14
  77. package/dist/chunks/{model-resolver-2kgvm4ga.js → tool-7shzd1td.js} +26 -26
  78. package/dist/chunks/{model-resolver-prcvzp3b.js → tool-7t04q73r.js} +27 -27
  79. package/dist/chunks/{model-resolver-mmsbh3wq.js → tool-7vjhz70e.js} +5 -5
  80. package/dist/chunks/{model-resolver-kqv3x6rj.js → tool-81f7vt2z.js} +9 -9
  81. package/dist/chunks/{model-resolver-d3v28z1t.js → tool-82ep1r6s.js} +3 -3
  82. package/dist/chunks/{model-resolver-84txncab.js → tool-84txncab.js} +1 -1
  83. package/dist/chunks/{model-resolver-y5cvjd5e.js → tool-86kfezyq.js} +7 -7
  84. package/dist/chunks/{model-resolver-m3bqnvcv.js → tool-88jzmhd2.js} +8 -8
  85. package/dist/chunks/{model-resolver-j75xb4yb.js → tool-8d5fwhns.js} +1 -1
  86. package/dist/chunks/{model-resolver-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
  87. package/dist/chunks/{model-resolver-s30r45k4.js → tool-8mv6xfqh.js} +5 -5
  88. package/dist/chunks/{model-resolver-8mywswrd.js → tool-8mywswrd.js} +1 -1
  89. package/dist/chunks/{model-resolver-5v9zgnrp.js → tool-8x9ys1f9.js} +34 -34
  90. package/dist/chunks/{model-resolver-8m8th7g9.js → tool-8yapk0fv.js} +23 -23
  91. package/dist/chunks/{model-resolver-h5kde8xe.js → tool-9ay43wn2.js} +17 -17
  92. package/dist/chunks/{model-resolver-6hen7d63.js → tool-9eyh9j7p.js} +20 -20
  93. package/dist/chunks/{model-resolver-zqbntp8m.js → tool-9jtmtwne.js} +13 -13
  94. package/dist/chunks/{model-resolver-d9wzmzc3.js → tool-9w4ppqge.js} +5 -5
  95. package/dist/chunks/{model-resolver-8mqj9xbr.js → tool-9wjqfw83.js} +4 -4
  96. package/dist/chunks/{model-resolver-7v6vae4w.js → tool-a20pjse5.js} +3 -3
  97. package/dist/chunks/{model-resolver-73wr0wn5.js → tool-a5rre0n2.js} +11 -11
  98. package/dist/chunks/{model-resolver-0d74j82x.js → tool-aawdsyze.js} +4 -4
  99. package/dist/chunks/{model-resolver-3y377wv9.js → tool-addxnjmp.js} +4 -4
  100. package/dist/chunks/{model-resolver-8n9x2wf6.js → tool-arz7hw7x.js} +2 -2
  101. package/dist/chunks/{model-resolver-af3s9495.js → tool-asd51m7s.js} +90 -90
  102. package/dist/chunks/{model-resolver-nhpkjp8j.js → tool-atsf9aqe.js} +11 -11
  103. package/dist/chunks/{model-resolver-88fjbbyn.js → tool-b14jzmzs.js} +29 -29
  104. package/dist/chunks/{model-resolver-76rvckpe.js → tool-b4nzaj04.js} +5 -5
  105. package/dist/chunks/{model-resolver-377tx7tw.js → tool-b762m4xg.js} +25 -25
  106. package/dist/chunks/{model-resolver-bacj9t34.js → tool-bacj9t34.js} +2 -2
  107. package/dist/chunks/{model-resolver-syv183bv.js → tool-bdx6mn17.js} +9 -9
  108. package/dist/chunks/{model-resolver-q63t359z.js → tool-bec822vs.js} +4 -4
  109. package/dist/chunks/{model-resolver-bjx1sjef.js → tool-bjx1sjef.js} +2 -2
  110. package/dist/chunks/{model-resolver-6b89zbgc.js → tool-byq8e8jd.js} +11 -11
  111. package/dist/chunks/{model-resolver-7jav1qs0.js → tool-bz29cs86.js} +24 -24
  112. package/dist/chunks/{model-resolver-bzeyqsqd.js → tool-bzeyqsqd.js} +1 -1
  113. package/dist/chunks/{model-resolver-6gejepc3.js → tool-c3j8ne37.js} +22 -22
  114. package/dist/chunks/{model-resolver-rj3eygr5.js → tool-c41wscbt.js} +2 -2
  115. package/dist/chunks/{model-resolver-hktqavzm.js → tool-c7hvxrkm.js} +25 -25
  116. package/dist/chunks/{model-resolver-sa8ekw3f.js → tool-c8ax2afj.js} +2 -2
  117. package/dist/chunks/{model-resolver-gyk6nsb6.js → tool-cg54xxwj.js} +12 -12
  118. package/dist/chunks/{model-resolver-aq38rpj0.js → tool-cg9p582w.js} +9 -9
  119. package/dist/chunks/{model-resolver-km4rycv7.js → tool-ck0e8gek.js} +25 -25
  120. package/dist/chunks/{model-resolver-ya7hh75j.js → tool-ckjpj2pw.js} +3 -3
  121. package/dist/chunks/{model-resolver-awpkagge.js → tool-cmcz3sb1.js} +10 -10
  122. package/dist/chunks/{model-resolver-5yzzbxa7.js → tool-cmwkp3r5.js} +8 -8
  123. package/dist/chunks/{model-resolver-kmq3cj41.js → tool-cn8yddnn.js} +25 -25
  124. package/dist/chunks/{model-resolver-h6ag9tfj.js → tool-ctd2f7xq.js} +31 -31
  125. package/dist/chunks/{model-resolver-py4ye5jk.js → tool-cthpwpgv.js} +50 -50
  126. package/dist/chunks/{model-resolver-16t55p56.js → tool-cw1n2y8y.js} +19 -19
  127. package/dist/chunks/{model-resolver-jvfpmyx9.js → tool-d2ms787s.js} +12 -12
  128. package/dist/chunks/{model-resolver-gps0vx81.js → tool-djw0pnbs.js} +94 -94
  129. package/dist/chunks/{model-resolver-bw7h8fsx.js → tool-dnc7w57r.js} +14 -14
  130. package/dist/chunks/{model-resolver-mnvhm04t.js → tool-dnt051dx.js} +21 -21
  131. package/dist/chunks/{model-resolver-y71avatq.js → tool-dpkg50ah.js} +4 -4
  132. package/dist/chunks/{model-resolver-qqeeq2t9.js → tool-drwq78ky.js} +7 -7
  133. package/dist/chunks/{model-resolver-gcvbawqp.js → tool-dt8v8cc6.js} +16 -16
  134. package/dist/chunks/{model-resolver-t5j7jw81.js → tool-dv6fhex8.js} +1 -1
  135. package/dist/chunks/tool-dxj72tfx.js +18 -0
  136. package/dist/chunks/{model-resolver-zvt5dnpc.js → tool-e2hjzebn.js} +4 -4
  137. package/dist/chunks/{model-resolver-nma959mg.js → tool-e80seqcp.js} +3 -3
  138. package/dist/chunks/{model-resolver-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
  139. package/dist/chunks/{model-resolver-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{model-resolver-nme8cjen.js → tool-ehkcedfy.js} +8 -8
  141. package/dist/chunks/{model-resolver-c1fqxshp.js → tool-es1vcfrp.js} +3 -3
  142. package/dist/chunks/{model-resolver-t5205bkj.js → tool-esfwjqg1.js} +13 -13
  143. package/dist/chunks/{model-resolver-16qtt0td.js → tool-f5ct3k6s.js} +19 -19
  144. package/dist/chunks/{model-resolver-sr8at2s6.js → tool-f872t808.js} +23 -23
  145. package/dist/chunks/{model-resolver-03f7gaj9.js → tool-f8fhdr9r.js} +26 -26
  146. package/dist/chunks/{model-resolver-fcy631f0.js → tool-fcy631f0.js} +1 -1
  147. package/dist/chunks/{model-resolver-ft3hqk2c.js → tool-ft3hqk2c.js} +2 -2
  148. package/dist/chunks/{model-resolver-ny8edt06.js → tool-fxaymqdw.js} +4 -4
  149. package/dist/chunks/{model-resolver-bt2m3cq7.js → tool-fxs30z0y.js} +35 -35
  150. package/dist/chunks/{model-resolver-pqrhrnaw.js → tool-fxyrfkeq.js} +11 -11
  151. package/dist/chunks/{model-resolver-8h28ekbz.js → tool-g44aby64.js} +15 -15
  152. package/dist/chunks/{model-resolver-kntzm8s7.js → tool-g50kefr8.js} +11 -11
  153. package/dist/chunks/{model-resolver-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{model-resolver-5ycagacq.js → tool-gftpqfcq.js} +4 -4
  155. package/dist/chunks/{model-resolver-hr20tfp9.js → tool-gybdh0a0.js} +27 -27
  156. package/dist/chunks/{model-resolver-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{model-resolver-953qjn97.js → tool-hb7c6vf9.js} +13 -13
  158. package/dist/chunks/{model-resolver-tt8gc4fv.js → tool-hbb7npd7.js} +6 -6
  159. package/dist/chunks/{model-resolver-tt71e4t5.js → tool-hbq1mjfv.js} +23 -23
  160. package/dist/chunks/{model-resolver-r799sh1q.js → tool-he8dq86x.js} +23 -23
  161. package/dist/chunks/{model-resolver-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
  162. package/dist/chunks/{model-resolver-crfkxg47.js → tool-hjhxarjg.js} +2 -2
  163. package/dist/chunks/{model-resolver-m9gxmxmt.js → tool-hqd7seh4.js} +14 -14
  164. package/dist/chunks/{model-resolver-eq20ba7x.js → tool-hxtet8kv.js} +8 -8
  165. package/dist/chunks/{model-resolver-w232x9j5.js → tool-ja6ama36.js} +15 -15
  166. package/dist/chunks/{model-resolver-kcq0jhd1.js → tool-jr4tj8tx.js} +25 -25
  167. package/dist/chunks/{model-resolver-65zyc1z3.js → tool-jv204pn8.js} +6 -6
  168. package/dist/chunks/{model-resolver-m2b6v9cc.js → tool-kq8anxe4.js} +11 -11
  169. package/dist/chunks/{model-resolver-g56rc5zd.js → tool-krhn2nch.js} +12 -12
  170. package/dist/chunks/{model-resolver-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{model-resolver-0z62s2d8.js → tool-m5wnc3h6.js} +17 -17
  172. package/dist/chunks/{model-resolver-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{model-resolver-maspj1v3.js → tool-maspj1v3.js} +1 -1
  174. package/dist/chunks/{model-resolver-13n3hwre.js → tool-mchgfn78.js} +9 -9
  175. package/dist/chunks/{model-resolver-xq54jxm8.js → tool-mhbktqx9.js} +9 -9
  176. package/dist/chunks/{model-resolver-rsa08myv.js → tool-mhe84b87.js} +42 -42
  177. package/dist/chunks/{model-resolver-hkz952tc.js → tool-mhrn1b6p.js} +50 -50
  178. package/dist/chunks/{model-resolver-91dnb5t9.js → tool-mmwmp5se.js} +11 -11
  179. package/dist/chunks/{model-resolver-7dtw93gw.js → tool-mn1waazh.js} +34 -34
  180. package/dist/chunks/{model-resolver-wmbhbf7k.js → tool-myq527w7.js} +25 -25
  181. package/dist/chunks/{model-resolver-25er9rbr.js → tool-mzrjd0cd.js} +9 -9
  182. package/dist/chunks/{model-resolver-0jq9fyba.js → tool-n37c4crj.js} +9 -9
  183. package/dist/chunks/{model-resolver-xkgtb7n5.js → tool-n4rwe75z.js} +24 -24
  184. package/dist/chunks/{model-resolver-q4w1a1ev.js → tool-nd7csjtk.js} +13 -13
  185. package/dist/chunks/{model-resolver-qm7j4bgw.js → tool-nj4kxd9v.js} +34 -34
  186. package/dist/chunks/{model-resolver-nz56sr1f.js → tool-nz56sr1f.js} +2 -2
  187. package/dist/chunks/{model-resolver-d6acxb5p.js → tool-p19xwqz2.js} +9 -9
  188. package/dist/chunks/{model-resolver-d2c2r0dp.js → tool-p1ayhfez.js} +15 -15
  189. package/dist/chunks/{model-resolver-he2rnee2.js → tool-p56jdh79.js} +1 -1
  190. package/dist/chunks/{model-resolver-3h19w961.js → tool-p9e5fkyj.js} +18 -18
  191. package/dist/chunks/{model-resolver-g1xbyxhn.js → tool-pc58ekcv.js} +11 -11
  192. package/dist/chunks/{model-resolver-wpn34573.js → tool-pd6tx8e2.js} +21 -21
  193. package/dist/chunks/{model-resolver-2k71kv7p.js → tool-ph842b28.js} +4 -4
  194. package/dist/chunks/{model-resolver-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{model-resolver-pknna89w.js → tool-pknna89w.js} +1 -1
  196. package/dist/chunks/{model-resolver-zpz5hs3v.js → tool-pz07xgh4.js} +11 -11
  197. package/dist/chunks/{model-resolver-mcv1jzh9.js → tool-q2dz4afa.js} +32 -32
  198. package/dist/chunks/{model-resolver-nvqyc4x4.js → tool-q846csbm.js} +21 -21
  199. package/dist/chunks/{model-resolver-wmsgs64j.js → tool-q8nrjm55.js} +10 -10
  200. package/dist/chunks/{model-resolver-b27vhd2z.js → tool-qa3qhgw8.js} +4 -4
  201. package/dist/chunks/{model-resolver-2jhpg0z0.js → tool-qdqb97nm.js} +13 -13
  202. package/dist/chunks/{model-resolver-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{model-resolver-sctb5je3.js → tool-qnw1j25x.js} +22 -22
  204. package/dist/chunks/{model-resolver-qsdy395h.js → tool-qsdy395h.js} +1 -1
  205. package/dist/chunks/{model-resolver-e6jb2a33.js → tool-r1rfp8t8.js} +8 -8
  206. package/dist/chunks/{model-resolver-q0nrsbdj.js → tool-r7epa8w9.js} +10 -10
  207. package/dist/chunks/{model-resolver-mcexwfpj.js → tool-rdsy7yvm.js} +12 -12
  208. package/dist/chunks/{model-resolver-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{model-resolver-hzw94499.js → tool-rf0v5n98.js} +32 -32
  210. package/dist/chunks/{model-resolver-t550f9t1.js → tool-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{model-resolver-pbptwtxn.js → tool-rk2kcxcc.js} +18 -18
  212. package/dist/chunks/{model-resolver-1psxftkd.js → tool-rmc73zzm.js} +24 -24
  213. package/dist/chunks/{model-resolver-3kpnj44v.js → tool-rns4py0f.js} +77 -77
  214. package/dist/chunks/{model-resolver-smak4gza.js → tool-rpvr12zk.js} +11 -11
  215. package/dist/chunks/{model-resolver-z1cx7jj0.js → tool-rwasyrp5.js} +50 -50
  216. package/dist/chunks/{model-resolver-k7myrtme.js → tool-ry6831an.js} +9 -9
  217. package/dist/chunks/{model-resolver-q4x9wazd.js → tool-s1d318ea.js} +3 -3
  218. package/dist/chunks/{model-resolver-e930j4e4.js → tool-s23kegdt.js} +9 -9
  219. package/dist/chunks/{model-resolver-cefkz2r6.js → tool-s8n8peb1.js} +4 -4
  220. package/dist/chunks/{model-resolver-htk2qbym.js → tool-stcs9p48.js} +6 -6
  221. package/dist/chunks/{model-resolver-x24jdsad.js → tool-stf95kdk.js} +6 -6
  222. package/dist/chunks/{model-resolver-syv4x271.js → tool-syv4x271.js} +1 -1
  223. package/dist/chunks/{model-resolver-2r67f062.js → tool-t5pnv4sj.js} +34 -34
  224. package/dist/chunks/{model-resolver-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{model-resolver-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{model-resolver-tdstcens.js → tool-tdstcens.js} +1 -1
  227. package/dist/chunks/{model-resolver-71jhssm2.js → tool-tehwna3t.js} +7 -7
  228. package/dist/chunks/{model-resolver-rert0e01.js → tool-tkb22qbm.js} +2 -2
  229. package/dist/chunks/{model-resolver-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
  230. package/dist/chunks/{model-resolver-ajasdxgg.js → tool-trj535fm.js} +3 -3
  231. package/dist/chunks/{model-resolver-wgwbykmc.js → tool-twben05b.js} +13 -13
  232. package/dist/chunks/{model-resolver-tjkhcpzj.js → tool-txssyqt7.js} +6 -6
  233. package/dist/chunks/{model-resolver-tyytaxap.js → tool-tyytaxap.js} +1 -1
  234. package/dist/chunks/{model-resolver-e2yycdng.js → tool-tzs5ptya.js} +9 -9
  235. package/dist/chunks/{model-resolver-tx0gtb9m.js → tool-v210v162.js} +9 -9
  236. package/dist/chunks/{model-resolver-5a4rr9ep.js → tool-v56xwjn6.js} +30 -30
  237. package/dist/chunks/{model-resolver-zyhj209a.js → tool-v5e4b0wx.js} +15 -15
  238. package/dist/chunks/{model-resolver-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{model-resolver-4v7ngy20.js → tool-v7z2bvyd.js} +4 -4
  240. package/dist/chunks/{model-resolver-vbrars45.js → tool-vbrars45.js} +2 -2
  241. package/dist/chunks/{model-resolver-veqvce7d.js → tool-veqvce7d.js} +1 -1
  242. package/dist/chunks/{model-resolver-1tknn31b.js → tool-vmdagwb0.js} +17 -17
  243. package/dist/chunks/{model-resolver-984c2jwc.js → tool-vnn07649.js} +6 -6
  244. package/dist/chunks/{model-resolver-kpcbcdy7.js → tool-vvzbhhck.js} +4 -4
  245. package/dist/chunks/{model-resolver-q4v9s1ey.js → tool-vw63prre.js} +10 -10
  246. package/dist/chunks/{model-resolver-hffg64zm.js → tool-vx00tebk.js} +2 -2
  247. package/dist/chunks/{model-resolver-hz2tqvgg.js → tool-vymc59vb.js} +32 -32
  248. package/dist/chunks/{model-resolver-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{model-resolver-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{model-resolver-kw1e5yb6.js → tool-w4sgd07z.js} +27 -27
  251. package/dist/chunks/{model-resolver-94wae3rr.js → tool-w73xcbgf.js} +10 -10
  252. package/dist/chunks/{model-resolver-q11cbr1m.js → tool-w9sgbs7k.js} +24 -24
  253. package/dist/chunks/{model-resolver-wd87259q.js → tool-wd87259q.js} +1 -1
  254. package/dist/chunks/{model-resolver-kjdm35cs.js → tool-wh6zw745.js} +5 -5
  255. package/dist/chunks/{model-resolver-qrv63xef.js → tool-wjapg7ww.js} +5 -5
  256. package/dist/chunks/{model-resolver-g1thfskw.js → tool-wpafx981.js} +32 -32
  257. package/dist/chunks/{model-resolver-wv50gdba.js → tool-wpj6vp23.js} +30 -30
  258. package/dist/chunks/{model-resolver-q6jqqp9b.js → tool-wss5z80w.js} +5 -5
  259. package/dist/chunks/{model-resolver-f1b05866.js → tool-wy45m17f.js} +2 -2
  260. package/dist/chunks/{model-resolver-w55jn1kt.js → tool-x3jgdmpg.js} +8 -8
  261. package/dist/chunks/{model-resolver-t1ns4htq.js → tool-x4c1mtyt.js} +15 -15
  262. package/dist/chunks/{model-resolver-qprs721h.js → tool-xag3qx04.js} +17 -17
  263. package/dist/chunks/{model-resolver-mbq1c8qd.js → tool-xr8wmf3z.js} +19 -19
  264. package/dist/chunks/tool-xrbvcvxz.js +257 -0
  265. package/dist/chunks/{model-resolver-8y8pe54n.js → tool-xsft43nm.js} +54 -54
  266. package/dist/chunks/{model-resolver-cck04ss7.js → tool-xypd4wdp.js} +9 -9
  267. package/dist/chunks/{model-resolver-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{model-resolver-7x4gmhf6.js → tool-yb5r4v0q.js} +12 -12
  269. package/dist/chunks/{model-resolver-e0fw30bj.js → tool-yh238p43.js} +18 -18
  270. package/dist/chunks/{model-resolver-nzr8rkf6.js → tool-ypcn87gg.js} +13 -13
  271. package/dist/chunks/{model-resolver-z733aene.js → tool-yvvvp4gn.js} +8 -8
  272. package/dist/chunks/{model-resolver-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{model-resolver-z18fegx4.js → tool-z18fegx4.js} +1 -1
  274. package/dist/chunks/{model-resolver-fczeefh4.js → tool-z629hdve.js} +5 -5
  275. package/dist/chunks/{model-resolver-t67qckpp.js → tool-z9hatdac.js} +17 -17
  276. package/dist/chunks/{model-resolver-h3g77kky.js → tool-zc68hza3.js} +23 -23
  277. package/dist/chunks/{model-resolver-k9kzfgz6.js → tool-zgha0hsw.js} +21 -21
  278. package/dist/chunks/{model-resolver-rf6pxv7z.js → tool-zkaac646.js} +11 -11
  279. package/dist/chunks/{model-resolver-bnzbpt6f.js → tool-zkkgz3mx.js} +15 -15
  280. package/dist/chunks/{model-resolver-8asjp7hq.js → tool-zpfaeg84.js} +32 -32
  281. package/dist/chunks/{model-resolver-gzdnfxqj.js → tool-zr0b5yc7.js} +32 -32
  282. package/dist/chunks/{model-resolver-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{model-resolver-4134zm2w.js → tool-ztyv0636.js} +29 -29
  284. package/dist/chunks/{model-resolver-qswqrcwe.js → tool-zwevc33g.js} +11 -11
  285. package/dist/chunks/{model-resolver-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{model-resolver-h9ta6350.js → tool-zyx4ag0r.js} +31 -31
  287. package/dist/chunks/{model-resolver-6fabj146.js → tool-zz29nx1c.js} +8 -8
  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 +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +114 -114
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +72 -72
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +81 -81
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +158 -158
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +115 -115
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +86 -86
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +3 -3
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +91 -91
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +162 -162
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +210 -210
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +120 -120
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +209 -209
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +209 -209
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +106 -106
  652. package/dist/tool/plugin/websearch.js +108 -108
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +89 -89
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  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 +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/model-resolver-1ajxh176.js +0 -26
  693. package/dist/chunks/model-resolver-43a422m2.js +0 -257
  694. package/dist/chunks/model-resolver-6tdfsx48.js +0 -517
  695. package/dist/chunks/model-resolver-pf31ssb9.js +0 -18
  696. /package/dist/chunks/{model-resolver-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{model-resolver-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{model-resolver-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{model-resolver-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{model-resolver-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{model-resolver-24dcb14g.js → tool-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2710q6r3.js → tool-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{model-resolver-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{model-resolver-2bv980vf.js → tool-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{model-resolver-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{model-resolver-359p4xyc.js → tool-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{model-resolver-3asan66x.js → tool-3asan66x.js} +0 -0
  708. /package/dist/chunks/{model-resolver-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{model-resolver-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{model-resolver-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{model-resolver-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{model-resolver-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{model-resolver-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{model-resolver-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{model-resolver-53557ph1.js → tool-53557ph1.js} +0 -0
  716. /package/dist/chunks/{model-resolver-550bvhaj.js → tool-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{model-resolver-6prwharc.js → tool-6prwharc.js} +0 -0
  718. /package/dist/chunks/{model-resolver-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{model-resolver-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{model-resolver-7m9af43g.js → tool-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{model-resolver-822emrt2.js → tool-822emrt2.js} +0 -0
  722. /package/dist/chunks/{model-resolver-84wd9syh.js → tool-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{model-resolver-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{model-resolver-8n3pysct.js → tool-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{model-resolver-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{model-resolver-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{model-resolver-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{model-resolver-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{model-resolver-af5trqkr.js → tool-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{model-resolver-afrmfg78.js → tool-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{model-resolver-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{model-resolver-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{model-resolver-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{model-resolver-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{model-resolver-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{model-resolver-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{model-resolver-d9fn303g.js → tool-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{model-resolver-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{model-resolver-dajrwvna.js → tool-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{model-resolver-dap0rakb.js → tool-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{model-resolver-df08tz66.js → tool-df08tz66.js} +0 -0
  742. /package/dist/chunks/{model-resolver-dy18nga0.js → tool-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{model-resolver-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-resolver-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-resolver-ec1grn59.js → tool-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-resolver-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-resolver-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-resolver-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-resolver-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-resolver-faypxj3z.js → tool-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-resolver-fd410y7t.js → tool-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-resolver-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{model-resolver-g86h250q.js → tool-g86h250q.js} +0 -0
  754. /package/dist/chunks/{model-resolver-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{model-resolver-gftt206x.js → tool-gftt206x.js} +0 -0
  756. /package/dist/chunks/{model-resolver-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{model-resolver-hk9envan.js → tool-hk9envan.js} +0 -0
  758. /package/dist/chunks/{model-resolver-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{model-resolver-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{model-resolver-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-resolver-m18g726c.js → tool-m18g726c.js} +0 -0
  766. /package/dist/chunks/{model-resolver-mp448xyj.js → tool-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-resolver-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-resolver-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-resolver-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-resolver-njntx4h6.js → tool-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{model-resolver-pyv0edze.js → tool-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{model-resolver-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-resolver-q74kybfr.js → tool-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-resolver-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-resolver-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{model-resolver-w803qqfp.js → tool-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-resolver-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wtztk69x.js → tool-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-resolver-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-resolver-x61499pn.js → tool-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-y44na4kk.js → tool-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-resolver-y8f7s663.js → tool-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-resolver-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-resolver-ym463w8f.js → tool-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-resolver-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{model-resolver-z9919s4g.js → tool-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./tool-z5v4ffb3.js";
4
4
  import {
5
- Service86,
6
- node90
7
- } from "./model-resolver-qswqrcwe.js";
5
+ Service84,
6
+ node88
7
+ } from "./tool-zwevc33g.js";
8
8
  import {
9
- Service85,
10
- node89
11
- } from "./model-resolver-4vdcag56.js";
9
+ Service83,
10
+ node87
11
+ } from "./tool-2nhcazd0.js";
12
12
  import {
13
- Service80,
14
- node84
15
- } from "./model-resolver-gyk6nsb6.js";
13
+ Service86,
14
+ node90
15
+ } from "./tool-cg54xxwj.js";
16
16
  import {
17
- ID15,
17
+ ID18,
18
18
  Current3,
19
- Info25,
19
+ Info29,
20
20
  UpdateInput5,
21
- Event18,
21
+ Event21,
22
22
  Vcs3
23
- } from "./model-resolver-tx0gtb9m.js";
23
+ } from "./tool-v210v162.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./model-resolver-rj3eygr5.js";
27
+ } from "./tool-c41wscbt.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./model-resolver-sa8ekw3f.js";
30
+ } from "./tool-c8ax2afj.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./tool-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID14,
40
- Info: () => Info24,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID17,
40
+ Info: () => Info28,
41
+ NotFoundError: () => NotFoundError12,
42
42
  Project: () => exports_project,
43
- Service: () => Service79,
43
+ Service: () => Service82,
44
44
  UpdateInput: () => UpdateInput4,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node86,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID14 = ID15;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info24 = Info25;
62
+ var Info28 = Info29;
63
63
  var UpdateInput4 = UpdateInput5;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID14
65
+ class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service79 extends Context.Service()("@opencode/Project") {
77
+ class Service82 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,12 +98,12 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service79, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service80;
103
+ const git = yield* Service86;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service85;
106
- const db = (yield* Service86).db;
105
+ const bus = yield* Service83;
106
+ const db = (yield* Service84).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
109
109
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event18.Updated, fromRow(changed));
115
+ yield* bus.publish(Event21.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID14.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError12({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event18.Updated, project);
176
+ yield* bus.publish(Event21.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event18.Updated, fromRow(row));
187
+ yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID14.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID14.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID14.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID14.global,
251
+ id: id ?? ID17.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID14.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID14.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event18.Updated, fromRow(row));
304
+ yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service79.of({ list, update, activate, resolve, sweep });
307
+ return Service82.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node83 = makeGlobalNode({
310
- service: Service79,
309
+ var node86 = makeGlobalNode({
310
+ service: Service82,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node84, AppProcess.node]
312
+ deps: [node87, node88, FSUtil.node, node90, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service79;
317
+ const project = yield* Service82;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node83]
320
+ deps: [node86]
321
321
  });
322
322
 
323
- export { ID14, Vcs2, Current2, Info24, UpdateInput4, NotFoundError11, root2, Service79, node83, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info28, UpdateInput4, NotFoundError12, root2, Service82, node86, sweepNode2, exports_project };
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service71
3
- } from "./model-resolver-1psxftkd.js";
2
+ Service50
3
+ } from "./tool-rmc73zzm.js";
4
4
  import {
5
- Service15,
5
+ Service14,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./model-resolver-2jhpg0z0.js";
8
+ } from "./tool-qdqb97nm.js";
9
9
  import {
10
- Service61
11
- } from "./model-resolver-t1ns4htq.js";
10
+ Service19
11
+ } from "./tool-x4c1mtyt.js";
12
12
  import {
13
- Service57
14
- } from "./model-resolver-g90hexag.js";
13
+ Service68
14
+ } from "./tool-1fqwyhye.js";
15
15
  import {
16
- Service56
17
- } from "./model-resolver-pbptwtxn.js";
16
+ Service17
17
+ } from "./tool-rk2kcxcc.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./model-resolver-6prwharc.js";
20
+ } from "./tool-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./model-resolver-9rqn6x4v.js";
23
+ } from "./tool-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input5,
28
+ Input: () => Input4,
29
29
  Output: () => Output3,
30
- Plugin: () => Plugin40,
30
+ Plugin: () => Plugin39,
31
31
  WriteTool: () => exports_write,
32
- name: () => name5,
33
- toModelContent: () => toModelContent3
32
+ name: () => name4,
33
+ toModelContent: () => toModelContent2
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 name5 = "write";
39
- var Input5 = Schema.Struct({
38
+ var name4 = "write";
39
+ var Input4 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
@@ -48,24 +48,24 @@ var Output3 = Schema.Struct({
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 Plugin40 = {
51
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin39 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service56;
56
- const fileMutation = yield* Service15;
57
- const environment = yield* Service71;
58
- const formatter = yield* Service61;
59
- const permission = yield* Service57;
55
+ const access = yield* Service17;
56
+ const fileMutation = yield* Service14;
57
+ const environment = yield* Service50;
58
+ const formatter = yield* Service19;
59
+ const permission = yield* Service68;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name5,
61
+ name: name4,
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: Input5,
68
+ input: Input4,
69
69
  output: Output3,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
@@ -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: toModelContent2(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 { name5, Input5, Output3, toModelContent3, Plugin40, exports_write };
101
+ export { name4, Input4, Output3, toModelContent2, Plugin39, exports_write };
@@ -1,9 +1,9 @@
1
1
  import {
2
- render2
3
- } from "./model-resolver-qqeeq2t9.js";
2
+ render3
3
+ } from "./tool-drwq78ky.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./tool-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/optimize.ts
9
9
  var exports_optimize = {};
@@ -13,7 +13,7 @@ __export(exports_optimize, {
13
13
  ArceePlugin: () => ArceePlugin2,
14
14
  KimiPlugin: () => KimiPlugin2,
15
15
  MetaPlugin: () => MetaPlugin2,
16
- OpenAIPlugin: () => OpenAIPlugin3,
16
+ OpenAIPlugin: () => OpenAIPlugin2,
17
17
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
18
18
  OptimizePlugin: () => exports_optimize,
19
19
  Plugins: () => Plugins2
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
374
374
  `;
375
375
 
376
376
  // src/plugin/optimize.ts
377
- var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
377
+ var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
378
378
  const id = model.id.toLowerCase();
379
379
  if (!id.includes("gpt"))
380
380
  return;
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
409
409
  return;
410
410
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
411
411
  });
412
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
412
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
413
413
  function make(id, optimize, mode = "override") {
414
414
  return define({
415
415
  id,
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
437
437
  });
438
438
  }
439
439
 
440
- export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
440
+ export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./model-resolver-tjkhcpzj.js";
4
+ } from "./tool-txssyqt7.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./model-resolver-g90hexag.js";
8
+ } from "./tool-1fqwyhye.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./model-resolver-h9ta6350.js";
11
+ } from "./tool-zyx4ag0r.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./model-resolver-qm7j4bgw.js";
19
+ } from "./tool-nj4kxd9v.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./model-resolver-q4w1a1ev.js";
23
+ } from "./tool-nd7csjtk.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./tool-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-m2b6v9cc.js";
3
+ } from "./tool-kq8anxe4.js";
4
4
  import {
5
- Service85
6
- } from "./model-resolver-4vdcag56.js";
5
+ Service83
6
+ } from "./tool-2nhcazd0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./model-resolver-v9t9bmqx.js";
9
+ Event19
10
+ } from "./tool-2d2h4qhb.js";
11
11
  import {
12
12
  key2
13
- } from "./model-resolver-3y377wv9.js";
13
+ } from "./tool-addxnjmp.js";
14
14
  import {
15
- ID16,
15
+ ID14,
16
16
  MethodID2
17
- } from "./model-resolver-h9ta6350.js";
17
+ } from "./tool-zyx4ag0r.js";
18
18
  import {
19
19
  ID13,
20
20
  aisdk2,
21
21
  Service77
22
- } from "./model-resolver-6hen7d63.js";
22
+ } from "./tool-9eyh9j7p.js";
23
23
  import {
24
- ID12,
25
- Info21
26
- } from "./model-resolver-03f7gaj9.js";
24
+ ID8,
25
+ Info17
26
+ } from "./tool-f8fhdr9r.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./model-resolver-pjvnvgmy.js";
30
+ } from "./tool-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -36,7 +36,7 @@ import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
38
  var providerID = ID13.gitlab;
39
- var integrationID = ID16.make("gitlab");
39
+ var integrationID = ID14.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -58,7 +58,7 @@ var GitLabPlugin2 = define({
58
58
  id: "opencode.provider.gitlab",
59
59
  effect: Effect.fn(function* (ctx) {
60
60
  const providers = yield* Service77;
61
- const bus = yield* Service85;
61
+ const bus = yield* Service83;
62
62
  const http = yield* HttpClient.HttpClient;
63
63
  const loading = Semaphore.makeUnsafe(1);
64
64
  const loaded = {};
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info21.default(providerID, ID12.make(model.id)),
188
+ ...Info17.default(providerID, ID8.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./model-resolver-4vdcag56.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-2nhcazd0.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./model-resolver-953qjn97.js";
6
+ Service64,
7
+ node68
8
+ } from "./tool-hb7c6vf9.js";
9
9
  import {
10
10
  create3
11
- } from "./model-resolver-rdw6cm16.js";
11
+ } from "./tool-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./tool-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event14,
21
- ID: () => ID10,
20
+ Event: () => Event9,
21
+ ID: () => ID6,
22
22
  Input: () => Input15,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service73,
31
+ Service: () => Service48,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node75
33
+ node: () => node52
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event14 } from "@opencode/schema/websearch";
41
- var ID10 = WebSearch.ID;
40
+ import { Event as Event9 } from "@opencode/schema/websearch";
41
+ var ID6 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input15 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID10
53
+ providerID: ID6
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID10,
61
+ providerID: ID6,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service73 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service48 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service73, Effect.gen(function* () {
69
- const bus = yield* Service85;
70
- const kv = yield* Service81;
68
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
69
+ const bus = yield* Service83;
70
+ const kv = yield* Service64;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service73.of({
127
+ return Service48.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node75 = makeLocationNode({
188
- service: Service73,
187
+ var node52 = makeLocationNode({
188
+ service: Service48,
189
189
  layer,
190
- deps: [node89, node85]
190
+ deps: [node87, node68]
191
191
  });
192
192
 
193
- export { ID10, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service73, node75, exports_websearch3, Event14 };
193
+ export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service48, node52, exports_websearch3, Event9 };