@opencode/core 0.0.0-dev-19688 → 0.0.0-dev-19694

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/chunks/{git-3jstf9t0.js → location-00n4z9c8.js} +29 -29
  8. package/dist/chunks/{git-7hzkr1ps.js → location-0496x3fd.js} +35 -35
  9. package/dist/chunks/{git-0afwd2h8.js → location-06t18zr6.js} +11 -11
  10. package/dist/chunks/{git-0brq1vgj.js → location-0fj5p9dg.js} +41 -41
  11. package/dist/chunks/{git-5958kjg8.js → location-0fws8hsh.js} +43 -43
  12. package/dist/chunks/{git-49p1g939.js → location-0h0a48ec.js} +11 -11
  13. package/dist/chunks/{git-wnngper4.js → location-0hztt1kq.js} +9 -9
  14. package/dist/chunks/location-0kdkcf2f.js +26 -0
  15. package/dist/chunks/location-0mesazry.js +4 -0
  16. package/dist/chunks/{git-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{git-0q0f95c6.js → location-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{git-1mthm0sm.js → location-0qznmr0s.js} +5 -5
  19. package/dist/chunks/{git-5tke6q81.js → location-18etdt57.js} +27 -27
  20. package/dist/chunks/{git-199hz2pa.js → location-1d2mbafx.js} +15 -15
  21. package/dist/chunks/{git-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{git-vph80azg.js → location-1eyeymhy.js} +3 -3
  23. package/dist/chunks/{git-6xwg4nmq.js → location-1rgdf1rr.js} +14 -14
  24. package/dist/chunks/{git-yb4fkh4h.js → location-1sn79vb4.js} +39 -39
  25. package/dist/chunks/{git-21r38tys.js → location-21r38tys.js} +1 -1
  26. package/dist/chunks/{git-61ckr634.js → location-224hfwad.js} +18 -18
  27. package/dist/chunks/{git-va5qff5x.js → location-23sxaqwc.js} +6 -6
  28. package/dist/chunks/{git-2402vzrj.js → location-2402vzrj.js} +1 -1
  29. package/dist/chunks/{git-15kvcrwf.js → location-25r5rnx4.js} +19 -19
  30. package/dist/chunks/{git-mfhfdr54.js → location-26k5bknw.js} +4 -4
  31. package/dist/chunks/{git-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{git-2459z54m.js → location-2acx5bed.js} +33 -33
  33. package/dist/chunks/{git-1gfgk62c.js → location-2eegacq4.js} +8 -8
  34. package/dist/chunks/{git-m29mzpwc.js → location-2p6gg44v.js} +22 -22
  35. package/dist/chunks/{git-mqz104rg.js → location-2qrxnqfp.js} +32 -32
  36. package/dist/chunks/{git-evf56c6f.js → location-2tphjjya.js} +16 -16
  37. package/dist/chunks/{git-azgsnsww.js → location-2v0smvdr.js} +6 -6
  38. package/dist/chunks/{git-1ygqh575.js → location-33w4ejhs.js} +6 -6
  39. package/dist/chunks/{git-7w8wyhxv.js → location-36pgk13z.js} +3 -3
  40. package/dist/chunks/{git-a75jqzxp.js → location-37w33ens.js} +24 -24
  41. package/dist/chunks/{git-dj9sq318.js → location-3cfzdc8e.js} +5 -5
  42. package/dist/chunks/{git-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{git-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{git-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{git-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{git-jv2s6zs8.js → location-4445jz97.js} +10 -10
  47. package/dist/chunks/{git-4dgbcxzg.js → location-44h5tttr.js} +4 -4
  48. package/dist/chunks/{git-msbbmz00.js → location-486w7fxe.js} +47 -47
  49. package/dist/chunks/{git-ev2k3srp.js → location-494y9cte.js} +24 -24
  50. package/dist/chunks/{git-nq152q77.js → location-4b260xn2.js} +16 -16
  51. package/dist/chunks/{git-mvk278pt.js → location-4pkxdsqk.js} +19 -19
  52. package/dist/chunks/{git-dz07z7ns.js → location-4xcd1knb.js} +14 -14
  53. package/dist/chunks/{git-yvhffnst.js → location-4y72ap3v.js} +12 -12
  54. package/dist/chunks/{git-rqyhz3pj.js → location-4yv3tfyh.js} +27 -27
  55. package/dist/chunks/{git-txyptwf2.js → location-50hsvrdv.js} +32 -32
  56. package/dist/chunks/{git-4sn99hha.js → location-57ez7d0k.js} +7 -7
  57. package/dist/chunks/{git-r1m0wred.js → location-59dzktqd.js} +4 -4
  58. package/dist/chunks/{git-6hknjp7s.js → location-5a8cmj9a.js} +33 -33
  59. package/dist/chunks/{git-7a5pcgfq.js → location-5ap504dp.js} +9 -9
  60. package/dist/chunks/{git-pg3x4kqe.js → location-5cmxdwv8.js} +3 -3
  61. package/dist/chunks/{git-5daktx2q.js → location-5daktx2q.js} +1 -1
  62. package/dist/chunks/{git-tjq74dy7.js → location-5g14qra5.js} +23 -23
  63. package/dist/chunks/{git-r3hv5v0g.js → location-5gjmv7pj.js} +19 -19
  64. package/dist/chunks/{git-x8xzcv8y.js → location-5sgk8ws7.js} +13 -13
  65. package/dist/chunks/{git-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{git-9xp198kc.js → location-5wpr938k.js} +12 -12
  67. package/dist/chunks/{git-p37cw4rj.js → location-5yzzbxa7.js} +8 -8
  68. package/dist/chunks/{git-ftgekngx.js → location-62kxvbf2.js} +19 -19
  69. package/dist/chunks/{git-sn5sfsc9.js → location-64t5n8f6.js} +10 -10
  70. package/dist/chunks/{git-669tq793.js → location-669tq793.js} +1 -1
  71. package/dist/chunks/{git-jbqg4cgc.js → location-6a605wbe.js} +58 -58
  72. package/dist/chunks/{git-z11gs965.js → location-6et2tsyb.js} +25 -25
  73. package/dist/chunks/{git-0jq9fyba.js → location-6hjx5zpb.js} +9 -9
  74. package/dist/chunks/{git-f0mn3z3c.js → location-6k7g8b2m.js} +1 -1
  75. package/dist/chunks/{git-6msgmcgs.js → location-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{git-6rtfy69a.js → location-6rtfy69a.js} +2 -2
  77. package/dist/chunks/{git-egy25ryw.js → location-6sanwebc.js} +25 -25
  78. package/dist/chunks/{git-40h9q514.js → location-6z0fr5t2.js} +5 -5
  79. package/dist/chunks/{git-en98q301.js → location-6z0vzmdg.js} +5 -5
  80. package/dist/chunks/{git-3hhky1y1.js → location-78z8y7xk.js} +17 -17
  81. package/dist/chunks/{git-be9rpv02.js → location-79etttnd.js} +31 -31
  82. package/dist/chunks/{git-wxadz7y9.js → location-7aath5aj.js} +25 -25
  83. package/dist/chunks/{git-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{git-7dqw4kz8.js → location-7dqw4kz8.js} +1 -1
  85. package/dist/chunks/{git-ateq7ehh.js → location-7j5hs3da.js} +28 -28
  86. package/dist/chunks/{git-pwmksjqr.js → location-7mamhmm7.js} +4 -4
  87. package/dist/chunks/{git-8m9jqnpz.js → location-7pxh4w28.js} +90 -90
  88. package/dist/chunks/{git-p1f7pd7a.js → location-8aqjv0nr.js} +17 -17
  89. package/dist/chunks/{git-jnbjc8km.js → location-8bb7e2vp.js} +18 -18
  90. package/dist/chunks/{git-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{git-p17938vj.js → location-8dem3s5f.js} +7 -7
  92. package/dist/chunks/{git-jqg9rab3.js → location-8dj191es.js} +35 -35
  93. package/dist/chunks/{git-mw3qqj8g.js → location-8hvvgkp1.js} +5 -5
  94. package/dist/chunks/{git-dj2t23y0.js → location-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{git-dg7a6m6t.js → location-8r6rwc5s.js} +44 -44
  96. package/dist/chunks/{git-b3ybp4zh.js → location-8t8275hn.js} +11 -11
  97. package/dist/chunks/{git-d4csp169.js → location-8w4gja5v.js} +8 -8
  98. package/dist/chunks/{git-mjagy123.js → location-92azg307.js} +5 -5
  99. package/dist/chunks/{git-30480sdz.js → location-95548ppq.js} +15 -15
  100. package/dist/chunks/{git-0gwebd6g.js → location-98s8e1rw.js} +8 -8
  101. package/dist/chunks/{git-9c3np669.js → location-9ex8f1cq.js} +8 -8
  102. package/dist/chunks/{git-wr8xqqe1.js → location-9f3c306s.js} +20 -20
  103. package/dist/chunks/{git-ec87kc5z.js → location-9h41vc4j.js} +4 -4
  104. package/dist/chunks/{git-edtsms1g.js → location-9myg4ep2.js} +4 -4
  105. package/dist/chunks/{git-b44e3v9r.js → location-a0kv3qe5.js} +3 -3
  106. package/dist/chunks/{git-5c4hm403.js → location-a1bz86dw.js} +3 -3
  107. package/dist/chunks/{git-2brx2yvj.js → location-a3hwp3ky.js} +22 -22
  108. package/dist/chunks/{git-j7ch2sdk.js → location-a3mksyy2.js} +6 -6
  109. package/dist/chunks/{git-aaet6srn.js → location-aaet6srn.js} +2 -2
  110. package/dist/chunks/{git-xkgjtwvv.js → location-abe9ad8b.js} +7 -7
  111. package/dist/chunks/{git-kh9er4nr.js → location-ahh4p74p.js} +182 -182
  112. package/dist/chunks/{git-s9pw04c8.js → location-ay3b2ggg.js} +10 -10
  113. package/dist/chunks/{git-c84z0q4x.js → location-b6a6whtj.js} +27 -27
  114. package/dist/chunks/{git-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{git-es6vvgdb.js → location-b80j8sws.js} +16 -16
  116. package/dist/chunks/{git-fch79rh9.js → location-b97cbvw3.js} +1 -1
  117. package/dist/chunks/{git-jmphe03k.js → location-bha4atvq.js} +4 -4
  118. package/dist/chunks/{git-qfrjc8h3.js → location-bhjnpvv2.js} +13 -13
  119. package/dist/chunks/{git-aww827kb.js → location-c3jt164g.js} +17 -17
  120. package/dist/chunks/{git-mhkh0xea.js → location-c7q16h9q.js} +11 -11
  121. package/dist/chunks/{git-magykp64.js → location-cavr175a.js} +4 -4
  122. package/dist/chunks/{git-7prb58xv.js → location-cd9h2kba.js} +306 -306
  123. package/dist/chunks/{git-f559ga5b.js → location-cdmrqbam.js} +23 -23
  124. package/dist/chunks/{git-jngk8s4y.js → location-cf88hb9r.js} +11 -11
  125. package/dist/chunks/{git-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
  126. package/dist/chunks/{git-44jrjrja.js → location-cjmgn8y7.js} +16 -16
  127. package/dist/chunks/{git-y3wpwyaa.js → location-cr9wy6w1.js} +6 -6
  128. package/dist/chunks/{git-nkr6vmt6.js → location-ctecyn49.js} +5 -5
  129. package/dist/chunks/{git-2sejkfem.js → location-cwa6csj7.js} +9 -9
  130. package/dist/chunks/{git-4phm5153.js → location-d2aac7k2.js} +5 -5
  131. package/dist/chunks/{git-7hdsxj1z.js → location-d2j26fpy.js} +5 -5
  132. package/dist/chunks/{git-phjaars8.js → location-dcse214k.js} +6 -6
  133. package/dist/chunks/{git-8j88jbyt.js → location-dd1trpre.js} +11 -11
  134. package/dist/chunks/{git-zev0ek28.js → location-dgp71kyc.js} +13 -13
  135. package/dist/chunks/{git-y0nb3a38.js → location-dk3zb08y.js} +9 -9
  136. package/dist/chunks/{git-w6p3gqyc.js → location-dmwb5j6b.js} +2 -2
  137. package/dist/chunks/{git-xfkkasph.js → location-drwq78ky.js} +4 -4
  138. package/dist/chunks/{git-rq5m0cbv.js → location-dsp1hxq9.js} +24 -24
  139. package/dist/chunks/{git-qnmxneha.js → location-e4wmmsry.js} +11 -11
  140. package/dist/chunks/{git-1s3p39g4.js → location-e6hd9jay.js} +6 -6
  141. package/dist/chunks/{git-t550f9t1.js → location-eaj1djv9.js} +8 -8
  142. package/dist/chunks/{git-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  143. package/dist/chunks/{git-8esggbej.js → location-egxr99f1.js} +17 -17
  144. package/dist/chunks/{git-e1m7z51d.js → location-ek8mqh7t.js} +3 -3
  145. package/dist/chunks/{git-rfshdbx4.js → location-ekztwtwh.js} +1 -1
  146. package/dist/chunks/{git-wb6hsfck.js → location-er54khy7.js} +4 -4
  147. package/dist/chunks/{git-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  148. package/dist/chunks/location-f3feb8zp.js +247 -0
  149. package/dist/chunks/{git-hdnk95c8.js → location-f828m53h.js} +2 -2
  150. package/dist/chunks/{git-pb1eahw5.js → location-fad6j005.js} +8 -8
  151. package/dist/chunks/{git-ahcdffg7.js → location-fg0na9z0.js} +5 -5
  152. package/dist/chunks/{git-nq7qbqzc.js → location-fhs97t90.js} +9 -9
  153. package/dist/chunks/{git-y235y40c.js → location-fmveprfr.js} +79 -79
  154. package/dist/chunks/{git-d87r4pgk.js → location-fr5ztnz3.js} +12 -12
  155. package/dist/chunks/{git-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{git-hrmdcqyf.js → location-g4damz2s.js} +16 -16
  157. package/dist/chunks/{git-6htvnf4m.js → location-g82ree5z.js} +26 -26
  158. package/dist/chunks/{git-vdtvthcs.js → location-g8pm1eg0.js} +22 -22
  159. package/dist/chunks/{git-394bsjx6.js → location-gafq8thx.js} +22 -22
  160. package/dist/chunks/{git-h5s36vhp.js → location-gaxfpy5m.js} +21 -21
  161. package/dist/chunks/{git-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  162. package/dist/chunks/{git-yhed11z9.js → location-gg6cnatt.js} +13 -13
  163. package/dist/chunks/{git-34edgddw.js → location-gt4y1qkk.js} +15 -15
  164. package/dist/chunks/{git-c80bgpwy.js → location-gv620b2y.js} +32 -32
  165. package/dist/chunks/{git-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
  166. package/dist/chunks/{git-h03wrkyp.js → location-h03wrkyp.js} +2 -2
  167. package/dist/chunks/{git-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{git-6n4b0dsb.js → location-hc9acsgr.js} +9 -9
  169. package/dist/chunks/{git-0dm9emf0.js → location-hcq3pck3.js} +17 -17
  170. package/dist/chunks/{git-nggnyz50.js → location-hes91rk8.js} +26 -26
  171. package/dist/chunks/{git-7ax8pd7e.js → location-htjddf50.js} +17 -17
  172. package/dist/chunks/{git-batgxsmv.js → location-hxamr57h.js} +28 -28
  173. package/dist/chunks/{git-j56e64zr.js → location-j56e64zr.js} +1 -1
  174. package/dist/chunks/{git-5hzjfa47.js → location-jbwprqzn.js} +20 -20
  175. package/dist/chunks/{git-4a836rf9.js → location-jja9acsd.js} +15 -15
  176. package/dist/chunks/{git-k3gnzxs0.js → location-jppvw2tx.js} +5 -5
  177. package/dist/chunks/{git-rb96jarx.js → location-k3vfx57e.js} +8 -8
  178. package/dist/chunks/{git-4n5vra8a.js → location-k9kv5pgr.js} +25 -25
  179. package/dist/chunks/{git-3f75t934.js → location-kck4086h.js} +17 -17
  180. package/dist/chunks/{git-35tmvh3j.js → location-kjayet2y.js} +22 -22
  181. package/dist/chunks/{git-mvpmgt96.js → location-kmnqxjps.js} +17 -17
  182. package/dist/chunks/{git-44ke2mar.js → location-knb7evpn.js} +2 -2
  183. package/dist/chunks/{git-vxe9q46s.js → location-ktqj97zq.js} +5 -5
  184. package/dist/chunks/{git-vbfgae2j.js → location-m0r31qfn.js} +4 -4
  185. package/dist/chunks/{git-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{git-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{git-xw3m6y1d.js → location-mae1tpq4.js} +4 -4
  188. package/dist/chunks/{git-whhj8d0j.js → location-mbzssvbs.js} +18 -18
  189. package/dist/chunks/{git-0aqy2nda.js → location-mcf7gtm1.js} +24 -24
  190. package/dist/chunks/{git-1y1dts9t.js → location-mg7x2rv6.js} +15 -15
  191. package/dist/chunks/{git-73tb2d7t.js → location-mhkvc446.js} +3 -3
  192. package/dist/chunks/{git-jj57btzv.js → location-mmftb33c.js} +10 -10
  193. package/dist/chunks/{git-xw736607.js → location-mqvx4cv3.js} +11 -11
  194. package/dist/chunks/{git-aexx1a4j.js → location-mrgw8ysz.js} +11 -11
  195. package/dist/chunks/{git-7smbwa27.js → location-mwth6yg5.js} +10 -10
  196. package/dist/chunks/{git-rd0szf9f.js → location-n0e5d28z.js} +4 -4
  197. package/dist/chunks/{git-ckf8nxjz.js → location-n4r3xatb.js} +4 -4
  198. package/dist/chunks/{git-fs3q1v3z.js → location-nndcbz7q.js} +9 -9
  199. package/dist/chunks/{git-hnxpv5p7.js → location-nrgy2ypj.js} +57 -57
  200. package/dist/chunks/{git-x64dbq5b.js → location-nt93nnje.js} +9 -9
  201. package/dist/chunks/{git-jdhbqgq5.js → location-ntcrhfhr.js} +6 -6
  202. package/dist/chunks/{git-x9ty1f0y.js → location-nyp6zeaz.js} +11 -11
  203. package/dist/chunks/{git-k3c624dm.js → location-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{git-zdtfb6p9.js → location-p0nbrkfy.js} +24 -24
  205. package/dist/chunks/{git-272sk219.js → location-p9psax7t.js} +28 -28
  206. package/dist/chunks/{git-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{git-pknna89w.js → location-pknna89w.js} +1 -1
  208. package/dist/chunks/{git-e4n75zk9.js → location-pkzh3qng.js} +10 -10
  209. package/dist/chunks/{git-2g991z4q.js → location-pvjjmvt0.js} +35 -35
  210. package/dist/chunks/{git-pw9v3g6d.js → location-q8peyv7x.js} +8 -8
  211. package/dist/chunks/{git-ar27zvmg.js → location-qfx1fv8t.js} +35 -35
  212. package/dist/chunks/{git-kpjrwsj3.js → location-qmhk62hb.js} +12 -12
  213. package/dist/chunks/{git-ys29gpg0.js → location-qnkt5fks.js} +16 -16
  214. package/dist/chunks/{git-mav8hzat.js → location-qqegwzzx.js} +44 -44
  215. package/dist/chunks/{git-qsdy395h.js → location-qsdy395h.js} +1 -1
  216. package/dist/chunks/{git-k31qzyqw.js → location-qteqqeas.js} +23 -23
  217. package/dist/chunks/{git-yp2x3t23.js → location-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{git-rap9a73h.js → location-rap9a73h.js} +1 -1
  219. package/dist/chunks/{git-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{git-e870zrf0.js → location-rjqxc1v9.js} +8 -8
  221. package/dist/chunks/{git-mtv12gxd.js → location-rr7630r8.js} +31 -31
  222. package/dist/chunks/{git-thsc5d2e.js → location-s01fwkep.js} +8 -8
  223. package/dist/chunks/{git-npmzsvgm.js → location-s2wcapj3.js} +5 -5
  224. package/dist/chunks/{git-wspv94s9.js → location-s8h33rd2.js} +26 -26
  225. package/dist/chunks/{git-w83jn78s.js → location-saskwv33.js} +17 -17
  226. package/dist/chunks/{git-ah8yzjey.js → location-sw9t6trv.js} +13 -13
  227. package/dist/chunks/{git-emf92cnb.js → location-t0dpm7yv.js} +9 -9
  228. package/dist/chunks/{git-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{git-7nkrf797.js → location-tbnvg551.js} +24 -24
  230. package/dist/chunks/{git-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{git-tdstcens.js → location-tdstcens.js} +1 -1
  232. package/dist/chunks/{git-bayqcesh.js → location-tgc1gxnk.js} +24 -24
  233. package/dist/chunks/{git-1njp4b6c.js → location-ts3vzd1n.js} +11 -11
  234. package/dist/chunks/{git-r9q1pb8v.js → location-ttkf10kh.js} +21 -21
  235. package/dist/chunks/{git-tvtrv512.js → location-tvtrv512.js} +1 -1
  236. package/dist/chunks/{git-njww08sa.js → location-v40pwdea.js} +19 -19
  237. package/dist/chunks/{git-sxz6gkc3.js → location-v5dkyp31.js} +7 -7
  238. package/dist/chunks/{git-a1j8dc6z.js → location-vcjpcx03.js} +29 -29
  239. package/dist/chunks/{git-veqvce7d.js → location-veqvce7d.js} +1 -1
  240. package/dist/chunks/{git-tgpa0z63.js → location-vmgq4x8b.js} +2 -2
  241. package/dist/chunks/{git-mgqxb6b1.js → location-vmwh049b.js} +6 -6
  242. package/dist/chunks/{git-00z3vp5f.js → location-vncycja5.js} +4 -4
  243. package/dist/chunks/{git-endx7msf.js → location-vnh2skne.js} +12 -12
  244. package/dist/chunks/{git-48m2d39a.js → location-vnn74pma.js} +11 -11
  245. package/dist/chunks/{git-8fwcj92t.js → location-vxtegm14.js} +8 -8
  246. package/dist/chunks/{git-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{git-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{git-bgxcxs0p.js → location-wbkyxrgf.js} +5 -5
  249. package/dist/chunks/{git-wd87259q.js → location-wd87259q.js} +1 -1
  250. package/dist/chunks/{git-pzt9ey7q.js → location-wgrtt790.js} +36 -36
  251. package/dist/chunks/{git-ddqxtkhn.js → location-wnbvcgmq.js} +18 -18
  252. package/dist/chunks/{git-mqhtvztx.js → location-wvkrr4sa.js} +3 -3
  253. package/dist/chunks/{git-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{git-86gz9rn9.js → location-x4ft4gxn.js} +42 -42
  255. package/dist/chunks/{git-wwegwsad.js → location-x5p3q6jj.js} +27 -27
  256. package/dist/chunks/{git-bwt763qk.js → location-xbtv5mhj.js} +10 -10
  257. package/dist/chunks/{git-tg4h8n6c.js → location-xc9yqyqb.js} +5 -5
  258. package/dist/chunks/{git-dnftwyww.js → location-xrzwnsts.js} +43 -43
  259. package/dist/chunks/{git-ttjz52p2.js → location-xsskq6cm.js} +3 -3
  260. package/dist/chunks/{git-nscy7z1f.js → location-xtcpx0xj.js} +61 -61
  261. package/dist/chunks/{git-1hhj0vvf.js → location-xz6s1xa8.js} +22 -22
  262. package/dist/chunks/{git-ekh6p2eh.js → location-xzr5bprg.js} +7 -7
  263. package/dist/chunks/{git-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{git-bp02r99k.js → location-y35sf2j4.js} +4 -4
  265. package/dist/chunks/{git-y71avatq.js → location-y71avatq.js} +1 -1
  266. package/dist/chunks/{git-acd4vkpt.js → location-ycjb11n5.js} +6 -6
  267. package/dist/chunks/{git-7hyt9mtw.js → location-ydamxwc3.js} +23 -23
  268. package/dist/chunks/{git-e0x13gky.js → location-ykn0ce9z.js} +34 -34
  269. package/dist/chunks/{git-re793hzx.js → location-ynhykprc.js} +11 -11
  270. package/dist/chunks/{git-xkdewt67.js → location-ynkdr5w5.js} +6 -6
  271. package/dist/chunks/{git-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{git-yrznvahk.js → location-yrznvahk.js} +2 -2
  273. package/dist/chunks/{git-ge88nhgh.js → location-yvzbnmva.js} +17 -17
  274. package/dist/chunks/{git-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{git-qnmy9757.js → location-z1gcgxr5.js} +36 -36
  276. package/dist/chunks/{git-smfazwb0.js → location-z50dt07a.js} +13 -13
  277. package/dist/chunks/{git-z63w68vq.js → location-z63w68vq.js} +2 -2
  278. package/dist/chunks/{git-9h1nnr9t.js → location-zagjgefr.js} +43 -43
  279. package/dist/chunks/{git-zeh9ct20.js → location-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{git-brr2q5yt.js → location-zfxxb779.js} +16 -16
  281. package/dist/chunks/{git-g9sspw56.js → location-zhhtqbvz.js} +44 -44
  282. package/dist/chunks/{git-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{git-63x5kykb.js → location-ztza8yfw.js} +8 -8
  284. package/dist/chunks/{git-rhw3s2gk.js → location-zwv3ctjf.js} +50 -50
  285. package/dist/chunks/{git-4qhq8vrx.js → location-zxebshr7.js} +7 -7
  286. package/dist/chunks/{git-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  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 +84 -84
  292. package/dist/config/discovery.js +81 -81
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +105 -105
  295. package/dist/config/plugin/agent.js +122 -122
  296. package/dist/config/plugin/command.js +211 -211
  297. package/dist/config/plugin/compaction.js +159 -159
  298. package/dist/config/plugin/compatibility.js +140 -140
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +123 -123
  301. package/dist/config/plugin/image.js +122 -122
  302. package/dist/config/plugin/instruction.js +89 -89
  303. package/dist/config/plugin/location-watcher.js +124 -124
  304. package/dist/config/plugin/mcp.js +129 -129
  305. package/dist/config/plugin/policy.js +120 -120
  306. package/dist/config/plugin/provider.js +122 -122
  307. package/dist/config/plugin/reference.js +124 -124
  308. package/dist/config/plugin/shell.js +122 -122
  309. package/dist/config/plugin/skill-file.js +101 -101
  310. package/dist/config/plugin/skill.js +141 -141
  311. package/dist/config/plugin/snapshot.js +122 -122
  312. package/dist/config/plugin/source.js +125 -125
  313. package/dist/config/plugin/tool-output.js +124 -124
  314. package/dist/config/plugin/websearch.js +121 -121
  315. package/dist/config/plugin/worktree.js +124 -124
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +127 -127
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +82 -82
  321. package/dist/database/database.js +71 -71
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration.gen.js +48 -48
  386. package/dist/database/migration.js +50 -50
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +75 -75
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +365 -365
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +92 -92
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +92 -92
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +73 -73
  410. package/dist/file-access.js +103 -103
  411. package/dist/file-mutation.js +93 -93
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +226 -226
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +96 -96
  423. package/dist/filesystem/watcher-binding.js +1 -1
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +97 -97
  426. package/dist/form.js +85 -85
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +86 -86
  429. package/dist/generate.js +100 -100
  430. package/dist/git.js +10 -10
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +98 -98
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +356 -356
  455. package/dist/instruction-discovery.js +80 -80
  456. package/dist/instructions/builtins.js +86 -86
  457. package/dist/instructions/index.js +5 -5
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +85 -85
  460. package/dist/job.js +78 -78
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +72 -72
  463. package/dist/location-activity.js +134 -134
  464. package/dist/location-mutation.js +103 -103
  465. package/dist/location-service-map.js +85 -85
  466. package/dist/location-services.js +353 -353
  467. package/dist/location.js +86 -86
  468. package/dist/mcp/client.js +90 -90
  469. package/dist/mcp/index.js +99 -99
  470. package/dist/mcp/instructions.js +121 -121
  471. package/dist/mcp/oauth.js +77 -77
  472. package/dist/mcp/stdio.js +89 -89
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +98 -98
  475. package/dist/model-resolver.js +97 -97
  476. package/dist/model.js +99 -99
  477. package/dist/models-dev.js +102 -102
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +79 -79
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +112 -112
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +77 -77
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +74 -74
  487. package/dist/plugin/agent.js +101 -101
  488. package/dist/plugin/command.js +98 -98
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +217 -217
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +328 -328
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +95 -95
  496. package/dist/plugin/module.js +7 -7
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +101 -101
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  501. package/dist/plugin/provider/azure.js +121 -121
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +118 -118
  507. package/dist/plugin/provider/digitalocean.js +92 -92
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +92 -92
  512. package/dist/plugin/provider/gitlab.js +90 -90
  513. package/dist/plugin/provider/google-vertex.js +89 -89
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +121 -121
  517. package/dist/plugin/provider/modal.js +91 -91
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +119 -119
  520. package/dist/plugin/provider/openai.js +91 -91
  521. package/dist/plugin/provider/opencode.js +92 -92
  522. package/dist/plugin/provider/openrouter.js +90 -90
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  526. package/dist/plugin/provider/sap-ai-core.js +90 -90
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +89 -89
  531. package/dist/plugin/provider/vllm.js +121 -121
  532. package/dist/plugin/provider/xai.js +90 -90
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +158 -158
  535. package/dist/plugin/sdk.js +73 -73
  536. package/dist/plugin/service.js +1 -1
  537. package/dist/plugin/skill.js +140 -140
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +343 -343
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +85 -85
  542. package/dist/plugin/vcs/hg.js +85 -85
  543. package/dist/plugin/warming.js +120 -120
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +226 -226
  552. package/dist/project/schema.js +6 -6
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +87 -87
  555. package/dist/provider.js +100 -100
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +91 -91
  560. package/dist/reference/instructions.js +88 -88
  561. package/dist/reference.js +88 -88
  562. package/dist/repository-cache.js +80 -80
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +85 -85
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +151 -151
  571. package/dist/session/diff.js +87 -87
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +223 -223
  576. package/dist/session/execution.js +125 -125
  577. package/dist/session/generate.js +150 -150
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +72 -72
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +96 -96
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +112 -112
  587. package/dist/session/model-transport.js +3 -3
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +104 -104
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +89 -89
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +229 -229
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +97 -97
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +111 -111
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +137 -137
  605. package/dist/session/skill.js +102 -102
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +209 -209
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +153 -153
  613. package/dist/session/to-session-error.js +110 -110
  614. package/dist/session/transfer.js +220 -220
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +215 -215
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +139 -139
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +106 -106
  624. package/dist/skill.js +109 -109
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +120 -120
  630. package/dist/tool/plugin/edit.js +119 -119
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +123 -123
  633. package/dist/tool/plugin/grep.js +123 -123
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +113 -113
  636. package/dist/tool/plugin/question.js +100 -100
  637. package/dist/tool/plugin/read.js +124 -124
  638. package/dist/tool/plugin/shell.js +214 -214
  639. package/dist/tool/plugin/skill.js +112 -112
  640. package/dist/tool/plugin/subagent.js +218 -218
  641. package/dist/tool/plugin/webfetch.js +111 -111
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +121 -121
  644. package/dist/tool/read-filesystem.js +99 -99
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +12 -12
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +5 -5
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +81 -81
  678. package/dist/wellknown/plugin.js +75 -75
  679. package/dist/wellknown.js +76 -76
  680. package/dist/workspace/driver.js +5 -5
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +77 -77
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +95 -95
  688. package/package.json +8 -8
  689. package/dist/chunks/git-6kdq0pjd.js +0 -4
  690. package/dist/chunks/git-8mgf2t6a.js +0 -26
  691. package/dist/chunks/git-ax8fkkcf.js +0 -247
  692. /package/dist/chunks/{git-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{git-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{git-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{git-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{git-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{git-24dcb14g.js → location-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{git-2710q6r3.js → location-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{git-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{git-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{git-359p4xyc.js → location-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{git-3asan66x.js → location-3asan66x.js} +0 -0
  703. /package/dist/chunks/{git-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{git-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{git-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{git-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{git-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{git-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{git-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{git-53557ph1.js → location-53557ph1.js} +0 -0
  711. /package/dist/chunks/{git-550bvhaj.js → location-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{git-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  713. /package/dist/chunks/{git-6prwharc.js → location-6prwharc.js} +0 -0
  714. /package/dist/chunks/{git-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{git-7m9af43g.js → location-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{git-822emrt2.js → location-822emrt2.js} +0 -0
  717. /package/dist/chunks/{git-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{git-8n3pysct.js → location-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{git-922hggd3.js → location-922hggd3.js} +0 -0
  720. /package/dist/chunks/{git-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{git-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{git-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{git-af5trqkr.js → location-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{git-afrmfg78.js → location-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{git-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{git-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{git-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{git-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{git-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{git-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{git-d9fn303g.js → location-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{git-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{git-dajrwvna.js → location-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{git-dap0rakb.js → location-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{git-df08tz66.js → location-df08tz66.js} +0 -0
  736. /package/dist/chunks/{git-dy18nga0.js → location-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{git-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{git-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{git-ec1grn59.js → location-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{git-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{git-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{git-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{git-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{git-faypxj3z.js → location-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{git-fd410y7t.js → location-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{git-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{git-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{git-g86h250q.js → location-g86h250q.js} +0 -0
  749. /package/dist/chunks/{git-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{git-gftt206x.js → location-gftt206x.js} +0 -0
  751. /package/dist/chunks/{git-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{git-hk9envan.js → location-hk9envan.js} +0 -0
  753. /package/dist/chunks/{git-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{git-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{git-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{git-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{git-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{git-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{git-mp448xyj.js → location-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{git-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{git-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{git-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{git-njntx4h6.js → location-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{git-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{git-q74kybfr.js → location-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{git-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{git-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{git-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{git-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{git-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{git-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{git-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{git-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{git-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{git-twg0f83k.js → location-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{git-w803qqfp.js → location-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{git-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{git-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{git-wtztk69x.js → location-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{git-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{git-x61499pn.js → location-x61499pn.js} +0 -0
  782. /package/dist/chunks/{git-y44na4kk.js → location-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{git-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{git-y8f7s663.js → location-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{git-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{git-ym463w8f.js → location-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{git-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service50
3
- } from "./git-7nkrf797.js";
2
+ Service52
3
+ } from "./location-tbnvg551.js";
4
4
  import {
5
- Service16,
5
+ Service21,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./git-ah8yzjey.js";
8
+ } from "./location-sw9t6trv.js";
9
9
  import {
10
- Service23
11
- } from "./git-34edgddw.js";
10
+ Service19
11
+ } from "./location-gt4y1qkk.js";
12
12
  import {
13
- Service62
14
- } from "./git-hnxpv5p7.js";
13
+ Service73
14
+ } from "./location-nrgy2ypj.js";
15
15
  import {
16
- Service24
17
- } from "./git-61ckr634.js";
16
+ Service57
17
+ } from "./location-224hfwad.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./git-6prwharc.js";
20
+ } from "./location-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./git-9rqn6x4v.js";
23
+ } from "./location-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output6,
30
- Plugin: () => Plugin26,
28
+ Input: () => Input5,
29
+ Output: () => Output4,
30
+ Plugin: () => Plugin6,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
33
- toModelContent: () => toModelContent5
32
+ name: () => name5,
33
+ toModelContent: () => toModelContent4
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name10 = "write";
39
- var Input10 = Schema.Struct({
38
+ var name5 = "write";
39
+ var Input5 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output4 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin26 = {
51
+ var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin6 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service24;
56
- const fileMutation = yield* Service16;
57
- const environment = yield* Service50;
58
- const formatter = yield* Service23;
59
- const permission = yield* Service62;
55
+ const access = yield* Service57;
56
+ const fileMutation = yield* Service21;
57
+ const environment = yield* Service52;
58
+ const formatter = yield* Service19;
59
+ const permission = yield* Service73;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
61
+ name: name5,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input10,
69
- output: Output6,
68
+ input: Input5,
69
+ output: Output4,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name10, Input10, Output6, toModelContent5, Plugin26, exports_write };
101
+ export { name5, Input5, Output4, toModelContent4, Plugin6, exports_write };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./git-922hggd3.js";
3
+ } from "./location-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
12
  Event: () => Event21,
13
- ID: () => ID17,
14
- Info: () => Info33,
13
+ ID: () => ID18,
14
+ Info: () => Info34,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info33 = Project.Info;
23
+ var Info34 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
25
  var Event21 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info33, UpdateInput4, Event21, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ps2
3
- } from "./git-1y1dts9t.js";
3
+ } from "./location-mg7x2rv6.js";
4
4
  import {
5
5
  lazy2
6
- } from "./git-88xbtdfr.js";
6
+ } from "./location-88xbtdfr.js";
7
7
  import {
8
8
  match2
9
- } from "./git-y1fvbwt7.js";
9
+ } from "./location-y1fvbwt7.js";
10
10
  import {
11
11
  __export
12
- } from "./git-9rqn6x4v.js";
12
+ } from "./location-9rqn6x4v.js";
13
13
 
14
14
  // src/shell/parse.ts
15
15
  var exports_parse = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service82,
3
- node85
4
- } from "./git-x9ty1f0y.js";
3
+ node86
4
+ } from "./location-nyp6zeaz.js";
5
5
  import {
6
- Service79,
7
- node81
8
- } from "./git-nq152q77.js";
6
+ Service81,
7
+ node85
8
+ } from "./location-4b260xn2.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./git-pknna89w.js";
11
+ } from "./location-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./git-0q0f95c6.js";
14
+ } from "./location-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./git-9rqn6x4v.js";
17
+ } from "./location-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID14,
25
- Info: () => Info29,
26
- Key: () => Key4,
23
+ Event: () => Event18,
24
+ ID: () => ID12,
25
+ Info: () => Info27,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service74,
28
+ Service: () => Service72,
29
29
  Value: () => Value2,
30
30
  node: () => node76
31
31
  });
@@ -34,30 +34,30 @@ import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID12 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info27 extends Schema.Class("Credential.Info")({
44
+ id: ID12,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service74 extends Context.Service()("@opencode/Credential") {
51
+ class Service72 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service74, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
54
54
  const db = (yield* Service82).db;
55
- const bus = yield* Service79;
55
+ const bus = yield* Service81;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info27({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service74.of({
71
+ return Service72.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: ID14.create(),
79
+ const credential = new Info27({
80
+ id: ID12.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event18.Updated, {}, { global: true });
105
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event18.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event18.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node76 = makeGlobalNode({ service: Service74, layer, deps: [node85, node81] });
196
+ var node76 = makeGlobalNode({ service: Service72, layer, deps: [node86, node85] });
197
197
 
198
- export { ID14, OAuth3, Key4, Value2, Event19, Info29, Service74, node76, exports_credential };
198
+ export { ID12, OAuth3, Key3, Value2, Event18, Info27, Service72, node76, exports_credential };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-49p1g939.js";
3
+ } from "./location-0h0a48ec.js";
4
4
  import {
5
5
  call2
6
- } from "./git-1ygqh575.js";
6
+ } from "./location-33w4ejhs.js";
7
7
  import {
8
8
  __export
9
- } from "./git-9rqn6x4v.js";
9
+ } from "./location-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin19,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint5
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint2 = "https://agent.tinyfish.ai/mcp";
21
+ var endpoint5 = "https://agent.tinyfish.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String
24
24
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin5 = define({
36
+ var Plugin19 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -55,7 +55,7 @@ var Plugin5 = define({
55
55
  execute: (input) => Effect.gen(function* () {
56
56
  const connection = yield* ctx.integration.connection.active("tinyfish");
57
57
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
58
- const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
58
+ const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
59
59
  "User-Agent": useragent2(ctx.app),
60
60
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
61
61
  });
@@ -73,4 +73,4 @@ var Plugin5 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint2, Plugin5, exports_tinyfish };
76
+ export { endpoint5, Plugin19, exports_tinyfish };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID9 = Session.ID;
5
- var Info21 = Session.Info;
4
+ var ID16 = Session.ID;
5
+ var Info31 = Session.Info;
6
6
 
7
- export { ID9, Info21, SessionSchema2 };
7
+ export { ID16, Info31, SessionSchema2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./git-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID12,
2
+ ID9,
3
3
  mergeOverlay2
4
- } from "./git-2g991z4q.js";
4
+ } from "./location-pvjjmvt0.js";
5
5
  import {
6
- ID11,
6
+ ID8,
7
7
  VariantID2,
8
- Info25,
8
+ Info22,
9
9
  compatibility2
10
- } from "./git-2459z54m.js";
10
+ } from "./location-2acx5bed.js";
11
11
  import {
12
12
  __export
13
- } from "./git-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID9.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID11.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID11.make(item.id);
78
+ const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID8.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info25.make({
98
- ...Info25.default(providerID, id),
97
+ return Info22.make({
98
+ ...Info22.default(providerID, id),
99
99
  id,
100
- modelID: ID11.make(remote.id),
100
+ modelID: ID8.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79
3
- } from "./git-nq152q77.js";
2
+ Service81
3
+ } from "./location-4b260xn2.js";
4
4
  import {
5
5
  key2
6
- } from "./git-4dgbcxzg.js";
6
+ } from "./location-44h5tttr.js";
7
7
  import {
8
- Event19
9
- } from "./git-6hknjp7s.js";
8
+ Event18
9
+ } from "./location-5a8cmj9a.js";
10
10
  import {
11
- ID13
12
- } from "./git-be9rpv02.js";
11
+ ID10
12
+ } from "./location-79etttnd.js";
13
13
  import {
14
- ID12,
15
- Service72
16
- } from "./git-2g991z4q.js";
14
+ ID9,
15
+ Service67
16
+ } from "./location-pvjjmvt0.js";
17
17
  import {
18
- load2,
19
- derive2
20
- } from "./git-tjq74dy7.js";
18
+ load3,
19
+ derive3
20
+ } from "./location-5g14qra5.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID12.make("modal");
25
+ var providerID = ID9.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service72;
30
- const bus = yield* Service79;
29
+ const providers = yield* Service67;
30
+ const bus = yield* Service81;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load2(baseURL, apiKey),
48
+ try: () => load3(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service65,
3
- node67,
2
+ Service69,
3
+ node73,
4
4
  canonical3
5
- } from "./git-d4csp169.js";
5
+ } from "./location-8w4gja5v.js";
6
6
  import {
7
- Service57,
8
- node59
9
- } from "./git-acd4vkpt.js";
7
+ Service61,
8
+ node65
9
+ } from "./location-ycjb11n5.js";
10
10
  import {
11
- Service15
12
- } from "./git-whhj8d0j.js";
11
+ Service20
12
+ } from "./location-mbzssvbs.js";
13
13
  import {
14
14
  layer2
15
- } from "./git-ax8fkkcf.js";
15
+ } from "./location-f3feb8zp.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service65, Effect.gen(function* () {
20
+ return Layer.effect(Service69, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service15).close;
31
+ build.close = Context.get(exit.value, Service20).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node59.replace(Layer.succeed(Service57, {
53
+ node65.replace(Layer.succeed(Service61, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node67.replace(Layer.succeed(Service65, map))
57
+ node73.replace(Layer.succeed(Service69, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./git-y8cydn3q.js";
3
+ } from "./location-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./git-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};