@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,57 +1,57 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./app-xn9prk0h.js";
4
+ } from "./model-retry-yk3mq3qx.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./app-3yme8bqy.js";
6
+ Service80,
7
+ node84
8
+ } from "./model-retry-1fg7mrfs.js";
9
9
  import {
10
- Service49,
11
- node51
12
- } from "./app-yhn0a50f.js";
10
+ Service78,
11
+ node81
12
+ } from "./model-retry-15pq58mc.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./app-tczq8hjw.js";
15
+ } from "./model-retry-tczq8hjw.js";
16
16
  import {
17
- Service59,
17
+ Service63,
18
18
  args2,
19
- node62
20
- } from "./app-nwr7kgq9.js";
19
+ node66
20
+ } from "./model-retry-94vx47d3.js";
21
21
  import {
22
- Service73,
23
- node77
24
- } from "./app-31wms35x.js";
22
+ Service70,
23
+ node73
24
+ } from "./model-retry-h0ppebc3.js";
25
25
  import {
26
- Service43,
27
- node45
28
- } from "./app-00zh2tpm.js";
26
+ Service62,
27
+ node65
28
+ } from "./model-retry-bqkj7jx5.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./app-arz7hw7x.js";
31
+ } from "./model-retry-ts7mkfs9.js";
32
32
  import {
33
33
  latest2,
34
- Service62,
35
- node65
36
- } from "./app-vdcfetgk.js";
34
+ Service65,
35
+ node68
36
+ } from "./model-retry-esgzgmhw.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./app-xjcvkgq2.js";
40
+ } from "./model-retry-s35xth4d.js";
41
41
  import {
42
42
  __export
43
- } from "./app-9rqn6x4v.js";
43
+ } from "./model-retry-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError10,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service42,
51
+ Service: () => Service61,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node44
54
+ node: () => node64
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service42 extends Context.Service()("@opencode/Shell") {
74
+ class Service61 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service42, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service61, Effect.gen(function* () {
91
91
  const bus = yield* Service85;
92
- const location = yield* Service81;
92
+ const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service59;
95
- const environment = yield* Service49;
96
- const hooks = yield* Service73;
97
- const environments = yield* Service43;
98
- const config = yield* Service62;
94
+ const shell = yield* Service63;
95
+ const environment = yield* Service78;
96
+ const hooks = yield* Service70;
97
+ const environments = yield* Service62;
98
+ const config = yield* Service65;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError10({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError10({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  if (command.info.status === "running")
135
135
  yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
336
336
  const command = yield* Deferred.await(ready);
337
337
  return command.info;
338
338
  });
339
- return Service42.of({ create, list, get, wait, result, timeout, output, remove });
339
+ return Service61.of({ create, list, get, wait, result, timeout, output, remove });
340
340
  }));
341
- var node44 = makeLocationNode({
342
- service: Service42,
341
+ var node64 = makeLocationNode({
342
+ service: Service61,
343
343
  layer: layer(),
344
344
  deps: [
345
345
  node89,
346
- node85,
346
+ node84,
347
347
  Global.node,
348
- node62,
349
- node51,
350
- node77,
351
- node45,
348
+ node66,
349
+ node81,
350
+ node73,
352
351
  node65,
352
+ node68,
353
353
  cleanupNode
354
354
  ]
355
355
  });
356
356
 
357
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service42, cleanup2, node44, exports_shell4 };
357
+ export { NotFoundError10, RETENTION2, DIRECTORY2, Service61, cleanup2, node64, exports_shell4 };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./app-zkg84ctx.js";
6
+ } from "./model-retry-zkg84ctx.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./app-g5h9c0rr.js";
9
+ } from "./model-retry-g5h9c0rr.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./app-b0mv4wxm.js";
12
+ } from "./model-retry-b0mv4wxm.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./app-twv2r8f4.js";
15
+ } from "./model-retry-twv2r8f4.js";
16
16
  import {
17
- Service81,
18
- node85
19
- } from "./app-3yme8bqy.js";
17
+ Service80,
18
+ node84
19
+ } from "./model-retry-1fg7mrfs.js";
20
20
  import {
21
- Service51,
22
- node53
23
- } from "./app-grvayz05.js";
21
+ Service79,
22
+ node82
23
+ } from "./model-retry-ecdzwr7h.js";
24
24
  import {
25
25
  __export
26
- } from "./app-9rqn6x4v.js";
26
+ } from "./model-retry-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service49,
33
- node: () => node51
32
+ Service: () => Service78,
33
+ node: () => node81
34
34
  });
35
35
 
36
36
  // src/environment/index.ts
@@ -39,13 +39,13 @@ __export(exports_environment3, {
39
39
  Environment: () => exports_environment3,
40
40
  Failed: () => Failed2,
41
41
  NotFound: () => NotFound3,
42
- Service: () => Service49,
42
+ Service: () => Service78,
43
43
  WrongKind: () => WrongKind2,
44
44
  execDefaults: () => execDefaults2,
45
45
  makeFiles: () => makeFiles2,
46
46
  makeLocalDriver: () => makeLocalDriver2,
47
47
  makeMemoryDriver: () => makeMemoryDriver2,
48
- node: () => node51,
48
+ node: () => node81,
49
49
  typeFollowing: () => typeFollowing2
50
50
  });
51
51
 
@@ -61,19 +61,19 @@ var makeFiles2 = (driver) => ({
61
61
  });
62
62
 
63
63
  // src/environment/environment.ts
64
- class Service49 extends Context.Service()("@opencode/Environment") {
64
+ class Service78 extends Context.Service()("@opencode/Environment") {
65
65
  }
66
- var layer = Layer.effect(Service49, Effect.gen(function* () {
66
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
67
67
  const spawner = yield* ChildProcessSpawner;
68
- const location = yield* Service81;
69
- const workspace = yield* Service51;
68
+ const location = yield* Service80;
69
+ const workspace = yield* Service79;
70
70
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
71
- return Service49.of({ files: makeFiles2(driver), spawner: driver.spawner });
71
+ return Service78.of({ files: makeFiles2(driver), spawner: driver.spawner });
72
72
  }));
73
- var node51 = makeLocationNode({
74
- service: Service49,
73
+ var node81 = makeLocationNode({
74
+ service: Service78,
75
75
  layer,
76
- deps: [CrossSpawnSpawner.node, node85, node53]
76
+ deps: [CrossSpawnSpawner.node, node84, node82]
77
77
  });
78
78
 
79
- export { Service49, node51, exports_environment2, makeFiles2, exports_environment3 };
79
+ export { Service78, node81, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,30 +1,30 @@
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
  makeUnsafe2
7
- } from "./app-8jztxfpf.js";
7
+ } from "./model-retry-qjgzc4b4.js";
8
8
  import {
9
9
  Service85,
10
10
  node89
11
- } from "./app-xn9prk0h.js";
11
+ } from "./model-retry-yk3mq3qx.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./app-ec1grn59.js";
14
+ } from "./model-retry-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./app-gftt206x.js";
17
+ } from "./model-retry-gftt206x.js";
18
18
  import {
19
19
  SessionMessageTable2,
20
20
  SessionInboxTable2
21
- } from "./app-dvj9ct8m.js";
21
+ } from "./model-retry-998yhzzq.js";
22
22
  import {
23
23
  decodeMessageRowSync2
24
- } from "./app-pvn5ra1s.js";
24
+ } from "./model-retry-5mhdx2nw.js";
25
25
  import {
26
26
  __export
27
- } from "./app-9rqn6x4v.js";
27
+ } from "./model-retry-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info8,
35
+ Info: () => Info10,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service39,
40
+ Service: () => Service48,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer18,
48
+ layer: () => layer22,
49
49
  list: () => list3,
50
- make: () => make17,
50
+ make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node41,
53
+ node: () => node51,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info8,
68
+ Info as Info10,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -159,9 +159,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
159
159
  });
160
160
  });
161
161
 
162
- class Service39 extends Context.Service()("@opencode/SessionInbox") {
162
+ class Service48 extends Context.Service()("@opencode/SessionInbox") {
163
163
  }
164
- var make17 = Effect.fn("SessionInbox.make")(function* () {
164
+ var make16 = Effect.fn("SessionInbox.make")(function* () {
165
165
  const database = yield* Service86;
166
166
  const db = database.db;
167
167
  const bus = yield* Service85;
@@ -181,7 +181,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
181
181
  inboxID: request.id,
182
182
  sessionID: request.sessionID,
183
183
  item: request.item
184
- }).pipe(Effect.map((event) => Info8.make({
184
+ }).pipe(Effect.map((event) => Info10.make({
185
185
  id: request.id,
186
186
  sessionID: request.sessionID,
187
187
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -235,8 +235,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
235
235
  queue
236
236
  };
237
237
  });
238
- var layer18 = Layer.effect(Service39, make17());
239
- var node41 = makeGlobalNode({ service: Service39, layer: layer18, deps: [node90, node89] });
238
+ var layer22 = Layer.effect(Service48, make16());
239
+ var node51 = makeGlobalNode({ service: Service48, layer: layer22, deps: [node90, node89] });
240
240
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
241
241
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
242
242
  if (message !== undefined)
@@ -333,4 +333,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
333
333
  return rows;
334
334
  }));
335
335
 
336
- export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make17, layer18, node41, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
336
+ export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service48, make16, layer22, node51, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./app-8jztxfpf.js";
3
+ } from "./model-retry-qjgzc4b4.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service3,
13
- node: () => node4
12
+ Service: () => Service6,
13
+ node: () => node8
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service3 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service6 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service3, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service3.of({
27
+ return Service6.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
52
+ var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
53
53
 
54
- export { Service3, node4, exports_update };
54
+ export { Service6, node8, exports_update };
@@ -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/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -8,14 +8,14 @@ __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
9
  Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
16
  class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
18
+ var node7 = makeLocationNode({
19
19
  service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
@@ -29,4 +29,4 @@ function bound2(plugins) {
29
29
  return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node6, bound2, exports_instance2 };
32
+ export { Service5, node7, bound2, exports_instance2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./app-z38nccrw.js";
3
+ } from "./model-retry-z38nccrw.js";
4
4
  import {
5
5
  __export
6
- } from "./app-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service17,
12
+ Service: () => Service74,
13
13
  decision: () => decision2,
14
- layer: () => layer10,
15
- node: () => node19,
14
+ layer: () => layer27,
15
+ node: () => node77,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service17 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service74 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer10 = Layer.effect(Service17, Effect.gen(function* () {
24
+ var layer27 = Layer.effect(Service74, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service17.of({
27
+ return Service74.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service17, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node19 = makeGlobalNode({ service: Service17, layer: layer10, deps: [] });
39
+ var node77 = makeGlobalNode({ service: Service74, layer: layer27, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service17, layer10, node19, statements2, decision2, exports_managed_policy };
53
+ export { Service74, layer27, node77, statements2, decision2, exports_managed_policy };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node69
5
- } from "./app-4n53z3gy.js";
4
+ node47
5
+ } from "./model-retry-v95bjsh5.js";
6
6
  import {
7
- Service73,
8
- node77
9
- } from "./app-31wms35x.js";
7
+ Service70,
8
+ node73
9
+ } from "./model-retry-h0ppebc3.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./app-kjzcdnr5.js";
12
+ } from "./model-retry-hqnmqx0e.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./app-91zpvmry.js";
15
+ } from "./model-retry-yfvv7qb3.js";
16
16
  import {
17
- Error5
18
- } from "./app-wephwg65.js";
17
+ Error2
18
+ } from "./model-retry-r7g76k7m.js";
19
19
  import {
20
- get4
21
- } from "./app-tmc7xdjs.js";
20
+ get5
21
+ } from "./model-retry-3nnrz6f6.js";
22
22
  import {
23
- Service34,
24
- node37
25
- } from "./app-fhh94x7z.js";
23
+ Service25,
24
+ node29
25
+ } from "./model-retry-z8ef33hm.js";
26
26
  import {
27
- make15
28
- } from "./app-m37sd98t.js";
27
+ make14
28
+ } from "./model-retry-vmfhgzt5.js";
29
29
  import {
30
30
  toLLMMessages2
31
- } from "./app-ne4y78rw.js";
31
+ } from "./model-retry-ws6f2re4.js";
32
32
  import {
33
33
  __export
34
- } from "./app-9rqn6x4v.js";
34
+ } from "./model-retry-9rqn6x4v.js";
35
35
 
36
36
  // src/session/model-request.ts
37
37
  var exports_model_request = {};
38
38
  __export(exports_model_request, {
39
- Service: () => Service33,
39
+ Service: () => Service24,
40
40
  SessionModelRequest: () => exports_model_request,
41
41
  baseTranscript: () => baseTranscript2,
42
42
  boundImages: () => boundImages2,
43
- layer: () => layer15,
44
- node: () => node36,
43
+ layer: () => layer12,
44
+ node: () => node28,
45
45
  outputLimit: () => outputLimit2,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
77
77
  return {
78
78
  providerMetadataKey,
79
79
  system: [
80
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
80
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
81
81
  input.initial
82
82
  ].filter((part) => part.length > 0).map(SystemPart.make),
83
83
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
158
158
  });
159
159
  };
160
160
 
161
- class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
161
+ class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
162
162
  }
163
- var layer15 = Layer.effect(Service33, Effect.gen(function* () {
164
- const hooks = yield* Service73;
165
- const transport = yield* Service34;
163
+ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
164
+ const hooks = yield* Service70;
165
+ const transport = yield* Service25;
166
166
  const app = yield* Metadata2;
167
167
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
168
168
  const session = input.session;
@@ -170,7 +170,7 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
170
170
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
171
171
  const tools = input.tools ?? {
172
172
  definitions: [],
173
- execute: () => new Error5({ message: "Tools are not available for this request" })
173
+ execute: () => new Error2({ message: "Tools are not available for this request" })
174
174
  };
175
175
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
176
176
  const shaped = yield* shape({
@@ -188,7 +188,7 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
188
188
  const entries = Object.entries(shaped.options);
189
189
  const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
190
190
  const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
191
- const affinity = get4(session);
191
+ const affinity = get5(session);
192
192
  const base = LLM.request({
193
193
  model: model.model,
194
194
  http: {
@@ -264,17 +264,17 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
264
264
  };
265
265
  });
266
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
267
- return Service33.of({
267
+ return Service24.of({
268
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
269
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
270
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
271
271
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
272
272
  });
273
273
  }));
274
- var node36 = makeLocationNode({
275
- service: Service33,
276
- layer: layer15,
277
- deps: [node77, node37, node69]
274
+ var node28 = makeLocationNode({
275
+ service: Service24,
276
+ layer: layer12,
277
+ deps: [node73, node29, node47]
278
278
  });
279
279
 
280
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service33, layer15, node36, exports_model_request };
280
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service24, layer12, node28, exports_model_request };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./app-qfa1cgps.js";
3
+ } from "./model-retry-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./app-aj7mw0zk.js";
6
+ } from "./model-retry-034tev2y.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";