@opencode/core 0.0.0-dev-20465 → 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 +83 -83
  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 +73 -73
  7. package/dist/chunks/{pty-3h7mwb1y.js → mime-01vbh4b3.js} +10 -10
  8. package/dist/chunks/{pty-2aahd4k0.js → mime-05t99dhf.js} +1 -1
  9. package/dist/chunks/{pty-x7ya3ng0.js → mime-068gpbd9.js} +40 -45
  10. package/dist/chunks/{pty-69j0j58y.js → mime-06dj46ky.js} +11 -11
  11. package/dist/chunks/{pty-h82kh8n3.js → mime-0a62tskg.js} +11 -11
  12. package/dist/chunks/{pty-0vbcp93d.js → mime-0emb60td.js} +2 -2
  13. package/dist/chunks/{pty-85xxa1xb.js → mime-0h4fw62m.js} +2 -2
  14. package/dist/chunks/{pty-1q5awywt.js → mime-0nde5ztd.js} +5 -5
  15. package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{pty-9g3vzsh2.js → mime-0xn2111h.js} +4 -4
  17. package/dist/chunks/{pty-btsk7ns6.js → mime-15h1bbb3.js} +76 -76
  18. package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{pty-jw3e9cpn.js → mime-1evbeta6.js} +3 -3
  20. package/dist/chunks/{pty-cp2e1w3e.js → mime-1ezwtg26.js} +8 -8
  21. package/dist/chunks/{pty-ej9mn2hm.js → mime-1fmrbde1.js} +6 -6
  22. package/dist/chunks/{pty-wdbg2mx5.js → mime-1yedb2yx.js} +9 -9
  23. package/dist/chunks/{pty-21r38tys.js → mime-21r38tys.js} +1 -1
  24. package/dist/chunks/{pty-b6n73f8d.js → mime-21tqyygk.js} +40 -40
  25. package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{pty-7yqjxrmz.js → mime-2d57kztd.js} +6 -6
  27. package/dist/chunks/{pty-jhpaar4x.js → mime-2hr5nhwa.js} +8 -8
  28. package/dist/chunks/{pty-h4bqv94p.js → mime-2j5t9zjq.js} +30 -30
  29. package/dist/chunks/{pty-dar8dhhp.js → mime-2jfwh2t6.js} +51 -51
  30. package/dist/chunks/{pty-j1qwbh4p.js → mime-2m35s2yg.js} +22 -22
  31. package/dist/chunks/{pty-hcsm92x8.js → mime-2nhyf9gp.js} +30 -30
  32. package/dist/chunks/{pty-654wfw74.js → mime-2va8heef.js} +2 -2
  33. package/dist/chunks/{pty-wj8xfhrt.js → mime-2wzcstvr.js} +11 -11
  34. package/dist/chunks/{pty-gneskcp7.js → mime-31770cq8.js} +10 -10
  35. package/dist/chunks/{pty-2mqpdq13.js → mime-334pc9ed.js} +3 -3
  36. package/dist/chunks/{pty-vnfn90d3.js → mime-372b9p0d.js} +24 -24
  37. package/dist/chunks/{pty-p3gefhvv.js → mime-38a0tmmt.js} +6 -6
  38. package/dist/chunks/{pty-1tat02m1.js → mime-3bzke43f.js} +9 -9
  39. package/dist/chunks/{pty-h2b79v29.js → mime-3cegwx68.js} +2 -2
  40. package/dist/chunks/{pty-my6s2k18.js → mime-3dj9ym1t.js} +16 -16
  41. package/dist/chunks/{pty-4bm5ja14.js → mime-3ewed21c.js} +4 -4
  42. package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{pty-nkqe1jkz.js → mime-3gc434y9.js} +11 -11
  44. package/dist/chunks/{pty-7wew4q66.js → mime-3gxdmg1p.js} +3 -3
  45. package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{pty-cjrfn32c.js → mime-3sbj3w55.js} +17 -17
  47. package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{pty-y2nr333m.js → mime-3t793sqb.js} +1 -1
  49. package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{pty-cx924f93.js → mime-3zmmk8jr.js} +21 -21
  51. package/dist/chunks/{pty-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{pty-zmr78fwr.js → mime-43kvem2p.js} +5 -5
  53. package/dist/chunks/{pty-bydnjh3t.js → mime-4jyvzrab.js} +2 -2
  54. package/dist/chunks/{pty-2ccvkpx1.js → mime-4ts7tf6z.js} +2 -2
  55. package/dist/chunks/{pty-sxzvkvgj.js → mime-51f5btjf.js} +6 -6
  56. package/dist/chunks/{pty-54ma36ye.js → mime-54ma36ye.js} +1 -1
  57. package/dist/chunks/{pty-56gdpj1q.js → mime-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{pty-kjfdeayr.js → mime-57e9z27j.js} +8 -8
  59. package/dist/chunks/{pty-ryndyrje.js → mime-57t2akgp.js} +60 -60
  60. package/dist/chunks/{pty-jyn8qy1m.js → mime-59gjxxx9.js} +37 -37
  61. package/dist/chunks/{pty-fxcz0da0.js → mime-59he4xmr.js} +11 -11
  62. package/dist/chunks/{pty-x5w3d5vd.js → mime-5acs1xhz.js} +9 -9
  63. package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
  64. package/dist/chunks/{pty-e3qxr5gk.js → mime-5qd3pb7m.js} +2 -2
  65. package/dist/chunks/{pty-cyswwyve.js → mime-5s91rp69.js} +17 -17
  66. package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{pty-tpw6cwsb.js → mime-5xtgfte3.js} +8 -8
  68. package/dist/chunks/{pty-bj1wp5mv.js → mime-61w87evq.js} +34 -34
  69. package/dist/chunks/{pty-669tq793.js → mime-669tq793.js} +1 -1
  70. package/dist/chunks/{pty-c94by4w0.js → mime-66az4k2s.js} +25 -25
  71. package/dist/chunks/{pty-0htt3qwy.js → mime-675p05bk.js} +16 -16
  72. package/dist/chunks/{pty-x6xfjs65.js → mime-694pv4x1.js} +11 -11
  73. package/dist/chunks/{pty-pbcwpz6x.js → mime-69ywzg6c.js} +26 -26
  74. package/dist/chunks/{pty-jymza7x7.js → mime-6epc62pm.js} +3 -3
  75. package/dist/chunks/{pty-d6wdd58k.js → mime-6wqswahh.js} +32 -32
  76. package/dist/chunks/{pty-j5j7sqd7.js → mime-73sha07p.js} +25 -25
  77. package/dist/chunks/{pty-hmzm1mrk.js → mime-74e4jmfh.js} +24 -24
  78. package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{pty-ra8qt2z6.js → mime-7e50kkn8.js} +14 -14
  80. package/dist/chunks/{pty-dbneng7t.js → mime-7jvpbwfz.js} +19 -19
  81. package/dist/chunks/{pty-svhsva1n.js → mime-7w6qk0sn.js} +42 -42
  82. package/dist/chunks/{pty-9zncbkq8.js → mime-7wg6a9xy.js} +7 -7
  83. package/dist/chunks/{pty-0ymz9t41.js → mime-7xk7v40y.js} +15 -15
  84. package/dist/chunks/{pty-e9h38f33.js → mime-7yb2ybf6.js} +13 -13
  85. package/dist/chunks/{pty-ahsttzmd.js → mime-8316qx5p.js} +5 -5
  86. package/dist/chunks/{pty-eycf18wc.js → mime-83mtbh1h.js} +3 -3
  87. package/dist/chunks/{pty-31ec1s0m.js → mime-8439xzqf.js} +21 -21
  88. package/dist/chunks/{pty-1dvck2a7.js → mime-84h8c373.js} +2 -2
  89. package/dist/chunks/{pty-w1eejvng.js → mime-84txncab.js} +5 -5
  90. package/dist/chunks/{pty-bq7b46md.js → mime-86qjnnqk.js} +11 -11
  91. package/dist/chunks/{pty-tcezcvh9.js → mime-89znhe33.js} +4 -4
  92. package/dist/chunks/{pty-jvnghvnw.js → mime-8ank75fn.js} +8 -8
  93. package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{pty-v56p6sfb.js → mime-8kch91gp.js} +25 -25
  95. package/dist/chunks/{pty-sa8a2jg7.js → mime-8n3f0kbg.js} +24 -24
  96. package/dist/chunks/{pty-8gxy57kn.js → mime-8r9d4f7f.js} +8 -8
  97. package/dist/chunks/{pty-d79y3jv5.js → mime-8twmn6r7.js} +29 -29
  98. package/dist/chunks/{pty-2bekqz3a.js → mime-9k8khh75.js} +13 -13
  99. package/dist/chunks/{pty-mjqndqed.js → mime-9s1fef2z.js} +12 -12
  100. package/dist/chunks/{pty-r5x6zcsm.js → mime-a1gpj94z.js} +3 -3
  101. package/dist/chunks/{pty-6zzs5mwg.js → mime-a8nehgcf.js} +23 -23
  102. package/dist/chunks/{pty-5cm3k1aq.js → mime-a8tz3pvz.js} +16 -16
  103. package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
  104. package/dist/chunks/{pty-5yswx35n.js → mime-ajkppa7x.js} +32 -32
  105. package/dist/chunks/{pty-9804v7wv.js → mime-ajt55ttf.js} +22 -22
  106. package/dist/chunks/{pty-nryt7kay.js → mime-aker6v60.js} +17 -17
  107. package/dist/chunks/{pty-f992e8rm.js → mime-ap9q6hx1.js} +48 -48
  108. package/dist/chunks/{pty-p3xya2zq.js → mime-aq20xgnp.js} +28 -28
  109. package/dist/chunks/{pty-jgynzvas.js → mime-awfffjg5.js} +153 -153
  110. package/dist/chunks/{pty-wj0fpcc3.js → mime-b2142pzq.js} +33 -33
  111. package/dist/chunks/{pty-zgw7gart.js → mime-b3t7exkg.js} +6 -6
  112. package/dist/chunks/{pty-4vybm4fz.js → mime-b46pamft.js} +15 -15
  113. package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{pty-e2jeb051.js → mime-b8j60jjz.js} +8 -8
  115. package/dist/chunks/{pty-3bvvdvt1.js → mime-b998q84g.js} +36 -36
  116. package/dist/chunks/{pty-sjt06tff.js → mime-bfrkyb4v.js} +35 -35
  117. package/dist/chunks/{pty-x8nnxcg2.js → mime-bpgchkmt.js} +9 -9
  118. package/dist/chunks/mime-by5v678g.js +18 -0
  119. package/dist/chunks/{pty-wps6jxys.js → mime-c738tryd.js} +17 -17
  120. package/dist/chunks/{pty-2pzrgdj0.js → mime-c9x2jsqt.js} +11 -11
  121. package/dist/chunks/{pty-rbzagpv5.js → mime-cf5x6mq8.js} +14 -14
  122. package/dist/chunks/{pty-1p07q0wb.js → mime-cfsekr6v.js} +4 -4
  123. package/dist/chunks/{pty-t15nrssv.js → mime-cgjxc2h6.js} +12 -12
  124. package/dist/chunks/{pty-744jnaem.js → mime-cvnmwk6c.js} +16 -16
  125. package/dist/chunks/{pty-gp73hwme.js → mime-cw8j8gm3.js} +11 -11
  126. package/dist/chunks/{pty-qmqgtz8f.js → mime-cwa6csj7.js} +9 -9
  127. package/dist/chunks/{pty-k747m8pa.js → mime-cybsyzkk.js} +26 -26
  128. package/dist/chunks/{pty-cg76ry6w.js → mime-d328dj5n.js} +32 -32
  129. package/dist/chunks/{pty-n6mbxeh3.js → mime-d3ymxdyw.js} +33 -33
  130. package/dist/chunks/{pty-0gg0ptvt.js → mime-d6efa7rx.js} +13 -13
  131. package/dist/chunks/{pty-ykwjawef.js → mime-ddweaty3.js} +23 -23
  132. package/dist/chunks/{pty-mpk0rfs5.js → mime-dnxkq42g.js} +4 -4
  133. package/dist/chunks/{pty-65zgsz9y.js → mime-dphnx1wg.js} +9 -9
  134. package/dist/chunks/{pty-6pz0f3gp.js → mime-dy7dxchr.js} +28 -28
  135. package/dist/chunks/{pty-j0vs91sp.js → mime-e1kaz002.js} +18 -18
  136. package/dist/chunks/{pty-grh2mbxc.js → mime-e4mpcj2w.js} +5 -5
  137. package/dist/chunks/{pty-33h0sywe.js → mime-e6psn9y2.js} +4 -4
  138. package/dist/chunks/{pty-xaj1t2na.js → mime-ednvghyx.js} +28 -28
  139. package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{pty-dvxfaxz1.js → mime-ep96ymdh.js} +31 -31
  141. package/dist/chunks/{pty-espax8zg.js → mime-espax8zg.js} +1 -1
  142. package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{pty-9a3mtckk.js → mime-ewge9cav.js} +18 -18
  144. package/dist/chunks/{pty-zr1tm1t6.js → mime-eyeb6xk3.js} +18 -18
  145. package/dist/chunks/{pty-4r3m895s.js → mime-f1yhsvj9.js} +1 -1
  146. package/dist/chunks/{pty-1rn5pcm9.js → mime-f29mbr7f.js} +4 -4
  147. package/dist/chunks/{pty-eb0vzkjg.js → mime-f2gtdjdp.js} +25 -25
  148. package/dist/chunks/{pty-3ymzsrgp.js → mime-f4a4fymy.js} +4 -4
  149. package/dist/chunks/{pty-71az546q.js → mime-f75zav2x.js} +2 -2
  150. package/dist/chunks/{pty-f9bdb5ag.js → mime-f7vgrd2g.js} +14 -14
  151. package/dist/chunks/{pty-wv696c4x.js → mime-fjdps7eb.js} +8 -8
  152. package/dist/chunks/{pty-t7d8dr7r.js → mime-fq2g7c6x.js} +11 -11
  153. package/dist/chunks/{pty-kk00bynn.js → mime-g190xswt.js} +21 -21
  154. package/dist/chunks/{pty-57b9ws8p.js → mime-g5w8qwbj.js} +7 -7
  155. package/dist/chunks/{pty-krym5cze.js → mime-g66805e4.js} +23 -23
  156. package/dist/chunks/{pty-vkeqp8nw.js → mime-g9v737mn.js} +6 -6
  157. package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{pty-5r1ecmk3.js → mime-gv2yjgzz.js} +8 -8
  159. package/dist/chunks/{pty-b37nj31g.js → mime-h2tzjape.js} +23 -23
  160. package/dist/chunks/{pty-v9ywz4w0.js → mime-h377qqqs.js} +19 -19
  161. package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{pty-mha52fg8.js → mime-hdkng2sj.js} +5 -5
  163. package/dist/chunks/{pty-vczvxyc1.js → mime-hnbdma03.js} +90 -90
  164. package/dist/chunks/{pty-8skk2bv8.js → mime-j3rxv4am.js} +6 -6
  165. package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
  166. package/dist/chunks/{pty-268dwz27.js → mime-j8t255bq.js} +2 -2
  167. package/dist/chunks/{pty-ba07h9gm.js → mime-jexxy024.js} +3 -3
  168. package/dist/chunks/{pty-06x8he3q.js → mime-jvf3yq6v.js} +4 -4
  169. package/dist/chunks/{pty-tbb8wp41.js → mime-jzsz9v64.js} +20 -20
  170. package/dist/chunks/{pty-5qwkxp89.js → mime-k3yea1v9.js} +4 -4
  171. package/dist/chunks/{pty-9e5bzkjp.js → mime-kb9j3d72.js} +3 -3
  172. package/dist/chunks/{pty-h7ym8ggf.js → mime-kjfy6aqy.js} +16 -16
  173. package/dist/chunks/{pty-thfkeznf.js → mime-knvbkgg0.js} +13 -13
  174. package/dist/chunks/{pty-tfjx5c9j.js → mime-kvkq3jdm.js} +7 -7
  175. package/dist/chunks/{pty-ypj3qt3a.js → mime-m35a1js7.js} +13 -13
  176. package/dist/chunks/{pty-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{pty-6ysrkrkr.js → mime-m6f3t844.js} +8 -8
  178. package/dist/chunks/{pty-gx5xjf3t.js → mime-m7h1967w.js} +19 -19
  179. package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{pty-aep3mzsj.js → mime-mdy91dzd.js} +11 -11
  181. package/dist/chunks/{pty-1zg7we31.js → mime-mfeg5k3q.js} +11 -11
  182. package/dist/chunks/{pty-r4dcwnmb.js → mime-mhm95nh1.js} +27 -27
  183. package/dist/chunks/{pty-54r1wzpb.js → mime-mncep7ma.js} +7 -7
  184. package/dist/chunks/{pty-vvf5cqb2.js → mime-mqf7qztk.js} +24 -24
  185. package/dist/chunks/{pty-n099z6kj.js → mime-mqgb4hkm.js} +8 -8
  186. package/dist/chunks/{pty-5r2x0qgd.js → mime-mtwm9ezq.js} +24 -24
  187. package/dist/chunks/{pty-7tp0thxb.js → mime-mwa79a1d.js} +37 -37
  188. package/dist/chunks/{pty-9rq40ggw.js → mime-n0tvkx1b.js} +13 -13
  189. package/dist/chunks/{pty-yd7m906j.js → mime-n59v16j7.js} +97 -97
  190. package/dist/chunks/{pty-vrfmkq1b.js → mime-nqv404gn.js} +2 -2
  191. package/dist/chunks/{pty-tz8876m4.js → mime-nrjkrfdk.js} +8 -8
  192. package/dist/chunks/{pty-2m8jawch.js → mime-nvhjw3b0.js} +4 -4
  193. package/dist/chunks/{pty-na5ad8x6.js → mime-nvxd4a3z.js} +12 -12
  194. package/dist/chunks/{pty-dpkg50ah.js → mime-nxm207yx.js} +4 -4
  195. package/dist/chunks/{pty-dpra9b9a.js → mime-p6wgvgn6.js} +9 -9
  196. package/dist/chunks/{pty-qyrkwdx9.js → mime-pcqej2dj.js} +22 -22
  197. package/dist/chunks/{pty-89r56116.js → mime-pfrtanrk.js} +30 -30
  198. package/dist/chunks/{pty-8s5pwsga.js → mime-pgzt0k19.js} +9 -9
  199. package/dist/chunks/mime-pj3sbc1q.js +252 -0
  200. package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
  202. package/dist/chunks/{pty-cq2fm5z3.js → mime-pmjfnjve.js} +10 -10
  203. package/dist/chunks/{pty-an7cqtb7.js → mime-pmr4s4kc.js} +4 -4
  204. package/dist/chunks/{pty-3b7ev2pn.js → mime-ppm6qgbs.js} +36 -36
  205. package/dist/chunks/{pty-bfnsmjbw.js → mime-pr4tzdnn.js} +5 -5
  206. package/dist/chunks/{pty-ntah2d2v.js → mime-psbsx9ev.js} +5 -5
  207. package/dist/chunks/{pty-0j77ygfz.js → mime-q0xm7vwc.js} +6 -6
  208. package/dist/chunks/{pty-nca7p386.js → mime-q5nw5m1n.js} +6 -6
  209. package/dist/chunks/{pty-ef5raw6k.js → mime-q9ah5cgy.js} +32 -32
  210. package/dist/chunks/{pty-mazbtkaa.js → mime-qd6pb4xn.js} +2 -2
  211. package/dist/chunks/{pty-emz89tv7.js → mime-qecm58md.js} +6 -6
  212. package/dist/chunks/{pty-t9kt8c31.js → mime-qepntzbg.js} +19 -19
  213. package/dist/chunks/{pty-cwem3fhm.js → mime-qewcqqea.js} +20 -20
  214. package/dist/chunks/{pty-7dqw4kz8.js → mime-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{pty-qnc92qwc.js → mime-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
  217. package/dist/chunks/{pty-n34nv609.js → mime-qvy1qmm3.js} +9 -9
  218. package/dist/chunks/{pty-xyafkbt0.js → mime-qxjc9qry.js} +3 -3
  219. package/dist/chunks/{pty-b4tw85s5.js → mime-qy24xa0s.js} +19 -19
  220. package/dist/chunks/{pty-rp04m9y7.js → mime-r27bg8y4.js} +47 -47
  221. package/dist/chunks/{pty-8cgmda8d.js → mime-r4m5gmwp.js} +9 -9
  222. package/dist/chunks/{pty-gcwax8a0.js → mime-r5q07pyt.js} +6 -6
  223. package/dist/chunks/{pty-r8xr0va3.js → mime-r8xr0va3.js} +1 -1
  224. package/dist/chunks/{pty-58r1cxk0.js → mime-r8z1rt2e.js} +31 -31
  225. package/dist/chunks/{pty-fm2qvscf.js → mime-ratrq7cm.js} +4 -4
  226. package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  227. package/dist/chunks/{pty-xp3fh2h7.js → mime-rk1r2hx8.js} +1 -1
  228. package/dist/chunks/{pty-syjz6ynj.js → mime-rx48dec3.js} +9 -9
  229. package/dist/chunks/{pty-j7jm1rg4.js → mime-s0224r3c.js} +11 -11
  230. package/dist/chunks/{pty-t550f9t1.js → mime-s8d7rejh.js} +4 -4
  231. package/dist/chunks/{pty-wc19s0z4.js → mime-s9kb2yg2.js} +8 -8
  232. package/dist/chunks/{pty-cgaacc6a.js → mime-sfpt4edp.js} +16 -16
  233. package/dist/chunks/{pty-pe69whtr.js → mime-sg7q32v8.js} +37 -37
  234. package/dist/chunks/{pty-d4pshd8q.js → mime-shrvt0bc.js} +14 -14
  235. package/dist/chunks/{pty-dnkc5m6k.js → mime-stnejjkn.js} +1 -1
  236. package/dist/chunks/{pty-kgen349b.js → mime-sy29epdy.js} +9 -9
  237. package/dist/chunks/{pty-9vygzh4b.js → mime-t0dtkzr7.js} +6 -6
  238. package/dist/chunks/{pty-h8g6pbq3.js → mime-t67r96zt.js} +3 -3
  239. package/dist/chunks/{pty-cyr2cxn9.js → mime-t768gxq0.js} +1 -1
  240. package/dist/chunks/{pty-ekezbvqg.js → mime-ta9v1xwm.js} +311 -311
  241. package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{pty-w0nkn6ve.js → mime-tc2bp7te.js} +11 -11
  243. package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
  244. package/dist/chunks/{pty-ta546dzx.js → mime-tg3dtvd2.js} +24 -24
  245. package/dist/chunks/{pty-j8r070e4.js → mime-tkzj0056.js} +4 -4
  246. package/dist/chunks/{pty-y5drw8vz.js → mime-tv8mz1yx.js} +17 -17
  247. package/dist/chunks/{pty-k7y6sfy1.js → mime-tz67dcvr.js} +21 -21
  248. package/dist/chunks/{pty-5qxcgjcr.js → mime-v3ant3rv.js} +15 -15
  249. package/dist/chunks/{pty-qxppefrw.js → mime-v9c6pdvn.js} +18 -18
  250. package/dist/chunks/{pty-rfdgkn6p.js → mime-vbnh33m2.js} +25 -25
  251. package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
  252. package/dist/chunks/{pty-zm3tt0zb.js → mime-vjjxy6yb.js} +9 -9
  253. package/dist/chunks/{pty-39h54dwb.js → mime-vm1e42pn.js} +26 -26
  254. package/dist/chunks/{pty-s0q1fkaz.js → mime-vnzmcpcw.js} +28 -28
  255. package/dist/chunks/{pty-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  256. package/dist/chunks/{pty-vzs5sf6e.js → mime-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{pty-65d6t9nm.js → mime-w4cerd5t.js} +43 -43
  259. package/dist/chunks/{pty-86ndwq9q.js → mime-w53c1cz5.js} +59 -59
  260. package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
  261. package/dist/chunks/{pty-mcc6t1v4.js → mime-wkhdexc5.js} +5 -5
  262. package/dist/chunks/{pty-k70p9jzb.js → mime-wmz9gz0a.js} +9 -9
  263. package/dist/chunks/{pty-27vvhq6q.js → mime-wr2fe94x.js} +43 -43
  264. package/dist/chunks/{pty-wm9zswm7.js → mime-wt3b0rt6.js} +28 -28
  265. package/dist/chunks/{pty-3dfke6ah.js → mime-wtqdm9z0.js} +18 -18
  266. package/dist/chunks/{pty-8d883stb.js → mime-wvc0kw0p.js} +5 -5
  267. package/dist/chunks/{pty-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{pty-0b3yex2r.js → mime-x53sfaky.js} +11 -11
  269. package/dist/chunks/{pty-dfa350ep.js → mime-x5prftgx.js} +1 -1
  270. package/dist/chunks/{pty-56rn98qe.js → mime-xe3c0b6j.js} +21 -21
  271. package/dist/chunks/{pty-zwqdfq5j.js → mime-xgrkhhdd.js} +33 -33
  272. package/dist/chunks/{pty-xkntkrq7.js → mime-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{pty-gkxwzehf.js → mime-xn8j4qgz.js} +29 -29
  274. package/dist/chunks/{pty-pngzmcmx.js → mime-xrds2yvy.js} +9 -9
  275. package/dist/chunks/{pty-8f516jjj.js → mime-xtax8pzg.js} +33 -33
  276. package/dist/chunks/{pty-6t1p0y7j.js → mime-y0hjkqeb.js} +18 -18
  277. package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{pty-0pvpap86.js → mime-y6q12yz9.js} +50 -50
  279. package/dist/chunks/{pty-9t5v5m66.js → mime-yd2nyxdd.js} +14 -14
  280. package/dist/chunks/{pty-j16d020p.js → mime-ye9wteb0.js} +13 -13
  281. package/dist/chunks/{pty-1z3nqx9t.js → mime-ykfv63at.js} +10 -10
  282. package/dist/chunks/{pty-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{pty-e8qyrgb1.js → mime-yt3hy1g9.js} +5 -5
  284. package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{pty-5eftksh5.js → mime-z3zvc1my.js} +11 -11
  286. package/dist/chunks/{pty-e6k5s2wm.js → mime-z6aw0mzm.js} +22 -22
  287. package/dist/chunks/{pty-s9rwj2jy.js → mime-zc96g2bq.js} +13 -13
  288. package/dist/chunks/{pty-ppy93fad.js → mime-zk9d4y74.js} +5 -5
  289. package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{pty-8spjttef.js → mime-zyvzzg4e.js} +12 -12
  292. package/dist/chunks/{pty-j6vz790y.js → mime-zz01mka2.js} +30 -30
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +122 -122
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +124 -124
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +79 -79
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +370 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +362 -362
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +359 -359
  471. package/dist/location.js +87 -87
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +109 -109
  475. package/dist/mcp/instructions.js +129 -129
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +99 -99
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +84 -84
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +102 -102
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +334 -334
  499. package/dist/plugin/mcp-codemode-defaults.js +1 -1
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +124 -124
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +93 -93
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +96 -96
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +120 -120
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +163 -163
  541. package/dist/plugin/sdk.js +70 -70
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +137 -137
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +84 -84
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +95 -95
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +224 -224
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +154 -154
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +86 -86
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +113 -113
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +123 -123
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +210 -210
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +223 -223
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +216 -216
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +105 -105
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +122 -122
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +123 -123
  647. package/dist/tool/plugin/shell.js +215 -215
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/webfetch.js +110 -110
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +96 -96
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/types/session/transfer.d.ts +2 -3
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +98 -98
  697. package/package.json +8 -8
  698. package/dist/chunks/pty-1x11rq2a.js +0 -18
  699. package/dist/chunks/pty-cyrqa2n4.js +0 -252
  700. /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{pty-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
  712. /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
  720. /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
  722. /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
  725. /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{pty-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
  744. /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
  757. /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
  759. /package/dist/chunks/{pty-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
  761. /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{pty-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
  789. /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{pty-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./pty-0htt3qwy.js";
2
+ Service82,
3
+ node86
4
+ } from "./mime-675p05bk.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./pty-rdw6cm16.js";
8
+ } from "./mime-rdw6cm16.js";
9
9
  import {
10
- Service77,
11
- node81
12
- } from "./pty-744jnaem.js";
10
+ Service80,
11
+ node84
12
+ } from "./mime-cvnmwk6c.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service73,
20
- node77,
21
- Event16
22
- } from "./pty-gkxwzehf.js";
19
+ Service76,
20
+ node80,
21
+ Event17
22
+ } from "./mime-xn8j4qgz.js";
23
23
  import {
24
24
  __export
25
- } from "./pty-9rqn6x4v.js";
25
+ } from "./mime-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event15,
33
+ Event: () => Event16,
34
34
  Family: () => Family2,
35
35
  ID: () => ID12,
36
- Info: () => Info25,
36
+ Info: () => Info26,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service72,
40
+ Service: () => Service75,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
43
  mergeCapabilities: () => mergeCapabilities2,
44
- node: () => node76,
45
- parse: () => parse4
44
+ node: () => node79,
45
+ parse: () => parse5
46
46
  });
47
47
  import { Model } from "@opencode/schema/model";
48
48
  import { Context, Effect, Layer, Stream } from "effect";
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import { freeze } from "immer";
51
- import { Event as Event15 } from "@opencode/schema/model";
51
+ import { Event as Event16 } from "@opencode/schema/model";
52
52
  var ID12 = Model.ID;
53
53
  var VariantID2 = Model.VariantID;
54
54
  var Family2 = Model.Family;
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
65
65
  };
66
66
  var Cost2 = Model.Cost;
67
67
  var Ref2 = Model.Ref;
68
- var Info25 = Model.Info;
68
+ var Info26 = Model.Info;
69
69
 
70
- class Service72 extends Context.Service()("@opencode/Model") {
70
+ class Service75 extends Context.Service()("@opencode/Model") {
71
71
  }
72
- var layer = Layer.effect(Service72, Effect.gen(function* () {
73
- const providers = yield* Service73;
74
- const bus = yield* Service83;
75
- const location = yield* Service77;
72
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
73
+ const providers = yield* Service76;
74
+ const bus = yield* Service82;
75
+ const location = yield* Service80;
76
76
  let input;
77
77
  const state = create3({
78
78
  name: "model",
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
117
117
  const models = writable(providerID);
118
118
  if (!models)
119
119
  return;
120
- const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
120
+ const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
121
121
  update(model);
122
122
  model.id = modelID;
123
123
  model.providerID = providerID;
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
206
206
  location: { directory: location.directory, workspaceID: location.workspaceID }
207
207
  });
208
208
  });
209
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
- return Service72.of({
209
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
210
+ return Service75.of({
211
211
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
212
212
  reload,
213
213
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
226
226
  })
227
227
  });
228
228
  }));
229
- var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node87, node81] });
229
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node86, node84] });
230
230
  function compatibility2(input) {
231
231
  if (typeof input === "string")
232
232
  return { reasoningField: input };
@@ -234,7 +234,7 @@ function compatibility2(input) {
234
234
  return;
235
235
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
236
236
  }
237
- function parse4(input) {
237
+ function parse5(input) {
238
238
  const index = input.indexOf("/");
239
239
  return {
240
240
  providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
@@ -242,4 +242,4 @@ function parse4(input) {
242
242
  };
243
243
  }
244
244
 
245
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info25, Service72, node76, compatibility2, parse4, exports_model2, Event15 };
245
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
@@ -1,57 +1,57 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./pty-0htt3qwy.js";
2
+ Service82,
3
+ node86
4
+ } from "./mime-675p05bk.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./pty-744jnaem.js";
6
+ Service80,
7
+ node84
8
+ } from "./mime-cvnmwk6c.js";
9
9
  import {
10
- Service67,
11
- node70
12
- } from "./pty-sa8a2jg7.js";
10
+ Service66,
11
+ node68
12
+ } from "./mime-8n3f0kbg.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./pty-gd4qta3r.js";
15
+ } from "./mime-gd4qta3r.js";
16
16
  import {
17
- Service63,
17
+ Service57,
18
18
  args2,
19
- node66
20
- } from "./pty-b4tw85s5.js";
19
+ node59
20
+ } from "./mime-qy24xa0s.js";
21
21
  import {
22
- Service59,
23
- node61
24
- } from "./pty-jvnghvnw.js";
22
+ Service74,
23
+ node77
24
+ } from "./mime-8ank75fn.js";
25
25
  import {
26
- Service55,
27
- node57
28
- } from "./pty-jhpaar4x.js";
26
+ Service49,
27
+ node51
28
+ } from "./mime-2hr5nhwa.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./pty-ba07h9gm.js";
31
+ } from "./mime-jexxy024.js";
32
32
  import {
33
33
  latest2,
34
- Service69,
35
- node73
36
- } from "./pty-rp04m9y7.js";
34
+ Service50,
35
+ node52
36
+ } from "./mime-r27bg8y4.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./pty-bq7b46md.js";
40
+ } from "./mime-86qjnnqk.js";
41
41
  import {
42
42
  __export
43
- } from "./pty-9rqn6x4v.js";
43
+ } from "./mime-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError7,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service54,
51
+ Service: () => Service48,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node56
54
+ node: () => node50
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service54 extends Context.Service()("@opencode/Shell") {
74
+ class Service48 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service54, Effect.gen(function* () {
91
- const bus = yield* Service83;
92
- const location = yield* Service77;
90
+ var layer = () => Layer.effect(Service48, Effect.gen(function* () {
91
+ const bus = yield* Service82;
92
+ const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service63;
95
- const environment = yield* Service67;
96
- const hooks = yield* Service59;
97
- const environments = yield* Service55;
98
- const config = yield* Service69;
94
+ const shell = yield* Service57;
95
+ const environment = yield* Service66;
96
+ const hooks = yield* Service74;
97
+ const environments = yield* Service49;
98
+ const config = yield* Service50;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError7({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service54, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service54.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service48.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node56 = makeLocationNode({
329
- service: Service54,
328
+ var node50 = makeLocationNode({
329
+ service: Service48,
330
330
  layer: layer(),
331
331
  deps: [
332
- node87,
333
- node81,
332
+ node86,
333
+ node84,
334
334
  Global.node,
335
- node66,
336
- node70,
337
- node61,
338
- node57,
339
- node73,
335
+ node59,
336
+ node68,
337
+ node77,
338
+ node51,
339
+ node52,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service54, cleanup2, node56, exports_shell4 };
344
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service48, cleanup2, node50, exports_shell4 };
@@ -1,61 +1,61 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./pty-0b3yex2r.js";
5
- import {
6
- reserveSequence2,
7
2
  Service83,
8
3
  node87
9
- } from "./pty-0htt3qwy.js";
4
+ } from "./mime-x53sfaky.js";
5
+ import {
6
+ reserveSequence2,
7
+ Service82,
8
+ node86
9
+ } from "./mime-675p05bk.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./pty-ec1grn59.js";
12
+ } from "./mime-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./pty-gftt206x.js";
15
+ } from "./mime-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./pty-xkntkrq7.js";
18
+ } from "./mime-xkntkrq7.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./pty-z5v4ffb3.js";
22
+ } from "./mime-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./pty-h2b79v29.js";
25
+ } from "./mime-3cegwx68.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./pty-9e5bzkjp.js";
30
+ } from "./mime-kb9j3d72.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./pty-hmzm1mrk.js";
36
+ } from "./mime-74e4jmfh.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./pty-2m8jawch.js";
42
+ } from "./mime-nvhjw3b0.js";
43
43
  import {
44
44
  initialize2
45
- } from "./pty-6t1p0y7j.js";
45
+ } from "./mime-y0hjkqeb.js";
46
46
  import {
47
47
  Slug2
48
- } from "./pty-gebd4c9n.js";
48
+ } from "./mime-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./pty-9rqn6x4v.js";
51
+ } from "./mime-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node23
58
+ node: () => node31
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service83;
280
- const db = (yield* Service84).db;
279
+ const bus = yield* Service82;
280
+ const db = (yield* Service83).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
283
283
  id: event.data.sessionID,
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
459
459
  return publishSessionUsage(db, bus, event.data.sessionID);
460
460
  }), Effect.forkScoped({ startImmediately: true }));
461
461
  }));
462
- var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
462
+ var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
463
463
 
464
- export { SessionAlreadyProjected2, node23, exports_projector };
464
+ export { SessionAlreadyProjected2, node31, exports_projector };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./pty-z5v4ffb3.js";
5
+ } from "./mime-z5v4ffb3.js";
6
6
  import {
7
- Service77,
8
- node81
9
- } from "./pty-744jnaem.js";
7
+ Service80,
8
+ node84
9
+ } from "./mime-cvnmwk6c.js";
10
10
  import {
11
- Service65,
12
- node68
13
- } from "./pty-ef5raw6k.js";
11
+ Service64,
12
+ node66
13
+ } from "./mime-q9ah5cgy.js";
14
14
  import {
15
15
  __export
16
- } from "./pty-9rqn6x4v.js";
16
+ } from "./mime-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -23,28 +23,28 @@ __export(exports_filesystem, {
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
- Entry: () => Entry2,
27
- Event: () => Event12,
26
+ Entry: () => Entry4,
27
+ Event: () => Event13,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
- ListInput: () => ListInput5,
32
+ ListInput: () => ListInput3,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError9,
34
+ NotFoundError: () => NotFoundError7,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service64,
36
+ Service: () => Service63,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node67
40
+ node: () => node65
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
44
44
  import { Context, Effect, Layer, Schema } from "effect";
45
45
  import { FSUtil } from "@opencode/util/fs-util";
46
46
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
47
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
47
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
48
48
  var ReadInput2 = Schema.Struct({
49
49
  path: RelativePath2
50
50
  });
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -82,7 +82,7 @@ var Content3 = Schema.Struct({
82
82
  encoding: Schema.Literals(["utf8", "base64"]),
83
83
  mime: Schema.String
84
84
  }).annotate({ identifier: "FileSystem.Content" });
85
- var ListInput5 = Schema.Struct({
85
+ var ListInput3 = Schema.Struct({
86
86
  path: Schema.String.pipe(Schema.optional)
87
87
  });
88
88
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event12 = FileSystem.Event;
108
+ var Event13 = FileSystem.Event;
109
109
 
110
- class Service64 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service63 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service63, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service77;
115
- const search = yield* Service65;
114
+ const location = yield* Service80;
115
+ const search = yield* Service64;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -129,15 +129,15 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
129
129
  return yield* Effect.die(new Error("Path escapes the location"));
130
130
  return { absolute, real, directory: location.directory };
131
131
  });
132
- return Service64.of({
132
+ return Service63.of({
133
133
  find: search.find,
134
134
  read: Effect.fn("FileSystem.read")(function* (input) {
135
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
136
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
135
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
136
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
137
137
  if (info.type !== "File")
138
138
  return yield* Effect.die(new Error("Path is not a file"));
139
139
  return {
140
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error))),
140
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
141
141
  mime: FSUtil.mimeType(target.real)
142
142
  };
143
143
  }),
@@ -166,10 +166,10 @@ var baseLayer = Layer.effect(Service64, Effect.gen(function* () {
166
166
  })
167
167
  });
168
168
  }));
169
- var node67 = makeLocationNode({
170
- service: Service64,
169
+ var node65 = makeLocationNode({
170
+ service: Service63,
171
171
  layer: baseLayer,
172
- deps: [FSUtil.node, node81, node68]
172
+ deps: [FSUtil.node, node84, node66]
173
173
  });
174
174
 
175
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event12, Service64, node67, exports_filesystem, Entry2, Match2, Submatch2 };
175
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service63, node65, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ID13
3
- } from "./pty-gkxwzehf.js";
3
+ } from "./mime-xn8j4qgz.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./pty-hjbc5kem.js";
6
+ } from "./mime-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer21,
12
- make: () => make21,
13
- node: () => node64,
10
+ configured: () => configured11,
11
+ layer: () => layer24,
12
+ make: () => make22,
13
+ node: () => node78,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make21()
19
+ defaultValue: () => make22()
20
20
  });
21
- function make21(input = {}) {
21
+ function make22(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make21(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer21 = (input) => Layer.succeed(Metadata2, make21(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
33
- var node64 = configured6();
31
+ var layer24 = (input) => Layer.succeed(Metadata2, make22(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
33
+ var node78 = configured11();
34
34
 
35
- export { Metadata2, make21, useragent2, layer21, configured6, node64, exports_app };
35
+ export { Metadata2, make22, useragent2, layer24, configured11, node78, exports_app };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-z5v4ffb3.js";
3
+ } from "./mime-z5v4ffb3.js";
4
4
  import {
5
- Service77
6
- } from "./pty-744jnaem.js";
5
+ Service80
6
+ } from "./mime-cvnmwk6c.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names4
16
+ names: () => names3
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names4 = ["opencode.json", "opencode.jsonc"];
22
+ var names3 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
26
- const location = yield* Service77;
26
+ const location = yield* Service80;
27
27
  const globalDirectory = AbsolutePath2.make(global.config);
28
28
  const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
29
29
  const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names4, discover3, exports_discovery2 };
59
+ export { names3, discover3, exports_discovery2 };