@opencode/core 0.0.0-dev-19369 → 0.0.0-dev-19370

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{tool-d38rwssd.js → credential-015cheya.js} +4 -4
  9. package/dist/chunks/{tool-zbe5vsva.js → credential-04cfyv7b.js} +32 -32
  10. package/dist/chunks/{tool-d8q39vv3.js → credential-05ffq7ws.js} +9 -9
  11. package/dist/chunks/{tool-yvy73jwh.js → credential-05jaqbfy.js} +17 -17
  12. package/dist/chunks/{tool-xnap109e.js → credential-089q26yp.js} +18 -18
  13. package/dist/chunks/{tool-h47mvjjj.js → credential-0hch6svz.js} +28 -28
  14. package/dist/chunks/{tool-622ah2gs.js → credential-0m29xn9k.js} +26 -26
  15. package/dist/chunks/{tool-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{tool-0q0f95c6.js → credential-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{tool-2aqbs40b.js → credential-0wd4jbpn.js} +11 -11
  18. package/dist/chunks/{tool-y4xwrefb.js → credential-10w8kkbh.js} +31 -31
  19. package/dist/chunks/{tool-6f5kdbjb.js → credential-1319r755.js} +32 -32
  20. package/dist/chunks/{tool-phwjyq2h.js → credential-1398rwbr.js} +33 -33
  21. package/dist/chunks/{tool-3r7whzgv.js → credential-13p69r1g.js} +7 -7
  22. package/dist/chunks/{tool-kf91f419.js → credential-1b74es1f.js} +16 -16
  23. package/dist/chunks/{tool-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{tool-0hpxrkyb.js → credential-1dfhrqqs.js} +5 -5
  25. package/dist/chunks/{tool-2mnagb0e.js → credential-1h4ktfcf.js} +5 -5
  26. package/dist/chunks/{tool-7ebn0nc0.js → credential-1nzs1dt7.js} +6 -6
  27. package/dist/chunks/{tool-56gdpj1q.js → credential-1ygqh575.js} +9 -9
  28. package/dist/chunks/{tool-p6rs3vpq.js → credential-21a5jk7k.js} +14 -14
  29. package/dist/chunks/{tool-21r38tys.js → credential-21r38tys.js} +1 -1
  30. package/dist/chunks/{tool-y0wsg1r3.js → credential-26pye05k.js} +7 -7
  31. package/dist/chunks/{tool-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{tool-0z93v4jy.js → credential-2feh4c3v.js} +18 -18
  33. package/dist/chunks/{tool-px9gxtsw.js → credential-2nycvdb8.js} +33 -33
  34. package/dist/chunks/{tool-dex3nr62.js → credential-33kgjfz5.js} +85 -85
  35. package/dist/chunks/{tool-ra3gq1k7.js → credential-34jgwge8.js} +9 -9
  36. package/dist/chunks/{tool-7rzn7488.js → credential-3batxdes.js} +45 -45
  37. package/dist/chunks/{tool-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{tool-gjsj0zqz.js → credential-3g58nq9n.js} +167 -167
  39. package/dist/chunks/{tool-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{tool-81swgkk7.js → credential-3nxb9rvh.js} +9 -9
  41. package/dist/chunks/{tool-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{tool-100kzw8g.js → credential-3sqtj86k.js} +41 -41
  43. package/dist/chunks/{tool-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{tool-f9qak17s.js → credential-4e4ycstq.js} +10 -10
  45. package/dist/chunks/{tool-g0aj3r5p.js → credential-4eb3ngbp.js} +6 -6
  46. package/dist/chunks/{tool-e67ygrb5.js → credential-4f4r2056.js} +16 -16
  47. package/dist/chunks/{tool-r1q74f54.js → credential-4j4j6b7c.js} +24 -24
  48. package/dist/chunks/{tool-amegs12p.js → credential-4naz9raq.js} +9 -9
  49. package/dist/chunks/{tool-stbptvy9.js → credential-4p7g3wg8.js} +26 -26
  50. package/dist/chunks/{tool-xt6vqbst.js → credential-4sdp0m6c.js} +37 -37
  51. package/dist/chunks/credential-4vjscmnp.js +247 -0
  52. package/dist/chunks/{tool-dhhdcexn.js → credential-4xe4npvy.js} +16 -16
  53. package/dist/chunks/{tool-vmshp960.js → credential-58jet3bj.js} +24 -24
  54. package/dist/chunks/{tool-5daktx2q.js → credential-5daktx2q.js} +1 -1
  55. package/dist/chunks/{tool-jpchzm8t.js → credential-5dsh741q.js} +16 -16
  56. package/dist/chunks/{tool-32xz9ffh.js → credential-5jjjy8t8.js} +11 -11
  57. package/dist/chunks/{tool-g5zf0djh.js → credential-5kzc33a4.js} +1 -1
  58. package/dist/chunks/{tool-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{tool-ktazsj8x.js → credential-5z248baa.js} +8 -8
  60. package/dist/chunks/{tool-5bnvv0fb.js → credential-6640nxyp.js} +18 -18
  61. package/dist/chunks/{tool-669tq793.js → credential-669tq793.js} +1 -1
  62. package/dist/chunks/{tool-2402vzrj.js → credential-6h73sxmp.js} +5 -5
  63. package/dist/chunks/{tool-sq27dbnb.js → credential-6k8padng.js} +9 -9
  64. package/dist/chunks/{tool-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{tool-08xgehk5.js → credential-6rm0dwms.js} +4 -4
  66. package/dist/chunks/{tool-71q4at8m.js → credential-71q4at8m.js} +1 -1
  67. package/dist/chunks/{tool-knvy7wqf.js → credential-7b5mp5c8.js} +15 -15
  68. package/dist/chunks/{tool-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{tool-4hnvk1d0.js → credential-7fy1mpjh.js} +20 -20
  70. package/dist/chunks/{tool-zxhfgthz.js → credential-7g3h93b8.js} +17 -17
  71. package/dist/chunks/{tool-jp8xd6mf.js → credential-7hdna1a1.js} +14 -14
  72. package/dist/chunks/{tool-gj7hk09m.js → credential-7rr0m4bs.js} +26 -26
  73. package/dist/chunks/{tool-0xf6t1bc.js → credential-7vqdbxhf.js} +13 -13
  74. package/dist/chunks/{tool-1c2q116c.js → credential-7vx5fws8.js} +17 -17
  75. package/dist/chunks/{tool-72cm32h1.js → credential-83jbspt8.js} +6 -6
  76. package/dist/chunks/{tool-cmwkp3r5.js → credential-844ef7ks.js} +4 -4
  77. package/dist/chunks/{tool-tcezcvh9.js → credential-89znhe33.js} +4 -4
  78. package/dist/chunks/{tool-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
  79. package/dist/chunks/{tool-00gnxv30.js → credential-8f79ekhe.js} +17 -17
  80. package/dist/chunks/{tool-1kh06mg4.js → credential-8gcdc49z.js} +5 -5
  81. package/dist/chunks/{tool-dj2t23y0.js → credential-8p4f9s12.js} +2 -2
  82. package/dist/chunks/{tool-f249p1w2.js → credential-8r1kcnkf.js} +11 -11
  83. package/dist/chunks/{tool-0msc39tg.js → credential-8tzm5kpv.js} +14 -14
  84. package/dist/chunks/{tool-dbnvakxz.js → credential-8w44pm91.js} +2 -2
  85. package/dist/chunks/{tool-nqz62vb6.js → credential-966c8cap.js} +23 -23
  86. package/dist/chunks/{tool-1jwdep4c.js → credential-9c1g789v.js} +9 -9
  87. package/dist/chunks/{tool-j7wq2tw5.js → credential-9m3dk78v.js} +3 -3
  88. package/dist/chunks/{tool-5c4hm403.js → credential-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{tool-fw7ks5z6.js → credential-a5drzcdb.js} +16 -16
  90. package/dist/chunks/{tool-s8j6jbjj.js → credential-a8bn8zg0.js} +21 -21
  91. package/dist/chunks/{tool-aaet6srn.js → credential-aaet6srn.js} +2 -2
  92. package/dist/chunks/{tool-ywhnyrnh.js → credential-af3pq8fz.js} +5 -5
  93. package/dist/chunks/{tool-s006vazc.js → credential-aqapmjqb.js} +10 -10
  94. package/dist/chunks/{tool-bnweey00.js → credential-aqsvh3mt.js} +4 -4
  95. package/dist/chunks/{tool-ysd4x4y5.js → credential-ay8ez75v.js} +32 -32
  96. package/dist/chunks/{tool-v0ekqx65.js → credential-ayzmjt8w.js} +37 -37
  97. package/dist/chunks/{tool-qyyanj0n.js → credential-b15px6y4.js} +19 -19
  98. package/dist/chunks/{tool-859kcgs2.js → credential-b191y2av.js} +3 -3
  99. package/dist/chunks/{tool-638f9gty.js → credential-b1xevyg4.js} +22 -22
  100. package/dist/chunks/{tool-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{tool-dw8c19qb.js → credential-b8q0kteq.js} +4 -4
  102. package/dist/chunks/{tool-fab8hzt3.js → credential-bajakh74.js} +4 -4
  103. package/dist/chunks/{tool-rmm45jmv.js → credential-bgs9y14h.js} +5 -5
  104. package/dist/chunks/{tool-a1pcbmkx.js → credential-bpgg8zv2.js} +16 -16
  105. package/dist/chunks/{tool-jw7c8f1w.js → credential-bsmwhs5j.js} +13 -13
  106. package/dist/chunks/{tool-cfxak8gp.js → credential-bzrne2cf.js} +27 -27
  107. package/dist/chunks/{tool-fjvydvzm.js → credential-c576t1j6.js} +5 -5
  108. package/dist/chunks/{tool-qzkdxd86.js → credential-c9v3njsq.js} +6 -6
  109. package/dist/chunks/{tool-xdepe7a5.js → credential-cbtntvbe.js} +10 -10
  110. package/dist/chunks/{tool-m0jqrx5p.js → credential-cfpkc3c9.js} +2 -2
  111. package/dist/chunks/{tool-wpm2rk0p.js → credential-ck0ahkdp.js} +6 -6
  112. package/dist/chunks/{tool-vz6rz0af.js → credential-crkg5x17.js} +20 -20
  113. package/dist/chunks/{tool-ptq11xx0.js → credential-cvs5r53p.js} +6 -6
  114. package/dist/chunks/{tool-bgmt3wra.js → credential-cw7k1zn0.js} +28 -28
  115. package/dist/chunks/{tool-q2027nw7.js → credential-cwmq7ztw.js} +1 -1
  116. package/dist/chunks/{tool-7gvwkz6m.js → credential-d2aac7k2.js} +5 -5
  117. package/dist/chunks/{tool-qaed280k.js → credential-dda3kyyb.js} +11 -11
  118. package/dist/chunks/{tool-ag9w8cw1.js → credential-dj9sq318.js} +5 -5
  119. package/dist/chunks/{tool-tb8rp2yt.js → credential-djgrr753.js} +27 -27
  120. package/dist/chunks/{tool-qek8dtx8.js → credential-dkgmj00c.js} +15 -15
  121. package/dist/chunks/{tool-2gm42vdj.js → credential-dnanfhkd.js} +15 -15
  122. package/dist/chunks/{tool-y71avatq.js → credential-dpkg50ah.js} +4 -4
  123. package/dist/chunks/{tool-zad871sr.js → credential-drxtvntd.js} +1 -1
  124. package/dist/chunks/{tool-13tvcsgk.js → credential-dsgca7mb.js} +11 -11
  125. package/dist/chunks/{tool-50wkfpjr.js → credential-dtrk9gzb.js} +24 -24
  126. package/dist/chunks/{tool-zncx7357.js → credential-dy52c8h1.js} +15 -15
  127. package/dist/chunks/{tool-d5pcg4sb.js → credential-e4f8tf4k.js} +65 -65
  128. package/dist/chunks/{tool-vmq7ehpy.js → credential-e6hmchc5.js} +5 -5
  129. package/dist/chunks/{tool-hjt4xg1x.js → credential-e82z9tr0.js} +7 -7
  130. package/dist/chunks/{tool-49hrpkdk.js → credential-e9cy62py.js} +4 -4
  131. package/dist/chunks/{tool-hvcjdrj2.js → credential-ed29z705.js} +4 -4
  132. package/dist/chunks/{tool-45zx1ce8.js → credential-eddgwn1r.js} +22 -22
  133. package/dist/chunks/{tool-kzx8z335.js → credential-ejv06xv9.js} +56 -56
  134. package/dist/chunks/{tool-ca9nbgzj.js → credential-ekab52cg.js} +9 -9
  135. package/dist/chunks/{tool-vycpdhb1.js → credential-enjtf4g5.js} +29 -29
  136. package/dist/chunks/{tool-cgfvzygb.js → credential-er05gb0t.js} +19 -19
  137. package/dist/chunks/{tool-2k8khapm.js → credential-esafk7q3.js} +5 -5
  138. package/dist/chunks/{tool-910hnegs.js → credential-essb66p0.js} +26 -26
  139. package/dist/chunks/{tool-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{tool-3a9e8ct5.js → credential-ewhzqcma.js} +7 -7
  141. package/dist/chunks/{tool-0996nyz8.js → credential-f7ehr2sm.js} +5 -5
  142. package/dist/chunks/{tool-hdnk95c8.js → credential-f828m53h.js} +2 -2
  143. package/dist/chunks/{tool-pwk28ted.js → credential-ff6j3eyt.js} +13 -13
  144. package/dist/chunks/{tool-wbyq7e0t.js → credential-ffnezcy6.js} +46 -46
  145. package/dist/chunks/{tool-r86gmde5.js → credential-fvn9gckt.js} +24 -24
  146. package/dist/chunks/{tool-n6pkm576.js → credential-fwr271s3.js} +24 -24
  147. package/dist/chunks/{tool-fxbjtjnd.js → credential-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{tool-m8gmjx38.js → credential-gb33nbqp.js} +41 -41
  149. package/dist/chunks/{tool-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{tool-4faz70f1.js → credential-gsdcmbmr.js} +57 -57
  151. package/dist/chunks/{tool-pnv527nz.js → credential-gsx0ryk4.js} +8 -8
  152. package/dist/chunks/{tool-h03wrkyp.js → credential-h03wrkyp.js} +2 -2
  153. package/dist/chunks/{tool-s73q3448.js → credential-h2j3v1fy.js} +295 -295
  154. package/dist/chunks/{tool-n17rpw7s.js → credential-h4e6gkjy.js} +11 -11
  155. package/dist/chunks/{tool-p6604nm9.js → credential-h4j6qtac.js} +12 -12
  156. package/dist/chunks/{tool-fsn1dw54.js → credential-h54g1dhn.js} +5 -5
  157. package/dist/chunks/{tool-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{tool-2zk4ah9y.js → credential-hczynf47.js} +9 -9
  159. package/dist/chunks/{tool-vfpkabdf.js → credential-hq4namph.js} +13 -13
  160. package/dist/chunks/{tool-pjmc1jwj.js → credential-hrm8y51b.js} +29 -29
  161. package/dist/chunks/{tool-vyqwgby1.js → credential-hv14eds1.js} +9 -9
  162. package/dist/chunks/{tool-d9sn21bc.js → credential-hyd8y20x.js} +2 -2
  163. package/dist/chunks/{tool-ezs43bsy.js → credential-j4xyrz15.js} +17 -17
  164. package/dist/chunks/{tool-j56e64zr.js → credential-j56e64zr.js} +1 -1
  165. package/dist/chunks/{tool-89h3bp38.js → credential-j5eg37j2.js} +23 -23
  166. package/dist/chunks/{tool-t0jgeayb.js → credential-jaevav1w.js} +13 -13
  167. package/dist/chunks/{tool-j9tvrbwe.js → credential-jd8xsdb7.js} +20 -20
  168. package/dist/chunks/{tool-xanzpgaf.js → credential-jkw62c4x.js} +21 -21
  169. package/dist/chunks/{tool-9aqmr64f.js → credential-jpreg3hv.js} +5 -5
  170. package/dist/chunks/{tool-yyxs5174.js → credential-k0ncd55s.js} +8 -8
  171. package/dist/chunks/{tool-3zb9t6gq.js → credential-k8mz02ds.js} +36 -36
  172. package/dist/chunks/{tool-kg06axw8.js → credential-kg06axw8.js} +1 -1
  173. package/dist/chunks/{tool-4jad23kz.js → credential-kg7hpk6b.js} +20 -20
  174. package/dist/chunks/{tool-z9x25qgp.js → credential-kkxyzwpq.js} +18 -18
  175. package/dist/chunks/{tool-xz0aj5bv.js → credential-kxcd42x8.js} +36 -36
  176. package/dist/chunks/{tool-7f3sjtrh.js → credential-kyfddjrj.js} +1 -1
  177. package/dist/chunks/{tool-ce8ketvm.js → credential-m4455s3y.js} +26 -26
  178. package/dist/chunks/{tool-p514mdqe.js → credential-m4r2ec35.js} +25 -25
  179. package/dist/chunks/{tool-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{tool-qfv804ab.js → credential-mb942295.js} +6 -6
  181. package/dist/chunks/{tool-1famk9p6.js → credential-mgpvk6q1.js} +17 -17
  182. package/dist/chunks/{tool-mvfsc1pv.js → credential-mhkvc446.js} +3 -3
  183. package/dist/chunks/{tool-nnxzqqg8.js → credential-mjanhrey.js} +15 -15
  184. package/dist/chunks/{tool-mkcjrzeh.js → credential-mkcjrzeh.js} +1 -1
  185. package/dist/chunks/{tool-22m95qs7.js → credential-msq0jde0.js} +4 -4
  186. package/dist/chunks/{tool-01797ny4.js → credential-mxcvjysz.js} +12 -12
  187. package/dist/chunks/{tool-vv3eqyfe.js → credential-n3yewg4x.js} +8 -8
  188. package/dist/chunks/{tool-h1dazz20.js → credential-n5650byf.js} +15 -15
  189. package/dist/chunks/{tool-99exew75.js → credential-nqnvy2d4.js} +47 -47
  190. package/dist/chunks/{tool-kk8fq19e.js → credential-p0p6txpm.js} +20 -20
  191. package/dist/chunks/{tool-8ypn74s0.js → credential-p33ejz0k.js} +1 -1
  192. package/dist/chunks/{tool-pe0c0z4r.js → credential-p9tm0mrs.js} +12 -12
  193. package/dist/chunks/{tool-j935v87r.js → credential-paphc93g.js} +2 -2
  194. package/dist/chunks/{tool-50kt3f8y.js → credential-pefy2fys.js} +4 -4
  195. package/dist/chunks/{tool-31v57ene.js → credential-pg4ttegr.js} +32 -32
  196. package/dist/chunks/{tool-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{tool-pknna89w.js → credential-pknna89w.js} +1 -1
  198. package/dist/chunks/{tool-m2krvp2x.js → credential-pny7yx7d.js} +13 -13
  199. package/dist/chunks/{tool-z1pfg6df.js → credential-prhyc2hv.js} +1 -1
  200. package/dist/chunks/{tool-2a4f6v5q.js → credential-pw9v3g6d.js} +5 -5
  201. package/dist/chunks/{tool-rsv3dyxs.js → credential-q2ytqwwa.js} +14 -14
  202. package/dist/chunks/{tool-wdn3ce2t.js → credential-q312td4y.js} +18 -18
  203. package/dist/chunks/{tool-yc73ry1q.js → credential-q3mrh7hn.js} +6 -6
  204. package/dist/chunks/{tool-mfvn5m8d.js → credential-q567r7t6.js} +8 -8
  205. package/dist/chunks/{tool-6m8y77r5.js → credential-q928s5sj.js} +8 -8
  206. package/dist/chunks/{tool-9hv8phah.js → credential-qaf3yvw3.js} +16 -16
  207. package/dist/chunks/credential-qdyb70sk.js +18 -0
  208. package/dist/chunks/{tool-jfpzywp2.js → credential-qhbg58t9.js} +6 -6
  209. package/dist/chunks/{tool-1hgt76pw.js → credential-qjhwvxvx.js} +16 -16
  210. package/dist/chunks/{tool-egp6178n.js → credential-qnkzwnkk.js} +6 -6
  211. package/dist/chunks/{tool-f65fprkq.js → credential-qrxqsn15.js} +20 -20
  212. package/dist/chunks/{tool-qsdy395h.js → credential-qsdy395h.js} +1 -1
  213. package/dist/chunks/{tool-tx1kta8e.js → credential-qtnnx2m7.js} +36 -36
  214. package/dist/chunks/{tool-ws5qfxv9.js → credential-r7cr63pb.js} +9 -9
  215. package/dist/chunks/{tool-c3er4f98.js → credential-r8d99g81.js} +18 -18
  216. package/dist/chunks/{tool-a46v4e4v.js → credential-ratrq7cm.js} +4 -4
  217. package/dist/chunks/{tool-6y4tgg16.js → credential-rce8n207.js} +28 -28
  218. package/dist/chunks/{tool-5aa4zf44.js → credential-rfhr4evy.js} +24 -24
  219. package/dist/chunks/{tool-937nxygj.js → credential-rfs6vkg6.js} +8 -8
  220. package/dist/chunks/{tool-w3k36hrr.js → credential-rnnysrbx.js} +3 -3
  221. package/dist/chunks/{tool-pc5wdgkb.js → credential-rxpr5tzb.js} +11 -11
  222. package/dist/chunks/{tool-8t1wrec1.js → credential-rzs3gq0x.js} +8 -8
  223. package/dist/chunks/{tool-8xv0fcmg.js → credential-s1y2e255.js} +40 -40
  224. package/dist/chunks/{tool-sj71rkrx.js → credential-s7zpjck1.js} +11 -11
  225. package/dist/chunks/{tool-hwe7x4em.js → credential-s90d8d6b.js} +6 -6
  226. package/dist/chunks/{tool-n6arc57m.js → credential-sc5zwnjf.js} +7 -7
  227. package/dist/chunks/{tool-d8nc1xcx.js → credential-shh6fz4q.js} +4 -4
  228. package/dist/chunks/{tool-myeama09.js → credential-snndsnj2.js} +46 -46
  229. package/dist/chunks/{tool-t7yz8ad7.js → credential-st6cv0zf.js} +41 -41
  230. package/dist/chunks/{tool-qjqdk9x8.js → credential-svntbjgt.js} +25 -25
  231. package/dist/chunks/{tool-gfqzzqy5.js → credential-t0x5rdq8.js} +9 -9
  232. package/dist/chunks/{tool-rhjbct0v.js → credential-t550f9t1.js} +4 -4
  233. package/dist/chunks/{tool-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{tool-tdstcens.js → credential-tdstcens.js} +1 -1
  235. package/dist/chunks/{tool-gv6a8nnw.js → credential-th5km1p3.js} +5 -5
  236. package/dist/chunks/{tool-g83yhva0.js → credential-tksm74b3.js} +27 -27
  237. package/dist/chunks/{tool-yxz14c3m.js → credential-tq9yxfd0.js} +50 -50
  238. package/dist/chunks/{tool-41e240wd.js → credential-trt7jtkk.js} +11 -11
  239. package/dist/chunks/{tool-83n1dzne.js → credential-tscy7q8w.js} +28 -28
  240. package/dist/chunks/{tool-tvtrv512.js → credential-tvtrv512.js} +1 -1
  241. package/dist/chunks/credential-tw6y6bmq.js +22 -0
  242. package/dist/chunks/{tool-y0qtjk0t.js → credential-txc11aqg.js} +11 -11
  243. package/dist/chunks/{tool-gc2r3arx.js → credential-tzar2m42.js} +89 -89
  244. package/dist/chunks/{tool-q8rarcde.js → credential-v1szd0f8.js} +26 -26
  245. package/dist/chunks/{tool-s0haq3v3.js → credential-v5tz0txx.js} +32 -32
  246. package/dist/chunks/{tool-3r6vp6xx.js → credential-v8tn9yq8.js} +10 -10
  247. package/dist/chunks/{tool-veqvce7d.js → credential-veqvce7d.js} +1 -1
  248. package/dist/chunks/{tool-pqkb2z9p.js → credential-vmar8n8n.js} +15 -15
  249. package/dist/chunks/{tool-ve4pfa0n.js → credential-vncycja5.js} +4 -4
  250. package/dist/chunks/{tool-4rggjvr2.js → credential-vnn0ngfa.js} +9 -9
  251. package/dist/chunks/{tool-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{tool-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{tool-7k1k30bt.js → credential-w5837gkz.js} +1 -1
  254. package/dist/chunks/{tool-br0bxb5z.js → credential-wb9vn7gc.js} +3 -3
  255. package/dist/chunks/{tool-wd87259q.js → credential-wd87259q.js} +1 -1
  256. package/dist/chunks/{tool-sxnp3vqk.js → credential-wm06yq12.js} +25 -25
  257. package/dist/chunks/{tool-7j9rtswg.js → credential-wq4tenhy.js} +11 -11
  258. package/dist/chunks/{tool-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{tool-x43y2vfs.js → credential-x43y2vfs.js} +2 -2
  260. package/dist/chunks/{tool-62gm3akr.js → credential-x92tzhpc.js} +14 -14
  261. package/dist/chunks/{tool-e8ge1rnk.js → credential-x9nmc2sn.js} +1 -1
  262. package/dist/chunks/{tool-6ppc03cv.js → credential-xmhy143a.js} +6 -6
  263. package/dist/chunks/{tool-zcrspsvn.js → credential-xw0r27ex.js} +4 -4
  264. package/dist/chunks/{tool-q5qadqqc.js → credential-xwrmknpr.js} +4 -4
  265. package/dist/chunks/{tool-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{tool-2ft9rrby.js → credential-y2vjxt4h.js} +9 -9
  267. package/dist/chunks/{tool-jmm88pvs.js → credential-y7x142mt.js} +11 -11
  268. package/dist/chunks/{tool-39etbsth.js → credential-ybjz3e3p.js} +2 -2
  269. package/dist/chunks/{tool-j9eppgdd.js → credential-yc60x9p4.js} +15 -15
  270. package/dist/chunks/{tool-jwcaj6se.js → credential-yckq38a0.js} +22 -22
  271. package/dist/chunks/{tool-wk58jv74.js → credential-yjqv8qmq.js} +10 -10
  272. package/dist/chunks/{tool-s6vet9p8.js → credential-yn5yksm3.js} +6 -6
  273. package/dist/chunks/{tool-yp2x3t23.js → credential-yp2x3t23.js} +1 -1
  274. package/dist/chunks/{tool-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{tool-s4enseaf.js → credential-yrznvahk.js} +2 -2
  276. package/dist/chunks/{tool-632pkhjb.js → credential-ywa477g8.js} +34 -34
  277. package/dist/chunks/{tool-d6bb4cvp.js → credential-yx2kztkn.js} +16 -16
  278. package/dist/chunks/{tool-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{tool-bv56xrks.js → credential-z1f4gy9p.js} +8 -8
  280. package/dist/chunks/{tool-h30n9bbs.js → credential-z2ymbzcw.js} +20 -20
  281. package/dist/chunks/{tool-z03197zf.js → credential-z56nne8r.js} +35 -35
  282. package/dist/chunks/{tool-29x78va6.js → credential-z63w68vq.js} +6 -6
  283. package/dist/chunks/{tool-c4ypf6wq.js → credential-zcrvs66x.js} +21 -21
  284. package/dist/chunks/{tool-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{tool-6fyrr4w1.js → credential-zetb5yra.js} +4 -4
  286. package/dist/chunks/{tool-rda0t9vq.js → credential-zjmsgra3.js} +5 -5
  287. package/dist/chunks/{tool-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{tool-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +81 -81
  293. package/dist/config/discovery.js +79 -79
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +153 -153
  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 +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +117 -117
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +134 -134
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +81 -81
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +93 -93
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +81 -81
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +86 -86
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +69 -69
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +84 -84
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +103 -103
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +10 -10
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +86 -86
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +115 -115
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +72 -72
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +4 -4
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +85 -85
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +92 -92
  561. package/dist/reference/instructions.js +82 -82
  562. package/dist/reference.js +84 -84
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +93 -93
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +127 -127
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +148 -148
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +1 -1
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +5 -5
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +213 -213
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +9 -9
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +4 -4
  623. package/dist/skill/instructions.js +100 -100
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +86 -86
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +120 -120
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +100 -100
  637. package/dist/tool/plugin/read.js +119 -119
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +109 -109
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +15 -15
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  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 +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +83 -83
  675. package/dist/websearch.js +82 -82
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +4 -4
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/tool-dr8w6t5k.js +0 -22
  688. package/dist/chunks/tool-ms6fawk6.js +0 -247
  689. package/dist/chunks/tool-n95b3jav.js +0 -18
  690. /package/dist/chunks/{tool-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{tool-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{tool-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{tool-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{tool-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{tool-2710q6r3.js → credential-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{tool-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{tool-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{tool-359p4xyc.js → credential-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{tool-3asan66x.js → credential-3asan66x.js} +0 -0
  700. /package/dist/chunks/{tool-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{tool-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{tool-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{tool-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{tool-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{tool-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{tool-53557ph1.js → credential-53557ph1.js} +0 -0
  707. /package/dist/chunks/{tool-550bvhaj.js → credential-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{tool-6kdq0pjd.js → credential-6kdq0pjd.js} +0 -0
  709. /package/dist/chunks/{tool-6prwharc.js → credential-6prwharc.js} +0 -0
  710. /package/dist/chunks/{tool-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{tool-7m9af43g.js → credential-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{tool-822emrt2.js → credential-822emrt2.js} +0 -0
  713. /package/dist/chunks/{tool-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{tool-8n3pysct.js → credential-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{tool-922hggd3.js → credential-922hggd3.js} +0 -0
  716. /package/dist/chunks/{tool-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{tool-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{tool-a1tpkmh4.js → credential-a1tpkmh4.js} +0 -0
  719. /package/dist/chunks/{tool-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{tool-af5trqkr.js → credential-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{tool-afrmfg78.js → credential-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{tool-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{tool-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{tool-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{tool-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{tool-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{tool-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{tool-d9fn303g.js → credential-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{tool-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{tool-dajrwvna.js → credential-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{tool-dap0rakb.js → credential-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{tool-df08tz66.js → credential-df08tz66.js} +0 -0
  733. /package/dist/chunks/{tool-dy18nga0.js → credential-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{tool-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{tool-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{tool-ec1grn59.js → credential-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{tool-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{tool-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{tool-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{tool-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{tool-faypxj3z.js → credential-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{tool-fd410y7t.js → credential-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{tool-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
  744. /package/dist/chunks/{tool-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{tool-g86h250q.js → credential-g86h250q.js} +0 -0
  746. /package/dist/chunks/{tool-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{tool-gftt206x.js → credential-gftt206x.js} +0 -0
  748. /package/dist/chunks/{tool-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
  749. /package/dist/chunks/{tool-hk9envan.js → credential-hk9envan.js} +0 -0
  750. /package/dist/chunks/{tool-hrnqkpcd.js → credential-hrnqkpcd.js} +0 -0
  751. /package/dist/chunks/{tool-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{tool-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{tool-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{tool-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{tool-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{tool-mp448xyj.js → credential-mp448xyj.js} +0 -0
  757. /package/dist/chunks/{tool-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
  758. /package/dist/chunks/{tool-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
  759. /package/dist/chunks/{tool-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
  760. /package/dist/chunks/{tool-njntx4h6.js → credential-njntx4h6.js} +0 -0
  761. /package/dist/chunks/{tool-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{tool-q74kybfr.js → credential-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{tool-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{tool-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{tool-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{tool-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{tool-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{tool-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{tool-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{tool-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{tool-twg0f83k.js → credential-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{tool-w803qqfp.js → credential-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{tool-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{tool-wtztk69x.js → credential-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{tool-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{tool-x61499pn.js → credential-x61499pn.js} +0 -0
  777. /package/dist/chunks/{tool-y44na4kk.js → credential-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{tool-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{tool-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{tool-ym463w8f.js → credential-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{tool-z9919s4g.js → credential-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./tool-zxhfgthz.js";
2
+ Service73
3
+ } from "./credential-7g3h93b8.js";
4
4
  import {
5
- Service74
6
- } from "./tool-n6pkm576.js";
5
+ Service64
6
+ } from "./credential-fwr271s3.js";
7
7
  import {
8
- Service13,
8
+ Service46,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./tool-pwk28ted.js";
11
+ } from "./credential-ff6j3eyt.js";
12
12
  import {
13
- Service14
14
- } from "./tool-wdn3ce2t.js";
13
+ Service66
14
+ } from "./credential-q312td4y.js";
15
15
  import {
16
- Service56
17
- } from "./tool-4faz70f1.js";
16
+ Service53
17
+ } from "./credential-gsdcmbmr.js";
18
18
  import {
19
- Service16,
19
+ Service45,
20
20
  resolvePath2
21
- } from "./tool-c3er4f98.js";
21
+ } from "./credential-r8d99g81.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./tool-6prwharc.js";
24
+ } from "./credential-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./tool-9rqn6x4v.js";
27
+ } from "./credential-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output6,
35
- Plugin: () => Plugin10,
36
- name: () => name9
33
+ Input: () => Input10,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin40,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output6 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin10 = {
106
+ var Plugin40 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service16;
110
- const fileMutation = yield* Service13;
111
- const environment = yield* Service74;
112
- const formatter = yield* Service14;
113
- const location = yield* Service76;
114
- const permission = yield* Service56;
109
+ const access = yield* Service45;
110
+ const fileMutation = yield* Service46;
111
+ const environment = yield* Service64;
112
+ const formatter = yield* Service66;
113
+ const location = yield* Service73;
114
+ const permission = yield* Service53;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name10,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output6,
119
+ input: Input10,
120
+ output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin10 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output6, Plugin10, exports_edit };
197
+ export { name10, Input10, Output7, Plugin40, exports_edit };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./tool-hvcjdrj2.js";
4
+ } from "./credential-ed29z705.js";
5
5
  import {
6
- Service78,
7
- node83
8
- } from "./tool-wk58jv74.js";
6
+ Service75,
7
+ node80
8
+ } from "./credential-yjqv8qmq.js";
9
9
  import {
10
- Service76,
11
- node81
12
- } from "./tool-zxhfgthz.js";
10
+ Service73,
11
+ node78
12
+ } from "./credential-7g3h93b8.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./tool-n95b3jav.js";
15
+ } from "./credential-qdyb70sk.js";
16
16
  import {
17
- Service68,
18
- node72
19
- } from "./tool-50wkfpjr.js";
17
+ Service39,
18
+ node42
19
+ } from "./credential-dtrk9gzb.js";
20
20
  import {
21
- node22
22
- } from "./tool-dhhdcexn.js";
21
+ node16
22
+ } from "./credential-4xe4npvy.js";
23
23
  import {
24
- Service8,
25
- node10
26
- } from "./tool-gfqzzqy5.js";
24
+ Service12,
25
+ node15
26
+ } from "./credential-t0x5rdq8.js";
27
27
  import {
28
28
  __export
29
- } from "./tool-9rqn6x4v.js";
29
+ } from "./credential-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service11,
36
+ node: () => node14
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service68;
45
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
46
+ const location = yield* Service73;
47
+ const watcher = yield* Service39;
48
48
  const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
51
- const policy = yield* Service8;
50
+ const git = yield* Service75;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service11.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node14 = makeLocationNode({
106
+ service: Service11,
107
107
  layer,
108
- deps: [node72, FSUtil.node, node81, node83, node84, node22, node10]
108
+ deps: [node42, FSUtil.node, node78, node80, node84, node16, node15]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service11, node14, exports_location_watcher2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./tool-f0mxakyp.js";
3
+ } from "./credential-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./tool-w3wsvvr9.js";
6
+ } from "./credential-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./tool-7bmhse3q.js";
9
+ } from "./credential-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./tool-cf4snx6d.js";
12
+ } from "./credential-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./tool-822emrt2.js";
15
+ } from "./credential-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./tool-wd87259q.js";
18
+ } from "./credential-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./tool-m9w0rfyh.js";
21
+ } from "./credential-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service79
3
- } from "./tool-hvcjdrj2.js";
3
+ } from "./credential-ed29z705.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./tool-83n1dzne.js";
6
+ Event20
7
+ } from "./credential-tscy7q8w.js";
8
8
  import {
9
- ID5,
9
+ ID16,
10
10
  MethodID2
11
- } from "./tool-622ah2gs.js";
11
+ } from "./credential-0m29xn9k.js";
12
12
  import {
13
- ID14,
13
+ ID11,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./tool-jfpzywp2.js";
16
+ } from "./credential-qhbg58t9.js";
17
17
  import {
18
- ID3,
19
- Input13,
18
+ ID12,
19
+ Input14,
20
20
  Response2
21
- } from "./tool-nqz62vb6.js";
21
+ } from "./credential-966c8cap.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID3
35
+ providerID: ID12
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -53,7 +53,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
53
53
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
54
54
  function oauth(http) {
55
55
  return {
56
- integrationID: ID5.make("opencode"),
56
+ integrationID: ID16.make("opencode"),
57
57
  method: {
58
58
  id: methodID,
59
59
  type: "oauth",
@@ -119,7 +119,7 @@ var OpencodePlugin2 = define({
119
119
  catalog.provider.update(providerID, (provider) => {
120
120
  if (source && source.provider !== provider)
121
121
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
122
- provider.integrationID = ID5.make("opencode");
122
+ provider.integrationID = ID16.make("opencode");
123
123
  if (item.canonical !== undefined)
124
124
  provider.canonical = item.canonical;
125
125
  if (item.name !== undefined)
@@ -182,7 +182,7 @@ var OpencodePlugin2 = define({
182
182
  });
183
183
  }
184
184
  }
185
- const item = catalog.provider.get(ID14.opencode);
185
+ const item = catalog.provider.get(ID11.opencode);
186
186
  if (!item)
187
187
  return;
188
188
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -222,7 +222,7 @@ var OpencodePlugin2 = define({
222
222
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
223
223
  const token = credential.type === "oauth" ? credential.access : credential.key;
224
224
  const server = yield* normalizeServer(serverUrl(credential));
225
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
225
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
226
226
  query: input.query,
227
227
  providerID: descriptor.providerID
228
228
  }));
@@ -243,7 +243,7 @@ var OpencodePlugin2 = define({
243
243
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
244
244
  });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
246
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
248
248
  })
249
249
  });
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./tool-2a5m3afh.js";
5
+ } from "./credential-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./tool-9rqn6x4v.js";
8
+ } from "./credential-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./tool-gftt206x.js";
3
+ } from "./credential-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./credential-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -385,4 +385,4 @@ function update3(adapter, event) {
385
385
  return project(event);
386
386
  }
387
387
 
388
- export { update3, exports_message_updater };
388
+ export { update2, exports_message_updater };
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID14,
2
+ ID11,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./tool-jfpzywp2.js";
5
+ } from "./credential-qhbg58t9.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID14.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID11.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID14.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID11.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID14.googleVertex)
90
+ if (evt.model.providerID !== ID11.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry4,
11
- Info: () => Info24,
10
+ Entry: () => Entry2,
11
+ Info: () => Info16,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry4 = Schema.Union([
19
+ var Entry2 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info24 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
82
+ var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info24, exports_lsp };
84
+ export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info16, exports_lsp };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./tool-3v8g72cx.js";
3
+ } from "./credential-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./credential-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service53
3
- } from "./tool-ce8ketvm.js";
2
+ Service77
3
+ } from "./credential-m4455s3y.js";
4
4
  import {
5
- Service56
6
- } from "./tool-4faz70f1.js";
5
+ Service53
6
+ } from "./credential-gsdcmbmr.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./credential-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service53;
57
- const permission = yield* Service56;
56
+ const forms = yield* Service77;
57
+ const permission = yield* Service53;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./tool-jfpzywp2.js";
3
+ } from "./credential-qhbg58t9.js";
4
4
  import {
5
- Service51
6
- } from "./tool-p514mdqe.js";
5
+ Service60
6
+ } from "./credential-m4r2ec35.js";
7
7
  import {
8
- Service67
9
- } from "./tool-7rzn7488.js";
8
+ Service38
9
+ } from "./credential-3batxdes.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service51;
14
+ const catalog = yield* Service60;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service67);
16
+ const service = yield* Effect.serviceOption(Service38);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./credential-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};