@opencode/core 0.0.0-dev-19522 → 0.0.0-dev-19528

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{event-logger-rhjbct0v.js → file-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{event-logger-2wspn1sr.js → file-02tcf4dd.js} +12 -12
  10. package/dist/chunks/{event-logger-ndn9gv9q.js → file-04amdepk.js} +24 -24
  11. package/dist/chunks/{event-logger-0mgvehma.js → file-0artwwxx.js} +3 -3
  12. package/dist/chunks/{event-logger-xjhc0fx9.js → file-0j7zpftg.js} +13 -13
  13. package/dist/chunks/{event-logger-m24e36k8.js → file-0jtbt960.js} +6 -6
  14. package/dist/chunks/{event-logger-2k8khapm.js → file-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{event-logger-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{event-logger-k0c7x7cv.js → file-0pb75hch.js} +5 -5
  17. package/dist/chunks/{event-logger-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{event-logger-m7n8wce4.js → file-0r9tn05x.js} +4 -4
  19. package/dist/chunks/{event-logger-7cmx66q7.js → file-0ynyzna2.js} +10 -10
  20. package/dist/chunks/{event-logger-sa7a5tmm.js → file-14qwvs7b.js} +18 -18
  21. package/dist/chunks/{event-logger-ch5b4xvj.js → file-1a4wx43g.js} +21 -21
  22. package/dist/chunks/{event-logger-1acjjqhc.js → file-1acjjqhc.js} +1 -1
  23. package/dist/chunks/{event-logger-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{event-logger-8cwf41b2.js → file-1nqf8bjr.js} +33 -33
  25. package/dist/chunks/{event-logger-rb027g49.js → file-1szq9ecp.js} +13 -13
  26. package/dist/chunks/{event-logger-t56vxrbb.js → file-1t7r1zm4.js} +16 -16
  27. package/dist/chunks/file-1x11rq2a.js +18 -0
  28. package/dist/chunks/{event-logger-tfc0qd5p.js → file-1x57ve2g.js} +14 -14
  29. package/dist/chunks/{event-logger-q17z9dx8.js → file-1x75wf9g.js} +5 -5
  30. package/dist/chunks/{event-logger-7dw9d19m.js → file-1zhrd577.js} +11 -11
  31. package/dist/chunks/{event-logger-xbmcec40.js → file-219neeqh.js} +5 -5
  32. package/dist/chunks/{event-logger-21r38tys.js → file-21r38tys.js} +1 -1
  33. package/dist/chunks/{event-logger-esh0bm8f.js → file-22g66rc5.js} +15 -15
  34. package/dist/chunks/{event-logger-cv1ay1tc.js → file-22km3b5w.js} +30 -30
  35. package/dist/chunks/{event-logger-2402vzrj.js → file-2402vzrj.js} +1 -1
  36. package/dist/chunks/{event-logger-7ha10wes.js → file-25tefzdk.js} +30 -30
  37. package/dist/chunks/{event-logger-m5gdw33a.js → file-265kqrgy.js} +1 -1
  38. package/dist/chunks/{event-logger-bgb9gw24.js → file-26b1weyt.js} +25 -25
  39. package/dist/chunks/{event-logger-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  40. package/dist/chunks/{event-logger-844ef7ks.js → file-2hyh68ab.js} +8 -8
  41. package/dist/chunks/file-2nc0627s.js +26 -0
  42. package/dist/chunks/{event-logger-80mswp33.js → file-31z4jcxr.js} +52 -52
  43. package/dist/chunks/{event-logger-x71d43dg.js → file-33n3bzdy.js} +6 -6
  44. package/dist/chunks/{event-logger-hjdaw55a.js → file-34va41r1.js} +7 -7
  45. package/dist/chunks/{event-logger-47xeb5z3.js → file-35bt1vh1.js} +17 -17
  46. package/dist/chunks/{event-logger-ce6x2zr0.js → file-35wynegs.js} +2 -2
  47. package/dist/chunks/{event-logger-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{event-logger-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{event-logger-j752288f.js → file-3sv6egn8.js} +8 -8
  50. package/dist/chunks/{event-logger-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{event-logger-0swyrg32.js → file-3ws8f5dp.js} +15 -15
  52. package/dist/chunks/{event-logger-ev621ztv.js → file-3z7p1693.js} +19 -19
  53. package/dist/chunks/{event-logger-tqtt53gv.js → file-40s62c95.js} +5 -5
  54. package/dist/chunks/{event-logger-tmgwzcwe.js → file-414nmt5b.js} +19 -19
  55. package/dist/chunks/{event-logger-nh9g9pzb.js → file-41mmd9y1.js} +30 -30
  56. package/dist/chunks/{event-logger-dk7725me.js → file-43q9fha5.js} +5 -5
  57. package/dist/chunks/{event-logger-nhy5jxhy.js → file-47gsdddb.js} +5 -5
  58. package/dist/chunks/{event-logger-153zkwj3.js → file-47hzwb35.js} +3 -3
  59. package/dist/chunks/{event-logger-83hwqwhz.js → file-4dc4y0ze.js} +11 -11
  60. package/dist/chunks/{event-logger-xzy5cntm.js → file-4en15s67.js} +20 -20
  61. package/dist/chunks/{event-logger-nzvncwgb.js → file-4t3xbkmp.js} +6 -6
  62. package/dist/chunks/{event-logger-b5h5ke4m.js → file-4wgca9tc.js} +8 -8
  63. package/dist/chunks/{event-logger-0ajdgxne.js → file-4y66k410.js} +5 -5
  64. package/dist/chunks/{event-logger-0mgbeka9.js → file-50qh24n3.js} +13 -13
  65. package/dist/chunks/{event-logger-y6f0p4jw.js → file-539jk4fq.js} +3 -3
  66. package/dist/chunks/{event-logger-5daktx2q.js → file-5daktx2q.js} +1 -1
  67. package/dist/chunks/{event-logger-4e3hdzec.js → file-5eb8dst9.js} +56 -56
  68. package/dist/chunks/{event-logger-vxwzppst.js → file-5gachfgg.js} +9 -9
  69. package/dist/chunks/{event-logger-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{event-logger-9cg0vjy1.js → file-5trk58xb.js} +8 -8
  71. package/dist/chunks/{event-logger-trcrtdpw.js → file-5wn696jm.js} +9 -9
  72. package/dist/chunks/{event-logger-669tq793.js → file-669tq793.js} +1 -1
  73. package/dist/chunks/{event-logger-9rsqcxn1.js → file-6ah4wrp0.js} +4 -4
  74. package/dist/chunks/{event-logger-wr5k3gxd.js → file-6e2rzpgk.js} +8 -8
  75. package/dist/chunks/{event-logger-c7spm76h.js → file-6gegejpr.js} +35 -35
  76. package/dist/chunks/{event-logger-m86bnw2c.js → file-6jnybvqn.js} +9 -9
  77. package/dist/chunks/{event-logger-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  78. package/dist/chunks/{event-logger-sthbb5cw.js → file-6t0q9r78.js} +41 -41
  79. package/dist/chunks/{event-logger-0tsy7h82.js → file-6tn8gt44.js} +7 -7
  80. package/dist/chunks/{event-logger-kdr8fyyg.js → file-6wfz0872.js} +13 -13
  81. package/dist/chunks/{event-logger-sdvmr1ej.js → file-6wnv8xsn.js} +11 -11
  82. package/dist/chunks/{event-logger-6vc8p3va.js → file-70d2s7af.js} +1 -1
  83. package/dist/chunks/{event-logger-71q4at8m.js → file-71q4at8m.js} +1 -1
  84. package/dist/chunks/{event-logger-1j21w7hw.js → file-7673p22n.js} +5 -5
  85. package/dist/chunks/{event-logger-ky16kd9n.js → file-78qgck3m.js} +12 -12
  86. package/dist/chunks/{event-logger-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{event-logger-dsyhjxyt.js → file-7cewpcy1.js} +18 -18
  88. package/dist/chunks/{event-logger-ejacwys3.js → file-7f05ey4a.js} +18 -18
  89. package/dist/chunks/{event-logger-5rnzym28.js → file-7gch6zg2.js} +17 -17
  90. package/dist/chunks/{event-logger-t120k88h.js → file-818pfwc9.js} +11 -11
  91. package/dist/chunks/{event-logger-1rw5srgy.js → file-84kam919.js} +7 -7
  92. package/dist/chunks/{event-logger-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  93. package/dist/chunks/{event-logger-whcrpeby.js → file-8eaqqbf0.js} +5 -5
  94. package/dist/chunks/{event-logger-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{event-logger-pkkwwmgt.js → file-8qvgnq7a.js} +11 -11
  96. package/dist/chunks/{event-logger-ar0hjm29.js → file-8wsye86r.js} +8 -8
  97. package/dist/chunks/{event-logger-rvwqfdww.js → file-910fycqc.js} +10 -10
  98. package/dist/chunks/{event-logger-a39f2ken.js → file-93t9nhp2.js} +32 -32
  99. package/dist/chunks/{event-logger-dd7rzvx4.js → file-9d5tvsq8.js} +16 -16
  100. package/dist/chunks/{event-logger-x404byw8.js → file-9ennmngc.js} +18 -18
  101. package/dist/chunks/{event-logger-xaqfs5b5.js → file-9p392py6.js} +15 -15
  102. package/dist/chunks/{event-logger-z0tznns6.js → file-9v254cxg.js} +20 -20
  103. package/dist/chunks/{event-logger-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  104. package/dist/chunks/file-a5w130rq.js +76 -0
  105. package/dist/chunks/{event-logger-aaet6srn.js → file-aaet6srn.js} +2 -2
  106. package/dist/chunks/{event-logger-ss0awb04.js → file-ab9238g2.js} +4 -4
  107. package/dist/chunks/{event-logger-w8rcx1f0.js → file-ahr8cyhk.js} +23 -23
  108. package/dist/chunks/{event-logger-s5a05w92.js → file-ajvgy2xn.js} +9 -9
  109. package/dist/chunks/{event-logger-zjpde9dr.js → file-arxy3m15.js} +9 -9
  110. package/dist/chunks/{event-logger-vkw1mnyj.js → file-b1ngvqv8.js} +9 -9
  111. package/dist/chunks/{event-logger-8ph01gev.js → file-b1rr2bsg.js} +24 -24
  112. package/dist/chunks/{event-logger-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{event-logger-j5208yae.js → file-bscb95cy.js} +4 -4
  114. package/dist/chunks/{event-logger-pm90pbz6.js → file-c03p6rem.js} +11 -11
  115. package/dist/chunks/{event-logger-sxv6xj8p.js → file-c4p1vnej.js} +12 -12
  116. package/dist/chunks/{event-logger-dkga0czm.js → file-cd4k6mez.js} +20 -20
  117. package/dist/chunks/{event-logger-f1808m7s.js → file-ce0m10b2.js} +15 -15
  118. package/dist/chunks/{event-logger-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{event-logger-81swgkk7.js → file-cqbh7drg.js} +9 -9
  120. package/dist/chunks/{event-logger-k0gaf0st.js → file-cqy54w6w.js} +11 -11
  121. package/dist/chunks/{event-logger-nt222m0g.js → file-cs88ywcc.js} +27 -27
  122. package/dist/chunks/file-csv2z0zd.js +462 -0
  123. package/dist/chunks/{event-logger-936n54ck.js → file-cvtmmhw6.js} +1 -1
  124. package/dist/chunks/{event-logger-8awmhz5a.js → file-d0xr2htc.js} +20 -20
  125. package/dist/chunks/{event-logger-s39b72p8.js → file-d2yvvzw2.js} +12 -12
  126. package/dist/chunks/{event-logger-f5q0vcv3.js → file-d3gk90dh.js} +25 -25
  127. package/dist/chunks/{event-logger-5tk2nx2g.js → file-d9h41z9h.js} +27 -27
  128. package/dist/chunks/{event-logger-63kee7yf.js → file-dakg7qy7.js} +5 -5
  129. package/dist/chunks/{event-logger-zh5qwwz4.js → file-dkbmr5pe.js} +9 -9
  130. package/dist/chunks/{event-logger-nzv3j2hr.js → file-dm7r3pc5.js} +17 -17
  131. package/dist/chunks/{event-logger-3xp94y37.js → file-dnrxcw6z.js} +24 -24
  132. package/dist/chunks/{event-logger-v9gfehbc.js → file-e6mw24qv.js} +17 -17
  133. package/dist/chunks/{event-logger-td0hqsrb.js → file-e6z0mwk1.js} +5 -5
  134. package/dist/chunks/file-emt1axv0.js +247 -0
  135. package/dist/chunks/{event-logger-gtpaj2zh.js → file-en7aa967.js} +16 -16
  136. package/dist/chunks/{event-logger-yb94xmg0.js → file-esj243wz.js} +9 -9
  137. package/dist/chunks/{event-logger-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{event-logger-f633wym4.js → file-f06f3n70.js} +9 -9
  139. package/dist/chunks/{event-logger-k8rnnzxr.js → file-f2pfnty7.js} +23 -23
  140. package/dist/chunks/{event-logger-f828m53h.js → file-f828m53h.js} +2 -2
  141. package/dist/chunks/{event-logger-fzdy4d0q.js → file-fcfzvh6j.js} +166 -166
  142. package/dist/chunks/{event-logger-mwgsz66j.js → file-fege0r9h.js} +15 -15
  143. package/dist/chunks/{event-logger-j2ef6mt4.js → file-fezapags.js} +4 -4
  144. package/dist/chunks/{event-logger-ayvhb76k.js → file-fhzfzy7c.js} +10 -10
  145. package/dist/chunks/{event-logger-hrvd6t1f.js → file-fjmrr6sh.js} +9 -9
  146. package/dist/chunks/{event-logger-zy4z7v1p.js → file-fk07q997.js} +19 -19
  147. package/dist/chunks/{event-logger-p3q361y3.js → file-fpv6qd1b.js} +8 -8
  148. package/dist/chunks/{event-logger-rb64xmzh.js → file-frwkzbx8.js} +44 -44
  149. package/dist/chunks/{event-logger-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{event-logger-cq37gk0t.js → file-fxqygnfa.js} +4 -4
  151. package/dist/chunks/{event-logger-5wtwrezn.js → file-g190xswt.js} +21 -21
  152. package/dist/chunks/{event-logger-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{event-logger-xkk846wk.js → file-gd8cvna8.js} +18 -18
  154. package/dist/chunks/{event-logger-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  155. package/dist/chunks/{event-logger-xf6kwcfv.js → file-gf2pd57e.js} +6 -6
  156. package/dist/chunks/{event-logger-8ne0ke3n.js → file-ghe2dkz9.js} +35 -35
  157. package/dist/chunks/{event-logger-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{event-logger-w64bbnpc.js → file-gvraedsa.js} +27 -25
  159. package/dist/chunks/{event-logger-vz89k1wx.js → file-gytrcvhg.js} +9 -9
  160. package/dist/chunks/{event-logger-h03wrkyp.js → file-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{event-logger-5znnvmxs.js → file-h1jj9pag.js} +28 -28
  162. package/dist/chunks/{event-logger-j3avrqmj.js → file-h1pzvny1.js} +24 -24
  163. package/dist/chunks/{event-logger-6dyc4y4r.js → file-h3jtbnzr.js} +24 -24
  164. package/dist/chunks/{event-logger-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{event-logger-fgyjpp5p.js → file-hsypa6ar.js} +18 -18
  166. package/dist/chunks/{event-logger-mf4e5jra.js → file-htmns1y3.js} +6 -6
  167. package/dist/chunks/{event-logger-bw0vgseb.js → file-hvbks3tt.js} +5 -5
  168. package/dist/chunks/{event-logger-cbs9m2xx.js → file-hxbh4fj6.js} +11 -11
  169. package/dist/chunks/{event-logger-18q3vk51.js → file-j00tdnw6.js} +6 -6
  170. package/dist/chunks/{event-logger-j56e64zr.js → file-j56e64zr.js} +1 -1
  171. package/dist/chunks/{event-logger-r98e92ep.js → file-j83byb14.js} +4 -4
  172. package/dist/chunks/{event-logger-x871jg53.js → file-jcgwdjtk.js} +18 -18
  173. package/dist/chunks/{event-logger-c2nw9g0k.js → file-jkhg65pf.js} +11 -11
  174. package/dist/chunks/{event-logger-dqv3av83.js → file-jv85zyec.js} +6 -6
  175. package/dist/chunks/{event-logger-9wt937vk.js → file-jxmh29vv.js} +5 -5
  176. package/dist/chunks/{event-logger-4se67rdf.js → file-k1vfbhap.js} +15 -15
  177. package/dist/chunks/{event-logger-m36jmyye.js → file-k4qrwsy9.js} +46 -46
  178. package/dist/chunks/{event-logger-jvf3yq6v.js → file-k76fn4kw.js} +4 -4
  179. package/dist/chunks/{event-logger-hej11e9k.js → file-kb4a3nmp.js} +46 -46
  180. package/dist/chunks/{event-logger-xhrkmfd9.js → file-kf46snkd.js} +20 -20
  181. package/dist/chunks/{event-logger-kg06axw8.js → file-kg06axw8.js} +1 -1
  182. package/dist/chunks/{event-logger-at0jc416.js → file-kp8nr7sd.js} +24 -24
  183. package/dist/chunks/{event-logger-n07gqhyx.js → file-kv8awt1x.js} +9 -9
  184. package/dist/chunks/{event-logger-z30g0gt0.js → file-m95xzgpp.js} +6 -6
  185. package/dist/chunks/{event-logger-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{event-logger-56gdpj1q.js → file-mfqp6xfm.js} +6 -6
  187. package/dist/chunks/{event-logger-7yh4e7ss.js → file-mhkvc446.js} +3 -3
  188. package/dist/chunks/{event-logger-ghz6wyt3.js → file-mrde2rj2.js} +4 -4
  189. package/dist/chunks/{event-logger-b0dr1xvw.js → file-mv3cjtdy.js} +29 -29
  190. package/dist/chunks/{event-logger-jcbnna01.js → file-mz6ae2yf.js} +1 -1
  191. package/dist/chunks/{event-logger-aw305kc2.js → file-n3ztrd94.js} +24 -24
  192. package/dist/chunks/{event-logger-kt5w8vxh.js → file-nbddwgy7.js} +10 -10
  193. package/dist/chunks/{event-logger-cns04f9e.js → file-nfqbq3x1.js} +11 -11
  194. package/dist/chunks/{event-logger-p87m1m37.js → file-nhkphzvf.js} +2 -2
  195. package/dist/chunks/{event-logger-sd7wqtbt.js → file-p4ncety1.js} +18 -18
  196. package/dist/chunks/{event-logger-gzpzy08g.js → file-p6dq1g3m.js} +24 -24
  197. package/dist/chunks/{event-logger-j935v87r.js → file-paphc93g.js} +2 -2
  198. package/dist/chunks/{event-logger-mtft99cd.js → file-pecb0brz.js} +5 -5
  199. package/dist/chunks/{event-logger-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{event-logger-pknna89w.js → file-pknna89w.js} +1 -1
  201. package/dist/chunks/{event-logger-d54ffpbv.js → file-pm2x09cs.js} +26 -26
  202. package/dist/chunks/{event-logger-eraanh1f.js → file-prbnmmzj.js} +4 -4
  203. package/dist/chunks/{event-logger-6cwabdtw.js → file-pvfkhdr6.js} +4 -4
  204. package/dist/chunks/{event-logger-tf5cr1kr.js → file-q1r1ttcv.js} +22 -22
  205. package/dist/chunks/{event-logger-sjefxttk.js → file-q79ez36s.js} +13 -13
  206. package/dist/chunks/{event-logger-jm81tt6p.js → file-qbkv1r9x.js} +30 -30
  207. package/dist/chunks/{event-logger-62sdnsqh.js → file-qhyy3z7t.js} +18 -18
  208. package/dist/chunks/{event-logger-wbkyxrgf.js → file-qjnxxf51.js} +5 -5
  209. package/dist/chunks/{event-logger-b9cnnpx5.js → file-qn41sexy.js} +84 -84
  210. package/dist/chunks/{event-logger-qsdy395h.js → file-qsdy395h.js} +1 -1
  211. package/dist/chunks/{event-logger-6sc41f2m.js → file-qx7mza5y.js} +18 -18
  212. package/dist/chunks/{event-logger-amtwdtr3.js → file-r2hc3hm0.js} +10 -10
  213. package/dist/chunks/{event-logger-r9mregkx.js → file-r9mregkx.js} +2 -2
  214. package/dist/chunks/{event-logger-41b51z4e.js → file-rbfaw35k.js} +32 -32
  215. package/dist/chunks/{event-logger-zawdfknb.js → file-rfw2p3w1.js} +13 -13
  216. package/dist/chunks/{event-logger-1qa6hfby.js → file-rkzx19zq.js} +15 -15
  217. package/dist/chunks/{event-logger-m03dct7t.js → file-rmn58emj.js} +13 -13
  218. package/dist/chunks/{event-logger-68g81w8z.js → file-rs36rx17.js} +30 -30
  219. package/dist/chunks/{event-logger-bccb6npm.js → file-rsdf2nvv.js} +4 -4
  220. package/dist/chunks/{event-logger-bj0dqvmh.js → file-rtd9zf3v.js} +59 -59
  221. package/dist/chunks/{event-logger-cwb0we08.js → file-rya1a4hz.js} +28 -28
  222. package/dist/chunks/{event-logger-90t1w6x4.js → file-s07qazfk.js} +7 -7
  223. package/dist/chunks/{event-logger-ba4a77r6.js → file-s0gw9m46.js} +4 -4
  224. package/dist/chunks/{event-logger-pkfr1pet.js → file-s1cnfe1p.js} +11 -11
  225. package/dist/chunks/{event-logger-yefegs55.js → file-s2297spr.js} +20 -20
  226. package/dist/chunks/{event-logger-1nn3xxet.js → file-s23yxtty.js} +10 -10
  227. package/dist/chunks/{event-logger-zfznrpx1.js → file-s9yxznb6.js} +4 -4
  228. package/dist/chunks/{event-logger-359n0vr4.js → file-sd4j1pxm.js} +9 -9
  229. package/dist/chunks/{event-logger-p0a23dx6.js → file-shrpy2d8.js} +6 -6
  230. package/dist/chunks/{event-logger-hpzj69ys.js → file-sp4mxhmb.js} +9 -9
  231. package/dist/chunks/{event-logger-806j49yq.js → file-sxz6gkc3.js} +7 -7
  232. package/dist/chunks/{event-logger-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{event-logger-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{event-logger-tdstcens.js → file-tdstcens.js} +1 -1
  235. package/dist/chunks/{event-logger-2f0bjgcj.js → file-tn0aqsam.js} +5 -5
  236. package/dist/chunks/{event-logger-ncagzpqf.js → file-trt71rst.js} +41 -41
  237. package/dist/chunks/{event-logger-tvtrv512.js → file-tvtrv512.js} +1 -1
  238. package/dist/chunks/{event-logger-b09hzw3k.js → file-v5j4d43x.js} +2 -2
  239. package/dist/chunks/{event-logger-s058yp8t.js → file-v8h4em9y.js} +43 -43
  240. package/dist/chunks/{event-logger-h827z1wc.js → file-vc991s6b.js} +81 -81
  241. package/dist/chunks/{event-logger-veqvce7d.js → file-veqvce7d.js} +1 -1
  242. package/dist/chunks/{event-logger-dkbwh9ch.js → file-vesrk8bq.js} +11 -11
  243. package/dist/chunks/{event-logger-njct8jvz.js → file-vh74bm19.js} +18 -18
  244. package/dist/chunks/{event-logger-vhn7gvaw.js → file-vt5pzj5z.js} +7 -7
  245. package/dist/chunks/{event-logger-kqwhkqhr.js → file-vyk9kkx4.js} +4 -4
  246. package/dist/chunks/{event-logger-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{event-logger-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{event-logger-zgkempy3.js → file-w4s8a7wb.js} +16 -16
  249. package/dist/chunks/{event-logger-bvm1hg5c.js → file-wavq5vqb.js} +1 -1
  250. package/dist/chunks/{event-logger-xhsmq68x.js → file-wbysn9an.js} +26 -26
  251. package/dist/chunks/{event-logger-m4brm0xw.js → file-wd251cp4.js} +4 -4
  252. package/dist/chunks/{event-logger-wd87259q.js → file-wd87259q.js} +1 -1
  253. package/dist/chunks/{event-logger-t23qze4t.js → file-wx9wy1qm.js} +1 -1
  254. package/dist/chunks/{event-logger-w2e8ktns.js → file-wxpbfje7.js} +17 -17
  255. package/dist/chunks/{event-logger-terctddd.js → file-x02aksw7.js} +30 -30
  256. package/dist/chunks/{event-logger-7f3kf6pd.js → file-x0cdxhvm.js} +32 -32
  257. package/dist/chunks/{event-logger-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{event-logger-tcb1qavv.js → file-x64f48yq.js} +17 -17
  259. package/dist/chunks/{event-logger-vadf2hxy.js → file-x7wsddgn.js} +15 -15
  260. package/dist/chunks/{event-logger-dmcwma29.js → file-xb0gqag0.js} +15 -15
  261. package/dist/chunks/{event-logger-7adby5ty.js → file-xt5erzss.js} +45 -45
  262. package/dist/chunks/{event-logger-tzrnpvjh.js → file-xvqmdntd.js} +35 -35
  263. package/dist/chunks/{event-logger-3sr32dx8.js → file-xwbwee27.js} +34 -34
  264. package/dist/chunks/{event-logger-jva4mgym.js → file-xwwz9aqf.js} +4 -4
  265. package/dist/chunks/{event-logger-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{event-logger-bvn0jvmc.js → file-y1k8ht98.js} +27 -27
  267. package/dist/chunks/{event-logger-dpkg50ah.js → file-y71avatq.js} +4 -4
  268. package/dist/chunks/{event-logger-cjwramev.js → file-y8p3zjbc.js} +4 -4
  269. package/dist/chunks/{event-logger-gt2gssxy.js → file-yaq7yvs3.js} +14 -14
  270. package/dist/chunks/{event-logger-dfa1vh33.js → file-ydee2bp2.js} +43 -43
  271. package/dist/chunks/{event-logger-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{event-logger-s4enseaf.js → file-yrznvahk.js} +2 -2
  273. package/dist/chunks/{event-logger-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{event-logger-qccnpqpp.js → file-z5h77yjr.js} +47 -47
  275. package/dist/chunks/{event-logger-zs2m6qpz.js → file-z5ktvhxm.js} +9 -9
  276. package/dist/chunks/{event-logger-29x78va6.js → file-z63w68vq.js} +6 -6
  277. package/dist/chunks/{event-logger-94x97s7s.js → file-z7g31g5b.js} +1 -1
  278. package/dist/chunks/{event-logger-f8qm8sf3.js → file-zad2r4qh.js} +24 -24
  279. package/dist/chunks/{event-logger-xxvz0crz.js → file-zc8d7jvw.js} +3 -3
  280. package/dist/chunks/{event-logger-xmn01vd9.js → file-zcf49hx1.js} +26 -26
  281. package/dist/chunks/{event-logger-eq4x7z7g.js → file-zd5ckerx.js} +27 -27
  282. package/dist/chunks/{event-logger-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{event-logger-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{event-logger-vy5eqv62.js → file-zs2arz1s.js} +27 -27
  285. package/dist/chunks/{event-logger-5chc8p18.js → file-zte42zvw.js} +12 -12
  286. package/dist/chunks/{event-logger-bqvjxhzq.js → file-zvrekwpq.js} +6 -6
  287. package/dist/chunks/{event-logger-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +3 -3
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +84 -84
  292. package/dist/config/discovery.js +78 -78
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +86 -86
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +119 -119
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +112 -112
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +120 -120
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -360
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +94 -94
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +95 -95
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +79 -79
  428. package/dist/generate.js +90 -90
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +7 -7
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -352
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +81 -81
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +87 -87
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +129 -129
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +82 -82
  465. package/dist/location-services.js +350 -349
  466. package/dist/location.js +83 -83
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +98 -98
  469. package/dist/mcp/instructions.js +121 -121
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +81 -81
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +81 -81
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +113 -113
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +85 -85
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +98 -98
  487. package/dist/plugin/command.js +95 -95
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -323
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +5 -5
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +115 -115
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +118 -118
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +116 -116
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +79 -79
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +118 -118
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  533. package/dist/plugin/provider.js +157 -157
  534. package/dist/plugin/sdk.js +73 -73
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +339 -338
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +113 -113
  544. package/dist/plugin/websearch/exa.js +5 -5
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -8
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +13 -0
  551. package/dist/plugin.js +219 -219
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +86 -86
  555. package/dist/provider.js +5 -5
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +89 -89
  560. package/dist/reference/instructions.js +85 -85
  561. package/dist/reference.js +87 -87
  562. package/dist/repository-cache.js +77 -77
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +94 -94
  566. package/dist/rpc.js +82 -82
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +128 -128
  570. package/dist/session/context.js +146 -146
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +217 -217
  575. package/dist/session/execution.js +123 -123
  576. package/dist/session/generate.js +147 -147
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +85 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +93 -93
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +114 -114
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +127 -127
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +101 -101
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +86 -86
  592. package/dist/session/run-coordinator.js +1 -1
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +87 -87
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +111 -111
  599. package/dist/session/runner/step.js +120 -120
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +170 -170
  603. package/dist/session/shell.js +132 -132
  604. package/dist/session/skill.js +99 -99
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +86 -86
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +148 -148
  612. package/dist/session/to-session-error.js +108 -108
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +212 -212
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +9 -9
  620. package/dist/shell.js +134 -134
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +103 -103
  623. package/dist/skill.js +108 -108
  624. package/dist/snapshot.js +87 -87
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +122 -122
  629. package/dist/tool/plugin/edit.js +114 -114
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +121 -121
  632. package/dist/tool/plugin/grep.js +121 -121
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +118 -118
  635. package/dist/tool/plugin/question.js +101 -101
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +109 -109
  639. package/dist/tool/plugin/subagent.js +215 -215
  640. package/dist/tool/plugin/webfetch.js +108 -108
  641. package/dist/tool/plugin/websearch.js +110 -110
  642. package/dist/tool/plugin/write.js +118 -118
  643. package/dist/tool/read-filesystem.js +97 -97
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/types/plugin/websearch/index.d.ts +1 -1
  648. package/dist/types/plugin/websearch/tinyfish.d.ts +5 -0
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +3 -3
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +86 -86
  676. package/dist/websearch.js +79 -79
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +78 -78
  679. package/dist/workspace/driver.js +3 -3
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -341
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +88 -88
  687. package/package.json +8 -8
  688. package/dist/chunks/event-logger-9sh4wc5j.js +0 -18
  689. package/dist/chunks/event-logger-a5r3kjdg.js +0 -247
  690. package/dist/chunks/event-logger-mqnfax07.js +0 -22
  691. package/dist/chunks/event-logger-p61frmk7.js +0 -462
  692. /package/dist/chunks/{event-logger-0mesazry.js → file-0mesazry.js} +0 -0
  693. /package/dist/chunks/{event-logger-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{event-logger-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{event-logger-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{event-logger-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{event-logger-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{event-logger-2710q6r3.js → file-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{event-logger-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{event-logger-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{event-logger-359p4xyc.js → file-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{event-logger-3asan66x.js → file-3asan66x.js} +0 -0
  703. /package/dist/chunks/{event-logger-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{event-logger-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{event-logger-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{event-logger-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{event-logger-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{event-logger-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{event-logger-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{event-logger-53557ph1.js → file-53557ph1.js} +0 -0
  711. /package/dist/chunks/{event-logger-550bvhaj.js → file-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{event-logger-6prwharc.js → file-6prwharc.js} +0 -0
  713. /package/dist/chunks/{event-logger-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{event-logger-7m9af43g.js → file-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{event-logger-822emrt2.js → file-822emrt2.js} +0 -0
  716. /package/dist/chunks/{event-logger-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{event-logger-8n3pysct.js → file-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{event-logger-922hggd3.js → file-922hggd3.js} +0 -0
  719. /package/dist/chunks/{event-logger-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{event-logger-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{event-logger-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{event-logger-af5trqkr.js → file-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{event-logger-afrmfg78.js → file-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{event-logger-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{event-logger-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{event-logger-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{event-logger-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{event-logger-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{event-logger-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{event-logger-d9fn303g.js → file-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{event-logger-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{event-logger-dajrwvna.js → file-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{event-logger-dap0rakb.js → file-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{event-logger-df08tz66.js → file-df08tz66.js} +0 -0
  735. /package/dist/chunks/{event-logger-dy18nga0.js → file-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{event-logger-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{event-logger-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{event-logger-ec1grn59.js → file-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{event-logger-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{event-logger-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{event-logger-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{event-logger-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{event-logger-faypxj3z.js → file-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{event-logger-fd410y7t.js → file-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{event-logger-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{event-logger-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{event-logger-g86h250q.js → file-g86h250q.js} +0 -0
  748. /package/dist/chunks/{event-logger-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{event-logger-gftt206x.js → file-gftt206x.js} +0 -0
  750. /package/dist/chunks/{event-logger-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{event-logger-hk9envan.js → file-hk9envan.js} +0 -0
  752. /package/dist/chunks/{event-logger-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
  753. /package/dist/chunks/{event-logger-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{event-logger-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{event-logger-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{event-logger-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{event-logger-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{event-logger-mp448xyj.js → file-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{event-logger-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{event-logger-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{event-logger-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{event-logger-njntx4h6.js → file-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{event-logger-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{event-logger-q74kybfr.js → file-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{event-logger-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{event-logger-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{event-logger-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{event-logger-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{event-logger-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{event-logger-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{event-logger-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{event-logger-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{event-logger-twg0f83k.js → file-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{event-logger-w803qqfp.js → file-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{event-logger-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{event-logger-wtztk69x.js → file-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{event-logger-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{event-logger-x61499pn.js → file-x61499pn.js} +0 -0
  779. /package/dist/chunks/{event-logger-y44na4kk.js → file-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{event-logger-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{event-logger-y8f7s663.js → file-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{event-logger-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{event-logger-ym463w8f.js → file-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{event-logger-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./event-logger-j2ef6mt4.js";
4
+ } from "./file-fezapags.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./event-logger-zgkempy3.js";
6
+ Service75,
7
+ node80
8
+ } from "./file-w4s8a7wb.js";
9
9
  import {
10
- Service68,
11
- node72
12
- } from "./event-logger-ndn9gv9q.js";
10
+ Service73,
11
+ node77
12
+ } from "./file-04amdepk.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./event-logger-gd4qta3r.js";
15
+ } from "./file-gd4qta3r.js";
16
16
  import {
17
- Service70,
17
+ Service65,
18
18
  args2,
19
- node75
20
- } from "./event-logger-zawdfknb.js";
19
+ node69
20
+ } from "./file-rfw2p3w1.js";
21
21
  import {
22
- Service66,
23
- node70
24
- } from "./event-logger-9cg0vjy1.js";
22
+ Service71,
23
+ node75
24
+ } from "./file-5trk58xb.js";
25
25
  import {
26
- Service61,
27
- node65
28
- } from "./event-logger-ar0hjm29.js";
26
+ Service37,
27
+ node41
28
+ } from "./file-8wsye86r.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./event-logger-y6f0p4jw.js";
31
+ } from "./file-539jk4fq.js";
32
32
  import {
33
33
  latest2,
34
- Service62,
35
- node66
36
- } from "./event-logger-s058yp8t.js";
34
+ Service38,
35
+ node42
36
+ } from "./file-v8h4em9y.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./event-logger-ky16kd9n.js";
40
+ } from "./file-78qgck3m.js";
41
41
  import {
42
42
  __export
43
- } from "./event-logger-9rqn6x4v.js";
43
+ } from "./file-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError9,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service60,
51
+ Service: () => Service36,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node64
54
+ node: () => node40
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service60 extends Context.Service()("@opencode/Shell") {
73
+ class Service36 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service60, Effect.gen(function* () {
89
+ var layer = () => Layer.effect(Service36, Effect.gen(function* () {
90
90
  const bus = yield* Service79;
91
- const location = yield* Service76;
91
+ const location = yield* Service75;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service70;
94
- const environment = yield* Service68;
95
- const hooks = yield* Service66;
96
- const environments = yield* Service61;
97
- const config = yield* Service62;
93
+ const shell = yield* Service65;
94
+ const environment = yield* Service73;
95
+ const hooks = yield* Service71;
96
+ const environments = yield* Service37;
97
+ const config = yield* Service38;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError9({ id });
118
+ return yield* new NotFoundError5({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError9({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service60, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service60.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service36.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node64 = makeLocationNode({
320
- service: Service60,
319
+ var node40 = makeLocationNode({
320
+ service: Service36,
321
321
  layer: layer(),
322
322
  deps: [
323
323
  node84,
324
- node81,
324
+ node80,
325
325
  Global.node,
326
+ node69,
327
+ node77,
326
328
  node75,
327
- node72,
328
- node70,
329
- node65,
330
- node66,
329
+ node41,
330
+ node42,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError9, RETENTION2, DIRECTORY2, Service60, cleanup2, node64, exports_shell4 };
335
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service36, cleanup2, node40, exports_shell4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service42,
9
+ Service: () => Service51,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service42 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service51 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service42, exports_runner };
18
+ export { DrainResult2, Service51, exports_runner };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./event-logger-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service62
7
- } from "./event-logger-s058yp8t.js";
6
+ Service38
7
+ } from "./file-v8h4em9y.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./event-logger-2a5m3afh.js";
10
+ } from "./file-2a5m3afh.js";
11
11
  import {
12
- Service68
13
- } from "./event-logger-ndn9gv9q.js";
12
+ Service73
13
+ } from "./file-04amdepk.js";
14
14
  import {
15
- Service47
16
- } from "./event-logger-xaqfs5b5.js";
15
+ Service55
16
+ } from "./file-9p392py6.js";
17
17
  import {
18
- Service50
19
- } from "./event-logger-bj0dqvmh.js";
18
+ Service67
19
+ } from "./file-rtd9zf3v.js";
20
20
  import {
21
- Service17,
21
+ Service66,
22
22
  resolvePath2
23
- } from "./event-logger-sd7wqtbt.js";
23
+ } from "./file-p4ncety1.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./event-logger-fxbjtjnd.js";
29
+ } from "./file-fxbjtjnd.js";
30
30
  import {
31
- Service70,
31
+ Service65,
32
32
  name15
33
- } from "./event-logger-zawdfknb.js";
33
+ } from "./file-rfw2p3w1.js";
34
34
  import {
35
- NotFoundError9,
36
- Service60
37
- } from "./event-logger-m36jmyye.js";
35
+ NotFoundError5,
36
+ Service36
37
+ } from "./file-k4qrwsy9.js";
38
38
  import {
39
- Service21
40
- } from "./event-logger-b9cnnpx5.js";
39
+ Service19
40
+ } from "./file-qn41sexy.js";
41
41
  import {
42
42
  scan2
43
- } from "./event-logger-ghz6wyt3.js";
43
+ } from "./file-mrde2rj2.js";
44
44
  import {
45
45
  __export
46
- } from "./event-logger-9rqn6x4v.js";
46
+ } from "./file-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input12,
53
- Plugin: () => Plugin13,
54
- ShellTool: () => exports_shell,
55
- name: () => name12
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin38,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name12 = "shell";
59
+ var name5 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input12 = Schema.Struct({
73
+ var Input5 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin13 = {
118
+ var Plugin38 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service21;
122
- const jobs = yield* Service47;
121
+ const sessions = yield* Service19;
122
+ const jobs = yield* Service55;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service68;
125
- const access = yield* Service17;
126
- const shell = yield* Service60;
127
- const shellSelect = yield* Service70;
124
+ const environment = yield* Service73;
125
+ const access = yield* Service66;
126
+ const shell = yield* Service36;
127
+ const shellSelect = yield* Service65;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service50;
130
- const config = yield* Service62;
129
+ const permission = yield* Service67;
130
+ const config = yield* Service38;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin13 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name12,
149
+ action: name5,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin13 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name12,
186
+ name: name5,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input12,
189
+ input: Input5,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin13 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError9({ id: info.id });
208
+ return yield* new NotFoundError5({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name12,
222
+ type: name5,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
252
- const tool = event.tools[name12];
252
+ const tool = event.tools[name5];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
257
257
  })
258
258
  };
259
259
 
260
- export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
260
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin38, exports_shell2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key3,
2
+ Key4,
3
3
  removed2,
4
4
  empty3,
5
5
  make20,
6
6
  diffByKey2
7
- } from "./event-logger-rhjbct0v.js";
7
+ } from "./file-02nrjc1r.js";
8
8
  import {
9
- ID6,
9
+ ID5,
10
10
  Name2,
11
11
  available2,
12
- Service39,
13
- node43
14
- } from "./event-logger-6dyc4y4r.js";
12
+ Service41,
13
+ node45
14
+ } from "./file-h3jtbnzr.js";
15
15
  import {
16
16
  __export
17
- } from "./event-logger-9rqn6x4v.js";
17
+ } from "./file-9rqn6x4v.js";
18
18
 
19
19
  // src/skill/instructions.ts
20
- var exports_instructions2 = {};
21
- __export(exports_instructions2, {
22
- Service: () => Service24,
23
- SkillInstructions: () => exports_instructions2,
24
- node: () => node28
20
+ var exports_instructions3 = {};
21
+ __export(exports_instructions3, {
22
+ Service: () => Service28,
23
+ SkillInstructions: () => exports_instructions3,
24
+ node: () => node32
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
28
  var Summary = Schema.Struct({
29
- id: ID6,
29
+ id: ID5,
30
30
  name: Name2,
31
31
  description: Schema.String
32
32
  });
@@ -60,18 +60,18 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service24 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service28 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service24, Effect.gen(function* () {
66
- const skills = yield* Service39;
67
- return Service24.of({
65
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
66
+ const skills = yield* Service41;
67
+ return Service28.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (selection) {
69
69
  const agent = selection.info;
70
70
  if (!agent)
71
71
  return empty3;
72
72
  const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
73
73
  return make20({
74
- key: Key3.make("core/skill-guidance"),
74
+ key: Key4.make("core/skill-guidance"),
75
75
  codec: Schema.toCodecJson(Schema.Array(Summary)),
76
76
  read: Effect.succeed(available.length === 0 ? removed2 : available),
77
77
  render: {
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
83
83
  })
84
84
  });
85
85
  }));
86
- var node28 = makeLocationNode({ service: Service24, layer, deps: [node43] });
86
+ var node32 = makeLocationNode({ service: Service28, layer, deps: [node45] });
87
87
 
88
- export { Service24, node28, exports_instructions2 };
88
+ export { Service28, node32, exports_instructions3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./event-logger-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./event-logger-5wtwrezn.js";
6
+ } from "./file-g190xswt.js";
7
7
  import {
8
- Info14
9
- } from "./event-logger-t120k88h.js";
8
+ Info15
9
+ } from "./file-818pfwc9.js";
10
10
  import {
11
- Info18
12
- } from "./event-logger-2f0bjgcj.js";
11
+ Info17
12
+ } from "./file-tn0aqsam.js";
13
13
  import {
14
- Info21
15
- } from "./event-logger-806j49yq.js";
14
+ Info13
15
+ } from "./file-sxz6gkc3.js";
16
16
  import {
17
- Info22
18
- } from "./event-logger-mtft99cd.js";
17
+ Info10
18
+ } from "./file-pecb0brz.js";
19
19
  import {
20
20
  Spec2
21
- } from "./event-logger-2k8khapm.js";
21
+ } from "./file-0jwsre1p.js";
22
22
  import {
23
- Info15
24
- } from "./event-logger-wbkyxrgf.js";
23
+ Info9
24
+ } from "./file-qjnxxf51.js";
25
25
  import {
26
- Info13
27
- } from "./event-logger-dfa1vh33.js";
26
+ Info8
27
+ } from "./file-ydee2bp2.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./event-logger-ba4a77r6.js";
36
+ } from "./file-s0gw9m46.js";
37
37
  import {
38
38
  __export
39
- } from "./event-logger-9rqn6x4v.js";
39
+ } from "./file-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info22, value, path, diagnostics);
228
+ const server = decodeValue(Info10, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info15, raw, path, diagnostics);
424
+ const provider = decodeValue(Info9, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./event-logger-gftt206x.js";
3
+ } from "./file-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./event-logger-y6f0p4jw.js";
6
+ } from "./file-539jk4fq.js";
7
7
  import {
8
8
  __export
9
- } from "./event-logger-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error = {};
13
- __export(exports_error, {
12
+ var exports_error2 = {};
13
+ __export(exports_error2, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError6,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error,
24
+ SessionErrors: () => exports_error2,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-wr5k3gxd.js";
3
+ } from "./file-6e2rzpgk.js";
4
4
  import {
5
- ID16
6
- } from "./event-logger-x71d43dg.js";
5
+ ID18
6
+ } from "./file-33n3bzdy.js";
7
7
  import {
8
8
  iife2
9
- } from "./event-logger-1kg9ymc8.js";
9
+ } from "./file-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./event-logger-90t1w6x4.js";
12
+ } from "./file-s07qazfk.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID16.make("cloudflare-ai-gateway");
19
+ var providerID = ID18.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {