@opencode/core 0.0.0-dev-19777 → 0.0.0-dev-19778

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{shell-q3t37ft6.js → app-08rawchj.js} +3 -3
  8. package/dist/chunks/{shell-4jq8p7em.js → app-09gk47kq.js} +25 -25
  9. package/dist/chunks/{shell-pqybgrxs.js → app-0b88r0h9.js} +19 -19
  10. package/dist/chunks/{shell-gjnc9qzc.js → app-0nspsvre.js} +30 -30
  11. package/dist/chunks/{shell-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{shell-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{shell-0t2v7nrt.js → app-0w9dg31r.js} +20 -20
  14. package/dist/chunks/{shell-s9fwamzp.js → app-11k2snsb.js} +29 -29
  15. package/dist/chunks/{shell-1t08zx4j.js → app-179dh4fb.js} +26 -26
  16. package/dist/chunks/{shell-jfqtm2ew.js → app-19vf66h0.js} +4 -4
  17. package/dist/chunks/{shell-w7y6znma.js → app-1avr8xz3.js} +12 -12
  18. package/dist/chunks/{shell-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{shell-86qzxe6p.js → app-1y283654.js} +4 -4
  20. package/dist/chunks/{shell-vw7qqfe6.js → app-1zh1qvy5.js} +14 -14
  21. package/dist/chunks/{shell-21r38tys.js → app-21r38tys.js} +1 -1
  22. package/dist/chunks/{shell-2qt599cr.js → app-2331zxhe.js} +26 -26
  23. package/dist/chunks/{shell-2402vzrj.js → app-2402vzrj.js} +1 -1
  24. package/dist/chunks/{shell-t5jrxwkq.js → app-254g4bgq.js} +23 -23
  25. package/dist/chunks/{shell-z63w68vq.js → app-29x78va6.js} +6 -6
  26. package/dist/chunks/{shell-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{shell-jf901kab.js → app-2cxbvhsv.js} +21 -21
  28. package/dist/chunks/{shell-vd5v5qk0.js → app-2dx3f4tk.js} +60 -60
  29. package/dist/chunks/{shell-23w317nk.js → app-2f8jvka8.js} +11 -11
  30. package/dist/chunks/{shell-9wvkvc1q.js → app-2jpzqyhy.js} +60 -60
  31. package/dist/chunks/{shell-fcrkznn8.js → app-2k8khapm.js} +5 -5
  32. package/dist/chunks/{shell-6tn3yh5c.js → app-2n5t2efr.js} +17 -17
  33. package/dist/chunks/{shell-evbgk2k8.js → app-2qp6y8xf.js} +5 -5
  34. package/dist/chunks/{shell-3tt1qkhr.js → app-2xwkyk0m.js} +5 -5
  35. package/dist/chunks/{shell-109t7kd4.js → app-325w0d43.js} +9 -9
  36. package/dist/chunks/{shell-cae5tg5t.js → app-35kwx3sj.js} +22 -22
  37. package/dist/chunks/{shell-n6qxy5sm.js → app-37dzk8a6.js} +17 -17
  38. package/dist/chunks/{shell-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{shell-s2s60008.js → app-3gm11ngf.js} +9 -9
  40. package/dist/chunks/{shell-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{shell-j83byb14.js → app-3j8sdtpz.js} +4 -4
  42. package/dist/chunks/{shell-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{shell-15jxckgc.js → app-3t95da75.js} +4 -4
  44. package/dist/chunks/{shell-czq3e1zb.js → app-3tasvxsc.js} +11 -11
  45. package/dist/chunks/{shell-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{shell-d0c4rcdd.js → app-3xptedn4.js} +21 -21
  47. package/dist/chunks/{shell-p31t3pd0.js → app-4a5fdhmb.js} +9 -9
  48. package/dist/chunks/{shell-nzyhnfxz.js → app-4dgbcxzg.js} +4 -4
  49. package/dist/chunks/{shell-47b5fvew.js → app-4rn0kpbs.js} +7 -7
  50. package/dist/chunks/{shell-aw5nfhtx.js → app-4rq81ytk.js} +23 -23
  51. package/dist/chunks/{shell-6k4mb8p8.js → app-4sqx4g1d.js} +21 -21
  52. package/dist/chunks/{shell-ph3y9dt3.js → app-54tkqdbb.js} +13 -13
  53. package/dist/chunks/{shell-1ygqh575.js → app-56gdpj1q.js} +9 -9
  54. package/dist/chunks/{shell-57ez7d0k.js → app-57ez7d0k.js} +2 -2
  55. package/dist/chunks/{shell-5daktx2q.js → app-5daktx2q.js} +1 -1
  56. package/dist/chunks/{shell-df76fvss.js → app-5e1anv4t.js} +19 -19
  57. package/dist/chunks/{shell-6ca2f2mk.js → app-5g3p3txv.js} +3 -3
  58. package/dist/chunks/{shell-9cpbaep3.js → app-5je3e6t6.js} +9 -9
  59. package/dist/chunks/{shell-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{shell-jw80jp6b.js → app-5wtwrezn.js} +19 -19
  61. package/dist/chunks/{shell-hex08eaa.js → app-5xk1bkzf.js} +26 -26
  62. package/dist/chunks/{shell-nm19pb1r.js → app-5xkprrtv.js} +16 -16
  63. package/dist/chunks/{shell-7vxz9e56.js → app-5yp88j5n.js} +13 -13
  64. package/dist/chunks/{shell-669tq793.js → app-669tq793.js} +1 -1
  65. package/dist/chunks/{shell-898hkngb.js → app-6a1145wy.js} +9 -9
  66. package/dist/chunks/{shell-6hjx5zpb.js → app-6h23kmq1.js} +9 -9
  67. package/dist/chunks/app-6kdq0pjd.js +4 -0
  68. package/dist/chunks/{shell-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{shell-ej9nsrfw.js → app-6nchnj33.js} +7 -7
  70. package/dist/chunks/{shell-1w8tyy54.js → app-6t5c1nps.js} +40 -40
  71. package/dist/chunks/{shell-4eqskv5x.js → app-76vcpf37.js} +31 -31
  72. package/dist/chunks/{shell-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{shell-ncgz71ps.js → app-7dw6a6qq.js} +11 -11
  74. package/dist/chunks/{shell-ss0awb04.js → app-7ebn0nc0.js} +4 -4
  75. package/dist/chunks/{shell-nxhqveyz.js → app-7gvwkz6m.js} +5 -5
  76. package/dist/chunks/{shell-n6hr9sd6.js → app-7nevcv2j.js} +180 -180
  77. package/dist/chunks/{shell-pjmrnj4k.js → app-7xt60b7w.js} +11 -11
  78. package/dist/chunks/{shell-eq1pz5kg.js → app-7yh4e7ss.js} +3 -3
  79. package/dist/chunks/{shell-bagmkwbw.js → app-8453a172.js} +3 -3
  80. package/dist/chunks/{shell-p37hw4de.js → app-86yypyvq.js} +9 -9
  81. package/dist/chunks/{shell-hj65t7v3.js → app-89mq7wyr.js} +34 -34
  82. package/dist/chunks/{shell-902z4n12.js → app-8c78cpwa.js} +16 -16
  83. package/dist/chunks/{shell-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{shell-vsatvqh0.js → app-8eqv3pz0.js} +17 -17
  85. package/dist/chunks/{shell-vszvf9m8.js → app-8gtmhb3s.js} +37 -37
  86. package/dist/chunks/{shell-h2r7bbkd.js → app-8hgfhrm0.js} +7 -7
  87. package/dist/chunks/{shell-etfwcrdj.js → app-8jt7gytg.js} +9 -9
  88. package/dist/chunks/{shell-7m4yxrk1.js → app-8mkana51.js} +9 -9
  89. package/dist/chunks/{shell-8p4f9s12.js → app-8p4f9s12.js} +2 -2
  90. package/dist/chunks/{shell-xz9j7v2t.js → app-8q3prv5x.js} +13 -13
  91. package/dist/chunks/{shell-k1w610xy.js → app-8w492f25.js} +22 -22
  92. package/dist/chunks/{shell-90dg4enk.js → app-8w8z15t5.js} +21 -21
  93. package/dist/chunks/{shell-2eegacq4.js → app-92swnv4m.js} +8 -8
  94. package/dist/chunks/{shell-2v7da5f0.js → app-93kbyvxf.js} +8 -8
  95. package/dist/chunks/{shell-abf421gb.js → app-983faghs.js} +44 -44
  96. package/dist/chunks/{shell-byr7frw1.js → app-9f9pqsn7.js} +15 -15
  97. package/dist/chunks/{shell-c488s98d.js → app-9g3kc011.js} +12 -12
  98. package/dist/chunks/{shell-k1k8px0g.js → app-9m1xy59m.js} +22 -22
  99. package/dist/chunks/{shell-gzmddf54.js → app-9merv84y.js} +6 -6
  100. package/dist/chunks/{shell-9sddvxcq.js → app-9qt073d4.js} +24 -24
  101. package/dist/chunks/app-9sh4wc5j.js +18 -0
  102. package/dist/chunks/{shell-7qqb5aj4.js → app-9tpewzt2.js} +11 -11
  103. package/dist/chunks/{shell-xb1zhhk4.js → app-9z0vqgj8.js} +39 -39
  104. package/dist/chunks/{shell-4g0a6x89.js → app-9z29ty1c.js} +83 -83
  105. package/dist/chunks/{shell-kgqtb08c.js → app-a02x2nqf.js} +9 -9
  106. package/dist/chunks/{shell-wf93z251.js → app-a09b8rh7.js} +16 -16
  107. package/dist/chunks/{shell-a1bz86dw.js → app-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{shell-aaet6srn.js → app-aaet6srn.js} +2 -2
  109. package/dist/chunks/{shell-9kghbwpc.js → app-aaxfm0x4.js} +6 -6
  110. package/dist/chunks/{shell-kzb2n3ry.js → app-az7sc7tr.js} +31 -31
  111. package/dist/chunks/{shell-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{shell-99q6wywc.js → app-b6yse9kk.js} +32 -32
  113. package/dist/chunks/{shell-bha4atvq.js → app-bajakh74.js} +4 -4
  114. package/dist/chunks/{shell-4evf23qd.js → app-bwv0bmtn.js} +22 -22
  115. package/dist/chunks/{shell-601x61hw.js → app-bx2v6p93.js} +18 -18
  116. package/dist/chunks/{shell-6zk5k8gk.js → app-bxx2fbms.js} +26 -26
  117. package/dist/chunks/{shell-4910pwsm.js → app-bz83r41j.js} +27 -27
  118. package/dist/chunks/{shell-tfv73esw.js → app-c2zct6gz.js} +1 -1
  119. package/dist/chunks/{shell-9fc3v4re.js → app-c6ds0c94.js} +4 -4
  120. package/dist/chunks/{shell-qmqgtz8f.js → app-c765mh8b.js} +9 -9
  121. package/dist/chunks/{shell-rps88wy8.js → app-ce16mkz4.js} +6 -6
  122. package/dist/chunks/{shell-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
  123. package/dist/chunks/{shell-fxnhd30a.js → app-cgsgnzce.js} +30 -30
  124. package/dist/chunks/{shell-w1k39n5e.js → app-csf2jhsg.js} +4 -4
  125. package/dist/chunks/{shell-pp4xxq9a.js → app-ct358y0f.js} +19 -19
  126. package/dist/chunks/{shell-6ps1wf70.js → app-cxpa1y59.js} +20 -20
  127. package/dist/chunks/{shell-bdevdzfn.js → app-cxsc12hy.js} +15 -15
  128. package/dist/chunks/{shell-mh9k1zxz.js → app-cz607syy.js} +29 -29
  129. package/dist/chunks/{shell-82jjvh86.js → app-d4wrttap.js} +96 -96
  130. package/dist/chunks/{shell-6ka4kn86.js → app-dajkjmdb.js} +18 -18
  131. package/dist/chunks/{shell-1zhs7cbk.js → app-dk224700.js} +19 -19
  132. package/dist/chunks/{shell-v90naytm.js → app-dkvtys4x.js} +34 -34
  133. package/dist/chunks/{shell-x0ea1d7t.js → app-dmvh2pxq.js} +8 -8
  134. package/dist/chunks/{shell-tf2g47yf.js → app-dqbfyft2.js} +14 -14
  135. package/dist/chunks/{shell-xfkkasph.js → app-drwq78ky.js} +4 -4
  136. package/dist/chunks/{shell-wejvtsvc.js → app-e1meqxse.js} +10 -10
  137. package/dist/chunks/{shell-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{shell-470r2ntf.js → app-e44f2nns.js} +8 -8
  139. package/dist/chunks/{shell-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{shell-msjkcb2c.js → app-eg4c4y0k.js} +7 -7
  141. package/dist/chunks/{shell-yzyc98yn.js → app-emz89tv7.js} +6 -6
  142. package/dist/chunks/{shell-4xqkkkb3.js → app-enmz7mfm.js} +2 -2
  143. package/dist/chunks/{shell-nhw0hen6.js → app-enxpex03.js} +15 -15
  144. package/dist/chunks/{shell-x0pm48gx.js → app-eqfn4xbt.js} +11 -11
  145. package/dist/chunks/{shell-erw5rpbs.js → app-erw5rpbs.js} +2 -2
  146. package/dist/chunks/{shell-w7afr362.js → app-etf6ft0y.js} +20 -20
  147. package/dist/chunks/{shell-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{shell-v3ez8wwd.js → app-exv2d4f1.js} +300 -300
  149. package/dist/chunks/{shell-45nz77a5.js → app-eyyn9k7n.js} +4 -4
  150. package/dist/chunks/{shell-msdpvvtr.js → app-f23vd0x7.js} +16 -16
  151. package/dist/chunks/{shell-r8xr0va3.js → app-f2n192rq.js} +4 -4
  152. package/dist/chunks/{shell-3ktbe3hf.js → app-f38mbwqt.js} +9 -9
  153. package/dist/chunks/{shell-jca4demv.js → app-f38wsw69.js} +2 -2
  154. package/dist/chunks/{shell-q6xswt0f.js → app-f61hb4ek.js} +25 -25
  155. package/dist/chunks/{shell-f828m53h.js → app-f828m53h.js} +2 -2
  156. package/dist/chunks/{shell-sv380ctb.js → app-fsbsefvd.js} +8 -8
  157. package/dist/chunks/{shell-d4hz6pfm.js → app-fvskdbcf.js} +20 -20
  158. package/dist/chunks/{shell-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  159. package/dist/chunks/{shell-nchmh3xc.js → app-fzs6s7vg.js} +6 -6
  160. package/dist/chunks/{shell-mqq3d8t2.js → app-g23kf5ev.js} +7 -7
  161. package/dist/chunks/{shell-5gn0efa0.js → app-g5wwnt5k.js} +11 -11
  162. package/dist/chunks/app-gb40j6dy.js +252 -0
  163. package/dist/chunks/{shell-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{shell-1p4gqph4.js → app-gk0dt8df.js} +11 -11
  165. package/dist/chunks/{shell-p9dx6m3r.js → app-gmqyvvgm.js} +32 -32
  166. package/dist/chunks/{shell-fk72hcm3.js → app-gswswfzq.js} +5 -5
  167. package/dist/chunks/{shell-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{shell-gtt1eksx.js → app-gyy1ffzd.js} +16 -16
  169. package/dist/chunks/{shell-4bwczsq4.js → app-gyzwq9sn.js} +19 -19
  170. package/dist/chunks/{shell-7w3s9kd0.js → app-gzbkpp9m.js} +4 -4
  171. package/dist/chunks/{shell-c6639vss.js → app-h351tmaf.js} +19 -19
  172. package/dist/chunks/{shell-kpg8spgh.js → app-h35nstb6.js} +11 -11
  173. package/dist/chunks/{shell-2evyaa68.js → app-h6jr292a.js} +4 -4
  174. package/dist/chunks/{shell-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  175. package/dist/chunks/{shell-4c7rbc8y.js → app-hjsb5tch.js} +3 -3
  176. package/dist/chunks/{shell-x7zeatxc.js → app-hrjdv2as.js} +5 -5
  177. package/dist/chunks/{shell-7dghwch0.js → app-htw5fxvd.js} +32 -32
  178. package/dist/chunks/{shell-3ekgth3a.js → app-hv3115q5.js} +13 -13
  179. package/dist/chunks/{shell-gqn0yf43.js → app-hy9pqe3b.js} +14 -14
  180. package/dist/chunks/{shell-bqh2sd97.js → app-j27dhsgb.js} +16 -16
  181. package/dist/chunks/{shell-j56e64zr.js → app-j56e64zr.js} +1 -1
  182. package/dist/chunks/{shell-47txtcvt.js → app-j8pq5m3s.js} +30 -30
  183. package/dist/chunks/{shell-y8zkxr9j.js → app-jcdktctk.js} +17 -17
  184. package/dist/chunks/{shell-d07c07ww.js → app-jktrx7yg.js} +44 -44
  185. package/dist/chunks/{shell-h2dht7j6.js → app-jnc00e3h.js} +13 -13
  186. package/dist/chunks/{shell-xd6cwxj6.js → app-jsq5br9j.js} +42 -42
  187. package/dist/chunks/{shell-embw8kgh.js → app-jvf3yq6v.js} +4 -4
  188. package/dist/chunks/{shell-epkvt2y6.js → app-jw8sqkvn.js} +19 -19
  189. package/dist/chunks/{shell-2ka7npbv.js → app-k1j9bv8z.js} +22 -22
  190. package/dist/chunks/{shell-nzks3jc8.js → app-k3c624dm.js} +3 -3
  191. package/dist/chunks/{shell-b89grqm6.js → app-k8n6pnr9.js} +77 -77
  192. package/dist/chunks/{shell-k9kj6xed.js → app-knb7evpn.js} +6 -6
  193. package/dist/chunks/{shell-rymghcbg.js → app-knwmqf4w.js} +30 -30
  194. package/dist/chunks/{shell-4xs1pjsx.js → app-krswskp9.js} +5 -5
  195. package/dist/chunks/{shell-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  196. package/dist/chunks/{shell-96939sxw.js → app-m893rmfk.js} +30 -30
  197. package/dist/chunks/{shell-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{shell-eq26c9e0.js → app-mnpggwcf.js} +9 -9
  199. package/dist/chunks/{shell-03vvt530.js → app-mp8r0d78.js} +46 -46
  200. package/dist/chunks/{shell-v8jfbz3g.js → app-mx9vqzsb.js} +6 -6
  201. package/dist/chunks/{shell-bbsv54dc.js → app-n4thtx26.js} +47 -47
  202. package/dist/chunks/{shell-4deap7ac.js → app-ne6czcbh.js} +13 -13
  203. package/dist/chunks/{shell-j7ygsfe1.js → app-nrmx6035.js} +8 -8
  204. package/dist/chunks/{shell-tfc91kag.js → app-ns7ytg88.js} +5 -5
  205. package/dist/chunks/{shell-q3csemeg.js → app-nsbb6rh2.js} +6 -6
  206. package/dist/chunks/{shell-nq7qbqzc.js → app-nscznvay.js} +9 -9
  207. package/dist/chunks/{shell-hs41a4tz.js → app-p002d2y8.js} +11 -11
  208. package/dist/chunks/{shell-p4f9hcv5.js → app-p46rex2z.js} +5 -5
  209. package/dist/chunks/{shell-ygek0628.js → app-p4b89s5t.js} +4 -4
  210. package/dist/chunks/{shell-9hn6k4tm.js → app-pa8pe2x7.js} +8 -8
  211. package/dist/chunks/{shell-8vfsjsk5.js → app-pd4tfbn7.js} +27 -27
  212. package/dist/chunks/{shell-8kpc6pdt.js → app-phttym0s.js} +9 -9
  213. package/dist/chunks/{shell-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{shell-pknna89w.js → app-pknna89w.js} +1 -1
  215. package/dist/chunks/{shell-s6azf4c4.js → app-prbrnhj7.js} +23 -23
  216. package/dist/chunks/{shell-bjj905gy.js → app-pya94xtm.js} +31 -31
  217. package/dist/chunks/{shell-w6q8arpf.js → app-q6xw37aw.js} +28 -28
  218. package/dist/chunks/{shell-t44e5ekz.js → app-q6zxb0dv.js} +8 -8
  219. package/dist/chunks/{shell-4xtxd1vd.js → app-q7e4c841.js} +20 -20
  220. package/dist/chunks/{shell-6t8d5s38.js → app-q80w5f59.js} +4 -4
  221. package/dist/chunks/{shell-a5vww0b3.js → app-q9xc5syg.js} +22 -22
  222. package/dist/chunks/{shell-sw8vzzw8.js → app-qf8tt7h0.js} +21 -21
  223. package/dist/chunks/{shell-e0htajja.js → app-qht3p2g6.js} +25 -25
  224. package/dist/chunks/{shell-qsdy395h.js → app-qsdy395h.js} +1 -1
  225. package/dist/chunks/{shell-04tgm3f1.js → app-r9bhfmrk.js} +11 -11
  226. package/dist/chunks/{shell-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{shell-48yxe442.js → app-re49jchr.js} +33 -33
  228. package/dist/chunks/{shell-qv98w6tv.js → app-rejdgvb4.js} +28 -28
  229. package/dist/chunks/{shell-qp3v07n2.js → app-rtathh62.js} +8 -8
  230. package/dist/chunks/{shell-dcx9ytfh.js → app-rvdbz7jp.js} +17 -17
  231. package/dist/chunks/{shell-y9j63q94.js → app-s12geb02.js} +12 -12
  232. package/dist/chunks/{shell-yrznvahk.js → app-s4enseaf.js} +2 -2
  233. package/dist/chunks/{shell-0ms7z6s1.js → app-s7e9s4m8.js} +12 -12
  234. package/dist/chunks/{shell-nnz2m9wf.js → app-sa0xgtnt.js} +8 -8
  235. package/dist/chunks/{shell-40g5vgkd.js → app-sfpmt6g6.js} +32 -32
  236. package/dist/chunks/{shell-erh6shke.js → app-sjx70dvg.js} +5 -5
  237. package/dist/chunks/{shell-7dbmnfn4.js → app-sm965ndy.js} +8 -8
  238. package/dist/chunks/{shell-m3k3skyh.js → app-ssfx8w0w.js} +15 -15
  239. package/dist/chunks/{shell-491531f5.js → app-t26fz10k.js} +42 -42
  240. package/dist/chunks/{shell-eaj1djv9.js → app-t550f9t1.js} +8 -8
  241. package/dist/chunks/{shell-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{shell-tbz0fdvh.js → app-tbz0fdvh.js} +2 -2
  243. package/dist/chunks/{shell-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{shell-tdstcens.js → app-tdstcens.js} +1 -1
  245. package/dist/chunks/{shell-w3dn7vsw.js → app-th8dzebb.js} +32 -32
  246. package/dist/chunks/{shell-vjbs195a.js → app-tmy80d1d.js} +33 -33
  247. package/dist/chunks/{shell-fz50j58q.js → app-tpqwzhdx.js} +3 -3
  248. package/dist/chunks/{shell-4jc5c4h4.js → app-ts2x07a1.js} +1 -1
  249. package/dist/chunks/{shell-tvtrv512.js → app-tvtrv512.js} +1 -1
  250. package/dist/chunks/app-v2xq4n2m.js +26 -0
  251. package/dist/chunks/{shell-j96nbzpq.js → app-v74hrknw.js} +3 -3
  252. package/dist/chunks/{shell-veqvce7d.js → app-veqvce7d.js} +1 -1
  253. package/dist/chunks/{shell-eb46bezg.js → app-vf31m6xw.js} +4 -4
  254. package/dist/chunks/{shell-jv01nqvq.js → app-vmq7ehpy.js} +5 -5
  255. package/dist/chunks/{shell-6rsdkm0q.js → app-vy2nh6er.js} +16 -16
  256. package/dist/chunks/{shell-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{shell-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{shell-k0nnq3t9.js → app-w4axh9wz.js} +6 -6
  259. package/dist/chunks/{shell-dwmvj21z.js → app-w5r1r7r5.js} +3 -3
  260. package/dist/chunks/{shell-xmer0dbq.js → app-wcnpmejz.js} +4 -4
  261. package/dist/chunks/{shell-wd87259q.js → app-wd87259q.js} +1 -1
  262. package/dist/chunks/{shell-mm2e63sp.js → app-wr40kbw1.js} +20 -20
  263. package/dist/chunks/{shell-07dpaenw.js → app-x16z1dtm.js} +41 -41
  264. package/dist/chunks/{shell-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{shell-9pbz1hdq.js → app-x74apfg4.js} +1 -1
  266. package/dist/chunks/{shell-cz5cm7h7.js → app-xd6rxq6w.js} +3 -3
  267. package/dist/chunks/{shell-7v81x33d.js → app-xdx7acry.js} +9 -9
  268. package/dist/chunks/{shell-jyjzw1ga.js → app-xjx8etak.js} +44 -44
  269. package/dist/chunks/{shell-dxbh06rw.js → app-xnwv1veh.js} +9 -9
  270. package/dist/chunks/{shell-xc4h54g0.js → app-xpxdqe4n.js} +8 -8
  271. package/dist/chunks/{shell-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{shell-3t9k22p6.js → app-y4r7bpy5.js} +5 -5
  273. package/dist/chunks/{shell-52z29kxa.js → app-y5svnfmg.js} +9 -9
  274. package/dist/chunks/{shell-mxbx1btj.js → app-y6rdf9v0.js} +18 -18
  275. package/dist/chunks/{shell-y71avatq.js → app-y71avatq.js} +1 -1
  276. package/dist/chunks/{shell-9z34yp3t.js → app-yd34yanf.js} +4 -4
  277. package/dist/chunks/{shell-yh8kp56w.js → app-ydqbacn8.js} +11 -11
  278. package/dist/chunks/{shell-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{shell-escjqfgg.js → app-ytbhk2x6.js} +5 -5
  280. package/dist/chunks/{shell-dz7g6c4d.js → app-z0656w2w.js} +26 -26
  281. package/dist/chunks/{shell-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{shell-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{shell-z1djt9rd.js → app-zkkvfm1v.js} +30 -30
  284. package/dist/chunks/{shell-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{shell-by3yt8c1.js → app-zt0gt0h0.js} +6 -6
  286. package/dist/chunks/{shell-pqw62kwh.js → app-zvpx4q1j.js} +13 -13
  287. package/dist/chunks/{shell-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{shell-4j5wzjj5.js → app-zz7qbrzd.js} +27 -27
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +80 -80
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +124 -124
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +125 -125
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +366 -366
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +224 -224
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +97 -97
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +357 -357
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +354 -354
  470. package/dist/location.js +82 -82
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +101 -101
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +74 -74
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +98 -98
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +103 -103
  491. package/dist/plugin/command.js +100 -100
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +217 -217
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +328 -328
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +95 -95
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +76 -76
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +1 -1
  537. package/dist/plugin/provider.js +158 -158
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +347 -347
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +228 -228
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +83 -83
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +223 -223
  579. package/dist/session/execution.js +125 -125
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +96 -96
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +118 -118
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +129 -129
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +230 -230
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +97 -97
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +113 -113
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +155 -155
  616. package/dist/session/to-session-error.js +110 -110
  617. package/dist/session/transfer.js +222 -222
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +215 -215
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +124 -124
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +121 -121
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +121 -121
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +120 -120
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +108 -108
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +12 -12
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +3 -3
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +5 -5
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/variant.js +92 -92
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +81 -81
  681. package/dist/wellknown/plugin.js +75 -75
  682. package/dist/wellknown.js +78 -78
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +79 -79
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +88 -88
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/shell-0mesazry.js +0 -4
  693. package/dist/chunks/shell-9wnswpj2.js +0 -26
  694. package/dist/chunks/shell-rap9a73h.js +0 -18
  695. package/dist/chunks/shell-sbdeyn5w.js +0 -252
  696. /package/dist/chunks/{shell-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{shell-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{shell-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{shell-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{shell-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{shell-24dcb14g.js → app-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{shell-2710q6r3.js → app-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{shell-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{shell-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{shell-359p4xyc.js → app-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{shell-3asan66x.js → app-3asan66x.js} +0 -0
  707. /package/dist/chunks/{shell-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{shell-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{shell-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{shell-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{shell-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{shell-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{shell-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{shell-53557ph1.js → app-53557ph1.js} +0 -0
  715. /package/dist/chunks/{shell-550bvhaj.js → app-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{shell-6prwharc.js → app-6prwharc.js} +0 -0
  717. /package/dist/chunks/{shell-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{shell-7m9af43g.js → app-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{shell-822emrt2.js → app-822emrt2.js} +0 -0
  720. /package/dist/chunks/{shell-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{shell-8n3pysct.js → app-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{shell-922hggd3.js → app-922hggd3.js} +0 -0
  723. /package/dist/chunks/{shell-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{shell-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{shell-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{shell-af5trqkr.js → app-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{shell-afrmfg78.js → app-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{shell-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{shell-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{shell-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{shell-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{shell-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{shell-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{shell-d9fn303g.js → app-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{shell-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{shell-dajrwvna.js → app-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{shell-dap0rakb.js → app-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{shell-df08tz66.js → app-df08tz66.js} +0 -0
  739. /package/dist/chunks/{shell-dy18nga0.js → app-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{shell-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{shell-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{shell-ec1grn59.js → app-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{shell-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{shell-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{shell-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{shell-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{shell-faypxj3z.js → app-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{shell-fd410y7t.js → app-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{shell-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{shell-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{shell-g86h250q.js → app-g86h250q.js} +0 -0
  752. /package/dist/chunks/{shell-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{shell-gftt206x.js → app-gftt206x.js} +0 -0
  754. /package/dist/chunks/{shell-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{shell-hk9envan.js → app-hk9envan.js} +0 -0
  756. /package/dist/chunks/{shell-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{shell-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{shell-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{shell-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{shell-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{shell-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{shell-mp448xyj.js → app-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{shell-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{shell-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{shell-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{shell-njntx4h6.js → app-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{shell-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{shell-q74kybfr.js → app-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{shell-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{shell-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{shell-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{shell-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{shell-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{shell-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{shell-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{shell-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{shell-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{shell-twg0f83k.js → app-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{shell-w803qqfp.js → app-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{shell-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{shell-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{shell-wtztk69x.js → app-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{shell-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{shell-x61499pn.js → app-x61499pn.js} +0 -0
  785. /package/dist/chunks/{shell-y44na4kk.js → app-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{shell-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{shell-y8f7s663.js → app-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{shell-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{shell-ym463w8f.js → app-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{shell-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID8,
2
+ ID11,
3
3
  mergeOverlay2
4
- } from "./shell-99q6wywc.js";
4
+ } from "./app-b6yse9kk.js";
5
5
  import {
6
- ID7,
6
+ ID10,
7
7
  VariantID2,
8
- Info21,
8
+ Info25,
9
9
  compatibility2
10
- } from "./shell-47txtcvt.js";
10
+ } from "./app-j8pq5m3s.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./app-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models2 = {};
17
- __export(exports_models2, {
18
- ModalModels: () => exports_models2,
19
- derive: () => derive3,
20
- get: () => get3,
21
- load: () => load3
16
+ var exports_models = {};
17
+ __export(exports_models, {
18
+ ModalModels: () => exports_models,
19
+ derive: () => derive2,
20
+ get: () => get2,
21
+ load: () => load2
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID8.make("modal");
25
+ var providerID = ID11.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get3(baseURL, apiKey, existing) {
58
- return derive3(baseURL, await load3(baseURL, apiKey), existing);
57
+ async function get2(baseURL, apiKey, existing) {
58
+ return derive2(baseURL, await load2(baseURL, apiKey), existing);
59
59
  }
60
- async function load3(baseURL, apiKey) {
60
+ async function load2(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive3(baseURL, remote, existing) {
74
+ function derive2(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID7.make(item.id);
78
+ const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID10.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info21.make({
98
- ...Info21.default(providerID, id),
97
+ return Info25.make({
98
+ ...Info25.default(providerID, id),
99
99
  id,
100
- modelID: ID7.make(remote.id),
100
+ modelID: ID10.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get3, load3, derive3, exports_models2 };
147
+ export { get2, load2, derive2, exports_models };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-922hggd3.js";
4
+ } from "./app-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./shell-c488s98d.js";
8
+ Service80,
9
+ node84
10
+ } from "./app-9g3kc011.js";
11
11
  import {
12
12
  Service78,
13
13
  node82
14
- } from "./shell-8kpc6pdt.js";
14
+ } from "./app-phttym0s.js";
15
15
  import {
16
16
  create3
17
- } from "./shell-rdw6cm16.js";
17
+ } from "./app-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./app-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error4,
26
- ID: () => ID5,
27
- Service: () => Service45,
26
+ ID: () => ID3,
27
+ Service: () => Service39,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node49,
29
+ node: () => node42,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID3 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,11 +43,11 @@ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service45 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service39 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service45, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID3.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service45.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node49 = makeLocationNode({
144
- service: Service45,
143
+ var node42 = makeLocationNode({
144
+ service: Service39,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node82]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service45, Service45.of({
148
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -163,4 +163,4 @@ function failure(operation, cause) {
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error4, Service45, node49, noopLayer2, exports_snapshot2 };
166
+ export { ID3, Error4, Service39, node42, noopLayer2, exports_snapshot2 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./shell-bqh2sd97.js";
3
+ Service81,
4
+ node85
5
+ } from "./app-j27dhsgb.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./app-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service2,
14
+ Service: () => Service5,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
17
- node: () => node3
16
+ layer: () => layer6,
17
+ node: () => node7
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service2 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service5 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service2, Effect.gen(function* () {
26
- const bus = yield* Service82;
25
+ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
26
+ const bus = yield* Service81;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service2.of({
29
+ return Service5.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node86] });
36
+ var node7 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node85] });
37
37
 
38
- export { Updated2, Service2, layer4, node3, exports_sdk };
38
+ export { Updated2, Service5, layer6, node7, exports_sdk };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./shell-3v8g72cx.js";
3
+ } from "./app-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp,
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
+ WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./shell-rdw6cm16.js";
3
+ } from "./app-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./shell-qaymkmh1.js";
6
+ } from "./app-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options7,
15
- Service: () => Service59,
14
+ Options: () => Options5,
15
+ Service: () => Service48,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured8,
18
+ configured: () => configured5,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node62,
24
+ node: () => node50,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options7 = Schema.Struct({
46
+ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service59 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service48 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service59.of({
202
+ return Service48.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured8(options) {
210
- return makeLocationNode({ service: Service59, layer: layer(options), deps: [Global.node] });
209
+ function configured5(options) {
210
+ return makeLocationNode({ service: Service48, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node62 = configured8();
212
+ var node50 = configured5();
213
213
 
214
- export { Options7, Service59, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node62, exports_select };
214
+ export { Options5, Service48, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured5, node50, exports_select };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./shell-emrn6kk6.js";
3
+ } from "./app-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./shell-47b5fvew.js";
6
+ } from "./app-4rn0kpbs.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./shell-tfv73esw.js";
9
+ } from "./app-c2zct6gz.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  latest2,
3
3
  Service62
4
- } from "./shell-hj65t7v3.js";
4
+ } from "./app-89mq7wyr.js";
5
5
  import {
6
6
  observe2
7
- } from "./shell-qsdy395h.js";
7
+ } from "./app-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./app-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch2 = {};
14
- __export(exports_websearch2, {
15
- ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin39
13
+ var exports_websearch = {};
14
+ __export(exports_websearch, {
15
+ ConfigWebSearchPlugin: () => exports_websearch,
16
+ Plugin: () => Plugin16
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin39 = define({
20
+ var Plugin16 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const config = yield* Service62;
@@ -32,4 +32,4 @@ var Plugin39 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin39, exports_websearch2 };
35
+ export { Plugin16, exports_websearch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./shell-y8cydn3q.js";
3
+ } from "./app-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
9
+ ConfigPermissionV1: () => exports_permission2,
10
10
  Info: () => Info17,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
36
  var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
@@ -38,4 +38,4 @@ var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info17, exports_permission };
41
+ export { Action2, Object2, Rule3, Info17, exports_permission2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./shell-bqh2sd97.js";
2
+ Service81,
3
+ node85
4
+ } from "./app-j27dhsgb.js";
5
5
  import {
6
- Service71,
7
- node75
8
- } from "./shell-3ekgth3a.js";
6
+ Service74,
7
+ node77
8
+ } from "./app-hv3115q5.js";
9
9
  import {
10
10
  create3
11
- } from "./shell-rdw6cm16.js";
11
+ } from "./app-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./app-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event8,
21
- ID: () => ID4,
20
+ Event: () => Event20,
21
+ ID: () => ID15,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service39,
31
+ Service: () => Service73,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node42
33
+ node: () => node76
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event8 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event20 } from "@opencode/schema/websearch";
41
+ var ID15 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID15, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID15
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID15,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service39 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service73 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service39, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service71;
68
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
69
+ const bus = yield* Service81;
70
+ const kv = yield* Service74;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service39.of({
127
+ return Service73.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node42 = makeLocationNode({
188
- service: Service39,
187
+ var node76 = makeLocationNode({
188
+ service: Service73,
189
189
  layer,
190
- deps: [node86, node75]
190
+ deps: [node85, node77]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service39, node42, exports_websearch3, Event8 };
193
+ export { ID15, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service73, node76, exports_websearch3, Event20 };