@opencode/core 0.0.0-dev-20467 → 0.0.0-dev-20470

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{job-afchkqsm.js → mime-01vbh4b3.js} +10 -10
  8. package/dist/chunks/{job-kwtzvpvj.js → mime-05t99dhf.js} +3 -3
  9. package/dist/chunks/{job-8hnrp9rd.js → mime-068gpbd9.js} +35 -40
  10. package/dist/chunks/{job-jwv3hh80.js → mime-06dj46ky.js} +11 -11
  11. package/dist/chunks/{job-bsx5pfav.js → mime-0a62tskg.js} +11 -11
  12. package/dist/chunks/{job-0vbcp93d.js → mime-0emb60td.js} +2 -2
  13. package/dist/chunks/{job-543tcfte.js → mime-0h4fw62m.js} +2 -2
  14. package/dist/chunks/{job-sfkj0ta1.js → mime-0nde5ztd.js} +5 -5
  15. package/dist/chunks/{job-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{job-p2nvpx2k.js → mime-0xn2111h.js} +4 -4
  17. package/dist/chunks/{job-s4bzjdtc.js → mime-15h1bbb3.js} +67 -67
  18. package/dist/chunks/{job-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{job-7bjzq7me.js → mime-1evbeta6.js} +3 -3
  20. package/dist/chunks/{job-m625ddq6.js → mime-1ezwtg26.js} +8 -8
  21. package/dist/chunks/{job-2mbds3pf.js → mime-1fmrbde1.js} +6 -6
  22. package/dist/chunks/{job-rmvwey32.js → mime-1yedb2yx.js} +12 -12
  23. package/dist/chunks/{job-21r38tys.js → mime-21r38tys.js} +1 -1
  24. package/dist/chunks/{job-28xeqk3p.js → mime-21tqyygk.js} +34 -34
  25. package/dist/chunks/{job-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{job-6ersrjne.js → mime-2d57kztd.js} +6 -6
  27. package/dist/chunks/{job-yvvvp4gn.js → mime-2hr5nhwa.js} +8 -8
  28. package/dist/chunks/{job-v3f136vv.js → mime-2j5t9zjq.js} +30 -30
  29. package/dist/chunks/{job-2817rfhq.js → mime-2jfwh2t6.js} +46 -46
  30. package/dist/chunks/{job-t6gerxyh.js → mime-2m35s2yg.js} +16 -16
  31. package/dist/chunks/{job-dv5gdg8y.js → mime-2nhyf9gp.js} +32 -32
  32. package/dist/chunks/{job-94yjm49g.js → mime-2va8heef.js} +5 -5
  33. package/dist/chunks/{job-n5cwecme.js → mime-2wzcstvr.js} +11 -11
  34. package/dist/chunks/{job-k4x3mqg7.js → mime-31770cq8.js} +10 -10
  35. package/dist/chunks/{job-sn1m68sv.js → mime-334pc9ed.js} +6 -6
  36. package/dist/chunks/{job-x05ygdqx.js → mime-372b9p0d.js} +20 -20
  37. package/dist/chunks/{job-x389qe1e.js → mime-38a0tmmt.js} +6 -6
  38. package/dist/chunks/{job-hde6z15e.js → mime-3bzke43f.js} +11 -11
  39. package/dist/chunks/{job-h2b79v29.js → mime-3cegwx68.js} +2 -2
  40. package/dist/chunks/{job-5m938806.js → mime-3dj9ym1t.js} +22 -22
  41. package/dist/chunks/{job-4bm5ja14.js → mime-3ewed21c.js} +4 -4
  42. package/dist/chunks/{job-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{job-m2jqcmq0.js → mime-3gc434y9.js} +11 -11
  44. package/dist/chunks/{job-akem1a8a.js → mime-3gxdmg1p.js} +5 -5
  45. package/dist/chunks/{job-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{job-hws959dx.js → mime-3sbj3w55.js} +11 -11
  47. package/dist/chunks/{job-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{job-92decmfr.js → mime-3t793sqb.js} +1 -1
  49. package/dist/chunks/{job-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{job-xg80ng6d.js → mime-3zmmk8jr.js} +19 -19
  51. package/dist/chunks/{job-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{job-47jkzegy.js → mime-43kvem2p.js} +5 -5
  53. package/dist/chunks/{job-xrpg47n6.js → mime-4jyvzrab.js} +8 -8
  54. package/dist/chunks/{job-4ts7tf6z.js → mime-4ts7tf6z.js} +2 -2
  55. package/dist/chunks/{job-vqfzq50h.js → mime-51f5btjf.js} +6 -6
  56. package/dist/chunks/{job-r94pvvab.js → mime-54ma36ye.js} +4 -4
  57. package/dist/chunks/{job-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{job-qm7jrdpz.js → mime-57e9z27j.js} +8 -8
  59. package/dist/chunks/{job-03js8bwe.js → mime-57t2akgp.js} +47 -47
  60. package/dist/chunks/{job-dg9snmj0.js → mime-59gjxxx9.js} +34 -34
  61. package/dist/chunks/{job-992nq899.js → mime-59he4xmr.js} +9 -9
  62. package/dist/chunks/{job-gt0w2r94.js → mime-5acs1xhz.js} +9 -9
  63. package/dist/chunks/{job-5daktx2q.js → mime-5daktx2q.js} +1 -1
  64. package/dist/chunks/{job-zhcr9qtq.js → mime-5s91rp69.js} +17 -17
  65. package/dist/chunks/{job-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{job-p37cw4rj.js → mime-5xtgfte3.js} +4 -4
  67. package/dist/chunks/{job-zr8gyxhx.js → mime-61w87evq.js} +37 -37
  68. package/dist/chunks/{job-669tq793.js → mime-669tq793.js} +1 -1
  69. package/dist/chunks/{job-b3y7b6qs.js → mime-66az4k2s.js} +25 -25
  70. package/dist/chunks/{job-mvsyj89v.js → mime-675p05bk.js} +4 -4
  71. package/dist/chunks/{job-5vf6q9hk.js → mime-694pv4x1.js} +14 -14
  72. package/dist/chunks/{job-hw2mxkc7.js → mime-69ywzg6c.js} +27 -27
  73. package/dist/chunks/{job-v9trm35v.js → mime-6epc62pm.js} +5 -5
  74. package/dist/chunks/{job-h4g2rx11.js → mime-6wqswahh.js} +32 -32
  75. package/dist/chunks/{job-a2g813f4.js → mime-73sha07p.js} +16 -16
  76. package/dist/chunks/{job-a38e8hjq.js → mime-74e4jmfh.js} +17 -17
  77. package/dist/chunks/{job-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{job-1j8srcya.js → mime-7e50kkn8.js} +20 -20
  79. package/dist/chunks/{job-jsb4t09t.js → mime-7jvpbwfz.js} +27 -27
  80. package/dist/chunks/{job-45bncrr3.js → mime-7w6qk0sn.js} +45 -45
  81. package/dist/chunks/{job-m269jyxt.js → mime-7wg6a9xy.js} +7 -7
  82. package/dist/chunks/{job-y3agzp4d.js → mime-7xk7v40y.js} +15 -15
  83. package/dist/chunks/{job-5cgyhv0x.js → mime-7yb2ybf6.js} +13 -13
  84. package/dist/chunks/{job-5fykfdj7.js → mime-8316qx5p.js} +5 -5
  85. package/dist/chunks/{job-2mdpkgg5.js → mime-83mtbh1h.js} +3 -3
  86. package/dist/chunks/{job-fg73yfg0.js → mime-8439xzqf.js} +21 -21
  87. package/dist/chunks/{job-1dvck2a7.js → mime-84h8c373.js} +2 -2
  88. package/dist/chunks/{job-84txncab.js → mime-84txncab.js} +1 -1
  89. package/dist/chunks/{job-nyq4a4fc.js → mime-86qjnnqk.js} +11 -11
  90. package/dist/chunks/{job-tcezcvh9.js → mime-89znhe33.js} +4 -4
  91. package/dist/chunks/{job-fqtvmpfq.js → mime-8ank75fn.js} +8 -8
  92. package/dist/chunks/{job-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{job-hqmgd24m.js → mime-8kch91gp.js} +11 -11
  94. package/dist/chunks/{job-47r9vgy9.js → mime-8n3f0kbg.js} +24 -24
  95. package/dist/chunks/{job-k6cg1ypx.js → mime-8r9d4f7f.js} +10 -10
  96. package/dist/chunks/{job-wpc8vrn3.js → mime-8twmn6r7.js} +26 -26
  97. package/dist/chunks/{job-b1amcvf2.js → mime-9k8khh75.js} +15 -15
  98. package/dist/chunks/{job-4bk00v8h.js → mime-9s1fef2z.js} +12 -12
  99. package/dist/chunks/{job-eq1pz5kg.js → mime-a1gpj94z.js} +3 -3
  100. package/dist/chunks/{job-p66spjd3.js → mime-a8nehgcf.js} +20 -20
  101. package/dist/chunks/{job-fb5svenv.js → mime-a8tz3pvz.js} +16 -16
  102. package/dist/chunks/{job-aaet6srn.js → mime-aaet6srn.js} +2 -2
  103. package/dist/chunks/{job-ehmk23mz.js → mime-ajkppa7x.js} +34 -34
  104. package/dist/chunks/{job-w3kkect8.js → mime-ajt55ttf.js} +27 -27
  105. package/dist/chunks/{job-pjcgw4ep.js → mime-aker6v60.js} +12 -12
  106. package/dist/chunks/{job-vmmb59q1.js → mime-ap9q6hx1.js} +48 -48
  107. package/dist/chunks/{job-s8fpqbyp.js → mime-aq20xgnp.js} +22 -22
  108. package/dist/chunks/{job-3byaa1ve.js → mime-awfffjg5.js} +177 -177
  109. package/dist/chunks/{job-xb9w92bz.js → mime-b2142pzq.js} +22 -22
  110. package/dist/chunks/{job-sph0c6my.js → mime-b3t7exkg.js} +6 -6
  111. package/dist/chunks/{job-4sq8dz1s.js → mime-b46pamft.js} +15 -15
  112. package/dist/chunks/{job-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{job-b7egtpmm.js → mime-b8j60jjz.js} +8 -8
  114. package/dist/chunks/{job-sjv6995p.js → mime-b998q84g.js} +36 -36
  115. package/dist/chunks/{job-35ggyzt3.js → mime-bfrkyb4v.js} +33 -33
  116. package/dist/chunks/{job-j7rjbbc7.js → mime-bpgchkmt.js} +7 -7
  117. package/dist/chunks/mime-by5v678g.js +18 -0
  118. package/dist/chunks/{job-9sd3eyxn.js → mime-c738tryd.js} +22 -22
  119. package/dist/chunks/{job-627bxgqg.js → mime-c9x2jsqt.js} +11 -11
  120. package/dist/chunks/{job-cn024ves.js → mime-cf5x6mq8.js} +18 -18
  121. package/dist/chunks/{job-w92k2e0p.js → mime-cfsekr6v.js} +8 -8
  122. package/dist/chunks/{job-3w7t9sjm.js → mime-cgjxc2h6.js} +10 -10
  123. package/dist/chunks/{job-dqpy1reh.js → mime-cvnmwk6c.js} +16 -16
  124. package/dist/chunks/{job-918zktfr.js → mime-cw8j8gm3.js} +13 -13
  125. package/dist/chunks/{job-5d607bsg.js → mime-cwa6csj7.js} +9 -9
  126. package/dist/chunks/{job-jykystv5.js → mime-cybsyzkk.js} +24 -24
  127. package/dist/chunks/{job-9emfjjbd.js → mime-d328dj5n.js} +32 -32
  128. package/dist/chunks/{job-kjccmbts.js → mime-d3ymxdyw.js} +33 -33
  129. package/dist/chunks/{job-9caaefn6.js → mime-d6efa7rx.js} +13 -13
  130. package/dist/chunks/{job-ycp453gp.js → mime-ddweaty3.js} +19 -19
  131. package/dist/chunks/{job-y6bex35g.js → mime-dnxkq42g.js} +4 -4
  132. package/dist/chunks/{job-6axb150g.js → mime-dphnx1wg.js} +15 -15
  133. package/dist/chunks/{job-yrmrwfkv.js → mime-dy7dxchr.js} +26 -26
  134. package/dist/chunks/{job-f4b577p5.js → mime-e1kaz002.js} +19 -19
  135. package/dist/chunks/{job-htrkr43w.js → mime-e4mpcj2w.js} +5 -5
  136. package/dist/chunks/{job-05pde662.js → mime-e6psn9y2.js} +4 -4
  137. package/dist/chunks/{job-1twmk53z.js → mime-ednvghyx.js} +44 -44
  138. package/dist/chunks/{job-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{job-ax9bm1ha.js → mime-ep96ymdh.js} +37 -37
  140. package/dist/chunks/{job-ra4n65wq.js → mime-espax8zg.js} +4 -4
  141. package/dist/chunks/{job-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{job-szfn71ha.js → mime-ewge9cav.js} +12 -12
  143. package/dist/chunks/{job-m9w3n0mg.js → mime-eyeb6xk3.js} +18 -18
  144. package/dist/chunks/{job-xpja5686.js → mime-f1yhsvj9.js} +3 -3
  145. package/dist/chunks/{job-a81kfqvn.js → mime-f29mbr7f.js} +4 -4
  146. package/dist/chunks/{job-gzhfsf6w.js → mime-f2gtdjdp.js} +28 -28
  147. package/dist/chunks/{job-gpz58nsd.js → mime-f4a4fymy.js} +4 -4
  148. package/dist/chunks/{job-71az546q.js → mime-f75zav2x.js} +2 -2
  149. package/dist/chunks/{job-d8qe6v8f.js → mime-f7vgrd2g.js} +13 -13
  150. package/dist/chunks/{job-bf95p6h4.js → mime-fjdps7eb.js} +11 -11
  151. package/dist/chunks/{job-6rnxzzj3.js → mime-fq2g7c6x.js} +8 -8
  152. package/dist/chunks/{job-a8bn8zg0.js → mime-g190xswt.js} +4 -4
  153. package/dist/chunks/{job-57b9ws8p.js → mime-g5w8qwbj.js} +7 -7
  154. package/dist/chunks/{job-7pgtzthj.js → mime-g66805e4.js} +20 -20
  155. package/dist/chunks/{job-yamh1021.js → mime-g9v737mn.js} +6 -6
  156. package/dist/chunks/{job-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{job-pdbycm33.js → mime-gv2yjgzz.js} +10 -10
  158. package/dist/chunks/{job-r56c9npx.js → mime-h2tzjape.js} +20 -20
  159. package/dist/chunks/{job-wc8m6r6z.js → mime-h377qqqs.js} +14 -14
  160. package/dist/chunks/{job-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{job-b3f8fkhc.js → mime-hdkng2sj.js} +5 -5
  162. package/dist/chunks/{job-69802pc5.js → mime-hnbdma03.js} +83 -83
  163. package/dist/chunks/{job-am5nqmeq.js → mime-j3rxv4am.js} +9 -9
  164. package/dist/chunks/{job-j56e64zr.js → mime-j56e64zr.js} +1 -1
  165. package/dist/chunks/{job-h8p16smg.js → mime-j8t255bq.js} +4 -4
  166. package/dist/chunks/{job-ndmv45hp.js → mime-jexxy024.js} +3 -3
  167. package/dist/chunks/{job-hn57h045.js → mime-jvf3yq6v.js} +4 -4
  168. package/dist/chunks/{job-4m975yph.js → mime-jzsz9v64.js} +34 -34
  169. package/dist/chunks/{job-xf0nr9dv.js → mime-k3yea1v9.js} +4 -4
  170. package/dist/chunks/{job-9e5bzkjp.js → mime-kb9j3d72.js} +3 -3
  171. package/dist/chunks/{job-jyx3h9m7.js → mime-kjfy6aqy.js} +15 -15
  172. package/dist/chunks/{job-p4qpgq5w.js → mime-knvbkgg0.js} +13 -13
  173. package/dist/chunks/{job-txjd4fkc.js → mime-kvkq3jdm.js} +7 -7
  174. package/dist/chunks/{job-vrzvd6vk.js → mime-m35a1js7.js} +11 -11
  175. package/dist/chunks/{job-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{job-ncjresk4.js → mime-m6f3t844.js} +8 -8
  177. package/dist/chunks/{job-g74p4268.js → mime-m7h1967w.js} +20 -20
  178. package/dist/chunks/{job-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{job-k8cmjhch.js → mime-mdy91dzd.js} +8 -8
  180. package/dist/chunks/{job-hgzv9kjc.js → mime-mfeg5k3q.js} +7 -7
  181. package/dist/chunks/{job-qhev78dh.js → mime-mhm95nh1.js} +21 -21
  182. package/dist/chunks/{job-3v5tjer0.js → mime-mncep7ma.js} +2 -2
  183. package/dist/chunks/{job-5gqmj51j.js → mime-mqf7qztk.js} +25 -25
  184. package/dist/chunks/{job-veaa2jnh.js → mime-mqgb4hkm.js} +8 -8
  185. package/dist/chunks/{job-3yk74dhc.js → mime-mtwm9ezq.js} +21 -21
  186. package/dist/chunks/{job-cz1dxj5r.js → mime-mwa79a1d.js} +37 -37
  187. package/dist/chunks/{job-7tjzpfcg.js → mime-n0tvkx1b.js} +10 -10
  188. package/dist/chunks/{job-3dyf1mr4.js → mime-n59v16j7.js} +88 -88
  189. package/dist/chunks/{job-1qv75xms.js → mime-nqv404gn.js} +2 -2
  190. package/dist/chunks/{job-fy752efe.js → mime-nrjkrfdk.js} +8 -8
  191. package/dist/chunks/{job-pkqb68ka.js → mime-nvhjw3b0.js} +4 -4
  192. package/dist/chunks/{job-bggp43b6.js → mime-nvxd4a3z.js} +12 -12
  193. package/dist/chunks/{job-dpkg50ah.js → mime-nxm207yx.js} +4 -4
  194. package/dist/chunks/{job-2t2s42cy.js → mime-p6wgvgn6.js} +9 -9
  195. package/dist/chunks/{job-efzy2153.js → mime-pcqej2dj.js} +19 -19
  196. package/dist/chunks/{job-38k392wv.js → mime-pfrtanrk.js} +26 -26
  197. package/dist/chunks/{job-m8vw0nde.js → mime-pgzt0k19.js} +21 -21
  198. package/dist/chunks/mime-pj3sbc1q.js +252 -0
  199. package/dist/chunks/{job-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{job-pknna89w.js → mime-pknna89w.js} +1 -1
  201. package/dist/chunks/{job-hm1626ap.js → mime-pmjfnjve.js} +10 -10
  202. package/dist/chunks/{job-0v53mg2y.js → mime-pmr4s4kc.js} +4 -4
  203. package/dist/chunks/{job-hhve2k50.js → mime-ppm6qgbs.js} +33 -33
  204. package/dist/chunks/{job-wcb5wh0w.js → mime-pr4tzdnn.js} +2 -2
  205. package/dist/chunks/{job-gf9ymecw.js → mime-psbsx9ev.js} +10 -10
  206. package/dist/chunks/{job-q0xm7vwc.js → mime-q0xm7vwc.js} +2 -2
  207. package/dist/chunks/{job-va5qff5x.js → mime-q5nw5m1n.js} +6 -6
  208. package/dist/chunks/{job-429nfpe8.js → mime-q9ah5cgy.js} +32 -32
  209. package/dist/chunks/{job-mazbtkaa.js → mime-qd6pb4xn.js} +2 -2
  210. package/dist/chunks/{job-mb942295.js → mime-qecm58md.js} +6 -6
  211. package/dist/chunks/{job-44jtbah9.js → mime-qepntzbg.js} +24 -24
  212. package/dist/chunks/{job-7190fypv.js → mime-qewcqqea.js} +20 -20
  213. package/dist/chunks/{job-qgn6gcr1.js → mime-qgn6gcr1.js} +1 -1
  214. package/dist/chunks/{job-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  215. package/dist/chunks/{job-qsdy395h.js → mime-qsdy395h.js} +1 -1
  216. package/dist/chunks/{job-n6zvr2de.js → mime-qvy1qmm3.js} +12 -12
  217. package/dist/chunks/{job-xyafkbt0.js → mime-qxjc9qry.js} +3 -3
  218. package/dist/chunks/{job-53jw4c93.js → mime-qy24xa0s.js} +15 -15
  219. package/dist/chunks/{job-nmj4sc10.js → mime-r27bg8y4.js} +44 -44
  220. package/dist/chunks/{job-9b9nbw19.js → mime-r4m5gmwp.js} +9 -9
  221. package/dist/chunks/{job-03ezm56f.js → mime-r5q07pyt.js} +11 -11
  222. package/dist/chunks/{job-yp2x3t23.js → mime-r8xr0va3.js} +4 -4
  223. package/dist/chunks/{job-b8086ece.js → mime-r8z1rt2e.js} +26 -26
  224. package/dist/chunks/{job-fqb2p7cx.js → mime-ratrq7cm.js} +4 -4
  225. package/dist/chunks/{job-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{job-gg3hnhsj.js → mime-rk1r2hx8.js} +1 -1
  227. package/dist/chunks/{job-a9ng4de9.js → mime-rx48dec3.js} +9 -9
  228. package/dist/chunks/{job-h4ckqw4f.js → mime-s0224r3c.js} +8 -8
  229. package/dist/chunks/{job-wv396vej.js → mime-s8d7rejh.js} +8 -8
  230. package/dist/chunks/{job-gv16kyf6.js → mime-s9kb2yg2.js} +6 -6
  231. package/dist/chunks/{job-hxt36cq1.js → mime-sfpt4edp.js} +16 -16
  232. package/dist/chunks/{job-2n22hf6m.js → mime-sg7q32v8.js} +32 -32
  233. package/dist/chunks/{job-yztwdbt3.js → mime-shrvt0bc.js} +12 -12
  234. package/dist/chunks/{job-t70rm84y.js → mime-stnejjkn.js} +5 -5
  235. package/dist/chunks/{job-bezhzanq.js → mime-sy29epdy.js} +9 -9
  236. package/dist/chunks/{job-fj6b9xaq.js → mime-t0dtkzr7.js} +10 -10
  237. package/dist/chunks/{job-6yzefp2f.js → mime-t67r96zt.js} +5 -5
  238. package/dist/chunks/{job-m1zhmj85.js → mime-t768gxq0.js} +1 -1
  239. package/dist/chunks/{job-t7rnasjk.js → mime-ta9v1xwm.js} +308 -308
  240. package/dist/chunks/{job-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{job-ck8npcm5.js → mime-tc2bp7te.js} +9 -9
  242. package/dist/chunks/{job-tdstcens.js → mime-tdstcens.js} +1 -1
  243. package/dist/chunks/{job-73tvmyfv.js → mime-tg3dtvd2.js} +22 -22
  244. package/dist/chunks/{job-2ya97f74.js → mime-tkzj0056.js} +4 -4
  245. package/dist/chunks/{job-2xewgrj1.js → mime-tv8mz1yx.js} +14 -14
  246. package/dist/chunks/{job-q9tmrnjs.js → mime-tz67dcvr.js} +45 -45
  247. package/dist/chunks/{job-h12zvjj7.js → mime-v3ant3rv.js} +15 -15
  248. package/dist/chunks/{job-yg038512.js → mime-v9c6pdvn.js} +15 -15
  249. package/dist/chunks/{job-t46632zz.js → mime-vbnh33m2.js} +21 -21
  250. package/dist/chunks/{job-veqvce7d.js → mime-veqvce7d.js} +1 -1
  251. package/dist/chunks/{job-b5s7ngqs.js → mime-vjjxy6yb.js} +3 -3
  252. package/dist/chunks/{job-gjeq5cpe.js → mime-vm1e42pn.js} +30 -30
  253. package/dist/chunks/{job-fq4w78be.js → mime-vnzmcpcw.js} +14 -14
  254. package/dist/chunks/{job-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{job-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{job-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{job-sre7hmsk.js → mime-w4cerd5t.js} +46 -46
  258. package/dist/chunks/{job-wdbgrp5e.js → mime-w53c1cz5.js} +51 -51
  259. package/dist/chunks/{job-wd87259q.js → mime-wd87259q.js} +1 -1
  260. package/dist/chunks/{job-zh63pyfs.js → mime-wkhdexc5.js} +5 -5
  261. package/dist/chunks/{job-k70p9jzb.js → mime-wmz9gz0a.js} +9 -9
  262. package/dist/chunks/{job-e9gt32vs.js → mime-wr2fe94x.js} +41 -41
  263. package/dist/chunks/{job-fzzzkraz.js → mime-wt3b0rt6.js} +23 -23
  264. package/dist/chunks/{job-fvntyxag.js → mime-wtqdm9z0.js} +17 -17
  265. package/dist/chunks/{job-dj7kyw3v.js → mime-wvc0kw0p.js} +5 -5
  266. package/dist/chunks/{job-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{job-pe6nkb5a.js → mime-x53sfaky.js} +3 -3
  268. package/dist/chunks/{job-4k23khte.js → mime-x5prftgx.js} +3 -3
  269. package/dist/chunks/{job-3f358k6q.js → mime-xe3c0b6j.js} +30 -30
  270. package/dist/chunks/{job-abpxsdsw.js → mime-xgrkhhdd.js} +35 -35
  271. package/dist/chunks/{job-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  272. package/dist/chunks/{job-1yms2fw9.js → mime-xn8j4qgz.js} +32 -32
  273. package/dist/chunks/{job-6j1e9nf7.js → mime-xrds2yvy.js} +17 -17
  274. package/dist/chunks/{job-7g97gkh1.js → mime-xtax8pzg.js} +29 -29
  275. package/dist/chunks/{job-01tr0krm.js → mime-y0hjkqeb.js} +17 -17
  276. package/dist/chunks/{job-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{job-7pt3mq3f.js → mime-y6q12yz9.js} +44 -44
  278. package/dist/chunks/{job-fpgyhkd2.js → mime-yd2nyxdd.js} +12 -12
  279. package/dist/chunks/{job-4b64be2k.js → mime-ye9wteb0.js} +17 -17
  280. package/dist/chunks/{job-ffvz0ga5.js → mime-ykfv63at.js} +10 -10
  281. package/dist/chunks/{job-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{job-xjtsx636.js → mime-yt3hy1g9.js} +5 -5
  283. package/dist/chunks/{job-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{job-s1d9451n.js → mime-z3zvc1my.js} +8 -8
  285. package/dist/chunks/{job-8024jtgr.js → mime-z6aw0mzm.js} +19 -19
  286. package/dist/chunks/{job-4j59rn7m.js → mime-zc96g2bq.js} +13 -13
  287. package/dist/chunks/{job-88t5zxn4.js → mime-zk9d4y74.js} +8 -8
  288. package/dist/chunks/{job-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{job-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{job-mnatkcvs.js → mime-zyvzzg4e.js} +15 -15
  291. package/dist/chunks/{job-m973ek6z.js → mime-zz01mka2.js} +20 -20
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +81 -81
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +121 -121
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +139 -139
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +124 -124
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +126 -126
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +16 -16
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +70 -70
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +227 -227
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +80 -80
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +87 -87
  433. package/dist/generate.js +97 -97
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +362 -362
  458. package/dist/instruction-discovery.js +81 -81
  459. package/dist/instructions/builtins.js +85 -85
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +73 -73
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +107 -107
  468. package/dist/location-service-map.js +86 -86
  469. package/dist/location-services.js +359 -359
  470. package/dist/location.js +87 -87
  471. package/dist/managed-policy.js +5 -5
  472. package/dist/mcp/client.js +91 -91
  473. package/dist/mcp/index.js +103 -103
  474. package/dist/mcp/instructions.js +125 -125
  475. package/dist/mcp/oauth.js +78 -78
  476. package/dist/mcp/stdio.js +90 -90
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +91 -91
  479. package/dist/model-resolver.js +98 -98
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +107 -107
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +82 -82
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +109 -109
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +88 -88
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +75 -75
  491. package/dist/plugin/agent.js +102 -102
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +3 -3
  497. package/dist/plugin/internal.js +334 -334
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +96 -96
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +102 -102
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  505. package/dist/plugin/provider/azure.js +124 -124
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +93 -93
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +95 -95
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +78 -78
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +122 -122
  525. package/dist/plugin/provider/openai.js +95 -95
  526. package/dist/plugin/provider/opencode.js +96 -96
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +79 -79
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +122 -122
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +163 -163
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +139 -139
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +353 -353
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +4 -4
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +227 -227
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +84 -84
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +87 -87
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +97 -97
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +3 -3
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +131 -131
  577. package/dist/session/context.js +153 -153
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +123 -123
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +84 -84
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +7 -7
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +113 -113
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +125 -125
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +157 -157
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +11 -11
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +89 -89
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +117 -117
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +101 -101
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +217 -217
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +110 -110
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/types/session/transfer.d.ts +2 -3
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +2 -2
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +1 -1
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/variant.js +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +76 -76
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +81 -81
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +80 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +98 -98
  696. package/package.json +8 -8
  697. package/dist/chunks/job-2kc3w70s.js +0 -252
  698. package/dist/chunks/job-ht5y0zrb.js +0 -18
  699. /package/dist/chunks/{job-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{job-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{job-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{job-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{job-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{job-24dcb14g.js → mime-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{job-2710q6r3.js → mime-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{job-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{job-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{job-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{job-359p4xyc.js → mime-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{job-3asan66x.js → mime-3asan66x.js} +0 -0
  711. /package/dist/chunks/{job-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{job-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{job-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{job-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{job-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{job-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{job-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{job-53557ph1.js → mime-53557ph1.js} +0 -0
  719. /package/dist/chunks/{job-550bvhaj.js → mime-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{job-5qd3pb7m.js → mime-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{job-6prwharc.js → mime-6prwharc.js} +0 -0
  722. /package/dist/chunks/{job-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{job-7m9af43g.js → mime-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{job-822emrt2.js → mime-822emrt2.js} +0 -0
  725. /package/dist/chunks/{job-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{job-8n3pysct.js → mime-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{job-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{job-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{job-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{job-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{job-af5trqkr.js → mime-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{job-afrmfg78.js → mime-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{job-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{job-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{job-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{job-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{job-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{job-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{job-d9fn303g.js → mime-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{job-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{job-dajrwvna.js → mime-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{job-dap0rakb.js → mime-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{job-df08tz66.js → mime-df08tz66.js} +0 -0
  744. /package/dist/chunks/{job-dy18nga0.js → mime-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{job-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{job-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{job-ec1grn59.js → mime-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{job-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{job-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{job-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{job-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{job-faypxj3z.js → mime-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{job-fd410y7t.js → mime-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{job-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{job-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{job-g86h250q.js → mime-g86h250q.js} +0 -0
  757. /package/dist/chunks/{job-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{job-gftt206x.js → mime-gftt206x.js} +0 -0
  759. /package/dist/chunks/{job-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{job-hk9envan.js → mime-hk9envan.js} +0 -0
  761. /package/dist/chunks/{job-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{job-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{job-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{job-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{job-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{job-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{job-mp448xyj.js → mime-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{job-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{job-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{job-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{job-njntx4h6.js → mime-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{job-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{job-q74kybfr.js → mime-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{job-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{job-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{job-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{job-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{job-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{job-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{job-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{job-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{job-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{job-w803qqfp.js → mime-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{job-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{job-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{job-wtztk69x.js → mime-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{job-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{job-x61499pn.js → mime-x61499pn.js} +0 -0
  789. /package/dist/chunks/{job-y44na4kk.js → mime-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{job-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{job-y8f7s663.js → mime-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{job-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{job-ym463w8f.js → mime-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{job-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{job-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./job-pe6nkb5a.js";
4
+ } from "./mime-x53sfaky.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./job-mvsyj89v.js";
8
+ } from "./mime-675p05bk.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./job-pknna89w.js";
11
+ } from "./mime-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./job-3zsf4n22.js";
14
+ } from "./mime-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./job-9rqn6x4v.js";
17
+ } from "./mime-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event17,
24
- ID: () => ID11,
25
- Info: () => Info26,
26
- Key: () => Key3,
23
+ Event: () => Event19,
24
+ ID: () => ID15,
25
+ Info: () => Info30,
26
+ Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service69,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node73
30
+ node: () => node82
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID11 = Credential.ID;
37
+ var ID15 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key3 = Credential.Key;
39
+ var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event17 = Credential.Event;
41
+ var Event19 = Credential.Event;
42
42
 
43
- class Info26 extends Schema.Class("Credential.Info")({
44
- id: ID11,
43
+ class Info30 extends Schema.Class("Credential.Info")({
44
+ id: ID15,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service69 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service69, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service83).db;
55
55
  const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info26({
60
+ return new Info30({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service69.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info26({
80
- id: input.id ?? ID11.create(),
79
+ const credential = new Info30({
80
+ id: input.id ?? ID15.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event17.Updated, {}, { global: true });
111
+ yield* bus.publish(Event19.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event17.Updated, {}, { global: true });
165
+ yield* bus.publish(Event19.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event17.Updated, {}, { global: true });
198
+ yield* bus.publish(Event19.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node73 = makeGlobalNode({ service: Service69, layer, deps: [node87, node86] });
204
+ var node82 = makeGlobalNode({ service: Service78, layer, deps: [node87, node86] });
205
205
 
206
- export { ID11, OAuth3, Key3, Value2, Event17, Info26, Service69, node73, exports_credential };
206
+ export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./job-mvsyj89v.js";
4
+ } from "./mime-675p05bk.js";
5
5
  import {
6
- node49
7
- } from "./job-x05ygdqx.js";
6
+ node53
7
+ } from "./mime-372b9p0d.js";
8
8
  import {
9
9
  Service3,
10
- node4
11
- } from "./job-t46632zz.js";
10
+ node5
11
+ } from "./mime-vbnh33m2.js";
12
12
  import {
13
- Service28
14
- } from "./job-ht5y0zrb.js";
13
+ Service34
14
+ } from "./mime-by5v678g.js";
15
15
  import {
16
- node22,
17
- ID2
18
- } from "./job-efzy2153.js";
16
+ node21,
17
+ ID3
18
+ } from "./mime-pcqej2dj.js";
19
19
  import {
20
20
  Service4,
21
- node5
22
- } from "./job-p37cw4rj.js";
21
+ node6
22
+ } from "./mime-5xtgfte3.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./job-t7rnasjk.js";
27
+ } from "./mime-ta9v1xwm.js";
28
28
  import {
29
- make3,
29
+ make4,
30
30
  LoadError2
31
- } from "./job-88t5zxn4.js";
31
+ } from "./mime-zk9d4y74.js";
32
32
  import {
33
33
  Updated2,
34
- Service8,
35
- node9
36
- } from "./job-fj6b9xaq.js";
34
+ Service5,
35
+ node7
36
+ } from "./mime-t0dtkzr7.js";
37
37
  import {
38
- Service7,
38
+ Service6,
39
39
  node8
40
- } from "./job-xrpg47n6.js";
40
+ } from "./mime-4jyvzrab.js";
41
41
  import {
42
42
  __export
43
- } from "./job-9rqn6x4v.js";
43
+ } from "./mime-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
47
47
  __export(exports_supervisor, {
48
48
  PluginSupervisor: () => exports_supervisor,
49
- layer: () => layer3,
50
- node: () => node3
49
+ layer: () => layer4,
50
+ node: () => node4
51
51
  });
52
52
  import { Event } from "@opencode/schema/config";
53
53
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
116
116
  failures: [
117
117
  ...failures.values(),
118
118
  ...ordered.filter(duplicate).map((plugin) => ({
119
- id: ID2.make(plugin.id),
119
+ id: ID3.make(plugin.id),
120
120
  source: plugin.source ?? { type: "builtin" },
121
121
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
122
122
  features: { server: true, ...plugin.features }
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
125
125
  pending: [...pending]
126
126
  };
127
127
  });
128
- var layer3 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service28;
130
- const sdk = yield* Service8;
128
+ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
+ const registry = yield* Service34;
130
+ const sdk = yield* Service5;
131
131
  const instance = yield* Service4;
132
132
  const sources = yield* Service3;
133
- const modules = yield* make3();
133
+ const modules = yield* make4();
134
134
  const bus = yield* Service82;
135
- const updates = yield* Service7;
135
+ const updates = yield* Service6;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node22,
211
- node9,
210
+ node21,
211
+ node7,
212
+ node6,
212
213
  node5,
213
- node4,
214
214
  node8,
215
215
  node86,
216
216
  Npm.node,
217
- node49,
217
+ node53,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -222,6 +222,6 @@ function pluginSource(target) {
222
222
  return { type: "local", path: target };
223
223
  return { type: "package", target };
224
224
  }
225
- var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
225
+ var node4 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
226
226
 
227
- export { layer3, node3, exports_supervisor };
227
+ export { layer4, node4, exports_supervisor };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./job-gftt206x.js";
3
+ } from "./mime-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./job-mvsyj89v.js";
4
+ } from "./mime-675p05bk.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./job-rdw6cm16.js";
8
+ } from "./mime-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./job-y6bex35g.js";
11
+ } from "./mime-dnxkq42g.js";
12
12
  import {
13
- ID10,
14
- Service68,
15
- node72,
16
- Event16
17
- } from "./job-gjeq5cpe.js";
13
+ ID14,
14
+ Service77,
15
+ node81,
16
+ Event18
17
+ } from "./mime-vm1e42pn.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./job-dqpy1reh.js";
19
+ Service80,
20
+ node84
21
+ } from "./mime-cvnmwk6c.js";
22
22
  import {
23
23
  __export
24
- } from "./job-9rqn6x4v.js";
24
+ } from "./mime-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event15,
42
- ID: () => ID9,
43
- Info: () => Info23,
41
+ Event: () => Event17,
42
+ ID: () => ID13,
43
+ Info: () => Info27,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request2,
47
- Service: () => Service67,
46
+ Request: () => Request3,
47
+ Service: () => Service76,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node71,
57
+ node: () => node80,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event15 } from "@opencode/schema/provider";
72
- var ID9 = Provider.ID;
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
+ var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -225,13 +225,13 @@ function mergeHeaders2(base, overlay) {
225
225
  return result;
226
226
  }, new Map).values());
227
227
  }
228
- var Request2 = Provider.Request;
228
+ var Request3 = Provider.Request;
229
229
  var Compaction3 = Provider.Compaction;
230
230
  var Transport2 = Provider.Transport;
231
231
  var Settings2 = Provider.Settings;
232
- var Info23 = Provider.Info;
232
+ var Info27 = Provider.Info;
233
233
 
234
- class Service67 extends Context.Service()("@opencode/Provider") {
234
+ class Service76 extends Context.Service()("@opencode/Provider") {
235
235
  }
236
236
  var definitions = new WeakMap;
237
237
  function index(providerID, models) {
@@ -244,10 +244,10 @@ function index(providerID, models) {
244
244
  definitions.set(models, indexes);
245
245
  return result;
246
246
  }
247
- var layer = Layer.effect(Service67, Effect.gen(function* () {
247
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
248
248
  const bus = yield* Service82;
249
- const integrations = yield* Service68;
250
- const location = yield* Service78;
249
+ const integrations = yield* Service77;
250
+ const location = yield* Service80;
251
251
  const state = create3({
252
252
  name: "provider",
253
253
  initial: () => new Map,
@@ -258,7 +258,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
258
258
  const current = records.get(id);
259
259
  if (current)
260
260
  return current;
261
- const added = { provider: Info23.empty(id), models: new Map };
261
+ const added = { provider: Info27.empty(id), models: new Map };
262
262
  records.set(id, added);
263
263
  maps.add(added.models);
264
264
  return added;
@@ -339,7 +339,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
339
339
  const available = Array.from(records.values()).filter((record) => {
340
340
  if (record.provider.activation === "disabled")
341
341
  return false;
342
- const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
342
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
343
343
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
344
344
  return false;
345
345
  if (record.provider.activation === "enabled")
@@ -365,8 +365,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
365
365
  location: { directory: location.directory, workspaceID: location.workspaceID }
366
366
  });
367
367
  });
368
- yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
369
- return Service67.of({
368
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
369
+ return Service76.of({
370
370
  transform: state.transform,
371
371
  reload: state.reload,
372
372
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -375,7 +375,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
375
375
  snapshot
376
376
  });
377
377
  }));
378
- var node71 = makeLocationNode({ service: Service67, layer, deps: [node86, node72, node82] });
378
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node86, node81, node84] });
379
379
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
380
380
  const module = yield* Effect.tryPromise({
381
381
  try: () => {
@@ -647,4 +647,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
647
647
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
648
648
  var decode = Schema2.decodeUnknownSync(Legacy);
649
649
 
650
- export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info23, Service67, node71, exports_provider3, Event15 };
650
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./job-z5v4ffb3.js";
5
+ } from "./mime-z5v4ffb3.js";
6
6
  import {
7
- Service48,
8
- node51
9
- } from "./job-47r9vgy9.js";
7
+ Service66,
8
+ node68
9
+ } from "./mime-8n3f0kbg.js";
10
10
  import {
11
- Content2
12
- } from "./job-dv5gdg8y.js";
11
+ Content3
12
+ } from "./mime-2nhyf9gp.js";
13
13
  import {
14
14
  detect2
15
- } from "./job-3smtnn6g.js";
15
+ } from "./mime-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./job-9rqn6x4v.js";
18
+ } from "./mime-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service6,
36
+ Service: () => Service8,
37
37
  TextPage: () => TextPage2,
38
- node: () => node7,
38
+ node: () => node10,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service6 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service6, Effect.gen(function* () {
334
- const environment = yield* Service48;
335
- return Service6.of({
333
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
334
+ const environment = yield* Service66;
335
+ return Service8.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node7 = makeLocationNode({ service: Service6, layer, deps: [node51] });
340
+ var node10 = makeLocationNode({ service: Service8, layer, deps: [node68] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node7, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./job-z5v4ffb3.js";
4
+ } from "./mime-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service81,
9
- node85
10
- } from "./job-4bk00v8h.js";
8
+ Service84,
9
+ node88
10
+ } from "./mime-9s1fef2z.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./job-dqpy1reh.js";
12
+ Service80,
13
+ node84
14
+ } from "./mime-cvnmwk6c.js";
15
15
  import {
16
16
  create3
17
- } from "./job-rdw6cm16.js";
17
+ } from "./mime-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./job-9rqn6x4v.js";
20
+ } from "./mime-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error5,
25
+ Error: () => Error3,
26
26
  ID: () => ID5,
27
- Service: () => Service55,
27
+ Service: () => Service47,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node59,
29
+ node: () => node49,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error5 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service55 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service47 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service55, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service81;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node59 = makeLocationNode({
144
- service: Service55,
143
+ var node49 = makeLocationNode({
144
+ service: Service47,
145
145
  layer,
146
- deps: [FSUtil.node, node85, Global.node, node82]
146
+ deps: [FSUtil.node, node88, Global.node, node84]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service55, Service55.of({
148
+ var noopLayer3 = Layer.succeed(Service47, Service47.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error5 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error5({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error5, Service55, node59, noopLayer3, exports_snapshot2 };
166
+ export { ID5, Error3, Service47, node49, noopLayer3, exports_snapshot2 };