@opencode/core 0.0.0-dev-19484 → 0.0.0-dev-19486

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 (783) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{pty-md2xj9nf.js → websearch-0e2nyqxd.js} +32 -32
  9. package/dist/chunks/{pty-86rj60hj.js → websearch-0ethqs2v.js} +19 -19
  10. package/dist/chunks/{pty-s8d7rejh.js → websearch-0gdmqesm.js} +4 -4
  11. package/dist/chunks/{pty-th49mj5v.js → websearch-0h6rsm0g.js} +15 -15
  12. package/dist/chunks/{pty-my653yp5.js → websearch-0hc3726d.js} +22 -22
  13. package/dist/chunks/{pty-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{pty-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{pty-rgr9kwfb.js → websearch-10eeehcd.js} +7 -7
  16. package/dist/chunks/{pty-tbesmne2.js → websearch-141wat1w.js} +14 -14
  17. package/dist/chunks/{pty-tdhe5xga.js → websearch-17j9h1rv.js} +11 -11
  18. package/dist/chunks/{pty-7y947she.js → websearch-18bat74x.js} +24 -24
  19. package/dist/chunks/{pty-fqb2p7cx.js → websearch-19vf66h0.js} +4 -4
  20. package/dist/chunks/{pty-r8xr0va3.js → websearch-1acjjqhc.js} +4 -4
  21. package/dist/chunks/websearch-1bap58cs.js +170 -0
  22. package/dist/chunks/{pty-1bbkgx8g.js → websearch-1bbkgx8g.js} +1 -1
  23. package/dist/chunks/{pty-7yp3q20c.js → websearch-1beypass.js} +41 -41
  24. package/dist/chunks/{pty-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{pty-8nf61fqw.js → websearch-1dp8ya78.js} +7 -7
  26. package/dist/chunks/{pty-r88ayxsh.js → websearch-1fg3m0m4.js} +5 -5
  27. package/dist/chunks/{pty-hd29wc17.js → websearch-1vtz46z8.js} +8 -8
  28. package/dist/chunks/{pty-1ygqh575.js → websearch-1ygqh575.js} +2 -2
  29. package/dist/chunks/{pty-21r38tys.js → websearch-21r38tys.js} +1 -1
  30. package/dist/chunks/{pty-fn71bqeg.js → websearch-22rg0kdw.js} +18 -18
  31. package/dist/chunks/{pty-aep6w25k.js → websearch-23zqh2z9.js} +18 -18
  32. package/dist/chunks/{pty-2402vzrj.js → websearch-2402vzrj.js} +1 -1
  33. package/dist/chunks/{pty-d4p8tyg8.js → websearch-27bs3zk6.js} +5 -5
  34. package/dist/chunks/{pty-z63w68vq.js → websearch-29x78va6.js} +6 -6
  35. package/dist/chunks/{pty-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{pty-vednfjt6.js → websearch-2a7rymj9.js} +4 -4
  37. package/dist/chunks/{pty-11qx6zpw.js → websearch-2hy8qd7w.js} +41 -41
  38. package/dist/chunks/{pty-d801t9mc.js → websearch-2jj0jrzx.js} +22 -22
  39. package/dist/chunks/{pty-k4wwmme7.js → websearch-2n295dmf.js} +8 -8
  40. package/dist/chunks/{pty-qyxb3rgr.js → websearch-2nyzx5hd.js} +33 -33
  41. package/dist/chunks/{pty-nnvetb0x.js → websearch-2qkxzrz5.js} +11 -11
  42. package/dist/chunks/{pty-9b90cabz.js → websearch-30724mc5.js} +11 -11
  43. package/dist/chunks/{pty-6532tvj7.js → websearch-34945060.js} +12 -12
  44. package/dist/chunks/{pty-2drds6a2.js → websearch-34gdt06v.js} +2 -2
  45. package/dist/chunks/{pty-vbzxk3ff.js → websearch-34p8a4j8.js} +11 -11
  46. package/dist/chunks/{pty-0td8n8vp.js → websearch-392nwaxk.js} +17 -17
  47. package/dist/chunks/{pty-9e0z2fhc.js → websearch-3czyavq2.js} +9 -9
  48. package/dist/chunks/{pty-rx9j2q4y.js → websearch-3h11gepz.js} +9 -9
  49. package/dist/chunks/{pty-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{pty-jnyfd4gm.js → websearch-3hf7z3yq.js} +11 -11
  51. package/dist/chunks/{pty-b3t12aqp.js → websearch-3jp54z3r.js} +1 -1
  52. package/dist/chunks/{pty-nkscrdhp.js → websearch-3p7b386r.js} +6 -6
  53. package/dist/chunks/{pty-yj3bp0fe.js → websearch-3s0336h2.js} +25 -25
  54. package/dist/chunks/{pty-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{pty-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{pty-3ythc6yv.js → websearch-3ythc6yv.js} +1 -1
  57. package/dist/chunks/{pty-cyxdd1cp.js → websearch-425cn146.js} +56 -56
  58. package/dist/chunks/{pty-n4m74tcd.js → websearch-44pzkzbe.js} +13 -13
  59. package/dist/chunks/{pty-4w0n3ep9.js → websearch-46pzsp2w.js} +27 -27
  60. package/dist/chunks/{pty-brbfzzmd.js → websearch-4fre1sw0.js} +17 -17
  61. package/dist/chunks/{pty-bahtkn95.js → websearch-4y2184wc.js} +16 -16
  62. package/dist/chunks/{pty-0ajdgxne.js → websearch-4y66k410.js} +5 -5
  63. package/dist/chunks/{pty-h7m0p69y.js → websearch-53bb7m18.js} +10 -10
  64. package/dist/chunks/{pty-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  65. package/dist/chunks/{pty-zftpq6gn.js → websearch-5dc1cckg.js} +13 -13
  66. package/dist/chunks/{pty-jmn8yr3h.js → websearch-5k9htkrd.js} +25 -25
  67. package/dist/chunks/{pty-w0vnt3w8.js → websearch-5sa7xthx.js} +11 -11
  68. package/dist/chunks/{pty-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  69. package/dist/chunks/{pty-7w5wmfhw.js → websearch-5xfgd4tj.js} +8 -8
  70. package/dist/chunks/{pty-669tq793.js → websearch-669tq793.js} +1 -1
  71. package/dist/chunks/{pty-mnbh32fx.js → websearch-6d6xcght.js} +6 -6
  72. package/dist/chunks/{pty-s9zga7k6.js → websearch-6epdn2bt.js} +19 -19
  73. package/dist/chunks/{pty-w3vr4dnx.js → websearch-6kbfcphw.js} +47 -47
  74. package/dist/chunks/{pty-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{pty-g646es06.js → websearch-6n50k4gd.js} +12 -12
  76. package/dist/chunks/{pty-s1a57xgp.js → websearch-6qrsjhc9.js} +1 -1
  77. package/dist/chunks/{pty-mjymc32g.js → websearch-6sr3ve8g.js} +21 -21
  78. package/dist/chunks/{pty-fnvmrkhd.js → websearch-7015eamg.js} +3 -3
  79. package/dist/chunks/{pty-71q4at8m.js → websearch-71q4at8m.js} +1 -1
  80. package/dist/chunks/{pty-88k2vggc.js → websearch-71t2waba.js} +11 -11
  81. package/dist/chunks/{pty-77nagcj1.js → websearch-737983wq.js} +4 -4
  82. package/dist/chunks/{pty-2kze3sed.js → websearch-749w85ht.js} +11 -11
  83. package/dist/chunks/{pty-ns15zm60.js → websearch-770exhkv.js} +6 -6
  84. package/dist/chunks/{pty-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{pty-qgn6gcr1.js → websearch-7dqw4kz8.js} +5 -5
  86. package/dist/chunks/{pty-9fgn877f.js → websearch-7e9mmnrs.js} +17 -17
  87. package/dist/chunks/{pty-hde40vmr.js → websearch-7k8v9e10.js} +30 -30
  88. package/dist/chunks/{pty-t3w9f47z.js → websearch-7nm1v87f.js} +1 -1
  89. package/dist/chunks/{pty-nw3t2cyt.js → websearch-7nz6bfr7.js} +18 -18
  90. package/dist/chunks/{pty-81swgkk7.js → websearch-81swgkk7.js} +2 -2
  91. package/dist/chunks/{pty-m77xbvte.js → websearch-86w90e4b.js} +87 -87
  92. package/dist/chunks/{pty-3esrdmkk.js → websearch-8by0fez5.js} +34 -34
  93. package/dist/chunks/{pty-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{pty-mgtytz9t.js → websearch-8f26vzsk.js} +3 -3
  95. package/dist/chunks/{pty-c20cpmqm.js → websearch-8kj2ryp0.js} +5 -5
  96. package/dist/chunks/{pty-18r19y7d.js → websearch-8ncz32bb.js} +14 -14
  97. package/dist/chunks/{pty-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
  98. package/dist/chunks/{pty-wjsewdbp.js → websearch-8q7nqemf.js} +6 -6
  99. package/dist/chunks/websearch-8tzv257v.js +22 -0
  100. package/dist/chunks/{pty-c0g3mrmp.js → websearch-913kkr4a.js} +4 -4
  101. package/dist/chunks/{pty-2a010xm9.js → websearch-92q9m6v7.js} +4 -4
  102. package/dist/chunks/{pty-b0grxa7w.js → websearch-94s48bjb.js} +5 -5
  103. package/dist/chunks/{pty-9v9vhtqj.js → websearch-96944qvb.js} +84 -84
  104. package/dist/chunks/{pty-cmceympy.js → websearch-96nhex2k.js} +9 -9
  105. package/dist/chunks/{pty-gzcsr6sv.js → websearch-9drxqmrc.js} +29 -29
  106. package/dist/chunks/{pty-ge2ncj9q.js → websearch-9jbtaq45.js} +20 -20
  107. package/dist/chunks/{pty-x7ns4d9a.js → websearch-9kbwcx6p.js} +52 -52
  108. package/dist/chunks/{pty-4tty76jr.js → websearch-9q5fzp3r.js} +32 -32
  109. package/dist/chunks/{pty-x8efcx2v.js → websearch-9s9gky82.js} +37 -37
  110. package/dist/chunks/{pty-fv7vkzc0.js → websearch-9y1ym1xd.js} +32 -32
  111. package/dist/chunks/{pty-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
  112. package/dist/chunks/{pty-apnw61nd.js → websearch-a3tyt3nb.js} +3 -3
  113. package/dist/chunks/{pty-a5gt7g2r.js → websearch-a5gt7g2r.js} +2 -2
  114. package/dist/chunks/{pty-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  115. package/dist/chunks/{pty-4wn8n9sn.js → websearch-afs477w8.js} +9 -9
  116. package/dist/chunks/{pty-0nrybmqd.js → websearch-ak2jpmmk.js} +9 -9
  117. package/dist/chunks/{pty-n37c4crj.js → websearch-b4s8ej7r.js} +2 -2
  118. package/dist/chunks/{pty-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  119. package/dist/chunks/{pty-qygybdk4.js → websearch-bjhqr9aw.js} +10 -10
  120. package/dist/chunks/{pty-2bek0fz1.js → websearch-bp8cq5c4.js} +12 -12
  121. package/dist/chunks/{pty-wsd4t4dw.js → websearch-bt9grr5a.js} +11 -11
  122. package/dist/chunks/{pty-2akhs850.js → websearch-bvkp99y7.js} +11 -11
  123. package/dist/chunks/{pty-qzgv9fd5.js → websearch-bxvdfqxe.js} +15 -15
  124. package/dist/chunks/{pty-zr1b15nt.js → websearch-bxytjdj3.js} +7 -7
  125. package/dist/chunks/websearch-by5v678g.js +18 -0
  126. package/dist/chunks/{pty-r9abkved.js → websearch-byjpa77t.js} +24 -24
  127. package/dist/chunks/{pty-7ey0dyp0.js → websearch-c3m6azwz.js} +35 -35
  128. package/dist/chunks/{pty-tph7kmz7.js → websearch-c9mqxpdr.js} +6 -6
  129. package/dist/chunks/{pty-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
  130. package/dist/chunks/{pty-2kbb5zhh.js → websearch-cg25rz5t.js} +18 -18
  131. package/dist/chunks/{pty-j71f32vt.js → websearch-chzcthkq.js} +11 -11
  132. package/dist/chunks/{pty-t99v83jx.js → websearch-cjskv54g.js} +8 -8
  133. package/dist/chunks/{pty-5c0f1prt.js → websearch-csf2jhsg.js} +4 -4
  134. package/dist/chunks/{pty-6wfk2szc.js → websearch-d6110kr6.js} +23 -23
  135. package/dist/chunks/{pty-ht1qtvc3.js → websearch-d6fcepcv.js} +7 -7
  136. package/dist/chunks/{pty-1t6v7t1p.js → websearch-dhedpxax.js} +15 -15
  137. package/dist/chunks/{pty-gzq6qehx.js → websearch-dhq46et7.js} +23 -23
  138. package/dist/chunks/{pty-st8jmgs2.js → websearch-dhs2fgcq.js} +20 -20
  139. package/dist/chunks/{pty-s1k0znnr.js → websearch-dqvm81nv.js} +37 -37
  140. package/dist/chunks/{pty-a6xvd2sc.js → websearch-dt5qd2kd.js} +20 -20
  141. package/dist/chunks/{pty-cmwkp3r5.js → websearch-dv1qgsyq.js} +8 -8
  142. package/dist/chunks/{pty-j1jpgbqt.js → websearch-dw8cbckb.js} +4 -4
  143. package/dist/chunks/{pty-pmvrcxp3.js → websearch-e2164zrv.js} +291 -291
  144. package/dist/chunks/{pty-mehhkwtb.js → websearch-e4qhddfc.js} +8 -8
  145. package/dist/chunks/{pty-jg24vk6e.js → websearch-e8dm1crz.js} +5 -5
  146. package/dist/chunks/{pty-vkkm3dp3.js → websearch-e8he1v8f.js} +19 -19
  147. package/dist/chunks/{pty-8rqsbye2.js → websearch-ebh8b152.js} +26 -26
  148. package/dist/chunks/{pty-v62dx6xs.js → websearch-ec88nqh8.js} +4 -4
  149. package/dist/chunks/{pty-sj6g8xhe.js → websearch-ef8x10ky.js} +15 -15
  150. package/dist/chunks/{pty-tz7qhazt.js → websearch-em6xe1nh.js} +17 -17
  151. package/dist/chunks/{pty-hfdr1yjj.js → websearch-epd1fg1b.js} +4 -4
  152. package/dist/chunks/{pty-y9ech7jt.js → websearch-epzjjzhh.js} +17 -17
  153. package/dist/chunks/{pty-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  154. package/dist/chunks/{pty-3tn94wys.js → websearch-ewdynff8.js} +36 -36
  155. package/dist/chunks/{pty-3nvk9ben.js → websearch-f1a176w2.js} +4 -4
  156. package/dist/chunks/{pty-g2twwaw3.js → websearch-f415yte9.js} +9 -9
  157. package/dist/chunks/{pty-f828m53h.js → websearch-f828m53h.js} +2 -2
  158. package/dist/chunks/{pty-d55k3a02.js → websearch-fampkq6j.js} +27 -27
  159. package/dist/chunks/{pty-fhs97t90.js → websearch-fhs97t90.js} +2 -2
  160. package/dist/chunks/{pty-m01vtssh.js → websearch-fm1vrtk7.js} +10 -10
  161. package/dist/chunks/{pty-cs7ja426.js → websearch-frbkyvnf.js} +67 -67
  162. package/dist/chunks/{pty-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
  163. package/dist/chunks/{pty-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{pty-3fc6dm20.js → websearch-gdvy8fx6.js} +4 -4
  165. package/dist/chunks/{pty-3dqftnvs.js → websearch-getpgx4e.js} +1 -1
  166. package/dist/chunks/{pty-etyswav2.js → websearch-ghbz8b16.js} +12 -12
  167. package/dist/chunks/{pty-r2qzv5a7.js → websearch-ghwfv39v.js} +12 -7
  168. package/dist/chunks/{pty-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
  169. package/dist/chunks/{pty-bpzbj5p0.js → websearch-gyephz3k.js} +9 -9
  170. package/dist/chunks/{pty-1fh16wq8.js → websearch-gyppx53v.js} +3 -3
  171. package/dist/chunks/{pty-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
  172. package/dist/chunks/{pty-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  173. package/dist/chunks/{pty-geymd4gz.js → websearch-h9818f4s.js} +14 -14
  174. package/dist/chunks/{pty-wfdn8615.js → websearch-ha5pt3jd.js} +20 -20
  175. package/dist/chunks/{pty-sxw0ed71.js → websearch-hcdx47dt.js} +26 -26
  176. package/dist/chunks/{pty-3az9pvaz.js → websearch-hhqmne4z.js} +16 -16
  177. package/dist/chunks/{pty-dedzq1ka.js → websearch-hhxs1qhb.js} +41 -41
  178. package/dist/chunks/{pty-x4wsccvh.js → websearch-hjt4xg1x.js} +4 -4
  179. package/dist/chunks/{pty-qn4ba14w.js → websearch-hnr5yq9h.js} +5 -5
  180. package/dist/chunks/websearch-hr9dp009.js +4 -0
  181. package/dist/chunks/{pty-pd1qwn8m.js → websearch-htcxgdj2.js} +23 -23
  182. package/dist/chunks/{pty-0953varj.js → websearch-httkxj35.js} +46 -46
  183. package/dist/chunks/{pty-gw1k03mf.js → websearch-hvtrc2sr.js} +13 -13
  184. package/dist/chunks/{pty-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  185. package/dist/chunks/{pty-jexxy024.js → websearch-j7wq2tw5.js} +3 -3
  186. package/dist/chunks/{pty-vm26s0dq.js → websearch-j86bmkp1.js} +26 -26
  187. package/dist/chunks/{pty-paphc93g.js → websearch-j935v87r.js} +2 -2
  188. package/dist/chunks/{pty-7ae90jyv.js → websearch-jeha92wd.js} +2 -2
  189. package/dist/chunks/{pty-8kyaadyc.js → websearch-jr6636kp.js} +4 -4
  190. package/dist/chunks/{pty-dpkg50ah.js → websearch-jwcy2c2z.js} +4 -4
  191. package/dist/chunks/{pty-2ta0t88y.js → websearch-k2dx91xy.js} +20 -20
  192. package/dist/chunks/{pty-g3xj57nv.js → websearch-k4dxn3tz.js} +24 -24
  193. package/dist/chunks/{pty-tv8e1ghk.js → websearch-k957qxjd.js} +19 -19
  194. package/dist/chunks/{pty-eymhvwwk.js → websearch-kc2bkjx5.js} +13 -13
  195. package/dist/chunks/{pty-kg06axw8.js → websearch-kg06axw8.js} +1 -1
  196. package/dist/chunks/{pty-bgcsb0ew.js → websearch-kjw20jdv.js} +18 -18
  197. package/dist/chunks/{pty-p5d32tz9.js → websearch-m3eqw2jv.js} +24 -24
  198. package/dist/chunks/{pty-kmy1ax01.js → websearch-m5rzwcrv.js} +10 -10
  199. package/dist/chunks/{pty-63sp6hdr.js → websearch-m89ner95.js} +17 -17
  200. package/dist/chunks/{pty-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  201. package/dist/chunks/{pty-0ra4p3k2.js → websearch-mkq9nyfe.js} +45 -44
  202. package/dist/chunks/{pty-newyp0rw.js → websearch-nf90hs02.js} +6 -6
  203. package/dist/chunks/{pty-z599ng88.js → websearch-ngyp0d6y.js} +6 -6
  204. package/dist/chunks/websearch-nw6xasnj.js +247 -0
  205. package/dist/chunks/{pty-vkgkjc09.js → websearch-nx2bgdkf.js} +29 -29
  206. package/dist/chunks/{pty-4541pte3.js → websearch-p57dvf2n.js} +6 -6
  207. package/dist/chunks/{pty-5n7nm18q.js → websearch-p7dkzcqc.js} +31 -31
  208. package/dist/chunks/{pty-hgrjhmfr.js → websearch-ph9094mn.js} +11 -11
  209. package/dist/chunks/{pty-5ftnf5hj.js → websearch-phmd9p91.js} +17 -17
  210. package/dist/chunks/{pty-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{pty-pknna89w.js → websearch-pknna89w.js} +1 -1
  212. package/dist/chunks/{pty-yjy4g1rw.js → websearch-pmrvp5wn.js} +29 -29
  213. package/dist/chunks/{pty-faw67snb.js → websearch-pydkb24f.js} +34 -34
  214. package/dist/chunks/{pty-yfs8r58s.js → websearch-q4bsck8j.js} +20 -20
  215. package/dist/chunks/{pty-jqy04vj9.js → websearch-qcr6qbh4.js} +20 -20
  216. package/dist/chunks/{pty-3dzkcghm.js → websearch-qcyrxr4s.js} +28 -28
  217. package/dist/chunks/{pty-jp3k4seg.js → websearch-qh8r3z2c.js} +13 -13
  218. package/dist/chunks/{pty-em649qsx.js → websearch-qmb0hbq7.js} +15 -15
  219. package/dist/chunks/{pty-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  220. package/dist/chunks/{pty-1f2zrtgd.js → websearch-r2qgbzqp.js} +28 -28
  221. package/dist/chunks/{pty-r9mregkx.js → websearch-r9mregkx.js} +2 -2
  222. package/dist/chunks/{pty-rph3zd4r.js → websearch-rph3zd4r.js} +1 -1
  223. package/dist/chunks/{pty-arf9772r.js → websearch-rwvtw2qe.js} +13 -13
  224. package/dist/chunks/{pty-j6frpzgk.js → websearch-ry126eqe.js} +20 -20
  225. package/dist/chunks/{pty-45vpyk18.js → websearch-s1bfjgj9.js} +55 -55
  226. package/dist/chunks/{pty-yrznvahk.js → websearch-s4enseaf.js} +2 -2
  227. package/dist/chunks/{pty-h7p7r1dx.js → websearch-s5etbs5z.js} +24 -24
  228. package/dist/chunks/{pty-b5ybn7cd.js → websearch-s9d09hn2.js} +15 -15
  229. package/dist/chunks/{pty-byprkm3h.js → websearch-skrwk90v.js} +47 -47
  230. package/dist/chunks/{pty-8yrxd28w.js → websearch-spqyc52r.js} +9 -9
  231. package/dist/chunks/{pty-a1a50ys5.js → websearch-sra9araw.js} +5 -5
  232. package/dist/chunks/{pty-q5asdkn4.js → websearch-t7n9q6bq.js} +4 -4
  233. package/dist/chunks/{pty-v71xcev7.js → websearch-ta3enh0y.js} +1 -1
  234. package/dist/chunks/{pty-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{pty-89znhe33.js → websearch-tcezcvh9.js} +4 -4
  236. package/dist/chunks/{pty-tdstcens.js → websearch-tdstcens.js} +1 -1
  237. package/dist/chunks/{pty-evbgk2k8.js → websearch-tn0aqsam.js} +5 -5
  238. package/dist/chunks/{pty-9fhqnxhc.js → websearch-tp6b6835.js} +22 -22
  239. package/dist/chunks/{pty-ras7gexc.js → websearch-tq4vh0cn.js} +5 -5
  240. package/dist/chunks/{pty-t6jsq5az.js → websearch-tqmqc943.js} +10 -10
  241. package/dist/chunks/{pty-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  242. package/dist/chunks/{pty-14ahvy0s.js → websearch-tx0mr2zc.js} +16 -16
  243. package/dist/chunks/{pty-y28xdhk3.js → websearch-tx9qvpbt.js} +6 -6
  244. package/dist/chunks/{pty-0647zyye.js → websearch-v37c0btw.js} +23 -23
  245. package/dist/chunks/{pty-wb96fp8p.js → websearch-v3f306tg.js} +17 -17
  246. package/dist/chunks/{pty-411gfsap.js → websearch-vc4s583k.js} +18 -18
  247. package/dist/chunks/{pty-drknmmyh.js → websearch-vdnmb5h5.js} +9 -9
  248. package/dist/chunks/{pty-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  249. package/dist/chunks/{pty-1n1j5phf.js → websearch-vjm2gha0.js} +1 -1
  250. package/dist/chunks/{pty-dy8qh9xy.js → websearch-vkt5fbj2.js} +8 -8
  251. package/dist/chunks/{pty-bct739vz.js → websearch-vncycja5.js} +4 -4
  252. package/dist/chunks/{pty-nt6p7phb.js → websearch-vnzp83eb.js} +37 -37
  253. package/dist/chunks/{pty-ndm8q3nx.js → websearch-vpbm37g3.js} +23 -23
  254. package/dist/chunks/{pty-ecrv93z9.js → websearch-vvccsdf3.js} +6 -6
  255. package/dist/chunks/{pty-45796egf.js → websearch-vx5jxt0n.js} +1 -1
  256. package/dist/chunks/{pty-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{pty-jtanr3ta.js → websearch-w1jw08gg.js} +160 -160
  258. package/dist/chunks/{pty-gdmgw3kk.js → websearch-w3azyy0p.js} +11 -11
  259. package/dist/chunks/{pty-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{pty-btvz5hhj.js → websearch-w73qfjrr.js} +6 -6
  261. package/dist/chunks/{pty-wd87259q.js → websearch-wd87259q.js} +1 -1
  262. package/dist/chunks/{pty-6z42be60.js → websearch-wg28sfba.js} +6 -6
  263. package/dist/chunks/{pty-1qdmrsyh.js → websearch-wgjw9q45.js} +14 -14
  264. package/dist/chunks/{pty-yttnsetk.js → websearch-wha86atx.js} +8 -8
  265. package/dist/chunks/{pty-r4x5wh38.js → websearch-wvtn21wb.js} +12 -12
  266. package/dist/chunks/{pty-yt9d908j.js → websearch-wx8n6yrs.js} +14 -14
  267. package/dist/chunks/{pty-ea3fqg3s.js → websearch-wym29fwy.js} +15 -15
  268. package/dist/chunks/{pty-txmfp3zj.js → websearch-x09k08s8.js} +28 -28
  269. package/dist/chunks/{pty-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{pty-xfqxjp11.js → websearch-xb5qry8h.js} +27 -27
  271. package/dist/chunks/{pty-a3r4dcrj.js → websearch-xg9t41r3.js} +2 -2
  272. package/dist/chunks/{pty-9vwx9k7w.js → websearch-xzmaqxd1.js} +17 -17
  273. package/dist/chunks/{pty-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{pty-9edcvf27.js → websearch-y7gn77t5.js} +9 -9
  275. package/dist/chunks/{pty-fjnewxg5.js → websearch-ycrqyr1k.js} +22 -22
  276. package/dist/chunks/{pty-jfaxz2yb.js → websearch-yq45397g.js} +32 -32
  277. package/dist/chunks/{pty-yvykdhx6.js → websearch-yq577anv.js} +25 -25
  278. package/dist/chunks/{pty-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{pty-32wbc79b.js → websearch-ywmedxr3.js} +11 -11
  280. package/dist/chunks/{pty-fhmdnm6f.js → websearch-yynvhz1s.js} +46 -46
  281. package/dist/chunks/{pty-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{pty-45rd5fs9.js → websearch-z31hh3ha.js} +32 -32
  283. package/dist/chunks/{pty-tya93gxg.js → websearch-z9ecnefr.js} +13 -13
  284. package/dist/chunks/{pty-d8qmdhbf.js → websearch-zdw14ag8.js} +6 -6
  285. package/dist/chunks/{pty-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{pty-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{pty-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  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 +114 -114
  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 +116 -116
  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 +82 -82
  320. package/dist/database/database.js +71 -71
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +78 -78
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -361
  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 +71 -71
  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 +2 -2
  419. package/dist/filesystem/location-watcher.js +217 -217
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +81 -81
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +83 -83
  428. package/dist/generate.js +92 -92
  429. package/dist/git.js +5 -5
  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 +7 -7
  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 +352 -352
  454. package/dist/instruction-discovery.js +82 -82
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +83 -83
  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 +82 -82
  465. package/dist/location-services.js +349 -349
  466. package/dist/location.js +79 -79
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +104 -104
  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 +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +87 -87
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  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 +323 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +1 -1
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +96 -96
  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/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +116 -116
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +118 -118
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +73 -73
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +338 -338
  539. package/dist/plugin/update.js +2 -2
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +8 -8
  547. package/dist/plugin/websearch/mcp.js +2 -2
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin.js +219 -219
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +78 -78
  554. package/dist/provider.js +7 -5
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +93 -93
  559. package/dist/reference/instructions.js +85 -85
  560. package/dist/reference.js +85 -85
  561. package/dist/repository-cache.js +77 -77
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +82 -82
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +128 -128
  569. package/dist/session/context.js +148 -148
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +7 -7
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +219 -219
  574. package/dist/session/execution.js +123 -123
  575. package/dist/session/generate.js +147 -147
  576. package/dist/session/history.js +15 -15
  577. package/dist/session/inbox.js +87 -87
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +78 -78
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +4 -4
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +114 -114
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +127 -127
  587. package/dist/session/projector.js +85 -85
  588. package/dist/session/prompt.js +101 -101
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +86 -86
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +226 -226
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +87 -87
  596. package/dist/session/runner/publish-llm-event.js +3 -3
  597. package/dist/session/runner/retry.js +111 -111
  598. package/dist/session/runner/step.js +120 -120
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +170 -170
  602. package/dist/session/shell.js +132 -132
  603. package/dist/session/skill.js +99 -99
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +74 -74
  606. package/dist/session/store.js +84 -84
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +206 -206
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +150 -150
  611. package/dist/session/to-session-error.js +108 -108
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +214 -214
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +9 -9
  619. package/dist/shell.js +134 -134
  620. package/dist/skill/discovery.js +2 -2
  621. package/dist/skill/instructions.js +103 -103
  622. package/dist/skill.js +102 -102
  623. package/dist/snapshot.js +87 -87
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +118 -118
  628. package/dist/tool/plugin/edit.js +116 -116
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +121 -121
  631. package/dist/tool/plugin/grep.js +121 -121
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +118 -118
  634. package/dist/tool/plugin/question.js +101 -101
  635. package/dist/tool/plugin/read.js +122 -122
  636. package/dist/tool/plugin/shell.js +213 -213
  637. package/dist/tool/plugin/skill.js +105 -105
  638. package/dist/tool/plugin/subagent.js +215 -215
  639. package/dist/tool/plugin/webfetch.js +104 -104
  640. package/dist/tool/plugin/websearch.js +110 -110
  641. package/dist/tool/plugin/write.js +118 -118
  642. package/dist/tool/read-filesystem.js +97 -97
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +8 -8
  645. package/dist/tool.js +13 -13
  646. package/dist/types/aisdk-native.d.ts +4 -2
  647. package/dist/types/provider.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +1 -1
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +84 -84
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  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 +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +339 -339
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +90 -90
  686. package/package.json +8 -8
  687. package/dist/chunks/pty-1r48vspq.js +0 -247
  688. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  689. package/dist/chunks/pty-1x11rq2a.js +0 -18
  690. package/dist/chunks/pty-axgp0vgr.js +0 -22
  691. package/dist/chunks/pty-rzxn8jq1.js +0 -343
  692. /package/dist/chunks/{pty-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{pty-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{pty-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{pty-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{pty-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{pty-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{pty-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{pty-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{pty-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{pty-3asan66x.js → websearch-3asan66x.js} +0 -0
  702. /package/dist/chunks/{pty-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{pty-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{pty-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{pty-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{pty-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{pty-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{pty-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{pty-53557ph1.js → websearch-53557ph1.js} +0 -0
  710. /package/dist/chunks/{pty-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{pty-6prwharc.js → websearch-6prwharc.js} +0 -0
  712. /package/dist/chunks/{pty-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{pty-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{pty-822emrt2.js → websearch-822emrt2.js} +0 -0
  715. /package/dist/chunks/{pty-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{pty-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{pty-922hggd3.js → websearch-922hggd3.js} +0 -0
  718. /package/dist/chunks/{pty-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{pty-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{pty-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{pty-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{pty-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{pty-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{pty-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{pty-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{pty-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{pty-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{pty-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{pty-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{pty-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{pty-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{pty-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{pty-df08tz66.js → websearch-df08tz66.js} +0 -0
  734. /package/dist/chunks/{pty-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{pty-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{pty-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{pty-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{pty-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{pty-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{pty-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{pty-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{pty-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{pty-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{pty-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{pty-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{pty-g86h250q.js → websearch-g86h250q.js} +0 -0
  747. /package/dist/chunks/{pty-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{pty-gftt206x.js → websearch-gftt206x.js} +0 -0
  749. /package/dist/chunks/{pty-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{pty-hk9envan.js → websearch-hk9envan.js} +0 -0
  751. /package/dist/chunks/{pty-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{pty-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{pty-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{pty-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{pty-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{pty-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{pty-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{pty-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{pty-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{pty-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{pty-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{pty-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{pty-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{pty-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{pty-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{pty-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{pty-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{pty-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{pty-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{pty-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{pty-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{pty-twg0f83k.js → websearch-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{pty-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{pty-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{pty-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{pty-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{pty-x61499pn.js → websearch-x61499pn.js} +0 -0
  778. /package/dist/chunks/{pty-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{pty-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{pty-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{pty-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{pty-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{pty-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
- Service79,
2
+ Service80,
3
3
  node84
4
- } from "./pty-18r19y7d.js";
4
+ } from "./websearch-8ncz32bb.js";
5
5
  import {
6
- Service78,
6
+ Service79,
7
7
  node83
8
- } from "./pty-b5ybn7cd.js";
8
+ } from "./websearch-s9d09hn2.js";
9
9
  import {
10
- Service58,
11
- node63
12
- } from "./pty-tz7qhazt.js";
10
+ Service70,
11
+ node73
12
+ } from "./websearch-em6xe1nh.js";
13
13
  import {
14
- Service56,
15
- node61
16
- } from "./pty-ecrv93z9.js";
14
+ Service47,
15
+ node50
16
+ } from "./websearch-vvccsdf3.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./pty-ec1grn59.js";
19
+ } from "./websearch-ec1grn59.js";
20
20
  import {
21
- make18
22
- } from "./pty-r8xr0va3.js";
21
+ make17
22
+ } from "./websearch-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service54
26
- } from "./pty-q5asdkn4.js";
25
+ Service45
26
+ } from "./websearch-t7n9q6bq.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./pty-g2twwaw3.js";
29
+ } from "./websearch-f415yte9.js";
30
30
  import {
31
- Service65,
32
- node70
33
- } from "./pty-bahtkn95.js";
31
+ Service52,
32
+ node55
33
+ } from "./websearch-4y2184wc.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./pty-2a010xm9.js";
36
+ } from "./websearch-92q9m6v7.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./pty-7y947she.js";
39
+ } from "./websearch-18bat74x.js";
40
40
  import {
41
41
  __export
42
- } from "./pty-9rqn6x4v.js";
42
+ } from "./websearch-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service53,
47
+ Service: () => Service44,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer21,
50
- node: () => node59,
49
+ layer: () => layer19,
50
+ node: () => node48,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service53 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service44 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,12 +65,12 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer21 = Layer.effect(Service53, Effect.gen(function* () {
69
- const store = yield* Service65;
70
- const instances = yield* Service56;
71
- const bus = yield* Service78;
72
- const jobs = yield* Service58;
73
- const db = (yield* Service79).db;
68
+ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
69
+ const store = yield* Service52;
70
+ const instances = yield* Service47;
71
+ const bus = yield* Service79;
72
+ const jobs = yield* Service70;
73
+ const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
76
76
  commit: () => store.claim(sessionID)
@@ -82,13 +82,13 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service54.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make18({
91
+ const coordinator = yield* make17({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service53.of({
112
+ return Service44.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer21 = Layer.effect(Service53, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node59 = makeGlobalNode({
132
- service: Service53,
133
- layer: layer21,
134
- deps: [node70, node61, node83, node84, node63]
131
+ var node48 = makeGlobalNode({
132
+ service: Service44,
133
+ layer: layer19,
134
+ deps: [node55, node50, node83, node84, node73]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service53, Service53.of({
136
+ var noopLayer3 = Layer.succeed(Service44, Service44.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service53, Service53.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service53, terminal2, layer21, node59, noopLayer3, exports_execution };
145
+ export { Service44, terminal2, layer19, node48, noopLayer3, exports_execution };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make13,
9
+ make: () => make15,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make13(tools) {
32
+ function make15(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make13, render3, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./websearch-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info12,
12
+ Info: () => Info16,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info12 = Schema.Struct({
64
+ var Info16 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info12 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info12, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info16, exports_provider2 };
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID11 } from "@opencode/schema/pty";
3
+
4
+ export { ID11 };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./pty-3w5fmr99.js";
7
+ } from "./websearch-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./pty-r9mregkx.js";
11
+ } from "./websearch-r9mregkx.js";
12
12
  import {
13
13
  create3
14
- } from "./pty-kg06axw8.js";
14
+ } from "./websearch-kg06axw8.js";
15
15
  import {
16
- Service80,
17
- node85
18
- } from "./pty-drknmmyh.js";
16
+ Service57,
17
+ node60
18
+ } from "./websearch-vdnmb5h5.js";
19
19
  import {
20
- Service67,
21
- node72
22
- } from "./pty-hd29wc17.js";
20
+ Service60,
21
+ node63
22
+ } from "./websearch-1vtz46z8.js";
23
23
  import {
24
24
  match2
25
- } from "./pty-y1fvbwt7.js";
25
+ } from "./websearch-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./pty-9rqn6x4v.js";
28
+ } from "./websearch-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content2,
35
- Error: () => Error3,
34
+ Content: () => Content3,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service42,
38
+ Service: () => Service43,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
41
  node: () => node47
42
42
  });
43
- import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service42 extends Context.Service()("@opencode/Tool") {
54
+ class Service43 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service42, Effect.gen(function* () {
57
- const hooks = yield* Service67;
58
- const image = yield* Service80;
56
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
57
+ const hooks = yield* Service60;
58
+ const image = yield* Service57;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service42.of({
183
+ return Service43.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -263,9 +263,9 @@ function namespaceError(name) {
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
265
  var node47 = makeLocationNode({
266
- service: Service42,
266
+ service: Service43,
267
267
  layer,
268
- deps: [node72, node85]
268
+ deps: [node63, node60]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service42, node47, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service43, node47, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./pty-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service39
7
- } from "./pty-fhmdnm6f.js";
6
+ Service62
7
+ } from "./websearch-yynvhz1s.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./pty-2a5m3afh.js";
10
+ } from "./websearch-2a5m3afh.js";
11
11
  import {
12
- Service48
13
- } from "./pty-gzq6qehx.js";
12
+ Service74
13
+ } from "./websearch-dhq46et7.js";
14
14
  import {
15
- Service58
16
- } from "./pty-tz7qhazt.js";
15
+ Service70
16
+ } from "./websearch-em6xe1nh.js";
17
17
  import {
18
- Service63
19
- } from "./pty-45vpyk18.js";
18
+ Service50
19
+ } from "./websearch-s1bfjgj9.js";
20
20
  import {
21
- Service51,
21
+ Service21,
22
22
  resolvePath2
23
- } from "./pty-0td8n8vp.js";
23
+ } from "./websearch-392nwaxk.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./pty-fxbjtjnd.js";
29
+ } from "./websearch-fxbjtjnd.js";
30
30
  import {
31
- Service73,
31
+ Service66,
32
32
  name15
33
- } from "./pty-gw1k03mf.js";
33
+ } from "./websearch-hvtrc2sr.js";
34
34
  import {
35
- NotFoundError4,
36
- Service36
37
- } from "./pty-byprkm3h.js";
35
+ NotFoundError7,
36
+ Service58
37
+ } from "./websearch-skrwk90v.js";
38
38
  import {
39
- Service19
40
- } from "./pty-m77xbvte.js";
39
+ Service24
40
+ } from "./websearch-86w90e4b.js";
41
41
  import {
42
42
  scan2
43
- } from "./pty-3nvk9ben.js";
43
+ } from "./websearch-f1a176w2.js";
44
44
  import {
45
45
  __export
46
- } from "./pty-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: () => Plugin41,
54
- ShellTool: () => exports_shell2,
55
- name: () => name9
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin22,
54
+ ShellTool: () => exports_shell,
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name9 = "shell";
59
+ var name8 = "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 Input8 = 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 Plugin41 = {
118
+ var Plugin22 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service19;
122
- const jobs = yield* Service58;
121
+ const sessions = yield* Service24;
122
+ const jobs = yield* Service70;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service48;
125
- const access = yield* Service51;
126
- const shell = yield* Service36;
127
- const shellSelect = yield* Service73;
124
+ const environment = yield* Service74;
125
+ const access = yield* Service21;
126
+ const shell = yield* Service58;
127
+ const shellSelect = yield* Service66;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service63;
130
- const config = yield* Service39;
129
+ const permission = yield* Service50;
130
+ const config = yield* Service62;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin41 = {
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: name8,
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 Plugin41 = {
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: name8,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input9,
189
+ input: Input8,
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 Plugin41 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError4({ id: info.id });
208
+ return yield* new NotFoundError7({ 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: name8,
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[name8];
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, Plugin41, exports_shell2 };
260
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin22, exports_shell };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-kg06axw8.js";
3
+ } from "./websearch-kg06axw8.js";
4
4
  import {
5
5
  which2
6
- } from "./pty-qaymkmh1.js";
6
+ } from "./websearch-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./websearch-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
14
  Options: () => Options10,
15
- Service: () => Service73,
15
+ Service: () => Service66,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured11,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node78,
24
+ node: () => node69,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve3
27
27
  });
@@ -47,7 +47,7 @@ var Options10 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service73 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service66 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -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(Service73, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service73.of({
202
+ return Service66.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
206
206
  });
207
207
  }));
208
- function configured11(options) {
209
- return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
208
+ function configured9(options) {
209
+ return makeLocationNode({ service: Service66, layer: layer(options), deps: [Global.node] });
210
210
  }
211
- var node78 = configured11();
211
+ var node69 = configured9();
212
212
 
213
- export { Options10, Service73, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured11, node78, exports_select };
213
+ export { Options10, Service66, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node69, exports_select };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
- var ID11 = Session.ID;
5
- var Info25 = Session.Info;
4
+ var ID15 = Session.ID;
5
+ var Info29 = Session.Info;
6
6
 
7
- export { ID11, Info25, SessionSchema2 };
7
+ export { ID15, Info29, SessionSchema2 };