@opencode/core 0.0.0-dev-21240 → 0.0.0-dev-21244

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 (792) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{location-ente2efs.js → formatter-0cbn14fb.js} +24 -24
  8. package/dist/chunks/{location-rhjbct0v.js → formatter-0gdmqesm.js} +4 -4
  9. package/dist/chunks/{location-4jbaex4p.js → formatter-0tcnq6v6.js} +11 -11
  10. package/dist/chunks/{location-jfn3ppc2.js → formatter-0v1kw2g7.js} +14 -14
  11. package/dist/chunks/{location-0emb60td.js → formatter-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{location-zm69bbn9.js → formatter-0w0hsyng.js} +2 -2
  13. package/dist/chunks/{location-m15ha2ry.js → formatter-0y9f2m8n.js} +6 -6
  14. package/dist/chunks/{location-trskfet7.js → formatter-0zcqa60s.js} +4 -4
  15. package/dist/chunks/{location-4cq1c4nh.js → formatter-147shrta.js} +1 -1
  16. package/dist/chunks/{location-gm5yckp5.js → formatter-14tvmdth.js} +7 -7
  17. package/dist/chunks/{location-sf7qeb8m.js → formatter-1b9h5v8t.js} +2 -2
  18. package/dist/chunks/{location-7cdnq8hx.js → formatter-1y9yjfpn.js} +13 -13
  19. package/dist/chunks/{location-h4e45ygc.js → formatter-1z0c123x.js} +28 -28
  20. package/dist/chunks/{location-9etjxb25.js → formatter-1z4aes97.js} +15 -15
  21. package/dist/chunks/{location-02kx3tbe.js → formatter-21cye1se.js} +18 -18
  22. package/dist/chunks/{location-3d48mnvn.js → formatter-2fb2gztx.js} +16 -16
  23. package/dist/chunks/{location-cq4af28t.js → formatter-2qgrx7zj.js} +15 -15
  24. package/dist/chunks/{location-8d765g8y.js → formatter-2thwhjsv.js} +10 -10
  25. package/dist/chunks/{location-38jcv3yh.js → formatter-2xr74ag8.js} +26 -26
  26. package/dist/chunks/{location-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
  27. package/dist/chunks/{location-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  28. package/dist/chunks/{location-3hwn7j4h.js → formatter-3hwn7j4h.js} +2 -2
  29. package/dist/chunks/{location-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
  30. package/dist/chunks/{location-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
  31. package/dist/chunks/{location-8p10m0h9.js → formatter-3vtk7r3y.js} +18 -18
  32. package/dist/chunks/{location-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
  33. package/dist/chunks/{location-36sqq72v.js → formatter-42rf9s8q.js} +19 -19
  34. package/dist/chunks/{location-zy43x3f1.js → formatter-44ak30pa.js} +4 -4
  35. package/dist/chunks/{location-nb9p6b26.js → formatter-4537tsak.js} +4 -4
  36. package/dist/chunks/{location-n4k7r7f4.js → formatter-4adehn3m.js} +3 -3
  37. package/dist/chunks/{location-2e91r8ns.js → formatter-4ty81hg4.js} +43 -43
  38. package/dist/chunks/{location-4z58m4b4.js → formatter-4z58m4b4.js} +1 -1
  39. package/dist/chunks/{location-54ma36ye.js → formatter-54ma36ye.js} +1 -1
  40. package/dist/chunks/{location-xfkkasph.js → formatter-57b9ws8p.js} +7 -7
  41. package/dist/chunks/{location-6yva2bse.js → formatter-5bkyxj6g.js} +77 -77
  42. package/dist/chunks/{location-ss358qx3.js → formatter-5epte933.js} +3 -3
  43. package/dist/chunks/{location-zjmprxn1.js → formatter-5gwznhg8.js} +21 -21
  44. package/dist/chunks/{location-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  45. package/dist/chunks/{location-jdg1karv.js → formatter-5mr4v717.js} +11 -11
  46. package/dist/chunks/{location-ekd657r5.js → formatter-5tx2tm3v.js} +20 -20
  47. package/dist/chunks/{location-t67svzf9.js → formatter-5xac84sq.js} +23 -23
  48. package/dist/chunks/{location-2ktf0ed2.js → formatter-5y480sgp.js} +8 -8
  49. package/dist/chunks/{location-e4pt97mw.js → formatter-5z12t68t.js} +13 -13
  50. package/dist/chunks/{location-e7qaqr7r.js → formatter-63qcved5.js} +45 -45
  51. package/dist/chunks/{location-0rm38x63.js → formatter-64ksbt32.js} +9 -9
  52. package/dist/chunks/{location-6827pfxn.js → formatter-6827pfxn.js} +1 -1
  53. package/dist/chunks/{location-z1j2pzfs.js → formatter-682gxy8b.js} +35 -35
  54. package/dist/chunks/{location-1wyc8y7g.js → formatter-6bfs7xd7.js} +21 -21
  55. package/dist/chunks/{location-bdb3egq1.js → formatter-6kt042be.js} +9 -9
  56. package/dist/chunks/{location-np3vtmgz.js → formatter-6ras8vtd.js} +18 -18
  57. package/dist/chunks/{location-6xb47vfp.js → formatter-6xb47vfp.js} +1 -1
  58. package/dist/chunks/{location-5twn198y.js → formatter-6yz0wx8n.js} +5 -5
  59. package/dist/chunks/{location-775gj3j1.js → formatter-775gj3j1.js} +2 -2
  60. package/dist/chunks/{location-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  61. package/dist/chunks/{location-1j6m29mr.js → formatter-7cx595n2.js} +4 -4
  62. package/dist/chunks/{location-7dqw4kz8.js → formatter-7dqw4kz8.js} +1 -1
  63. package/dist/chunks/{location-nq33nhzr.js → formatter-7jy01c2j.js} +4 -4
  64. package/dist/chunks/{location-9tc0jcfa.js → formatter-7m4642cz.js} +9 -9
  65. package/dist/chunks/{location-wan1txhx.js → formatter-7mg7dxek.js} +17 -17
  66. package/dist/chunks/{location-p0swpct4.js → formatter-83wzpacr.js} +14 -14
  67. package/dist/chunks/{location-84txncab.js → formatter-84txncab.js} +1 -1
  68. package/dist/chunks/{location-tq44hnx5.js → formatter-86y4chpd.js} +13 -13
  69. package/dist/chunks/{location-tcezcvh9.js → formatter-89znhe33.js} +4 -4
  70. package/dist/chunks/{location-7erj7fjt.js → formatter-8cr7kka4.js} +25 -25
  71. package/dist/chunks/{location-h8ngs2s3.js → formatter-8ddypp76.js} +9 -9
  72. package/dist/chunks/{location-kymtw6sz.js → formatter-8f9p3crs.js} +20 -20
  73. package/dist/chunks/{location-8m6m0r52.js → formatter-8m6m0r52.js} +1 -1
  74. package/dist/chunks/{location-nmcmr329.js → formatter-8n5tnz3w.js} +316 -316
  75. package/dist/chunks/{location-j1j4kkfc.js → formatter-8p41qfym.js} +14 -14
  76. package/dist/chunks/{location-0cbjkd5m.js → formatter-93cy2f7w.js} +35 -27
  77. package/dist/chunks/{location-qgrkf2kv.js → formatter-95c9qt52.js} +11 -11
  78. package/dist/chunks/{location-4nk0sezm.js → formatter-98gbvst6.js} +3 -3
  79. package/dist/chunks/{location-q1w4ag7r.js → formatter-9b22j2js.js} +11 -11
  80. package/dist/chunks/{location-1be3me4v.js → formatter-9k0q07qp.js} +24 -24
  81. package/dist/chunks/{location-16qr8wfy.js → formatter-9pvd7fay.js} +26 -26
  82. package/dist/chunks/{location-a2ew8a62.js → formatter-a2ew8a62.js} +1 -1
  83. package/dist/chunks/{location-91erwma2.js → formatter-a5399v6v.js} +13 -13
  84. package/dist/chunks/{location-emfv9g84.js → formatter-a7mmyf9t.js} +7 -7
  85. package/dist/chunks/{location-ewmg55kq.js → formatter-a8k9xfsm.js} +25 -25
  86. package/dist/chunks/{location-z5vjvv3z.js → formatter-ahej7gkg.js} +22 -22
  87. package/dist/chunks/{location-hyem0413.js → formatter-aky1dekn.js} +11 -11
  88. package/dist/chunks/{location-7pp8v8cz.js → formatter-ans500eg.js} +4 -4
  89. package/dist/chunks/{location-zfhna5dg.js → formatter-appvh9ax.js} +9 -9
  90. package/dist/chunks/{location-3a0fe738.js → formatter-b30s6mje.js} +7 -7
  91. package/dist/chunks/{location-2vs2nh1n.js → formatter-baaqp4zd.js} +4 -4
  92. package/dist/chunks/{location-1xcwytz6.js → formatter-bbkhz5x0.js} +8 -8
  93. package/dist/chunks/{location-p3dsvwjj.js → formatter-be0x380s.js} +33 -33
  94. package/dist/chunks/{location-1ffvrpkg.js → formatter-bjx1sjef.js} +6 -6
  95. package/dist/chunks/{location-cqv5jj6t.js → formatter-bry1x5ad.js} +15 -15
  96. package/dist/chunks/{location-1ep4rre3.js → formatter-bzeyqsqd.js} +4 -4
  97. package/dist/chunks/{location-es1vcfrp.js → formatter-c1fqxshp.js} +3 -3
  98. package/dist/chunks/{location-vw4xzb9e.js → formatter-c2jwe8x1.js} +21 -21
  99. package/dist/chunks/{location-4hvcvget.js → formatter-c5ggqzvz.js} +5 -5
  100. package/dist/chunks/{location-xhg7ze7g.js → formatter-c907h1r8.js} +20 -20
  101. package/dist/chunks/{location-65fdem8g.js → formatter-c916s19f.js} +83 -83
  102. package/dist/chunks/{location-ehkp9wrv.js → formatter-cdnjftw5.js} +5 -5
  103. package/dist/chunks/{location-p4gjeqhz.js → formatter-cebn8wab.js} +5 -5
  104. package/dist/chunks/{location-eq88vr3p.js → formatter-cpgtpatm.js} +11 -11
  105. package/dist/chunks/{location-d1a28jh7.js → formatter-d1a28jh7.js} +2 -2
  106. package/dist/chunks/{location-ffgh9twm.js → formatter-d20vf659.js} +13 -13
  107. package/dist/chunks/{location-7wg9zefd.js → formatter-d3xt2zh4.js} +5 -5
  108. package/dist/chunks/{location-2cg16nxe.js → formatter-d4vyzb3t.js} +29 -29
  109. package/dist/chunks/{location-j5qwz8we.js → formatter-d66rdyfa.js} +40 -40
  110. package/dist/chunks/{location-hn53eq1n.js → formatter-d8c6spkq.js} +42 -42
  111. package/dist/chunks/{location-ykd62qee.js → formatter-d9yrqh4n.js} +33 -33
  112. package/dist/chunks/{location-w2pw2zr6.js → formatter-dqkkx36v.js} +4 -4
  113. package/dist/chunks/{location-e80seqcp.js → formatter-e80seqcp.js} +1 -1
  114. package/dist/chunks/{location-hadrdvqz.js → formatter-ea05sntr.js} +10 -10
  115. package/dist/chunks/{location-fz5mkw7q.js → formatter-eakdd8w5.js} +43 -43
  116. package/dist/chunks/{location-eej6y6fw.js → formatter-eej6y6fw.js} +2 -2
  117. package/dist/chunks/{location-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
  118. package/dist/chunks/{location-wb1vxtey.js → formatter-ejgr9gnj.js} +15 -15
  119. package/dist/chunks/{location-3qrn957t.js → formatter-ex98dt4j.js} +20 -20
  120. package/dist/chunks/{location-3zcnh6p5.js → formatter-f3wsxmbf.js} +14 -14
  121. package/dist/chunks/{location-t2zy804g.js → formatter-f534ymt6.js} +11 -11
  122. package/dist/chunks/{location-06pf4dgp.js → formatter-f60jq6s2.js} +16 -16
  123. package/dist/chunks/{location-b0tpm66f.js → formatter-f63t7jgq.js} +30 -30
  124. package/dist/chunks/{location-2g814kqn.js → formatter-fc29xzdc.js} +46 -46
  125. package/dist/chunks/{location-fcy631f0.js → formatter-fcy631f0.js} +1 -1
  126. package/dist/chunks/{location-6fatt4mk.js → formatter-fdms3n6w.js} +9 -9
  127. package/dist/chunks/{location-1ddym2mh.js → formatter-fgy909bt.js} +5 -5
  128. package/dist/chunks/{location-ft3hqk2c.js → formatter-ft3hqk2c.js} +2 -2
  129. package/dist/chunks/{location-pkr96zq9.js → formatter-ftwm2p4f.js} +50 -50
  130. package/dist/chunks/{location-dwvsy3nv.js → formatter-g8nc3xyp.js} +5 -5
  131. package/dist/chunks/{location-gd0tnyjc.js → formatter-gd0tnyjc.js} +1 -1
  132. package/dist/chunks/{location-646b8sf1.js → formatter-gd1hgps2.js} +4 -4
  133. package/dist/chunks/{location-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
  134. package/dist/chunks/{location-paby7f9d.js → formatter-gex9dnn3.js} +17 -17
  135. package/dist/chunks/{location-531wkgpw.js → formatter-gr37njw6.js} +8 -8
  136. package/dist/chunks/formatter-gt2yvw7a.js +26 -0
  137. package/dist/chunks/{location-n477w9kb.js → formatter-gyrxp0ts.js} +41 -41
  138. package/dist/chunks/{location-czamcpfm.js → formatter-h289jyzk.js} +9 -9
  139. package/dist/chunks/{location-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
  140. package/dist/chunks/{location-p9d54bvt.js → formatter-h83rqqxa.js} +11 -11
  141. package/dist/chunks/{location-fn9t717r.js → formatter-hbb7npd7.js} +3 -3
  142. package/dist/chunks/{location-ky3cgvwd.js → formatter-hbv5rvvj.js} +8 -8
  143. package/dist/chunks/{location-nwz3xn1w.js → formatter-heqwx97d.js} +7 -7
  144. package/dist/chunks/{location-4r5v39fv.js → formatter-hfbyhya8.js} +10 -10
  145. package/dist/chunks/{location-hgz4x7wa.js → formatter-hgz4x7wa.js} +1 -1
  146. package/dist/chunks/{location-q8va88r3.js → formatter-hmzjb8dj.js} +14 -14
  147. package/dist/chunks/{location-khmqacep.js → formatter-hq3c8me3.js} +4 -4
  148. package/dist/chunks/{location-ht5y0zrb.js → formatter-ht5y0zrb.js} +1 -1
  149. package/dist/chunks/{location-91qna3x0.js → formatter-j09zfasm.js} +3 -3
  150. package/dist/chunks/{location-fegk541e.js → formatter-j34dxvpb.js} +5 -5
  151. package/dist/chunks/{location-b7j1nepq.js → formatter-jav1j83y.js} +9 -9
  152. package/dist/chunks/{location-9qee0jk3.js → formatter-jekssrtq.js} +5 -5
  153. package/dist/chunks/{location-e06rrywx.js → formatter-jg6jwpe0.js} +4 -4
  154. package/dist/chunks/{location-xckvy3p8.js → formatter-jm77avtd.js} +3 -3
  155. package/dist/chunks/{location-82bv0hx8.js → formatter-jxqhfc7z.js} +10 -10
  156. package/dist/chunks/{location-5mh53trv.js → formatter-k1b4tbj2.js} +20 -20
  157. package/dist/chunks/{location-rwpyag6c.js → formatter-k6eyzvgr.js} +11 -11
  158. package/dist/chunks/{location-xx71wknj.js → formatter-kcdx8ksy.js} +32 -32
  159. package/dist/chunks/{location-2766hrpb.js → formatter-kk4m4jz5.js} +6 -6
  160. package/dist/chunks/{location-mmve37cn.js → formatter-kmn2wpkp.js} +10 -10
  161. package/dist/chunks/{location-qdxpp4ce.js → formatter-kp329rnm.js} +4 -4
  162. package/dist/chunks/{location-hz955cxv.js → formatter-kqezzyfk.js} +20 -20
  163. package/dist/chunks/{location-kwb1v3vj.js → formatter-kwb1v3vj.js} +1 -1
  164. package/dist/chunks/{location-aygc7d7x.js → formatter-kxk813jh.js} +11 -11
  165. package/dist/chunks/{location-dwa92pvc.js → formatter-m3w3e65b.js} +4 -4
  166. package/dist/chunks/{location-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  167. package/dist/chunks/{location-maspj1v3.js → formatter-maspj1v3.js} +1 -1
  168. package/dist/chunks/{location-wxgp157e.js → formatter-me3jp302.js} +12 -12
  169. package/dist/chunks/{location-5qvfym9p.js → formatter-mmfyj663.js} +3 -3
  170. package/dist/chunks/{location-pnkbpv6t.js → formatter-mphgtbj1.js} +9 -9
  171. package/dist/chunks/{location-2fz504me.js → formatter-my89cahe.js} +18 -18
  172. package/dist/chunks/{location-8x62mzeg.js → formatter-mzfw0pb0.js} +31 -31
  173. package/dist/chunks/{location-xw16hbb2.js → formatter-n6j8zy7f.js} +25 -25
  174. package/dist/chunks/{location-5s5bfnr6.js → formatter-ndc46fve.js} +22 -22
  175. package/dist/chunks/{location-xwjdvtn9.js → formatter-nev18w5c.js} +5 -5
  176. package/dist/chunks/{location-bqwheb6v.js → formatter-nvcb2me1.js} +11 -11
  177. package/dist/chunks/{location-0v7eyxsd.js → formatter-nxwm516h.js} +11 -11
  178. package/dist/chunks/{location-t3w66r2s.js → formatter-p07cp82q.js} +15 -15
  179. package/dist/chunks/{location-ztp3s23f.js → formatter-p18ep857.js} +22 -22
  180. package/dist/chunks/{location-bggc72t2.js → formatter-p30hmy3j.js} +21 -21
  181. package/dist/chunks/{location-pa8pe2x7.js → formatter-p37cw4rj.js} +8 -8
  182. package/dist/chunks/{location-pvd1kp2q.js → formatter-p3z1s7cv.js} +18 -18
  183. package/dist/chunks/{location-g3jf8veg.js → formatter-pg2r46xe.js} +24 -24
  184. package/dist/chunks/{location-gaa92h44.js → formatter-phz50fbd.js} +9 -9
  185. package/dist/chunks/{location-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
  186. package/dist/chunks/{location-pknna89w.js → formatter-pknna89w.js} +1 -1
  187. package/dist/chunks/{location-s8k2chda.js → formatter-pt0v59x6.js} +9 -9
  188. package/dist/chunks/{location-hx734pww.js → formatter-pxtr2dvv.js} +3 -3
  189. package/dist/chunks/{location-m8p5ty25.js → formatter-py38g5de.js} +8 -8
  190. package/dist/chunks/{location-n9mzspqs.js → formatter-pzjmh3bc.js} +13 -13
  191. package/dist/chunks/{location-cfd40scj.js → formatter-q1xe5xm5.js} +8 -8
  192. package/dist/chunks/{location-3ts4rwt9.js → formatter-q1yb1hsa.js} +18 -18
  193. package/dist/chunks/{location-ecvncs9t.js → formatter-q34x7v2p.js} +23 -23
  194. package/dist/chunks/{location-xk8qaj8b.js → formatter-q8ksm80s.js} +36 -36
  195. package/dist/chunks/{location-xxqqcrba.js → formatter-q9s9zqn4.js} +10 -10
  196. package/dist/chunks/{location-1n4r682m.js → formatter-qacrhxhp.js} +3 -3
  197. package/dist/chunks/{location-s8eppwwz.js → formatter-qapzhrk9.js} +8 -8
  198. package/dist/chunks/{location-y645j4dr.js → formatter-qdrw3gfp.js} +7 -7
  199. package/dist/chunks/{location-j143ef64.js → formatter-qgc12pw2.js} +43 -43
  200. package/dist/chunks/{location-qnc92qwc.js → formatter-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{location-fgx42ntb.js → formatter-qne3fa44.js} +5 -5
  202. package/dist/chunks/{location-qsdy395h.js → formatter-qsdy395h.js} +1 -1
  203. package/dist/chunks/{location-fg19zjyy.js → formatter-qtjmeqcc.js} +7 -7
  204. package/dist/chunks/{location-qjxgyyqm.js → formatter-qv499rce.js} +12 -12
  205. package/dist/chunks/{location-j1nd8abd.js → formatter-r0yrvwzz.js} +15 -15
  206. package/dist/chunks/{location-26fskhr4.js → formatter-r4ekbdnr.js} +28 -28
  207. package/dist/chunks/{location-z3507kbh.js → formatter-r9y2scxt.js} +11 -11
  208. package/dist/chunks/{location-7y4n3x9r.js → formatter-rbqdpnz1.js} +5 -5
  209. package/dist/chunks/{location-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{location-tkb22qbm.js → formatter-rert0e01.js} +2 -2
  211. package/dist/chunks/{location-c41wscbt.js → formatter-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{location-r64n44sy.js → formatter-rk974gg7.js} +21 -21
  213. package/dist/chunks/{location-34zpk2m0.js → formatter-rs9wx55j.js} +21 -21
  214. package/dist/chunks/{location-dn7gk5nr.js → formatter-rzkcke2z.js} +34 -34
  215. package/dist/chunks/{location-swsbk68p.js → formatter-s91efq40.js} +27 -27
  216. package/dist/chunks/{location-c8ax2afj.js → formatter-sa8ekw3f.js} +2 -2
  217. package/dist/chunks/{location-2ewxebqs.js → formatter-sb8qnayt.js} +14 -14
  218. package/dist/chunks/{location-839dsb85.js → formatter-sdjxx6pg.js} +31 -31
  219. package/dist/chunks/{location-z4005aq0.js → formatter-sg02e71r.js} +16 -16
  220. package/dist/chunks/{location-w382j1sg.js → formatter-sh5y8zvm.js} +1 -1
  221. package/dist/chunks/{location-yk2qpeaw.js → formatter-ssx21478.js} +25 -25
  222. package/dist/chunks/{location-0kh9z3js.js → formatter-svxhdcjy.js} +14 -14
  223. package/dist/chunks/{location-jrnq1yzd.js → formatter-swf92kzb.js} +20 -20
  224. package/dist/chunks/{location-syv4x271.js → formatter-syv4x271.js} +1 -1
  225. package/dist/chunks/{location-qny204zj.js → formatter-szd00bka.js} +1 -1
  226. package/dist/chunks/{location-vxcce85q.js → formatter-t4x3hxzy.js} +19 -19
  227. package/dist/chunks/{location-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{location-tdstcens.js → formatter-tdstcens.js} +1 -1
  229. package/dist/chunks/{location-tm0kqsz3.js → formatter-tm0kqsz3.js} +1 -1
  230. package/dist/chunks/{location-ekmn27dt.js → formatter-ttfzm2et.js} +27 -27
  231. package/dist/chunks/{location-dj69npnr.js → formatter-tw9chead.js} +15 -15
  232. package/dist/chunks/{location-tyytaxap.js → formatter-tyytaxap.js} +1 -1
  233. package/dist/chunks/{location-rsvjy1hm.js → formatter-v0b295w1.js} +16 -16
  234. package/dist/chunks/{location-rm4mkcw0.js → formatter-v210v162.js} +2 -2
  235. package/dist/chunks/{location-v7p4zvkq.js → formatter-v7p4zvkq.js} +2 -2
  236. package/dist/chunks/{location-veqvce7d.js → formatter-veqvce7d.js} +1 -1
  237. package/dist/chunks/{location-pwx39njg.js → formatter-vj5p38yv.js} +16 -16
  238. package/dist/chunks/{location-yhszmqfx.js → formatter-vp00rtyr.js} +12 -12
  239. package/dist/chunks/{location-nz5xz1n7.js → formatter-vyf7jw62.js} +6 -6
  240. package/dist/chunks/{location-qkkeybah.js → formatter-vywgh4c6.js} +32 -32
  241. package/dist/chunks/{location-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{location-4ekscj25.js → formatter-w1ba7bfx.js} +5 -5
  243. package/dist/chunks/{location-efattxwn.js → formatter-w3wbfgm7.js} +23 -23
  244. package/dist/chunks/{location-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{location-py3kkmfq.js → formatter-w92k2e0p.js} +8 -8
  246. package/dist/chunks/{location-vtt0yr3x.js → formatter-wcpje083.js} +15 -15
  247. package/dist/chunks/{location-wd87259q.js → formatter-wd87259q.js} +1 -1
  248. package/dist/chunks/{location-630y3v0d.js → formatter-whwq5x3g.js} +165 -165
  249. package/dist/chunks/{location-ggpkv6dp.js → formatter-wjcqngme.js} +15 -15
  250. package/dist/chunks/{location-m7mg6z5e.js → formatter-wp4vtpe6.js} +23 -23
  251. package/dist/chunks/{location-x8nz1cbt.js → formatter-wpqhxtcy.js} +3 -3
  252. package/dist/chunks/{location-032jfrr5.js → formatter-wqvrfkn5.js} +8 -8
  253. package/dist/chunks/{location-p7d55m61.js → formatter-wyvwawjm.js} +40 -40
  254. package/dist/chunks/{location-mxvxcxwy.js → formatter-x661k3y3.js} +4 -4
  255. package/dist/chunks/{location-e2jk5y12.js → formatter-x7bd6s3f.js} +24 -24
  256. package/dist/chunks/{location-wzfw0r1q.js → formatter-x835q0ad.js} +11 -11
  257. package/dist/chunks/{location-ktyahk7g.js → formatter-xc2rqamm.js} +26 -26
  258. package/dist/chunks/{location-sxzvkvgj.js → formatter-xcd0eash.js} +6 -6
  259. package/dist/chunks/{location-c9pafwgt.js → formatter-xcexsawf.js} +28 -28
  260. package/dist/chunks/{location-w9vjgmgf.js → formatter-xgsj2745.js} +5 -5
  261. package/dist/chunks/{location-7zst7kbs.js → formatter-xj0ka1v1.js} +11 -11
  262. package/dist/chunks/{location-1m9tv0k3.js → formatter-xmrxjf82.js} +27 -27
  263. package/dist/chunks/{location-5g0zwpkx.js → formatter-xxqjg4x2.js} +67 -67
  264. package/dist/chunks/{location-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{location-bkbywy3k.js → formatter-y1m8s9mq.js} +24 -24
  266. package/dist/chunks/{location-ecntzyvb.js → formatter-y4t3c8zk.js} +13 -13
  267. package/dist/chunks/{location-y71avatq.js → formatter-y71avatq.js} +1 -1
  268. package/dist/chunks/{location-wk0bzpnn.js → formatter-yn9r1x73.js} +21 -21
  269. package/dist/chunks/{location-1acjjqhc.js → formatter-yp2x3t23.js} +4 -4
  270. package/dist/chunks/{location-r61qxybf.js → formatter-yvvvp4gn.js} +8 -8
  271. package/dist/chunks/{location-ydgy0jv4.js → formatter-yx0rmv9r.js} +4 -4
  272. package/dist/chunks/{location-b59088ky.js → formatter-yyht7rfr.js} +3 -3
  273. package/dist/chunks/{location-npyv4msc.js → formatter-yyjkxqgj.js} +4 -4
  274. package/dist/chunks/{location-2s32b1pm.js → formatter-yz37vbp4.js} +2 -2
  275. package/dist/chunks/{location-gbeakqqf.js → formatter-yz8mk3e2.js} +45 -45
  276. package/dist/chunks/{location-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/formatter-z5mqx5tk.js +257 -0
  278. package/dist/chunks/{location-v5vvs3bk.js → formatter-za681khs.js} +11 -11
  279. package/dist/chunks/{location-27mmh661.js → formatter-zct15kyb.js} +8 -8
  280. package/dist/chunks/{location-m49t52b5.js → formatter-zjww4jny.js} +20 -20
  281. package/dist/chunks/{location-s2e8778m.js → formatter-znhp5m3s.js} +28 -28
  282. package/dist/chunks/{location-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{location-09zy2qv2.js → formatter-zrq3bjv4.js} +5 -5
  284. package/dist/chunks/{location-zct001gj.js → formatter-zxczbdfd.js} +5 -5
  285. package/dist/chunks/{location-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  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 +86 -86
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +206 -206
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/compatibility.js +135 -135
  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 +116 -116
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +123 -123
  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 +104 -104
  309. package/dist/config/plugin/skill-scan.js +3 -3
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +116 -116
  312. package/dist/config/plugin/source.js +119 -119
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +1 -1
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +85 -85
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  385. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  386. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  387. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  388. package/dist/database/migration.gen.js +51 -51
  389. package/dist/database/migration.js +53 -53
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +367 -367
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +95 -95
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +95 -95
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +3 -3
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +72 -72
  413. package/dist/file-access.js +106 -106
  414. package/dist/file-mutation.js +96 -96
  415. package/dist/file-retention.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/location-watcher-policy.js +2 -2
  421. package/dist/filesystem/location-watcher.js +219 -219
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +105 -105
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +11 -11
  426. package/dist/filesystem.js +106 -106
  427. package/dist/form.js +82 -82
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +89 -89
  430. package/dist/generate.js +106 -106
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +93 -93
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +360 -360
  455. package/dist/instruction-discovery.js +86 -86
  456. package/dist/instructions/builtins.js +89 -89
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +3 -3
  459. package/dist/integration.js +89 -89
  460. package/dist/job.js +80 -80
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +75 -75
  463. package/dist/location-activity.js +131 -131
  464. package/dist/location-lifecycle.js +109 -109
  465. package/dist/location-service-map.js +86 -86
  466. package/dist/location-services.js +357 -357
  467. package/dist/location.js +83 -83
  468. package/dist/managed-policy.js +8 -8
  469. package/dist/mcp/client.js +93 -93
  470. package/dist/mcp/index.js +111 -111
  471. package/dist/mcp/instructions.js +131 -131
  472. package/dist/mcp/oauth.js +80 -80
  473. package/dist/mcp/stdio.js +92 -92
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +93 -93
  476. package/dist/model-resolver.js +100 -100
  477. package/dist/model-retry.js +1 -1
  478. package/dist/model.js +102 -102
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +84 -84
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +109 -109
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +90 -90
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +77 -77
  489. package/dist/plugin/agent.js +76 -76
  490. package/dist/plugin/command.js +102 -102
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +212 -212
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +331 -331
  496. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  497. package/dist/plugin/models-dev.js +98 -98
  498. package/dist/plugin/module.js +117 -117
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +104 -104
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  503. package/dist/plugin/provider/azure.js +116 -116
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/chatgpt.js +116 -116
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +112 -112
  510. package/dist/plugin/provider/databricks.js +1 -1
  511. package/dist/plugin/provider/digitalocean.js +95 -95
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/github-copilot.js +97 -97
  515. package/dist/plugin/provider/gitlab.js +95 -95
  516. package/dist/plugin/provider/google-vertex.js +113 -113
  517. package/dist/plugin/provider/kilo.js +1 -1
  518. package/dist/plugin/provider/llmgateway.js +80 -80
  519. package/dist/plugin/provider/lmstudio.js +125 -125
  520. package/dist/plugin/provider/local.js +122 -122
  521. package/dist/plugin/provider/modal.js +94 -94
  522. package/dist/plugin/provider/neon.js +1 -1
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +125 -125
  525. package/dist/plugin/provider/openai.js +118 -118
  526. package/dist/plugin/provider/opencode.js +100 -100
  527. package/dist/plugin/provider/openrouter.js +93 -93
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +81 -81
  530. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  531. package/dist/plugin/provider/sap-ai-core.js +93 -93
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  534. package/dist/plugin/provider/vercel.js +92 -92
  535. package/dist/plugin/provider/vllm.js +123 -123
  536. package/dist/plugin/provider/xai.js +93 -93
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +168 -168
  539. package/dist/plugin/sdk.js +78 -78
  540. package/dist/plugin/service.js +1 -1
  541. package/dist/plugin/skill.js +134 -134
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +350 -350
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +88 -88
  547. package/dist/plugin/vcs/hg.js +88 -88
  548. package/dist/plugin/verbosity.js +95 -95
  549. package/dist/plugin/warming.js +114 -114
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +4 -4
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +221 -221
  558. package/dist/project/schema.js +2 -2
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +82 -82
  561. package/dist/provider.js +97 -97
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +101 -101
  565. package/dist/reference/instructions.js +91 -91
  566. package/dist/reference.js +91 -91
  567. package/dist/repository-cache.js +83 -83
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +97 -97
  571. package/dist/rpc.js +88 -88
  572. package/dist/schema.js +1 -1
  573. package/dist/session/affinity.js +1 -1
  574. package/dist/session/command.js +76 -76
  575. package/dist/session/compaction.js +138 -138
  576. package/dist/session/context.js +155 -155
  577. package/dist/session/diff.js +90 -90
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +3 -3
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +215 -215
  582. package/dist/session/execution.js +127 -127
  583. package/dist/session/generate.js +155 -155
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +81 -81
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +99 -99
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +122 -122
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +131 -131
  595. package/dist/session/projector.js +88 -88
  596. package/dist/session/prompt.js +107 -107
  597. package/dist/session/provider-context.js +1 -1
  598. package/dist/session/revert.js +92 -92
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +225 -225
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +100 -100
  604. package/dist/session/runner/publish-llm-event.js +115 -115
  605. package/dist/session/runner/retry.js +3 -3
  606. package/dist/session/runner/step.js +128 -128
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +162 -162
  610. package/dist/session/shell.js +130 -130
  611. package/dist/session/skill.js +105 -105
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +75 -75
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +206 -206
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +159 -159
  619. package/dist/session/to-session-error.js +113 -113
  620. package/dist/session/transfer.js +208 -208
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +208 -208
  623. package/dist/shell/parse.js +8 -8
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +132 -132
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +109 -109
  630. package/dist/skill.js +112 -112
  631. package/dist/snapshot.js +93 -93
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +128 -128
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +120 -120
  640. package/dist/tool/plugin/mcp-resource.js +119 -119
  641. package/dist/tool/plugin/opencode.js +111 -111
  642. package/dist/tool/plugin/patch.js +122 -122
  643. package/dist/tool/plugin/question.js +105 -105
  644. package/dist/tool/plugin/read.js +127 -127
  645. package/dist/tool/plugin/shell.js +209 -209
  646. package/dist/tool/plugin/skill.js +115 -115
  647. package/dist/tool/plugin/subagent.js +211 -211
  648. package/dist/tool/plugin/webfetch.js +114 -114
  649. package/dist/tool/plugin/websearch.js +114 -114
  650. package/dist/tool/plugin/write.js +124 -124
  651. package/dist/tool/read-filesystem.js +102 -102
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +7 -7
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +95 -95
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +89 -89
  676. package/dist/voice.js +90 -90
  677. package/dist/websearch.js +84 -84
  678. package/dist/wellknown/plugin.js +78 -78
  679. package/dist/wellknown.js +83 -83
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +82 -82
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +8 -8
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +100 -100
  688. package/package.json +8 -8
  689. package/dist/chunks/location-j6js6ktv.js +0 -26
  690. package/dist/chunks/location-ng2x5jnt.js +0 -257
  691. /package/dist/chunks/{location-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{location-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{location-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{location-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{location-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
  696. /package/dist/chunks/{location-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{location-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{location-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{location-2bv980vf.js → formatter-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{location-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{location-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{location-3asan66x.js → formatter-3asan66x.js} +0 -0
  703. /package/dist/chunks/{location-3t0ybcrp.js → formatter-3t0ybcrp.js} +0 -0
  704. /package/dist/chunks/{location-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{location-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{location-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{location-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{location-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{location-53557ph1.js → formatter-53557ph1.js} +0 -0
  711. /package/dist/chunks/{location-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{location-6prwharc.js → formatter-6prwharc.js} +0 -0
  713. /package/dist/chunks/{location-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{location-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{location-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{location-822emrt2.js → formatter-822emrt2.js} +0 -0
  717. /package/dist/chunks/{location-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{location-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{location-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{location-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{location-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{location-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{location-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{location-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{location-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{location-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{location-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{location-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{location-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{location-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{location-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{location-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{location-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{location-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{location-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{location-df08tz66.js → formatter-df08tz66.js} +0 -0
  737. /package/dist/chunks/{location-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{location-e3qxr5gk.js → formatter-e3qxr5gk.js} +0 -0
  739. /package/dist/chunks/{location-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{location-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{location-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{location-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{location-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{location-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{location-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{location-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{location-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{location-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{location-g86h250q.js → formatter-g86h250q.js} +0 -0
  750. /package/dist/chunks/{location-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{location-gftt206x.js → formatter-gftt206x.js} +0 -0
  752. /package/dist/chunks/{location-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{location-hk9envan.js → formatter-hk9envan.js} +0 -0
  754. /package/dist/chunks/{location-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{location-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{location-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{location-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{location-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{location-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{location-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{location-m18g726c.js → formatter-m18g726c.js} +0 -0
  762. /package/dist/chunks/{location-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{location-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{location-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{location-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{location-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{location-pkyv6v7h.js → formatter-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{location-pyv0edze.js → formatter-pyv0edze.js} +0 -0
  769. /package/dist/chunks/{location-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{location-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{location-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{location-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{location-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{location-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  775. /package/dist/chunks/{location-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{location-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{location-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{location-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{location-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  780. /package/dist/chunks/{location-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{location-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  782. /package/dist/chunks/{location-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{location-wjj7prxr.js → formatter-wjj7prxr.js} +0 -0
  784. /package/dist/chunks/{location-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  785. /package/dist/chunks/{location-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  786. /package/dist/chunks/{location-x61499pn.js → formatter-x61499pn.js} +0 -0
  787. /package/dist/chunks/{location-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  788. /package/dist/chunks/{location-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{location-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{location-ym463w8f.js → formatter-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{location-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  792. /package/dist/chunks/{location-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  ID9
3
- } from "./location-j1nd8abd.js";
3
+ } from "./formatter-r0yrvwzz.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-z5v4ffb3.js";
6
+ } from "./formatter-z5v4ffb3.js";
7
7
  import {
8
- Info14
9
- } from "./location-1xcwytz6.js";
8
+ Info15
9
+ } from "./formatter-bbkhz5x0.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./location-qdxpp4ce.js";
12
+ } from "./formatter-kp329rnm.js";
13
13
  import {
14
14
  latest2,
15
- Service68
16
- } from "./location-n477w9kb.js";
15
+ Service67
16
+ } from "./formatter-gyrxp0ts.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./location-8m6m0r52.js";
19
+ } from "./formatter-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./location-9rqn6x4v.js";
22
+ } from "./formatter-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin30
28
+ Plugin: () => Plugin34
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info14);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info15);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin30 = define({
47
+ var Plugin34 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service68;
50
+ const config = yield* Service67;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin30, exports_agent2 };
164
+ export { Plugin34, exports_agent2 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-3a0fe738.js";
3
+ } from "./formatter-b30s6mje.js";
4
4
  import {
5
5
  Service85
6
- } from "./location-trskfet7.js";
6
+ } from "./formatter-0zcqa60s.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19
10
- } from "./location-h4e45ygc.js";
9
+ Event18
10
+ } from "./formatter-1z0c123x.js";
11
11
  import {
12
12
  key2
13
- } from "./location-mxvxcxwy.js";
13
+ } from "./formatter-x661k3y3.js";
14
14
  import {
15
- ID12,
15
+ ID13,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./location-38jcv3yh.js";
18
+ } from "./formatter-2xr74ag8.js";
19
19
  import {
20
- Service38
21
- } from "./location-4r5v39fv.js";
20
+ Service15
21
+ } from "./formatter-hfbyhya8.js";
22
22
  import {
23
- ID11,
23
+ ID12,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./location-5s5bfnr6.js";
26
+ } from "./formatter-ndc46fve.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./location-xw16hbb2.js";
29
+ } from "./formatter-n6j8zy7f.js";
30
30
  import {
31
31
  supports2,
32
- resolve2
33
- } from "./location-nz5xz1n7.js";
32
+ resolve3
33
+ } from "./formatter-vyf7jw62.js";
34
34
  import {
35
35
  ID4,
36
- Input14,
36
+ Input13,
37
37
  Response2
38
- } from "./location-xhg7ze7g.js";
38
+ } from "./formatter-c907h1r8.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
- import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
41
+ import { Duration, Effect, Equal, FiberHandle, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
42
42
  import { define } from "@opencode/plugin/effect/plugin";
43
43
  import { FetchHttpClient, HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
44
44
  import { ConfigPolicy } from "@opencode/schema/config/policy";
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID12.make("opencode"),
115
+ integrationID: ID13.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -179,7 +179,7 @@ var OpencodePlugin2 = define({
179
179
  const bus = yield* Service85;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service38;
182
+ const managed = yield* Service15;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID12.make("opencode");
234
+ provider.integrationID = ID13.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
267
267
  model.limit = { ...model.limit, ...config.limit };
268
268
  if (config.capabilities?.reasoning !== undefined)
269
269
  model.variants = [
270
- ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
270
+ ...resolve3({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
271
271
  ];
272
272
  for (const variant of config.variants ?? []) {
273
273
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
303
303
  sourceConnection: snapshot.connection
304
304
  });
305
305
  }
306
- const item = providers.get(ID11.opencode);
306
+ const item = providers.get(ID12.opencode);
307
307
  if (!item)
308
308
  return;
309
309
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  });
316
316
  });
317
317
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID11.opencode);
318
+ const item = models.provider.get(ID12.opencode);
319
319
  if (!item)
320
320
  return;
321
321
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -404,11 +404,19 @@ var OpencodePlugin2 = define({
404
404
  });
405
405
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
406
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
407
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
411
- yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
410
+ const polling = yield* FiberHandle.make();
411
+ const poll = Effect.fnUntraced(function* () {
412
+ if (!snapshot.connection)
413
+ return yield* FiberHandle.clear(polling);
414
+ yield* FiberHandle.run(polling, Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever), {
415
+ onlyIfMissing: true
416
+ });
417
+ });
418
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
419
+ yield* poll();
412
420
  })
413
421
  });
414
422
  function fetchConfig(http, value) {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./location-n477w9kb.js";
5
- import {
6
3
  Service67
7
- } from "./location-z3507kbh.js";
4
+ } from "./formatter-gyrxp0ts.js";
5
+ import {
6
+ Service44
7
+ } from "./formatter-r9y2scxt.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-qsdy395h.js";
10
+ } from "./formatter-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./formatter-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin31
19
+ Plugin: () => Plugin32
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin31 = define({
23
+ var Plugin32 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service68;
27
- const output = yield* Service67;
26
+ const config = yield* Service67;
27
+ const output = yield* Service44;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin31 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin31, exports_tool_output };
41
+ export { Plugin32, exports_tool_output };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./location-ec1grn59.js";
3
+ } from "./formatter-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./location-tdstcens.js";
6
+ } from "./formatter-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./location-xwjdvtn9.js";
9
+ } from "./formatter-nev18w5c.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./location-n477w9kb.js";
3
+ Service67
4
+ } from "./formatter-gyrxp0ts.js";
5
5
  import {
6
- Service77
7
- } from "./location-36sqq72v.js";
6
+ Service62
7
+ } from "./formatter-42rf9s8q.js";
8
8
  import {
9
9
  observe2
10
- } from "./location-qsdy395h.js";
10
+ } from "./formatter-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./formatter-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/shell.ts
16
16
  var exports_shell2 = {};
17
17
  __export(exports_shell2, {
18
18
  ConfigShellPlugin: () => exports_shell2,
19
- Plugin: () => Plugin41
19
+ Plugin: () => Plugin37
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin41 = define({
23
+ var Plugin37 = define({
24
24
  id: "opencode.config.shell",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service68;
27
- const shell = yield* Service77;
26
+ const config = yield* Service67;
27
+ const shell = yield* Service62;
28
28
  const loaded = yield* observe2(config, ctx.event, shell.reload());
29
29
  yield* shell.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "shell");
@@ -34,4 +34,4 @@ var Plugin41 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin41, exports_shell2 };
37
+ export { Plugin37, exports_shell2 };
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-trskfet7.js";
4
+ } from "./formatter-0zcqa60s.js";
5
5
  import {
6
6
  Service76,
7
7
  node79
8
- } from "./location-5mh53trv.js";
8
+ } from "./formatter-k1b4tbj2.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./location-27mmh661.js";
12
+ } from "./formatter-zct15kyb.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service82,
16
16
  node86
17
- } from "./location-zm69bbn9.js";
17
+ } from "./formatter-0w0hsyng.js";
18
18
  import {
19
19
  canonical3
20
- } from "./location-09zy2qv2.js";
20
+ } from "./formatter-zrq3bjv4.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./location-ec1grn59.js";
23
+ } from "./formatter-ec1grn59.js";
24
24
  import {
25
- Service61,
26
- node64
27
- } from "./location-z1j2pzfs.js";
25
+ Service57,
26
+ node59
27
+ } from "./formatter-682gxy8b.js";
28
28
  import {
29
- Service81,
30
- node85
31
- } from "./location-wzfw0r1q.js";
29
+ Service20,
30
+ node23
31
+ } from "./formatter-x835q0ad.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./formatter-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service55,
41
- node: () => node58
40
+ Service: () => Service14,
41
+ node: () => node16
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service55 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service55, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const bus = yield* Service85;
52
52
  const location = yield* Service82;
53
- const permission = yield* Service61;
53
+ const permission = yield* Service57;
54
54
  const forms = yield* Service76;
55
- const rpc = yield* Service81;
55
+ const rpc = yield* Service20;
56
56
  const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service55.of({
83
+ return Service14.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node58 = makeLocationNode({
89
- service: Service55,
88
+ var node16 = makeLocationNode({
89
+ service: Service14,
90
90
  layer,
91
- deps: [node89, node86, node64, node87, node79, node85]
91
+ deps: [node89, node86, node59, node87, node79, node23]
92
92
  });
93
93
 
94
- export { Service55, node58, exports_location_lifecycle };
94
+ export { Service14, node16, exports_location_lifecycle };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./location-hgz4x7wa.js";
3
+ } from "./formatter-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./location-eej6y6fw.js";
6
+ } from "./formatter-eej6y6fw.js";
7
7
  import {
8
8
  Service86,
9
9
  node90
10
- } from "./location-x8nz1cbt.js";
10
+ } from "./formatter-wpqhxtcy.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./location-y71avatq.js";
13
+ } from "./formatter-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node83
18
- } from "./location-ydgy0jv4.js";
17
+ node85
18
+ } from "./formatter-yx0rmv9r.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./location-faypxj3z.js";
21
+ } from "./formatter-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./location-9rqn6x4v.js";
24
+ } from "./formatter-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID15,
31
- Info: () => Info25,
30
+ ID: () => ID16,
31
+ Info: () => Info26,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service79,
33
+ Service: () => Service81,
34
34
  Workspace: () => exports_workspace,
35
35
  configured: () => configured11,
36
- node: () => node82
36
+ node: () => node84
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID15 = Workspace.ID;
44
+ var ID16 = Workspace.ID;
45
45
 
46
- class Info25 extends Schema.Class("Workspace.Info")({
47
- id: ID15,
46
+ class Info26 extends Schema.Class("Workspace.Info")({
47
+ id: ID16,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID15,
59
+ workspaceID: ID16,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service79 extends Context.Service()("@opencode/Workspace") {
65
+ class Service81 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
67
  var configured11 = (options = {}) => makeGlobalNode({
68
- service: Service79,
68
+ service: Service81,
69
69
  layer: layer(options),
70
- deps: [node90, node83]
70
+ deps: [node90, node85]
71
71
  });
72
- var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
73
73
  const db = (yield* Service86).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info25({
89
+ const info = (row, binding) => new Info26({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service79.of({
167
+ return Service81.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID15.create();
169
+ const workspaceID = input.id ?? ID16.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node82 = configured11();
245
+ var node84 = configured11();
246
246
 
247
- export { ID15, Info25, NotFound2, CreateConflict2, Service79, configured11, node82, exports_workspace };
247
+ export { ID16, Info26, NotFound2, CreateConflict2, Service81, configured11, node84, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./formatter-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-y71avatq.js";
3
+ } from "./formatter-y71avatq.js";
4
4
  import {
5
- Service78,
6
- node81
7
- } from "./location-zjmprxn1.js";
5
+ Service80,
6
+ node83
7
+ } from "./formatter-5gwznhg8.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./formatter-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service59,
17
- node: () => node62,
16
+ Service: () => Service75,
17
+ node: () => node78,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service59 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service75 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service59, Effect.gen(function* () {
38
- const environment = yield* Service78;
37
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
38
+ const environment = yield* Service80;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service59.of({ withLock, write, writeTextPreservingBom });
59
+ return Service75.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node81] });
61
+ var node78 = makeLocationNode({ service: Service75, layer, deps: [node83] });
62
62
 
63
- export { Service59, readText2, syncTextBom2, node62, exports_file_mutation };
63
+ export { Service75, readText2, syncTextBom2, node78, exports_file_mutation };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  latest2,
3
- Service68
4
- } from "./location-n477w9kb.js";
3
+ Service67
4
+ } from "./formatter-gyrxp0ts.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./formatter-9rqn6x4v.js";
8
8
 
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin28,
12
+ Plugin: () => Plugin16,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin28 = define({
22
+ var Plugin16 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service68;
25
+ const config = yield* Service67;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -96,4 +96,4 @@ var Plugin28 = define({
96
96
  })
97
97
  });
98
98
 
99
- export { Plugin28, exports_warming };
99
+ export { Plugin16, exports_warming };