@opencode/core 0.0.0-dev-19484 → 0.0.0-dev-19485

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 (781) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{pty-gw1k03mf.js → event-logger-00wt4ynx.js} +15 -15
  9. package/dist/chunks/{pty-qzgv9fd5.js → event-logger-01cm8mn3.js} +17 -17
  10. package/dist/chunks/{pty-bpzbj5p0.js → event-logger-0grf9r3f.js} +9 -9
  11. package/dist/chunks/{pty-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{pty-0q0f95c6.js → event-logger-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{pty-qn4ba14w.js → event-logger-0r7yqxbf.js} +5 -5
  14. package/dist/chunks/{pty-yt9d908j.js → event-logger-0xnxk7my.js} +11 -11
  15. package/dist/chunks/{pty-9e0z2fhc.js → event-logger-165ggcpb.js} +7 -7
  16. package/dist/chunks/{pty-md2xj9nf.js → event-logger-16mcezjr.js} +30 -30
  17. package/dist/chunks/{pty-r8xr0va3.js → event-logger-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{pty-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{pty-wfdn8615.js → event-logger-1nsbqewp.js} +23 -23
  20. package/dist/chunks/{pty-21r38tys.js → event-logger-21r38tys.js} +1 -1
  21. package/dist/chunks/{pty-wsd4t4dw.js → event-logger-22sd2eh9.js} +11 -11
  22. package/dist/chunks/{pty-2402vzrj.js → event-logger-2402vzrj.js} +1 -1
  23. package/dist/chunks/{pty-2akhs850.js → event-logger-28ynmmp6.js} +5 -5
  24. package/dist/chunks/{pty-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{pty-aep6w25k.js → event-logger-2axwxhdm.js} +12 -12
  26. package/dist/chunks/{pty-v62dx6xs.js → event-logger-2e3rmnjd.js} +4 -4
  27. package/dist/chunks/{pty-fhmdnm6f.js → event-logger-2k6kcpy5.js} +40 -40
  28. package/dist/chunks/{pty-g2twwaw3.js → event-logger-2khzfaxq.js} +3 -3
  29. package/dist/chunks/{pty-1qdmrsyh.js → event-logger-2syw43ez.js} +11 -11
  30. package/dist/chunks/{pty-cs7ja426.js → event-logger-2xe7pz9m.js} +72 -72
  31. package/dist/chunks/{pty-b5ybn7cd.js → event-logger-3cabbhzt.js} +16 -16
  32. package/dist/chunks/{pty-7yp3q20c.js → event-logger-3d3d3t07.js} +41 -41
  33. package/dist/chunks/{pty-em649qsx.js → event-logger-3dk1grkc.js} +15 -15
  34. package/dist/chunks/{pty-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{pty-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{pty-8yrxd28w.js → event-logger-3jz8fm0k.js} +9 -9
  37. package/dist/chunks/{pty-th49mj5v.js → event-logger-3mqvnat0.js} +15 -15
  38. package/dist/chunks/{pty-d801t9mc.js → event-logger-3p07c31z.js} +28 -28
  39. package/dist/chunks/{pty-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{pty-3tn94wys.js → event-logger-3t6kxnnx.js} +32 -32
  41. package/dist/chunks/{pty-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{pty-0nrybmqd.js → event-logger-3v07c2h1.js} +7 -7
  43. package/dist/chunks/{pty-hd29wc17.js → event-logger-4334gj7r.js} +8 -8
  44. package/dist/chunks/{pty-byprkm3h.js → event-logger-4e07kcxv.js} +47 -47
  45. package/dist/chunks/{pty-9b90cabz.js → event-logger-4e4kessa.js} +11 -11
  46. package/dist/chunks/{pty-4541pte3.js → event-logger-4jv7e9dq.js} +9 -9
  47. package/dist/chunks/{pty-0ajdgxne.js → event-logger-4y66k410.js} +5 -5
  48. package/dist/chunks/{pty-zftpq6gn.js → event-logger-52q3355q.js} +14 -14
  49. package/dist/chunks/{pty-1ygqh575.js → event-logger-56gdpj1q.js} +9 -9
  50. package/dist/chunks/{pty-a1bz86dw.js → event-logger-5c4hm403.js} +3 -3
  51. package/dist/chunks/{pty-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
  52. package/dist/chunks/{pty-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{pty-x8efcx2v.js → event-logger-5vtx7p9q.js} +35 -35
  54. package/dist/chunks/{pty-p5d32tz9.js → event-logger-5yx5nctn.js} +22 -22
  55. package/dist/chunks/{pty-669tq793.js → event-logger-669tq793.js} +1 -1
  56. package/dist/chunks/{pty-txmfp3zj.js → event-logger-6b2rz76g.js} +30 -30
  57. package/dist/chunks/{pty-jg24vk6e.js → event-logger-6e49marm.js} +5 -5
  58. package/dist/chunks/{pty-2ta0t88y.js → event-logger-6e8ygkvh.js} +20 -20
  59. package/dist/chunks/{pty-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{pty-6532tvj7.js → event-logger-6p6dp87j.js} +18 -18
  61. package/dist/chunks/{pty-jfaxz2yb.js → event-logger-6yx6a64s.js} +30 -30
  62. package/dist/chunks/{pty-71q4at8m.js → event-logger-71q4at8m.js} +1 -1
  63. package/dist/chunks/{pty-vkkm3dp3.js → event-logger-73ttdt4y.js} +20 -20
  64. package/dist/chunks/{pty-ns15zm60.js → event-logger-786r1gss.js} +6 -6
  65. package/dist/chunks/{pty-pd1qwn8m.js → event-logger-7art3s1y.js} +24 -24
  66. package/dist/chunks/{pty-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{pty-1fh16wq8.js → event-logger-7c5ys648.js} +3 -3
  68. package/dist/chunks/{pty-tbesmne2.js → event-logger-7fspq4zk.js} +11 -11
  69. package/dist/chunks/{pty-3nvk9ben.js → event-logger-7r6ahe9b.js} +4 -4
  70. package/dist/chunks/{pty-b0grxa7w.js → event-logger-7xyrrtj6.js} +5 -5
  71. package/dist/chunks/{pty-1bbkgx8g.js → event-logger-7yh4e7ss.js} +3 -3
  72. package/dist/chunks/{pty-jtanr3ta.js → event-logger-81s594hr.js} +166 -166
  73. package/dist/chunks/{pty-bgcsb0ew.js → event-logger-89kd35fp.js} +16 -16
  74. package/dist/chunks/{pty-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{pty-9fhqnxhc.js → event-logger-8dgsm9nq.js} +22 -22
  76. package/dist/chunks/{pty-2kbb5zhh.js → event-logger-8nxtavbw.js} +20 -20
  77. package/dist/chunks/{pty-bahtkn95.js → event-logger-8yh8a9jj.js} +17 -17
  78. package/dist/chunks/{pty-v71xcev7.js → event-logger-96yt6zt0.js} +1 -1
  79. package/dist/chunks/{pty-tph7kmz7.js → event-logger-9849f2wz.js} +6 -6
  80. package/dist/chunks/{pty-zr1b15nt.js → event-logger-98cx1nxj.js} +7 -7
  81. package/dist/chunks/event-logger-9dzf7mc4.js +22 -0
  82. package/dist/chunks/{pty-gzcsr6sv.js → event-logger-9h22cmvn.js} +26 -26
  83. package/dist/chunks/{pty-t99v83jx.js → event-logger-9meg7rhv.js} +8 -8
  84. package/dist/chunks/{pty-hde40vmr.js → event-logger-9px5pcxd.js} +43 -43
  85. package/dist/chunks/{pty-gdmgw3kk.js → event-logger-9qrkzpr4.js} +13 -13
  86. package/dist/chunks/{pty-5ftnf5hj.js → event-logger-9qt9fpsb.js} +20 -20
  87. package/dist/chunks/{pty-0td8n8vp.js → event-logger-9xz59r4m.js} +15 -15
  88. package/dist/chunks/{pty-etyswav2.js → event-logger-a2mxf9e3.js} +13 -13
  89. package/dist/chunks/{pty-fn71bqeg.js → event-logger-a8fk01pg.js} +18 -18
  90. package/dist/chunks/{pty-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
  91. package/dist/chunks/{pty-a1a50ys5.js → event-logger-af04s6ss.js} +5 -5
  92. package/dist/chunks/{pty-hgrjhmfr.js → event-logger-af4zm9ec.js} +8 -8
  93. package/dist/chunks/{pty-qygybdk4.js → event-logger-at7cee29.js} +13 -13
  94. package/dist/chunks/{pty-d4p8tyg8.js → event-logger-b4e6gncp.js} +8 -8
  95. package/dist/chunks/{pty-fjnewxg5.js → event-logger-b665r9b6.js} +24 -24
  96. package/dist/chunks/{pty-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
  97. package/dist/chunks/{pty-45rd5fs9.js → event-logger-bcx3swfk.js} +28 -28
  98. package/dist/chunks/{pty-yvykdhx6.js → event-logger-c0fxzqc3.js} +25 -25
  99. package/dist/chunks/{pty-3ythc6yv.js → event-logger-c5gn303e.js} +4 -4
  100. package/dist/chunks/{pty-9fgn877f.js → event-logger-c735gd42.js} +11 -11
  101. package/dist/chunks/{pty-0953varj.js → event-logger-cav5nwdw.js} +43 -43
  102. package/dist/chunks/{pty-vkgkjc09.js → event-logger-cjwrb2qh.js} +31 -31
  103. package/dist/chunks/{pty-cmceympy.js → event-logger-cnfjrs31.js} +6 -6
  104. package/dist/chunks/{pty-1f2zrtgd.js → event-logger-cppatfp5.js} +32 -32
  105. package/dist/chunks/{pty-fhs97t90.js → event-logger-crptryd9.js} +9 -9
  106. package/dist/chunks/{pty-nt6p7phb.js → event-logger-cv1m1kxe.js} +35 -35
  107. package/dist/chunks/{pty-63sp6hdr.js → event-logger-cy6q1q6j.js} +18 -18
  108. package/dist/chunks/{pty-tz7qhazt.js → event-logger-d1gbmq1q.js} +17 -17
  109. package/dist/chunks/{pty-vbzxk3ff.js → event-logger-d5tc08nt.js} +11 -11
  110. package/dist/chunks/{pty-y28xdhk3.js → event-logger-da6kr1wx.js} +2 -2
  111. package/dist/chunks/{pty-mehhkwtb.js → event-logger-df6dewn3.js} +8 -8
  112. package/dist/chunks/{pty-cmwkp3r5.js → event-logger-dgj0dq1g.js} +8 -8
  113. package/dist/chunks/{pty-q5asdkn4.js → event-logger-dhmh7aw6.js} +4 -4
  114. package/dist/chunks/{pty-8p4f9s12.js → event-logger-dj2t23y0.js} +2 -2
  115. package/dist/chunks/{pty-st8jmgs2.js → event-logger-dkcc4be6.js} +31 -31
  116. package/dist/chunks/{pty-dpkg50ah.js → event-logger-dpkg50ah.js} +1 -1
  117. package/dist/chunks/{pty-btvz5hhj.js → event-logger-e2hdy98q.js} +9 -9
  118. package/dist/chunks/{pty-rgr9kwfb.js → event-logger-e3524ays.js} +7 -7
  119. package/dist/chunks/{pty-g3xj57nv.js → event-logger-e7vkd9bt.js} +22 -22
  120. package/dist/chunks/{pty-86rj60hj.js → event-logger-eg02ks85.js} +17 -17
  121. package/dist/chunks/{pty-nkscrdhp.js → event-logger-en4r2rcx.js} +5 -5
  122. package/dist/chunks/{pty-18r19y7d.js → event-logger-eryjt14q.js} +11 -11
  123. package/dist/chunks/{pty-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
  124. package/dist/chunks/{pty-evbgk2k8.js → event-logger-evbgk2k8.js} +2 -2
  125. package/dist/chunks/{pty-a6xvd2sc.js → event-logger-ez7mrp8m.js} +25 -25
  126. package/dist/chunks/{pty-mnbh32fx.js → event-logger-ezy2bptn.js} +8 -8
  127. package/dist/chunks/{pty-yfs8r58s.js → event-logger-f1m35rn1.js} +21 -21
  128. package/dist/chunks/{pty-8nf61fqw.js → event-logger-f5hzg3fn.js} +10 -10
  129. package/dist/chunks/{pty-45796egf.js → event-logger-f8q7mv7a.js} +1 -1
  130. package/dist/chunks/{pty-4wn8n9sn.js → event-logger-fea947tx.js} +9 -9
  131. package/dist/chunks/{pty-s1a57xgp.js → event-logger-fgh0kbhd.js} +1 -1
  132. package/dist/chunks/{pty-a5gt7g2r.js → event-logger-fjmrr6sh.js} +5 -5
  133. package/dist/chunks/{pty-fxbjtjnd.js → event-logger-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{pty-mgtytz9t.js → event-logger-fygdb7h7.js} +3 -3
  135. package/dist/chunks/{pty-6wfk2szc.js → event-logger-g7ezgpnw.js} +28 -28
  136. package/dist/chunks/{pty-14ahvy0s.js → event-logger-ga7ywfrk.js} +14 -14
  137. package/dist/chunks/{pty-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
  138. package/dist/chunks/{pty-arf9772r.js → event-logger-ggwvze0n.js} +7 -7
  139. package/dist/chunks/{pty-c0g3mrmp.js → event-logger-gjb4y0wk.js} +4 -4
  140. package/dist/chunks/{pty-w0vnt3w8.js → event-logger-gjjf51xs.js} +9 -9
  141. package/dist/chunks/{pty-k4wwmme7.js → event-logger-gn2hfjap.js} +8 -8
  142. package/dist/chunks/{pty-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{pty-h03wrkyp.js → event-logger-h03wrkyp.js} +2 -2
  144. package/dist/chunks/{pty-1n1j5phf.js → event-logger-h0m545r4.js} +1 -1
  145. package/dist/chunks/{pty-wjsewdbp.js → event-logger-h0r8722a.js} +9 -9
  146. package/dist/chunks/{pty-h7p7r1dx.js → event-logger-h2mgs7e6.js} +26 -26
  147. package/dist/chunks/{pty-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{pty-7w5wmfhw.js → event-logger-h8e939zk.js} +8 -8
  149. package/dist/chunks/{pty-f828m53h.js → event-logger-hdnk95c8.js} +2 -2
  150. package/dist/chunks/{pty-x4wsccvh.js → event-logger-hjt4xg1x.js} +4 -4
  151. package/dist/chunks/{pty-ht1qtvc3.js → event-logger-j4147n4y.js} +7 -7
  152. package/dist/chunks/{pty-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
  153. package/dist/chunks/{pty-kmy1ax01.js → event-logger-jcm85fjb.js} +10 -10
  154. package/dist/chunks/{pty-hfdr1yjj.js → event-logger-jmphe03k.js} +4 -4
  155. package/dist/chunks/{pty-sxw0ed71.js → event-logger-jn9d4d7h.js} +24 -24
  156. package/dist/chunks/{pty-77nagcj1.js → event-logger-jnmqjdkf.js} +4 -4
  157. package/dist/chunks/{pty-cyxdd1cp.js → event-logger-jrskb714.js} +54 -54
  158. package/dist/chunks/{pty-jmn8yr3h.js → event-logger-jt58nnw6.js} +27 -27
  159. package/dist/chunks/{pty-3dqftnvs.js → event-logger-k16ay38w.js} +1 -1
  160. package/dist/chunks/{pty-ge2ncj9q.js → event-logger-k1pcqpq8.js} +18 -18
  161. package/dist/chunks/{pty-jexxy024.js → event-logger-k6yq57aq.js} +3 -3
  162. package/dist/chunks/{pty-kg06axw8.js → event-logger-kg06axw8.js} +1 -1
  163. package/dist/chunks/{pty-tdhe5xga.js → event-logger-km9fdhsq.js} +8 -8
  164. package/dist/chunks/{pty-fnvmrkhd.js → event-logger-kz2z97wx.js} +3 -3
  165. package/dist/chunks/{pty-cfpkc3c9.js → event-logger-m0jqrx5p.js} +2 -2
  166. package/dist/chunks/{pty-r2qzv5a7.js → event-logger-m27pyyd3.js} +6 -6
  167. package/dist/chunks/{pty-yjy4g1rw.js → event-logger-m3vwttw1.js} +30 -30
  168. package/dist/chunks/{pty-r9abkved.js → event-logger-m4hrtj7g.js} +18 -18
  169. package/dist/chunks/{pty-g646es06.js → event-logger-m9japtd8.js} +12 -12
  170. package/dist/chunks/{pty-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{pty-mjymc32g.js → event-logger-magykp64.js} +4 -4
  172. package/dist/chunks/{pty-newyp0rw.js → event-logger-mds1fn0w.js} +6 -6
  173. package/dist/chunks/{pty-1t6v7t1p.js → event-logger-mke74ywt.js} +13 -13
  174. package/dist/chunks/event-logger-mkzb76vv.js +462 -0
  175. package/dist/chunks/{pty-5c0f1prt.js → event-logger-msq0jde0.js} +4 -4
  176. package/dist/chunks/{pty-jp3k4seg.js → event-logger-msydzq3r.js} +11 -11
  177. package/dist/chunks/{pty-3dzkcghm.js → event-logger-mszym7b5.js} +27 -27
  178. package/dist/chunks/{pty-9vwx9k7w.js → event-logger-myzpqcan.js} +23 -23
  179. package/dist/chunks/{pty-jqy04vj9.js → event-logger-n0cm6f7x.js} +28 -28
  180. package/dist/chunks/{pty-r4x5wh38.js → event-logger-n16grh7c.js} +15 -15
  181. package/dist/chunks/{pty-c20cpmqm.js → event-logger-n7x4jgdx.js} +5 -5
  182. package/dist/chunks/{pty-d55k3a02.js → event-logger-n9e1pbg6.js} +25 -25
  183. package/dist/chunks/{pty-my653yp5.js → event-logger-nfrxxpny.js} +25 -25
  184. package/dist/chunks/{pty-z599ng88.js → event-logger-nh3nz7zc.js} +6 -6
  185. package/dist/chunks/{pty-jnyfd4gm.js → event-logger-njr7wza7.js} +11 -11
  186. package/dist/chunks/{pty-32wbc79b.js → event-logger-nkdzkb3h.js} +11 -11
  187. package/dist/chunks/{pty-s9zga7k6.js → event-logger-nkngnxhn.js} +20 -20
  188. package/dist/chunks/{pty-dedzq1ka.js → event-logger-p2fr31ma.js} +43 -43
  189. package/dist/chunks/{pty-b3t12aqp.js → event-logger-p33ejz0k.js} +1 -1
  190. package/dist/chunks/{pty-7ae90jyv.js → event-logger-p3bmtfza.js} +2 -2
  191. package/dist/chunks/{pty-3az9pvaz.js → event-logger-p4qs7kgv.js} +16 -16
  192. package/dist/chunks/{pty-s1k0znnr.js → event-logger-p5skxhfn.js} +35 -35
  193. package/dist/chunks/{pty-rph3zd4r.js → event-logger-pf2hb43r.js} +4 -4
  194. package/dist/chunks/{pty-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{pty-pknna89w.js → event-logger-pknna89w.js} +1 -1
  196. package/dist/chunks/{pty-x7ns4d9a.js → event-logger-pks06gch.js} +47 -47
  197. package/dist/chunks/{pty-7y947she.js → event-logger-pv444m59.js} +26 -26
  198. package/dist/chunks/{pty-ea3fqg3s.js → event-logger-pv8p17fy.js} +13 -13
  199. package/dist/chunks/{pty-j6frpzgk.js → event-logger-py6fnjvp.js} +19 -19
  200. package/dist/chunks/{pty-4tty76jr.js → event-logger-q1x21mf0.js} +28 -28
  201. package/dist/chunks/{pty-rx9j2q4y.js → event-logger-q2qpq2mh.js} +9 -9
  202. package/dist/chunks/{pty-9v9vhtqj.js → event-logger-qcdfmerr.js} +88 -88
  203. package/dist/chunks/{pty-qgn6gcr1.js → event-logger-qgn6gcr1.js} +1 -1
  204. package/dist/chunks/{pty-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
  205. package/dist/chunks/{pty-nnvetb0x.js → event-logger-qsgekh27.js} +8 -8
  206. package/dist/chunks/{pty-w3vr4dnx.js → event-logger-qv9hkmfm.js} +47 -47
  207. package/dist/chunks/{pty-2drds6a2.js → event-logger-qxn7sfw1.js} +5 -5
  208. package/dist/chunks/{pty-m77xbvte.js → event-logger-r2v4j81b.js} +86 -86
  209. package/dist/chunks/{pty-t3w9f47z.js → event-logger-r9babyk8.js} +1 -1
  210. package/dist/chunks/{pty-r9mregkx.js → event-logger-r9mregkx.js} +2 -2
  211. package/dist/chunks/event-logger-rap9a73h.js +18 -0
  212. package/dist/chunks/{pty-drknmmyh.js → event-logger-rc2324vf.js} +9 -9
  213. package/dist/chunks/{pty-faw67snb.js → event-logger-ref3dz8p.js} +37 -37
  214. package/dist/chunks/{pty-2bek0fz1.js → event-logger-rgp0xy6k.js} +12 -12
  215. package/dist/chunks/{pty-88k2vggc.js → event-logger-rkmq0ftz.js} +11 -11
  216. package/dist/chunks/{pty-m01vtssh.js → event-logger-rmwqerav.js} +8 -8
  217. package/dist/chunks/{pty-2kze3sed.js → event-logger-rrxmggdy.js} +11 -11
  218. package/dist/chunks/{pty-81swgkk7.js → event-logger-rsym84ch.js} +7 -7
  219. package/dist/chunks/{pty-fqb2p7cx.js → event-logger-ryr25ayn.js} +4 -4
  220. package/dist/chunks/{pty-yttnsetk.js → event-logger-s2jbkb1q.js} +8 -8
  221. package/dist/chunks/{pty-apnw61nd.js → event-logger-sjvqrz59.js} +3 -3
  222. package/dist/chunks/{pty-d8qmdhbf.js → event-logger-ssx2atvp.js} +6 -6
  223. package/dist/chunks/{pty-5n7nm18q.js → event-logger-stqzacd7.js} +27 -27
  224. package/dist/chunks/{pty-yj3bp0fe.js → event-logger-svb6z590.js} +26 -26
  225. package/dist/chunks/{pty-bct739vz.js → event-logger-sx1n432n.js} +4 -4
  226. package/dist/chunks/{pty-dy8qh9xy.js → event-logger-t33aqq77.js} +8 -8
  227. package/dist/chunks/{pty-s8d7rejh.js → event-logger-t550f9t1.js} +4 -4
  228. package/dist/chunks/{pty-h7m0p69y.js → event-logger-t59x1kp2.js} +10 -10
  229. package/dist/chunks/{pty-rzxn8jq1.js → event-logger-t7z3zppm.js} +2 -2
  230. package/dist/chunks/event-logger-t8g04pec.js +247 -0
  231. package/dist/chunks/{pty-tya93gxg.js → event-logger-t8j12ba3.js} +13 -13
  232. package/dist/chunks/{pty-45vpyk18.js → event-logger-t8z6dkmk.js} +44 -44
  233. package/dist/chunks/{pty-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{pty-89znhe33.js → event-logger-tcezcvh9.js} +4 -4
  235. package/dist/chunks/{pty-tdstcens.js → event-logger-tdstcens.js} +1 -1
  236. package/dist/chunks/{pty-9edcvf27.js → event-logger-tdz9b6vr.js} +10 -10
  237. package/dist/chunks/{pty-vednfjt6.js → event-logger-tfbymgd2.js} +4 -4
  238. package/dist/chunks/{pty-t6jsq5az.js → event-logger-tj06h6ge.js} +12 -12
  239. package/dist/chunks/{pty-r88ayxsh.js → event-logger-tjjaenf2.js} +5 -5
  240. package/dist/chunks/{pty-geymd4gz.js → event-logger-tp5r4a12.js} +18 -18
  241. package/dist/chunks/{pty-nw3t2cyt.js → event-logger-tq8nwz6v.js} +18 -18
  242. package/dist/chunks/{pty-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
  243. package/dist/chunks/{pty-6z42be60.js → event-logger-tzr81ypp.js} +6 -6
  244. package/dist/chunks/{pty-ecrv93z9.js → event-logger-v8jfbz3g.js} +6 -6
  245. package/dist/chunks/{pty-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
  246. package/dist/chunks/{pty-wb96fp8p.js → event-logger-vezcpp24.js} +18 -18
  247. package/dist/chunks/{pty-411gfsap.js → event-logger-vfvfv47x.js} +18 -18
  248. package/dist/chunks/{pty-j1jpgbqt.js → event-logger-vm5abjg2.js} +4 -4
  249. package/dist/chunks/{pty-3esrdmkk.js → event-logger-vxbynqkk.js} +32 -32
  250. package/dist/chunks/{pty-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{pty-j71f32vt.js → event-logger-w1y9cvm8.js} +11 -11
  252. package/dist/chunks/{pty-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{pty-wd87259q.js → event-logger-wd87259q.js} +1 -1
  254. package/dist/chunks/{pty-8kyaadyc.js → event-logger-wf0sjdq3.js} +4 -4
  255. package/dist/chunks/{pty-ndm8q3nx.js → event-logger-wg3rwg1y.js} +25 -25
  256. package/dist/chunks/{pty-8rqsbye2.js → event-logger-wj75hbv8.js} +29 -29
  257. package/dist/chunks/{pty-a3r4dcrj.js → event-logger-wqc6684y.js} +2 -2
  258. package/dist/chunks/{pty-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{pty-y9ech7jt.js → event-logger-xdrt8cc9.js} +20 -20
  260. package/dist/chunks/{pty-11qx6zpw.js → event-logger-xffgaj39.js} +41 -41
  261. package/dist/chunks/{pty-qyxb3rgr.js → event-logger-xkmds9fp.js} +30 -30
  262. package/dist/chunks/{pty-xfqxjp11.js → event-logger-xpyf9ghk.js} +28 -28
  263. package/dist/chunks/{pty-brbfzzmd.js → event-logger-xr7qrm3q.js} +17 -17
  264. package/dist/chunks/event-logger-xrsqh21y.js +4 -0
  265. package/dist/chunks/{pty-eymhvwwk.js → event-logger-xw8111cb.js} +14 -14
  266. package/dist/chunks/{pty-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{pty-n4m74tcd.js → event-logger-yap9dffs.js} +13 -13
  268. package/dist/chunks/{pty-7ey0dyp0.js → event-logger-yb5b95vk.js} +36 -36
  269. package/dist/chunks/{pty-n37c4crj.js → event-logger-yb94xmg0.js} +9 -9
  270. package/dist/chunks/{pty-4w0n3ep9.js → event-logger-ymbcfbqx.js} +28 -28
  271. package/dist/chunks/{pty-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{pty-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
  273. package/dist/chunks/{pty-0ra4p3k2.js → event-logger-yt4rhm4a.js} +44 -44
  274. package/dist/chunks/{pty-0647zyye.js → event-logger-yv7j7fqg.js} +28 -28
  275. package/dist/chunks/{pty-fv7vkzc0.js → event-logger-yy8cpz62.js} +30 -30
  276. package/dist/chunks/{pty-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-vm26s0dq.js → event-logger-z1tsgz63.js} +24 -24
  278. package/dist/chunks/{pty-gzq6qehx.js → event-logger-z305y992.js} +21 -21
  279. package/dist/chunks/{pty-sj6g8xhe.js → event-logger-z4pr50f0.js} +13 -13
  280. package/dist/chunks/{pty-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
  281. package/dist/chunks/{pty-ras7gexc.js → event-logger-z69s9t6b.js} +5 -5
  282. package/dist/chunks/{pty-tv8e1ghk.js → event-logger-ze22c3jz.js} +27 -27
  283. package/dist/chunks/{pty-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{pty-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{pty-2a010xm9.js → event-logger-zt4bdyzr.js} +4 -4
  286. package/dist/chunks/{pty-zxq2ej10.js → event-logger-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +82 -82
  291. package/dist/config/discovery.js +80 -80
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +116 -116
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +114 -114
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +118 -118
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +78 -78
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +86 -86
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +4 -4
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +11 -11
  423. package/dist/filesystem.js +103 -103
  424. package/dist/form.js +83 -83
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +85 -85
  427. package/dist/generate.js +94 -94
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +132 -132
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +79 -79
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +104 -104
  468. package/dist/mcp/instructions.js +123 -123
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +87 -87
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +103 -103
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +4 -4
  549. package/dist/plugin.js +221 -221
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +5 -5
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +91 -91
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +122 -122
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +216 -216
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +212 -212
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +108 -108
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +120 -120
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +211 -211
  636. package/dist/tool/plugin/skill.js +109 -109
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +108 -108
  639. package/dist/tool/plugin/websearch.js +108 -108
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +2 -2
  655. package/dist/v1/config/command.js +3 -3
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +7 -7
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +3 -3
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +77 -77
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/pty-1r48vspq.js +0 -247
  685. package/dist/chunks/pty-1tm0r3ht.js +0 -4
  686. package/dist/chunks/pty-1x11rq2a.js +0 -18
  687. package/dist/chunks/pty-axgp0vgr.js +0 -22
  688. package/dist/chunks/pty-pmvrcxp3.js +0 -462
  689. /package/dist/chunks/{pty-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{pty-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{pty-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{pty-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{pty-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{pty-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{pty-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{pty-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{pty-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{pty-3asan66x.js → event-logger-3asan66x.js} +0 -0
  699. /package/dist/chunks/{pty-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{pty-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{pty-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{pty-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{pty-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{pty-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{pty-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{pty-53557ph1.js → event-logger-53557ph1.js} +0 -0
  707. /package/dist/chunks/{pty-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{pty-6prwharc.js → event-logger-6prwharc.js} +0 -0
  709. /package/dist/chunks/{pty-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{pty-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{pty-822emrt2.js → event-logger-822emrt2.js} +0 -0
  712. /package/dist/chunks/{pty-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{pty-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{pty-922hggd3.js → event-logger-922hggd3.js} +0 -0
  715. /package/dist/chunks/{pty-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{pty-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{pty-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{pty-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{pty-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{pty-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{pty-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{pty-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{pty-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{pty-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{pty-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{pty-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{pty-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{pty-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{pty-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{pty-df08tz66.js → event-logger-df08tz66.js} +0 -0
  731. /package/dist/chunks/{pty-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{pty-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{pty-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{pty-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{pty-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{pty-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{pty-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{pty-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{pty-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{pty-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{pty-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{pty-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{pty-g86h250q.js → event-logger-g86h250q.js} +0 -0
  744. /package/dist/chunks/{pty-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{pty-gftt206x.js → event-logger-gftt206x.js} +0 -0
  746. /package/dist/chunks/{pty-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{pty-hk9envan.js → event-logger-hk9envan.js} +0 -0
  748. /package/dist/chunks/{pty-hrnqkpcd.js → event-logger-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{pty-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{pty-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{pty-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{pty-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{pty-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{pty-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{pty-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{pty-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{pty-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{pty-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{pty-paphc93g.js → event-logger-paphc93g.js} +0 -0
  760. /package/dist/chunks/{pty-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{pty-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{pty-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{pty-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{pty-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{pty-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{pty-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{pty-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{pty-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{pty-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{pty-twg0f83k.js → event-logger-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{pty-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{pty-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{pty-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{pty-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{pty-x61499pn.js → event-logger-x61499pn.js} +0 -0
  776. /package/dist/chunks/{pty-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{pty-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{pty-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{pty-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{pty-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{pty-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
@@ -1,54 +1,54 @@
1
1
  import {
2
- ID11,
3
- Info25,
2
+ ID9,
3
+ Info24,
4
4
  SessionSchema2
5
- } from "./pty-jexxy024.js";
5
+ } from "./event-logger-k6yq57aq.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./pty-922hggd3.js";
8
+ } from "./event-logger-922hggd3.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./pty-18r19y7d.js";
13
- import {
14
- isSynced2,
15
10
  Service78,
16
11
  node83
17
- } from "./pty-b5ybn7cd.js";
12
+ } from "./event-logger-eryjt14q.js";
13
+ import {
14
+ isSynced2,
15
+ Service77,
16
+ node82
17
+ } from "./event-logger-3cabbhzt.js";
18
18
  import {
19
19
  Service76,
20
20
  node81
21
- } from "./pty-st8jmgs2.js";
21
+ } from "./event-logger-dkcc4be6.js";
22
22
  import {
23
- Service56,
24
- node61
25
- } from "./pty-ecrv93z9.js";
23
+ Service49,
24
+ node52
25
+ } from "./event-logger-v8jfbz3g.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./pty-ec1grn59.js";
28
+ } from "./event-logger-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./pty-a1bz86dw.js";
31
+ } from "./event-logger-5c4hm403.js";
32
32
  import {
33
- node62
34
- } from "./pty-7y947she.js";
33
+ node50
34
+ } from "./event-logger-pv444m59.js";
35
35
  import {
36
36
  current2
37
- } from "./pty-hfdr1yjj.js";
37
+ } from "./event-logger-jmphe03k.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./pty-63sp6hdr.js";
40
+ } from "./event-logger-cy6q1q6j.js";
41
41
  import {
42
42
  Slug2
43
- } from "./pty-gebd4c9n.js";
43
+ } from "./event-logger-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node32
47
- } from "./pty-fjnewxg5.js";
46
+ node28
47
+ } from "./event-logger-b665r9b6.js";
48
48
  import {
49
49
  Metadata2,
50
- node39
51
- } from "./pty-jnyfd4gm.js";
50
+ node64
51
+ } from "./event-logger-njr7wza7.js";
52
52
  import {
53
53
  NotFoundError7,
54
54
  MessageNotFoundError2,
@@ -61,50 +61,50 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./pty-g2twwaw3.js";
64
+ } from "./event-logger-2khzfaxq.js";
65
65
  import {
66
- ListInput5,
67
- Service65,
68
- node70
69
- } from "./pty-bahtkn95.js";
66
+ ListInput4,
67
+ Service56,
68
+ node60
69
+ } from "./event-logger-8yh8a9jj.js";
70
70
  import {
71
- Service58,
72
- node63
73
- } from "./pty-tz7qhazt.js";
71
+ Service61,
72
+ node66
73
+ } from "./event-logger-d1gbmq1q.js";
74
74
  import {
75
- Service53,
76
- node59
77
- } from "./pty-dedzq1ka.js";
75
+ Service45,
76
+ node49
77
+ } from "./event-logger-p2fr31ma.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./pty-5t3nmthw.js";
80
+ } from "./event-logger-5t3nmthw.js";
81
81
  import {
82
- Service26,
83
- node30
84
- } from "./pty-88k2vggc.js";
82
+ Service30,
83
+ node35
84
+ } from "./event-logger-rkmq0ftz.js";
85
85
  import {
86
86
  generate3
87
- } from "./pty-geymd4gz.js";
87
+ } from "./event-logger-tp5r4a12.js";
88
88
  import {
89
89
  execute2
90
- } from "./pty-t99v83jx.js";
90
+ } from "./event-logger-9meg7rhv.js";
91
91
  import {
92
92
  DestinationNotFoundError2,
93
93
  DestinationNotDirectoryError2,
94
94
  DestinationUnavailableError2,
95
- Service28,
96
- node31
97
- } from "./pty-cyxdd1cp.js";
95
+ Service23,
96
+ node27
97
+ } from "./event-logger-jrskb714.js";
98
98
  import {
99
- Service37,
100
- node42
101
- } from "./pty-k4wwmme7.js";
99
+ Service41,
100
+ node45
101
+ } from "./event-logger-gn2hfjap.js";
102
102
  import {
103
- make14
104
- } from "./pty-nt6p7phb.js";
103
+ make13
104
+ } from "./event-logger-cv1m1kxe.js";
105
105
  import {
106
106
  __export
107
- } from "./pty-9rqn6x4v.js";
107
+ } from "./event-logger-9rqn6x4v.js";
108
108
 
109
109
  // src/session.ts
110
110
  var exports_session = {};
@@ -115,21 +115,21 @@ __export(exports_session, {
115
115
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
116
116
  DestinationNotFoundError: () => DestinationNotFoundError2,
117
117
  DestinationUnavailableError: () => DestinationUnavailableError2,
118
- ID: () => ID11,
118
+ ID: () => ID9,
119
119
  InboxConflictError: () => InboxConflictError2,
120
- Info: () => Info25,
120
+ Info: () => Info24,
121
121
  ListAnchor: () => ListAnchor2,
122
- ListInput: () => ListInput2,
122
+ ListInput: () => ListInput3,
123
123
  MessageDecodeError: () => MessageDecodeError2,
124
124
  MessageNotFoundError: () => MessageNotFoundError2,
125
125
  NotFoundError: () => NotFoundError7,
126
126
  PromptConflictError: () => PromptConflictError2,
127
- Service: () => Service19,
127
+ Service: () => Service22,
128
128
  Session: () => exports_session,
129
129
  SessionSchema: () => SessionSchema2,
130
130
  SkillNotFoundError: () => SkillNotFoundError2,
131
131
  SyntheticConflictError: () => SyntheticConflictError2,
132
- node: () => node23
132
+ node: () => node26
133
133
  });
134
134
  import { Effect, Layer, Schema, Context, Stream } from "effect";
135
135
  import { LLMClient } from "@opencode/ai";
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
139
139
  import path from "path";
140
140
  import { Node } from "@opencode/util/effect/app-node";
141
141
  import { FSUtil } from "@opencode/util/fs-util";
142
- var ListInput2 = ListInput5;
143
- class Service19 extends Context.Service()("@opencode/Session") {
142
+ var ListInput3 = ListInput4;
143
+ class Service22 extends Context.Service()("@opencode/Session") {
144
144
  }
145
- var layer = Layer.effect(Service19, Effect.gen(function* () {
145
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
146
146
  const app = yield* Metadata2;
147
- const database = yield* Service79;
147
+ const database = yield* Service78;
148
148
  const db = database.db;
149
- const bus = yield* Service78;
149
+ const bus = yield* Service77;
150
150
  const projects = yield* Service76;
151
- const execution = yield* Service53;
151
+ const execution = yield* Service45;
152
152
  const llm = yield* LLMClient.Service;
153
- const transport = yield* Service26;
154
- const store = yield* Service65;
155
- const instances = yield* Service56;
156
- const moves = yield* Service28;
157
- const jobs = yield* Service58;
158
- const environments = yield* Service37;
159
- const sessions = yield* make14();
153
+ const transport = yield* Service30;
154
+ const store = yield* Service56;
155
+ const instances = yield* Service49;
156
+ const moves = yield* Service23;
157
+ const jobs = yield* Service61;
158
+ const environments = yield* Service41;
159
+ const sessions = yield* make13();
160
160
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
161
- const result = Service19.of({
161
+ const result = Service22.of({
162
162
  create: Effect.fn("Session.create")(function* (input) {
163
163
  const sessionID = input.id ?? SessionSchema2.ID.create();
164
164
  const recorded = yield* store.get(sessionID);
@@ -260,11 +260,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
260
260
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
261
261
  generate: Effect.fn("Session.generate")(function* (input) {
262
262
  const session = yield* result.get(input.sessionID);
263
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
263
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service78, database), Effect.provideService(LLMClient.Service, llm));
264
264
  }),
265
265
  command: Effect.fn("Session.command")(function* (input) {
266
266
  const session = yield* result.get(input.sessionID);
267
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
267
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service49, instances));
268
268
  }),
269
269
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
270
270
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -305,26 +305,26 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
305
305
  });
306
306
  return result;
307
307
  }));
308
- var node23 = Node.makeGlobalNode({
309
- service: Service19,
308
+ var node26 = Node.makeGlobalNode({
309
+ service: Service22,
310
310
  layer,
311
311
  deps: [
312
- node63,
313
- node42,
314
- node84,
312
+ node66,
313
+ node45,
315
314
  node83,
315
+ node82,
316
316
  node81,
317
- node59,
318
- node30,
317
+ node49,
318
+ node35,
319
319
  llmClient2,
320
- node70,
321
- node61,
322
- node62,
323
- node31,
324
- node32,
320
+ node60,
321
+ node52,
322
+ node50,
323
+ node27,
324
+ node28,
325
325
  FSUtil.node,
326
- node39
326
+ node64
327
327
  ]
328
328
  });
329
329
 
330
- export { ListAnchor2, ListInput2, Service19, node23, exports_session };
330
+ export { ListAnchor2, ListInput3, Service22, node26, exports_session };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./pty-r2qzv5a7.js";
4
+ } from "./event-logger-m27pyyd3.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./pty-3w5fmr99.js";
4
+ } from "./event-logger-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./event-logger-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./event-logger-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service33,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service33 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service33.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service33, awaitActivation2, exports_service };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-kg06axw8.js";
3
+ } from "./event-logger-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service80,
14
+ Service: () => Service38,
15
15
  SizeError: () => SizeError2,
16
- node: () => node85
16
+ node: () => node42
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service80 extends Context.Service()("@opencode/Image") {
45
+ class Service38 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service80, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service38, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service80.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service38.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node85 = makeLocationNode({ service: Service80, layer, deps: [] });
79
+ var node42 = makeLocationNode({ service: Service38, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service80, node85, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service38, node42, exports_image2 };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./event-logger-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node82
7
- } from "./pty-9edcvf27.js";
6
+ node84
7
+ } from "./event-logger-tdz9b6vr.js";
8
8
  import {
9
- ID18
10
- } from "./pty-81swgkk7.js";
9
+ ID17
10
+ } from "./event-logger-rsym84ch.js";
11
11
  import {
12
12
  Slug2
13
- } from "./pty-gebd4c9n.js";
14
- import {
15
- Service79,
16
- node84
17
- } from "./pty-18r19y7d.js";
13
+ } from "./event-logger-gebd4c9n.js";
18
14
  import {
19
15
  Service78,
20
16
  node83
21
- } from "./pty-b5ybn7cd.js";
17
+ } from "./event-logger-eryjt14q.js";
18
+ import {
19
+ Service77,
20
+ node82
21
+ } from "./event-logger-3cabbhzt.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./pty-8p4f9s12.js";
24
+ } from "./event-logger-dj2t23y0.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./pty-cfpkc3c9.js";
27
+ } from "./event-logger-m0jqrx5p.js";
28
28
  import {
29
29
  Service75,
30
30
  node80
31
- } from "./pty-2akhs850.js";
31
+ } from "./event-logger-28ynmmp6.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
34
  canonical2
35
- } from "./pty-gv6a8nnw.js";
35
+ } from "./event-logger-gv6a8nnw.js";
36
36
  import {
37
- make17
38
- } from "./pty-yttnsetk.js";
37
+ make12
38
+ } from "./event-logger-s2jbkb1q.js";
39
39
  import {
40
40
  create3
41
- } from "./pty-kg06axw8.js";
41
+ } from "./event-logger-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./pty-9rqn6x4v.js";
44
+ } from "./event-logger-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event12,
53
- Info: () => Info19,
52
+ Event: () => Event3,
53
+ Info: () => Info3,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service50,
60
+ Service: () => Service14,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node56
66
+ node: () => node18
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info19 = Worktree.Info;
85
+ var Info3 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event12 = Worktree.Event;
103
+ var Event3 = Worktree.Event;
104
104
 
105
- class Service50 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service14 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service50, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
- const database = yield* Service79;
109
+ const database = yield* Service78;
110
110
  const db = database.db;
111
- const bus = yield* Service78;
111
+ const bus = yield* Service77;
112
112
  const processService = yield* AppProcess.Service;
113
113
  const location = yield* Service75;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make17;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event12.Updated, { projectID });
138
+ yield* bus.publish(Event3.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service50.of({
260
+ return Service14.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node56 = makeLocationNode({
273
- service: Service50,
272
+ var node18 = makeLocationNode({
273
+ service: Service14,
274
274
  layer,
275
- deps: [FSUtil.node, node82, node83, node84, AppProcess.node, node80, Global.node]
275
+ deps: [FSUtil.node, node84, node82, node83, AppProcess.node, node80, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info19, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event12, Service50, node56, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event3, Service14, node18, exports_worktree2, OperationError2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./pty-gd4qta3r.js";
3
+ } from "./event-logger-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./pty-tvtrv512.js";
6
+ } from "./event-logger-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./pty-kg06axw8.js";
9
+ } from "./event-logger-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./event-logger-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service38,
21
+ Service: () => Service44,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node43
23
+ node: () => node48
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service38 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service44 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service38, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service38.of({
125
+ return Service44.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node43 = makeLocationNode({
143
- service: Service38,
142
+ var node48 = makeLocationNode({
143
+ service: Service44,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service38, node43, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service44, node48, exports_tool_output2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./pty-5t3nmthw.js";
3
+ } from "./event-logger-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./event-logger-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service26,
11
+ Service: () => Service30,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer12,
13
+ layer: () => layer13,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node30
15
+ node: () => node35
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
32
32
  });
33
33
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
34
34
 
35
- class Service26 extends Context.Service()("@opencode/SessionModelTransport") {
35
+ class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
36
36
  }
37
37
  var transportError = (message, input) => new AIError({
38
38
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
56
56
  return Effect.fail(observation.error);
57
57
  };
58
58
  var observationTerminal = (observation) => observation.type !== "frame";
59
- var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* () {
59
+ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
60
60
  const scope = yield* Scope.Scope;
61
61
  const states = new Map;
62
62
  const state = (sessionID) => {
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
356
356
  }, { discard: true });
357
357
  });
358
358
  yield* Effect.addFinalizer(() => closeAll);
359
- return Service26.of({ bind, close, closeAll });
359
+ return Service30.of({ bind, close, closeAll });
360
360
  }));
361
- var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
361
+ var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
362
362
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
363
363
  })));
364
- var node30 = makeGlobalNode({ service: Service26, layer: layer12, deps: [webSocketConstructor2] });
364
+ var node35 = makeGlobalNode({ service: Service30, layer: layer13, deps: [webSocketConstructor2] });
365
365
 
366
- export { Service26, makeLayer2, layer12, node30, exports_model_transport };
366
+ export { Service30, makeLayer2, layer13, node35, exports_model_transport };