@opencode/core 0.0.0-dev-20146 → 0.0.0-dev-20147

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{event-logger-sr3xehtf.js → schema-01q8mg5a.js} +89 -89
  8. package/dist/chunks/{event-logger-tq5y325g.js → schema-02jbgszr.js} +13 -13
  9. package/dist/chunks/{event-logger-mcvtpcr6.js → schema-02kbzxrb.js} +11 -11
  10. package/dist/chunks/{event-logger-wrxfgsnk.js → schema-02v3faq5.js} +11 -11
  11. package/dist/chunks/{event-logger-6ry2eqjb.js → schema-02wmds2c.js} +4 -4
  12. package/dist/chunks/{event-logger-x2wzg6c1.js → schema-0338tv42.js} +13 -13
  13. package/dist/chunks/{event-logger-xs16at91.js → schema-06qxp9s1.js} +26 -26
  14. package/dist/chunks/{event-logger-y5draz0s.js → schema-0attd1ej.js} +10 -10
  15. package/dist/chunks/{event-logger-2k8khapm.js → schema-0jwsre1p.js} +5 -5
  16. package/dist/chunks/{event-logger-demy5f2a.js → schema-0kryq94n.js} +8 -8
  17. package/dist/chunks/{event-logger-fvbfvqqw.js → schema-0mk5rbah.js} +9 -9
  18. package/dist/chunks/{event-logger-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{event-logger-zh6cbvwt.js → schema-12f5qzcf.js} +5 -5
  20. package/dist/chunks/{event-logger-mvfsc1pv.js → schema-1bbkgx8g.js} +3 -3
  21. package/dist/chunks/{event-logger-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{event-logger-bk7jaeqh.js → schema-1ed2t66p.js} +4 -4
  23. package/dist/chunks/{event-logger-xvycsxn0.js → schema-1hhry64t.js} +13 -13
  24. package/dist/chunks/{event-logger-j639zd53.js → schema-1htzjx3s.js} +9 -9
  25. package/dist/chunks/{event-logger-j2k2vgh6.js → schema-1kr2za8g.js} +5 -5
  26. package/dist/chunks/{event-logger-xxm068nx.js → schema-1qp06jtb.js} +13 -13
  27. package/dist/chunks/{event-logger-56gdpj1q.js → schema-1ygqh575.js} +9 -9
  28. package/dist/chunks/{event-logger-b83nt0wk.js → schema-216v1y3s.js} +16 -16
  29. package/dist/chunks/{event-logger-21r38tys.js → schema-21r38tys.js} +1 -1
  30. package/dist/chunks/{event-logger-x9tv78nz.js → schema-21zbynkh.js} +7 -7
  31. package/dist/chunks/{event-logger-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{event-logger-37gmss87.js → schema-2jgevnf2.js} +22 -22
  33. package/dist/chunks/{event-logger-qbqbaz6q.js → schema-2k71kv7p.js} +4 -4
  34. package/dist/chunks/{event-logger-cczd7xgn.js → schema-2vvj6rba.js} +1 -1
  35. package/dist/chunks/{event-logger-931v7hzm.js → schema-3497bcg9.js} +3 -3
  36. package/dist/chunks/{event-logger-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{event-logger-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{event-logger-dq7mzwk9.js → schema-3j9d4fgr.js} +10 -10
  39. package/dist/chunks/{event-logger-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{event-logger-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{event-logger-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  42. package/dist/chunks/{event-logger-p95hncgz.js → schema-44k7vfsg.js} +32 -32
  43. package/dist/chunks/{event-logger-dgark5dx.js → schema-4knz5bpk.js} +26 -26
  44. package/dist/chunks/{event-logger-c0zy5cxt.js → schema-4p8415jn.js} +20 -20
  45. package/dist/chunks/{event-logger-2fa73gyd.js → schema-4rdyamb0.js} +12 -12
  46. package/dist/chunks/{event-logger-rhakwg37.js → schema-4xqhn9wd.js} +8 -8
  47. package/dist/chunks/{event-logger-0pr3hkd7.js → schema-53fyba40.js} +4 -4
  48. package/dist/chunks/{event-logger-54tcyq79.js → schema-54tcyq79.js} +2 -2
  49. package/dist/chunks/{event-logger-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
  50. package/dist/chunks/{event-logger-3ss0y86y.js → schema-58yj0nne.js} +33 -33
  51. package/dist/chunks/{event-logger-y6f0p4jw.js → schema-5cmxdwv8.js} +3 -3
  52. package/dist/chunks/{event-logger-5daktx2q.js → schema-5daktx2q.js} +1 -1
  53. package/dist/chunks/{event-logger-7mt5cee0.js → schema-5e82d4zs.js} +10 -10
  54. package/dist/chunks/{event-logger-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  55. package/dist/chunks/{event-logger-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{event-logger-cmwkp3r5.js → schema-5yzzbxa7.js} +8 -8
  57. package/dist/chunks/{event-logger-2hxdb1xe.js → schema-5z7zcbfb.js} +33 -33
  58. package/dist/chunks/{event-logger-1sq6pvz6.js → schema-61cd6e58.js} +19 -19
  59. package/dist/chunks/{event-logger-re3vnjqx.js → schema-62v4907p.js} +26 -26
  60. package/dist/chunks/{event-logger-kqvsesf9.js → schema-64fh688z.js} +24 -24
  61. package/dist/chunks/{event-logger-jmh888fr.js → schema-659sfxq9.js} +10 -10
  62. package/dist/chunks/{event-logger-669tq793.js → schema-669tq793.js} +1 -1
  63. package/dist/chunks/{event-logger-vtt59spe.js → schema-66dga76z.js} +9 -9
  64. package/dist/chunks/{event-logger-qpdhqarq.js → schema-6c158f61.js} +22 -22
  65. package/dist/chunks/{event-logger-17j7xjjx.js → schema-6en7jsbn.js} +22 -22
  66. package/dist/chunks/{event-logger-2wntcv5v.js → schema-6ftnbkqh.js} +37 -37
  67. package/dist/chunks/{event-logger-2402vzrj.js → schema-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{event-logger-j58c5xyq.js → schema-6hjx5zpb.js} +9 -9
  69. package/dist/chunks/{event-logger-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{event-logger-8sze2n9a.js → schema-6pc27hjz.js} +2 -2
  71. package/dist/chunks/{event-logger-29e1dskn.js → schema-6y0m36e6.js} +34 -34
  72. package/dist/chunks/{event-logger-svwdbmds.js → schema-6z06gbqc.js} +9 -9
  73. package/dist/chunks/{event-logger-gkmd2kdr.js → schema-71v07zn3.js} +17 -17
  74. package/dist/chunks/{event-logger-nwka07fb.js → schema-76yj2t14.js} +38 -38
  75. package/dist/chunks/{event-logger-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{event-logger-1501v5q6.js → schema-80q6mq1f.js} +20 -20
  77. package/dist/chunks/{event-logger-c5dvm7ra.js → schema-899k0336.js} +6 -6
  78. package/dist/chunks/{event-logger-1nqpsycb.js → schema-8a6crgjk.js} +30 -30
  79. package/dist/chunks/{event-logger-57rf7evj.js → schema-8cznwert.js} +10 -10
  80. package/dist/chunks/{event-logger-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{event-logger-9btrm92c.js → schema-8kkpa49p.js} +5 -5
  82. package/dist/chunks/{event-logger-9b02dg8e.js → schema-8pgwyz8n.js} +5 -5
  83. package/dist/chunks/{event-logger-5djqtpa8.js → schema-9213mvz8.js} +20 -20
  84. package/dist/chunks/{event-logger-5v7e6y96.js → schema-95st8b4j.js} +11 -11
  85. package/dist/chunks/{event-logger-9e9r8xcc.js → schema-97z86zxn.js} +20 -20
  86. package/dist/chunks/{event-logger-eakypb1g.js → schema-98yh1srd.js} +20 -20
  87. package/dist/chunks/{event-logger-r4ds47vk.js → schema-9bs9pkv6.js} +28 -28
  88. package/dist/chunks/{event-logger-7hq3v4qt.js → schema-9e1jtxq5.js} +24 -24
  89. package/dist/chunks/{event-logger-nchtd57w.js → schema-9hk2fva0.js} +13 -13
  90. package/dist/chunks/{event-logger-1exhgmvw.js → schema-9kgeezcq.js} +14 -14
  91. package/dist/chunks/{event-logger-6xqbqwsh.js → schema-9m1eaqh3.js} +33 -33
  92. package/dist/chunks/{event-logger-hy2svgjc.js → schema-9m1qw5e9.js} +15 -15
  93. package/dist/chunks/{event-logger-rfk5vjx7.js → schema-9qmdww31.js} +15 -15
  94. package/dist/chunks/{event-logger-pt3wvmh6.js → schema-9rmbnpj5.js} +2 -2
  95. package/dist/chunks/{event-logger-za2zmqvq.js → schema-9td8kqq4.js} +7 -7
  96. package/dist/chunks/{event-logger-pzrthsyz.js → schema-9wqzfaac.js} +47 -47
  97. package/dist/chunks/{event-logger-263tr8na.js → schema-9zbf59cj.js} +14 -14
  98. package/dist/chunks/{event-logger-2ght6qn2.js → schema-aa14mxtt.js} +11 -11
  99. package/dist/chunks/{event-logger-aaet6srn.js → schema-aaet6srn.js} +2 -2
  100. package/dist/chunks/{event-logger-jkp0d30b.js → schema-acd4vkpt.js} +6 -6
  101. package/dist/chunks/{event-logger-7s0a4480.js → schema-achwqtgz.js} +12 -12
  102. package/dist/chunks/{event-logger-4ct3z3jm.js → schema-aegspdvt.js} +18 -18
  103. package/dist/chunks/{event-logger-29wtvbfz.js → schema-aezpzgnt.js} +15 -15
  104. package/dist/chunks/{event-logger-4s3tx91s.js → schema-anbdq9pc.js} +24 -24
  105. package/dist/chunks/{event-logger-q5pyfadk.js → schema-aqkbpc1t.js} +22 -22
  106. package/dist/chunks/{event-logger-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{event-logger-tefm8g6z.js → schema-b8abjh2k.js} +30 -30
  108. package/dist/chunks/{event-logger-hp2m6q6m.js → schema-b8f26xyk.js} +18 -18
  109. package/dist/chunks/{event-logger-tpabx851.js → schema-bawhc7q1.js} +10 -10
  110. package/dist/chunks/{event-logger-bjtzbw4r.js → schema-bjtzbw4r.js} +3 -3
  111. package/dist/chunks/{event-logger-t6vbmf8z.js → schema-bpratrbj.js} +11 -11
  112. package/dist/chunks/{event-logger-xp1ndndk.js → schema-c131hp6h.js} +13 -13
  113. package/dist/chunks/{event-logger-c78bbtc9.js → schema-c78bbtc9.js} +2 -2
  114. package/dist/chunks/{event-logger-xdrpma1h.js → schema-cdyvr9f3.js} +11 -11
  115. package/dist/chunks/{event-logger-6vq97qmv.js → schema-ce5fknq2.js} +5 -5
  116. package/dist/chunks/{event-logger-qa0me2e5.js → schema-ceks70kf.js} +12 -12
  117. package/dist/chunks/{event-logger-rfndaq94.js → schema-cetybxe3.js} +16 -16
  118. package/dist/chunks/{event-logger-t7n9q6bq.js → schema-ckf8nxjz.js} +4 -4
  119. package/dist/chunks/{event-logger-8az641ef.js → schema-cmw1rd1q.js} +26 -26
  120. package/dist/chunks/{event-logger-dp1fhnrj.js → schema-cv6v52d9.js} +17 -17
  121. package/dist/chunks/{event-logger-syffjq1h.js → schema-cxd4szcz.js} +3 -3
  122. package/dist/chunks/{event-logger-h3vr5jxs.js → schema-ddxb0dnv.js} +54 -54
  123. package/dist/chunks/{event-logger-c651xxjb.js → schema-de52ckkz.js} +4 -4
  124. package/dist/chunks/{event-logger-kxxqgty3.js → schema-df71sjqe.js} +20 -20
  125. package/dist/chunks/{event-logger-gzbkpp9m.js → schema-dg5bcj4q.js} +5 -5
  126. package/dist/chunks/{event-logger-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
  127. package/dist/chunks/{event-logger-xfkkasph.js → schema-drwq78ky.js} +4 -4
  128. package/dist/chunks/{event-logger-2wqe641f.js → schema-e04544d7.js} +23 -23
  129. package/dist/chunks/{event-logger-510m7gjw.js → schema-e6hmchc5.js} +5 -5
  130. package/dist/chunks/{event-logger-pc8y9nre.js → schema-e6zwr77z.js} +23 -23
  131. package/dist/chunks/{event-logger-rhjbct0v.js → schema-eaj1djv9.js} +8 -8
  132. package/dist/chunks/{event-logger-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{event-logger-cgdp0msr.js → schema-edc4vr76.js} +323 -323
  134. package/dist/chunks/{event-logger-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{event-logger-07770t2t.js → schema-eq20ba7x.js} +6 -6
  136. package/dist/chunks/{event-logger-my0qqk62.js → schema-es758s33.js} +20 -20
  137. package/dist/chunks/{event-logger-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{event-logger-kwkcvqg8.js → schema-f9hw48zx.js} +5 -5
  139. package/dist/chunks/{event-logger-7v81x33d.js → schema-faj2svbs.js} +9 -9
  140. package/dist/chunks/{event-logger-n3193s85.js → schema-fm2djhtr.js} +11 -11
  141. package/dist/chunks/{event-logger-p9e78zky.js → schema-fm32kww2.js} +20 -20
  142. package/dist/chunks/{event-logger-jnjzrgfb.js → schema-fn7m6sq4.js} +4 -4
  143. package/dist/chunks/{event-logger-p51w4ajj.js → schema-fnckqvkz.js} +51 -51
  144. package/dist/chunks/{event-logger-pedtmqhe.js → schema-fxpxkdge.js} +27 -27
  145. package/dist/chunks/{event-logger-2racs6px.js → schema-g3f2t215.js} +44 -44
  146. package/dist/chunks/{event-logger-pp3d4jfy.js → schema-gah6wse8.js} +10 -10
  147. package/dist/chunks/{event-logger-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{event-logger-gfvb90ym.js → schema-gfvb90ym.js} +2 -2
  149. package/dist/chunks/{event-logger-vfgtt7fz.js → schema-ggxapr4n.js} +17 -17
  150. package/dist/chunks/{event-logger-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  151. package/dist/chunks/{event-logger-ma4zbtrj.js → schema-gvdvajq4.js} +23 -23
  152. package/dist/chunks/{event-logger-861yecfv.js → schema-h2r7bbkd.js} +11 -11
  153. package/dist/chunks/{event-logger-swxsnswe.js → schema-h6ata8bv.js} +12 -12
  154. package/dist/chunks/{event-logger-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{event-logger-4vp46et4.js → schema-h7e5g0tn.js} +6 -6
  156. package/dist/chunks/{event-logger-dyece36z.js → schema-ha8h07mp.js} +23 -23
  157. package/dist/chunks/{event-logger-ygwk8h90.js → schema-hdwy771y.js} +11 -11
  158. package/dist/chunks/{event-logger-mmkbmhcq.js → schema-hf0mkt0x.js} +1 -1
  159. package/dist/chunks/{event-logger-af04s6ss.js → schema-hkfg6fzm.js} +5 -5
  160. package/dist/chunks/{event-logger-zc27tagb.js → schema-hx5a9m6n.js} +22 -22
  161. package/dist/chunks/schema-hxa7m5za.js +4 -0
  162. package/dist/chunks/{event-logger-xmzvf51h.js → schema-j0v6s4pa.js} +15 -15
  163. package/dist/chunks/{event-logger-j6tx67wp.js → schema-j1zk5myr.js} +177 -177
  164. package/dist/chunks/{event-logger-j8m1p4p1.js → schema-j34bs4nz.js} +4 -4
  165. package/dist/chunks/{event-logger-6axjgf6a.js → schema-j433k3ah.js} +29 -29
  166. package/dist/chunks/{event-logger-j56e64zr.js → schema-j56e64zr.js} +1 -1
  167. package/dist/chunks/{event-logger-gqp4kpp0.js → schema-jd3ht1x4.js} +6 -6
  168. package/dist/chunks/{event-logger-w4ahs3v6.js → schema-jdj92c4g.js} +20 -20
  169. package/dist/chunks/{event-logger-9npqnhjt.js → schema-jg25py4x.js} +15 -15
  170. package/dist/chunks/{event-logger-1ncnbcjk.js → schema-jvexc5ky.js} +5 -5
  171. package/dist/chunks/{event-logger-a5yekx0r.js → schema-jvzqejyw.js} +15 -15
  172. package/dist/chunks/{event-logger-6sr3ve8g.js → schema-jw80jp6b.js} +21 -21
  173. package/dist/chunks/{event-logger-7bmnz8gh.js → schema-k268tg8b.js} +3 -3
  174. package/dist/chunks/{event-logger-k3c624dm.js → schema-k3c624dm.js} +3 -3
  175. package/dist/chunks/{event-logger-v1851per.js → schema-kga0f6yw.js} +8 -8
  176. package/dist/chunks/{event-logger-4sjs0fec.js → schema-m0f2xe1s.js} +43 -43
  177. package/dist/chunks/{event-logger-ghc1k396.js → schema-m1tf57me.js} +11 -11
  178. package/dist/chunks/{event-logger-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{event-logger-3p08fjx9.js → schema-m65z8mqv.js} +39 -39
  180. package/dist/chunks/{event-logger-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{event-logger-hdgk5rr0.js → schema-mjvn4zm4.js} +15 -15
  182. package/dist/chunks/{event-logger-gzdw8091.js → schema-mrty011c.js} +46 -46
  183. package/dist/chunks/{event-logger-zrc4mf9q.js → schema-ms84bj92.js} +39 -39
  184. package/dist/chunks/{event-logger-gd09txp3.js → schema-mssxhbmx.js} +32 -32
  185. package/dist/chunks/{event-logger-cmetttwa.js → schema-mwm07mde.js} +6 -6
  186. package/dist/chunks/{event-logger-gs7qwdgg.js → schema-n4v0pxzg.js} +11 -11
  187. package/dist/chunks/{event-logger-fww65524.js → schema-n965dgn2.js} +30 -30
  188. package/dist/chunks/{event-logger-fhs97t90.js → schema-nq7qbqzc.js} +9 -9
  189. package/dist/chunks/{event-logger-h6r3nrb9.js → schema-nzyhnfxz.js} +4 -4
  190. package/dist/chunks/schema-p2h6zvwc.js +18 -0
  191. package/dist/chunks/{event-logger-698z99nv.js → schema-p2wfcwv1.js} +12 -12
  192. package/dist/chunks/{event-logger-z3cy94ea.js → schema-pceeejwg.js} +8 -8
  193. package/dist/chunks/{event-logger-mbmba7bg.js → schema-phwvgf2n.js} +25 -25
  194. package/dist/chunks/{event-logger-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{event-logger-pknna89w.js → schema-pknna89w.js} +1 -1
  196. package/dist/chunks/{event-logger-psazpmmj.js → schema-psazpmmj.js} +2 -2
  197. package/dist/chunks/schema-pvpvsgsg.js +26 -0
  198. package/dist/chunks/{event-logger-aj5j062r.js → schema-q11was2t.js} +21 -21
  199. package/dist/chunks/schema-q4hmxj4a.js +252 -0
  200. package/dist/chunks/{event-logger-gdv3ksn6.js → schema-q8n9d2sh.js} +8 -8
  201. package/dist/chunks/{event-logger-91p1v22t.js → schema-qe26s0zb.js} +8 -8
  202. package/dist/chunks/{event-logger-qsdy395h.js → schema-qsdy395h.js} +1 -1
  203. package/dist/chunks/{event-logger-d84fhs6w.js → schema-qsxgc847.js} +34 -34
  204. package/dist/chunks/{event-logger-yp7329s5.js → schema-qthnzapq.js} +40 -40
  205. package/dist/chunks/{event-logger-0x725bzf.js → schema-r1ht1y7w.js} +7 -7
  206. package/dist/chunks/{event-logger-qmqgtz8f.js → schema-r2m716tb.js} +9 -9
  207. package/dist/chunks/{event-logger-pnqe9gv0.js → schema-r3c4069c.js} +1 -1
  208. package/dist/chunks/{event-logger-nn7atrp6.js → schema-r5xqv1fp.js} +5 -5
  209. package/dist/chunks/{event-logger-bf0ztrs3.js → schema-r98e92ep.js} +4 -4
  210. package/dist/chunks/{event-logger-qsf86z1y.js → schema-r99neq4v.js} +6 -6
  211. package/dist/chunks/{event-logger-dz5k2r6q.js → schema-raajgtb1.js} +18 -18
  212. package/dist/chunks/{event-logger-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  213. package/dist/chunks/{event-logger-0gaj4617.js → schema-rph3zd4r.js} +6 -6
  214. package/dist/chunks/{event-logger-19vf66h0.js → schema-ryr25ayn.js} +4 -4
  215. package/dist/chunks/{event-logger-5kmsck5e.js → schema-s1tzw9nx.js} +15 -15
  216. package/dist/chunks/{event-logger-w1rv58hq.js → schema-s28xa88k.js} +11 -11
  217. package/dist/chunks/{event-logger-kab6f7n6.js → schema-s2a3m5zj.js} +23 -23
  218. package/dist/chunks/{event-logger-gjfq4kj3.js → schema-s3d1hc87.js} +20 -20
  219. package/dist/chunks/{event-logger-wh4tt7gs.js → schema-s4q2v5s3.js} +12 -12
  220. package/dist/chunks/{event-logger-c679sp5v.js → schema-s56b7sj7.js} +19 -19
  221. package/dist/chunks/{event-logger-855sx0xg.js → schema-sb3nhjgb.js} +31 -31
  222. package/dist/chunks/{event-logger-14mere3y.js → schema-sc1s8qey.js} +15 -15
  223. package/dist/chunks/{event-logger-0fgn76gq.js → schema-scayhw0d.js} +19 -19
  224. package/dist/chunks/{event-logger-8t6yg6zj.js → schema-sgajxdys.js} +24 -24
  225. package/dist/chunks/{event-logger-2arn6ayc.js → schema-shhpa2wx.js} +12 -12
  226. package/dist/chunks/{event-logger-qsznjz43.js → schema-sp0b9gx5.js} +10 -10
  227. package/dist/chunks/{event-logger-bk8z58v6.js → schema-sp3cfktr.js} +5 -5
  228. package/dist/chunks/{event-logger-8b0q1tcn.js → schema-sqtna5cg.js} +18 -18
  229. package/dist/chunks/{event-logger-mrb21tde.js → schema-svr80ky5.js} +63 -63
  230. package/dist/chunks/{event-logger-knza9s2p.js → schema-sydz09wp.js} +26 -26
  231. package/dist/chunks/{event-logger-2ajxf64a.js → schema-szfqz0v7.js} +7 -7
  232. package/dist/chunks/{event-logger-p2czpw2p.js → schema-t37tr4jd.js} +35 -35
  233. package/dist/chunks/{event-logger-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{event-logger-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{event-logger-tdstcens.js → schema-tdstcens.js} +1 -1
  236. package/dist/chunks/{event-logger-qqyxxppr.js → schema-tp9yn0rb.js} +4 -4
  237. package/dist/chunks/{event-logger-yk3ep1wk.js → schema-tqk88y0w.js} +26 -26
  238. package/dist/chunks/{event-logger-tvtrv512.js → schema-tvtrv512.js} +1 -1
  239. package/dist/chunks/{event-logger-73kdj4zj.js → schema-tx9w5tca.js} +8 -8
  240. package/dist/chunks/{event-logger-6bac1myf.js → schema-v8mjc2yy.js} +5 -5
  241. package/dist/chunks/{event-logger-veqvce7d.js → schema-veqvce7d.js} +1 -1
  242. package/dist/chunks/{event-logger-3tkswqew.js → schema-vevrkrar.js} +26 -26
  243. package/dist/chunks/{event-logger-gvzdf9qe.js → schema-vh918eyq.js} +60 -60
  244. package/dist/chunks/{event-logger-4tfrzeqt.js → schema-vjjjrtg8.js} +3 -3
  245. package/dist/chunks/{event-logger-b09hzw3k.js → schema-vmgq4x8b.js} +2 -2
  246. package/dist/chunks/{event-logger-bm72tg9x.js → schema-vmwh049b.js} +9 -9
  247. package/dist/chunks/{event-logger-s19cq95s.js → schema-vtp78vb3.js} +6 -6
  248. package/dist/chunks/{event-logger-jxj92ndk.js → schema-vvvs0jwh.js} +4 -4
  249. package/dist/chunks/{event-logger-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{event-logger-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{event-logger-qpbc7zwf.js → schema-w1ad28wa.js} +8 -8
  252. package/dist/chunks/{event-logger-24sw1qrz.js → schema-w3ba67bf.js} +5 -5
  253. package/dist/chunks/{event-logger-yspnb8z1.js → schema-w3d830pe.js} +87 -87
  254. package/dist/chunks/{event-logger-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{event-logger-51zqcejn.js → schema-wbeghawe.js} +17 -17
  256. package/dist/chunks/{event-logger-2ydpn51p.js → schema-wc287v3v.js} +9 -9
  257. package/dist/chunks/{event-logger-wd87259q.js → schema-wd87259q.js} +1 -1
  258. package/dist/chunks/{event-logger-vx4k3ghj.js → schema-wkbehqst.js} +48 -48
  259. package/dist/chunks/{event-logger-zfdm6p8f.js → schema-wnavy81w.js} +32 -32
  260. package/dist/chunks/{event-logger-1f4amzzx.js → schema-wrsptv21.js} +4 -4
  261. package/dist/chunks/{event-logger-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{event-logger-zd30eb5w.js → schema-x2rw7g36.js} +5 -5
  263. package/dist/chunks/{event-logger-67534gnq.js → schema-x5aajpce.js} +10 -10
  264. package/dist/chunks/{event-logger-0rafmrwm.js → schema-x7x071nx.js} +14 -14
  265. package/dist/chunks/{event-logger-6ysrkrkr.js → schema-xfk06v0t.js} +8 -8
  266. package/dist/chunks/{event-logger-r8gjmqbx.js → schema-xfkq7hhm.js} +24 -24
  267. package/dist/chunks/{event-logger-qcam7751.js → schema-xgdsspm4.js} +30 -30
  268. package/dist/chunks/{event-logger-029fx6f3.js → schema-xhsj2xcy.js} +6 -6
  269. package/dist/chunks/{event-logger-9va4zsxm.js → schema-xj9an458.js} +11 -11
  270. package/dist/chunks/{event-logger-3nj1atnt.js → schema-xmx293k5.js} +28 -28
  271. package/dist/chunks/{event-logger-27c2nnft.js → schema-xqv87xzy.js} +23 -23
  272. package/dist/chunks/{event-logger-sxcqkswg.js → schema-xrk2dg0j.js} +32 -32
  273. package/dist/chunks/{event-logger-4vakqk6v.js → schema-y0cr4b1c.js} +4 -4
  274. package/dist/chunks/{event-logger-rz4qayhc.js → schema-y0xmc8cr.js} +14 -14
  275. package/dist/chunks/{event-logger-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{event-logger-w47g9jnr.js → schema-y5df08dr.js} +12 -12
  277. package/dist/chunks/{event-logger-dpkg50ah.js → schema-y71avatq.js} +4 -4
  278. package/dist/chunks/{event-logger-ph8msc0p.js → schema-y91sxvbc.js} +37 -37
  279. package/dist/chunks/{event-logger-jarv2a5b.js → schema-yctgz9ak.js} +3 -3
  280. package/dist/chunks/{event-logger-wqe4wm19.js → schema-yhbs15xx.js} +8 -8
  281. package/dist/chunks/{event-logger-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
  282. package/dist/chunks/{event-logger-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{event-logger-s4enseaf.js → schema-yrznvahk.js} +2 -2
  284. package/dist/chunks/{event-logger-f9fh40s4.js → schema-ywmyccm2.js} +22 -22
  285. package/dist/chunks/{event-logger-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{event-logger-29x78va6.js → schema-z63w68vq.js} +6 -6
  287. package/dist/chunks/{event-logger-w74gvnzt.js → schema-z6zxveg6.js} +9 -9
  288. package/dist/chunks/{event-logger-a2kyq1sq.js → schema-za5cqyrv.js} +20 -20
  289. package/dist/chunks/{event-logger-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{event-logger-7mz3q3xh.js → schema-zffm6dk0.js} +26 -26
  291. package/dist/chunks/{event-logger-vtq2920n.js → schema-zg5v86p0.js} +3 -3
  292. package/dist/chunks/{event-logger-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{event-logger-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +81 -81
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +214 -214
  304. package/dist/config/plugin/compaction.js +162 -162
  305. package/dist/config/plugin/compatibility.js +139 -139
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +122 -122
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +85 -85
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +70 -70
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/file.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +103 -103
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +15 -15
  433. package/dist/filesystem.js +102 -102
  434. package/dist/form.js +86 -86
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +83 -83
  437. package/dist/generate.js +101 -101
  438. package/dist/git.js +10 -10
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +91 -91
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +363 -363
  463. package/dist/instruction-discovery.js +85 -85
  464. package/dist/instructions/builtins.js +87 -87
  465. package/dist/instructions/index.js +5 -5
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +86 -86
  468. package/dist/job.js +79 -79
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +73 -73
  471. package/dist/location-activity.js +132 -132
  472. package/dist/location-lifecycle.js +107 -107
  473. package/dist/location-mutation.js +104 -104
  474. package/dist/location-service-map.js +86 -86
  475. package/dist/location-services.js +360 -360
  476. package/dist/location.js +85 -85
  477. package/dist/managed-policy.js +5 -5
  478. package/dist/mcp/client.js +91 -91
  479. package/dist/mcp/index.js +108 -108
  480. package/dist/mcp/instructions.js +128 -128
  481. package/dist/mcp/oauth.js +78 -78
  482. package/dist/mcp/stdio.js +90 -90
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +91 -91
  485. package/dist/model-resolver.js +98 -98
  486. package/dist/model.js +102 -102
  487. package/dist/models-dev.js +107 -107
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +80 -80
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +117 -117
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +86 -86
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +75 -75
  497. package/dist/plugin/agent.js +104 -104
  498. package/dist/plugin/command.js +101 -101
  499. package/dist/plugin/compaction.js +133 -133
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +218 -218
  502. package/dist/plugin/identity.js +3 -3
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +334 -334
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +96 -96
  507. package/dist/plugin/module.js +7 -7
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +102 -102
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  512. package/dist/plugin/provider/azure.js +122 -122
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +119 -119
  518. package/dist/plugin/provider/digitalocean.js +93 -93
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/gateway.js +2 -2
  522. package/dist/plugin/provider/github-copilot.js +93 -93
  523. package/dist/plugin/provider/gitlab.js +93 -93
  524. package/dist/plugin/provider/google-vertex.js +90 -90
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +77 -77
  527. package/dist/plugin/provider/lmstudio.js +122 -122
  528. package/dist/plugin/provider/modal.js +92 -92
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +122 -122
  531. package/dist/plugin/provider/openai.js +92 -92
  532. package/dist/plugin/provider/opencode.js +95 -95
  533. package/dist/plugin/provider/openrouter.js +91 -91
  534. package/dist/plugin/provider/perplexity.js +2 -2
  535. package/dist/plugin/provider/poe.js +78 -78
  536. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  537. package/dist/plugin/provider/sap-ai-core.js +91 -91
  538. package/dist/plugin/provider/sdk-factory.js +1 -1
  539. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  540. package/dist/plugin/provider/venice.js +2 -2
  541. package/dist/plugin/provider/vercel.js +90 -90
  542. package/dist/plugin/provider/vllm.js +122 -122
  543. package/dist/plugin/provider/xai.js +91 -91
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +160 -160
  546. package/dist/plugin/sdk.js +76 -76
  547. package/dist/plugin/service.js +3 -3
  548. package/dist/plugin/skill.js +141 -141
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +353 -353
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +6 -6
  553. package/dist/plugin/vcs/git.js +86 -86
  554. package/dist/plugin/vcs/hg.js +86 -86
  555. package/dist/plugin/verbosity.js +93 -93
  556. package/dist/plugin/warming.js +121 -121
  557. package/dist/plugin/websearch/exa.js +7 -7
  558. package/dist/plugin/websearch/firecrawl.js +6 -6
  559. package/dist/plugin/websearch/index.js +9 -9
  560. package/dist/plugin/websearch/mcp.js +6 -6
  561. package/dist/plugin/websearch/parallel.js +8 -8
  562. package/dist/plugin/websearch/tavily.js +4 -4
  563. package/dist/plugin/websearch/tinyfish.js +8 -8
  564. package/dist/plugin.js +229 -229
  565. package/dist/project/schema.js +2 -2
  566. package/dist/project/sql.js +4 -4
  567. package/dist/project.js +84 -84
  568. package/dist/provider.js +101 -101
  569. package/dist/pty/protocol.js +1 -1
  570. package/dist/pty/schema.js +3 -3
  571. package/dist/pty/ticket.js +1 -1
  572. package/dist/pty.js +98 -98
  573. package/dist/reference/instructions.js +89 -89
  574. package/dist/reference.js +89 -89
  575. package/dist/repository-cache.js +81 -81
  576. package/dist/repository.js +3 -3
  577. package/dist/ripgrep/binary.js +2 -2
  578. package/dist/ripgrep.js +97 -97
  579. package/dist/rpc.js +86 -86
  580. package/dist/schema.js +1 -1
  581. package/dist/session/command.js +74 -74
  582. package/dist/session/compaction.js +130 -130
  583. package/dist/session/context.js +152 -152
  584. package/dist/session/diff.js +88 -88
  585. package/dist/session/environment.js +5 -5
  586. package/dist/session/error.js +7 -7
  587. package/dist/session/event.js +1 -1
  588. package/dist/session/execution/restart.js +221 -221
  589. package/dist/session/execution.js +126 -126
  590. package/dist/session/generate.js +151 -151
  591. package/dist/session/history.js +15 -15
  592. package/dist/session/inbox.js +90 -90
  593. package/dist/session/info.js +3 -3
  594. package/dist/session/instruction-entry.js +79 -79
  595. package/dist/session/instruction-state.js +8 -8
  596. package/dist/session/instructions.js +97 -97
  597. package/dist/session/message-updater.js +2 -2
  598. package/dist/session/message.js +1 -1
  599. package/dist/session/model-request.js +119 -119
  600. package/dist/session/model-transport.js +9 -9
  601. package/dist/session/move.js +130 -130
  602. package/dist/session/projector.js +86 -86
  603. package/dist/session/prompt.js +105 -105
  604. package/dist/session/provider-context.js +3 -3
  605. package/dist/session/revert.js +90 -90
  606. package/dist/session/run-coordinator.js +3 -3
  607. package/dist/session/runner/index.js +3 -3
  608. package/dist/session/runner/llm.js +231 -231
  609. package/dist/session/runner/max-steps.js +1 -1
  610. package/dist/session/runner/model.js +98 -98
  611. package/dist/session/runner/publish-llm-event.js +3 -3
  612. package/dist/session/runner/retry.js +112 -112
  613. package/dist/session/runner/step.js +126 -126
  614. package/dist/session/runner/to-llm-message.js +2 -2
  615. package/dist/session/schema.js +5 -5
  616. package/dist/session/session.js +172 -172
  617. package/dist/session/shell.js +138 -138
  618. package/dist/session/skill.js +103 -103
  619. package/dist/session/sql.js +5 -5
  620. package/dist/session/stats.js +73 -73
  621. package/dist/session/store.js +85 -85
  622. package/dist/session/subagent-completion.js +1 -1
  623. package/dist/session/subagent-job.js +210 -210
  624. package/dist/session/system-prompt.js +3 -3
  625. package/dist/session/title.js +156 -156
  626. package/dist/session/to-session-error.js +111 -111
  627. package/dist/session/transfer.js +217 -217
  628. package/dist/session/usage.js +1 -1
  629. package/dist/session.js +216 -216
  630. package/dist/shell/parse.js +6 -6
  631. package/dist/shell/result.js +1 -1
  632. package/dist/shell/scan.js +1 -1
  633. package/dist/shell/select.js +15 -15
  634. package/dist/shell.js +140 -140
  635. package/dist/skill/discovery.js +6 -6
  636. package/dist/skill/instructions.js +107 -107
  637. package/dist/skill.js +110 -110
  638. package/dist/snapshot.js +91 -91
  639. package/dist/state.js +1 -1
  640. package/dist/tool/html-markdown.js +1 -1
  641. package/dist/tool/http-body.js +1 -1
  642. package/dist/tool/mcp.js +125 -125
  643. package/dist/tool/plugin/edit.js +120 -120
  644. package/dist/tool/plugin/file-diff.js +1 -1
  645. package/dist/tool/plugin/glob.js +124 -124
  646. package/dist/tool/plugin/grep.js +116 -116
  647. package/dist/tool/plugin/mcp-resource.js +116 -116
  648. package/dist/tool/plugin/opencode.js +3 -3
  649. package/dist/tool/plugin/patch.js +122 -122
  650. package/dist/tool/plugin/question.js +101 -101
  651. package/dist/tool/plugin/read.js +125 -125
  652. package/dist/tool/plugin/shell.js +217 -217
  653. package/dist/tool/plugin/skill.js +113 -113
  654. package/dist/tool/plugin/subagent.js +215 -215
  655. package/dist/tool/plugin/webfetch.js +112 -112
  656. package/dist/tool/plugin/websearch.js +112 -112
  657. package/dist/tool/plugin/write.js +122 -122
  658. package/dist/tool/read-filesystem.js +100 -100
  659. package/dist/tool/runtime.js +1 -1
  660. package/dist/tool-output.js +8 -8
  661. package/dist/tool.js +14 -14
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/attachment.js +2 -2
  673. package/dist/v1/config/command.js +3 -3
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/formatter.js +3 -3
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +5 -5
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +3 -3
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +93 -93
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +82 -82
  692. package/dist/wellknown/plugin.js +76 -76
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +80 -80
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +10 -10
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +98 -98
  702. package/package.json +8 -8
  703. package/dist/chunks/event-logger-0mesazry.js +0 -4
  704. package/dist/chunks/event-logger-7ehq9bc4.js +0 -252
  705. package/dist/chunks/event-logger-by5v678g.js +0 -18
  706. package/dist/chunks/event-logger-gz2035gh.js +0 -26
  707. /package/dist/chunks/{event-logger-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{event-logger-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{event-logger-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{event-logger-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{event-logger-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{event-logger-24dcb14g.js → schema-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{event-logger-2710q6r3.js → schema-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{event-logger-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{event-logger-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{event-logger-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{event-logger-359p4xyc.js → schema-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{event-logger-3asan66x.js → schema-3asan66x.js} +0 -0
  719. /package/dist/chunks/{event-logger-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{event-logger-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{event-logger-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{event-logger-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{event-logger-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{event-logger-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{event-logger-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{event-logger-53557ph1.js → schema-53557ph1.js} +0 -0
  727. /package/dist/chunks/{event-logger-550bvhaj.js → schema-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{event-logger-6prwharc.js → schema-6prwharc.js} +0 -0
  729. /package/dist/chunks/{event-logger-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  730. /package/dist/chunks/{event-logger-7m9af43g.js → schema-7m9af43g.js} +0 -0
  731. /package/dist/chunks/{event-logger-822emrt2.js → schema-822emrt2.js} +0 -0
  732. /package/dist/chunks/{event-logger-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  733. /package/dist/chunks/{event-logger-8n3pysct.js → schema-8n3pysct.js} +0 -0
  734. /package/dist/chunks/{event-logger-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  735. /package/dist/chunks/{event-logger-922hggd3.js → schema-922hggd3.js} +0 -0
  736. /package/dist/chunks/{event-logger-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  737. /package/dist/chunks/{event-logger-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  738. /package/dist/chunks/{event-logger-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  739. /package/dist/chunks/{event-logger-af5trqkr.js → schema-af5trqkr.js} +0 -0
  740. /package/dist/chunks/{event-logger-afrmfg78.js → schema-afrmfg78.js} +0 -0
  741. /package/dist/chunks/{event-logger-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  742. /package/dist/chunks/{event-logger-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  743. /package/dist/chunks/{event-logger-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  744. /package/dist/chunks/{event-logger-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  745. /package/dist/chunks/{event-logger-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  746. /package/dist/chunks/{event-logger-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  747. /package/dist/chunks/{event-logger-d9fn303g.js → schema-d9fn303g.js} +0 -0
  748. /package/dist/chunks/{event-logger-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  749. /package/dist/chunks/{event-logger-dajrwvna.js → schema-dajrwvna.js} +0 -0
  750. /package/dist/chunks/{event-logger-dap0rakb.js → schema-dap0rakb.js} +0 -0
  751. /package/dist/chunks/{event-logger-df08tz66.js → schema-df08tz66.js} +0 -0
  752. /package/dist/chunks/{event-logger-dy18nga0.js → schema-dy18nga0.js} +0 -0
  753. /package/dist/chunks/{event-logger-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  754. /package/dist/chunks/{event-logger-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  755. /package/dist/chunks/{event-logger-ec1grn59.js → schema-ec1grn59.js} +0 -0
  756. /package/dist/chunks/{event-logger-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  757. /package/dist/chunks/{event-logger-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  758. /package/dist/chunks/{event-logger-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  759. /package/dist/chunks/{event-logger-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  760. /package/dist/chunks/{event-logger-faypxj3z.js → schema-faypxj3z.js} +0 -0
  761. /package/dist/chunks/{event-logger-fd410y7t.js → schema-fd410y7t.js} +0 -0
  762. /package/dist/chunks/{event-logger-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  763. /package/dist/chunks/{event-logger-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  764. /package/dist/chunks/{event-logger-g86h250q.js → schema-g86h250q.js} +0 -0
  765. /package/dist/chunks/{event-logger-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  766. /package/dist/chunks/{event-logger-gftt206x.js → schema-gftt206x.js} +0 -0
  767. /package/dist/chunks/{event-logger-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  768. /package/dist/chunks/{event-logger-hk9envan.js → schema-hk9envan.js} +0 -0
  769. /package/dist/chunks/{event-logger-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  770. /package/dist/chunks/{event-logger-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  771. /package/dist/chunks/{event-logger-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  772. /package/dist/chunks/{event-logger-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  773. /package/dist/chunks/{event-logger-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  774. /package/dist/chunks/{event-logger-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  775. /package/dist/chunks/{event-logger-mp448xyj.js → schema-mp448xyj.js} +0 -0
  776. /package/dist/chunks/{event-logger-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  777. /package/dist/chunks/{event-logger-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  778. /package/dist/chunks/{event-logger-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  779. /package/dist/chunks/{event-logger-njntx4h6.js → schema-njntx4h6.js} +0 -0
  780. /package/dist/chunks/{event-logger-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  781. /package/dist/chunks/{event-logger-q74kybfr.js → schema-q74kybfr.js} +0 -0
  782. /package/dist/chunks/{event-logger-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  783. /package/dist/chunks/{event-logger-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  784. /package/dist/chunks/{event-logger-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  785. /package/dist/chunks/{event-logger-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  786. /package/dist/chunks/{event-logger-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  787. /package/dist/chunks/{event-logger-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  788. /package/dist/chunks/{event-logger-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  789. /package/dist/chunks/{event-logger-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  790. /package/dist/chunks/{event-logger-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  791. /package/dist/chunks/{event-logger-w803qqfp.js → schema-w803qqfp.js} +0 -0
  792. /package/dist/chunks/{event-logger-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  793. /package/dist/chunks/{event-logger-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  794. /package/dist/chunks/{event-logger-wtztk69x.js → schema-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{event-logger-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{event-logger-x61499pn.js → schema-x61499pn.js} +0 -0
  797. /package/dist/chunks/{event-logger-y44na4kk.js → schema-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{event-logger-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  799. /package/dist/chunks/{event-logger-y8f7s663.js → schema-y8f7s663.js} +0 -0
  800. /package/dist/chunks/{event-logger-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  801. /package/dist/chunks/{event-logger-ym463w8f.js → schema-ym463w8f.js} +0 -0
  802. /package/dist/chunks/{event-logger-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service49
3
- } from "./event-logger-vfgtt7fz.js";
2
+ Service60
3
+ } from "./schema-ggxapr4n.js";
4
4
  import {
5
- Service25
6
- } from "./event-logger-sr3xehtf.js";
5
+ Service18
6
+ } from "./schema-01q8mg5a.js";
7
7
  import {
8
8
  text2,
9
9
  deliver2
10
- } from "./event-logger-x1ezjp6w.js";
10
+ } from "./schema-x1ezjp6w.js";
11
11
  import {
12
12
  __export
13
- } from "./event-logger-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/session/subagent-job.ts
16
16
  var exports_subagent_job = {};
17
17
  __export(exports_subagent_job, {
18
18
  SubagentJob: () => exports_subagent_job,
19
- make: () => make5
19
+ make: () => make9
20
20
  });
21
21
  import { Effect, Scope } from "effect";
22
- var make5 = Effect.gen(function* () {
23
- const sessions = yield* Service25;
24
- const jobs = yield* Service49;
22
+ var make9 = Effect.gen(function* () {
23
+ const sessions = yield* Service18;
24
+ const jobs = yield* Service60;
25
25
  const scope = yield* Scope.Scope;
26
26
  const notifications = new Set;
27
27
  const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
@@ -58,4 +58,4 @@ var make5 = Effect.gen(function* () {
58
58
  };
59
59
  });
60
60
 
61
- export { make5, exports_subagent_job };
61
+ export { make9, exports_subagent_job };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service60
4
- } from "./event-logger-8t6yg6zj.js";
2
+ ID15,
3
+ Service77
4
+ } from "./schema-sgajxdys.js";
5
5
  import {
6
- Service80
7
- } from "./event-logger-rz4qayhc.js";
6
+ Service79
7
+ } from "./schema-y0xmc8cr.js";
8
8
  import {
9
- Service65
10
- } from "./event-logger-4sjs0fec.js";
9
+ Service49
10
+ } from "./schema-m0f2xe1s.js";
11
11
  import {
12
- Service73,
12
+ Service53,
13
13
  args2
14
- } from "./event-logger-17j7xjjx.js";
14
+ } from "./schema-6en7jsbn.js";
15
15
  import {
16
- Service25
17
- } from "./event-logger-sr3xehtf.js";
16
+ Service18
17
+ } from "./schema-01q8mg5a.js";
18
18
  import {
19
- make5
20
- } from "./event-logger-9va4zsxm.js";
19
+ make9
20
+ } from "./schema-xj9an458.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./event-logger-5daktx2q.js";
23
+ } from "./schema-5daktx2q.js";
24
24
  import {
25
25
  __export
26
- } from "./event-logger-9rqn6x4v.js";
26
+ } from "./schema-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin33
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin28
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
41
41
  import { ChildProcess } from "effect/unstable/process";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
43
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
- var Plugin33 = define({
44
+ var Plugin28 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service65;
47
+ const config = yield* Service49;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin33 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service80;
57
+ const location = yield* Service79;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service73;
60
- const sessions = yield* Service25;
61
- const agents = yield* Service60;
62
- const subagents = yield* make5;
59
+ const shell = yield* Service53;
60
+ const sessions = yield* Service18;
61
+ const agents = yield* Service77;
62
+ const subagents = yield* make9;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin33 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
204
204
  var quoteTrimRegex = /^["']|["']$/g;
205
205
  var shellRegex = /!`([^`]+)`/g;
206
206
 
207
- export { Plugin33, exports_command };
207
+ export { Plugin28, exports_command2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./event-logger-xdrpma1h.js";
3
+ } from "./schema-cdyvr9f3.js";
4
4
  import {
5
5
  Service83
6
- } from "./event-logger-4vakqk6v.js";
6
+ } from "./schema-y0cr4b1c.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./event-logger-qcam7751.js";
9
+ Event17
10
+ } from "./schema-xgdsspm4.js";
11
11
  import {
12
- ID14,
12
+ ID9,
13
13
  MethodID2
14
- } from "./event-logger-6axjgf6a.js";
14
+ } from "./schema-j433k3ah.js";
15
15
  import {
16
16
  which2
17
- } from "./event-logger-qaymkmh1.js";
17
+ } from "./schema-qaymkmh1.js";
18
18
  import {
19
- ID13
20
- } from "./event-logger-p95hncgz.js";
19
+ ID8
20
+ } from "./schema-44k7vfsg.js";
21
21
  import {
22
22
  iife2
23
- } from "./event-logger-1kg9ymc8.js";
23
+ } from "./schema-1kg9ymc8.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./event-logger-029fx6f3.js";
26
+ } from "./schema-xhsj2xcy.js";
27
27
 
28
28
  // src/plugin/provider/azure.ts
29
29
  import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
43
43
  var AzurePlugin2 = define({
44
44
  id: "opencode.provider.azure",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const configured = yield* configuredSettings2(ID13.azure);
46
+ const configured = yield* configuredSettings2(ID8.azure);
47
47
  const processes = yield* AppProcess.Service;
48
48
  const bus = yield* Service83;
49
49
  const tokens = new Map;
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
79
79
  });
80
80
  yield* ctx.integration.transform((editor) => {
81
81
  editor.method.update({
82
- integrationID: ID13.azure,
82
+ integrationID: ID8.azure,
83
83
  method: { type: "key", label: "API key", form: form() }
84
84
  });
85
85
  if (!available)
86
86
  return;
87
87
  editor.method.update({
88
- integrationID: ID13.azure,
88
+ integrationID: ID8.azure,
89
89
  method: {
90
90
  id: methodID,
91
91
  type: "oauth",
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
117
117
  });
118
118
  });
119
119
  const load = Effect.fn("AzurePlugin.load")(function* () {
120
- const connection = yield* ctx.integration.connection.active(ID13.azure);
120
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
121
121
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
122
122
  return;
123
123
  })) : undefined;
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
131
131
  yield* load();
132
132
  yield* ctx.provider.transform((evt) => {
133
133
  for (const item of evt.list()) {
134
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
134
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
135
135
  continue;
136
136
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
137
137
  const websocket = responsesWebSocketCapable(item.provider);
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
149
149
  });
150
150
  yield* ctx.model.transform((models) => {
151
151
  for (const item of models.provider.list()) {
152
- if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
152
+ if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
153
153
  continue;
154
154
  const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
155
155
  for (const model of models.list(item.provider.id)) {
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
161
161
  }
162
162
  });
163
163
  const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
164
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
164
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
165
165
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
166
- const connection = yield* ctx.integration.connection.active(ID13.azure);
166
+ const connection = yield* ctx.integration.connection.active(ID8.azure);
167
167
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
168
168
  return;
169
169
  })) : undefined;
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
175
175
  return `Bearer ${current.access}`;
176
176
  });
177
177
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
178
- if (evt.model.providerID !== ID13.azure)
178
+ if (evt.model.providerID !== ID8.azure)
179
179
  return;
180
180
  const authorization = yield* bearer(evt.request.url);
181
181
  if (!authorization)
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
184
184
  evt.request.headers.delete("x-api-key");
185
185
  evt.request.headers.set("authorization", authorization);
186
186
  evt.request.headers.set("user-agent", useragent2(ctx.app));
187
- }), { providerID: ID13.azure });
187
+ }), { providerID: ID8.azure });
188
188
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
189
- if (evt.model.providerID !== ID13.azure)
189
+ if (evt.model.providerID !== ID8.azure)
190
190
  return;
191
191
  const authorization = yield* bearer(evt.url);
192
192
  if (!authorization)
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
195
195
  delete evt.headers["x-api-key"];
196
196
  evt.headers.authorization = authorization;
197
197
  evt.headers["user-agent"] = useragent2(ctx.app);
198
- }), { providerID: ID13.azure });
198
+ }), { providerID: ID8.azure });
199
199
  })
200
200
  });
201
201
  function resolveResourceName(settings, fallback) {
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./event-logger-922hggd3.js";
4
+ } from "./schema-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service82,
9
- node86
10
- } from "./event-logger-w47g9jnr.js";
8
+ Service81,
9
+ node85
10
+ } from "./schema-y5df08dr.js";
11
11
  import {
12
- Service80,
13
- node84
14
- } from "./event-logger-rz4qayhc.js";
12
+ Service79,
13
+ node83
14
+ } from "./schema-y0xmc8cr.js";
15
15
  import {
16
16
  create3
17
- } from "./event-logger-rdw6cm16.js";
17
+ } from "./schema-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./event-logger-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID6,
27
- Service: () => Service42,
25
+ Error: () => Error3,
26
+ ID: () => ID4,
27
+ Service: () => Service39,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node45,
29
+ node: () => node42,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID6 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service39 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
50
+ const git = yield* Service81;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service80;
52
+ const location = yield* Service79;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID6.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service39.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node45 = makeLocationNode({
144
- service: Service42,
143
+ var node42 = makeLocationNode({
144
+ service: Service39,
145
145
  layer,
146
- deps: [FSUtil.node, node86, Global.node, node84]
146
+ deps: [FSUtil.node, node85, Global.node, node83]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
148
+ var noopLayer2 = Layer.succeed(Service39, Service39.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error3 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error3({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID6, Error4, Service42, node45, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error3, Service39, node42, noopLayer2, exports_snapshot2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./event-logger-syffjq1h.js";
4
+ } from "./schema-cxd4szcz.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./event-logger-2710q6r3.js";
8
+ } from "./schema-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./event-logger-dpkg50ah.js";
11
+ } from "./schema-y71avatq.js";
12
12
  import {
13
13
  __export
14
- } from "./event-logger-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./event-logger-9e9r8xcc.js";
2
+ Service80,
3
+ node84
4
+ } from "./schema-97z86zxn.js";
5
5
  import {
6
6
  __export
7
- } from "./event-logger-9rqn6x4v.js";
7
+ } from "./schema-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service80,
15
+ Service: () => Service79,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node83,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service80 extends Context.Service()("@opencode/Location") {
24
+ class Service79 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service80, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
28
- const project = yield* Service81;
26
+ var node83 = LayerNode.unbound(Service79, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
28
+ const project = yield* Service80;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service80.of({
30
+ return Service79.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service80,
38
+ service: Service79,
39
39
  layer: layer(ref, options),
40
- deps: [node85]
40
+ deps: [node84]
41
41
  });
42
42
 
43
- export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./event-logger-922hggd3.js";
4
+ } from "./schema-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./event-logger-dpkg50ah.js";
7
+ } from "./schema-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./event-logger-tazgh4e4.js";
12
+ } from "./schema-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./event-logger-ef5x83kb.js";
15
+ } from "./schema-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./event-logger-9rqn6x4v.js";
18
+ } from "./schema-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service82,
26
+ Service: () => Service81,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node86
30
+ node: () => node85
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service82 extends Context.Service()("@opencode/Git") {
96
+ class Service81 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service82, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service82.of({
422
+ return Service81.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service82, node86, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./event-logger-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };