@opencode/core 0.0.0-dev-19646 → 0.0.0-dev-19649

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{location-services-gx3sq1pv.js → generate-018dk8qz.js} +21 -21
  8. package/dist/chunks/{location-services-0jr2e6y1.js → generate-04494ex8.js} +20 -20
  9. package/dist/chunks/{location-services-b2frq1xf.js → generate-0etc2caz.js} +9 -9
  10. package/dist/chunks/{location-services-fr6z3a7g.js → generate-0n2c279e.js} +13 -13
  11. package/dist/chunks/{location-services-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-services-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-services-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{location-services-6x40s7vz.js → generate-1n7m04bq.js} +4 -4
  15. package/dist/chunks/{location-services-gc2d77n3.js → generate-1q0k1gze.js} +2 -2
  16. package/dist/chunks/{location-services-gr09cxn6.js → generate-1qs8cq69.js} +13 -13
  17. package/dist/chunks/{location-services-1sxjw9hv.js → generate-1xsde4yx.js} +24 -24
  18. package/dist/chunks/{location-services-21r38tys.js → generate-21r38tys.js} +1 -1
  19. package/dist/chunks/{location-services-6h73sxmp.js → generate-2402vzrj.js} +5 -5
  20. package/dist/chunks/{location-services-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
  21. package/dist/chunks/{location-services-0jwsre1p.js → generate-2k8khapm.js} +5 -5
  22. package/dist/chunks/{location-services-deadhj81.js → generate-32qeg25t.js} +25 -25
  23. package/dist/chunks/{location-services-2et47t4y.js → generate-36cgenav.js} +13 -13
  24. package/dist/chunks/{location-services-netmb1kz.js → generate-38ts9st6.js} +22 -22
  25. package/dist/chunks/{location-services-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  26. package/dist/chunks/{location-services-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  27. package/dist/chunks/{location-services-s5vpnh3h.js → generate-3jz8qj4k.js} +4 -4
  28. package/dist/chunks/{location-services-yx32magx.js → generate-3n5b019s.js} +23 -23
  29. package/dist/chunks/{location-services-tm1heg02.js → generate-3pbjq009.js} +6 -6
  30. package/dist/chunks/{location-services-myjt55zq.js → generate-3r6cnzs1.js} +15 -15
  31. package/dist/chunks/{location-services-avjf5276.js → generate-3sm93x71.js} +11 -11
  32. package/dist/chunks/{location-services-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  33. package/dist/chunks/generate-3stj088k.js +478 -0
  34. package/dist/chunks/{location-services-k9kj6xed.js → generate-3tq5qxbk.js} +4 -4
  35. package/dist/chunks/{location-services-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{location-services-qwjmgwmn.js → generate-4e8vs6eh.js} +8 -8
  37. package/dist/chunks/{location-services-gf19svat.js → generate-4pt6qy2j.js} +4 -4
  38. package/dist/chunks/{location-services-mthvd3x6.js → generate-4rw5e13g.js} +16 -16
  39. package/dist/chunks/{location-services-je647k4c.js → generate-4tdsrk0f.js} +16 -16
  40. package/dist/chunks/{location-services-v75vanfq.js → generate-55d9j7z7.js} +83 -83
  41. package/dist/chunks/{location-services-ywfgr7ts.js → generate-55tjjrsj.js} +11 -11
  42. package/dist/chunks/{location-services-33w4ejhs.js → generate-56gdpj1q.js} +6 -6
  43. package/dist/chunks/{location-services-xfkkasph.js → generate-57b9ws8p.js} +7 -7
  44. package/dist/chunks/{location-services-57ez7d0k.js → generate-57ez7d0k.js} +2 -2
  45. package/dist/chunks/{location-services-rsdf2nvv.js → generate-5c0f1prt.js} +4 -4
  46. package/dist/chunks/{location-services-5daktx2q.js → generate-5daktx2q.js} +1 -1
  47. package/dist/chunks/{location-services-v8r25ppc.js → generate-5gavsph1.js} +11 -11
  48. package/dist/chunks/{location-services-1dnbpee6.js → generate-5qjaqzv9.js} +11 -11
  49. package/dist/chunks/{location-services-7w3s9kd0.js → generate-5qkxfyep.js} +4 -4
  50. package/dist/chunks/{location-services-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
  51. package/dist/chunks/{location-services-669tq793.js → generate-669tq793.js} +1 -1
  52. package/dist/chunks/{location-services-269f66cv.js → generate-6av1qg1x.js} +1 -1
  53. package/dist/chunks/{location-services-w7e82c7b.js → generate-6drd6nfe.js} +4 -4
  54. package/dist/chunks/{location-services-j15mfg1p.js → generate-6ersrjne.js} +4 -4
  55. package/dist/chunks/{location-services-6kkxyhkv.js → generate-6kkxyhkv.js} +1 -1
  56. package/dist/chunks/{location-services-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
  57. package/dist/chunks/{location-services-y8saezta.js → generate-6qws982k.js} +41 -41
  58. package/dist/chunks/{location-services-ph4cn991.js → generate-760cgj3c.js} +13 -13
  59. package/dist/chunks/{location-services-vk829m9g.js → generate-77w2mdav.js} +15 -15
  60. package/dist/chunks/{location-services-1ch5qaya.js → generate-7bcdhp23.js} +12 -12
  61. package/dist/chunks/{location-services-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  62. package/dist/chunks/{location-services-a36t319h.js → generate-7h03wqdr.js} +8 -8
  63. package/dist/chunks/{location-services-vy7zhves.js → generate-7knhqesq.js} +19 -19
  64. package/dist/chunks/{location-services-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
  65. package/dist/chunks/{location-services-bdqj2w6e.js → generate-8dwzqybx.js} +16 -16
  66. package/dist/chunks/{location-services-wk8kxcxf.js → generate-8ge7dvt3.js} +20 -20
  67. package/dist/chunks/{location-services-s2y6tv1r.js → generate-8jqh0faz.js} +7 -7
  68. package/dist/chunks/{location-services-ydtevv15.js → generate-8p3ygysp.js} +20 -20
  69. package/dist/chunks/{location-services-dj2t23y0.js → generate-8p4f9s12.js} +2 -2
  70. package/dist/chunks/{location-services-em227t39.js → generate-8ta1r8c4.js} +24 -24
  71. package/dist/chunks/{location-services-escff1en.js → generate-946asvkn.js} +9 -9
  72. package/dist/chunks/{location-services-76v7th7s.js → generate-96zk3hmz.js} +11 -11
  73. package/dist/chunks/{location-services-hpfvhvya.js → generate-9c3np669.js} +8 -8
  74. package/dist/chunks/{location-services-rf569v5d.js → generate-9j3466js.js} +6 -6
  75. package/dist/chunks/{location-services-2rrz687z.js → generate-9vgjqst9.js} +18 -18
  76. package/dist/chunks/{location-services-28tn16s0.js → generate-9vzsgnqz.js} +29 -29
  77. package/dist/chunks/{location-services-kgfzjyt4.js → generate-9z9vrsk9.js} +7 -7
  78. package/dist/chunks/generate-9zdhvgqs.js +18 -0
  79. package/dist/chunks/{location-services-2q8hmj7g.js → generate-a0k24qk8.js} +17 -17
  80. package/dist/chunks/{location-services-5c4hm403.js → generate-a1bz86dw.js} +3 -3
  81. package/dist/chunks/{location-services-ff0svapt.js → generate-a3r4dcrj.js} +2 -2
  82. package/dist/chunks/{location-services-aaet6srn.js → generate-aaet6srn.js} +2 -2
  83. package/dist/chunks/{location-services-rmm45jmv.js → generate-aeb4sny1.js} +5 -5
  84. package/dist/chunks/{location-services-fbqqrxjq.js → generate-aj82xs4t.js} +47 -47
  85. package/dist/chunks/{location-services-ep9bxrrg.js → generate-ajspsemm.js} +15 -15
  86. package/dist/chunks/{location-services-hc9acsgr.js → generate-anf0zms1.js} +9 -9
  87. package/dist/chunks/{location-services-zgxes4ak.js → generate-apx28qeb.js} +2 -2
  88. package/dist/chunks/{location-services-xgyv9tjv.js → generate-b0r8n37v.js} +7 -7
  89. package/dist/chunks/{location-services-g3kb93e8.js → generate-b1350z2d.js} +6 -6
  90. package/dist/chunks/{location-services-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
  91. package/dist/chunks/{location-services-nqm4p04r.js → generate-b6yjmj8h.js} +38 -38
  92. package/dist/chunks/{location-services-evfh7863.js → generate-b74h32da.js} +30 -30
  93. package/dist/chunks/{location-services-c09q68jz.js → generate-bsbjf813.js} +2 -2
  94. package/dist/chunks/{location-services-t4x8ybjh.js → generate-bxsd7jqd.js} +1 -1
  95. package/dist/chunks/{location-services-zv3d04tz.js → generate-c44t3d1e.js} +24 -24
  96. package/dist/chunks/{location-services-ybkzn9j1.js → generate-c54qprxg.js} +17 -17
  97. package/dist/chunks/{location-services-fqnmpcgq.js → generate-c973t36a.js} +10 -10
  98. package/dist/chunks/{location-services-4cb531x0.js → generate-cc3mtsms.js} +11 -11
  99. package/dist/chunks/{location-services-m0jqrx5p.js → generate-cfpkc3c9.js} +2 -2
  100. package/dist/chunks/{location-services-yvnj23bv.js → generate-cpqe642d.js} +3 -3
  101. package/dist/chunks/{location-services-7ac170kv.js → generate-cq37gk0t.js} +4 -4
  102. package/dist/chunks/{location-services-6hbnmab1.js → generate-cw91ynzm.js} +3 -3
  103. package/dist/chunks/{location-services-5yzzbxa7.js → generate-czfptnv9.js} +8 -8
  104. package/dist/chunks/{location-services-10ggzwzy.js → generate-czvmf5x6.js} +16 -16
  105. package/dist/chunks/{location-services-ct1qeewn.js → generate-d0jkt3ak.js} +81 -81
  106. package/dist/chunks/{location-services-j4nftgh5.js → generate-d61c44a7.js} +8 -8
  107. package/dist/chunks/{location-services-hjhsnn6c.js → generate-d6xv4cjf.js} +15 -15
  108. package/dist/chunks/{location-services-ryaverbc.js → generate-dkf5s6cc.js} +8 -8
  109. package/dist/chunks/{location-services-jcrjmqjq.js → generate-ds5z7xmk.js} +9 -9
  110. package/dist/chunks/{location-services-kv9e5br2.js → generate-dw3m3wne.js} +9 -9
  111. package/dist/chunks/{location-services-2bah9vp1.js → generate-dyvf7jz8.js} +13 -13
  112. package/dist/chunks/{location-services-5gg6f7ne.js → generate-e4s68ytv.js} +21 -21
  113. package/dist/chunks/{location-services-e5nv3ght.js → generate-e5nv3ght.js} +2 -2
  114. package/dist/chunks/{location-services-a4w185c3.js → generate-e5v68n5c.js} +30 -30
  115. package/dist/chunks/{location-services-azqhcxjd.js → generate-e91rp9hz.js} +5 -5
  116. package/dist/chunks/{location-services-keat3kjn.js → generate-ec8389mk.js} +4 -4
  117. package/dist/chunks/{location-services-atqsbchn.js → generate-eed9kh00.js} +6 -6
  118. package/dist/chunks/{location-services-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{location-services-nyfcz8dg.js → generate-ehndab98.js} +3 -3
  120. package/dist/chunks/{location-services-y25vqx85.js → generate-ej5a261y.js} +5 -5
  121. package/dist/chunks/{location-services-bvf11d5q.js → generate-ej7f4065.js} +6 -6
  122. package/dist/chunks/{location-services-gk2jh81v.js → generate-ekeyjjf5.js} +8 -8
  123. package/dist/chunks/{location-services-zmw5anwf.js → generate-epjhmn07.js} +11 -11
  124. package/dist/chunks/{location-services-d5mtgc27.js → generate-epr1a2tz.js} +6 -6
  125. package/dist/chunks/{location-services-v3b6g8zk.js → generate-etan29fe.js} +20 -20
  126. package/dist/chunks/{location-services-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
  127. package/dist/chunks/{location-services-f3ngv102.js → generate-f3ngv102.js} +1 -1
  128. package/dist/chunks/{location-services-hdnk95c8.js → generate-f828m53h.js} +2 -2
  129. package/dist/chunks/{location-services-cdbhm1yn.js → generate-fp2fre2r.js} +13 -13
  130. package/dist/chunks/{location-services-bvjrvzat.js → generate-fsz265zt.js} +15 -15
  131. package/dist/chunks/{location-services-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
  132. package/dist/chunks/{location-services-82zyvcah.js → generate-fzr2ejag.js} +20 -20
  133. package/dist/chunks/{location-services-btnc3pk1.js → generate-g120d4yd.js} +25 -25
  134. package/dist/chunks/{location-services-5n4xgvhz.js → generate-g5qk797s.js} +27 -27
  135. package/dist/chunks/{location-services-vs7hrzt9.js → generate-gd2xe63m.js} +11 -11
  136. package/dist/chunks/{location-services-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{location-services-nb0n8t9k.js → generate-gexqhf5w.js} +11 -11
  138. package/dist/chunks/{location-services-3s77hqr9.js → generate-ggqxxnx9.js} +11 -11
  139. package/dist/chunks/{location-services-nqh98rja.js → generate-ghb76vye.js} +24 -24
  140. package/dist/chunks/{location-services-cwa6csj7.js → generate-gjwgx2c5.js} +9 -9
  141. package/dist/chunks/{location-services-fc1cjeqt.js → generate-gmqhbb2m.js} +7 -7
  142. package/dist/chunks/{location-services-s7tseabv.js → generate-gqgtds8a.js} +2 -2
  143. package/dist/chunks/{location-services-p3ayzxyn.js → generate-gsxd1kvq.js} +12 -12
  144. package/dist/chunks/{location-services-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{location-services-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
  146. package/dist/chunks/{location-services-h0v62rke.js → generate-h0xxw7xt.js} +8 -8
  147. package/dist/chunks/{location-services-kktnm5cw.js → generate-h4t38hqv.js} +9 -9
  148. package/dist/chunks/{location-services-h6r3nrb9.js → generate-h6r3nrb9.js} +1 -1
  149. package/dist/chunks/{location-services-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{location-services-nq7qqy46.js → generate-ha6yg8nx.js} +5 -5
  151. package/dist/chunks/{location-services-qn4ba14w.js → generate-hnr5yq9h.js} +5 -5
  152. package/dist/chunks/{location-services-b9txhqnf.js → generate-ht0wkyyg.js} +24 -24
  153. package/dist/chunks/{location-services-1v6wmkfd.js → generate-hx5ww8wt.js} +5 -5
  154. package/dist/chunks/{location-services-mcfrtzmy.js → generate-hywctfgt.js} +8 -8
  155. package/dist/chunks/{location-services-8y62cfgq.js → generate-hz59w1dt.js} +6 -6
  156. package/dist/chunks/{location-services-1bbkgx8g.js → generate-j028xdjb.js} +3 -3
  157. package/dist/chunks/{location-services-j56e64zr.js → generate-j56e64zr.js} +1 -1
  158. package/dist/chunks/{location-services-e1a1pwhq.js → generate-jag29bhy.js} +6 -6
  159. package/dist/chunks/{location-services-7b6g25ep.js → generate-jbjf5xyc.js} +4 -4
  160. package/dist/chunks/{location-services-6bsje7ws.js → generate-jexxy024.js} +3 -3
  161. package/dist/chunks/{location-services-dkt3e60b.js → generate-jfy0dxk0.js} +4 -4
  162. package/dist/chunks/{location-services-bbpz3t8j.js → generate-jhxvyrjk.js} +9 -9
  163. package/dist/chunks/{location-services-hg2ajb6b.js → generate-jnhsbnea.js} +4 -4
  164. package/dist/chunks/{location-services-3d4q28mx.js → generate-k164fyqe.js} +3 -3
  165. package/dist/chunks/{location-services-kz603ydr.js → generate-k7nhsa9c.js} +18 -18
  166. package/dist/chunks/{location-services-f4rta1r6.js → generate-khkyq8dg.js} +3 -3
  167. package/dist/chunks/{location-services-12q1t22t.js → generate-khrwmjag.js} +20 -20
  168. package/dist/chunks/{location-services-djrp4qhb.js → generate-kj7hwdd4.js} +15 -15
  169. package/dist/chunks/{location-services-yzvbtrh0.js → generate-kjrg4nqx.js} +16 -16
  170. package/dist/chunks/{location-services-xsn4scgh.js → generate-kn6fqyt5.js} +13 -13
  171. package/dist/chunks/{location-services-r9w3djhf.js → generate-kp8q1t60.js} +9 -9
  172. package/dist/chunks/{location-services-yaw0dvfn.js → generate-ksrxneee.js} +37 -37
  173. package/dist/chunks/{location-services-st5ykjtm.js → generate-ktz6gb6b.js} +7 -7
  174. package/dist/chunks/{location-services-139zgem4.js → generate-m69vmvzn.js} +16 -16
  175. package/dist/chunks/{location-services-781n25pw.js → generate-m6ex9jnq.js} +11 -11
  176. package/dist/chunks/{location-services-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{location-services-f068e6wh.js → generate-mhwbhhkb.js} +29 -29
  178. package/dist/chunks/{location-services-y1xhwned.js → generate-mqhf0jkk.js} +21 -21
  179. package/dist/chunks/{location-services-xqfzcbkh.js → generate-mye41sbt.js} +10 -10
  180. package/dist/chunks/{location-services-70kjx1n8.js → generate-n16fvec5.js} +26 -26
  181. package/dist/chunks/{location-services-24dd53tp.js → generate-n35d2xk4.js} +9 -9
  182. package/dist/chunks/{location-services-t7n9q6bq.js → generate-n4r3xatb.js} +4 -4
  183. package/dist/chunks/{location-services-dt2x0zh0.js → generate-n5vz0cry.js} +3 -3
  184. package/dist/chunks/{location-services-v7yf89ty.js → generate-new1546k.js} +30 -30
  185. package/dist/chunks/{location-services-gx0vxm5t.js → generate-ng0k6naq.js} +22 -22
  186. package/dist/chunks/{location-services-yv65nh8h.js → generate-nhz4v64b.js} +20 -20
  187. package/dist/chunks/{location-services-m91gvp7t.js → generate-nm4299rz.js} +8 -8
  188. package/dist/chunks/generate-nqqxnhec.js +26 -0
  189. package/dist/chunks/{location-services-1p39h8sh.js → generate-nwmcnebj.js} +32 -32
  190. package/dist/chunks/{location-services-0f9afca0.js → generate-nxhqveyz.js} +5 -5
  191. package/dist/chunks/{location-services-g6hxn58d.js → generate-p1mjq1jx.js} +31 -31
  192. package/dist/chunks/{location-services-vhyp5dk4.js → generate-p863egc7.js} +2 -2
  193. package/dist/chunks/{location-services-167waerb.js → generate-pjmbp0wz.js} +3 -3
  194. package/dist/chunks/{location-services-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{location-services-pknna89w.js → generate-pknna89w.js} +1 -1
  196. package/dist/chunks/{location-services-ezrbh4zz.js → generate-ppj42m4h.js} +16 -16
  197. package/dist/chunks/{location-services-39rqm1tv.js → generate-q2drh1py.js} +35 -35
  198. package/dist/chunks/{location-services-pa0gt5x9.js → generate-qhbskxnc.js} +24 -24
  199. package/dist/chunks/{location-services-qsdy395h.js → generate-qsdy395h.js} +1 -1
  200. package/dist/chunks/{location-services-srt412n5.js → generate-qtan44r6.js} +4 -4
  201. package/dist/chunks/{location-services-atrbvfby.js → generate-qz2q0455.js} +13 -13
  202. package/dist/chunks/{location-services-pg1wgx4z.js → generate-r1cen77p.js} +4 -4
  203. package/dist/chunks/{location-services-7xspgfqj.js → generate-r5rzmb14.js} +15 -15
  204. package/dist/chunks/{location-services-1acjjqhc.js → generate-r8xr0va3.js} +4 -4
  205. package/dist/chunks/{location-services-r9mregkx.js → generate-r9mregkx.js} +2 -2
  206. package/dist/chunks/{location-services-yz88ab0y.js → generate-rchkgt8f.js} +9 -9
  207. package/dist/chunks/{location-services-t408tbvg.js → generate-rdksyszg.js} +26 -26
  208. package/dist/chunks/{location-services-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  209. package/dist/chunks/{location-services-aj9pnh4n.js → generate-rfcrhdzq.js} +11 -11
  210. package/dist/chunks/{location-services-s8d7rejh.js → generate-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{location-services-1f98cwtd.js → generate-rj2fqsky.js} +31 -31
  212. package/dist/chunks/{location-services-s4mk8tc4.js → generate-rjeyxgwk.js} +18 -18
  213. package/dist/chunks/{location-services-5pgkrn72.js → generate-rqng9qq1.js} +1 -1
  214. package/dist/chunks/{location-services-vzh6wn7r.js → generate-rw3ekvj8.js} +4 -4
  215. package/dist/chunks/{location-services-b27vhd2z.js → generate-ryr25ayn.js} +4 -4
  216. package/dist/chunks/{location-services-w3krsc1n.js → generate-rz5w3t5j.js} +10 -10
  217. package/dist/chunks/{location-services-np7skr3v.js → generate-rzb8hxx3.js} +11 -11
  218. package/dist/chunks/{location-services-ne66tkmq.js → generate-s1r5mapv.js} +14 -14
  219. package/dist/chunks/{location-services-xc3sk8sy.js → generate-s6me8z45.js} +24 -24
  220. package/dist/chunks/{location-services-gp57js1t.js → generate-s8ebftcw.js} +129 -129
  221. package/dist/chunks/{location-services-yjt0sm5p.js → generate-scxdnmy8.js} +50 -50
  222. package/dist/chunks/{location-services-hcp4grc4.js → generate-sppfbdp1.js} +34 -34
  223. package/dist/chunks/{location-services-3w2b2yj4.js → generate-t0fxg8b9.js} +5 -5
  224. package/dist/chunks/{location-services-mp6drm3w.js → generate-t1h95z69.js} +3 -3
  225. package/dist/chunks/{location-services-2bmpyzcd.js → generate-t33aqq77.js} +8 -8
  226. package/dist/chunks/{location-services-s6zy68bd.js → generate-t663hptm.js} +1 -1
  227. package/dist/chunks/{location-services-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{location-services-1rzrj0t8.js → generate-tb7pqq47.js} +9 -9
  229. package/dist/chunks/{location-services-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{location-services-n8bvb90d.js → generate-tdczqyfx.js} +10 -10
  231. package/dist/chunks/{location-services-tdstcens.js → generate-tdstcens.js} +1 -1
  232. package/dist/chunks/{location-services-b3frasm9.js → generate-tegxt6vj.js} +8 -8
  233. package/dist/chunks/{location-services-rnk60ejx.js → generate-tkt1bmkw.js} +7 -7
  234. package/dist/chunks/{location-services-tvtrv512.js → generate-tvtrv512.js} +1 -1
  235. package/dist/chunks/{location-services-z59fwxgv.js → generate-v2k0h1f8.js} +3 -3
  236. package/dist/chunks/{location-services-sp39rzf0.js → generate-v7f9adz1.js} +25 -25
  237. package/dist/chunks/{location-services-veqvce7d.js → generate-veqvce7d.js} +1 -1
  238. package/dist/chunks/{location-services-tbp620s5.js → generate-vjesnp8n.js} +26 -26
  239. package/dist/chunks/{location-services-dfe8djrf.js → generate-vncycja5.js} +4 -4
  240. package/dist/chunks/{location-services-xpqk3eh0.js → generate-vqgkz20a.js} +29 -29
  241. package/dist/chunks/{location-services-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{location-services-s5gt9c9b.js → generate-w0fkck8g.js} +7 -7
  243. package/dist/chunks/{location-services-gwns8bgm.js → generate-w26x56ac.js} +33 -33
  244. package/dist/chunks/{location-services-g8pq9weq.js → generate-w3pgckbp.js} +22 -22
  245. package/dist/chunks/{location-services-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  246. package/dist/chunks/{location-services-wd87259q.js → generate-wd87259q.js} +1 -1
  247. package/dist/chunks/{location-services-1y4p7nrp.js → generate-wmqh7bpp.js} +9 -9
  248. package/dist/chunks/{location-services-zszn2v6m.js → generate-wmvybe78.js} +32 -32
  249. package/dist/chunks/{location-services-8ks451pa.js → generate-ws2rjdvk.js} +25 -25
  250. package/dist/chunks/{location-services-e9qsksz7.js → generate-wtxzf15q.js} +38 -38
  251. package/dist/chunks/{location-services-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{location-services-5cq9r6wf.js → generate-xdg8wrbd.js} +21 -21
  253. package/dist/chunks/{location-services-rwejf1ab.js → generate-xknftrp0.js} +9 -9
  254. package/dist/chunks/{location-services-k5ynfrnd.js → generate-xm11a0br.js} +18 -18
  255. package/dist/chunks/{location-services-v4nysbcg.js → generate-xmq2dby5.js} +1 -1
  256. package/dist/chunks/{location-services-wsd1ss6t.js → generate-xr30fmf3.js} +46 -46
  257. package/dist/chunks/{location-services-yebec9g6.js → generate-xtbzrf6x.js} +21 -21
  258. package/dist/chunks/{location-services-fvsy7c6q.js → generate-xxpqwbf7.js} +8 -8
  259. package/dist/chunks/{location-services-h3vnthrd.js → generate-xzgt0kck.js} +10 -10
  260. package/dist/chunks/{location-services-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{location-services-rrmvx1xt.js → generate-y3n94rey.js} +14 -14
  262. package/dist/chunks/{location-services-m91p7e2t.js → generate-y45z4mgs.js} +17 -17
  263. package/dist/chunks/{location-services-z7wrdhz3.js → generate-y6xead4g.js} +5 -5
  264. package/dist/chunks/{location-services-dpkg50ah.js → generate-y71avatq.js} +4 -4
  265. package/dist/chunks/{location-services-1qghmjy0.js → generate-ybhbtxjg.js} +6 -6
  266. package/dist/chunks/{location-services-w21bzq9q.js → generate-ycjb11n5.js} +6 -6
  267. package/dist/chunks/{location-services-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
  268. package/dist/chunks/{location-services-yrznvahk.js → generate-yrznvahk.js} +2 -2
  269. package/dist/chunks/generate-yzkcfeqf.js +247 -0
  270. package/dist/chunks/{location-services-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{location-services-z63w68vq.js → generate-z63w68vq.js} +2 -2
  272. package/dist/chunks/{location-services-y66019s9.js → generate-z6qczp7g.js} +12 -12
  273. package/dist/chunks/{location-services-mfe713bv.js → generate-z7z0ddsh.js} +8 -8
  274. package/dist/chunks/{location-services-adt7kv3m.js → generate-z9kz6vq2.js} +1 -1
  275. package/dist/chunks/{location-services-rq2ev7pp.js → generate-zc5pdmbq.js} +33 -33
  276. package/dist/chunks/{location-services-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
  277. package/dist/chunks/{location-services-68fytkrv.js → generate-zeys2cq1.js} +24 -24
  278. package/dist/chunks/{location-services-6rybd781.js → generate-zhq6vg7a.js} +1 -1
  279. package/dist/chunks/{location-services-kht76ygp.js → generate-zp3nz9mq.js} +8 -8
  280. package/dist/chunks/{location-services-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{location-services-bzq0czea.js → generate-zs63n6kz.js} +20 -20
  282. package/dist/chunks/{location-services-2fajfwx1.js → generate-zt5y59ah.js} +9 -9
  283. package/dist/chunks/{location-services-hdvwcw0z.js → generate-zxp3bg72.js} +63 -63
  284. package/dist/chunks/{location-services-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +82 -82
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +124 -124
  293. package/dist/config/plugin/command.js +212 -212
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +122 -122
  301. package/dist/config/plugin/mcp.js +131 -131
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +122 -122
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +143 -143
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +125 -125
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +72 -72
  318. package/dist/database/database.js +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +364 -364
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +69 -69
  407. package/dist/file-access.js +103 -103
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +96 -96
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +97 -97
  423. package/dist/form.js +69 -69
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +86 -86
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +98 -98
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +75 -75
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +80 -80
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +126 -126
  468. package/dist/mcp/oauth.js +98 -76
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +98 -98
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +98 -98
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +79 -79
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +108 -108
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +103 -103
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +95 -95
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +101 -101
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  498. package/dist/plugin/provider/azure.js +121 -121
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +118 -118
  504. package/dist/plugin/provider/digitalocean.js +92 -92
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +92 -92
  509. package/dist/plugin/provider/gitlab.js +90 -90
  510. package/dist/plugin/provider/google-vertex.js +89 -89
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +76 -76
  513. package/dist/plugin/provider/lmstudio.js +119 -119
  514. package/dist/plugin/provider/modal.js +91 -91
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +121 -121
  517. package/dist/plugin/provider/openai.js +91 -91
  518. package/dist/plugin/provider/opencode.js +92 -92
  519. package/dist/plugin/provider/openrouter.js +90 -90
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +77 -77
  522. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  523. package/dist/plugin/provider/sap-ai-core.js +90 -90
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +89 -89
  528. package/dist/plugin/provider/vllm.js +119 -119
  529. package/dist/plugin/provider/xai.js +90 -90
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +158 -158
  532. package/dist/plugin/sdk.js +75 -75
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +140 -140
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +85 -85
  539. package/dist/plugin/vcs/hg.js +85 -85
  540. package/dist/plugin/warming.js +120 -120
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +8 -8
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +4 -4
  545. package/dist/plugin/websearch/parallel.js +8 -8
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin/websearch/tinyfish.js +8 -8
  548. package/dist/plugin.js +219 -219
  549. package/dist/project/schema.js +2 -2
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +79 -79
  552. package/dist/provider.js +88 -88
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +89 -89
  557. package/dist/reference/instructions.js +88 -88
  558. package/dist/reference.js +88 -88
  559. package/dist/repository-cache.js +80 -80
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +94 -94
  563. package/dist/rpc.js +85 -85
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +132 -132
  567. package/dist/session/context.js +150 -150
  568. package/dist/session/diff.js +87 -87
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +219 -219
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +151 -151
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +89 -89
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +76 -76
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +96 -96
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +117 -117
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +129 -129
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +104 -104
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +89 -89
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +228 -228
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +97 -97
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +113 -113
  597. package/dist/session/runner/step.js +124 -124
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +137 -137
  602. package/dist/session/skill.js +102 -102
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +72 -72
  605. package/dist/session/store.js +84 -84
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +208 -208
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +154 -154
  610. package/dist/session/to-session-error.js +110 -110
  611. package/dist/session/transfer.js +212 -212
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +216 -216
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +11 -11
  618. package/dist/shell.js +137 -137
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +104 -104
  621. package/dist/skill.js +109 -109
  622. package/dist/snapshot.js +88 -88
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +123 -123
  627. package/dist/tool/plugin/edit.js +119 -119
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +123 -123
  630. package/dist/tool/plugin/grep.js +123 -123
  631. package/dist/tool/plugin/opencode.js +1 -1
  632. package/dist/tool/plugin/patch.js +121 -121
  633. package/dist/tool/plugin/question.js +102 -102
  634. package/dist/tool/plugin/read.js +124 -124
  635. package/dist/tool/plugin/shell.js +207 -207
  636. package/dist/tool/plugin/skill.js +100 -100
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +109 -109
  639. package/dist/tool/plugin/websearch.js +111 -111
  640. package/dist/tool/plugin/write.js +119 -119
  641. package/dist/tool/read-filesystem.js +99 -99
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/types/mcp/oauth.d.ts +4 -0
  646. package/dist/types/v1/config/migrate.d.ts +1 -0
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  666. package/dist/v1/config/permission.js +1 -1
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/variant.js +90 -90
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +88 -88
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +73 -73
  678. package/dist/wellknown.js +78 -78
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +77 -77
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +8 -8
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +93 -93
  687. package/package.json +9 -8
  688. package/dist/chunks/location-services-10w680va.js +0 -478
  689. package/dist/chunks/location-services-74b8z681.js +0 -26
  690. package/dist/chunks/location-services-q509s3k3.js +0 -18
  691. package/dist/chunks/location-services-qghmpbmc.js +0 -247
  692. /package/dist/chunks/{location-services-0mesazry.js → generate-0mesazry.js} +0 -0
  693. /package/dist/chunks/{location-services-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{location-services-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{location-services-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{location-services-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{location-services-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{location-services-24dcb14g.js → generate-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{location-services-2710q6r3.js → generate-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{location-services-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{location-services-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{location-services-359p4xyc.js → generate-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{location-services-3asan66x.js → generate-3asan66x.js} +0 -0
  704. /package/dist/chunks/{location-services-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-services-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{location-services-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{location-services-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{location-services-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{location-services-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{location-services-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{location-services-53557ph1.js → generate-53557ph1.js} +0 -0
  712. /package/dist/chunks/{location-services-550bvhaj.js → generate-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{location-services-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{location-services-6prwharc.js → generate-6prwharc.js} +0 -0
  715. /package/dist/chunks/{location-services-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{location-services-7m9af43g.js → generate-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{location-services-822emrt2.js → generate-822emrt2.js} +0 -0
  718. /package/dist/chunks/{location-services-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{location-services-8n3pysct.js → generate-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{location-services-922hggd3.js → generate-922hggd3.js} +0 -0
  721. /package/dist/chunks/{location-services-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{location-services-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{location-services-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{location-services-af5trqkr.js → generate-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{location-services-afrmfg78.js → generate-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{location-services-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{location-services-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{location-services-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{location-services-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{location-services-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{location-services-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{location-services-d9fn303g.js → generate-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{location-services-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{location-services-dajrwvna.js → generate-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{location-services-dap0rakb.js → generate-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{location-services-df08tz66.js → generate-df08tz66.js} +0 -0
  737. /package/dist/chunks/{location-services-dy18nga0.js → generate-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{location-services-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{location-services-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{location-services-ec1grn59.js → generate-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{location-services-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{location-services-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{location-services-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{location-services-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{location-services-faypxj3z.js → generate-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{location-services-fd410y7t.js → generate-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{location-services-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{location-services-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{location-services-g86h250q.js → generate-g86h250q.js} +0 -0
  750. /package/dist/chunks/{location-services-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{location-services-gftt206x.js → generate-gftt206x.js} +0 -0
  752. /package/dist/chunks/{location-services-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{location-services-hk9envan.js → generate-hk9envan.js} +0 -0
  754. /package/dist/chunks/{location-services-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{location-services-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{location-services-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{location-services-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{location-services-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{location-services-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{location-services-mp448xyj.js → generate-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{location-services-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{location-services-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{location-services-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{location-services-njntx4h6.js → generate-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{location-services-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{location-services-q74kybfr.js → generate-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{location-services-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{location-services-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{location-services-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{location-services-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{location-services-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{location-services-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{location-services-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{location-services-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{location-services-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{location-services-twg0f83k.js → generate-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{location-services-w803qqfp.js → generate-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{location-services-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{location-services-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{location-services-wtztk69x.js → generate-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{location-services-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{location-services-x61499pn.js → generate-x61499pn.js} +0 -0
  783. /package/dist/chunks/{location-services-y44na4kk.js → generate-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{location-services-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{location-services-y8f7s663.js → generate-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{location-services-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{location-services-ym463w8f.js → generate-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{location-services-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-yvnj23bv.js";
4
+ } from "./generate-cpqe642d.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./location-services-hdnk95c8.js";
7
+ } from "./generate-f828m53h.js";
8
8
  import {
9
9
  __export
10
- } from "./location-services-9rqn6x4v.js";
10
+ } from "./generate-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID10,
17
- Info: () => Info23,
16
+ ID: () => ID9,
17
+ Info: () => Info22,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service68,
21
- node: () => node72
20
+ Service: () => Service64,
21
+ node: () => node68
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID10 = PermissionSaved.ID;
29
- var Info23 = PermissionSaved.Info;
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info22 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service68 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service64 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service68, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
42
42
  const db = (yield* Service82).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID10.create(),
56
+ id: ID9.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service68.of({ list, add, remove });
65
+ return Service64.of({ list, add, remove });
66
66
  }));
67
- var node72 = makeGlobalNode({ service: Service68, layer, deps: [node86] });
67
+ var node68 = makeGlobalNode({ service: Service64, layer, deps: [node86] });
68
68
 
69
- export { ID10, Info23, ListInput4, AddInput2, Service68, node72, exports_saved };
69
+ export { ID9, Info22, ListInput4, AddInput2, Service64, node68, exports_saved };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make17
9
+ make: () => make18
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make17 = (options) => Effect.gen(function* () {
12
+ var make18 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make17, exports_run_coordinator };
92
+ export { make18, exports_run_coordinator };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./location-services-3w5fmr99.js";
4
+ } from "./generate-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./location-services-9rqn6x4v.js";
7
+ } from "./generate-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-b3frasm9.js";
3
+ } from "./generate-tegxt6vj.js";
4
4
  import {
5
5
  call2
6
- } from "./location-services-33w4ejhs.js";
6
+ } from "./generate-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./generate-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin14,
14
+ Plugin: () => Plugin34,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint4 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin14 = define({
40
+ var Plugin34 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin14 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint4, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin14 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin14, exports_firecrawl };
80
+ export { endpoint4, Plugin34, exports_firecrawl };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./location-services-yvnj23bv.js";
4
+ } from "./generate-cpqe642d.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service81,
8
8
  node85
9
- } from "./location-services-dkt3e60b.js";
9
+ } from "./generate-jfy0dxk0.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./location-services-5t3nmthw.js";
12
+ } from "./generate-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./location-services-ec1grn59.js";
15
+ } from "./generate-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./location-services-mfe713bv.js";
18
+ } from "./generate-z7z0ddsh.js";
19
19
  import {
20
- Service69,
21
- node73
22
- } from "./location-services-p3ayzxyn.js";
20
+ Service65,
21
+ node69
22
+ } from "./generate-gsxd1kvq.js";
23
23
  import {
24
- Service27,
25
- node30
26
- } from "./location-services-ct1qeewn.js";
24
+ Service31,
25
+ node34
26
+ } from "./generate-d0jkt3ak.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./location-services-tdstcens.js";
30
+ } from "./generate-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./generate-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service10,
38
+ Service: () => Service11,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer7,
42
- node: () => node12
41
+ layer: () => layer6,
42
+ node: () => node13
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service10 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service11 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer7 = Layer.effect(Service10, Effect.gen(function* () {
61
+ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
62
62
  const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service27;
65
- const store = yield* Service69;
64
+ const context = yield* Service31;
65
+ const store = yield* Service65;
66
66
  const db = (yield* Service82).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service10.of({ generate });
148
+ return Service11.of({ generate });
149
149
  }));
150
- var node12 = makeLocationNode({
151
- service: Service10,
152
- layer: layer7,
153
- deps: [node85, llmClient2, node30, node73, node86]
150
+ var node13 = makeLocationNode({
151
+ service: Service11,
152
+ layer: layer6,
153
+ deps: [node85, llmClient2, node34, node69, node86]
154
154
  });
155
155
 
156
- export { Service10, isUntitled2, layer7, node12, exports_title };
156
+ export { Service11, isUntitled2, layer6, node13, exports_title };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service50
3
- } from "./location-services-2q8hmj7g.js";
2
+ Service67
3
+ } from "./generate-a0k24qk8.js";
4
4
  import {
5
- Service24
6
- } from "./location-services-v75vanfq.js";
5
+ Service28
6
+ } from "./generate-55d9j7z7.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./location-services-x1ezjp6w.js";
10
+ } from "./generate-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./location-services-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make8
19
+ make: () => make10
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make8 = Effect.gen(function* () {
23
- const sessions = yield* Service24;
24
- const jobs = yield* Service50;
22
+ var make10 = Effect.gen(function* () {
23
+ const sessions = yield* Service28;
24
+ const jobs = yield* Service67;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make8 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make8, exports_subagent_job };
61
+ export { make10, exports_subagent_job };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-services-dpkg50ah.js";
3
+ } from "./generate-y71avatq.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./location-services-dkt3e60b.js";
7
+ } from "./generate-jfy0dxk0.js";
8
8
  import {
9
9
  Event19,
10
10
  Service76,
11
11
  node80
12
- } from "./location-services-y25vqx85.js";
12
+ } from "./generate-ej5a261y.js";
13
13
  import {
14
14
  Service78,
15
15
  node82
16
- } from "./location-services-vhyp5dk4.js";
16
+ } from "./generate-p863egc7.js";
17
17
  import {
18
- Service64,
19
- node67
20
- } from "./location-services-5gg6f7ne.js";
18
+ Service53,
19
+ node57
20
+ } from "./generate-e4s68ytv.js";
21
21
  import {
22
22
  ID16,
23
23
  Service77,
24
24
  node81
25
- } from "./location-services-gc2d77n3.js";
25
+ } from "./generate-1q0k1gze.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./location-services-rdw6cm16.js";
29
+ } from "./generate-rdw6cm16.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
33
  Service75,
34
34
  node79
35
- } from "./location-services-nq7qqy46.js";
35
+ } from "./generate-ha6yg8nx.js";
36
36
  import {
37
37
  __export
38
- } from "./location-services-9rqn6x4v.js";
38
+ } from "./generate-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service32,
53
+ Service: () => Service36,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured4,
57
- layer: () => layer12,
58
- node: () => node35
56
+ configured: () => configured5,
57
+ layer: () => layer14,
58
+ node: () => node39
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -92,17 +92,17 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
92
92
  var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var cloneConfig = (config) => structuredClone(config);
94
94
 
95
- class Service32 extends Context.Service()("@opencode/MCP") {
95
+ class Service36 extends Context.Service()("@opencode/MCP") {
96
96
  }
97
- var Options4 = Schema.Struct({
97
+ var Options5 = Schema.Struct({
98
98
  clientInfo: Schema.optional(Schema.Struct({
99
99
  name: Schema.String,
100
100
  version: Schema.String
101
101
  }))
102
102
  });
103
- var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
103
+ var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
104
104
  const location = yield* Service78;
105
- const environment = yield* Service64;
105
+ const environment = yield* Service53;
106
106
  const bus = yield* Service81;
107
107
  const forms = yield* Service77;
108
108
  const integration = yield* Service75;
@@ -143,7 +143,7 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
143
143
  const name = ServerName2.make(server);
144
144
  const entry = entries.get(name);
145
145
  if (!entry)
146
- return yield* new NotFoundError4({ server: name });
146
+ return yield* new NotFoundError5({ server: name });
147
147
  return { name, entry };
148
148
  });
149
149
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -239,7 +239,7 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
239
239
  entry.scope = scope;
240
240
  const authProvider = yield* connectProvider(entry);
241
241
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
242
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
242
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope), Effect.exit);
243
243
  if (Exit.isSuccess(result)) {
244
244
  entry.client = result.value.connection;
245
245
  entry.tools = result.value.tools.map((tool) => toTool(name, entry, tool));
@@ -389,7 +389,7 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
389
389
  }),
390
390
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
391
391
  });
392
- return Service32.of({
392
+ return Service36.of({
393
393
  transform: state.transform,
394
394
  reload: state.reload,
395
395
  servers: Effect.fn("MCP.servers")(function* () {
@@ -508,14 +508,14 @@ var layer12 = (options) => Layer.effect(Service32, Effect.gen(function* () {
508
508
  })
509
509
  });
510
510
  }));
511
- function configured4(options) {
511
+ function configured5(options) {
512
512
  return makeLocationNode({
513
- service: Service32,
514
- layer: layer12(options),
515
- deps: [node82, node67, node85, node81, node79, node80]
513
+ service: Service36,
514
+ layer: layer14(options),
515
+ deps: [node82, node57, node85, node81, node79, node80]
516
516
  });
517
517
  }
518
- var node35 = configured4();
518
+ var node39 = configured5();
519
519
  function toElicitationField(key, property, required) {
520
520
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
521
521
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -566,4 +566,4 @@ function toElicitationField(key, property, required) {
566
566
  }
567
567
  }
568
568
 
569
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer12, configured4, node35, exports_mcp4 };
569
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer14, configured5, node39, exports_mcp4 };
@@ -2,27 +2,27 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./location-services-dkt3e60b.js";
5
+ } from "./generate-jfy0dxk0.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./location-services-n8bvb90d.js";
7
+ Service69,
8
+ node73
9
+ } from "./generate-tdczqyfx.js";
10
10
  import {
11
11
  __export
12
- } from "./location-services-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event10,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service58,
22
+ Service: () => Service50,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node61,
25
+ node: () => node53,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service58 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service50 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event10 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service58, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service63;
80
+ const kv = yield* Service69;
81
81
  const bus = yield* Service81;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event10.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service58.of({
115
+ return Service50.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event10.Updated, {});
128
+ yield* bus.publish(Event12.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event10.Updated, {});
141
+ yield* bus.publish(Event12.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node61 = makeGlobalNode({ service: Service58, layer, deps: [httpClient, node66, node85] });
146
+ var node53 = makeGlobalNode({ service: Service50, layer, deps: [httpClient, node73, node85] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service58, Event10, inspect2, resolve3, node61, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service50, Event12, inspect2, resolve3, node53, exports_wellknown };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ID14,
3
3
  Service75
4
- } from "./location-services-nq7qqy46.js";
4
+ } from "./generate-ha6yg8nx.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service64
3
- } from "./location-services-5gg6f7ne.js";
2
+ Service53
3
+ } from "./generate-e4s68ytv.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./generate-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* Service64;
22
+ const environment = yield* Service53;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;