@opencode/core 0.0.0-dev-21207 → 0.0.0-dev-21212

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{persistent-pty-t550f9t1.js → config-0gdmqesm.js} +4 -4
  8. package/dist/chunks/{persistent-pty-pjnrv22w.js → config-0jpgft5k.js} +11 -11
  9. package/dist/chunks/{persistent-pty-xf8yqmad.js → config-0jq9fyba.js} +9 -9
  10. package/dist/chunks/{persistent-pty-0vbcp93d.js → config-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{persistent-pty-1jge3f37.js → config-16q9tp4m.js} +34 -34
  12. package/dist/chunks/{persistent-pty-s4e55a1y.js → config-1807h4mh.js} +5 -5
  13. package/dist/chunks/{persistent-pty-3dedrcqz.js → config-1aykj8gn.js} +3 -3
  14. package/dist/chunks/{persistent-pty-bzeyqsqd.js → config-1ep4rre3.js} +4 -4
  15. package/dist/chunks/{persistent-pty-avyh4w4k.js → config-1gtmny4k.js} +15 -15
  16. package/dist/chunks/{persistent-pty-ww7z4zes.js → config-1gx5mjve.js} +20 -20
  17. package/dist/chunks/{persistent-pty-nxe4pcap.js → config-1rn5pcm9.js} +4 -4
  18. package/dist/chunks/{persistent-pty-he0cfhpc.js → config-1vf4sagb.js} +42 -42
  19. package/dist/chunks/{persistent-pty-wjr337jx.js → config-1vy4979m.js} +37 -37
  20. package/dist/chunks/{persistent-pty-68g6xwqn.js → config-1w99e8rb.js} +25 -25
  21. package/dist/chunks/{persistent-pty-ak0n8wqr.js → config-29x2kfwx.js} +3 -3
  22. package/dist/chunks/{persistent-pty-vxttbewe.js → config-2f7exg7q.js} +7 -7
  23. package/dist/chunks/{persistent-pty-h26kdy9n.js → config-2gmw2dpq.js} +24 -24
  24. package/dist/chunks/{persistent-pty-wak88xg7.js → config-2pe0fb9w.js} +16 -16
  25. package/dist/chunks/{persistent-pty-ay5c0bv3.js → config-2q5tx0yx.js} +22 -22
  26. package/dist/chunks/{persistent-pty-mswjsdq2.js → config-2syaeb1n.js} +18 -18
  27. package/dist/chunks/{persistent-pty-hkajtpqc.js → config-33syv8f0.js} +2 -2
  28. package/dist/chunks/{persistent-pty-vk73as10.js → config-34qg6jmz.js} +20 -20
  29. package/dist/chunks/{persistent-pty-d216944b.js → config-34rkz0x9.js} +4 -4
  30. package/dist/chunks/{persistent-pty-57ws9skg.js → config-36hcm0df.js} +28 -28
  31. package/dist/chunks/{persistent-pty-vvgahrge.js → config-39gpxs7w.js} +28 -28
  32. package/dist/chunks/{persistent-pty-6qx5ffhj.js → config-3ecnqg46.js} +3 -3
  33. package/dist/chunks/{persistent-pty-3fc6dm20.js → config-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{persistent-pty-3hepkmqq.js → config-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{persistent-pty-3hwn7j4h.js → config-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{persistent-pty-3smtnn6g.js → config-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{persistent-pty-3tvqynh2.js → config-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{persistent-pty-a0z8gye3.js → config-3vj4c1tg.js} +13 -13
  39. package/dist/chunks/{persistent-pty-54f956qq.js → config-3wrt3kr7.js} +13 -13
  40. package/dist/chunks/{persistent-pty-3zsf4n22.js → config-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{persistent-pty-zd0masta.js → config-3zxf4b9k.js} +48 -48
  42. package/dist/chunks/{persistent-pty-dcsvv0a8.js → config-41pm01ak.js} +5 -5
  43. package/dist/chunks/{persistent-pty-nq3qw2vm.js → config-45fvvkjk.js} +4 -4
  44. package/dist/chunks/{persistent-pty-b2df57q2.js → config-45gkgs7n.js} +1 -1
  45. package/dist/chunks/{persistent-pty-bx0gyb4h.js → config-47jkzegy.js} +5 -5
  46. package/dist/chunks/{persistent-pty-fwbmh39w.js → config-48xwm2jn.js} +7 -7
  47. package/dist/chunks/{persistent-pty-23hfca39.js → config-4sw6mv0s.js} +4 -4
  48. package/dist/chunks/{persistent-pty-xacqwv33.js → config-4tszw8z9.js} +14 -14
  49. package/dist/chunks/{persistent-pty-5x0spf49.js → config-51tppabq.js} +45 -45
  50. package/dist/chunks/{persistent-pty-1msrarhd.js → config-53ev7e15.js} +15 -15
  51. package/dist/chunks/{persistent-pty-54ma36ye.js → config-54ma36ye.js} +1 -1
  52. package/dist/chunks/{persistent-pty-m87p00k5.js → config-57qzdvhg.js} +11 -11
  53. package/dist/chunks/{persistent-pty-gm31ynds.js → config-58hng72m.js} +5 -5
  54. package/dist/chunks/{persistent-pty-3a83a0n4.js → config-5eer2xf9.js} +8 -8
  55. package/dist/chunks/{persistent-pty-97aeaand.js → config-5fec3t3w.js} +9 -9
  56. package/dist/chunks/{persistent-pty-7y5ptgp2.js → config-5g88gadq.js} +11 -11
  57. package/dist/chunks/{persistent-pty-dy0tp0j6.js → config-5k8cr4k1.js} +10 -10
  58. package/dist/chunks/{persistent-pty-5m9w47nd.js → config-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{persistent-pty-41mnrj5z.js → config-5yn9h0hb.js} +12 -12
  60. package/dist/chunks/{persistent-pty-1ajx6rf5.js → config-5yzzbxa7.js} +8 -8
  61. package/dist/chunks/{persistent-pty-qs13swd0.js → config-60hsndd1.js} +44 -44
  62. package/dist/chunks/{persistent-pty-0m15zpmn.js → config-63c46mej.js} +18 -18
  63. package/dist/chunks/{persistent-pty-6827pfxn.js → config-6827pfxn.js} +1 -1
  64. package/dist/chunks/{persistent-pty-6xcvt31d.js → config-68wqtz75.js} +1 -1
  65. package/dist/chunks/{persistent-pty-a4xxkpja.js → config-6cfz2rqh.js} +13 -13
  66. package/dist/chunks/{persistent-pty-76nj6dhf.js → config-6vk863qd.js} +7 -7
  67. package/dist/chunks/{persistent-pty-cdqe3acw.js → config-6wg7wrda.js} +8 -8
  68. package/dist/chunks/{persistent-pty-6xb47vfp.js → config-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{persistent-pty-t0tz8gfx.js → config-6yrrv51r.js} +14 -14
  70. package/dist/chunks/{persistent-pty-6hcchj7j.js → config-74jjd7nh.js} +70 -70
  71. package/dist/chunks/{persistent-pty-775gj3j1.js → config-775gj3j1.js} +2 -2
  72. package/dist/chunks/{persistent-pty-7bmhse3q.js → config-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{persistent-pty-3fkmq7pq.js → config-7dhmem7g.js} +9 -9
  74. package/dist/chunks/{persistent-pty-2sf5w7c0.js → config-7djdy79w.js} +8 -8
  75. package/dist/chunks/{persistent-pty-7fkffz83.js → config-7fkffz83.js} +2 -2
  76. package/dist/chunks/{persistent-pty-7b0e7y4m.js → config-7gbhzbmk.js} +6 -6
  77. package/dist/chunks/{persistent-pty-bgfh09k4.js → config-7gx306sf.js} +19 -19
  78. package/dist/chunks/{persistent-pty-19m9vfay.js → config-7hdhrm3j.js} +16 -16
  79. package/dist/chunks/{persistent-pty-7gvejd0q.js → config-7nzfzz9n.js} +16 -16
  80. package/dist/chunks/{persistent-pty-39z47dss.js → config-7rzjtvmt.js} +5 -5
  81. package/dist/chunks/{persistent-pty-3sv35849.js → config-7t7x805f.js} +27 -27
  82. package/dist/chunks/{persistent-pty-gshnfpyh.js → config-7ys1e3fp.js} +17 -17
  83. package/dist/chunks/{persistent-pty-84txncab.js → config-84txncab.js} +1 -1
  84. package/dist/chunks/{persistent-pty-ts10gvyd.js → config-86z5smpq.js} +14 -14
  85. package/dist/chunks/config-8a8mjsy9.js +26 -0
  86. package/dist/chunks/{persistent-pty-8nqwyyrr.js → config-8k3b0agb.js} +23 -23
  87. package/dist/chunks/{persistent-pty-8m6m0r52.js → config-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{persistent-pty-0a4xt203.js → config-8teas5ch.js} +16 -16
  89. package/dist/chunks/{persistent-pty-4p1cenkk.js → config-8ybx4ept.js} +41 -41
  90. package/dist/chunks/{persistent-pty-6m2evtbw.js → config-931tckg1.js} +15 -15
  91. package/dist/chunks/{persistent-pty-4rv9xmb7.js → config-96w79gab.js} +11 -11
  92. package/dist/chunks/{persistent-pty-gzqd72by.js → config-99swe9qt.js} +15 -15
  93. package/dist/chunks/{persistent-pty-e0pc35xj.js → config-9bv4pdph.js} +32 -32
  94. package/dist/chunks/{persistent-pty-w9qdmkss.js → config-9h1mdt7j.js} +23 -23
  95. package/dist/chunks/{persistent-pty-sj31pcmn.js → config-9hfk5z5c.js} +28 -28
  96. package/dist/chunks/{persistent-pty-7g7x9kjy.js → config-9jphx3mb.js} +6 -6
  97. package/dist/chunks/{persistent-pty-1nwxscpy.js → config-9pkkzrmj.js} +5 -5
  98. package/dist/chunks/{persistent-pty-v2rhndg3.js → config-a0krqfnt.js} +32 -32
  99. package/dist/chunks/{persistent-pty-bcxm7vqe.js → config-a0qszzgx.js} +12 -12
  100. package/dist/chunks/{persistent-pty-nt017e08.js → config-a1xx1res.js} +11 -11
  101. package/dist/chunks/{persistent-pty-3j7kj2y8.js → config-a628wd46.js} +13 -13
  102. package/dist/chunks/{persistent-pty-rx905nvw.js → config-a8nkje97.js} +11 -11
  103. package/dist/chunks/{persistent-pty-fgg1h6tp.js → config-a8rz590j.js} +18 -18
  104. package/dist/chunks/{persistent-pty-znznz47e.js → config-agcqgxwh.js} +11 -11
  105. package/dist/chunks/{persistent-pty-hdfxv9rf.js → config-av7bwmdd.js} +13 -13
  106. package/dist/chunks/{persistent-pty-v9ncrnjw.js → config-b08a962v.js} +9 -9
  107. package/dist/chunks/{persistent-pty-c75t29hq.js → config-b1ba29dw.js} +7 -7
  108. package/dist/chunks/{persistent-pty-18g55aa2.js → config-b28mnwwt.js} +6 -6
  109. package/dist/chunks/{persistent-pty-k8xwrkek.js → config-b2bf46k7.js} +43 -43
  110. package/dist/chunks/{persistent-pty-0kq1vnt2.js → config-b2yyweyd.js} +14 -14
  111. package/dist/chunks/{persistent-pty-v9t8k6fh.js → config-b7j4btd3.js} +16 -16
  112. package/dist/chunks/{persistent-pty-wjr9rjd7.js → config-bjx1sjef.js} +6 -6
  113. package/dist/chunks/{persistent-pty-4d3befan.js → config-by2pg9y4.js} +8 -8
  114. package/dist/chunks/{persistent-pty-c1fqxshp.js → config-c1fqxshp.js} +3 -3
  115. package/dist/chunks/{persistent-pty-aacha31a.js → config-c5ggqzvz.js} +5 -5
  116. package/dist/chunks/{persistent-pty-hyry98jx.js → config-cf643m85.js} +20 -20
  117. package/dist/chunks/{persistent-pty-d1a28jh7.js → config-d1a28jh7.js} +2 -2
  118. package/dist/chunks/{persistent-pty-07hm112z.js → config-db5d95d0.js} +34 -34
  119. package/dist/chunks/{persistent-pty-0vs1brv3.js → config-de3bt2ha.js} +11 -11
  120. package/dist/chunks/{persistent-pty-0e4dr41z.js → config-dea3gwp3.js} +37 -37
  121. package/dist/chunks/{persistent-pty-8m4ndff2.js → config-dm0ynmtk.js} +24 -24
  122. package/dist/chunks/{persistent-pty-45yxkxq5.js → config-dsxjqpma.js} +4 -4
  123. package/dist/chunks/config-dxj72tfx.js +18 -0
  124. package/dist/chunks/{persistent-pty-36rq9ymx.js → config-e234cyn1.js} +6 -6
  125. package/dist/chunks/{persistent-pty-0qfx4vg1.js → config-e31gmyyr.js} +5 -5
  126. package/dist/chunks/{persistent-pty-5qd3pb7m.js → config-e3qxr5gk.js} +2 -2
  127. package/dist/chunks/{persistent-pty-368fk4db.js → config-e55bvh8p.js} +2 -2
  128. package/dist/chunks/{persistent-pty-argqn24j.js → config-e62qcj7p.js} +20 -20
  129. package/dist/chunks/{persistent-pty-sxcaecc0.js → config-e80seqcp.js} +3 -3
  130. package/dist/chunks/{persistent-pty-eej6y6fw.js → config-eej6y6fw.js} +2 -2
  131. package/dist/chunks/{persistent-pty-vhekmsjv.js → config-eeys6jp4.js} +5 -5
  132. package/dist/chunks/{persistent-pty-ef5x83kb.js → config-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{persistent-pty-zvkna10r.js → config-ehqfapa0.js} +25 -25
  134. package/dist/chunks/{persistent-pty-kee9eehy.js → config-ervrf9b2.js} +8 -8
  135. package/dist/chunks/{persistent-pty-gakes9sg.js → config-ex4mby49.js} +9 -9
  136. package/dist/chunks/{persistent-pty-f2n192rq.js → config-f2n192rq.js} +1 -1
  137. package/dist/chunks/{persistent-pty-zswavtpb.js → config-f73e5hh7.js} +5 -5
  138. package/dist/chunks/{persistent-pty-607tc6va.js → config-fcrkznn8.js} +5 -5
  139. package/dist/chunks/{persistent-pty-fcy631f0.js → config-fcy631f0.js} +1 -1
  140. package/dist/chunks/{persistent-pty-k3bwfq85.js → config-fd1t11rg.js} +4 -4
  141. package/dist/chunks/{persistent-pty-qgccrhvw.js → config-fdqhxf37.js} +8 -8
  142. package/dist/chunks/{persistent-pty-md3yr6xj.js → config-fgk3vbyw.js} +7 -7
  143. package/dist/chunks/{persistent-pty-0tz9w1hv.js → config-fmzqg2fz.js} +42 -42
  144. package/dist/chunks/{persistent-pty-fv4sm444.js → config-fnanefbj.js} +31 -31
  145. package/dist/chunks/{persistent-pty-287dc9gj.js → config-fnhjbz4x.js} +14 -14
  146. package/dist/chunks/{persistent-pty-c0nr5bpp.js → config-fpak32sp.js} +20 -20
  147. package/dist/chunks/{persistent-pty-jj579w2g.js → config-fpzpr3k4.js} +26 -26
  148. package/dist/chunks/{persistent-pty-2mq1h16s.js → config-ft3hqk2c.js} +9 -9
  149. package/dist/chunks/{persistent-pty-hv3fvgxa.js → config-ftr9njzs.js} +4 -4
  150. package/dist/chunks/{persistent-pty-yfcvgves.js → config-fy0smdn8.js} +20 -20
  151. package/dist/chunks/{persistent-pty-0b5g1ynf.js → config-gbh65n66.js} +4 -4
  152. package/dist/chunks/{persistent-pty-gd4qta3r.js → config-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{persistent-pty-h5h55k1t.js → config-gkj3y0k0.js} +4 -4
  154. package/dist/chunks/{persistent-pty-9nmz2bca.js → config-h27dsna5.js} +9 -9
  155. package/dist/chunks/{persistent-pty-7eqp7xtn.js → config-h3h6w07a.js} +170 -170
  156. package/dist/chunks/{persistent-pty-cp937pt4.js → config-h6310vsd.js} +4 -4
  157. package/dist/chunks/{persistent-pty-h6vf3j39.js → config-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{persistent-pty-dq407baf.js → config-hbb7npd7.js} +6 -6
  159. package/dist/chunks/{persistent-pty-hgz4x7wa.js → config-hgz4x7wa.js} +1 -1
  160. package/dist/chunks/{persistent-pty-9n49pgr6.js → config-hzrdp0cp.js} +24 -24
  161. package/dist/chunks/{persistent-pty-91qna3x0.js → config-j09zfasm.js} +3 -3
  162. package/dist/chunks/{persistent-pty-rtvdsvz0.js → config-j19as0a3.js} +10 -10
  163. package/dist/chunks/{persistent-pty-cne5fydz.js → config-j7y9krvb.js} +15 -15
  164. package/dist/chunks/{persistent-pty-b3kbpvds.js → config-jfdnkmkt.js} +50 -50
  165. package/dist/chunks/{persistent-pty-7k8y39tb.js → config-jsma32sr.js} +45 -45
  166. package/dist/chunks/{persistent-pty-ca7w653e.js → config-jvf3yq6v.js} +4 -4
  167. package/dist/chunks/{persistent-pty-pwxqqvpq.js → config-k2j5a9gy.js} +27 -27
  168. package/dist/chunks/{persistent-pty-ryt5ycva.js → config-k96aks8v.js} +17 -17
  169. package/dist/chunks/{persistent-pty-0jmz7zhd.js → config-ka56qf9d.js} +10 -10
  170. package/dist/chunks/{persistent-pty-xpyhv29g.js → config-kahzxndq.js} +14 -14
  171. package/dist/chunks/{persistent-pty-e87gf2rh.js → config-kdfdhpw1.js} +10 -10
  172. package/dist/chunks/{persistent-pty-38phfjcn.js → config-kgen349b.js} +9 -9
  173. package/dist/chunks/{persistent-pty-2xt21v74.js → config-kh1y9y9d.js} +12 -12
  174. package/dist/chunks/{persistent-pty-m1skjvb8.js → config-kqky9vda.js} +1 -1
  175. package/dist/chunks/{persistent-pty-kwb1v3vj.js → config-kwb1v3vj.js} +1 -1
  176. package/dist/chunks/{persistent-pty-mswsvpz6.js → config-ky4qq4w5.js} +4 -4
  177. package/dist/chunks/{persistent-pty-98kr54cv.js → config-m2e0vr92.js} +28 -28
  178. package/dist/chunks/{persistent-pty-tpbvzr1y.js → config-m5asysjq.js} +15 -15
  179. package/dist/chunks/{persistent-pty-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{persistent-pty-maspj1v3.js → config-maspj1v3.js} +1 -1
  181. package/dist/chunks/{persistent-pty-q4d4j6bt.js → config-mek58htc.js} +13 -13
  182. package/dist/chunks/{persistent-pty-se3cmajw.js → config-mgw2gs0s.js} +18 -18
  183. package/dist/chunks/{persistent-pty-8mxaw1fa.js → config-mnfvax3m.js} +46 -46
  184. package/dist/chunks/{persistent-pty-0ehmmcyw.js → config-mrrz5y04.js} +15 -15
  185. package/dist/chunks/{persistent-pty-pkm7e8th.js → config-mtxqk8cw.js} +4 -4
  186. package/dist/chunks/{persistent-pty-9ae44cfy.js → config-mx9vqzsb.js} +6 -6
  187. package/dist/chunks/{persistent-pty-mxvxcxwy.js → config-mxvxcxwy.js} +1 -1
  188. package/dist/chunks/{persistent-pty-68spmrpe.js → config-n37454w0.js} +5 -5
  189. package/dist/chunks/{persistent-pty-pxmy34vh.js → config-nawhhaaq.js} +13 -13
  190. package/dist/chunks/{persistent-pty-bfc3jzxx.js → config-nd6sw2xa.js} +14 -14
  191. package/dist/chunks/{persistent-pty-0hvxqb6d.js → config-njnqnmx7.js} +33 -33
  192. package/dist/chunks/{persistent-pty-29jpnasx.js → config-nrf0g0fb.js} +7 -7
  193. package/dist/chunks/{persistent-pty-dcvyzbc9.js → config-nsvyg4h4.js} +22 -22
  194. package/dist/chunks/{persistent-pty-1w2wqhfv.js → config-ny8edt06.js} +4 -4
  195. package/dist/chunks/{persistent-pty-gs0drmb7.js → config-p608aa5p.js} +3 -3
  196. package/dist/chunks/{persistent-pty-t6dt94yt.js → config-p79dk7q2.js} +11 -11
  197. package/dist/chunks/{persistent-pty-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{persistent-pty-pknna89w.js → config-pknna89w.js} +1 -1
  199. package/dist/chunks/{persistent-pty-df3a40xp.js → config-pktdb32c.js} +18 -18
  200. package/dist/chunks/{persistent-pty-296pqcyw.js → config-pm4xaw36.js} +4 -4
  201. package/dist/chunks/{persistent-pty-7j2qrq70.js → config-psvv3ym1.js} +31 -31
  202. package/dist/chunks/{persistent-pty-vzm2s9ff.js → config-pvj66q6s.js} +6 -6
  203. package/dist/chunks/{persistent-pty-pb1esjts.js → config-q0nrsbdj.js} +10 -10
  204. package/dist/chunks/{persistent-pty-ybt6a39d.js → config-q1jx9m76.js} +3 -3
  205. package/dist/chunks/{persistent-pty-pes8a9te.js → config-qe7wnvmc.js} +35 -35
  206. package/dist/chunks/{persistent-pty-z5tkq5nc.js → config-qff65cax.js} +29 -29
  207. package/dist/chunks/{persistent-pty-qnc92qwc.js → config-qnc92qwc.js} +1 -1
  208. package/dist/chunks/{persistent-pty-qqeeq2t9.js → config-qqeeq2t9.js} +1 -1
  209. package/dist/chunks/{persistent-pty-bq3rfpty.js → config-qqv6zatd.js} +24 -24
  210. package/dist/chunks/{persistent-pty-vxb9f0te.js → config-qr19ny83.js} +7 -7
  211. package/dist/chunks/{persistent-pty-qsdy395h.js → config-qsdy395h.js} +1 -1
  212. package/dist/chunks/{persistent-pty-9qjz7egn.js → config-qtezqvee.js} +21 -21
  213. package/dist/chunks/{persistent-pty-2b974e2a.js → config-qy7aswph.js} +17 -17
  214. package/dist/chunks/{persistent-pty-tcxp8tq6.js → config-r0wdf4xp.js} +3 -3
  215. package/dist/chunks/{persistent-pty-2pvdeqne.js → config-r324nhbh.js} +83 -83
  216. package/dist/chunks/{persistent-pty-546wh2b3.js → config-r3r9m3qp.js} +13 -13
  217. package/dist/chunks/{persistent-pty-3126pgvt.js → config-r3vc3gvd.js} +27 -27
  218. package/dist/chunks/{persistent-pty-nmhvfjt2.js → config-r41sfqm3.js} +20 -20
  219. package/dist/chunks/{persistent-pty-vnvv926v.js → config-r51s5bd8.js} +11 -11
  220. package/dist/chunks/{persistent-pty-kjd40bgk.js → config-r70na3yp.js} +9 -9
  221. package/dist/chunks/{persistent-pty-rdw6cm16.js → config-rdw6cm16.js} +1 -1
  222. package/dist/chunks/config-refhawet.js +513 -0
  223. package/dist/chunks/{persistent-pty-rert0e01.js → config-rert0e01.js} +2 -2
  224. package/dist/chunks/{persistent-pty-rj3eygr5.js → config-rj3eygr5.js} +2 -2
  225. package/dist/chunks/{persistent-pty-q5rwhrtr.js → config-rmnevc7d.js} +32 -32
  226. package/dist/chunks/{persistent-pty-9nv551d5.js → config-rtjghg3d.js} +11 -11
  227. package/dist/chunks/{persistent-pty-hk8s4rpe.js → config-rwpsx4ze.js} +18 -18
  228. package/dist/chunks/{persistent-pty-g1kxasap.js → config-s8tqqwqt.js} +17 -17
  229. package/dist/chunks/{persistent-pty-sa8ekw3f.js → config-sa8ekw3f.js} +2 -2
  230. package/dist/chunks/{persistent-pty-1qpcq0yb.js → config-sdwaewz7.js} +11 -11
  231. package/dist/chunks/{persistent-pty-m05fbbj0.js → config-sjtacrxe.js} +80 -80
  232. package/dist/chunks/{persistent-pty-sxgg5vg7.js → config-sv0tx6r5.js} +15 -15
  233. package/dist/chunks/{persistent-pty-syv4x271.js → config-syv4x271.js} +1 -1
  234. package/dist/chunks/{persistent-pty-h2955e8q.js → config-t5scbgyn.js} +17 -17
  235. package/dist/chunks/{persistent-pty-tazgh4e4.js → config-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{persistent-pty-89znhe33.js → config-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{persistent-pty-tdstcens.js → config-tdstcens.js} +1 -1
  238. package/dist/chunks/{persistent-pty-h90v2x9d.js → config-tjedn1bk.js} +4 -4
  239. package/dist/chunks/{persistent-pty-5fykfdj7.js → config-tk14y25j.js} +5 -5
  240. package/dist/chunks/{persistent-pty-tm0kqsz3.js → config-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{persistent-pty-8qw7ce1p.js → config-tm49e194.js} +21 -21
  242. package/dist/chunks/{persistent-pty-p1dnjvcc.js → config-tnfencz9.js} +5 -5
  243. package/dist/chunks/{persistent-pty-qgzg94dt.js → config-tqev4rw4.js} +6 -6
  244. package/dist/chunks/{persistent-pty-7s8vtvkc.js → config-trya7axm.js} +8 -8
  245. package/dist/chunks/{persistent-pty-26pvtrrv.js → config-tx3r04g2.js} +33 -33
  246. package/dist/chunks/{persistent-pty-tyytaxap.js → config-tyytaxap.js} +1 -1
  247. package/dist/chunks/{persistent-pty-v210v162.js → config-v210v162.js} +2 -2
  248. package/dist/chunks/{persistent-pty-v7p4zvkq.js → config-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{persistent-pty-s1rzx2rx.js → config-v9y3ks20.js} +16 -16
  250. package/dist/chunks/{persistent-pty-5cdwp8x1.js → config-vazjkyfy.js} +11 -11
  251. package/dist/chunks/{persistent-pty-6v03kn10.js → config-vbmkcdq8.js} +30 -30
  252. package/dist/chunks/{persistent-pty-veqvce7d.js → config-veqvce7d.js} +1 -1
  253. package/dist/chunks/{persistent-pty-1gzh7x8v.js → config-vfycf9ng.js} +15 -15
  254. package/dist/chunks/config-vjt5wmnj.js +257 -0
  255. package/dist/chunks/{persistent-pty-53wmdg2z.js → config-vz6mmxyf.js} +26 -26
  256. package/dist/chunks/{persistent-pty-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{persistent-pty-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{persistent-pty-x5hm6bvw.js → config-w43s46za.js} +14 -14
  259. package/dist/chunks/{persistent-pty-j4yfb354.js → config-w5yrvevg.js} +11 -11
  260. package/dist/chunks/{persistent-pty-catab2z7.js → config-w7vwr9tt.js} +3 -3
  261. package/dist/chunks/{persistent-pty-wd87259q.js → config-wd87259q.js} +1 -1
  262. package/dist/chunks/{persistent-pty-khzq4x05.js → config-wwttcv73.js} +27 -27
  263. package/dist/chunks/{persistent-pty-g7fa7svs.js → config-wxzk78h0.js} +27 -27
  264. package/dist/chunks/{persistent-pty-vtbat0ks.js → config-wybtwzt1.js} +20 -20
  265. package/dist/chunks/{persistent-pty-nt2cm5g7.js → config-x3ekcye2.js} +2 -2
  266. package/dist/chunks/{persistent-pty-4rmh7taa.js → config-x9h2q0x2.js} +8 -8
  267. package/dist/chunks/{persistent-pty-39vged4c.js → config-xcdbt95f.js} +15 -15
  268. package/dist/chunks/{persistent-pty-1mgnj47k.js → config-xefpasch.js} +6 -6
  269. package/dist/chunks/{persistent-pty-fawagqxt.js → config-xkt244va.js} +28 -28
  270. package/dist/chunks/{persistent-pty-374251z8.js → config-xw82k8ba.js} +16 -16
  271. package/dist/chunks/{persistent-pty-tea6mbfw.js → config-y16m4k0n.js} +13 -13
  272. package/dist/chunks/{persistent-pty-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{persistent-pty-zdhjww4c.js → config-y1wtyber.js} +9 -9
  274. package/dist/chunks/{persistent-pty-1pav5ndx.js → config-y4crs1v2.js} +20 -20
  275. package/dist/chunks/{persistent-pty-dpkg50ah.js → config-y71avatq.js} +4 -4
  276. package/dist/chunks/{persistent-pty-v293qw80.js → config-yjvgsn5p.js} +20 -20
  277. package/dist/chunks/{persistent-pty-n61013np.js → config-ynmknp8q.js} +11 -11
  278. package/dist/chunks/{persistent-pty-0bamrq62.js → config-ypt21gan.js} +20 -20
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-cw4vxgxd.js → config-z3nfqyak.js} +22 -22
  281. package/dist/chunks/{persistent-pty-t0pyhqcw.js → config-z4ev155g.js} +11 -11
  282. package/dist/chunks/{persistent-pty-fqyjd71p.js → config-z58scvjt.js} +26 -26
  283. package/dist/chunks/{persistent-pty-mbjmp2z7.js → config-z9bv8bpa.js} +40 -40
  284. package/dist/chunks/{persistent-pty-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{persistent-pty-fqhbsnr5.js → config-zvjhkatg.js} +8 -8
  286. package/dist/chunks/{persistent-pty-zxq2ej10.js → config-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  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 +208 -208
  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 +118 -118
  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 +118 -118
  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 +117 -117
  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 +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +68 -68
  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 +78 -78
  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 +72 -72
  414. package/dist/file-access.js +106 -106
  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 +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +84 -84
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +6 -6
  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 +1 -1
  460. package/dist/integration.js +83 -83
  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 +133 -133
  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 +83 -83
  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 +129 -129
  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 +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +96 -96
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  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 +90 -90
  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 +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +331 -331
  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 +2 -2
  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 +114 -114
  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 +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  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 +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  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 +350 -350
  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 +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +219 -219
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +82 -82
  562. package/dist/provider.js +95 -95
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +91 -91
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  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 +138 -138
  577. package/dist/session/context.js +155 -155
  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 +215 -215
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  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 +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  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 +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  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 +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  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 +75 -75
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +202 -202
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +208 -208
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  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 +11 -11
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +114 -114
  632. package/dist/snapshot.js +95 -95
  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 +130 -130
  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 +119 -119
  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 +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/webfetch.js +112 -112
  650. package/dist/tool/plugin/websearch.js +114 -114
  651. package/dist/tool/plugin/write.js +124 -124
  652. package/dist/tool/read-filesystem.js +102 -102
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +7 -7
  655. package/dist/tool.js +16 -16
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/command.js +3 -3
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +95 -95
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +85 -85
  677. package/dist/voice.js +86 -86
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +83 -83
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +98 -98
  689. package/package.json +8 -8
  690. package/dist/chunks/persistent-pty-7n7aetrn.js +0 -513
  691. package/dist/chunks/persistent-pty-9zy3g968.js +0 -26
  692. package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
  693. package/dist/chunks/persistent-pty-kt23qymt.js +0 -257
  694. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-0zkw76rk.js → config-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-17cy0kzp.js → config-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-1cnp2v09.js → config-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-24dcb14g.js → config-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2710q6r3.js → config-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-2axfhc9x.js → config-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-2bv980vf.js → config-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-359p4xyc.js → config-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-3asan66x.js → config-3asan66x.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → config-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-3v8g72cx.js → config-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-3wcehsnq.js → config-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-43n2bw4t.js → config-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-4knz6hnm.js → config-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-4y7fprxs.js → config-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-53557ph1.js → config-53557ph1.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-550bvhaj.js → config-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-6prwharc.js → config-6prwharc.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → config-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-7akdwqpd.js → config-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-7m9af43g.js → config-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-822emrt2.js → config-822emrt2.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-84wd9syh.js → config-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-88xbtdfr.js → config-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-8n3pysct.js → config-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-8wj87zfr.js → config-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-9a4afbnw.js → config-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-a6k6eb26.js → config-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-af5trqkr.js → config-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-afrmfg78.js → config-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-atq7p7m5.js → config-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-cf4snx6d.js → config-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-d9fn303g.js → config-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-dajrwvna.js → config-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dap0rakb.js → config-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-df08tz66.js → config-df08tz66.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-dy18nga0.js → config-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-e5kj55wp.js → config-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-e73j6tqm.js → config-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-ec1grn59.js → config-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-eh3zwz77.js → config-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-emrn6kk6.js → config-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-f0mxakyp.js → config-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-faypxj3z.js → config-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-fd410y7t.js → config-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-g4wezp1m.js → config-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-g86h250q.js → config-g86h250q.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-gebd4c9n.js → config-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-gftt206x.js → config-gftt206x.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-hcxmzztb.js → config-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-hk9envan.js → config-hk9envan.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-j2ntwpah.js → config-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jjkms2e6.js → config-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-jze0r7bz.js → config-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-m18g726c.js → config-m18g726c.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-mp448xyj.js → config-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-msx8hqn2.js → config-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-n05xt0ee.js → config-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-n3j8tn72.js → config-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-njntx4h6.js → config-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → config-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-pyv0edze.js → config-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-q3sfg36h.js → config-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-q74kybfr.js → config-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qaymkmh1.js → config-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qb87gjwd.js → config-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-qfa1cgps.js → config-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-qg3g05ea.js → config-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-qrg20bc0.js → config-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ssg3fenm.js → config-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-ve7vex1e.js → config-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-w803qqfp.js → config-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-wer8tq1h.js → config-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-wjj7prxr.js → config-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-wtztk69x.js → config-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-x0ckcb58.js → config-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-x61499pn.js → config-x61499pn.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-y44na4kk.js → config-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-y8f7s663.js → config-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-ym463w8f.js → config-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → config-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-z9919s4g.js → config-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./persistent-pty-ak0n8wqr.js";
4
+ } from "./config-29x2kfwx.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./persistent-pty-h5h55k1t.js";
8
+ } from "./config-gkj3y0k0.js";
9
9
  import {
10
- Service38,
11
- node40
12
- } from "./persistent-pty-s1rzx2rx.js";
10
+ Service70,
11
+ node73
12
+ } from "./config-v9y3ks20.js";
13
13
  import {
14
- Service34,
15
- node36
16
- } from "./persistent-pty-9ae44cfy.js";
14
+ Service45,
15
+ node47
16
+ } from "./config-mx9vqzsb.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./persistent-pty-ec1grn59.js";
19
+ } from "./config-ec1grn59.js";
20
20
  import {
21
21
  make15
22
- } from "./persistent-pty-f2n192rq.js";
22
+ } from "./config-f2n192rq.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service33
26
- } from "./persistent-pty-ca7w653e.js";
25
+ Service42
26
+ } from "./config-jvf3yq6v.js";
27
27
  import {
28
- Service55,
29
- node58
30
- } from "./persistent-pty-v9t8k6fh.js";
28
+ Service54,
29
+ node56
30
+ } from "./config-b7j4btd3.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./persistent-pty-p1dnjvcc.js";
33
+ } from "./config-tnfencz9.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./persistent-pty-mswjsdq2.js";
36
+ } from "./config-2syaeb1n.js";
37
37
  import {
38
38
  __export
39
- } from "./persistent-pty-9rqn6x4v.js";
39
+ } from "./config-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service32,
44
+ Service: () => Service41,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer15,
47
- node: () => node35,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer18,
47
+ node: () => node44,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service32 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service41 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer15 = Layer.effect(Service32, Effect.gen(function* () {
63
- const store = yield* Service55;
64
- const instances = yield* Service34;
62
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
63
+ const store = yield* Service54;
64
+ const instances = yield* Service45;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service38;
66
+ const jobs = yield* Service70;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,7 +76,7 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service33.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service32.of({
107
+ return Service41.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service32, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node35 = makeGlobalNode({
127
- service: Service32,
128
- layer: layer15,
129
- deps: [node58, node36, node89, node90, node40]
126
+ var node44 = makeGlobalNode({
127
+ service: Service41,
128
+ layer: layer18,
129
+ deps: [node56, node47, node89, node90, node73]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service32, Service32.of({
131
+ var noopLayer3 = Layer.succeed(Service41, Service41.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service32, Service32.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service32, terminal2, layer15, node35, noopLayer2, exports_execution };
140
+ export { Service41, terminal2, layer18, node44, noopLayer3, exports_execution };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-h5h55k1t.js";
4
+ } from "./config-gkj3y0k0.js";
5
5
  import {
6
- Service31,
7
- node34
8
- } from "./persistent-pty-qs13swd0.js";
6
+ Service36,
7
+ node39
8
+ } from "./config-60hsndd1.js";
9
9
  import {
10
- Service54,
11
- node57
12
- } from "./persistent-pty-5x0spf49.js";
10
+ Service53,
11
+ node55
12
+ } from "./config-51tppabq.js";
13
13
  import {
14
- Service58,
15
- node61
16
- } from "./persistent-pty-zvkna10r.js";
14
+ Service57,
15
+ node59
16
+ } from "./config-ehqfapa0.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./config-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service30,
26
- layer: () => layer13,
27
- name: () => name14,
25
+ Service: () => Service33,
26
+ layer: () => layer14,
27
+ name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node33
29
+ node: () => node36
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service30 extends Context.Service()("@opencode/McpTool") {
38
+ class Service33 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service30, Effect.gen(function* () {
41
- const mcp = yield* Service31;
42
- const tools = yield* Service58;
40
+ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
41
+ const mcp = yield* Service36;
42
+ const tools = yield* Service57;
43
43
  const bus = yield* Service85;
44
- const permission = yield* Service54;
44
+ const permission = yield* Service53;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name14(tool.server, tool.name),
59
+ action: name13(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: { input: input ?? {} },
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node33 = makeLocationNode({
124
- service: Service30,
125
- layer: layer13,
126
- deps: [node61, node34, node89, node57]
123
+ var node36 = makeLocationNode({
124
+ service: Service33,
125
+ layer: layer14,
126
+ deps: [node59, node39, node89, node55]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service30, layer13, node33, exports_mcp3 };
129
+ export { namespace2, name13, Service33, layer14, node36, exports_mcp3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./config-z5v4ffb3.js";
4
4
 
5
5
  // src/database/path.ts
6
6
  import nodePath from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-h5h55k1t.js";
4
+ } from "./config-gkj3y0k0.js";
5
5
  import {
6
6
  create3
7
- } from "./persistent-pty-rdw6cm16.js";
7
+ } from "./config-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./config-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID16,
19
- Info: () => Info25,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info11,
20
20
  Name: () => Name3,
21
- Service: () => Service79,
21
+ Service: () => Service56,
22
22
  defaultID: () => defaultID2,
23
- node: () => node83
23
+ node: () => node58
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event20 } from "@opencode/schema/agent";
29
- var ID16 = Agent.ID;
28
+ import { Event as Event12 } from "@opencode/schema/agent";
29
+ var ID9 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID16.make("build");
31
+ var defaultID2 = ID9.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info25 = Agent.Info;
33
+ var Info11 = Agent.Info;
34
34
 
35
- class Service79 extends Context.Service()("@opencode/Agent") {
35
+ class Service56 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service79, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
38
38
  const bus = yield* Service85;
39
39
  const state = create3({
40
40
  name: "agent",
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info25.default(id);
49
+ const current = editor.agents.get(id) ?? Info11.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
64
64
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
65
65
  if (configured)
66
66
  return configured;
67
- const build = selectable(data.agents.get(ID16.make("build")));
67
+ const build = selectable(data.agents.get(ID9.make("build")));
68
68
  if (build)
69
69
  return build;
70
70
  for (const agent of data.agents.values()) {
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service79.of({
76
+ return Service56.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID16.make(id));
84
+ return state.get().agents.get(ID9.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
88
88
  if (id !== undefined) {
89
- const selected = ID16.make(id);
89
+ const selected = ID9.make(id);
90
90
  return { id: selected, info: state.get().agents.get(selected) };
91
91
  }
92
92
  const info = selectedDefault();
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- var node83 = makeLocationNode({ service: Service79, layer, deps: [node89] });
104
+ var node58 = makeLocationNode({ service: Service56, layer, deps: [node89] });
105
105
 
106
- export { ID16, Name3, defaultID2, Color2, Info25, Service79, node83, exports_agent4, Event20 };
106
+ export { ID9, Name3, defaultID2, Color2, Info11, Service56, node58, exports_agent3, Event12 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./persistent-pty-f0mxakyp.js";
3
+ } from "./config-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./persistent-pty-w3wsvvr9.js";
6
+ } from "./config-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./persistent-pty-7bmhse3q.js";
9
+ } from "./config-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./persistent-pty-cf4snx6d.js";
12
+ } from "./config-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./persistent-pty-822emrt2.js";
15
+ } from "./config-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./persistent-pty-wd87259q.js";
18
+ } from "./config-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./persistent-pty-m9w0rfyh.js";
21
+ } from "./config-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./config-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-h5h55k1t.js";
4
+ } from "./config-gkj3y0k0.js";
5
5
  import {
6
6
  create3
7
- } from "./persistent-pty-rdw6cm16.js";
7
+ } from "./config-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./config-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command5 = {};
14
14
  __export(exports_command5, {
15
15
  Command: () => exports_command5,
16
- Event: () => Event9,
16
+ Event: () => Event19,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info13,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service49,
21
- layer: () => layer21,
22
- node: () => node51
18
+ Info: () => Info24,
19
+ NotFoundError: () => NotFoundError11,
20
+ Service: () => Service79,
21
+ layer: () => layer28,
22
+ node: () => node83
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info13 = Command.Info;
27
+ import { Event as Event19 } from "@opencode/schema/command";
28
+ var Info24 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service49 extends Context.Service()("@opencode/Command") {
42
+ class Service79 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer21 = Layer.effect(Service49, Effect.gen(function* () {
44
+ var layer28 = Layer.effect(Service79, Effect.gen(function* () {
45
45
  const bus = yield* Service85;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info13.make({
54
+ const info = (definition) => Info24.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service49.of({
58
+ return Service79.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service49, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node51 = makeLocationNode({
75
- service: Service49,
76
- layer: layer21,
74
+ var node83 = makeLocationNode({
75
+ service: Service79,
76
+ layer: layer28,
77
77
  deps: [node89]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info13, NotFoundError5, ExecutionError2, Service49, layer21, node51, exports_command5, Event9 };
89
+ export { Info24, NotFoundError11, ExecutionError2, Service79, layer28, node83, exports_command5, Event19 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./persistent-pty-t6dt94yt.js";
3
+ } from "./config-p79dk7q2.js";
4
4
  import {
5
5
  Service85
6
- } from "./persistent-pty-h5h55k1t.js";
6
+ } from "./config-gkj3y0k0.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./persistent-pty-98kr54cv.js";
9
+ Event20
10
+ } from "./config-m2e0vr92.js";
11
11
  import {
12
12
  key2
13
- } from "./persistent-pty-mxvxcxwy.js";
13
+ } from "./config-mxvxcxwy.js";
14
14
  import {
15
- ID13,
15
+ ID14,
16
16
  MethodID2
17
- } from "./persistent-pty-7gvejd0q.js";
17
+ } from "./config-7nzfzz9n.js";
18
18
  import {
19
- ID12,
19
+ ID13,
20
20
  aisdk2,
21
21
  Service75
22
- } from "./persistent-pty-xpyhv29g.js";
22
+ } from "./config-kahzxndq.js";
23
23
  import {
24
- ID11,
24
+ ID12,
25
25
  Info19
26
- } from "./persistent-pty-1msrarhd.js";
26
+ } from "./config-53ev7e15.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./persistent-pty-pjvnvgmy.js";
30
+ } from "./config-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
35
35
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
36
36
  import { define } from "@opencode/plugin/effect/plugin";
37
37
  import { Form } from "@opencode/schema/form";
38
- var providerID = ID12.gitlab;
39
- var integrationID = ID13.make("gitlab");
38
+ var providerID = ID13.gitlab;
39
+ var integrationID = ID14.make("gitlab");
40
40
  var methodID = MethodID2.make("pkce");
41
41
  var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
42
42
  var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
185
185
  models: [
186
186
  ...item.models.values(),
187
187
  ...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
188
- ...Info19.default(providerID, ID11.make(model.id)),
188
+ ...Info19.default(providerID, ID12.make(model.id)),
189
189
  name: `Agent Platform (${model.name})`,
190
190
  package: aisdk2("gitlab-ai-provider"),
191
191
  settings: { workflowRef: model.ref },
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
196
196
  });
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
199
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  yield* refresh().pipe(Effect.forkScoped);
201
201
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
202
202
  if (evt.package !== "gitlab-ai-provider")
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
219
219
  });
220
220
  }));
221
221
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
222
- if (evt.model.providerID !== ID12.gitlab)
222
+ if (evt.model.providerID !== ID13.gitlab)
223
223
  return;
224
224
  const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
225
225
  const id = evt.model.modelID ?? evt.model.id;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./persistent-pty-b3kbpvds.js";
3
+ } from "./config-jfdnkmkt.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./persistent-pty-pkyv6v7h.js";
6
+ } from "./config-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./config-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};