@opencode-ai/core 0.0.0-dev-19194 → 0.0.0-dev-19196

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 (777) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  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 +71 -71
  7. package/dist/catalog.js +83 -82
  8. package/dist/chunks/{permission-zcdkhb99.js → shell-00pcw284.js} +15 -15
  9. package/dist/chunks/{permission-1epdwr0s.js → shell-037vejbr.js} +18 -18
  10. package/dist/chunks/{permission-zxqn6njn.js → shell-04pvrnvk.js} +33 -33
  11. package/dist/chunks/{permission-npw9qs6v.js → shell-05mkz72h.js} +28 -28
  12. package/dist/chunks/{permission-1c2kc3me.js → shell-06337yqs.js} +5 -5
  13. package/dist/chunks/{permission-mvq70mme.js → shell-08gqv4wh.js} +29 -29
  14. package/dist/chunks/{permission-11tw25g0.js → shell-0ar19swb.js} +4 -4
  15. package/dist/chunks/{permission-0e0xafbb.js → shell-0e0xafbb.js} +2 -2
  16. package/dist/chunks/{permission-rph3zd4r.js → shell-0gaj4617.js} +6 -6
  17. package/dist/chunks/{permission-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
  18. package/dist/chunks/shell-0q0f95c6.js +37 -0
  19. package/dist/chunks/{permission-drfs6y29.js → shell-0qkbcjwh.js} +13 -13
  20. package/dist/chunks/{permission-0s9ayhjt.js → shell-0s9ayhjt.js} +1 -1
  21. package/dist/chunks/{permission-06g9tmzq.js → shell-0xzew176.js} +51 -51
  22. package/dist/chunks/{permission-x5996nqq.js → shell-14s8ve6g.js} +1 -1
  23. package/dist/chunks/{permission-jtgqb2ba.js → shell-1a5eqtf0.js} +29 -29
  24. package/dist/chunks/{permission-1ct4r87x.js → shell-1ct4r87x.js} +1 -1
  25. package/dist/chunks/{permission-d83vdxpb.js → shell-1kmw8bw9.js} +8 -8
  26. package/dist/chunks/{permission-0rh3kdcc.js → shell-1mrma768.js} +5 -5
  27. package/dist/chunks/{permission-9d4vrqc0.js → shell-1n116cmy.js} +9 -9
  28. package/dist/chunks/{permission-rwbzb0j9.js → shell-1s3v4p4d.js} +21 -21
  29. package/dist/chunks/{permission-86wx1ee5.js → shell-1sfe7ky6.js} +5 -5
  30. package/dist/chunks/{permission-90dkb0a5.js → shell-1xtfawcg.js} +32 -32
  31. package/dist/chunks/{permission-s8ds8jcd.js → shell-21ahhajh.js} +4 -4
  32. package/dist/chunks/{permission-21r38tys.js → shell-21r38tys.js} +1 -1
  33. package/dist/chunks/{permission-2402vzrj.js → shell-2402vzrj.js} +1 -1
  34. package/dist/chunks/{permission-z63w68vq.js → shell-29x78va6.js} +6 -6
  35. package/dist/chunks/{permission-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{permission-734paghm.js → shell-2g7fb4sy.js} +9 -9
  37. package/dist/chunks/{permission-2ht70gj7.js → shell-2ht70gj7.js} +1 -1
  38. package/dist/chunks/{permission-sg76v7pb.js → shell-2r4smnpn.js} +27 -27
  39. package/dist/chunks/{permission-33yxnv13.js → shell-2sfwn1pw.js} +11 -11
  40. package/dist/chunks/{permission-ybh27hq8.js → shell-2ty14fk8.js} +9 -9
  41. package/dist/chunks/{permission-4c7vbtbn.js → shell-2x7hewgh.js} +57 -57
  42. package/dist/chunks/{permission-tjvcjkky.js → shell-2xph78ty.js} +11 -11
  43. package/dist/chunks/{permission-41g6g5mm.js → shell-2xs51w6t.js} +23 -23
  44. package/dist/chunks/{permission-q2n1byss.js → shell-2yk8myve.js} +44 -44
  45. package/dist/chunks/{permission-ty4tv0p8.js → shell-32wdy755.js} +6 -6
  46. package/dist/chunks/{permission-skvhtt2n.js → shell-35kceag9.js} +41 -41
  47. package/dist/chunks/{permission-36vsdr69.js → shell-36vsdr69.js} +2 -2
  48. package/dist/chunks/{permission-kecsmh6z.js → shell-3f9n5hdq.js} +12 -12
  49. package/dist/chunks/{permission-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{permission-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{permission-3qzbfqsy.js → shell-3qzbfqsy.js} +2 -2
  52. package/dist/chunks/{permission-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
  53. package/dist/chunks/{permission-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
  54. package/dist/chunks/{permission-6kqmr9wh.js → shell-3w01mqch.js} +26 -26
  55. package/dist/chunks/{permission-jkypfbqd.js → shell-3wkxvcm2.js} +5 -5
  56. package/dist/chunks/{permission-qfrq97rd.js → shell-417y9pm1.js} +4 -4
  57. package/dist/chunks/{permission-549p75yk.js → shell-4192f9pk.js} +166 -166
  58. package/dist/chunks/{permission-g213rqq5.js → shell-42t0dhr4.js} +7 -7
  59. package/dist/chunks/{permission-xqe4xt8f.js → shell-43q760fm.js} +7 -7
  60. package/dist/chunks/{permission-x2et6yvz.js → shell-44x7fxmt.js} +12 -12
  61. package/dist/chunks/{permission-454k5vzh.js → shell-454k5vzh.js} +1 -1
  62. package/dist/chunks/{permission-xx3n06zn.js → shell-4b5qqsbn.js} +11 -11
  63. package/dist/chunks/{permission-9xwybkd6.js → shell-4c5k13je.js} +1 -1
  64. package/dist/chunks/{permission-zca6dyxv.js → shell-4kjzcy7g.js} +17 -17
  65. package/dist/chunks/{permission-4r2nyarf.js → shell-4r2nyarf.js} +1 -1
  66. package/dist/chunks/{permission-bp1yp9s7.js → shell-4t7hsdzk.js} +15 -15
  67. package/dist/chunks/{permission-hb5dw269.js → shell-4wt00r3g.js} +9 -9
  68. package/dist/chunks/{permission-rtqtxd9a.js → shell-4xew0z44.js} +3 -3
  69. package/dist/chunks/{permission-rrksnp7n.js → shell-585qr39b.js} +9 -9
  70. package/dist/chunks/{permission-5daktx2q.js → shell-5daktx2q.js} +1 -1
  71. package/dist/chunks/{permission-q4rx8yxr.js → shell-5ewtbtr0.js} +32 -32
  72. package/dist/chunks/{permission-5fmxt4p5.js → shell-5fmxt4p5.js} +1 -1
  73. package/dist/chunks/{permission-5jvc5tg2.js → shell-5jvc5tg2.js} +1 -1
  74. package/dist/chunks/{permission-1ezdn4hp.js → shell-5mxx68d3.js} +7 -7
  75. package/dist/chunks/{permission-ary78n1n.js → shell-66zzpgw2.js} +40 -40
  76. package/dist/chunks/{permission-saak5ttd.js → shell-6abnk40k.js} +6 -6
  77. package/dist/chunks/{permission-qpj255cf.js → shell-6erngkvb.js} +32 -32
  78. package/dist/chunks/{permission-7pzsxwre.js → shell-6rjzzdxy.js} +3 -3
  79. package/dist/chunks/{permission-y7y73wg0.js → shell-6ym5me7r.js} +5 -5
  80. package/dist/chunks/{permission-gzhrweeb.js → shell-70b0rhqw.js} +15 -15
  81. package/dist/chunks/{permission-711hfp6y.js → shell-711hfp6y.js} +2 -2
  82. package/dist/chunks/{permission-72nftnjy.js → shell-72nftnjy.js} +2 -2
  83. package/dist/chunks/{permission-3pxrk450.js → shell-78vzyx6d.js} +12 -12
  84. package/dist/chunks/{permission-cbh3af09.js → shell-7908ykgb.js} +8 -8
  85. package/dist/chunks/{permission-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
  86. package/dist/chunks/{permission-6gvvcmqp.js → shell-7gfpemw6.js} +8 -8
  87. package/dist/chunks/{permission-7bj47tff.js → shell-7nprwmah.js} +41 -41
  88. package/dist/chunks/{permission-ta6mxwq1.js → shell-7pb57fb0.js} +36 -36
  89. package/dist/chunks/{permission-ywm3nvxx.js → shell-7qtxbs4b.js} +6 -6
  90. package/dist/chunks/{permission-03418nvg.js → shell-7r4ym1qc.js} +26 -26
  91. package/dist/chunks/{permission-cpxv7qgy.js → shell-7sqp221s.js} +10 -10
  92. package/dist/chunks/{permission-674xz2ws.js → shell-7t18mxkv.js} +3 -3
  93. package/dist/chunks/{permission-5ssekc67.js → shell-7vcgspzg.js} +35 -35
  94. package/dist/chunks/{permission-t1v0cqqz.js → shell-7yp0j7my.js} +13 -13
  95. package/dist/chunks/{permission-59wa6ec1.js → shell-80bfyqqz.js} +22 -22
  96. package/dist/chunks/{permission-tvba162w.js → shell-84ws7vk9.js} +31 -31
  97. package/dist/chunks/{permission-9ht0v476.js → shell-8gfg9fa9.js} +3 -3
  98. package/dist/chunks/{permission-1554gh0k.js → shell-8nkz5pt3.js} +10 -10
  99. package/dist/chunks/{permission-p6kvckg5.js → shell-8tbsk23y.js} +9 -9
  100. package/dist/chunks/{permission-3kbzmjgj.js → shell-8tzngw7b.js} +20 -20
  101. package/dist/chunks/shell-8y6r9mz6.js +22 -0
  102. package/dist/chunks/{permission-y7zybnf0.js → shell-93wwsra1.js} +5 -5
  103. package/dist/chunks/{permission-s76kmyqn.js → shell-98fez8vh.js} +22 -22
  104. package/dist/chunks/{permission-0hmgtzsc.js → shell-9ap403n6.js} +46 -46
  105. package/dist/chunks/{permission-rrthq9em.js → shell-9cbk0p5b.js} +35 -35
  106. package/dist/chunks/{permission-71z2dbxd.js → shell-9gfdxbs4.js} +2 -2
  107. package/dist/chunks/{permission-9qm9egsn.js → shell-9qm9egsn.js} +2 -2
  108. package/dist/chunks/{permission-ssvhf1t0.js → shell-9sy3m4ps.js} +20 -20
  109. package/dist/chunks/{permission-kbs6ktxn.js → shell-9y1phk8d.js} +1 -1
  110. package/dist/chunks/{permission-basdkhxq.js → shell-9yjbvttw.js} +26 -26
  111. package/dist/chunks/{permission-v5dkyp31.js → shell-a46v4e4v.js} +4 -4
  112. package/dist/chunks/{permission-rd8ts1z3.js → shell-a6y0jgay.js} +11 -11
  113. package/dist/chunks/{permission-aaet6srn.js → shell-aaet6srn.js} +2 -2
  114. package/dist/chunks/{permission-ajtjthsy.js → shell-ajtjthsy.js} +2 -2
  115. package/dist/chunks/{permission-bxj8vx9k.js → shell-aszbaj7g.js} +15 -15
  116. package/dist/chunks/{permission-8dpf37y4.js → shell-aybqrser.js} +18 -18
  117. package/dist/chunks/{permission-tsbfn723.js → shell-b4xf332k.js} +29 -29
  118. package/dist/chunks/{permission-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
  119. package/dist/chunks/shell-b7pyt6aj.js +460 -0
  120. package/dist/chunks/{permission-b9wsbatv.js → shell-b9wsbatv.js} +1 -1
  121. package/dist/chunks/{permission-sj8yj28g.js → shell-bb0kg1q4.js} +11 -11
  122. package/dist/chunks/{permission-pmr4s4kc.js → shell-bct739vz.js} +4 -4
  123. package/dist/chunks/{permission-qbgs5603.js → shell-bgee90x3.js} +27 -27
  124. package/dist/chunks/{permission-0y3y70eh.js → shell-bhmtg2kj.js} +11 -11
  125. package/dist/chunks/{permission-t18jrk1b.js → shell-bmfd242v.js} +22 -22
  126. package/dist/chunks/{permission-bfhm9gkj.js → shell-bpyk2zgp.js} +6 -6
  127. package/dist/chunks/{permission-th9cb3a2.js → shell-brg38b3f.js} +8 -8
  128. package/dist/chunks/{permission-bsvvsrn1.js → shell-bsvvsrn1.js} +2 -2
  129. package/dist/chunks/{permission-jn3vpcr2.js → shell-bvc9822d.js} +28 -28
  130. package/dist/chunks/{permission-c3edmaeq.js → shell-c88sz3qs.js} +22 -22
  131. package/dist/chunks/{permission-b1gft069.js → shell-cg0d0972.js} +17 -17
  132. package/dist/chunks/{permission-y0vg58g0.js → shell-ckv8rq3a.js} +16 -16
  133. package/dist/chunks/{permission-fjbphwaw.js → shell-ctd4qdmr.js} +4 -4
  134. package/dist/chunks/{permission-9xd69fg1.js → shell-d67bzqbb.js} +9 -9
  135. package/dist/chunks/{permission-kdz37j01.js → shell-d6se384q.js} +14 -14
  136. package/dist/chunks/{permission-d72308c8.js → shell-d72308c8.js} +2 -2
  137. package/dist/chunks/{permission-f60nab11.js → shell-djytekme.js} +29 -29
  138. package/dist/chunks/{permission-1g20fj6k.js → shell-dvxcgtgp.js} +39 -39
  139. package/dist/chunks/shell-dxj72tfx.js +18 -0
  140. package/dist/chunks/{permission-nrhxst0m.js → shell-dyrfwbsh.js} +25 -25
  141. package/dist/chunks/{permission-kj392b1j.js → shell-ecqg7bmw.js} +22 -22
  142. package/dist/chunks/{permission-3fm4dcxc.js → shell-ejmkr9z7.js} +86 -56
  143. package/dist/chunks/{permission-ystvjdgv.js → shell-enwn0tzc.js} +2 -2
  144. package/dist/chunks/{permission-vevwt92b.js → shell-ew0tmsyp.js} +11 -11
  145. package/dist/chunks/{permission-yc7hetwv.js → shell-eye58hw2.js} +21 -21
  146. package/dist/chunks/{permission-6717p8ax.js → shell-f086nceb.js} +24 -24
  147. package/dist/chunks/{permission-yp2x3t23.js → shell-f2n192rq.js} +4 -4
  148. package/dist/chunks/{permission-ee4j062y.js → shell-fcxhebz1.js} +29 -29
  149. package/dist/chunks/{permission-a5kby1rv.js → shell-fe9mb3y1.js} +13 -13
  150. package/dist/chunks/{permission-jpg38yrs.js → shell-fehrn2qm.js} +6 -6
  151. package/dist/chunks/{permission-pawvfhab.js → shell-fk8hrt4z.js} +65 -65
  152. package/dist/chunks/{permission-2tr0vbqd.js → shell-fkpvx5pg.js} +38 -38
  153. package/dist/chunks/{permission-wmeds191.js → shell-fr5cx72t.js} +85 -85
  154. package/dist/chunks/{permission-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
  155. package/dist/chunks/{permission-fxypknc8.js → shell-fxypknc8.js} +1 -1
  156. package/dist/chunks/{permission-w794wtw1.js → shell-fy2metxv.js} +77 -77
  157. package/dist/chunks/{permission-7kmhxb86.js → shell-fzajb8v1.js} +10 -10
  158. package/dist/chunks/{permission-63kze1d3.js → shell-g3m9axkp.js} +4 -4
  159. package/dist/chunks/{permission-jjr4j3fd.js → shell-g47dvf5d.js} +8 -8
  160. package/dist/chunks/{permission-bgdcyqqr.js → shell-g52wq5zw.js} +4 -4
  161. package/dist/chunks/{permission-v6616nmc.js → shell-ga1tzhpe.js} +16 -16
  162. package/dist/chunks/{permission-0mktrftt.js → shell-gc168ysg.js} +14 -14
  163. package/dist/chunks/{permission-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{permission-etm14sfn.js → shell-gfv1e1ds.js} +46 -46
  165. package/dist/chunks/{permission-d7baysx9.js → shell-gp91837t.js} +23 -23
  166. package/dist/chunks/{permission-qfyttvec.js → shell-gqs2vad9.js} +19 -19
  167. package/dist/chunks/{permission-naee4z7c.js → shell-gr7vg3y5.js} +4 -4
  168. package/dist/chunks/{permission-wrwy3hc7.js → shell-gw8yqzg5.js} +6 -6
  169. package/dist/chunks/{permission-ndqtf2h8.js → shell-gzbkpp9m.js} +6 -6
  170. package/dist/chunks/{permission-r07gm0bm.js → shell-h5wpvtxr.js} +4 -4
  171. package/dist/chunks/{permission-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{permission-2nk48w4v.js → shell-haggcxkj.js} +9 -9
  173. package/dist/chunks/{permission-r2yagys3.js → shell-hay8k9wj.js} +28 -28
  174. package/dist/chunks/{permission-tsp2em4c.js → shell-hc4b3kyg.js} +6 -6
  175. package/dist/chunks/{permission-heyhwy2w.js → shell-heyhwy2w.js} +1 -1
  176. package/dist/chunks/{permission-kbhpdv1e.js → shell-hjjb040h.js} +12 -12
  177. package/dist/chunks/{permission-q4y969yg.js → shell-hmeey3k9.js} +11 -11
  178. package/dist/chunks/{permission-hrvm11jt.js → shell-hrvm11jt.js} +3 -3
  179. package/dist/chunks/{permission-kftt56g4.js → shell-hzxz3qkz.js} +12 -12
  180. package/dist/chunks/{permission-yjjng2s7.js → shell-j1pm0kh5.js} +14 -14
  181. package/dist/chunks/{permission-paphc93g.js → shell-j935v87r.js} +2 -2
  182. package/dist/chunks/{permission-1gdk2rz4.js → shell-jdnwrjf1.js} +3 -3
  183. package/dist/chunks/{permission-6vhs0r56.js → shell-jjz9kdpw.js} +29 -29
  184. package/dist/chunks/{permission-y4jvkgbx.js → shell-jphw73by.js} +23 -23
  185. package/dist/chunks/{permission-tqqej2s1.js → shell-jsdxtgmy.js} +8 -8
  186. package/dist/chunks/{permission-0hte1e32.js → shell-jzz3abdx.js} +17 -17
  187. package/dist/chunks/{permission-7xw9zsz9.js → shell-k0zgeteb.js} +21 -21
  188. package/dist/chunks/{permission-ecyqkc7t.js → shell-k1w98zgr.js} +8 -8
  189. package/dist/chunks/{permission-1hvvsyxb.js → shell-k2qp0rt7.js} +1 -1
  190. package/dist/chunks/{permission-rnfh5tzx.js → shell-k37p1w3a.js} +10 -10
  191. package/dist/chunks/{permission-k4bwy1x5.js → shell-k4bwy1x5.js} +1 -1
  192. package/dist/chunks/{permission-kg06axw8.js → shell-kg06axw8.js} +1 -1
  193. package/dist/chunks/{permission-yfbd16n1.js → shell-kk3rr3qh.js} +5 -5
  194. package/dist/chunks/{permission-1fnn203z.js → shell-kkqvv4hs.js} +38 -38
  195. package/dist/chunks/{permission-maxga7za.js → shell-kryk1pph.js} +11 -11
  196. package/dist/chunks/{permission-a0m130rn.js → shell-kv8syyjy.js} +11 -11
  197. package/dist/chunks/{permission-hw4pv20g.js → shell-kvsjn1dr.js} +2 -2
  198. package/dist/chunks/{permission-1th2e3gc.js → shell-ky97vkm0.js} +22 -22
  199. package/dist/chunks/{permission-dcs5gde8.js → shell-kyd4za44.js} +4 -4
  200. package/dist/chunks/{permission-nvw3xbya.js → shell-kz8th6jy.js} +3 -3
  201. package/dist/chunks/{permission-m3fm0fm8.js → shell-m3fm0fm8.js} +2 -2
  202. package/dist/chunks/{permission-gst7axd9.js → shell-m70sbz6t.js} +4 -4
  203. package/dist/chunks/{permission-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
  204. package/dist/chunks/{permission-jw57zqaw.js → shell-mek50901.js} +9 -9
  205. package/dist/chunks/{permission-845a489e.js → shell-mg8hyy97.js} +2 -2
  206. package/dist/chunks/{permission-xxhpgjtn.js → shell-mmj01rc6.js} +6 -6
  207. package/dist/chunks/{permission-97f5v037.js → shell-mtcjf44p.js} +4 -4
  208. package/dist/chunks/{permission-1bbkgx8g.js → shell-mvfsc1pv.js} +3 -3
  209. package/dist/chunks/{permission-0pame0fb.js → shell-myqn1vwn.js} +10 -10
  210. package/dist/chunks/{permission-cze9nqnn.js → shell-n3xn0h0f.js} +15 -15
  211. package/dist/chunks/{permission-ndjbqfda.js → shell-n7p3q306.js} +20 -20
  212. package/dist/chunks/{permission-nhy5jxhy.js → shell-nhy5jxhy.js} +1 -1
  213. package/dist/chunks/{permission-m75mcjf9.js → shell-nmgddbg4.js} +8 -8
  214. package/dist/chunks/{permission-d0b0j5m4.js → shell-nsw1yxtn.js} +20 -20
  215. package/dist/chunks/{permission-7rwf1fkz.js → shell-nv1z9knr.js} +3 -3
  216. package/dist/chunks/{permission-9vm9s1a5.js → shell-p3e4re21.js} +1 -1
  217. package/dist/chunks/{permission-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
  218. package/dist/chunks/{permission-tpjsp3rq.js → shell-pjy2hnng.js} +4 -4
  219. package/dist/chunks/{permission-pknna89w.js → shell-pknna89w.js} +1 -1
  220. package/dist/chunks/{permission-abvwjazp.js → shell-pxcwkz2f.js} +12 -12
  221. package/dist/chunks/{permission-ahgb5763.js → shell-q39pj94r.js} +11 -11
  222. package/dist/chunks/{permission-2k8khapm.js → shell-qgn6gcr1.js} +5 -5
  223. package/dist/chunks/{permission-27k9sb4m.js → shell-qkar7ddm.js} +27 -27
  224. package/dist/chunks/{permission-qsdy395h.js → shell-qsdy395h.js} +1 -1
  225. package/dist/chunks/{permission-3ne54r9x.js → shell-qwjbpryz.js} +15 -15
  226. package/dist/chunks/{permission-xmsqqspp.js → shell-r48p3yav.js} +1 -1
  227. package/dist/chunks/{permission-r8dhm0tv.js → shell-r8dhm0tv.js} +1 -1
  228. package/dist/chunks/{permission-nfnj84cy.js → shell-r99b7fbd.js} +11 -11
  229. package/dist/chunks/{permission-q1rpvv9s.js → shell-r9fqtgme.js} +10 -10
  230. package/dist/chunks/{permission-06wykemb.js → shell-rca1y2wr.js} +6 -6
  231. package/dist/chunks/{permission-sba4qhjf.js → shell-sba4qhjf.js} +1 -1
  232. package/dist/chunks/{permission-vps2nv09.js → shell-sfrccsk6.js} +36 -36
  233. package/dist/chunks/{permission-f64a3ghm.js → shell-sh0vnv2k.js} +18 -18
  234. package/dist/chunks/{permission-za303knc.js → shell-sjn9e3ew.js} +11 -11
  235. package/dist/chunks/{permission-d8vvpswg.js → shell-sraw6zer.js} +24 -24
  236. package/dist/chunks/{permission-0jeydt1r.js → shell-sxaj9jh7.js} +10 -10
  237. package/dist/chunks/{permission-h9rm1rrn.js → shell-sykc9y4a.js} +5 -5
  238. package/dist/chunks/{permission-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{permission-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{permission-tjykrgmx.js → shell-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{permission-34yjfdzm.js → shell-ts3fz7sh.js} +32 -32
  242. package/dist/chunks/{permission-d9r6yxfs.js → shell-v4r0s993.js} +13 -13
  243. package/dist/chunks/{permission-5vq8ad1q.js → shell-v63mh1hy.js} +11 -11
  244. package/dist/chunks/{permission-9y67xgrt.js → shell-v97587cg.js} +11 -11
  245. package/dist/chunks/{permission-gvj8s4nn.js → shell-v9mxw17g.js} +24 -24
  246. package/dist/chunks/{permission-91y84mbe.js → shell-vcnd030r.js} +15 -15
  247. package/dist/chunks/{permission-kepsre9z.js → shell-vh4awg6g.js} +16 -16
  248. package/dist/chunks/{permission-qgqe8wdv.js → shell-vn3xvc40.js} +37 -37
  249. package/dist/chunks/{permission-5em8x407.js → shell-vqcnb6e5.js} +13 -13
  250. package/dist/chunks/{permission-798c5d35.js → shell-vtq1wfzg.js} +4 -4
  251. package/dist/chunks/{permission-2rpq0xmv.js → shell-vwvvp157.js} +7 -7
  252. package/dist/chunks/{permission-s3m1ant6.js → shell-w2fyyd5g.js} +26 -26
  253. package/dist/chunks/{permission-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{permission-wd87259q.js → shell-wd87259q.js} +1 -1
  255. package/dist/chunks/{permission-vdptz04f.js → shell-wgz7hchk.js} +6 -6
  256. package/dist/chunks/shell-wpc0p36r.js +247 -0
  257. package/dist/chunks/{permission-pen6f378.js → shell-x02ksyz9.js} +14 -14
  258. package/dist/chunks/{permission-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{permission-z53jqebf.js → shell-xa232ce3.js} +17 -17
  260. package/dist/chunks/{permission-shr5ah0e.js → shell-xaf20by6.js} +15 -15
  261. package/dist/chunks/{permission-8rc8m2aj.js → shell-xb5d6gcm.js} +27 -27
  262. package/dist/chunks/{permission-j4522nkd.js → shell-xhfw6gwk.js} +9 -9
  263. package/dist/chunks/{permission-56hhj1k0.js → shell-xjy0arej.js} +57 -57
  264. package/dist/chunks/{permission-pc2frccz.js → shell-xyxtpgsf.js} +21 -21
  265. package/dist/chunks/{permission-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{permission-93a8yfjt.js → shell-y2cqme3r.js} +5 -5
  267. package/dist/chunks/{permission-j6c3dt9j.js → shell-y68jbn75.js} +16 -16
  268. package/dist/chunks/{permission-jwcy2c2z.js → shell-y71avatq.js} +4 -4
  269. package/dist/chunks/{permission-dmp12eyw.js → shell-y7w5kr51.js} +23 -23
  270. package/dist/chunks/{permission-vddeh64n.js → shell-ya0kqzg7.js} +7 -7
  271. package/dist/chunks/{permission-at3tw8h2.js → shell-yc67yyny.js} +9 -9
  272. package/dist/chunks/{permission-a1bqr6mg.js → shell-yd426xvt.js} +9 -9
  273. package/dist/chunks/{permission-zkxx2fyd.js → shell-ysjs28ey.js} +15 -15
  274. package/dist/chunks/{permission-7g2wv44g.js → shell-ywcb5etp.js} +31 -31
  275. package/dist/chunks/{permission-0kc0bztd.js → shell-yykyxftz.js} +11 -11
  276. package/dist/chunks/{permission-z1k01bn4.js → shell-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{permission-fs8mreb3.js → shell-z8c5n9kb.js} +25 -25
  278. package/dist/chunks/{permission-wtm3m4mv.js → shell-ze4dnq9c.js} +20 -20
  279. package/dist/chunks/{permission-tevfa6wa.js → shell-zfnpc7fv.js} +1 -1
  280. package/dist/chunks/{permission-2dxzc6st.js → shell-zhrc5y8g.js} +9 -9
  281. package/dist/chunks/{permission-y4nzzd5t.js → shell-zmjynawk.js} +5 -5
  282. package/dist/chunks/{permission-ehncr9ys.js → shell-zqyb8yat.js} +24 -24
  283. package/dist/chunks/{permission-gdw6r6rf.js → shell-zsf5n11x.js} +72 -27
  284. package/dist/chunks/{permission-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +117 -116
  293. package/dist/config/plugin/command.js +208 -207
  294. package/dist/config/plugin/compaction.js +154 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -116
  297. package/dist/config/plugin/image.js +115 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +115 -114
  300. package/dist/config/plugin/mcp.js +126 -125
  301. package/dist/config/plugin/policy.js +114 -113
  302. package/dist/config/plugin/provider.js +113 -112
  303. package/dist/config/plugin/reference.js +117 -116
  304. package/dist/config/plugin/shell.js +118 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +135 -134
  307. package/dist/config/plugin/snapshot.js +115 -114
  308. package/dist/config/plugin/source.js +117 -116
  309. package/dist/config/plugin/tool-output.js +117 -116
  310. package/dist/config/plugin/websearch.js +115 -114
  311. package/dist/config/plugin/worktree.js +118 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +119 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +77 -76
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +359 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +3 -3
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +72 -72
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +219 -218
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +93 -93
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +78 -78
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +91 -90
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +350 -349
  449. package/dist/instruction-discovery.js +83 -83
  450. package/dist/instructions/builtins.js +80 -80
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +84 -83
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +132 -131
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +347 -346
  461. package/dist/location.js +80 -80
  462. package/dist/mcp/client.js +90 -87
  463. package/dist/mcp/index.js +101 -100
  464. package/dist/mcp/instructions.js +121 -120
  465. package/dist/mcp/oauth.js +78 -12
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +86 -85
  470. package/dist/model.js +6 -6
  471. package/dist/models-dev.js +86 -86
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +109 -109
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +96 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +212 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +321 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/optimize.js +2 -2
  491. package/dist/plugin/plan.js +96 -96
  492. package/dist/plugin/promise.js +1 -1
  493. package/dist/plugin/provider/alibaba.js +2 -2
  494. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  495. package/dist/plugin/provider/anthropic.js +2 -2
  496. package/dist/plugin/provider/azure.js +118 -117
  497. package/dist/plugin/provider/cerebras.js +2 -2
  498. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -116
  499. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -116
  500. package/dist/plugin/provider/cohere.js +2 -2
  501. package/dist/plugin/provider/configured.js +114 -113
  502. package/dist/plugin/provider/dynamic.js +2 -2
  503. package/dist/plugin/provider/factory.js +1 -1
  504. package/dist/plugin/provider/gateway.js +2 -2
  505. package/dist/plugin/provider/github-copilot.js +80 -79
  506. package/dist/plugin/provider/gitlab.js +3 -3
  507. package/dist/plugin/provider/google-vertex.js +2 -2
  508. package/dist/plugin/provider/kilo.js +2 -2
  509. package/dist/plugin/provider/llmgateway.js +76 -75
  510. package/dist/plugin/provider/lmstudio.js +117 -116
  511. package/dist/plugin/provider/mistral.js +2 -2
  512. package/dist/plugin/provider/modal.js +79 -78
  513. package/dist/plugin/provider/nvidia.js +2 -2
  514. package/dist/plugin/provider/ollama.js +117 -116
  515. package/dist/plugin/provider/openai-compatible.js +1 -1
  516. package/dist/plugin/provider/openai.js +78 -77
  517. package/dist/plugin/provider/opencode.js +76 -75
  518. package/dist/plugin/provider/openrouter.js +3 -3
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/sap-ai-core.js +3 -3
  521. package/dist/plugin/provider/sdk-factory.js +1 -1
  522. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  523. package/dist/plugin/provider/venice.js +2 -2
  524. package/dist/plugin/provider/vercel.js +2 -2
  525. package/dist/plugin/provider/vllm.js +115 -114
  526. package/dist/plugin/provider/xai.js +77 -76
  527. package/dist/plugin/provider/zenmux.js +2 -2
  528. package/dist/plugin/provider.js +155 -154
  529. package/dist/plugin/sdk.js +74 -74
  530. package/dist/plugin/service.js +3 -3
  531. package/dist/plugin/skill.js +132 -131
  532. package/dist/plugin/source-directory.js +1 -1
  533. package/dist/plugin/supervisor.js +336 -335
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +112 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +6 -6
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +6 -6
  545. package/dist/plugin.js +219 -218
  546. package/dist/project/schema.js +6 -6
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +81 -81
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +1 -1
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +88 -88
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +1 -1
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +128 -127
  564. package/dist/session/context.js +146 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +218 -217
  569. package/dist/session/execution.js +121 -120
  570. package/dist/session/generate.js +145 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +86 -86
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +71 -71
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +4 -4
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +112 -112
  580. package/dist/session/model-transport.js +9 -9
  581. package/dist/session/move.js +125 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +224 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +86 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +2 -2
  592. package/dist/session/runner/step.js +120 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +166 -165
  596. package/dist/session/shell.js +131 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +204 -203
  603. package/dist/session/system-prompt.js +1 -1
  604. package/dist/session/title.js +150 -149
  605. package/dist/session/to-session-error.js +106 -105
  606. package/dist/session/transfer.js +214 -213
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +210 -209
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +13 -13
  613. package/dist/shell.js +133 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +118 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +116 -116
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +211 -210
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +213 -212
  633. package/dist/tool/plugin/webfetch.js +104 -104
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +114 -114
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +13 -13
  640. package/dist/types/mcp/oauth.d.ts +6 -0
  641. package/dist/types/util/error-summary.d.ts +7 -0
  642. package/dist/util/error-summary.js +8 -0
  643. package/dist/util/error.js +1 -1
  644. package/dist/util/iife.js +1 -1
  645. package/dist/util/lazy.js +1 -1
  646. package/dist/util/slug.js +1 -1
  647. package/dist/util/token.js +1 -1
  648. package/dist/util/which.js +1 -1
  649. package/dist/util/wildcard.js +1 -1
  650. package/dist/v1/config/agent.js +7 -7
  651. package/dist/v1/config/attachment.js +2 -2
  652. package/dist/v1/config/command.js +3 -3
  653. package/dist/v1/config/config.js +16 -16
  654. package/dist/v1/config/error.js +4 -4
  655. package/dist/v1/config/formatter.js +5 -5
  656. package/dist/v1/config/layout.js +1 -1
  657. package/dist/v1/config/lsp.js +5 -5
  658. package/dist/v1/config/mcp.js +4 -4
  659. package/dist/v1/config/migrate.js +4 -4
  660. package/dist/v1/config/permission.js +7 -7
  661. package/dist/v1/config/plugin.js +3 -3
  662. package/dist/v1/config/provider-options.js +1 -1
  663. package/dist/v1/config/provider.js +4 -4
  664. package/dist/v1/config/server.js +2 -2
  665. package/dist/v1/config/skills.js +3 -3
  666. package/dist/v1/permission.js +1 -1
  667. package/dist/vcs/patch.js +1 -1
  668. package/dist/vcs.js +83 -83
  669. package/dist/websearch.js +82 -82
  670. package/dist/wellknown/plugin.js +74 -74
  671. package/dist/wellknown.js +79 -79
  672. package/dist/workspace/driver.js +5 -5
  673. package/dist/workspace/sql.js +1 -1
  674. package/dist/workspace.js +78 -78
  675. package/dist/worktree/directory.js +4 -4
  676. package/dist/worktree/git.js +7 -7
  677. package/dist/worktree/refresh.js +337 -336
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree.js +87 -87
  680. package/package.json +7 -7
  681. package/dist/chunks/permission-5z48x7pe.js +0 -460
  682. package/dist/chunks/permission-9zdhvgqs.js +0 -18
  683. package/dist/chunks/permission-em9v05e0.js +0 -22
  684. package/dist/chunks/permission-tpr57ds6.js +0 -247
  685. /package/dist/chunks/{permission-0fabt78z.js → shell-0fabt78z.js} +0 -0
  686. /package/dist/chunks/{permission-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{permission-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{permission-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{permission-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{permission-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{permission-2710q6r3.js → shell-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{permission-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{permission-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
  694. /package/dist/chunks/{permission-359p4xyc.js → shell-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{permission-3asan66x.js → shell-3asan66x.js} +0 -0
  696. /package/dist/chunks/{permission-3t738kvx.js → shell-3t738kvx.js} +0 -0
  697. /package/dist/chunks/{permission-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{permission-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{permission-41nvscxy.js → shell-41nvscxy.js} +0 -0
  700. /package/dist/chunks/{permission-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{permission-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{permission-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{permission-53557ph1.js → shell-53557ph1.js} +0 -0
  704. /package/dist/chunks/{permission-550bvhaj.js → shell-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{permission-6prwharc.js → shell-6prwharc.js} +0 -0
  706. /package/dist/chunks/{permission-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{permission-7m9af43g.js → shell-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{permission-7zk4hah4.js → shell-7zk4hah4.js} +0 -0
  709. /package/dist/chunks/{permission-822emrt2.js → shell-822emrt2.js} +0 -0
  710. /package/dist/chunks/{permission-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{permission-8n3pysct.js → shell-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{permission-982e01ww.js → shell-982e01ww.js} +0 -0
  713. /package/dist/chunks/{permission-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{permission-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{permission-a1tpkmh4.js → shell-a1tpkmh4.js} +0 -0
  716. /package/dist/chunks/{permission-af5trqkr.js → shell-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{permission-afrmfg78.js → shell-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{permission-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{permission-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{permission-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{permission-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{permission-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{permission-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{permission-d9fn303g.js → shell-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{permission-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{permission-dajrwvna.js → shell-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{permission-dap0rakb.js → shell-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{permission-df08tz66.js → shell-df08tz66.js} +0 -0
  729. /package/dist/chunks/{permission-dy18nga0.js → shell-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{permission-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{permission-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{permission-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
  733. /package/dist/chunks/{permission-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
  734. /package/dist/chunks/{permission-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
  735. /package/dist/chunks/{permission-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
  736. /package/dist/chunks/{permission-faypxj3z.js → shell-faypxj3z.js} +0 -0
  737. /package/dist/chunks/{permission-fd410y7t.js → shell-fd410y7t.js} +0 -0
  738. /package/dist/chunks/{permission-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
  739. /package/dist/chunks/{permission-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
  740. /package/dist/chunks/{permission-g86h250q.js → shell-g86h250q.js} +0 -0
  741. /package/dist/chunks/{permission-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
  742. /package/dist/chunks/{permission-hk9envan.js → shell-hk9envan.js} +0 -0
  743. /package/dist/chunks/{permission-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
  744. /package/dist/chunks/{permission-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
  745. /package/dist/chunks/{permission-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
  746. /package/dist/chunks/{permission-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
  747. /package/dist/chunks/{permission-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
  748. /package/dist/chunks/{permission-mntxs535.js → shell-mntxs535.js} +0 -0
  749. /package/dist/chunks/{permission-mp448xyj.js → shell-mp448xyj.js} +0 -0
  750. /package/dist/chunks/{permission-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
  751. /package/dist/chunks/{permission-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
  752. /package/dist/chunks/{permission-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
  753. /package/dist/chunks/{permission-njntx4h6.js → shell-njntx4h6.js} +0 -0
  754. /package/dist/chunks/{permission-p8qxwesx.js → shell-p8qxwesx.js} +0 -0
  755. /package/dist/chunks/{permission-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
  756. /package/dist/chunks/{permission-q74kybfr.js → shell-q74kybfr.js} +0 -0
  757. /package/dist/chunks/{permission-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
  758. /package/dist/chunks/{permission-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
  759. /package/dist/chunks/{permission-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
  760. /package/dist/chunks/{permission-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
  761. /package/dist/chunks/{permission-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
  762. /package/dist/chunks/{permission-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
  763. /package/dist/chunks/{permission-se0s1eqw.js → shell-se0s1eqw.js} +0 -0
  764. /package/dist/chunks/{permission-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
  765. /package/dist/chunks/{permission-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
  766. /package/dist/chunks/{permission-twg0f83k.js → shell-twg0f83k.js} +0 -0
  767. /package/dist/chunks/{permission-w803qqfp.js → shell-w803qqfp.js} +0 -0
  768. /package/dist/chunks/{permission-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
  769. /package/dist/chunks/{permission-wtztk69x.js → shell-wtztk69x.js} +0 -0
  770. /package/dist/chunks/{permission-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
  771. /package/dist/chunks/{permission-x1b8g1yb.js → shell-x1b8g1yb.js} +0 -0
  772. /package/dist/chunks/{permission-x61499pn.js → shell-x61499pn.js} +0 -0
  773. /package/dist/chunks/{permission-y44na4kk.js → shell-y44na4kk.js} +0 -0
  774. /package/dist/chunks/{permission-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
  775. /package/dist/chunks/{permission-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
  776. /package/dist/chunks/{permission-z9919s4g.js → shell-z9919s4g.js} +0 -0
  777. /package/dist/chunks/{permission-zbjnn3ac.js → shell-zbjnn3ac.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./permission-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
5
  Action2
6
- } from "./permission-wtm3m4mv.js";
6
+ } from "./shell-ze4dnq9c.js";
7
7
  import {
8
- Info19
9
- } from "./permission-xx3n06zn.js";
8
+ Info15
9
+ } from "./shell-4b5qqsbn.js";
10
10
  import {
11
11
  Info14
12
- } from "./permission-m3fm0fm8.js";
12
+ } from "./shell-m3fm0fm8.js";
13
13
  import {
14
- Info12
15
- } from "./permission-v5dkyp31.js";
14
+ Info20
15
+ } from "./shell-a46v4e4v.js";
16
16
  import {
17
- Info18
18
- } from "./permission-y4nzzd5t.js";
17
+ Info22
18
+ } from "./shell-zmjynawk.js";
19
19
  import {
20
20
  Spec2
21
- } from "./permission-2k8khapm.js";
21
+ } from "./shell-qgn6gcr1.js";
22
22
  import {
23
- Info17
24
- } from "./permission-0rh3kdcc.js";
23
+ Info19
24
+ } from "./shell-1mrma768.js";
25
25
  import {
26
- Info11
27
- } from "./permission-7bj47tff.js";
26
+ Info13
27
+ } from "./shell-7nprwmah.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 "./permission-798c5d35.js";
36
+ } from "./shell-vtq1wfzg.js";
37
37
  import {
38
38
  __export
39
- } from "./permission-9rqn6x4v.js";
39
+ } from "./shell-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,7 +84,7 @@ 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(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.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
90
  const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : 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, Info12, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info20, ["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, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["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, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["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(Info18, value, path, diagnostics);
228
+ const server = decodeValue(Info22, 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(Info17, raw, path, diagnostics);
424
+ const provider = decodeValue(Info19, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./permission-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
- Service66
6
- } from "./permission-kdz37j01.js";
5
+ Service71
6
+ } from "./shell-d6se384q.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service17
10
- } from "./permission-kepsre9z.js";
9
+ Service58
10
+ } from "./shell-vh4awg6g.js";
11
11
  import {
12
- Service61
13
- } from "./permission-4c7vbtbn.js";
12
+ Service40
13
+ } from "./shell-2x7hewgh.js";
14
14
  import {
15
- Service8
16
- } from "./permission-1th2e3gc.js";
15
+ Service10
16
+ } from "./shell-ky97vkm0.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./permission-2a5m3afh.js";
19
+ } from "./shell-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service5
31
- } from "./permission-shr5ah0e.js";
30
+ Service4
31
+ } from "./shell-xaf20by6.js";
32
32
  import {
33
33
  __export
34
- } from "./permission-9rqn6x4v.js";
34
+ } from "./shell-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input6,
40
- Plugin: () => Plugin7,
39
+ Input: () => Input11,
40
+ Plugin: () => Plugin29,
41
41
  ReadTool: () => exports_read,
42
- name: () => name6,
43
- toModelContent: () => toModelContent4
42
+ name: () => name11,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name6 = "read";
49
+ var name11 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input6 = LocationInput;
60
+ var Input11 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin7 = {
62
+ var Plugin29 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service5;
66
- const mutation = yield* Service17;
67
- const permission = yield* Service61;
68
- const sessionInstructions = yield* Service8;
65
+ const reader = yield* Service4;
66
+ const mutation = yield* Service58;
67
+ const permission = yield* Service40;
68
+ const sessionInstructions = yield* Service10;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service66;
70
+ const location = yield* Service71;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name6,
72
+ name: name11,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input6,
75
+ input: Input11,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin7 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name6,
93
+ action: name11,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin7 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent4(result.path, input.offset, result.output),
144
+ content: toModelContent6(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent4 = (path, offset, output) => {
176
+ var toModelContent6 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name6, Input6, Plugin7, toModelContent4, exports_read };
211
+ export { name11, Input11, Plugin29, toModelContent6, exports_read };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID13,
2
+ ID15,
3
3
  packageName2
4
- } from "./permission-tsp2em4c.js";
4
+ } from "./shell-hc4b3kyg.js";
5
5
 
6
6
  // src/plugin/provider/amazon-bedrock.ts
7
7
  import { Effect } from "effect";
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* ctx.integration.transform((editor) => {
24
24
  editor.method.update({
25
- integrationID: ID13.amazonBedrock,
25
+ integrationID: ID15.amazonBedrock,
26
26
  method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
27
27
  });
28
28
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID12,
2
+ ID14,
3
3
  Family2
4
- } from "./permission-0jeydt1r.js";
4
+ } from "./shell-sxaj9jh7.js";
5
5
  import {
6
- Service55
7
- } from "./permission-q2n1byss.js";
6
+ Service63
7
+ } from "./shell-2yk8myve.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./permission-xqe4xt8f.js";
10
+ } from "./shell-43q760fm.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service55;
53
+ const config = yield* Service63;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID12.make(item.model);
80
+ model.modelID = ID14.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make3();
154
+ var OllamaPlugin2 = make7();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make3, OllamaPlugin2 };
173
+ export { make7, OllamaPlugin2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./permission-p8qxwesx.js";
3
+ } from "./shell-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./permission-9rqn6x4v.js";
6
+ } from "./shell-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service13,
11
+ Service: () => Service3,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node16
13
+ node: () => node5
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service13 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service3 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service13, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service13.of({
66
+ return Service3.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node16 = makeGlobalNode({ service: Service13, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node5 = makeGlobalNode({ service: Service3, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service13, node16, exports_discovery };
155
+ export { Service3, node5, exports_discovery };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./permission-kbhpdv1e.js";
2
+ Service79,
3
+ node84
4
+ } from "./shell-hjjb040h.js";
5
5
  import {
6
- Service66,
7
- node71
8
- } from "./permission-kdz37j01.js";
6
+ Service71,
7
+ node75
8
+ } from "./shell-d6se384q.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./permission-kg06axw8.js";
12
+ } from "./shell-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./permission-tazgh4e4.js";
17
+ } from "./shell-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./permission-9rqn6x4v.js";
20
+ } from "./shell-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info10,
30
30
  Mode: () => Mode2,
31
- Service: () => Service54,
31
+ Service: () => Service47,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node59
33
+ node: () => node50
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service54 extends Context.Service()("@opencode/Vcs") {
48
+ class Service47 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service54, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service66;
53
- const bus = yield* Service77;
52
+ const location = yield* Service71;
53
+ const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service54.of({
118
+ return Service47.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node59 = makeLocationNode({
165
- service: Service54,
164
+ var node50 = makeLocationNode({
165
+ service: Service47,
166
166
  layer,
167
- deps: [FSUtil.node, node71, node82]
167
+ deps: [FSUtil.node, node75, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, Service54, node59, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info10, Mode2, DiffError2, Service47, node50, exports_vcs };
@@ -0,0 +1,22 @@
1
+ import {
2
+ Plugin33
3
+ } from "./shell-7908ykgb.js";
4
+ import {
5
+ Plugin35
6
+ } from "./shell-gw8yqzg5.js";
7
+ import {
8
+ Plugin32
9
+ } from "./shell-mek50901.js";
10
+ import {
11
+ Plugin34
12
+ } from "./shell-g47dvf5d.js";
13
+
14
+ // src/plugin/websearch/index.ts
15
+ var WebSearchPlugins2 = [
16
+ Plugin33,
17
+ Plugin35,
18
+ Plugin32,
19
+ Plugin34
20
+ ];
21
+
22
+ export { WebSearchPlugins2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./permission-tsp2em4c.js";
4
+ } from "./shell-hc4b3kyg.js";
5
5
  import {
6
6
  __export
7
- } from "./permission-9rqn6x4v.js";
7
+ } from "./shell-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/variant.ts
10
10
  var exports_variant = {};
11
11
  __export(exports_variant, {
12
- Plugin: () => Plugin24,
12
+ Plugin: () => Plugin43,
13
13
  VariantPlugin: () => exports_variant,
14
14
  generate: () => generate2
15
15
  });
16
16
  import { Effect } from "effect";
17
17
  import { define } from "@opencode-ai/plugin/effect/plugin";
18
18
  import { Model } from "@opencode-ai/schema/model";
19
- var Plugin24 = define({
19
+ var Plugin43 = define({
20
20
  id: "opencode.variant",
21
21
  effect: Effect.fn(function* (ctx) {
22
22
  yield* ctx.catalog.transform((catalog) => {
@@ -52,4 +52,4 @@ function generate2(model, provider) {
52
52
  }));
53
53
  }
54
54
 
55
- export { Plugin24, generate2, exports_variant };
55
+ export { Plugin43, generate2, exports_variant };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./permission-0e0xafbb.js";
3
+ } from "./shell-0e0xafbb.js";
4
4
  import {
5
- Service70,
6
- node75
7
- } from "./permission-qgqe8wdv.js";
5
+ Service54,
6
+ node57
7
+ } from "./shell-vn3xvc40.js";
8
8
  import {
9
9
  __export
10
- } from "./permission-9rqn6x4v.js";
10
+ } from "./shell-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service58,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer22,
20
- node: () => node63
17
+ Service: () => Service53,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer18,
20
+ node: () => node56
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode-ai/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,45 +27,45 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service58 extends Context.Service()("@opencode/Generate") {
36
+ class Service53 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer22 = Layer.effect(Service58, Effect.gen(function* () {
38
+ var layer18 = Layer.effect(Service53, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service70;
40
+ const resolver = yield* Service54;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
44
44
  "SessionRunnerModel.UnsupportedPackageError",
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError"
46
46
  ], (error) => {
47
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
47
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
48
48
  return Effect.fail(mapped);
49
49
  }));
50
50
  if (!resolved)
51
51
  return yield* new ModelSelectionError2({
52
52
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
53
53
  });
54
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
54
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
55
55
  message: error.message,
56
56
  service: resolved.ref.providerID
57
57
  })));
58
58
  return response.text;
59
59
  });
60
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
60
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
61
61
  message: "Generation credentials are unavailable"
62
62
  })));
63
- return Service58.of({ text });
63
+ return Service53.of({ text });
64
64
  }));
65
- var node63 = makeLocationNode({
66
- service: Service58,
67
- layer: layer22,
68
- deps: [node75, llmClient2]
65
+ var node56 = makeLocationNode({
66
+ service: Service53,
67
+ layer: layer18,
68
+ deps: [node57, llmClient2]
69
69
  });
70
70
 
71
- export { ModelSelectionError2, UnavailableError3, Service58, layer22, node63, exports_generate2 };
71
+ export { ModelSelectionError2, UnavailableError2, Service53, layer18, node56, exports_generate2 };