@opencode/core 0.0.0-dev-21215 → 0.0.0-dev-21216

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 (793) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{credential-x8ga927e.js → location-service-map-00bmw6dv.js} +9 -9
  8. package/dist/chunks/{credential-1sbg73nq.js → location-service-map-00qfyfqm.js} +40 -40
  9. package/dist/chunks/{credential-54e3wb9v.js → location-service-map-095c3p8e.js} +11 -11
  10. package/dist/chunks/{credential-h532h9cs.js → location-service-map-0rzv0d1j.js} +20 -20
  11. package/dist/chunks/{credential-7w6pf623.js → location-service-map-0sdqqm63.js} +17 -17
  12. package/dist/chunks/{credential-w3x9v1nk.js → location-service-map-0t9wd588.js} +8 -8
  13. package/dist/chunks/{credential-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{credential-gqxmd7mw.js → location-service-map-14cna52h.js} +8 -8
  15. package/dist/chunks/{credential-6r64h49w.js → location-service-map-15tcysxs.js} +27 -27
  16. package/dist/chunks/{credential-jrpbdnyg.js → location-service-map-16nwpa80.js} +8 -8
  17. package/dist/chunks/{credential-1ep4rre3.js → location-service-map-1ep4rre3.js} +1 -1
  18. package/dist/chunks/{credential-ckajj5ea.js → location-service-map-1jxv9sm4.js} +19 -19
  19. package/dist/chunks/{credential-yrcj3v3g.js → location-service-map-1rn5pcm9.js} +4 -4
  20. package/dist/chunks/{credential-fxaymqdw.js → location-service-map-1w2wqhfv.js} +4 -4
  21. package/dist/chunks/{credential-staw5rj3.js → location-service-map-1wpxw0e7.js} +13 -13
  22. package/dist/chunks/{credential-r6762b1f.js → location-service-map-1zrcg07n.js} +4 -4
  23. package/dist/chunks/{credential-6b1s8aqa.js → location-service-map-257jsaav.js} +4 -4
  24. package/dist/chunks/{credential-jrfj64d4.js → location-service-map-2nzy0f4r.js} +21 -21
  25. package/dist/chunks/{credential-6mdt5s3y.js → location-service-map-2q9f7x5m.js} +28 -28
  26. package/dist/chunks/{credential-gzatps39.js → location-service-map-2z5cbw8r.js} +182 -182
  27. package/dist/chunks/{credential-512sb6hd.js → location-service-map-319an1yx.js} +4 -4
  28. package/dist/chunks/{credential-vywkzp4v.js → location-service-map-38m91e7w.js} +11 -11
  29. package/dist/chunks/{credential-d9etbekp.js → location-service-map-38vw8686.js} +42 -42
  30. package/dist/chunks/{credential-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{credential-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{credential-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  33. package/dist/chunks/location-service-map-3n1sasz5.js +257 -0
  34. package/dist/chunks/{credential-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{credential-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{credential-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{credential-cbq5fey3.js → location-service-map-401c2z3y.js} +23 -23
  38. package/dist/chunks/{credential-e8qrt4b5.js → location-service-map-46zntf21.js} +3 -3
  39. package/dist/chunks/{credential-ht59szz0.js → location-service-map-492cpbxd.js} +11 -11
  40. package/dist/chunks/{credential-x9cw3gm2.js → location-service-map-4n2n7a9t.js} +27 -27
  41. package/dist/chunks/{credential-gsb9xmde.js → location-service-map-4p7yzny4.js} +90 -90
  42. package/dist/chunks/{credential-xc7ywzxk.js → location-service-map-4pkavfpm.js} +33 -33
  43. package/dist/chunks/{credential-q5vzdzv7.js → location-service-map-4zt2j45g.js} +35 -35
  44. package/dist/chunks/{credential-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  45. package/dist/chunks/{credential-y2ygvm3z.js → location-service-map-5akner74.js} +18 -18
  46. package/dist/chunks/{credential-61m3evwq.js → location-service-map-5g0ev0pa.js} +24 -24
  47. package/dist/chunks/{credential-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  48. package/dist/chunks/{credential-p6agkp8v.js → location-service-map-65bxtfdb.js} +31 -31
  49. package/dist/chunks/{credential-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
  50. package/dist/chunks/{credential-pnzf6mjf.js → location-service-map-68wqtz75.js} +1 -1
  51. package/dist/chunks/{credential-g69bhtys.js → location-service-map-6fwebebv.js} +14 -14
  52. package/dist/chunks/{credential-vnr1arqv.js → location-service-map-6j2zvqwp.js} +59 -59
  53. package/dist/chunks/{credential-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  54. package/dist/chunks/{credential-fenvdmpd.js → location-service-map-6y5p02bj.js} +19 -19
  55. package/dist/chunks/{credential-g6yfr6ja.js → location-service-map-6yz0wx8n.js} +5 -5
  56. package/dist/chunks/{credential-knbwcmz6.js → location-service-map-74mrr14e.js} +26 -26
  57. package/dist/chunks/{credential-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  58. package/dist/chunks/{credential-h7hsvas8.js → location-service-map-7a5bexz1.js} +46 -46
  59. package/dist/chunks/{credential-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  60. package/dist/chunks/{credential-dw66w2fq.js → location-service-map-7h0xefp6.js} +22 -22
  61. package/dist/chunks/{credential-xy8xnxtw.js → location-service-map-7sk26hzk.js} +26 -26
  62. package/dist/chunks/{credential-d7y2a5kd.js → location-service-map-7t33bypp.js} +36 -36
  63. package/dist/chunks/{credential-vp0bfksy.js → location-service-map-7v7pgz0q.js} +2 -2
  64. package/dist/chunks/{credential-nk85k8h4.js → location-service-map-7xm11bhz.js} +8 -8
  65. package/dist/chunks/{credential-xayeaa42.js → location-service-map-802megp1.js} +11 -11
  66. package/dist/chunks/{credential-4wnpk8s1.js → location-service-map-82g3rv7k.js} +50 -50
  67. package/dist/chunks/{credential-84txncab.js → location-service-map-84txncab.js} +1 -1
  68. package/dist/chunks/{credential-tpwfj9q7.js → location-service-map-8bswjjgp.js} +22 -22
  69. package/dist/chunks/{credential-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  70. package/dist/chunks/{credential-kebpaez3.js → location-service-map-8qam6c2e.js} +2 -2
  71. package/dist/chunks/{credential-wgahhr0x.js → location-service-map-8qh6anns.js} +4 -4
  72. package/dist/chunks/{credential-w5ht28hd.js → location-service-map-8r8tyc1z.js} +48 -48
  73. package/dist/chunks/{credential-6h8f2rna.js → location-service-map-8v47bpy8.js} +9 -9
  74. package/dist/chunks/{credential-j09zfasm.js → location-service-map-91qna3x0.js} +3 -3
  75. package/dist/chunks/{credential-npw39rc8.js → location-service-map-967benbv.js} +11 -11
  76. package/dist/chunks/{credential-sg07zk51.js → location-service-map-98v988rn.js} +35 -35
  77. package/dist/chunks/{credential-9sh4wc5j.js → location-service-map-9sh4wc5j.js} +1 -1
  78. package/dist/chunks/{credential-3w6712nq.js → location-service-map-a4ddqgk4.js} +5 -5
  79. package/dist/chunks/{credential-0f85jzr4.js → location-service-map-a9kfze7j.js} +3 -3
  80. package/dist/chunks/{credential-hy9hen9y.js → location-service-map-actn3e1v.js} +6 -6
  81. package/dist/chunks/{credential-x661k3y3.js → location-service-map-addxnjmp.js} +4 -4
  82. package/dist/chunks/{credential-2cmv458r.js → location-service-map-aeb4sny1.js} +5 -5
  83. package/dist/chunks/{credential-0dyyysyc.js → location-service-map-afqd14vb.js} +14 -14
  84. package/dist/chunks/{credential-w1v47t14.js → location-service-map-anrgehg3.js} +1 -1
  85. package/dist/chunks/{credential-e92nyhhr.js → location-service-map-ashebvbj.js} +53 -53
  86. package/dist/chunks/{credential-xjwyxz4n.js → location-service-map-asy6jfg2.js} +15 -15
  87. package/dist/chunks/{credential-r9w3djhf.js → location-service-map-b0dgvpy7.js} +9 -9
  88. package/dist/chunks/{credential-w5na9dqb.js → location-service-map-b1a3n9tr.js} +18 -18
  89. package/dist/chunks/{credential-m0azfdyz.js → location-service-map-b1bc1nsy.js} +9 -9
  90. package/dist/chunks/{credential-4heb770w.js → location-service-map-b1vae2q2.js} +13 -13
  91. package/dist/chunks/{credential-8a3m53ms.js → location-service-map-b62e5bkf.js} +23 -23
  92. package/dist/chunks/{credential-s0q3ftad.js → location-service-map-b9jt58w9.js} +29 -29
  93. package/dist/chunks/{credential-pmwpe40e.js → location-service-map-bacyadyn.js} +4 -4
  94. package/dist/chunks/{credential-513fjzst.js → location-service-map-bay3p9kr.js} +5 -5
  95. package/dist/chunks/{credential-g0445xdp.js → location-service-map-br0tr5aq.js} +8 -8
  96. package/dist/chunks/{credential-67jerfv6.js → location-service-map-brpnx2vf.js} +72 -72
  97. package/dist/chunks/{credential-3rt8v641.js → location-service-map-bwv6xb1t.js} +6 -6
  98. package/dist/chunks/{credential-9c4mg81w.js → location-service-map-by3kd3tj.js} +11 -11
  99. package/dist/chunks/{credential-krdey6nc.js → location-service-map-bzvm0cnt.js} +6 -6
  100. package/dist/chunks/{credential-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{credential-x74xmnxk.js → location-service-map-c2r6mh48.js} +12 -12
  102. package/dist/chunks/{credential-q4rarndx.js → location-service-map-c2w2dwqd.js} +18 -18
  103. package/dist/chunks/{credential-sfvx59jg.js → location-service-map-c2x08p9n.js} +13 -13
  104. package/dist/chunks/{credential-psmgkcev.js → location-service-map-c78vfxem.js} +15 -15
  105. package/dist/chunks/{credential-ernspkd5.js → location-service-map-c7yx4yaz.js} +5 -5
  106. package/dist/chunks/{credential-ewrq8mh2.js → location-service-map-cefewzay.js} +1 -1
  107. package/dist/chunks/{credential-bbz974h8.js → location-service-map-ctvak0k8.js} +30 -30
  108. package/dist/chunks/{credential-en15c0wn.js → location-service-map-cyw0d0pn.js} +46 -46
  109. package/dist/chunks/{credential-ps2zx4jn.js → location-service-map-cyxa0596.js} +4 -4
  110. package/dist/chunks/{credential-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
  111. package/dist/chunks/{credential-90dfvdtc.js → location-service-map-dbk9zdbm.js} +11 -11
  112. package/dist/chunks/{credential-20jjewhm.js → location-service-map-dgjkn76j.js} +28 -28
  113. package/dist/chunks/{credential-qmqgtz8f.js → location-service-map-djszqvmq.js} +9 -9
  114. package/dist/chunks/{credential-kfj755v5.js → location-service-map-dkfwgap5.js} +48 -48
  115. package/dist/chunks/{credential-hbb7npd7.js → location-service-map-dq407baf.js} +6 -6
  116. package/dist/chunks/{credential-xfkkasph.js → location-service-map-drwq78ky.js} +4 -4
  117. package/dist/chunks/{credential-79yp3gha.js → location-service-map-dw1xgmjd.js} +20 -20
  118. package/dist/chunks/{credential-06nq0k6z.js → location-service-map-e21s3t4k.js} +10 -10
  119. package/dist/chunks/{credential-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
  120. package/dist/chunks/{credential-0pvv1c5q.js → location-service-map-e7c414h7.js} +11 -11
  121. package/dist/chunks/{credential-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{credential-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{credential-zqma82cw.js → location-service-map-efxe2svv.js} +11 -11
  124. package/dist/chunks/{credential-461nxmbv.js → location-service-map-eh6ej367.js} +5 -5
  125. package/dist/chunks/{credential-ttjwvx26.js → location-service-map-etxek9vz.js} +16 -16
  126. package/dist/chunks/{credential-ze2cff16.js → location-service-map-evanb8t7.js} +5 -5
  127. package/dist/chunks/{credential-y5p4ve91.js → location-service-map-f41z7tes.js} +18 -18
  128. package/dist/chunks/{credential-hc0tyw59.js → location-service-map-f4mmq9s0.js} +9 -9
  129. package/dist/chunks/{credential-66w41kd0.js → location-service-map-f4xkwjff.js} +14 -14
  130. package/dist/chunks/{credential-4t7bjcx1.js → location-service-map-fa6rj1v4.js} +23 -23
  131. package/dist/chunks/{credential-tph0s9dr.js → location-service-map-faabf61n.js} +30 -30
  132. package/dist/chunks/{credential-dqbfcr17.js → location-service-map-fbp34syt.js} +12 -12
  133. package/dist/chunks/{credential-7dqw4kz8.js → location-service-map-fcrkznn8.js} +5 -5
  134. package/dist/chunks/{credential-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
  135. package/dist/chunks/{credential-yqncb7ba.js → location-service-map-ffmwyp5t.js} +24 -24
  136. package/dist/chunks/{credential-hzrfc1p4.js → location-service-map-fjs5xx1d.js} +3 -3
  137. package/dist/chunks/{credential-r0969brx.js → location-service-map-fy2hqc1q.js} +4 -4
  138. package/dist/chunks/{credential-tet0x2x5.js → location-service-map-gb8w5kfw.js} +33 -33
  139. package/dist/chunks/{credential-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{credential-93s0933k.js → location-service-map-gjp6hpyv.js} +11 -11
  141. package/dist/chunks/{credential-frvhg24z.js → location-service-map-gma3bfjk.js} +86 -86
  142. package/dist/chunks/{credential-30vr69rm.js → location-service-map-gnsyd8gb.js} +7 -7
  143. package/dist/chunks/{credential-z5crsmww.js → location-service-map-gpk600j1.js} +11 -11
  144. package/dist/chunks/{credential-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  145. package/dist/chunks/{credential-bbfmeh70.js → location-service-map-h94tf0by.js} +29 -29
  146. package/dist/chunks/{credential-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  147. package/dist/chunks/{credential-f79d26hd.js → location-service-map-hje4gfjw.js} +23 -23
  148. package/dist/chunks/{credential-y3btf78e.js → location-service-map-hkxm3e55.js} +26 -26
  149. package/dist/chunks/{credential-ysvnem4g.js → location-service-map-hrkvd0tq.js} +17 -17
  150. package/dist/chunks/{credential-jh7hm8j6.js → location-service-map-hvd586jq.js} +19 -19
  151. package/dist/chunks/{credential-rg17d408.js → location-service-map-hwc678hf.js} +37 -37
  152. package/dist/chunks/{credential-vpc0mzyy.js → location-service-map-j08vtfvn.js} +23 -23
  153. package/dist/chunks/{credential-aj285h1q.js → location-service-map-j6j088kp.js} +5 -5
  154. package/dist/chunks/{credential-89vt8edy.js → location-service-map-j7p9mq2q.js} +4 -4
  155. package/dist/chunks/{credential-5mrcxfar.js → location-service-map-ja3e6986.js} +8 -8
  156. package/dist/chunks/{credential-wwmtcwyt.js → location-service-map-jcsfzc3h.js} +14 -14
  157. package/dist/chunks/{credential-6ywvrrbf.js → location-service-map-jdetxz9w.js} +3 -3
  158. package/dist/chunks/{credential-jkpwzps6.js → location-service-map-jf1cme0s.js} +38 -38
  159. package/dist/chunks/{credential-qa3qhgw8.js → location-service-map-jfqtm2ew.js} +4 -4
  160. package/dist/chunks/{credential-0p78r4x4.js → location-service-map-jr91tx20.js} +10 -10
  161. package/dist/chunks/{credential-jvzc6p6r.js → location-service-map-jx4rf5xp.js} +15 -15
  162. package/dist/chunks/{credential-a10rd6rt.js → location-service-map-jykm66z2.js} +31 -31
  163. package/dist/chunks/{credential-ztkx55p6.js → location-service-map-k3vcvvpp.js} +16 -16
  164. package/dist/chunks/{credential-2v16nk6n.js → location-service-map-k44tkrtw.js} +11 -11
  165. package/dist/chunks/{credential-xeb3evp0.js → location-service-map-k99vhnga.js} +12 -12
  166. package/dist/chunks/{credential-v322raa9.js → location-service-map-khrjt530.js} +11 -11
  167. package/dist/chunks/{credential-sz15zhhw.js → location-service-map-kqv3x6rj.js} +9 -9
  168. package/dist/chunks/{credential-0b5g1ynf.js → location-service-map-kqx1b4hy.js} +4 -4
  169. package/dist/chunks/{credential-csey17fn.js → location-service-map-kvee8qcs.js} +5 -5
  170. package/dist/chunks/{credential-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
  171. package/dist/chunks/{credential-5ej6fcjw.js → location-service-map-kxpjdbte.js} +6 -6
  172. package/dist/chunks/{credential-g7srfa3y.js → location-service-map-m3730y03.js} +11 -11
  173. package/dist/chunks/{credential-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{credential-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  175. package/dist/chunks/{credential-cvfz62vn.js → location-service-map-mbavq1sw.js} +10 -10
  176. package/dist/chunks/{credential-1zyqs4bv.js → location-service-map-mpzm1wag.js} +13 -13
  177. package/dist/chunks/{credential-4r8w9sj8.js → location-service-map-msc3drfx.js} +32 -32
  178. package/dist/chunks/{credential-9y47tcxd.js → location-service-map-ncgn3stp.js} +15 -15
  179. package/dist/chunks/{credential-pcz0vat3.js → location-service-map-nnr6kcyr.js} +5 -5
  180. package/dist/chunks/{credential-6j60vss0.js → location-service-map-nq8h402c.js} +13 -13
  181. package/dist/chunks/{credential-rgnxk938.js → location-service-map-nqfqdwma.js} +7 -7
  182. package/dist/chunks/{credential-srqharbm.js → location-service-map-ntrn937d.js} +46 -46
  183. package/dist/chunks/{credential-xveeyqv2.js → location-service-map-nvf39wwg.js} +23 -23
  184. package/dist/chunks/{credential-cq23epbd.js → location-service-map-p1yrnapr.js} +17 -17
  185. package/dist/chunks/{credential-ccgbtwgc.js → location-service-map-p3a5jp4p.js} +11 -11
  186. package/dist/chunks/{credential-z32c81yc.js → location-service-map-p6an086h.js} +38 -38
  187. package/dist/chunks/{credential-evqws8cg.js → location-service-map-paqqskkb.js} +20 -20
  188. package/dist/chunks/{credential-fjznstmf.js → location-service-map-pbcrbrv8.js} +4 -4
  189. package/dist/chunks/{credential-ctzxj63w.js → location-service-map-pgfzn12n.js} +6 -6
  190. package/dist/chunks/{credential-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{credential-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  192. package/dist/chunks/{credential-6geq063x.js → location-service-map-pmhx9pd7.js} +21 -21
  193. package/dist/chunks/{credential-5qndpx2w.js → location-service-map-pvmwrteb.js} +26 -26
  194. package/dist/chunks/{credential-6jwzgjy8.js → location-service-map-pvsccn8p.js} +9 -9
  195. package/dist/chunks/{credential-fb9h1zpd.js → location-service-map-q14qd18s.js} +17 -17
  196. package/dist/chunks/{credential-s6bezc7p.js → location-service-map-q1cd0t6v.js} +47 -47
  197. package/dist/chunks/{credential-jh272vkw.js → location-service-map-qa2f1ryt.js} +1 -1
  198. package/dist/chunks/{credential-9x5ey5cj.js → location-service-map-qgrkzz0w.js} +8 -8
  199. package/dist/chunks/{credential-weban0cd.js → location-service-map-qgwwyafb.js} +14 -14
  200. package/dist/chunks/{credential-c1k0pwhg.js → location-service-map-qj0s0928.js} +10 -10
  201. package/dist/chunks/{credential-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{credential-j842fqs5.js → location-service-map-qpx9xaxf.js} +16 -16
  203. package/dist/chunks/{credential-c5zn6ab1.js → location-service-map-qr1hhbva.js} +34 -34
  204. package/dist/chunks/{credential-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  205. package/dist/chunks/{credential-s2jpechx.js → location-service-map-qspgnr4y.js} +13 -13
  206. package/dist/chunks/{credential-avxm8t77.js → location-service-map-qtxkw744.js} +35 -35
  207. package/dist/chunks/location-service-map-qwrqcn29.js +26 -0
  208. package/dist/chunks/{credential-y49t6yxk.js → location-service-map-r08fph2t.js} +16 -16
  209. package/dist/chunks/{credential-43vcnrrz.js → location-service-map-r1p7b6yx.js} +8 -8
  210. package/dist/chunks/{credential-ndn5nttk.js → location-service-map-r36qtfr5.js} +9 -9
  211. package/dist/chunks/{credential-ef4r2ry2.js → location-service-map-r587addj.js} +15 -15
  212. package/dist/chunks/{credential-y7nndgyc.js → location-service-map-r70na3yp.js} +9 -9
  213. package/dist/chunks/{credential-5njsp6db.js → location-service-map-rd0jk938.js} +7 -7
  214. package/dist/chunks/{credential-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{credential-rert0e01.js → location-service-map-rert0e01.js} +2 -2
  216. package/dist/chunks/{credential-t550f9t1.js → location-service-map-rhjbct0v.js} +4 -4
  217. package/dist/chunks/{credential-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
  218. package/dist/chunks/{credential-8sze2n9a.js → location-service-map-rkprpv83.js} +6 -6
  219. package/dist/chunks/{credential-6s6qny9t.js → location-service-map-rnkxk3ar.js} +13 -13
  220. package/dist/chunks/{credential-dywbpq8p.js → location-service-map-rp4q3c6k.js} +18 -18
  221. package/dist/chunks/{credential-rnd2wdxm.js → location-service-map-rtwq7srw.js} +5 -5
  222. package/dist/chunks/location-service-map-s4xb95kn.js +513 -0
  223. package/dist/chunks/{credential-yamxdr06.js → location-service-map-s6rp6ys7.js} +3 -3
  224. package/dist/chunks/{credential-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
  225. package/dist/chunks/{credential-4hkcjtf4.js → location-service-map-scvv9sag.js} +13 -13
  226. package/dist/chunks/{credential-5b35b6x0.js → location-service-map-sp0bsdgd.js} +42 -42
  227. package/dist/chunks/{credential-9t102qjt.js → location-service-map-sr624rrs.js} +18 -18
  228. package/dist/chunks/{credential-trq7bz11.js → location-service-map-svxa9yq1.js} +19 -19
  229. package/dist/chunks/{credential-e80seqcp.js → location-service-map-sxcaecc0.js} +3 -3
  230. package/dist/chunks/{credential-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  231. package/dist/chunks/{credential-s1vs6g8m.js → location-service-map-t9aj8749.js} +29 -29
  232. package/dist/chunks/{credential-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{credential-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{credential-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  235. package/dist/chunks/{credential-r2qj04q3.js → location-service-map-tjyx2m6j.js} +17 -17
  236. package/dist/chunks/{credential-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  237. package/dist/chunks/{credential-a79hjy9g.js → location-service-map-tn05n1kc.js} +11 -11
  238. package/dist/chunks/{credential-9hnj8m91.js → location-service-map-tqqea4kp.js} +9 -9
  239. package/dist/chunks/{credential-mhe0g0p5.js → location-service-map-typ4pg8f.js} +13 -13
  240. package/dist/chunks/{credential-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  241. package/dist/chunks/{credential-8e5g1rqf.js → location-service-map-v0xt904d.js} +23 -23
  242. package/dist/chunks/{credential-zet2wr62.js → location-service-map-v62bykzx.js} +34 -34
  243. package/dist/chunks/{credential-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  244. package/dist/chunks/{credential-c0x4bacm.js → location-service-map-vcr8ngmq.js} +14 -14
  245. package/dist/chunks/{credential-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  246. package/dist/chunks/{credential-gmpf7xjb.js → location-service-map-vfz4fb49.js} +28 -28
  247. package/dist/chunks/{credential-nb43gqgm.js → location-service-map-vg8t0wyt.js} +5 -5
  248. package/dist/chunks/{credential-1yamg18a.js → location-service-map-vgyxaaj7.js} +6 -6
  249. package/dist/chunks/{credential-6nfcpfgj.js → location-service-map-vqb1gnvk.js} +5 -5
  250. package/dist/chunks/{credential-2jygy2ed.js → location-service-map-vvbpd8x3.js} +17 -17
  251. package/dist/chunks/{credential-mjbp1h77.js → location-service-map-vwf0wa35.js} +29 -29
  252. package/dist/chunks/{credential-hbd093e1.js → location-service-map-vz80twqk.js} +22 -22
  253. package/dist/chunks/{credential-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{credential-m8cyb89a.js → location-service-map-w0a66m1n.js} +5 -5
  255. package/dist/chunks/{credential-h896pcm5.js → location-service-map-w21bzq9q.js} +6 -6
  256. package/dist/chunks/{credential-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{credential-z6c3x22d.js → location-service-map-wbgabvvj.js} +5 -5
  258. package/dist/chunks/{credential-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  259. package/dist/chunks/{credential-qxe1je4p.js → location-service-map-webap8fv.js} +23 -23
  260. package/dist/chunks/{credential-8w7r8evj.js → location-service-map-wghkg4d6.js} +23 -23
  261. package/dist/chunks/{credential-0cmwrtj6.js → location-service-map-wrf3hj4k.js} +37 -37
  262. package/dist/chunks/{credential-9wahvfne.js → location-service-map-x6712ea5.js} +9 -9
  263. package/dist/chunks/{credential-380xsyfr.js → location-service-map-x8p3fx6c.js} +23 -23
  264. package/dist/chunks/{credential-wjgm3cta.js → location-service-map-x920byc0.js} +29 -29
  265. package/dist/chunks/{credential-yzdsqd8r.js → location-service-map-xmj6grbn.js} +27 -27
  266. package/dist/chunks/{credential-1gy2kdvj.js → location-service-map-xqmar4d6.js} +28 -28
  267. package/dist/chunks/{credential-7wzbnvvj.js → location-service-map-xsqz2y29.js} +21 -21
  268. package/dist/chunks/{credential-yb3yv1n8.js → location-service-map-xw6avn3p.js} +11 -11
  269. package/dist/chunks/{credential-x01h19mw.js → location-service-map-xym13j3g.js} +15 -15
  270. package/dist/chunks/{credential-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{credential-rryqzpf7.js → location-service-map-y1mtycc1.js} +4 -4
  272. package/dist/chunks/{credential-v7z2bvyd.js → location-service-map-y5rf7nzv.js} +4 -4
  273. package/dist/chunks/{credential-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
  274. package/dist/chunks/{credential-bay5n71e.js → location-service-map-yb1p7tk9.js} +17 -17
  275. package/dist/chunks/{credential-tdsb1xpv.js → location-service-map-ydd7j0qf.js} +20 -20
  276. package/dist/chunks/{credential-memnpynf.js → location-service-map-yjhqggcw.js} +43 -43
  277. package/dist/chunks/{credential-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{credential-bjx1sjef.js → location-service-map-ywt8jp22.js} +9 -9
  279. package/dist/chunks/{credential-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{credential-725pgwpr.js → location-service-map-zbcbrt3b.js} +21 -21
  281. package/dist/chunks/{credential-3chf03wh.js → location-service-map-zkc4c63m.js} +11 -11
  282. package/dist/chunks/{credential-axc9g66b.js → location-service-map-zmrxb192.js} +20 -20
  283. package/dist/chunks/{credential-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{credential-8gxqpgph.js → location-service-map-zvt5dnpc.js} +4 -4
  285. package/dist/chunks/{credential-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{credential-92k2zvrm.js → location-service-map-zzdtv6s3.js} +10 -10
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +81 -81
  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 +116 -116
  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 +83 -83
  322. package/dist/database/database.js +68 -68
  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 +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +367 -367
  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 +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +99 -99
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +100 -100
  428. package/dist/form.js +80 -80
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +8 -8
  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 +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +87 -87
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +134 -134
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +86 -86
  467. package/dist/location-services.js +357 -357
  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 +109 -109
  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 +98 -98
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +88 -88
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +117 -117
  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 +88 -88
  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 +331 -331
  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 +123 -123
  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 +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +1 -1
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +350 -350
  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 +6 -6
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +221 -221
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +99 -99
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +103 -103
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  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 +127 -127
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +213 -213
  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 +11 -11
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +93 -93
  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 +116 -116
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +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 +111 -111
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/webfetch.js +114 -114
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +82 -82
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +3 -3
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/credential-4dnkb904.js +0 -257
  691. package/dist/chunks/credential-ks3bqvez.js +0 -513
  692. package/dist/chunks/credential-zwenznck.js +0 -26
  693. /package/dist/chunks/{credential-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{credential-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{credential-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{credential-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{credential-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{credential-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{credential-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{credential-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{credential-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{credential-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{credential-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{credential-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  705. /package/dist/chunks/{credential-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  706. /package/dist/chunks/{credential-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{credential-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{credential-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{credential-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{credential-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{credential-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{credential-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  713. /package/dist/chunks/{credential-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{credential-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  715. /package/dist/chunks/{credential-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{credential-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{credential-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{credential-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  719. /package/dist/chunks/{credential-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{credential-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{credential-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{credential-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{credential-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{credential-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{credential-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{credential-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{credential-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{credential-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{credential-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{credential-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{credential-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{credential-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{credential-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{credential-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{credential-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{credential-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{credential-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{credential-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  739. /package/dist/chunks/{credential-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{credential-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{credential-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{credential-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{credential-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{credential-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{credential-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{credential-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{credential-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{credential-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{credential-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{credential-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  751. /package/dist/chunks/{credential-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{credential-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  753. /package/dist/chunks/{credential-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  754. /package/dist/chunks/{credential-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  755. /package/dist/chunks/{credential-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  756. /package/dist/chunks/{credential-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  757. /package/dist/chunks/{credential-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  758. /package/dist/chunks/{credential-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{credential-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{credential-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  761. /package/dist/chunks/{credential-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{credential-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  763. /package/dist/chunks/{credential-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  764. /package/dist/chunks/{credential-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  765. /package/dist/chunks/{credential-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  766. /package/dist/chunks/{credential-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  767. /package/dist/chunks/{credential-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  768. /package/dist/chunks/{credential-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  769. /package/dist/chunks/{credential-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  770. /package/dist/chunks/{credential-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{credential-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{credential-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{credential-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{credential-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{credential-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  776. /package/dist/chunks/{credential-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  777. /package/dist/chunks/{credential-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  778. /package/dist/chunks/{credential-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  779. /package/dist/chunks/{credential-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{credential-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  781. /package/dist/chunks/{credential-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{credential-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  783. /package/dist/chunks/{credential-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  784. /package/dist/chunks/{credential-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  785. /package/dist/chunks/{credential-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{credential-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{credential-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  788. /package/dist/chunks/{credential-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{credential-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  790. /package/dist/chunks/{credential-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  791. /package/dist/chunks/{credential-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  792. /package/dist/chunks/{credential-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  793. /package/dist/chunks/{credential-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./credential-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info15,
12
+ Info: () => Info20,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info15 = Schema.Struct({
64
+ var Info20 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info15 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info15, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info20, exports_provider2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./credential-emrn6kk6.js";
4
+ } from "./location-service-map-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./credential-3chf03wh.js";
3
+ } from "./location-service-map-zkc4c63m.js";
4
4
  import {
5
- Service83
6
- } from "./credential-66w41kd0.js";
5
+ Service84
6
+ } from "./location-service-map-f4xkwjff.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20,
10
- Service79
11
- } from "./credential-tph0s9dr.js";
9
+ Event19,
10
+ Service78
11
+ } from "./location-service-map-faabf61n.js";
12
12
  import {
13
- ID13,
13
+ ID14,
14
14
  MethodID2
15
- } from "./credential-5qndpx2w.js";
15
+ } from "./location-service-map-pvmwrteb.js";
16
16
  import {
17
- ID12,
17
+ ID13,
18
18
  mergeOverlay2
19
- } from "./credential-bbz974h8.js";
19
+ } from "./location-service-map-ctvak0k8.js";
20
20
  import {
21
- ID11,
21
+ ID12,
22
22
  VariantID2,
23
- Info20
24
- } from "./credential-a10rd6rt.js";
23
+ Info21
24
+ } from "./location-service-map-jykm66z2.js";
25
25
  import {
26
26
  success2,
27
27
  error2
28
- } from "./credential-pjvnvgmy.js";
28
+ } from "./location-service-map-pjvnvgmy.js";
29
29
  import {
30
30
  get5
31
- } from "./credential-54ma36ye.js";
31
+ } from "./location-service-map-54ma36ye.js";
32
32
  import {
33
33
  configuredSettings2
34
- } from "./credential-hy9hen9y.js";
34
+ } from "./location-service-map-actn3e1v.js";
35
35
 
36
36
  // src/plugin/provider/chatgpt.ts
37
37
  import { define } from "@opencode/plugin/effect/plugin";
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
43
43
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
44
44
  var resource = "https://api.openai.com/v1";
45
45
  var tokenSharingScope = "chatgpt.tokens.use.direct";
46
- var providerID = ID12.openai;
47
- var integrationID = ID13.make("openai");
46
+ var providerID = ID13.openai;
47
+ var integrationID = ID14.make("openai");
48
48
  var methodID = MethodID2.make("chatgpt-token-sharing");
49
49
  var modelCacheKey = (clientID) => `models:${clientID}`;
50
50
  var fallbackModels = new Set([
@@ -179,8 +179,8 @@ function listen(server) {
179
179
  var ChatGPTPlugin2 = define({
180
180
  id: "opencode.provider.chatgpt",
181
181
  effect: Effect.fn(function* (ctx) {
182
- const bus = yield* Service83;
183
- const credentials = yield* Service79;
182
+ const bus = yield* Service84;
183
+ const credentials = yield* Service78;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let chatgpt;
186
186
  let source;
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
195
195
  yield* ctx.integration.transform((editor) => {
196
196
  editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
197
197
  });
198
- yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
198
+ yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
199
199
  const value = entry.value;
200
200
  if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
201
201
  return Effect.void;
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
268
268
  }
269
269
  });
270
270
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
271
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
271
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
272
272
  })
273
273
  });
274
274
  function headers(app) {
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
325
325
  const found = byID.get(model.modelID);
326
326
  return found ? [deriveModel(found, model)] : [];
327
327
  }),
328
- ...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID11.make(model.slug))))
328
+ ...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
329
329
  ];
330
330
  }
331
331
  function deriveModel(remote, previous) {
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service69
3
- } from "./credential-vnr1arqv.js";
2
+ Service53
3
+ } from "./location-service-map-6j2zvqwp.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./credential-4vcrnpx2.js";
7
+ } from "./location-service-map-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./credential-3v8g72cx.js";
10
+ } from "./location-service-map-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./credential-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input4,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input11,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin20,
22
+ Plugin: () => Plugin13,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name4
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name4 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name11 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input4 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input4.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin20 = {
95
+ var Plugin13 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service69;
99
+ const permission = yield* Service53;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name4,
101
+ name: name11,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input4,
103
+ description: description5,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin20 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name4,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, Plugin20, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin13, extractTextFromHTML2, exports_webfetch };
@@ -1,67 +1,67 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./credential-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./credential-yb3yv1n8.js";
6
+ } from "./location-service-map-xw6avn3p.js";
7
7
  import {
8
8
  Slug2
9
- } from "./credential-gebd4c9n.js";
9
+ } from "./location-service-map-gebd4c9n.js";
10
10
  import {
11
11
  Service85,
12
12
  node89
13
- } from "./credential-6ywvrrbf.js";
13
+ } from "./location-service-map-jdetxz9w.js";
14
14
  import {
15
- Service83,
16
- node86
17
- } from "./credential-66w41kd0.js";
15
+ Service84,
16
+ node88
17
+ } from "./location-service-map-f4xkwjff.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./credential-rj3eygr5.js";
20
+ } from "./location-service-map-rj3eygr5.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./credential-sa8ekw3f.js";
23
+ } from "./location-service-map-sa8ekw3f.js";
24
24
  import {
25
- ID16,
25
+ ID17,
26
26
  NotFoundError12
27
- } from "./credential-5b35b6x0.js";
27
+ } from "./location-service-map-sp0bsdgd.js";
28
28
  import {
29
29
  Ref4
30
- } from "./credential-6j60vss0.js";
30
+ } from "./location-service-map-nq8h402c.js";
31
31
  import {
32
32
  Service68,
33
- node70
34
- } from "./credential-rnd2wdxm.js";
33
+ node72
34
+ } from "./location-service-map-rtwq7srw.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./credential-0vbcp93d.js";
38
+ } from "./location-service-map-0vbcp93d.js";
39
39
  import {
40
- Service27
41
- } from "./credential-y2ygvm3z.js";
40
+ Service51
41
+ } from "./location-service-map-5akner74.js";
42
42
  import {
43
43
  __export
44
- } from "./credential-9rqn6x4v.js";
44
+ } from "./location-service-map-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event6,
53
- Info: () => Info5,
52
+ Event: () => Event8,
53
+ Info: () => Info7,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service26,
59
+ Service: () => Service50,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node29
64
+ node: () => node53
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
73
73
  import { ChildProcess } from "effect/process";
74
74
  import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
- var CreateInput3 = Worktree.CreateInput;
76
+ var CreateInput2 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info5 = Worktree.Info;
78
+ var Info7 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,15 +90,15 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event6 = Worktree.Event;
93
+ var Event8 = Worktree.Event;
94
94
 
95
- class Service26 extends Context.Service()("@opencode/Worktree") {
95
+ class Service50 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service26, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service85;
100
100
  const db = database.db;
101
- const bus = yield* Service83;
101
+ const bus = yield* Service84;
102
102
  const processService = yield* AppProcess.Service;
103
103
  const locations = yield* Service68;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service27).get();
118
+ return Context.get(context, Service51).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event6.Updated, { projectID });
122
+ yield* bus.publish(Event8.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service26.of({
249
+ return Service50.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node29 = Node.makeGlobalNode({
260
- service: Service26,
259
+ var node53 = Node.makeGlobalNode({
260
+ service: Service50,
261
261
  layer,
262
- deps: [FSUtil.node, node86, node89, AppProcess.node, node70]
262
+ deps: [FSUtil.node, node88, node89, AppProcess.node, node72]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service26, node29, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput2, RemoveInput2, Info7, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event8, Service50, node53, exports_worktree2, OperationError2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service83
3
- } from "./credential-66w41kd0.js";
2
+ Service84
3
+ } from "./location-service-map-f4xkwjff.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./credential-a10rd6rt.js";
6
+ } from "./location-service-map-jykm66z2.js";
7
7
  import {
8
- Service24,
9
- Event4
10
- } from "./credential-1sbg73nq.js";
8
+ Service39,
9
+ Event6
10
+ } from "./location-service-map-00qfyfqm.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service24;
42
- const bus = yield* Service83;
41
+ const modelsDev = yield* Service39;
42
+ const bus = yield* Service84;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
45
45
  for (const provider of loaded.data) {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event6.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./credential-3chf03wh.js";
3
+ } from "./location-service-map-zkc4c63m.js";
4
4
  import {
5
- Service83
6
- } from "./credential-66w41kd0.js";
5
+ Service84
6
+ } from "./location-service-map-f4xkwjff.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./credential-tph0s9dr.js";
9
+ Event19
10
+ } from "./location-service-map-faabf61n.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./credential-5qndpx2w.js";
14
+ } from "./location-service-map-pvmwrteb.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./credential-pjvnvgmy.js";
18
+ } from "./location-service-map-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./credential-bbz974h8.js";
23
+ } from "./location-service-map-ctvak0k8.js";
24
24
  import {
25
25
  get5
26
- } from "./credential-54ma36ye.js";
26
+ } from "./location-service-map-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./credential-hy9hen9y.js";
29
+ } from "./location-service-map-actn3e1v.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID13.make("openai"),
53
+ integrationID: ID14.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID13.make("openai"),
126
+ integrationID: ID14.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -165,10 +165,10 @@ var headless = (app) => ({
165
165
  }),
166
166
  refresh: (value) => refresh(headlessMethodID, value, app)
167
167
  });
168
- var OpenAIPlugin3 = define({
168
+ var OpenAIPlugin2 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
- const bus = yield* Service83;
171
+ const bus = yield* Service84;
172
172
  const loading = Semaphore.makeUnsafe(1);
173
173
  let chatgpt;
174
174
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID12.openai);
186
+ const configured = yield* configuredSettings2(ID13.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID12.openai);
188
+ const item = providers.get(ID13.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID12.openai)) {
208
+ for (const model of models.list(ID13.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
238
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID12.openai });
239
+ }), { providerID: ID13.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -334,4 +334,4 @@ function claim(token) {
334
334
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
335
335
  }
336
336
 
337
- export { OpenAIPlugin3 };
337
+ export { OpenAIPlugin2 };