@opencode/core 0.0.0-dev-20586 → 0.0.0-dev-20592

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{schema-2s93m5wx.js → location-04b814vj.js} +29 -29
  8. package/dist/chunks/{schema-7nfz7vry.js → location-054tnc23.js} +6 -6
  9. package/dist/chunks/{schema-t7n9q6bq.js → location-06x8he3q.js} +4 -4
  10. package/dist/chunks/{schema-y730841x.js → location-0dg42ne5.js} +24 -24
  11. package/dist/chunks/{schema-y5k41zqf.js → location-0frxavx5.js} +10 -10
  12. package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{schema-vmx43xs3.js → location-0q4asv20.js} +15 -15
  14. package/dist/chunks/{schema-gj71zhbs.js → location-0r3c1bmw.js} +5 -5
  15. package/dist/chunks/{schema-ry4cmxgm.js → location-0v8cvypb.js} +10 -10
  16. package/dist/chunks/{schema-0vbcp93d.js → location-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{schema-8xgppe8x.js → location-0zhyzqfm.js} +8 -8
  18. package/dist/chunks/{schema-tra9m5aj.js → location-12jzj71f.js} +38 -38
  19. package/dist/chunks/{schema-1dangqhw.js → location-18rp1xkf.js} +8 -8
  20. package/dist/chunks/{schema-dtmn9m2k.js → location-1cfxdkjr.js} +24 -24
  21. package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{schema-1dvck2a7.js → location-1dvck2a7.js} +2 -2
  23. package/dist/chunks/{schema-0nrdtycv.js → location-1ebfveph.js} +50 -50
  24. package/dist/chunks/{schema-ghpd4fr7.js → location-1fq1yvq8.js} +40 -40
  25. package/dist/chunks/{schema-cfsekr6v.js → location-1p07q0wb.js} +4 -4
  26. package/dist/chunks/{schema-z71avzk1.js → location-1rax0fa3.js} +25 -25
  27. package/dist/chunks/{schema-kg6ewcnz.js → location-1vn7zg0x.js} +5 -5
  28. package/dist/chunks/{schema-aczmxqpc.js → location-1vt8akqd.js} +8 -8
  29. package/dist/chunks/{schema-vwk1vad2.js → location-208m000x.js} +1 -1
  30. package/dist/chunks/{schema-18a3shtt.js → location-28hqb7n1.js} +16 -16
  31. package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{schema-skzfdnfe.js → location-2f6pnyrz.js} +5 -5
  33. package/dist/chunks/{schema-7dqw4kz8.js → location-2k8khapm.js} +5 -5
  34. package/dist/chunks/{schema-s0yv6qk4.js → location-2xxcqrcn.js} +13 -13
  35. package/dist/chunks/{schema-f5gz5swa.js → location-36tzexw9.js} +14 -14
  36. package/dist/chunks/{schema-ga67qtkk.js → location-38ds4vsh.js} +16 -16
  37. package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{schema-w65mgvd1.js → location-3fkr87zm.js} +26 -26
  39. package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{schema-4ytb3748.js → location-3kd47etn.js} +3 -3
  41. package/dist/chunks/{schema-bdpzzc2x.js → location-3maez1s4.js} +11 -11
  42. package/dist/chunks/{schema-gzh3bm7x.js → location-3s266rdz.js} +5 -5
  43. package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{schema-15s9b7tq.js → location-49a9rwdn.js} +16 -16
  47. package/dist/chunks/{schema-fjb35128.js → location-4aa0vhjx.js} +46 -46
  48. package/dist/chunks/{schema-pkqfn6w5.js → location-4fk05cts.js} +12 -12
  49. package/dist/chunks/{schema-vjmmbq9h.js → location-4hb6xf6n.js} +88 -88
  50. package/dist/chunks/{schema-kzsy6v0s.js → location-4ndfp6x1.js} +11 -11
  51. package/dist/chunks/{schema-4ts7tf6z.js → location-4ts7tf6z.js} +2 -2
  52. package/dist/chunks/{schema-czxrm6cp.js → location-54e3h8mr.js} +18 -18
  53. package/dist/chunks/{schema-54ma36ye.js → location-54ma36ye.js} +1 -1
  54. package/dist/chunks/{schema-1ygqh575.js → location-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{schema-g5w8qwbj.js → location-57b9ws8p.js} +7 -7
  56. package/dist/chunks/{schema-5daktx2q.js → location-5daktx2q.js} +1 -1
  57. package/dist/chunks/{schema-461mwfvs.js → location-5f6vg0rf.js} +33 -33
  58. package/dist/chunks/{schema-hj5fbf02.js → location-5gvcwmqt.js} +9 -9
  59. package/dist/chunks/{schema-an2v7pwn.js → location-5ps1pq9q.js} +4 -4
  60. package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{schema-9kwc633n.js → location-5vv7abyh.js} +21 -21
  62. package/dist/chunks/{schema-669tq793.js → location-669tq793.js} +1 -1
  63. package/dist/chunks/{schema-7k951zm2.js → location-68fe01gc.js} +8 -8
  64. package/dist/chunks/{schema-n3q2c8vm.js → location-6nad0zcg.js} +20 -20
  65. package/dist/chunks/{schema-x9300pb6.js → location-6tgppvyb.js} +15 -15
  66. package/dist/chunks/{schema-6xb47vfp.js → location-6xb47vfp.js} +1 -1
  67. package/dist/chunks/{schema-71az546q.js → location-71az546q.js} +2 -2
  68. package/dist/chunks/{schema-a8rjsjfn.js → location-744k6ap7.js} +21 -21
  69. package/dist/chunks/{schema-b5pm0qd4.js → location-753002kn.js} +8 -8
  70. package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{schema-j129swd2.js → location-7entjh6g.js} +15 -15
  72. package/dist/chunks/{schema-tqk33c0s.js → location-7ghtbgxd.js} +3 -3
  73. package/dist/chunks/{schema-xb9ezq08.js → location-7rgnchn8.js} +30 -30
  74. package/dist/chunks/{schema-bvbtfhva.js → location-7xenbtvb.js} +9 -9
  75. package/dist/chunks/{schema-w1eejvng.js → location-84txncab.js} +5 -5
  76. package/dist/chunks/{schema-pvxscb8w.js → location-862a9g3e.js} +1 -1
  77. package/dist/chunks/{schema-b7a8j68b.js → location-885cwhyg.js} +8 -8
  78. package/dist/chunks/{schema-hmv4j20b.js → location-889f7s8w.js} +11 -11
  79. package/dist/chunks/{schema-89bb6baa.js → location-8aaqm6qj.js} +8 -8
  80. package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{schema-ate656c3.js → location-8m3heav3.js} +11 -11
  82. package/dist/chunks/{schema-398sja33.js → location-8mwfgycy.js} +22 -22
  83. package/dist/chunks/{schema-bv266yyp.js → location-8nb6jekc.js} +7 -7
  84. package/dist/chunks/{schema-tjedn1bk.js → location-8tsdq50x.js} +4 -4
  85. package/dist/chunks/{schema-fkhfs56y.js → location-9a22g0r7.js} +28 -28
  86. package/dist/chunks/{schema-rypd5ndp.js → location-9bdbrtbd.js} +2 -2
  87. package/dist/chunks/{schema-y5t28hz6.js → location-9ccmvy08.js} +19 -19
  88. package/dist/chunks/{schema-9e5bzkjp.js → location-9e5bzkjp.js} +3 -3
  89. package/dist/chunks/{schema-kjhtpa86.js → location-9fg8585h.js} +3 -3
  90. package/dist/chunks/{schema-8c6aeth0.js → location-9mrc6n03.js} +28 -28
  91. package/dist/chunks/{schema-bw8pdnvy.js → location-9r3ewnwy.js} +23 -23
  92. package/dist/chunks/{schema-rhjbct0v.js → location-9t7a50xb.js} +4 -4
  93. package/dist/chunks/{schema-fbhsdg98.js → location-9tkeg271.js} +45 -45
  94. package/dist/chunks/{schema-hvywv52v.js → location-a1f7asmn.js} +5 -5
  95. package/dist/chunks/{schema-z2nx0y2v.js → location-a36b5m4e.js} +12 -12
  96. package/dist/chunks/{schema-cavr175a.js → location-a8bn8zg0.js} +4 -4
  97. package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
  98. package/dist/chunks/{schema-qdgd7pts.js → location-aanyagtj.js} +40 -40
  99. package/dist/chunks/{schema-6xg4x7p4.js → location-acwa04xh.js} +19 -19
  100. package/dist/chunks/{schema-kp7w4w0c.js → location-adysfw09.js} +20 -20
  101. package/dist/chunks/{schema-df0ykk77.js → location-agf2dshv.js} +9 -9
  102. package/dist/chunks/{schema-b3f8fkhc.js → location-b3f8fkhc.js} +2 -2
  103. package/dist/chunks/{schema-kbm049ab.js → location-b4e1wnd3.js} +13 -13
  104. package/dist/chunks/{schema-b69jv39p.js → location-b69jv39p.js} +1 -1
  105. package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{schema-5zeh3nq2.js → location-bg5zqpce.js} +46 -46
  107. package/dist/chunks/{schema-ecpsh8rg.js → location-bj6es22j.js} +3 -3
  108. package/dist/chunks/{schema-sd9a6snf.js → location-c2sed5cq.js} +3 -3
  109. package/dist/chunks/{schema-f7m4gqsr.js → location-c7v6zzq0.js} +31 -31
  110. package/dist/chunks/{schema-qj8bvm0v.js → location-c909q0sd.js} +55 -55
  111. package/dist/chunks/{schema-y3739sk3.js → location-cezy49kc.js} +12 -12
  112. package/dist/chunks/{schema-vejndnrc.js → location-cpgfv9g7.js} +22 -22
  113. package/dist/chunks/{schema-3757zhg2.js → location-cs7mqzsj.js} +10 -10
  114. package/dist/chunks/{schema-15h6fegf.js → location-cs7pc868.js} +13 -13
  115. package/dist/chunks/{schema-r2m716tb.js → location-cwa6csj7.js} +9 -9
  116. package/dist/chunks/{schema-34tsw91e.js → location-cy72xyjc.js} +19 -19
  117. package/dist/chunks/{schema-2aajs87z.js → location-d0xn2485.js} +27 -27
  118. package/dist/chunks/{schema-rhms3hdd.js → location-d6kqysqe.js} +19 -19
  119. package/dist/chunks/{schema-shny27f7.js → location-d6v3shm0.js} +37 -37
  120. package/dist/chunks/{schema-3k1ktder.js → location-d6zb4spv.js} +4 -4
  121. package/dist/chunks/{schema-dpkg50ah.js → location-dpkg50ah.js} +1 -1
  122. package/dist/chunks/{schema-x0m3x8cn.js → location-dprde2v8.js} +44 -44
  123. package/dist/chunks/{schema-4xxxtaen.js → location-dwq6ryhm.js} +8 -8
  124. package/dist/chunks/{schema-89vjf07m.js → location-e89xj288.js} +5 -5
  125. package/dist/chunks/{schema-ryr25ayn.js → location-edrmdtr5.js} +7 -7
  126. package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{schema-mpyv0gjv.js → location-eh8c2qmt.js} +17 -17
  128. package/dist/chunks/{schema-zw122828.js → location-ejtxpja9.js} +39 -39
  129. package/dist/chunks/{schema-kcn8d4wf.js → location-etfnbv3k.js} +13 -13
  130. package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{schema-e7kdnfv2.js → location-f44pehqa.js} +35 -35
  132. package/dist/chunks/{schema-1zf23djs.js → location-f67x1zy2.js} +4 -4
  133. package/dist/chunks/{schema-9swdtjav.js → location-f9fc5v37.js} +11 -11
  134. package/dist/chunks/{schema-pkn3rqad.js → location-fftyvp1m.js} +18 -18
  135. package/dist/chunks/{schema-tz8q98pd.js → location-fps9xx4y.js} +3 -3
  136. package/dist/chunks/{schema-qnpbp7f6.js → location-fq21f7h4.js} +3 -3
  137. package/dist/chunks/{schema-mxfx3p70.js → location-fxk0vaaw.js} +23 -23
  138. package/dist/chunks/{schema-6v4rkqn9.js → location-fy2r8eyy.js} +22 -22
  139. package/dist/chunks/{schema-x68tzkrm.js → location-g76set46.js} +11 -11
  140. package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{schema-0jm58kyp.js → location-ghe85yh1.js} +9 -9
  142. package/dist/chunks/{schema-1z8bakdw.js → location-gj3rjvxa.js} +11 -11
  143. package/dist/chunks/{schema-84c5kt73.js → location-gje7t6g4.js} +4 -4
  144. package/dist/chunks/{schema-3rjzkyns.js → location-gmmmxht9.js} +12 -12
  145. package/dist/chunks/{schema-rxsn8x9d.js → location-gnnxh0et.js} +24 -24
  146. package/dist/chunks/{schema-gtmvshrw.js → location-gxs67awe.js} +7 -7
  147. package/dist/chunks/{schema-mygtg7h0.js → location-gzfwptkh.js} +22 -22
  148. package/dist/chunks/{schema-f2030xt1.js → location-h04255kf.js} +35 -35
  149. package/dist/chunks/{schema-h2b79v29.js → location-h2b79v29.js} +2 -2
  150. package/dist/chunks/{schema-3zbwexce.js → location-h4ckqw4f.js} +8 -8
  151. package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{schema-k70p9jzb.js → location-hb84g3y6.js} +9 -9
  153. package/dist/chunks/{schema-vtt0yr3x.js → location-hgtd7sxh.js} +15 -15
  154. package/dist/chunks/{schema-7vv0vsc5.js → location-hq6260kp.js} +10 -10
  155. package/dist/chunks/{schema-jba7mbpp.js → location-hxqastbg.js} +5 -5
  156. package/dist/chunks/{schema-nhzfetse.js → location-hznm6a07.js} +13 -13
  157. package/dist/chunks/{schema-eq1pz5kg.js → location-j028xdjb.js} +3 -3
  158. package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
  159. package/dist/chunks/{schema-g4ec7k1p.js → location-j94h2k4s.js} +24 -24
  160. package/dist/chunks/{schema-9gjfbdts.js → location-jaj6bpj0.js} +23 -23
  161. package/dist/chunks/{schema-f6zdzjx0.js → location-jca9gg5p.js} +49 -49
  162. package/dist/chunks/{schema-0brrbz7a.js → location-jh5x1drn.js} +14 -14
  163. package/dist/chunks/{schema-h52xp8p4.js → location-jsy5swvm.js} +9 -9
  164. package/dist/chunks/{schema-dnxygc0x.js → location-jx0hr23r.js} +9 -9
  165. package/dist/chunks/{schema-ga0tfepk.js → location-k3snbwks.js} +6 -6
  166. package/dist/chunks/{schema-espr1ah5.js → location-kasw4fnh.js} +5 -5
  167. package/dist/chunks/{schema-tg9q7e94.js → location-kp7xp7zq.js} +48 -48
  168. package/dist/chunks/{schema-rb8mch2y.js → location-krh5ag8n.js} +35 -35
  169. package/dist/chunks/{schema-e98kd4sq.js → location-kt94w41r.js} +29 -29
  170. package/dist/chunks/{schema-2ty9snxt.js → location-kyym90d5.js} +17 -17
  171. package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{schema-d8mep6qx.js → location-m67a48vq.js} +6 -6
  173. package/dist/chunks/{schema-g8j2n5ph.js → location-m6x09j7z.js} +9 -9
  174. package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{schema-sdsbj08z.js → location-mb14aw74.js} +2 -2
  176. package/dist/chunks/{schema-srdpzyxc.js → location-mdcmsqgv.js} +7 -7
  177. package/dist/chunks/{schema-de52ckkz.js → location-mhgx8wws.js} +4 -4
  178. package/dist/chunks/{schema-fe7qsfpk.js → location-mkw4htn4.js} +20 -20
  179. package/dist/chunks/{schema-1279vwrw.js → location-mms20fb7.js} +5 -5
  180. package/dist/chunks/location-mtpf0eaq.js +26 -0
  181. package/dist/chunks/{schema-1x37w07y.js → location-mw8x7xmb.js} +20 -20
  182. package/dist/chunks/{schema-taw4b7j9.js → location-my7xq1gk.js} +17 -17
  183. package/dist/chunks/{schema-ykjpaak5.js → location-n50d1mbn.js} +15 -15
  184. package/dist/chunks/{schema-ayx7vafe.js → location-nzytz929.js} +329 -329
  185. package/dist/chunks/{schema-pnkbpv6t.js → location-patgj9rf.js} +9 -9
  186. package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
  187. package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
  188. package/dist/chunks/{schema-cjw2sxyz.js → location-pr8n2gpy.js} +58 -58
  189. package/dist/chunks/{schema-sy8hwy21.js → location-ptr9j6f1.js} +17 -17
  190. package/dist/chunks/{schema-rhxwzm2w.js → location-pxgdc7gq.js} +29 -29
  191. package/dist/chunks/{schema-yk45h2rs.js → location-pyg8na7s.js} +15 -15
  192. package/dist/chunks/{schema-q0xm7vwc.js → location-q0xm7vwc.js} +2 -2
  193. package/dist/chunks/{schema-fhh3yeyh.js → location-q1rbzsas.js} +23 -23
  194. package/dist/chunks/{schema-nqee14cx.js → location-q35vxh5k.js} +13 -13
  195. package/dist/chunks/{schema-yk5nserk.js → location-q9bsambt.js} +4 -4
  196. package/dist/chunks/{schema-c81ezzqg.js → location-qdkhcs1j.js} +16 -16
  197. package/dist/chunks/{schema-sbdntvmw.js → location-qf0ka5h8.js} +26 -26
  198. package/dist/chunks/{schema-qnc92qwc.js → location-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{schema-6je3rcen.js → location-qp2k86zs.js} +23 -23
  200. package/dist/chunks/{schema-v3cgeczt.js → location-qpbcz52v.js} +3 -3
  201. package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
  202. package/dist/chunks/{schema-rjt6kdv6.js → location-qtt91nwf.js} +11 -11
  203. package/dist/chunks/{schema-9y0w708y.js → location-qwjmgwmn.js} +8 -8
  204. package/dist/chunks/{schema-r3q6pmcz.js → location-r04gnbv5.js} +8 -8
  205. package/dist/chunks/{schema-pgb4114y.js → location-r7z4zpnk.js} +6 -6
  206. package/dist/chunks/{schema-fk3men0g.js → location-r9r9k7q8.js} +35 -35
  207. package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{schema-r51ygcfp.js → location-rj343a89.js} +44 -44
  209. package/dist/chunks/{schema-1j43e8h9.js → location-rj6r6gv2.js} +18 -18
  210. package/dist/chunks/{schema-pkdmza6n.js → location-rknj2zf3.js} +8 -8
  211. package/dist/chunks/{schema-e8v72fmy.js → location-rnr5nq63.js} +13 -13
  212. package/dist/chunks/{schema-pt6d7ckw.js → location-rsc59hem.js} +14 -14
  213. package/dist/chunks/{schema-c8k34h4t.js → location-rvpc5zrz.js} +18 -18
  214. package/dist/chunks/{schema-8gn32dwp.js → location-rw98h6j7.js} +95 -95
  215. package/dist/chunks/{schema-5f5fdjjg.js → location-rx8vmh8h.js} +33 -33
  216. package/dist/chunks/{schema-wrqwmc22.js → location-rz58q6yw.js} +24 -24
  217. package/dist/chunks/{schema-8j43q005.js → location-s61s5w7f.js} +7 -7
  218. package/dist/chunks/{schema-rttzrg3r.js → location-s800pt51.js} +12 -12
  219. package/dist/chunks/{schema-wdhp2wqx.js → location-sdvk2ad6.js} +22 -22
  220. package/dist/chunks/{schema-p7f50jp2.js → location-sr6vbnxh.js} +7 -7
  221. package/dist/chunks/{schema-fq9618wy.js → location-swabsky0.js} +6 -6
  222. package/dist/chunks/{schema-0tjvnj70.js → location-sxgab442.js} +9 -9
  223. package/dist/chunks/{schema-tcay1cqt.js → location-sxzvkvgj.js} +6 -6
  224. package/dist/chunks/{schema-ggdj6b59.js → location-sz5ygx6f.js} +23 -23
  225. package/dist/chunks/{schema-5ccwcxf7.js → location-t4y3srrf.js} +14 -14
  226. package/dist/chunks/{schema-gwm757wf.js → location-t6f0ehky.js} +18 -18
  227. package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{schema-tcezcvh9.js → location-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{schema-8d5nx7er.js → location-tdqwxjwb.js} +180 -180
  230. package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
  231. package/dist/chunks/{schema-55m450pe.js → location-tez6vn9k.js} +11 -11
  232. package/dist/chunks/{schema-hg3614cy.js → location-tg7bkhef.js} +5 -5
  233. package/dist/chunks/{schema-66f72jf0.js → location-tkq3xk61.js} +26 -26
  234. package/dist/chunks/{schema-p37cw4rj.js → location-tpw6cwsb.js} +8 -8
  235. package/dist/chunks/{schema-q7cgqs0q.js → location-ts68ycfj.js} +28 -28
  236. package/dist/chunks/location-v1faaxn9.js +18 -0
  237. package/dist/chunks/{schema-j75c4hzg.js → location-v3tqgmst.js} +28 -28
  238. package/dist/chunks/{schema-he39p88c.js → location-v6f01h6h.js} +14 -14
  239. package/dist/chunks/{schema-msjz9fyp.js → location-v7dthscp.js} +40 -40
  240. package/dist/chunks/{schema-xgam4qj3.js → location-va45sze5.js} +26 -26
  241. package/dist/chunks/{schema-609c7rjf.js → location-vazrgfpm.js} +8 -8
  242. package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
  243. package/dist/chunks/{schema-cnnankxx.js → location-vkb7t2qc.js} +10 -10
  244. package/dist/chunks/{schema-785emzww.js → location-vm0nw8c4.js} +17 -17
  245. package/dist/chunks/{schema-as7cf5zz.js → location-vn72gsba.js} +4 -4
  246. package/dist/chunks/{schema-vzcthcp8.js → location-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{schema-w39jehkq.js → location-w39jehkq.js} +2 -2
  249. package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{schema-z8x71xh1.js → location-w5t5kzd9.js} +5 -5
  251. package/dist/chunks/{schema-aff3a7hd.js → location-w69p11eg.js} +16 -16
  252. package/dist/chunks/{schema-ayqs46pg.js → location-w84mnb9g.js} +20 -20
  253. package/dist/chunks/{schema-drda7tq8.js → location-w8qpna6r.js} +35 -35
  254. package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
  255. package/dist/chunks/location-wn9z1chv.js +253 -0
  256. package/dist/chunks/{schema-jyxk3ed8.js → location-wrxqmzes.js} +28 -28
  257. package/dist/chunks/{schema-0knh1j5d.js → location-wt0s9j3r.js} +18 -18
  258. package/dist/chunks/{schema-fhz5gfgy.js → location-x2d9qy7d.js} +5 -5
  259. package/dist/chunks/{schema-21z0btgx.js → location-x2w20ksh.js} +11 -11
  260. package/dist/chunks/{schema-a3c7ahw6.js → location-x3gqap9d.js} +4 -4
  261. package/dist/chunks/{schema-mxvxcxwy.js → location-x661k3y3.js} +4 -4
  262. package/dist/chunks/{schema-nsjtt5er.js → location-x7fd5fgg.js} +25 -25
  263. package/dist/chunks/{schema-xkntkrq7.js → location-xkntkrq7.js} +2 -2
  264. package/dist/chunks/{schema-qsmpxerm.js → location-xvc21b3d.js} +12 -12
  265. package/dist/chunks/{schema-qxjc9qry.js → location-xyafkbt0.js} +3 -3
  266. package/dist/chunks/{schema-dr6jkw1e.js → location-xyh3p86x.js} +36 -36
  267. package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{schema-7gewva0j.js → location-y2ve5wpy.js} +3 -3
  269. package/dist/chunks/{schema-71v7metp.js → location-y8h45gdm.js} +21 -21
  270. package/dist/chunks/{schema-892k6z1j.js → location-y90f3fk4.js} +11 -11
  271. package/dist/chunks/{schema-1acjjqhc.js → location-yp2x3t23.js} +4 -4
  272. package/dist/chunks/{schema-yrcj3v3g.js → location-yrcj3v3g.js} +1 -1
  273. package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{schema-prq7hedt.js → location-z4ztj7g0.js} +9 -9
  275. package/dist/chunks/{schema-th268h5n.js → location-za3xpkyj.js} +32 -32
  276. package/dist/chunks/{schema-3jqk5x8p.js → location-zbt8hm9w.js} +69 -69
  277. package/dist/chunks/{schema-e3gj9zxp.js → location-zegnn946.js} +40 -40
  278. package/dist/chunks/{schema-6p0hs1pc.js → location-zes232r0.js} +13 -13
  279. package/dist/chunks/{schema-m761qzqs.js → location-znxafpy1.js} +15 -15
  280. package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{schema-5xbqt2y0.js → location-zvej5ecj.js} +26 -26
  282. package/dist/chunks/{schema-mt9f3aka.js → location-zvvxcepe.js} +31 -31
  283. package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +135 -135
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +79 -79
  318. package/dist/database/database.js +66 -66
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +76 -76
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +101 -101
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +107 -107
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +111 -111
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +115 -115
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +115 -115
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +74 -74
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +343 -343
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +4 -4
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +88 -88
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +152 -152
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +86 -86
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +1 -1
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +73 -73
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +201 -201
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +213 -213
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +9 -9
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +93 -93
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +114 -114
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +114 -114
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +121 -121
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +112 -112
  642. package/dist/tool/plugin/write.js +120 -120
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +2 -2
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +93 -93
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +7 -7
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +76 -76
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/schema-35668my4.js +0 -26
  681. package/dist/chunks/schema-dxj72tfx.js +0 -18
  682. package/dist/chunks/schema-ywtmtjc3.js +0 -253
  683. /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
  695. /package/dist/chunks/{schema-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
  704. /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{schema-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
  707. /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
  710. /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
  713. /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
  729. /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
  742. /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
  744. /package/dist/chunks/{schema-hjbc5kem.js → location-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
  746. /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
  758. /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
  759. /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
  760. /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
  761. /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
  762. /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
  763. /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
  767. /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
  769. /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
  770. /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
  771. /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
  772. /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
  773. /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
  776. /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{schema-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
  779. /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./schema-mxvxcxwy.js";
3
+ } from "./location-x661k3y3.js";
4
4
  import {
5
- Service82
6
- } from "./schema-y3739sk3.js";
5
+ Service83
6
+ } from "./location-cezy49kc.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event18
10
- } from "./schema-y5t28hz6.js";
10
+ } from "./location-9ccmvy08.js";
11
11
  import {
12
- ID12,
12
+ ID14,
13
13
  MethodID2
14
- } from "./schema-e98kd4sq.js";
14
+ } from "./location-kt94w41r.js";
15
15
  import {
16
- ID11,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service70
20
- } from "./schema-461mwfvs.js";
19
+ Service74
20
+ } from "./location-5f6vg0rf.js";
21
21
  import {
22
- ID10
23
- } from "./schema-f2030xt1.js";
22
+ ID12
23
+ } from "./location-h04255kf.js";
24
24
  import {
25
- load2,
26
- derive2
27
- } from "./schema-mygtg7h0.js";
25
+ load3,
26
+ derive3
27
+ } from "./location-gzfwptkh.js";
28
28
  import {
29
29
  useragent2
30
- } from "./schema-p7f50jp2.js";
30
+ } from "./location-sr6vbnxh.js";
31
31
  import {
32
- ID9
33
- } from "./schema-g4ec7k1p.js";
32
+ ID11
33
+ } from "./location-j94h2k4s.js";
34
34
  import {
35
35
  get5
36
- } from "./schema-54ma36ye.js";
36
+ } from "./location-54ma36ye.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID12.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,8 +163,8 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service70;
167
- const bus = yield* Service82;
166
+ const providers = yield* Service74;
167
+ const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
170
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID11.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load2(url, {
185
+ try: () => load3(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID11.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
226
- models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID11.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID11.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
251
251
  evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID11.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID11.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID11.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID11.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID11.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID11.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./schema-e8v72fmy.js";
4
+ } from "./location-rnr5nq63.js";
5
5
  import {
6
6
  lazy2
7
- } from "./schema-88xbtdfr.js";
7
+ } from "./location-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./schema-y1fvbwt7.js";
10
+ } from "./location-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./schema-9rqn6x4v.js";
13
+ } from "./location-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./schema-y3739sk3.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-cezy49kc.js";
5
5
  import {
6
6
  Event18,
7
- Service73,
8
- node77
9
- } from "./schema-y5t28hz6.js";
7
+ Service76,
8
+ node80
9
+ } from "./location-9ccmvy08.js";
10
10
  import {
11
- Service56,
12
- node58
13
- } from "./schema-wdhp2wqx.js";
11
+ Service50,
12
+ node52
13
+ } from "./location-sdvk2ad6.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./schema-z5v4ffb3.js";
16
+ } from "./location-z5v4ffb3.js";
17
17
  import {
18
- Service77,
19
- node81
20
- } from "./schema-0brrbz7a.js";
18
+ Service79,
19
+ node83
20
+ } from "./location-jh5x1drn.js";
21
21
  import {
22
22
  substitute2
23
- } from "./schema-4ts7tf6z.js";
23
+ } from "./location-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./schema-15s9b7tq.js";
26
+ } from "./location-49a9rwdn.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./schema-jba7mbpp.js";
30
+ } from "./location-hxqastbg.js";
31
31
  import {
32
32
  plan2
33
- } from "./schema-j56e64zr.js";
33
+ } from "./location-j56e64zr.js";
34
34
  import {
35
- Service74,
36
- Event19,
37
- node78
38
- } from "./schema-6v4rkqn9.js";
35
+ Service53,
36
+ Event10,
37
+ node56
38
+ } from "./location-fy2r8eyy.js";
39
39
  import {
40
40
  __export
41
- } from "./schema-9rqn6x4v.js";
41
+ } from "./location-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options7,
48
- Service: () => Service55,
47
+ Options: () => Options6,
48
+ Service: () => Service49,
49
49
  Test: () => Test2,
50
- configured: () => configured7,
50
+ configured: () => configured6,
51
51
  latest: () => latest2,
52
- layer: () => layer22,
53
- node: () => node57,
52
+ layer: () => layer20,
53
+ node: () => node51,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options7 = Schema.Struct({
67
+ var Options6 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service55 extends Context.Service()("@opencode/Config") {
74
+ class Service49 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service49, service), Context.add(Test2, service));
93
93
  }));
94
- var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service49, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service77;
97
- const watcher = yield* Service56;
98
- const bus = yield* Service82;
99
- const credentials = yield* Service73;
96
+ const location = yield* Service79;
97
+ const watcher = yield* Service50;
98
+ const bus = yield* Service83;
99
+ const credentials = yield* Service76;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service74;
101
+ const wellknown = yield* Service53;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -222,7 +222,7 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
224
  yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event19.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service55.of({
253
+ return Service49.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured7(options) {
265
+ function configured6(options) {
266
266
  return makeLocationNode({
267
- service: Service55,
268
- layer: layer22(options),
269
- deps: [node58, node86, FSUtil.node, Global.node, node81, node77, node78]
267
+ service: Service49,
268
+ layer: layer20(options),
269
+ deps: [node52, node87, FSUtil.node, Global.node, node83, node80, node56]
270
270
  });
271
271
  }
272
- var node57 = configured7();
272
+ var node51 = configured6();
273
273
 
274
- export { latest2, Options7, Service55, Test2, testLayer2, layer22, configured7, node57, exports_config };
274
+ export { latest2, Options6, Service49, Test2, testLayer2, layer20, configured6, node51, exports_config };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./schema-1ygqh575.js";
3
+ } from "./location-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./schema-9rqn6x4v.js";
6
+ } from "./location-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin12,
11
+ Plugin: () => Plugin38,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint5 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin12 = define({
30
+ var Plugin38 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin12 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint5);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin12, exports_exa };
83
+ export { endpoint5, Plugin38, exports_exa };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./schema-eh3zwz77.js";
3
+ } from "./location-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./schema-e73j6tqm.js";
6
+ } from "./location-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./schema-3wcehsnq.js";
9
+ } from "./location-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./schema-dap0rakb.js";
12
+ } from "./location-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./schema-4y7fprxs.js";
15
+ } from "./location-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./schema-9rqn6x4v.js";
3
+ } from "./location-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
- var exports_command5 = {};
7
- __export(exports_command5, {
8
- ConfigCommandV1: () => exports_command5,
9
- Info: () => Info11
6
+ var exports_command4 = {};
7
+ __export(exports_command4, {
8
+ ConfigCommandV1: () => exports_command4,
9
+ Info: () => Info10
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info11 = Schema.Struct({
12
+ var Info10 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info11 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info11, exports_command5 };
21
+ export { Info10, exports_command4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./schema-qaymkmh1.js";
3
+ } from "./location-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./schema-tqk33c0s.js";
4
+ } from "./location-7ghtbgxd.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./schema-71az546q.js";
7
+ } from "./location-71az546q.js";
8
8
  import {
9
9
  __export
10
- } from "./schema-9rqn6x4v.js";
10
+ } from "./location-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID8,
17
- Info: () => Info15,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID9,
17
+ Info: () => Info17,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service62,
21
- node: () => node65
20
+ Service: () => Service66,
21
+ node: () => node70
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info15 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info17 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service62 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service62, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
42
42
  const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID8.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service62.of({ list, add, remove });
69
+ return Service66.of({ list, add, remove });
70
70
  }));
71
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node88] });
71
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
72
72
 
73
- export { ID8, Info15, ListInput4, AddInput2, Service62, node65, exports_saved };
73
+ export { ID9, Info17, ListInput5, AddInput2, Service66, node70, exports_saved };