@opencode/core 0.0.0-dev-20043 → 0.0.0-dev-20048

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  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 +69 -69
  7. package/dist/chunks/{aisdk-z3q2cbzw.js → state-01hrvc9d.js} +11 -11
  8. package/dist/chunks/{aisdk-xhz5mp1h.js → state-048mvh15.js} +26 -26
  9. package/dist/chunks/{aisdk-mxmf76sr.js → state-04etjcjv.js} +18 -18
  10. package/dist/chunks/{aisdk-9ajwmfn8.js → state-06fa46aw.js} +35 -35
  11. package/dist/chunks/{aisdk-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{aisdk-0mmgcj54.js → state-0x0rejgs.js} +13 -13
  13. package/dist/chunks/{aisdk-qmtyj29t.js → state-191n6bah.js} +11 -11
  14. package/dist/chunks/{aisdk-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{aisdk-jbsysrkf.js → state-1dz0a09m.js} +9 -9
  16. package/dist/chunks/{aisdk-rtgcb18b.js → state-1fcrsx1q.js} +8 -8
  17. package/dist/chunks/{aisdk-8qr332cz.js → state-1h5r6g9j.js} +13 -13
  18. package/dist/chunks/{aisdk-s10j4zrr.js → state-1knck39s.js} +13 -13
  19. package/dist/chunks/{aisdk-mzm8rqr7.js → state-1nkfddbq.js} +10 -10
  20. package/dist/chunks/{aisdk-k09eseht.js → state-1rxhvb8z.js} +19 -19
  21. package/dist/chunks/{aisdk-21r38tys.js → state-21r38tys.js} +1 -1
  22. package/dist/chunks/{aisdk-6h73sxmp.js → state-2402vzrj.js} +5 -5
  23. package/dist/chunks/{aisdk-3gqqpt8p.js → state-2629fpm1.js} +9 -9
  24. package/dist/chunks/{aisdk-xxze4mr0.js → state-287djwcw.js} +16 -16
  25. package/dist/chunks/{aisdk-jxdfsfqg.js → state-29jghzvv.js} +8 -8
  26. package/dist/chunks/{aisdk-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{aisdk-rdq063h9.js → state-2ehzxgs2.js} +17 -17
  28. package/dist/chunks/{aisdk-4qav2fem.js → state-2nws2gjr.js} +5 -5
  29. package/dist/chunks/{aisdk-j6vwkzpm.js → state-2pcga327.js} +23 -23
  30. package/dist/chunks/{aisdk-13qme1fa.js → state-2q76gmxn.js} +24 -24
  31. package/dist/chunks/{aisdk-6kj0q6js.js → state-2rfpmfe1.js} +43 -43
  32. package/dist/chunks/{aisdk-se4ds7p4.js → state-2rs2jmw8.js} +27 -27
  33. package/dist/chunks/{aisdk-cwa6csj7.js → state-2sejkfem.js} +9 -9
  34. package/dist/chunks/{aisdk-7q7mfth4.js → state-2vmqg2px.js} +11 -11
  35. package/dist/chunks/{aisdk-41wzkj33.js → state-39z47dss.js} +15 -15
  36. package/dist/chunks/{aisdk-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{aisdk-6bpp9beb.js → state-3gb4mbad.js} +166 -166
  38. package/dist/chunks/{aisdk-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{aisdk-b99w0g26.js → state-3ppptnan.js} +6 -6
  40. package/dist/chunks/{aisdk-b5mdm4wc.js → state-3qbgdjz5.js} +20 -20
  41. package/dist/chunks/{aisdk-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{aisdk-9w4ppqge.js → state-3tt1qkhr.js} +5 -5
  43. package/dist/chunks/{aisdk-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{aisdk-cnacsjhk.js → state-3xead72a.js} +3 -3
  45. package/dist/chunks/{aisdk-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{aisdk-njm9g9x3.js → state-4d234pj1.js} +24 -24
  47. package/dist/chunks/{aisdk-q8hxnt6y.js → state-4jqw9tdg.js} +7 -7
  48. package/dist/chunks/{aisdk-weje2hnw.js → state-4k5d13q0.js} +4 -4
  49. package/dist/chunks/{aisdk-7sv1gmyv.js → state-4np4xevn.js} +5 -5
  50. package/dist/chunks/{aisdk-bhna4c8e.js → state-4xgye4q4.js} +20 -20
  51. package/dist/chunks/{aisdk-0java4bc.js → state-4xh8p5r9.js} +42 -42
  52. package/dist/chunks/{aisdk-s467t6d3.js → state-4xk4yn8m.js} +20 -20
  53. package/dist/chunks/{aisdk-gdkm09q9.js → state-4yb9sg3q.js} +10 -10
  54. package/dist/chunks/{aisdk-8rsf771b.js → state-4z6yjmn2.js} +25 -25
  55. package/dist/chunks/{aisdk-2yp7980w.js → state-54crpygx.js} +30 -30
  56. package/dist/chunks/{aisdk-dg2cj1yd.js → state-56dkfrzf.js} +4 -4
  57. package/dist/chunks/{aisdk-33w4ejhs.js → state-56gdpj1q.js} +6 -6
  58. package/dist/chunks/{aisdk-57ez7d0k.js → state-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{aisdk-zzmc825q.js → state-59qdxchp.js} +13 -13
  60. package/dist/chunks/{aisdk-5daktx2q.js → state-5daktx2q.js} +1 -1
  61. package/dist/chunks/{aisdk-5ekn9679.js → state-5ekn9679.js} +1 -1
  62. package/dist/chunks/{aisdk-ryprma71.js → state-5hcsf9we.js} +10 -10
  63. package/dist/chunks/{aisdk-6sw8nmq3.js → state-5mf4awx7.js} +1 -1
  64. package/dist/chunks/{aisdk-6vt2w020.js → state-5rcwft22.js} +14 -14
  65. package/dist/chunks/{aisdk-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{aisdk-7dqw4kz8.js → state-607tc6va.js} +5 -5
  67. package/dist/chunks/{aisdk-cvphz1qf.js → state-659vz1hh.js} +11 -11
  68. package/dist/chunks/{aisdk-669tq793.js → state-669tq793.js} +1 -1
  69. package/dist/chunks/{aisdk-w1cebep0.js → state-6b8xfggn.js} +2 -2
  70. package/dist/chunks/{aisdk-f4rjsfva.js → state-6d35anwg.js} +9 -9
  71. package/dist/chunks/{aisdk-x2g3x7xx.js → state-6g307qqy.js} +32 -32
  72. package/dist/chunks/{aisdk-vpykqa8z.js → state-6ht0qgxp.js} +27 -27
  73. package/dist/chunks/{aisdk-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{aisdk-w7vjeneh.js → state-6pcpef1g.js} +35 -35
  75. package/dist/chunks/{aisdk-49ytw9e6.js → state-6rzyxrbs.js} +30 -30
  76. package/dist/chunks/{aisdk-6ysrkrkr.js → state-6ysrkrkr.js} +1 -1
  77. package/dist/chunks/{aisdk-rst4cyxn.js → state-70y8twc4.js} +11 -11
  78. package/dist/chunks/{aisdk-84cy8r8q.js → state-7213dkvb.js} +5 -5
  79. package/dist/chunks/{aisdk-zrw5m3sy.js → state-78d4400s.js} +13 -13
  80. package/dist/chunks/{aisdk-7rjgn8bj.js → state-78kgqsf0.js} +15 -15
  81. package/dist/chunks/{aisdk-bnnnfr1h.js → state-7b4th3wc.js} +4 -4
  82. package/dist/chunks/{aisdk-4hgmwzg4.js → state-7b9kdrwd.js} +10 -10
  83. package/dist/chunks/{aisdk-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{aisdk-sykjr06b.js → state-7d4y95ya.js} +14 -14
  85. package/dist/chunks/{aisdk-mhkvc446.js → state-7yh4e7ss.js} +3 -3
  86. package/dist/chunks/{aisdk-ddhq0d0y.js → state-86neyp8d.js} +23 -23
  87. package/dist/chunks/{aisdk-tcezcvh9.js → state-89znhe33.js} +4 -4
  88. package/dist/chunks/{aisdk-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{aisdk-arxah4je.js → state-8dsn79bq.js} +3 -3
  90. package/dist/chunks/{aisdk-ghcc1exw.js → state-8ex1v7ge.js} +5 -5
  91. package/dist/chunks/{aisdk-30846h32.js → state-8mbscqky.js} +8 -8
  92. package/dist/chunks/{aisdk-df2b9eza.js → state-8pap4f00.js} +11 -11
  93. package/dist/chunks/{aisdk-a5bcffjj.js → state-8vse6jtk.js} +23 -23
  94. package/dist/chunks/{aisdk-94ek1h2f.js → state-94ek1h2f.js} +2 -2
  95. package/dist/chunks/{aisdk-f0qe216m.js → state-9pyyqvsg.js} +34 -34
  96. package/dist/chunks/{aisdk-ns15zm60.js → state-9vtsvkk2.js} +6 -6
  97. package/dist/chunks/{aisdk-xhrync7w.js → state-9xxts4r9.js} +11 -11
  98. package/dist/chunks/{aisdk-6ah266bh.js → state-a2855keb.js} +6 -6
  99. package/dist/chunks/{aisdk-rcpjzbgq.js → state-a7q99tff.js} +10 -10
  100. package/dist/chunks/{aisdk-aaet6srn.js → state-aaet6srn.js} +2 -2
  101. package/dist/chunks/{aisdk-wj8xe67y.js → state-ac3z5j2t.js} +18 -18
  102. package/dist/chunks/{aisdk-e5qbkagq.js → state-ad7b423w.js} +14 -14
  103. package/dist/chunks/{aisdk-607q5haz.js → state-afed7ext.js} +5 -5
  104. package/dist/chunks/{aisdk-hpfvhvya.js → state-ahd542yp.js} +8 -8
  105. package/dist/chunks/{aisdk-xzbdt9ab.js → state-asxwsg8x.js} +13 -13
  106. package/dist/chunks/{aisdk-kjqja31j.js → state-av919pbz.js} +16 -16
  107. package/dist/chunks/{aisdk-9jwxq161.js → state-b09hzw3k.js} +2 -2
  108. package/dist/chunks/{aisdk-f724wvfx.js → state-b3x7v9y3.js} +17 -17
  109. package/dist/chunks/{aisdk-j104s97f.js → state-b5ts8e9j.js} +29 -29
  110. package/dist/chunks/{aisdk-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{aisdk-h6r3nrb9.js → state-bc5edygd.js} +4 -4
  112. package/dist/chunks/{aisdk-4cr6q8tp.js → state-bfcdvpvm.js} +35 -35
  113. package/dist/chunks/{aisdk-zwvttwhj.js → state-bj6d7p72.js} +41 -41
  114. package/dist/chunks/{aisdk-s0hza5ac.js → state-bjn91642.js} +4 -4
  115. package/dist/chunks/{aisdk-r33ff4dw.js → state-bjs2yq5f.js} +6 -6
  116. package/dist/chunks/{aisdk-3pd9cgf5.js → state-bm37k6ny.js} +12 -12
  117. package/dist/chunks/{aisdk-ptff6sjs.js → state-bqp27804.js} +11 -11
  118. package/dist/chunks/{aisdk-19trpjps.js → state-c1vn73fw.js} +8 -8
  119. package/dist/chunks/{aisdk-bscb95cy.js → state-c576t1j6.js} +7 -7
  120. package/dist/chunks/state-c59kzj7e.js +26 -0
  121. package/dist/chunks/{aisdk-y2f8s5as.js → state-c9esyfej.js} +11 -11
  122. package/dist/chunks/{aisdk-ckecvw8r.js → state-ckecvw8r.js} +2 -2
  123. package/dist/chunks/{aisdk-mtr0qdvt.js → state-cyhjr8qz.js} +8 -8
  124. package/dist/chunks/{aisdk-aad6bg3s.js → state-dh7fhzye.js} +25 -25
  125. package/dist/chunks/{aisdk-3cfzdc8e.js → state-dj9sq318.js} +5 -5
  126. package/dist/chunks/{aisdk-ejwj3fxg.js → state-dkza8aye.js} +4 -4
  127. package/dist/chunks/{aisdk-vfgkq0y4.js → state-dr5yhmv3.js} +11 -11
  128. package/dist/chunks/{aisdk-4m64c65m.js → state-e0c9kqzd.js} +24 -24
  129. package/dist/chunks/{aisdk-5drdw4ad.js → state-e4n8ty8m.js} +5 -5
  130. package/dist/chunks/{aisdk-3zgzsr0q.js → state-e5xpd6yj.js} +6 -6
  131. package/dist/chunks/{aisdk-1z0zvxs4.js → state-eaxw8sd7.js} +6 -6
  132. package/dist/chunks/{aisdk-fj48dtty.js → state-eb018chj.js} +17 -17
  133. package/dist/chunks/{aisdk-fj3mzqxp.js → state-ebwvn17w.js} +9 -9
  134. package/dist/chunks/{aisdk-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{aisdk-erw5rpbs.js → state-erw5rpbs.js} +2 -2
  136. package/dist/chunks/{aisdk-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{aisdk-1k3gd00q.js → state-ew8ymzjh.js} +39 -39
  138. package/dist/chunks/{aisdk-kcafvxea.js → state-ezrkp374.js} +21 -21
  139. package/dist/chunks/{aisdk-1acjjqhc.js → state-f2n192rq.js} +4 -4
  140. package/dist/chunks/{aisdk-301trp6s.js → state-f6e6ss5q.js} +37 -37
  141. package/dist/chunks/{aisdk-kearjya1.js → state-f88pna8a.js} +16 -16
  142. package/dist/chunks/{aisdk-nrqfcddc.js → state-f8x6snpr.js} +25 -25
  143. package/dist/chunks/{aisdk-jcvwj9jm.js → state-fkrg1jgt.js} +28 -28
  144. package/dist/chunks/{aisdk-a2ew8a62.js → state-fqb2p7cx.js} +4 -4
  145. package/dist/chunks/{aisdk-8we7jnmb.js → state-fzk5c087.js} +11 -11
  146. package/dist/chunks/{aisdk-y9vcbm1p.js → state-g3q8xvt3.js} +10 -10
  147. package/dist/chunks/{aisdk-gj07xn6c.js → state-g7s6zfm9.js} +4 -4
  148. package/dist/chunks/{aisdk-vdezy000.js → state-g9e6bpz0.js} +10 -10
  149. package/dist/chunks/{aisdk-v83ykmtz.js → state-gb1apezm.js} +9 -9
  150. package/dist/chunks/{aisdk-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{aisdk-yvaqedcc.js → state-gf2vt3wd.js} +6 -6
  152. package/dist/chunks/{aisdk-kwr9b569.js → state-gr5cvhzt.js} +17 -17
  153. package/dist/chunks/{aisdk-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{aisdk-g9na247e.js → state-h2kxbj17.js} +27 -27
  155. package/dist/chunks/{aisdk-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{aisdk-q9e07d2s.js → state-hcam9bsc.js} +7 -7
  157. package/dist/chunks/{aisdk-q8d57wmy.js → state-hj53m8my.js} +48 -48
  158. package/dist/chunks/{aisdk-ctmr8zqa.js → state-hn57h045.js} +4 -4
  159. package/dist/chunks/{aisdk-wbkyxrgf.js → state-hnr5yq9h.js} +5 -5
  160. package/dist/chunks/{aisdk-23yqmb8f.js → state-hvf24zfz.js} +11 -11
  161. package/dist/chunks/{aisdk-acqxbg4k.js → state-hwkkb16b.js} +10 -10
  162. package/dist/chunks/{aisdk-j1et25fn.js → state-hy85xjwn.js} +17 -17
  163. package/dist/chunks/{aisdk-hn2a1jts.js → state-j1t4gz23.js} +14 -14
  164. package/dist/chunks/{aisdk-j56e64zr.js → state-j56e64zr.js} +1 -1
  165. package/dist/chunks/{aisdk-vncycja5.js → state-j83byb14.js} +4 -4
  166. package/dist/chunks/{aisdk-ggre7qjc.js → state-jac560fq.js} +45 -44
  167. package/dist/chunks/{aisdk-md1mxm32.js → state-jc202cmk.js} +15 -15
  168. package/dist/chunks/{aisdk-mrvphsyr.js → state-jegaewj3.js} +1 -1
  169. package/dist/chunks/{aisdk-9k4dsn9s.js → state-jjs3a33e.js} +2 -2
  170. package/dist/chunks/{aisdk-9qtpfedr.js → state-jraye65f.js} +17 -17
  171. package/dist/chunks/{aisdk-w1hs50qs.js → state-jrq8nyb6.js} +7 -7
  172. package/dist/chunks/{aisdk-vy1fzztp.js → state-jw49cbrr.js} +33 -33
  173. package/dist/chunks/{aisdk-0s819d2z.js → state-kfkd8wec.js} +69 -69
  174. package/dist/chunks/{aisdk-pqyzdwpj.js → state-kwrhfw2b.js} +43 -43
  175. package/dist/chunks/{aisdk-qbw5z373.js → state-m297x91g.js} +33 -33
  176. package/dist/chunks/{aisdk-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{aisdk-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{aisdk-cavr175a.js → state-magykp64.js} +4 -4
  179. package/dist/chunks/{aisdk-xfndja2y.js → state-mct0z50y.js} +145 -145
  180. package/dist/chunks/{aisdk-knb7evpn.js → state-mmr7bq34.js} +8 -8
  181. package/dist/chunks/{aisdk-yqaxhd4h.js → state-mxgm4s8c.js} +10 -10
  182. package/dist/chunks/{aisdk-5hca813f.js → state-mzchxfnj.js} +35 -35
  183. package/dist/chunks/{aisdk-5xpznt2d.js → state-n1ka8r9d.js} +4 -4
  184. package/dist/chunks/{aisdk-df2tmfns.js → state-n94bagkt.js} +6 -6
  185. package/dist/chunks/{aisdk-zkkhmxqr.js → state-n9tzwawk.js} +9 -9
  186. package/dist/chunks/{aisdk-5qhpwbp8.js → state-ngg98v4n.js} +22 -22
  187. package/dist/chunks/{aisdk-eqq925v7.js → state-nzgjyyka.js} +12 -12
  188. package/dist/chunks/{aisdk-k3c624dm.js → state-nzks3jc8.js} +3 -3
  189. package/dist/chunks/{aisdk-gd8nda9a.js → state-p27t6t4y.js} +8 -8
  190. package/dist/chunks/{aisdk-2j39ymwc.js → state-p6e7gv25.js} +24 -24
  191. package/dist/chunks/{aisdk-7ypyawfv.js → state-p9cjdk98.js} +3 -3
  192. package/dist/chunks/{aisdk-rcs0ttvg.js → state-p9xq1f21.js} +3 -3
  193. package/dist/chunks/{aisdk-5xtgfte3.js → state-pa8pe2x7.js} +8 -8
  194. package/dist/chunks/{aisdk-g8jasmdt.js → state-pb1eahw5.js} +8 -8
  195. package/dist/chunks/{aisdk-nqr5ekqz.js → state-pc6cxjb1.js} +25 -25
  196. package/dist/chunks/{aisdk-7gvwkz6m.js → state-pecb0brz.js} +5 -5
  197. package/dist/chunks/{aisdk-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{aisdk-pknna89w.js → state-pknna89w.js} +1 -1
  199. package/dist/chunks/{aisdk-bxw160v3.js → state-pr15s9x7.js} +4 -4
  200. package/dist/chunks/{aisdk-z8dnjp6n.js → state-pv6ekvy2.js} +3 -3
  201. package/dist/chunks/{aisdk-h9sgrmr0.js → state-q3zdsabs.js} +12 -12
  202. package/dist/chunks/{aisdk-q509s3k3.js → state-q509s3k3.js} +1 -1
  203. package/dist/chunks/{aisdk-np82xyew.js → state-q7rs3snj.js} +16 -16
  204. package/dist/chunks/{aisdk-pgjxk18r.js → state-q7z5ybcs.js} +28 -28
  205. package/dist/chunks/{aisdk-sx7145gr.js → state-q805jq9w.js} +22 -22
  206. package/dist/chunks/{aisdk-qg0jgkcp.js → state-qg0jgkcp.js} +2 -2
  207. package/dist/chunks/{aisdk-h54hk005.js → state-qnvmbtfx.js} +4 -4
  208. package/dist/chunks/{aisdk-jtxrazbm.js → state-qp2982tz.js} +24 -24
  209. package/dist/chunks/{aisdk-n8a0h2pm.js → state-qpxsvy3c.js} +9 -9
  210. package/dist/chunks/{aisdk-drwq78ky.js → state-qqeeq2t9.js} +7 -7
  211. package/dist/chunks/{aisdk-qsdy395h.js → state-qsdy395h.js} +1 -1
  212. package/dist/chunks/{aisdk-awykrb7t.js → state-qsjxsvq7.js} +43 -43
  213. package/dist/chunks/{aisdk-3zmmkmaf.js → state-qv94b06t.js} +8 -8
  214. package/dist/chunks/{aisdk-614h0x94.js → state-qy6sahra.js} +15 -15
  215. package/dist/chunks/{aisdk-zfq801h6.js → state-r01t9b5y.js} +6 -6
  216. package/dist/chunks/{aisdk-a7ca17ex.js → state-r45gbma7.js} +13 -13
  217. package/dist/chunks/{aisdk-tgbbcyzv.js → state-r75f9j48.js} +22 -22
  218. package/dist/chunks/{aisdk-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{aisdk-afbb2www.js → state-rm6wncmf.js} +29 -29
  220. package/dist/chunks/{aisdk-h8tv1jm0.js → state-rmmjpg08.js} +17 -17
  221. package/dist/chunks/{aisdk-7v81x33d.js → state-rpjgfq5s.js} +9 -9
  222. package/dist/chunks/{aisdk-kk1agj7a.js → state-rqhn2029.js} +8 -8
  223. package/dist/chunks/{aisdk-vjs4934y.js → state-rqsrgvme.js} +23 -23
  224. package/dist/chunks/{aisdk-w0vhv3nr.js → state-rykzdxn5.js} +24 -24
  225. package/dist/chunks/{aisdk-tm61rbhm.js → state-s01cwswe.js} +14 -14
  226. package/dist/chunks/{aisdk-bdjtm858.js → state-s5y17vq3.js} +15 -15
  227. package/dist/chunks/{aisdk-d84aefxh.js → state-sa80r6qx.js} +5 -5
  228. package/dist/chunks/{aisdk-fj29krbq.js → state-sd5h2e1z.js} +24 -24
  229. package/dist/chunks/{aisdk-36bfp3ph.js → state-seamasfj.js} +15 -15
  230. package/dist/chunks/{aisdk-k53npxr2.js → state-sfntmzm9.js} +1 -1
  231. package/dist/chunks/{aisdk-x0at58h7.js → state-sqwg4mrh.js} +16 -16
  232. package/dist/chunks/{aisdk-4rsyzgyb.js → state-t11acq0z.js} +10 -10
  233. package/dist/chunks/{aisdk-s8d7rejh.js → state-t550f9t1.js} +4 -4
  234. package/dist/chunks/{aisdk-rnvh3dsy.js → state-t73kc664.js} +20 -20
  235. package/dist/chunks/{aisdk-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{aisdk-tdstcens.js → state-tdstcens.js} +1 -1
  237. package/dist/chunks/{aisdk-0qrsrrf1.js → state-te4wg8hb.js} +8 -8
  238. package/dist/chunks/{aisdk-7v0wrj4c.js → state-tgmyeeeq.js} +5 -5
  239. package/dist/chunks/{aisdk-jv4bkc1v.js → state-tgnbsyzc.js} +24 -24
  240. package/dist/chunks/{aisdk-tvtrv512.js → state-tvtrv512.js} +1 -1
  241. package/dist/chunks/{aisdk-p23am7q5.js → state-v27qvcw0.js} +308 -308
  242. package/dist/chunks/{aisdk-a327e9v3.js → state-v28c62ks.js} +5 -5
  243. package/dist/chunks/{aisdk-1fy9785z.js → state-v3k62wtp.js} +3 -3
  244. package/dist/chunks/{aisdk-qhsdqg8d.js → state-v4sjsb1y.js} +20 -20
  245. package/dist/chunks/{aisdk-veqvce7d.js → state-veqvce7d.js} +1 -1
  246. package/dist/chunks/{aisdk-csea7638.js → state-vfs4gywg.js} +15 -15
  247. package/dist/chunks/{aisdk-qrf18deb.js → state-vgy9r72p.js} +13 -13
  248. package/dist/chunks/{aisdk-bh5r0ywp.js → state-vsn9dek0.js} +4 -4
  249. package/dist/chunks/{aisdk-vtxr0yy2.js → state-vtxr0yy2.js} +2 -2
  250. package/dist/chunks/{aisdk-f4jw3e7w.js → state-vx23e58e.js} +15 -15
  251. package/dist/chunks/{aisdk-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{aisdk-hzn7gray.js → state-w0vds1sa.js} +10 -10
  253. package/dist/chunks/{aisdk-q8j10mn3.js → state-w35smk9y.js} +12 -12
  254. package/dist/chunks/{aisdk-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{aisdk-x53kfsbc.js → state-w6s8wqk9.js} +11 -11
  256. package/dist/chunks/{aisdk-c2g6qb9t.js → state-w6wdv7p0.js} +15 -15
  257. package/dist/chunks/{aisdk-8ew6f0n8.js → state-wa1e4jxq.js} +8 -8
  258. package/dist/chunks/{aisdk-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{aisdk-wd87259q.js → state-wd87259q.js} +1 -1
  260. package/dist/chunks/{aisdk-e66gtfvp.js → state-we8naas4.js} +30 -30
  261. package/dist/chunks/{aisdk-z5j3hngj.js → state-wgpw1z2m.js} +23 -23
  262. package/dist/chunks/{aisdk-m0r31qfn.js → state-wj76ss2k.js} +4 -4
  263. package/dist/chunks/{aisdk-y56ehv6b.js → state-wk5z6jzv.js} +2 -2
  264. package/dist/chunks/{aisdk-8sjp7en6.js → state-wpnzd8g9.js} +73 -73
  265. package/dist/chunks/{aisdk-xzqbnygg.js → state-wsdek6tf.js} +5 -5
  266. package/dist/chunks/{aisdk-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{aisdk-4nd6ya58.js → state-x3w0806v.js} +17 -17
  268. package/dist/chunks/{aisdk-vwxpba44.js → state-xe3pxytk.js} +2 -2
  269. package/dist/chunks/{aisdk-23qf75cd.js → state-xqxmyzxd.js} +11 -11
  270. package/dist/chunks/{aisdk-v79x8jzm.js → state-xvy48wje.js} +4 -4
  271. package/dist/chunks/{aisdk-6xwcf1a8.js → state-y19c3zcv.js} +4 -4
  272. package/dist/chunks/{aisdk-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{aisdk-skyymkrr.js → state-y6f0p4jw.js} +2 -2
  274. package/dist/chunks/{aisdk-dpkg50ah.js → state-y71avatq.js} +4 -4
  275. package/dist/chunks/{aisdk-qzfge27n.js → state-ydm09cmz.js} +19 -19
  276. package/dist/chunks/{aisdk-reqy9a92.js → state-yjybrs9s.js} +21 -21
  277. package/dist/chunks/{aisdk-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{aisdk-yrznvahk.js → state-yrznvahk.js} +2 -2
  279. package/dist/chunks/{aisdk-150yg2gd.js → state-yt3hy1g9.js} +5 -5
  280. package/dist/chunks/{aisdk-z07pqspn.js → state-z07pqspn.js} +3 -3
  281. package/dist/chunks/{aisdk-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{aisdk-9cr4gnp8.js → state-z4a2hn5h.js} +13 -13
  283. package/dist/chunks/{aisdk-z63w68vq.js → state-z63w68vq.js} +2 -2
  284. package/dist/chunks/{aisdk-k0agtv8c.js → state-za2j8b29.js} +13 -13
  285. package/dist/chunks/{aisdk-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{aisdk-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{aisdk-9wsscq4s.js → state-zs9646ss.js} +53 -53
  288. package/dist/chunks/{aisdk-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{aisdk-0a0q6pwz.js → state-zzktyp0b.js} +10 -10
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +83 -83
  295. package/dist/config/discovery.js +84 -84
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +106 -106
  298. package/dist/config/plugin/agent.js +125 -125
  299. package/dist/config/plugin/command.js +214 -214
  300. package/dist/config/plugin/compaction.js +162 -162
  301. package/dist/config/plugin/compatibility.js +141 -141
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +124 -124
  304. package/dist/config/plugin/image.js +123 -123
  305. package/dist/config/plugin/instruction.js +90 -90
  306. package/dist/config/plugin/location-watcher.js +123 -123
  307. package/dist/config/plugin/mcp.js +132 -132
  308. package/dist/config/plugin/policy.js +124 -124
  309. package/dist/config/plugin/provider.js +123 -123
  310. package/dist/config/plugin/reference.js +125 -125
  311. package/dist/config/plugin/shell.js +123 -123
  312. package/dist/config/plugin/skill-file.js +102 -102
  313. package/dist/config/plugin/skill.js +144 -144
  314. package/dist/config/plugin/snapshot.js +123 -123
  315. package/dist/config/plugin/source.js +126 -126
  316. package/dist/config/plugin/tool-output.js +125 -125
  317. package/dist/config/plugin/websearch.js +122 -122
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +128 -128
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +83 -83
  324. package/dist/database/database.js +66 -66
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration.gen.js +49 -49
  390. package/dist/database/migration.js +51 -51
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +76 -76
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +93 -93
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +70 -70
  414. package/dist/file-access.js +104 -104
  415. package/dist/file-mutation.js +94 -94
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +221 -221
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +76 -76
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +101 -101
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +99 -99
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.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 +361 -361
  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 +86 -86
  464. package/dist/job.js +77 -77
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-mutation.js +104 -104
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +81 -81
  473. package/dist/managed-policy.js +1 -1
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +100 -100
  476. package/dist/mcp/instructions.js +128 -128
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +102 -102
  483. package/dist/models-dev.js +95 -95
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +80 -80
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +105 -105
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +104 -104
  494. package/dist/plugin/command.js +101 -101
  495. package/dist/plugin/compaction.js +133 -133
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +332 -332
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +5 -5
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +93 -93
  519. package/dist/plugin/provider/gitlab.js +91 -91
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +94 -94
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +160 -160
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +1 -1
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +347 -347
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +2 -2
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  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 +4 -4
  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 +219 -219
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +80 -80
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +86 -86
  568. package/dist/reference/instructions.js +87 -87
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +95 -95
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +134 -134
  578. package/dist/session/context.js +152 -152
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +124 -124
  585. package/dist/session/generate.js +151 -151
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +84 -84
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +77 -77
  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 +115 -115
  595. package/dist/session/model-transport.js +5 -5
  596. package/dist/session/move.js +126 -126
  597. package/dist/session/projector.js +84 -84
  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 +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +229 -229
  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 +3 -3
  607. package/dist/session/runner/retry.js +114 -114
  608. package/dist/session/runner/step.js +124 -124
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +170 -170
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +85 -85
  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 +150 -150
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +212 -212
  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 +140 -140
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +91 -91
  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 +127 -127
  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 +122 -122
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +213 -213
  647. package/dist/tool/plugin/skill.js +103 -103
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +108 -108
  650. package/dist/tool/plugin/websearch.js +112 -112
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +100 -100
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/types/model-resolver.d.ts +2 -0
  657. package/dist/types/session/model-transport.d.ts +1 -1
  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 +5 -5
  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 +2 -2
  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 +3 -3
  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/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/aisdk-1sq2hj63.js +0 -26
  700. /package/dist/chunks/{aisdk-0mesazry.js → state-0mesazry.js} +0 -0
  701. /package/dist/chunks/{aisdk-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{aisdk-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{aisdk-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{aisdk-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{aisdk-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{aisdk-24dcb14g.js → state-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{aisdk-2710q6r3.js → state-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{aisdk-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{aisdk-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{aisdk-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{aisdk-359p4xyc.js → state-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{aisdk-3asan66x.js → state-3asan66x.js} +0 -0
  713. /package/dist/chunks/{aisdk-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{aisdk-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{aisdk-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{aisdk-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{aisdk-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{aisdk-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{aisdk-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{aisdk-53557ph1.js → state-53557ph1.js} +0 -0
  721. /package/dist/chunks/{aisdk-550bvhaj.js → state-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{aisdk-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{aisdk-6prwharc.js → state-6prwharc.js} +0 -0
  724. /package/dist/chunks/{aisdk-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{aisdk-7m9af43g.js → state-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{aisdk-822emrt2.js → state-822emrt2.js} +0 -0
  727. /package/dist/chunks/{aisdk-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{aisdk-8n3pysct.js → state-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{aisdk-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{aisdk-922hggd3.js → state-922hggd3.js} +0 -0
  731. /package/dist/chunks/{aisdk-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{aisdk-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{aisdk-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{aisdk-af5trqkr.js → state-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{aisdk-afrmfg78.js → state-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{aisdk-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{aisdk-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{aisdk-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{aisdk-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{aisdk-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{aisdk-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{aisdk-d9fn303g.js → state-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{aisdk-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{aisdk-dajrwvna.js → state-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{aisdk-dap0rakb.js → state-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{aisdk-df08tz66.js → state-df08tz66.js} +0 -0
  747. /package/dist/chunks/{aisdk-dy18nga0.js → state-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{aisdk-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{aisdk-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{aisdk-ec1grn59.js → state-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{aisdk-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{aisdk-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{aisdk-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{aisdk-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{aisdk-faypxj3z.js → state-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{aisdk-fd410y7t.js → state-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{aisdk-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{aisdk-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{aisdk-g86h250q.js → state-g86h250q.js} +0 -0
  760. /package/dist/chunks/{aisdk-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{aisdk-gftt206x.js → state-gftt206x.js} +0 -0
  762. /package/dist/chunks/{aisdk-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{aisdk-hk9envan.js → state-hk9envan.js} +0 -0
  764. /package/dist/chunks/{aisdk-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{aisdk-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{aisdk-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{aisdk-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{aisdk-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{aisdk-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{aisdk-mp448xyj.js → state-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{aisdk-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{aisdk-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{aisdk-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{aisdk-njntx4h6.js → state-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{aisdk-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{aisdk-q74kybfr.js → state-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{aisdk-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{aisdk-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{aisdk-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{aisdk-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{aisdk-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{aisdk-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{aisdk-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{aisdk-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{aisdk-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{aisdk-w803qqfp.js → state-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{aisdk-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{aisdk-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{aisdk-wtztk69x.js → state-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{aisdk-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{aisdk-x61499pn.js → state-x61499pn.js} +0 -0
  792. /package/dist/chunks/{aisdk-y44na4kk.js → state-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{aisdk-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{aisdk-y8f7s663.js → state-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{aisdk-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{aisdk-ym463w8f.js → state-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{aisdk-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
10
- render: () => render3
9
+ make: () => make13,
10
+ render: () => render2
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
33
- return render3(system_default, tools);
32
+ function make13(tools) {
33
+ return render2(system_default, tools);
34
34
  }
35
- function render3(prompt, tools) {
35
+ function render2(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make13, render2, exports_system_prompt };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./aisdk-bxw160v3.js";
4
+ } from "./state-pr15s9x7.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./aisdk-9k4dsn9s.js";
8
+ } from "./state-jjs3a33e.js";
9
9
  import {
10
- Service71,
11
- node74
12
- } from "./aisdk-kcafvxea.js";
10
+ Service68,
11
+ node71
12
+ } from "./state-ezrkp374.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./aisdk-gd4qta3r.js";
15
+ } from "./state-gd4qta3r.js";
16
16
  import {
17
- Service55,
17
+ Service51,
18
18
  args2,
19
- node58
20
- } from "./aisdk-qzfge27n.js";
19
+ node54
20
+ } from "./state-ydm09cmz.js";
21
21
  import {
22
- Service67,
23
- node70
24
- } from "./aisdk-30846h32.js";
22
+ Service60,
23
+ node63
24
+ } from "./state-8mbscqky.js";
25
25
  import {
26
- Service54,
27
- node57
28
- } from "./aisdk-hpfvhvya.js";
26
+ Service35,
27
+ node38
28
+ } from "./state-ahd542yp.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./aisdk-skyymkrr.js";
31
+ } from "./state-y6f0p4jw.js";
32
32
  import {
33
33
  latest2,
34
- Service57,
35
- node60
36
- } from "./aisdk-6kj0q6js.js";
34
+ Service42,
35
+ node45
36
+ } from "./state-2rfpmfe1.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./aisdk-q8j10mn3.js";
40
+ } from "./state-w35smk9y.js";
41
41
  import {
42
42
  __export
43
- } from "./aisdk-9rqn6x4v.js";
43
+ } from "./state-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: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service53,
51
+ Service: () => Service34,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node56
54
+ node: () => node37
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service53 extends Context.Service()("@opencode/Shell") {
73
+ class Service34 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service53, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
90
90
  const bus = yield* Service83;
91
91
  const location = yield* Service80;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service55;
94
- const environment = yield* Service71;
95
- const hooks = yield* Service67;
96
- const environments = yield* Service54;
97
- const config = yield* Service57;
93
+ const shell = yield* Service51;
94
+ const environment = yield* Service68;
95
+ const hooks = yield* Service60;
96
+ const environments = yield* Service35;
97
+ const config = yield* Service42;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service53, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError7({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service53, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError7({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service53, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service53.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service34.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node56 = makeLocationNode({
320
- service: Service53,
319
+ var node37 = makeLocationNode({
320
+ service: Service34,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node87,
324
324
  node84,
325
325
  Global.node,
326
- node58,
327
- node74,
328
- node70,
329
- node57,
330
- node60,
326
+ node54,
327
+ node71,
328
+ node63,
329
+ node38,
330
+ node45,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError7, RETENTION2, DIRECTORY2, Service53, cleanup2, node56, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service34, cleanup2, node37, exports_shell4 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service46
3
- } from "./aisdk-reqy9a92.js";
2
+ Service32
3
+ } from "./state-yjybrs9s.js";
4
4
  import {
5
- Service33
6
- } from "./aisdk-b99w0g26.js";
5
+ Service40
6
+ } from "./state-3ppptnan.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./aisdk-q509s3k3.js";
9
+ } from "./state-q509s3k3.js";
10
10
  import {
11
11
  __export
12
- } from "./aisdk-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service33;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
22
+ const instances = yield* Service40;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service32), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./aisdk-bxw160v3.js";
4
+ } from "./state-pr15s9x7.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./aisdk-607q5haz.js";
8
+ } from "./state-afed7ext.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./aisdk-9k4dsn9s.js";
12
+ } from "./state-jjs3a33e.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./aisdk-q509s3k3.js";
15
+ } from "./state-q509s3k3.js";
16
16
  import {
17
- Service58,
18
- node61
19
- } from "./aisdk-sx7145gr.js";
17
+ Service43,
18
+ node46
19
+ } from "./state-q805jq9w.js";
20
20
  import {
21
21
  node19
22
- } from "./aisdk-kk1agj7a.js";
22
+ } from "./state-rqhn2029.js";
23
23
  import {
24
- Service12,
25
- node14
26
- } from "./aisdk-cwa6csj7.js";
24
+ Service11,
25
+ node13
26
+ } from "./state-2sejkfem.js";
27
27
  import {
28
28
  __export
29
- } from "./aisdk-9rqn6x4v.js";
29
+ } from "./state-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
@@ -44,11 +44,11 @@ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
45
  var layer = Layer.effect(Service3, Effect.gen(function* () {
46
46
  const location = yield* Service80;
47
- const watcher = yield* Service58;
47
+ const watcher = yield* Service43;
48
48
  const bus = yield* Service83;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service82;
51
- const policy = yield* Service12;
51
+ const policy = yield* Service11;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
105
105
  var node4 = makeLocationNode({
106
106
  service: Service3,
107
107
  layer,
108
- deps: [node61, FSUtil.node, node84, node86, node87, node19, node14]
108
+ deps: [node46, FSUtil.node, node84, node86, node87, node19, node13]
109
109
  });
110
110
 
111
111
  export { Service3, node4, exports_location_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node76,
13
+ make: () => make21,
14
+ node: () => node73,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make21 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node76 = registryNode2({});
47
+ var node73 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node76, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node73, exports_driver };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./aisdk-1fy9785z.js";
4
+ } from "./state-v3k62wtp.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service83,
8
8
  node87
9
- } from "./aisdk-bxw160v3.js";
9
+ } from "./state-pr15s9x7.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./aisdk-ec1grn59.js";
12
+ } from "./state-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./aisdk-gftt206x.js";
15
+ } from "./state-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./aisdk-vtxr0yy2.js";
18
+ } from "./state-vtxr0yy2.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./aisdk-922hggd3.js";
22
+ } from "./state-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./aisdk-wd3x2cqz.js";
25
+ } from "./state-wd3x2cqz.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./aisdk-z07pqspn.js";
30
+ } from "./state-z07pqspn.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./aisdk-fj48dtty.js";
36
+ } from "./state-eb018chj.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./aisdk-5xpznt2d.js";
42
+ } from "./state-n1ka8r9d.js";
43
43
  import {
44
44
  initialize2
45
- } from "./aisdk-xzbdt9ab.js";
45
+ } from "./state-asxwsg8x.js";
46
46
  import {
47
47
  Slug2
48
- } from "./aisdk-gebd4c9n.js";
48
+ } from "./state-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./aisdk-9rqn6x4v.js";
51
+ } from "./state-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./aisdk-bxw160v3.js";
4
+ } from "./state-pr15s9x7.js";
5
5
  import {
6
6
  environment2
7
- } from "./aisdk-qzfge27n.js";
7
+ } from "./state-ydm09cmz.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./aisdk-sk3qaz4a.js";
10
+ } from "./state-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./aisdk-9rqn6x4v.js";
13
+ } from "./state-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError6,
20
+ Options: () => Options8,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service42,
22
+ Service: () => Service50,
23
23
  UnavailableError: () => UnavailableError2,
24
- configured: () => configured5,
25
- layer: () => layer17,
26
- node: () => node45
24
+ configured: () => configured8,
25
+ layer: () => layer21,
26
+ node: () => node53
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service42 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service50 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service42, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service50, Effect.gen(function* () {
53
53
  const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service42, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError4({ ptyID: id });
75
+ return yield* new NotFoundError6({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service42, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service42.of({
242
+ return Service50.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service42, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer17 = makeLayer();
259
- var configured5 = (options) => makeGlobalNode({
260
- service: Service42,
261
- layer: options === undefined ? layer17 : makeLayer(options),
258
+ var layer21 = makeLayer();
259
+ var configured8 = (options) => makeGlobalNode({
260
+ service: Service50,
261
+ layer: options === undefined ? layer21 : makeLayer(options),
262
262
  deps: [node87, Global.node]
263
263
  });
264
- var node45 = configured5();
264
+ var node53 = configured8();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError4, Service42, layer17, configured5, node45, exports_persistent_pty, Handoff2 };
304
+ export { Options8, UnavailableError2, NotFoundError6, Service50, layer21, configured8, node53, exports_persistent_pty, Handoff2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./aisdk-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./aisdk-bxw160v3.js";
4
+ } from "./state-pr15s9x7.js";
5
5
  import {
6
- Service28,
7
- node31
8
- } from "./aisdk-301trp6s.js";
6
+ Service30,
7
+ node33
8
+ } from "./state-f6e6ss5q.js";
9
9
  import {
10
- Service63,
11
- node66
12
- } from "./aisdk-9ajwmfn8.js";
10
+ Service57,
11
+ node60
12
+ } from "./state-06fa46aw.js";
13
13
  import {
14
- Service38,
15
- node41
16
- } from "./aisdk-njm9g9x3.js";
14
+ Service31,
15
+ node34
16
+ } from "./state-4d234pj1.js";
17
17
  import {
18
18
  __export
19
- } from "./aisdk-9rqn6x4v.js";
19
+ } from "./state-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service24,
26
- layer: () => layer10,
27
- name: () => name13,
25
+ Service: () => Service29,
26
+ layer: () => layer12,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node28
29
+ node: () => node32
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service24 extends Context.Service()("@opencode/McpTool") {
38
+ class Service29 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer10 = Layer.effect(Service24, Effect.gen(function* () {
41
- const mcp = yield* Service28;
42
- const tools = yield* Service38;
40
+ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
41
+ const mcp = yield* Service30;
42
+ const tools = yield* Service31;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service63;
44
+ const permission = yield* Service57;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service24.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node28 = makeLocationNode({
124
- service: Service24,
125
- layer: layer10,
126
- deps: [node41, node31, node87, node66]
123
+ var node32 = makeLocationNode({
124
+ service: Service29,
125
+ layer: layer12,
126
+ deps: [node34, node33, node87, node60]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service24, layer10, node28, exports_mcp3 };
129
+ export { namespace2, name14, Service29, layer12, node32, exports_mcp3 };