@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,57 +1,57 @@
1
1
  import {
2
2
  Service82
3
- } from "./location-services-yvnj23bv.js";
3
+ } from "./generate-cpqe642d.js";
4
4
  import {
5
5
  Service81
6
- } from "./location-services-dkt3e60b.js";
6
+ } from "./generate-jfy0dxk0.js";
7
7
  import {
8
- Service46
9
- } from "./location-services-w21bzq9q.js";
8
+ Service61
9
+ } from "./generate-ycjb11n5.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./location-services-fxbjtjnd.js";
12
+ } from "./generate-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./location-services-gftt206x.js";
15
+ } from "./generate-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./location-services-1qghmjy0.js";
23
+ } from "./generate-ybhbtxjg.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./location-services-ec1grn59.js";
26
+ } from "./generate-ec1grn59.js";
27
27
  import {
28
- Service69
29
- } from "./location-services-p3ayzxyn.js";
28
+ Service65
29
+ } from "./generate-gsxd1kvq.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./location-services-em227t39.js";
33
+ Service60
34
+ } from "./generate-8ta1r8c4.js";
35
35
  import {
36
- Service44
37
- } from "./location-services-yaw0dvfn.js";
36
+ Service58
37
+ } from "./generate-ksrxneee.js";
38
38
  import {
39
39
  prepare2
40
- } from "./location-services-mthvd3x6.js";
40
+ } from "./generate-4rw5e13g.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./location-services-wk8kxcxf.js";
45
+ } from "./generate-8ge7dvt3.js";
46
46
  import {
47
47
  start2
48
- } from "./location-services-jcrjmqjq.js";
48
+ } from "./generate-ds5z7xmk.js";
49
49
  import {
50
50
  get4
51
- } from "./location-services-1y4p7nrp.js";
51
+ } from "./generate-wmqh7bpp.js";
52
52
  import {
53
53
  __export
54
- } from "./location-services-9rqn6x4v.js";
54
+ } from "./generate-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service81;
67
67
  const database = yield* Service82;
68
- const store = yield* Service69;
69
- const instances = yield* Service46;
70
- const execution = yield* Service44;
71
- const admission = yield* Service47;
68
+ const store = yield* Service65;
69
+ const instances = yield* Service61;
70
+ const execution = yield* Service58;
71
+ const admission = yield* Service60;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError8({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service46, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service61, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service61, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service61, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service82, database), Effect.provideService(Service81, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service81, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service61, instances), Effect.provideService(Service81, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./location-services-dkt3e60b.js";
4
+ } from "./generate-jfy0dxk0.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./location-services-rdw6cm16.js";
8
+ } from "./generate-rdw6cm16.js";
9
9
  import {
10
10
  Service78,
11
11
  node82
12
- } from "./location-services-vhyp5dk4.js";
12
+ } from "./generate-p863egc7.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
@@ -18,10 +18,10 @@ import {
18
18
  Service74,
19
19
  node78,
20
20
  Event17
21
- } from "./location-services-d5mtgc27.js";
21
+ } from "./generate-epr1a2tz.js";
22
22
  import {
23
23
  __export
24
- } from "./location-services-9rqn6x4v.js";
24
+ } from "./generate-9rqn6x4v.js";
25
25
 
26
26
  // src/model.ts
27
27
  var exports_model2 = {};
@@ -29,25 +29,25 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event11,
32
+ Event: () => Event16,
33
33
  Family: () => Family2,
34
- ID: () => ID5,
35
- Info: () => Info20,
34
+ ID: () => ID12,
35
+ Info: () => Info26,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service59,
39
+ Service: () => Service72,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node62,
43
- parse: () => parse4
42
+ node: () => node76,
43
+ parse: () => parse5
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event11 } from "@opencode/schema/model";
50
- var ID5 = Model.ID;
49
+ import { Event as Event16 } from "@opencode/schema/model";
50
+ var ID12 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
53
53
  var ReasoningField2 = Model.ReasoningField;
@@ -55,11 +55,11 @@ var Compatibility2 = Model.Compatibility;
55
55
  var Capabilities2 = Model.Capabilities;
56
56
  var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
- var Info20 = Model.Info;
58
+ var Info26 = Model.Info;
59
59
 
60
- class Service59 extends Context.Service()("@opencode/Model") {
60
+ class Service72 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service59, Effect.gen(function* () {
62
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
63
63
  const providers = yield* Service74;
64
64
  const bus = yield* Service81;
65
65
  const location = yield* Service78;
@@ -86,7 +86,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
86
86
  const models = data.models.get(providerID);
87
87
  if (!models)
88
88
  return;
89
- const model = models.get(modelID) ?? Info20.default(providerID, modelID);
89
+ const model = models.get(modelID) ?? Info26.default(providerID, modelID);
90
90
  update(model);
91
91
  model.id = modelID;
92
92
  model.providerID = providerID;
@@ -171,7 +171,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
171
171
  });
172
172
  });
173
173
  yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
- return Service59.of({
174
+ return Service72.of({
175
175
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
176
176
  reload,
177
177
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
190
190
  })
191
191
  });
192
192
  }));
193
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node78, node85, node82] });
193
+ var node76 = makeLocationNode({ service: Service72, layer, deps: [node78, node85, node82] });
194
194
  function compatibility2(input) {
195
195
  if (typeof input === "string")
196
196
  return { reasoningField: input };
@@ -198,12 +198,12 @@ function compatibility2(input) {
198
198
  return;
199
199
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
200
200
  }
201
- function parse4(input) {
201
+ function parse5(input) {
202
202
  const index = input.indexOf("/");
203
203
  return {
204
204
  providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
205
- modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
205
+ modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
206
206
  };
207
207
  }
208
208
 
209
- export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service59, node62, compatibility2, parse4, exports_model2, Event11 };
209
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11
3
- } from "./location-services-gx3sq1pv.js";
2
+ ID10
3
+ } from "./generate-018dk8qz.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-services-922hggd3.js";
6
+ } from "./generate-922hggd3.js";
7
7
  import {
8
- Info11
9
- } from "./location-services-tm1heg02.js";
8
+ Info17
9
+ } from "./generate-3pbjq009.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./location-services-w7e82c7b.js";
12
+ } from "./generate-6drd6nfe.js";
13
13
  import {
14
14
  latest2,
15
- Service55
16
- } from "./location-services-39rqm1tv.js";
15
+ Service47
16
+ } from "./generate-q2drh1py.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./location-services-5daktx2q.js";
19
+ } from "./generate-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./location-services-9rqn6x4v.js";
22
+ } from "./generate-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent2 = {};
26
- __export(exports_agent2, {
27
- ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin39
25
+ var exports_agent = {};
26
+ __export(exports_agent, {
27
+ ConfigAgentPlugin: () => exports_agent,
28
+ Plugin: () => Plugin28
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info17);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin39 = define({
47
+ var Plugin28 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service55;
50
+ const config = yield* Service47;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin39 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID11.make(configuredDefault));
79
+ editor.default(ID10.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID11.make(id);
85
+ const agentID = ID10.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin39, exports_agent2 };
164
+ export { Plugin28, exports_agent };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node69,
13
+ make: () => make17,
14
+ node: () => node59,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make17 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node69 = registryNode2({});
47
+ var node59 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node69, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node59, exports_driver };
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin35
3
+ } from "./generate-t33aqq77.js";
4
+ import {
5
+ Plugin34
6
+ } from "./generate-rchkgt8f.js";
7
+ import {
8
+ Plugin32
9
+ } from "./generate-dw3m3wne.js";
10
+ import {
11
+ Plugin33
12
+ } from "./generate-hywctfgt.js";
13
+ import {
14
+ Plugin40
15
+ } from "./generate-xknftrp0.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin35,
20
+ Plugin34,
21
+ Plugin32,
22
+ Plugin33,
23
+ Plugin40
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node44
5
- } from "./location-services-b3frasm9.js";
4
+ node55
5
+ } from "./generate-tegxt6vj.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./location-services-rsdf2nvv.js";
9
+ } from "./generate-5c0f1prt.js";
10
10
  import {
11
- Service71,
12
- node75
13
- } from "./location-services-qwjmgwmn.js";
11
+ Service73,
12
+ node77
13
+ } from "./generate-4e8vs6eh.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./location-services-wsd1ss6t.js";
16
+ } from "./generate-xr30fmf3.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./location-services-bbpz3t8j.js";
19
+ } from "./generate-jhxvyrjk.js";
20
20
  import {
21
- Error4
22
- } from "./location-services-nqh98rja.js";
21
+ Error5
22
+ } from "./generate-ghb76vye.js";
23
23
  import {
24
- Service35,
25
- node38
26
- } from "./location-services-vs7hrzt9.js";
24
+ Service40,
25
+ node43
26
+ } from "./generate-gd2xe63m.js";
27
27
  import {
28
- make15
29
- } from "./location-services-xfkkasph.js";
28
+ make14
29
+ } from "./generate-57b9ws8p.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./location-services-6rybd781.js";
32
+ } from "./generate-zhq6vg7a.js";
33
33
  import {
34
34
  __export
35
- } from "./location-services-9rqn6x4v.js";
35
+ } from "./generate-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service34,
40
+ Service: () => Service39,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer13,
45
- node: () => node37,
44
+ layer: () => layer15,
45
+ node: () => node42,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
66
66
  return {
67
67
  providerMetadataKey,
68
68
  system: [
69
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
69
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
70
70
  input.initial
71
71
  ].filter((part) => part.length > 0).map(SystemPart.make),
72
72
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service39 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer13 = Layer.effect(Service34, Effect.gen(function* () {
156
- const hooks = yield* Service71;
157
- const transport = yield* Service35;
155
+ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
156
+ const hooks = yield* Service73;
157
+ const transport = yield* Service40;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error4({ message: "Tools are not available for this request" })
165
+ execute: () => new Error5({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -248,17 +248,17 @@ var layer13 = Layer.effect(Service34, Effect.gen(function* () {
248
248
  };
249
249
  });
250
250
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
251
- return Service34.of({
251
+ return Service39.of({
252
252
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
253
253
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
254
254
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
255
255
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
256
256
  });
257
257
  }));
258
- var node37 = makeLocationNode({
259
- service: Service34,
260
- layer: layer13,
261
- deps: [node75, node38, node44]
258
+ var node42 = makeLocationNode({
259
+ service: Service39,
260
+ layer: layer15,
261
+ deps: [node77, node43, node55]
262
262
  });
263
263
 
264
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer13, node37, exports_model_request };
264
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service39, layer15, node42, exports_model_request };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./generate-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info13,
12
+ Info: () => Info15,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info15 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info15, exports_mcp5 };