@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,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./tool-2a5m3afh.js";
3
+ } from "./credential-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./tool-922hggd3.js";
6
+ } from "./credential-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./tool-zxhfgthz.js";
8
+ Service73
9
+ } from "./credential-7g3h93b8.js";
10
10
  import {
11
- Service74
12
- } from "./tool-n6pkm576.js";
11
+ Service64
12
+ } from "./credential-fwr271s3.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service26
16
- } from "./tool-0z93v4jy.js";
15
+ Service63
16
+ } from "./credential-2feh4c3v.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry2,
21
+ Entry4,
22
22
  Match2
23
- } from "./tool-g83yhva0.js";
23
+ } from "./credential-tksm74b3.js";
24
24
  import {
25
- Service56
26
- } from "./tool-4faz70f1.js";
25
+ Service53
26
+ } from "./credential-gsdcmbmr.js";
27
27
  import {
28
- Service16
29
- } from "./tool-c3er4f98.js";
28
+ Service45
29
+ } from "./credential-r8d99g81.js";
30
30
  import {
31
31
  __export
32
- } from "./tool-9rqn6x4v.js";
32
+ } from "./credential-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
39
- Output: () => Output3,
40
- Plugin: () => Plugin3,
41
- name: () => name3,
42
- toModelContent: () => toModelContent3
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin32,
41
+ name: () => name2,
42
+ toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input3 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output3 = Schema.Array(Match2);
69
- var toModelContent3 = (matches, truncated = false) => {
68
+ var Output2 = Schema.Array(Match2);
69
+ var toModelContent2 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin3 = {
86
+ var Plugin32 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service74;
90
- const ripgrep = yield* Service26;
91
- const location = yield* Service76;
92
- const access = yield* Service16;
93
- const permission = yield* Service56;
89
+ const environment = yield* Service64;
90
+ const ripgrep = yield* Service63;
91
+ const location = yield* Service73;
92
+ const access = yield* Service45;
93
+ const permission = yield* Service53;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
99
- output: Output3,
98
+ input: Input2,
99
+ output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin3 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry2.make({
139
+ entry: Entry4.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin3 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent3(result.matches.map((match) => ({
147
+ content: toModelContent2(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin3 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output3, toModelContent3, Plugin3, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin32, exports_grep };
@@ -0,0 +1,247 @@
1
+ import {
2
+ node59
3
+ } from "./credential-4j4j6b7c.js";
4
+ import {
5
+ node53
6
+ } from "./credential-0wd4jbpn.js";
7
+ import {
8
+ node82
9
+ } from "./credential-m4455s3y.js";
10
+ import {
11
+ node81
12
+ } from "./credential-0m29xn9k.js";
13
+ import {
14
+ node64
15
+ } from "./credential-m4r2ec35.js";
16
+ import {
17
+ node38
18
+ } from "./credential-jkw62c4x.js";
19
+ import {
20
+ node78,
21
+ boundNode2
22
+ } from "./credential-7g3h93b8.js";
23
+ import {
24
+ configured3,
25
+ node41
26
+ } from "./credential-3batxdes.js";
27
+ import {
28
+ node68
29
+ } from "./credential-fwr271s3.js";
30
+ import {
31
+ node49
32
+ } from "./credential-ff6j3eyt.js";
33
+ import {
34
+ node71
35
+ } from "./credential-q312td4y.js";
36
+ import {
37
+ node66
38
+ } from "./credential-ay8ez75v.js";
39
+ import {
40
+ node65
41
+ } from "./credential-tksm74b3.js";
42
+ import {
43
+ node52
44
+ } from "./credential-3sqtj86k.js";
45
+ import {
46
+ node50
47
+ } from "./credential-wm06yq12.js";
48
+ import {
49
+ node45
50
+ } from "./credential-r7cr63pb.js";
51
+ import {
52
+ node30
53
+ } from "./credential-tq9yxfd0.js";
54
+ import {
55
+ Service31,
56
+ node34
57
+ } from "./credential-s90d8d6b.js";
58
+ import {
59
+ node22
60
+ } from "./credential-vmar8n8n.js";
61
+ import {
62
+ node60
63
+ } from "./credential-q928s5sj.js";
64
+ import {
65
+ node56
66
+ } from "./credential-gsdcmbmr.js";
67
+ import {
68
+ node33
69
+ } from "./credential-pny7yx7d.js";
70
+ import {
71
+ configured5,
72
+ node61
73
+ } from "./credential-b1xevyg4.js";
74
+ import {
75
+ node26
76
+ } from "./credential-a5drzcdb.js";
77
+ import {
78
+ node44
79
+ } from "./credential-svntbjgt.js";
80
+ import {
81
+ node29
82
+ } from "./credential-hrm8y51b.js";
83
+ import {
84
+ node36
85
+ } from "./credential-v1szd0f8.js";
86
+ import {
87
+ node27
88
+ } from "./credential-7b5mp5c8.js";
89
+ import {
90
+ node37
91
+ } from "./credential-eddgwn1r.js";
92
+ import {
93
+ node25
94
+ } from "./credential-7vx5fws8.js";
95
+ import {
96
+ node19
97
+ } from "./credential-tzar2m42.js";
98
+ import {
99
+ node77
100
+ } from "./credential-v5tz0txx.js";
101
+ import {
102
+ node73
103
+ } from "./credential-7vqdbxhf.js";
104
+ import {
105
+ node43
106
+ } from "./credential-mxcvjysz.js";
107
+ import {
108
+ node39
109
+ } from "./credential-nqnvy2d4.js";
110
+ import {
111
+ node76
112
+ } from "./credential-qrxqsn15.js";
113
+ import {
114
+ node17
115
+ } from "./credential-8f79ekhe.js";
116
+ import {
117
+ node74
118
+ } from "./credential-966c8cap.js";
119
+ import {
120
+ node51
121
+ } from "./credential-s1y2e255.js";
122
+ import {
123
+ node16
124
+ } from "./credential-4xe4npvy.js";
125
+ import {
126
+ node14
127
+ } from "./credential-1398rwbr.js";
128
+ import {
129
+ node48
130
+ } from "./credential-r8d99g81.js";
131
+ import {
132
+ node8,
133
+ bound2
134
+ } from "./credential-844ef7ks.js";
135
+ import {
136
+ node10
137
+ } from "./credential-fvn9gckt.js";
138
+ import {
139
+ node12
140
+ } from "./credential-er05gb0t.js";
141
+ import {
142
+ node13
143
+ } from "./credential-05jaqbfy.js";
144
+ import {
145
+ node5
146
+ } from "./credential-ywa477g8.js";
147
+ import {
148
+ node4
149
+ } from "./credential-7fy1mpjh.js";
150
+ import {
151
+ node55
152
+ } from "./credential-rce8n207.js";
153
+ import {
154
+ node3
155
+ } from "./credential-7rr0m4bs.js";
156
+ import {
157
+ node2
158
+ } from "./credential-e4f8tf4k.js";
159
+ import {
160
+ __export
161
+ } from "./credential-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service31,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node34
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node78,
177
+ node68,
178
+ node41,
179
+ node59,
180
+ node38,
181
+ node36,
182
+ node76,
183
+ node74,
184
+ node81,
185
+ node64,
186
+ node52,
187
+ node53,
188
+ node16,
189
+ node60,
190
+ node8,
191
+ node5,
192
+ node4,
193
+ node51,
194
+ node66,
195
+ node65,
196
+ node73,
197
+ node55,
198
+ node39,
199
+ node37,
200
+ node26,
201
+ node61,
202
+ node48,
203
+ node49,
204
+ node71,
205
+ node30,
206
+ node56,
207
+ node44,
208
+ node43,
209
+ node45,
210
+ node25,
211
+ node27,
212
+ node22,
213
+ node82,
214
+ node50,
215
+ node13,
216
+ node29,
217
+ node12,
218
+ node33,
219
+ node10,
220
+ node3,
221
+ node19,
222
+ node77,
223
+ node2,
224
+ node17,
225
+ node14
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node41.replace(configured3({ project: false, global: false })),
230
+ node61.replace(configured5({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node78.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node8.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service79
3
- } from "./tool-hvcjdrj2.js";
3
+ } from "./credential-ed29z705.js";
4
4
  import {
5
5
  Service70
6
- } from "./tool-egp6178n.js";
6
+ } from "./credential-qnkzwnkk.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./tool-kg06axw8.js";
12
+ } from "./credential-kg06axw8.js";
13
13
  import {
14
- Service39,
14
+ Service18,
15
15
  awaitActivation2
16
- } from "./tool-n95b3jav.js";
16
+ } from "./credential-qdyb70sk.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./tool-gjsj0zqz.js";
21
+ } from "./credential-3g58nq9n.js";
22
22
  import {
23
23
  __export
24
- } from "./tool-9rqn6x4v.js";
24
+ } from "./credential-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event4,
29
+ Event: () => Event2,
30
30
  ID: () => ID2,
31
31
  Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service39,
33
+ Service: () => Service18,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node22
37
+ node: () => node16
38
38
  });
39
- import { Event as Event4, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service39, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
44
44
  const bus = yield* Service79;
45
45
  const kv = yield* Service70;
46
46
  const scope = yield* Scope.make();
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service39.of({
208
+ return Service18.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node22 = Node.makeLocationNode({
226
- service: Service39,
225
+ var node16 = Node.makeLocationNode({
226
+ service: Service18,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node22, exports_plugin2, Event4, ID2, Info2, Source2, State2 };
231
+ export { node16, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./tool-922hggd3.js";
3
+ } from "./credential-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./tool-s8j6jbjj.js";
6
+ } from "./credential-a8bn8zg0.js";
7
7
  import {
8
- Info23
9
- } from "./tool-jmm88pvs.js";
8
+ Info10
9
+ } from "./credential-y7x142mt.js";
10
10
  import {
11
- Info22
12
- } from "./tool-ag9w8cw1.js";
11
+ Info11
12
+ } from "./credential-dj9sq318.js";
13
13
  import {
14
- Info20
15
- } from "./tool-a46v4e4v.js";
14
+ Info15
15
+ } from "./credential-ratrq7cm.js";
16
16
  import {
17
- Info19
18
- } from "./tool-7gvwkz6m.js";
17
+ Info18
18
+ } from "./credential-d2aac7k2.js";
19
19
  import {
20
20
  Spec2
21
- } from "./tool-2k8khapm.js";
21
+ } from "./credential-esafk7q3.js";
22
22
  import {
23
- Info21
24
- } from "./tool-vmq7ehpy.js";
23
+ Info13
24
+ } from "./credential-e6hmchc5.js";
25
25
  import {
26
- Info16
27
- } from "./tool-m8gmjx38.js";
26
+ Info9
27
+ } from "./credential-gb33nbqp.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./tool-dw8c19qb.js";
36
+ } from "./credential-b8q0kteq.js";
37
37
  import {
38
38
  __export
39
- } from "./tool-9rqn6x4v.js";
39
+ } from "./credential-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info11, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info20, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info23, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info23, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info19, value, path, diagnostics);
228
+ const server = decodeValue(Info18, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info21, raw, path, diagnostics);
424
+ const provider = decodeValue(Info13, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -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/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-32xz9ffh.js";
3
+ } from "./credential-5jjjy8t8.js";
4
4
  import {
5
5
  Service79
6
- } from "./tool-hvcjdrj2.js";
6
+ } from "./credential-ed29z705.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./tool-83n1dzne.js";
9
+ Event20
10
+ } from "./credential-tscy7q8w.js";
11
11
  import {
12
- ID5,
12
+ ID16,
13
13
  MethodID2
14
- } from "./tool-622ah2gs.js";
14
+ } from "./credential-0m29xn9k.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./tool-pjvnvgmy.js";
18
+ } from "./credential-pjvnvgmy.js";
19
19
  import {
20
- ID14,
20
+ ID11,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./tool-jfpzywp2.js";
23
+ } from "./credential-qhbg58t9.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID5.make("openai"),
47
+ integrationID: ID16.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID5.make("openai"),
120
+ integrationID: ID16.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,7 +159,7 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin2 = define({
162
+ var OpenAIPlugin3 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
165
  const bus = yield* Service79;
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID14.openai);
181
+ const item = evt.provider.get(ID11.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -221,9 +221,9 @@ var OpenAIPlugin2 = define({
221
221
  evt.baseURL = codexBaseURL;
222
222
  evt.headers.originator = "opencode";
223
223
  evt.headers["session-id"] = evt.sessionID;
224
- }), { providerID: ID14.openai });
224
+ }), { providerID: ID11.openai });
225
225
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
226
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
227
227
  })
228
228
  });
229
229
  function headers(contentType, app) {
@@ -314,4 +314,4 @@ function claim(token) {
314
314
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
315
315
  }
316
316
 
317
- export { OpenAIPlugin2 };
317
+ export { OpenAIPlugin3 };