@opencode/core 0.0.0-dev-21252 → 0.0.0-dev-21253

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{pty-04zfcyt8.js → location-service-map-04k4tfkv.js} +11 -11
  8. package/dist/chunks/{pty-nqvxt6f2.js → location-service-map-0b4vcyee.js} +8 -8
  9. package/dist/chunks/{pty-qk7mv1xs.js → location-service-map-0b7fzb2t.js} +7 -7
  10. package/dist/chunks/{pty-0vbcp93d.js → location-service-map-0emb60td.js} +2 -2
  11. package/dist/chunks/{pty-yq97mf54.js → location-service-map-0ftb6bkr.js} +24 -24
  12. package/dist/chunks/{pty-bsg7vvxy.js → location-service-map-0jecb6bt.js} +17 -17
  13. package/dist/chunks/{pty-kmnwckzv.js → location-service-map-0sapgepd.js} +11 -11
  14. package/dist/chunks/{pty-2vx1pgcs.js → location-service-map-0sgd8qaf.js} +16 -16
  15. package/dist/chunks/{pty-6ts7sypm.js → location-service-map-0xspzhtc.js} +12 -12
  16. package/dist/chunks/{pty-k0dv98ax.js → location-service-map-0zcas32x.js} +13 -13
  17. package/dist/chunks/{pty-4yqhvzx8.js → location-service-map-10tjy8f3.js} +13 -13
  18. package/dist/chunks/{pty-w579sh2t.js → location-service-map-11vd7v3k.js} +16 -16
  19. package/dist/chunks/{pty-vfjbdpbc.js → location-service-map-1a6d4tpk.js} +20 -20
  20. package/dist/chunks/{pty-ghttpbhe.js → location-service-map-1az5ecc6.js} +22 -22
  21. package/dist/chunks/location-service-map-1fkhxkr9.js +257 -0
  22. package/dist/chunks/{pty-hskj05ts.js → location-service-map-1s8x17fn.js} +34 -34
  23. package/dist/chunks/{pty-y6yhjvhw.js → location-service-map-28scebvh.js} +13 -13
  24. package/dist/chunks/{pty-qrsxyz47.js → location-service-map-2b8txd85.js} +11 -11
  25. package/dist/chunks/{pty-5gzjtbzb.js → location-service-map-2ktf0ed2.js} +8 -8
  26. package/dist/chunks/{pty-4k4fvchf.js → location-service-map-2nhbp4ey.js} +11 -11
  27. package/dist/chunks/{pty-w3t90m8a.js → location-service-map-2smeayfc.js} +11 -11
  28. package/dist/chunks/{pty-vj4msk15.js → location-service-map-2wjjq69z.js} +25 -25
  29. package/dist/chunks/{pty-79efq26t.js → location-service-map-2wv1w4ht.js} +31 -31
  30. package/dist/chunks/{pty-f83dkk6g.js → location-service-map-2wzsrfv9.js} +4 -4
  31. package/dist/chunks/{pty-hccfxqt2.js → location-service-map-2yqzctst.js} +24 -24
  32. package/dist/chunks/{pty-dng94c05.js → location-service-map-31gfn46a.js} +32 -32
  33. package/dist/chunks/{pty-mqrd7sth.js → location-service-map-34yf9apc.js} +5 -5
  34. package/dist/chunks/{pty-kgrkq9ry.js → location-service-map-3db608qv.js} +44 -44
  35. package/dist/chunks/{pty-j1e1vdpa.js → location-service-map-3fex6f4e.js} +27 -27
  36. package/dist/chunks/{pty-jym867d0.js → location-service-map-3gbegrpe.js} +11 -11
  37. package/dist/chunks/{pty-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{pty-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{pty-7d4ryxry.js → location-service-map-3mhcap8g.js} +25 -25
  40. package/dist/chunks/{pty-ztsrdpdj.js → location-service-map-3n1f9gjw.js} +3 -3
  41. package/dist/chunks/{pty-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{pty-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{pty-emdb9ywx.js → location-service-map-3wpps7p7.js} +14 -14
  44. package/dist/chunks/{pty-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{pty-gj71zhbs.js → location-service-map-43kvem2p.js} +5 -5
  46. package/dist/chunks/{pty-mftp4jgp.js → location-service-map-448df8b6.js} +15 -15
  47. package/dist/chunks/{pty-h0bbvnbm.js → location-service-map-47kyhsf5.js} +92 -92
  48. package/dist/chunks/{pty-8xqdgpeg.js → location-service-map-4af8amen.js} +4 -4
  49. package/dist/chunks/{pty-aepr7q13.js → location-service-map-4f1cmjbr.js} +175 -175
  50. package/dist/chunks/{pty-ghzt5075.js → location-service-map-4xdpqd00.js} +23 -23
  51. package/dist/chunks/{pty-r94pvvab.js → location-service-map-54ma36ye.js} +4 -4
  52. package/dist/chunks/{pty-ep1c6evs.js → location-service-map-58gf644q.js} +15 -15
  53. package/dist/chunks/{pty-ry6831an.js → location-service-map-5e1pzs32.js} +9 -9
  54. package/dist/chunks/{pty-b3qw4ny2.js → location-service-map-5hyxmv2s.js} +18 -18
  55. package/dist/chunks/{pty-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{pty-56swpcfg.js → location-service-map-5mjy3nze.js} +11 -11
  57. package/dist/chunks/{pty-eys57y9b.js → location-service-map-5xtgfte3.js} +8 -8
  58. package/dist/chunks/{pty-qgn6gcr1.js → location-service-map-607tc6va.js} +5 -5
  59. package/dist/chunks/{pty-v8wcx65a.js → location-service-map-61ccqgbk.js} +33 -33
  60. package/dist/chunks/{pty-p62ktq1b.js → location-service-map-63axe1xw.js} +22 -22
  61. package/dist/chunks/{pty-wez1ajrw.js → location-service-map-66n522bf.js} +7 -7
  62. package/dist/chunks/{pty-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
  63. package/dist/chunks/{pty-0prfbnza.js → location-service-map-68c6bywe.js} +15 -15
  64. package/dist/chunks/{pty-mgxskf66.js → location-service-map-69c1rm2y.js} +37 -37
  65. package/dist/chunks/{pty-sj1k89gn.js → location-service-map-6dhkbmar.js} +22 -22
  66. package/dist/chunks/{pty-bzqqb8ta.js → location-service-map-6e05mvjn.js} +3 -3
  67. package/dist/chunks/{pty-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  68. package/dist/chunks/{pty-b532nts2.js → location-service-map-701zgde4.js} +46 -46
  69. package/dist/chunks/{pty-k4j5e150.js → location-service-map-7475ye8q.js} +19 -19
  70. package/dist/chunks/{pty-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  71. package/dist/chunks/{pty-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{pty-y7j6ns4a.js → location-service-map-7gzr8fcx.js} +38 -38
  73. package/dist/chunks/{pty-6kgydgrk.js → location-service-map-7styb3mj.js} +12 -12
  74. package/dist/chunks/{pty-bqqqx74r.js → location-service-map-7wz66va2.js} +45 -45
  75. package/dist/chunks/{pty-0jxg87fr.js → location-service-map-84gf0929.js} +6 -6
  76. package/dist/chunks/{pty-84txncab.js → location-service-map-84txncab.js} +1 -1
  77. package/dist/chunks/{pty-y94agb53.js → location-service-map-89xs86m8.js} +33 -33
  78. package/dist/chunks/{pty-f8bebqmw.js → location-service-map-8dew01v7.js} +9 -9
  79. package/dist/chunks/{pty-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{pty-v5dkyp31.js → location-service-map-8rqycdgd.js} +7 -7
  81. package/dist/chunks/{pty-nb8d4sea.js → location-service-map-8z89m2ag.js} +8 -8
  82. package/dist/chunks/{pty-j09zfasm.js → location-service-map-91qna3x0.js} +3 -3
  83. package/dist/chunks/{pty-5rqr18hk.js → location-service-map-96kdejr0.js} +9 -9
  84. package/dist/chunks/{pty-waskdk5r.js → location-service-map-97aeaand.js} +4 -4
  85. package/dist/chunks/{pty-b8fv3x8g.js → location-service-map-99r3jdkb.js} +7 -7
  86. package/dist/chunks/{pty-d54gtgr2.js → location-service-map-9cmxz3t2.js} +11 -11
  87. package/dist/chunks/{pty-qj9dcjzw.js → location-service-map-9daafeqq.js} +5 -5
  88. package/dist/chunks/{pty-khtxvdmw.js → location-service-map-9e7as449.js} +21 -21
  89. package/dist/chunks/{pty-eywv91wk.js → location-service-map-9v965wtz.js} +24 -24
  90. package/dist/chunks/{pty-9vrga451.js → location-service-map-9vrga451.js} +1 -1
  91. package/dist/chunks/{pty-r86349qm.js → location-service-map-9yj7qnam.js} +6 -6
  92. package/dist/chunks/{pty-nzsdqqv9.js → location-service-map-9z5vgmdz.js} +30 -30
  93. package/dist/chunks/{pty-8fmtb3sq.js → location-service-map-a2qhda9k.js} +36 -36
  94. package/dist/chunks/{pty-8djhns2y.js → location-service-map-a392m9tg.js} +3 -3
  95. package/dist/chunks/{pty-v2r51t0g.js → location-service-map-a3n0rbz6.js} +8 -8
  96. package/dist/chunks/{pty-ev6dmhwt.js → location-service-map-a6m2mr7x.js} +13 -13
  97. package/dist/chunks/{pty-x0tkdd4v.js → location-service-map-a78mngf1.js} +18 -18
  98. package/dist/chunks/{pty-613s401q.js → location-service-map-ags159dz.js} +21 -21
  99. package/dist/chunks/{pty-ws3rr3fx.js → location-service-map-ar493ya2.js} +30 -30
  100. package/dist/chunks/{pty-vq0fwg4j.js → location-service-map-aranr509.js} +12 -12
  101. package/dist/chunks/{pty-x5jhdhzv.js → location-service-map-asrhbzgz.js} +2 -2
  102. package/dist/chunks/{pty-qe7qwmvw.js → location-service-map-atsmnjdq.js} +42 -42
  103. package/dist/chunks/{pty-16nt522w.js → location-service-map-av46q1hz.js} +32 -32
  104. package/dist/chunks/{pty-6w7ed4zb.js → location-service-map-avfwhhjy.js} +12 -12
  105. package/dist/chunks/{pty-n1900k66.js → location-service-map-b1g4ws88.js} +1 -1
  106. package/dist/chunks/{pty-be2m8mkb.js → location-service-map-b36q4kbz.js} +24 -24
  107. package/dist/chunks/{pty-j5y9yxpr.js → location-service-map-b5c23w0p.js} +26 -26
  108. package/dist/chunks/{pty-bzeyqsqd.js → location-service-map-bzeyqsqd.js} +1 -1
  109. package/dist/chunks/{pty-3hsqsy3q.js → location-service-map-c1ngtfbq.js} +17 -17
  110. package/dist/chunks/{pty-17h4d3k8.js → location-service-map-c2evp3mb.js} +24 -24
  111. package/dist/chunks/{pty-f59ep6tb.js → location-service-map-c39sscj7.js} +11 -11
  112. package/dist/chunks/{pty-c41wscbt.js → location-service-map-c41wscbt.js} +2 -2
  113. package/dist/chunks/{pty-5vvprwm6.js → location-service-map-c64jw2v5.js} +2 -2
  114. package/dist/chunks/{pty-c8ax2afj.js → location-service-map-c8ax2afj.js} +2 -2
  115. package/dist/chunks/{pty-rqhgjz8j.js → location-service-map-ca1k71y4.js} +13 -13
  116. package/dist/chunks/{pty-zcrspsvn.js → location-service-map-ca7w653e.js} +4 -4
  117. package/dist/chunks/{pty-k283101k.js → location-service-map-ce60aw2j.js} +11 -11
  118. package/dist/chunks/{pty-75ar5t22.js → location-service-map-cfbvewbn.js} +6 -6
  119. package/dist/chunks/{pty-2x278s08.js → location-service-map-chr7e2hv.js} +36 -36
  120. package/dist/chunks/{pty-jqzezgch.js → location-service-map-cjcnyykf.js} +12 -12
  121. package/dist/chunks/{pty-5k0aebbb.js → location-service-map-cv873j2b.js} +22 -22
  122. package/dist/chunks/{pty-79qaa2kf.js → location-service-map-cwa6csj7.js} +9 -9
  123. package/dist/chunks/{pty-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
  124. package/dist/chunks/{pty-1s33mprc.js → location-service-map-d7p6t65s.js} +19 -19
  125. package/dist/chunks/{pty-xw6wytjz.js → location-service-map-dk02pm8q.js} +23 -23
  126. package/dist/chunks/{pty-dpkg50ah.js → location-service-map-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{pty-tt8gc4fv.js → location-service-map-dq407baf.js} +6 -6
  128. package/dist/chunks/{pty-57b9ws8p.js → location-service-map-drwq78ky.js} +5 -5
  129. package/dist/chunks/{pty-bx3wj5v5.js → location-service-map-dsh1t1z2.js} +15 -15
  130. package/dist/chunks/{pty-8dff8bqa.js → location-service-map-dtqg9ce1.js} +5 -5
  131. package/dist/chunks/{pty-mgq3c1d5.js → location-service-map-dw3etbem.js} +5 -5
  132. package/dist/chunks/{pty-9587ae3r.js → location-service-map-e6hb6vng.js} +9 -9
  133. package/dist/chunks/{pty-c7zza6wf.js → location-service-map-e80seqcp.js} +3 -3
  134. package/dist/chunks/{pty-a5jmndgx.js → location-service-map-e9tzdgc6.js} +20 -20
  135. package/dist/chunks/{pty-eaj1djv9.js → location-service-map-eaj1djv9.js} +1 -1
  136. package/dist/chunks/{pty-59j4ht07.js → location-service-map-eb7k65g0.js} +20 -20
  137. package/dist/chunks/{pty-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  138. package/dist/chunks/{pty-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{pty-eh6ej367.js → location-service-map-eh6ej367.js} +2 -2
  140. package/dist/chunks/{pty-txbw3nms.js → location-service-map-ejjgsgye.js} +6 -6
  141. package/dist/chunks/{pty-wrh894z7.js → location-service-map-eqacf8hd.js} +28 -28
  142. package/dist/chunks/{pty-xg5ymnxc.js → location-service-map-er4sfmr8.js} +4 -4
  143. package/dist/chunks/{pty-eyqpj6mq.js → location-service-map-erhtex29.js} +11 -11
  144. package/dist/chunks/{pty-es1vcfrp.js → location-service-map-es1vcfrp.js} +3 -3
  145. package/dist/chunks/{pty-1acjjqhc.js → location-service-map-f2n192rq.js} +4 -4
  146. package/dist/chunks/{pty-exxz27fe.js → location-service-map-f5nc8xkq.js} +25 -25
  147. package/dist/chunks/{pty-m35e3w0r.js → location-service-map-f6pzc08s.js} +13 -13
  148. package/dist/chunks/{pty-wq2f1mye.js → location-service-map-famg5fp1.js} +16 -16
  149. package/dist/chunks/{pty-g6yfr6ja.js → location-service-map-fb8ejb83.js} +5 -5
  150. package/dist/chunks/{pty-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
  151. package/dist/chunks/{pty-q0tnd1dz.js → location-service-map-fvgetzaa.js} +15 -15
  152. package/dist/chunks/{pty-d6ex36fs.js → location-service-map-fww2ha2b.js} +10 -10
  153. package/dist/chunks/{pty-5pa1jwxy.js → location-service-map-fxkn1a9p.js} +12 -12
  154. package/dist/chunks/{pty-xrdmrr14.js → location-service-map-fxmbkhcp.js} +5 -5
  155. package/dist/chunks/{pty-pgf8gcr8.js → location-service-map-g6qfs4dp.js} +40 -40
  156. package/dist/chunks/{pty-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{pty-9m0hg6kw.js → location-service-map-gejxznp6.js} +3 -3
  158. package/dist/chunks/{pty-gqtdsdt7.js → location-service-map-gqtdsdt7.js} +1 -1
  159. package/dist/chunks/{pty-k8h85fj7.js → location-service-map-gsx6pe7c.js} +2 -2
  160. package/dist/chunks/{pty-mhwem8sv.js → location-service-map-gws55fmq.js} +16 -16
  161. package/dist/chunks/{pty-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{pty-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  163. package/dist/chunks/location-service-map-ht5y0zrb.js +18 -0
  164. package/dist/chunks/location-service-map-hv6btyz4.js +517 -0
  165. package/dist/chunks/{pty-mthh58nh.js → location-service-map-hwtpwc3p.js} +33 -33
  166. package/dist/chunks/{pty-dbvaw56v.js → location-service-map-j1zmzch7.js} +40 -40
  167. package/dist/chunks/{pty-51f5btjf.js → location-service-map-j5w2yx54.js} +6 -6
  168. package/dist/chunks/{pty-emtnyy8a.js → location-service-map-jds9f11v.js} +18 -18
  169. package/dist/chunks/{pty-wy73jbek.js → location-service-map-jj12p2mg.js} +10 -10
  170. package/dist/chunks/{pty-1v2js5qj.js → location-service-map-jjmjy7n9.js} +13 -13
  171. package/dist/chunks/{pty-4xdpab2z.js → location-service-map-jjwt9gb5.js} +9 -9
  172. package/dist/chunks/{pty-t8c3xmsp.js → location-service-map-jjzg35dh.js} +9 -9
  173. package/dist/chunks/{pty-38m8qhc5.js → location-service-map-jnzjas8r.js} +11 -11
  174. package/dist/chunks/{pty-dbe6ax9h.js → location-service-map-jx0nnva4.js} +31 -31
  175. package/dist/chunks/{pty-sbb270gk.js → location-service-map-k5qd8j02.js} +8 -8
  176. package/dist/chunks/{pty-kawxgbzv.js → location-service-map-k796dn9k.js} +16 -16
  177. package/dist/chunks/{pty-gq21vk3h.js → location-service-map-ka04c9zv.js} +19 -19
  178. package/dist/chunks/{pty-fxaymqdw.js → location-service-map-khmqacep.js} +4 -4
  179. package/dist/chunks/{pty-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
  180. package/dist/chunks/{pty-5p4ea1z6.js → location-service-map-m5p5j9xj.js} +15 -15
  181. package/dist/chunks/{pty-tenjkvjc.js → location-service-map-m8rw2j5b.js} +19 -19
  182. package/dist/chunks/{pty-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{pty-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  184. package/dist/chunks/{pty-knfhyvcc.js → location-service-map-mgba95gv.js} +11 -11
  185. package/dist/chunks/{pty-8btm942h.js → location-service-map-mm2knkg8.js} +2 -2
  186. package/dist/chunks/{pty-h62q6qsm.js → location-service-map-mnx7k8vc.js} +13 -13
  187. package/dist/chunks/{pty-b5s7rv85.js → location-service-map-ms4gjrr7.js} +24 -24
  188. package/dist/chunks/{pty-zz1sb3nm.js → location-service-map-n0w78gez.js} +25 -25
  189. package/dist/chunks/{pty-c4mkfy92.js → location-service-map-n3w8tb9d.js} +4 -4
  190. package/dist/chunks/{pty-t5bkfr6y.js → location-service-map-n5r3786w.js} +26 -26
  191. package/dist/chunks/{pty-mx4xths8.js → location-service-map-ndq1ymza.js} +30 -30
  192. package/dist/chunks/{pty-2vfvkkyx.js → location-service-map-nj3favr9.js} +4 -4
  193. package/dist/chunks/{pty-vak501x5.js → location-service-map-npdy8e12.js} +79 -79
  194. package/dist/chunks/{pty-6sk5sj01.js → location-service-map-nvs26cvk.js} +28 -28
  195. package/dist/chunks/{pty-9z80hxc4.js → location-service-map-nvt3sax2.js} +25 -25
  196. package/dist/chunks/{pty-h0c8h6v4.js → location-service-map-pdfn7pxf.js} +17 -17
  197. package/dist/chunks/{pty-kt7fyp0h.js → location-service-map-pgdtwhhg.js} +59 -59
  198. package/dist/chunks/{pty-z2b2xe7d.js → location-service-map-phzapgrk.js} +3 -3
  199. package/dist/chunks/{pty-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{pty-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  201. package/dist/chunks/{pty-k7vqg6gp.js → location-service-map-pmwgnym2.js} +10 -10
  202. package/dist/chunks/{pty-pyp098nx.js → location-service-map-ppaqnmap.js} +16 -16
  203. package/dist/chunks/{pty-5py0qphe.js → location-service-map-ptgg3xn9.js} +21 -21
  204. package/dist/chunks/{pty-carp9cx2.js → location-service-map-pvwg65fr.js} +20 -20
  205. package/dist/chunks/{pty-tye2g5vs.js → location-service-map-qfm8vkbj.js} +5 -5
  206. package/dist/chunks/{pty-9kr8jvk4.js → location-service-map-qgfpz6tp.js} +9 -9
  207. package/dist/chunks/{pty-h9sr2fx8.js → location-service-map-qn8kc66f.js} +43 -43
  208. package/dist/chunks/{pty-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  209. package/dist/chunks/{pty-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  210. package/dist/chunks/{pty-ah7q5eh6.js → location-service-map-r06414qr.js} +8 -8
  211. package/dist/chunks/{pty-ax36eyar.js → location-service-map-r3q6pmcz.js} +4 -4
  212. package/dist/chunks/{pty-8t56p07m.js → location-service-map-r58bmem3.js} +27 -27
  213. package/dist/chunks/{pty-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{pty-znp2av2g.js → location-service-map-rjqn9db2.js} +89 -89
  215. package/dist/chunks/{pty-espax8zg.js → location-service-map-rk7s9xkn.js} +4 -4
  216. package/dist/chunks/{pty-1p07q0wb.js → location-service-map-rkprpv83.js} +4 -4
  217. package/dist/chunks/{pty-rgg94day.js → location-service-map-rnbsmhp9.js} +26 -26
  218. package/dist/chunks/{pty-xnpn367r.js → location-service-map-rp7q7g95.js} +5 -5
  219. package/dist/chunks/{pty-89bb6baa.js → location-service-map-rqqqmm2x.js} +8 -8
  220. package/dist/chunks/{pty-rywzfdxh.js → location-service-map-rywzfdxh.js} +1 -1
  221. package/dist/chunks/{pty-dyx7hmrq.js → location-service-map-rzn2an3n.js} +11 -11
  222. package/dist/chunks/{pty-5mq5fr1q.js → location-service-map-sgkpgvr9.js} +14 -14
  223. package/dist/chunks/{pty-zdj3kqwc.js → location-service-map-snd0hbat.js} +47 -47
  224. package/dist/chunks/{pty-5pckqsa0.js → location-service-map-sydtq5bh.js} +20 -20
  225. package/dist/chunks/{pty-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  226. package/dist/chunks/{pty-ms4hbghf.js → location-service-map-t31wr33a.js} +50 -50
  227. package/dist/chunks/{pty-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{pty-8n5y01rv.js → location-service-map-tbt64xkh.js} +1 -1
  229. package/dist/chunks/{pty-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{pty-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  231. package/dist/chunks/{pty-09mdhsg2.js → location-service-map-thrv6eee.js} +8 -8
  232. package/dist/chunks/{pty-tkb22qbm.js → location-service-map-tkb22qbm.js} +2 -2
  233. package/dist/chunks/{pty-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{pty-vfmy936b.js → location-service-map-txj2b6t6.js} +12 -12
  235. package/dist/chunks/{pty-ydh080vk.js → location-service-map-ty26n7g5.js} +25 -25
  236. package/dist/chunks/{pty-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  237. package/dist/chunks/{pty-dys7k0s0.js → location-service-map-v0p83vcd.js} +8 -8
  238. package/dist/chunks/{pty-ajfgb3zy.js → location-service-map-v1hpn28h.js} +4 -4
  239. package/dist/chunks/{pty-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  240. package/dist/chunks/{pty-w2veat89.js → location-service-map-va6wyqyx.js} +50 -50
  241. package/dist/chunks/{pty-j4x75x50.js → location-service-map-vcw4d86h.js} +19 -19
  242. package/dist/chunks/{pty-m1z5ek08.js → location-service-map-ve88pny4.js} +8 -8
  243. package/dist/chunks/{pty-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  244. package/dist/chunks/{pty-gp4w86nb.js → location-service-map-vgdxb0jt.js} +24 -24
  245. package/dist/chunks/{pty-h9t9rr5j.js → location-service-map-vkaav4je.js} +8 -8
  246. package/dist/chunks/{pty-j7jn4qex.js → location-service-map-vkc6zmcv.js} +26 -26
  247. package/dist/chunks/{pty-gecaqdc7.js → location-service-map-vvp3v339.js} +13 -13
  248. package/dist/chunks/{pty-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{pty-25875qsz.js → location-service-map-w11h8f2h.js} +21 -21
  250. package/dist/chunks/{pty-mf5sjjt4.js → location-service-map-w3207yhs.js} +1 -1
  251. package/dist/chunks/{pty-w0pcsx04.js → location-service-map-w37ctcs1.js} +5 -5
  252. package/dist/chunks/{pty-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-y7vwj9hc.js → location-service-map-w86w6dhq.js} +37 -37
  254. package/dist/chunks/{pty-qsswj7nd.js → location-service-map-wb7w7em4.js} +13 -13
  255. package/dist/chunks/{pty-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  256. package/dist/chunks/{pty-7qcm40ym.js → location-service-map-wex158da.js} +11 -11
  257. package/dist/chunks/{pty-ewzhehhx.js → location-service-map-wg6gta6c.js} +47 -47
  258. package/dist/chunks/{pty-5kgk83bb.js → location-service-map-wvg18ghq.js} +21 -21
  259. package/dist/chunks/{pty-5g9mj0x8.js → location-service-map-wx3hxqax.js} +36 -36
  260. package/dist/chunks/{pty-8c229cqm.js → location-service-map-wxg87nfm.js} +39 -39
  261. package/dist/chunks/{pty-273j735v.js → location-service-map-x5d7sdr8.js} +3 -3
  262. package/dist/chunks/{pty-j8hg5m6j.js → location-service-map-x6mp1g8n.js} +14 -14
  263. package/dist/chunks/{pty-kr25s46q.js → location-service-map-x8nj1mzk.js} +5 -5
  264. package/dist/chunks/{pty-wcnw1vw1.js → location-service-map-x8sfg8by.js} +4 -4
  265. package/dist/chunks/{pty-5q287mz9.js → location-service-map-xc22q6s2.js} +17 -17
  266. package/dist/chunks/{pty-75v6ymbe.js → location-service-map-xtkp9zx0.js} +14 -14
  267. package/dist/chunks/{pty-sz1e9eqn.js → location-service-map-y0b997cv.js} +19 -19
  268. package/dist/chunks/{pty-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{pty-fna3snnf.js → location-service-map-y4hpq52y.js} +18 -18
  270. package/dist/chunks/{pty-xrpg47n6.js → location-service-map-y56ehv6b.js} +9 -9
  271. package/dist/chunks/{pty-2ggmd3qz.js → location-service-map-y6pmxrw9.js} +9 -9
  272. package/dist/chunks/{pty-4bm5ja14.js → location-service-map-ybfnsx4m.js} +4 -4
  273. package/dist/chunks/{pty-8whp40kv.js → location-service-map-yeejah88.js} +3 -3
  274. package/dist/chunks/{pty-2edtnx9x.js → location-service-map-yw6r4h5c.js} +9 -9
  275. package/dist/chunks/{pty-ywt8jp22.js → location-service-map-ywt8jp22.js} +2 -2
  276. package/dist/chunks/{pty-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-vjkhbcr1.js → location-service-map-z0wyxbsd.js} +22 -22
  278. package/dist/chunks/{pty-z18fegx4.js → location-service-map-z18fegx4.js} +1 -1
  279. package/dist/chunks/{pty-bmv70x53.js → location-service-map-z5gskwp1.js} +27 -27
  280. package/dist/chunks/{pty-7jvyjmqp.js → location-service-map-z7kyq5k2.js} +45 -45
  281. package/dist/chunks/location-service-map-zgc7v4ez.js +26 -0
  282. package/dist/chunks/{pty-dwy6gwr4.js → location-service-map-zpmvmy5f.js} +4 -4
  283. package/dist/chunks/{pty-4ar0dv3a.js → location-service-map-zprbgp1k.js} +20 -20
  284. package/dist/chunks/{pty-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{pty-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{pty-gb91ecjr.js → location-service-map-zyeqhx24.js} +15 -15
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +74 -74
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +91 -91
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +93 -93
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +73 -73
  464. package/dist/location-activity.js +136 -136
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +103 -103
  472. package/dist/mcp/instructions.js +129 -129
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +107 -107
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +78 -78
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +105 -105
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +115 -115
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +123 -123
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +2 -2
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +219 -219
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +3 -3
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +1 -1
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +107 -107
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +106 -106
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +126 -126
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +122 -122
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +109 -109
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +80 -80
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +3 -3
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +80 -80
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/pty-619r8v3y.js +0 -18
  692. package/dist/chunks/pty-b31pqyrf.js +0 -26
  693. package/dist/chunks/pty-yjxftd19.js +0 -257
  694. package/dist/chunks/pty-ypw97atq.js +0 -517
  695. /package/dist/chunks/{pty-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{pty-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{pty-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{pty-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{pty-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{pty-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{pty-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{pty-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{pty-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{pty-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{pty-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{pty-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  707. /package/dist/chunks/{pty-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{pty-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{pty-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{pty-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{pty-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{pty-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{pty-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{pty-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  715. /package/dist/chunks/{pty-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{pty-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{pty-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  718. /package/dist/chunks/{pty-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{pty-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{pty-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{pty-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  722. /package/dist/chunks/{pty-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{pty-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{pty-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{pty-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{pty-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{pty-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{pty-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{pty-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{pty-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{pty-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{pty-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{pty-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{pty-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{pty-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{pty-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{pty-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{pty-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{pty-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{pty-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{pty-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  742. /package/dist/chunks/{pty-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{pty-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{pty-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{pty-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{pty-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{pty-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{pty-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{pty-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{pty-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{pty-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{pty-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{pty-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  754. /package/dist/chunks/{pty-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{pty-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  756. /package/dist/chunks/{pty-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{pty-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  758. /package/dist/chunks/{pty-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{pty-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{pty-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{pty-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{pty-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{pty-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{pty-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{pty-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  766. /package/dist/chunks/{pty-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{pty-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{pty-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{pty-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{pty-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{pty-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{pty-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{pty-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{pty-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{pty-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{pty-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{pty-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{pty-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{pty-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{pty-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{pty-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{pty-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{pty-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{pty-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{pty-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{pty-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{pty-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{pty-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{pty-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{pty-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  791. /package/dist/chunks/{pty-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{pty-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{pty-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{pty-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{pty-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{pty-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./pty-hgz4x7wa.js";
3
+ } from "./location-service-map-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./pty-z5v4ffb3.js";
6
+ } from "./location-service-map-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./pty-emdb9ywx.js";
8
+ Service82
9
+ } from "./location-service-map-3wpps7p7.js";
10
10
  import {
11
11
  Service58
12
- } from "./pty-d54gtgr2.js";
12
+ } from "./location-service-map-9cmxz3t2.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service23
16
- } from "./pty-gb91ecjr.js";
15
+ Service51
16
+ } from "./location-service-map-zyeqhx24.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./pty-khtxvdmw.js";
23
+ } from "./location-service-map-9e7as449.js";
24
24
  import {
25
- Service73
26
- } from "./pty-y7j6ns4a.js";
25
+ Service77
26
+ } from "./location-service-map-7gzr8fcx.js";
27
27
  import {
28
- Service48
29
- } from "./pty-x0tkdd4v.js";
28
+ Service53
29
+ } from "./location-service-map-a78mngf1.js";
30
30
  import {
31
31
  __export
32
- } from "./pty-9rqn6x4v.js";
32
+ } from "./location-service-map-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
38
  Input: () => Input8,
39
- Output: () => Output6,
40
- Plugin: () => Plugin27,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin8,
41
41
  name: () => name8,
42
- toModelContent: () => toModelContent5
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output7 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,20 +83,20 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin27 = {
86
+ var Plugin8 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
89
  const environment = yield* Service58;
90
- const ripgrep = yield* Service23;
91
- const location = yield* Service78;
92
- const access = yield* Service48;
93
- const permission = yield* Service73;
90
+ const ripgrep = yield* Service51;
91
+ const location = yield* Service82;
92
+ const access = yield* Service53;
93
+ const permission = yield* Service77;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
95
  name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
98
  input: Input8,
99
- output: Output6,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
@@ -144,7 +144,7 @@ var Plugin27 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin27 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name8, Input8, Output6, toModelContent5, Plugin27, exports_grep };
157
+ export { name8, Input8, Output7, toModelContent4, Plugin8, exports_grep };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID8,
3
- Service67
4
- } from "./pty-j5y9yxpr.js";
2
+ ID9,
3
+ Service71
4
+ } from "./location-service-map-b5c23w0p.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service67;
12
+ const integrations = yield* Service71;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID8.make(item.provider.id)))
22
+ if (!configured.has(ID9.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service54,
8
+ Service: () => Service39,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node56
10
+ node: () => node41
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service54 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service54, () => {
17
+ var layer = Layer.sync(Service39, () => {
18
18
  const environments = new Map;
19
- return Service54.of({
19
+ return Service39.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node56 = makeGlobalNode({ service: Service54, layer, deps: [] });
29
+ var node41 = makeGlobalNode({ service: Service39, layer, deps: [] });
30
30
 
31
- export { Service54, node56, exports_environment };
31
+ export { Service39, node41, exports_environment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
@@ -1,12 +1,12 @@
1
- import {
2
- Service69
3
- } from "./pty-ydh080vk.js";
4
1
  import {
5
2
  Service73
6
- } from "./pty-y7j6ns4a.js";
3
+ } from "./location-service-map-ty26n7g5.js";
4
+ import {
5
+ Service77
6
+ } from "./location-service-map-7gzr8fcx.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin51,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name15,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name15 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service69;
57
- const permission = yield* Service73;
56
+ const forms = yield* Service73;
57
+ const permission = yield* Service77;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name15,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input15,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name15, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
120
+ export { name14, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service55
3
- } from "./pty-w2veat89.js";
2
+ Service40
3
+ } from "./location-service-map-va6wyqyx.js";
4
4
  import {
5
- Service6
6
- } from "./pty-79qaa2kf.js";
5
+ Service12
6
+ } from "./location-service-map-cwa6csj7.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./location-service-map-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./location-service-map-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher2 = {};
16
- __export(exports_location_watcher2, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin6
15
+ var exports_location_watcher = {};
16
+ __export(exports_location_watcher, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
+ Plugin: () => Plugin22
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin6 = define({
22
+ var Plugin22 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service55;
26
- const policy = yield* Service6;
25
+ const config = yield* Service40;
26
+ const policy = yield* Service12;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin6 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin6, exports_location_watcher2 };
38
+ export { Plugin22, exports_location_watcher };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-75ar5t22.js";
3
+ } from "./location-service-map-cfbvewbn.js";
4
4
  import {
5
- Service81
6
- } from "./pty-wq2f1mye.js";
5
+ Service84
6
+ } from "./location-service-map-famg5fp1.js";
7
7
  import {
8
- ID9,
9
- Event15,
10
- Service68
11
- } from "./pty-nzsdqqv9.js";
8
+ ID10,
9
+ Event16,
10
+ Service72
11
+ } from "./location-service-map-9z5vgmdz.js";
12
12
  import {
13
13
  key2
14
- } from "./pty-gqtdsdt7.js";
14
+ } from "./location-service-map-gqtdsdt7.js";
15
15
  import {
16
- ID8,
16
+ ID9,
17
17
  MethodID2
18
- } from "./pty-j5y9yxpr.js";
18
+ } from "./location-service-map-b5c23w0p.js";
19
19
  import {
20
20
  which2
21
- } from "./pty-qaymkmh1.js";
21
+ } from "./location-service-map-qaymkmh1.js";
22
22
  import {
23
- ID7,
24
- Service66
25
- } from "./pty-ws3rr3fx.js";
23
+ ID8,
24
+ Service70
25
+ } from "./location-service-map-ar493ya2.js";
26
26
  import {
27
- ID6
28
- } from "./pty-dbe6ax9h.js";
27
+ ID7
28
+ } from "./location-service-map-jx0nnva4.js";
29
29
  import {
30
30
  configuredSettings2
31
- } from "./pty-0jxg87fr.js";
31
+ } from "./location-service-map-84gf0929.js";
32
32
 
33
33
  // src/plugin/provider/azure.ts
34
34
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
63
63
  }));
64
64
  var ResourceQuery = Schema.Struct({ query: Schema.String });
65
65
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
66
- function make5(endpoints = {
66
+ function make6(endpoints = {
67
67
  resource: (name) => `https://${name}.openai.azure.com/openai`,
68
68
  management: "https://management.azure.com"
69
69
  }) {
70
70
  return define({
71
71
  id: "opencode.provider.azure",
72
72
  effect: Effect.fn(function* (ctx) {
73
- const configured = yield* configuredSettings2(ID7.azure);
73
+ const configured = yield* configuredSettings2(ID8.azure);
74
74
  const processes = yield* AppProcess.Service;
75
- const bus = yield* Service81;
76
- const credentials = yield* Service68;
77
- const providers = yield* Service66;
75
+ const bus = yield* Service84;
76
+ const credentials = yield* Service72;
77
+ const providers = yield* Service70;
78
78
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
79
79
  const tokens = new Map;
80
80
  const resourceIDs = new Map;
@@ -100,11 +100,11 @@ function make5(endpoints = {
100
100
  const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
101
101
  yield* ctx.integration.transform((editor) => {
102
102
  editor.method.update({
103
- integrationID: ID7.azure,
103
+ integrationID: ID8.azure,
104
104
  method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
105
105
  });
106
106
  editor.method.update({
107
- integrationID: ID7.azure,
107
+ integrationID: ID8.azure,
108
108
  method: {
109
109
  type: "key",
110
110
  label: "API key",
@@ -122,7 +122,7 @@ function make5(endpoints = {
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID7.azure,
125
+ integrationID: ID8.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "external",
@@ -142,8 +142,8 @@ function make5(endpoints = {
142
142
  });
143
143
  });
144
144
  const load = Effect.fn("AzurePlugin.load")(function* () {
145
- const connection = yield* ctx.integration.connection.active(ID7.azure);
146
- const stored = connection?.type === "credential" ? yield* credentials.get(ID9.make(connection.id)) : undefined;
145
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
146
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID10.make(connection.id)) : undefined;
147
147
  return { connection, resource: credentialResource(stored?.value) };
148
148
  });
149
149
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -182,7 +182,7 @@ function make5(endpoints = {
182
182
  }));
183
183
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
184
184
  const connection = loaded.connection;
185
- const settings = (yield* providers.get(ID7.azure))?.settings;
185
+ const settings = (yield* providers.get(ID8.azure))?.settings;
186
186
  const name = loaded.resource ?? resolveResourceName(settings);
187
187
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
188
188
  if (loaded.connection !== connection)
@@ -204,11 +204,11 @@ function make5(endpoints = {
204
204
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
205
205
  if (!found)
206
206
  return;
207
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID7.azure)))
207
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID8.azure)))
208
208
  return;
209
209
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
210
210
  return;
211
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID7.azure)?.models.keys() ?? [], (id) => [
211
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID8.azure)?.models.keys() ?? [], (id) => [
212
212
  id.toLowerCase(),
213
213
  id
214
214
  ]));
@@ -221,11 +221,11 @@ function make5(endpoints = {
221
221
  yield* ctx.model.reload();
222
222
  });
223
223
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
224
- const resourceFor = (provider) => provider.id === ID7.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
224
+ const resourceFor = (provider) => provider.id === ID8.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
225
225
  Object.assign(loaded, yield* load());
226
226
  yield* ctx.provider.transform((evt) => {
227
227
  for (const item of evt.list()) {
228
- if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
228
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
229
229
  continue;
230
230
  const resourceName = resourceFor(item.provider);
231
231
  const websocket = responsesWebSocketCapable(item.provider);
@@ -240,7 +240,7 @@ function make5(endpoints = {
240
240
  };
241
241
  });
242
242
  }
243
- const item = evt.get(ID7.azure);
243
+ const item = evt.get(ID8.azure);
244
244
  if (!item)
245
245
  return;
246
246
  evt.add({
@@ -251,7 +251,7 @@ function make5(endpoints = {
251
251
  });
252
252
  yield* ctx.model.transform((models) => {
253
253
  for (const item of models.provider.list()) {
254
- if (item.provider.id !== ID7.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
254
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
255
255
  continue;
256
256
  const resourceName = resourceFor(item.provider);
257
257
  for (const model of models.list(item.provider.id)) {
@@ -263,20 +263,20 @@ function make5(endpoints = {
263
263
  }
264
264
  if (!loaded.deployments)
265
265
  return;
266
- const catalog = models.list(ID7.azure);
266
+ const catalog = models.list(ID8.azure);
267
267
  const deployed = deployedModels(loaded.deployments, catalog);
268
268
  for (const model of catalog) {
269
269
  if (!deployed.has(model.id))
270
- models.remove(ID7.azure, model.id);
270
+ models.remove(ID8.azure, model.id);
271
271
  }
272
272
  for (const [id, model] of deployed) {
273
- models.update(ID7.azure, id, (draft) => Object.assign(draft, model));
273
+ models.update(ID8.azure, id, (draft) => Object.assign(draft, model));
274
274
  }
275
275
  });
276
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
276
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
277
277
  yield* refresh().pipe(Effect.forkScoped);
278
278
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
279
- const connection = yield* ctx.integration.connection.active(ID7.azure);
279
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
280
280
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
281
281
  return;
282
282
  })) : undefined;
@@ -288,7 +288,7 @@ function make5(endpoints = {
288
288
  return `Bearer ${current.access}`;
289
289
  });
290
290
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
291
- if (evt.model.providerID !== ID7.azure)
291
+ if (evt.model.providerID !== ID8.azure)
292
292
  return;
293
293
  const authorization = yield* bearer(evt.request.url);
294
294
  if (!authorization)
@@ -297,9 +297,9 @@ function make5(endpoints = {
297
297
  evt.request.headers.delete("x-api-key");
298
298
  evt.request.headers.set("authorization", authorization);
299
299
  evt.request.headers.set("user-agent", useragent2(ctx.app));
300
- }), { providerID: ID7.azure });
300
+ }), { providerID: ID8.azure });
301
301
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
302
- if (evt.model.providerID !== ID7.azure)
302
+ if (evt.model.providerID !== ID8.azure)
303
303
  return;
304
304
  const authorization = yield* bearer(evt.url);
305
305
  if (!authorization)
@@ -308,11 +308,11 @@ function make5(endpoints = {
308
308
  delete evt.headers["x-api-key"];
309
309
  evt.headers.authorization = authorization;
310
310
  evt.headers["user-agent"] = useragent2(ctx.app);
311
- }), { providerID: ID7.azure });
311
+ }), { providerID: ID8.azure });
312
312
  })
313
313
  });
314
314
  }
315
- var AzurePlugin2 = make5();
315
+ var AzurePlugin2 = make6();
316
316
  function resolveResourceName(settings, fallback) {
317
317
  const configured = settings?.resourceName;
318
318
  if (typeof configured === "string" && configured.trim() !== "")
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
342
342
  const model = catalogModel(models, deployment);
343
343
  if (!model)
344
344
  return [];
345
- const id = ID6.make(deployment.name.toLowerCase());
345
+ const id = ID7.make(deployment.name.toLowerCase());
346
346
  const info = {
347
347
  ...structuredClone(model),
348
348
  id,
349
- modelID: ID6.make(deployment.name),
349
+ modelID: ID7.make(deployment.name),
350
350
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
351
351
  };
352
352
  return [[id, info]];
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
368
368
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
369
369
  }
370
370
 
371
- export { make5, AzurePlugin2 };
371
+ export { make6, AzurePlugin2 };
@@ -1,48 +1,48 @@
1
1
  import {
2
- Service81
3
- } from "./pty-wq2f1mye.js";
2
+ Service84
3
+ } from "./location-service-map-famg5fp1.js";
4
4
  import {
5
- Service62
6
- } from "./pty-jqzezgch.js";
5
+ Service63
6
+ } from "./location-service-map-cjcnyykf.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./pty-rdw6cm16.js";
12
+ } from "./location-service-map-rdw6cm16.js";
13
13
  import {
14
- Service35,
14
+ Service28,
15
15
  awaitActivation2
16
- } from "./pty-619r8v3y.js";
16
+ } from "./location-service-map-ht5y0zrb.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./pty-aepr7q13.js";
21
+ } from "./location-service-map-4f1cmjbr.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./location-service-map-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
29
+ Event: () => Event3,
30
30
  ID: () => ID2,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service35,
33
+ Service: () => Service28,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node16
37
+ node: () => node19
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service35, Effect.gen(function* () {
44
- const bus = yield* Service81;
45
- const kv = yield* Service62;
43
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
44
+ const bus = yield* Service84;
45
+ const kv = yield* Service63;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service35.of({
208
+ return Service28.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node16 = Node.makeLocationNode({
226
- service: Service35,
225
+ var node19 = Node.makeLocationNode({
226
+ service: Service28,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node16, exports_plugin2, Event2, ID2, Info3, Source2, State2 };
231
+ export { node19, exports_plugin2, Event3, ID2, Info3, Source2, State2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};