@opencode/core 0.0.0-dev-21570 → 0.0.0-dev-21578

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{app-nh8v8ke6.js → model-retry-00qqvw2m.js} +21 -21
  8. package/dist/chunks/{app-aj7mw0zk.js → model-retry-034tev2y.js} +2 -2
  9. package/dist/chunks/{app-33wj402p.js → model-retry-059af6b1.js} +36 -36
  10. package/dist/chunks/{app-956c56jz.js → model-retry-0gka690g.js} +2 -2
  11. package/dist/chunks/{app-w687dnns.js → model-retry-0h8y3ex8.js} +4 -4
  12. package/dist/chunks/{app-93rhewbm.js → model-retry-0mt5amvr.js} +23 -23
  13. package/dist/chunks/{app-efn85jpf.js → model-retry-0sjdd7gq.js} +3 -3
  14. package/dist/chunks/{app-kqxxwkn3.js → model-retry-0vh00qd5.js} +15 -15
  15. package/dist/chunks/{app-snvvzbj8.js → model-retry-156av61h.js} +46 -46
  16. package/dist/chunks/{app-yhn0a50f.js → model-retry-15pq58mc.js} +24 -24
  17. package/dist/chunks/{app-pyp72qgk.js → model-retry-15tgtsbh.js} +20 -20
  18. package/dist/chunks/{app-9r0x1bva.js → model-retry-1602d4m9.js} +9 -9
  19. package/dist/chunks/{app-ydsespw1.js → model-retry-160yv0cs.js} +4 -4
  20. package/dist/chunks/{app-e5gw6wwr.js → model-retry-1aerx206.js} +10 -10
  21. package/dist/chunks/{app-hne7gxgz.js → model-retry-1b4vpzzn.js} +34 -34
  22. package/dist/chunks/{app-27w5k9zf.js → model-retry-1ep2p91f.js} +2 -2
  23. package/dist/chunks/{app-3yme8bqy.js → model-retry-1fg7mrfs.js} +16 -16
  24. package/dist/chunks/{app-3j99hnw3.js → model-retry-1g7gxgxj.js} +33 -33
  25. package/dist/chunks/{app-4cxsxbgt.js → model-retry-1h8v3mbs.js} +19 -19
  26. package/dist/chunks/{app-q732j4yv.js → model-retry-1k9s1gkt.js} +14 -14
  27. package/dist/chunks/{app-7v5ecr6b.js → model-retry-1v7r97e1.js} +10 -10
  28. package/dist/chunks/{app-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  29. package/dist/chunks/{app-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
  30. package/dist/chunks/{app-s170k3xw.js → model-retry-23g4abx1.js} +23 -23
  31. package/dist/chunks/{app-z5ch3v5q.js → model-retry-24ag2nfj.js} +1 -1
  32. package/dist/chunks/{app-wjdw9j8d.js → model-retry-2ah2hb02.js} +4 -4
  33. package/dist/chunks/{app-6wb2zb64.js → model-retry-2d67wzxw.js} +20 -20
  34. package/dist/chunks/{app-z6fsbrec.js → model-retry-2j4z7awa.js} +3 -3
  35. package/dist/chunks/{app-ttpcrarc.js → model-retry-2qyq8kt6.js} +8 -8
  36. package/dist/chunks/{app-k9b5863x.js → model-retry-2v2pdhf7.js} +9 -9
  37. package/dist/chunks/{app-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
  38. package/dist/chunks/{app-7xw28p93.js → model-retry-34j3c5g8.js} +26 -26
  39. package/dist/chunks/{app-wrh8ttgh.js → model-retry-35ssvayj.js} +35 -35
  40. package/dist/chunks/{app-svw9b4tv.js → model-retry-362tp65q.js} +8 -8
  41. package/dist/chunks/{app-0kkqynqr.js → model-retry-37psetzb.js} +191 -191
  42. package/dist/chunks/{app-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{app-b5rmxzna.js → model-retry-3jpry3mm.js} +11 -11
  44. package/dist/chunks/{app-tmc7xdjs.js → model-retry-3nnrz6f6.js} +4 -4
  45. package/dist/chunks/{app-y8t6cpt7.js → model-retry-3pfffbn2.js} +12 -12
  46. package/dist/chunks/{app-hhafapa0.js → model-retry-3t73xeyv.js} +2 -2
  47. package/dist/chunks/{app-htx6nhp5.js → model-retry-3wqf40ez.js} +7 -7
  48. package/dist/chunks/{app-wf9nn3bs.js → model-retry-3yfh5vy1.js} +11 -11
  49. package/dist/chunks/{app-7wxrbrvg.js → model-retry-3z93btg0.js} +28 -28
  50. package/dist/chunks/{app-2x6dhx7z.js → model-retry-3zfnvm0t.js} +3 -3
  51. package/dist/chunks/{app-hfrd5zd9.js → model-retry-40m9e2d0.js} +11 -11
  52. package/dist/chunks/{app-cnda3w9r.js → model-retry-45yg3mqn.js} +9 -9
  53. package/dist/chunks/{app-210jfvy6.js → model-retry-47853hma.js} +14 -14
  54. package/dist/chunks/{app-whb6jbxc.js → model-retry-498wt34r.js} +12 -12
  55. package/dist/chunks/{app-k1r9t87x.js → model-retry-4bxv2e09.js} +16 -16
  56. package/dist/chunks/{app-c5c0bz0t.js → model-retry-4dg124c5.js} +5 -5
  57. package/dist/chunks/{app-1y8dm7ap.js → model-retry-4dy0rzf7.js} +21 -21
  58. package/dist/chunks/{app-9e4t472b.js → model-retry-4naewhem.js} +7 -7
  59. package/dist/chunks/{app-c1bqr4jn.js → model-retry-4s75dghy.js} +5 -5
  60. package/dist/chunks/{app-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  61. package/dist/chunks/{app-3ft77epc.js → model-retry-4xbwwm4q.js} +9 -9
  62. package/dist/chunks/{app-4xvmh7wp.js → model-retry-4xvmh7wp.js} +3 -3
  63. package/dist/chunks/{app-3vvwd6ke.js → model-retry-52zykg91.js} +11 -11
  64. package/dist/chunks/{app-4f3sm4z4.js → model-retry-5afnvqtn.js} +17 -17
  65. package/dist/chunks/{app-73xz0dh8.js → model-retry-5e3jct5k.js} +5 -5
  66. package/dist/chunks/{app-as49vg6k.js → model-retry-5gqydat8.js} +32 -32
  67. package/dist/chunks/{app-3xwkv16t.js → model-retry-5kggx843.js} +335 -335
  68. package/dist/chunks/{app-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{app-pvn5ra1s.js → model-retry-5mhdx2nw.js} +10 -10
  70. package/dist/chunks/{app-jfpsek1t.js → model-retry-60qt7jm7.js} +11 -11
  71. package/dist/chunks/{app-jes3kmg5.js → model-retry-61crdd5b.js} +32 -32
  72. package/dist/chunks/{app-ce9s6z8c.js → model-retry-637q83rh.js} +15 -15
  73. package/dist/chunks/{app-qrn4wzgg.js → model-retry-68rqd4da.js} +19 -19
  74. package/dist/chunks/{app-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
  75. package/dist/chunks/{app-x62jdknq.js → model-retry-6ms03s6h.js} +14 -14
  76. package/dist/chunks/{app-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
  77. package/dist/chunks/model-retry-6zjm2phc.js +18 -0
  78. package/dist/chunks/{app-569sdvd3.js → model-retry-74ptejxy.js} +8 -8
  79. package/dist/chunks/{app-5gnmyaq2.js → model-retry-756ss4w1.js} +5 -5
  80. package/dist/chunks/{app-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
  81. package/dist/chunks/{app-nah043kf.js → model-retry-770pw0s1.js} +4 -4
  82. package/dist/chunks/{app-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{app-25vgcjra.js → model-retry-7chdqnqr.js} +21 -21
  84. package/dist/chunks/{app-p814keat.js → model-retry-7h34a4m7.js} +24 -24
  85. package/dist/chunks/{app-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{app-zm3cpays.js → model-retry-86c107cp.js} +14 -14
  87. package/dist/chunks/{app-vrh99vxp.js → model-retry-88ygbdnp.js} +5 -5
  88. package/dist/chunks/{app-rsd1vv3y.js → model-retry-8b8xytn3.js} +35 -35
  89. package/dist/chunks/{app-sp9905ca.js → model-retry-8cnpnqcj.js} +19 -19
  90. package/dist/chunks/{app-3v0zq4wp.js → model-retry-8cqc0595.js} +14 -14
  91. package/dist/chunks/{app-9vd5hnnp.js → model-retry-8mjcdb5t.js} +13 -13
  92. package/dist/chunks/{app-zkepmczw.js → model-retry-8q7mv1dj.js} +4 -4
  93. package/dist/chunks/{app-tasvem1v.js → model-retry-8sxdqgb0.js} +6 -6
  94. package/dist/chunks/{app-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  95. package/dist/chunks/{app-91rj84md.js → model-retry-91rj84md.js} +1 -1
  96. package/dist/chunks/{app-nwr7kgq9.js → model-retry-94vx47d3.js} +11 -11
  97. package/dist/chunks/{app-zdesn8ss.js → model-retry-98bxk4dy.js} +28 -28
  98. package/dist/chunks/{app-dvj9ct8m.js → model-retry-998yhzzq.js} +3 -3
  99. package/dist/chunks/{app-pacbbjc0.js → model-retry-9b28cy4d.js} +5 -5
  100. package/dist/chunks/{app-r6kz875z.js → model-retry-9c2rytg1.js} +13 -13
  101. package/dist/chunks/{app-5cc3rvwm.js → model-retry-9m15hg5h.js} +82 -82
  102. package/dist/chunks/{app-k60vrjeg.js → model-retry-9p4ckb4p.js} +6 -6
  103. package/dist/chunks/{app-jae53m2x.js → model-retry-9t2khtsw.js} +11 -11
  104. package/dist/chunks/{app-d3p229mm.js → model-retry-9y7tqj94.js} +12 -12
  105. package/dist/chunks/{app-4qv1he3d.js → model-retry-awk29ysz.js} +50 -50
  106. package/dist/chunks/{app-3cbjf1nt.js → model-retry-ayjs7tqn.js} +2 -2
  107. package/dist/chunks/{app-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
  108. package/dist/chunks/{app-5nnwax6m.js → model-retry-b6vsg801.js} +5 -5
  109. package/dist/chunks/{app-0twgbthj.js → model-retry-bez4y6k8.js} +16 -16
  110. package/dist/chunks/{app-00zh2tpm.js → model-retry-bqkj7jx5.js} +8 -8
  111. package/dist/chunks/{app-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  112. package/dist/chunks/{app-6w4saq69.js → model-retry-cae67mny.js} +44 -44
  113. package/dist/chunks/{app-cqp8bbqc.js → model-retry-cgc2w6x5.js} +12 -12
  114. package/dist/chunks/{app-etcq3wj6.js → model-retry-cpfftq47.js} +87 -87
  115. package/dist/chunks/{app-kd4chd64.js → model-retry-cpvd08na.js} +7 -7
  116. package/dist/chunks/{app-anvrad6f.js → model-retry-csbt6w95.js} +21 -21
  117. package/dist/chunks/{app-wsxy8nck.js → model-retry-cx4pt2gs.js} +40 -40
  118. package/dist/chunks/{app-yt57kqfa.js → model-retry-cxzgb9c8.js} +7 -7
  119. package/dist/chunks/{app-c9t2ty9q.js → model-retry-d2887f8n.js} +4 -4
  120. package/dist/chunks/{app-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  121. package/dist/chunks/{app-hh1m5t0r.js → model-retry-d7s86mhq.js} +10 -10
  122. package/dist/chunks/{app-fh92gkhk.js → model-retry-df4avf2z.js} +7 -7
  123. package/dist/chunks/{app-e8pm465n.js → model-retry-e29sndgb.js} +4 -4
  124. package/dist/chunks/{app-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
  125. package/dist/chunks/{app-e834z07m.js → model-retry-e834z07m.js} +1 -1
  126. package/dist/chunks/{app-grvayz05.js → model-retry-ecdzwr7h.js} +28 -28
  127. package/dist/chunks/{app-ef5x83kb.js → model-retry-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{app-2qv7s079.js → model-retry-eg39tzjz.js} +5 -5
  129. package/dist/chunks/{app-kbmq0v6f.js → model-retry-egmw08v6.js} +5 -5
  130. package/dist/chunks/{app-xdts610a.js → model-retry-eq10afbe.js} +37 -37
  131. package/dist/chunks/{app-k5y4r48d.js → model-retry-erxntyyz.js} +25 -25
  132. package/dist/chunks/{app-vdcfetgk.js → model-retry-esgzgmhw.js} +39 -39
  133. package/dist/chunks/{app-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  134. package/dist/chunks/{app-86jbmjy0.js → model-retry-fgshpn0g.js} +16 -16
  135. package/dist/chunks/{app-79b21x4r.js → model-retry-ft03bety.js} +7 -7
  136. package/dist/chunks/{app-rmnrnby4.js → model-retry-g1mbn82r.js} +33 -33
  137. package/dist/chunks/{app-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
  138. package/dist/chunks/{app-jcqm84fr.js → model-retry-gcjdgkn2.js} +9 -9
  139. package/dist/chunks/{app-31wms35x.js → model-retry-h0ppebc3.js} +8 -8
  140. package/dist/chunks/{app-vgx47e1e.js → model-retry-h48zeanh.js} +3 -3
  141. package/dist/chunks/{app-ge9weg3j.js → model-retry-hdpt19v3.js} +18 -18
  142. package/dist/chunks/{app-26bpbd1f.js → model-retry-hkav5kft.js} +25 -25
  143. package/dist/chunks/{app-kjzcdnr5.js → model-retry-hqnmqx0e.js} +47 -47
  144. package/dist/chunks/{app-38dzhn5x.js → model-retry-hv6nf1gc.js} +41 -41
  145. package/dist/chunks/{app-1jtf53by.js → model-retry-hzpyh7h9.js} +4 -4
  146. package/dist/chunks/{app-j113cymg.js → model-retry-j113cymg.js} +1 -1
  147. package/dist/chunks/{app-2y353qze.js → model-retry-j21bkcez.js} +15 -15
  148. package/dist/chunks/{app-djzk6aem.js → model-retry-j3dvs0xp.js} +4 -4
  149. package/dist/chunks/{app-sft389ej.js → model-retry-j3gdx3ts.js} +18 -18
  150. package/dist/chunks/{app-19b0nq78.js → model-retry-j4tgmvzd.js} +44 -44
  151. package/dist/chunks/{app-n5cwa87a.js → model-retry-j7t09cbk.js} +26 -26
  152. package/dist/chunks/{app-s8vp3f5v.js → model-retry-jezcxpfe.js} +18 -18
  153. package/dist/chunks/{app-5p205wab.js → model-retry-jkg2pe84.js} +4 -4
  154. package/dist/chunks/{app-5dtf0xw8.js → model-retry-k0te6n7r.js} +11 -11
  155. package/dist/chunks/{app-ak5m35an.js → model-retry-k2e8739q.js} +6 -6
  156. package/dist/chunks/{app-2g37s6n5.js → model-retry-k2k3qgkf.js} +11 -11
  157. package/dist/chunks/{app-jsxsss6h.js → model-retry-k3jmrcrs.js} +18 -18
  158. package/dist/chunks/{app-t8fe48pd.js → model-retry-k60vgq4n.js} +1 -1
  159. package/dist/chunks/{app-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
  160. package/dist/chunks/{app-ssr08r1k.js → model-retry-kg4c4gfk.js} +34 -34
  161. package/dist/chunks/{app-ym0en988.js → model-retry-kh0bkhb3.js} +15 -15
  162. package/dist/chunks/{app-18harhtr.js → model-retry-knx0jzac.js} +13 -13
  163. package/dist/chunks/{app-kjwktd7k.js → model-retry-kqpfexpa.js} +18 -18
  164. package/dist/chunks/{app-m1714858.js → model-retry-m1714858.js} +1 -1
  165. package/dist/chunks/{app-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  166. package/dist/chunks/{app-jneg3k74.js → model-retry-masd7ga8.js} +4 -4
  167. package/dist/chunks/{app-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
  168. package/dist/chunks/{app-me5bcav6.js → model-retry-me5bcav6.js} +1 -1
  169. package/dist/chunks/{app-xthgq65r.js → model-retry-mhsz3gf2.js} +5 -5
  170. package/dist/chunks/{app-k56nbahk.js → model-retry-mm9j1s8c.js} +32 -32
  171. package/dist/chunks/model-retry-mnd7st07.js +26 -0
  172. package/dist/chunks/{app-mfkqmekj.js → model-retry-mx6gwe9b.js} +9 -9
  173. package/dist/chunks/model-retry-mxyxrzn2.js +257 -0
  174. package/dist/chunks/{app-v5prxdmf.js → model-retry-n02etsdv.js} +9 -9
  175. package/dist/chunks/{app-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
  176. package/dist/chunks/{app-szcgc7h4.js → model-retry-n6v2b7cw.js} +5 -5
  177. package/dist/chunks/{app-c0hpp7j5.js → model-retry-n74gyp3a.js} +16 -16
  178. package/dist/chunks/{app-4k74q3cd.js → model-retry-nbne29zv.js} +21 -21
  179. package/dist/chunks/{app-q1sfq5ar.js → model-retry-nsggxdvf.js} +24 -24
  180. package/dist/chunks/{app-f0qp72je.js → model-retry-nszthedh.js} +6 -6
  181. package/dist/chunks/{app-gy26d4cp.js → model-retry-nv23re93.js} +27 -27
  182. package/dist/chunks/{app-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
  183. package/dist/chunks/{app-dh62xe4r.js → model-retry-pc1v25hk.js} +3 -3
  184. package/dist/chunks/{app-sbegqkxp.js → model-retry-pen16d07.js} +6 -6
  185. package/dist/chunks/{app-jth5b7nb.js → model-retry-pf6hjb5j.js} +11 -11
  186. package/dist/chunks/{app-pwq9efzz.js → model-retry-ph4tm34a.js} +23 -23
  187. package/dist/chunks/{app-pknna89w.js → model-retry-pknna89w.js} +1 -1
  188. package/dist/chunks/{app-7q2jq33p.js → model-retry-q0gsxww0.js} +12 -12
  189. package/dist/chunks/{app-zs5g0jnr.js → model-retry-q1356wgr.js} +5 -5
  190. package/dist/chunks/{app-5ab172h5.js → model-retry-q9dphv85.js} +40 -40
  191. package/dist/chunks/{app-a8fwv04y.js → model-retry-q9fk87c8.js} +2 -2
  192. package/dist/chunks/{app-8jztxfpf.js → model-retry-qjgzc4b4.js} +4 -4
  193. package/dist/chunks/{app-fr73gbb1.js → model-retry-qnqj5gyz.js} +10 -10
  194. package/dist/chunks/{app-6be6yqxw.js → model-retry-qr8gbtan.js} +17 -17
  195. package/dist/chunks/{app-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
  196. package/dist/chunks/{app-92shyse6.js → model-retry-r2j375b4.js} +13 -13
  197. package/dist/chunks/{app-z72fs3kr.js → model-retry-r2z6t62p.js} +26 -26
  198. package/dist/chunks/{app-zfwbmsyg.js → model-retry-r4q3d25z.js} +16 -16
  199. package/dist/chunks/{app-wephwg65.js → model-retry-r7g76k7m.js} +25 -25
  200. package/dist/chunks/{app-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  201. package/dist/chunks/{app-xngx3rps.js → model-retry-rctnnajd.js} +5 -5
  202. package/dist/chunks/{app-5bvqzxvh.js → model-retry-rnwbpqts.js} +11 -11
  203. package/dist/chunks/{app-10bwkysh.js → model-retry-rsbjq8mx.js} +11 -11
  204. package/dist/chunks/{app-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  205. package/dist/chunks/{app-xjcvkgq2.js → model-retry-s35xth4d.js} +11 -11
  206. package/dist/chunks/{app-eth5ae7t.js → model-retry-s57gj4s6.js} +66 -66
  207. package/dist/chunks/{app-arxr4n82.js → model-retry-sfva37g4.js} +17 -17
  208. package/dist/chunks/{app-4pxwt4n4.js → model-retry-sp1qw1fb.js} +10 -10
  209. package/dist/chunks/{app-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
  210. package/dist/chunks/{app-v5gy4fh6.js → model-retry-sszzn3zb.js} +8 -8
  211. package/dist/chunks/{app-4g0fsgbg.js → model-retry-t19n7z8d.js} +6 -6
  212. package/dist/chunks/{app-04fhc9pj.js → model-retry-t3qqpd1a.js} +22 -22
  213. package/dist/chunks/{app-p0y2phsj.js → model-retry-t5nnby66.js} +35 -35
  214. package/dist/chunks/{app-2sh6np1t.js → model-retry-t5swzbnr.js} +54 -54
  215. package/dist/chunks/{app-vkqjcjxb.js → model-retry-t98mxax0.js} +48 -48
  216. package/dist/chunks/{app-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  217. package/dist/chunks/{app-ce6jsch9.js → model-retry-th85ze8z.js} +18 -18
  218. package/dist/chunks/{app-dr37mt8v.js → model-retry-tryvgcx0.js} +4 -4
  219. package/dist/chunks/{app-arz7hw7x.js → model-retry-ts7mkfs9.js} +2 -2
  220. package/dist/chunks/{app-tw8zr1ps.js → model-retry-tw8zr1ps.js} +1 -1
  221. package/dist/chunks/{app-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
  222. package/dist/chunks/{app-6msrtbg0.js → model-retry-typ2bf99.js} +18 -18
  223. package/dist/chunks/{app-1s9fs40v.js → model-retry-v46zwfxe.js} +4 -4
  224. package/dist/chunks/{app-4n53z3gy.js → model-retry-v95bjsh5.js} +11 -11
  225. package/dist/chunks/{app-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
  226. package/dist/chunks/{app-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
  227. package/dist/chunks/{app-98gmkcwn.js → model-retry-vfjd9fmw.js} +22 -22
  228. package/dist/chunks/{app-q46y00v4.js → model-retry-vgk61ywp.js} +9 -9
  229. package/dist/chunks/{app-695xd8qp.js → model-retry-vgt89nsn.js} +21 -21
  230. package/dist/chunks/{app-m37sd98t.js → model-retry-vmfhgzt5.js} +4 -4
  231. package/dist/chunks/{app-xp3f508c.js → model-retry-vrc2patz.js} +15 -15
  232. package/dist/chunks/{app-xs6ta2mn.js → model-retry-vwkq0df4.js} +13 -13
  233. package/dist/chunks/{app-5cw0dcrr.js → model-retry-vwn6zxzb.js} +19 -19
  234. package/dist/chunks/{app-ywgha77a.js → model-retry-vwpgtjfe.js} +12 -12
  235. package/dist/chunks/{app-6c9gsgb8.js → model-retry-w2bqz3ce.js} +14 -14
  236. package/dist/chunks/{app-w2eysc6j.js → model-retry-w2eysc6j.js} +2 -2
  237. package/dist/chunks/{app-ax4xcqdr.js → model-retry-w2jghfqb.js} +4 -4
  238. package/dist/chunks/{app-173t91w5.js → model-retry-w35wzz9x.js} +9 -9
  239. package/dist/chunks/{app-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  240. package/dist/chunks/{app-kkxbngda.js → model-retry-w4b3j6j4.js} +16 -16
  241. package/dist/chunks/{app-c5kjsz6q.js → model-retry-w76xjer3.js} +4 -4
  242. package/dist/chunks/{app-h7rgkctr.js → model-retry-wa1bzbm8.js} +1 -1
  243. package/dist/chunks/{app-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  244. package/dist/chunks/{app-wd87259q.js → model-retry-wd87259q.js} +1 -1
  245. package/dist/chunks/{app-tkmwn4n3.js → model-retry-wdmx20pv.js} +7 -7
  246. package/dist/chunks/{app-zxac9sqa.js → model-retry-we70t4t4.js} +33 -33
  247. package/dist/chunks/{app-f7kfhre8.js → model-retry-wf5b31gc.js} +25 -25
  248. package/dist/chunks/{app-3ddszj5t.js → model-retry-wpfwh9md.js} +38 -38
  249. package/dist/chunks/{app-ne4y78rw.js → model-retry-ws6f2re4.js} +2 -2
  250. package/dist/chunks/{app-ade0xppm.js → model-retry-wv3qawbk.js} +11 -11
  251. package/dist/chunks/{app-fc895th3.js → model-retry-ww1j827y.js} +11 -11
  252. package/dist/chunks/{app-aswvndy1.js → model-retry-wyat3pb7.js} +45 -45
  253. package/dist/chunks/{app-7ywpwnkp.js → model-retry-wzxanmw9.js} +29 -29
  254. package/dist/chunks/{app-86a1xg0s.js → model-retry-x1p8bhbj.js} +12 -12
  255. package/dist/chunks/{app-q67e8ksv.js → model-retry-xadckn2x.js} +48 -48
  256. package/dist/chunks/{app-xkeb9rs5.js → model-retry-xg13h545.js} +25 -25
  257. package/dist/chunks/{app-w1tf2vhf.js → model-retry-xp0rgq9p.js} +26 -26
  258. package/dist/chunks/{app-g49wnabm.js → model-retry-xp50hhgm.js} +8 -8
  259. package/dist/chunks/{app-va59929a.js → model-retry-xwjmbdzc.js} +21 -21
  260. package/dist/chunks/{app-rdwyycgw.js → model-retry-xza2c9y7.js} +14 -14
  261. package/dist/chunks/{app-20mxm868.js → model-retry-y2nch1ns.js} +14 -14
  262. package/dist/chunks/{app-xnwj5rqb.js → model-retry-y2zwb71e.js} +20 -20
  263. package/dist/chunks/{app-ak0r7mhr.js → model-retry-y45pr2fb.js} +4 -4
  264. package/dist/chunks/{app-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  265. package/dist/chunks/{app-91zpvmry.js → model-retry-yfvv7qb3.js} +11 -11
  266. package/dist/chunks/{app-m4m284hh.js → model-retry-yj9zbm9v.js} +15 -15
  267. package/dist/chunks/{app-1622r1ga.js → model-retry-yk0esd9v.js} +4 -4
  268. package/dist/chunks/{app-xn9prk0h.js → model-retry-yk3mq3qx.js} +4 -4
  269. package/dist/chunks/{app-81tex3wg.js → model-retry-yvf9xe26.js} +15 -15
  270. package/dist/chunks/{app-sr3t0mwa.js → model-retry-yy1f6ksd.js} +18 -18
  271. package/dist/chunks/{app-38c4qa7w.js → model-retry-yy97rbk0.js} +5 -5
  272. package/dist/chunks/{app-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{app-y4pjxpxm.js → model-retry-z2wzaj4z.js} +27 -27
  274. package/dist/chunks/{app-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
  275. package/dist/chunks/{app-9vy7ymhz.js → model-retry-z6w6mvsb.js} +23 -23
  276. package/dist/chunks/{app-fhh94x7z.js → model-retry-z8ef33hm.js} +11 -11
  277. package/dist/chunks/{app-eg9pfg6h.js → model-retry-z8n0gtf2.js} +5 -5
  278. package/dist/chunks/{app-jcgydn6h.js → model-retry-zae8bdqe.js} +23 -23
  279. package/dist/chunks/{app-zba5tm1j.js → model-retry-zba5tm1j.js} +1 -1
  280. package/dist/chunks/{app-7dj845q2.js → model-retry-zbt54ewe.js} +22 -22
  281. package/dist/chunks/{app-19779spt.js → model-retry-ze854dys.js} +26 -26
  282. package/dist/chunks/{app-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
  283. package/dist/chunks/{app-wfvde9ev.js → model-retry-zq471nd1.js} +6 -6
  284. package/dist/chunks/{app-wr9nceen.js → model-retry-zra4y4ja.js} +9 -9
  285. package/dist/chunks/{app-2emv3dac.js → model-retry-zv1vb29g.js} +20 -20
  286. package/dist/chunks/{app-4b1atmcq.js → model-retry-zx3jzspp.js} +12 -12
  287. package/dist/chunks/{app-qtz1mk7q.js → model-retry-zyr4n90f.js} +11 -11
  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 +87 -87
  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 +212 -212
  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 +114 -114
  304. package/dist/config/plugin/location-watcher.js +118 -118
  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 +119 -119
  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 +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  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 +95 -95
  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 +72 -72
  415. package/dist/file-access.js +106 -106
  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 +227 -227
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +104 -104
  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 +109 -109
  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 +93 -93
  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 +360 -360
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  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 +93 -93
  478. package/dist/model-resolver.js +101 -101
  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 +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +113 -113
  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 +92 -92
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +218 -218
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +3 -3
  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 +116 -116
  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 +113 -113
  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 +125 -125
  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 +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +103 -103
  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 +170 -170
  541. package/dist/plugin/sdk.js +78 -78
  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 +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +93 -93
  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 +8 -8
  559. package/dist/plugin.js +225 -225
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +87 -87
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  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 +3 -3
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +164 -164
  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 +221 -221
  584. package/dist/session/execution.js +130 -130
  585. package/dist/session/generate.js +166 -166
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  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 +4 -4
  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 +132 -132
  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 +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +101 -101
  606. package/dist/session/runner/publish-llm-event.js +116 -116
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +165 -165
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +107 -107
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +212 -212
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +168 -168
  621. package/dist/session/to-session-error.js +114 -114
  622. package/dist/session/transfer.js +215 -215
  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 +7 -7
  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 +139 -139
  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 +118 -118
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +126 -126
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +115 -115
  649. package/dist/tool/plugin/subagent.js +217 -217
  650. package/dist/tool/plugin/todo.js +132 -132
  651. package/dist/tool/plugin/webfetch.js +113 -113
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +104 -104
  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/git-executable.js +2 -2
  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 +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +94 -94
  669. package/dist/v1/config/permission.js +7 -7
  670. package/dist/v1/config/plugin.js +1 -1
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +4 -4
  673. package/dist/variant.js +93 -93
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +91 -91
  676. package/dist/voice.js +86 -86
  677. package/dist/websearch.js +84 -84
  678. package/dist/wellknown/plugin.js +76 -76
  679. package/dist/wellknown.js +81 -81
  680. package/dist/workspace/driver.js +7 -7
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +84 -84
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +91 -91
  687. package/dist/worktree.js +100 -100
  688. package/package.json +8 -8
  689. package/dist/chunks/app-7yv5xa0k.js +0 -18
  690. package/dist/chunks/app-9pfqjpyy.js +0 -257
  691. package/dist/chunks/app-qagaq7sy.js +0 -26
  692. /package/dist/chunks/{app-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{app-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{app-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{app-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{app-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  697. /package/dist/chunks/{app-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{app-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{app-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{app-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{app-3asan66x.js → model-retry-3asan66x.js} +0 -0
  702. /package/dist/chunks/{app-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{app-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{app-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{app-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{app-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{app-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{app-53557ph1.js → model-retry-53557ph1.js} +0 -0
  709. /package/dist/chunks/{app-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{app-5fjb7ams.js → model-retry-5fjb7ams.js} +0 -0
  711. /package/dist/chunks/{app-6prwharc.js → model-retry-6prwharc.js} +0 -0
  712. /package/dist/chunks/{app-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{app-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{app-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{app-822emrt2.js → model-retry-822emrt2.js} +0 -0
  716. /package/dist/chunks/{app-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{app-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{app-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{app-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{app-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{app-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{app-a058387c.js → model-retry-a058387c.js} +0 -0
  723. /package/dist/chunks/{app-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{app-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{app-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{app-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{app-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{app-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{app-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{app-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{app-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{app-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{app-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{app-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{app-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{app-df08tz66.js → model-retry-df08tz66.js} +0 -0
  737. /package/dist/chunks/{app-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{app-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{app-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{app-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{app-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{app-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{app-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{app-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{app-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{app-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{app-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{app-g86h250q.js → model-retry-g86h250q.js} +0 -0
  749. /package/dist/chunks/{app-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{app-gftt206x.js → model-retry-gftt206x.js} +0 -0
  751. /package/dist/chunks/{app-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{app-hk9envan.js → model-retry-hk9envan.js} +0 -0
  753. /package/dist/chunks/{app-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{app-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{app-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{app-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{app-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{app-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{app-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{app-m18g726c.js → model-retry-m18g726c.js} +0 -0
  761. /package/dist/chunks/{app-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{app-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{app-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{app-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{app-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{app-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{app-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{app-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{app-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{app-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{app-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{app-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{app-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{app-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{app-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{app-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{app-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{app-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{app-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{app-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{app-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
  782. /package/dist/chunks/{app-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{app-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{app-x61499pn.js → model-retry-x61499pn.js} +0 -0
  785. /package/dist/chunks/{app-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{app-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{app-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{app-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{app-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{app-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./app-xn9prk0h.js";
4
+ } from "./model-retry-yk3mq3qx.js";
5
5
  import {
6
6
  create3
7
- } from "./app-vd3b3yk9.js";
7
+ } from "./model-retry-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./model-retry-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: () => Event13,
18
- ID: () => ID10,
19
- Info: () => Info18,
17
+ Event: () => Event11,
18
+ ID: () => ID8,
19
+ Info: () => Info12,
20
20
  Name: () => Name3,
21
- Service: () => Service72,
21
+ Service: () => Service56,
22
22
  defaultID: () => defaultID2,
23
- node: () => node76
23
+ node: () => node59
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 Event13 } from "@opencode/schema/agent";
29
- var ID10 = Agent.ID;
28
+ import { Event as Event11 } from "@opencode/schema/agent";
29
+ var ID8 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID10.make("build");
31
+ var defaultID2 = ID8.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info18 = Agent.Info;
33
+ var Info12 = Agent.Info;
34
34
 
35
- class Service72 extends Context.Service()("@opencode/Agent") {
35
+ class Service56 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service72, 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(Service72, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info18.default(id);
49
+ const current = editor.agents.get(id) ?? Info12.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service72.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,7 +81,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID10.make(id));
84
+ return state.get().agents.get(ID8.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
99
99
  })
100
100
  });
101
101
  }));
102
- var node76 = makeLocationNode({ service: Service72, layer, deps: [node89] });
102
+ var node59 = makeLocationNode({ service: Service56, layer, deps: [node89] });
103
103
 
104
- export { ID10, Name3, defaultID2, Color2, Info18, Service72, node76, exports_agent4, Event13 };
104
+ export { ID8, Name3, defaultID2, Color2, Info12, Service56, node59, exports_agent3, Event11 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./app-zkg84ctx.js";
3
+ } from "./model-retry-zkg84ctx.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./app-z5v4ffb3.js";
6
+ } from "./model-retry-z5v4ffb3.js";
7
7
  import {
8
- Service81
9
- } from "./app-3yme8bqy.js";
8
+ Service80
9
+ } from "./model-retry-1fg7mrfs.js";
10
10
  import {
11
- Service49
12
- } from "./app-yhn0a50f.js";
11
+ Service78
12
+ } from "./model-retry-15pq58mc.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service48
16
- } from "./app-6msrtbg0.js";
15
+ Service41
16
+ } from "./model-retry-typ2bf99.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./app-93rhewbm.js";
23
+ } from "./model-retry-0mt5amvr.js";
24
24
  import {
25
- Service69
26
- } from "./app-kjzcdnr5.js";
25
+ Service53
26
+ } from "./model-retry-hqnmqx0e.js";
27
27
  import {
28
- Service68
29
- } from "./app-sr3t0mwa.js";
28
+ Service43
29
+ } from "./model-retry-yy1f6ksd.js";
30
30
  import {
31
31
  __export
32
- } from "./app-9rqn6x4v.js";
32
+ } from "./model-retry-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input10,
39
- Output: () => Output6,
40
- Plugin: () => Plugin30,
41
- name: () => name10,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input4,
39
+ Output: () => Output3,
40
+ Plugin: () => Plugin5,
41
+ name: () => name4,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name10 = "grep";
48
- var Input10 = Schema.Struct({
47
+ var name4 = "grep";
48
+ var Input4 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output3 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin30 = {
86
+ var Plugin5 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service49;
90
- const ripgrep = yield* Service48;
91
- const location = yield* Service81;
92
- const access = yield* Service68;
93
- const permission = yield* Service69;
89
+ const environment = yield* Service78;
90
+ const ripgrep = yield* Service41;
91
+ const location = yield* Service80;
92
+ const access = yield* Service43;
93
+ const permission = yield* Service53;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name10,
95
+ name: name4,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input10,
99
- output: Output6,
98
+ input: Input4,
99
+ output: Output3,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name10,
105
+ action: name4,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin30 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin30 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name10, Input10, Output6, toModelContent5, Plugin30, exports_grep };
157
+ export { name4, Input4, Output3, toModelContent3, Plugin5, exports_grep };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./app-vgx47e1e.js";
4
+ } from "./model-retry-h48zeanh.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./app-xn9prk0h.js";
8
+ } from "./model-retry-yk3mq3qx.js";
9
9
  import {
10
- Service41,
11
- node43
12
- } from "./app-sbegqkxp.js";
10
+ Service50,
11
+ node53
12
+ } from "./model-retry-pen16d07.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./app-z5v4ffb3.js";
16
+ } from "./model-retry-z5v4ffb3.js";
17
17
  import {
18
- Service82,
19
- node86
20
- } from "./app-38dzhn5x.js";
18
+ Service81,
19
+ node85
20
+ } from "./model-retry-hv6nf1gc.js";
21
21
  import {
22
22
  Ref4
23
- } from "./app-3yme8bqy.js";
23
+ } from "./model-retry-1fg7mrfs.js";
24
24
  import {
25
- Service44,
26
- node46
27
- } from "./app-mfkqmekj.js";
25
+ Service60,
26
+ node63
27
+ } from "./model-retry-mx6gwe9b.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./app-gftt206x.js";
30
+ } from "./model-retry-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./app-f0qp72je.js";
32
+ NotFoundError8
33
+ } from "./model-retry-nszthedh.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./app-ec1grn59.js";
36
+ } from "./model-retry-ec1grn59.js";
37
37
  import {
38
- Service38
39
- } from "./app-c5kjsz6q.js";
38
+ Service47
39
+ } from "./model-retry-w76xjer3.js";
40
40
  import {
41
- Service71,
42
- node75
43
- } from "./app-rdwyycgw.js";
41
+ Service54,
42
+ node57
43
+ } from "./model-retry-xza2c9y7.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service39,
48
- node41,
47
+ Service48,
48
+ node51,
49
49
  moveIDs2
50
- } from "./app-pyp72qgk.js";
50
+ } from "./model-retry-15tgtsbh.js";
51
51
  import {
52
- Service37,
53
- node40
54
- } from "./app-xdts610a.js";
52
+ Service46,
53
+ node50
54
+ } from "./model-retry-eq10afbe.js";
55
55
  import {
56
- node38
57
- } from "./app-qrn4wzgg.js";
56
+ node24
57
+ } from "./model-retry-68rqd4da.js";
58
58
  import {
59
59
  __export
60
- } from "./app-9rqn6x4v.js";
60
+ } from "./model-retry-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service32,
68
+ Service: () => Service20,
69
69
  SessionMove: () => exports_move,
70
- node: () => node35
70
+ node: () => node23
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service32 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service20 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service32, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service82;
92
- const locations = yield* Service44;
93
- const store = yield* Service71;
94
- const execution = yield* Service37;
95
- const instances = yield* Service41;
96
- const admission = yield* Service39;
91
+ const projects = yield* Service81;
92
+ const locations = yield* Service60;
93
+ const store = yield* Service54;
94
+ const execution = yield* Service46;
95
+ const instances = yield* Service50;
96
+ const admission = yield* Service48;
97
97
  const database = yield* Service86;
98
98
  const bus = yield* Service85;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError8({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service38.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
134
+ return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
135
135
  });
136
- return Service32.of({
136
+ return Service20.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node35 = makeGlobalNode({
167
- service: Service32,
166
+ var node23 = makeGlobalNode({
167
+ service: Service20,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node86,
173
- node46,
174
- node75,
175
- node40,
176
- node43,
177
- node41,
172
+ node85,
173
+ node63,
174
+ node57,
175
+ node50,
176
+ node53,
177
+ node51,
178
178
  node90,
179
179
  node89,
180
- node38
180
+ node24
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service32, node35, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service20, node23, exports_move };
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./app-8jztxfpf.js";
3
+ } from "./model-retry-qjgzc4b4.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./app-xn9prk0h.js";
7
+ } from "./model-retry-yk3mq3qx.js";
8
8
  import {
9
9
  Event18,
10
+ Service73,
11
+ node76
12
+ } from "./model-retry-w4b3j6j4.js";
13
+ import {
10
14
  Service80,
11
15
  node84
12
- } from "./app-kkxbngda.js";
13
- import {
14
- Service81,
15
- node85
16
- } from "./app-3yme8bqy.js";
16
+ } from "./model-retry-1fg7mrfs.js";
17
17
  import {
18
- Service49,
19
- node51
20
- } from "./app-yhn0a50f.js";
18
+ Service78,
19
+ node81
20
+ } from "./model-retry-15pq58mc.js";
21
21
  import {
22
- ID15,
23
- Service79,
24
- node83
25
- } from "./app-sp9905ca.js";
22
+ ID13,
23
+ Service72,
24
+ node75
25
+ } from "./model-retry-8cnpnqcj.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./app-vd3b3yk9.js";
29
+ } from "./model-retry-vd3b3yk9.js";
30
30
  import {
31
- ID14,
31
+ ID12,
32
32
  MethodID2,
33
- Service78,
34
- node82
35
- } from "./app-anvrad6f.js";
33
+ Service71,
34
+ node74
35
+ } from "./model-retry-csbt6w95.js";
36
36
  import {
37
37
  __export
38
- } from "./app-9rqn6x4v.js";
38
+ } from "./model-retry-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError4,
45
+ Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service30,
52
+ Service: () => Service31,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
56
- layer: () => layer14,
57
- node: () => node33
55
+ configured: () => configured4,
56
+ layer: () => layer16,
57
+ node: () => node34
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service30 extends Context.Service()("@opencode/MCP") {
106
+ class Service31 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options2 = Schema.Struct({
108
+ var Options4 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
115
- const location = yield* Service81;
116
- const environment = yield* Service49;
114
+ var layer16 = (options) => Layer.effect(Service31, Effect.gen(function* () {
115
+ const location = yield* Service80;
116
+ const environment = yield* Service78;
117
117
  const bus = yield* Service85;
118
- const forms = yield* Service79;
119
- const integration = yield* Service78;
120
- const credentials = yield* Service80;
118
+ const forms = yield* Service72;
119
+ const integration = yield* Service71;
120
+ const credentials = yield* Service73;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID12.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service80, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -153,19 +153,19 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
153
153
  const requireServer = Effect.fnUntraced(function* (name) {
154
154
  const entry = entries.get(name);
155
155
  if (!entry)
156
- return yield* new NotFoundError3({ server: name });
156
+ return yield* new NotFoundError4({ server: name });
157
157
  return { name, entry };
158
158
  });
159
159
  const connectProvider = Effect.fnUntraced(function* (entry) {
160
160
  if (entry.config.type !== "remote" || !entry.integrationID)
161
161
  return;
162
162
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
163
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service80, credentials));
163
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
164
164
  });
165
165
  const elicitation = {
166
166
  create: (input) => Effect.gen(function* () {
167
167
  if (input.params.mode === "url") {
168
- const formID = ID15.create();
168
+ const formID = ID13.create();
169
169
  const elicitationID = input.params.elicitationId;
170
170
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
171
171
  if (key)
@@ -268,7 +268,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
268
268
  entry.scope = scope;
269
269
  const authProvider = yield* connectProvider(entry);
270
270
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
271
- 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(Service49, environment), Scope.provide(scope));
271
+ 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(Service78, environment), Scope.provide(scope));
272
272
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
273
273
  if (Exit.isSuccess(result)) {
274
274
  entry.client = result.value.connection;
@@ -419,7 +419,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
419
419
  }),
420
420
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
421
421
  });
422
- return Service30.of({
422
+ return Service31.of({
423
423
  transform: state.transform,
424
424
  reload: state.reload,
425
425
  servers: Effect.fn("MCP.servers")(function* () {
@@ -529,14 +529,14 @@ function mergeCatalogs(catalogs) {
529
529
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
530
530
  });
531
531
  }
532
- function configured2(options) {
532
+ function configured4(options) {
533
533
  return makeLocationNode({
534
- service: Service30,
535
- layer: layer14(options),
536
- deps: [node85, node51, node89, node83, node82, node84]
534
+ service: Service31,
535
+ layer: layer16(options),
536
+ deps: [node84, node81, node89, node75, node74, node76]
537
537
  });
538
538
  }
539
- var node33 = configured2();
539
+ var node34 = configured4();
540
540
  function toElicitationField(key, property, required) {
541
541
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
542
542
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -587,4 +587,4 @@ function toElicitationField(key, property, required) {
587
587
  }
588
588
  }
589
589
 
590
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service30, Options2, layer14, configured2, node33, exports_mcp4 };
590
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options4, layer16, configured4, node34, exports_mcp4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};