@opencode/core 0.0.0-dev-20981 → 0.0.0-dev-20983

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +77 -77
  7. package/dist/chunks/{model-n5ckd50m.js → snapshot-02e9eapb.js} +30 -30
  8. package/dist/chunks/{model-7dmr3qxn.js → snapshot-02eta0q8.js} +14 -14
  9. package/dist/chunks/{model-y8k4q3en.js → snapshot-078aqrtj.js} +24 -24
  10. package/dist/chunks/{model-0b5g1ynf.js → snapshot-0b5g1ynf.js} +4 -4
  11. package/dist/chunks/{model-0j77ygfz.js → snapshot-0j77ygfz.js} +2 -2
  12. package/dist/chunks/{model-m82j3vqr.js → snapshot-0kc34zy2.js} +28 -28
  13. package/dist/chunks/{model-nng5j9h6.js → snapshot-0pdfqfk8.js} +3 -3
  14. package/dist/chunks/{model-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{model-0996nyz8.js → snapshot-11dqjexa.js} +9 -9
  16. package/dist/chunks/{model-7j1a6jdx.js → snapshot-12wv4c4k.js} +29 -29
  17. package/dist/chunks/{model-w1yg9qkm.js → snapshot-139zgem4.js} +19 -19
  18. package/dist/chunks/{model-wge3n3kq.js → snapshot-14a18q0b.js} +2 -2
  19. package/dist/chunks/{model-q79edn6k.js → snapshot-24rks86p.js} +26 -26
  20. package/dist/chunks/{model-2k71kv7p.js → snapshot-277eer69.js} +4 -4
  21. package/dist/chunks/{model-gsxrv0fy.js → snapshot-28f4qnvc.js} +11 -11
  22. package/dist/chunks/{model-efwcmd71.js → snapshot-2hchhzrj.js} +11 -11
  23. package/dist/chunks/{model-xscv4v2z.js → snapshot-2hryt1dd.js} +9 -9
  24. package/dist/chunks/{model-fcrkznn8.js → snapshot-2k8khapm.js} +5 -5
  25. package/dist/chunks/{model-wr9rbap8.js → snapshot-2kmssdby.js} +17 -17
  26. package/dist/chunks/{model-kaxyez5z.js → snapshot-2pb8gjs2.js} +23 -23
  27. package/dist/chunks/{model-xsa1hygm.js → snapshot-2qn8t22e.js} +33 -33
  28. package/dist/chunks/{model-7sr4khpq.js → snapshot-2tfq46ze.js} +18 -18
  29. package/dist/chunks/{model-nhyne0rh.js → snapshot-2v145pw9.js} +6 -6
  30. package/dist/chunks/{model-kbxmpcp5.js → snapshot-2z6kzd1n.js} +11 -11
  31. package/dist/chunks/{model-dt5p2gzz.js → snapshot-33nnkrrr.js} +27 -27
  32. package/dist/chunks/{model-b888nyxg.js → snapshot-33zwqh84.js} +4 -4
  33. package/dist/chunks/{model-9c2gx1av.js → snapshot-3bc32sxp.js} +10 -10
  34. package/dist/chunks/{model-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{model-tzgwpa0q.js → snapshot-3fdg73tn.js} +32 -32
  36. package/dist/chunks/{model-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{model-3hwn7j4h.js → snapshot-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{model-tg4ne0mz.js → snapshot-3nd6c5np.js} +49 -49
  39. package/dist/chunks/{model-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{model-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{model-jqjtjqm5.js → snapshot-3w9g1448.js} +14 -14
  42. package/dist/chunks/{model-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{model-msyrw4bq.js → snapshot-416hgkhn.js} +4 -4
  44. package/dist/chunks/{model-v577e917.js → snapshot-41p96nyn.js} +13 -13
  45. package/dist/chunks/{model-zxf3xmnj.js → snapshot-4dr701cr.js} +16 -16
  46. package/dist/chunks/{model-0br3sbwn.js → snapshot-4v7ngy20.js} +4 -4
  47. package/dist/chunks/{model-4v7qdvcn.js → snapshot-4v7qdvcn.js} +1 -1
  48. package/dist/chunks/{model-mm8a7tkj.js → snapshot-53fhqb0d.js} +51 -51
  49. package/dist/chunks/{model-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
  50. package/dist/chunks/{model-479aec3e.js → snapshot-55d1tpp9.js} +25 -25
  51. package/dist/chunks/{model-e29c15sd.js → snapshot-58hng72m.js} +5 -5
  52. package/dist/chunks/{model-4z58m4b4.js → snapshot-5dkn69vz.js} +4 -4
  53. package/dist/chunks/{model-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{model-k4dt4j6g.js → snapshot-62vana81.js} +23 -23
  55. package/dist/chunks/{model-nzep555n.js → snapshot-65q62kwk.js} +37 -37
  56. package/dist/chunks/{model-6g107h22.js → snapshot-6g107h22.js} +2 -2
  57. package/dist/chunks/{model-e5yhdxdz.js → snapshot-6kwkqkdm.js} +41 -41
  58. package/dist/chunks/{model-cxkbmgp7.js → snapshot-6x7cjr5h.js} +13 -13
  59. package/dist/chunks/{model-6xb47vfp.js → snapshot-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{model-775gj3j1.js → snapshot-775gj3j1.js} +2 -2
  61. package/dist/chunks/{model-yb5kpwm0.js → snapshot-78z0tajq.js} +15 -15
  62. package/dist/chunks/{model-fe4vsmnr.js → snapshot-79enrqes.js} +13 -13
  63. package/dist/chunks/{model-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{model-1j6m29mr.js → snapshot-7cx595n2.js} +4 -4
  65. package/dist/chunks/{model-5hx7d1d6.js → snapshot-7d2a7xbs.js} +5 -5
  66. package/dist/chunks/{model-hpje1asd.js → snapshot-7fv8camv.js} +20 -20
  67. package/dist/chunks/{model-fketk0k4.js → snapshot-7j641znf.js} +9 -9
  68. package/dist/chunks/{model-1rd80ksx.js → snapshot-82wvwxnp.js} +19 -19
  69. package/dist/chunks/{model-84txncab.js → snapshot-84txncab.js} +1 -1
  70. package/dist/chunks/{model-gsndwzqv.js → snapshot-89qrwhr4.js} +17 -17
  71. package/dist/chunks/{model-999bzrsf.js → snapshot-8ag2gqs0.js} +5 -5
  72. package/dist/chunks/{model-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
  73. package/dist/chunks/{model-x076sjt5.js → snapshot-8qa2aq7v.js} +11 -11
  74. package/dist/chunks/{model-gxra9ntr.js → snapshot-8zgdvsmt.js} +12 -12
  75. package/dist/chunks/{model-zhspmtmh.js → snapshot-96bye6pk.js} +6 -6
  76. package/dist/chunks/{model-7vfd4xz9.js → snapshot-96kn8jjj.js} +6 -6
  77. package/dist/chunks/{model-t9fz1x23.js → snapshot-99geaa22.js} +73 -73
  78. package/dist/chunks/{model-4ybf7fnk.js → snapshot-9sv3ea6j.js} +11 -11
  79. package/dist/chunks/{model-hsn420a8.js → snapshot-a035f2m5.js} +13 -13
  80. package/dist/chunks/{model-3aq39rmm.js → snapshot-a2yyhsbg.js} +10 -10
  81. package/dist/chunks/{model-xnv46bg2.js → snapshot-a32apcx9.js} +24 -24
  82. package/dist/chunks/{model-x661k3y3.js → snapshot-addxnjmp.js} +4 -4
  83. package/dist/chunks/{model-rs6n5dpz.js → snapshot-adydt5hj.js} +5 -5
  84. package/dist/chunks/{model-2stkn66k.js → snapshot-ajw317e7.js} +21 -21
  85. package/dist/chunks/{model-zn6ek04n.js → snapshot-ak0a3hys.js} +11 -11
  86. package/dist/chunks/{model-nsnm0d77.js → snapshot-astpzp8e.js} +45 -45
  87. package/dist/chunks/{model-wgahhr0x.js → snapshot-awbtvej0.js} +4 -4
  88. package/dist/chunks/{model-8kw59tg1.js → snapshot-axccj4x7.js} +15 -15
  89. package/dist/chunks/{model-a2ew8a62.js → snapshot-b27vhd2z.js} +4 -4
  90. package/dist/chunks/{model-x5wrmng7.js → snapshot-b4ytdsdb.js} +8 -8
  91. package/dist/chunks/{model-t1vvqrnj.js → snapshot-b7wedqf8.js} +15 -15
  92. package/dist/chunks/{model-2h69y2j1.js → snapshot-bhcj78x9.js} +19 -19
  93. package/dist/chunks/{model-bjx1sjef.js → snapshot-bjx1sjef.js} +2 -2
  94. package/dist/chunks/{model-gwda5h78.js → snapshot-bntnj7y8.js} +11 -11
  95. package/dist/chunks/snapshot-bq99f6b1.js +253 -0
  96. package/dist/chunks/{model-y2tp8ndf.js → snapshot-bvgds83j.js} +11 -11
  97. package/dist/chunks/{model-qxhhhvy1.js → snapshot-bvgfxkwe.js} +22 -22
  98. package/dist/chunks/{model-zwh4a1ab.js → snapshot-bxxmpbym.js} +6 -6
  99. package/dist/chunks/{model-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
  100. package/dist/chunks/{model-bc32chh7.js → snapshot-c2hv2xwr.js} +15 -15
  101. package/dist/chunks/{model-6qyp6q13.js → snapshot-ca6xgqeq.js} +14 -14
  102. package/dist/chunks/{model-5gw5nkjt.js → snapshot-cre28byt.js} +87 -87
  103. package/dist/chunks/{model-rdza6gx1.js → snapshot-cyd4py48.js} +11 -11
  104. package/dist/chunks/{model-09cyt2wq.js → snapshot-d5am5q1x.js} +27 -27
  105. package/dist/chunks/{model-jekssrtq.js → snapshot-d869kc9t.js} +8 -8
  106. package/dist/chunks/{model-f20efee0.js → snapshot-dg1sqvv5.js} +13 -13
  107. package/dist/chunks/{model-v9j8n8rs.js → snapshot-dnzt8ts3.js} +9 -9
  108. package/dist/chunks/{model-y71avatq.js → snapshot-dpkg50ah.js} +4 -4
  109. package/dist/chunks/{model-dqxsqydv.js → snapshot-dqxsqydv.js} +1 -1
  110. package/dist/chunks/{model-8a6bygkp.js → snapshot-dteqxcpg.js} +11 -11
  111. package/dist/chunks/{model-0d7p0p78.js → snapshot-e47knp2z.js} +13 -13
  112. package/dist/chunks/{model-r2z489rp.js → snapshot-e80seqcp.js} +3 -3
  113. package/dist/chunks/{model-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
  114. package/dist/chunks/{model-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  115. package/dist/chunks/{model-neg72jb9.js → snapshot-eg9acgtd.js} +20 -20
  116. package/dist/chunks/{model-dw52cd0g.js → snapshot-ek8r1bjp.js} +5 -5
  117. package/dist/chunks/{model-cekk119z.js → snapshot-enm4z0yr.js} +5 -5
  118. package/dist/chunks/{model-605fdbxk.js → snapshot-et910hwx.js} +4 -4
  119. package/dist/chunks/{model-hk9t36gz.js → snapshot-etcb7h9d.js} +4 -4
  120. package/dist/chunks/{model-11m4y6qd.js → snapshot-ey9p7sgf.js} +22 -22
  121. package/dist/chunks/{model-57w6ys69.js → snapshot-f3fk2xmf.js} +44 -44
  122. package/dist/chunks/{model-stfafkkt.js → snapshot-f5drb5nx.js} +9 -9
  123. package/dist/chunks/{model-pff3x97k.js → snapshot-fbvr504v.js} +10 -10
  124. package/dist/chunks/{model-xthmztap.js → snapshot-fctc48r7.js} +18 -18
  125. package/dist/chunks/{model-y8y4787y.js → snapshot-fe3yy3wq.js} +9 -9
  126. package/dist/chunks/{model-xkcm35ep.js → snapshot-fe8djsn4.js} +5 -5
  127. package/dist/chunks/{model-c4ads7bv.js → snapshot-fjq7nf5n.js} +13 -13
  128. package/dist/chunks/{model-aq7k84zy.js → snapshot-fpfsgvc6.js} +14 -14
  129. package/dist/chunks/{model-da571fjn.js → snapshot-fs2crwft.js} +34 -34
  130. package/dist/chunks/{model-rgrzrdjr.js → snapshot-ft11mcxf.js} +23 -23
  131. package/dist/chunks/{model-fxaymqdw.js → snapshot-fxaymqdw.js} +1 -1
  132. package/dist/chunks/{model-d7x0sh0y.js → snapshot-g686f6pq.js} +9 -9
  133. package/dist/chunks/{model-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  134. package/dist/chunks/{model-5agp6482.js → snapshot-ge5x3txp.js} +21 -21
  135. package/dist/chunks/{model-r2jsz6zh.js → snapshot-gfrqq8ak.js} +5 -5
  136. package/dist/chunks/{model-dyvsbq8q.js → snapshot-ghfsms2t.js} +11 -11
  137. package/dist/chunks/{model-8sgxnewj.js → snapshot-gkej4hz3.js} +9 -9
  138. package/dist/chunks/{model-8dt2m3qt.js → snapshot-gs4wbd6q.js} +9 -9
  139. package/dist/chunks/{model-k6zkg7sr.js → snapshot-h4gv8kbs.js} +10 -10
  140. package/dist/chunks/{model-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  141. package/dist/chunks/{model-h7s7r6s9.js → snapshot-h7s7r6s9.js} +2 -2
  142. package/dist/chunks/{model-cwzd7x1t.js → snapshot-h9jk6b4c.js} +5 -5
  143. package/dist/chunks/{model-6hernfpx.js → snapshot-he3apfyh.js} +18 -18
  144. package/dist/chunks/snapshot-hgwd6y96.js +26 -0
  145. package/dist/chunks/{model-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
  146. package/dist/chunks/{model-pygwap58.js → snapshot-hmvbwk9y.js} +28 -28
  147. package/dist/chunks/{model-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
  148. package/dist/chunks/{model-zy3z5mtm.js → snapshot-j6hk97h5.js} +17 -17
  149. package/dist/chunks/{model-xheas1rx.js → snapshot-jbeywm1q.js} +9 -9
  150. package/dist/chunks/{model-smdpqrpz.js → snapshot-jh8cd9bn.js} +27 -27
  151. package/dist/chunks/{model-gd0tnyjc.js → snapshot-jhdf29st.js} +1 -1
  152. package/dist/chunks/{model-mn4hnxkt.js → snapshot-jmjkp5vq.js} +13 -13
  153. package/dist/chunks/{model-agkn6djb.js → snapshot-k0a6zx6w.js} +20 -20
  154. package/dist/chunks/{model-svdem9xa.js → snapshot-k6x52zrq.js} +24 -24
  155. package/dist/chunks/{model-gs3mfcxs.js → snapshot-k8m3dejw.js} +32 -32
  156. package/dist/chunks/{model-dw5aamzj.js → snapshot-kpzgc0bp.js} +12 -12
  157. package/dist/chunks/{model-ktgr00t7.js → snapshot-ktgr00t7.js} +2 -2
  158. package/dist/chunks/{model-yyq8xdja.js → snapshot-kxgb0vkd.js} +329 -329
  159. package/dist/chunks/{model-tdw1jchh.js → snapshot-kxmht4ws.js} +35 -35
  160. package/dist/chunks/{model-k16ggyyw.js → snapshot-m3mxvrfe.js} +26 -26
  161. package/dist/chunks/{model-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  162. package/dist/chunks/{model-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
  163. package/dist/chunks/{model-n7m069ya.js → snapshot-mf8vvcps.js} +48 -48
  164. package/dist/chunks/{model-cz1na6pr.js → snapshot-mg32kf6f.js} +18 -18
  165. package/dist/chunks/{model-az68kh8z.js → snapshot-mjdyhc17.js} +3 -3
  166. package/dist/chunks/{model-x4za3xcr.js → snapshot-mjya2s6m.js} +3 -3
  167. package/dist/chunks/{model-j1mj860n.js → snapshot-mphgtbj1.js} +9 -9
  168. package/dist/chunks/{model-s7ev4p20.js → snapshot-mx7aqfce.js} +3 -3
  169. package/dist/chunks/{model-f1q4hcq2.js → snapshot-mz2fken5.js} +50 -50
  170. package/dist/chunks/{model-hrg0xqaw.js → snapshot-n477tdv7.js} +28 -28
  171. package/dist/chunks/{model-f3ttcj74.js → snapshot-n71gwbgs.js} +17 -17
  172. package/dist/chunks/{model-909p1r3q.js → snapshot-n8dykrk6.js} +6 -6
  173. package/dist/chunks/{model-t66atx3n.js → snapshot-najxxsbs.js} +18 -18
  174. package/dist/chunks/{model-gyksvwm5.js → snapshot-navbt8w1.js} +16 -16
  175. package/dist/chunks/{model-rm6mdncc.js → snapshot-nb4az0q5.js} +27 -27
  176. package/dist/chunks/{model-z1dnb0jf.js → snapshot-ndskk3cv.js} +19 -19
  177. package/dist/chunks/{model-b8rasqmm.js → snapshot-ndwqxyq0.js} +81 -81
  178. package/dist/chunks/{model-em98dst4.js → snapshot-ngsw89qw.js} +32 -32
  179. package/dist/chunks/{model-1e0t64bm.js → snapshot-nmw03hyk.js} +10 -10
  180. package/dist/chunks/{model-cmwkp3r5.js → snapshot-p37cw4rj.js} +8 -8
  181. package/dist/chunks/{model-cqbr470d.js → snapshot-p43w0xj0.js} +4 -4
  182. package/dist/chunks/{model-sddez406.js → snapshot-pdmrg88s.js} +15 -15
  183. package/dist/chunks/{model-m5b2t9yd.js → snapshot-peba8egv.js} +58 -58
  184. package/dist/chunks/{model-d8mxpyz7.js → snapshot-pjkqvbxd.js} +40 -40
  185. package/dist/chunks/{model-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  186. package/dist/chunks/{model-pknna89w.js → snapshot-pknna89w.js} +1 -1
  187. package/dist/chunks/{model-5y480sgp.js → snapshot-pn3cc07s.js} +8 -8
  188. package/dist/chunks/{model-sfk668n4.js → snapshot-pqjtahcg.js} +5 -5
  189. package/dist/chunks/{model-jwah6ncg.js → snapshot-ptay5xqm.js} +2 -2
  190. package/dist/chunks/{model-2pfz9zj6.js → snapshot-pvtha2pq.js} +35 -35
  191. package/dist/chunks/{model-qxcp4ttm.js → snapshot-pw13f8m0.js} +179 -179
  192. package/dist/chunks/{model-8sze2n9a.js → snapshot-py3kkmfq.js} +6 -6
  193. package/dist/chunks/{model-w8038a0g.js → snapshot-q8hc6qcd.js} +38 -38
  194. package/dist/chunks/{model-0nsjxa2x.js → snapshot-q9hd8wee.js} +5 -5
  195. package/dist/chunks/{model-vjvcezxg.js → snapshot-qd28ntw7.js} +14 -14
  196. package/dist/chunks/{model-6w89m9p1.js → snapshot-qe19s462.js} +24 -24
  197. package/dist/chunks/{model-674w987k.js → snapshot-qmpcr92r.js} +36 -36
  198. package/dist/chunks/{model-djszqvmq.js → snapshot-qmqgtz8f.js} +9 -9
  199. package/dist/chunks/{model-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{model-kh162zpt.js → snapshot-qnhs79zs.js} +319 -319
  201. package/dist/chunks/{model-7src2pyj.js → snapshot-qqab1k05.js} +7 -7
  202. package/dist/chunks/{model-hs2sc01j.js → snapshot-qrdj5phn.js} +42 -42
  203. package/dist/chunks/{model-gj4dz15w.js → snapshot-qrswzedr.js} +12 -12
  204. package/dist/chunks/{model-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  205. package/dist/chunks/{model-142fkw1n.js → snapshot-r4yb0z3b.js} +13 -13
  206. package/dist/chunks/{model-zqm6kvvn.js → snapshot-r6g4e95h.js} +14 -14
  207. package/dist/chunks/{model-edr8mr1d.js → snapshot-r6z305st.js} +3 -3
  208. package/dist/chunks/{model-87qbasm5.js → snapshot-r9y2scxt.js} +11 -11
  209. package/dist/chunks/{model-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{model-rert0e01.js → snapshot-rert0e01.js} +2 -2
  211. package/dist/chunks/{model-zswvs50y.js → snapshot-rfkwzrae.js} +22 -22
  212. package/dist/chunks/{model-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
  213. package/dist/chunks/{model-kas6drz3.js → snapshot-rksjtv3x.js} +32 -32
  214. package/dist/chunks/{model-2ach13s2.js → snapshot-rsbe67h7.js} +46 -46
  215. package/dist/chunks/{model-s8cdmyqk.js → snapshot-rzzqhctj.js} +11 -11
  216. package/dist/chunks/{model-5z0y4e44.js → snapshot-s8cj9grq.js} +13 -13
  217. package/dist/chunks/{model-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
  218. package/dist/chunks/{model-b3f8fkhc.js → snapshot-scgrse2b.js} +5 -5
  219. package/dist/chunks/{model-2ypdw6v4.js → snapshot-sm0ksd3h.js} +12 -12
  220. package/dist/chunks/{model-sbem282a.js → snapshot-sqczrp9f.js} +26 -26
  221. package/dist/chunks/{model-2p142bke.js → snapshot-sqgfpt95.js} +19 -19
  222. package/dist/chunks/{model-mksqe0jy.js → snapshot-sr7g6dta.js} +23 -23
  223. package/dist/chunks/{model-syv4x271.js → snapshot-syv4x271.js} +1 -1
  224. package/dist/chunks/{model-t550f9t1.js → snapshot-t550f9t1.js} +1 -1
  225. package/dist/chunks/{model-zvk9pegx.js → snapshot-t5sjszhz.js} +34 -34
  226. package/dist/chunks/{model-x804m9tz.js → snapshot-t9vw7n3y.js} +31 -31
  227. package/dist/chunks/{model-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{model-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{model-tdstcens.js → snapshot-tdstcens.js} +1 -1
  230. package/dist/chunks/{model-w30whbb5.js → snapshot-tezyt0wt.js} +14 -14
  231. package/dist/chunks/{model-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
  232. package/dist/chunks/{model-zvt5dnpc.js → snapshot-ttqh24zm.js} +4 -4
  233. package/dist/chunks/{model-t4dv37ma.js → snapshot-tx8svmqw.js} +23 -23
  234. package/dist/chunks/{model-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
  235. package/dist/chunks/{model-6g7e4dd5.js → snapshot-v0es1rhs.js} +7 -7
  236. package/dist/chunks/{model-z7tka8yh.js → snapshot-v1cjjj3y.js} +20 -20
  237. package/dist/chunks/{model-tfpgne2e.js → snapshot-v2dpvkn0.js} +8 -8
  238. package/dist/chunks/{model-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
  239. package/dist/chunks/{model-0f58zsv5.js → snapshot-vbg5ezqf.js} +45 -45
  240. package/dist/chunks/{model-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  241. package/dist/chunks/{model-2mcax4ft.js → snapshot-vjcpsb2b.js} +10 -10
  242. package/dist/chunks/{model-xeea7gjf.js → snapshot-vkww058e.js} +8 -8
  243. package/dist/chunks/{model-1b2xjh8d.js → snapshot-vmd0skpg.js} +22 -22
  244. package/dist/chunks/{model-22xnzr80.js → snapshot-vwthjm9e.js} +21 -21
  245. package/dist/chunks/{model-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{model-h83xjv7f.js → snapshot-w2h15q85.js} +5 -5
  247. package/dist/chunks/{model-a63pq2m6.js → snapshot-w2jwkx9y.js} +11 -11
  248. package/dist/chunks/{model-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{model-8arnnpza.js → snapshot-w7z3k5dk.js} +29 -29
  250. package/dist/chunks/{model-zm14bp5n.js → snapshot-wbrh9k09.js} +41 -41
  251. package/dist/chunks/{model-wd87259q.js → snapshot-wd87259q.js} +1 -1
  252. package/dist/chunks/{model-f7ma11rg.js → snapshot-wkcmpner.js} +6 -6
  253. package/dist/chunks/{model-c0eqp439.js → snapshot-wqbevas8.js} +1 -1
  254. package/dist/chunks/{model-mxjbaaz4.js → snapshot-wwyzffch.js} +17 -17
  255. package/dist/chunks/{model-7z93154z.js → snapshot-x86wrwcp.js} +11 -11
  256. package/dist/chunks/{model-m77chmsg.js → snapshot-xc0qh6rg.js} +8 -8
  257. package/dist/chunks/{model-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
  258. package/dist/chunks/{model-cxmm8qc0.js → snapshot-xg0pma4t.js} +33 -33
  259. package/dist/chunks/{model-x76z1jaq.js → snapshot-xxwe6d9h.js} +16 -16
  260. package/dist/chunks/{model-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  261. package/dist/chunks/{model-h2ssqnba.js → snapshot-y7wtjedd.js} +4 -4
  262. package/dist/chunks/{model-4wytv71p.js → snapshot-ydma5cpq.js} +1 -1
  263. package/dist/chunks/{model-nktcn7bv.js → snapshot-yh26w4ce.js} +37 -37
  264. package/dist/chunks/{model-d7hemvnj.js → snapshot-yhx8v9gy.js} +7 -7
  265. package/dist/chunks/{model-yp2x3t23.js → snapshot-yp2x3t23.js} +1 -1
  266. package/dist/chunks/{model-f6g8pkb4.js → snapshot-ysye361s.js} +12 -12
  267. package/dist/chunks/{model-t89fqycx.js → snapshot-yvvvp4gn.js} +8 -8
  268. package/dist/chunks/{model-8vkaqw1w.js → snapshot-ywqn9wnz.js} +15 -15
  269. package/dist/chunks/{model-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  270. package/dist/chunks/{model-z5crsmww.js → snapshot-z5crsmww.js} +3 -3
  271. package/dist/chunks/{model-z6c3x22d.js → snapshot-z6c3x22d.js} +2 -2
  272. package/dist/chunks/{model-11n2fvbk.js → snapshot-z6dwrd8b.js} +54 -54
  273. package/dist/chunks/{model-2qg26xbp.js → snapshot-z7mcsx03.js} +4 -4
  274. package/dist/chunks/{model-h9v0byjp.js → snapshot-z8fej9z0.js} +8 -8
  275. package/dist/chunks/{model-810ve36t.js → snapshot-zd9agh4c.js} +22 -22
  276. package/dist/chunks/{model-b22wppy7.js → snapshot-zg2nwh95.js} +5 -5
  277. package/dist/chunks/{model-1gh4n1ba.js → snapshot-zjevg3pf.js} +4 -4
  278. package/dist/chunks/{model-mvp4hync.js → snapshot-znr2sffa.js} +16 -16
  279. package/dist/chunks/{model-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  280. package/dist/chunks/{model-kx2n7v0t.js → snapshot-zsygfxs1.js} +11 -11
  281. package/dist/chunks/{model-dc27vedx.js → snapshot-zwtf9a4d.js} +31 -31
  282. package/dist/chunks/{model-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +3 -3
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +85 -85
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +101 -101
  291. package/dist/config/plugin/agent.js +118 -118
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +156 -156
  294. package/dist/config/plugin/compatibility.js +136 -136
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +119 -119
  297. package/dist/config/plugin/image.js +118 -118
  298. package/dist/config/plugin/instruction.js +118 -118
  299. package/dist/config/plugin/location-watcher.js +118 -118
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +119 -119
  302. package/dist/config/plugin/provider.js +118 -118
  303. package/dist/config/plugin/reference.js +120 -120
  304. package/dist/config/plugin/shell.js +120 -120
  305. package/dist/config/plugin/skill-file.js +104 -104
  306. package/dist/config/plugin/skill.js +139 -139
  307. package/dist/config/plugin/snapshot.js +118 -118
  308. package/dist/config/plugin/source.js +121 -121
  309. package/dist/config/plugin/tool-output.js +119 -119
  310. package/dist/config/plugin/websearch.js +119 -119
  311. package/dist/config/plugin/worktree.js +120 -120
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +121 -121
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +81 -81
  317. package/dist/database/database.js +68 -68
  318. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +15 -15
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +16 -16
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  383. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  384. package/dist/database/migration.gen.js +51 -51
  385. package/dist/database/migration.js +53 -53
  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 +368 -368
  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 +95 -95
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  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 +76 -76
  409. package/dist/file-access.js +106 -106
  410. package/dist/file-mutation.js +96 -96
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +101 -101
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +13 -13
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +89 -89
  426. package/dist/generate.js +105 -105
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +93 -93
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +359 -359
  451. package/dist/instruction-discovery.js +82 -82
  452. package/dist/instructions/builtins.js +89 -89
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +3 -3
  455. package/dist/integration.js +87 -87
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +75 -75
  459. package/dist/location-activity.js +136 -136
  460. package/dist/location-lifecycle.js +109 -109
  461. package/dist/location-service-map.js +88 -88
  462. package/dist/location-services.js +356 -356
  463. package/dist/location.js +89 -89
  464. package/dist/managed-policy.js +8 -8
  465. package/dist/mcp/client.js +93 -93
  466. package/dist/mcp/index.js +111 -111
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +80 -80
  469. package/dist/mcp/stdio.js +92 -92
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +93 -93
  472. package/dist/model-resolver.js +100 -100
  473. package/dist/model.js +100 -100
  474. package/dist/models-dev.js +109 -109
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +82 -82
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +111 -111
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +88 -88
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +77 -77
  484. package/dist/plugin/agent.js +76 -76
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +331 -331
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +98 -98
  493. package/dist/plugin/module.js +119 -119
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +104 -104
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  498. package/dist/plugin/provider/azure.js +118 -118
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +118 -118
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/databricks.js +1 -1
  506. package/dist/plugin/provider/digitalocean.js +95 -95
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/github-copilot.js +97 -97
  510. package/dist/plugin/provider/gitlab.js +95 -95
  511. package/dist/plugin/provider/google-vertex.js +115 -115
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +80 -80
  514. package/dist/plugin/provider/lmstudio.js +127 -127
  515. package/dist/plugin/provider/local.js +124 -124
  516. package/dist/plugin/provider/modal.js +94 -94
  517. package/dist/plugin/provider/neon.js +1 -1
  518. package/dist/plugin/provider/nvidia.js +1 -1
  519. package/dist/plugin/provider/ollama.js +127 -127
  520. package/dist/plugin/provider/openai.js +120 -120
  521. package/dist/plugin/provider/opencode.js +99 -99
  522. package/dist/plugin/provider/openrouter.js +93 -93
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +81 -81
  525. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  526. package/dist/plugin/provider/sap-ai-core.js +93 -93
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  529. package/dist/plugin/provider/vercel.js +92 -92
  530. package/dist/plugin/provider/vllm.js +127 -127
  531. package/dist/plugin/provider/xai.js +93 -93
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +169 -169
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +1 -1
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +350 -350
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +88 -88
  542. package/dist/plugin/vcs/hg.js +88 -88
  543. package/dist/plugin/verbosity.js +95 -95
  544. package/dist/plugin/warming.js +116 -116
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +2 -2
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +99 -99
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +101 -101
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +91 -91
  562. package/dist/repository-cache.js +83 -83
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +97 -97
  566. package/dist/rpc.js +88 -88
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +76 -76
  570. package/dist/session/compaction.js +137 -137
  571. package/dist/session/context.js +155 -155
  572. package/dist/session/diff.js +90 -90
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +129 -129
  578. package/dist/session/generate.js +156 -156
  579. package/dist/session/history.js +13 -13
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +81 -81
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +99 -99
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +122 -122
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +131 -131
  590. package/dist/session/projector.js +88 -88
  591. package/dist/session/prompt.js +107 -107
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +92 -92
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +226 -226
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +100 -100
  599. package/dist/session/runner/publish-llm-event.js +115 -115
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +127 -127
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +1 -1
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +132 -132
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +75 -75
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +1 -1
  613. package/dist/session/title.js +159 -159
  614. package/dist/session/to-session-error.js +113 -113
  615. package/dist/session/transfer.js +213 -213
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +209 -209
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +134 -134
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +108 -108
  626. package/dist/snapshot.js +95 -95
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +130 -130
  631. package/dist/tool/plugin/edit.js +122 -122
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +126 -126
  634. package/dist/tool/plugin/grep.js +126 -126
  635. package/dist/tool/plugin/mcp-resource.js +119 -119
  636. package/dist/tool/plugin/opencode.js +111 -111
  637. package/dist/tool/plugin/patch.js +120 -120
  638. package/dist/tool/plugin/question.js +107 -107
  639. package/dist/tool/plugin/read.js +127 -127
  640. package/dist/tool/plugin/shell.js +212 -212
  641. package/dist/tool/plugin/skill.js +115 -115
  642. package/dist/tool/plugin/subagent.js +214 -214
  643. package/dist/tool/plugin/webfetch.js +112 -112
  644. package/dist/tool/plugin/websearch.js +116 -116
  645. package/dist/tool/plugin/write.js +124 -124
  646. package/dist/tool/read-filesystem.js +102 -102
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +2 -2
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +94 -94
  664. package/dist/v1/config/permission.js +3 -3
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +2 -2
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +91 -91
  671. package/dist/websearch.js +86 -86
  672. package/dist/wellknown/plugin.js +78 -78
  673. package/dist/wellknown.js +83 -83
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +84 -84
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +8 -8
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +91 -91
  681. package/dist/worktree.js +98 -98
  682. package/package.json +8 -8
  683. package/dist/chunks/model-fz6md8dw.js +0 -26
  684. package/dist/chunks/model-s3zr8hxy.js +0 -253
  685. /package/dist/chunks/{model-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  686. /package/dist/chunks/{model-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  687. /package/dist/chunks/{model-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  688. /package/dist/chunks/{model-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  689. /package/dist/chunks/{model-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  690. /package/dist/chunks/{model-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  691. /package/dist/chunks/{model-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  692. /package/dist/chunks/{model-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  693. /package/dist/chunks/{model-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  694. /package/dist/chunks/{model-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{model-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{model-3asan66x.js → snapshot-3asan66x.js} +0 -0
  697. /package/dist/chunks/{model-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
  698. /package/dist/chunks/{model-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  699. /package/dist/chunks/{model-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{model-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{model-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{model-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{model-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{model-53557ph1.js → snapshot-53557ph1.js} +0 -0
  705. /package/dist/chunks/{model-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{model-6prwharc.js → snapshot-6prwharc.js} +0 -0
  707. /package/dist/chunks/{model-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{model-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{model-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{model-822emrt2.js → snapshot-822emrt2.js} +0 -0
  711. /package/dist/chunks/{model-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  712. /package/dist/chunks/{model-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{model-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{model-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{model-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{model-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{model-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{model-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{model-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{model-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{model-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{model-b1a1n7cj.js → snapshot-b1a1n7cj.js} +0 -0
  723. /package/dist/chunks/{model-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{model-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{model-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{model-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{model-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{model-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{model-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{model-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{model-df08tz66.js → snapshot-df08tz66.js} +0 -0
  732. /package/dist/chunks/{model-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{model-e3qxr5gk.js → snapshot-e3qxr5gk.js} +0 -0
  734. /package/dist/chunks/{model-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{model-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{model-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{model-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{model-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{model-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{model-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{model-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{model-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{model-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{model-g86h250q.js → snapshot-g86h250q.js} +0 -0
  745. /package/dist/chunks/{model-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{model-gftt206x.js → snapshot-gftt206x.js} +0 -0
  747. /package/dist/chunks/{model-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  748. /package/dist/chunks/{model-hk9envan.js → snapshot-hk9envan.js} +0 -0
  749. /package/dist/chunks/{model-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{model-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{model-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{model-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{model-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{model-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{model-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{model-m18g726c.js → snapshot-m18g726c.js} +0 -0
  757. /package/dist/chunks/{model-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{model-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{model-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{model-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{model-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{model-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{model-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{model-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{model-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{model-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{model-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{model-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{model-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{model-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{model-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{model-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{model-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{model-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{model-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{model-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{model-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{model-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
  779. /package/dist/chunks/{model-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{model-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{model-x61499pn.js → snapshot-x61499pn.js} +0 -0
  782. /package/dist/chunks/{model-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{model-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{model-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{model-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{model-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{model-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -2,55 +2,55 @@ import {
2
2
  ID8,
3
3
  Info13,
4
4
  SessionSchema2
5
- } from "./model-b1a1n7cj.js";
5
+ } from "./snapshot-b1a1n7cj.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./model-z5v4ffb3.js";
8
+ } from "./snapshot-z5v4ffb3.js";
9
9
  import {
10
10
  Service85,
11
11
  node89
12
- } from "./model-edr8mr1d.js";
12
+ } from "./snapshot-r6z305st.js";
13
13
  import {
14
14
  isSynced2,
15
- Service81,
16
- node84
17
- } from "./model-zqm6kvvn.js";
15
+ Service84,
16
+ node88
17
+ } from "./snapshot-r6g4e95h.js";
18
18
  import {
19
- Service79,
20
- node82
21
- } from "./model-zm14bp5n.js";
19
+ Service82,
20
+ node86
21
+ } from "./snapshot-wbrh9k09.js";
22
22
  import {
23
- Service46,
24
- node48
25
- } from "./model-909p1r3q.js";
23
+ Service56,
24
+ node58
25
+ } from "./snapshot-n8dykrk6.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./model-ec1grn59.js";
28
+ } from "./snapshot-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./model-c1fqxshp.js";
31
+ } from "./snapshot-c1fqxshp.js";
32
32
  import {
33
- node47
34
- } from "./model-6hernfpx.js";
33
+ node56
34
+ } from "./snapshot-he3apfyh.js";
35
35
  import {
36
36
  current2
37
- } from "./model-0b5g1ynf.js";
37
+ } from "./snapshot-0b5g1ynf.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./model-c4ads7bv.js";
40
+ } from "./snapshot-fjq7nf5n.js";
41
41
  import {
42
42
  Slug2
43
- } from "./model-gebd4c9n.js";
43
+ } from "./snapshot-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node30
47
- } from "./model-2p142bke.js";
46
+ node32
47
+ } from "./snapshot-sqgfpt95.js";
48
48
  import {
49
49
  Metadata2,
50
- node72
51
- } from "./model-tfpgne2e.js";
50
+ node67
51
+ } from "./snapshot-v2dpvkn0.js";
52
52
  import {
53
- NotFoundError9,
53
+ NotFoundError7,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./model-7vfd4xz9.js";
64
+ } from "./snapshot-96kn8jjj.js";
65
65
  import {
66
66
  ListInput4,
67
- Service59,
68
- node61
69
- } from "./model-dw5aamzj.js";
67
+ Service60,
68
+ node62
69
+ } from "./snapshot-kpzgc0bp.js";
70
70
  import {
71
- Service48,
72
- node50
73
- } from "./model-6qyp6q13.js";
71
+ Service57,
72
+ node59
73
+ } from "./snapshot-ca6xgqeq.js";
74
74
  import {
75
- Service43,
76
- node46
77
- } from "./model-w8038a0g.js";
75
+ Service52,
76
+ node55
77
+ } from "./snapshot-q8hc6qcd.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./model-775gj3j1.js";
80
+ } from "./snapshot-775gj3j1.js";
81
81
  import {
82
- Service35,
83
- node38
84
- } from "./model-4ybf7fnk.js";
82
+ Service38,
83
+ node41
84
+ } from "./snapshot-9sv3ea6j.js";
85
85
  import {
86
86
  generate2
87
- } from "./model-mvp4hync.js";
87
+ } from "./snapshot-znr2sffa.js";
88
88
  import {
89
89
  execute2
90
- } from "./model-h9v0byjp.js";
90
+ } from "./snapshot-z8fej9z0.js";
91
91
  import {
92
- Service69,
93
- node71
94
- } from "./model-stfafkkt.js";
92
+ Service58,
93
+ node60
94
+ } from "./snapshot-f5drb5nx.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service26,
100
- node29
101
- } from "./model-m5b2t9yd.js";
99
+ Service28,
100
+ node31
101
+ } from "./snapshot-peba8egv.js";
102
102
  import {
103
- Service50,
104
- node52
105
- } from "./model-t89fqycx.js";
103
+ Service43,
104
+ node46
105
+ } from "./snapshot-yvvvp4gn.js";
106
106
  import {
107
107
  make13
108
- } from "./model-em98dst4.js";
108
+ } from "./snapshot-ngsw89qw.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./model-8a6bygkp.js";
112
+ } from "./snapshot-dteqxcpg.js";
113
113
  import {
114
114
  __export
115
- } from "./model-9rqn6x4v.js";
115
+ } from "./snapshot-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -130,15 +130,15 @@ __export(exports_session, {
130
130
  ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError9,
133
+ NotFoundError: () => NotFoundError7,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service25,
135
+ Service: () => Service27,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node28
141
+ node: () => node30
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -149,26 +149,26 @@ import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
151
  var ListInput3 = ListInput4;
152
- class Service25 extends Context.Service()("@opencode/Session") {
152
+ class Service27 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service25, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service85;
157
157
  const db = database.db;
158
- const bus = yield* Service81;
159
- const projects = yield* Service79;
160
- const execution = yield* Service43;
158
+ const bus = yield* Service84;
159
+ const projects = yield* Service82;
160
+ const execution = yield* Service52;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service35;
163
- const store = yield* Service59;
164
- const instances = yield* Service46;
165
- const moves = yield* Service26;
166
- const jobs = yield* Service48;
167
- const environments = yield* Service50;
168
- const locations = yield* Service69;
162
+ const transport = yield* Service38;
163
+ const store = yield* Service60;
164
+ const instances = yield* Service56;
165
+ const moves = yield* Service28;
166
+ const jobs = yield* Service57;
167
+ const environments = yield* Service43;
168
+ const locations = yield* Service58;
169
169
  const sessions = yield* make13();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service25.of({
171
+ const result = Service27.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError9({ sessionID: input.parentID });
179
+ return yield* new NotFoundError7({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service46, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
327
327
  });
328
328
  return result;
329
329
  }));
330
- var node28 = Node.makeGlobalNode({
331
- service: Service25,
330
+ var node30 = Node.makeGlobalNode({
331
+ service: Service27,
332
332
  layer,
333
333
  deps: [
334
- node50,
335
- node52,
336
- node89,
337
- node84,
338
- node82,
334
+ node59,
339
335
  node46,
340
- node38,
336
+ node89,
337
+ node88,
338
+ node86,
339
+ node55,
340
+ node41,
341
341
  llmClient2,
342
- node61,
343
- node48,
344
- node47,
345
- node29,
346
- node30,
347
- node71,
342
+ node62,
343
+ node58,
344
+ node56,
345
+ node31,
346
+ node32,
347
+ node60,
348
348
  FSUtil.node,
349
- node72
349
+ node67
350
350
  ]
351
351
  });
352
352
 
353
- export { ListAnchor2, ListInput3, Service25, node28, exports_session };
353
+ export { ListAnchor2, ListInput3, Service27, node30, exports_session };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID9,
2
+ ID7,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./model-2h69y2j1.js";
5
+ } from "./snapshot-bhcj78x9.js";
6
6
  import {
7
7
  __export
8
- } from "./model-9rqn6x4v.js";
8
+ } from "./snapshot-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
11
  var exports_agent = {};
12
12
  __export(exports_agent, {
13
13
  AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin13
14
+ Plugin: () => Plugin5
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
84
- var Plugin13 = define({
84
+ var Plugin5 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -91,32 +91,32 @@ var Plugin13 = define({
91
91
  item.mode = "primary";
92
92
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
93
93
  });
94
- editor.update(ID9.make("general"), (item) => {
94
+ editor.update(ID7.make("general"), (item) => {
95
95
  item.name = Name3.make("General");
96
96
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
97
97
  item.mode = "subagent";
98
98
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
99
99
  });
100
- editor.update(ID9.make("explore"), (item) => {
100
+ editor.update(ID7.make("explore"), (item) => {
101
101
  item.name = Name3.make("Explore");
102
102
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
103
103
  item.system = PROMPT_EXPLORE;
104
104
  item.mode = "subagent";
105
105
  item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
106
106
  });
107
- editor.update(ID9.make("compaction"), (item) => {
107
+ editor.update(ID7.make("compaction"), (item) => {
108
108
  item.name = Name3.make("Compaction");
109
109
  item.mode = "primary";
110
110
  item.hidden = true;
111
111
  });
112
- editor.update(ID9.make("title"), (item) => {
112
+ editor.update(ID7.make("title"), (item) => {
113
113
  item.name = Name3.make("Title");
114
114
  item.mode = "primary";
115
115
  item.hidden = true;
116
116
  item.system = PROMPT_TITLE;
117
117
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
118
118
  });
119
- editor.update(ID9.make("summary"), (item) => {
119
+ editor.update(ID7.make("summary"), (item) => {
120
120
  item.name = Name3.make("Summary");
121
121
  item.mode = "primary";
122
122
  item.hidden = true;
@@ -127,4 +127,4 @@ var Plugin13 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin13, exports_agent };
130
+ export { Plugin5, exports_agent };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
- Service78
6
- } from "./model-gyksvwm5.js";
5
+ Service81
6
+ } from "./snapshot-navbt8w1.js";
7
7
  import {
8
- Service21
9
- } from "./model-cz1na6pr.js";
8
+ Service15
9
+ } from "./snapshot-mg32kf6f.js";
10
10
  import {
11
- Service11
12
- } from "./model-810ve36t.js";
11
+ Service6
12
+ } from "./snapshot-zd9agh4c.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./model-hgz4x7wa.js";
15
+ } from "./snapshot-hgz4x7wa.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service14
27
- } from "./model-bc32chh7.js";
26
+ Service5
27
+ } from "./snapshot-c2hv2xwr.js";
28
28
  import {
29
29
  __export
30
- } from "./model-9rqn6x4v.js";
30
+ } from "./snapshot-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input4,
36
- Plugin: () => Plugin40,
35
+ Input: () => Input10,
36
+ Plugin: () => Plugin27,
37
37
  ReadTool: () => exports_read,
38
- name: () => name4,
39
- toModelContent: () => toModelContent3
38
+ name: () => name10,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name4 = "read";
45
+ var name10 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input4 = LocationInput;
56
+ var Input10 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin40 = {
58
+ var Plugin27 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service14;
62
- const access = yield* Service21;
63
- const sessionInstructions = yield* Service11;
61
+ const reader = yield* Service5;
62
+ const access = yield* Service15;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service81;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name4,
67
+ name: name10,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input4,
70
+ input: Input10,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin40 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent3(result.path, input.offset, result.output),
116
+ content: toModelContent5(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent3 = (path, offset, output) => {
149
+ var toModelContent5 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name4, Input4, Plugin40, toModelContent3, exports_read };
185
+ export { name10, Input10, Plugin27, toModelContent5, exports_read };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./model-bjx1sjef.js";
3
+ } from "./snapshot-bjx1sjef.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin8,
11
+ Plugin: () => Plugin2,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint5 = "https://mcp.exa.ai/mcp";
18
+ var endpoint2 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin8 = define({
30
+ var Plugin2 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin8 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint5);
52
+ const url = new URL(endpoint2);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint5, Plugin8, exports_exa };
83
+ export { endpoint2, Plugin2, exports_exa };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
- Service78
6
- } from "./model-gyksvwm5.js";
5
+ Service81
6
+ } from "./snapshot-navbt8w1.js";
7
7
  import {
8
- Service64
9
- } from "./model-n7m069ya.js";
8
+ Service67
9
+ } from "./snapshot-mf8vvcps.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./model-smdpqrpz.js";
13
+ } from "./snapshot-jh8cd9bn.js";
14
14
  import {
15
15
  observe2
16
- } from "./model-qsdy395h.js";
16
+ } from "./snapshot-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./model-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin26
25
+ Plugin: () => Plugin34
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin26 = define({
31
+ var Plugin34 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service64;
35
- const location = yield* Service78;
34
+ const config = yield* Service67;
35
+ const location = yield* Service81;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin26, exports_reference };
75
+ export { Plugin34, exports_reference };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-tfpgne2e.js";
3
+ } from "./snapshot-v2dpvkn0.js";
4
4
  import {
5
5
  call2
6
- } from "./model-bjx1sjef.js";
6
+ } from "./snapshot-bjx1sjef.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin6,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint3
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin5 = define({
40
+ var Plugin6 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin5 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin5 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin5, exports_firecrawl };
80
+ export { endpoint3, Plugin6, exports_firecrawl };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make23,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make23 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make23, exports_keyed_mutex };