@opencode/core 0.0.0-dev-20110 → 0.0.0-dev-20111

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 (800) 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 +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{bus-t550f9t1.js → state-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{bus-t03bbx3y.js → state-0420h8y3.js} +12 -12
  9. package/dist/chunks/{bus-6saf39w2.js → state-0aebgkqc.js} +20 -20
  10. package/dist/chunks/{bus-ysek36vy.js → state-0cqag20n.js} +17 -17
  11. package/dist/chunks/{bus-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{bus-qjnxxf51.js → state-0r7yqxbf.js} +5 -5
  13. package/dist/chunks/{bus-705e2ap1.js → state-0ryd0fps.js} +5 -5
  14. package/dist/chunks/{bus-ve5t88w0.js → state-0sc7p6dz.js} +13 -13
  15. package/dist/chunks/{bus-jn2s104y.js → state-0sn5yek2.js} +18 -18
  16. package/dist/chunks/{bus-agsx0mxp.js → state-0v0cghr8.js} +32 -32
  17. package/dist/chunks/{bus-tpwaysbs.js → state-0wpacstp.js} +1 -1
  18. package/dist/chunks/{bus-mfh398z2.js → state-0wv1qnc5.js} +27 -27
  19. package/dist/chunks/{bus-1hdy0dxq.js → state-15p8vs0j.js} +4 -4
  20. package/dist/chunks/{bus-dw7fq86s.js → state-1b86pgzt.js} +10 -10
  21. package/dist/chunks/{bus-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{bus-bemfr8re.js → state-1hy6stnx.js} +22 -22
  23. package/dist/chunks/state-1x11rq2a.js +18 -0
  24. package/dist/chunks/{bus-21r38tys.js → state-21r38tys.js} +1 -1
  25. package/dist/chunks/{bus-fzfr7wj6.js → state-2490deha.js} +13 -13
  26. package/dist/chunks/{bus-9vs0xtad.js → state-256nx13v.js} +3 -3
  27. package/dist/chunks/{bus-c19x1jxg.js → state-28gfjavm.js} +37 -37
  28. package/dist/chunks/{bus-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{bus-ngts6ef0.js → state-2eegacq4.js} +8 -8
  30. package/dist/chunks/{bus-wwbkxvr0.js → state-2gfneftk.js} +16 -16
  31. package/dist/chunks/{bus-bbbtseyn.js → state-2mgvx86f.js} +9 -9
  32. package/dist/chunks/{bus-13np1t9f.js → state-2tbewc66.js} +25 -25
  33. package/dist/chunks/{bus-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{bus-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{bus-ckjeqqqd.js → state-3jdz0x4z.js} +37 -37
  36. package/dist/chunks/{bus-t27mf08w.js → state-3k1qem6j.js} +33 -33
  37. package/dist/chunks/{bus-acqh8fkh.js → state-3kbtcg3v.js} +3 -3
  38. package/dist/chunks/{bus-vctazb64.js → state-3n6sdpxb.js} +4 -4
  39. package/dist/chunks/{bus-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{bus-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{bus-xnkaq8n7.js → state-3vgydj9r.js} +8 -8
  42. package/dist/chunks/{bus-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{bus-8z00fdkb.js → state-44h5tttr.js} +4 -4
  44. package/dist/chunks/{bus-fz8xh7s4.js → state-47dkewx0.js} +1 -1
  45. package/dist/chunks/{bus-s29rvfdk.js → state-4he9ab31.js} +22 -22
  46. package/dist/chunks/{bus-y7w7614s.js → state-4mbzwrkh.js} +24 -24
  47. package/dist/chunks/{bus-yt0fqk68.js → state-4phm5153.js} +5 -5
  48. package/dist/chunks/{bus-57ez7d0k.js → state-4sn99hha.js} +7 -7
  49. package/dist/chunks/{bus-crqhppww.js → state-4vdhrt56.js} +5 -5
  50. package/dist/chunks/{bus-bncyzpjc.js → state-5041hkzc.js} +15 -15
  51. package/dist/chunks/{bus-krx1dmeb.js → state-53cvw98s.js} +27 -27
  52. package/dist/chunks/{bus-33w4ejhs.js → state-56gdpj1q.js} +6 -6
  53. package/dist/chunks/{bus-5daktx2q.js → state-5daktx2q.js} +1 -1
  54. package/dist/chunks/{bus-5ekn9679.js → state-5ekn9679.js} +1 -1
  55. package/dist/chunks/{bus-4t96yggr.js → state-5jc5mgc2.js} +58 -58
  56. package/dist/chunks/{bus-4q1fk10p.js → state-5n3fqch9.js} +33 -33
  57. package/dist/chunks/{bus-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{bus-xe5vrw40.js → state-5vcxbet6.js} +33 -33
  59. package/dist/chunks/{bus-9cbgz947.js → state-603dhr7g.js} +11 -11
  60. package/dist/chunks/{bus-7dqw4kz8.js → state-607tc6va.js} +5 -5
  61. package/dist/chunks/{bus-edx79v5g.js → state-616y4znb.js} +9 -9
  62. package/dist/chunks/{bus-dw2nfv7s.js → state-61f77bz5.js} +10 -10
  63. package/dist/chunks/{bus-hba62b7s.js → state-637ve58x.js} +27 -27
  64. package/dist/chunks/{bus-mgh6dzwn.js → state-65m83bwr.js} +15 -15
  65. package/dist/chunks/{bus-669tq793.js → state-669tq793.js} +1 -1
  66. package/dist/chunks/{bus-v78f6ems.js → state-66kbxh8a.js} +40 -40
  67. package/dist/chunks/{bus-0w62qmxp.js → state-6ea2fwcg.js} +6 -6
  68. package/dist/chunks/{bus-6h73sxmp.js → state-6h73sxmp.js} +1 -1
  69. package/dist/chunks/{bus-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{bus-rkprpv83.js → state-6pc27hjz.js} +6 -6
  71. package/dist/chunks/{bus-cqma6xzt.js → state-6tqm5eet.js} +32 -32
  72. package/dist/chunks/{bus-nehqz7h0.js → state-6zbs0edj.js} +20 -20
  73. package/dist/chunks/{bus-z1sxxdkt.js → state-71gtvxnv.js} +14 -14
  74. package/dist/chunks/{bus-p26jvdj2.js → state-7439sjwf.js} +18 -18
  75. package/dist/chunks/{bus-1q0w2sn5.js → state-74c75w5k.js} +20 -20
  76. package/dist/chunks/{bus-rgqs5ayd.js → state-78mm5kcz.js} +23 -23
  77. package/dist/chunks/{bus-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{bus-cewqea6w.js → state-7dvp74te.js} +45 -45
  79. package/dist/chunks/{bus-85gcv6w1.js → state-7etgy47j.js} +36 -36
  80. package/dist/chunks/{bus-w2hr9m4n.js → state-7jj4q75w.js} +40 -40
  81. package/dist/chunks/{bus-cbqwfepe.js → state-7t8jd0x5.js} +32 -32
  82. package/dist/chunks/{bus-4y8ww5q8.js → state-7vr6z7sd.js} +50 -50
  83. package/dist/chunks/state-8212ntmz.js +26 -0
  84. package/dist/chunks/{bus-c9v8rnps.js → state-84hf00xv.js} +7 -7
  85. package/dist/chunks/{bus-tcezcvh9.js → state-89znhe33.js} +4 -4
  86. package/dist/chunks/{bus-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{bus-5xtgfte3.js → state-8v6pyhej.js} +8 -8
  88. package/dist/chunks/{bus-my33rnxx.js → state-8xfg6125.js} +11 -11
  89. package/dist/chunks/{bus-hv4r7e9n.js → state-93k0x0x6.js} +12 -12
  90. package/dist/chunks/{bus-hthdkv0g.js → state-93tv8wdp.js} +17 -17
  91. package/dist/chunks/{bus-94ek1h2f.js → state-94ek1h2f.js} +2 -2
  92. package/dist/chunks/{bus-9z4n607n.js → state-97fcjs0c.js} +25 -25
  93. package/dist/chunks/{bus-hjsym5va.js → state-9at5y6v8.js} +58 -58
  94. package/dist/chunks/{bus-55w6e72n.js → state-9cymjy68.js} +19 -19
  95. package/dist/chunks/{bus-rn2ankj9.js → state-9fgjxmjq.js} +3 -3
  96. package/dist/chunks/{bus-fnyw5ncd.js → state-9q474hct.js} +25 -25
  97. package/dist/chunks/{bus-8a7w9p3z.js → state-9qxmhsjm.js} +29 -29
  98. package/dist/chunks/{bus-btbmdjwj.js → state-a2rpfkac.js} +4 -4
  99. package/dist/chunks/{bus-n90m72ty.js → state-a4b1zkbb.js} +11 -11
  100. package/dist/chunks/{bus-0xfjjr9h.js → state-a6760ea6.js} +10 -10
  101. package/dist/chunks/{bus-magykp64.js → state-a8bn8zg0.js} +4 -4
  102. package/dist/chunks/{bus-aaet6srn.js → state-aaet6srn.js} +2 -2
  103. package/dist/chunks/{bus-em9x6te5.js → state-ahmyyct8.js} +16 -16
  104. package/dist/chunks/{bus-kv4b73hx.js → state-amam8yz4.js} +15 -15
  105. package/dist/chunks/{bus-7crhk1w3.js → state-amb2kstc.js} +38 -38
  106. package/dist/chunks/{bus-5xzrn7a4.js → state-awh9tjk9.js} +38 -38
  107. package/dist/chunks/{bus-gr2bz4pw.js → state-awvdvje0.js} +22 -22
  108. package/dist/chunks/{bus-fb0tm2s5.js → state-axcvfrsj.js} +87 -87
  109. package/dist/chunks/{bus-ma15yhyh.js → state-b29mbqx6.js} +5 -5
  110. package/dist/chunks/{bus-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{bus-6j7pwwg5.js → state-b7k3j85e.js} +21 -21
  112. package/dist/chunks/{bus-ztn1rgwm.js → state-bm3xcdsh.js} +15 -15
  113. package/dist/chunks/{bus-4gr756ds.js → state-bqnnf9m9.js} +23 -23
  114. package/dist/chunks/{bus-ymf35ta8.js → state-bxhm554n.js} +27 -27
  115. package/dist/chunks/{bus-h79gtdf5.js → state-bye6v823.js} +43 -43
  116. package/dist/chunks/{bus-vjcr61gx.js → state-bygnyd31.js} +9 -9
  117. package/dist/chunks/{bus-sed1cph5.js → state-c1fhnwbe.js} +11 -11
  118. package/dist/chunks/{bus-9kb4pten.js → state-c74c7pzc.js} +17 -17
  119. package/dist/chunks/{bus-djszqvmq.js → state-c765mh8b.js} +9 -9
  120. package/dist/chunks/{bus-9x6sfjnn.js → state-c84rynb7.js} +13 -13
  121. package/dist/chunks/{bus-39ttvfyy.js → state-c8d35e4t.js} +6 -6
  122. package/dist/chunks/{bus-ns15zm60.js → state-c8xqcx36.js} +6 -6
  123. package/dist/chunks/{bus-3m588pny.js → state-cb61ev9t.js} +6 -6
  124. package/dist/chunks/{bus-b9j9k7st.js → state-cfex3ehp.js} +3 -3
  125. package/dist/chunks/{bus-4g1jr6f0.js → state-cjap92xg.js} +20 -20
  126. package/dist/chunks/{bus-ckecvw8r.js → state-ckecvw8r.js} +2 -2
  127. package/dist/chunks/{bus-j1h3byjr.js → state-cv7be8vd.js} +24 -24
  128. package/dist/chunks/{bus-3ppptnan.js → state-d0k1g5nx.js} +6 -6
  129. package/dist/chunks/{bus-rrq388m2.js → state-d6qntx8f.js} +28 -28
  130. package/dist/chunks/{bus-5rzn2h2f.js → state-dbgjbemx.js} +72 -72
  131. package/dist/chunks/{bus-x5tv5bhz.js → state-dd4arry7.js} +13 -13
  132. package/dist/chunks/{bus-2rzcjetw.js → state-deedhb64.js} +26 -26
  133. package/dist/chunks/{bus-g5cd0fse.js → state-dhepbqcv.js} +49 -49
  134. package/dist/chunks/{bus-r3jekd6w.js → state-djsrw7d1.js} +5 -5
  135. package/dist/chunks/state-dntw82rz.js +252 -0
  136. package/dist/chunks/{bus-drwq78ky.js → state-drwq78ky.js} +1 -1
  137. package/dist/chunks/{bus-qetz3bdr.js → state-ds16kb98.js} +11 -11
  138. package/dist/chunks/{bus-qxnq8tq5.js → state-dwfbq0zf.js} +18 -18
  139. package/dist/chunks/{bus-fmpp0jwj.js → state-e1025wz1.js} +10 -10
  140. package/dist/chunks/{bus-c11gs41e.js → state-e9q2vb15.js} +10 -10
  141. package/dist/chunks/{bus-yjebqc3c.js → state-ebt2th9r.js} +28 -28
  142. package/dist/chunks/{bus-d216944b.js → state-edrmdtr5.js} +4 -4
  143. package/dist/chunks/{bus-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{bus-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  145. package/dist/chunks/{bus-b5vkr3nq.js → state-esjrfk95.js} +26 -26
  146. package/dist/chunks/{bus-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{bus-3cfzdc8e.js → state-evbgk2k8.js} +5 -5
  148. package/dist/chunks/{bus-0dczt24q.js → state-f36kh4r4.js} +11 -11
  149. package/dist/chunks/{bus-w3bkza1g.js → state-fabg376z.js} +8 -8
  150. package/dist/chunks/{bus-knda9j04.js → state-fbst39pn.js} +92 -92
  151. package/dist/chunks/{bus-dxw8e00t.js → state-fcbk657k.js} +4 -4
  152. package/dist/chunks/{bus-qx04cptv.js → state-ffajfc11.js} +12 -12
  153. package/dist/chunks/{bus-4ctj6a48.js → state-fhns329a.js} +5 -5
  154. package/dist/chunks/{bus-nq7qbqzc.js → state-fhs97t90.js} +9 -9
  155. package/dist/chunks/{bus-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{bus-qg7rv61d.js → state-gj4zkc3e.js} +19 -19
  157. package/dist/chunks/{bus-ztrjg0dp.js → state-gjqt4qr1.js} +15 -15
  158. package/dist/chunks/{bus-b109chxf.js → state-grayh0ey.js} +186 -186
  159. package/dist/chunks/{bus-1yqpms3x.js → state-grep4bve.js} +30 -30
  160. package/dist/chunks/{bus-bqkn0a2m.js → state-gs2vyb2s.js} +4 -4
  161. package/dist/chunks/{bus-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{bus-99xay3p1.js → state-h04cqsq0.js} +8 -8
  163. package/dist/chunks/{bus-6ca1zexh.js → state-h0h24msd.js} +15 -15
  164. package/dist/chunks/{bus-r11ajgf0.js → state-h5af1y13.js} +6 -6
  165. package/dist/chunks/{bus-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{bus-nkk0yr9d.js → state-h8djq146.js} +10 -10
  167. package/dist/chunks/{bus-d2vsh0aj.js → state-hj47bg5q.js} +20 -20
  168. package/dist/chunks/{bus-en6fzx4z.js → state-htv31ejh.js} +8 -8
  169. package/dist/chunks/{bus-wk5z6jzv.js → state-j1ndhnpa.js} +9 -9
  170. package/dist/chunks/{bus-j56e64zr.js → state-j56e64zr.js} +1 -1
  171. package/dist/chunks/{bus-5kac4k3t.js → state-j9w0sazs.js} +32 -32
  172. package/dist/chunks/{bus-bs6e0m84.js → state-jbt75933.js} +22 -22
  173. package/dist/chunks/{bus-2k1cn353.js → state-jcrq5sez.js} +48 -48
  174. package/dist/chunks/{bus-a94w1kdh.js → state-jjpprn9z.js} +12 -12
  175. package/dist/chunks/{bus-y71avatq.js → state-jwcy2c2z.js} +4 -4
  176. package/dist/chunks/{bus-a4wm5c08.js → state-jwkbnpgz.js} +9 -9
  177. package/dist/chunks/{bus-k3c624dm.js → state-k3c624dm.js} +3 -3
  178. package/dist/chunks/{bus-b1h1c68h.js → state-k5kkqdex.js} +8 -8
  179. package/dist/chunks/{bus-dg2cj1yd.js → state-k9d40v1y.js} +4 -4
  180. package/dist/chunks/{bus-nvv7130m.js → state-kcw2zge1.js} +9 -9
  181. package/dist/chunks/{bus-sqtqbwng.js → state-kdgwstet.js} +6 -6
  182. package/dist/chunks/{bus-ah2tstk7.js → state-kf4w80xf.js} +27 -27
  183. package/dist/chunks/{bus-dj68pnee.js → state-kkp8zx71.js} +4 -4
  184. package/dist/chunks/{bus-f5gy8qwh.js → state-ktpnacfn.js} +8 -8
  185. package/dist/chunks/{bus-ax3c56fa.js → state-ky8gsdfr.js} +32 -32
  186. package/dist/chunks/{bus-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{bus-s8qd0pza.js → state-m3k5nkjm.js} +8 -8
  188. package/dist/chunks/{bus-afed7ext.js → state-m45ax9sm.js} +12 -12
  189. package/dist/chunks/{bus-v2f6dcv3.js → state-m7va1g8x.js} +2 -2
  190. package/dist/chunks/{bus-6m26j20e.js → state-m8369v3w.js} +24 -24
  191. package/dist/chunks/{bus-bqdc39gy.js → state-m8vajxnx.js} +11 -11
  192. package/dist/chunks/{bus-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{bus-eapqqdsn.js → state-mh5tff5t.js} +28 -28
  194. package/dist/chunks/{bus-tx92n959.js → state-mhgx8wws.js} +4 -4
  195. package/dist/chunks/{bus-0dqwd4cc.js → state-mjv5n8tk.js} +8 -8
  196. package/dist/chunks/{bus-1wkhb3nv.js → state-mr1zhvpj.js} +16 -16
  197. package/dist/chunks/{bus-eq1pz5kg.js → state-mvfsc1pv.js} +3 -3
  198. package/dist/chunks/{bus-53r14p43.js → state-mw415x4x.js} +15 -15
  199. package/dist/chunks/{bus-eks5qx6p.js → state-myd6n2j2.js} +25 -25
  200. package/dist/chunks/{bus-2qa74q4f.js → state-n828xn6h.js} +14 -14
  201. package/dist/chunks/{bus-5kw5dw4j.js → state-n87e4tgh.js} +5 -5
  202. package/dist/chunks/{bus-phypshv1.js → state-nbe7vj25.js} +11 -11
  203. package/dist/chunks/{bus-mbe8hv09.js → state-nf3zyzex.js} +14 -14
  204. package/dist/chunks/{bus-cw6ypyqw.js → state-nggt3w8z.js} +3 -3
  205. package/dist/chunks/{bus-y9199srt.js → state-ngynwwae.js} +3 -3
  206. package/dist/chunks/{bus-ergadxyj.js → state-ny1ad2m1.js} +13 -13
  207. package/dist/chunks/{bus-7kdw7ev1.js → state-p2yhhyr5.js} +54 -54
  208. package/dist/chunks/{bus-60v69n21.js → state-p8r8ve68.js} +21 -21
  209. package/dist/chunks/{bus-de1bg4a8.js → state-p9avp9ca.js} +24 -24
  210. package/dist/chunks/{bus-aymtadcw.js → state-pb85prkd.js} +28 -28
  211. package/dist/chunks/{bus-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  212. package/dist/chunks/{bus-pknna89w.js → state-pknna89w.js} +1 -1
  213. package/dist/chunks/{bus-26kj7cwz.js → state-pnm0gwqy.js} +10 -10
  214. package/dist/chunks/{bus-4fg8svfd.js → state-pnqhyn3v.js} +17 -17
  215. package/dist/chunks/state-qapv375x.js +4 -0
  216. package/dist/chunks/{bus-efnkg68h.js → state-qgarqns8.js} +22 -22
  217. package/dist/chunks/{bus-1zqsf2j9.js → state-qm7jrdpz.js} +5 -5
  218. package/dist/chunks/{bus-qsdy395h.js → state-qsdy395h.js} +1 -1
  219. package/dist/chunks/{bus-70gnf0sp.js → state-r3evxqnx.js} +41 -41
  220. package/dist/chunks/{bus-f2n192rq.js → state-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{bus-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{bus-7rs6z72e.js → state-reee10jt.js} +17 -17
  223. package/dist/chunks/{bus-6b8rzn4m.js → state-rn8gya25.js} +11 -11
  224. package/dist/chunks/{bus-hn57h045.js → state-rpg9c19m.js} +4 -4
  225. package/dist/chunks/{bus-pf2hb43r.js → state-rph3zd4r.js} +4 -4
  226. package/dist/chunks/{bus-n1v1j5gm.js → state-rwjbg2zx.js} +3 -3
  227. package/dist/chunks/{bus-kes3qfzt.js → state-rxstvrrv.js} +330 -330
  228. package/dist/chunks/{bus-mwfbz0xd.js → state-s1ek718r.js} +19 -19
  229. package/dist/chunks/{bus-vc6exsj4.js → state-s5hcky19.js} +3 -3
  230. package/dist/chunks/{bus-d3p9sq2s.js → state-s66pfndk.js} +43 -43
  231. package/dist/chunks/{bus-yth2f470.js → state-s7wccmgb.js} +5 -5
  232. package/dist/chunks/{bus-dmjj53sn.js → state-sa4z093x.js} +2 -2
  233. package/dist/chunks/{bus-tmvszdqk.js → state-sk3sbtp0.js} +4 -4
  234. package/dist/chunks/{bus-k53npxr2.js → state-sqy4ahhk.js} +1 -1
  235. package/dist/chunks/{bus-wtg76wjq.js → state-syca5r9y.js} +23 -23
  236. package/dist/chunks/{bus-krg1ac3c.js → state-t0cw0c9y.js} +11 -11
  237. package/dist/chunks/{bus-sx1n432n.js → state-t9zs3egg.js} +4 -4
  238. package/dist/chunks/{bus-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{bus-y7emxscq.js → state-tbym587b.js} +6 -6
  240. package/dist/chunks/{bus-tdstcens.js → state-tdstcens.js} +1 -1
  241. package/dist/chunks/{bus-k9p3qqxf.js → state-tmydxb1c.js} +13 -13
  242. package/dist/chunks/{bus-wnf47mqh.js → state-ttyhffk4.js} +10 -10
  243. package/dist/chunks/{bus-tvtrv512.js → state-tvtrv512.js} +1 -1
  244. package/dist/chunks/{bus-d5xsvz9q.js → state-tzx79ayg.js} +32 -32
  245. package/dist/chunks/{bus-7k7qabe4.js → state-vdzzqhjr.js} +11 -11
  246. package/dist/chunks/{bus-2p690edb.js → state-vecx4735.js} +6 -6
  247. package/dist/chunks/{bus-veqvce7d.js → state-veqvce7d.js} +1 -1
  248. package/dist/chunks/{bus-2dzs7ftg.js → state-vg54q6kb.js} +7 -7
  249. package/dist/chunks/{bus-b0kx20c7.js → state-vky584v3.js} +28 -28
  250. package/dist/chunks/{bus-wqsgdcqx.js → state-vngdvyz2.js} +44 -44
  251. package/dist/chunks/{bus-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{bus-tqjbcyfm.js → state-w1ye484s.js} +24 -24
  253. package/dist/chunks/{bus-r1sqmjnz.js → state-w2g1ktb9.js} +14 -14
  254. package/dist/chunks/{bus-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{bus-dv2dzdwb.js → state-w4ex03qt.js} +9 -9
  256. package/dist/chunks/{bus-8z39ygk9.js → state-wb50tz6w.js} +20 -20
  257. package/dist/chunks/{bus-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{bus-wd87259q.js → state-wd87259q.js} +1 -1
  259. package/dist/chunks/{bus-n1ka8r9d.js → state-wgtcm0m7.js} +4 -4
  260. package/dist/chunks/{bus-sg2nz0p0.js → state-wsefyt7b.js} +28 -28
  261. package/dist/chunks/{bus-r8d149e4.js → state-wxdt6jme.js} +6 -6
  262. package/dist/chunks/{bus-kegj034d.js → state-wz3wwytt.js} +7 -7
  263. package/dist/chunks/{bus-9zam7283.js → state-wz3z8pyw.js} +5 -5
  264. package/dist/chunks/{bus-5yeq06a0.js → state-wzg7zq6j.js} +6 -6
  265. package/dist/chunks/{bus-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{bus-sphdp7rh.js → state-x4gw1wa9.js} +31 -31
  267. package/dist/chunks/{bus-r0w6vsbq.js → state-xcs63q7q.js} +28 -28
  268. package/dist/chunks/{bus-bvxxf21n.js → state-xdpsmdge.js} +21 -21
  269. package/dist/chunks/{bus-3hx80kcb.js → state-xhqa6gky.js} +22 -22
  270. package/dist/chunks/{bus-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
  271. package/dist/chunks/{bus-x1wafzv1.js → state-xvf9q0q1.js} +9 -9
  272. package/dist/chunks/{bus-1nzh38e4.js → state-y15vpdnr.js} +9 -9
  273. package/dist/chunks/{bus-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{bus-7wtj5x8r.js → state-y76bxftd.js} +5 -5
  275. package/dist/chunks/{bus-8jfskjsd.js → state-yc0p016c.js} +22 -22
  276. package/dist/chunks/{bus-b3sw3ybz.js → state-ygbc7n1d.js} +8 -8
  277. package/dist/chunks/{bus-crwg5b5x.js → state-ynwt6cba.js} +14 -14
  278. package/dist/chunks/{bus-gf34eqph.js → state-yqa1vtse.js} +32 -32
  279. package/dist/chunks/{bus-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{bus-yrznvahk.js → state-yrznvahk.js} +2 -2
  281. package/dist/chunks/{bus-hsy2ayrh.js → state-ywftqwgc.js} +11 -11
  282. package/dist/chunks/{bus-z07pqspn.js → state-z07pqspn.js} +3 -3
  283. package/dist/chunks/{bus-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{bus-z63w68vq.js → state-z63w68vq.js} +2 -2
  285. package/dist/chunks/{bus-z2tqpmk8.js → state-z72fcj4r.js} +10 -10
  286. package/dist/chunks/{bus-z5qf6xj2.js → state-z9dz7899.js} +12 -12
  287. package/dist/chunks/{bus-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{bus-dphfrw81.js → state-zkf32p28.js} +11 -11
  289. package/dist/chunks/{bus-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{bus-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{bus-3pqdrcfp.js → state-zxxtytjq.js} +16 -16
  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 +83 -83
  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 +125 -125
  301. package/dist/config/plugin/command.js +214 -214
  302. package/dist/config/plugin/compaction.js +162 -162
  303. package/dist/config/plugin/compatibility.js +141 -141
  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 +132 -132
  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 +123 -123
  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 +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  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 +128 -128
  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 +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +93 -93
  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 +74 -74
  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/file.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/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +225 -225
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +83 -83
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +84 -84
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +108 -108
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +105 -105
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +101 -101
  497. package/dist/plugin/compaction.js +133 -133
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +4 -4
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +94 -94
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +348 -348
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +5 -5
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +6 -6
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  565. package/dist/provider.js +99 -99
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +94 -94
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +134 -134
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +154 -154
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +89 -89
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +125 -125
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +112 -112
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +105 -105
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +96 -96
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +78 -78
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/bus-0mesazry.js +0 -4
  701. package/dist/chunks/bus-4v7qdvcn.js +0 -18
  702. package/dist/chunks/bus-5ww6wnjh.js +0 -252
  703. package/dist/chunks/bus-mwmnzqyt.js +0 -26
  704. /package/dist/chunks/{bus-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{bus-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{bus-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{bus-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{bus-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{bus-24dcb14g.js → state-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{bus-2710q6r3.js → state-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{bus-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{bus-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{bus-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{bus-359p4xyc.js → state-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{bus-3asan66x.js → state-3asan66x.js} +0 -0
  716. /package/dist/chunks/{bus-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{bus-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{bus-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{bus-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{bus-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{bus-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{bus-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{bus-53557ph1.js → state-53557ph1.js} +0 -0
  724. /package/dist/chunks/{bus-550bvhaj.js → state-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{bus-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{bus-6prwharc.js → state-6prwharc.js} +0 -0
  727. /package/dist/chunks/{bus-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{bus-7m9af43g.js → state-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{bus-822emrt2.js → state-822emrt2.js} +0 -0
  730. /package/dist/chunks/{bus-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{bus-8n3pysct.js → state-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{bus-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{bus-922hggd3.js → state-922hggd3.js} +0 -0
  734. /package/dist/chunks/{bus-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{bus-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{bus-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{bus-af5trqkr.js → state-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{bus-afrmfg78.js → state-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{bus-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{bus-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{bus-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{bus-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{bus-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{bus-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{bus-d9fn303g.js → state-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{bus-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{bus-dajrwvna.js → state-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{bus-dap0rakb.js → state-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{bus-df08tz66.js → state-df08tz66.js} +0 -0
  750. /package/dist/chunks/{bus-dy18nga0.js → state-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{bus-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{bus-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{bus-ec1grn59.js → state-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{bus-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{bus-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{bus-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{bus-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{bus-faypxj3z.js → state-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{bus-fd410y7t.js → state-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{bus-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{bus-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{bus-g86h250q.js → state-g86h250q.js} +0 -0
  763. /package/dist/chunks/{bus-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{bus-gftt206x.js → state-gftt206x.js} +0 -0
  765. /package/dist/chunks/{bus-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{bus-hk9envan.js → state-hk9envan.js} +0 -0
  767. /package/dist/chunks/{bus-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{bus-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{bus-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{bus-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{bus-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{bus-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{bus-mp448xyj.js → state-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{bus-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{bus-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{bus-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{bus-njntx4h6.js → state-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{bus-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{bus-q74kybfr.js → state-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{bus-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{bus-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{bus-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{bus-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{bus-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{bus-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{bus-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{bus-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{bus-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{bus-w803qqfp.js → state-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{bus-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{bus-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{bus-wtztk69x.js → state-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{bus-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{bus-x61499pn.js → state-x61499pn.js} +0 -0
  795. /package/dist/chunks/{bus-y44na4kk.js → state-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{bus-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{bus-y8f7s663.js → state-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{bus-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{bus-ym463w8f.js → state-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{bus-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./bus-y9199srt.js";
4
+ } from "./state-ngynwwae.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./bus-y71avatq.js";
7
+ } from "./state-jwcy2c2z.js";
8
8
  import {
9
- Service83,
10
- node87
11
- } from "./bus-hv4r7e9n.js";
9
+ Service81,
10
+ node85
11
+ } from "./state-93k0x0x6.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./bus-ec1grn59.js";
14
+ } from "./state-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./bus-gftt206x.js";
17
+ } from "./state-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./bus-9vs0xtad.js";
20
+ } from "./state-256nx13v.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./bus-z07pqspn.js";
24
+ } from "./state-z07pqspn.js";
25
25
  import {
26
26
  __export
27
- } from "./bus-9rqn6x4v.js";
27
+ } from "./state-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info6,
35
+ Info: () => Info19,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service39,
40
+ Service: () => Service53,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
49
- list: () => list3,
50
- make: () => make16,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
+ make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node41,
53
+ node: () => node56,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info6,
68
+ Info as Info19,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service39 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service53 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make16 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make17 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service84;
158
158
  const db = database.db;
159
- const bus = yield* Service83;
159
+ const bus = yield* Service81;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info6.make({
176
+ }).pipe(Effect.map((event) => Info19.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer18 = Layer.effect(Service39, make16());
231
- var node41 = makeGlobalNode({ service: Service39, layer: layer18, deps: [node88, node87] });
230
+ var layer23 = Layer.effect(Service53, make17());
231
+ var node56 = makeGlobalNode({ service: Service53, layer: layer23, deps: [node88, node85] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make16, layer18, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info19, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service53, make17, layer23, node56, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./bus-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service51
7
- } from "./bus-g5cd0fse.js";
6
+ Service31
7
+ } from "./state-dhepbqcv.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./bus-2a5m3afh.js";
10
+ } from "./state-2a5m3afh.js";
11
11
  import {
12
- Service68
13
- } from "./bus-y7w7614s.js";
12
+ Service64
13
+ } from "./state-4mbzwrkh.js";
14
14
  import {
15
- Service73
16
- } from "./bus-7rs6z72e.js";
15
+ Service82
16
+ } from "./state-reee10jt.js";
17
17
  import {
18
- Service58
19
- } from "./bus-hjsym5va.js";
18
+ Service73
19
+ } from "./state-9at5y6v8.js";
20
20
  import {
21
- Service19,
21
+ Service72,
22
22
  resolvePath2
23
- } from "./bus-qxnq8tq5.js";
23
+ } from "./state-dwfbq0zf.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./bus-5ekn9679.js";
29
+ } from "./state-5ekn9679.js";
30
30
  import {
31
- Service53,
31
+ Service50,
32
32
  name15
33
- } from "./bus-crwg5b5x.js";
33
+ } from "./state-ynwt6cba.js";
34
34
  import {
35
- NotFoundError6,
36
- Service49
37
- } from "./bus-4y8ww5q8.js";
35
+ NotFoundError4,
36
+ Service28
37
+ } from "./state-7vr6z7sd.js";
38
38
  import {
39
- Service22
40
- } from "./bus-knda9j04.js";
39
+ Service15
40
+ } from "./state-fbst39pn.js";
41
41
  import {
42
42
  scan2
43
- } from "./bus-tmvszdqk.js";
43
+ } from "./state-sk3sbtp0.js";
44
44
  import {
45
45
  __export
46
- } from "./bus-9rqn6x4v.js";
46
+ } from "./state-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input11,
53
- Plugin: () => Plugin14,
52
+ Input: () => Input8,
53
+ Plugin: () => Plugin11,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name11
55
+ name: () => name8
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name11 = "shell";
59
+ var name8 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input11 = Schema.Struct({
73
+ var Input8 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin14 = {
118
+ var Plugin11 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service22;
122
- const jobs = yield* Service73;
121
+ const sessions = yield* Service15;
122
+ const jobs = yield* Service82;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service68;
125
- const access = yield* Service19;
126
- const shell = yield* Service49;
127
- const shellSelect = yield* Service53;
124
+ const environment = yield* Service64;
125
+ const access = yield* Service72;
126
+ const shell = yield* Service28;
127
+ const shellSelect = yield* Service50;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service58;
130
- const config = yield* Service51;
129
+ const permission = yield* Service73;
130
+ const config = yield* Service31;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin14 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name11,
149
+ action: name8,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin14 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name11,
186
+ name: name8,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input11,
189
+ input: Input8,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin14 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError6({ id: info.id });
208
+ return yield* new NotFoundError4({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name11,
222
+ type: name8,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name11];
252
+ const tool = event.tools[name8];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin14, exports_shell };
263
+ export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin11, exports_shell };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Ref4
3
- } from "./bus-em9x6te5.js";
3
+ } from "./state-ahmyyct8.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service61,
12
+ Service: () => Service56,
13
13
  canonical: () => canonical3,
14
- node: () => node64,
14
+ node: () => node59,
15
15
  reload: () => reload2
16
16
  });
17
17
  import { Context, Effect, Exit, Layer, RcMap } from "effect";
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
19
19
  import { Node } from "@opencode/util/effect/app-node";
20
20
  import { AbsolutePath } from "@opencode/schema/schema";
21
21
  import path from "path";
22
- class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
+ class Service56 extends Context.Service()("@opencode/example/LocationServiceMap") {
23
23
  static get(ref) {
24
- return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
24
+ return Layer.unwrap(Effect.map(Service56, (locations) => locations.get(ref)));
25
25
  }
26
26
  }
27
- var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
27
+ var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
28
28
  var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
29
- const locations = yield* Service61;
29
+ const locations = yield* Service56;
30
30
  const refs = Array.from(yield* RcMap.keys(locations.rcMap));
31
31
  yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
32
32
  discard: true,
@@ -45,4 +45,4 @@ function canonical3(ref) {
45
45
  });
46
46
  }
47
47
 
48
- export { Service61, node64, reload2, canonical3, exports_location_service_map };
48
+ export { Service56, node59, reload2, canonical3, exports_location_service_map };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID7,
2
+ ID9,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./bus-sphdp7rh.js";
5
+ } from "./state-x4gw1wa9.js";
6
6
  import {
7
- ID6,
7
+ ID7,
8
8
  VariantID2,
9
9
  Family2,
10
- Info18
11
- } from "./bus-t27mf08w.js";
10
+ Info20
11
+ } from "./state-3k1qem6j.js";
12
12
  import {
13
13
  __export
14
- } from "./bus-9rqn6x4v.js";
14
+ } from "./state-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models2 = {};
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID6.make(id);
97
+ const key = ID7.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info18.make({
122
- ...Info18.default(ID7.githubCopilot, id),
121
+ return Info20.make({
122
+ ...Info20.default(ID9.githubCopilot, id),
123
123
  id,
124
- modelID: ID6.make(remote.id),
125
- providerID: ID7.githubCopilot,
124
+ modelID: ID7.make(remote.id),
125
+ providerID: ID9.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service83
3
- } from "./bus-hv4r7e9n.js";
2
+ Service81
3
+ } from "./state-93k0x0x6.js";
4
4
  import {
5
- Service36
6
- } from "./bus-rgqs5ayd.js";
5
+ Service33
6
+ } from "./state-78mm5kcz.js";
7
7
  import {
8
8
  Error3
9
- } from "./bus-6m26j20e.js";
9
+ } from "./state-m8369v3w.js";
10
10
  import {
11
- Service78
12
- } from "./bus-z5qf6xj2.js";
11
+ Service58
12
+ } from "./state-z9dz7899.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./bus-r11ajgf0.js";
15
+ } from "./state-h5af1y13.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./bus-ec1grn59.js";
18
+ } from "./state-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./bus-dxw8e00t.js";
21
+ } from "./state-fcbk657k.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./bus-tdstcens.js";
24
+ } from "./state-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./bus-erw5rpbs.js";
27
+ } from "./state-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./bus-2p690edb.js";
30
+ } from "./state-vecx4735.js";
31
31
  import {
32
32
  __export
33
- } from "./bus-9rqn6x4v.js";
33
+ } from "./state-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service83;
55
+ const bus = yield* Service81;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service36;
58
- const toolOutput = yield* Service78;
57
+ const snapshots = yield* Service33;
58
+ const toolOutput = yield* Service58;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./bus-rdw6cm16.js";
3
+ } from "./state-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service10,
13
- node: () => node12
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service10, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service10.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node12 = makeLocationNode({ service: Service10, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service10, node12, exports_location_watcher_policy };
53
+ export { Service7, node9, exports_location_watcher_policy };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service43,
9
- node45
10
- } from "./bus-wqsgdcqx.js";
8
+ Service59,
9
+ node62
10
+ } from "./state-vngdvyz2.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./bus-9vs0xtad.js";
13
+ } from "./state-256nx13v.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service41,
25
+ Service: () => Service55,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node43,
31
+ node: () => node58,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service55 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service41, Effect.gen(function* () {
76
- const resolver = yield* Service43;
77
- return Service41.of({
75
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
76
+ const resolver = yield* Service59;
77
+ return Service55.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node43 = makeLocationNode({ service: Service41, layer, deps: [node45] });
95
+ var node58 = makeLocationNode({ service: Service55, layer, deps: [node62] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service41, resolved2, node43, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service55, resolved2, node58, exports_model };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service83
3
- } from "./bus-hv4r7e9n.js";
2
+ Service81
3
+ } from "./state-93k0x0x6.js";
4
4
  import {
5
- Service18,
5
+ Service14,
6
6
  Event4
7
- } from "./bus-5xzrn7a4.js";
7
+ } from "./state-awh9tjk9.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
29
29
  var ModelsDevPlugin2 = define({
30
30
  id: "opencode.models.dev",
31
31
  effect: Effect.fn(function* (ctx) {
32
- const modelsDev = yield* Service18;
33
- const bus = yield* Service83;
32
+ const modelsDev = yield* Service14;
33
+ const bus = yield* Service81;
34
34
  const loaded = { data: snapshots(yield* modelsDev.get()) };
35
35
  yield* ctx.integration.transform((integrations) => {
36
36
  for (const provider of loaded.data) {
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./bus-fxgpk5d8.js";
3
+ } from "./state-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./bus-g4wezp1m.js";
6
+ } from "./state-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./bus-x61499pn.js";
9
+ } from "./state-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./bus-af5trqkr.js";
12
+ } from "./state-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./bus-afrmfg78.js";
15
+ } from "./state-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./bus-x0ckcb58.js";
18
+ } from "./state-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {