@opencode-ai/core 0.0.0-beta-19124 → 0.0.0-beta-19129

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{event-logger-c9cdp0vn.js → pty-008qgtj7.js} +12 -12
  9. package/dist/chunks/{event-logger-bzrqex1b.js → pty-00nfbmm6.js} +28 -28
  10. package/dist/chunks/{event-logger-92avn38j.js → pty-0363n1t5.js} +9 -9
  11. package/dist/chunks/{event-logger-vd4s1zsg.js → pty-07bmqgvp.js} +13 -13
  12. package/dist/chunks/{event-logger-5c1zb16k.js → pty-0avfzrjc.js} +25 -25
  13. package/dist/chunks/{event-logger-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
  14. package/dist/chunks/{event-logger-cpy6gm2a.js → pty-0gaj4617.js} +4 -4
  15. package/dist/chunks/{event-logger-rkkn0pd8.js → pty-0p9r6mft.js} +9 -9
  16. package/dist/chunks/{event-logger-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{event-logger-0rag4e4f.js → pty-0rag4e4f.js} +1 -1
  18. package/dist/chunks/{event-logger-hhhknvt0.js → pty-0rbnrynr.js} +8 -8
  19. package/dist/chunks/{event-logger-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
  20. package/dist/chunks/pty-0t58jqdp.js +247 -0
  21. package/dist/chunks/{event-logger-z54mf0m5.js → pty-0vydt2xt.js} +37 -37
  22. package/dist/chunks/{event-logger-ar3vq2rb.js → pty-0ywnm299.js} +12 -12
  23. package/dist/chunks/{event-logger-xf2wyvfy.js → pty-1459b0x6.js} +14 -14
  24. package/dist/chunks/{event-logger-65qy5zc3.js → pty-19g5gqh3.js} +27 -27
  25. package/dist/chunks/{event-logger-4w2mg71f.js → pty-1bbszw8w.js} +16 -16
  26. package/dist/chunks/{event-logger-q8ktfbaq.js → pty-1c5j02v1.js} +47 -47
  27. package/dist/chunks/{event-logger-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
  28. package/dist/chunks/{event-logger-ppjnvzpn.js → pty-1hb2jj92.js} +11 -11
  29. package/dist/chunks/{event-logger-qt60dt5t.js → pty-1sbqnd7p.js} +6 -6
  30. package/dist/chunks/{event-logger-082zmtg6.js → pty-1vxvbkdw.js} +6 -6
  31. package/dist/chunks/{event-logger-zk5b56gg.js → pty-1wbsj790.js} +21 -21
  32. package/dist/chunks/{event-logger-re7npzcd.js → pty-1we85e4n.js} +32 -32
  33. package/dist/chunks/{event-logger-8ab07kvc.js → pty-1wm9p8v7.js} +24 -24
  34. package/dist/chunks/pty-1x11rq2a.js +18 -0
  35. package/dist/chunks/{event-logger-h722e297.js → pty-1ydgq2r4.js} +5 -5
  36. package/dist/chunks/{event-logger-21r38tys.js → pty-21r38tys.js} +1 -1
  37. package/dist/chunks/{event-logger-z63w68vq.js → pty-29x78va6.js} +6 -6
  38. package/dist/chunks/{event-logger-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{event-logger-cn8d14z9.js → pty-2aqpvcef.js} +27 -27
  40. package/dist/chunks/{event-logger-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
  41. package/dist/chunks/{event-logger-2jqmte8w.js → pty-2jqmte8w.js} +2 -2
  42. package/dist/chunks/{event-logger-8ct07e69.js → pty-2vw6f4gm.js} +9 -9
  43. package/dist/chunks/{event-logger-4crm0y3y.js → pty-2wkcjqsg.js} +1 -1
  44. package/dist/chunks/{event-logger-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{event-logger-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{event-logger-65rxya3j.js → pty-3hfmeb9q.js} +37 -37
  47. package/dist/chunks/{event-logger-3jj6bjb6.js → pty-3jj6bjb6.js} +2 -2
  48. package/dist/chunks/{event-logger-p08wj8bf.js → pty-3khkq25c.js} +10 -10
  49. package/dist/chunks/{event-logger-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{event-logger-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{event-logger-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{event-logger-5mp6hy2y.js → pty-3w073660.js} +19 -19
  53. package/dist/chunks/{event-logger-n6wnzfnt.js → pty-3wx44s71.js} +9 -9
  54. package/dist/chunks/{event-logger-yn9v8pzf.js → pty-3zdgt117.js} +4 -4
  55. package/dist/chunks/{event-logger-kbg9q44r.js → pty-403y7qtc.js} +11 -11
  56. package/dist/chunks/{event-logger-454k5vzh.js → pty-454k5vzh.js} +1 -1
  57. package/dist/chunks/{event-logger-aymbgepw.js → pty-4qfjm3y1.js} +19 -19
  58. package/dist/chunks/{event-logger-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
  59. package/dist/chunks/{event-logger-8m379ac9.js → pty-4rnz283z.js} +7 -7
  60. package/dist/chunks/{event-logger-3xfkzkzd.js → pty-4sz2x7hf.js} +7 -7
  61. package/dist/chunks/{event-logger-pxhak851.js → pty-4vp46et4.js} +6 -6
  62. package/dist/chunks/{event-logger-4x0nmcjx.js → pty-4x0nmcjx.js} +2 -2
  63. package/dist/chunks/{event-logger-jqhng384.js → pty-51e9twpg.js} +280 -280
  64. package/dist/chunks/{event-logger-0wc4szmq.js → pty-577gck9x.js} +1 -1
  65. package/dist/chunks/{event-logger-00s3pqt3.js → pty-5aq0nxp3.js} +16 -16
  66. package/dist/chunks/{event-logger-28nhnrpr.js → pty-5b9mh310.js} +22 -22
  67. package/dist/chunks/{event-logger-5daktx2q.js → pty-5daktx2q.js} +1 -1
  68. package/dist/chunks/{event-logger-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
  69. package/dist/chunks/{event-logger-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
  70. package/dist/chunks/{event-logger-j935v87r.js → pty-5qd3pb7m.js} +2 -2
  71. package/dist/chunks/{event-logger-5sg4xzjf.js → pty-5sg4xzjf.js} +1 -1
  72. package/dist/chunks/{event-logger-ah7grg4z.js → pty-63k70rre.js} +18 -18
  73. package/dist/chunks/{event-logger-p2k6rx42.js → pty-693tgxwd.js} +35 -35
  74. package/dist/chunks/{event-logger-1z80kc63.js → pty-6e958v7x.js} +8 -8
  75. package/dist/chunks/{event-logger-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  76. package/dist/chunks/{event-logger-n6g7b5d4.js → pty-6jea8mds.js} +16 -16
  77. package/dist/chunks/{event-logger-65xfkb7w.js → pty-6my8ebcr.js} +4 -4
  78. package/dist/chunks/{event-logger-6tf8tr4v.js → pty-6tf8tr4v.js} +2 -2
  79. package/dist/chunks/{event-logger-711hfp6y.js → pty-711hfp6y.js} +2 -2
  80. package/dist/chunks/{event-logger-xy8v4fm7.js → pty-71c4ctfp.js} +24 -24
  81. package/dist/chunks/{event-logger-qja7rspw.js → pty-759pz1a2.js} +8 -8
  82. package/dist/chunks/{event-logger-1xtv6dmm.js → pty-76ma23qb.js} +17 -17
  83. package/dist/chunks/{event-logger-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{event-logger-2k8khapm.js → pty-7dqw4kz8.js} +5 -5
  85. package/dist/chunks/{event-logger-jbxj9y91.js → pty-7k8mdtae.js} +10 -10
  86. package/dist/chunks/{event-logger-bezsr0nz.js → pty-7n1wp2cn.js} +20 -20
  87. package/dist/chunks/{event-logger-10jtetaj.js → pty-7w3s9kd0.js} +4 -4
  88. package/dist/chunks/{event-logger-2st7rw5q.js → pty-7zvydh0p.js} +11 -11
  89. package/dist/chunks/{event-logger-85awaqv8.js → pty-8w99qwke.js} +11 -11
  90. package/dist/chunks/{event-logger-dzfg11yk.js → pty-8wng66kw.js} +23 -23
  91. package/dist/chunks/{event-logger-yba16dxq.js → pty-8yr65315.js} +4 -4
  92. package/dist/chunks/{event-logger-x90cphh5.js → pty-92y7g8ad.js} +11 -11
  93. package/dist/chunks/{event-logger-93a8yfjt.js → pty-93a8yfjt.js} +2 -2
  94. package/dist/chunks/{event-logger-ssg93tm8.js → pty-94ms672g.js} +3 -3
  95. package/dist/chunks/{event-logger-5jayeb3j.js → pty-96gb8wnx.js} +8 -8
  96. package/dist/chunks/{event-logger-07dcg4f5.js → pty-97mrdvqz.js} +17 -17
  97. package/dist/chunks/{event-logger-637qq8n2.js → pty-9d4vrqc0.js} +9 -9
  98. package/dist/chunks/{event-logger-redfcqdd.js → pty-9hq8x1wg.js} +4 -4
  99. package/dist/chunks/{event-logger-aae7qk0j.js → pty-9j3029qe.js} +9 -9
  100. package/dist/chunks/{event-logger-v6fy9za8.js → pty-9rb0g439.js} +28 -28
  101. package/dist/chunks/pty-9zwhrd2p.js +4 -0
  102. package/dist/chunks/pty-a0w3frjs.js +22 -0
  103. package/dist/chunks/{event-logger-df0c2mh7.js → pty-a40eyqg5.js} +18 -18
  104. package/dist/chunks/{event-logger-16r38w9g.js → pty-a615ws19.js} +4 -4
  105. package/dist/chunks/{event-logger-fwv1yqzw.js → pty-a95b1rzb.js} +18 -18
  106. package/dist/chunks/{event-logger-aaet6srn.js → pty-aaet6srn.js} +2 -2
  107. package/dist/chunks/{event-logger-kxch3v52.js → pty-actzaqhd.js} +26 -26
  108. package/dist/chunks/{event-logger-xw0r27ex.js → pty-ag4rn41e.js} +4 -4
  109. package/dist/chunks/{event-logger-47b3sbnz.js → pty-amgxn0m4.js} +41 -41
  110. package/dist/chunks/{event-logger-kfyw9f0s.js → pty-b0mtdz8k.js} +25 -25
  111. package/dist/chunks/{event-logger-x6bh0d7a.js → pty-b1bsdq9a.js} +8 -8
  112. package/dist/chunks/{event-logger-b1najej0.js → pty-b5g03hab.js} +9 -9
  113. package/dist/chunks/{event-logger-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{event-logger-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
  115. package/dist/chunks/{event-logger-7mx8k0q7.js → pty-baqx186v.js} +6 -6
  116. package/dist/chunks/{event-logger-j83byb14.js → pty-bct739vz.js} +4 -4
  117. package/dist/chunks/{event-logger-9r3tzwf8.js → pty-be52w0n4.js} +25 -25
  118. package/dist/chunks/{event-logger-tksywzaq.js → pty-be60nag3.js} +1 -1
  119. package/dist/chunks/{event-logger-c4p254r2.js → pty-bj2c3eqn.js} +11 -11
  120. package/dist/chunks/{event-logger-brevw2rp.js → pty-bp2y3dz3.js} +15 -15
  121. package/dist/chunks/{event-logger-t15nzqa6.js → pty-bq6az8vb.js} +1 -1
  122. package/dist/chunks/{event-logger-j6q9fy2f.js → pty-bsfcvmm2.js} +3 -3
  123. package/dist/chunks/{event-logger-3n6w8qeh.js → pty-bzq1f2yq.js} +21 -21
  124. package/dist/chunks/{event-logger-amahfvfq.js → pty-c0ggnrvh.js} +13 -13
  125. package/dist/chunks/{event-logger-3je9ha5z.js → pty-cfsy2wpb.js} +31 -31
  126. package/dist/chunks/{event-logger-n600s6ej.js → pty-cfwzd6ef.js} +12 -12
  127. package/dist/chunks/{event-logger-cfcd82q6.js → pty-cpkp23c7.js} +10 -10
  128. package/dist/chunks/{event-logger-2cvfr09c.js → pty-cq8wrtqn.js} +7 -7
  129. package/dist/chunks/{event-logger-hjzj6vwa.js → pty-ct6p9e56.js} +10 -10
  130. package/dist/chunks/{event-logger-4vtp7hga.js → pty-ctwxaq1f.js} +3 -3
  131. package/dist/chunks/{event-logger-x4kfdah3.js → pty-cwfwshwn.js} +34 -34
  132. package/dist/chunks/{event-logger-rt2rznzy.js → pty-cznc2qrv.js} +9 -9
  133. package/dist/chunks/{event-logger-z1g5cset.js → pty-dc9emjf0.js} +3 -3
  134. package/dist/chunks/{event-logger-5p36vnsq.js → pty-e1qkg8tm.js} +15 -15
  135. package/dist/chunks/{event-logger-1bbkgx8g.js → pty-eq1pz5kg.js} +3 -3
  136. package/dist/chunks/{event-logger-yzjhj2th.js → pty-eqyz6y0f.js} +58 -58
  137. package/dist/chunks/{event-logger-n9s43yzq.js → pty-exrgs9wp.js} +10 -10
  138. package/dist/chunks/{event-logger-pc12brnn.js → pty-f08hbj4m.js} +27 -27
  139. package/dist/chunks/{event-logger-jteae0j7.js → pty-fc5mkwbz.js} +3 -3
  140. package/dist/chunks/{event-logger-jfbh8m2n.js → pty-fn68vvm1.js} +24 -24
  141. package/dist/chunks/{event-logger-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  142. package/dist/chunks/{event-logger-fxypknc8.js → pty-fxypknc8.js} +1 -1
  143. package/dist/chunks/{event-logger-j8nnq7em.js → pty-fyzy9awj.js} +1 -1
  144. package/dist/chunks/{event-logger-hrvm11jt.js → pty-g2dy4bvs.js} +3 -3
  145. package/dist/chunks/{event-logger-d72308c8.js → pty-g2gt0w0k.js} +2 -2
  146. package/dist/chunks/{event-logger-ryr25ayn.js → pty-g8d3gcyj.js} +7 -7
  147. package/dist/chunks/{event-logger-0v1ejg55.js → pty-gd248znf.js} +18 -18
  148. package/dist/chunks/{event-logger-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{event-logger-cw5md1zh.js → pty-gf185zmw.js} +17 -17
  150. package/dist/chunks/{event-logger-x58c4bx0.js → pty-gfsgf35y.js} +5 -5
  151. package/dist/chunks/{event-logger-2h6s9956.js → pty-ghzvc9jv.js} +30 -30
  152. package/dist/chunks/{event-logger-57m8p4qp.js → pty-gnar656t.js} +10 -10
  153. package/dist/chunks/{event-logger-5ypfxmn1.js → pty-graq44t8.js} +2 -2
  154. package/dist/chunks/{event-logger-snz9vtbe.js → pty-gts5f7ad.js} +60 -60
  155. package/dist/chunks/{event-logger-0nhqfpxa.js → pty-gxeqtc45.js} +9 -9
  156. package/dist/chunks/{event-logger-ecjyhxv0.js → pty-gy57ja53.js} +12 -12
  157. package/dist/chunks/{event-logger-g6wnemy4.js → pty-h50kfk2b.js} +13 -13
  158. package/dist/chunks/{event-logger-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{event-logger-12wcht6n.js → pty-h95089yr.js} +22 -22
  160. package/dist/chunks/{event-logger-f03pjn97.js → pty-hbax5y4r.js} +22 -22
  161. package/dist/chunks/{event-logger-c2khgprk.js → pty-hcz6m02t.js} +15 -15
  162. package/dist/chunks/{event-logger-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{event-logger-9xvrg3b1.js → pty-hhv3cd3z.js} +1 -1
  164. package/dist/chunks/{event-logger-e4x9q39t.js → pty-hkzxevja.js} +9 -9
  165. package/dist/chunks/{event-logger-7tq9gac0.js → pty-hqhp5amc.js} +25 -25
  166. package/dist/chunks/{event-logger-w4h8rkf0.js → pty-j2n289q7.js} +6 -6
  167. package/dist/chunks/{event-logger-4taktcvc.js → pty-j5w0a358.js} +8 -8
  168. package/dist/chunks/{event-logger-7fh311k0.js → pty-jab386st.js} +12 -12
  169. package/dist/chunks/{event-logger-jasnfvjs.js → pty-jasnfvjs.js} +3 -3
  170. package/dist/chunks/{event-logger-pre7wgsd.js → pty-jb7pc305.js} +46 -46
  171. package/dist/chunks/{event-logger-wf1mfr52.js → pty-jv6tbxxe.js} +8 -8
  172. package/dist/chunks/{event-logger-keawj43j.js → pty-jxyej7y6.js} +11 -11
  173. package/dist/chunks/{event-logger-mq9r6drf.js → pty-jysfrgga.js} +3 -3
  174. package/dist/chunks/{event-logger-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{event-logger-yhtqjkzd.js → pty-k558dr3h.js} +6 -6
  176. package/dist/chunks/{event-logger-pg99br7g.js → pty-k65x9esf.js} +10 -10
  177. package/dist/chunks/{event-logger-erw4kpzp.js → pty-kcb6z3jk.js} +4 -4
  178. package/dist/chunks/{event-logger-1n0se4en.js → pty-kd0z462q.js} +18 -18
  179. package/dist/chunks/{event-logger-6vq97qmv.js → pty-kerhshr9.js} +5 -5
  180. package/dist/chunks/{event-logger-kg06axw8.js → pty-kg06axw8.js} +1 -1
  181. package/dist/chunks/{event-logger-4ttmm7zd.js → pty-kh5wzj48.js} +35 -35
  182. package/dist/chunks/{event-logger-yfbd16n1.js → pty-kk3rr3qh.js} +5 -5
  183. package/dist/chunks/{event-logger-825xseqb.js → pty-ktgp4y5h.js} +10 -10
  184. package/dist/chunks/{event-logger-hw4pv20g.js → pty-kvsjn1dr.js} +2 -2
  185. package/dist/chunks/{event-logger-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{event-logger-a089b8en.js → pty-maf5n4v0.js} +11 -11
  187. package/dist/chunks/{event-logger-92g85qkt.js → pty-mj6q7gvy.js} +15 -15
  188. package/dist/chunks/{event-logger-m3eazqpa.js → pty-mmt6p78x.js} +24 -24
  189. package/dist/chunks/{event-logger-9m7v4qnm.js → pty-msqtn7fd.js} +15 -15
  190. package/dist/chunks/{event-logger-yj1cwwh1.js → pty-n3qm3e12.js} +11 -11
  191. package/dist/chunks/{event-logger-q178der0.js → pty-n7x3jcdn.js} +9 -9
  192. package/dist/chunks/{event-logger-xaqvfbh0.js → pty-na4p81s6.js} +12 -12
  193. package/dist/chunks/{event-logger-qj716cw9.js → pty-ndgdc4c9.js} +11 -11
  194. package/dist/chunks/{event-logger-hc8apxh6.js → pty-nmg9j082.js} +29 -29
  195. package/dist/chunks/{event-logger-2mqy9ydc.js → pty-nmjynsra.js} +45 -45
  196. package/dist/chunks/{event-logger-22drdanb.js → pty-nry7nvbp.js} +24 -24
  197. package/dist/chunks/{event-logger-1qw2s0et.js → pty-nxrz604p.js} +5 -5
  198. package/dist/chunks/{event-logger-1ezz2wmh.js → pty-p3ds9s6g.js} +3 -3
  199. package/dist/chunks/{event-logger-hz5hqkd0.js → pty-pcxcrysh.js} +18 -18
  200. package/dist/chunks/{event-logger-50whrf1e.js → pty-pjdqv3xm.js} +11 -11
  201. package/dist/chunks/{event-logger-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{event-logger-r3nfe89y.js → pty-pk02mbyy.js} +28 -28
  203. package/dist/chunks/{event-logger-pknna89w.js → pty-pknna89w.js} +1 -1
  204. package/dist/chunks/{event-logger-m6rmdee7.js → pty-ps7tg90p.js} +24 -24
  205. package/dist/chunks/{event-logger-yjj59j99.js → pty-q0zss3w0.js} +18 -18
  206. package/dist/chunks/{event-logger-vyh7b9b2.js → pty-q38gg7qs.js} +13 -13
  207. package/dist/chunks/{event-logger-bpnz08mb.js → pty-qepd2pkj.js} +2 -2
  208. package/dist/chunks/{event-logger-4yxs9dbd.js → pty-qhehnkc2.js} +23 -23
  209. package/dist/chunks/{event-logger-5c3qnfth.js → pty-qnzq15jm.js} +7 -7
  210. package/dist/chunks/{event-logger-x6a99p7m.js → pty-qs7zdahm.js} +5 -5
  211. package/dist/chunks/{event-logger-qsdy395h.js → pty-qsdy395h.js} +1 -1
  212. package/dist/chunks/{event-logger-9qm9egsn.js → pty-qvbcabdc.js} +2 -2
  213. package/dist/chunks/{event-logger-b84bthst.js → pty-qydr0h4k.js} +22 -22
  214. package/dist/chunks/{event-logger-xzz8m99m.js → pty-r0av7t19.js} +30 -30
  215. package/dist/chunks/{event-logger-f4kct4fj.js → pty-r79tve40.js} +75 -75
  216. package/dist/chunks/{event-logger-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
  217. package/dist/chunks/{event-logger-qk60q5g0.js → pty-rbjghvkh.js} +29 -29
  218. package/dist/chunks/{event-logger-p8n9hqs2.js → pty-rgnb5s7e.js} +4 -4
  219. package/dist/chunks/{event-logger-kkxc5154.js → pty-rh6rd7ag.js} +4 -4
  220. package/dist/chunks/{event-logger-5fww7ark.js → pty-rha7dayt.js} +10 -10
  221. package/dist/chunks/{event-logger-ptcr5d7p.js → pty-rp0x3qp0.js} +5 -5
  222. package/dist/chunks/{event-logger-g8jrjr0k.js → pty-rp8r0d5g.js} +26 -26
  223. package/dist/chunks/{event-logger-qz0eehcw.js → pty-rq421gwk.js} +15 -15
  224. package/dist/chunks/{event-logger-t00n1yfv.js → pty-s0gfpzhy.js} +8 -8
  225. package/dist/chunks/{event-logger-6z5bwd8g.js → pty-saak5ttd.js} +6 -6
  226. package/dist/chunks/{event-logger-1cngsnb6.js → pty-sb910js5.js} +20 -20
  227. package/dist/chunks/{event-logger-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
  228. package/dist/chunks/{event-logger-7ekmjv5k.js → pty-scd9nzg0.js} +2 -2
  229. package/dist/chunks/{event-logger-d3qtrs71.js → pty-seka0gvy.js} +4 -4
  230. package/dist/chunks/{event-logger-sn6d8wk1.js → pty-shtw02y9.js} +19 -19
  231. package/dist/chunks/{event-logger-j1py3mfn.js → pty-sy5z5695.js} +164 -164
  232. package/dist/chunks/{event-logger-mp43ttd6.js → pty-szkq7e78.js} +20 -20
  233. package/dist/chunks/{event-logger-3wgash5j.js → pty-t33fapxs.js} +11 -11
  234. package/dist/chunks/{event-logger-k1fx3rh1.js → pty-t39q75fx.js} +13 -13
  235. package/dist/chunks/{event-logger-t3daf40q.js → pty-t3daf40q.js} +3 -3
  236. package/dist/chunks/{event-logger-dn08ahxn.js → pty-t3v3vr71.js} +34 -34
  237. package/dist/chunks/{event-logger-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{event-logger-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{event-logger-rwbhhn1p.js → pty-tdt6s1r3.js} +8 -8
  240. package/dist/chunks/{event-logger-bphmvjfp.js → pty-thfv75je.js} +5 -5
  241. package/dist/chunks/{event-logger-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
  242. package/dist/chunks/{event-logger-vysbh40w.js → pty-tk2yzb1v.js} +5 -5
  243. package/dist/chunks/{event-logger-2g399ttb.js → pty-tp89m72a.js} +6 -6
  244. package/dist/chunks/{event-logger-r08t1rec.js → pty-ttbkqz8v.js} +6 -6
  245. package/dist/chunks/{event-logger-jk8v4ysk.js → pty-twvb3q6j.js} +22 -22
  246. package/dist/chunks/{event-logger-j2sh7cb4.js → pty-vb336b53.js} +5 -5
  247. package/dist/chunks/{event-logger-3z8dkpqv.js → pty-vh2xdqjs.js} +25 -25
  248. package/dist/chunks/{event-logger-9xybsmp2.js → pty-vjgwbf9e.js} +15 -15
  249. package/dist/chunks/{event-logger-fd84j5ds.js → pty-vkpagyjs.js} +8 -8
  250. package/dist/chunks/{event-logger-dsf4qpn2.js → pty-vn9f2x03.js} +14 -14
  251. package/dist/chunks/{event-logger-hdqmeh3c.js → pty-vrktewq8.js} +25 -25
  252. package/dist/chunks/{event-logger-8p0zspew.js → pty-vywxfc32.js} +41 -41
  253. package/dist/chunks/{event-logger-6vtbmr7p.js → pty-w1r5ypf7.js} +25 -25
  254. package/dist/chunks/{event-logger-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{event-logger-vwbmxwbe.js → pty-wafa9yr2.js} +20 -20
  256. package/dist/chunks/{event-logger-31rwmws4.js → pty-wahfyr88.js} +11 -11
  257. package/dist/chunks/{event-logger-9s6t48vc.js → pty-wcj1zaj1.js} +52 -52
  258. package/dist/chunks/{event-logger-wd87259q.js → pty-wd87259q.js} +1 -1
  259. package/dist/chunks/{event-logger-7vg7b77p.js → pty-wdq8bkk0.js} +21 -21
  260. package/dist/chunks/{event-logger-ydk5gqry.js → pty-wrtxarjq.js} +16 -16
  261. package/dist/chunks/{event-logger-5ssd2kfs.js → pty-wxcf70d6.js} +14 -14
  262. package/dist/chunks/{event-logger-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{event-logger-9969c03r.js → pty-x5hde6ee.js} +4 -4
  264. package/dist/chunks/{event-logger-1vjz4200.js → pty-xk0vfajd.js} +10 -10
  265. package/dist/chunks/{event-logger-9dvsnz4e.js → pty-xqe0fhba.js} +5 -5
  266. package/dist/chunks/{event-logger-trpkjvmn.js → pty-xwq131f5.js} +43 -43
  267. package/dist/chunks/{event-logger-tydrpyjm.js → pty-xy4dk1dp.js} +6 -6
  268. package/dist/chunks/{event-logger-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{event-logger-8xy158zb.js → pty-y5bfzsd4.js} +19 -19
  270. package/dist/chunks/{event-logger-y71avatq.js → pty-y71avatq.js} +1 -1
  271. package/dist/chunks/{event-logger-jbmjz4v3.js → pty-y974v3mv.js} +4 -4
  272. package/dist/chunks/{event-logger-ajtjthsy.js → pty-yg7sb877.js} +2 -2
  273. package/dist/chunks/{event-logger-gf4sh87j.js → pty-ythy6836.js} +1 -1
  274. package/dist/chunks/{event-logger-14h757nk.js → pty-ytrgf914.js} +11 -11
  275. package/dist/chunks/{event-logger-5xcxm97n.js → pty-yxw0cavp.js} +7 -7
  276. package/dist/chunks/{event-logger-qte34krb.js → pty-yyy5ev01.js} +25 -25
  277. package/dist/chunks/{event-logger-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
  278. package/dist/chunks/{event-logger-djtdz80w.js → pty-z3xgatyd.js} +4 -4
  279. package/dist/chunks/{event-logger-jjzmpkqm.js → pty-z78tg67p.js} +5 -5
  280. package/dist/chunks/{event-logger-12m9a30f.js → pty-zbqrk12b.js} +13 -13
  281. package/dist/chunks/{event-logger-ywes9ebt.js → pty-zdk6vxsj.js} +79 -79
  282. package/dist/chunks/{event-logger-h6qrvrep.js → pty-zx7jt85y.js} +24 -24
  283. package/dist/chunks/{event-logger-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{event-logger-jhaj8wq0.js → pty-zya0p8p9.js} +20 -20
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +114 -114
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +114 -114
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +114 -114
  300. package/dist/config/plugin/mcp.js +123 -123
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +115 -115
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +132 -132
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +114 -114
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +112 -112
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +214 -214
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +93 -93
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +78 -78
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +3 -3
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +3 -3
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +6 -6
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +81 -81
  450. package/dist/instructions/builtins.js +82 -82
  451. package/dist/instructions/index.js +5 -5
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +83 -83
  454. package/dist/job.js +75 -75
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +81 -81
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +82 -82
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +100 -100
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +3 -3
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +8 -8
  471. package/dist/models-dev.js +80 -80
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +111 -111
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +86 -86
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +96 -96
  482. package/dist/plugin/command.js +93 -93
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +2 -2
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +3 -3
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +1 -1
  534. package/dist/plugin/update.js +4 -4
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +4 -4
  543. package/dist/plugin/websearch/parallel.js +8 -8
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +222 -222
  546. package/dist/project/schema.js +6 -6
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +7 -7
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +84 -84
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +7 -7
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +144 -144
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +84 -84
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +87 -87
  577. package/dist/session/message-updater.js +4 -4
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +108 -108
  580. package/dist/session/model-transport.js +5 -5
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +165 -165
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +1 -1
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +209 -209
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +9 -9
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +2 -2
  615. package/dist/skill/instructions.js +101 -101
  616. package/dist/skill.js +104 -104
  617. package/dist/snapshot.js +82 -82
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +117 -117
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +119 -119
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +114 -114
  628. package/dist/tool/plugin/question.js +97 -97
  629. package/dist/tool/plugin/read.js +120 -120
  630. package/dist/tool/plugin/shell.js +208 -208
  631. package/dist/tool/plugin/skill.js +107 -107
  632. package/dist/tool/plugin/subagent.js +206 -206
  633. package/dist/tool/plugin/webfetch.js +106 -106
  634. package/dist/tool/plugin/websearch.js +104 -104
  635. package/dist/tool/plugin/write.js +108 -108
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +11 -11
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +7 -7
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +5 -5
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +3 -3
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +2 -2
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +82 -82
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +77 -77
  669. package/dist/workspace/driver.js +5 -5
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +2 -2
  673. package/dist/worktree/git.js +5 -5
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +87 -87
  677. package/package.json +7 -7
  678. package/dist/chunks/event-logger-7zk4hah4.js +0 -4
  679. package/dist/chunks/event-logger-9zdhvgqs.js +0 -18
  680. package/dist/chunks/event-logger-jj13rngr.js +0 -22
  681. package/dist/chunks/event-logger-ze44yzpk.js +0 -247
  682. /package/dist/chunks/{event-logger-0fabt78z.js → pty-0fabt78z.js} +0 -0
  683. /package/dist/chunks/{event-logger-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{event-logger-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{event-logger-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{event-logger-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{event-logger-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{event-logger-2710q6r3.js → pty-2710q6r3.js} +0 -0
  689. /package/dist/chunks/{event-logger-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  690. /package/dist/chunks/{event-logger-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  691. /package/dist/chunks/{event-logger-359p4xyc.js → pty-359p4xyc.js} +0 -0
  692. /package/dist/chunks/{event-logger-3asan66x.js → pty-3asan66x.js} +0 -0
  693. /package/dist/chunks/{event-logger-3t738kvx.js → pty-3t738kvx.js} +0 -0
  694. /package/dist/chunks/{event-logger-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  695. /package/dist/chunks/{event-logger-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  696. /package/dist/chunks/{event-logger-41nvscxy.js → pty-41nvscxy.js} +0 -0
  697. /package/dist/chunks/{event-logger-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  698. /package/dist/chunks/{event-logger-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  699. /package/dist/chunks/{event-logger-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  700. /package/dist/chunks/{event-logger-53557ph1.js → pty-53557ph1.js} +0 -0
  701. /package/dist/chunks/{event-logger-550bvhaj.js → pty-550bvhaj.js} +0 -0
  702. /package/dist/chunks/{event-logger-6prwharc.js → pty-6prwharc.js} +0 -0
  703. /package/dist/chunks/{event-logger-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  704. /package/dist/chunks/{event-logger-7m9af43g.js → pty-7m9af43g.js} +0 -0
  705. /package/dist/chunks/{event-logger-822emrt2.js → pty-822emrt2.js} +0 -0
  706. /package/dist/chunks/{event-logger-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{event-logger-8n3pysct.js → pty-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{event-logger-982e01ww.js → pty-982e01ww.js} +0 -0
  709. /package/dist/chunks/{event-logger-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{event-logger-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{event-logger-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{event-logger-af5trqkr.js → pty-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{event-logger-afrmfg78.js → pty-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{event-logger-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{event-logger-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{event-logger-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{event-logger-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{event-logger-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{event-logger-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{event-logger-d9fn303g.js → pty-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{event-logger-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{event-logger-dajrwvna.js → pty-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{event-logger-dap0rakb.js → pty-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{event-logger-df08tz66.js → pty-df08tz66.js} +0 -0
  725. /package/dist/chunks/{event-logger-dy18nga0.js → pty-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{event-logger-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{event-logger-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{event-logger-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{event-logger-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{event-logger-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{event-logger-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{event-logger-faypxj3z.js → pty-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{event-logger-fd410y7t.js → pty-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{event-logger-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{event-logger-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{event-logger-g86h250q.js → pty-g86h250q.js} +0 -0
  737. /package/dist/chunks/{event-logger-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{event-logger-hk9envan.js → pty-hk9envan.js} +0 -0
  739. /package/dist/chunks/{event-logger-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{event-logger-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{event-logger-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{event-logger-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{event-logger-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{event-logger-mntxs535.js → pty-mntxs535.js} +0 -0
  745. /package/dist/chunks/{event-logger-mp448xyj.js → pty-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{event-logger-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{event-logger-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{event-logger-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{event-logger-njntx4h6.js → pty-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{event-logger-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{event-logger-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{event-logger-q74kybfr.js → pty-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{event-logger-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{event-logger-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{event-logger-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{event-logger-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{event-logger-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{event-logger-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{event-logger-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{event-logger-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{event-logger-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{event-logger-twg0f83k.js → pty-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{event-logger-w803qqfp.js → pty-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{event-logger-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{event-logger-wtztk69x.js → pty-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{event-logger-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{event-logger-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{event-logger-x61499pn.js → pty-x61499pn.js} +0 -0
  769. /package/dist/chunks/{event-logger-y44na4kk.js → pty-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{event-logger-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{event-logger-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{event-logger-z9919s4g.js → pty-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{event-logger-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./event-logger-jbmjz4v3.js";
4
+ } from "./pty-y974v3mv.js";
5
5
  import {
6
6
  create3
7
- } from "./event-logger-kg06axw8.js";
7
+ } from "./pty-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./event-logger-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID18,
19
- Info: () => Info32,
17
+ Event: () => Event13,
18
+ ID: () => ID10,
19
+ Info: () => Info11,
20
20
  Name: () => Name3,
21
- Service: () => Service78,
21
+ Service: () => Service56,
22
22
  defaultID: () => defaultID2,
23
- node: () => node83
23
+ node: () => node60
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode-ai/schema/agent";
29
29
  import { Global } from "@opencode-ai/util/global";
30
- import { Event as Event20 } from "@opencode-ai/schema/agent";
30
+ import { Event as Event13 } from "@opencode-ai/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID18 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID18.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info32 = Agent.Info;
37
+ var Info11 = Agent.Info;
38
38
 
39
- class Service78 extends Context.Service()("@opencode/Agent") {
39
+ class Service56 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service78, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info32.default(id);
60
+ const defaults = Info11.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID18.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service78.of({
91
+ return Service56.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID18.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID18.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node83 = makeLocationNode({ service: Service78, layer, deps: [node84, Global.node] });
119
+ var node60 = makeLocationNode({ service: Service56, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID18, Name3, defaultID2, Color2, Info32, Service78, node83, exports_agent4, Event20 };
121
+ export { ID10, Name3, defaultID2, Color2, Info11, Service56, node60, exports_agent3, Event13 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./pty-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service27,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service27 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service27.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service27, awaitActivation2, exports_service };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./event-logger-p8qxwesx.js";
3
+ } from "./pty-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info15
13
+ Info: () => Info18
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info15 = Schema.Struct({
30
+ var Info18 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info15, exports_attachment };
34
+ export { Image2, Info18, exports_attachment };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./event-logger-2axfhc9x.js";
3
+ } from "./pty-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID11,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./event-logger-rwbhhn1p.js";
5
+ } from "./pty-tdt6s1r3.js";
6
6
  import {
7
- ID10
8
- } from "./event-logger-ar3vq2rb.js";
7
+ ID11
8
+ } from "./pty-0ywnm299.js";
9
9
  import {
10
10
  Service79
11
- } from "./event-logger-jbmjz4v3.js";
11
+ } from "./pty-y974v3mv.js";
12
12
  import {
13
13
  OAuth3,
14
14
  Event16
15
- } from "./event-logger-3n6w8qeh.js";
15
+ } from "./pty-bzq1f2yq.js";
16
16
  import {
17
- ID8,
17
+ ID5,
18
18
  MethodID2
19
- } from "./event-logger-r3nfe89y.js";
19
+ } from "./pty-pk02mbyy.js";
20
20
  import {
21
- Service67
22
- } from "./event-logger-hdqmeh3c.js";
21
+ Service48
22
+ } from "./pty-vrktewq8.js";
23
23
  import {
24
24
  get2
25
- } from "./event-logger-14h757nk.js";
25
+ } from "./pty-ytrgf914.js";
26
26
  import {
27
27
  useragent2
28
- } from "./event-logger-fd84j5ds.js";
28
+ } from "./pty-vkpagyjs.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID8.make("github-copilot"),
60
+ integrationID: ID5.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service67;
158
+ const catalog = yield* Service48;
159
159
  const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID11.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get2(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID11.githubCopilot);
190
+ const item = evt.provider.get(ID18.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID10.make(id)))
195
+ if (!loaded.models.has(ID11.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID10.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID10.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID11.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID11.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID11.githubCopilot)
220
+ if (evt.model.providerID !== ID18.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID11.githubCopilot)
229
+ if (evt.model.providerID !== ID18.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
235
235
  evt.headers["X-Interaction-Type"] = interaction;
236
236
  if (interaction !== "conversation-agent")
237
237
  evt.headers["x-initiator"] = "agent";
238
- }), { providerID: ID11.githubCopilot });
238
+ }), { providerID: ID18.githubCopilot });
239
239
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
240
- if (evt.model.providerID !== ID11.githubCopilot)
240
+ if (evt.model.providerID !== ID18.githubCopilot)
241
241
  return;
242
242
  const token = evt.request.headers.get("x-api-key");
243
243
  if (!token)
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
245
245
  const text = yield* Effect.promise(() => evt.request.clone().text());
246
246
  const body = Option.getOrUndefined(decodeBody(text));
247
247
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
248
- }), { providerID: ID11.githubCopilot });
248
+ }), { providerID: ID18.githubCopilot });
249
249
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
250
- if (evt.model.providerID !== ID11.githubCopilot)
250
+ if (evt.model.providerID !== ID18.githubCopilot)
251
251
  return;
252
252
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
253
253
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./event-logger-se0s1eqw.js";
3
+ } from "./pty-se0s1eqw.js";
4
4
 
5
5
  // src/plugin/provider/venice.ts
6
6
  var VenicePlugin2 = createProviderPlugin2({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./event-logger-b9wsbatv.js";
3
+ } from "./pty-b9wsbatv.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/module.ts
9
9
  var exports_module = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service33
3
- } from "./event-logger-yhtqjkzd.js";
2
+ Service35
3
+ } from "./pty-k558dr3h.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./event-logger-9zdhvgqs.js";
6
+ } from "./pty-1x11rq2a.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./event-logger-n6wnzfnt.js";
9
+ } from "./pty-3wx44s71.js";
10
10
  import {
11
- Service56
12
- } from "./event-logger-28nhnrpr.js";
11
+ Service52
12
+ } from "./pty-5b9mh310.js";
13
13
  import {
14
14
  __export
15
- } from "./event-logger-9rqn6x4v.js";
15
+ } from "./pty-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service33;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service56), instances.provide(input.session));
25
+ const instances = yield* Service35;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./event-logger-rwbhhn1p.js";
4
+ } from "./pty-tdt6s1r3.js";
5
5
 
6
6
  // src/plugin/provider/nvidia.ts
7
7
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./event-logger-qfa1cgps.js";
3
+ } from "./pty-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./event-logger-4vtp7hga.js";
4
+ } from "./pty-ctwxaq1f.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./event-logger-jbmjz4v3.js";
8
+ } from "./pty-y974v3mv.js";
9
9
  import {
10
- Service44,
11
- node47
12
- } from "./event-logger-c2khgprk.js";
10
+ Service43,
11
+ node46
12
+ } from "./pty-hcz6m02t.js";
13
13
  import {
14
- Service33,
15
- node36
16
- } from "./event-logger-yhtqjkzd.js";
14
+ Service35,
15
+ node38
16
+ } from "./pty-k558dr3h.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./event-logger-mntxs535.js";
19
+ } from "./pty-mntxs535.js";
20
20
  import {
21
- make14
22
- } from "./event-logger-djtdz80w.js";
21
+ make13
22
+ } from "./pty-z3xgatyd.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service28
26
- } from "./event-logger-xw0r27ex.js";
25
+ Service29
26
+ } from "./pty-ag4rn41e.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./event-logger-n6wnzfnt.js";
29
+ } from "./pty-3wx44s71.js";
30
30
  import {
31
- Service72,
32
- node77
33
- } from "./event-logger-xf2wyvfy.js";
31
+ Service54,
32
+ node58
33
+ } from "./pty-1459b0x6.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./event-logger-d3qtrs71.js";
36
+ } from "./pty-seka0gvy.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./event-logger-aymbgepw.js";
39
+ } from "./pty-4qfjm3y1.js";
40
40
  import {
41
41
  __export
42
- } from "./event-logger-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service27,
47
+ Service: () => Service28,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer11,
50
- node: () => node32,
49
+ layer: () => layer12,
50
+ node: () => node31,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
56
- class Service27 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service28 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer11 = Layer.effect(Service27, Effect.gen(function* () {
69
- const store = yield* Service72;
70
- const instances = yield* Service33;
68
+ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
69
+ const store = yield* Service54;
70
+ const instances = yield* Service35;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service44;
72
+ const jobs = yield* Service43;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service28.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service29.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make14({
91
+ const coordinator = yield* make13({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service27.of({
112
+ return Service28.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer11 = Layer.effect(Service27, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node32 = makeGlobalNode({
132
- service: Service27,
133
- layer: layer11,
134
- deps: [node77, node36, node84, node85, node47]
131
+ var node31 = makeGlobalNode({
132
+ service: Service28,
133
+ layer: layer12,
134
+ deps: [node58, node38, node84, node85, node46]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service27, Service27.of({
136
+ var noopLayer2 = Layer.succeed(Service28, Service28.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service27, Service27.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service27, terminal2, layer11, node32, noopLayer2, exports_execution };
145
+ export { Service28, terminal2, layer12, node31, noopLayer2, exports_execution };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./event-logger-p8qxwesx.js";
3
+ } from "./pty-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service50,
3
- node53,
2
+ Service59,
3
+ node63,
4
4
  canonical3
5
- } from "./event-logger-5jayeb3j.js";
5
+ } from "./pty-96gb8wnx.js";
6
6
  import {
7
- Service33,
8
- node36
9
- } from "./event-logger-yhtqjkzd.js";
7
+ Service35,
8
+ node38
9
+ } from "./pty-k558dr3h.js";
10
10
  import {
11
11
  layer2
12
- } from "./event-logger-ze44yzpk.js";
12
+ } from "./pty-0t58jqdp.js";
13
13
 
14
14
  // src/location-services.ts
15
15
  import { Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
16
16
  function buildLocationServiceMap2(replacements = []) {
17
- return Layer.effect(Service50, Effect.gen(function* () {
17
+ return Layer.effect(Service59, Effect.gen(function* () {
18
18
  const owner = yield* Effect.scope;
19
19
  const booting = MutableHashMap.empty();
20
20
  const inner = yield* LayerMap.make((ref) => {
@@ -42,11 +42,11 @@ function buildLocationServiceMap2(replacements = []) {
42
42
  })
43
43
  };
44
44
  const bindings = [
45
- node36.replace(Layer.succeed(Service33, {
45
+ node38.replace(Layer.succeed(Service35, {
46
46
  provide: (session) => Effect.provide(map.get(session.location))
47
47
  })),
48
48
  ...replacements,
49
- node53.replace(Layer.succeed(Service50, map))
49
+ node63.replace(Layer.succeed(Service59, map))
50
50
  ];
51
51
  return map;
52
52
  }));
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./event-logger-mntxs535.js";
3
+ } from "./pty-mntxs535.js";
4
4
  import {
5
5
  tokens2
6
- } from "./event-logger-tjykrgmx.js";
6
+ } from "./pty-tjykrgmx.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};