@opencode/core 0.0.0-dev-21307 → 0.0.0-dev-21309

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 (795) 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 +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{repository-cache-vd7s5kxy.js → form-01w6r3jz.js} +5 -5
  8. package/dist/chunks/{repository-cache-7ep8m250.js → form-01yb7a9a.js} +17 -17
  9. package/dist/chunks/{repository-cache-y45edm1f.js → form-0592574k.js} +8 -8
  10. package/dist/chunks/{repository-cache-bghdg7bn.js → form-09rh3qbs.js} +19 -19
  11. package/dist/chunks/{repository-cache-kxz1hg5v.js → form-0ab2r5bc.js} +15 -15
  12. package/dist/chunks/{repository-cache-3mkjzvwp.js → form-0n8a0ffz.js} +6 -6
  13. package/dist/chunks/{repository-cache-20tcdtxb.js → form-0rtp69vm.js} +10 -10
  14. package/dist/chunks/{repository-cache-0vbcp93d.js → form-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{repository-cache-f1qq7sr1.js → form-0y3k7j43.js} +1 -1
  16. package/dist/chunks/{repository-cache-pdp9s7c9.js → form-149ww98r.js} +8 -8
  17. package/dist/chunks/{repository-cache-ja1fgew7.js → form-159j6g8a.js} +50 -50
  18. package/dist/chunks/{repository-cache-yp2x3t23.js → form-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{repository-cache-bzeyqsqd.js → form-1ep4rre3.js} +4 -4
  20. package/dist/chunks/{repository-cache-vp0bfksy.js → form-1j8r0rfw.js} +2 -2
  21. package/dist/chunks/{repository-cache-v45pkn04.js → form-1rydqggj.js} +43 -43
  22. package/dist/chunks/{repository-cache-t406dmjj.js → form-1tmtn4f0.js} +33 -33
  23. package/dist/chunks/{repository-cache-khmqacep.js → form-1w2wqhfv.js} +4 -4
  24. package/dist/chunks/{repository-cache-36ceq5gy.js → form-21r3m04z.js} +14 -14
  25. package/dist/chunks/{repository-cache-3k5zc895.js → form-293yhkqp.js} +5 -5
  26. package/dist/chunks/{repository-cache-7dqw4kz8.js → form-2k8khapm.js} +5 -5
  27. package/dist/chunks/{repository-cache-nhf4vs0f.js → form-2q9fknbq.js} +12 -12
  28. package/dist/chunks/{repository-cache-cyzjpqgc.js → form-2r00bf87.js} +25 -25
  29. package/dist/chunks/{repository-cache-c765mh8b.js → form-2sejkfem.js} +9 -9
  30. package/dist/chunks/{repository-cache-fyv9rghq.js → form-2xh5ht5h.js} +3 -3
  31. package/dist/chunks/{repository-cache-dqkkx36v.js → form-2yt4cmmc.js} +4 -4
  32. package/dist/chunks/{repository-cache-atfxxx72.js → form-2ztv3xbn.js} +3 -3
  33. package/dist/chunks/{repository-cache-9fkx84pm.js → form-31fkayz7.js} +22 -22
  34. package/dist/chunks/{repository-cache-4y6kwa1w.js → form-3a2zxt72.js} +8 -8
  35. package/dist/chunks/{repository-cache-dsc6dxmh.js → form-3cswzw9g.js} +7 -7
  36. package/dist/chunks/{repository-cache-p8qee5dd.js → form-3d7d73y7.js} +6 -6
  37. package/dist/chunks/{repository-cache-z4ev155g.js → form-3e4a7xxm.js} +11 -11
  38. package/dist/chunks/{repository-cache-3hepkmqq.js → form-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{repository-cache-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{repository-cache-3smtnn6g.js → form-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{repository-cache-3tvqynh2.js → form-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{repository-cache-3zsf4n22.js → form-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{repository-cache-w4twd3tw.js → form-43xx6kda.js} +25 -25
  44. package/dist/chunks/{repository-cache-ahgrg4fe.js → form-440je11f.js} +36 -36
  45. package/dist/chunks/{repository-cache-mh32msp7.js → form-4553w93m.js} +2 -2
  46. package/dist/chunks/{repository-cache-04se7enf.js → form-46wtzjjz.js} +5 -5
  47. package/dist/chunks/{repository-cache-0ar81yxa.js → form-4jctyxs9.js} +27 -27
  48. package/dist/chunks/{repository-cache-g14xsv6s.js → form-50rkvycx.js} +23 -23
  49. package/dist/chunks/{repository-cache-xjqn2mzm.js → form-522p3b9e.js} +5 -5
  50. package/dist/chunks/{repository-cache-54ma36ye.js → form-54ma36ye.js} +1 -1
  51. package/dist/chunks/{repository-cache-hzrfc1p4.js → form-58072hz9.js} +3 -3
  52. package/dist/chunks/{repository-cache-j2wmg2r4.js → form-5b351nnx.js} +9 -9
  53. package/dist/chunks/{repository-cache-m5ac8kwq.js → form-5c36xey0.js} +29 -29
  54. package/dist/chunks/{repository-cache-pg4vymq4.js → form-5hmkpywb.js} +31 -31
  55. package/dist/chunks/{repository-cache-n882j125.js → form-5kmmw6ns.js} +31 -31
  56. package/dist/chunks/{repository-cache-5m9w47nd.js → form-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{repository-cache-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{repository-cache-92e46w1f.js → form-5tp7cf11.js} +12 -12
  59. package/dist/chunks/{repository-cache-z3eyvff3.js → form-5vfyv2px.js} +20 -20
  60. package/dist/chunks/{repository-cache-fnkj6y17.js → form-64hwtt3x.js} +9 -9
  61. package/dist/chunks/{repository-cache-frp158f6.js → form-65f8ybtn.js} +10 -10
  62. package/dist/chunks/{repository-cache-6827pfxn.js → form-6827pfxn.js} +1 -1
  63. package/dist/chunks/{repository-cache-c38fscx1.js → form-6emxyc9g.js} +1 -1
  64. package/dist/chunks/{repository-cache-59m3023s.js → form-6f7em8tn.js} +13 -13
  65. package/dist/chunks/{repository-cache-gbx5w9e0.js → form-6jgeearj.js} +14 -14
  66. package/dist/chunks/{repository-cache-e1mscf3d.js → form-6s0a03gm.js} +29 -29
  67. package/dist/chunks/form-6wr7nzx9.js +257 -0
  68. package/dist/chunks/{repository-cache-6xb47vfp.js → form-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{repository-cache-ye1k03a4.js → form-6yfxq52g.js} +3 -3
  70. package/dist/chunks/{repository-cache-axharnyz.js → form-7049gnx3.js} +32 -32
  71. package/dist/chunks/{repository-cache-b2492xjg.js → form-745spws3.js} +28 -28
  72. package/dist/chunks/{repository-cache-775gj3j1.js → form-775gj3j1.js} +2 -2
  73. package/dist/chunks/{repository-cache-nqx608f1.js → form-79kzwjp8.js} +11 -11
  74. package/dist/chunks/{repository-cache-7bmhse3q.js → form-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{repository-cache-xaf8j326.js → form-7c4aq7s6.js} +13 -13
  76. package/dist/chunks/{repository-cache-rjpvqnxg.js → form-7cs0wf9y.js} +9 -9
  77. package/dist/chunks/{repository-cache-80gay8fv.js → form-7evdcjn1.js} +4 -4
  78. package/dist/chunks/{repository-cache-314kp7wc.js → form-7nqnfc0d.js} +20 -20
  79. package/dist/chunks/{repository-cache-d5n8aweh.js → form-7p3wxydp.js} +29 -29
  80. package/dist/chunks/{repository-cache-d0m33awg.js → form-7pqmk9b7.js} +11 -11
  81. package/dist/chunks/{repository-cache-b3pexw4z.js → form-7t193933.js} +5 -5
  82. package/dist/chunks/{repository-cache-q3s5c4wd.js → form-7y1apa1f.js} +12 -12
  83. package/dist/chunks/{repository-cache-ntcd7r2c.js → form-7ztexanv.js} +15 -15
  84. package/dist/chunks/{repository-cache-84txncab.js → form-84txncab.js} +1 -1
  85. package/dist/chunks/{repository-cache-vpshk9t2.js → form-88yja26d.js} +11 -11
  86. package/dist/chunks/{repository-cache-sfq9t108.js → form-8a6hh32g.js} +18 -18
  87. package/dist/chunks/{repository-cache-pjxggghw.js → form-8fd1zqwe.js} +81 -81
  88. package/dist/chunks/{repository-cache-8m6m0r52.js → form-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{repository-cache-8mywswrd.js → form-8mywswrd.js} +1 -1
  90. package/dist/chunks/{repository-cache-vnqzk1gb.js → form-8p4v04p7.js} +3 -3
  91. package/dist/chunks/{repository-cache-z6jgmdqw.js → form-8tp1gwdj.js} +32 -32
  92. package/dist/chunks/{repository-cache-gy6q8pjn.js → form-8xnpz133.js} +5 -5
  93. package/dist/chunks/form-960ccn17.js +517 -0
  94. package/dist/chunks/{repository-cache-srv5nkk5.js → form-9bj0dwv2.js} +7 -7
  95. package/dist/chunks/{repository-cache-6dg8hvxd.js → form-9pkymny3.js} +21 -21
  96. package/dist/chunks/{repository-cache-px1ksxsk.js → form-9q9cc4yk.js} +15 -15
  97. package/dist/chunks/{repository-cache-a20pjse5.js → form-a20pjse5.js} +3 -3
  98. package/dist/chunks/{repository-cache-b89y6y9w.js → form-a6rgdr89.js} +32 -32
  99. package/dist/chunks/{repository-cache-6yncxzed.js → form-a8nkje97.js} +11 -11
  100. package/dist/chunks/{repository-cache-x661k3y3.js → form-addxnjmp.js} +4 -4
  101. package/dist/chunks/{repository-cache-h1532brx.js → form-admdf9qy.js} +24 -24
  102. package/dist/chunks/{repository-cache-ycy3dsx4.js → form-apsw5g4h.js} +9 -9
  103. package/dist/chunks/{repository-cache-w29cs0xs.js → form-as472svt.js} +16 -16
  104. package/dist/chunks/{repository-cache-kd5hk5hb.js → form-aspe32j5.js} +18 -18
  105. package/dist/chunks/{repository-cache-vc7fmfhz.js → form-b12fh71z.js} +12 -12
  106. package/dist/chunks/{repository-cache-z6c3x22d.js → form-b674v2dg.js} +5 -5
  107. package/dist/chunks/{repository-cache-b47jeb7t.js → form-b7jha8hs.js} +7 -7
  108. package/dist/chunks/{repository-cache-1b45vsnf.js → form-bc1hz80r.js} +16 -16
  109. package/dist/chunks/{repository-cache-a2rpfkac.js → form-bgc5ggmx.js} +4 -4
  110. package/dist/chunks/{repository-cache-7yyqgw31.js → form-bkschzhq.js} +13 -13
  111. package/dist/chunks/{repository-cache-6mwbv2j4.js → form-bmdqnj6f.js} +11 -11
  112. package/dist/chunks/{repository-cache-d0ky7b2n.js → form-bt0xk3k9.js} +40 -40
  113. package/dist/chunks/{repository-cache-xhfr7w54.js → form-bvr6saty.js} +28 -28
  114. package/dist/chunks/{repository-cache-1r08b1ze.js → form-byehbd7c.js} +11 -11
  115. package/dist/chunks/{repository-cache-c1fqxshp.js → form-c1fqxshp.js} +3 -3
  116. package/dist/chunks/{repository-cache-wnr41wz0.js → form-ccjfg0tr.js} +38 -38
  117. package/dist/chunks/{repository-cache-xf58effc.js → form-cg02sn39.js} +13 -13
  118. package/dist/chunks/{repository-cache-sjmbs52b.js → form-csrxhvh8.js} +59 -59
  119. package/dist/chunks/{repository-cache-76ehfx7y.js → form-d5hbq9vh.js} +48 -48
  120. package/dist/chunks/{repository-cache-g686f6pq.js → form-d7x0sh0y.js} +9 -9
  121. package/dist/chunks/{repository-cache-rccq1xcq.js → form-da7xf5ay.js} +29 -29
  122. package/dist/chunks/{repository-cache-avhvgy5k.js → form-ddjvg64n.js} +14 -14
  123. package/dist/chunks/{repository-cache-rma03sff.js → form-dgct1c5d.js} +9 -9
  124. package/dist/chunks/{repository-cache-0rytgdhm.js → form-djdfaxd1.js} +32 -32
  125. package/dist/chunks/{repository-cache-161qchch.js → form-dke6jjmt.js} +1 -1
  126. package/dist/chunks/{repository-cache-dpkg50ah.js → form-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{repository-cache-kmj26603.js → form-dq407baf.js} +3 -3
  128. package/dist/chunks/{repository-cache-hv879400.js → form-dys7k0s0.js} +7 -7
  129. package/dist/chunks/{repository-cache-2r2p8fzx.js → form-e0qnmsg8.js} +28 -28
  130. package/dist/chunks/{repository-cache-jwc1ahma.js → form-e3abpcc4.js} +29 -29
  131. package/dist/chunks/{repository-cache-b07jp80w.js → form-e6pqykgy.js} +4 -4
  132. package/dist/chunks/{repository-cache-4r9nnegq.js → form-e86gnere.js} +23 -23
  133. package/dist/chunks/{repository-cache-v7h4apfv.js → form-e9hz0076.js} +14 -14
  134. package/dist/chunks/{repository-cache-ghbjgsw7.js → form-ec9r64eb.js} +44 -44
  135. package/dist/chunks/{repository-cache-eej6y6fw.js → form-eej6y6fw.js} +2 -2
  136. package/dist/chunks/{repository-cache-ef5x83kb.js → form-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{repository-cache-0cg871e2.js → form-eh6ej367.js} +5 -5
  138. package/dist/chunks/{repository-cache-vbybff9w.js → form-evdvhfzx.js} +23 -23
  139. package/dist/chunks/{repository-cache-7cd0cd1q.js → form-exp1944n.js} +19 -19
  140. package/dist/chunks/{repository-cache-dn36g5j0.js → form-ezrgp273.js} +28 -28
  141. package/dist/chunks/{repository-cache-vktwk5kv.js → form-f0ftzx98.js} +9 -9
  142. package/dist/chunks/{repository-cache-vppn3xvj.js → form-f532e7gj.js} +27 -27
  143. package/dist/chunks/{repository-cache-3cs3gdnf.js → form-f6adby2b.js} +33 -33
  144. package/dist/chunks/{repository-cache-zxcvat1v.js → form-f8bcsxje.js} +2 -2
  145. package/dist/chunks/{repository-cache-69wpfr64.js → form-f93vdewn.js} +6 -6
  146. package/dist/chunks/{repository-cache-fcy631f0.js → form-fcy631f0.js} +1 -1
  147. package/dist/chunks/{repository-cache-5mv65mph.js → form-fn8k43nn.js} +20 -20
  148. package/dist/chunks/{repository-cache-qj368rjp.js → form-fs6b610g.js} +11 -11
  149. package/dist/chunks/{repository-cache-kvp13sbf.js → form-fv12q9k0.js} +13 -13
  150. package/dist/chunks/{repository-cache-c63mpyjp.js → form-fww2ha2b.js} +10 -10
  151. package/dist/chunks/{repository-cache-d4ex4t7m.js → form-g091zayf.js} +26 -26
  152. package/dist/chunks/{repository-cache-abshngws.js → form-g2jr9t01.js} +15 -15
  153. package/dist/chunks/{repository-cache-kb4h046s.js → form-g66bevh5.js} +10 -10
  154. package/dist/chunks/{repository-cache-v5ysgbsj.js → form-gcywmqd1.js} +11 -11
  155. package/dist/chunks/{repository-cache-gd4qta3r.js → form-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{repository-cache-86m4f4y9.js → form-gnzn9cn5.js} +1 -1
  157. package/dist/chunks/{repository-cache-ry5vqzb9.js → form-gr6bp44c.js} +15 -15
  158. package/dist/chunks/{repository-cache-zqfakkws.js → form-gyv5agwd.js} +4 -4
  159. package/dist/chunks/{repository-cache-xyx20s09.js → form-h4bnd9mc.js} +11 -11
  160. package/dist/chunks/{repository-cache-h6vf3j39.js → form-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{repository-cache-qkpkhkva.js → form-hdzv5k9p.js} +14 -14
  162. package/dist/chunks/{repository-cache-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
  163. package/dist/chunks/{repository-cache-3frchmgr.js → form-jdmw2rsk.js} +26 -26
  164. package/dist/chunks/{repository-cache-1yek6bdb.js → form-jh2ps5wy.js} +14 -14
  165. package/dist/chunks/{repository-cache-htyafsv3.js → form-jkjnadar.js} +12 -12
  166. package/dist/chunks/{repository-cache-mj2j2ta6.js → form-jxvnzpw8.js} +23 -23
  167. package/dist/chunks/{repository-cache-0dq0w1jq.js → form-jytfn6ja.js} +8 -8
  168. package/dist/chunks/{repository-cache-8qk5d3q5.js → form-jz13mca3.js} +25 -25
  169. package/dist/chunks/{repository-cache-tyhwyzay.js → form-k35dez0d.js} +11 -11
  170. package/dist/chunks/{repository-cache-xn26nr4q.js → form-k5yp4jza.js} +38 -38
  171. package/dist/chunks/{repository-cache-4xahkvr1.js → form-k9hrtvd5.js} +22 -22
  172. package/dist/chunks/{repository-cache-6yz0wx8n.js → form-kjdm35cs.js} +5 -5
  173. package/dist/chunks/{repository-cache-56chjs90.js → form-kjf4kcws.js} +15 -15
  174. package/dist/chunks/{repository-cache-zvjhkatg.js → form-kk8h1mek.js} +8 -8
  175. package/dist/chunks/{repository-cache-2kpvexxf.js → form-kn8ghv8t.js} +182 -182
  176. package/dist/chunks/{repository-cache-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
  177. package/dist/chunks/{repository-cache-bwva9967.js → form-m0j93tdc.js} +43 -43
  178. package/dist/chunks/{repository-cache-vt8aqadh.js → form-m1z5ek08.js} +8 -8
  179. package/dist/chunks/{repository-cache-5zh2xrv1.js → form-m2ymgz0z.js} +35 -35
  180. package/dist/chunks/{repository-cache-8egray66.js → form-m40er8qz.js} +11 -11
  181. package/dist/chunks/{repository-cache-5w4193mt.js → form-m7nc2rpb.js} +54 -54
  182. package/dist/chunks/{repository-cache-1n5bn1zm.js → form-m8xah3g8.js} +17 -17
  183. package/dist/chunks/{repository-cache-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{repository-cache-maspj1v3.js → form-maspj1v3.js} +1 -1
  185. package/dist/chunks/{repository-cache-f1mpmm74.js → form-mnxav5te.js} +3 -3
  186. package/dist/chunks/{repository-cache-8z19p36t.js → form-mpzfxbse.js} +3 -3
  187. package/dist/chunks/{repository-cache-52bg0ad9.js → form-mr25sape.js} +30 -30
  188. package/dist/chunks/{repository-cache-q4fmv0xv.js → form-mtrbqqrq.js} +5 -5
  189. package/dist/chunks/{repository-cache-qeew10aa.js → form-mtxvdp9r.js} +20 -20
  190. package/dist/chunks/{repository-cache-g0yf6pzc.js → form-my6mv4rd.js} +30 -30
  191. package/dist/chunks/{repository-cache-zt0s3nmc.js → form-mysqzpg8.js} +5 -5
  192. package/dist/chunks/{repository-cache-thsfkehz.js → form-n8nt0na6.js} +22 -22
  193. package/dist/chunks/form-n95b3jav.js +18 -0
  194. package/dist/chunks/{repository-cache-3g0wgjny.js → form-nem0pv7t.js} +25 -25
  195. package/dist/chunks/{repository-cache-7sdjsr81.js → form-njv48zzv.js} +18 -18
  196. package/dist/chunks/{repository-cache-p7a39gy5.js → form-nzq7ck9f.js} +6 -6
  197. package/dist/chunks/{repository-cache-scnkw924.js → form-p008bemp.js} +20 -20
  198. package/dist/chunks/{repository-cache-pa8pe2x7.js → form-p4mj4rdp.js} +8 -8
  199. package/dist/chunks/{repository-cache-213xhah1.js → form-p4ye8mev.js} +3 -3
  200. package/dist/chunks/{repository-cache-ne4p9z9f.js → form-p5y15tvy.js} +16 -16
  201. package/dist/chunks/{repository-cache-s8pfr3sa.js → form-pcymg39e.js} +20 -20
  202. package/dist/chunks/{repository-cache-68kcj400.js → form-pf1b2z5t.js} +32 -32
  203. package/dist/chunks/{repository-cache-4rjz15yc.js → form-phf263fg.js} +42 -42
  204. package/dist/chunks/{repository-cache-y0pqx9ee.js → form-phtk6n36.js} +45 -45
  205. package/dist/chunks/{repository-cache-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{repository-cache-dp622nh3.js → form-pkbhwwsm.js} +21 -21
  207. package/dist/chunks/{repository-cache-pknna89w.js → form-pknna89w.js} +1 -1
  208. package/dist/chunks/{repository-cache-qdgns3yy.js → form-ppf9jb57.js} +11 -11
  209. package/dist/chunks/{repository-cache-n2bfkdv4.js → form-prcpq60y.js} +5 -5
  210. package/dist/chunks/{repository-cache-cyd8k6yp.js → form-pw1h6ks1.js} +25 -25
  211. package/dist/chunks/{repository-cache-1xcax4md.js → form-px6wq6dz.js} +26 -26
  212. package/dist/chunks/{repository-cache-rkprpv83.js → form-py3kkmfq.js} +2 -2
  213. package/dist/chunks/{repository-cache-9mwy3bj8.js → form-q47bt154.js} +14 -14
  214. package/dist/chunks/{repository-cache-5d10bvnq.js → form-qha5ekyp.js} +4 -4
  215. package/dist/chunks/{repository-cache-qnc92qwc.js → form-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{repository-cache-8eb4w425.js → form-qpkfbzpg.js} +15 -15
  217. package/dist/chunks/{repository-cache-qsdy395h.js → form-qsdy395h.js} +1 -1
  218. package/dist/chunks/{repository-cache-sd1g7zk7.js → form-r9vpxkp0.js} +47 -47
  219. package/dist/chunks/{repository-cache-rdw6cm16.js → form-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{repository-cache-rert0e01.js → form-rert0e01.js} +2 -2
  221. package/dist/chunks/{repository-cache-8bk6jfgk.js → form-rgy0q2mm.js} +11 -11
  222. package/dist/chunks/{repository-cache-0gdmqesm.js → form-rhjbct0v.js} +4 -4
  223. package/dist/chunks/{repository-cache-rj3eygr5.js → form-rj3eygr5.js} +2 -2
  224. package/dist/chunks/{repository-cache-2xfc23b2.js → form-rmb1gw6x.js} +21 -21
  225. package/dist/chunks/{repository-cache-tz4n1mmd.js → form-rwm5vee1.js} +4 -4
  226. package/dist/chunks/{repository-cache-fm2qvscf.js → form-ryr25ayn.js} +4 -4
  227. package/dist/chunks/{repository-cache-azxbdxcx.js → form-s12ckd47.js} +10 -10
  228. package/dist/chunks/{repository-cache-sa8ekw3f.js → form-sa8ekw3f.js} +2 -2
  229. package/dist/chunks/{repository-cache-ggn007s3.js → form-sd97kvfg.js} +21 -21
  230. package/dist/chunks/{repository-cache-2hmm1e15.js → form-se8s5apy.js} +20 -20
  231. package/dist/chunks/{repository-cache-e80seqcp.js → form-sxcaecc0.js} +3 -3
  232. package/dist/chunks/{repository-cache-syv4x271.js → form-syv4x271.js} +1 -1
  233. package/dist/chunks/{repository-cache-xdf0ykp7.js → form-t16svwyk.js} +23 -23
  234. package/dist/chunks/{repository-cache-x91navb3.js → form-t2gndjp3.js} +7 -7
  235. package/dist/chunks/{repository-cache-tazgh4e4.js → form-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{repository-cache-qbqbaz6q.js → form-tbmac1c7.js} +4 -4
  237. package/dist/chunks/{repository-cache-tcezcvh9.js → form-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{repository-cache-tdstcens.js → form-tdstcens.js} +1 -1
  239. package/dist/chunks/{repository-cache-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{repository-cache-f8k7tqpr.js → form-ttfrdszx.js} +22 -22
  241. package/dist/chunks/{repository-cache-tyytaxap.js → form-tyytaxap.js} +1 -1
  242. package/dist/chunks/{repository-cache-v13b12ef.js → form-v13b12ef.js} +2 -2
  243. package/dist/chunks/{repository-cache-v210v162.js → form-v210v162.js} +2 -2
  244. package/dist/chunks/{repository-cache-ntm1cgex.js → form-v5rm5t0z.js} +18 -18
  245. package/dist/chunks/{repository-cache-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{repository-cache-veqvce7d.js → form-veqvce7d.js} +1 -1
  247. package/dist/chunks/{repository-cache-6t9tjhsk.js → form-vygwap6r.js} +3 -3
  248. package/dist/chunks/{repository-cache-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{repository-cache-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{repository-cache-1n1cqex2.js → form-w56rxd4n.js} +16 -16
  251. package/dist/chunks/{repository-cache-21fhc1jw.js → form-w78b8eew.js} +11 -11
  252. package/dist/chunks/{repository-cache-vht2c7bf.js → form-w8reh54w.js} +6 -6
  253. package/dist/chunks/{repository-cache-045nn9pc.js → form-waskdk5r.js} +8 -8
  254. package/dist/chunks/{repository-cache-wd87259q.js → form-wd87259q.js} +1 -1
  255. package/dist/chunks/{repository-cache-n0qazxv2.js → form-weqnn3ye.js} +91 -91
  256. package/dist/chunks/{repository-cache-drfn6gwd.js → form-wfa292tn.js} +9 -9
  257. package/dist/chunks/{repository-cache-5cd6vznj.js → form-wj1kajne.js} +8 -8
  258. package/dist/chunks/{repository-cache-sd8vqtn7.js → form-ww5ckzyq.js} +37 -37
  259. package/dist/chunks/{repository-cache-fkkvv55g.js → form-x07jzsrz.js} +16 -16
  260. package/dist/chunks/{repository-cache-drwq78ky.js → form-xfkkasph.js} +4 -4
  261. package/dist/chunks/{repository-cache-0f8kejsb.js → form-xp2zd69v.js} +22 -22
  262. package/dist/chunks/{repository-cache-kg45811x.js → form-xqqvwv5j.js} +11 -11
  263. package/dist/chunks/{repository-cache-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
  264. package/dist/chunks/{repository-cache-y56ehv6b.js → form-y56ehv6b.js} +2 -2
  265. package/dist/chunks/{repository-cache-ht6gncry.js → form-y98rys2n.js} +11 -11
  266. package/dist/chunks/{repository-cache-m3n8w99j.js → form-ybax1fzm.js} +2 -2
  267. package/dist/chunks/{repository-cache-92m64p6f.js → form-ycwe7tdf.js} +15 -15
  268. package/dist/chunks/{repository-cache-1d5acrpd.js → form-ydgbnz16.js} +1 -1
  269. package/dist/chunks/{repository-cache-rvjhec0b.js → form-yf054wvd.js} +28 -28
  270. package/dist/chunks/{repository-cache-td613cjm.js → form-ysn0w3pq.js} +70 -70
  271. package/dist/chunks/{repository-cache-ywt8jp22.js → form-ywt8jp22.js} +2 -2
  272. package/dist/chunks/{repository-cache-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{repository-cache-z18fegx4.js → form-z18fegx4.js} +1 -1
  274. package/dist/chunks/{repository-cache-v8jthr7x.js → form-z3yspz9a.js} +21 -21
  275. package/dist/chunks/{repository-cache-qh8vdwx1.js → form-z9qyhhpt.js} +8 -8
  276. package/dist/chunks/{repository-cache-8hht930z.js → form-zc34vfrd.js} +11 -11
  277. package/dist/chunks/{repository-cache-593nqyk2.js → form-ze4ea8mz.js} +11 -11
  278. package/dist/chunks/{repository-cache-8s4zq5p9.js → form-ze75yzft.js} +8 -8
  279. package/dist/chunks/{repository-cache-f78sms3n.js → form-zhgq12gm.js} +30 -30
  280. package/dist/chunks/{repository-cache-bb4j8mte.js → form-zjfytr3m.js} +18 -18
  281. package/dist/chunks/{repository-cache-pjhexp1d.js → form-zk2qw2pd.js} +13 -13
  282. package/dist/chunks/{repository-cache-8xebk442.js → form-zn6cgmq1.js} +37 -37
  283. package/dist/chunks/{repository-cache-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-cache-xt3a7zk5.js → form-zt93p4vm.js} +21 -21
  285. package/dist/chunks/{repository-cache-95ncemsy.js → form-zx85k7gh.js} +9 -9
  286. package/dist/chunks/{repository-cache-zxq2ej10.js → form-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{repository-cache-ysasxc1a.js → form-zygegkxh.js} +19 -19
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +81 -81
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +108 -108
  429. package/dist/form.js +80 -80
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +136 -136
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +88 -88
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +119 -119
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +84 -84
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +74 -74
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +114 -114
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +123 -123
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +123 -123
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +123 -123
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +132 -132
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +6 -6
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +82 -82
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +89 -89
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +214 -214
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +116 -116
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +5 -5
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/repository-cache-1x11rq2a.js +0 -18
  693. package/dist/chunks/repository-cache-87b1qs38.js +0 -517
  694. package/dist/chunks/repository-cache-n48d28kv.js +0 -257
  695. /package/dist/chunks/{repository-cache-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{repository-cache-0zkw76rk.js → form-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{repository-cache-17cy0kzp.js → form-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{repository-cache-1cnp2v09.js → form-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{repository-cache-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{repository-cache-24dcb14g.js → form-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{repository-cache-2710q6r3.js → form-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{repository-cache-2axfhc9x.js → form-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{repository-cache-2bv980vf.js → form-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{repository-cache-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{repository-cache-359p4xyc.js → form-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{repository-cache-3asan66x.js → form-3asan66x.js} +0 -0
  707. /package/dist/chunks/{repository-cache-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{repository-cache-3v8g72cx.js → form-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{repository-cache-3wcehsnq.js → form-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{repository-cache-43n2bw4t.js → form-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{repository-cache-4knz6hnm.js → form-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{repository-cache-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{repository-cache-4y7fprxs.js → form-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{repository-cache-53557ph1.js → form-53557ph1.js} +0 -0
  715. /package/dist/chunks/{repository-cache-550bvhaj.js → form-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{repository-cache-6prwharc.js → form-6prwharc.js} +0 -0
  717. /package/dist/chunks/{repository-cache-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{repository-cache-7akdwqpd.js → form-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{repository-cache-7m9af43g.js → form-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{repository-cache-822emrt2.js → form-822emrt2.js} +0 -0
  721. /package/dist/chunks/{repository-cache-84wd9syh.js → form-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{repository-cache-88xbtdfr.js → form-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{repository-cache-8n3pysct.js → form-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{repository-cache-8wj87zfr.js → form-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{repository-cache-9a4afbnw.js → form-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{repository-cache-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{repository-cache-a6k6eb26.js → form-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{repository-cache-af5trqkr.js → form-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{repository-cache-afrmfg78.js → form-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{repository-cache-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{repository-cache-atq7p7m5.js → form-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{repository-cache-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{repository-cache-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{repository-cache-cf4snx6d.js → form-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{repository-cache-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{repository-cache-d9fn303g.js → form-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{repository-cache-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{repository-cache-dajrwvna.js → form-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{repository-cache-dap0rakb.js → form-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{repository-cache-df08tz66.js → form-df08tz66.js} +0 -0
  741. /package/dist/chunks/{repository-cache-dy18nga0.js → form-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{repository-cache-e5kj55wp.js → form-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{repository-cache-e73j6tqm.js → form-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{repository-cache-ec1grn59.js → form-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{repository-cache-eh3zwz77.js → form-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{repository-cache-emrn6kk6.js → form-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{repository-cache-f0mxakyp.js → form-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{repository-cache-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{repository-cache-faypxj3z.js → form-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{repository-cache-fd410y7t.js → form-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{repository-cache-g4wezp1m.js → form-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{repository-cache-g86h250q.js → form-g86h250q.js} +0 -0
  753. /package/dist/chunks/{repository-cache-gebd4c9n.js → form-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{repository-cache-gftt206x.js → form-gftt206x.js} +0 -0
  755. /package/dist/chunks/{repository-cache-hcxmzztb.js → form-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{repository-cache-hk9envan.js → form-hk9envan.js} +0 -0
  757. /package/dist/chunks/{repository-cache-j2ntwpah.js → form-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{repository-cache-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{repository-cache-jjkms2e6.js → form-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{repository-cache-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{repository-cache-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{repository-cache-jze0r7bz.js → form-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{repository-cache-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{repository-cache-m18g726c.js → form-m18g726c.js} +0 -0
  765. /package/dist/chunks/{repository-cache-mp448xyj.js → form-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{repository-cache-msx8hqn2.js → form-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{repository-cache-n05xt0ee.js → form-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{repository-cache-n3j8tn72.js → form-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{repository-cache-njntx4h6.js → form-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{repository-cache-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{repository-cache-pyv0edze.js → form-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{repository-cache-q3sfg36h.js → form-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{repository-cache-q74kybfr.js → form-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{repository-cache-qaymkmh1.js → form-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{repository-cache-qb87gjwd.js → form-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{repository-cache-qfa1cgps.js → form-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{repository-cache-qg3g05ea.js → form-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{repository-cache-qrg20bc0.js → form-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{repository-cache-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{repository-cache-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{repository-cache-ssg3fenm.js → form-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{repository-cache-ve7vex1e.js → form-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{repository-cache-w803qqfp.js → form-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{repository-cache-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{repository-cache-wer8tq1h.js → form-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{repository-cache-wjj7prxr.js → form-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{repository-cache-wtztk69x.js → form-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{repository-cache-x0ckcb58.js → form-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{repository-cache-x61499pn.js → form-x61499pn.js} +0 -0
  790. /package/dist/chunks/{repository-cache-y44na4kk.js → form-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{repository-cache-y8f7s663.js → form-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{repository-cache-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{repository-cache-ym463w8f.js → form-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{repository-cache-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{repository-cache-z9919s4g.js → form-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-cache-dpkg50ah.js";
3
+ } from "./form-dpkg50ah.js";
4
4
  import {
5
- Service84,
6
- node88
7
- } from "./repository-cache-92e46w1f.js";
5
+ Service85,
6
+ node89
7
+ } from "./form-5tp7cf11.js";
8
8
  import {
9
9
  Event19,
10
- Service78,
10
+ Service79,
11
11
  node82
12
- } from "./repository-cache-9fkx84pm.js";
12
+ } from "./form-31fkayz7.js";
13
13
  import {
14
14
  Service82,
15
15
  node86
16
- } from "./repository-cache-zxcvat1v.js";
16
+ } from "./form-f8bcsxje.js";
17
17
  import {
18
- Service74,
19
- node77
20
- } from "./repository-cache-2xfc23b2.js";
18
+ Service56,
19
+ node59
20
+ } from "./form-rmb1gw6x.js";
21
21
  import {
22
- ID15,
23
- Service79,
22
+ ID16,
23
+ Service80,
24
24
  node83
25
- } from "./repository-cache-v8jthr7x.js";
25
+ } from "./form-z3yspz9a.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./repository-cache-rdw6cm16.js";
29
+ } from "./form-rdw6cm16.js";
30
30
  import {
31
- ID13,
31
+ ID14,
32
32
  MethodID2,
33
- Service77,
33
+ Service78,
34
34
  node81
35
- } from "./repository-cache-h1532brx.js";
35
+ } from "./form-admdf9qy.js";
36
36
  import {
37
37
  __export
38
- } from "./repository-cache-9rqn6x4v.js";
38
+ } from "./form-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: () => NotFoundError2,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service28,
52
+ Service: () => Service38,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured3,
56
- layer: () => layer14,
57
- node: () => node31
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 NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service28 extends Context.Service()("@opencode/MCP") {
106
+ class Service38 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
108
  var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
@@ -111,13 +111,13 @@ var Options3 = Schema.Struct({
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service28, Effect.gen(function* () {
114
+ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
115
115
  const location = yield* Service82;
116
- const environment = yield* Service74;
117
- const bus = yield* Service84;
118
- const forms = yield* Service79;
119
- const integration = yield* Service77;
120
- const credentials = yield* Service78;
116
+ const environment = yield* Service56;
117
+ const bus = yield* Service85;
118
+ const forms = yield* Service80;
119
+ const integration = yield* Service78;
120
+ const credentials = yield* Service79;
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(Service28, 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(Service28, 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(Service78, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service28, 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 NotFoundError2({ 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(Service78, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID15.create();
169
+ const formID = ID16.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(Service28, 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(Service74, 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(Service56, 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(Service28, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service28.of({
423
+ return Service38.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
532
532
  }
533
533
  function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service28,
536
- layer: layer14(options),
537
- deps: [node86, node77, node88, node83, node81, node82]
535
+ service: Service38,
536
+ layer: layer17(options),
537
+ deps: [node86, node59, node89, node83, node81, node82]
538
538
  });
539
539
  }
540
- var node31 = configured3();
540
+ var node42 = configured3();
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, NotFoundError2, ToolCallError2, Service28, Options3, layer14, configured3, node31, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options3, layer17, configured3, node42, exports_mcp4 };
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID6,
3
- Service43
4
- } from "./repository-cache-0ar81yxa.js";
2
+ ID12,
3
+ Service76
4
+ } from "./form-4jctyxs9.js";
5
5
  import {
6
6
  Ref2,
7
- Service70
8
- } from "./repository-cache-52bg0ad9.js";
7
+ Service69
8
+ } from "./form-mr25sape.js";
9
9
  import {
10
10
  latest2,
11
- Service66
12
- } from "./repository-cache-xn26nr4q.js";
11
+ Service53
12
+ } from "./form-k5yp4jza.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./repository-cache-hzrfc1p4.js";
15
+ } from "./form-58072hz9.js";
16
16
  import {
17
- Service39
18
- } from "./repository-cache-1b45vsnf.js";
17
+ Service65
18
+ } from "./form-bc1hz80r.js";
19
19
  import {
20
20
  evaluate2,
21
- Service40
22
- } from "./repository-cache-sjmbs52b.js";
21
+ Service73
22
+ } from "./form-csrxhvh8.js";
23
23
  import {
24
- Service17
25
- } from "./repository-cache-n0qazxv2.js";
24
+ Service28
25
+ } from "./form-weqnn3ye.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./repository-cache-6xb47vfp.js";
28
+ } from "./form-6xb47vfp.js";
29
29
  import {
30
- Service9
31
- } from "./repository-cache-ysasxc1a.js";
30
+ Service10
31
+ } from "./form-zygegkxh.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./form-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input4,
40
- Output: () => Output4,
41
- Plugin: () => Plugin23,
39
+ Input: () => Input13,
40
+ Output: () => Output9,
41
+ Plugin: () => Plugin15,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name4
43
+ description: () => description5,
44
+ name: () => name13
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name4 = "subagent";
48
+ var name13 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input4 = Schema.Struct({
59
+ var Input13 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input4 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output4 = Schema.Struct({
75
+ var Output9 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description5 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description2 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin23 = {
89
+ var Plugin15 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service17;
93
- const jobs = yield* Service39;
94
- const agents = yield* Service43;
95
- const config = yield* Service66;
96
- const permission = yield* Service40;
97
- const models = yield* Service70;
98
- const subagents = yield* Service9;
92
+ const sessions = yield* Service28;
93
+ const jobs = yield* Service65;
94
+ const agents = yield* Service76;
95
+ const config = yield* Service53;
96
+ const permission = yield* Service73;
97
+ const models = yield* Service69;
98
+ const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin23 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name13,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input4,
122
- output: Output4,
120
+ description: description5,
121
+ input: Input13,
122
+ output: Output9,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin23 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name4,
142
+ action: name13,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin23 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID6.make(input.agent),
171
+ agent: ID12.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name4 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name13 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name4];
233
+ const tool = event.tools[name13];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name4, Input4, Output4, description2, Plugin23, exports_subagent };
256
+ export { name13, Input13, Output9, description5, Plugin15, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./repository-cache-xn26nr4q.js";
3
+ Service53
4
+ } from "./form-k5yp4jza.js";
5
5
  import {
6
6
  observe2
7
- } from "./repository-cache-qsdy395h.js";
7
+ } from "./form-qsdy395h.js";
8
8
  import {
9
- Service40
10
- } from "./repository-cache-sjmbs52b.js";
9
+ Service73
10
+ } from "./form-csrxhvh8.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-cache-9rqn6x4v.js";
13
+ } from "./form-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/todo.ts
16
16
  var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
- Input: () => Input2,
20
- Output: () => Output2,
21
- Plugin: () => Plugin21,
19
+ Input: () => Input9,
20
+ Output: () => Output6,
21
+ Plugin: () => Plugin11,
22
22
  TodoTool: () => exports_todo,
23
- name: () => name2,
23
+ name: () => name9,
24
24
  summarize: () => summarize2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
37
37
  `;
38
38
 
39
39
  // src/tool/plugin/todo.ts
40
- var name2 = "todowrite";
40
+ var name9 = "todowrite";
41
41
  var Info2 = Schema.Struct({
42
42
  content: Schema.String.annotate({ description: "Brief description of the task" }),
43
43
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
44
44
  description: "Current status of the task: pending, in_progress, completed, cancelled"
45
45
  })
46
46
  });
47
- var Input2 = Schema.Struct({
47
+ var Input9 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
- var Output2 = Schema.Struct({
50
+ var Output6 = Schema.Struct({
51
51
  todos: Schema.Array(Info2)
52
52
  });
53
53
  var summarize2 = (todos) => {
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin21 = {
64
+ var Plugin11 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service66;
68
- const permission = yield* Service40;
67
+ const config = yield* Service53;
68
+ const permission = yield* Service73;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
72
72
  if (!enabled())
73
73
  return;
74
74
  editor.add({
75
- name: name2,
75
+ name: name9,
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
- input: Input2,
79
- output: Output2,
78
+ input: Input9,
79
+ output: Output6,
80
80
  execute: (input, context) => permission.assert({
81
- action: name2,
81
+ action: name9,
82
82
  resources: ["*"],
83
83
  save: ["*"],
84
84
  sessionID: context.sessionID,
@@ -94,4 +94,4 @@ var Plugin21 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name2, Info2, Input2, Output2, summarize2, Plugin21, exports_todo };
97
+ export { name9, Info2, Input9, Output6, summarize2, Plugin11, exports_todo };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-cache-qfa1cgps.js";
3
+ } from "./form-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./form-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured10,
11
- layer: () => layer27,
12
- make: () => make20,
13
- node: () => node75,
10
+ configured: () => configured11,
11
+ layer: () => layer28,
12
+ make: () => make21,
13
+ node: () => node84,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make20()
19
+ defaultValue: () => make21()
20
20
  });
21
- function make20(input = {}) {
21
+ function make21(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make20(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer27 = (input) => Layer.succeed(Metadata2, make20(input));
32
- var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer27(input), deps: [] });
33
- var node75 = configured10();
31
+ var layer28 = (input) => Layer.succeed(Metadata2, make21(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer28(input), deps: [] });
33
+ var node84 = configured11();
34
34
 
35
- export { Metadata2, make20, useragent2, layer27, configured10, node75, exports_app };
35
+ export { Metadata2, make21, useragent2, layer28, configured11, node84, exports_app };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-cache-qdgns3yy.js";
3
+ } from "./form-ppf9jb57.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-cache-9rqn6x4v.js";
6
+ } from "./form-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin42,
11
+ Plugin: () => Plugin41,
12
12
  WebSearchTavily: () => exports_tavily,
13
13
  endpoint: () => endpoint6
14
14
  });
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin42 = define({
32
+ var Plugin41 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -77,4 +77,4 @@ var Plugin42 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin42, exports_tavily };
80
+ export { endpoint6, Plugin41, exports_tavily };