@opencode/core 0.0.0-dev-21507 → 0.0.0-dev-21524

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 (790) 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 +95 -95
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{tool-02mvvr71.js → model-02mvvr71.js} +3 -3
  8. package/dist/chunks/{tool-aj7mw0zk.js → model-034tev2y.js} +2 -2
  9. package/dist/chunks/{tool-cbre0k23.js → model-03p31ykv.js} +14 -14
  10. package/dist/chunks/{tool-zwgthjzd.js → model-03ysqxec.js} +16 -16
  11. package/dist/chunks/{tool-y5r47bzr.js → model-04w2mvty.js} +7 -7
  12. package/dist/chunks/{tool-enwyhyab.js → model-0qcccqbx.js} +20 -20
  13. package/dist/chunks/{tool-43kvem2p.js → model-0r3c1bmw.js} +5 -5
  14. package/dist/chunks/{tool-29gc4c91.js → model-0szsamay.js} +13 -13
  15. package/dist/chunks/{tool-4gt0zems.js → model-0taht25s.js} +8 -8
  16. package/dist/chunks/{tool-0emb60td.js → model-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{tool-9ar0tc7e.js → model-0y6p8wpj.js} +5 -5
  18. package/dist/chunks/{tool-zfgqkgc5.js → model-0z7r50za.js} +4 -4
  19. package/dist/chunks/{tool-j7zvs761.js → model-138x3wa4.js} +35 -35
  20. package/dist/chunks/{tool-27w5k9zf.js → model-1ep2p91f.js} +2 -2
  21. package/dist/chunks/{tool-04cnhvec.js → model-1pfpt4tm.js} +31 -31
  22. package/dist/chunks/{tool-be2hac41.js → model-1rh4yqvv.js} +9 -9
  23. package/dist/chunks/{tool-a6rw3yra.js → model-1sb845w2.js} +27 -27
  24. package/dist/chunks/{tool-skpzryv2.js → model-2223rexw.js} +16 -16
  25. package/dist/chunks/{tool-940py8pc.js → model-237rnmz7.js} +18 -18
  26. package/dist/chunks/{tool-r4apxbbe.js → model-2abxxfn3.js} +21 -21
  27. package/dist/chunks/{tool-3ga20zad.js → model-2bmg2vc4.js} +23 -23
  28. package/dist/chunks/{tool-aher8bmf.js → model-2ctfzdhd.js} +15 -15
  29. package/dist/chunks/{tool-djszqvmq.js → model-2sejkfem.js} +9 -9
  30. package/dist/chunks/{tool-98e06m6b.js → model-2trzfzeg.js} +45 -45
  31. package/dist/chunks/{tool-df85n37n.js → model-2z7chnet.js} +11 -11
  32. package/dist/chunks/{tool-amdk1eh7.js → model-32hg4evb.js} +18 -18
  33. package/dist/chunks/{tool-gzsyx702.js → model-366hmgxs.js} +5 -5
  34. package/dist/chunks/{tool-5gx51r66.js → model-36kcv1n0.js} +3 -3
  35. package/dist/chunks/{tool-fn9t717r.js → model-395q6j9z.js} +6 -6
  36. package/dist/chunks/{tool-3hepkmqq.js → model-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{tool-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{tool-tz96d8h6.js → model-3pkscm61.js} +9 -9
  39. package/dist/chunks/{tool-fgz8sgbp.js → model-3swakehk.js} +18 -18
  40. package/dist/chunks/{tool-3tvqynh2.js → model-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{tool-cv8w919v.js → model-3zbenxk9.js} +3 -3
  42. package/dist/chunks/{tool-3zsf4n22.js → model-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{tool-gjeh15rb.js → model-3zsxkakk.js} +11 -11
  44. package/dist/chunks/{tool-34w1safd.js → model-45nvas02.js} +21 -21
  45. package/dist/chunks/{tool-k52t8s6v.js → model-4bvsmycz.js} +11 -11
  46. package/dist/chunks/{tool-k7af4aa9.js → model-4h41swc2.js} +8 -8
  47. package/dist/chunks/{tool-cv6a5k53.js → model-4q4r5eys.js} +18 -18
  48. package/dist/chunks/{tool-3hjc3vgd.js → model-4q9fsd81.js} +8 -8
  49. package/dist/chunks/{tool-kj78g2dw.js → model-4tp8et91.js} +30 -30
  50. package/dist/chunks/{tool-fhczpvra.js → model-52v62pe3.js} +11 -11
  51. package/dist/chunks/{tool-54ma36ye.js → model-54ma36ye.js} +1 -1
  52. package/dist/chunks/{tool-gmy8fdpk.js → model-56jx3k9n.js} +4 -4
  53. package/dist/chunks/{tool-5g57z1ma.js → model-5g57z1ma.js} +1 -1
  54. package/dist/chunks/{tool-5m9w47nd.js → model-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{tool-mqwsrn1d.js → model-5qv5h1zk.js} +23 -23
  56. package/dist/chunks/{tool-f3c2dd4g.js → model-5td63qzk.js} +14 -14
  57. package/dist/chunks/{tool-1ey1ywa8.js → model-5vd2fz1r.js} +42 -42
  58. package/dist/chunks/{tool-6a3j6khd.js → model-60yc8kfz.js} +28 -28
  59. package/dist/chunks/{tool-4hvcvget.js → model-662wmyj4.js} +12 -12
  60. package/dist/chunks/{tool-6827pfxn.js → model-6827pfxn.js} +1 -1
  61. package/dist/chunks/{tool-332kxz91.js → model-6h8x4cfa.js} +59 -59
  62. package/dist/chunks/{tool-6xb47vfp.js → model-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{tool-ex0pka66.js → model-6xw3seg4.js} +5 -5
  64. package/dist/chunks/{tool-775gj3j1.js → model-775gj3j1.js} +2 -2
  65. package/dist/chunks/{tool-4j0c97rp.js → model-77enp1c1.js} +18 -18
  66. package/dist/chunks/{tool-wk61yqzs.js → model-78mjm5mv.js} +42 -42
  67. package/dist/chunks/{tool-7bmhse3q.js → model-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{tool-n2dhmw60.js → model-7dcyjm60.js} +24 -24
  69. package/dist/chunks/{tool-fcrkznn8.js → model-7dqw4kz8.js} +5 -5
  70. package/dist/chunks/{tool-j3nws6dg.js → model-7e23ehrj.js} +11 -11
  71. package/dist/chunks/{tool-dgzw2v3x.js → model-7ea6gyb7.js} +25 -25
  72. package/dist/chunks/model-7fj5dwt0.js +18 -0
  73. package/dist/chunks/{tool-2mrwwyd2.js → model-7myyj22h.js} +19 -19
  74. package/dist/chunks/{tool-xzsd65cy.js → model-7w2nkvmv.js} +20 -20
  75. package/dist/chunks/{tool-qvyxvxya.js → model-7yh6cecr.js} +32 -32
  76. package/dist/chunks/{tool-jnz7tvg3.js → model-81rrwaz0.js} +5 -5
  77. package/dist/chunks/{tool-vbj0m456.js → model-85hqxn6b.js} +5 -5
  78. package/dist/chunks/{tool-pc1v25hk.js → model-8bc2ahr8.js} +3 -3
  79. package/dist/chunks/{tool-wkrva1pr.js → model-8ctdzpjq.js} +23 -23
  80. package/dist/chunks/{tool-8m6m0r52.js → model-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{tool-8mywswrd.js → model-8mywswrd.js} +1 -1
  82. package/dist/chunks/{tool-228mhbmk.js → model-8sfj8fnn.js} +15 -15
  83. package/dist/chunks/{tool-06v6246a.js → model-8sxctv71.js} +38 -38
  84. package/dist/chunks/{tool-f46vcsvf.js → model-8ypwf7te.js} +11 -11
  85. package/dist/chunks/{tool-ewzj04x6.js → model-91vccmjy.js} +7 -7
  86. package/dist/chunks/{tool-8qjra3pm.js → model-93zp451d.js} +26 -26
  87. package/dist/chunks/{tool-9ks7twft.js → model-982vmajw.js} +21 -21
  88. package/dist/chunks/{tool-dvj9ct8m.js → model-998yhzzq.js} +3 -3
  89. package/dist/chunks/{tool-p3p03tan.js → model-9f3d5qaa.js} +24 -24
  90. package/dist/chunks/{tool-dbde4j0g.js → model-9my2wv8a.js} +4 -4
  91. package/dist/chunks/{tool-9wev2pgg.js → model-9wev2pgg.js} +1 -1
  92. package/dist/chunks/{tool-ywwdv83n.js → model-a4xe52vp.js} +13 -13
  93. package/dist/chunks/{tool-mxvxcxwy.js → model-addxnjmp.js} +4 -4
  94. package/dist/chunks/{tool-mjj5jjh8.js → model-aj0k59hj.js} +5 -5
  95. package/dist/chunks/{tool-jkwff1ec.js → model-ajxqx4ms.js} +21 -21
  96. package/dist/chunks/{tool-c95ze8dw.js → model-ammk3pd4.js} +11 -11
  97. package/dist/chunks/{tool-e5adrsfc.js → model-apng734m.js} +30 -30
  98. package/dist/chunks/{tool-fyd5j4v9.js → model-azfq4cq8.js} +21 -21
  99. package/dist/chunks/{tool-b11a7tx7.js → model-b11a7tx7.js} +1 -1
  100. package/dist/chunks/{tool-w174qar2.js → model-b41wgp24.js} +13 -13
  101. package/dist/chunks/{tool-3hahq16z.js → model-b66zg7n1.js} +15 -15
  102. package/dist/chunks/model-b8bsqqcp.js +257 -0
  103. package/dist/chunks/{tool-zyg44wv6.js → model-bfyf7jfe.js} +10 -10
  104. package/dist/chunks/{tool-j0hvq876.js → model-bm9kjebc.js} +22 -22
  105. package/dist/chunks/{tool-9hn6k4tm.js → model-br0tr5aq.js} +8 -8
  106. package/dist/chunks/{tool-1ep4rre3.js → model-bzeyqsqd.js} +4 -4
  107. package/dist/chunks/{tool-y51c8cm2.js → model-c4q7v4g7.js} +185 -185
  108. package/dist/chunks/{tool-n1dmb866.js → model-chj6c0n9.js} +32 -32
  109. package/dist/chunks/{tool-jmqp76t3.js → model-cswhtaxk.js} +6 -6
  110. package/dist/chunks/{tool-qa3qhgw8.js → model-d216944b.js} +7 -7
  111. package/dist/chunks/{tool-k5jfazps.js → model-d2pvcv7q.js} +22 -22
  112. package/dist/chunks/{tool-eryt761w.js → model-d78ak1q6.js} +33 -33
  113. package/dist/chunks/{tool-m49kcc85.js → model-dgz1jfsn.js} +18 -18
  114. package/dist/chunks/{tool-e2hjzebn.js → model-dhmh7aw6.js} +4 -4
  115. package/dist/chunks/{tool-tbv8yktb.js → model-dm7d4a8z.js} +14 -14
  116. package/dist/chunks/{tool-y71avatq.js → model-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{tool-cnfb3fp5.js → model-dv8ssvc2.js} +90 -90
  118. package/dist/chunks/{tool-26dhv5et.js → model-dxjxmw6m.js} +17 -17
  119. package/dist/chunks/{tool-eej6y6fw.js → model-eej6y6fw.js} +2 -2
  120. package/dist/chunks/{tool-ef5x83kb.js → model-ef5x83kb.js} +1 -1
  121. package/dist/chunks/{tool-rs666mm1.js → model-ehm8gabj.js} +4 -4
  122. package/dist/chunks/{tool-8fs4gys7.js → model-ehpng7sz.js} +11 -11
  123. package/dist/chunks/{tool-y9s9xvs6.js → model-es4zr9pq.js} +5 -5
  124. package/dist/chunks/{tool-jcjdxez0.js → model-evw6zxwh.js} +11 -11
  125. package/dist/chunks/{tool-4dg0xz54.js → model-f9k0h0ak.js} +6 -6
  126. package/dist/chunks/{tool-208nnjmr.js → model-f9qpw35r.js} +4 -4
  127. package/dist/chunks/{tool-fcy631f0.js → model-fcy631f0.js} +1 -1
  128. package/dist/chunks/{tool-6ygh4fgn.js → model-fh95s1e3.js} +34 -34
  129. package/dist/chunks/{tool-vj682sbm.js → model-fmn3naam.js} +2 -2
  130. package/dist/chunks/{tool-x13hnj69.js → model-g3s5p3ce.js} +29 -29
  131. package/dist/chunks/{tool-wb3hegf8.js → model-g4j5dqmm.js} +16 -16
  132. package/dist/chunks/{tool-gd4qta3r.js → model-gd4qta3r.js} +1 -1
  133. package/dist/chunks/{tool-z7nbrbpb.js → model-gr0f51d3.js} +6 -6
  134. package/dist/chunks/{tool-jf44gywc.js → model-gx5mqccr.js} +12 -12
  135. package/dist/chunks/{tool-sjq3h641.js → model-h3fgmb1c.js} +46 -46
  136. package/dist/chunks/{tool-h6vf3j39.js → model-h6vf3j39.js} +1 -1
  137. package/dist/chunks/{tool-64ddt51t.js → model-h9eg9w87.js} +8 -8
  138. package/dist/chunks/{tool-w492d1p5.js → model-hdqa26x6.js} +18 -18
  139. package/dist/chunks/{tool-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
  140. package/dist/chunks/{tool-2vz2ewx5.js → model-hh9qf8x4.js} +23 -23
  141. package/dist/chunks/{tool-yvf18s5x.js → model-hw24m6dt.js} +11 -11
  142. package/dist/chunks/{tool-mr48ebck.js → model-hx3e3ka9.js} +25 -25
  143. package/dist/chunks/{tool-4sj6rv93.js → model-hxvkjxz4.js} +8 -8
  144. package/dist/chunks/{tool-x36bd8da.js → model-j00wdpt2.js} +33 -33
  145. package/dist/chunks/{tool-82rbgap5.js → model-j18wnwp4.js} +9 -9
  146. package/dist/chunks/{tool-d8e9t34v.js → model-j1kq1abh.js} +9 -9
  147. package/dist/chunks/{tool-k2svkm7d.js → model-j1n1yte6.js} +13 -13
  148. package/dist/chunks/{tool-g98a52zh.js → model-j29dqnz3.js} +9 -9
  149. package/dist/chunks/{tool-8edt2mn2.js → model-j7m3jefb.js} +88 -88
  150. package/dist/chunks/{tool-118zcnpk.js → model-jdjv7g0p.js} +24 -24
  151. package/dist/chunks/{tool-wtd34zkk.js → model-jejz1x9w.js} +9 -9
  152. package/dist/chunks/{tool-ccxm2ze4.js → model-jgddfxwr.js} +12 -12
  153. package/dist/chunks/{tool-sgtpgegc.js → model-jmca7p9y.js} +30 -30
  154. package/dist/chunks/{tool-sfjj6pfb.js → model-jpgepvgj.js} +37 -37
  155. package/dist/chunks/{tool-1vx9hbz5.js → model-jtcz2vdp.js} +28 -28
  156. package/dist/chunks/{tool-6j90fxgt.js → model-jwhwgpnp.js} +17 -17
  157. package/dist/chunks/{tool-yvz6gv03.js → model-jx5cnddy.js} +18 -18
  158. package/dist/chunks/{tool-5651m5ed.js → model-jxf1ya3g.js} +40 -40
  159. package/dist/chunks/{tool-0pdt8dbx.js → model-jz851vma.js} +3 -3
  160. package/dist/chunks/{tool-p14k59zn.js → model-k2a3w999.js} +10 -10
  161. package/dist/chunks/{tool-wn6r8baz.js → model-k4s0h02e.js} +11 -11
  162. package/dist/chunks/{tool-rq2y2j0k.js → model-k5amtbxh.js} +13 -13
  163. package/dist/chunks/{tool-wbrx293h.js → model-k82vbxay.js} +5 -5
  164. package/dist/chunks/{tool-687c5wp0.js → model-kbnh7qbc.js} +28 -28
  165. package/dist/chunks/{tool-ny8edt06.js → model-khmqacep.js} +4 -4
  166. package/dist/chunks/{tool-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
  167. package/dist/chunks/{tool-tfbr2nq1.js → model-m190hr7s.js} +13 -13
  168. package/dist/chunks/{tool-gq1qwanx.js → model-m8gvtb3w.js} +14 -14
  169. package/dist/chunks/{tool-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{tool-maspj1v3.js → model-maspj1v3.js} +1 -1
  171. package/dist/chunks/{tool-fr6mqtdc.js → model-mcm8q642.js} +13 -13
  172. package/dist/chunks/{tool-mqqhst8y.js → model-mqqhst8y.js} +1 -1
  173. package/dist/chunks/{tool-c2sed5cq.js → model-my4zabxr.js} +2 -2
  174. package/dist/chunks/{tool-gy0p0s4q.js → model-n10am2gf.js} +22 -22
  175. package/dist/chunks/{tool-d7bshphg.js → model-n1xdyw2d.js} +8 -8
  176. package/dist/chunks/{tool-xdzd716q.js → model-n5m4rk1f.js} +5 -5
  177. package/dist/chunks/{tool-6w39brh1.js → model-n6v6dc4x.js} +5 -5
  178. package/dist/chunks/{tool-gn4fp5fa.js → model-np48z6yp.js} +47 -47
  179. package/dist/chunks/{tool-gc1jma41.js → model-nr3qt1qj.js} +34 -34
  180. package/dist/chunks/{tool-hpbpadsk.js → model-nsnt4z7f.js} +4 -4
  181. package/dist/chunks/{tool-66950z1s.js → model-nthdcap5.js} +13 -13
  182. package/dist/chunks/{tool-a3c7ahw6.js → model-nw91k3fh.js} +4 -4
  183. package/dist/chunks/{tool-3q29hfa9.js → model-nxqbvwsg.js} +21 -21
  184. package/dist/chunks/{tool-nz56sr1f.js → model-nz56sr1f.js} +2 -2
  185. package/dist/chunks/{tool-k032gzcv.js → model-p0wpjn6w.js} +35 -35
  186. package/dist/chunks/{tool-tewdvev1.js → model-p8ncetbn.js} +24 -24
  187. package/dist/chunks/{tool-np60s0wh.js → model-p9ynbv9r.js} +31 -31
  188. package/dist/chunks/{tool-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{tool-pknna89w.js → model-pknna89w.js} +1 -1
  190. package/dist/chunks/{tool-az243w7k.js → model-pvj8mvr4.js} +27 -27
  191. package/dist/chunks/{tool-2z2nwxhc.js → model-pxxsc0qj.js} +39 -39
  192. package/dist/chunks/{tool-jws6fkes.js → model-py3kkmfq.js} +8 -8
  193. package/dist/chunks/{tool-n5wy83m1.js → model-q1xk2b8v.js} +4 -4
  194. package/dist/chunks/{tool-g0nc362r.js → model-q25wacer.js} +14 -14
  195. package/dist/chunks/{tool-j8kb6sns.js → model-q34ypbna.js} +1 -1
  196. package/dist/chunks/{tool-qsdy395h.js → model-qsdy395h.js} +1 -1
  197. package/dist/chunks/{tool-5z2vrcz3.js → model-r3whvpya.js} +2 -2
  198. package/dist/chunks/{tool-rdfnpc7e.js → model-r71c6ngf.js} +1 -1
  199. package/dist/chunks/{tool-8pjxh0v6.js → model-rb179d86.js} +32 -32
  200. package/dist/chunks/{tool-rdw6cm16.js → model-rdw6cm16.js} +1 -1
  201. package/dist/chunks/{tool-tbhbbw5y.js → model-rfnecwar.js} +78 -78
  202. package/dist/chunks/{tool-yja0x3kv.js → model-rmymfw9c.js} +334 -334
  203. package/dist/chunks/{tool-3xbwwg1d.js → model-rn6wqvas.js} +15 -15
  204. package/dist/chunks/{tool-rscvxc63.js → model-rpsmjfyf.js} +13 -13
  205. package/dist/chunks/{tool-vmamyk2k.js → model-s5t6xt4x.js} +19 -19
  206. package/dist/chunks/{tool-wy8rpyz3.js → model-s5vae3n3.js} +6 -6
  207. package/dist/chunks/{tool-w5pf37nm.js → model-s6w3zs6m.js} +28 -28
  208. package/dist/chunks/{tool-t550f9t1.js → model-s8d7rejh.js} +4 -4
  209. package/dist/chunks/{tool-s14qqts9.js → model-seaswkff.js} +21 -21
  210. package/dist/chunks/{tool-jj9ksvj6.js → model-shttdtza.js} +30 -30
  211. package/dist/chunks/{tool-8ptwh2sj.js → model-sm9b1dk6.js} +5 -5
  212. package/dist/chunks/{tool-5qmfkff2.js → model-sn8sfdg7.js} +9 -9
  213. package/dist/chunks/{tool-m103jfcn.js → model-snpsxx8p.js} +49 -49
  214. package/dist/chunks/{tool-ndkkv98v.js → model-sxsnqyan.js} +23 -23
  215. package/dist/chunks/{tool-syv4x271.js → model-syv4x271.js} +1 -1
  216. package/dist/chunks/{tool-0sgefyfd.js → model-szszjrwy.js} +4 -4
  217. package/dist/chunks/{tool-zag9qx83.js → model-t9ax25ae.js} +24 -24
  218. package/dist/chunks/{tool-tazgh4e4.js → model-tazgh4e4.js} +1 -1
  219. package/dist/chunks/{tool-tjedn1bk.js → model-tbmac1c7.js} +4 -4
  220. package/dist/chunks/{tool-tcezcvh9.js → model-tcezcvh9.js} +1 -1
  221. package/dist/chunks/{tool-y9mdcbbm.js → model-tde5hqcz.js} +13 -13
  222. package/dist/chunks/{tool-tdstcens.js → model-tdstcens.js} +1 -1
  223. package/dist/chunks/model-tgfdy5x8.js +26 -0
  224. package/dist/chunks/{tool-wkrz5chy.js → model-tnq17713.js} +46 -46
  225. package/dist/chunks/{tool-2ftt7040.js → model-tpr917c7.js} +25 -25
  226. package/dist/chunks/{tool-ymwgex1k.js → model-tr5tmnty.js} +20 -20
  227. package/dist/chunks/{tool-qg775g37.js → model-twdpq1df.js} +41 -41
  228. package/dist/chunks/{tool-10xea195.js → model-tx641jmv.js} +30 -30
  229. package/dist/chunks/{tool-ze75yzft.js → model-tx9w5tca.js} +8 -8
  230. package/dist/chunks/{tool-tyytaxap.js → model-tyytaxap.js} +1 -1
  231. package/dist/chunks/{tool-rm4mkcw0.js → model-v210v162.js} +2 -2
  232. package/dist/chunks/{tool-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
  233. package/dist/chunks/{tool-zdwe30dy.js → model-v8jfbz3g.js} +6 -6
  234. package/dist/chunks/{tool-0kdreaa3.js → model-v9qp1ycg.js} +27 -27
  235. package/dist/chunks/{tool-556pd3b9.js → model-vchaqpjh.js} +33 -33
  236. package/dist/chunks/{tool-veqvce7d.js → model-veqvce7d.js} +1 -1
  237. package/dist/chunks/{tool-4c8bw516.js → model-vgx6weyf.js} +8 -8
  238. package/dist/chunks/{tool-49jcyb13.js → model-vpdzpye8.js} +18 -18
  239. package/dist/chunks/{tool-v28f4abg.js → model-vtc2n9tc.js} +2 -2
  240. package/dist/chunks/{tool-dhhj8p3k.js → model-vxhbzv6h.js} +37 -37
  241. package/dist/chunks/{tool-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
  242. package/dist/chunks/{tool-84txncab.js → model-w1eejvng.js} +5 -5
  243. package/dist/chunks/{tool-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{tool-yx0rmv9r.js → model-w6zk8pbt.js} +8 -8
  245. package/dist/chunks/{tool-wakvkjy4.js → model-wakvkjy4.js} +1 -1
  246. package/dist/chunks/{tool-9y4hw6ff.js → model-wbbr97jc.js} +49 -49
  247. package/dist/chunks/{tool-wd87259q.js → model-wd87259q.js} +1 -1
  248. package/dist/chunks/{tool-8cbrfsed.js → model-wh6zw745.js} +5 -5
  249. package/dist/chunks/{tool-7a5jr4d9.js → model-whakkw5c.js} +22 -22
  250. package/dist/chunks/{tool-yc3qf5z0.js → model-wq3ev71f.js} +6 -6
  251. package/dist/chunks/{tool-bz1rn4hs.js → model-wrmbd4ct.js} +6 -6
  252. package/dist/chunks/{tool-g5bttqze.js → model-wx0b07pw.js} +14 -14
  253. package/dist/chunks/{tool-awb2kyzs.js → model-wzekn62n.js} +17 -17
  254. package/dist/chunks/{tool-x6etvh7w.js → model-x4wqyer7.js} +22 -22
  255. package/dist/chunks/{tool-rp9an6k1.js → model-x4yng9z3.js} +20 -20
  256. package/dist/chunks/{tool-tx895r66.js → model-x9fa4xnb.js} +22 -22
  257. package/dist/chunks/{tool-qqeeq2t9.js → model-xfkkasph.js} +7 -7
  258. package/dist/chunks/{tool-7jvyaakv.js → model-xq5wk8w5.js} +15 -15
  259. package/dist/chunks/{tool-nxgc2w5h.js → model-xtpp21nj.js} +16 -16
  260. package/dist/chunks/{tool-vfm45d2v.js → model-xtqhbb9e.js} +5 -5
  261. package/dist/chunks/{tool-8vcf4cwr.js → model-xw9fg8fb.js} +2 -2
  262. package/dist/chunks/{tool-9ny5hk10.js → model-xxrcdmhk.js} +11 -11
  263. package/dist/chunks/{tool-7dqsqf20.js → model-y0bjakjk.js} +50 -50
  264. package/dist/chunks/{tool-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{tool-fdms3n6w.js → model-y56ehv6b.js} +9 -9
  266. package/dist/chunks/{tool-tk1z8rcs.js → model-y7nndgyc.js} +9 -9
  267. package/dist/chunks/{tool-h4dbkbzh.js → model-y9b0tqk5.js} +7 -7
  268. package/dist/chunks/{tool-wsd2y1yv.js → model-yb5mq618.js} +21 -21
  269. package/dist/chunks/{tool-tec24ygv.js → model-ygp5nrda.js} +16 -16
  270. package/dist/chunks/{tool-37cqxn50.js → model-yj7k2rcj.js} +3 -3
  271. package/dist/chunks/{tool-hveambb3.js → model-ywm7vzgw.js} +6 -6
  272. package/dist/chunks/{tool-bjx1sjef.js → model-ywt8jp22.js} +9 -9
  273. package/dist/chunks/{tool-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{tool-z18fegx4.js → model-z18fegx4.js} +1 -1
  275. package/dist/chunks/{tool-d99mbq37.js → model-z1r9xewk.js} +29 -29
  276. package/dist/chunks/{tool-1hga77xc.js → model-z44d18ne.js} +11 -11
  277. package/dist/chunks/{tool-wjv6dtxz.js → model-z5c3cgws.js} +4 -4
  278. package/dist/chunks/{tool-hgchpp86.js → model-z6pj4dcy.js} +24 -24
  279. package/dist/chunks/{tool-n9c7dk5h.js → model-z7yh2dxd.js} +38 -38
  280. package/dist/chunks/{tool-ntecsb7f.js → model-zhbn17yy.js} +42 -42
  281. package/dist/chunks/{tool-283ssd4b.js → model-zkvdcdcs.js} +14 -14
  282. package/dist/chunks/{tool-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{tool-f083g6z5.js → model-zra0rasq.js} +1 -1
  284. package/dist/chunks/{tool-x030sm2p.js → model-zw72nhpe.js} +34 -34
  285. package/dist/chunks/{tool-zxq2ej10.js → model-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{tool-z6sgjvvh.js → model-zy04nmr9.js} +12 -12
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +214 -214
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +116 -116
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +3 -3
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +74 -74
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +95 -95
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +102 -102
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +225 -225
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +80 -80
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +109 -109
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +360 -360
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +159 -159
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +357 -357
  468. package/dist/location.js +87 -87
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +140 -140
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +99 -99
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +100 -100
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +82 -82
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +107 -107
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +92 -92
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +218 -218
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +103 -103
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +123 -123
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +170 -170
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +5 -5
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +227 -227
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +97 -97
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +164 -164
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +224 -224
  583. package/dist/session/execution.js +128 -128
  584. package/dist/session/generate.js +166 -166
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +95 -95
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +95 -95
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +132 -132
  596. package/dist/session/projector.js +91 -91
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/recent-text.js +1 -1
  599. package/dist/session/revert.js +96 -96
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +231 -231
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +101 -101
  605. package/dist/session/runner/publish-llm-event.js +116 -116
  606. package/dist/session/runner/retry.js +5 -5
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +14 -14
  609. package/dist/session/schema.js +3 -3
  610. package/dist/session/session.js +165 -165
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +212 -212
  618. package/dist/session/system-prompt.js +5 -5
  619. package/dist/session/title.js +168 -168
  620. package/dist/session/to-session-error.js +114 -114
  621. package/dist/session/transfer.js +221 -221
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +8 -8
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +9 -9
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +139 -139
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +126 -126
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +124 -124
  644. package/dist/tool/plugin/question.js +107 -107
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +217 -217
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +115 -115
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +124 -124
  653. package/dist/tool/read-filesystem.js +104 -104
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  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 +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +1 -1
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +91 -91
  675. package/dist/voice.js +90 -90
  676. package/dist/websearch.js +86 -86
  677. package/dist/wellknown/plugin.js +78 -78
  678. package/dist/wellknown.js +81 -81
  679. package/dist/workspace/driver.js +7 -7
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +82 -82
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +91 -91
  686. package/dist/worktree.js +102 -102
  687. package/package.json +8 -8
  688. package/dist/chunks/tool-9mbmc05v.js +0 -26
  689. package/dist/chunks/tool-p2h6zvwc.js +0 -18
  690. package/dist/chunks/tool-p5pn22a9.js +0 -257
  691. /package/dist/chunks/{tool-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
  692. /package/dist/chunks/{tool-0zkw76rk.js → model-0zkw76rk.js} +0 -0
  693. /package/dist/chunks/{tool-17cy0kzp.js → model-17cy0kzp.js} +0 -0
  694. /package/dist/chunks/{tool-1cnp2v09.js → model-1cnp2v09.js} +0 -0
  695. /package/dist/chunks/{tool-24dcb14g.js → model-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{tool-2710q6r3.js → model-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{tool-2bv980vf.js → model-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{tool-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{tool-359p4xyc.js → model-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{tool-3asan66x.js → model-3asan66x.js} +0 -0
  701. /package/dist/chunks/{tool-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{tool-3v8g72cx.js → model-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{tool-3wcehsnq.js → model-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{tool-43n2bw4t.js → model-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{tool-4knz6hnm.js → model-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{tool-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{tool-4y7fprxs.js → model-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{tool-53557ph1.js → model-53557ph1.js} +0 -0
  709. /package/dist/chunks/{tool-550bvhaj.js → model-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{tool-5fjb7ams.js → model-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{tool-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{tool-6prwharc.js → model-6prwharc.js} +0 -0
  713. /package/dist/chunks/{tool-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{tool-7akdwqpd.js → model-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{tool-7m9af43g.js → model-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{tool-822emrt2.js → model-822emrt2.js} +0 -0
  717. /package/dist/chunks/{tool-84wd9syh.js → model-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{tool-88xbtdfr.js → model-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{tool-8n3pysct.js → model-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{tool-8wj87zfr.js → model-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{tool-9a4afbnw.js → model-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{tool-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{tool-a6k6eb26.js → model-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{tool-af5trqkr.js → model-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{tool-afrmfg78.js → model-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{tool-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{tool-atq7p7m5.js → model-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{tool-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{tool-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{tool-cf4snx6d.js → model-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{tool-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{tool-d9fn303g.js → model-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{tool-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{tool-dajrwvna.js → model-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{tool-dap0rakb.js → model-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{tool-df08tz66.js → model-df08tz66.js} +0 -0
  737. /package/dist/chunks/{tool-dy18nga0.js → model-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{tool-e5kj55wp.js → model-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{tool-e73j6tqm.js → model-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{tool-ec1grn59.js → model-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{tool-eh3zwz77.js → model-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{tool-emrn6kk6.js → model-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{tool-f0mxakyp.js → model-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{tool-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{tool-faypxj3z.js → model-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{tool-fd410y7t.js → model-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{tool-g4wezp1m.js → model-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{tool-g86h250q.js → model-g86h250q.js} +0 -0
  749. /package/dist/chunks/{tool-gebd4c9n.js → model-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{tool-gftt206x.js → model-gftt206x.js} +0 -0
  751. /package/dist/chunks/{tool-hcxmzztb.js → model-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{tool-hk9envan.js → model-hk9envan.js} +0 -0
  753. /package/dist/chunks/{tool-j2ntwpah.js → model-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{tool-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{tool-jjkms2e6.js → model-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{tool-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{tool-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{tool-jze0r7bz.js → model-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{tool-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{tool-m18g726c.js → model-m18g726c.js} +0 -0
  761. /package/dist/chunks/{tool-mp448xyj.js → model-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{tool-msx8hqn2.js → model-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{tool-n05xt0ee.js → model-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{tool-n3j8tn72.js → model-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{tool-njntx4h6.js → model-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{tool-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{tool-q3sfg36h.js → model-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{tool-q74kybfr.js → model-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{tool-qaymkmh1.js → model-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{tool-qb87gjwd.js → model-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{tool-qfa1cgps.js → model-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{tool-qg3g05ea.js → model-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{tool-qrg20bc0.js → model-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{tool-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{tool-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{tool-ssg3fenm.js → model-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{tool-ve7vex1e.js → model-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{tool-w803qqfp.js → model-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{tool-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{tool-wer8tq1h.js → model-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{tool-wjj7prxr.js → model-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{tool-wtztk69x.js → model-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{tool-x0ckcb58.js → model-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{tool-x61499pn.js → model-x61499pn.js} +0 -0
  785. /package/dist/chunks/{tool-y44na4kk.js → model-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{tool-y8f7s663.js → model-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{tool-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{tool-ym463w8f.js → model-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{tool-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{tool-z9919s4g.js → model-z9919s4g.js} +0 -0
@@ -1,65 +1,65 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./tool-nxgc2w5h.js";
2
+ Service83,
3
+ node87
4
+ } from "./model-xtpp21nj.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./tool-g0nc362r.js";
6
+ Service80,
7
+ node84
8
+ } from "./model-q25wacer.js";
9
9
  import {
10
- Service51,
10
+ Service56,
11
11
  login2,
12
- node55
13
- } from "./tool-f3c2dd4g.js";
12
+ node59
13
+ } from "./model-5td63qzk.js";
14
14
  import {
15
15
  lazy2
16
- } from "./tool-88xbtdfr.js";
16
+ } from "./model-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./model-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput2,
25
- Event: () => Event2,
24
+ CreateInput: () => CreateInput3,
25
+ Event: () => Event6,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID2,
28
- Info: () => Info3,
29
- NotFoundError: () => NotFoundError2,
27
+ ID: () => ID4,
28
+ Info: () => Info6,
29
+ NotFoundError: () => NotFoundError3,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service16,
31
+ Service: () => Service21,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node18
33
+ node: () => node24
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event2 } from "@opencode/schema/pty";
38
+ import { Event as Event6 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID2 = Pty.ID;
43
- var Info3 = Pty.Info;
44
- var CreateInput2 = Pty.CreateInput;
42
+ var ID4 = Pty.ID;
43
+ var Info6 = Pty.Info;
44
+ var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID2
47
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID4
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID2
53
+ ptyID: ID4
54
54
  }) {
55
55
  }
56
56
 
57
- class Service16 extends Context.Service()("@opencode/Pty") {
57
+ class Service21 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service16, Effect.gen(function* () {
60
- const bus = yield* Service85;
61
- const location = yield* Service82;
62
- const shell = yield* Service51;
59
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
60
+ const bus = yield* Service83;
61
+ const location = yield* Service80;
62
+ const shell = yield* Service56;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError2({ ptyID: id });
99
+ return yield* new NotFoundError3({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID2.ascending();
125
+ const id = ID4.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service16.of({ list, get, create, update, remove, write, attach });
270
+ return Service21.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node18 = makeLocationNode({
273
- service: Service16,
272
+ var node24 = makeLocationNode({
273
+ service: Service21,
274
274
  layer,
275
- deps: [node89, node86, node55]
275
+ deps: [node87, node84, node59]
276
276
  });
277
277
 
278
- export { ID2, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service16, node18, exports_pty, Event2 };
278
+ export { ID4, Info6, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service21, node24, exports_pty, Event6 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse4,
16
+ parse: () => parse5,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse4(input) {
42
+ function parse5(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse4(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse4(input);
75
+ const reference = parse5(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./tool-emrn6kk6.js";
4
+ } from "./model-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./model-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error5,
9
+ Error: () => Error4,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node85,
13
+ make: () => make20,
14
+ node: () => node68,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make20 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node85 = registryNode2({});
47
+ var node68 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node85, exports_driver };
49
+ export { Binding2, Error4, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node68, exports_driver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./tool-y71avatq.js";
3
+ } from "./model-dpkg50ah.js";
4
4
  import {
5
- Service85,
6
- node89
7
- } from "./tool-nxgc2w5h.js";
5
+ Service83,
6
+ node87
7
+ } from "./model-xtpp21nj.js";
8
8
  import {
9
9
  Event20,
10
- Service76,
10
+ Service75,
11
11
  node79
12
- } from "./tool-dgzw2v3x.js";
13
- import {
14
- Service82,
15
- node86
16
- } from "./tool-g0nc362r.js";
12
+ } from "./model-7ea6gyb7.js";
17
13
  import {
18
14
  Service80,
19
- node83
20
- } from "./tool-zag9qx83.js";
15
+ node84
16
+ } from "./model-q25wacer.js";
21
17
  import {
22
- ID14,
23
- Service75,
18
+ Service63,
19
+ node66
20
+ } from "./model-t9ax25ae.js";
21
+ import {
22
+ ID15,
23
+ Service74,
24
24
  node78
25
- } from "./tool-fyd5j4v9.js";
25
+ } from "./model-azfq4cq8.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./tool-rdw6cm16.js";
29
+ } from "./model-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service74,
33
+ Service73,
34
34
  node77
35
- } from "./tool-p3p03tan.js";
35
+ } from "./model-9f3d5qaa.js";
36
36
  import {
37
37
  __export
38
- } from "./tool-9rqn6x4v.js";
38
+ } from "./model-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service30,
52
+ Service: () => Service39,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer14,
57
- node: () => node33
55
+ configured: () => configured4,
56
+ layer: () => layer17,
57
+ node: () => node42
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service30 extends Context.Service()("@opencode/MCP") {
106
+ class Service39 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options2 = Schema.Struct({
108
+ var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
115
- const location = yield* Service82;
116
- const environment = yield* Service80;
117
- const bus = yield* Service85;
118
- const forms = yield* Service75;
119
- const integration = yield* Service74;
120
- const credentials = yield* Service76;
114
+ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
115
+ const location = yield* Service80;
116
+ const environment = yield* Service63;
117
+ const bus = yield* Service83;
118
+ const forms = yield* Service74;
119
+ const integration = yield* Service73;
120
+ const credentials = yield* Service75;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID13.make(suffix);
132
+ const integrationID = ID14.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError3({ server: name });
157
+ return yield* new NotFoundError4({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID14.create();
169
+ const formID = ID15.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service80, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service30.of({
423
+ return Service39.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured2(options) {
533
+ function configured4(options) {
534
534
  return makeLocationNode({
535
- service: Service30,
536
- layer: layer14(options),
537
- deps: [node86, node83, node89, node78, node77, node79]
535
+ service: Service39,
536
+ layer: layer17(options),
537
+ deps: [node84, node66, node87, node78, node77, node79]
538
538
  });
539
539
  }
540
- var node33 = configured2();
540
+ var node42 = configured4();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options2, layer14, configured2, node33, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service39, Options4, layer17, configured4, node42, exports_mcp4 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./tool-emrn6kk6.js";
4
+ } from "./model-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./model-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info13,
12
+ Info: () => Info12,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./tool-a6rw3yra.js";
5
+ } from "./model-1sb845w2.js";
6
6
  import {
7
- ID11,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info19
11
- } from "./tool-04cnhvec.js";
10
+ Info21
11
+ } from "./model-1pfpt4tm.js";
12
12
  import {
13
13
  __export
14
- } from "./tool-9rqn6x4v.js";
14
+ } from "./model-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID11.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info19.make({
122
- ...Info19.default(ID12.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID11.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID12.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./tool-3hjc3vgd.js";
3
+ } from "./model-4q9fsd81.js";
4
4
  import {
5
5
  call2
6
- } from "./tool-bjx1sjef.js";
6
+ } from "./model-ywt8jp22.js";
7
7
  import {
8
8
  __export
9
- } from "./tool-9rqn6x4v.js";
9
+ } from "./model-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin5,
14
+ Plugin: () => Plugin35,
15
15
  WebSearchParallel: () => exports_parallel,
16
16
  endpoint: () => endpoint3
17
17
  });
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin5 = define({
50
+ var Plugin35 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -93,4 +93,4 @@ var Plugin5 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint3, Plugin5, exports_parallel };
96
+ export { endpoint3, Plugin35, exports_parallel };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./tool-z5v4ffb3.js";
3
+ } from "./model-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
6
  Info15
7
- } from "./tool-mqqhst8y.js";
7
+ } from "./model-mqqhst8y.js";
8
8
  import {
9
9
  __export
10
- } from "./tool-9rqn6x4v.js";
10
+ } from "./model-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
13
  var exports_agent3 = {};
14
14
  __export(exports_agent3, {
15
15
  ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info12
16
+ Info: () => Info14
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info12 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info12, exports_agent3 };
72
+ export { Info14, exports_agent3 };