@opencode/core 0.0.0-dev-21324 → 0.0.0-dev-21327

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{aisdk-cnzcdzg3.js → location-services-05vrbjpd.js} +18 -18
  8. package/dist/chunks/{aisdk-6g56tt84.js → location-services-0bckxdhn.js} +17 -17
  9. package/dist/chunks/{aisdk-40rwdhm3.js → location-services-0fzv5sa6.js} +20 -20
  10. package/dist/chunks/{aisdk-ezztc0y5.js → location-services-0hkrfhh8.js} +45 -45
  11. package/dist/chunks/{aisdk-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{aisdk-jmt4g3es.js → location-services-120canqn.js} +6 -6
  13. package/dist/chunks/{aisdk-f1xs821d.js → location-services-1468jth2.js} +15 -15
  14. package/dist/chunks/{aisdk-7p20k8kk.js → location-services-14v2mpx3.js} +91 -91
  15. package/dist/chunks/{aisdk-k18zvgt1.js → location-services-19fcc8g5.js} +8 -8
  16. package/dist/chunks/{aisdk-9sgsjpgv.js → location-services-1cz5vd6m.js} +7 -7
  17. package/dist/chunks/{aisdk-056d99rx.js → location-services-1k7heb6s.js} +15 -15
  18. package/dist/chunks/{aisdk-fwsyqh4k.js → location-services-1n3g3nm2.js} +16 -16
  19. package/dist/chunks/{aisdk-gnsda3cn.js → location-services-1p295dse.js} +19 -19
  20. package/dist/chunks/{aisdk-en3czrfr.js → location-services-1t7yake1.js} +21 -21
  21. package/dist/chunks/{aisdk-mwd75yrz.js → location-services-1tfkkk8z.js} +11 -11
  22. package/dist/chunks/{aisdk-fe0218cq.js → location-services-236vqjbe.js} +24 -24
  23. package/dist/chunks/{aisdk-zq9002ca.js → location-services-24ndf32s.js} +26 -26
  24. package/dist/chunks/{aisdk-cdvss074.js → location-services-2hj7dgpm.js} +9 -9
  25. package/dist/chunks/{aisdk-jtn8fkbr.js → location-services-2kw39ck7.js} +5 -5
  26. package/dist/chunks/{aisdk-r3kscm1n.js → location-services-2n4bcx2n.js} +20 -20
  27. package/dist/chunks/{aisdk-djkg3n3d.js → location-services-2yz3skkc.js} +18 -18
  28. package/dist/chunks/{aisdk-25yddszk.js → location-services-395q6j9z.js} +6 -6
  29. package/dist/chunks/location-services-3dn3j60f.js +26 -0
  30. package/dist/chunks/{aisdk-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{aisdk-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{aisdk-dhb2hta4.js → location-services-3n40wvxh.js} +5 -5
  33. package/dist/chunks/{aisdk-4ttbfvsw.js → location-services-3p1jsd9a.js} +88 -88
  34. package/dist/chunks/{aisdk-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{aisdk-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{aisdk-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{aisdk-taz8ab55.js → location-services-3zvermw0.js} +7 -7
  38. package/dist/chunks/{aisdk-zabp4rd0.js → location-services-407dbw0p.js} +3 -3
  39. package/dist/chunks/{aisdk-w3g6mcc0.js → location-services-47z6rga7.js} +22 -22
  40. package/dist/chunks/{aisdk-gx24va27.js → location-services-4a24ra19.js} +10 -10
  41. package/dist/chunks/{aisdk-jwmjf2jk.js → location-services-4ap7vkm6.js} +43 -43
  42. package/dist/chunks/{aisdk-7j2qha59.js → location-services-4c2df9zx.js} +8 -8
  43. package/dist/chunks/{aisdk-fkf14f6t.js → location-services-4h2zqxk4.js} +8 -8
  44. package/dist/chunks/{aisdk-56z46vh2.js → location-services-4xc83dq9.js} +5 -5
  45. package/dist/chunks/{aisdk-h08rwe1z.js → location-services-4zdtnvnf.js} +13 -13
  46. package/dist/chunks/{aisdk-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  47. package/dist/chunks/{aisdk-yf5e9rkv.js → location-services-5c34nnkn.js} +3 -3
  48. package/dist/chunks/{aisdk-6kxcmnfb.js → location-services-5gs82an1.js} +32 -32
  49. package/dist/chunks/{aisdk-39e7ax7r.js → location-services-5jb9xrt6.js} +8 -8
  50. package/dist/chunks/{aisdk-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  51. package/dist/chunks/location-services-619r8v3y.js +18 -0
  52. package/dist/chunks/{aisdk-6827pfxn.js → location-services-6827pfxn.js} +1 -1
  53. package/dist/chunks/{aisdk-4nrgyf0s.js → location-services-6a20fkbr.js} +18 -18
  54. package/dist/chunks/{aisdk-sxz6gkc3.js → location-services-6hh8tjw2.js} +5 -5
  55. package/dist/chunks/{aisdk-7rvv22n1.js → location-services-6kn5fnc5.js} +9 -9
  56. package/dist/chunks/{aisdk-bcqtfwds.js → location-services-6q04wm97.js} +50 -50
  57. package/dist/chunks/{aisdk-n6ez5m6f.js → location-services-6q3b6bjm.js} +28 -28
  58. package/dist/chunks/{aisdk-vmbbdnnp.js → location-services-6whcq1fq.js} +4 -4
  59. package/dist/chunks/{aisdk-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{aisdk-sj4zqd76.js → location-services-715fz9ra.js} +9 -9
  61. package/dist/chunks/{aisdk-f2n192rq.js → location-services-76p14g35.js} +5 -15
  62. package/dist/chunks/{aisdk-775gj3j1.js → location-services-775gj3j1.js} +2 -2
  63. package/dist/chunks/{aisdk-tkc1dt97.js → location-services-7b1m0q4z.js} +11 -11
  64. package/dist/chunks/{aisdk-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{aisdk-mb7tgq19.js → location-services-7nrbmt0g.js} +13 -13
  66. package/dist/chunks/{aisdk-936td50e.js → location-services-7rn07pqm.js} +17 -17
  67. package/dist/chunks/{aisdk-py4bf79r.js → location-services-7ytf93vt.js} +18 -18
  68. package/dist/chunks/{aisdk-84txncab.js → location-services-84txncab.js} +1 -1
  69. package/dist/chunks/{aisdk-cbged2qp.js → location-services-8m1xb0y2.js} +188 -188
  70. package/dist/chunks/{aisdk-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
  71. package/dist/chunks/{aisdk-8mywswrd.js → location-services-8mywswrd.js} +1 -1
  72. package/dist/chunks/{aisdk-anfqncwb.js → location-services-8rez25b9.js} +4 -4
  73. package/dist/chunks/{aisdk-rkprpv83.js → location-services-8sze2n9a.js} +6 -6
  74. package/dist/chunks/{aisdk-1pg55zv1.js → location-services-8tp1g3x5.js} +15 -15
  75. package/dist/chunks/{aisdk-d3k8nhh8.js → location-services-9897cwd1.js} +22 -22
  76. package/dist/chunks/{aisdk-780eb7ey.js → location-services-9da2gmc9.js} +15 -15
  77. package/dist/chunks/{aisdk-w5yqftge.js → location-services-9gea571p.js} +6 -6
  78. package/dist/chunks/{aisdk-c4ngjp15.js → location-services-9gvj1t03.js} +24 -24
  79. package/dist/chunks/{aisdk-9hwaqfsw.js → location-services-9hwaqfsw.js} +2 -2
  80. package/dist/chunks/{aisdk-60qzgww1.js → location-services-9t3kk5sf.js} +8 -8
  81. package/dist/chunks/{aisdk-89342957.js → location-services-9x1189rx.js} +12 -12
  82. package/dist/chunks/{aisdk-fhcmdyq1.js → location-services-9yfmw94a.js} +33 -33
  83. package/dist/chunks/{aisdk-3smz0h1x.js → location-services-a1md0fae.js} +15 -15
  84. package/dist/chunks/{aisdk-a20pjse5.js → location-services-a20pjse5.js} +3 -3
  85. package/dist/chunks/{aisdk-nv1y27w1.js → location-services-a66tszk0.js} +11 -11
  86. package/dist/chunks/{aisdk-982r6ak3.js → location-services-a67t462c.js} +11 -11
  87. package/dist/chunks/{aisdk-277eer69.js → location-services-a89e0tac.js} +4 -4
  88. package/dist/chunks/{aisdk-he90334m.js → location-services-a9vndfjb.js} +1 -1
  89. package/dist/chunks/{aisdk-jphyq3c9.js → location-services-abpcsv2g.js} +19 -19
  90. package/dist/chunks/{aisdk-bb1bdzfz.js → location-services-arg7k0rm.js} +41 -41
  91. package/dist/chunks/{aisdk-1wk2y6dw.js → location-services-ay8yb9a7.js} +29 -29
  92. package/dist/chunks/{aisdk-addxnjmp.js → location-services-azwe5p1w.js} +4 -4
  93. package/dist/chunks/{aisdk-bq7px1h6.js → location-services-b19rn14h.js} +32 -32
  94. package/dist/chunks/{aisdk-pc28xrpv.js → location-services-b8e27wfc.js} +14 -14
  95. package/dist/chunks/{aisdk-fdarrw0r.js → location-services-b95m0dfq.js} +28 -28
  96. package/dist/chunks/{aisdk-zrb2xrrk.js → location-services-bfks4bz3.js} +25 -25
  97. package/dist/chunks/{aisdk-p6565xch.js → location-services-bjk25w1p.js} +13 -13
  98. package/dist/chunks/{aisdk-bzeyqsqd.js → location-services-bzeyqsqd.js} +1 -1
  99. package/dist/chunks/{aisdk-jzjmtnfy.js → location-services-c1w3zdf4.js} +20 -20
  100. package/dist/chunks/{aisdk-r8cn72x5.js → location-services-c3j0a1zw.js} +47 -47
  101. package/dist/chunks/{aisdk-rj3eygr5.js → location-services-c41wscbt.js} +2 -2
  102. package/dist/chunks/{aisdk-6gwr451s.js → location-services-c87b2cm1.js} +30 -30
  103. package/dist/chunks/{aisdk-sa8ekw3f.js → location-services-c8ax2afj.js} +2 -2
  104. package/dist/chunks/{aisdk-9axd8ffr.js → location-services-cdsvj98t.js} +12 -12
  105. package/dist/chunks/{aisdk-pwzfss56.js → location-services-cejp4z28.js} +23 -23
  106. package/dist/chunks/{aisdk-tdc0jx11.js → location-services-cftbmsjt.js} +32 -32
  107. package/dist/chunks/{aisdk-jds9g6c9.js → location-services-ckrv9rtn.js} +6 -6
  108. package/dist/chunks/{aisdk-djszqvmq.js → location-services-d4he2qe1.js} +9 -9
  109. package/dist/chunks/{aisdk-62zvm31z.js → location-services-dd6ths3b.js} +33 -33
  110. package/dist/chunks/{aisdk-8j2p51rp.js → location-services-ddz31ytd.js} +6 -6
  111. package/dist/chunks/{aisdk-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  112. package/dist/chunks/{aisdk-7zkbhs7g.js → location-services-dt9n2fs7.js} +11 -11
  113. package/dist/chunks/{aisdk-m9mvnc4r.js → location-services-dtbwtpff.js} +10 -10
  114. package/dist/chunks/{aisdk-32f4e43b.js → location-services-dwkd17za.js} +8 -8
  115. package/dist/chunks/{aisdk-etb936cy.js → location-services-e0aycr6x.js} +19 -19
  116. package/dist/chunks/{aisdk-ttqh24zm.js → location-services-e2hjzebn.js} +4 -4
  117. package/dist/chunks/{aisdk-64v2dhyn.js → location-services-e5r5nn1p.js} +9 -9
  118. package/dist/chunks/location-services-e6mk0ntt.js +517 -0
  119. package/dist/chunks/{aisdk-r2z489rp.js → location-services-e80seqcp.js} +3 -3
  120. package/dist/chunks/{aisdk-eaj1djv9.js → location-services-eaj1djv9.js} +1 -1
  121. package/dist/chunks/{aisdk-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{aisdk-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{aisdk-5r7c8608.js → location-services-efpcgx8s.js} +11 -11
  124. package/dist/chunks/{aisdk-6y6m1db0.js → location-services-eq424ej9.js} +27 -27
  125. package/dist/chunks/{aisdk-c1fqxshp.js → location-services-es1vcfrp.js} +3 -3
  126. package/dist/chunks/{aisdk-ssc23rd5.js → location-services-esqdnvjp.js} +12 -12
  127. package/dist/chunks/{aisdk-fms46r5q.js → location-services-evpqvz2q.js} +14 -14
  128. package/dist/chunks/{aisdk-j50aspkt.js → location-services-f1f82w9c.js} +12 -12
  129. package/dist/chunks/{aisdk-q8x523z1.js → location-services-f2mp2skp.js} +6 -6
  130. package/dist/chunks/{aisdk-ys8z7b8e.js → location-services-f5gnwvd0.js} +25 -25
  131. package/dist/chunks/{aisdk-qgn6gcr1.js → location-services-fcrkznn8.js} +5 -5
  132. package/dist/chunks/{aisdk-fcy631f0.js → location-services-fcy631f0.js} +1 -1
  133. package/dist/chunks/{aisdk-e75q9ks7.js → location-services-femnmy69.js} +34 -34
  134. package/dist/chunks/{aisdk-k7qyzj90.js → location-services-fkh80sr4.js} +16 -16
  135. package/dist/chunks/{aisdk-p1ckhtk6.js → location-services-fpfnw1q7.js} +33 -33
  136. package/dist/chunks/{aisdk-wy0wjjws.js → location-services-ftrgem1b.js} +4 -4
  137. package/dist/chunks/{aisdk-t6x5qaf3.js → location-services-fvaedygc.js} +24 -24
  138. package/dist/chunks/{aisdk-mv3sjw3a.js → location-services-fw6ztw8z.js} +28 -28
  139. package/dist/chunks/{aisdk-depwzj9d.js → location-services-fwwk8vbp.js} +9 -9
  140. package/dist/chunks/{aisdk-p8a3kt25.js → location-services-g3q73zyv.js} +5 -5
  141. package/dist/chunks/{aisdk-rspw6ztp.js → location-services-g3w0eaeg.js} +2 -2
  142. package/dist/chunks/{aisdk-pbd9p82f.js → location-services-g71www4e.js} +34 -34
  143. package/dist/chunks/{aisdk-p8tn15b5.js → location-services-gce7byvs.js} +5 -5
  144. package/dist/chunks/{aisdk-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{aisdk-y5ac8wb2.js → location-services-gph3bgda.js} +7 -7
  146. package/dist/chunks/{aisdk-c6xgtk77.js → location-services-gv8e04jq.js} +34 -34
  147. package/dist/chunks/{aisdk-396dw5cn.js → location-services-gz42j0qk.js} +23 -23
  148. package/dist/chunks/{aisdk-21cgkpgk.js → location-services-h5rymnnr.js} +19 -19
  149. package/dist/chunks/{aisdk-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{aisdk-0v8x6p8x.js → location-services-he71j8j5.js} +16 -16
  151. package/dist/chunks/{aisdk-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
  152. package/dist/chunks/{aisdk-5mmmpc4a.js → location-services-htn30amb.js} +16 -16
  153. package/dist/chunks/{aisdk-qk1a4acp.js → location-services-htqzgxkz.js} +27 -27
  154. package/dist/chunks/{aisdk-v6zs622x.js → location-services-j8953mcy.js} +4 -4
  155. package/dist/chunks/{aisdk-gcam0d1y.js → location-services-jh28hxeq.js} +8 -8
  156. package/dist/chunks/{aisdk-jd5msw35.js → location-services-jhf75tj1.js} +35 -35
  157. package/dist/chunks/{aisdk-kb5pvcwp.js → location-services-jjdtyz9q.js} +13 -13
  158. package/dist/chunks/{aisdk-k99h67nd.js → location-services-jkcga9ra.js} +29 -29
  159. package/dist/chunks/location-services-jsbjq7se.js +257 -0
  160. package/dist/chunks/{aisdk-a5z4q8xw.js → location-services-jvg4w983.js} +22 -22
  161. package/dist/chunks/{aisdk-44ak30pa.js → location-services-k0a3z2qz.js} +4 -4
  162. package/dist/chunks/{aisdk-5zmrz0b0.js → location-services-k2xjg9r7.js} +11 -11
  163. package/dist/chunks/{aisdk-fxaymqdw.js → location-services-khmqacep.js} +4 -4
  164. package/dist/chunks/{aisdk-wh6zw745.js → location-services-kjdm35cs.js} +5 -5
  165. package/dist/chunks/{aisdk-dnhgzxjw.js → location-services-kmgtaefj.js} +35 -35
  166. package/dist/chunks/{aisdk-7azf985a.js → location-services-kt33j3pd.js} +22 -22
  167. package/dist/chunks/{aisdk-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
  168. package/dist/chunks/{aisdk-kwjm7zv1.js → location-services-m0gv95n6.js} +45 -45
  169. package/dist/chunks/{aisdk-gy8c6kfk.js → location-services-m19pkby1.js} +58 -58
  170. package/dist/chunks/{aisdk-ztp261xd.js → location-services-m48mbdfe.js} +14 -14
  171. package/dist/chunks/{aisdk-1syts2m9.js → location-services-m7kg52ne.js} +17 -17
  172. package/dist/chunks/{aisdk-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/{aisdk-maspj1v3.js → location-services-maspj1v3.js} +1 -1
  174. package/dist/chunks/{aisdk-v1bzczhr.js → location-services-mem1950j.js} +9 -9
  175. package/dist/chunks/{aisdk-f0k3pvmx.js → location-services-mmwf2vn7.js} +24 -24
  176. package/dist/chunks/{aisdk-x5tm040t.js → location-services-n3rpngyn.js} +25 -25
  177. package/dist/chunks/{aisdk-p93753sc.js → location-services-n3v37e0e.js} +23 -23
  178. package/dist/chunks/{aisdk-4vmnwshs.js → location-services-na2d2yza.js} +4 -4
  179. package/dist/chunks/{aisdk-1pkx2pwy.js → location-services-ndzw72bf.js} +50 -50
  180. package/dist/chunks/{aisdk-7jsv9w5x.js → location-services-nhd25jm2.js} +7 -7
  181. package/dist/chunks/{aisdk-n61013np.js → location-services-nnx4n5pg.js} +8 -8
  182. package/dist/chunks/{aisdk-d2xcp0g9.js → location-services-nsarv18d.js} +5 -5
  183. package/dist/chunks/{aisdk-da9abyxd.js → location-services-nt5b7deb.js} +18 -18
  184. package/dist/chunks/{aisdk-xyh9mp2t.js → location-services-nyysptvf.js} +28 -28
  185. package/dist/chunks/{aisdk-p06yjkdd.js → location-services-p06yjkdd.js} +3 -3
  186. package/dist/chunks/{aisdk-cmwkp3r5.js → location-services-pa8pe2x7.js} +8 -8
  187. package/dist/chunks/{aisdk-0wnhc6t5.js → location-services-pddqmh0s.js} +6 -6
  188. package/dist/chunks/{aisdk-fnfyz0zn.js → location-services-pgy08jxz.js} +9 -9
  189. package/dist/chunks/{aisdk-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{aisdk-pknna89w.js → location-services-pknna89w.js} +1 -1
  191. package/dist/chunks/{aisdk-5y5d0hy9.js → location-services-pmc13vdj.js} +43 -43
  192. package/dist/chunks/{aisdk-k4qv8byp.js → location-services-pn7nfh9z.js} +11 -11
  193. package/dist/chunks/{aisdk-pqhrbekt.js → location-services-pnrj3g4m.js} +46 -46
  194. package/dist/chunks/{aisdk-h0vnctsm.js → location-services-pqdqbg0a.js} +13 -13
  195. package/dist/chunks/{aisdk-1bpek4ns.js → location-services-pwvwa7tm.js} +1 -1
  196. package/dist/chunks/{aisdk-dzxqpf8v.js → location-services-q2wpwd1q.js} +8 -8
  197. package/dist/chunks/{aisdk-a5dfv94n.js → location-services-q57gstmg.js} +26 -26
  198. package/dist/chunks/{aisdk-6z551tr8.js → location-services-qcmh19j6.js} +6 -6
  199. package/dist/chunks/{aisdk-nkjv9872.js → location-services-qhdbhx6b.js} +40 -40
  200. package/dist/chunks/{aisdk-ezyfgyp4.js → location-services-qn8xcv6d.js} +5 -5
  201. package/dist/chunks/{aisdk-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{aisdk-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  203. package/dist/chunks/{aisdk-w86a2sjx.js → location-services-qvgn3qed.js} +14 -14
  204. package/dist/chunks/{aisdk-7pt0f378.js → location-services-qw3mwbaq.js} +5 -5
  205. package/dist/chunks/{aisdk-42q20knj.js → location-services-r9g4q422.js} +2 -2
  206. package/dist/chunks/{aisdk-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{aisdk-zyfcs08x.js → location-services-rgpjkcg1.js} +14 -14
  208. package/dist/chunks/{aisdk-2gn8x791.js → location-services-rh2qk5gw.js} +5 -5
  209. package/dist/chunks/{aisdk-ctwznnqj.js → location-services-rrejsa25.js} +4 -4
  210. package/dist/chunks/{aisdk-2mtw4739.js → location-services-rsbsn9a9.js} +18 -18
  211. package/dist/chunks/{aisdk-kvafxj4x.js → location-services-rxcc1h6d.js} +15 -15
  212. package/dist/chunks/{aisdk-dak8fsqp.js → location-services-sfew0n52.js} +30 -30
  213. package/dist/chunks/{aisdk-2vrh575f.js → location-services-sh92vnvp.js} +18 -18
  214. package/dist/chunks/{aisdk-d11crm59.js → location-services-sm06z12z.js} +35 -35
  215. package/dist/chunks/{aisdk-9kkyv4q2.js → location-services-sygnm33v.js} +13 -13
  216. package/dist/chunks/{aisdk-gfhhve88.js → location-services-sykc9y4a.js} +5 -5
  217. package/dist/chunks/{aisdk-syv4x271.js → location-services-syv4x271.js} +1 -1
  218. package/dist/chunks/{aisdk-1cr8jbb5.js → location-services-sznqrxer.js} +1 -1
  219. package/dist/chunks/{aisdk-3ss3n9f3.js → location-services-tanayhyb.js} +15 -15
  220. package/dist/chunks/{aisdk-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{aisdk-fnrbd9jj.js → location-services-tc0m6ret.js} +30 -30
  222. package/dist/chunks/{aisdk-m2hjyvdx.js → location-services-tc11merm.js} +10 -10
  223. package/dist/chunks/{aisdk-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  224. package/dist/chunks/{aisdk-tdstcens.js → location-services-tdstcens.js} +1 -1
  225. package/dist/chunks/{aisdk-rert0e01.js → location-services-tkb22qbm.js} +2 -2
  226. package/dist/chunks/{aisdk-dvmqpkeb.js → location-services-tknmgtj2.js} +23 -23
  227. package/dist/chunks/{aisdk-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
  228. package/dist/chunks/{aisdk-wr5tgkas.js → location-services-tteajt19.js} +3 -3
  229. package/dist/chunks/{aisdk-rvf0m9x6.js → location-services-tx9w5tca.js} +8 -8
  230. package/dist/chunks/{aisdk-tyytaxap.js → location-services-tyytaxap.js} +1 -1
  231. package/dist/chunks/{aisdk-41w3aw4y.js → location-services-tzh7nywn.js} +9 -9
  232. package/dist/chunks/{aisdk-v13b12ef.js → location-services-v13b12ef.js} +2 -2
  233. package/dist/chunks/{aisdk-00bmw6dv.js → location-services-v210v162.js} +5 -5
  234. package/dist/chunks/{aisdk-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
  235. package/dist/chunks/{aisdk-s498xgrk.js → location-services-ve7rc23n.js} +5 -5
  236. package/dist/chunks/{aisdk-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  237. package/dist/chunks/{aisdk-75eppkn0.js → location-services-vp8kenv8.js} +4 -4
  238. package/dist/chunks/{aisdk-440hf589.js → location-services-vr0gae1a.js} +26 -26
  239. package/dist/chunks/{aisdk-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{aisdk-0vz1xsh1.js → location-services-w122cve8.js} +9 -9
  241. package/dist/chunks/{aisdk-y54hr7f3.js → location-services-w3nq1sqw.js} +9 -9
  242. package/dist/chunks/{aisdk-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{aisdk-g8me4dm9.js → location-services-w9qn3bve.js} +6 -6
  244. package/dist/chunks/{aisdk-97aeaand.js → location-services-waskdk5r.js} +4 -4
  245. package/dist/chunks/{aisdk-wen6jb9x.js → location-services-wcaj0dbf.js} +18 -16
  246. package/dist/chunks/{aisdk-ycbb7f30.js → location-services-wcnw1vw1.js} +4 -4
  247. package/dist/chunks/{aisdk-wd87259q.js → location-services-wd87259q.js} +1 -1
  248. package/dist/chunks/{aisdk-bjx1sjef.js → location-services-wjr9rjd7.js} +6 -6
  249. package/dist/chunks/{aisdk-eqy3tk16.js → location-services-wkjbzrqs.js} +11 -11
  250. package/dist/chunks/{aisdk-mfp912v4.js → location-services-wrvsrbns.js} +16 -16
  251. package/dist/chunks/{aisdk-9n75maxh.js → location-services-x0yy9gzj.js} +14 -14
  252. package/dist/chunks/{aisdk-qh9ftvky.js → location-services-x30jgrm5.js} +66 -66
  253. package/dist/chunks/{aisdk-ysarqrcq.js → location-services-x3sc03g3.js} +6 -6
  254. package/dist/chunks/{aisdk-43h622c1.js → location-services-x4kb7bna.js} +11 -11
  255. package/dist/chunks/{aisdk-8jj7q8bh.js → location-services-x54wym4j.js} +9 -9
  256. package/dist/chunks/{aisdk-v3g7kk0r.js → location-services-x8jkx94e.js} +5 -5
  257. package/dist/chunks/{aisdk-rr804bvb.js → location-services-x94t2y6k.js} +30 -30
  258. package/dist/chunks/{aisdk-0k01pgta.js → location-services-xc7k2788.js} +37 -37
  259. package/dist/chunks/{aisdk-aymr4dh1.js → location-services-xceybfq0.js} +24 -24
  260. package/dist/chunks/{aisdk-0jc67g57.js → location-services-xdpc3wk0.js} +13 -13
  261. package/dist/chunks/{aisdk-en9pdr26.js → location-services-xf6fnzn0.js} +34 -34
  262. package/dist/chunks/{aisdk-n7shbngr.js → location-services-xf751c4y.js} +13 -13
  263. package/dist/chunks/{aisdk-z2x1thfk.js → location-services-xfchyp9d.js} +51 -51
  264. package/dist/chunks/{aisdk-drwq78ky.js → location-services-xfkkasph.js} +4 -4
  265. package/dist/chunks/{aisdk-y8gq2w7b.js → location-services-xjzqmp2s.js} +55 -55
  266. package/dist/chunks/{aisdk-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{aisdk-jr510039.js → location-services-y3h6n91n.js} +24 -24
  268. package/dist/chunks/{aisdk-kjd40bgk.js → location-services-y7nndgyc.js} +9 -9
  269. package/dist/chunks/{aisdk-b89bbj8v.js → location-services-y8xym19h.js} +25 -25
  270. package/dist/chunks/{aisdk-047q4skb.js → location-services-ybk3dexv.js} +25 -25
  271. package/dist/chunks/{aisdk-0mt6hxw9.js → location-services-yjjxpjc1.js} +25 -25
  272. package/dist/chunks/{aisdk-wh8krjve.js → location-services-ykzr8wnw.js} +29 -29
  273. package/dist/chunks/{aisdk-haf40wny.js → location-services-yrve3h5h.js} +20 -20
  274. package/dist/chunks/{aisdk-2hbz9bv6.js → location-services-yssnk412.js} +2 -2
  275. package/dist/chunks/{aisdk-73q9sqgf.js → location-services-ytcghdxg.js} +42 -42
  276. package/dist/chunks/{aisdk-hdxjxcpe.js → location-services-yz7p0tm3.js} +14 -14
  277. package/dist/chunks/{aisdk-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{aisdk-z18fegx4.js → location-services-z18fegx4.js} +1 -1
  279. package/dist/chunks/{aisdk-aehbxfp0.js → location-services-z62wxppr.js} +35 -35
  280. package/dist/chunks/{aisdk-jekssrtq.js → location-services-z6yetpqf.js} +8 -8
  281. package/dist/chunks/{aisdk-59v9kkpq.js → location-services-zdrf9b2p.js} +30 -30
  282. package/dist/chunks/{aisdk-dr7ky5v1.js → location-services-zg0fcdgt.js} +17 -17
  283. package/dist/chunks/{aisdk-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{aisdk-sjgsw2hk.js → location-services-zx95ftzb.js} +3 -3
  285. package/dist/chunks/{aisdk-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{aisdk-gm21aw58.js → location-services-zzj16cr0.js} +32 -32
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +72 -72
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +94 -94
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +104 -104
  428. package/dist/form.js +78 -78
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +93 -93
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +1 -1
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +148 -148
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +86 -86
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +93 -93
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +113 -113
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +4 -4
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +95 -95
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +120 -120
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +223 -223
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +126 -126
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +95 -95
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/todo.js +136 -136
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/types/job.d.ts +1 -0
  658. package/dist/types/location-activity.d.ts +2 -1
  659. package/dist/types/session/execution.d.ts +2 -5
  660. package/dist/types/session/run-coordinator.d.ts +2 -5
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +94 -94
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +2 -2
  679. package/dist/variant.js +95 -95
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +91 -91
  682. package/dist/voice.js +90 -90
  683. package/dist/websearch.js +86 -86
  684. package/dist/wellknown/plugin.js +76 -76
  685. package/dist/wellknown.js +83 -83
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +82 -82
  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 +91 -91
  693. package/dist/worktree.js +98 -98
  694. package/package.json +8 -8
  695. package/dist/chunks/aisdk-1m1d203r.js +0 -26
  696. package/dist/chunks/aisdk-3kr3psva.js +0 -517
  697. package/dist/chunks/aisdk-9sh4wc5j.js +0 -18
  698. package/dist/chunks/aisdk-cdpy720h.js +0 -257
  699. /package/dist/chunks/{aisdk-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{aisdk-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{aisdk-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{aisdk-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{aisdk-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{aisdk-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{aisdk-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{aisdk-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{aisdk-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{aisdk-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{aisdk-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{aisdk-3asan66x.js → location-services-3asan66x.js} +0 -0
  711. /package/dist/chunks/{aisdk-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  712. /package/dist/chunks/{aisdk-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{aisdk-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{aisdk-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{aisdk-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{aisdk-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{aisdk-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{aisdk-53557ph1.js → location-services-53557ph1.js} +0 -0
  719. /package/dist/chunks/{aisdk-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{aisdk-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{aisdk-6prwharc.js → location-services-6prwharc.js} +0 -0
  722. /package/dist/chunks/{aisdk-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  723. /package/dist/chunks/{aisdk-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{aisdk-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{aisdk-822emrt2.js → location-services-822emrt2.js} +0 -0
  726. /package/dist/chunks/{aisdk-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  727. /package/dist/chunks/{aisdk-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{aisdk-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{aisdk-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{aisdk-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{aisdk-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{aisdk-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{aisdk-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{aisdk-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{aisdk-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{aisdk-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{aisdk-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{aisdk-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{aisdk-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{aisdk-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{aisdk-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{aisdk-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{aisdk-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{aisdk-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{aisdk-df08tz66.js → location-services-df08tz66.js} +0 -0
  746. /package/dist/chunks/{aisdk-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{aisdk-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{aisdk-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{aisdk-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{aisdk-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{aisdk-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{aisdk-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{aisdk-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{aisdk-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{aisdk-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{aisdk-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{aisdk-g86h250q.js → location-services-g86h250q.js} +0 -0
  758. /package/dist/chunks/{aisdk-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{aisdk-gftt206x.js → location-services-gftt206x.js} +0 -0
  760. /package/dist/chunks/{aisdk-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{aisdk-hk9envan.js → location-services-hk9envan.js} +0 -0
  762. /package/dist/chunks/{aisdk-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{aisdk-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{aisdk-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{aisdk-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{aisdk-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{aisdk-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{aisdk-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{aisdk-m18g726c.js → location-services-m18g726c.js} +0 -0
  770. /package/dist/chunks/{aisdk-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{aisdk-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{aisdk-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{aisdk-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{aisdk-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{aisdk-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{aisdk-pyv0edze.js → location-services-pyv0edze.js} +0 -0
  777. /package/dist/chunks/{aisdk-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{aisdk-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{aisdk-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{aisdk-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{aisdk-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{aisdk-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{aisdk-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{aisdk-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{aisdk-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{aisdk-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{aisdk-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  788. /package/dist/chunks/{aisdk-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{aisdk-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{aisdk-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{aisdk-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
  792. /package/dist/chunks/{aisdk-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{aisdk-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{aisdk-x61499pn.js → location-services-x61499pn.js} +0 -0
  795. /package/dist/chunks/{aisdk-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{aisdk-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{aisdk-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{aisdk-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{aisdk-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  800. /package/dist/chunks/{aisdk-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./aisdk-g8me4dm9.js";
4
+ } from "./location-services-w9qn3bve.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./aisdk-y8gq2w7b.js";
8
+ } from "./location-services-xjzqmp2s.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./aisdk-1wk2y6dw.js";
11
+ } from "./location-services-ay8yb9a7.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./aisdk-5y5d0hy9.js";
19
+ } from "./location-services-pmc13vdj.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./aisdk-n7shbngr.js";
23
+ } from "./location-services-xf751c4y.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service48
4
- } from "./aisdk-bcqtfwds.js";
3
+ Service50
4
+ } from "./location-services-6q04wm97.js";
5
5
  import {
6
6
  observe2
7
- } from "./aisdk-qsdy395h.js";
7
+ } from "./location-services-qsdy395h.js";
8
8
  import {
9
- Service60
10
- } from "./aisdk-y8gq2w7b.js";
9
+ Service74
10
+ } from "./location-services-xjzqmp2s.js";
11
11
  import {
12
12
  __export
13
- } from "./aisdk-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/todo.ts
16
16
  var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
- Input: () => Input6,
19
+ Input: () => Input8,
20
20
  Output: () => Output5,
21
- Plugin: () => Plugin41,
21
+ Plugin: () => Plugin45,
22
22
  TodoTool: () => exports_todo,
23
- name: () => name6,
23
+ name: () => name8,
24
24
  summarize: () => summarize2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
@@ -37,14 +37,14 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
37
37
  `;
38
38
 
39
39
  // src/tool/plugin/todo.ts
40
- var name6 = "todowrite";
40
+ var name8 = "todowrite";
41
41
  var Info2 = Schema.Struct({
42
42
  content: Schema.String.annotate({ description: "Brief description of the task" }),
43
43
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
44
44
  description: "Current status of the task: pending, in_progress, completed, cancelled"
45
45
  })
46
46
  });
47
- var Input6 = Schema.Struct({
47
+ var Input8 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
50
  var Output5 = Schema.Struct({
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin41 = {
64
+ var Plugin45 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service48;
68
- const permission = yield* Service60;
67
+ const config = yield* Service50;
68
+ const permission = yield* Service74;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
72
72
  if (!enabled())
73
73
  return;
74
74
  editor.add({
75
- name: name6,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
- input: Input6,
78
+ input: Input8,
79
79
  output: Output5,
80
80
  execute: (input, context) => permission.assert({
81
- action: name6,
81
+ action: name8,
82
82
  resources: ["*"],
83
83
  save: ["*"],
84
84
  sessionID: context.sessionID,
@@ -94,4 +94,4 @@ var Plugin41 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name6, Info2, Input6, Output5, summarize2, Plugin41, exports_todo };
97
+ export { name8, Info2, Input8, Output5, summarize2, Plugin45, exports_todo };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./aisdk-5mmmpc4a.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-services-htn30amb.js";
5
5
  import {
6
6
  create3
7
- } from "./aisdk-rdw6cm16.js";
7
+ } from "./location-services-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./aisdk-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command5 = {};
14
- __export(exports_command5, {
15
- Command: () => exports_command5,
16
- Event: () => Event12,
13
+ var exports_command4 = {};
14
+ __export(exports_command4, {
15
+ Command: () => exports_command4,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info18,
19
- NotFoundError: () => NotFoundError10,
20
- Service: () => Service67,
21
- layer: () => layer24,
22
- node: () => node69
18
+ Info: () => Info9,
19
+ NotFoundError: () => NotFoundError6,
20
+ Service: () => Service44,
21
+ layer: () => layer20,
22
+ node: () => node47
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event12 } from "@opencode/schema/command";
28
- var Info18 = Command.Info;
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
+ var Info9 = Command.Info;
29
29
 
30
- class NotFoundError10 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service67 extends Context.Service()("@opencode/Command") {
42
+ class Service44 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer24 = Layer.effect(Service67, Effect.gen(function* () {
45
- const bus = yield* Service85;
44
+ var layer20 = Layer.effect(Service44, Effect.gen(function* () {
45
+ const bus = yield* Service84;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info18.make({
54
+ const info = (definition) => Info9.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service67.of({
58
+ return Service44.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError10({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node69 = makeLocationNode({
75
- service: Service67,
76
- layer: layer24,
77
- deps: [node89]
74
+ var node47 = makeLocationNode({
75
+ service: Service44,
76
+ layer: layer20,
77
+ deps: [node88]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info18, NotFoundError10, ExecutionError2, Service67, layer24, node69, exports_command5, Event12 };
89
+ export { Info9, NotFoundError6, ExecutionError2, Service44, layer20, node47, exports_command4, Event10 };
@@ -3,15 +3,15 @@ import {
3
3
  removed2,
4
4
  make21,
5
5
  diffByKey2
6
- } from "./aisdk-eaj1djv9.js";
6
+ } from "./location-services-eaj1djv9.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize3,
10
10
  namespaceLine2
11
- } from "./aisdk-z18fegx4.js";
11
+ } from "./location-services-z18fegx4.js";
12
12
  import {
13
13
  __export
14
- } from "./aisdk-9rqn6x4v.js";
14
+ } from "./location-services-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
17
  var exports_instructions2 = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service5,
18
+ var node8 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node7, bound2, exports_instance2 };
32
+ export { Service6, node8, bound2, exports_instance2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./aisdk-aehbxfp0.js";
3
+ } from "./location-services-z62wxppr.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./aisdk-e75q9ks7.js";
6
+ } from "./location-services-femnmy69.js";
7
7
  import {
8
8
  __export
9
- } from "./aisdk-9rqn6x4v.js";
9
+ } from "./location-services-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: () => resolve4,
15
+ resolve: () => resolve2,
16
16
  supports: () => supports2
17
17
  });
18
18
  function supports2(reasoning) {
@@ -24,7 +24,7 @@ function supports2(reasoning) {
24
24
  ...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
25
25
  ];
26
26
  }
27
- function resolve4(model, supports = [{ type: "effort" }]) {
27
+ function resolve2(model, supports = [{ type: "effort" }]) {
28
28
  const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
29
29
  if (!protocol)
30
30
  return [];
@@ -584,4 +584,4 @@ var PROTOCOLS = {
584
584
  [aisdk2("gitlab-ai-provider")]: gitlab
585
585
  };
586
586
 
587
- export { supports2, resolve4, exports_variant };
587
+ export { supports2, resolve2, exports_variant };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service79
3
- } from "./aisdk-py4bf79r.js";
3
+ } from "./location-services-7ytf93vt.js";
4
4
  import {
5
- Service60
6
- } from "./aisdk-y8gq2w7b.js";
5
+ Service74
6
+ } from "./location-services-xjzqmp2s.js";
7
7
  import {
8
8
  __export
9
- } from "./aisdk-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input15,
16
16
  Output: () => Output10,
17
17
  Plugin: () => Plugin51,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input15 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output10 = Schema.Struct({
@@ -54,12 +54,12 @@ var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
56
  const forms = yield* Service79;
57
- const permission = yield* Service60;
57
+ const permission = yield* Service74;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input15,
63
63
  output: Output10,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
120
+ export { name14, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./aisdk-qfa1cgps.js";
3
+ } from "./location-services-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID14,
3
- Service77,
4
- node81
5
- } from "./aisdk-1wk2y6dw.js";
2
+ ID9,
3
+ Service69,
4
+ node73
5
+ } from "./location-services-ay8yb9a7.js";
6
6
  import {
7
- ID13,
7
+ ID8,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service76,
19
- node80
20
- } from "./aisdk-aehbxfp0.js";
18
+ Service68,
19
+ node72
20
+ } from "./location-services-z62wxppr.js";
21
21
  import {
22
22
  Service66,
23
- node68
24
- } from "./aisdk-7jsv9w5x.js";
23
+ node70
24
+ } from "./location-services-nhd25jm2.js";
25
25
  import {
26
- ID12,
26
+ ID7,
27
27
  VariantID2,
28
28
  Ref2,
29
- Service75,
30
- node79,
29
+ Service67,
30
+ node71,
31
31
  supportsText2
32
- } from "./aisdk-e75q9ks7.js";
32
+ } from "./location-services-femnmy69.js";
33
33
  import {
34
34
  __export
35
- } from "./aisdk-9rqn6x4v.js";
35
+ } from "./location-services-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service58,
44
+ Service: () => Service65,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer23,
52
- node: () => node60,
51
+ layer: () => layer27,
52
+ node: () => node69,
53
53
  resolveModel: () => resolveModel2,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
59
59
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
60
  import { Npm } from "@opencode/util/npm";
61
61
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID13,
63
- modelID: ID12,
62
+ providerID: ID8,
63
+ modelID: ID7,
64
64
  variant: VariantID2
65
65
  }) {
66
66
  get message() {
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
69
  }
70
70
 
71
71
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID13,
73
- modelID: ID12,
72
+ providerID: ID8,
73
+ modelID: ID7,
74
74
  package: Schema.String
75
75
  }) {
76
76
  get message() {
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
80
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
81
 
82
82
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID13,
84
- modelID: ID12,
83
+ providerID: ID8,
84
+ modelID: ID7,
85
85
  package: Schema.String,
86
86
  detail: Schema.String
87
87
  }) {
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
91
  }
92
92
 
93
93
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID13,
95
- modelID: ID12,
94
+ providerID: ID8,
95
+ modelID: ID7,
96
96
  package: Schema.String,
97
97
  phase: InitializationPhase2,
98
98
  detail: Schema.String
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
103
  }
104
104
 
105
105
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID13,
107
- modelID: ID12,
106
+ providerID: ID8,
107
+ modelID: ID7,
108
108
  variables: Schema.Array(Schema.String)
109
109
  }) {
110
110
  get message() {
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
113
  }
114
114
 
115
115
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID13,
117
- modelID: ID12,
116
+ providerID: ID8,
117
+ modelID: ID7,
118
118
  route: Schema.String
119
119
  }) {
120
120
  get message() {
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
122
  }
123
123
  }
124
124
 
125
- class Service58 extends Context.Service()("@opencode/ModelResolver") {
125
+ class Service65 extends Context.Service()("@opencode/ModelResolver") {
126
126
  }
127
127
  var withVariant2 = (model, variantID) => {
128
128
  const id = variantID === "default" ? undefined : variantID;
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
234
  return tokenSettings(specifier, credential.access);
235
235
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
236
  return { auth: "sigv4" };
237
- if (model.providerID === ID13.azure)
237
+ if (model.providerID === ID8.azure)
238
238
  return tokenSettings(specifier, "azure-cli");
239
239
  return {};
240
240
  };
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
269
269
  };
270
270
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
271
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer23 = Layer.effect(Service58, Effect.gen(function* () {
273
- const providers = yield* Service76;
274
- const models = yield* Service75;
275
- const integrations = yield* Service77;
272
+ var layer27 = Layer.effect(Service65, Effect.gen(function* () {
273
+ const providers = yield* Service68;
274
+ const models = yield* Service67;
275
+ const integrations = yield* Service69;
276
276
  const npm = yield* Npm.Service;
277
277
  const aisdk = yield* Service66;
278
278
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
279
279
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
280
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
281
281
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
282
  const selectedVariant = yield* withVariant2(selected, variant);
283
283
  const runtimeInfo = {
@@ -304,7 +304,7 @@ var layer23 = Layer.effect(Service58, Effect.gen(function* () {
304
304
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
305
305
  };
306
306
  });
307
- return Service58.of({
307
+ return Service65.of({
308
308
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
309
309
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
310
310
  if (!selected)
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
321
321
  const name = packageName2(packageName);
322
322
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
323
323
  }
324
- var node60 = makeLocationNode({
325
- service: Service58,
326
- layer: layer23,
327
- deps: [node80, node79, node81, Npm.node, node68]
324
+ var node69 = makeLocationNode({
325
+ service: Service65,
326
+ layer: layer27,
327
+ deps: [node72, node71, node73, Npm.node, node70]
328
328
  });
329
329
 
330
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node60, exports_model_resolver };
330
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service65, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer27, node69, exports_model_resolver };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./aisdk-ysarqrcq.js";
3
+ } from "./location-services-x3sc03g3.js";
4
4
  import {
5
5
  OAuth3,
6
- Service78
7
- } from "./aisdk-fhcmdyq1.js";
6
+ Service70
7
+ } from "./location-services-9yfmw94a.js";
8
8
  import {
9
- ID14,
9
+ ID9,
10
10
  MethodID2
11
- } from "./aisdk-1wk2y6dw.js";
11
+ } from "./location-services-ay8yb9a7.js";
12
12
  import {
13
- ID13,
13
+ ID8,
14
14
  mergeOverlay2
15
- } from "./aisdk-aehbxfp0.js";
15
+ } from "./location-services-z62wxppr.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID13.make("xai");
27
+ var providerID = ID8.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID14.make("xai"),
47
+ integrationID: ID9.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service78;
73
- yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
72
+ const credentials = yield* Service70;
73
+ yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {