@opencode/core 0.0.0-dev-20982 → 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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-868thhtj.js → snapshot-02e9eapb.js} +36 -36
  8. package/dist/chunks/{model-jj9d5szw.js → snapshot-02eta0q8.js} +14 -14
  9. package/dist/chunks/{model-nf63sdyz.js → snapshot-078aqrtj.js} +24 -24
  10. package/dist/chunks/{model-hkffa77z.js → snapshot-0b5g1ynf.js} +4 -4
  11. package/dist/chunks/{model-q0xm7vwc.js → snapshot-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{model-b1et22ex.js → snapshot-0kc34zy2.js} +14 -14
  13. package/dist/chunks/{model-4p1qn5j9.js → snapshot-0pdfqfk8.js} +1 -1
  14. package/dist/chunks/{model-0vbcp93d.js → snapshot-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{model-fqcgpcra.js → snapshot-11dqjexa.js} +9 -9
  16. package/dist/chunks/{model-0m0wxxk9.js → snapshot-12wv4c4k.js} +29 -29
  17. package/dist/chunks/{model-16nrxpzh.js → snapshot-139zgem4.js} +13 -13
  18. package/dist/chunks/{model-8kamc0n0.js → snapshot-14a18q0b.js} +8 -8
  19. package/dist/chunks/{model-jcgcvvgv.js → snapshot-24rks86p.js} +30 -30
  20. package/dist/chunks/{model-1y283654.js → snapshot-277eer69.js} +4 -4
  21. package/dist/chunks/{model-7pw8yz1b.js → snapshot-28f4qnvc.js} +11 -11
  22. package/dist/chunks/{model-0fjeggm9.js → snapshot-2hchhzrj.js} +8 -8
  23. package/dist/chunks/{model-6w1q88cy.js → snapshot-2hryt1dd.js} +9 -9
  24. package/dist/chunks/{model-2k8khapm.js → snapshot-2k8khapm.js} +1 -1
  25. package/dist/chunks/{model-jvjaj5rz.js → snapshot-2kmssdby.js} +11 -11
  26. package/dist/chunks/{model-q2736rqt.js → snapshot-2pb8gjs2.js} +15 -15
  27. package/dist/chunks/{model-nfh0qqsf.js → snapshot-2qn8t22e.js} +32 -32
  28. package/dist/chunks/{model-j142m76w.js → snapshot-2tfq46ze.js} +18 -18
  29. package/dist/chunks/{model-sxkxnm8w.js → snapshot-2v145pw9.js} +6 -6
  30. package/dist/chunks/{model-qjcj5bxx.js → snapshot-2z6kzd1n.js} +11 -11
  31. package/dist/chunks/{model-6nsfmgdp.js → snapshot-33nnkrrr.js} +27 -27
  32. package/dist/chunks/{model-z1j5fswa.js → snapshot-33zwqh84.js} +4 -4
  33. package/dist/chunks/{model-rsswyzw7.js → snapshot-3bc32sxp.js} +13 -13
  34. package/dist/chunks/{model-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{model-1qreg6w5.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-9dk8dbn0.js → snapshot-3nd6c5np.js} +58 -58
  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-vta2cxva.js → snapshot-3w9g1448.js} +12 -12
  42. package/dist/chunks/{model-3zsf4n22.js → snapshot-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{model-dd5e861g.js → snapshot-416hgkhn.js} +2 -2
  44. package/dist/chunks/{model-918hk0p8.js → snapshot-41p96nyn.js} +18 -18
  45. package/dist/chunks/{model-3xvck7mv.js → snapshot-4dr701cr.js} +16 -16
  46. package/dist/chunks/{model-pg3d8dpb.js → snapshot-4v7ngy20.js} +4 -4
  47. package/dist/chunks/snapshot-4v7qdvcn.js +18 -0
  48. package/dist/chunks/{model-6eadky4a.js → snapshot-53fhqb0d.js} +50 -50
  49. package/dist/chunks/{model-54ma36ye.js → snapshot-54ma36ye.js} +1 -1
  50. package/dist/chunks/{model-sffa00cj.js → snapshot-55d1tpp9.js} +28 -28
  51. package/dist/chunks/{model-782zrs06.js → snapshot-58hng72m.js} +5 -5
  52. package/dist/chunks/{model-n1n192bv.js → snapshot-5dkn69vz.js} +4 -4
  53. package/dist/chunks/{model-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{model-qwsskq9g.js → snapshot-62vana81.js} +25 -25
  55. package/dist/chunks/{model-vpdcaygd.js → snapshot-65q62kwk.js} +38 -38
  56. package/dist/chunks/{model-jk540des.js → snapshot-6g107h22.js} +2 -2
  57. package/dist/chunks/{model-bq5355gp.js → snapshot-6kwkqkdm.js} +45 -45
  58. package/dist/chunks/{model-gtr46jpy.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-wj5z0n6a.js → snapshot-78z0tajq.js} +18 -18
  62. package/dist/chunks/{model-7x0qfkxs.js → snapshot-79enrqes.js} +13 -13
  63. package/dist/chunks/{model-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{model-txm3e8qz.js → snapshot-7cx595n2.js} +9 -9
  65. package/dist/chunks/{model-6xw3seg4.js → snapshot-7d2a7xbs.js} +5 -5
  66. package/dist/chunks/{model-s4q167yz.js → snapshot-7fv8camv.js} +22 -22
  67. package/dist/chunks/{model-znj2jcy4.js → snapshot-7j641znf.js} +9 -9
  68. package/dist/chunks/{model-g5ppxhgr.js → snapshot-82wvwxnp.js} +19 -19
  69. package/dist/chunks/{model-w1eejvng.js → snapshot-84txncab.js} +5 -5
  70. package/dist/chunks/{model-ac9zsgge.js → snapshot-89qrwhr4.js} +20 -20
  71. package/dist/chunks/{model-qpzj3qa9.js → snapshot-8ag2gqs0.js} +5 -5
  72. package/dist/chunks/{model-8m6m0r52.js → snapshot-8m6m0r52.js} +1 -1
  73. package/dist/chunks/{model-k4h0p2n0.js → snapshot-8qa2aq7v.js} +11 -11
  74. package/dist/chunks/{model-hjd8wwja.js → snapshot-8zgdvsmt.js} +14 -14
  75. package/dist/chunks/{model-n724kc2b.js → snapshot-96bye6pk.js} +6 -6
  76. package/dist/chunks/{model-1gpb38yh.js → snapshot-96kn8jjj.js} +9 -9
  77. package/dist/chunks/{model-e01gj4cd.js → snapshot-99geaa22.js} +75 -75
  78. package/dist/chunks/{model-npyp060g.js → snapshot-9sv3ea6j.js} +11 -11
  79. package/dist/chunks/{model-6x53d5fk.js → snapshot-a035f2m5.js} +15 -15
  80. package/dist/chunks/{model-wr3xabqx.js → snapshot-a2yyhsbg.js} +13 -13
  81. package/dist/chunks/{model-pyz1vfrp.js → snapshot-a32apcx9.js} +24 -24
  82. package/dist/chunks/{model-addxnjmp.js → snapshot-addxnjmp.js} +1 -1
  83. package/dist/chunks/{model-kx1gjmzp.js → snapshot-adydt5hj.js} +1 -1
  84. package/dist/chunks/{model-nftsbvkz.js → snapshot-ajw317e7.js} +27 -27
  85. package/dist/chunks/{model-f6fz9g7x.js → snapshot-ak0a3hys.js} +11 -11
  86. package/dist/chunks/{model-efjxf17k.js → snapshot-astpzp8e.js} +28 -28
  87. package/dist/chunks/{model-6kg1vfnr.js → snapshot-awbtvej0.js} +8 -8
  88. package/dist/chunks/{model-hh74v2b0.js → snapshot-axccj4x7.js} +16 -16
  89. package/dist/chunks/{model-my4zabxr.js → snapshot-b1a1n7cj.js} +3 -3
  90. package/dist/chunks/{model-sxz6gkc3.js → snapshot-b27vhd2z.js} +7 -7
  91. package/dist/chunks/{model-hcv80w8f.js → snapshot-b4ytdsdb.js} +11 -11
  92. package/dist/chunks/{model-2gft9see.js → snapshot-b7wedqf8.js} +22 -22
  93. package/dist/chunks/{model-228yc791.js → snapshot-bhcj78x9.js} +27 -27
  94. package/dist/chunks/{model-ywt8jp22.js → snapshot-bjx1sjef.js} +9 -9
  95. package/dist/chunks/{model-81njmjsm.js → snapshot-bntnj7y8.js} +11 -11
  96. package/dist/chunks/snapshot-bq99f6b1.js +253 -0
  97. package/dist/chunks/{model-ekw32q82.js → snapshot-bvgds83j.js} +6 -6
  98. package/dist/chunks/{model-r6xwq2vk.js → snapshot-bvgfxkwe.js} +14 -14
  99. package/dist/chunks/{model-04ym1fwe.js → snapshot-bxxmpbym.js} +3 -3
  100. package/dist/chunks/{model-c1fqxshp.js → snapshot-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{model-zmtn6p76.js → snapshot-c2hv2xwr.js} +11 -11
  102. package/dist/chunks/{model-3n54exg3.js → snapshot-ca6xgqeq.js} +14 -14
  103. package/dist/chunks/{model-aspgww5t.js → snapshot-cre28byt.js} +93 -93
  104. package/dist/chunks/{model-r2a53ztr.js → snapshot-cyd4py48.js} +14 -14
  105. package/dist/chunks/{model-61sfa1aj.js → snapshot-d5am5q1x.js} +23 -23
  106. package/dist/chunks/{model-npypc4rd.js → snapshot-d869kc9t.js} +8 -8
  107. package/dist/chunks/{model-r6734q5n.js → snapshot-dg1sqvv5.js} +13 -13
  108. package/dist/chunks/{model-1bwe3qwc.js → snapshot-dnzt8ts3.js} +9 -9
  109. package/dist/chunks/{model-dpkg50ah.js → snapshot-dpkg50ah.js} +1 -1
  110. package/dist/chunks/{model-dqxsqydv.js → snapshot-dqxsqydv.js} +1 -1
  111. package/dist/chunks/{model-8beabzaw.js → snapshot-dteqxcpg.js} +11 -11
  112. package/dist/chunks/{model-5qd3pb7m.js → snapshot-e3qxr5gk.js} +2 -2
  113. package/dist/chunks/{model-nd7vcjm8.js → snapshot-e47knp2z.js} +13 -13
  114. package/dist/chunks/{model-ed1g29hy.js → snapshot-e80seqcp.js} +3 -3
  115. package/dist/chunks/{model-eej6y6fw.js → snapshot-eej6y6fw.js} +2 -2
  116. package/dist/chunks/{model-ef5x83kb.js → snapshot-ef5x83kb.js} +1 -1
  117. package/dist/chunks/{model-vbktcqf2.js → snapshot-eg9acgtd.js} +17 -17
  118. package/dist/chunks/{model-30x88qrh.js → snapshot-ek8r1bjp.js} +3 -3
  119. package/dist/chunks/{model-q81gz903.js → snapshot-enm4z0yr.js} +5 -5
  120. package/dist/chunks/{model-hz9wj0ed.js → snapshot-et910hwx.js} +4 -4
  121. package/dist/chunks/{model-568arzm9.js → snapshot-etcb7h9d.js} +4 -4
  122. package/dist/chunks/{model-k83c78af.js → snapshot-ey9p7sgf.js} +28 -28
  123. package/dist/chunks/{model-zzdhwppw.js → snapshot-f3fk2xmf.js} +46 -46
  124. package/dist/chunks/{model-rpxwryvh.js → snapshot-f5drb5nx.js} +9 -9
  125. package/dist/chunks/{model-wk6sqcc5.js → snapshot-fbvr504v.js} +10 -10
  126. package/dist/chunks/{model-gj1adh3k.js → snapshot-fctc48r7.js} +23 -23
  127. package/dist/chunks/{model-zmfgr60r.js → snapshot-fe3yy3wq.js} +9 -9
  128. package/dist/chunks/{model-exwpqpdy.js → snapshot-fe8djsn4.js} +3 -3
  129. package/dist/chunks/{model-z164wy97.js → snapshot-fjq7nf5n.js} +14 -14
  130. package/dist/chunks/{model-20zrxk89.js → snapshot-fpfsgvc6.js} +14 -14
  131. package/dist/chunks/{model-6exrpman.js → snapshot-fs2crwft.js} +34 -34
  132. package/dist/chunks/{model-bpxpvztg.js → snapshot-ft11mcxf.js} +21 -21
  133. package/dist/chunks/{model-1w2wqhfv.js → snapshot-fxaymqdw.js} +4 -4
  134. package/dist/chunks/{model-phz50fbd.js → snapshot-g686f6pq.js} +9 -9
  135. package/dist/chunks/{model-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
  136. package/dist/chunks/{model-5xzyc826.js → snapshot-ge5x3txp.js} +28 -28
  137. package/dist/chunks/{model-1a5352wv.js → snapshot-gfrqq8ak.js} +3 -3
  138. package/dist/chunks/{model-apnwk0zd.js → snapshot-ghfsms2t.js} +11 -11
  139. package/dist/chunks/{model-dm0nfydx.js → snapshot-gkej4hz3.js} +9 -9
  140. package/dist/chunks/{model-kvw3mq9v.js → snapshot-gs4wbd6q.js} +9 -9
  141. package/dist/chunks/{model-dhfmk2zr.js → snapshot-h4gv8kbs.js} +10 -10
  142. package/dist/chunks/{model-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
  143. package/dist/chunks/{model-h7s7r6s9.js → snapshot-h7s7r6s9.js} +2 -2
  144. package/dist/chunks/{model-0ppgc59f.js → snapshot-h9jk6b4c.js} +2 -2
  145. package/dist/chunks/{model-vtdgthxf.js → snapshot-he3apfyh.js} +23 -23
  146. package/dist/chunks/snapshot-hgwd6y96.js +26 -0
  147. package/dist/chunks/{model-hgz4x7wa.js → snapshot-hgz4x7wa.js} +1 -1
  148. package/dist/chunks/{model-sjyz1h2d.js → snapshot-hmvbwk9y.js} +28 -28
  149. package/dist/chunks/{model-91qna3x0.js → snapshot-j09zfasm.js} +3 -3
  150. package/dist/chunks/{model-7j4s1nts.js → snapshot-j6hk97h5.js} +17 -17
  151. package/dist/chunks/{model-n8ja6an3.js → snapshot-jbeywm1q.js} +9 -9
  152. package/dist/chunks/{model-p3mytphf.js → snapshot-jh8cd9bn.js} +29 -29
  153. package/dist/chunks/{model-3g8j9he4.js → snapshot-jhdf29st.js} +1 -1
  154. package/dist/chunks/{model-9jryrv3a.js → snapshot-jmjkp5vq.js} +13 -13
  155. package/dist/chunks/{model-8bv2d044.js → snapshot-k0a6zx6w.js} +23 -23
  156. package/dist/chunks/{model-4zjcfn6g.js → snapshot-k6x52zrq.js} +24 -24
  157. package/dist/chunks/{model-wzf7q3t7.js → snapshot-k8m3dejw.js} +32 -32
  158. package/dist/chunks/{model-tyawky02.js → snapshot-kpzgc0bp.js} +17 -17
  159. package/dist/chunks/{model-drnf6xwf.js → snapshot-ktgr00t7.js} +2 -2
  160. package/dist/chunks/{model-68yh2fx3.js → snapshot-kxgb0vkd.js} +334 -334
  161. package/dist/chunks/{model-n5n1zjbv.js → snapshot-kxmht4ws.js} +35 -35
  162. package/dist/chunks/{model-7nh8f0wn.js → snapshot-m3mxvrfe.js} +28 -28
  163. package/dist/chunks/{model-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
  164. package/dist/chunks/{model-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
  165. package/dist/chunks/{model-5e81dfca.js → snapshot-mf8vvcps.js} +47 -47
  166. package/dist/chunks/{model-41k1h118.js → snapshot-mg32kf6f.js} +18 -18
  167. package/dist/chunks/{model-zr2nq6gp.js → snapshot-mjdyhc17.js} +3 -3
  168. package/dist/chunks/{model-x04pqkrt.js → snapshot-mjya2s6m.js} +3 -3
  169. package/dist/chunks/{model-tat11k01.js → snapshot-mphgtbj1.js} +9 -9
  170. package/dist/chunks/{model-rzn7k92n.js → snapshot-mx7aqfce.js} +3 -3
  171. package/dist/chunks/{model-khxmfjj5.js → snapshot-mz2fken5.js} +50 -50
  172. package/dist/chunks/{model-h3cseehx.js → snapshot-n477tdv7.js} +31 -31
  173. package/dist/chunks/{model-z4526mx1.js → snapshot-n71gwbgs.js} +17 -17
  174. package/dist/chunks/{model-c8bydgjz.js → snapshot-n8dykrk6.js} +6 -6
  175. package/dist/chunks/{model-1wv6ewf4.js → snapshot-najxxsbs.js} +12 -12
  176. package/dist/chunks/{model-ff251rbv.js → snapshot-navbt8w1.js} +14 -14
  177. package/dist/chunks/{model-r7ka9ch8.js → snapshot-nb4az0q5.js} +21 -21
  178. package/dist/chunks/{model-f6j4pfw7.js → snapshot-ndskk3cv.js} +15 -15
  179. package/dist/chunks/{model-sfj6zb2f.js → snapshot-ndwqxyq0.js} +79 -79
  180. package/dist/chunks/{model-m0b7pkkd.js → snapshot-ngsw89qw.js} +34 -34
  181. package/dist/chunks/{model-4z3vwhnt.js → snapshot-nmw03hyk.js} +10 -10
  182. package/dist/chunks/{model-br0tr5aq.js → snapshot-p37cw4rj.js} +8 -8
  183. package/dist/chunks/{model-249n4y23.js → snapshot-p43w0xj0.js} +4 -4
  184. package/dist/chunks/{model-kkjc9dy5.js → snapshot-pdmrg88s.js} +15 -15
  185. package/dist/chunks/{model-dexdmn7s.js → snapshot-peba8egv.js} +61 -61
  186. package/dist/chunks/{model-0njq27v6.js → snapshot-pjkqvbxd.js} +33 -33
  187. package/dist/chunks/{model-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{model-pknna89w.js → snapshot-pknna89w.js} +1 -1
  189. package/dist/chunks/{model-2eegacq4.js → snapshot-pn3cc07s.js} +8 -8
  190. package/dist/chunks/{model-8rez7pc9.js → snapshot-pqjtahcg.js} +5 -5
  191. package/dist/chunks/{model-vdqx43ex.js → snapshot-ptay5xqm.js} +2 -2
  192. package/dist/chunks/{model-pk4brtys.js → snapshot-pvtha2pq.js} +35 -35
  193. package/dist/chunks/{model-gs2he756.js → snapshot-pw13f8m0.js} +140 -140
  194. package/dist/chunks/{model-8sze2n9a.js → snapshot-py3kkmfq.js} +6 -6
  195. package/dist/chunks/{model-6epe09p4.js → snapshot-q8hc6qcd.js} +39 -39
  196. package/dist/chunks/{model-13wqnzak.js → snapshot-q9hd8wee.js} +5 -5
  197. package/dist/chunks/{model-5a7z4yxf.js → snapshot-qd28ntw7.js} +11 -11
  198. package/dist/chunks/{model-cazcby7s.js → snapshot-qe19s462.js} +24 -24
  199. package/dist/chunks/{model-3vhfphj7.js → snapshot-qmpcr92r.js} +35 -35
  200. package/dist/chunks/{model-djszqvmq.js → snapshot-qmqgtz8f.js} +9 -9
  201. package/dist/chunks/{model-qnc92qwc.js → snapshot-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{model-nf4ty3xq.js → snapshot-qnhs79zs.js} +312 -312
  203. package/dist/chunks/{model-fjb8erg1.js → snapshot-qqab1k05.js} +7 -7
  204. package/dist/chunks/{model-bcffw6zz.js → snapshot-qrdj5phn.js} +50 -50
  205. package/dist/chunks/{model-rh2yf6b2.js → snapshot-qrswzedr.js} +12 -12
  206. package/dist/chunks/{model-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
  207. package/dist/chunks/{model-97868axb.js → snapshot-r4yb0z3b.js} +16 -16
  208. package/dist/chunks/{model-qy52ep8z.js → snapshot-r6g4e95h.js} +16 -16
  209. package/dist/chunks/{model-wwncb6zf.js → snapshot-r6z305st.js} +13 -13
  210. package/dist/chunks/{model-453djzx7.js → snapshot-r9y2scxt.js} +11 -11
  211. package/dist/chunks/{model-rdw6cm16.js → snapshot-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{model-rert0e01.js → snapshot-rert0e01.js} +2 -2
  213. package/dist/chunks/{model-csjk4z4y.js → snapshot-rfkwzrae.js} +22 -22
  214. package/dist/chunks/{model-rj3eygr5.js → snapshot-rj3eygr5.js} +2 -2
  215. package/dist/chunks/{model-7hbcydxm.js → snapshot-rksjtv3x.js} +23 -23
  216. package/dist/chunks/{model-ap7d67yw.js → snapshot-rsbe67h7.js} +43 -43
  217. package/dist/chunks/{model-wzvjkcye.js → snapshot-rzzqhctj.js} +19 -19
  218. package/dist/chunks/{model-p7jr90hv.js → snapshot-s8cj9grq.js} +16 -16
  219. package/dist/chunks/{model-sa8ekw3f.js → snapshot-sa8ekw3f.js} +2 -2
  220. package/dist/chunks/{model-wecqtg5s.js → snapshot-scgrse2b.js} +5 -5
  221. package/dist/chunks/{model-hvh251q6.js → snapshot-sm0ksd3h.js} +12 -12
  222. package/dist/chunks/{model-rgqhra37.js → snapshot-sqczrp9f.js} +15 -15
  223. package/dist/chunks/{model-k6fa6tfe.js → snapshot-sqgfpt95.js} +22 -22
  224. package/dist/chunks/{model-5s0x098x.js → snapshot-sr7g6dta.js} +34 -34
  225. package/dist/chunks/{model-syv4x271.js → snapshot-syv4x271.js} +1 -1
  226. package/dist/chunks/{model-s8d7rejh.js → snapshot-t550f9t1.js} +4 -4
  227. package/dist/chunks/{model-fng1q3a6.js → snapshot-t5sjszhz.js} +22 -22
  228. package/dist/chunks/{model-1dds5gcz.js → snapshot-t9vw7n3y.js} +25 -25
  229. package/dist/chunks/{model-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{model-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{model-tdstcens.js → snapshot-tdstcens.js} +1 -1
  232. package/dist/chunks/{model-866gnewa.js → snapshot-tezyt0wt.js} +11 -11
  233. package/dist/chunks/{model-tm0kqsz3.js → snapshot-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{model-dhmh7aw6.js → snapshot-ttqh24zm.js} +4 -4
  235. package/dist/chunks/{model-zm0hys1r.js → snapshot-tx8svmqw.js} +14 -14
  236. package/dist/chunks/{model-tyytaxap.js → snapshot-tyytaxap.js} +1 -1
  237. package/dist/chunks/{model-v0es1rhs.js → snapshot-v0es1rhs.js} +2 -2
  238. package/dist/chunks/{model-yxebmv17.js → snapshot-v1cjjj3y.js} +23 -23
  239. package/dist/chunks/{model-9syxb0r3.js → snapshot-v2dpvkn0.js} +11 -11
  240. package/dist/chunks/{model-v7p4zvkq.js → snapshot-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{model-v9sgcpv9.js → snapshot-vbg5ezqf.js} +22 -22
  242. package/dist/chunks/{model-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
  243. package/dist/chunks/{model-qbfqzset.js → snapshot-vjcpsb2b.js} +13 -13
  244. package/dist/chunks/{model-jwwy4gf7.js → snapshot-vkww058e.js} +8 -8
  245. package/dist/chunks/{model-y9yrahrn.js → snapshot-vmd0skpg.js} +22 -22
  246. package/dist/chunks/{model-z5d5yc96.js → snapshot-vwthjm9e.js} +21 -21
  247. package/dist/chunks/{model-vzs5sf6e.js → snapshot-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{model-57myy5jh.js → snapshot-w2h15q85.js} +5 -5
  249. package/dist/chunks/{model-6hh0p4jj.js → snapshot-w2jwkx9y.js} +11 -11
  250. package/dist/chunks/{model-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{model-sk663hk0.js → snapshot-w7z3k5dk.js} +22 -22
  252. package/dist/chunks/{model-jmkbrx6z.js → snapshot-wbrh9k09.js} +28 -28
  253. package/dist/chunks/{model-wd87259q.js → snapshot-wd87259q.js} +1 -1
  254. package/dist/chunks/{model-nzs7qp78.js → snapshot-wkcmpner.js} +6 -6
  255. package/dist/chunks/{model-xea223yn.js → snapshot-wqbevas8.js} +1 -1
  256. package/dist/chunks/{model-dbz9e5sv.js → snapshot-wwyzffch.js} +20 -20
  257. package/dist/chunks/{model-b3dw1nxt.js → snapshot-x86wrwcp.js} +14 -14
  258. package/dist/chunks/{model-6897dy4y.js → snapshot-xc0qh6rg.js} +11 -11
  259. package/dist/chunks/{model-xfkkasph.js → snapshot-xfkkasph.js} +1 -1
  260. package/dist/chunks/{model-bsqtyhzw.js → snapshot-xg0pma4t.js} +32 -32
  261. package/dist/chunks/{model-wwhqjdsn.js → snapshot-xxwe6d9h.js} +18 -18
  262. package/dist/chunks/{model-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{model-p2c1p7fg.js → snapshot-y7wtjedd.js} +4 -4
  264. package/dist/chunks/{model-4e171ha0.js → snapshot-ydma5cpq.js} +1 -1
  265. package/dist/chunks/{model-9m88xfvv.js → snapshot-yh26w4ce.js} +35 -35
  266. package/dist/chunks/{model-n7gz5fxy.js → snapshot-yhx8v9gy.js} +7 -7
  267. package/dist/chunks/{model-yp2x3t23.js → snapshot-yp2x3t23.js} +1 -1
  268. package/dist/chunks/{model-dxw5vmgr.js → snapshot-ysye361s.js} +18 -18
  269. package/dist/chunks/{model-vgx6weyf.js → snapshot-yvvvp4gn.js} +8 -8
  270. package/dist/chunks/{model-r35mg9et.js → snapshot-ywqn9wnz.js} +15 -15
  271. package/dist/chunks/{model-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
  272. package/dist/chunks/{model-ajzsbz6h.js → snapshot-z5crsmww.js} +5 -5
  273. package/dist/chunks/{model-gj71zhbs.js → snapshot-z6c3x22d.js} +5 -5
  274. package/dist/chunks/{model-79rwpvn4.js → snapshot-z6dwrd8b.js} +51 -51
  275. package/dist/chunks/{model-q504mf2g.js → snapshot-z7mcsx03.js} +4 -4
  276. package/dist/chunks/{model-v9vx4ha1.js → snapshot-z8fej9z0.js} +8 -8
  277. package/dist/chunks/{model-30ezw4dz.js → snapshot-zd9agh4c.js} +15 -15
  278. package/dist/chunks/{model-ts98378q.js → snapshot-zg2nwh95.js} +3 -3
  279. package/dist/chunks/{model-es9h6wy0.js → snapshot-zjevg3pf.js} +4 -4
  280. package/dist/chunks/{model-xmk3nhga.js → snapshot-znr2sffa.js} +12 -12
  281. package/dist/chunks/{model-zr2ceqn5.js → snapshot-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{model-avj7e4e4.js → snapshot-zsygfxs1.js} +9 -9
  283. package/dist/chunks/{model-4kca7kha.js → snapshot-zwtf9a4d.js} +31 -31
  284. package/dist/chunks/{model-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +3 -3
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +120 -120
  294. package/dist/config/plugin/command.js +209 -209
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +118 -118
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +74 -74
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +102 -102
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +103 -103
  429. package/dist/git.js +10 -10
  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 +101 -101
  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/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +86 -86
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +83 -83
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +136 -136
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +87 -87
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +111 -111
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +98 -98
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  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 +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +78 -78
  487. package/dist/plugin/command.js +104 -104
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +120 -120
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +86 -86
  558. package/dist/provider.js +95 -95
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +86 -86
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +95 -95
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +211 -211
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +95 -95
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +130 -130
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +118 -118
  648. package/dist/tool/read-filesystem.js +100 -100
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +78 -78
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +7 -7
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/model-6vb0jgt0.js +0 -26
  686. package/dist/chunks/model-f81tjggh.js +0 -18
  687. package/dist/chunks/model-wk815h5a.js +0 -253
  688. /package/dist/chunks/{model-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{model-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{model-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{model-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{model-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{model-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{model-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{model-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{model-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{model-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{model-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-3asan66x.js → snapshot-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-3t0ybcrp.js → snapshot-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{model-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{model-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-53557ph1.js → snapshot-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-6prwharc.js → snapshot-6prwharc.js} +0 -0
  710. /package/dist/chunks/{model-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{model-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{model-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{model-822emrt2.js → snapshot-822emrt2.js} +0 -0
  714. /package/dist/chunks/{model-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{model-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{model-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{model-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{model-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{model-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{model-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{model-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{model-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{model-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{model-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{model-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{model-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{model-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{model-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{model-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{model-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{model-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{model-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{model-df08tz66.js → snapshot-df08tz66.js} +0 -0
  734. /package/dist/chunks/{model-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{model-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{model-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{model-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{model-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{model-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{model-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{model-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{model-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{model-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{model-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
  745. /package/dist/chunks/{model-g86h250q.js → snapshot-g86h250q.js} +0 -0
  746. /package/dist/chunks/{model-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
  747. /package/dist/chunks/{model-gftt206x.js → snapshot-gftt206x.js} +0 -0
  748. /package/dist/chunks/{model-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
  749. /package/dist/chunks/{model-hk9envan.js → snapshot-hk9envan.js} +0 -0
  750. /package/dist/chunks/{model-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{model-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{model-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{model-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{model-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{model-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{model-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{model-m18g726c.js → snapshot-m18g726c.js} +0 -0
  758. /package/dist/chunks/{model-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{model-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{model-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{model-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{model-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{model-pkyv6v7h.js → snapshot-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{model-pyv0edze.js → snapshot-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{model-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{model-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{model-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{model-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{model-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{model-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{model-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{model-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{model-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{model-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{model-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{model-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{model-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{model-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{model-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
  780. /package/dist/chunks/{model-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{model-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{model-x61499pn.js → snapshot-x61499pn.js} +0 -0
  783. /package/dist/chunks/{model-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{model-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{model-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{model-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{model-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
  788. /package/dist/chunks/{model-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-dpkg50ah.js";
3
+ } from "./snapshot-dpkg50ah.js";
4
4
  import {
5
- Service62,
6
- node65
7
- } from "./model-cazcby7s.js";
5
+ Service51,
6
+ node54
7
+ } from "./snapshot-qe19s462.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./snapshot-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service26,
17
- node: () => node29,
16
+ Service: () => Service50,
17
+ node: () => node53,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service26 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service50 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service26, Effect.gen(function* () {
38
- const environment = yield* Service62;
37
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
38
+ const environment = yield* Service51;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service26.of({ withLock, write, writeTextPreservingBom });
59
+ return Service50.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node29 = makeLocationNode({ service: Service26, layer, deps: [node65] });
61
+ var node53 = makeLocationNode({ service: Service50, layer, deps: [node54] });
62
62
 
63
- export { Service26, readText2, syncTextBom2, node29, exports_file_mutation };
63
+ export { Service50, readText2, syncTextBom2, node53, exports_file_mutation };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./model-jze0r7bz.js";
3
+ } from "./snapshot-jze0r7bz.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./snapshot-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-wwncb6zf.js";
2
+ Service85,
3
+ node89
4
+ } from "./snapshot-r6z305st.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./model-rert0e01.js";
7
+ } from "./snapshot-rert0e01.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./snapshot-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info18,
16
+ ID: () => ID6,
17
+ Info: () => Info11,
18
18
  ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service66,
21
- node: () => node70
20
+ Service: () => Service61,
21
+ node: () => node63
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info18 = PermissionSaved.Info;
28
+ var ID6 = PermissionSaved.ID;
29
+ var Info11 = PermissionSaved.Info;
30
30
  var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service66 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service61 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service66, Effect.gen(function* () {
42
- const db = (yield* Service83).db;
41
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
42
+ const db = (yield* Service85).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID9.create(),
60
+ id: ID6.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service66.of({ list, add, remove });
69
+ return Service61.of({ list, add, remove });
70
70
  }));
71
- var node70 = makeGlobalNode({ service: Service66, layer, deps: [node87] });
71
+ var node63 = makeGlobalNode({ service: Service61, layer, deps: [node89] });
72
72
 
73
- export { ID9, Info18, ListInput5, AddInput2, Service66, node70, exports_saved };
73
+ export { ID6, Info11, ListInput5, AddInput2, Service61, node63, exports_saved };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./model-rdw6cm16.js";
3
+ } from "./snapshot-rdw6cm16.js";
4
4
  import {
5
- Service56
6
- } from "./model-5e81dfca.js";
5
+ Service67
6
+ } from "./snapshot-mf8vvcps.js";
7
7
  import {
8
8
  match2
9
- } from "./model-y1fvbwt7.js";
9
+ } from "./snapshot-y1fvbwt7.js";
10
10
  import {
11
- Service84,
11
+ Service14,
12
12
  statements2,
13
13
  decision2
14
- } from "./model-wk6sqcc5.js";
14
+ } from "./snapshot-fbvr504v.js";
15
15
  import {
16
16
  observe2
17
- } from "./model-qsdy395h.js";
17
+ } from "./snapshot-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./snapshot-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin22
26
+ Plugin: () => Plugin33
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin22 = define({
30
+ var Plugin33 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service56;
34
- const managed = yield* Service84;
33
+ const config = yield* Service67;
34
+ const managed = yield* Service14;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -69,4 +69,4 @@ var Plugin22 = define({
69
69
  })
70
70
  });
71
71
 
72
- export { Plugin22, exports_policy };
72
+ export { Plugin33, exports_policy };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./model-emrn6kk6.js";
5
+ } from "./snapshot-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
9
+ ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info12,
11
+ Info: () => Info19,
12
12
  Object: () => Object2,
13
- Rule: () => Rule2
13
+ Rule: () => Rule3
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info12 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info12, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./model-eh3zwz77.js";
3
+ } from "./snapshot-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./model-e73j6tqm.js";
6
+ } from "./snapshot-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./model-3wcehsnq.js";
9
+ } from "./snapshot-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./model-dap0rakb.js";
12
+ } from "./snapshot-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./model-4y7fprxs.js";
15
+ } from "./snapshot-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-88xbtdfr.js";
3
+ } from "./snapshot-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./model-5qd3pb7m.js";
5
+ load5
6
+ } from "./snapshot-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./model-9rqn6x4v.js";
9
+ } from "./snapshot-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event11,
14
+ Event: () => Event13,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service57,
16
+ Options: () => Options7,
17
+ Service: () => Service68,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer23,
22
+ layer: () => layer24,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node60,
25
+ node: () => node72,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event11 = { Updated: FileSystem.Event.Changed };
36
+ var Event13 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service57 extends Context.Service()("@opencode/Watcher") {
60
+ class Service68 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
65
+ var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service57.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service57, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service57.of({ subscribe });
108
+ return Service68.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service57).subscribe,
134
+ subscribe: Context.get(context, Service68).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service57, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service57, layer: layer23(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
169
169
  }
170
- var node60 = configured9();
170
+ var node72 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event11, hasNativeBinding2, Native3, Options9, Service57, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured9, node60, exports_watcher };
190
+ export { Event13, hasNativeBinding2, Native3, Options7, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node72, exports_watcher };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-9syxb0r3.js";
3
+ } from "./snapshot-v2dpvkn0.js";
4
4
  import {
5
5
  call2
6
- } from "./model-ywt8jp22.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/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin33,
14
+ Plugin: () => Plugin7,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint2
16
+ endpoint: () => endpoint4
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint2 = "https://search.parallel.ai/mcp";
21
+ var endpoint4 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin33 = define({
50
+ var Plugin7 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin33 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin33 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint2, Plugin33, exports_parallel };
96
+ export { endpoint4, Plugin7, exports_parallel };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./snapshot-z5v4ffb3.js";
4
4
  import {
5
- node85
6
- } from "./model-hvh251q6.js";
5
+ node87
6
+ } from "./snapshot-sm0ksd3h.js";
7
7
  import {
8
- Service79,
9
- node83
10
- } from "./model-ff251rbv.js";
8
+ Service81,
9
+ node85
10
+ } from "./snapshot-navbt8w1.js";
11
11
  import {
12
12
  create3
13
- } from "./model-rdw6cm16.js";
13
+ } from "./snapshot-rdw6cm16.js";
14
14
  import {
15
15
  make12
16
- } from "./model-q81gz903.js";
16
+ } from "./snapshot-enm4z0yr.js";
17
17
  import {
18
18
  __export
19
- } from "./model-9rqn6x4v.js";
19
+ } from "./snapshot-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service20,
24
+ Service: () => Service18,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node23
26
+ node: () => node21
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service20 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service18 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service20, Effect.gen(function* () {
37
- const location = yield* Service79;
36
+ var layer = Layer.effect(Service18, Effect.gen(function* () {
37
+ const location = yield* Service81;
38
38
  const global = yield* Global.Service;
39
39
  const git = yield* make12;
40
40
  const state = create3({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service20.of({ ...state, directory: location.directory });
58
+ return Service18.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node23 = makeLocationNode({
61
- service: Service20,
60
+ var node21 = makeLocationNode({
61
+ service: Service18,
62
62
  layer,
63
- deps: [node83, Global.node, node85, FSUtil.node]
63
+ deps: [node85, Global.node, node87, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service20, node23, exports_strategies };
66
+ export { Service18, node21, exports_strategies };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./snapshot-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11
3
- } from "./model-228yc791.js";
2
+ ID7
3
+ } from "./snapshot-bhcj78x9.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-z5v4ffb3.js";
6
+ } from "./snapshot-z5v4ffb3.js";
7
7
  import {
8
- Info11
9
- } from "./model-hcv80w8f.js";
8
+ Info18
9
+ } from "./snapshot-b4ytdsdb.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./model-q504mf2g.js";
12
+ } from "./snapshot-z7mcsx03.js";
13
13
  import {
14
14
  latest2,
15
- Service56
16
- } from "./model-5e81dfca.js";
15
+ Service67
16
+ } from "./snapshot-mf8vvcps.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./model-8m6m0r52.js";
19
+ } from "./snapshot-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./model-9rqn6x4v.js";
22
+ } from "./snapshot-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
- var exports_agent = {};
26
- __export(exports_agent, {
27
- ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin32
25
+ var exports_agent2 = {};
26
+ __export(exports_agent2, {
27
+ ConfigAgentPlugin: () => exports_agent2,
28
+ Plugin: () => Plugin38
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info18);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin32 = define({
47
+ var Plugin38 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service56;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin32 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID11.make(configuredDefault));
79
+ editor.default(ID7.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID11.make(id);
85
+ const agentID = ID7.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin32, exports_agent };
164
+ export { Plugin38, exports_agent2 };