@opencode/core 0.0.0-dev-19906 → 0.0.0-dev-19908

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 (795) 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 +91 -91
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-ak9msbxp.js → location-service-map-0fn2v7vk.js} +6 -6
  8. package/dist/chunks/{model-6anwy9fs.js → location-service-map-0ft9cg2j.js} +4 -4
  9. package/dist/chunks/{model-4y303w9z.js → location-service-map-0m0tvs7x.js} +4 -4
  10. package/dist/chunks/{model-mzmk89a7.js → location-service-map-0mkceren.js} +18 -18
  11. package/dist/chunks/{model-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-7jpnqdrn.js → location-service-map-0pvf7m16.js} +8 -8
  13. package/dist/chunks/{model-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-8n69n882.js → location-service-map-0t9wd588.js} +8 -8
  15. package/dist/chunks/{model-d0n5q4mr.js → location-service-map-0yxeee59.js} +22 -22
  16. package/dist/chunks/{model-30846h32.js → location-service-map-166kng33.js} +8 -8
  17. package/dist/chunks/{model-m6hv1ynn.js → location-service-map-1a5fqs30.js} +13 -13
  18. package/dist/chunks/{model-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-hqk0mjyf.js → location-service-map-1tm87m4q.js} +29 -29
  20. package/dist/chunks/{model-617mz6mg.js → location-service-map-1v655e7m.js} +25 -25
  21. package/dist/chunks/{model-f25186rv.js → location-service-map-1w6r18a3.js} +9 -9
  22. package/dist/chunks/{model-1ygqh575.js → location-service-map-1ygqh575.js} +2 -2
  23. package/dist/chunks/{model-ycznwsmg.js → location-service-map-1z27hz33.js} +52 -52
  24. package/dist/chunks/{model-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  25. package/dist/chunks/location-service-map-25wt5q19.js +26 -0
  26. package/dist/chunks/{model-fed635kz.js → location-service-map-27npcnq6.js} +46 -46
  27. package/dist/chunks/{model-c21zgsdc.js → location-service-map-2938t71n.js} +83 -83
  28. package/dist/chunks/{model-eda10e0w.js → location-service-map-2a4ngzra.js} +13 -13
  29. package/dist/chunks/{model-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{model-24n759rf.js → location-service-map-2b1sk39h.js} +13 -13
  31. package/dist/chunks/{model-ja8b0p8w.js → location-service-map-2e38sqrt.js} +29 -29
  32. package/dist/chunks/{model-67cn3afk.js → location-service-map-2f0ps26r.js} +1 -1
  33. package/dist/chunks/{model-57ez7d0k.js → location-service-map-2fgn2we9.js} +9 -9
  34. package/dist/chunks/{model-81c74w9q.js → location-service-map-2km99av1.js} +25 -25
  35. package/dist/chunks/{model-fy24btyg.js → location-service-map-2n3788zq.js} +8 -8
  36. package/dist/chunks/{model-cq37gk0t.js → location-service-map-2tfmgkzg.js} +4 -4
  37. package/dist/chunks/{model-3b9wpp8z.js → location-service-map-2v82530a.js} +27 -27
  38. package/dist/chunks/{model-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{model-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-ptxd578g.js → location-service-map-3y1j0a2h.js} +6 -6
  43. package/dist/chunks/{model-xrsj52z1.js → location-service-map-3zjkz1b2.js} +15 -15
  44. package/dist/chunks/{model-3d48rpge.js → location-service-map-4bhjphkk.js} +9 -9
  45. package/dist/chunks/{model-jm6epzf6.js → location-service-map-4cxhm7bv.js} +21 -21
  46. package/dist/chunks/{model-49tets05.js → location-service-map-4jhxmthm.js} +86 -86
  47. package/dist/chunks/{model-tfeg9myv.js → location-service-map-4m7whkwr.js} +8 -8
  48. package/dist/chunks/{model-80re81y7.js → location-service-map-4ppc3h9w.js} +24 -24
  49. package/dist/chunks/{model-5gscr08n.js → location-service-map-4q8wsteh.js} +21 -21
  50. package/dist/chunks/{model-qcp46jqm.js → location-service-map-4xwtynpb.js} +20 -20
  51. package/dist/chunks/{model-g76p47h1.js → location-service-map-4y1a8txt.js} +4 -4
  52. package/dist/chunks/{model-5qcg10v8.js → location-service-map-51tvzc68.js} +5 -5
  53. package/dist/chunks/{model-9gfv2xp5.js → location-service-map-5bxs6rtb.js} +2 -2
  54. package/dist/chunks/{model-a1bz86dw.js → location-service-map-5c4hm403.js} +3 -3
  55. package/dist/chunks/{model-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  56. package/dist/chunks/{model-82ecz04y.js → location-service-map-5egg5sww.js} +3 -3
  57. package/dist/chunks/{model-dz52anvj.js → location-service-map-5kfdkwnt.js} +7 -7
  58. package/dist/chunks/{model-wgjvgmhd.js → location-service-map-5r3df9a0.js} +6 -6
  59. package/dist/chunks/{model-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{model-trrw5nej.js → location-service-map-5wrvcd50.js} +30 -30
  61. package/dist/chunks/{model-m7zf2my5.js → location-service-map-5xerxp25.js} +8 -8
  62. package/dist/chunks/{model-q5nw5m1n.js → location-service-map-5yeq06a0.js} +9 -9
  63. package/dist/chunks/{model-ewcf1cet.js → location-service-map-65m45y7f.js} +30 -30
  64. package/dist/chunks/{model-b9zak6q0.js → location-service-map-662skhf0.js} +20 -20
  65. package/dist/chunks/{model-669tq793.js → location-service-map-669tq793.js} +1 -1
  66. package/dist/chunks/{model-q4e839b4.js → location-service-map-66px8fgb.js} +14 -14
  67. package/dist/chunks/{model-zp6a1j7x.js → location-service-map-67e2aj6a.js} +12 -12
  68. package/dist/chunks/{model-hsej789g.js → location-service-map-6836s78k.js} +11 -11
  69. package/dist/chunks/{model-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{model-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  71. package/dist/chunks/location-service-map-6pjjxh9g.js +492 -0
  72. package/dist/chunks/{model-8pydb23g.js → location-service-map-6qn23cec.js} +3 -3
  73. package/dist/chunks/{model-0w8znyxp.js → location-service-map-772npm7s.js} +40 -40
  74. package/dist/chunks/{model-m51ka6xh.js → location-service-map-78tqsgcn.js} +41 -41
  75. package/dist/chunks/{model-wk5aq6b6.js → location-service-map-7b4eysef.js} +22 -22
  76. package/dist/chunks/{model-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{model-8msexk33.js → location-service-map-7ph5r14r.js} +2 -2
  78. package/dist/chunks/{model-cypx4awd.js → location-service-map-83bwd35t.js} +10 -10
  79. package/dist/chunks/{model-n1f5brrh.js → location-service-map-8a9xw8ry.js} +13 -13
  80. package/dist/chunks/{model-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{model-b24rrkag.js → location-service-map-8hyye2v9.js} +15 -15
  82. package/dist/chunks/{model-4scs7em6.js → location-service-map-8jb42n3c.js} +8 -8
  83. package/dist/chunks/{model-5f2gmn95.js → location-service-map-8pen1rfb.js} +9 -9
  84. package/dist/chunks/{model-vw5157cc.js → location-service-map-8pxjqnah.js} +11 -11
  85. package/dist/chunks/{model-7z44qz3y.js → location-service-map-8r1shvjs.js} +4 -4
  86. package/dist/chunks/{model-3ythc6yv.js → location-service-map-8s8mxddj.js} +4 -4
  87. package/dist/chunks/{model-a46pcpxp.js → location-service-map-90zzpcmb.js} +5 -5
  88. package/dist/chunks/{model-6r7d6r5c.js → location-service-map-9180s51j.js} +6 -6
  89. package/dist/chunks/{model-vnwmzs4a.js → location-service-map-92azg307.js} +5 -5
  90. package/dist/chunks/{model-detb6v1k.js → location-service-map-98b0h016.js} +10 -10
  91. package/dist/chunks/{model-4dgbcxzg.js → location-service-map-9a1vbzsf.js} +4 -4
  92. package/dist/chunks/{model-1h3ybkz7.js → location-service-map-9gn5b0q7.js} +32 -32
  93. package/dist/chunks/{model-9hn6k4tm.js → location-service-map-9hn6k4tm.js} +1 -1
  94. package/dist/chunks/{model-vd8a1zrh.js → location-service-map-9v0tnpfd.js} +36 -36
  95. package/dist/chunks/{model-b2bk0y8k.js → location-service-map-9vnf7qt0.js} +32 -32
  96. package/dist/chunks/{model-pv4qdjr1.js → location-service-map-9wtk3fb8.js} +7 -7
  97. package/dist/chunks/{model-evbgk2k8.js → location-service-map-9xvq3m7s.js} +5 -5
  98. package/dist/chunks/{model-fkdsr5vw.js → location-service-map-a4vpawzh.js} +176 -176
  99. package/dist/chunks/{model-9jywrqt4.js → location-service-map-a5t0p1z6.js} +17 -17
  100. package/dist/chunks/{model-w3nq1sqw.js → location-service-map-a881zpfh.js} +9 -9
  101. package/dist/chunks/{model-9zav9t5q.js → location-service-map-a8efdyvq.js} +4 -4
  102. package/dist/chunks/{model-8g1y0937.js → location-service-map-a90nz60e.js} +22 -22
  103. package/dist/chunks/{model-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-nr0jgk0c.js → location-service-map-ab8cnxkj.js} +12 -12
  105. package/dist/chunks/{model-baw5f1vq.js → location-service-map-ag26xfby.js} +25 -25
  106. package/dist/chunks/{model-g4zzvkd8.js → location-service-map-army0fs2.js} +15 -15
  107. package/dist/chunks/{model-7rh4jp67.js → location-service-map-awxzb73g.js} +11 -11
  108. package/dist/chunks/{model-4g7z9a9z.js → location-service-map-b4x0msg6.js} +9 -9
  109. package/dist/chunks/{model-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{model-6np7xqzj.js → location-service-map-b6jkr1zz.js} +13 -13
  111. package/dist/chunks/{model-pek9xgfv.js → location-service-map-b9ez143t.js} +51 -51
  112. package/dist/chunks/{model-wjp0zyyh.js → location-service-map-bbfzv23w.js} +62 -62
  113. package/dist/chunks/{model-thwc3zjr.js → location-service-map-bn6tr5ps.js} +8 -8
  114. package/dist/chunks/{model-gzmxr3dp.js → location-service-map-bxtw2qk2.js} +17 -17
  115. package/dist/chunks/{model-8dft9m2d.js → location-service-map-bypa996g.js} +11 -11
  116. package/dist/chunks/{model-f3ngv102.js → location-service-map-cavr175a.js} +4 -4
  117. package/dist/chunks/{model-4w2arca3.js → location-service-map-ckp5ab6w.js} +24 -24
  118. package/dist/chunks/{model-p3ej63d7.js → location-service-map-ckyt0zc1.js} +16 -16
  119. package/dist/chunks/{model-fgh23p0g.js → location-service-map-cnhy75xp.js} +8 -8
  120. package/dist/chunks/{model-w3jqh4s1.js → location-service-map-d0g4z7q4.js} +5 -5
  121. package/dist/chunks/{model-3pbjq009.js → location-service-map-d1x6gan2.js} +8 -8
  122. package/dist/chunks/{model-8z61dkqt.js → location-service-map-ddbqavaz.js} +14 -14
  123. package/dist/chunks/{model-ddt2bs9e.js → location-service-map-ddt2bs9e.js} +1 -1
  124. package/dist/chunks/{model-3ry6dp0s.js → location-service-map-de260zrm.js} +30 -30
  125. package/dist/chunks/{model-px4npgva.js → location-service-map-dexmpbfg.js} +11 -11
  126. package/dist/chunks/{model-8p4f9s12.js → location-service-map-dj2t23y0.js} +2 -2
  127. package/dist/chunks/{model-r2m716tb.js → location-service-map-djszqvmq.js} +9 -9
  128. package/dist/chunks/{model-x6e27gyg.js → location-service-map-dn8dshff.js} +31 -31
  129. package/dist/chunks/{model-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{model-xfkkasph.js → location-service-map-drwq78ky.js} +4 -4
  131. package/dist/chunks/{model-xfwdgfzz.js → location-service-map-dtcnxq3d.js} +7 -7
  132. package/dist/chunks/{model-r6mmreqb.js → location-service-map-dy5qaydb.js} +16 -16
  133. package/dist/chunks/{model-1tvyn6pa.js → location-service-map-e4a7h3de.js} +30 -30
  134. package/dist/chunks/{model-rhjbct0v.js → location-service-map-eaj1djv9.js} +8 -8
  135. package/dist/chunks/{model-qtm3z6ae.js → location-service-map-ebs875ns.js} +4 -4
  136. package/dist/chunks/{model-33ewhzb2.js → location-service-map-eewwnnjm.js} +4 -4
  137. package/dist/chunks/{model-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{model-4r1q6yk4.js → location-service-map-emrt4k6z.js} +18 -18
  139. package/dist/chunks/{model-wyk2zdvm.js → location-service-map-ep7z2cty.js} +7 -7
  140. package/dist/chunks/{model-0r7yqxbf.js → location-service-map-eq23s0y6.js} +5 -5
  141. package/dist/chunks/{model-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{model-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{model-8qm1q81j.js → location-service-map-f5vqjzqv.js} +24 -24
  144. package/dist/chunks/{model-55xp6bg4.js → location-service-map-f6dgbcmr.js} +15 -15
  145. package/dist/chunks/{model-62wkya8p.js → location-service-map-f98t382m.js} +27 -27
  146. package/dist/chunks/{model-kjr739rk.js → location-service-map-fdwj3bfj.js} +20 -20
  147. package/dist/chunks/{model-5yrty1my.js → location-service-map-fhk237js.js} +44 -44
  148. package/dist/chunks/{model-k9kj6xed.js → location-service-map-fkjmw100.js} +2 -2
  149. package/dist/chunks/{model-cp54x4ft.js → location-service-map-fmyban77.js} +12 -12
  150. package/dist/chunks/{model-8dvafn7y.js → location-service-map-fv22qhf7.js} +11 -11
  151. package/dist/chunks/{model-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{model-e27b6zer.js → location-service-map-fzb7pnb3.js} +34 -34
  153. package/dist/chunks/{model-g8d3gcyj.js → location-service-map-g8d3gcyj.js} +1 -1
  154. package/dist/chunks/{model-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{model-2702ket8.js → location-service-map-gkejymts.js} +4 -4
  156. package/dist/chunks/{model-31t7rjpy.js → location-service-map-gkxbbwdq.js} +18 -18
  157. package/dist/chunks/{model-dsvzr21z.js → location-service-map-gp68ydnh.js} +8 -8
  158. package/dist/chunks/{model-dhq7qzd4.js → location-service-map-gtsscnck.js} +9 -9
  159. package/dist/chunks/{model-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{model-p03m8v7a.js → location-service-map-gx2b53vf.js} +20 -20
  161. package/dist/chunks/{model-tgrf6q2r.js → location-service-map-gxnxecbq.js} +25 -25
  162. package/dist/chunks/{model-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{model-f828m53h.js → location-service-map-hdnk95c8.js} +2 -2
  164. package/dist/chunks/{model-jfjcbkfy.js → location-service-map-hfeprhdn.js} +17 -17
  165. package/dist/chunks/{model-xqvzjshe.js → location-service-map-hk3dpda4.js} +46 -46
  166. package/dist/chunks/{model-nng2ktcm.js → location-service-map-hkagk5ex.js} +2 -2
  167. package/dist/chunks/{model-pecb0brz.js → location-service-map-hkfg6fzm.js} +5 -5
  168. package/dist/chunks/{model-9qm9mqrq.js → location-service-map-hs63n349.js} +43 -43
  169. package/dist/chunks/{model-egtt0c8j.js → location-service-map-hsvnfevx.js} +10 -10
  170. package/dist/chunks/{model-kqx275ez.js → location-service-map-htx28xdf.js} +4 -4
  171. package/dist/chunks/{model-ramdt8r4.js → location-service-map-hzbz7kx4.js} +37 -37
  172. package/dist/chunks/{model-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  173. package/dist/chunks/{model-7x8pqxry.js → location-service-map-j7jx6nts.js} +11 -11
  174. package/dist/chunks/{model-2e96adxv.js → location-service-map-jemfgm91.js} +6 -6
  175. package/dist/chunks/{model-p3psqptm.js → location-service-map-jqx27dm3.js} +14 -14
  176. package/dist/chunks/{model-pkd8g7wy.js → location-service-map-jrxej8cd.js} +19 -19
  177. package/dist/chunks/{model-bwgn3y77.js → location-service-map-k188wcvq.js} +11 -11
  178. package/dist/chunks/{model-r1hwgwre.js → location-service-map-k9ab4ktd.js} +11 -11
  179. package/dist/chunks/{model-y6rnqc01.js → location-service-map-kp1afcxm.js} +29 -29
  180. package/dist/chunks/{model-dpbk6b42.js → location-service-map-m012ar2z.js} +3 -3
  181. package/dist/chunks/{model-cfpkc3c9.js → location-service-map-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{model-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{model-jycas13j.js → location-service-map-m4z85945.js} +8 -8
  184. package/dist/chunks/{model-fhwzv4xw.js → location-service-map-m5xhdgb9.js} +24 -24
  185. package/dist/chunks/{model-f65e2tnm.js → location-service-map-m6ry2d28.js} +11 -11
  186. package/dist/chunks/{model-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{model-1bbkgx8g.js → location-service-map-mhkvc446.js} +3 -3
  188. package/dist/chunks/{model-svpkzja3.js → location-service-map-mtq5sw6w.js} +1 -1
  189. package/dist/chunks/{model-hmncc71v.js → location-service-map-mv76532y.js} +28 -28
  190. package/dist/chunks/{model-djjemven.js → location-service-map-n98zs5sd.js} +15 -15
  191. package/dist/chunks/{model-7w99qc9d.js → location-service-map-ndmv45hp.js} +3 -3
  192. package/dist/chunks/{model-pk6g247z.js → location-service-map-nhnj3r8x.js} +6 -6
  193. package/dist/chunks/{model-f5yjxap3.js → location-service-map-nn0rafdk.js} +27 -27
  194. package/dist/chunks/{model-zva0wn8c.js → location-service-map-nx2c145c.js} +22 -22
  195. package/dist/chunks/{model-k3c624dm.js → location-service-map-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{model-tbz0fdvh.js → location-service-map-p28j5sbe.js} +5 -5
  197. package/dist/chunks/{model-qq1r3f8e.js → location-service-map-p3mw2y19.js} +19 -19
  198. package/dist/chunks/{model-1mywsabn.js → location-service-map-p5qkcp8b.js} +28 -28
  199. package/dist/chunks/{model-d1mtykxg.js → location-service-map-p7a39gy5.js} +6 -6
  200. package/dist/chunks/{model-06dxphr1.js → location-service-map-paegk39x.js} +4 -4
  201. package/dist/chunks/{model-jd1hrekq.js → location-service-map-pbw8g0bs.js} +23 -23
  202. package/dist/chunks/location-service-map-pf31ssb9.js +18 -0
  203. package/dist/chunks/{model-qw90jq9z.js → location-service-map-pfca1pfz.js} +18 -18
  204. package/dist/chunks/{model-ph842b28.js → location-service-map-ph842b28.js} +1 -1
  205. package/dist/chunks/{model-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{model-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  207. package/dist/chunks/{model-nq7qbqzc.js → location-service-map-pnv527nz.js} +9 -9
  208. package/dist/chunks/{model-0jwsre1p.js → location-service-map-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{model-cmx30k2t.js → location-service-map-qh9dpbry.js} +24 -24
  210. package/dist/chunks/{model-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-kgwh26dr.js → location-service-map-qtq0xewc.js} +13 -13
  212. package/dist/chunks/{model-2wg042nb.js → location-service-map-qwfgmsy8.js} +32 -32
  213. package/dist/chunks/{model-kpfqh20w.js → location-service-map-r33kyee3.js} +17 -17
  214. package/dist/chunks/{model-8sak357k.js → location-service-map-r3fe1xjf.js} +9 -9
  215. package/dist/chunks/{model-gpj713yt.js → location-service-map-r40g9bwm.js} +17 -17
  216. package/dist/chunks/{model-j68b2vf9.js → location-service-map-r6apnabc.js} +15 -15
  217. package/dist/chunks/{model-65bmdj78.js → location-service-map-r8z66xh6.js} +25 -25
  218. package/dist/chunks/{model-6hjx5zpb.js → location-service-map-r9w3djhf.js} +2 -2
  219. package/dist/chunks/{model-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{model-jj3nkk17.js → location-service-map-rew2pe94.js} +3 -3
  221. package/dist/chunks/{model-2nwq4sat.js → location-service-map-rx6jh09a.js} +5 -5
  222. package/dist/chunks/{model-scm34zbb.js → location-service-map-s7rj0mx9.js} +17 -17
  223. package/dist/chunks/{model-814nz666.js → location-service-map-s9zgft08.js} +7 -7
  224. package/dist/chunks/{model-h3ns4h34.js → location-service-map-sd2d2cgh.js} +32 -32
  225. package/dist/chunks/{model-9jsep90k.js → location-service-map-t847fcsw.js} +17 -17
  226. package/dist/chunks/{model-qnpnzv83.js → location-service-map-t9sq69f9.js} +29 -29
  227. package/dist/chunks/{model-t9zs3egg.js → location-service-map-t9zs3egg.js} +1 -1
  228. package/dist/chunks/{model-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{model-bz85s9hh.js → location-service-map-tcg29b4q.js} +1 -1
  231. package/dist/chunks/{model-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  232. package/dist/chunks/{model-x7gy7spk.js → location-service-map-trhnmn1e.js} +47 -47
  233. package/dist/chunks/{model-ymg7q630.js → location-service-map-tt8pxjfh.js} +1 -1
  234. package/dist/chunks/{model-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  235. package/dist/chunks/{model-6za5pss1.js → location-service-map-v0nht15a.js} +23 -23
  236. package/dist/chunks/{model-gq14rzd7.js → location-service-map-v3h1wcwh.js} +6 -6
  237. package/dist/chunks/{model-j1k2dzb5.js → location-service-map-v3vvdts4.js} +8 -8
  238. package/dist/chunks/{model-32c9kn6c.js → location-service-map-v74dqahz.js} +9 -9
  239. package/dist/chunks/{model-998qzjh2.js → location-service-map-vd14z2yv.js} +15 -15
  240. package/dist/chunks/{model-rnxs58b0.js → location-service-map-ve8rn4r1.js} +17 -17
  241. package/dist/chunks/{model-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  242. package/dist/chunks/location-service-map-vj32h5cd.js +252 -0
  243. package/dist/chunks/{model-v5wng4vz.js → location-service-map-vk9pbctf.js} +32 -32
  244. package/dist/chunks/{model-5we7r0eg.js → location-service-map-vkt5fbj2.js} +5 -5
  245. package/dist/chunks/{model-hnfep17d.js → location-service-map-vq6a6twd.js} +25 -25
  246. package/dist/chunks/{model-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{model-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-ecdbp5kc.js → location-service-map-wawr6n1a.js} +12 -12
  249. package/dist/chunks/{model-9evpctxc.js → location-service-map-wby7c117.js} +5 -5
  250. package/dist/chunks/{model-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  251. package/dist/chunks/{model-1qtvxwgq.js → location-service-map-whtzs7pp.js} +26 -26
  252. package/dist/chunks/{model-2v3h84yr.js → location-service-map-wkegjedf.js} +5 -5
  253. package/dist/chunks/{model-6hm3mx1k.js → location-service-map-wpe4t8d6.js} +6 -6
  254. package/dist/chunks/{model-nsjh0tf2.js → location-service-map-wqc4f3p6.js} +10 -10
  255. package/dist/chunks/{model-j1b1tpcz.js → location-service-map-wtf9a8xg.js} +11 -11
  256. package/dist/chunks/{model-3j9bgvtg.js → location-service-map-wvgd2jmw.js} +5 -5
  257. package/dist/chunks/{model-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{model-cpcceztk.js → location-service-map-x1xcpfha.js} +16 -16
  259. package/dist/chunks/{model-cxe1rn3h.js → location-service-map-x6cf67we.js} +44 -44
  260. package/dist/chunks/{model-d8a4cx75.js → location-service-map-xam4be5c.js} +22 -22
  261. package/dist/chunks/{model-b7hkd5vm.js → location-service-map-xmhy1khr.js} +5 -5
  262. package/dist/chunks/{model-7bgx2qk6.js → location-service-map-xp4st0zd.js} +8 -8
  263. package/dist/chunks/{model-y890a693.js → location-service-map-xpqdzpnq.js} +17 -17
  264. package/dist/chunks/location-service-map-xrsqh21y.js +4 -0
  265. package/dist/chunks/{model-reg1ax5q.js → location-service-map-xt2qmbhx.js} +39 -39
  266. package/dist/chunks/{model-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{model-zh4h8ren.js → location-service-map-y2f1nv48.js} +24 -24
  268. package/dist/chunks/{model-5nxq8qj2.js → location-service-map-y38r0g18.js} +3 -3
  269. package/dist/chunks/{model-tcd91va5.js → location-service-map-y3a3cvm4.js} +32 -32
  270. package/dist/chunks/{model-wrypsvr9.js → location-service-map-y642n9b2.js} +8 -8
  271. package/dist/chunks/{model-2ssnk4hs.js → location-service-map-y6h6zkea.js} +16 -16
  272. package/dist/chunks/{model-tgfzkdey.js → location-service-map-y87t9fp6.js} +19 -19
  273. package/dist/chunks/{model-h4qyhxwk.js → location-service-map-yfdxd69c.js} +5 -5
  274. package/dist/chunks/{model-5ny6014x.js → location-service-map-ykw8m083.js} +18 -18
  275. package/dist/chunks/{model-1acjjqhc.js → location-service-map-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{model-xqbee9d5.js → location-service-map-yqm635vm.js} +12 -12
  277. package/dist/chunks/{model-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{model-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
  279. package/dist/chunks/{model-zn7x5201.js → location-service-map-yt1n8wq9.js} +35 -35
  280. package/dist/chunks/{model-6tac3grq.js → location-service-map-yxtrr34x.js} +21 -21
  281. package/dist/chunks/{model-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{model-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
  283. package/dist/chunks/{model-gfme63kk.js → location-service-map-z76vp15m.js} +6 -6
  284. package/dist/chunks/{model-k1drtz54.js → location-service-map-z8z94c7r.js} +24 -24
  285. package/dist/chunks/{model-bmzfqpm5.js → location-service-map-zar9kkhf.js} +23 -23
  286. package/dist/chunks/{model-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{model-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-q2nysqs7.js → location-service-map-ztwwngdb.js} +8 -8
  289. package/dist/chunks/{model-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +101 -101
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +98 -98
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +84 -84
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +128 -128
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +101 -101
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +1 -1
  497. package/dist/plugin/instance.js +1 -1
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +69 -69
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +2 -2
  547. package/dist/plugin/vcs/git.js +83 -83
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +224 -224
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +89 -89
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +149 -149
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +217 -217
  582. package/dist/session/execution.js +121 -121
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +83 -83
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +1 -1
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +86 -86
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +119 -119
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +1 -1
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/model-43bsdk2g.js +0 -252
  696. package/dist/chunks/model-9z8annsp.js +0 -26
  697. package/dist/chunks/model-9zdhvgqs.js +0 -18
  698. package/dist/chunks/model-kr6k72bg.js +0 -492
  699. package/dist/chunks/model-qapv375x.js +0 -4
  700. /package/dist/chunks/{model-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{model-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{model-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{model-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{model-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{model-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{model-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{model-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{model-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{model-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{model-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  711. /package/dist/chunks/{model-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{model-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{model-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{model-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{model-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{model-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{model-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{model-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  719. /package/dist/chunks/{model-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{model-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{model-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  722. /package/dist/chunks/{model-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{model-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{model-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  725. /package/dist/chunks/{model-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{model-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{model-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  728. /package/dist/chunks/{model-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{model-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{model-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{model-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{model-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{model-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{model-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{model-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{model-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{model-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{model-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{model-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{model-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{model-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{model-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{model-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  744. /package/dist/chunks/{model-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{model-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{model-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{model-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{model-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{model-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{model-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{model-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{model-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{model-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{model-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{model-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{model-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  757. /package/dist/chunks/{model-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{model-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  759. /package/dist/chunks/{model-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{model-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  761. /package/dist/chunks/{model-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{model-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{model-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{model-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{model-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{model-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{model-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{model-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{model-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{model-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{model-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{model-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{model-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{model-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{model-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{model-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{model-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{model-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{model-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{model-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{model-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{model-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{model-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{model-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{model-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  790. /package/dist/chunks/{model-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{model-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{model-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service72
3
- } from "./model-80re81y7.js";
2
+ Service81
3
+ } from "./location-service-map-4ppc3h9w.js";
4
4
  import {
5
- Service64
6
- } from "./model-ycznwsmg.js";
5
+ Service72
6
+ } from "./location-service-map-1z27hz33.js";
7
7
  import {
8
- ID5,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service50
14
- } from "./model-hnfep17d.js";
13
+ Service17
14
+ } from "./location-service-map-vq6a6twd.js";
15
15
  import {
16
16
  __export
17
- } from "./model-9rqn6x4v.js";
17
+ } from "./location-service-map-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input10,
22
+ Input: () => Input4,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin27,
24
+ Plugin: () => Plugin21,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name10
26
+ description: () => description3,
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name10 = "websearch";
32
+ var name4 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input10 = Schema.Struct({
42
+ var Input4 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID5,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin27 = {
49
+ var Plugin21 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service64;
53
- const forms = yield* Service72;
54
- const websearch = yield* Service50;
52
+ const permission = yield* Service72;
53
+ const forms = yield* Service81;
54
+ const websearch = yield* Service17;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name4,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input10,
58
+ description: description3,
59
+ input: Input4,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name4,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name10];
179
+ delete event.tools[name4];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description5, Input10, Plugin27, exports_websearch };
187
+ export { name4, NO_RESULTS2, description3, Input4, Plugin21, exports_websearch };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
3
- Service71
4
- } from "./model-qnpnzv83.js";
2
+ ID8,
3
+ Service60
4
+ } from "./location-service-map-t9sq69f9.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service71;
12
+ const integrations = yield* Service60;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID13.make(item.provider.id)))
22
+ if (!configured.has(ID8.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./model-b2bk0y8k.js";
3
+ } from "./location-service-map-9vnf7qt0.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./model-hqk0mjyf.js";
6
+ } from "./location-service-map-1tm87m4q.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/variant.ts
12
12
  var exports_variant = {};
13
13
  __export(exports_variant, {
14
14
  Variant: () => exports_variant,
15
- resolve: () => resolve2
15
+ resolve: () => resolve3
16
16
  });
17
- function resolve2(model, supports = [{ type: "effort" }]) {
17
+ function resolve3(model, supports = [{ type: "effort" }]) {
18
18
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
19
19
  if (!protocol)
20
20
  return [];
@@ -497,4 +497,4 @@ var PROTOCOLS = {
497
497
  [aisdk2("@ai-sdk/cohere")]: cohere
498
498
  };
499
499
 
500
- export { resolve2, exports_variant };
500
+ export { resolve3, exports_variant };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service44
3
- } from "./model-xqvzjshe.js";
2
+ Service45
3
+ } from "./location-service-map-hk3dpda4.js";
4
4
  import {
5
- Service34
6
- } from "./model-pek9xgfv.js";
5
+ Service29
6
+ } from "./location-service-map-b9ez143t.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin39,
15
+ Plugin: () => Plugin46,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin39 = define({
20
+ var Plugin46 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service44;
28
- const mcp = yield* Service34;
27
+ const config = yield* Service45;
28
+ const mcp = yield* Service29;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin39, register2, exports_mcp2 };
49
+ export { Plugin46, register2, exports_mcp2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service44
4
- } from "./model-xqvzjshe.js";
3
+ Service45
4
+ } from "./location-service-map-hk3dpda4.js";
5
5
  import {
6
- Service55
7
- } from "./model-tgfzkdey.js";
6
+ Service67
7
+ } from "./location-service-map-y87t9fp6.js";
8
8
  import {
9
9
  observe2
10
- } from "./model-qsdy395h.js";
10
+ } from "./location-service-map-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./model-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell2 = {};
17
17
  __export(exports_shell2, {
18
18
  ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin37
19
+ Plugin: () => Plugin38
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin37 = define({
23
+ var Plugin38 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service44;
27
- const shell = yield* Service55;
26
+ const config = yield* Service45;
27
+ const shell = yield* Service67;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin37 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin37, exports_shell2 };
37
+ export { Plugin38, exports_shell2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./model-3w5fmr99.js";
3
+ } from "./location-service-map-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin11,
11
+ Plugin: () => Plugin7,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin11 = define({
18
+ var Plugin7 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin11, exports_tool_input_repair };
123
+ export { Plugin7, exports_tool_input_repair };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,25 +1,25 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./model-rhjbct0v.js";
6
+ } from "./location-service-map-eaj1djv9.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
10
10
  namespaceLine2
11
- } from "./model-3fc6dm20.js";
11
+ } from "./location-service-map-3fc6dm20.js";
12
12
  import {
13
13
  __export
14
- } from "./model-9rqn6x4v.js";
14
+ } from "./location-service-map-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions2 = {};
18
- __export(exports_instructions2, {
19
- CodeModeInstructions: () => exports_instructions2,
20
- make: () => make14,
17
+ var exports_instructions3 = {};
18
+ __export(exports_instructions3, {
19
+ CodeModeInstructions: () => exports_instructions3,
20
+ make: () => make13,
21
21
  render: () => render2,
22
- update: () => update2
22
+ update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
25
25
  import { Effect, Schema } from "effect";
@@ -45,7 +45,7 @@ function render2(catalog) {
45
45
  ${tools.join(`
46
46
  `)}`;
47
47
  }
48
- function update2(previous, current) {
48
+ function update3(previous, current) {
49
49
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
50
50
 
51
51
  ${render2(current)}`;
@@ -111,20 +111,20 @@ ${render2(current)}`;
111
111
  return delta;
112
112
  return replacement;
113
113
  }
114
- var key = Key3.make("core/codemode");
114
+ var key = Key4.make("core/codemode");
115
115
  var codec = Schema.toCodecJson(Summary2);
116
- var make14 = (inventory) => {
116
+ var make13 = (inventory) => {
117
117
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
118
- return make20({
118
+ return make21({
119
119
  key,
120
120
  codec,
121
121
  read: Effect.succeed(catalog),
122
122
  render: {
123
123
  initial: render2,
124
- changed: update2,
124
+ changed: update3,
125
125
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
126
126
  }
127
127
  });
128
128
  };
129
129
 
130
- export { render2, update2, make14, exports_instructions2 };
130
+ export { render2, update3, make13, exports_instructions3 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-dpbk6b42.js";
4
+ } from "./location-service-map-m012ar2z.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./model-kqx275ez.js";
8
+ } from "./location-service-map-htx28xdf.js";
9
9
  import {
10
- Service39,
11
- node41
12
- } from "./model-d1mtykxg.js";
10
+ Service38,
11
+ node40
12
+ } from "./location-service-map-p7a39gy5.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./model-922hggd3.js";
16
+ } from "./location-service-map-922hggd3.js";
17
17
  import {
18
- Service80,
19
- node84
20
- } from "./model-m51ka6xh.js";
18
+ Service79,
19
+ node83
20
+ } from "./location-service-map-78tqsgcn.js";
21
21
  import {
22
22
  Ref4
23
- } from "./model-r6mmreqb.js";
23
+ } from "./location-service-map-dy5qaydb.js";
24
24
  import {
25
- Service40,
26
- node42
27
- } from "./model-8sak357k.js";
25
+ Service68,
26
+ node71
27
+ } from "./location-service-map-r3fe1xjf.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./model-gftt206x.js";
30
+ } from "./location-service-map-gftt206x.js";
31
31
  import {
32
- NotFoundError8
33
- } from "./model-2e96adxv.js";
32
+ NotFoundError9
33
+ } from "./location-service-map-jemfgm91.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./model-ec1grn59.js";
36
+ } from "./location-service-map-ec1grn59.js";
37
37
  import {
38
38
  Service36
39
- } from "./model-ddt2bs9e.js";
39
+ } from "./location-service-map-ddt2bs9e.js";
40
40
  import {
41
- Service65,
42
- node68
43
- } from "./model-p3psqptm.js";
41
+ Service73,
42
+ node77
43
+ } from "./location-service-map-jqx27dm3.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
47
  Service37,
48
48
  node39,
49
49
  moveIDs2
50
- } from "./model-scm34zbb.js";
50
+ } from "./location-service-map-s7rj0mx9.js";
51
51
  import {
52
52
  Service35,
53
53
  node38
54
- } from "./model-1mywsabn.js";
54
+ } from "./location-service-map-p5qkcp8b.js";
55
55
  import {
56
- node31
57
- } from "./model-qw90jq9z.js";
56
+ node25
57
+ } from "./location-service-map-pfca1pfz.js";
58
58
  import {
59
59
  __export
60
- } from "./model-9rqn6x4v.js";
60
+ } from "./location-service-map-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service27,
68
+ Service: () => Service21,
69
69
  SessionMove: () => exports_move,
70
- node: () => node30
70
+ node: () => node24
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service27 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service21 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service27, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service80;
92
- const locations = yield* Service40;
93
- const store = yield* Service65;
91
+ const projects = yield* Service79;
92
+ const locations = yield* Service68;
93
+ const store = yield* Service73;
94
94
  const execution = yield* Service35;
95
- const instances = yield* Service39;
95
+ const instances = yield* Service38;
96
96
  const admission = yield* Service37;
97
97
  const database = yield* Service83;
98
98
  const bus = yield* Service82;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError8({ sessionID });
102
+ return yield* new NotFoundError9({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
133
133
  return true;
134
134
  return yield* Service36.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service27.of({
136
+ return Service21.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node30 = makeGlobalNode({
167
- service: Service27,
166
+ var node24 = makeGlobalNode({
167
+ service: Service21,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node84,
173
- node42,
174
- node68,
172
+ node83,
173
+ node71,
174
+ node77,
175
175
  node38,
176
- node41,
176
+ node40,
177
177
  node39,
178
178
  node87,
179
179
  node86,
180
- node31
180
+ node25
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node30, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-dpbk6b42.js";
4
+ } from "./location-service-map-m012ar2z.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./model-kqx275ez.js";
8
+ } from "./location-service-map-htx28xdf.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./model-5t3nmthw.js";
11
+ } from "./location-service-map-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-ec1grn59.js";
14
+ } from "./location-service-map-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./model-06dxphr1.js";
20
+ } from "./location-service-map-paegk39x.js";
21
21
  import {
22
22
  load5
23
- } from "./model-dsvzr21z.js";
23
+ } from "./location-service-map-gp68ydnh.js";
24
24
  import {
25
25
  create3
26
- } from "./model-rdw6cm16.js";
26
+ } from "./location-service-map-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./model-bz85s9hh.js";
29
+ } from "./location-service-map-tcg29b4q.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./model-trrw5nej.js";
34
+ } from "./location-service-map-5wrvcd50.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./model-33ewhzb2.js";
37
+ } from "./location-service-map-eewwnnjm.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./model-5nxq8qj2.js";
41
+ } from "./location-service-map-y38r0g18.js";
42
42
  import {
43
43
  estimate2
44
- } from "./model-h6vf3j39.js";
44
+ } from "./location-service-map-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./model-tdstcens.js";
49
+ } from "./location-service-map-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./model-9rqn6x4v.js";
52
+ } from "./location-service-map-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service11,
57
+ Service: () => Service12,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer7,
62
- node: () => node13,
62
+ node: () => node14,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service11 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service12 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer7 = Layer.effect(Service11, Effect.gen(function* () {
301
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
302
302
  const bus = yield* Service82;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service83).db;
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service11.of({
609
+ return Service12.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node13 = makeLocationNode({
619
- service: Service11,
618
+ var node14 = makeLocationNode({
619
+ service: Service12,
620
620
  layer: layer7,
621
621
  deps: [node86, node87, llmClient2]
622
622
  });
623
623
 
624
- export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction3 };
624
+ export { Service12, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node14, exports_compaction3 };