@opencode/core 0.0.0-dev-20541 → 0.0.0-dev-20543

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 (782) 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 +73 -73
  7. package/dist/chunks/{command-mmq4tvzh.js → project-0g55zwm7.js} +20 -20
  8. package/dist/chunks/{command-mv87szkv.js → project-0gwx0s3y.js} +7 -7
  9. package/dist/chunks/{command-kgffmydg.js → project-0jpxnbhq.js} +49 -49
  10. package/dist/chunks/{command-3sqh8pm2.js → project-0n46sy86.js} +15 -15
  11. package/dist/chunks/{command-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{command-7yetp8jc.js → project-0q8sh0th.js} +23 -23
  13. package/dist/chunks/{command-dzv118g2.js → project-0sdhkc62.js} +7 -7
  14. package/dist/chunks/{command-0vbcp93d.js → project-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{command-cs216amt.js → project-0vcy0dqe.js} +9 -9
  16. package/dist/chunks/{command-rpms11rw.js → project-0vr031ak.js} +19 -19
  17. package/dist/chunks/{command-dzty4xcq.js → project-0xdtnkn7.js} +66 -66
  18. package/dist/chunks/{command-c9k10dz7.js → project-0y86tmwb.js} +6 -6
  19. package/dist/chunks/project-15z7v29d.js +507 -0
  20. package/dist/chunks/project-17rbdkmb.js +26 -0
  21. package/dist/chunks/{command-01jzyxk2.js → project-1byfy22e.js} +5 -5
  22. package/dist/chunks/{command-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{command-jhk6nqbr.js → project-1g91xc37.js} +33 -33
  24. package/dist/chunks/{command-tj682e1p.js → project-1krrph0f.js} +8 -8
  25. package/dist/chunks/{command-1cfb3ja4.js → project-1nwxscpy.js} +5 -5
  26. package/dist/chunks/{command-cfsekr6v.js → project-1p07q0wb.js} +4 -4
  27. package/dist/chunks/{command-2gef892y.js → project-1p67y8r3.js} +9 -9
  28. package/dist/chunks/{command-q7s4p2ws.js → project-211mfykw.js} +11 -11
  29. package/dist/chunks/{command-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{command-ztxh1f3e.js → project-2h27yszp.js} +25 -25
  31. package/dist/chunks/{command-5vyb2hja.js → project-2kh1aj22.js} +5 -5
  32. package/dist/chunks/{command-4mwpykj0.js → project-321x2wtd.js} +6 -6
  33. package/dist/chunks/{command-c61jsrw6.js → project-32vkyra5.js} +8 -8
  34. package/dist/chunks/{command-h2b79v29.js → project-3cegwx68.js} +2 -2
  35. package/dist/chunks/{command-gqepmfk7.js → project-3eyvdyep.js} +24 -24
  36. package/dist/chunks/{command-cwbq0mfh.js → project-3fa318h0.js} +33 -33
  37. package/dist/chunks/{command-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{command-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{command-9hn6k4tm.js → project-3hfr6h8q.js} +8 -8
  40. package/dist/chunks/{command-75rpacef.js → project-3j19qqn2.js} +20 -20
  41. package/dist/chunks/{command-t2c2p23z.js → project-3sjtvdbx.js} +32 -32
  42. package/dist/chunks/{command-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{command-eaf5gakt.js → project-3sxzqh52.js} +11 -11
  44. package/dist/chunks/{command-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{command-3b9mfnb1.js → project-3vm18aej.js} +43 -43
  46. package/dist/chunks/{command-thnqqb5h.js → project-3xme275p.js} +17 -17
  47. package/dist/chunks/{command-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{command-cfy01m6q.js → project-46f73qdr.js} +4 -4
  49. package/dist/chunks/{command-f9hcp00g.js → project-48rqbhxp.js} +10 -10
  50. package/dist/chunks/{command-c33q63qa.js → project-49wcxkwy.js} +18 -18
  51. package/dist/chunks/{command-5t5wrhde.js → project-4a2kvcyx.js} +2 -2
  52. package/dist/chunks/{command-6rwesznr.js → project-4awpa7dh.js} +15 -15
  53. package/dist/chunks/{command-d0cgwrbg.js → project-4ertyhh0.js} +13 -13
  54. package/dist/chunks/{command-8t624zf9.js → project-4evz9yqf.js} +9 -9
  55. package/dist/chunks/{command-z7s65jz9.js → project-4hd8g1tz.js} +11 -11
  56. package/dist/chunks/{command-4z58m4b4.js → project-4j4tgtq5.js} +4 -4
  57. package/dist/chunks/{command-z96ftasq.js → project-4nvv71eh.js} +22 -22
  58. package/dist/chunks/{command-g3xnrmzn.js → project-4q068m7q.js} +26 -26
  59. package/dist/chunks/{command-k6yxz2kp.js → project-4qknpms9.js} +28 -28
  60. package/dist/chunks/{command-dywq9pkt.js → project-4rthrakj.js} +33 -33
  61. package/dist/chunks/{command-2ccvkpx1.js → project-4ts7tf6z.js} +2 -2
  62. package/dist/chunks/{command-r9ggpxfb.js → project-4vx6mmp0.js} +61 -61
  63. package/dist/chunks/{command-7qdef5aj.js → project-51qxj5j9.js} +20 -20
  64. package/dist/chunks/{command-9qbdnxkb.js → project-5415gst9.js} +22 -22
  65. package/dist/chunks/{command-g5w8qwbj.js → project-57b9ws8p.js} +7 -7
  66. package/dist/chunks/{command-zeb7mf4e.js → project-5c22wf1x.js} +12 -12
  67. package/dist/chunks/{command-79qaa2kf.js → project-5d607bsg.js} +9 -9
  68. package/dist/chunks/{command-5daktx2q.js → project-5daktx2q.js} +1 -1
  69. package/dist/chunks/{command-e3qxr5gk.js → project-5qd3pb7m.js} +2 -2
  70. package/dist/chunks/{command-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{command-669tq793.js → project-669tq793.js} +1 -1
  72. package/dist/chunks/{command-g7xb4ge4.js → project-6p4wgss2.js} +3 -3
  73. package/dist/chunks/{command-bnymekt2.js → project-6zrpm0bg.js} +15 -15
  74. package/dist/chunks/{command-7q5hsd78.js → project-72nc6h26.js} +22 -22
  75. package/dist/chunks/{command-h1ff3r7d.js → project-74v03xk0.js} +13 -13
  76. package/dist/chunks/{command-8b107kjv.js → project-75ybx9pn.js} +21 -21
  77. package/dist/chunks/{command-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{command-kdtk6ytk.js → project-7e51ymmz.js} +21 -21
  79. package/dist/chunks/{command-w243dze7.js → project-7sx9qfrr.js} +18 -18
  80. package/dist/chunks/{command-1dvck2a7.js → project-84h8c373.js} +2 -2
  81. package/dist/chunks/{command-84txncab.js → project-84txncab.js} +1 -1
  82. package/dist/chunks/{command-tcezcvh9.js → project-89znhe33.js} +4 -4
  83. package/dist/chunks/{command-wgkw1say.js → project-8b09fejn.js} +3 -3
  84. package/dist/chunks/{command-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{command-x1cxff1x.js → project-8hc5cg6f.js} +22 -22
  86. package/dist/chunks/{command-jpzv3ykh.js → project-94kqdtyn.js} +13 -13
  87. package/dist/chunks/{command-0jf2y13k.js → project-95fkqa3s.js} +24 -24
  88. package/dist/chunks/{command-kykbznp4.js → project-9f4s7ma4.js} +15 -15
  89. package/dist/chunks/{command-f7p9evzq.js → project-9gx9s1ab.js} +37 -37
  90. package/dist/chunks/{command-7skj7b3t.js → project-9mfnyqzm.js} +11 -11
  91. package/dist/chunks/{command-1k3q76yn.js → project-9tf8jb29.js} +11 -11
  92. package/dist/chunks/{command-mdcbxeg1.js → project-9z5pkfrq.js} +4 -4
  93. package/dist/chunks/{command-6y94d6d5.js → project-a4nv2jhc.js} +5 -5
  94. package/dist/chunks/{command-nqzan4bx.js → project-aa9qtcsv.js} +6 -6
  95. package/dist/chunks/{command-aaet6srn.js → project-aaet6srn.js} +2 -2
  96. package/dist/chunks/{command-zcrspsvn.js → project-afdssyjb.js} +4 -4
  97. package/dist/chunks/{command-ywpe0k31.js → project-ajzen2r8.js} +12 -12
  98. package/dist/chunks/{command-nj45zehw.js → project-akaz640z.js} +8 -8
  99. package/dist/chunks/{command-74wsvbja.js → project-aten89af.js} +6 -6
  100. package/dist/chunks/{command-x691ctxc.js → project-atg4533p.js} +1 -1
  101. package/dist/chunks/{command-pacph0q8.js → project-awk83w3y.js} +14 -14
  102. package/dist/chunks/{command-3vn5r7fz.js → project-b1cqx2ed.js} +4 -4
  103. package/dist/chunks/{command-b3f8fkhc.js → project-b3f8fkhc.js} +2 -2
  104. package/dist/chunks/{command-0n4qmygn.js → project-b3yntd1n.js} +6 -6
  105. package/dist/chunks/{command-y9bry2a2.js → project-b4p31rnp.js} +22 -22
  106. package/dist/chunks/{command-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{command-s2q9yd17.js → project-b7fbchgy.js} +22 -22
  108. package/dist/chunks/{command-g90rxwkd.js → project-b9jvby5j.js} +15 -15
  109. package/dist/chunks/{command-yyc39645.js → project-bb65c4mp.js} +20 -20
  110. package/dist/chunks/{command-c67sz4xq.js → project-bn1j3jpq.js} +52 -52
  111. package/dist/chunks/{command-vxzh5eqq.js → project-bsqx64w4.js} +4 -4
  112. package/dist/chunks/{command-way54g3t.js → project-bsv8006t.js} +34 -34
  113. package/dist/chunks/{command-8wbxkt1z.js → project-btbmdjwj.js} +4 -4
  114. package/dist/chunks/{command-pds74t41.js → project-btfhnvjh.js} +3 -3
  115. package/dist/chunks/{command-wbgabvvj.js → project-bx0gyb4h.js} +5 -5
  116. package/dist/chunks/{command-0qs5s41g.js → project-bx29nwct.js} +11 -11
  117. package/dist/chunks/{command-qygccx2c.js → project-bxdb0phq.js} +32 -32
  118. package/dist/chunks/{command-js7ztaqx.js → project-c0rvhg7q.js} +13 -13
  119. package/dist/chunks/{command-pee00n06.js → project-c7xkkk9f.js} +23 -23
  120. package/dist/chunks/{command-sfzn7zth.js → project-c9r5xmmk.js} +18 -18
  121. package/dist/chunks/{command-ezyde299.js → project-casv7ffj.js} +22 -22
  122. package/dist/chunks/{command-hvaebh52.js → project-cd5v0x55.js} +25 -25
  123. package/dist/chunks/{command-a881zpfh.js → project-cnb1p1jt.js} +9 -9
  124. package/dist/chunks/{command-5zqqr9b4.js → project-cp5z20n4.js} +11 -11
  125. package/dist/chunks/{command-c55dey07.js → project-cxnb4521.js} +24 -24
  126. package/dist/chunks/{command-d46e2cta.js → project-d48vtfkp.js} +20 -20
  127. package/dist/chunks/{command-w67z85jj.js → project-dbdmbfdh.js} +14 -14
  128. package/dist/chunks/{command-1dfrqcjm.js → project-de1wbeth.js} +8 -8
  129. package/dist/chunks/{command-2336b01z.js → project-dhtadd1m.js} +8 -8
  130. package/dist/chunks/{command-nxm207yx.js → project-dpkg50ah.js} +4 -4
  131. package/dist/chunks/{command-6f8r1xek.js → project-dx5xb0f2.js} +14 -14
  132. package/dist/chunks/{command-zckshxme.js → project-dzcjazgh.js} +20 -20
  133. package/dist/chunks/{command-2pxx49tn.js → project-e6yhd6h5.js} +18 -18
  134. package/dist/chunks/{command-9t7a50xb.js → project-eaj1djv9.js} +8 -8
  135. package/dist/chunks/{command-g9v33ymf.js → project-ecwgt7wy.js} +4 -4
  136. package/dist/chunks/{command-fm2qvscf.js → project-edrmdtr5.js} +7 -7
  137. package/dist/chunks/{command-8gt91z3r.js → project-eepsj9xm.js} +44 -44
  138. package/dist/chunks/{command-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{command-4n47a3cw.js → project-esq9ahf4.js} +17 -17
  140. package/dist/chunks/{command-213p2swk.js → project-estj264d.js} +17 -17
  141. package/dist/chunks/{command-tvpc0ybq.js → project-et6ps8sy.js} +32 -32
  142. package/dist/chunks/{command-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{command-d392bjy5.js → project-ezx61htw.js} +13 -13
  144. package/dist/chunks/{command-71az546q.js → project-f75zav2x.js} +2 -2
  145. package/dist/chunks/{command-n2rmdmjc.js → project-f7szz835.js} +25 -25
  146. package/dist/chunks/{command-vv95jtq1.js → project-f9eyz112.js} +11 -11
  147. package/dist/chunks/{command-4xqwpdwt.js → project-fsp5pbrf.js} +22 -22
  148. package/dist/chunks/{command-j1a331kd.js → project-g6803b9c.js} +11 -11
  149. package/dist/chunks/{command-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{command-2qx5ewc2.js → project-gnhsmmqn.js} +6 -6
  151. package/dist/chunks/{command-3y377wv9.js → project-gqtdsdt7.js} +4 -4
  152. package/dist/chunks/{command-eda73v46.js → project-gr6b6mj1.js} +11 -11
  153. package/dist/chunks/{command-7yfar2g1.js → project-h0esbxhn.js} +8 -8
  154. package/dist/chunks/{command-sqdwm1my.js → project-h0xaargc.js} +35 -35
  155. package/dist/chunks/{command-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{command-5tcm9639.js → project-hb84g3y6.js} +9 -9
  157. package/dist/chunks/{command-3556dn8t.js → project-hd8vw2pw.js} +1 -1
  158. package/dist/chunks/{command-b7mjc4a6.js → project-hh2rhyy0.js} +3 -3
  159. package/dist/chunks/{command-8gdnnedh.js → project-hvq7s315.js} +8 -8
  160. package/dist/chunks/{command-1g7wkek7.js → project-hvsabrxs.js} +6 -6
  161. package/dist/chunks/{command-ksk3n4cg.js → project-hwk0dxk3.js} +5 -5
  162. package/dist/chunks/{command-eq1pz5kg.js → project-j028xdjb.js} +3 -3
  163. package/dist/chunks/{command-j56e64zr.js → project-j56e64zr.js} +1 -1
  164. package/dist/chunks/{command-z5anw93z.js → project-j6y1pw17.js} +88 -88
  165. package/dist/chunks/{command-as8e1r60.js → project-jd43yt6r.js} +20 -20
  166. package/dist/chunks/{command-61d0nta3.js → project-jpdz6tyk.js} +95 -95
  167. package/dist/chunks/{command-rrkmkyg6.js → project-jty7ch9v.js} +6 -6
  168. package/dist/chunks/{command-9e5bzkjp.js → project-kb9j3d72.js} +3 -3
  169. package/dist/chunks/{command-y5hk5168.js → project-kcrq884e.js} +18 -18
  170. package/dist/chunks/{command-578mczcx.js → project-krt29t41.js} +7 -7
  171. package/dist/chunks/{command-m6eqcf37.js → project-ktbedybp.js} +59 -59
  172. package/dist/chunks/{command-ag82fysq.js → project-kyck4gt1.js} +9 -9
  173. package/dist/chunks/{command-hyssag4y.js → project-m0m93c5z.js} +11 -11
  174. package/dist/chunks/{command-vbfgae2j.js → project-m0r31qfn.js} +4 -4
  175. package/dist/chunks/{command-ytfp8a9c.js → project-m17jc1za.js} +23 -23
  176. package/dist/chunks/project-m2xs0gmc.js +253 -0
  177. package/dist/chunks/{command-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{command-kgf2vxaw.js → project-m6nxe9vm.js} +4 -4
  179. package/dist/chunks/{command-ntxrry2n.js → project-m7wchrz5.js} +21 -21
  180. package/dist/chunks/{command-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{command-h9431wzg.js → project-manc465r.js} +48 -48
  182. package/dist/chunks/{command-1ygqh575.js → project-mfqp6xfm.js} +6 -6
  183. package/dist/chunks/{command-yb7z5tge.js → project-mp0emv6a.js} +185 -185
  184. package/dist/chunks/{command-qy9s2ye0.js → project-mq52pn8m.js} +10 -10
  185. package/dist/chunks/{command-awttz7et.js → project-n2wa682s.js} +31 -31
  186. package/dist/chunks/{command-fgvgk3nc.js → project-na6adhag.js} +30 -30
  187. package/dist/chunks/{command-22t0k3cz.js → project-ndbpsv5z.js} +45 -45
  188. package/dist/chunks/{command-5n7vjdk6.js → project-nepkptgr.js} +10 -10
  189. package/dist/chunks/{command-cstxe3ar.js → project-p0d3gpxt.js} +20 -20
  190. package/dist/chunks/{command-ea26v2e4.js → project-p0yccpp7.js} +12 -12
  191. package/dist/chunks/{command-6v33vpya.js → project-p56ffcxf.js} +5 -5
  192. package/dist/chunks/{command-j1tnjqr2.js → project-p79ks9bf.js} +11 -11
  193. package/dist/chunks/{command-9aqw140n.js → project-pd2rqkja.js} +31 -31
  194. package/dist/chunks/{command-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{command-yke0wfjf.js → project-pjwzbkan.js} +38 -38
  196. package/dist/chunks/{command-pknna89w.js → project-pknna89w.js} +1 -1
  197. package/dist/chunks/{command-t38tm3cf.js → project-pnvqek79.js} +36 -36
  198. package/dist/chunks/{command-tc2wd370.js → project-psmsagcw.js} +10 -10
  199. package/dist/chunks/{command-722cwwxx.js → project-pvp7ht9d.js} +24 -24
  200. package/dist/chunks/{command-sr0pxs2g.js → project-pyqr1rq6.js} +30 -30
  201. package/dist/chunks/{command-r897vr76.js → project-q0tgdpjf.js} +8 -8
  202. package/dist/chunks/{command-0j77ygfz.js → project-q0xm7vwc.js} +6 -6
  203. package/dist/chunks/{command-re5v1f1h.js → project-q1r0vwt8.js} +12 -12
  204. package/dist/chunks/{command-xqjr5z5q.js → project-qa0x4vs9.js} +36 -36
  205. package/dist/chunks/{command-fcrkznn8.js → project-qgn6gcr1.js} +5 -5
  206. package/dist/chunks/{command-qnc92qwc.js → project-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{command-qsdy395h.js → project-qsdy395h.js} +1 -1
  208. package/dist/chunks/{command-7zk0wn2x.js → project-qsenm5a2.js} +27 -27
  209. package/dist/chunks/{command-hbyhqfhs.js → project-qvreyy9g.js} +5 -5
  210. package/dist/chunks/{command-21xha1jy.js → project-qx1bsmcz.js} +35 -35
  211. package/dist/chunks/{command-v66k9e3r.js → project-qymy68cc.js} +30 -30
  212. package/dist/chunks/{command-r8xr0va3.js → project-r8xr0va3.js} +1 -1
  213. package/dist/chunks/{command-54ma36ye.js → project-r94pvvab.js} +4 -4
  214. package/dist/chunks/{command-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{command-6y03q21h.js → project-rpvt8072.js} +2 -2
  216. package/dist/chunks/{command-emvq8ywb.js → project-rth9emc5.js} +3 -3
  217. package/dist/chunks/{command-b4gp33hv.js → project-rxykwpsa.js} +11 -11
  218. package/dist/chunks/{command-9basgg3g.js → project-ryzbcfv2.js} +6 -6
  219. package/dist/chunks/{command-77acw9m0.js → project-s3c8tkpt.js} +3 -3
  220. package/dist/chunks/{command-6v2t73g4.js → project-s7rb1sc6.js} +27 -27
  221. package/dist/chunks/{command-f5gy8qwh.js → project-sjjwhc07.js} +8 -8
  222. package/dist/chunks/{command-15nepkqg.js → project-sm965ndy.js} +8 -8
  223. package/dist/chunks/{command-6z2jg7m4.js → project-smwxesx6.js} +11 -11
  224. package/dist/chunks/{command-45vb5exr.js → project-spp41t0w.js} +15 -15
  225. package/dist/chunks/{command-401cxz9d.js → project-syk7s6gh.js} +11 -11
  226. package/dist/chunks/{command-g8n6k2e8.js → project-t2n79x7q.js} +11 -11
  227. package/dist/chunks/{command-h6m8mpqk.js → project-t3yezey5.js} +9 -9
  228. package/dist/chunks/{command-0wv8zgxx.js → project-t93d9hcd.js} +5 -5
  229. package/dist/chunks/{command-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{command-0axee2zp.js → project-tb7t0krf.js} +11 -11
  231. package/dist/chunks/{command-tdstcens.js → project-tdstcens.js} +1 -1
  232. package/dist/chunks/{command-392tpz92.js → project-tg285svz.js} +5 -5
  233. package/dist/chunks/{command-3byrw2k0.js → project-tg7bkhef.js} +9 -9
  234. package/dist/chunks/{command-ct4faptp.js → project-tgsremw0.js} +7 -7
  235. package/dist/chunks/{command-ypkf29hv.js → project-tgwdb8hf.js} +44 -44
  236. package/dist/chunks/project-v1faaxn9.js +18 -0
  237. package/dist/chunks/{command-5crddx1s.js → project-v21a6nxh.js} +32 -32
  238. package/dist/chunks/{command-0djpsv8h.js → project-v6h0f511.js} +16 -16
  239. package/dist/chunks/{command-6nx5bmak.js → project-vczhc39p.js} +11 -11
  240. package/dist/chunks/{command-veqvce7d.js → project-veqvce7d.js} +1 -1
  241. package/dist/chunks/{command-6w9me9g4.js → project-vhxbp6kt.js} +17 -17
  242. package/dist/chunks/{command-stff7yw3.js → project-vt2rn3s2.js} +40 -40
  243. package/dist/chunks/{command-fgktf29t.js → project-vxby77fw.js} +8 -8
  244. package/dist/chunks/{command-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{command-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{command-6yz0wx8n.js → project-w39jehkq.js} +5 -5
  247. package/dist/chunks/{command-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{command-jpesrvwe.js → project-wbha35az.js} +24 -24
  249. package/dist/chunks/{command-wd87259q.js → project-wd87259q.js} +1 -1
  250. package/dist/chunks/{command-6sr3ve8g.js → project-wdfkj30x.js} +21 -21
  251. package/dist/chunks/{command-axm04d2k.js → project-wj8m425e.js} +17 -17
  252. package/dist/chunks/{command-6fd4dcha.js → project-wrecv97f.js} +23 -23
  253. package/dist/chunks/{command-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{command-zwas51cn.js → project-x1nh081j.js} +10 -10
  255. package/dist/chunks/{command-3ndhv5ev.js → project-x1ny9q2p.js} +31 -31
  256. package/dist/chunks/{command-dympa6h6.js → project-x6pk0ppd.js} +1 -1
  257. package/dist/chunks/{command-p1et7349.js → project-xa2z8zqt.js} +47 -47
  258. package/dist/chunks/{command-vn72gsba.js → project-xasyx0as.js} +4 -4
  259. package/dist/chunks/{command-8wwws4s2.js → project-xj6mph50.js} +32 -32
  260. package/dist/chunks/{command-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
  261. package/dist/chunks/{command-bq7b46md.js → project-xsch7tq4.js} +11 -11
  262. package/dist/chunks/{command-x1bgc40t.js → project-xv1pxtgw.js} +15 -15
  263. package/dist/chunks/{command-qxjc9qry.js → project-xyafkbt0.js} +3 -3
  264. package/dist/chunks/{command-n2zgnq50.js → project-xz0c0gzz.js} +38 -38
  265. package/dist/chunks/{command-trazswah.js → project-xzrrc5b6.js} +17 -17
  266. package/dist/chunks/{command-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{command-achynwnm.js → project-y268atyc.js} +26 -26
  268. package/dist/chunks/{command-tag3ynyp.js → project-y7sqmqar.js} +11 -11
  269. package/dist/chunks/{command-kzrjs8je.js → project-yfy16hdj.js} +13 -13
  270. package/dist/chunks/{command-hhdeq4zt.js → project-yhczy8wd.js} +19 -19
  271. package/dist/chunks/{command-bpfb0a3w.js → project-yhkscg6g.js} +13 -13
  272. package/dist/chunks/{command-nmdr856g.js → project-yrg3m3zd.js} +5 -5
  273. package/dist/chunks/{command-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{command-1q3t7fvn.js → project-ywt3ymsf.js} +41 -41
  275. package/dist/chunks/{command-rvn3tqg0.js → project-yxngt0st.js} +25 -25
  276. package/dist/chunks/{command-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{command-t1ams5g6.js → project-z388e07e.js} +19 -19
  278. package/dist/chunks/{command-s4jagjf8.js → project-z4ztj7g0.js} +9 -9
  279. package/dist/chunks/{command-mxmsd58h.js → project-za0j1469.js} +21 -21
  280. package/dist/chunks/{command-3cve9wcq.js → project-zk972ecj.js} +16 -16
  281. package/dist/chunks/{command-t1s0jw3q.js → project-zmd4wk0k.js} +28 -28
  282. package/dist/chunks/{command-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{command-f3k65vz0.js → project-zr74y7vp.js} +24 -24
  284. package/dist/chunks/{command-8sqk77t7.js → project-zwvra7ys.js} +11 -11
  285. package/dist/chunks/{command-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +11 -11
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +119 -119
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +85 -85
  320. package/dist/database/database.js +72 -72
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +218 -218
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +101 -101
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +99 -99
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +5 -5
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +132 -132
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +99 -99
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +117 -117
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +104 -104
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +113 -113
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +93 -93
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +134 -134
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +222 -222
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +101 -101
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +95 -95
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +89 -89
  562. package/dist/repository-cache.js +79 -79
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +95 -95
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +3 -3
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +135 -135
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +215 -215
  577. package/dist/session/execution.js +127 -127
  578. package/dist/session/generate.js +152 -152
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +88 -88
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +93 -93
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +120 -120
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +1 -1
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +222 -222
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +2 -2
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +164 -164
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +105 -105
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +87 -87
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +201 -201
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +212 -212
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +132 -132
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +110 -110
  626. package/dist/snapshot.js +91 -91
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +124 -124
  634. package/dist/tool/plugin/grep.js +124 -124
  635. package/dist/tool/plugin/mcp-resource.js +115 -115
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +122 -122
  638. package/dist/tool/plugin/question.js +105 -105
  639. package/dist/tool/plugin/read.js +125 -125
  640. package/dist/tool/plugin/shell.js +202 -202
  641. package/dist/tool/plugin/skill.js +111 -111
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +110 -110
  644. package/dist/tool/plugin/websearch.js +112 -112
  645. package/dist/tool/plugin/write.js +116 -116
  646. package/dist/tool/read-filesystem.js +96 -96
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +7 -7
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +82 -82
  672. package/dist/wellknown/plugin.js +76 -76
  673. package/dist/wellknown.js +81 -81
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +76 -76
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +89 -89
  681. package/dist/worktree.js +96 -96
  682. package/package.json +8 -8
  683. package/dist/chunks/command-1v328y5z.js +0 -507
  684. package/dist/chunks/command-by5v678g.js +0 -18
  685. package/dist/chunks/command-epwxyjh7.js +0 -253
  686. package/dist/chunks/command-kgw2tax4.js +0 -26
  687. /package/dist/chunks/{command-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{command-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{command-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{command-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{command-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{command-24dcb14g.js → project-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{command-2710q6r3.js → project-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{command-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{command-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{command-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  697. /package/dist/chunks/{command-359p4xyc.js → project-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{command-3asan66x.js → project-3asan66x.js} +0 -0
  699. /package/dist/chunks/{command-3t0ybcrp.js → project-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{command-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{command-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{command-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{command-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{command-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{command-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{command-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{command-53557ph1.js → project-53557ph1.js} +0 -0
  708. /package/dist/chunks/{command-550bvhaj.js → project-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{command-6prwharc.js → project-6prwharc.js} +0 -0
  710. /package/dist/chunks/{command-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{command-7m9af43g.js → project-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{command-822emrt2.js → project-822emrt2.js} +0 -0
  713. /package/dist/chunks/{command-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{command-8n3pysct.js → project-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{command-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{command-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{command-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{command-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{command-af5trqkr.js → project-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{command-afrmfg78.js → project-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{command-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{command-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{command-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{command-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{command-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{command-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{command-d9fn303g.js → project-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{command-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{command-dajrwvna.js → project-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{command-dap0rakb.js → project-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{command-df08tz66.js → project-df08tz66.js} +0 -0
  732. /package/dist/chunks/{command-dy18nga0.js → project-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{command-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{command-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{command-ec1grn59.js → project-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{command-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{command-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{command-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{command-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{command-faypxj3z.js → project-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{command-fd410y7t.js → project-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{command-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{command-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{command-g86h250q.js → project-g86h250q.js} +0 -0
  745. /package/dist/chunks/{command-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{command-gftt206x.js → project-gftt206x.js} +0 -0
  747. /package/dist/chunks/{command-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{command-hk9envan.js → project-hk9envan.js} +0 -0
  749. /package/dist/chunks/{command-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{command-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{command-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{command-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{command-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{command-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{command-mp448xyj.js → project-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{command-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{command-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{command-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{command-njntx4h6.js → project-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{command-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{command-q74kybfr.js → project-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{command-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{command-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{command-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{command-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{command-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{command-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{command-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{command-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{command-w803qqfp.js → project-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{command-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{command-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{command-wtztk69x.js → project-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{command-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{command-x61499pn.js → project-x61499pn.js} +0 -0
  776. /package/dist/chunks/{command-y44na4kk.js → project-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{command-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{command-y8f7s663.js → project-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{command-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{command-ym463w8f.js → project-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{command-z5v4ffb3.js → project-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{command-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID12,
2
+ ID8,
3
3
  Family2
4
- } from "./command-9aqw140n.js";
4
+ } from "./project-pd2rqkja.js";
5
5
  import {
6
- Service69
7
- } from "./command-p1et7349.js";
6
+ Service40
7
+ } from "./project-xa2z8zqt.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./command-1g7wkek7.js";
10
+ } from "./project-hvsabrxs.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
45
45
  });
46
46
  var discovery = new Map;
47
47
  var discoveryLock = Semaphore.makeUnsafe(1);
48
- function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
48
+ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
49
49
  return define({
50
50
  id: "opencode.provider.ollama",
51
51
  effect: Effect.fn(function* (ctx) {
52
52
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
53
- const config = yield* Service69;
53
+ const config = yield* Service40;
54
54
  const source = { current: configured(yield* config.entries(), origin) };
55
55
  const loaded = { models: [], hash: "[]" };
56
56
  yield* ctx.integration.transform((integrations) => {
@@ -77,7 +77,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  providers.models.update(providerID, item.model, (model) => {
80
- model.modelID = ID12.make(item.model);
80
+ model.modelID = ID8.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
151
151
  })
152
152
  });
153
153
  }
154
- var OllamaPlugin2 = make5();
154
+ var OllamaPlugin2 = make6();
155
155
  function configured(entries, origin) {
156
156
  const settings = foldSettings2(entries, providerID, undefined);
157
157
  const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
@@ -170,4 +170,4 @@ function configured(entries, origin) {
170
170
  return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
171
171
  }
172
172
 
173
- export { make5, OllamaPlugin2 };
173
+ export { make6, OllamaPlugin2 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./command-z5v4ffb3.js";
3
+ } from "./project-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service69
7
- } from "./command-p1et7349.js";
6
+ Service40
7
+ } from "./project-xa2z8zqt.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./command-2a5m3afh.js";
10
+ } from "./project-2a5m3afh.js";
11
11
  import {
12
- Service62
13
- } from "./command-0jf2y13k.js";
12
+ Service53
13
+ } from "./project-95fkqa3s.js";
14
14
  import {
15
- Service45
16
- } from "./command-0djpsv8h.js";
15
+ Service62
16
+ } from "./project-v6h0f511.js";
17
17
  import {
18
- Service52
19
- } from "./command-r9ggpxfb.js";
18
+ Service72
19
+ } from "./project-4vx6mmp0.js";
20
20
  import {
21
- Service18,
21
+ Service49,
22
22
  resolvePath2
23
- } from "./command-y5hk5168.js";
23
+ } from "./project-kcrq884e.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./command-vzs5sf6e.js";
29
+ } from "./project-vzs5sf6e.js";
30
30
  import {
31
- Service60,
31
+ Service82,
32
32
  name15
33
- } from "./command-rpms11rw.js";
33
+ } from "./project-0vr031ak.js";
34
34
  import {
35
- NotFoundError5,
36
- Service38
37
- } from "./command-kgffmydg.js";
35
+ NotFoundError4,
36
+ Service37
37
+ } from "./project-0jpxnbhq.js";
38
38
  import {
39
- Service25
40
- } from "./command-61d0nta3.js";
39
+ Service17
40
+ } from "./project-jpdz6tyk.js";
41
41
  import {
42
42
  scan2
43
- } from "./command-g9v33ymf.js";
43
+ } from "./project-ecwgt7wy.js";
44
44
  import {
45
45
  __export
46
- } from "./command-9rqn6x4v.js";
46
+ } from "./project-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
@@ -119,16 +119,16 @@ Output is streaming to: ${file}`,
119
119
  var Plugin39 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service25;
123
- const jobs = yield* Service45;
122
+ const sessions = yield* Service17;
123
+ const jobs = yield* Service62;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service62;
126
- const access = yield* Service18;
127
- const shell = yield* Service38;
128
- const shellSelect = yield* Service60;
125
+ const environment = yield* Service53;
126
+ const access = yield* Service49;
127
+ const shell = yield* Service37;
128
+ const shellSelect = yield* Service82;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service52;
131
- const config = yield* Service69;
130
+ const permission = yield* Service72;
131
+ const config = yield* Service40;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -210,7 +210,7 @@ var Plugin39 = {
210
210
  const run = Effect.gen(function* () {
211
211
  const result = yield* shell.result(info);
212
212
  if (!result.capture)
213
- return yield* new NotFoundError5({ id: info.id });
213
+ return yield* new NotFoundError4({ id: info.id });
214
214
  const output = output2(result);
215
215
  return {
216
216
  ...output,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./command-dywq9pkt.js";
4
+ } from "./project-4rthrakj.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
- node87
4
- } from "./command-z7s65jz9.js";
5
- import {
6
- Event21,
7
- Service82,
8
3
  node86
9
- } from "./command-8wwws4s2.js";
4
+ } from "./project-4hd8g1tz.js";
5
+ import {
6
+ Event16,
7
+ Service68,
8
+ node71
9
+ } from "./project-xj6mph50.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./command-c55dey07.js";
11
+ Service41,
12
+ node44
13
+ } from "./project-cxnb4521.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./command-z5v4ffb3.js";
16
+ } from "./project-z5v4ffb3.js";
17
17
  import {
18
- Service75,
19
- node79
20
- } from "./command-213p2swk.js";
18
+ Service77,
19
+ node80
20
+ } from "./project-estj264d.js";
21
21
  import {
22
22
  substitute2
23
- } from "./command-2ccvkpx1.js";
23
+ } from "./project-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./command-2pxx49tn.js";
26
+ } from "./project-e6yhd6h5.js";
27
27
  import {
28
- names4,
28
+ names3,
29
29
  discover3
30
- } from "./command-5n7vjdk6.js";
30
+ } from "./project-nepkptgr.js";
31
31
  import {
32
32
  plan2
33
- } from "./command-j56e64zr.js";
33
+ } from "./project-j56e64zr.js";
34
34
  import {
35
- Service78,
36
- Event18,
37
- node82
38
- } from "./command-kdtk6ytk.js";
35
+ Service42,
36
+ Event9,
37
+ node45
38
+ } from "./project-7e51ymmz.js";
39
39
  import {
40
40
  __export
41
- } from "./command-9rqn6x4v.js";
41
+ } from "./project-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options8,
48
- Service: () => Service69,
47
+ Options: () => Options5,
48
+ Service: () => Service40,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured5,
51
51
  latest: () => latest2,
52
- layer: () => layer22,
53
- node: () => node73,
52
+ layer: () => layer16,
53
+ node: () => node43,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options8 = Schema.Struct({
67
+ var Options5 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service69 extends Context.Service()("@opencode/Config") {
74
+ class Service40 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service69, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service40, service), Context.add(Test2, service));
93
93
  }));
94
- var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
94
+ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service75;
97
- const watcher = yield* Service70;
96
+ const location = yield* Service77;
97
+ const watcher = yield* Service41;
98
98
  const bus = yield* Service83;
99
- const credentials = yield* Service82;
99
+ const credentials = yield* Service68;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service78;
101
+ const wellknown = yield* Service42;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -167,7 +167,7 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
167
167
  });
168
168
  const loadDirectory = Effect.fnUntraced(function* (directory) {
169
169
  return [
170
- ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
170
+ ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
171
  new Directory({ type: "directory", path: directory })
172
172
  ];
173
173
  });
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -235,7 +235,7 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
235
235
  yield* reloadLock.withPermit(reconcile(initial));
236
236
  const update = Effect.fn("Config.update")(function* (patch) {
237
237
  const directory = initial.global ?? AbsolutePath2.make(globalService.config);
238
- const candidates = names4.map((name) => path.join(directory, name));
238
+ const candidates = names3.map((name) => path.join(directory, name));
239
239
  const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
240
240
  const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
241
241
  `;
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service69.of({
253
+ return Service40.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service69, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured10(options) {
265
+ function configured5(options) {
266
266
  return makeLocationNode({
267
- service: Service69,
268
- layer: layer22(options),
269
- deps: [node74, node87, FSUtil.node, Global.node, node79, node86, node82]
267
+ service: Service40,
268
+ layer: layer16(options),
269
+ deps: [node44, node86, FSUtil.node, Global.node, node80, node71, node45]
270
270
  });
271
271
  }
272
- var node73 = configured10();
272
+ var node43 = configured5();
273
273
 
274
- export { latest2, Options8, Service69, Test2, testLayer2, layer22, configured10, node73, exports_config };
274
+ export { latest2, Options5, Service40, Test2, testLayer2, layer16, configured5, node43, exports_config };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./command-9t7a50xb.js";
8
+ } from "./project-eaj1djv9.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./command-ec1grn59.js";
11
+ } from "./project-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./command-9e5bzkjp.js";
15
+ } from "./project-kb9j3d72.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./project-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
- node88
4
- } from "./command-8sqk77t7.js";
3
+ node87
4
+ } from "./project-zwvra7ys.js";
5
5
  import {
6
6
  Service83,
7
- node87
8
- } from "./command-z7s65jz9.js";
7
+ node86
8
+ } from "./project-4hd8g1tz.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./command-pknna89w.js";
11
+ } from "./project-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./command-3zsf4n22.js";
14
+ } from "./project-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./command-9rqn6x4v.js";
17
+ } from "./project-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event21,
24
- ID: () => ID18,
25
- Info: () => Info29,
26
- Key: () => Key4,
23
+ Event: () => Event16,
24
+ ID: () => ID11,
25
+ Info: () => Info20,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service82,
28
+ Service: () => Service68,
29
29
  Value: () => Value2,
30
- node: () => node86
30
+ node: () => node71
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID18 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event21 = Credential.Event;
41
+ var Event16 = Credential.Event;
42
42
 
43
- class Info29 extends Schema.Class("Credential.Info")({
44
- id: ID18,
43
+ class Info20 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service82 extends Context.Service()("@opencode/Credential") {
51
+ class Service68 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service82, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info29({
60
+ return new Info20({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service82.of({
71
+ return Service68.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info29({
80
- id: input.id ?? ID18.create(),
79
+ const credential = new Info20({
80
+ id: input.id ?? ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event21.Updated, {}, { global: true });
111
+ yield* bus.publish(Event16.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event21.Updated, {}, { global: true });
165
+ yield* bus.publish(Event16.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event21.Updated, {}, { global: true });
198
+ yield* bus.publish(Event16.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88, node87] });
204
+ var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87, node86] });
205
205
 
206
- export { ID18, OAuth3, Key4, Value2, Event21, Info29, Service82, node86, exports_credential };
206
+ export { ID11, OAuth3, Key3, Value2, Event16, Info20, Service68, node71, exports_credential };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./command-gftt206x.js";
3
+ } from "./project-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update3(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update3, exports_message_updater };
405
+ export { update2, exports_message_updater };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./command-gd4qta3r.js";
3
+ } from "./project-gd4qta3r.js";
4
4
  import {
5
5
  create3
6
- } from "./command-rdw6cm16.js";
6
+ } from "./project-rdw6cm16.js";
7
7
  import {
8
8
  __export
9
- } from "./command-9rqn6x4v.js";
9
+ } from "./project-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service56,
18
+ Service: () => Service39,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node58
21
+ node: () => node42
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service56 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service39 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service56, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service56.of({
119
+ return Service39.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node58 = makeLocationNode({
137
- service: Service56,
136
+ var node42 = makeLocationNode({
137
+ service: Service39,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service56, node58, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service39, node42, exports_tool_output2 };