@opencode/core 0.0.0-dev-19883 → 0.0.0-dev-19885

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{event-logger-3csn3f6x.js → app-014xdmgp.js} +26 -26
  8. package/dist/chunks/{event-logger-v2f267zw.js → app-01s6r663.js} +17 -17
  9. package/dist/chunks/{event-logger-5jghf0hr.js → app-03matkmd.js} +17 -17
  10. package/dist/chunks/{event-logger-q4x4f9x3.js → app-06r2eyqd.js} +6 -6
  11. package/dist/chunks/{event-logger-xfqb4thj.js → app-07can071.js} +25 -25
  12. package/dist/chunks/{event-logger-t550f9t1.js → app-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{event-logger-tw4cw4te.js → app-0hr54mt4.js} +31 -31
  14. package/dist/chunks/{event-logger-pnezrcsm.js → app-0j8d1df6.js} +5 -5
  15. package/dist/chunks/{event-logger-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{event-logger-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{event-logger-40zcdha5.js → app-0sa6p4t3.js} +11 -11
  18. package/dist/chunks/{event-logger-erw0j3dc.js → app-0tv5m9zy.js} +15 -15
  19. package/dist/chunks/{event-logger-nv6sgpkb.js → app-11823ez3.js} +9 -9
  20. package/dist/chunks/{event-logger-k9eyp8c5.js → app-16rcg4y4.js} +30 -30
  21. package/dist/chunks/{event-logger-t9zs3egg.js → app-1a6p2twq.js} +4 -4
  22. package/dist/chunks/{event-logger-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{event-logger-ef1vt8sq.js → app-1s3za36d.js} +4 -4
  24. package/dist/chunks/{event-logger-nemvvhp1.js → app-1wr3afwe.js} +5 -5
  25. package/dist/chunks/{event-logger-y8bg65e2.js → app-1zcc4bn4.js} +11 -11
  26. package/dist/chunks/{event-logger-s8xqzfhv.js → app-20dk8r1s.js} +26 -26
  27. package/dist/chunks/{event-logger-tqsbc54k.js → app-20ycjnd3.js} +6 -6
  28. package/dist/chunks/{event-logger-5y196rt8.js → app-20zx6c52.js} +22 -22
  29. package/dist/chunks/{event-logger-21r38tys.js → app-21r38tys.js} +1 -1
  30. package/dist/chunks/{event-logger-msq0jde0.js → app-26ym7a2d.js} +4 -4
  31. package/dist/chunks/{event-logger-z63w68vq.js → app-29x78va6.js} +6 -6
  32. package/dist/chunks/{event-logger-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{event-logger-c9sk7z94.js → app-2f21k4jq.js} +19 -19
  34. package/dist/chunks/{event-logger-nybvked5.js → app-2fvbvr4z.js} +13 -13
  35. package/dist/chunks/{event-logger-q1v1tjfj.js → app-2hsx99jb.js} +36 -36
  36. package/dist/chunks/{event-logger-0jwsre1p.js → app-2k8khapm.js} +5 -5
  37. package/dist/chunks/{event-logger-ckqp5h15.js → app-2npqe2nd.js} +34 -34
  38. package/dist/chunks/{event-logger-pstg3rfm.js → app-2pjc63d4.js} +1 -1
  39. package/dist/chunks/{event-logger-nrdmrqsx.js → app-2pnhn36q.js} +21 -21
  40. package/dist/chunks/{event-logger-c121y83y.js → app-35w9qdzz.js} +9 -9
  41. package/dist/chunks/app-39c2k6vv.js +26 -0
  42. package/dist/chunks/{event-logger-adbn4dna.js → app-39dgwvb1.js} +27 -27
  43. package/dist/chunks/{event-logger-j15mfg1p.js → app-3b1q5j1v.js} +6 -6
  44. package/dist/chunks/{event-logger-dwhttab4.js → app-3e6x224v.js} +18 -18
  45. package/dist/chunks/{event-logger-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{event-logger-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{event-logger-rtbp0y8z.js → app-3m4ehbcm.js} +10 -10
  48. package/dist/chunks/{event-logger-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{event-logger-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{event-logger-ws6abfst.js → app-3vaynbq5.js} +3 -3
  51. package/dist/chunks/{event-logger-mtd3hevm.js → app-44zmf7q8.js} +43 -43
  52. package/dist/chunks/{event-logger-fr5z3gca.js → app-49yvn64x.js} +1 -1
  53. package/dist/chunks/{event-logger-kz7agx4r.js → app-4d4f54qe.js} +42 -42
  54. package/dist/chunks/app-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{event-logger-dz8x4rxg.js → app-4y9pqhyv.js} +4 -4
  56. package/dist/chunks/{event-logger-sfk65rgw.js → app-55y9qcck.js} +8 -8
  57. package/dist/chunks/{event-logger-56gdpj1q.js → app-56gdpj1q.js} +2 -2
  58. package/dist/chunks/{event-logger-533t3k18.js → app-57e9z27j.js} +8 -8
  59. package/dist/chunks/{event-logger-57ez7d0k.js → app-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{event-logger-s8mtmqsj.js → app-57m20ys8.js} +5 -5
  61. package/dist/chunks/{event-logger-5c4hm403.js → app-5c4hm403.js} +3 -3
  62. package/dist/chunks/{event-logger-5daktx2q.js → app-5daktx2q.js} +1 -1
  63. package/dist/chunks/{event-logger-6hc1ve34.js → app-5mj83k5s.js} +11 -11
  64. package/dist/chunks/{event-logger-wqc6684y.js → app-5nb2d01r.js} +2 -2
  65. package/dist/chunks/{event-logger-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{event-logger-cc6fgmxw.js → app-5v8q48de.js} +33 -33
  67. package/dist/chunks/{event-logger-km0q4cc0.js → app-5vt9esmq.js} +20 -20
  68. package/dist/chunks/{event-logger-669tq793.js → app-669tq793.js} +1 -1
  69. package/dist/chunks/{event-logger-cr4m8zwx.js → app-688dcwrg.js} +11 -11
  70. package/dist/chunks/{event-logger-fc3harsg.js → app-68zcn1pn.js} +5 -5
  71. package/dist/chunks/{event-logger-h4gjr50j.js → app-6c2r5v8w.js} +4 -4
  72. package/dist/chunks/{event-logger-2402vzrj.js → app-6h73sxmp.js} +5 -5
  73. package/dist/chunks/{event-logger-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{event-logger-tvk4srm3.js → app-6nshdwd7.js} +34 -34
  75. package/dist/chunks/{event-logger-bwckxjxx.js → app-6r8xth9q.js} +11 -11
  76. package/dist/chunks/{event-logger-c1np9tvh.js → app-709xpvx9.js} +12 -12
  77. package/dist/chunks/{event-logger-zh8ae39d.js → app-711sgqvm.js} +9 -9
  78. package/dist/chunks/{event-logger-8mbscqky.js → app-79mnhcfn.js} +8 -8
  79. package/dist/chunks/{event-logger-b6d8p86x.js → app-7b4r5at6.js} +17 -17
  80. package/dist/chunks/{event-logger-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{event-logger-5qpddqx9.js → app-7ekr1ah4.js} +32 -32
  82. package/dist/chunks/{event-logger-1zqt6k48.js → app-7ghxp6dc.js} +11 -11
  83. package/dist/chunks/{event-logger-0f9afca0.js → app-7gvwkz6m.js} +5 -5
  84. package/dist/chunks/{event-logger-d52xjy57.js → app-7hnsdr40.js} +28 -28
  85. package/dist/chunks/{event-logger-wcp0pvg9.js → app-7hwc72pw.js} +43 -43
  86. package/dist/chunks/{event-logger-j945v2sv.js → app-7ka5mwj0.js} +24 -24
  87. package/dist/chunks/{event-logger-8akqzrar.js → app-7mvfcvez.js} +22 -22
  88. package/dist/chunks/{event-logger-3td8ra85.js → app-7vneq8n3.js} +7 -7
  89. package/dist/chunks/{event-logger-pkhzxmfp.js → app-7w8wfers.js} +27 -27
  90. package/dist/chunks/{event-logger-0jcepjca.js → app-7x1nw6gz.js} +12 -12
  91. package/dist/chunks/{event-logger-syh73nww.js → app-876jnmkn.js} +21 -21
  92. package/dist/chunks/{event-logger-jbzwn50f.js → app-88yxd0gw.js} +45 -45
  93. package/dist/chunks/{event-logger-tcezcvh9.js → app-89znhe33.js} +4 -4
  94. package/dist/chunks/{event-logger-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{event-logger-46efvg8p.js → app-8j10kyg7.js} +11 -11
  96. package/dist/chunks/{event-logger-vy0sc1r4.js → app-8kefq0e4.js} +29 -29
  97. package/dist/chunks/{event-logger-9c3np669.js → app-8n69n882.js} +7 -7
  98. package/dist/chunks/{event-logger-pg0h3cca.js → app-8trhq89n.js} +4 -4
  99. package/dist/chunks/{event-logger-cmwkp3r5.js → app-8v6pyhej.js} +8 -8
  100. package/dist/chunks/{event-logger-f19mgfsc.js → app-915nf07v.js} +11 -11
  101. package/dist/chunks/{event-logger-475xsn2x.js → app-9jn97mr4.js} +10 -10
  102. package/dist/chunks/{event-logger-8w6a2ddy.js → app-9n0txh3w.js} +32 -32
  103. package/dist/chunks/{event-logger-08pqa12r.js → app-9pe371ph.js} +14 -14
  104. package/dist/chunks/{event-logger-aaet6srn.js → app-aaet6srn.js} +2 -2
  105. package/dist/chunks/{event-logger-a48tmg35.js → app-abfe342y.js} +5 -5
  106. package/dist/chunks/{event-logger-4fdckjx1.js → app-aky1hhm0.js} +28 -28
  107. package/dist/chunks/{event-logger-rmxzq7f5.js → app-arndb05z.js} +8 -8
  108. package/dist/chunks/{event-logger-zsbsgkcm.js → app-aswv42tr.js} +11 -11
  109. package/dist/chunks/{event-logger-v5dkyp31.js → app-axtvtek4.js} +7 -7
  110. package/dist/chunks/{event-logger-4s11dycz.js → app-azynnvek.js} +57 -57
  111. package/dist/chunks/{event-logger-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{event-logger-a1apahce.js → app-b6mrn51r.js} +11 -11
  113. package/dist/chunks/{event-logger-zs2egq8y.js → app-bawrj3b9.js} +2 -2
  114. package/dist/chunks/{event-logger-8y0ey7w7.js → app-bd9kkww0.js} +18 -18
  115. package/dist/chunks/{event-logger-j311gd59.js → app-bdqrk2vk.js} +7 -7
  116. package/dist/chunks/{event-logger-bbj18gvp.js → app-bdwsy2v9.js} +4 -4
  117. package/dist/chunks/{event-logger-jmphe03k.js → app-bg2gq5qa.js} +4 -4
  118. package/dist/chunks/{event-logger-akg7mpd2.js → app-bvfp0cee.js} +28 -28
  119. package/dist/chunks/{event-logger-cd9nda8q.js → app-bw1ynhc4.js} +15 -15
  120. package/dist/chunks/{event-logger-3y81hdb8.js → app-c1ef6zpr.js} +3 -3
  121. package/dist/chunks/{event-logger-k8qf691v.js → app-c2k60acp.js} +17 -17
  122. package/dist/chunks/{event-logger-j113hsvj.js → app-c38jyzps.js} +8 -8
  123. package/dist/chunks/{event-logger-whjydms9.js → app-ckqwygw2.js} +33 -33
  124. package/dist/chunks/{event-logger-gz9012ze.js → app-csxzn776.js} +16 -16
  125. package/dist/chunks/{event-logger-a25zmek9.js → app-cxgg6zzr.js} +12 -12
  126. package/dist/chunks/{event-logger-3w5nwqty.js → app-cz4gxkeh.js} +50 -50
  127. package/dist/chunks/{event-logger-scyg2gcb.js → app-d0kf8th3.js} +11 -11
  128. package/dist/chunks/{event-logger-vsmhe3bm.js → app-d0zj62h6.js} +16 -16
  129. package/dist/chunks/{event-logger-fm7r8sy8.js → app-d4awevab.js} +6 -6
  130. package/dist/chunks/{event-logger-c765mh8b.js → app-d4he2qe1.js} +9 -9
  131. package/dist/chunks/{event-logger-p3yw0krh.js → app-d78xx6qz.js} +23 -23
  132. package/dist/chunks/{event-logger-tjzps5h2.js → app-d7fy9tms.js} +31 -31
  133. package/dist/chunks/{event-logger-nhzac2vt.js → app-d883tjw7.js} +28 -28
  134. package/dist/chunks/{event-logger-wn8hqewz.js → app-d9ytdjw8.js} +17 -17
  135. package/dist/chunks/{event-logger-embw8kgh.js → app-ddt2bs9e.js} +4 -4
  136. package/dist/chunks/{event-logger-y51nmxxr.js → app-dgda83gr.js} +313 -313
  137. package/dist/chunks/{event-logger-dj2t23y0.js → app-dj2t23y0.js} +2 -2
  138. package/dist/chunks/{event-logger-h9e7zzhd.js → app-dpfenvj7.js} +9 -9
  139. package/dist/chunks/{event-logger-xfkkasph.js → app-drwq78ky.js} +4 -4
  140. package/dist/chunks/{event-logger-v6efr277.js → app-dsqt3g70.js} +4 -4
  141. package/dist/chunks/{event-logger-5gk8amnh.js → app-dw1nbz2e.js} +10 -10
  142. package/dist/chunks/{event-logger-4tr7qdh0.js → app-e14sp09f.js} +9 -9
  143. package/dist/chunks/{event-logger-5qd3pb7m.js → app-e3qxr5gk.js} +2 -2
  144. package/dist/chunks/{event-logger-h6r3nrb9.js → app-ebe9bak5.js} +4 -4
  145. package/dist/chunks/{event-logger-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{event-logger-erw5rpbs.js → app-erw5rpbs.js} +2 -2
  147. package/dist/chunks/{event-logger-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{event-logger-qp1yqj07.js → app-f5js084j.js} +18 -18
  149. package/dist/chunks/{event-logger-ah5wg1j1.js → app-f6h44vt5.js} +6 -6
  150. package/dist/chunks/{event-logger-46msr37g.js → app-f8wvxc75.js} +9 -9
  151. package/dist/chunks/{event-logger-2hppe1qg.js → app-fab6kdz8.js} +26 -26
  152. package/dist/chunks/{event-logger-w9hz286w.js → app-fdaj3cxn.js} +33 -33
  153. package/dist/chunks/{event-logger-b9pgx79x.js → app-fpxm7379.js} +3 -3
  154. package/dist/chunks/{event-logger-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  155. package/dist/chunks/{event-logger-0pasfmx1.js → app-g2qchbvm.js} +15 -15
  156. package/dist/chunks/{event-logger-n22mwfxb.js → app-g5zpxqd5.js} +47 -47
  157. package/dist/chunks/{event-logger-vz9h7ybk.js → app-g6ckadgp.js} +19 -19
  158. package/dist/chunks/{event-logger-efadqd38.js → app-gcq2fxm3.js} +23 -23
  159. package/dist/chunks/{event-logger-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{event-logger-v3kcbs8h.js → app-gfpj78pk.js} +4 -4
  161. package/dist/chunks/{event-logger-hxcpnqqq.js → app-gh58188p.js} +19 -19
  162. package/dist/chunks/{event-logger-xe37s958.js → app-grfgd9mf.js} +28 -28
  163. package/dist/chunks/{event-logger-8qmmky1n.js → app-gs5memm2.js} +11 -11
  164. package/dist/chunks/{event-logger-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{event-logger-b282z4ws.js → app-h2tx7zx9.js} +18 -18
  166. package/dist/chunks/{event-logger-h4z1mxff.js → app-h4z1mxff.js} +2 -2
  167. package/dist/chunks/{event-logger-qp69s4zb.js → app-h5gvbxth.js} +18 -18
  168. package/dist/chunks/{event-logger-p7nsp59h.js → app-h6jr292a.js} +4 -4
  169. package/dist/chunks/{event-logger-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{event-logger-510m7gjw.js → app-hcz3zddy.js} +5 -5
  171. package/dist/chunks/{event-logger-hdnk95c8.js → app-hdnk95c8.js} +2 -2
  172. package/dist/chunks/{event-logger-j56e64zr.js → app-j56e64zr.js} +1 -1
  173. package/dist/chunks/{event-logger-kkp8zx71.js → app-jewzahs7.js} +4 -4
  174. package/dist/chunks/{event-logger-c7a8dyv3.js → app-jnmfw45r.js} +11 -11
  175. package/dist/chunks/{event-logger-5g0g34ek.js → app-jw57wrad.js} +13 -13
  176. package/dist/chunks/{event-logger-xg1bq5dx.js → app-jzz4kwyh.js} +4 -4
  177. package/dist/chunks/{event-logger-he4jzgvh.js → app-k27386pf.js} +27 -27
  178. package/dist/chunks/{event-logger-k3c624dm.js → app-k3c624dm.js} +3 -3
  179. package/dist/chunks/{event-logger-ntr68xqe.js → app-kca364mm.js} +8 -8
  180. package/dist/chunks/{event-logger-3xa9cbtx.js → app-kfpfq9wx.js} +22 -22
  181. package/dist/chunks/{event-logger-44ke2mar.js → app-knb7evpn.js} +2 -2
  182. package/dist/chunks/{event-logger-3m7gm69k.js → app-kytjdcrv.js} +62 -62
  183. package/dist/chunks/{event-logger-m0jqrx5p.js → app-m0jqrx5p.js} +2 -2
  184. package/dist/chunks/{event-logger-jjs74g98.js → app-m2d0j7c0.js} +9 -9
  185. package/dist/chunks/{event-logger-m3fdjcah.js → app-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{event-logger-bbcxnpjs.js → app-m3pgw4q9.js} +25 -25
  187. package/dist/chunks/{event-logger-mgs7q34e.js → app-m85z7vph.js} +11 -11
  188. package/dist/chunks/{event-logger-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{event-logger-5t3q07mb.js → app-mm16ex40.js} +9 -9
  190. package/dist/chunks/{event-logger-jqpxjgen.js → app-nk1wytkm.js} +30 -30
  191. package/dist/chunks/{event-logger-1yf2qjj7.js → app-nm3p96rh.js} +25 -25
  192. package/dist/chunks/{event-logger-a68v6zx7.js → app-nm6tfe9e.js} +11 -11
  193. package/dist/chunks/{event-logger-p28j5sbe.js → app-p28j5sbe.js} +2 -2
  194. package/dist/chunks/{event-logger-f0ekz9ts.js → app-p29sx5d2.js} +15 -15
  195. package/dist/chunks/{event-logger-cxzmmvrx.js → app-p33jdkfk.js} +6 -6
  196. package/dist/chunks/{event-logger-c8bydgjz.js → app-p7a39gy5.js} +6 -6
  197. package/dist/chunks/{event-logger-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{event-logger-pknna89w.js → app-pknna89w.js} +1 -1
  199. package/dist/chunks/{event-logger-eh6z0q8m.js → app-png4bzvj.js} +33 -33
  200. package/dist/chunks/{event-logger-r3fw3xwq.js → app-pps41de9.js} +12 -12
  201. package/dist/chunks/{event-logger-v880302c.js → app-ps5kdaeb.js} +32 -32
  202. package/dist/chunks/{event-logger-60ya4rxq.js → app-psst68c8.js} +32 -32
  203. package/dist/chunks/{event-logger-as30p4pk.js → app-q4gtzsax.js} +28 -28
  204. package/dist/chunks/{event-logger-2syw43ez.js → app-qbkt3cqr.js} +11 -11
  205. package/dist/chunks/{event-logger-1xbk51d1.js → app-qfdknrj4.js} +6 -6
  206. package/dist/chunks/{event-logger-6h1q4549.js → app-qmznc2j1.js} +32 -32
  207. package/dist/chunks/{event-logger-qsdy395h.js → app-qsdy395h.js} +1 -1
  208. package/dist/chunks/app-qtvmxc8s.js +4 -0
  209. package/dist/chunks/{event-logger-17dw7sdx.js → app-qzjq96ve.js} +46 -46
  210. package/dist/chunks/{event-logger-r5x6zcsm.js → app-r5x6zcsm.js} +1 -1
  211. package/dist/chunks/app-rb2dwyb3.js +252 -0
  212. package/dist/chunks/{event-logger-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{event-logger-qq10ch32.js → app-rfdx9aph.js} +25 -25
  214. package/dist/chunks/{event-logger-v0ks3twn.js → app-rfjpkbyr.js} +181 -181
  215. package/dist/chunks/{event-logger-1mx79f5s.js → app-rh2h7bz2.js} +21 -21
  216. package/dist/chunks/{event-logger-k6yq57aq.js → app-rj6d5p5e.js} +3 -3
  217. package/dist/chunks/{event-logger-fqcgpcra.js → app-s1kvmffy.js} +9 -9
  218. package/dist/chunks/{event-logger-yrznvahk.js → app-s4enseaf.js} +2 -2
  219. package/dist/chunks/{event-logger-addpfpm2.js → app-senw7f5q.js} +5 -5
  220. package/dist/chunks/{event-logger-f1ckv151.js → app-sjgwehbe.js} +15 -15
  221. package/dist/chunks/{event-logger-y3x14sz7.js → app-swk9pkgd.js} +7 -7
  222. package/dist/chunks/{event-logger-8zv0ajwr.js → app-t0b82sn3.js} +13 -13
  223. package/dist/chunks/{event-logger-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  224. package/dist/chunks/{event-logger-gc0sa5ac.js → app-tb5xxcc9.js} +91 -91
  225. package/dist/chunks/{event-logger-dtv5040x.js → app-tb9xm78q.js} +8 -8
  226. package/dist/chunks/{event-logger-tdstcens.js → app-tdstcens.js} +1 -1
  227. package/dist/chunks/{event-logger-yaa6bn1m.js → app-tfxsda3f.js} +37 -37
  228. package/dist/chunks/{event-logger-6hsqvad3.js → app-thph1k7c.js} +32 -32
  229. package/dist/chunks/{event-logger-3cfzdc8e.js → app-tn0aqsam.js} +5 -5
  230. package/dist/chunks/{event-logger-3pt4dhyb.js → app-ttsb85y1.js} +7 -7
  231. package/dist/chunks/{event-logger-tvtrv512.js → app-tvtrv512.js} +1 -1
  232. package/dist/chunks/{event-logger-t5gx411e.js → app-v19j2x38.js} +7 -7
  233. package/dist/chunks/{event-logger-bgaehm52.js → app-v62cs5sj.js} +21 -21
  234. package/dist/chunks/{event-logger-q3hye7rp.js → app-v6h6kk4n.js} +49 -49
  235. package/dist/chunks/{event-logger-619d0a7n.js → app-v7ax49y9.js} +16 -16
  236. package/dist/chunks/{event-logger-p6n5ewqn.js → app-va20k388.js} +18 -18
  237. package/dist/chunks/{event-logger-veqvce7d.js → app-veqvce7d.js} +1 -1
  238. package/dist/chunks/{event-logger-ceaeedp1.js → app-vmv0kd87.js} +6 -6
  239. package/dist/chunks/{event-logger-n7z9xjgh.js → app-vwcr4tjx.js} +9 -9
  240. package/dist/chunks/{event-logger-7np6y5v9.js → app-vy4zg7qh.js} +12 -12
  241. package/dist/chunks/{event-logger-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{event-logger-y0mc46pw.js → app-w3jg838k.js} +9 -9
  243. package/dist/chunks/{event-logger-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{event-logger-q42dvkxw.js → app-wa17x0f6.js} +23 -23
  245. package/dist/chunks/{event-logger-wd87259q.js → app-wd87259q.js} +1 -1
  246. package/dist/chunks/{event-logger-1r23a98c.js → app-wks3bq41.js} +37 -37
  247. package/dist/chunks/{event-logger-ezy2bptn.js → app-wpm2rk0p.js} +8 -8
  248. package/dist/chunks/{event-logger-gjdnp5j1.js → app-wq38yxfv.js} +1 -1
  249. package/dist/chunks/{event-logger-63m4sj6v.js → app-wt8910j7.js} +13 -13
  250. package/dist/chunks/{event-logger-2mn660gm.js → app-wx5y01fx.js} +11 -11
  251. package/dist/chunks/{event-logger-4ttkb0e5.js → app-wxtfr31w.js} +20 -20
  252. package/dist/chunks/{event-logger-nnwve76w.js → app-wxyrkypr.js} +14 -14
  253. package/dist/chunks/{event-logger-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{event-logger-vkja9z68.js → app-x2rmejqt.js} +13 -13
  255. package/dist/chunks/{event-logger-148btmhs.js → app-x3qv8ryf.js} +75 -75
  256. package/dist/chunks/{event-logger-8xfdh4m7.js → app-x4e5jp7e.js} +10 -10
  257. package/dist/chunks/{event-logger-zxs38eqt.js → app-x8chr5sc.js} +32 -32
  258. package/dist/chunks/{event-logger-t00k10qy.js → app-x9qt50vx.js} +13 -13
  259. package/dist/chunks/{event-logger-8d1k587k.js → app-xapv5k3j.js} +41 -41
  260. package/dist/chunks/{event-logger-afdq0bv9.js → app-xg9j3gxx.js} +5 -5
  261. package/dist/chunks/{event-logger-89wvkx3n.js → app-xgpvyysx.js} +98 -98
  262. package/dist/chunks/{event-logger-newypggy.js → app-xhpeghz7.js} +13 -13
  263. package/dist/chunks/{event-logger-ch0zjgx3.js → app-y15xkh2n.js} +25 -25
  264. package/dist/chunks/{event-logger-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{event-logger-vh8m9vgh.js → app-y2nmavtm.js} +35 -35
  266. package/dist/chunks/{event-logger-dtm1n4d8.js → app-y5xn5bba.js} +17 -17
  267. package/dist/chunks/{event-logger-dpkg50ah.js → app-y71avatq.js} +4 -4
  268. package/dist/chunks/{event-logger-x09vac25.js → app-y76zn1vz.js} +5 -5
  269. package/dist/chunks/{event-logger-xqcbpej0.js → app-y9p6qzzr.js} +44 -44
  270. package/dist/chunks/{event-logger-s78dcbxc.js → app-ybgh1m9m.js} +19 -19
  271. package/dist/chunks/{event-logger-cq9babp4.js → app-yj47cjx3.js} +20 -20
  272. package/dist/chunks/{event-logger-5sfbvqw6.js → app-ykf0jhfk.js} +24 -24
  273. package/dist/chunks/{event-logger-1acjjqhc.js → app-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{event-logger-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{event-logger-sqgt392s.js → app-yrhthkpk.js} +37 -37
  276. package/dist/chunks/{event-logger-ejre7x2g.js → app-yrq83nnf.js} +14 -14
  277. package/dist/chunks/{event-logger-rt0dk2st.js → app-yxms1dgw.js} +27 -27
  278. package/dist/chunks/{event-logger-xc3sajb5.js → app-yy70n6y7.js} +26 -26
  279. package/dist/chunks/{event-logger-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{event-logger-ewzsd05a.js → app-z6p9zkzw.js} +44 -44
  281. package/dist/chunks/{event-logger-sfh11f92.js → app-zc72yjq3.js} +15 -15
  282. package/dist/chunks/{event-logger-cj65b5yb.js → app-zdb8sah8.js} +18 -18
  283. package/dist/chunks/{event-logger-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{event-logger-gbspdhem.js → app-zkmmppc2.js} +7 -7
  285. package/dist/chunks/{event-logger-enxf8gt6.js → app-zmnyjegj.js} +18 -18
  286. package/dist/chunks/{event-logger-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{event-logger-4xv00g1r.js → app-zswdvhgs.js} +17 -17
  288. package/dist/chunks/{event-logger-gcavn3wx.js → app-zw4pk1bw.js} +5 -5
  289. package/dist/chunks/{event-logger-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{event-logger-8mfkgmb0.js → app-zy4aaz3n.js} +3 -3
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +122 -122
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +124 -124
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +143 -143
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +119 -119
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +123 -123
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +69 -69
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +78 -78
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +368 -368
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +73 -73
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +224 -224
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +13 -13
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +359 -359
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +134 -134
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +356 -356
  472. package/dist/location.js +84 -84
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +106 -106
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +112 -112
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +85 -85
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +101 -101
  493. package/dist/plugin/command.js +98 -98
  494. package/dist/plugin/compaction.js +130 -130
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +330 -330
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +119 -119
  526. package/dist/plugin/provider/openai.js +91 -91
  527. package/dist/plugin/provider/opencode.js +92 -92
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +121 -121
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +158 -158
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +138 -138
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +345 -345
  546. package/dist/plugin/tool-input-repair.js +2 -2
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +83 -83
  549. package/dist/plugin/vcs/hg.js +83 -83
  550. package/dist/plugin/warming.js +118 -118
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +2 -2
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +222 -222
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +83 -83
  562. package/dist/provider.js +98 -98
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +3 -3
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +95 -95
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +96 -96
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +3 -3
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +223 -223
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +150 -150
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +87 -87
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +230 -230
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +74 -74
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +153 -153
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +222 -222
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +219 -219
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +137 -137
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +106 -106
  631. package/dist/skill.js +111 -111
  632. package/dist/snapshot.js +90 -90
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +100 -100
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +216 -216
  646. package/dist/tool/plugin/skill.js +112 -112
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +107 -107
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +16 -16
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +7 -7
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +4 -4
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +7 -7
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +92 -92
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +81 -81
  685. package/dist/wellknown/plugin.js +75 -75
  686. package/dist/wellknown.js +78 -78
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +79 -79
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/event-logger-05e5mmsy.js +0 -252
  697. package/dist/chunks/event-logger-28bncwe8.js +0 -26
  698. package/dist/chunks/event-logger-9sh4wc5j.js +0 -18
  699. package/dist/chunks/event-logger-xrsqh21y.js +0 -4
  700. /package/dist/chunks/{event-logger-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{event-logger-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{event-logger-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{event-logger-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{event-logger-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{event-logger-24dcb14g.js → app-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{event-logger-2710q6r3.js → app-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{event-logger-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{event-logger-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{event-logger-359p4xyc.js → app-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{event-logger-3asan66x.js → app-3asan66x.js} +0 -0
  711. /package/dist/chunks/{event-logger-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{event-logger-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{event-logger-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{event-logger-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{event-logger-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{event-logger-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{event-logger-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{event-logger-53557ph1.js → app-53557ph1.js} +0 -0
  719. /package/dist/chunks/{event-logger-550bvhaj.js → app-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{event-logger-6prwharc.js → app-6prwharc.js} +0 -0
  721. /package/dist/chunks/{event-logger-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{event-logger-7m9af43g.js → app-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{event-logger-822emrt2.js → app-822emrt2.js} +0 -0
  724. /package/dist/chunks/{event-logger-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{event-logger-8n3pysct.js → app-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{event-logger-922hggd3.js → app-922hggd3.js} +0 -0
  727. /package/dist/chunks/{event-logger-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{event-logger-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{event-logger-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{event-logger-af5trqkr.js → app-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{event-logger-afrmfg78.js → app-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{event-logger-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{event-logger-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{event-logger-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{event-logger-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{event-logger-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{event-logger-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{event-logger-d9fn303g.js → app-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{event-logger-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{event-logger-dajrwvna.js → app-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{event-logger-dap0rakb.js → app-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{event-logger-df08tz66.js → app-df08tz66.js} +0 -0
  743. /package/dist/chunks/{event-logger-dy18nga0.js → app-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{event-logger-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{event-logger-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{event-logger-ec1grn59.js → app-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{event-logger-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{event-logger-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{event-logger-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{event-logger-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{event-logger-faypxj3z.js → app-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{event-logger-fd410y7t.js → app-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{event-logger-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{event-logger-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{event-logger-g86h250q.js → app-g86h250q.js} +0 -0
  756. /package/dist/chunks/{event-logger-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{event-logger-gftt206x.js → app-gftt206x.js} +0 -0
  758. /package/dist/chunks/{event-logger-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{event-logger-hk9envan.js → app-hk9envan.js} +0 -0
  760. /package/dist/chunks/{event-logger-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{event-logger-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{event-logger-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{event-logger-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{event-logger-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{event-logger-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{event-logger-mp448xyj.js → app-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{event-logger-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{event-logger-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{event-logger-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{event-logger-njntx4h6.js → app-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{event-logger-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{event-logger-q74kybfr.js → app-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{event-logger-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{event-logger-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{event-logger-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{event-logger-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{event-logger-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{event-logger-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{event-logger-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{event-logger-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{event-logger-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{event-logger-twg0f83k.js → app-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{event-logger-w803qqfp.js → app-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{event-logger-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{event-logger-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{event-logger-wtztk69x.js → app-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{event-logger-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{event-logger-x61499pn.js → app-x61499pn.js} +0 -0
  789. /package/dist/chunks/{event-logger-y44na4kk.js → app-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{event-logger-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{event-logger-y8f7s663.js → app-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{event-logger-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{event-logger-ym463w8f.js → app-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{event-logger-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./event-logger-gz9012ze.js";
2
+ Service79,
3
+ node83
4
+ } from "./app-csxzn776.js";
5
5
  import {
6
6
  environment2
7
- } from "./event-logger-sfh11f92.js";
7
+ } from "./app-zc72yjq3.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./event-logger-sk3qaz4a.js";
10
+ } from "./app-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./event-logger-9rqn6x4v.js";
13
+ } from "./app-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError2,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service16,
22
+ Service: () => Service33,
23
23
  UnavailableError: () => UnavailableError2,
24
- configured: () => configured2,
25
- layer: () => layer8,
26
- node: () => node19
24
+ configured: () => configured4,
25
+ layer: () => layer14,
26
+ node: () => node36
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service16 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service33 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
53
- const bus = yield* Service81;
52
+ var makeLayer = (options = {}) => Layer.effect(Service33, Effect.gen(function* () {
53
+ const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError2({ ptyID: id });
75
+ return yield* new NotFoundError3({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service16.of({
242
+ return Service33.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer8 = makeLayer();
259
- var configured2 = (options) => makeGlobalNode({
260
- service: Service16,
261
- layer: options === undefined ? layer8 : makeLayer(options),
262
- deps: [node85, Global.node]
258
+ var layer14 = makeLayer();
259
+ var configured4 = (options) => makeGlobalNode({
260
+ service: Service33,
261
+ layer: options === undefined ? layer14 : makeLayer(options),
262
+ deps: [node83, Global.node]
263
263
  });
264
- var node19 = configured2();
264
+ var node36 = configured4();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options2, UnavailableError2, NotFoundError2, Service16, layer8, configured2, node19, exports_persistent_pty, Handoff2 };
304
+ export { Options4, UnavailableError2, NotFoundError3, Service33, layer14, configured4, node36, exports_persistent_pty, Handoff2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./event-logger-ec1grn59.js";
3
+ } from "./app-ec1grn59.js";
4
4
  import {
5
5
  toSessionError2
6
- } from "./event-logger-h4gjr50j.js";
6
+ } from "./app-6c2r5v8w.js";
7
7
  import {
8
8
  __export
9
- } from "./event-logger-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make10,
16
+ make: () => make7,
17
17
  policy: () => policy2,
18
18
  transient: () => transient2
19
19
  });
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
99
99
  return true;
100
100
  })
101
101
  });
102
- var make10 = (bus, sessionID) => Effect.gen(function* () {
102
+ var make7 = (bus, sessionID) => Effect.gen(function* () {
103
103
  const decide = yield* policy2(sessionID);
104
104
  const wait = (input) => Effect.gen(function* () {
105
105
  const scheduled = yield* Clock.currentTimeMillis;
@@ -116,4 +116,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
116
116
  return { decide, wait };
117
117
  });
118
118
 
119
- export { isRetryable2, policy2, transient2, make10, exports_retry };
119
+ export { isRetryable2, policy2, transient2, make7, exports_retry };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./event-logger-88xbtdfr.js";
3
+ } from "./app-88xbtdfr.js";
4
4
  import {
5
- load4
6
- } from "./event-logger-5qd3pb7m.js";
5
+ load5
6
+ } from "./app-e3qxr5gk.js";
7
7
  import {
8
8
  __export
9
- } from "./event-logger-9rqn6x4v.js";
9
+ } from "./app-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event7,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
16
  Options: () => Options7,
17
- Service: () => Service44,
17
+ Service: () => Service62,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured6,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer22,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node47,
25
+ node: () => node65,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event7 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load4());
39
+ return createWrapper(load5());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service44 extends Context.Service()("@opencode/Watcher") {
60
+ class Service62 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
65
+ var layer22 = (options) => Layer.effect(Service62, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service62.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service44.of({ subscribe });
108
+ return Service62.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service44).subscribe,
134
+ subscribe: Context.get(context, Service62).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service62, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured6(options) {
168
- return makeGlobalNode({ service: Service44, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service62, layer: layer22(options), deps: [nativeNode2] });
169
169
  }
170
- var node47 = configured6();
170
+ var node65 = configured8();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event7, hasNativeBinding2, Native3, Options7, Service44, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node47, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options7, Service62, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured8, node65, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/provider-context.ts
6
6
  var exports_provider_context = {};
7
7
  __export(exports_provider_context, {
8
- Info: () => Info21,
8
+ Info: () => Info8,
9
9
  SessionProviderContext: () => exports_provider_context,
10
10
  compatible: () => compatible2,
11
11
  decode: () => decode2,
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
19
19
  import { Schema } from "effect";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { Hash } from "@opencode/util/hash";
22
- var Info21 = SessionProviderContext.Info;
22
+ var Info8 = SessionProviderContext.Info;
23
23
  var messages = Schema.toCodecJson(Schema.Array(Message));
24
24
  function provenance2(resolved) {
25
25
  const model = resolved.model;
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
52
52
  var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
53
53
  var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
54
54
 
55
- export { Info21, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
55
+ export { Info8, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./event-logger-2axfhc9x.js";
3
+ } from "./app-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./event-logger-9rqn6x4v.js";
6
+ } from "./app-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service81
3
- } from "./event-logger-gz9012ze.js";
2
+ Service79
3
+ } from "./app-csxzn776.js";
4
4
  import {
5
- Service61
6
- } from "./event-logger-5qpddqx9.js";
5
+ Service46
6
+ } from "./app-7ekr1ah4.js";
7
7
  import {
8
- Error3
9
- } from "./event-logger-bbcxnpjs.js";
8
+ Error2
9
+ } from "./app-m3pgw4q9.js";
10
10
  import {
11
- Service45
12
- } from "./event-logger-c1np9tvh.js";
11
+ Service47
12
+ } from "./app-709xpvx9.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./event-logger-nv6sgpkb.js";
15
+ } from "./app-11823ez3.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./event-logger-ec1grn59.js";
18
+ } from "./app-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./event-logger-h4gjr50j.js";
21
+ } from "./app-6c2r5v8w.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./event-logger-tdstcens.js";
24
+ } from "./app-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./event-logger-erw5rpbs.js";
27
+ } from "./app-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./event-logger-tqsbc54k.js";
30
+ } from "./app-20ycjnd3.js";
31
31
  import {
32
32
  __export
33
- } from "./event-logger-9rqn6x4v.js";
33
+ } from "./app-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service81;
55
+ const bus = yield* Service79;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service61;
58
- const toolOutput = yield* Service45;
57
+ const snapshots = yield* Service46;
58
+ const toolOutput = yield* Service47;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error2({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./event-logger-dpkg50ah.js";
3
+ } from "./app-y71avatq.js";
4
4
  import {
5
- Service53,
6
- node55
7
- } from "./event-logger-5sfbvqw6.js";
5
+ Service75,
6
+ node78
7
+ } from "./app-ykf0jhfk.js";
8
8
  import {
9
9
  __export
10
- } from "./event-logger-9rqn6x4v.js";
10
+ } from "./app-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service13,
17
- node: () => node15,
16
+ Service: () => Service15,
17
+ node: () => node17,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service13 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service15 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service13, Effect.gen(function* () {
38
- const environment = yield* Service53;
37
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
38
+ const environment = yield* Service75;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service13.of({ withLock, write, writeTextPreservingBom });
59
+ return Service15.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node15 = makeLocationNode({ service: Service13, layer, deps: [node55] });
61
+ var node17 = makeLocationNode({ service: Service15, layer, deps: [node78] });
62
62
 
63
- export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
63
+ export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./event-logger-2a5m3afh.js";
5
+ } from "./app-2a5m3afh.js";
6
6
  import {
7
- Service79
8
- } from "./event-logger-ejre7x2g.js";
7
+ Service77
8
+ } from "./app-yrq83nnf.js";
9
9
  import {
10
- Service53
11
- } from "./event-logger-5sfbvqw6.js";
10
+ Service75
11
+ } from "./app-ykf0jhfk.js";
12
12
  import {
13
- Service70
14
- } from "./event-logger-qp1yqj07.js";
13
+ Service13
14
+ } from "./app-f5js084j.js";
15
15
  import {
16
- Service13,
16
+ Service15,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./event-logger-nybvked5.js";
19
+ } from "./app-2fvbvr4z.js";
20
20
  import {
21
- Service56
22
- } from "./event-logger-4s11dycz.js";
21
+ Service53
22
+ } from "./app-azynnvek.js";
23
23
  import {
24
- Service18,
24
+ Service52,
25
25
  resolvePath2
26
- } from "./event-logger-enxf8gt6.js";
26
+ } from "./app-zmnyjegj.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./event-logger-6prwharc.js";
29
+ } from "./app-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./event-logger-9rqn6x4v.js";
32
+ } from "./app-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input10,
39
- Output: () => Output8,
38
+ Input: () => Input8,
39
+ Output: () => Output7,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin30,
42
- name: () => name10,
43
- toModelContent: () => toModelContent6
41
+ Plugin: () => Plugin10,
42
+ name: () => name8,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name10 = "patch";
89
- var Input10 = Schema.Struct({
88
+ var name8 = "patch";
89
+ var Input8 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output8 = Schema.Struct({
99
+ var Output7 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent6 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin30 = {
108
+ var Plugin10 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service53;
112
- const access = yield* Service18;
113
- const fileMutation = yield* Service13;
114
- const formatter = yield* Service70;
115
- const location = yield* Service79;
116
- const permission = yield* Service56;
111
+ const environment = yield* Service75;
112
+ const access = yield* Service52;
113
+ const fileMutation = yield* Service15;
114
+ const formatter = yield* Service13;
115
+ const location = yield* Service77;
116
+ const permission = yield* Service53;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name8,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input10,
122
- output: Output8,
121
+ input: Input8,
122
+ output: Output7,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin30 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent6(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name10, Input10, Applied2, Output8, toModelContent6, Plugin30, exports_patch };
329
+ export { name8, Input8, Applied2, Output7, toModelContent5, Plugin10, exports_patch };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options6,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options6, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };