@opencode/core 0.0.0-dev-21894 → 0.0.0-dev-21903

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 (817) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/location-services-00ve6mdn.js +18 -0
  8. package/dist/chunks/{image-034tev2y.js → location-services-034tev2y.js} +2 -2
  9. package/dist/chunks/{image-5w7vbjkb.js → location-services-03efvwc7.js} +12 -12
  10. package/dist/chunks/{image-ee12drxn.js → location-services-04521nwg.js} +5 -5
  11. package/dist/chunks/{image-qx8tdc9v.js → location-services-0fm9943z.js} +33 -33
  12. package/dist/chunks/{image-r93dx0pk.js → location-services-0n4brtsj.js} +29 -29
  13. package/dist/chunks/{image-pr13x5tz.js → location-services-0vfaxtry.js} +5 -5
  14. package/dist/chunks/{image-exned2cn.js → location-services-0z1vf8kx.js} +1 -1
  15. package/dist/chunks/{image-11hfp36g.js → location-services-11hfp36g.js} +1 -1
  16. package/dist/chunks/{image-ge2rcvjg.js → location-services-11w1erh0.js} +49 -49
  17. package/dist/chunks/{image-8ycv8ygb.js → location-services-147vawtp.js} +19 -19
  18. package/dist/chunks/{image-rh4sx1pa.js → location-services-1bfj8692.js} +35 -39
  19. package/dist/chunks/{image-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{image-8qrjb01m.js → location-services-1wxh740a.js} +9 -9
  21. package/dist/chunks/{image-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{image-1yq9hg58.js → location-services-1yq9hg58.js} +1 -1
  23. package/dist/chunks/{image-204s3925.js → location-services-204s3925.js} +1 -1
  24. package/dist/chunks/{image-nsjyjchz.js → location-services-21db4a7w.js} +12 -12
  25. package/dist/chunks/{image-2azy8kv6.js → location-services-2kj7f5bg.js} +7 -7
  26. package/dist/chunks/{image-kpnmqdrr.js → location-services-2ndatbyk.js} +4 -4
  27. package/dist/chunks/{image-2z1j29yd.js → location-services-2z1j29yd.js} +1 -1
  28. package/dist/chunks/{image-edfcvy1j.js → location-services-31f92er7.js} +5 -5
  29. package/dist/chunks/{image-8m9tyk9p.js → location-services-35qjbqn0.js} +17 -17
  30. package/dist/chunks/{image-gbbxnba2.js → location-services-3bkdny4k.js} +6 -6
  31. package/dist/chunks/{image-zk95xct4.js → location-services-3f3gn4kn.js} +3 -3
  32. package/dist/chunks/{image-v8w1bnvx.js → location-services-3fghs3em.js} +33 -33
  33. package/dist/chunks/{image-0xa5r7gy.js → location-services-3fvf9d3k.js} +11 -11
  34. package/dist/chunks/{image-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{image-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{image-ky8tssh9.js → location-services-3p3d7qzt.js} +12 -12
  37. package/dist/chunks/{image-40za9wsf.js → location-services-40za9wsf.js} +2 -2
  38. package/dist/chunks/{image-n7wnam13.js → location-services-46bpvt4v.js} +8 -8
  39. package/dist/chunks/{image-ky7xv0tv.js → location-services-4az1a8cs.js} +6 -6
  40. package/dist/chunks/{image-gvpcwzxz.js → location-services-4cdz94wm.js} +30 -30
  41. package/dist/chunks/{image-r9amg80d.js → location-services-4kvj368v.js} +25 -25
  42. package/dist/chunks/{image-4v008n1t.js → location-services-4v008n1t.js} +1 -1
  43. package/dist/chunks/{image-szn95e7f.js → location-services-4vjrd2nm.js} +21 -21
  44. package/dist/chunks/{image-731keyrx.js → location-services-4wqc8mqe.js} +5 -5
  45. package/dist/chunks/{image-kwecz68a.js → location-services-4xehb7nf.js} +5 -5
  46. package/dist/chunks/{image-4xvmh7wp.js → location-services-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{image-yafd30nv.js → location-services-52jkpkhk.js} +19 -19
  48. package/dist/chunks/{image-g8nfv600.js → location-services-52k98881.js} +28 -28
  49. package/dist/chunks/{image-a8kzmvy3.js → location-services-551jtzns.js} +1 -1
  50. package/dist/chunks/{image-ypfyeefr.js → location-services-5m90njqj.js} +8 -8
  51. package/dist/chunks/{image-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{image-5kgs3fk1.js → location-services-5qdyz63a.js} +6 -6
  53. package/dist/chunks/{image-x2askrax.js → location-services-60aw2bkc.js} +6 -6
  54. package/dist/chunks/{image-1y5v4mkh.js → location-services-64mt0z0h.js} +7 -7
  55. package/dist/chunks/{image-h0bne5vx.js → location-services-66vyf1s0.js} +37 -37
  56. package/dist/chunks/{image-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
  57. package/dist/chunks/{image-z5zx3gz5.js → location-services-6g5jwsqq.js} +4 -4
  58. package/dist/chunks/{image-rd02mkry.js → location-services-6gjd4geh.js} +9 -9
  59. package/dist/chunks/{image-pkwadbh0.js → location-services-6n3n8n8c.js} +33 -33
  60. package/dist/chunks/{image-6pjqjmy2.js → location-services-6pjqjmy2.js} +1 -1
  61. package/dist/chunks/{image-1ya9fna5.js → location-services-6tj0eyfy.js} +13 -13
  62. package/dist/chunks/{image-vxep47rf.js → location-services-73mjnqkv.js} +18 -18
  63. package/dist/chunks/{image-76cb1hcw.js → location-services-76cb1hcw.js} +1 -1
  64. package/dist/chunks/{image-qvm0zdhb.js → location-services-777csmha.js} +17 -17
  65. package/dist/chunks/{image-465gqz21.js → location-services-77vhwr65.js} +22 -22
  66. package/dist/chunks/{image-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{image-r5ef1bj7.js → location-services-7ebn5dnv.js} +34 -34
  68. package/dist/chunks/{image-x7hq4v6t.js → location-services-7ekdzgrw.js} +11 -11
  69. package/dist/chunks/{image-0twh7x0p.js → location-services-7ewvyx1h.js} +43 -43
  70. package/dist/chunks/{image-7hbkmckc.js → location-services-7eysnd3f.js} +30 -30
  71. package/dist/chunks/{image-gcq7bt32.js → location-services-7gfrq6pk.js} +12 -12
  72. package/dist/chunks/{image-zdj0mree.js → location-services-7nzy79pb.js} +18 -18
  73. package/dist/chunks/{image-gggcxneh.js → location-services-7q3v9td2.js} +39 -39
  74. package/dist/chunks/{image-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
  75. package/dist/chunks/{image-405jdxex.js → location-services-7ye3a43r.js} +3 -3
  76. package/dist/chunks/{image-4b5nmf5q.js → location-services-814m0pbm.js} +45 -45
  77. package/dist/chunks/{image-sf9d32j3.js → location-services-82dff8wv.js} +41 -41
  78. package/dist/chunks/{image-pdj0m96v.js → location-services-8e1vq2t0.js} +12 -12
  79. package/dist/chunks/{image-bcpp1tvw.js → location-services-8e60wtf7.js} +24 -24
  80. package/dist/chunks/{image-7hqnhvmk.js → location-services-8fxjxqq6.js} +4 -4
  81. package/dist/chunks/{image-z3294gqc.js → location-services-8mk0bwpx.js} +4 -4
  82. package/dist/chunks/{image-41b5h7kw.js → location-services-8qyg6xvd.js} +8 -8
  83. package/dist/chunks/{image-6y263vp8.js → location-services-8wc2fpae.js} +5 -5
  84. package/dist/chunks/{image-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{image-mrpqwg29.js → location-services-8ywtscb8.js} +21 -21
  86. package/dist/chunks/{image-91rj84md.js → location-services-91rj84md.js} +1 -1
  87. package/dist/chunks/{image-80m5xgxj.js → location-services-92cn2t4g.js} +8 -8
  88. package/dist/chunks/{image-489czqv0.js → location-services-94r2kbax.js} +11 -11
  89. package/dist/chunks/{image-0jq6xs6g.js → location-services-95fy70vm.js} +26 -26
  90. package/dist/chunks/{image-dyz29spx.js → location-services-97p996b3.js} +11 -11
  91. package/dist/chunks/{image-9cx9sm2q.js → location-services-9cx9sm2q.js} +1 -1
  92. package/dist/chunks/{image-sn1fshxa.js → location-services-9d5rzwrs.js} +7 -7
  93. package/dist/chunks/{image-5deer1e9.js → location-services-9g0prgdv.js} +6 -6
  94. package/dist/chunks/{image-96h5102f.js → location-services-9ghmfs2r.js} +8 -8
  95. package/dist/chunks/{image-ay0zdfv2.js → location-services-9qxs4ka6.js} +6 -6
  96. package/dist/chunks/{image-p8kmn6p1.js → location-services-9stfggkj.js} +3 -3
  97. package/dist/chunks/{image-ytn8yj3j.js → location-services-a7jnfq8g.js} +27 -27
  98. package/dist/chunks/{image-w2gxr2bn.js → location-services-a7mwkhfd.js} +9 -9
  99. package/dist/chunks/{image-bkjwy8k0.js → location-services-a9jjybfd.js} +37 -37
  100. package/dist/chunks/{image-35kr33c6.js → location-services-a9na2z4w.js} +8 -8
  101. package/dist/chunks/{image-r5x9wjg5.js → location-services-agmfdcja.js} +16 -16
  102. package/dist/chunks/{image-983qa8hr.js → location-services-ah4af1ng.js} +24 -24
  103. package/dist/chunks/{image-82460pbt.js → location-services-ak39xwrx.js} +12 -12
  104. package/dist/chunks/{image-xcgcy0qm.js → location-services-akbz7b6h.js} +5 -5
  105. package/dist/chunks/{image-bw2ypeg9.js → location-services-ana9v1k9.js} +13 -13
  106. package/dist/chunks/{image-hsapky1s.js → location-services-ay8f7yhb.js} +14 -14
  107. package/dist/chunks/{image-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{image-b0mv4wxm.js → location-services-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{image-4f6p1dag.js → location-services-b27x7jxq.js} +10 -10
  110. package/dist/chunks/{image-b6vsg801.js → location-services-b6vsg801.js} +2 -2
  111. package/dist/chunks/{image-y4pr8w8r.js → location-services-b952eqn9.js} +23 -23
  112. package/dist/chunks/{image-2mvc8y7w.js → location-services-bjqns1ae.js} +34 -34
  113. package/dist/chunks/{image-s1527p4m.js → location-services-bkzfyq7t.js} +5 -5
  114. package/dist/chunks/{image-bstexjd6.js → location-services-bstexjd6.js} +1 -1
  115. package/dist/chunks/{image-6ac2qzqj.js → location-services-btj8pen2.js} +17 -17
  116. package/dist/chunks/{image-0zav5kyp.js → location-services-btqeqnn8.js} +24 -24
  117. package/dist/chunks/{image-e89kw89p.js → location-services-bwr0hn0p.js} +23 -23
  118. package/dist/chunks/{image-zqyt9eh5.js → location-services-c2bjkdjj.js} +25 -25
  119. package/dist/chunks/{image-0hhp0beb.js → location-services-c3jwnccm.js} +36 -36
  120. package/dist/chunks/{image-br2qb96s.js → location-services-c41efnpa.js} +27 -27
  121. package/dist/chunks/{image-60qa52yq.js → location-services-c5n1jm6v.js} +31 -31
  122. package/dist/chunks/{image-7c837hp4.js → location-services-c7stz04q.js} +9 -9
  123. package/dist/chunks/{image-1w2zn1e5.js → location-services-cbtkqwrv.js} +4 -4
  124. package/dist/chunks/{image-0f57eq9f.js → location-services-cpbxd4gf.js} +19 -19
  125. package/dist/chunks/{image-0f33tz00.js → location-services-cyrt625k.js} +22 -22
  126. package/dist/chunks/{image-sx8nkve2.js → location-services-d006wmt7.js} +17 -17
  127. package/dist/chunks/{image-eqc3e404.js → location-services-d29cpj0c.js} +11 -11
  128. package/dist/chunks/{image-p7ajhkt3.js → location-services-d2me1qzp.js} +53 -53
  129. package/dist/chunks/{image-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
  130. package/dist/chunks/{image-kqrbk72r.js → location-services-dd1vqc3f.js} +3 -3
  131. package/dist/chunks/{image-djjzzs3c.js → location-services-djjzzs3c.js} +3 -3
  132. package/dist/chunks/{image-zgt5j0h2.js → location-services-drvbhkez.js} +6 -6
  133. package/dist/chunks/{image-rvpj35j6.js → location-services-dvm857vb.js} +9 -9
  134. package/dist/chunks/{image-e07q2w5p.js → location-services-e07q2w5p.js} +1 -1
  135. package/dist/chunks/{image-e834z07m.js → location-services-e834z07m.js} +1 -1
  136. package/dist/chunks/{image-vha83cg2.js → location-services-ebzhbbj7.js} +8 -8
  137. package/dist/chunks/{image-94v32shx.js → location-services-ecvf625q.js} +2 -2
  138. package/dist/chunks/{image-k2zexe6b.js → location-services-ef4g51zk.js} +29 -29
  139. package/dist/chunks/{image-jn88007r.js → location-services-ehgkhb98.js} +9 -9
  140. package/dist/chunks/{image-t0bc7c9c.js → location-services-eqfxwd9c.js} +4 -4
  141. package/dist/chunks/location-services-f5hd4pmz.js +26 -0
  142. package/dist/chunks/{image-32rqdfc7.js → location-services-f7a3eme1.js} +6 -6
  143. package/dist/chunks/{image-m7pchqqv.js → location-services-f8pbq6zm.js} +16 -16
  144. package/dist/chunks/{image-6tq0mqqx.js → location-services-f97nkw3f.js} +32 -32
  145. package/dist/chunks/{image-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
  146. package/dist/chunks/{image-pgtf141g.js → location-services-fhmxdhy8.js} +23 -23
  147. package/dist/chunks/{image-a1s8yyjv.js → location-services-fjhhaj13.js} +26 -26
  148. package/dist/chunks/{image-p2x2ykdn.js → location-services-fpbevbxn.js} +15 -15
  149. package/dist/chunks/{image-7nxtby5e.js → location-services-ftaew5rm.js} +20 -20
  150. package/dist/chunks/{image-ns86x0g6.js → location-services-fy7nh4fk.js} +34 -34
  151. package/dist/chunks/{image-fznmdakp.js → location-services-fznmdakp.js} +1 -1
  152. package/dist/chunks/{image-zfyb5tr4.js → location-services-g1e2r5aa.js} +4 -4
  153. package/dist/chunks/{image-1ph64p7d.js → location-services-g2yv87vr.js} +24 -24
  154. package/dist/chunks/{image-cnj75yzs.js → location-services-g42b6ca9.js} +4 -4
  155. package/dist/chunks/{image-g5h9c0rr.js → location-services-g5h9c0rr.js} +2 -2
  156. package/dist/chunks/{image-g1pwfypw.js → location-services-g6hkq510.js} +33 -33
  157. package/dist/chunks/{image-twd3mrfp.js → location-services-g9tm7d2t.js} +13 -13
  158. package/dist/chunks/{image-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
  159. package/dist/chunks/{image-pw77mtnd.js → location-services-gh0yfcmw.js} +188 -188
  160. package/dist/chunks/{image-6mnd27wh.js → location-services-gkp4zd0c.js} +26 -26
  161. package/dist/chunks/{image-a58h53ak.js → location-services-gyx5xa5k.js} +20 -20
  162. package/dist/chunks/{image-h2fknb2a.js → location-services-h06rb14x.js} +5 -5
  163. package/dist/chunks/{image-81a9zpe2.js → location-services-h097nhc1.js} +8 -8
  164. package/dist/chunks/{image-mn2dt8ay.js → location-services-h488c7y5.js} +1 -1
  165. package/dist/chunks/{image-49c735ne.js → location-services-h7zf0bn5.js} +13 -13
  166. package/dist/chunks/{image-28h91mdk.js → location-services-h8acnr4s.js} +5 -5
  167. package/dist/chunks/{image-ncqafsx0.js → location-services-hb1289hx.js} +29 -29
  168. package/dist/chunks/location-services-hcg6ehd2.js +517 -0
  169. package/dist/chunks/{image-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
  170. package/dist/chunks/{image-8y4jps98.js → location-services-hfgk9wzg.js} +4 -4
  171. package/dist/chunks/{image-tbebkah3.js → location-services-hg1nz1sy.js} +22 -22
  172. package/dist/chunks/{image-3h718rah.js → location-services-hkqavxqx.js} +12 -12
  173. package/dist/chunks/{image-jjshshm4.js → location-services-hpz3j2k0.js} +19 -19
  174. package/dist/chunks/{image-kmzgegqq.js → location-services-hy8c1z76.js} +8 -8
  175. package/dist/chunks/{image-6xw34d25.js → location-services-hz7f4e5w.js} +9 -9
  176. package/dist/chunks/{image-j113cymg.js → location-services-j113cymg.js} +1 -1
  177. package/dist/chunks/{image-5fxf8m1w.js → location-services-j4hj9mmz.js} +34 -34
  178. package/dist/chunks/{image-chmh4bqg.js → location-services-jd10xym8.js} +11 -11
  179. package/dist/chunks/{image-5et41axm.js → location-services-jksnk9rk.js} +9 -9
  180. package/dist/chunks/{image-ynrq1a8k.js → location-services-jneg3k74.js} +4 -4
  181. package/dist/chunks/{image-gkx199ke.js → location-services-jw2fkyg0.js} +5 -5
  182. package/dist/chunks/{image-zdmjncrg.js → location-services-jw782sdw.js} +39 -39
  183. package/dist/chunks/{image-1eqy2zth.js → location-services-jwg5v617.js} +55 -55
  184. package/dist/chunks/{image-hz51tbbp.js → location-services-jwjt5z3a.js} +15 -15
  185. package/dist/chunks/{image-bdc18mvy.js → location-services-jz71nhx8.js} +12 -12
  186. package/dist/chunks/{image-dx875p31.js → location-services-k00wzz3g.js} +19 -19
  187. package/dist/chunks/{image-x7a9enwj.js → location-services-k4hacpf1.js} +11 -11
  188. package/dist/chunks/{image-8f6rjm1e.js → location-services-k4te3eym.js} +22 -22
  189. package/dist/chunks/{image-k814nvkf.js → location-services-k814nvkf.js} +1 -1
  190. package/dist/chunks/{image-f2kgtz6y.js → location-services-kac0vvew.js} +10 -10
  191. package/dist/chunks/{image-3fxvhw31.js → location-services-kb9aw3cj.js} +11 -11
  192. package/dist/chunks/{image-e66yb76v.js → location-services-kevx4vjj.js} +23 -23
  193. package/dist/chunks/{image-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
  194. package/dist/chunks/{image-m1714858.js → location-services-m1714858.js} +1 -1
  195. package/dist/chunks/{image-2ccysd6w.js → location-services-m1m4h2ws.js} +16 -16
  196. package/dist/chunks/{image-1p4yt6ne.js → location-services-m4hkdytw.js} +11 -11
  197. package/dist/chunks/{image-5af0y8wk.js → location-services-m57z52n9.js} +28 -28
  198. package/dist/chunks/{image-qk4nhm2w.js → location-services-m8m8yt4h.js} +27 -27
  199. package/dist/chunks/{image-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  200. package/dist/chunks/{image-maspj1v3.js → location-services-maspj1v3.js} +1 -1
  201. package/dist/chunks/{image-k2kq73jz.js → location-services-mfcwkzw5.js} +4 -4
  202. package/dist/chunks/{image-mm7a63e9.js → location-services-mm7a63e9.js} +2 -2
  203. package/dist/chunks/{image-9q8g9sv8.js → location-services-mmx1mfjr.js} +4 -4
  204. package/dist/chunks/{image-npqrkmj2.js → location-services-mnazxqb2.js} +11 -11
  205. package/dist/chunks/{image-mbwgdc5a.js → location-services-mqcadzqw.js} +5 -5
  206. package/dist/chunks/{image-drh9h2fe.js → location-services-mr0ga9ap.js} +73 -68
  207. package/dist/chunks/{image-j6mefce3.js → location-services-mre9hm22.js} +4 -4
  208. package/dist/chunks/{image-c2gwsyxf.js → location-services-mvrtasbk.js} +7 -7
  209. package/dist/chunks/{image-bs9449bv.js → location-services-mwttkatk.js} +16 -16
  210. package/dist/chunks/{image-g9j07dct.js → location-services-mz7759ww.js} +33 -33
  211. package/dist/chunks/{image-770pw0s1.js → location-services-nah043kf.js} +4 -4
  212. package/dist/chunks/{image-9gs10211.js → location-services-ndphpag7.js} +80 -80
  213. package/dist/chunks/{image-k7twgq46.js → location-services-nmcss2m3.js} +8 -8
  214. package/dist/chunks/{image-ts7mkfs9.js → location-services-nvxqht09.js} +3 -3
  215. package/dist/chunks/{image-p015t6z3.js → location-services-p015t6z3.js} +2 -2
  216. package/dist/chunks/{image-k6ve0bec.js → location-services-p513p73p.js} +27 -27
  217. package/dist/chunks/{image-zh8rh1nn.js → location-services-p9a4fkqx.js} +8 -8
  218. package/dist/chunks/{image-pknna89w.js → location-services-pknna89w.js} +1 -1
  219. package/dist/chunks/{image-2tfftvad.js → location-services-pvmfh5yx.js} +9 -9
  220. package/dist/chunks/{image-ee4scs67.js → location-services-pxxfm478.js} +4 -4
  221. package/dist/chunks/{image-dr9fxamp.js → location-services-q3xvmvv1.js} +23 -23
  222. package/dist/chunks/{image-7evmvwfr.js → location-services-q5vr2yry.js} +2 -2
  223. package/dist/chunks/{image-3fxg60jv.js → location-services-q8yx5esg.js} +15 -15
  224. package/dist/chunks/{image-15jp5dqc.js → location-services-q906frw1.js} +13 -13
  225. package/dist/chunks/{image-fbgksv32.js → location-services-qa1edmd1.js} +9 -9
  226. package/dist/chunks/{image-28d6a7kc.js → location-services-qb7cx6yj.js} +37 -37
  227. package/dist/chunks/{image-qyq8h28g.js → location-services-qyq8h28g.js} +1 -1
  228. package/dist/chunks/{image-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
  229. package/dist/chunks/{image-r542h3bh.js → location-services-r542h3bh.js} +1 -1
  230. package/dist/chunks/{image-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
  231. package/dist/chunks/{image-1x6596zm.js → location-services-rc3spf3f.js} +9 -9
  232. package/dist/chunks/{image-15wvffc0.js → location-services-rddcemm9.js} +17 -17
  233. package/dist/chunks/{image-qaxg3z3a.js → location-services-rdsq3qfj.js} +9 -9
  234. package/dist/chunks/location-services-re7afsx4.js +257 -0
  235. package/dist/chunks/{image-rmk2c50f.js → location-services-rmm45jmv.js} +5 -5
  236. package/dist/chunks/{image-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
  237. package/dist/chunks/{image-cwcefvfr.js → location-services-rz3kjw72.js} +20 -20
  238. package/dist/chunks/{image-61ennm6n.js → location-services-s626qfae.js} +4 -4
  239. package/dist/chunks/{image-1yefr3a7.js → location-services-s89f5phx.js} +9 -9
  240. package/dist/chunks/{image-p6ad9m80.js → location-services-s9szcymt.js} +25 -25
  241. package/dist/chunks/{image-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
  242. package/dist/chunks/{image-wb63k751.js → location-services-sa7xyy0c.js} +28 -28
  243. package/dist/chunks/{image-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
  244. package/dist/chunks/{image-tfx8q2f5.js → location-services-ssfehs1z.js} +4 -4
  245. package/dist/chunks/{image-3t73xeyv.js → location-services-st7p3hwb.js} +2 -2
  246. package/dist/chunks/{image-rnmnt1zv.js → location-services-t143wn0z.js} +86 -86
  247. package/dist/chunks/{image-pg8xwt5s.js → location-services-t2c3e9ky.js} +5 -5
  248. package/dist/chunks/{image-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
  249. package/dist/chunks/{image-v9khnj00.js → location-services-tdhjqvff.js} +13 -13
  250. package/dist/chunks/{image-7cw7v3jn.js → location-services-th8wr6tp.js} +7 -7
  251. package/dist/chunks/{image-0t1h01ha.js → location-services-tj0mzswe.js} +35 -35
  252. package/dist/chunks/{image-yn1cc37b.js → location-services-tjqvjnbx.js} +47 -47
  253. package/dist/chunks/{image-9g2m2ytf.js → location-services-tkmxfp5h.js} +19 -19
  254. package/dist/chunks/{image-nh53frcf.js → location-services-tm13by84.js} +24 -24
  255. package/dist/chunks/{image-twv2r8f4.js → location-services-twv2r8f4.js} +2 -2
  256. package/dist/chunks/{image-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
  257. package/dist/chunks/{image-pwfx9xzx.js → location-services-v6jczr14.js} +13 -13
  258. package/dist/chunks/{image-qd1gejzd.js → location-services-v8q01xw4.js} +19 -19
  259. package/dist/chunks/{image-0chf3frg.js → location-services-v9492ht0.js} +13 -13
  260. package/dist/chunks/{image-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  261. package/dist/chunks/{image-vrcsa8qx.js → location-services-vrcsa8qx.js} +2 -2
  262. package/dist/chunks/{image-nxfd4m75.js → location-services-w0vcdtw5.js} +3 -3
  263. package/dist/chunks/{image-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  264. package/dist/chunks/{image-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
  265. package/dist/chunks/{image-j3371k5r.js → location-services-wbnwkwkc.js} +16 -16
  266. package/dist/chunks/{image-wd87259q.js → location-services-wd87259q.js} +1 -1
  267. package/dist/chunks/{image-zntxr30m.js → location-services-wegc3p94.js} +12 -12
  268. package/dist/chunks/{image-3rtadbmj.js → location-services-wf7v8c8z.js} +22 -22
  269. package/dist/chunks/{image-2sr7r47n.js → location-services-wkxzy6jz.js} +19 -19
  270. package/dist/chunks/{image-e9kxjfm5.js → location-services-wr3z335x.js} +15 -15
  271. package/dist/chunks/{image-gk8k4f7x.js → location-services-x2b74qpx.js} +40 -40
  272. package/dist/chunks/{image-cp9gsj1w.js → location-services-xcvvfsb7.js} +11 -11
  273. package/dist/chunks/{image-t0b83k8a.js → location-services-xm4qwp9y.js} +27 -27
  274. package/dist/chunks/{image-nwrh4nrz.js → location-services-xv4smn2w.js} +21 -21
  275. package/dist/chunks/{image-b13kx4jn.js → location-services-xy4ztr0v.js} +3 -3
  276. package/dist/chunks/{image-c9haesmz.js → location-services-y28mq519.js} +54 -54
  277. package/dist/chunks/{image-4een2pqp.js → location-services-y4hm39pm.js} +24 -24
  278. package/dist/chunks/{image-yara3q77.js → location-services-yara3q77.js} +2 -2
  279. package/dist/chunks/{image-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
  280. package/dist/chunks/{image-85a8a4f2.js → location-services-yjn9y6zr.js} +10 -10
  281. package/dist/chunks/{image-n452f4c5.js → location-services-ykrh4162.js} +14 -14
  282. package/dist/chunks/{image-9ttv7pfb.js → location-services-ykx76mnc.js} +5 -5
  283. package/dist/chunks/{image-tm90js6s.js → location-services-ym46tpre.js} +35 -35
  284. package/dist/chunks/{image-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{image-z38nccrw.js → location-services-z38nccrw.js} +1 -1
  286. package/dist/chunks/{image-bn7x7enw.js → location-services-z87ekydq.js} +4 -4
  287. package/dist/chunks/{image-2b68dg32.js → location-services-zcd67qx2.js} +44 -44
  288. package/dist/chunks/{image-aa7k1xs2.js → location-services-zdxh8aba.js} +9 -9
  289. package/dist/chunks/{image-zh7bbm8x.js → location-services-zgd8t41s.js} +9 -9
  290. package/dist/chunks/{image-fjrrbk94.js → location-services-zggvq0e7.js} +5 -5
  291. package/dist/chunks/{image-b6j7grnb.js → location-services-zjyr9dee.js} +12 -12
  292. package/dist/chunks/{image-zkg84ctx.js → location-services-zkg84ctx.js} +1 -1
  293. package/dist/chunks/{image-4kj4gkg1.js → location-services-zrnb11sh.js} +12 -12
  294. package/dist/chunks/{image-asgc5s7p.js → location-services-ztjcf3e9.js} +12 -12
  295. package/dist/codemode/catalog.js +1 -1
  296. package/dist/codemode/instructions.js +5 -5
  297. package/dist/codemode/tool.js +3 -3
  298. package/dist/codemode/web.js +1 -1
  299. package/dist/command.js +91 -91
  300. package/dist/config/discovery.js +90 -90
  301. package/dist/config/integration.js +1 -1
  302. package/dist/config/markdown.js +1 -1
  303. package/dist/config/normalize.js +107 -107
  304. package/dist/config/plugin/agent.js +121 -121
  305. package/dist/config/plugin/command.js +219 -219
  306. package/dist/config/plugin/compaction.js +162 -162
  307. package/dist/config/plugin/compatibility.js +142 -142
  308. package/dist/config/plugin/entry-observer.js +1 -1
  309. package/dist/config/plugin/formatter.js +122 -122
  310. package/dist/config/plugin/image.js +121 -121
  311. package/dist/config/plugin/instruction.js +121 -121
  312. package/dist/config/plugin/location-watcher.js +123 -123
  313. package/dist/config/plugin/mcp.js +128 -128
  314. package/dist/config/plugin/policy.js +123 -123
  315. package/dist/config/plugin/provider.js +122 -122
  316. package/dist/config/plugin/reference.js +123 -123
  317. package/dist/config/plugin/shell.js +123 -123
  318. package/dist/config/plugin/skill-file.js +138 -138
  319. package/dist/config/plugin/skill-scan.js +3 -3
  320. package/dist/config/plugin/skill.js +145 -145
  321. package/dist/config/plugin/snapshot.js +121 -121
  322. package/dist/config/plugin/source.js +124 -124
  323. package/dist/config/plugin/tool-output.js +122 -122
  324. package/dist/config/plugin/websearch.js +122 -122
  325. package/dist/config/plugin/worktree.js +123 -123
  326. package/dist/config/variable.js +1 -1
  327. package/dist/config/watch.js +1 -1
  328. package/dist/config.js +122 -122
  329. package/dist/console-access.js +1 -1
  330. package/dist/credential/sql.js +2 -2
  331. package/dist/credential.js +89 -89
  332. package/dist/database/database.js +72 -72
  333. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  334. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  336. package/dist/database/drizzle/index.js +13 -13
  337. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  340. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  346. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  347. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  348. package/dist/database/drizzle.js +14 -14
  349. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  350. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  351. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  352. package/dist/database/migration/20260225215848_workspace.js +1 -1
  353. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  354. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  355. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  356. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  357. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  358. package/dist/database/migration/20260323234822_events.js +1 -1
  359. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  360. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  361. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  362. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  363. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  364. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  365. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  366. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  367. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  368. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  369. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  370. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  371. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  372. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  373. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  374. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  375. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  376. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  377. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  378. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  379. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  380. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  381. package/dist/database/migration/20260611035744_credential.js +1 -1
  382. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  383. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  384. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  385. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  386. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  387. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  388. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  389. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  390. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  391. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  392. package/dist/database/migration/20260812213948_worktree.js +1 -1
  393. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  394. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  395. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  396. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  397. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  398. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  399. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  400. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  401. package/dist/database/migration/20261025123711_blob.js +1 -1
  402. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  403. package/dist/database/migration.gen.js +55 -55
  404. package/dist/database/migration.js +57 -57
  405. package/dist/database/path.js +2 -2
  406. package/dist/database/schema.gen.js +1 -1
  407. package/dist/database/schema.sql.js +1 -1
  408. package/dist/database/sqlite.bun.js +1 -1
  409. package/dist/database/sqlite.js +1 -1
  410. package/dist/database/sqlite.node.js +1 -1
  411. package/dist/database/sqlite.workerd.js +1 -1
  412. package/dist/database/v1-migration.bun.js +95 -95
  413. package/dist/database/v1-migration.js +1 -1
  414. package/dist/effect/app-node-builder.js +379 -379
  415. package/dist/effect/app-node-platform.js +2 -2
  416. package/dist/effect/keyed-mutex.js +1 -1
  417. package/dist/effect/websocket-constructor.js +1 -1
  418. package/dist/environment/driver.js +1 -1
  419. package/dist/environment/environment.js +101 -101
  420. package/dist/environment/exec-defaults.js +2 -2
  421. package/dist/environment/files.js +1 -1
  422. package/dist/environment/index.js +101 -101
  423. package/dist/environment/local.js +2 -2
  424. package/dist/environment/memory.js +2 -2
  425. package/dist/environment/unavailable.js +1 -1
  426. package/dist/event/sql.js +1 -1
  427. package/dist/event-logger.js +80 -80
  428. package/dist/file-access.js +140 -140
  429. package/dist/file-mutation.js +102 -102
  430. package/dist/file-retention.js +1 -1
  431. package/dist/filesystem/fff.bun.js +2 -2
  432. package/dist/filesystem/fff.js +1 -1
  433. package/dist/filesystem/fff.node.js +2 -2
  434. package/dist/filesystem/fff.workerd.js +2 -2
  435. package/dist/filesystem/file-watch.js +84 -84
  436. package/dist/filesystem/location-watcher-policy.js +6 -6
  437. package/dist/filesystem/location-watcher.js +234 -234
  438. package/dist/filesystem/protected.js +1 -1
  439. package/dist/filesystem/search.js +107 -107
  440. package/dist/filesystem/watcher-binding.js +1 -1
  441. package/dist/filesystem/watcher.js +9 -9
  442. package/dist/filesystem.js +110 -110
  443. package/dist/form.js +90 -90
  444. package/dist/formatter/builtins.js +2 -2
  445. package/dist/formatter.js +95 -95
  446. package/dist/generate.js +115 -115
  447. package/dist/git.js +11 -11
  448. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  449. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  450. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  451. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  452. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  453. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  454. package/dist/github-copilot/copilot-provider.js +17 -17
  455. package/dist/github-copilot/models.js +99 -99
  456. package/dist/github-copilot/openai-compatible-error.js +1 -1
  457. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  458. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  459. package/dist/github-copilot/responses/openai-error.js +1 -1
  460. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  461. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  462. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  463. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  464. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  465. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  467. package/dist/image/photon.js +2 -2
  468. package/dist/image.js +6 -6
  469. package/dist/instance/service.js +5 -5
  470. package/dist/instance.js +372 -372
  471. package/dist/instruction-discovery.js +86 -86
  472. package/dist/instructions/builtins.js +95 -95
  473. package/dist/instructions/index.js +3 -3
  474. package/dist/integration/connection.js +3 -3
  475. package/dist/integration.js +93 -93
  476. package/dist/job.js +84 -84
  477. package/dist/kv/sql.js +2 -2
  478. package/dist/kv.js +79 -79
  479. package/dist/location-activity.js +160 -160
  480. package/dist/location-lifecycle.js +142 -142
  481. package/dist/location-service-map.js +92 -92
  482. package/dist/location-services.js +369 -369
  483. package/dist/location.js +93 -93
  484. package/dist/managed-policy.js +7 -7
  485. package/dist/mcp/client.js +99 -99
  486. package/dist/mcp/index.js +117 -117
  487. package/dist/mcp/instructions.js +168 -168
  488. package/dist/mcp/oauth.js +84 -84
  489. package/dist/mcp/socket-client.js +1 -1
  490. package/dist/mcp/stdio.js +98 -98
  491. package/dist/mime.js +1 -1
  492. package/dist/modal/models.js +99 -99
  493. package/dist/model-resolver.js +107 -107
  494. package/dist/model-retry.js +1 -1
  495. package/dist/model.js +108 -108
  496. package/dist/models-dev.js +115 -115
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +86 -86
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +143 -143
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +94 -94
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +80 -80
  507. package/dist/plugin/command.js +108 -108
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +225 -225
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +342 -342
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +104 -104
  515. package/dist/plugin/module.js +121 -121
  516. package/dist/plugin/optimize.js +4 -4
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/cohere.js +2 -2
  526. package/dist/plugin/provider/configured.js +117 -117
  527. package/dist/plugin/provider/databricks.js +1 -1
  528. package/dist/plugin/provider/digitalocean.js +101 -101
  529. package/dist/plugin/provider/dynamic.js +2 -2
  530. package/dist/plugin/provider/factory.js +1 -1
  531. package/dist/plugin/provider/github-copilot.js +103 -103
  532. package/dist/plugin/provider/gitlab.js +101 -101
  533. package/dist/plugin/provider/google-vertex.js +118 -118
  534. package/dist/plugin/provider/kilo.js +1 -1
  535. package/dist/plugin/provider/llmgateway.js +84 -84
  536. package/dist/plugin/provider/lmstudio.js +128 -128
  537. package/dist/plugin/provider/local.js +127 -127
  538. package/dist/plugin/provider/modal.js +100 -100
  539. package/dist/plugin/provider/neon.js +1 -1
  540. package/dist/plugin/provider/nvidia.js +1 -1
  541. package/dist/plugin/provider/ollama.js +130 -130
  542. package/dist/plugin/provider/openai-context-caps.js +98 -98
  543. package/dist/plugin/provider/openai.js +123 -123
  544. package/dist/plugin/provider/opencode-legacy.js +106 -106
  545. package/dist/plugin/provider/opencode.js +127 -127
  546. package/dist/plugin/provider/openrouter.js +99 -99
  547. package/dist/plugin/provider/perplexity.js +2 -2
  548. package/dist/plugin/provider/poe.js +85 -85
  549. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  550. package/dist/plugin/provider/sap-ai-core.js +99 -99
  551. package/dist/plugin/provider/sdk-factory.js +1 -1
  552. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  553. package/dist/plugin/provider/vercel.js +98 -98
  554. package/dist/plugin/provider/vllm.js +130 -130
  555. package/dist/plugin/provider/xai.js +99 -99
  556. package/dist/plugin/provider/zenmux.js +1 -1
  557. package/dist/plugin/provider.js +178 -178
  558. package/dist/plugin/sdk.js +80 -80
  559. package/dist/plugin/service.js +3 -3
  560. package/dist/plugin/skill.js +139 -139
  561. package/dist/plugin/source-directory.js +1 -1
  562. package/dist/plugin/supervisor.js +357 -357
  563. package/dist/plugin/tool-input-repair.js +4 -4
  564. package/dist/plugin/update.js +6 -6
  565. package/dist/plugin/vcs/git.js +92 -92
  566. package/dist/plugin/vcs/hg.js +92 -92
  567. package/dist/plugin/verbosity.js +101 -101
  568. package/dist/plugin/warming.js +119 -119
  569. package/dist/plugin/websearch/exa.js +5 -5
  570. package/dist/plugin/websearch/firecrawl.js +6 -6
  571. package/dist/plugin/websearch/index.js +9 -9
  572. package/dist/plugin/websearch/mcp.js +2 -2
  573. package/dist/plugin/websearch/parallel.js +8 -8
  574. package/dist/plugin/websearch/tavily.js +4 -4
  575. package/dist/plugin/websearch/tinyfish.js +8 -8
  576. package/dist/plugin.js +236 -236
  577. package/dist/project/icon.js +5 -5
  578. package/dist/project/schema.js +2 -2
  579. package/dist/project/sql.js +4 -4
  580. package/dist/project.js +92 -92
  581. package/dist/provider.js +107 -107
  582. package/dist/pty/protocol.js +1 -1
  583. package/dist/pty/ticket.js +1 -1
  584. package/dist/pty.js +106 -106
  585. package/dist/reference/instructions.js +96 -96
  586. package/dist/reference.js +98 -98
  587. package/dist/repository-cache.js +88 -88
  588. package/dist/repository.js +1 -1
  589. package/dist/ripgrep/binary.js +2 -2
  590. package/dist/ripgrep.js +103 -103
  591. package/dist/rpc.js +94 -94
  592. package/dist/schema.js +1 -1
  593. package/dist/session/affinity.js +1 -1
  594. package/dist/session/blob.js +120 -120
  595. package/dist/session/command.js +80 -80
  596. package/dist/session/compaction.js +162 -162
  597. package/dist/session/context.js +188 -188
  598. package/dist/session/diff.js +96 -96
  599. package/dist/session/environment.js +5 -5
  600. package/dist/session/error.js +5 -5
  601. package/dist/session/event.js +1 -1
  602. package/dist/session/execution/restart.js +229 -229
  603. package/dist/session/execution.js +152 -152
  604. package/dist/session/generate.js +190 -190
  605. package/dist/session/history.js +127 -127
  606. package/dist/session/inbox.js +138 -138
  607. package/dist/session/info.js +3 -3
  608. package/dist/session/instruction-entry.js +85 -85
  609. package/dist/session/instruction-state.js +8 -8
  610. package/dist/session/instructions.js +134 -134
  611. package/dist/session/message-updater.js +2 -2
  612. package/dist/session/message.js +1 -1
  613. package/dist/session/model-request.js +155 -155
  614. package/dist/session/model-transport.js +9 -9
  615. package/dist/session/move.js +156 -156
  616. package/dist/session/projector.js +134 -134
  617. package/dist/session/prompt.js +140 -140
  618. package/dist/session/recent-text.js +1 -1
  619. package/dist/session/revert.js +130 -130
  620. package/dist/session/run-coordinator.js +3 -3
  621. package/dist/session/runner/index.js +3 -3
  622. package/dist/session/runner/llm.js +238 -238
  623. package/dist/session/runner/max-steps.js +1 -1
  624. package/dist/session/runner/model.js +108 -108
  625. package/dist/session/runner/publish-llm-event.js +141 -141
  626. package/dist/session/runner/retry.js +3 -3
  627. package/dist/session/runner/step.js +152 -152
  628. package/dist/session/runner/to-llm-message.js +128 -128
  629. package/dist/session/schema.js +5 -5
  630. package/dist/session/session.js +172 -172
  631. package/dist/session/shell.js +135 -135
  632. package/dist/session/skill.js +139 -139
  633. package/dist/session/sql.js +5 -5
  634. package/dist/session/stats.js +79 -79
  635. package/dist/session/store.js +131 -131
  636. package/dist/session/stored.js +2 -2
  637. package/dist/session/subagent-completion.js +1 -1
  638. package/dist/session/subagent-job.js +219 -219
  639. package/dist/session/system-prompt.js +3 -3
  640. package/dist/session/title.js +192 -192
  641. package/dist/session/to-session-error.js +140 -140
  642. package/dist/session/transfer.js +227 -227
  643. package/dist/session/usage.js +1 -1
  644. package/dist/session.js +225 -225
  645. package/dist/shell/parse.js +8 -8
  646. package/dist/shell/result.js +1 -1
  647. package/dist/shell/scan.js +1 -1
  648. package/dist/shell/select.js +13 -13
  649. package/dist/shell.js +137 -137
  650. package/dist/skill/discovery.js +2 -2
  651. package/dist/skill/instructions.js +141 -141
  652. package/dist/skill.js +150 -150
  653. package/dist/snapshot.js +97 -97
  654. package/dist/state.js +1 -1
  655. package/dist/tool/html-markdown.js +1 -1
  656. package/dist/tool/http-body.js +1 -1
  657. package/dist/tool/mcp.js +165 -165
  658. package/dist/tool/plugin/edit.js +152 -152
  659. package/dist/tool/plugin/file-diff.js +1 -1
  660. package/dist/tool/plugin/glob.js +160 -160
  661. package/dist/tool/plugin/grep.js +160 -160
  662. package/dist/tool/plugin/mcp-resource.js +154 -154
  663. package/dist/tool/plugin/opencode.js +145 -145
  664. package/dist/tool/plugin/patch.js +158 -158
  665. package/dist/tool/plugin/question.js +138 -138
  666. package/dist/tool/plugin/read.js +161 -161
  667. package/dist/tool/plugin/shell.js +224 -224
  668. package/dist/tool/plugin/skill.js +149 -149
  669. package/dist/tool/plugin/subagent.js +224 -224
  670. package/dist/tool/plugin/todo.js +145 -145
  671. package/dist/tool/plugin/webfetch.js +147 -147
  672. package/dist/tool/plugin/websearch.js +147 -147
  673. package/dist/tool/plugin/write.js +158 -158
  674. package/dist/tool/read-filesystem.js +110 -110
  675. package/dist/tool/runtime.js +1 -1
  676. package/dist/tool-output.js +7 -7
  677. package/dist/tool.js +14 -14
  678. package/dist/usage-limits.js +95 -95
  679. package/dist/util/error-summary.js +1 -1
  680. package/dist/util/git-executable.js +3 -3
  681. package/dist/util/lazy.js +1 -1
  682. package/dist/util/slug.js +1 -1
  683. package/dist/util/token.js +1 -1
  684. package/dist/util/which.js +1 -1
  685. package/dist/util/wildcard.js +1 -1
  686. package/dist/v1/config/agent.js +5 -5
  687. package/dist/v1/config/command.js +5 -5
  688. package/dist/v1/config/mcp.js +4 -4
  689. package/dist/v1/config/migrate.js +100 -100
  690. package/dist/v1/config/permission.js +3 -3
  691. package/dist/v1/config/plugin.js +1 -1
  692. package/dist/v1/config/provider-options.js +1 -1
  693. package/dist/v1/config/provider.js +4 -4
  694. package/dist/variant.js +101 -101
  695. package/dist/vcs/patch.js +1 -1
  696. package/dist/vcs.js +97 -97
  697. package/dist/voice.js +92 -92
  698. package/dist/websearch.js +88 -88
  699. package/dist/wellknown/plugin.js +82 -82
  700. package/dist/wellknown.js +85 -85
  701. package/dist/workspace/driver.js +7 -7
  702. package/dist/workspace/sql.js +1 -1
  703. package/dist/workspace.js +88 -88
  704. package/dist/worktree/directory.js +2 -2
  705. package/dist/worktree/git.js +11 -11
  706. package/dist/worktree/sql.js +5 -5
  707. package/dist/worktree/strategies.js +97 -97
  708. package/dist/worktree.js +108 -108
  709. package/package.json +8 -8
  710. package/dist/chunks/image-0namxv6m.js +0 -26
  711. package/dist/chunks/image-av4j8ver.js +0 -257
  712. package/dist/chunks/image-b9z2pmeq.js +0 -517
  713. package/dist/chunks/image-grzehpz7.js +0 -18
  714. /package/dist/chunks/{image-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  715. /package/dist/chunks/{image-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  716. /package/dist/chunks/{image-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  717. /package/dist/chunks/{image-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  718. /package/dist/chunks/{image-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  719. /package/dist/chunks/{image-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  720. /package/dist/chunks/{image-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  721. /package/dist/chunks/{image-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  722. /package/dist/chunks/{image-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  723. /package/dist/chunks/{image-3asan66x.js → location-services-3asan66x.js} +0 -0
  724. /package/dist/chunks/{image-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  725. /package/dist/chunks/{image-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  726. /package/dist/chunks/{image-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  727. /package/dist/chunks/{image-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  728. /package/dist/chunks/{image-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
  729. /package/dist/chunks/{image-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  730. /package/dist/chunks/{image-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  731. /package/dist/chunks/{image-53557ph1.js → location-services-53557ph1.js} +0 -0
  732. /package/dist/chunks/{image-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  733. /package/dist/chunks/{image-5fjb7ams.js → location-services-5fjb7ams.js} +0 -0
  734. /package/dist/chunks/{image-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
  735. /package/dist/chunks/{image-6prwharc.js → location-services-6prwharc.js} +0 -0
  736. /package/dist/chunks/{image-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  737. /package/dist/chunks/{image-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  738. /package/dist/chunks/{image-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  739. /package/dist/chunks/{image-822emrt2.js → location-services-822emrt2.js} +0 -0
  740. /package/dist/chunks/{image-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  741. /package/dist/chunks/{image-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  742. /package/dist/chunks/{image-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  743. /package/dist/chunks/{image-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  744. /package/dist/chunks/{image-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  745. /package/dist/chunks/{image-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  746. /package/dist/chunks/{image-a058387c.js → location-services-a058387c.js} +0 -0
  747. /package/dist/chunks/{image-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  748. /package/dist/chunks/{image-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  749. /package/dist/chunks/{image-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  750. /package/dist/chunks/{image-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  751. /package/dist/chunks/{image-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  752. /package/dist/chunks/{image-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  753. /package/dist/chunks/{image-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  754. /package/dist/chunks/{image-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  755. /package/dist/chunks/{image-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
  756. /package/dist/chunks/{image-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  757. /package/dist/chunks/{image-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  758. /package/dist/chunks/{image-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  759. /package/dist/chunks/{image-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  760. /package/dist/chunks/{image-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  761. /package/dist/chunks/{image-df08tz66.js → location-services-df08tz66.js} +0 -0
  762. /package/dist/chunks/{image-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  763. /package/dist/chunks/{image-e3qxr5gk.js → location-services-e3qxr5gk.js} +0 -0
  764. /package/dist/chunks/{image-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  765. /package/dist/chunks/{image-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  766. /package/dist/chunks/{image-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  767. /package/dist/chunks/{image-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  768. /package/dist/chunks/{image-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  769. /package/dist/chunks/{image-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  770. /package/dist/chunks/{image-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  771. /package/dist/chunks/{image-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  772. /package/dist/chunks/{image-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  773. /package/dist/chunks/{image-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
  774. /package/dist/chunks/{image-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  775. /package/dist/chunks/{image-g86h250q.js → location-services-g86h250q.js} +0 -0
  776. /package/dist/chunks/{image-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  777. /package/dist/chunks/{image-gftt206x.js → location-services-gftt206x.js} +0 -0
  778. /package/dist/chunks/{image-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  779. /package/dist/chunks/{image-hk9envan.js → location-services-hk9envan.js} +0 -0
  780. /package/dist/chunks/{image-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  781. /package/dist/chunks/{image-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  782. /package/dist/chunks/{image-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  783. /package/dist/chunks/{image-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  784. /package/dist/chunks/{image-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  785. /package/dist/chunks/{image-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
  786. /package/dist/chunks/{image-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  787. /package/dist/chunks/{image-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  788. /package/dist/chunks/{image-m18g726c.js → location-services-m18g726c.js} +0 -0
  789. /package/dist/chunks/{image-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  790. /package/dist/chunks/{image-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  791. /package/dist/chunks/{image-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  792. /package/dist/chunks/{image-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  793. /package/dist/chunks/{image-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  794. /package/dist/chunks/{image-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  795. /package/dist/chunks/{image-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  796. /package/dist/chunks/{image-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  797. /package/dist/chunks/{image-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  798. /package/dist/chunks/{image-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  799. /package/dist/chunks/{image-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  800. /package/dist/chunks/{image-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  801. /package/dist/chunks/{image-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  802. /package/dist/chunks/{image-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  803. /package/dist/chunks/{image-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  804. /package/dist/chunks/{image-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  805. /package/dist/chunks/{image-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  806. /package/dist/chunks/{image-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  807. /package/dist/chunks/{image-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  808. /package/dist/chunks/{image-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
  809. /package/dist/chunks/{image-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  810. /package/dist/chunks/{image-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  811. /package/dist/chunks/{image-x61499pn.js → location-services-x61499pn.js} +0 -0
  812. /package/dist/chunks/{image-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  813. /package/dist/chunks/{image-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  814. /package/dist/chunks/{image-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  815. /package/dist/chunks/{image-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  816. /package/dist/chunks/{image-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  817. /package/dist/chunks/{image-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-npqrkmj2.js";
3
+ } from "./location-services-mnazxqb2.js";
4
4
  import {
5
- Service84
6
- } from "./image-82460pbt.js";
5
+ Service86
6
+ } from "./location-services-ak39xwrx.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service81
11
- } from "./image-60qa52yq.js";
9
+ Event16,
10
+ Service76
11
+ } from "./location-services-c5n1jm6v.js";
12
12
  import {
13
- ID14,
13
+ ID12,
14
14
  MethodID2
15
- } from "./image-k2zexe6b.js";
15
+ } from "./location-services-ef4g51zk.js";
16
16
  import {
17
- ID13,
17
+ ID11,
18
18
  mergeOverlay2
19
- } from "./image-pkwadbh0.js";
19
+ } from "./location-services-6n3n8n8c.js";
20
20
  import {
21
- ID12,
21
+ ID10,
22
22
  VariantID2,
23
- Info22
24
- } from "./image-0t1h01ha.js";
23
+ Info19
24
+ } from "./location-services-tj0mzswe.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./image-yb20nhc3.js";
28
+ } from "./location-services-yb20nhc3.js";
29
29
  import {
30
30
  get5
31
- } from "./image-3nnrz6f6.js";
31
+ } from "./location-services-3nnrz6f6.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./image-7hqnhvmk.js";
34
+ } from "./location-services-8fxjxqq6.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID13.openai;
47
- var integrationID = ID14.make("openai");
46
+ var providerID = ID11.openai;
47
+ var integrationID = ID12.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -179,8 +179,8 @@ function listen(server) {
179
179
  var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
- const bus = yield* Service84;
183
- const credentials = yield* Service81;
182
+ const bus = yield* Service86;
183
+ const credentials = yield* Service76;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID12.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info22.default(ID13.openai, ID12.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID10.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID11.openai, ID10.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./image-p015t6z3.js";
3
+ } from "./location-services-p015t6z3.js";
4
4
  import {
5
- Service75,
6
- node79
7
- } from "./image-4b5nmf5q.js";
5
+ Service63,
6
+ node65
7
+ } from "./location-services-814m0pbm.js";
8
8
  import {
9
9
  retry2
10
- } from "./image-9cx9sm2q.js";
10
+ } from "./location-services-9cx9sm2q.js";
11
11
  import {
12
12
  __export
13
- } from "./image-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/generate.ts
16
- var exports_generate2 = {};
17
- __export(exports_generate2, {
18
- Generate: () => exports_generate2,
16
+ var exports_generate = {};
17
+ __export(exports_generate, {
18
+ Generate: () => exports_generate,
19
19
  ModelSelectionError: () => ModelSelectionError2,
20
- Service: () => Service58,
21
- UnavailableError: () => UnavailableError5,
22
- layer: () => layer22,
23
- node: () => node63
20
+ Service: () => Service16,
21
+ UnavailableError: () => UnavailableError2,
22
+ layer: () => layer10,
23
+ node: () => node19
24
24
  });
25
25
  import { LLM, LLMClient } from "@opencode/ai/effect";
26
26
  import { SessionID } from "@opencode/schema/session-id";
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError5 extends Schema.TaggedError()("Generate.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service58 extends Context.Service()("@opencode/Generate") {
40
+ class Service16 extends Context.Service()("@opencode/Generate") {
41
41
  }
42
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
42
+ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
43
43
  const llm = yield* LLMClient.Service;
44
- const resolver = yield* Service75;
44
+ const resolver = yield* Service63;
45
45
  const runText = Effect.fn("Generate.text")(function* (input) {
46
46
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
47
47
  "SessionRunnerModel.VariantUnavailableError",
@@ -51,7 +51,7 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
51
51
  "SessionRunnerModel.UnresolvedProviderVariablesError",
52
52
  "SessionRunnerModel.UnsupportedCompactionError"
53
53
  ], (error) => {
54
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: error.providerID });
54
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
55
55
  return Effect.fail(mapped);
56
56
  }));
57
57
  if (!resolved)
@@ -62,21 +62,21 @@ var layer22 = Layer.effect(Service58, Effect.gen(function* () {
62
62
  model: resolved.model,
63
63
  prompt: input.prompt,
64
64
  http: { headers: { "x-opencode-session": SessionID.create() } }
65
- })).pipe(retry2, Effect.mapError((error) => new UnavailableError5({
65
+ })).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
66
66
  message: error.message,
67
67
  service: resolved.ref.providerID
68
68
  })));
69
69
  return response.text;
70
70
  });
71
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError5({
71
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
72
72
  message: "Generation credentials are unavailable"
73
73
  })));
74
- return Service58.of({ text });
74
+ return Service16.of({ text });
75
75
  }));
76
- var node63 = makeLocationNode({
77
- service: Service58,
78
- layer: layer22,
79
- deps: [node79, llmClient2]
76
+ var node19 = makeLocationNode({
77
+ service: Service16,
78
+ layer: layer10,
79
+ deps: [node65, llmClient2]
80
80
  });
81
81
 
82
- export { ModelSelectionError2, UnavailableError5, Service58, layer22, node63, exports_generate2 };
82
+ export { ModelSelectionError2, UnavailableError2, Service16, layer10, node19, exports_generate };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service84
3
- } from "./image-82460pbt.js";
2
+ Service86
3
+ } from "./location-services-ak39xwrx.js";
4
4
  import {
5
5
  key2
6
- } from "./image-61ennm6n.js";
6
+ } from "./location-services-s626qfae.js";
7
7
  import {
8
- Event19
9
- } from "./image-60qa52yq.js";
8
+ Event16
9
+ } from "./location-services-c5n1jm6v.js";
10
10
  import {
11
- ID14
12
- } from "./image-k2zexe6b.js";
11
+ ID12
12
+ } from "./location-services-ef4g51zk.js";
13
13
  import {
14
- ID13,
15
- Service78
16
- } from "./image-pkwadbh0.js";
14
+ ID11,
15
+ Service74
16
+ } from "./location-services-6n3n8n8c.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./image-b6j7grnb.js";
20
+ } from "./location-services-zjyr9dee.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 = ID13.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service78;
30
- const bus = yield* Service84;
29
+ const providers = yield* Service74;
30
+ const bus = yield* Service86;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
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 === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,17 +1,17 @@
1
1
  import {
2
- Service84
3
- } from "./image-82460pbt.js";
2
+ Service86
3
+ } from "./location-services-ak39xwrx.js";
4
4
  import {
5
- ID16,
6
- Event19,
7
- Service81
8
- } from "./image-60qa52yq.js";
5
+ ID13,
6
+ Event16,
7
+ Service76
8
+ } from "./location-services-c5n1jm6v.js";
9
9
  import {
10
- ID13
11
- } from "./image-pkwadbh0.js";
10
+ ID11
11
+ } from "./location-services-6n3n8n8c.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./image-7hqnhvmk.js";
14
+ } from "./location-services-8fxjxqq6.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service81;
45
- const bus = yield* Service84;
44
+ const credentials = yield* Service76;
45
+ const bus = yield* Service86;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
48
48
  }));
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID13.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID13.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID13.googleVertex,
81
+ integrationID: ID11.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID13.googleVertex,
85
+ integrationID: ID11.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -157,7 +157,7 @@ var GoogleVertexPlugin2 = define({
157
157
  }
158
158
  }
159
159
  });
160
- yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
+ yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
161
161
  const next = yield* load();
162
162
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
163
163
  return;
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-npqrkmj2.js";
3
+ } from "./location-services-mnazxqb2.js";
4
4
  import {
5
- Service84
6
- } from "./image-82460pbt.js";
5
+ Service86
6
+ } from "./location-services-ak39xwrx.js";
7
7
  import {
8
- ID16,
8
+ ID13,
9
9
  OAuth3,
10
- Event19
11
- } from "./image-60qa52yq.js";
10
+ Event16
11
+ } from "./location-services-c5n1jm6v.js";
12
12
  import {
13
13
  key2
14
- } from "./image-61ennm6n.js";
14
+ } from "./location-services-s626qfae.js";
15
15
  import {
16
- ID14,
16
+ ID12,
17
17
  MethodID2,
18
18
  AuthorizationError2
19
- } from "./image-k2zexe6b.js";
19
+ } from "./location-services-ef4g51zk.js";
20
20
  import {
21
- ID13
22
- } from "./image-pkwadbh0.js";
21
+ ID11
22
+ } from "./location-services-6n3n8n8c.js";
23
23
  import {
24
24
  Service69
25
- } from "./image-sf9d32j3.js";
25
+ } from "./location-services-82dff8wv.js";
26
26
  import {
27
27
  Remote2,
28
28
  Document2,
29
29
  make12
30
- } from "./image-e07q2w5p.js";
30
+ } from "./location-services-e07q2w5p.js";
31
31
  import {
32
32
  integrate2
33
- } from "./image-0chf3frg.js";
33
+ } from "./location-services-v9492ht0.js";
34
34
  import {
35
35
  defaultServer2,
36
36
  server2,
37
37
  headers2
38
- } from "./image-kt3bjfbg.js";
38
+ } from "./location-services-kt3bjfbg.js";
39
39
  import {
40
- Service15
41
- } from "./image-f2kgtz6y.js";
40
+ Service14
41
+ } from "./location-services-kac0vvew.js";
42
42
  import {
43
- ID4,
43
+ ID3,
44
44
  Input14,
45
45
  Response3
46
- } from "./image-6mnd27wh.js";
46
+ } from "./location-services-gkp4zd0c.js";
47
47
  import {
48
48
  Response2,
49
- make8,
49
+ make6,
50
50
  statements2,
51
51
  providerIDs2,
52
52
  register2
53
- } from "./image-r5x9wjg5.js";
53
+ } from "./location-services-agmfdcja.js";
54
54
 
55
55
  // src/plugin/provider/opencode.ts
56
56
  import {
@@ -113,7 +113,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
113
113
  }
114
114
  function oauth(http) {
115
115
  return {
116
- integrationID: ID14.make("opencode"),
116
+ integrationID: ID12.make("opencode"),
117
117
  method: {
118
118
  id: methodID,
119
119
  type: "oauth",
@@ -178,10 +178,10 @@ var OpencodePlugin2 = define({
178
178
  id: "opencode.provider.opencode",
179
179
  effect: Effect.fn(function* (ctx) {
180
180
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
181
- const bus = yield* Service84;
181
+ const bus = yield* Service86;
182
182
  const client = yield* HttpClient.HttpClient;
183
183
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
184
- const managed = yield* Service15;
184
+ const managed = yield* Service14;
185
185
  const config = yield* Service69;
186
186
  const scope = yield* Scope.Scope;
187
187
  const loading = Semaphore.makeUnsafe(1);
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
204
204
  if (!credential || credential.type === "external")
205
205
  return Effect.succeed({ remote: undefined, connection, organization: undefined });
206
206
  return fetchConfig(http, credential).pipe(Effect.map((remote) => ({
207
- remote: remote?.type === "legacy" ? make8(remote.response, headers2(credential)) : remote,
207
+ remote: remote?.type === "legacy" ? make6(remote.response, headers2(credential)) : remote,
208
208
  connection,
209
209
  organization: organizationName(credential)
210
210
  })));
@@ -218,16 +218,16 @@ var OpencodePlugin2 = define({
218
218
  });
219
219
  let integrated;
220
220
  const integrate = Effect.fnUntraced(function* (document) {
221
- yield* config.integration?.(ID14.make("opencode"), document) ?? Effect.void;
222
- integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID14.make("opencode"));
221
+ yield* config.integration?.(ID12.make("opencode"), document) ?? Effect.void;
222
+ integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID12.make("opencode"));
223
223
  });
224
224
  const publish = Effect.fnUntraced(function* (next) {
225
225
  switch (next.remote?.type) {
226
226
  case "config":
227
227
  yield* managed.set({ statements: [], organization: next.organization });
228
228
  return yield* integrate(next.connection && make12({
229
- integrationID: ID14.make("opencode"),
230
- connection: next.connection.type === "credential" ? { ...next.connection, id: ID16.make(next.connection.id) } : next.connection,
229
+ integrationID: ID12.make("opencode"),
230
+ connection: next.connection.type === "credential" ? { ...next.connection, id: ID13.make(next.connection.id) } : next.connection,
231
231
  organization: next.organization,
232
232
  info: next.remote.info
233
233
  }));
@@ -283,7 +283,7 @@ var OpencodePlugin2 = define({
283
283
  integrate2(providers, integrated);
284
284
  });
285
285
  yield* ctx.provider.transform((providers) => {
286
- const item = providers.get(ID13.opencode);
286
+ const item = providers.get(ID11.opencode);
287
287
  if (!item)
288
288
  return;
289
289
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  });
296
296
  });
297
297
  yield* ctx.model.transform((models) => {
298
- const item = models.provider.get(ID13.opencode);
298
+ const item = models.provider.get(ID11.opencode);
299
299
  if (!item)
300
300
  return;
301
301
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -311,7 +311,7 @@ var OpencodePlugin2 = define({
311
311
  });
312
312
  yield* ctx.websearch.transform((editor) => {
313
313
  if (snapshot.remote?.type === "config" && snapshot.connection)
314
- editor.add(search(ID4.make("opencode"), snapshot.connection));
314
+ editor.add(search(ID3.make("opencode"), snapshot.connection));
315
315
  });
316
316
  const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
317
317
  snapshot = next;
@@ -348,7 +348,7 @@ var OpencodePlugin2 = define({
348
348
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
349
349
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
350
350
  explainers = yield* Effect.forEach(next.connection ? new Set([
351
- ID13.opencode,
351
+ ID11.opencode,
352
352
  ...next.remote?.type === "config" ? Object.keys(next.remote.info.providers ?? {}) : providerIDs2(next.remote)
353
353
  ]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
354
354
  });
@@ -361,7 +361,7 @@ var OpencodePlugin2 = define({
361
361
  onlyIfMissing: true
362
362
  });
363
363
  });
364
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
364
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
365
365
  yield* poll();
366
366
  })
367
367
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin16
9
+ Plugin: () => Plugin13
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin16 = define({
16
+ var Plugin13 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin16 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin16, exports_mcp_codemode_defaults };
41
+ export { Plugin13, exports_mcp_codemode_defaults };