@opencode/core 0.0.0-dev-19482 → 0.0.0-dev-19483

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{shell-jvcjtfdj.js → websearch-01z5yxwd.js} +5 -5
  9. package/dist/chunks/{shell-9cp1yb9s.js → websearch-057kyg8r.js} +4 -4
  10. package/dist/chunks/{shell-w1k39n5e.js → websearch-06dxphr1.js} +4 -4
  11. package/dist/chunks/{shell-fzmz3zsx.js → websearch-0e8daqst.js} +4 -4
  12. package/dist/chunks/{shell-h6mds1av.js → websearch-0ewyyc7b.js} +38 -38
  13. package/dist/chunks/{shell-757464b7.js → websearch-0h54jqbs.js} +8 -8
  14. package/dist/chunks/{shell-2k8khapm.js → websearch-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{shell-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{shell-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{shell-qm9qwyxs.js → websearch-0vnyxh58.js} +37 -37
  18. package/dist/chunks/{shell-cxq7hy6v.js → websearch-106gw7zm.js} +24 -24
  19. package/dist/chunks/{shell-d8nc1xcx.js → websearch-18e56dsp.js} +4 -4
  20. package/dist/chunks/{shell-ak72jphr.js → websearch-1awm1f41.js} +12 -12
  21. package/dist/chunks/{shell-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{shell-mvvn0xpn.js → websearch-1drfwyv5.js} +39 -39
  23. package/dist/chunks/{shell-yxdv66k0.js → websearch-1p30vngg.js} +15 -15
  24. package/dist/chunks/{shell-jmm61hn9.js → websearch-1qqjkbbm.js} +35 -35
  25. package/dist/chunks/{shell-h5mtjt0m.js → websearch-1zh4pghf.js} +37 -37
  26. package/dist/chunks/{shell-21r38tys.js → websearch-21r38tys.js} +1 -1
  27. package/dist/chunks/{shell-2402vzrj.js → websearch-2402vzrj.js} +1 -1
  28. package/dist/chunks/{shell-jyf8w563.js → websearch-25ajstgf.js} +28 -28
  29. package/dist/chunks/{shell-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{shell-2bt6bea8.js → websearch-2bt6bea8.js} +2 -2
  31. package/dist/chunks/{shell-qwkytnft.js → websearch-2e96adxv.js} +6 -6
  32. package/dist/chunks/{shell-fe9854a7.js → websearch-2ehqxkpw.js} +12 -12
  33. package/dist/chunks/{shell-qyxzwjwr.js → websearch-2fcywxny.js} +11 -11
  34. package/dist/chunks/{shell-42xebk03.js → websearch-2m8k3bqq.js} +20 -20
  35. package/dist/chunks/{shell-0w0gm0da.js → websearch-2ts122me.js} +13 -13
  36. package/dist/chunks/{shell-bx61q0p6.js → websearch-36qa6tx5.js} +27 -27
  37. package/dist/chunks/{shell-g0jbyvt7.js → websearch-38btsem5.js} +2 -2
  38. package/dist/chunks/{shell-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{shell-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{shell-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{shell-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{shell-yb9t9wk7.js → websearch-3zd3rmvv.js} +15 -15
  43. package/dist/chunks/{shell-d52p5a3y.js → websearch-41ken85s.js} +17 -17
  44. package/dist/chunks/{shell-c3w8sn3d.js → websearch-43k15f45.js} +4 -4
  45. package/dist/chunks/{shell-715pgvxv.js → websearch-4ejw2jqq.js} +13 -13
  46. package/dist/chunks/{shell-7y5sgbz2.js → websearch-4ve9z8c1.js} +16 -16
  47. package/dist/chunks/{shell-9fgx6pd5.js → websearch-4wcq7dqs.js} +16 -16
  48. package/dist/chunks/{shell-0cy5jdh3.js → websearch-4wrhrxm7.js} +13 -13
  49. package/dist/chunks/{shell-csveq9pc.js → websearch-4xxmr89x.js} +25 -25
  50. package/dist/chunks/{shell-4y66k410.js → websearch-4y66k410.js} +2 -2
  51. package/dist/chunks/{shell-qse8x9va.js → websearch-53705tx4.js} +43 -43
  52. package/dist/chunks/{shell-1vqdrp7h.js → websearch-550p2257.js} +36 -36
  53. package/dist/chunks/{shell-nsnmc6vq.js → websearch-553wj9b8.js} +4 -4
  54. package/dist/chunks/{shell-56gdpj1q.js → websearch-56gdpj1q.js} +2 -2
  55. package/dist/chunks/{shell-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  56. package/dist/chunks/{shell-v7sgzh50.js → websearch-5drs3kxz.js} +17 -17
  57. package/dist/chunks/{shell-191q2am9.js → websearch-5h6cs5y5.js} +20 -20
  58. package/dist/chunks/{shell-q0jfp978.js → websearch-5n168jes.js} +15 -15
  59. package/dist/chunks/{shell-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{shell-mme1bqhm.js → websearch-5z2m8pyj.js} +27 -27
  61. package/dist/chunks/{shell-669tq793.js → websearch-669tq793.js} +1 -1
  62. package/dist/chunks/{shell-j2x4pfpm.js → websearch-6azrrpy8.js} +8 -8
  63. package/dist/chunks/{shell-f3rhz1g8.js → websearch-6ba91h8c.js} +84 -84
  64. package/dist/chunks/{shell-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{shell-75fbrjyy.js → websearch-6w60nb5g.js} +295 -295
  66. package/dist/chunks/{shell-71q4at8m.js → websearch-71q4at8m.js} +1 -1
  67. package/dist/chunks/{shell-asmz7wyz.js → websearch-7b15y959.js} +8 -8
  68. package/dist/chunks/{shell-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{shell-t89hfesc.js → websearch-7cedjrs4.js} +9 -9
  70. package/dist/chunks/{shell-gqcgtd7m.js → websearch-7jv6pypr.js} +12 -12
  71. package/dist/chunks/{shell-0fn5g1dw.js → websearch-7s1ycvxr.js} +25 -25
  72. package/dist/chunks/{shell-j7wq2tw5.js → websearch-7w99qc9d.js} +3 -3
  73. package/dist/chunks/{shell-73tb2d7t.js → websearch-7yh4e7ss.js} +3 -3
  74. package/dist/chunks/{shell-n47h4z4n.js → websearch-836wjbr2.js} +15 -15
  75. package/dist/chunks/{shell-n9bzgvrq.js → websearch-84xsc2j4.js} +15 -15
  76. package/dist/chunks/{shell-x3vadacb.js → websearch-86eyv63b.js} +13 -13
  77. package/dist/chunks/{shell-b19dgzvs.js → websearch-87v2xzqa.js} +1 -1
  78. package/dist/chunks/{shell-tcezcvh9.js → websearch-89znhe33.js} +4 -4
  79. package/dist/chunks/{shell-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{shell-a4nqgkt6.js → websearch-8jvzjvtx.js} +2 -2
  81. package/dist/chunks/{shell-gnp2cdh9.js → websearch-8mwczstk.js} +11 -11
  82. package/dist/chunks/{shell-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{shell-vjvqmxr3.js → websearch-8vgxngcq.js} +28 -28
  84. package/dist/chunks/{shell-vs31b0rs.js → websearch-9536ja0w.js} +26 -26
  85. package/dist/chunks/{shell-nc3fjawf.js → websearch-96yt6zt0.js} +1 -1
  86. package/dist/chunks/{shell-1jbxxpzt.js → websearch-99580sk5.js} +8 -8
  87. package/dist/chunks/{shell-gjmwt3yh.js → websearch-9aax44nh.js} +18 -18
  88. package/dist/chunks/{shell-1b9za8k8.js → websearch-9c6xrpvf.js} +4 -4
  89. package/dist/chunks/{shell-6djc8d4v.js → websearch-9encvwzm.js} +59 -59
  90. package/dist/chunks/{shell-qfzde7bh.js → websearch-9mkyvs4w.js} +6 -6
  91. package/dist/chunks/{shell-tyxx41mz.js → websearch-9q922tde.js} +22 -22
  92. package/dist/chunks/{shell-7gtrf76q.js → websearch-9s2tak1g.js} +20 -20
  93. package/dist/chunks/{shell-6w2332aj.js → websearch-9w319rvq.js} +7 -7
  94. package/dist/chunks/{shell-3f7mbqst.js → websearch-a1anr5m0.js} +12 -12
  95. package/dist/chunks/{shell-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{shell-4vxtq0ga.js → websearch-a4q6373d.js} +19 -19
  97. package/dist/chunks/{shell-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  98. package/dist/chunks/{shell-wpvxq4mk.js → websearch-abtdxr9t.js} +5 -5
  99. package/dist/chunks/{shell-cjmk82ph.js → websearch-adb54h9z.js} +47 -47
  100. package/dist/chunks/{shell-hvgm9eqs.js → websearch-adm0hv5w.js} +38 -38
  101. package/dist/chunks/websearch-ajhpbj2b.js +247 -0
  102. package/dist/chunks/{shell-23xgc4jt.js → websearch-aqjsmqrn.js} +45 -45
  103. package/dist/chunks/{shell-a4x50hwg.js → websearch-at2bvhe9.js} +25 -25
  104. package/dist/chunks/{shell-yj9j0m2y.js → websearch-avqvzm75.js} +167 -167
  105. package/dist/chunks/{shell-y2d29fce.js → websearch-az8wpmk5.js} +24 -24
  106. package/dist/chunks/{shell-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{shell-ve4pfa0n.js → websearch-bct739vz.js} +4 -4
  108. package/dist/chunks/{shell-654qzmht.js → websearch-bvbz56nf.js} +11 -11
  109. package/dist/chunks/{shell-4861qdfa.js → websearch-c22yrd1g.js} +11 -11
  110. package/dist/chunks/{shell-gst7axd9.js → websearch-ca7w653e.js} +4 -4
  111. package/dist/chunks/{shell-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{shell-bha4atvq.js → websearch-cq37gk0t.js} +4 -4
  113. package/dist/chunks/{shell-see2wqs9.js → websearch-czg833eg.js} +6 -6
  114. package/dist/chunks/{shell-rfnzy394.js → websearch-d50f2zf5.js} +1 -1
  115. package/dist/chunks/{shell-qfehbndj.js → websearch-dc1rab6v.js} +22 -22
  116. package/dist/chunks/{shell-cntxze1n.js → websearch-desf89vc.js} +9 -9
  117. package/dist/chunks/{shell-evbgk2k8.js → websearch-dj9sq318.js} +5 -5
  118. package/dist/chunks/{shell-61jgdnn9.js → websearch-dq4j0srv.js} +4 -4
  119. package/dist/chunks/{shell-dad7qjyt.js → websearch-dw9248gk.js} +9 -9
  120. package/dist/chunks/websearch-dxj72tfx.js +18 -0
  121. package/dist/chunks/{shell-jq0xap4z.js → websearch-e7dhzmy6.js} +6 -6
  122. package/dist/chunks/{shell-b1sq7v9m.js → websearch-e8zvhgb7.js} +30 -30
  123. package/dist/chunks/{shell-rfwb5caz.js → websearch-ek5dpqxb.js} +11 -11
  124. package/dist/chunks/{shell-srhw5zxk.js → websearch-ep6z9mt6.js} +8 -8
  125. package/dist/chunks/{shell-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{shell-gdbnz73m.js → websearch-ez2hf904.js} +11 -11
  127. package/dist/chunks/{shell-6ec7m0j6.js → websearch-f13dxr77.js} +25 -25
  128. package/dist/chunks/{shell-rgzjdtpz.js → websearch-f43ddyem.js} +8 -8
  129. package/dist/chunks/{shell-f40x834m.js → websearch-f58e595r.js} +16 -16
  130. package/dist/chunks/{shell-f828m53h.js → websearch-f828m53h.js} +2 -2
  131. package/dist/chunks/{shell-cek2cznd.js → websearch-f8q7mv7a.js} +1 -1
  132. package/dist/chunks/{shell-7a14zr6p.js → websearch-fcywhjc2.js} +11 -11
  133. package/dist/chunks/{shell-9h3amn4q.js → websearch-fgh0kbhd.js} +1 -1
  134. package/dist/chunks/{shell-nbegex03.js → websearch-fncgf4tb.js} +18 -18
  135. package/dist/chunks/{shell-j4xvd28z.js → websearch-frf89m5p.js} +24 -24
  136. package/dist/chunks/{shell-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{shell-w79gqzfd.js → websearch-fy3n071p.js} +25 -25
  138. package/dist/chunks/{shell-3rx2nwvc.js → websearch-fygdb7h7.js} +3 -3
  139. package/dist/chunks/{shell-epxwh5rt.js → websearch-fypyt9ax.js} +28 -28
  140. package/dist/chunks/{shell-c255b86t.js → websearch-g2bhzb9e.js} +16 -16
  141. package/dist/chunks/{shell-fzgk925k.js → websearch-g9ahqbpr.js} +11 -11
  142. package/dist/chunks/{shell-q95phfw2.js → websearch-gbks0crs.js} +6 -6
  143. package/dist/chunks/{shell-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{shell-pfq1ksym.js → websearch-gebtr55s.js} +5 -5
  145. package/dist/chunks/{shell-hnr5yq9h.js → websearch-gg7pg1rj.js} +5 -5
  146. package/dist/chunks/{shell-4aebnyy9.js → websearch-ggfxehqz.js} +11 -11
  147. package/dist/chunks/{shell-xpky65xt.js → websearch-gq38ebmh.js} +6 -6
  148. package/dist/chunks/{shell-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{shell-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{shell-672zjrs9.js → websearch-h6xcakft.js} +11 -11
  151. package/dist/chunks/{shell-mypwhdkk.js → websearch-hd569af0.js} +6 -6
  152. package/dist/chunks/{shell-v9dy98q8.js → websearch-hq22f3sc.js} +15 -15
  153. package/dist/chunks/{shell-0dyc37yz.js → websearch-htyym6ck.js} +38 -38
  154. package/dist/chunks/{shell-8377ydh1.js → websearch-hvhqgby5.js} +10 -10
  155. package/dist/chunks/{shell-2x9qsqkq.js → websearch-j028maxm.js} +9 -9
  156. package/dist/chunks/{shell-ymem0t2p.js → websearch-j4yy9w4e.js} +27 -27
  157. package/dist/chunks/{shell-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  158. package/dist/chunks/{shell-ppkgn7jr.js → websearch-j6tz9wj2.js} +7 -7
  159. package/dist/chunks/{shell-rs9gpnz9.js → websearch-j9y9fcvd.js} +9 -9
  160. package/dist/chunks/{shell-yjqv8qmq.js → websearch-jefma2gq.js} +10 -10
  161. package/dist/chunks/{shell-04n8fpsx.js → websearch-jfzav2gc.js} +4 -4
  162. package/dist/chunks/{shell-3anxtp47.js → websearch-jhsettgg.js} +53 -53
  163. package/dist/chunks/{shell-sykm9ny3.js → websearch-jrbyd3we.js} +14 -14
  164. package/dist/chunks/{shell-259cm5a5.js → websearch-jtbqkmrk.js} +7 -7
  165. package/dist/chunks/{shell-3m27cd08.js → websearch-jwe4x1j4.js} +29 -29
  166. package/dist/chunks/{shell-m43qeqsy.js → websearch-k16ay38w.js} +1 -1
  167. package/dist/chunks/{shell-9ejs86te.js → websearch-k308y3cd.js} +29 -29
  168. package/dist/chunks/{shell-xtwh079d.js → websearch-k4w51n94.js} +9 -9
  169. package/dist/chunks/{shell-nv5vn7qx.js → websearch-k5tg8ptt.js} +8 -8
  170. package/dist/chunks/{shell-29wksdc9.js → websearch-kek212n2.js} +18 -18
  171. package/dist/chunks/{shell-kg06axw8.js → websearch-kg06axw8.js} +1 -1
  172. package/dist/chunks/{shell-b8b3f19r.js → websearch-kpvyk30t.js} +9 -9
  173. package/dist/chunks/{shell-pck3w1ab.js → websearch-kqd2wwpf.js} +4 -4
  174. package/dist/chunks/{shell-29mdqam5.js → websearch-ksz0h0wp.js} +3 -3
  175. package/dist/chunks/{shell-23pqda6t.js → websearch-kxpygcw9.js} +4 -4
  176. package/dist/chunks/{shell-7ny3kv6n.js → websearch-m27pyyd3.js} +8 -8
  177. package/dist/chunks/{shell-9wc1evxj.js → websearch-m2n4ambj.js} +22 -22
  178. package/dist/chunks/{shell-wf190fkx.js → websearch-m3gqme58.js} +17 -17
  179. package/dist/chunks/{shell-3kq47whm.js → websearch-m56995h7.js} +20 -20
  180. package/dist/chunks/{shell-qfcxkg9x.js → websearch-m5g5cn1a.js} +3 -3
  181. package/dist/chunks/{shell-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{shell-3t8eac1t.js → websearch-magykp64.js} +4 -4
  183. package/dist/chunks/{shell-t7m3zm2g.js → websearch-mdb85k7s.js} +46 -46
  184. package/dist/chunks/{shell-hxqw5f62.js → websearch-meahntpx.js} +5 -5
  185. package/dist/chunks/{shell-ka2k270b.js → websearch-mgx963cj.js} +8 -8
  186. package/dist/chunks/{shell-bjke5af1.js → websearch-mk1f96az.js} +14 -14
  187. package/dist/chunks/{shell-f0fgzphd.js → websearch-mk8vf581.js} +9 -9
  188. package/dist/chunks/{shell-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{shell-x56sq1v7.js → websearch-mvj7zzrq.js} +26 -26
  190. package/dist/chunks/{shell-adhzpfb7.js → websearch-n35w23dd.js} +29 -29
  191. package/dist/chunks/{shell-7x5zvdqa.js → websearch-n40qqmec.js} +21 -21
  192. package/dist/chunks/{shell-71b9e1h9.js → websearch-n5a16gh2.js} +17 -17
  193. package/dist/chunks/{shell-fmxbrafm.js → websearch-n76fdqym.js} +5 -5
  194. package/dist/chunks/{shell-4q01a3y3.js → websearch-n89z7bxk.js} +16 -16
  195. package/dist/chunks/{shell-1v0k12rn.js → websearch-naqparvc.js} +16 -16
  196. package/dist/chunks/{shell-nhy5jxhy.js → websearch-nhy5jxhy.js} +1 -1
  197. package/dist/chunks/{shell-xg9t41r3.js → websearch-nng2ktcm.js} +2 -2
  198. package/dist/chunks/{shell-t2js6s8h.js → websearch-ntgpnhzh.js} +7 -7
  199. package/dist/chunks/{shell-t0x5rdq8.js → websearch-p1wf2k30.js} +9 -9
  200. package/dist/chunks/{shell-dhtqz3j8.js → websearch-p369s7er.js} +21 -21
  201. package/dist/chunks/{shell-t4mdcchx.js → websearch-pe3tsevc.js} +3 -3
  202. package/dist/chunks/{shell-7gvwkz6m.js → websearch-pecb0brz.js} +5 -5
  203. package/dist/chunks/{shell-8xy1g1m8.js → websearch-pesskt16.js} +15 -15
  204. package/dist/chunks/{shell-3hktcy2m.js → websearch-pgm1fsvb.js} +17 -17
  205. package/dist/chunks/{shell-v76skvps.js → websearch-pgmmxc65.js} +17 -17
  206. package/dist/chunks/{shell-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{shell-pknna89w.js → websearch-pknna89w.js} +1 -1
  208. package/dist/chunks/{shell-ydpamykn.js → websearch-py3b413y.js} +6 -6
  209. package/dist/chunks/{shell-yxq5295s.js → websearch-q0dvjevw.js} +29 -29
  210. package/dist/chunks/{shell-31y3jm9t.js → websearch-q0nz172n.js} +15 -15
  211. package/dist/chunks/{shell-fm2qvscf.js → websearch-qa3qhgw8.js} +4 -4
  212. package/dist/chunks/{shell-enq4mbeq.js → websearch-qbdb5rpj.js} +15 -15
  213. package/dist/chunks/{shell-0nmk1nfg.js → websearch-qce9we07.js} +12 -12
  214. package/dist/chunks/{shell-4w1d5wb3.js → websearch-qcmf15bf.js} +14 -14
  215. package/dist/chunks/{shell-8wmav03j.js → websearch-qfxgvynf.js} +10 -10
  216. package/dist/chunks/{shell-ss07yt36.js → websearch-qm5hq1wk.js} +9 -9
  217. package/dist/chunks/{shell-j3gzjeh1.js → websearch-qqvxqkma.js} +20 -20
  218. package/dist/chunks/{shell-ycbn6r48.js → websearch-qs8fd5yv.js} +45 -45
  219. package/dist/chunks/{shell-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  220. package/dist/chunks/{shell-j8zzr2am.js → websearch-qsxf26yz.js} +6 -6
  221. package/dist/chunks/{shell-dghm81pm.js → websearch-qy2frasb.js} +55 -55
  222. package/dist/chunks/{shell-r4gvnsqg.js → websearch-r2kye7qh.js} +18 -18
  223. package/dist/chunks/{shell-5vn45h4e.js → websearch-r6802cbt.js} +24 -24
  224. package/dist/chunks/{shell-wyam1r5m.js → websearch-r9babyk8.js} +1 -1
  225. package/dist/chunks/{shell-r9mregkx.js → websearch-r9mregkx.js} +2 -2
  226. package/dist/chunks/{shell-t97t2t7r.js → websearch-reqevd7p.js} +11 -11
  227. package/dist/chunks/{shell-h8aw6exk.js → websearch-rh8145c8.js} +27 -27
  228. package/dist/chunks/{shell-eaj1djv9.js → websearch-rhjbct0v.js} +8 -8
  229. package/dist/chunks/{shell-ryq1d4nq.js → websearch-rrshzaw6.js} +5 -5
  230. package/dist/chunks/{shell-gvmwhjkb.js → websearch-rv0djftn.js} +46 -46
  231. package/dist/chunks/{shell-bw668rws.js → websearch-rxtwa657.js} +26 -26
  232. package/dist/chunks/{shell-p688tfyr.js → websearch-s3c5a9z9.js} +17 -17
  233. package/dist/chunks/{shell-0gm9s4gg.js → websearch-saf13jzc.js} +17 -17
  234. package/dist/chunks/{shell-amj36hnk.js → websearch-sj7r2nre.js} +12 -12
  235. package/dist/chunks/{shell-6j93tkf6.js → websearch-sk718qf1.js} +21 -21
  236. package/dist/chunks/{shell-gb75dd12.js → websearch-sw4zbbw7.js} +9 -9
  237. package/dist/chunks/{shell-938d64v3.js → websearch-szwnxe8b.js} +6 -6
  238. package/dist/chunks/{shell-jte6my49.js → websearch-t0tjpkgm.js} +8 -8
  239. package/dist/chunks/{shell-512rfa6p.js → websearch-t7z3zppm.js} +2 -2
  240. package/dist/chunks/{shell-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{shell-s3p732vg.js → websearch-tbt4776d.js} +22 -22
  242. package/dist/chunks/{shell-v0rxpvp8.js → websearch-tcp3renx.js} +37 -37
  243. package/dist/chunks/{shell-tdstcens.js → websearch-tdstcens.js} +1 -1
  244. package/dist/chunks/{shell-knd1qvh0.js → websearch-tfngb0ww.js} +4 -4
  245. package/dist/chunks/{shell-gv6a8nnw.js → websearch-th5km1p3.js} +5 -5
  246. package/dist/chunks/{shell-fdeq67q0.js → websearch-trnt4t8c.js} +7 -7
  247. package/dist/chunks/{shell-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  248. package/dist/chunks/{shell-dya1x8f2.js → websearch-typd6ee7.js} +8 -8
  249. package/dist/chunks/{shell-jx9pvz9q.js → websearch-vcpxd4bv.js} +22 -22
  250. package/dist/chunks/{shell-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  251. package/dist/chunks/{shell-c156ep7e.js → websearch-vvxf2beg.js} +11 -11
  252. package/dist/chunks/{shell-nx3vg62n.js → websearch-vxpws250.js} +10 -10
  253. package/dist/chunks/{shell-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{shell-e119c6wb.js → websearch-w04kpkjq.js} +4 -4
  255. package/dist/chunks/{shell-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{shell-wd87259q.js → websearch-wd87259q.js} +1 -1
  257. package/dist/chunks/{shell-332whr7y.js → websearch-whcyep9v.js} +29 -29
  258. package/dist/chunks/{shell-m9j2dexz.js → websearch-wj0j7rwq.js} +6 -6
  259. package/dist/chunks/{shell-5ffkwt1e.js → websearch-wjaxxs0m.js} +22 -22
  260. package/dist/chunks/{shell-p5zja7w3.js → websearch-wnwaph4q.js} +20 -20
  261. package/dist/chunks/{shell-6ea2fwcg.js → websearch-wpm2rk0p.js} +6 -6
  262. package/dist/chunks/{shell-7bsq4hvy.js → websearch-wvg2fke4.js} +82 -82
  263. package/dist/chunks/{shell-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{shell-389yrpaj.js → websearch-x3jmp06z.js} +18 -18
  265. package/dist/chunks/{shell-2rkdvd01.js → websearch-x77tg81k.js} +9 -9
  266. package/dist/chunks/{shell-rkgfyfhg.js → websearch-xrye2hw7.js} +26 -26
  267. package/dist/chunks/{shell-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{shell-dpkg50ah.js → websearch-y71avatq.js} +4 -4
  269. package/dist/chunks/{shell-73n9zkes.js → websearch-y8n5tbft.js} +11 -11
  270. package/dist/chunks/{shell-pe83jqzf.js → websearch-yfvrypcb.js} +11 -11
  271. package/dist/chunks/{shell-6paxgs6k.js → websearch-yncfs3hz.js} +9 -9
  272. package/dist/chunks/{shell-f2n192rq.js → websearch-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{shell-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{shell-yrznvahk.js → websearch-yrznvahk.js} +2 -2
  275. package/dist/chunks/{shell-gm14zrge.js → websearch-yvwtzbz5.js} +3 -3
  276. package/dist/chunks/{shell-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{shell-hr0by3dc.js → websearch-z3a9s106.js} +24 -24
  278. package/dist/chunks/{shell-z63w68vq.js → websearch-z63w68vq.js} +2 -2
  279. package/dist/chunks/{shell-xvs1sa11.js → websearch-z69s9t6b.js} +5 -5
  280. package/dist/chunks/{shell-hz0670sp.js → websearch-z76px7dr.js} +32 -32
  281. package/dist/chunks/{shell-xkpcsvae.js → websearch-z7ygv8dn.js} +17 -17
  282. package/dist/chunks/{shell-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{shell-97h7kfy1.js → websearch-zex37ywk.js} +5 -5
  284. package/dist/chunks/{shell-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{shell-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{shell-ekj7r0kp.js → websearch-zyyr8j6k.js} +10 -10
  287. package/dist/chunks/{shell-36cew03x.js → websearch-zz5hkvbq.js} +30 -30
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +5 -5
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +80 -80
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +112 -112
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +116 -116
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +354 -354
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +81 -81
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +84 -84
  465. package/dist/location-services.js +351 -351
  466. package/dist/location.js +85 -85
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +96 -96
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +79 -79
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +81 -81
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +109 -109
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +325 -325
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +6 -6
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +4 -4
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +115 -115
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +118 -118
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +118 -118
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +81 -81
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +116 -116
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +159 -159
  536. package/dist/plugin/sdk.js +69 -69
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +132 -132
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +340 -340
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +113 -113
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +4 -4
  552. package/dist/plugin.js +219 -219
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +84 -84
  556. package/dist/provider.js +7 -7
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +87 -87
  561. package/dist/reference/instructions.js +83 -83
  562. package/dist/reference.js +87 -87
  563. package/dist/repository-cache.js +77 -77
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +82 -82
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +128 -128
  571. package/dist/session/context.js +148 -148
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +123 -123
  577. package/dist/session/generate.js +147 -147
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +76 -76
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +93 -93
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +114 -114
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +127 -127
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +101 -101
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +86 -86
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +226 -226
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +87 -87
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +109 -109
  600. package/dist/session/runner/step.js +120 -120
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +168 -168
  604. package/dist/session/shell.js +132 -132
  605. package/dist/session/skill.js +99 -99
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +86 -86
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +206 -206
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +150 -150
  613. package/dist/session/to-session-error.js +108 -108
  614. package/dist/session/transfer.js +213 -213
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +214 -214
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +134 -134
  622. package/dist/skill/discovery.js +2 -2
  623. package/dist/skill/instructions.js +103 -103
  624. package/dist/skill.js +108 -108
  625. package/dist/snapshot.js +85 -85
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +122 -122
  630. package/dist/tool/plugin/edit.js +114 -114
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +121 -121
  633. package/dist/tool/plugin/grep.js +121 -121
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +118 -118
  636. package/dist/tool/plugin/question.js +99 -99
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +213 -213
  639. package/dist/tool/plugin/skill.js +101 -101
  640. package/dist/tool/plugin/subagent.js +213 -213
  641. package/dist/tool/plugin/webfetch.js +106 -106
  642. package/dist/tool/plugin/websearch.js +110 -110
  643. package/dist/tool/plugin/write.js +116 -116
  644. package/dist/tool/read-filesystem.js +97 -97
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +86 -86
  675. package/dist/websearch.js +79 -79
  676. package/dist/wellknown/plugin.js +73 -73
  677. package/dist/wellknown.js +80 -80
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +4 -4
  682. package/dist/worktree/git.js +5 -5
  683. package/dist/worktree/refresh.js +343 -343
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +88 -88
  686. package/package.json +8 -8
  687. package/dist/chunks/shell-4v7qdvcn.js +0 -18
  688. package/dist/chunks/shell-nbtt6k6e.js +0 -247
  689. /package/dist/chunks/{shell-0mesazry.js → websearch-0mesazry.js} +0 -0
  690. /package/dist/chunks/{shell-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{shell-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{shell-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{shell-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{shell-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{shell-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{shell-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{shell-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{shell-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{shell-3asan66x.js → websearch-3asan66x.js} +0 -0
  700. /package/dist/chunks/{shell-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{shell-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{shell-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{shell-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{shell-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{shell-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{shell-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{shell-53557ph1.js → websearch-53557ph1.js} +0 -0
  708. /package/dist/chunks/{shell-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{shell-6prwharc.js → websearch-6prwharc.js} +0 -0
  710. /package/dist/chunks/{shell-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{shell-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{shell-822emrt2.js → websearch-822emrt2.js} +0 -0
  713. /package/dist/chunks/{shell-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{shell-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{shell-922hggd3.js → websearch-922hggd3.js} +0 -0
  716. /package/dist/chunks/{shell-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{shell-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{shell-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{shell-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{shell-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{shell-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{shell-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{shell-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{shell-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{shell-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{shell-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{shell-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{shell-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{shell-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{shell-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{shell-df08tz66.js → websearch-df08tz66.js} +0 -0
  732. /package/dist/chunks/{shell-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{shell-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{shell-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{shell-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{shell-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{shell-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{shell-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{shell-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{shell-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{shell-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{shell-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{shell-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{shell-g86h250q.js → websearch-g86h250q.js} +0 -0
  745. /package/dist/chunks/{shell-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{shell-gftt206x.js → websearch-gftt206x.js} +0 -0
  747. /package/dist/chunks/{shell-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{shell-hk9envan.js → websearch-hk9envan.js} +0 -0
  749. /package/dist/chunks/{shell-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
  750. /package/dist/chunks/{shell-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{shell-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{shell-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{shell-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{shell-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{shell-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{shell-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{shell-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{shell-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{shell-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{shell-paphc93g.js → websearch-paphc93g.js} +0 -0
  761. /package/dist/chunks/{shell-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{shell-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{shell-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{shell-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{shell-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{shell-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{shell-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{shell-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{shell-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  770. /package/dist/chunks/{shell-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  771. /package/dist/chunks/{shell-twg0f83k.js → websearch-twg0f83k.js} +0 -0
  772. /package/dist/chunks/{shell-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{shell-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  774. /package/dist/chunks/{shell-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  775. /package/dist/chunks/{shell-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  776. /package/dist/chunks/{shell-x61499pn.js → websearch-x61499pn.js} +0 -0
  777. /package/dist/chunks/{shell-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  778. /package/dist/chunks/{shell-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  779. /package/dist/chunks/{shell-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  780. /package/dist/chunks/{shell-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{shell-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{shell-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./shell-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service61
7
- } from "./shell-ycbn6r48.js";
6
+ Service41
7
+ } from "./websearch-qs8fd5yv.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./shell-2a5m3afh.js";
10
+ } from "./websearch-2a5m3afh.js";
11
11
  import {
12
- Service63
13
- } from "./shell-5vn45h4e.js";
12
+ Service74
13
+ } from "./websearch-r6802cbt.js";
14
14
  import {
15
- Service43
16
- } from "./shell-p688tfyr.js";
15
+ Service52
16
+ } from "./websearch-s3c5a9z9.js";
17
17
  import {
18
- Service69
19
- } from "./shell-3anxtp47.js";
18
+ Service59
19
+ } from "./websearch-jhsettgg.js";
20
20
  import {
21
- Service58,
21
+ Service16,
22
22
  resolvePath2
23
- } from "./shell-gjmwt3yh.js";
23
+ } from "./websearch-9aax44nh.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./shell-fxbjtjnd.js";
29
+ } from "./websearch-fxbjtjnd.js";
30
30
  import {
31
- Service65,
31
+ Service54,
32
32
  name15
33
- } from "./shell-v7sgzh50.js";
33
+ } from "./websearch-5drs3kxz.js";
34
34
  import {
35
- NotFoundError7,
36
- Service59
37
- } from "./shell-t7m3zm2g.js";
35
+ NotFoundError6,
36
+ Service39
37
+ } from "./websearch-mdb85k7s.js";
38
38
  import {
39
- Service18
40
- } from "./shell-f3rhz1g8.js";
39
+ Service19
40
+ } from "./websearch-6ba91h8c.js";
41
41
  import {
42
42
  scan2
43
- } from "./shell-04n8fpsx.js";
43
+ } from "./websearch-jfzav2gc.js";
44
44
  import {
45
45
  __export
46
- } from "./shell-9rqn6x4v.js";
46
+ } from "./websearch-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell2 = {};
50
- __export(exports_shell2, {
49
+ var exports_shell = {};
50
+ __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input9,
53
- Plugin: () => Plugin27,
54
- ShellTool: () => exports_shell2,
55
- name: () => name9
52
+ Input: () => Input4,
53
+ Plugin: () => Plugin4,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name4
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name9 = "shell";
59
+ var name4 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input9 = Schema.Struct({
73
+ var Input4 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin27 = {
118
+ var Plugin4 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service18;
122
- const jobs = yield* Service43;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service52;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service63;
125
- const access = yield* Service58;
126
- const shell = yield* Service59;
127
- const shellSelect = yield* Service65;
124
+ const environment = yield* Service74;
125
+ const access = yield* Service16;
126
+ const shell = yield* Service39;
127
+ const shellSelect = yield* Service54;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service69;
130
- const config = yield* Service61;
129
+ const permission = yield* Service59;
130
+ const config = yield* Service41;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin27 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name9,
149
+ action: name4,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin27 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name9,
186
+ name: name4,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input9,
189
+ input: Input4,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin27 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError7({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name9,
222
+ type: name4,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name9];
252
+ const tool = event.tools[name4];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin27, exports_shell2 };
260
+ export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./shell-nsnmc6vq.js";
5
+ } from "./websearch-553wj9b8.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make20,
11
11
  diffByKey2
12
- } from "./shell-eaj1djv9.js";
12
+ } from "./websearch-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./shell-922hggd3.js";
15
+ } from "./websearch-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./shell-kg06axw8.js";
18
+ } from "./websearch-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./shell-9rqn6x4v.js";
21
+ } from "./websearch-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event7,
26
+ Event: () => Event10,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options5,
30
- Service: () => Service33,
31
- configured: () => configured5,
32
- layer: () => layer15,
33
- node: () => node37
29
+ Options: () => Options8,
30
+ Service: () => Service51,
31
+ configured: () => configured8,
32
+ layer: () => layer21,
33
+ node: () => node55
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event7 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event10 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options5 = Schema.Struct({
48
+ var Options8 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service33 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service51 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
55
+ var layer21 = (options) => Layer.effect(Service51, Effect.gen(function* () {
56
56
  const bus = yield* Service79;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make21({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service33.of({
93
+ return Service51.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured5(options) {
107
+ function configured8(options) {
108
108
  return makeLocationNode({
109
- service: Service33,
110
- layer: layer15(options),
109
+ service: Service51,
110
+ layer: layer21(options),
111
111
  deps: [node84]
112
112
  });
113
113
  }
114
- var node37 = configured5();
114
+ var node55 = configured8();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event7, Options5, Service33, layer15, configured5, node37, exports_instruction_discovery };
145
+ export { File2, Event10, Options8, Service51, layer21, configured8, node55, exports_instruction_discovery };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./shell-tvtrv512.js";
3
+ } from "./websearch-tvtrv512.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./shell-ekj7r0kp.js";
5
+ Service58,
6
+ node62
7
+ } from "./websearch-zyyr8j6k.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./shell-gftt206x.js";
10
+ } from "./websearch-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./shell-j7wq2tw5.js";
13
+ } from "./websearch-7w99qc9d.js";
14
14
  import {
15
15
  __export
16
- } from "./shell-9rqn6x4v.js";
16
+ } from "./websearch-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service43,
23
- make: () => make17,
24
- node: () => node46
22
+ Service: () => Service52,
23
+ make: () => make19,
24
+ node: () => node56
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service43 extends Context.Service()("@opencode/Job") {
53
+ class Service52 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make17 = Effect.gen(function* () {
81
- const kv = yield* Service78;
80
+ var make19 = Effect.gen(function* () {
81
+ const kv = yield* Service58;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make17 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service43.of({
310
+ return Service52.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make17 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service43, make17);
323
- var node46 = makeGlobalNode({ service: Service43, layer, deps: [node83] });
322
+ var layer = Layer.effect(Service52, make19);
323
+ var node56 = makeGlobalNode({ service: Service52, layer, deps: [node62] });
324
324
 
325
- export { Service43, make17, node46, exports_job };
325
+ export { Service52, make19, node56, exports_job };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service74,
3
- node79
4
- } from "./shell-h6mds1av.js";
2
+ Service77,
3
+ node82
4
+ } from "./websearch-0ewyyc7b.js";
5
5
  import {
6
6
  __export
7
- } from "./shell-9rqn6x4v.js";
7
+ } from "./websearch-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info30,
12
+ Info: () => Info29,
13
13
  Location: () => exports_location,
14
- Ref: () => Ref4,
15
- Service: () => Service73,
14
+ Ref: () => Ref3,
15
+ Service: () => Service76,
16
16
  boundNode: () => boundNode2,
17
- node: () => node78,
17
+ node: () => node81,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info30, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info29, Ref as Ref3, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service73 extends Context.Service()("@opencode/Location") {
24
+ class Service76 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node78 = LayerNode.unbound(Service73, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service73, Effect.gen(function* () {
28
- const project = yield* Service74;
26
+ var node81 = LayerNode.unbound(Service76, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
28
+ const project = yield* Service77;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service73.of({
30
+ return Service76.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service73, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service73,
38
+ service: Service76,
39
39
  layer: layer(ref, options),
40
- deps: [node79]
40
+ deps: [node82]
41
41
  });
42
42
 
43
- export { Info30, Ref4, response2, Service73, node78, boundNode2, exports_location };
43
+ export { Info29, Ref3, response2, Service76, node81, boundNode2, exports_location };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service80
3
- } from "./shell-gm14zrge.js";
3
+ } from "./websearch-yvwtzbz5.js";
4
4
  import {
5
- Service40
6
- } from "./shell-qfzde7bh.js";
5
+ Service36
6
+ } from "./websearch-9mkyvs4w.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./shell-4v7qdvcn.js";
9
+ } from "./websearch-dxj72tfx.js";
10
10
  import {
11
11
  provenance2
12
- } from "./shell-w1k39n5e.js";
12
+ } from "./websearch-06dxphr1.js";
13
13
  import {
14
14
  preview2
15
- } from "./shell-jte6my49.js";
15
+ } from "./websearch-t0tjpkgm.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./shell-epxwh5rt.js";
18
+ } from "./websearch-fypyt9ax.js";
19
19
  import {
20
- Service20
21
- } from "./shell-7bsq4hvy.js";
20
+ Service21
21
+ } from "./websearch-wvg2fke4.js";
22
22
  import {
23
23
  __export
24
- } from "./shell-9rqn6x4v.js";
24
+ } from "./websearch-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
27
  var exports_generate = {};
@@ -32,12 +32,12 @@ __export(exports_generate, {
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service40;
35
+ const instances = yield* Service36;
36
36
  const database = yield* Service80;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service20;
40
+ const context = yield* Service21;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./shell-nsnmc6vq.js";
4
+ } from "./websearch-553wj9b8.js";
5
5
  import {
6
- Service73,
7
- node78
8
- } from "./shell-0gm9s4gg.js";
6
+ Service76,
7
+ node81
8
+ } from "./websearch-saf13jzc.js";
9
9
  import {
10
10
  ID2
11
- } from "./shell-0mesazry.js";
11
+ } from "./websearch-0mesazry.js";
12
12
  import {
13
- Service65,
13
+ Service54,
14
14
  login2,
15
- node68
16
- } from "./shell-v7sgzh50.js";
15
+ node58
16
+ } from "./websearch-5drs3kxz.js";
17
17
  import {
18
18
  lazy2
19
- } from "./shell-88xbtdfr.js";
19
+ } from "./websearch-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./shell-9rqn6x4v.js";
22
+ } from "./websearch-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
@@ -30,9 +30,9 @@ __export(exports_pty, {
30
30
  Info: () => Info2,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service14,
33
+ Service: () => Service17,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node17
35
+ node: () => node20
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service14 extends Context.Service()("@opencode/Pty") {
58
+ class Service17 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service14, Effect.gen(function* () {
60
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
61
61
  const bus = yield* Service79;
62
- const location = yield* Service73;
63
- const shell = yield* Service65;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service54;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service14.of({ list, get, create, update, remove, write, attach });
271
+ return Service17.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node17 = makeLocationNode({
274
- service: Service14,
273
+ var node20 = makeLocationNode({
274
+ service: Service17,
275
275
  layer,
276
- deps: [node84, node78, node68]
276
+ deps: [node84, node81, node58]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event3 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node20, exports_pty, Event3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service73
3
- } from "./shell-0gm9s4gg.js";
2
+ Service76
3
+ } from "./websearch-saf13jzc.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,18 +10,18 @@ import {
10
10
  deletePatch2,
11
11
  countPatch2,
12
12
  chunksByFile2
13
- } from "./shell-tazgh4e4.js";
13
+ } from "./websearch-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./shell-191q2am9.js";
16
+ } from "./websearch-5h6cs5y5.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./websearch-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin37,
24
+ Plugin: () => Plugin38,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin37 = define({
33
+ var Plugin38 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service73;
36
+ const location = yield* Service76;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin37, exports_hg };
191
+ export { Plugin38, exports_hg };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./shell-emrn6kk6.js";
3
+ } from "./websearch-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./shell-t2js6s8h.js";
6
+ } from "./websearch-ntgpnhzh.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./shell-b19dgzvs.js";
9
+ } from "./websearch-87v2xzqa.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
20
20
  static [entityKind] = "EffectSQLiteDatabase";
21
21
  }
22
22
  var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
23
- var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
23
+ var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
24
24
  const client = yield* SqlClient;
25
25
  const cache = yield* EffectCache;
26
26
  const logger = yield* EffectLogger;
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
37
37
  db.$cache.invalidate = cache.onMutate;
38
38
  return db;
39
39
  });
40
- var makeWithDefaults2 = (config = {}) => make22(config).pipe(Effect.provide(DefaultServices2));
40
+ var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
41
41
 
42
- export { EffectSQLiteDatabase2, DefaultServices2, make22, makeWithDefaults2 };
42
+ export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };