@opencode/core 0.0.0-dev-21802 → 0.0.0-dev-21811

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 (802) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{location-034tev2y.js → model-retry-034tev2y.js} +2 -2
  8. package/dist/chunks/{location-pac9cg3x.js → model-retry-0j1r4c82.js} +4 -4
  9. package/dist/chunks/{location-vwvg46tm.js → model-retry-0nd9gsrv.js} +2 -2
  10. package/dist/chunks/{location-0q213vj2.js → model-retry-0p88zpcm.js} +4 -4
  11. package/dist/chunks/{location-8n0m92g8.js → model-retry-0rax2qmn.js} +17 -17
  12. package/dist/chunks/{location-1h4xhwew.js → model-retry-0zn5bfke.js} +24 -24
  13. package/dist/chunks/{location-2f2nr3wk.js → model-retry-138ss78d.js} +11 -11
  14. package/dist/chunks/{location-bqwdyg2t.js → model-retry-1602d4m9.js} +9 -9
  15. package/dist/chunks/{location-g6dfma3d.js → model-retry-17cjzed1.js} +8 -8
  16. package/dist/chunks/{location-hn6pth2p.js → model-retry-17xhxfsn.js} +14 -14
  17. package/dist/chunks/{location-k781pf8j.js → model-retry-1a7q9jj4.js} +11 -11
  18. package/dist/chunks/{location-0hc0bbs9.js → model-retry-1dswpn68.js} +4 -4
  19. package/dist/chunks/{location-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{location-bxx0c1dy.js → model-retry-1hm6kjpw.js} +11 -11
  21. package/dist/chunks/{location-n95rn34w.js → model-retry-1m6xs2a7.js} +24 -24
  22. package/dist/chunks/{location-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{location-p7vhpwh8.js → model-retry-1yq9hg58.js} +5 -5
  24. package/dist/chunks/{location-fnz8rg5r.js → model-retry-27994c7b.js} +5 -5
  25. package/dist/chunks/model-retry-2dkjcnxp.js +18 -0
  26. package/dist/chunks/{location-a0stp6fn.js → model-retry-2ns8tfyg.js} +9 -9
  27. package/dist/chunks/{location-67fvqagb.js → model-retry-2we1d0jv.js} +46 -46
  28. package/dist/chunks/{location-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{location-984v65na.js → model-retry-3109wbwk.js} +17 -17
  30. package/dist/chunks/{location-qah7t4da.js → model-retry-32rqdfc7.js} +6 -6
  31. package/dist/chunks/{location-6qzrsg19.js → model-retry-335tf8xn.js} +13 -13
  32. package/dist/chunks/{location-xsact9zs.js → model-retry-3gv0spa2.js} +4 -4
  33. package/dist/chunks/{location-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{location-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{location-rn8hfrah.js → model-retry-425q9h2g.js} +19 -19
  36. package/dist/chunks/{location-pbaqepy9.js → model-retry-46h6vvs4.js} +5 -5
  37. package/dist/chunks/{location-2xwkyk0m.js → model-retry-4drgpw32.js} +5 -5
  38. package/dist/chunks/{location-ymrm2a13.js → model-retry-4g74bq5f.js} +9 -9
  39. package/dist/chunks/{location-x6615g0m.js → model-retry-4gytfbka.js} +3 -3
  40. package/dist/chunks/{location-p3c47fx7.js → model-retry-4hbn04c3.js} +23 -23
  41. package/dist/chunks/{location-jb3ek66v.js → model-retry-4jred12r.js} +24 -24
  42. package/dist/chunks/{location-288dktsv.js → model-retry-4q0yhm9h.js} +4 -4
  43. package/dist/chunks/{location-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  44. package/dist/chunks/{location-xkfczkpn.js → model-retry-4xvmh7wp.js} +3 -3
  45. package/dist/chunks/{location-pypxtw5w.js → model-retry-4z907t0k.js} +20 -20
  46. package/dist/chunks/{location-5pjcmgbp.js → model-retry-503rn88z.js} +3 -3
  47. package/dist/chunks/{location-rxbr5cvt.js → model-retry-58sptegr.js} +43 -43
  48. package/dist/chunks/{location-aw8nv5py.js → model-retry-592w8t9y.js} +26 -26
  49. package/dist/chunks/{location-zbqbngfz.js → model-retry-5dewdarb.js} +15 -15
  50. package/dist/chunks/{location-40za9wsf.js → model-retry-5enarcya.js} +6 -6
  51. package/dist/chunks/{location-sjmm3wxa.js → model-retry-5fjb7ams.js} +4 -14
  52. package/dist/chunks/{location-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  53. package/dist/chunks/{location-tan2h6ve.js → model-retry-5shay012.js} +60 -40
  54. package/dist/chunks/{location-y4n6pw34.js → model-retry-5w1mdqt7.js} +4 -4
  55. package/dist/chunks/{location-mnex4cdr.js → model-retry-5xypjhga.js} +5 -5
  56. package/dist/chunks/{location-yrvdznpz.js → model-retry-5ymyvjqm.js} +17 -17
  57. package/dist/chunks/{location-ahnc65m5.js → model-retry-678hegmz.js} +9 -9
  58. package/dist/chunks/{location-tpm1qpxt.js → model-retry-6c5cd6ez.js} +9 -9
  59. package/dist/chunks/{location-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
  60. package/dist/chunks/{location-1ccg85h0.js → model-retry-6hwc1pvx.js} +20 -20
  61. package/dist/chunks/{location-0nykq6f5.js → model-retry-6kqns4w6.js} +18 -18
  62. package/dist/chunks/{location-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
  63. package/dist/chunks/{location-vrcsa8qx.js → model-retry-6twykydk.js} +9 -9
  64. package/dist/chunks/{location-nn8wg6es.js → model-retry-6zcc165v.js} +6 -6
  65. package/dist/chunks/{location-fnp0jseg.js → model-retry-722sdb3d.js} +7 -7
  66. package/dist/chunks/{location-f6939148.js → model-retry-745re5am.js} +5 -5
  67. package/dist/chunks/{location-nbftzetf.js → model-retry-753xhzz2.js} +3 -3
  68. package/dist/chunks/{location-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
  69. package/dist/chunks/{location-nbpgh3d1.js → model-retry-7816y9pf.js} +15 -15
  70. package/dist/chunks/{location-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{location-a59j6a4y.js → model-retry-7kjvv3j6.js} +11 -11
  72. package/dist/chunks/{location-qtqp5fvy.js → model-retry-7n7qp0dz.js} +30 -30
  73. package/dist/chunks/{location-1rx1hnzt.js → model-retry-7pp4cpj7.js} +2 -2
  74. package/dist/chunks/{location-6ypa0r1z.js → model-retry-7rt6wz40.js} +32 -32
  75. package/dist/chunks/{location-q9dg54zr.js → model-retry-7s2q8wx1.js} +14 -14
  76. package/dist/chunks/{location-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{location-1s73zfxt.js → model-retry-82vzzvc0.js} +15 -15
  78. package/dist/chunks/{location-3r5s1csz.js → model-retry-8322nd6s.js} +31 -31
  79. package/dist/chunks/{location-pc1v25hk.js → model-retry-8bc2ahr8.js} +3 -3
  80. package/dist/chunks/{location-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  81. package/dist/chunks/{location-91rj84md.js → model-retry-91rj84md.js} +1 -1
  82. package/dist/chunks/{location-998yhzzq.js → model-retry-998yhzzq.js} +3 -3
  83. package/dist/chunks/{location-amtc5egd.js → model-retry-9bs81pt6.js} +45 -45
  84. package/dist/chunks/{location-9cx9sm2q.js → model-retry-9cx9sm2q.js} +1 -1
  85. package/dist/chunks/{location-mjx1xb4v.js → model-retry-9dx6tkdq.js} +14 -14
  86. package/dist/chunks/{location-3shw1cbx.js → model-retry-9nt4jrra.js} +11 -11
  87. package/dist/chunks/{location-1y0wdj51.js → model-retry-9q8g9sv8.js} +9 -9
  88. package/dist/chunks/{location-v76p8btm.js → model-retry-9ye8ngw9.js} +5 -5
  89. package/dist/chunks/{location-ehd7jrz2.js → model-retry-a0y3te94.js} +13 -13
  90. package/dist/chunks/{location-543xpwr1.js → model-retry-a5kv7pbm.js} +17 -17
  91. package/dist/chunks/{location-04s74fx7.js → model-retry-acdmrrd1.js} +8 -8
  92. package/dist/chunks/{location-p42xfgpg.js → model-retry-aday876c.js} +30 -30
  93. package/dist/chunks/{location-0ear39jp.js → model-retry-ae89zrxe.js} +11 -11
  94. package/dist/chunks/{location-hpj591dz.js → model-retry-aqd38yqk.js} +16 -16
  95. package/dist/chunks/{location-d3db3qjf.js → model-retry-aqw6e5th.js} +20 -20
  96. package/dist/chunks/{location-r2z94j39.js → model-retry-avfqqwb2.js} +6 -6
  97. package/dist/chunks/{location-f6k1kfp3.js → model-retry-axqdy1rc.js} +43 -43
  98. package/dist/chunks/{location-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
  99. package/dist/chunks/{location-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
  100. package/dist/chunks/{location-x16k5wpx.js → model-retry-b0qepsp5.js} +32 -32
  101. package/dist/chunks/{location-3aj7rrf8.js → model-retry-b3mc3p58.js} +11 -11
  102. package/dist/chunks/{location-bkdm27vv.js → model-retry-b58bxs6a.js} +190 -190
  103. package/dist/chunks/{location-q5vn80g9.js → model-retry-b5rpcebs.js} +12 -12
  104. package/dist/chunks/{location-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
  105. package/dist/chunks/{location-4zw1mhch.js → model-retry-bb0y23dv.js} +10 -10
  106. package/dist/chunks/{location-dgny4tbd.js → model-retry-bdw1mhts.js} +35 -35
  107. package/dist/chunks/{location-cb3hqvs8.js → model-retry-bfrx3eet.js} +73 -73
  108. package/dist/chunks/{location-fmye6e29.js → model-retry-bje4knzw.js} +6 -6
  109. package/dist/chunks/{location-vdgmg1hd.js → model-retry-brkew3yp.js} +12 -12
  110. package/dist/chunks/{location-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  111. package/dist/chunks/{location-r64cczjp.js → model-retry-btcc31mt.js} +13 -13
  112. package/dist/chunks/{location-4f51t6yt.js → model-retry-bzve7h1n.js} +33 -33
  113. package/dist/chunks/{location-z3bph6wb.js → model-retry-c7w6gk0d.js} +5 -5
  114. package/dist/chunks/{location-qzzv0ezg.js → model-retry-ca1hzz0z.js} +7 -7
  115. package/dist/chunks/{location-mc0e6tx9.js → model-retry-cbyrzr95.js} +31 -31
  116. package/dist/chunks/{location-yeyr4dj8.js → model-retry-cg67sgqr.js} +30 -30
  117. package/dist/chunks/{location-agxdnhx2.js → model-retry-cjn2m544.js} +27 -27
  118. package/dist/chunks/model-retry-ckzsjma5.js +26 -0
  119. package/dist/chunks/{location-5rffp0ca.js → model-retry-cpmqfxcq.js} +17 -17
  120. package/dist/chunks/{location-km5sdhrx.js → model-retry-d1aynxky.js} +54 -54
  121. package/dist/chunks/{location-3azbbmvr.js → model-retry-d4tjs1yx.js} +15 -15
  122. package/dist/chunks/{location-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  123. package/dist/chunks/{location-w4hzka6x.js → model-retry-d8g76yr4.js} +18 -18
  124. package/dist/chunks/{location-dkjms5pz.js → model-retry-d9qwxpwd.js} +26 -26
  125. package/dist/chunks/{location-3753v25r.js → model-retry-db7k79f7.js} +20 -20
  126. package/dist/chunks/{location-6y263vp8.js → model-retry-dbmp929s.js} +5 -5
  127. package/dist/chunks/{location-eqqpepv4.js → model-retry-debkngxd.js} +8 -8
  128. package/dist/chunks/{location-y8gj0fyz.js → model-retry-dher8hzb.js} +11 -11
  129. package/dist/chunks/{location-rqjkyyyt.js → model-retry-dn3a5ca8.js} +18 -18
  130. package/dist/chunks/{location-b8w355z9.js → model-retry-e1g8hcy1.js} +12 -12
  131. package/dist/chunks/{location-gw9sk7ym.js → model-retry-e1zjyyvc.js} +42 -42
  132. package/dist/chunks/{location-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
  133. package/dist/chunks/{location-9p9xqj3m.js → model-retry-e5dqjz6v.js} +8 -8
  134. package/dist/chunks/{location-c0hpt3fm.js → model-retry-e5nt5pcv.js} +4 -4
  135. package/dist/chunks/{location-e834z07m.js → model-retry-e834z07m.js} +1 -1
  136. package/dist/chunks/{location-a6g0efdt.js → model-retry-eg9pnzky.js} +38 -38
  137. package/dist/chunks/{location-embmaz50.js → model-retry-egv1p4fb.js} +45 -45
  138. package/dist/chunks/{location-ngxrbh81.js → model-retry-ek5jse1b.js} +28 -28
  139. package/dist/chunks/{location-tg1vr1qt.js → model-retry-enkpkfwx.js} +8 -8
  140. package/dist/chunks/{location-1vd7snte.js → model-retry-eqhrgn58.js} +43 -43
  141. package/dist/chunks/{location-m37sd98t.js → model-retry-eqmd2tfz.js} +7 -7
  142. package/dist/chunks/{location-jsvgjjsg.js → model-retry-f34n98jw.js} +33 -33
  143. package/dist/chunks/{location-075x5646.js → model-retry-f4fcece7.js} +15 -15
  144. package/dist/chunks/{location-mw1hb2pb.js → model-retry-f6n6tb5m.js} +19 -19
  145. package/dist/chunks/{location-9b28cy4d.js → model-retry-faewc6h3.js} +5 -5
  146. package/dist/chunks/{location-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{location-x514tm1v.js → model-retry-fx6779qx.js} +47 -47
  148. package/dist/chunks/{location-6rrz3dm6.js → model-retry-g0ew906k.js} +4 -4
  149. package/dist/chunks/{location-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{location-cfchc4zb.js → model-retry-g91txfza.js} +4 -4
  151. package/dist/chunks/{location-sgnyye5r.js → model-retry-gchz44rz.js} +26 -26
  152. package/dist/chunks/model-retry-gfm4ps3x.js +261 -0
  153. package/dist/chunks/{location-r0rzdwgt.js → model-retry-gj1k22fm.js} +8 -8
  154. package/dist/chunks/{location-wnpz0s1q.js → model-retry-gp4q8kgc.js} +4 -4
  155. package/dist/chunks/{location-f4sjmcvy.js → model-retry-gxvxk964.js} +13 -13
  156. package/dist/chunks/{location-9bag7kem.js → model-retry-h58n2v2h.js} +8 -8
  157. package/dist/chunks/{location-6s8srms1.js → model-retry-h9wrc0vd.js} +18 -18
  158. package/dist/chunks/{location-48fr60f0.js → model-retry-hawc6q6s.js} +4 -4
  159. package/dist/chunks/{location-tkkm20f7.js → model-retry-hbh5g7sq.js} +19 -19
  160. package/dist/chunks/{location-hdvwg22j.js → model-retry-hbjmb8md.js} +6 -6
  161. package/dist/chunks/{location-n8snqzaz.js → model-retry-hhqqebc6.js} +7 -7
  162. package/dist/chunks/{location-cb47sqp9.js → model-retry-hhtmqaqt.js} +18 -18
  163. package/dist/chunks/{location-ete0teby.js → model-retry-hhtnk8qy.js} +10 -10
  164. package/dist/chunks/{location-73ws2247.js → model-retry-hjg4cfjr.js} +70 -70
  165. package/dist/chunks/{location-0aqnrq7x.js → model-retry-hjvwy4ms.js} +35 -35
  166. package/dist/chunks/{location-4f258480.js → model-retry-hkby4gmz.js} +18 -18
  167. package/dist/chunks/{location-dg4g4j0t.js → model-retry-hmg9k6g3.js} +23 -23
  168. package/dist/chunks/{location-vghb18mt.js → model-retry-hp8gawhw.js} +16 -16
  169. package/dist/chunks/{location-y15wyx54.js → model-retry-hx4n917h.js} +2 -2
  170. package/dist/chunks/{location-j113cymg.js → model-retry-j113cymg.js} +1 -1
  171. package/dist/chunks/{location-d126gacg.js → model-retry-j17f5p09.js} +14 -14
  172. package/dist/chunks/{location-6xvr7jf7.js → model-retry-j910h5aj.js} +3 -3
  173. package/dist/chunks/{location-h9zgxh73.js → model-retry-jj52rngq.js} +5 -5
  174. package/dist/chunks/{location-c6jk0q5d.js → model-retry-jmekkt3w.js} +3 -3
  175. package/dist/chunks/{location-wdmx20pv.js → model-retry-jq88ke7r.js} +9 -9
  176. package/dist/chunks/{location-ywpksxwp.js → model-retry-jvasdgem.js} +17 -17
  177. package/dist/chunks/{location-x3r2mbb5.js → model-retry-jy2ar7az.js} +11 -11
  178. package/dist/chunks/{location-sv689qty.js → model-retry-k46s5hha.js} +21 -21
  179. package/dist/chunks/{location-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
  180. package/dist/chunks/{location-cdq478xq.js → model-retry-kbx45pjb.js} +27 -27
  181. package/dist/chunks/{location-kkew1p9e.js → model-retry-kkew1p9e.js} +3 -3
  182. package/dist/chunks/{location-c06ba7a3.js → model-retry-km7czr20.js} +21 -21
  183. package/dist/chunks/{location-9b1bq8k1.js → model-retry-kspt1gd4.js} +8 -8
  184. package/dist/chunks/{location-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  185. package/dist/chunks/{location-4cggrrsp.js → model-retry-kw23vkf0.js} +1 -1
  186. package/dist/chunks/{location-bntc87tw.js → model-retry-kwp52g30.js} +10 -10
  187. package/dist/chunks/{location-tv1fv7bp.js → model-retry-kxvkas7c.js} +5 -5
  188. package/dist/chunks/{location-m1714858.js → model-retry-m1714858.js} +1 -1
  189. package/dist/chunks/{location-a7hcemwv.js → model-retry-m81bzjfe.js} +11 -11
  190. package/dist/chunks/{location-g9ccq630.js → model-retry-m8kw722f.js} +52 -52
  191. package/dist/chunks/{location-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{location-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
  193. package/dist/chunks/{location-bhaqjw7f.js → model-retry-mdmq4ayq.js} +3 -3
  194. package/dist/chunks/{location-qj7jded1.js → model-retry-mg4jj3cq.js} +14 -14
  195. package/dist/chunks/{location-kme5wqcz.js → model-retry-mnb0kth4.js} +20 -20
  196. package/dist/chunks/{location-wgq490fn.js → model-retry-mq1hjbvv.js} +21 -21
  197. package/dist/chunks/{location-m7nf5dp7.js → model-retry-mt48qw68.js} +18 -18
  198. package/dist/chunks/{location-16mb5f8v.js → model-retry-mv9cyhb6.js} +30 -30
  199. package/dist/chunks/{location-ag7xc6h3.js → model-retry-mvf5yed7.js} +15 -15
  200. package/dist/chunks/{location-rbckb2ty.js → model-retry-mxjqcj4f.js} +17 -17
  201. package/dist/chunks/{location-h2fhca2s.js → model-retry-n4g6yntc.js} +10 -10
  202. package/dist/chunks/{location-at9bq00k.js → model-retry-n91mh7q3.js} +37 -37
  203. package/dist/chunks/{location-0bpkyfh4.js → model-retry-n9nqya42.js} +21 -21
  204. package/dist/chunks/{location-770pw0s1.js → model-retry-nah043kf.js} +4 -4
  205. package/dist/chunks/{location-17a3f6rk.js → model-retry-nf83kzdy.js} +45 -45
  206. package/dist/chunks/{location-vpnzc5p3.js → model-retry-npaxjfat.js} +35 -35
  207. package/dist/chunks/{location-6grvz7sb.js → model-retry-nxg0a76y.js} +22 -22
  208. package/dist/chunks/{location-x4y1x265.js → model-retry-ny7d5fer.js} +20 -20
  209. package/dist/chunks/{location-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
  210. package/dist/chunks/{location-af84d9dx.js → model-retry-p3ns8jke.js} +22 -22
  211. package/dist/chunks/{location-eqc54gfq.js → model-retry-p5t4xveb.js} +5 -5
  212. package/dist/chunks/{location-wm875330.js → model-retry-p81fp5vk.js} +32 -32
  213. package/dist/chunks/{location-kj2jaw6z.js → model-retry-p8s7ax7s.js} +4 -4
  214. package/dist/chunks/{location-15hh3cbc.js → model-retry-paae1hvb.js} +10 -10
  215. package/dist/chunks/{location-jje57wwm.js → model-retry-pcx7njc6.js} +28 -28
  216. package/dist/chunks/{location-53ehad73.js → model-retry-pk8bqs0r.js} +11 -11
  217. package/dist/chunks/{location-pknna89w.js → model-retry-pknna89w.js} +1 -1
  218. package/dist/chunks/{location-9je5s229.js → model-retry-ppheb231.js} +4 -4
  219. package/dist/chunks/{location-x3gjy9c2.js → model-retry-pzbahg37.js} +6 -6
  220. package/dist/chunks/{location-ftv2mfjw.js → model-retry-pzm5e1e5.js} +1 -1
  221. package/dist/chunks/{location-4c9pmv36.js → model-retry-q35f0zmw.js} +16 -16
  222. package/dist/chunks/{location-f4x3m1jb.js → model-retry-q5jvcvf9.js} +13 -13
  223. package/dist/chunks/{location-qjgzc4b4.js → model-retry-qjgzc4b4.js} +1 -1
  224. package/dist/chunks/{location-tfg9hd0y.js → model-retry-qk2x4zmh.js} +30 -30
  225. package/dist/chunks/{location-2s1jcspe.js → model-retry-qnz3a88e.js} +11 -11
  226. package/dist/chunks/{location-8nsfhtx4.js → model-retry-qq9g4at8.js} +52 -52
  227. package/dist/chunks/{location-3ryz99p0.js → model-retry-qqg9c0kv.js} +4 -4
  228. package/dist/chunks/{location-avxtkthz.js → model-retry-qv0xhenj.js} +81 -81
  229. package/dist/chunks/{location-8ggafv1b.js → model-retry-qwc3x251.js} +14 -14
  230. package/dist/chunks/{location-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
  231. package/dist/chunks/{location-r542h3bh.js → model-retry-r542h3bh.js} +1 -1
  232. package/dist/chunks/{location-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  233. package/dist/chunks/{location-f4mz2h0w.js → model-retry-rf0yhvg8.js} +20 -20
  234. package/dist/chunks/{location-ma9n1kat.js → model-retry-rnf8ygje.js} +3 -3
  235. package/dist/chunks/{location-npqdxqpg.js → model-retry-rrq81g5f.js} +20 -20
  236. package/dist/chunks/{location-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  237. package/dist/chunks/{location-gksz2zdz.js → model-retry-s44wx98y.js} +12 -12
  238. package/dist/chunks/{location-ecrg8485.js → model-retry-s4br5rnc.js} +11 -11
  239. package/dist/chunks/{location-sa3fpqfw.js → model-retry-sa3fpqfw.js} +2 -2
  240. package/dist/chunks/{location-ewepcnn2.js → model-retry-sdxwz4vj.js} +5 -5
  241. package/dist/chunks/{location-njfj8ewx.js → model-retry-skd7ds45.js} +14 -14
  242. package/dist/chunks/{location-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
  243. package/dist/chunks/{location-c9t2ty9q.js → model-retry-ssfehs1z.js} +4 -4
  244. package/dist/chunks/{location-f9wg2df5.js → model-retry-t0vy2dfp.js} +10 -10
  245. package/dist/chunks/{location-nkc01eya.js → model-retry-t3qvsv4x.js} +7 -7
  246. package/dist/chunks/{location-6ejgy672.js → model-retry-t42gxy5r.js} +8 -8
  247. package/dist/chunks/{location-3bn9zxbg.js → model-retry-t6j5m88d.js} +11 -11
  248. package/dist/chunks/{location-er214sbb.js → model-retry-t9hc3t3t.js} +18 -18
  249. package/dist/chunks/{location-px99x85z.js → model-retry-t9jfkh4s.js} +17 -17
  250. package/dist/chunks/{location-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  251. package/dist/chunks/{location-9btvkpqm.js → model-retry-tmgcn98f.js} +9 -9
  252. package/dist/chunks/{location-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
  253. package/dist/chunks/{location-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  254. package/dist/chunks/{location-cv0k61fs.js → model-retry-v2ydvkbp.js} +35 -35
  255. package/dist/chunks/{location-a4g64ecz.js → model-retry-v6bhxz94.js} +24 -24
  256. package/dist/chunks/{location-231a8wys.js → model-retry-v6h5bgwd.js} +8 -8
  257. package/dist/chunks/{location-ej5n7emy.js → model-retry-vcngc2jq.js} +32 -32
  258. package/dist/chunks/{location-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
  259. package/dist/chunks/{location-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
  260. package/dist/chunks/{location-jk9f0yn5.js → model-retry-vm0wcjea.js} +10 -10
  261. package/dist/chunks/{location-gyptvmbk.js → model-retry-vp3hqrv6.js} +26 -26
  262. package/dist/chunks/{location-g5tgmp0p.js → model-retry-vphhrdzm.js} +30 -30
  263. package/dist/chunks/{location-26sbc8wa.js → model-retry-vxp3z339.js} +22 -22
  264. package/dist/chunks/{location-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{location-xjx81hwy.js → model-retry-w4qj5bhy.js} +46 -46
  266. package/dist/chunks/{location-0d0matx1.js → model-retry-wa0020sp.js} +29 -29
  267. package/dist/chunks/{location-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  268. package/dist/chunks/{location-xkp5751n.js → model-retry-wc86xy3n.js} +13 -13
  269. package/dist/chunks/{location-wd87259q.js → model-retry-wd87259q.js} +1 -1
  270. package/dist/chunks/{location-ghwgmbde.js → model-retry-wdzvz19b.js} +16 -16
  271. package/dist/chunks/{location-fznmdakp.js → model-retry-wr3re1en.js} +4 -4
  272. package/dist/chunks/{location-wv5ws3cz.js → model-retry-wwf1bymv.js} +12 -12
  273. package/dist/chunks/{location-j19v72kq.js → model-retry-wx4hn9c6.js} +21 -21
  274. package/dist/chunks/model-retry-xcbrzhrb.js +517 -0
  275. package/dist/chunks/{location-6pns0xkq.js → model-retry-xfv5zx0r.js} +11 -11
  276. package/dist/chunks/{location-b92bqb2e.js → model-retry-y1rtgf89.js} +25 -25
  277. package/dist/chunks/{location-ja9tn20r.js → model-retry-y2nf64jh.js} +14 -14
  278. package/dist/chunks/{location-z5m176sc.js → model-retry-y4f1fvfh.js} +27 -27
  279. package/dist/chunks/{location-2bmn10af.js → model-retry-y6413w8f.js} +11 -11
  280. package/dist/chunks/{location-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{location-w6frvacy.js → model-retry-yqqqeckg.js} +32 -32
  282. package/dist/chunks/{location-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{location-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
  284. package/dist/chunks/{location-8j2gg8hq.js → model-retry-z3ae4np4.js} +21 -21
  285. package/dist/chunks/{location-ab01g4cm.js → model-retry-z3wn5wtx.js} +9 -9
  286. package/dist/chunks/{location-xgfj5271.js → model-retry-zewy1hcb.js} +11 -11
  287. package/dist/chunks/{location-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{location-cxpnepvy.js → model-retry-zx5t73xg.js} +20 -20
  289. package/dist/chunks/{location-42jd4697.js → model-retry-zzdv5d93.js} +4 -4
  290. package/dist/chunks/{location-kdr2amtg.js → model-retry-zzsxzmp1.js} +17 -17
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +87 -87
  296. package/dist/config/discovery.js +87 -87
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +104 -104
  299. package/dist/config/plugin/agent.js +120 -120
  300. package/dist/config/plugin/command.js +216 -216
  301. package/dist/config/plugin/compaction.js +157 -157
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +119 -119
  305. package/dist/config/plugin/image.js +118 -118
  306. package/dist/config/plugin/instruction.js +118 -118
  307. package/dist/config/plugin/location-watcher.js +118 -118
  308. package/dist/config/plugin/mcp.js +127 -127
  309. package/dist/config/plugin/policy.js +119 -119
  310. package/dist/config/plugin/provider.js +118 -118
  311. package/dist/config/plugin/reference.js +120 -120
  312. package/dist/config/plugin/shell.js +120 -120
  313. package/dist/config/plugin/skill-file.js +107 -107
  314. package/dist/config/plugin/skill-scan.js +3 -3
  315. package/dist/config/plugin/skill.js +140 -140
  316. package/dist/config/plugin/snapshot.js +118 -118
  317. package/dist/config/plugin/source.js +121 -121
  318. package/dist/config/plugin/tool-output.js +119 -119
  319. package/dist/config/plugin/websearch.js +119 -119
  320. package/dist/config/plugin/worktree.js +120 -120
  321. package/dist/config/variable.js +1 -1
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +123 -123
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +89 -89
  327. package/dist/database/database.js +70 -70
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  393. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  394. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  395. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  396. package/dist/database/migration.gen.js +53 -53
  397. package/dist/database/migration.js +55 -55
  398. package/dist/database/path.js +2 -2
  399. package/dist/database/schema.gen.js +1 -1
  400. package/dist/database/schema.sql.js +1 -1
  401. package/dist/database/sqlite.bun.js +1 -1
  402. package/dist/database/sqlite.js +1 -1
  403. package/dist/database/sqlite.node.js +1 -1
  404. package/dist/database/sqlite.workerd.js +1 -1
  405. package/dist/database/v1-migration.bun.js +97 -97
  406. package/dist/database/v1-migration.js +1 -1
  407. package/dist/effect/app-node-builder.js +374 -374
  408. package/dist/effect/app-node-platform.js +2 -2
  409. package/dist/effect/keyed-mutex.js +1 -1
  410. package/dist/effect/websocket-constructor.js +1 -1
  411. package/dist/environment/driver.js +1 -1
  412. package/dist/environment/environment.js +98 -98
  413. package/dist/environment/exec-defaults.js +2 -2
  414. package/dist/environment/files.js +1 -1
  415. package/dist/environment/index.js +100 -100
  416. package/dist/environment/local.js +2 -2
  417. package/dist/environment/memory.js +2 -2
  418. package/dist/environment/unavailable.js +3 -3
  419. package/dist/event/sql.js +1 -1
  420. package/dist/event-logger.js +74 -74
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +99 -99
  423. package/dist/file-retention.js +1 -1
  424. package/dist/filesystem/fff.bun.js +2 -2
  425. package/dist/filesystem/fff.js +1 -1
  426. package/dist/filesystem/fff.node.js +2 -2
  427. package/dist/filesystem/fff.workerd.js +2 -2
  428. package/dist/filesystem/location-watcher-policy.js +6 -6
  429. package/dist/filesystem/location-watcher.js +227 -227
  430. package/dist/filesystem/protected.js +1 -1
  431. package/dist/filesystem/search.js +104 -104
  432. package/dist/filesystem/watcher-binding.js +3 -3
  433. package/dist/filesystem/watcher.js +11 -11
  434. package/dist/filesystem.js +107 -107
  435. package/dist/form.js +84 -84
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +88 -88
  438. package/dist/generate.js +112 -112
  439. package/dist/git.js +11 -11
  440. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  441. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  442. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  444. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  445. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  446. package/dist/github-copilot/copilot-provider.js +17 -17
  447. package/dist/github-copilot/models.js +96 -96
  448. package/dist/github-copilot/openai-compatible-error.js +1 -1
  449. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  450. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  451. package/dist/github-copilot/responses/openai-error.js +1 -1
  452. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  453. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  454. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  455. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  456. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  458. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +5 -5
  462. package/dist/instance.js +365 -365
  463. package/dist/instruction-discovery.js +86 -86
  464. package/dist/instructions/builtins.js +90 -90
  465. package/dist/instructions/index.js +5 -5
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +93 -93
  468. package/dist/job.js +82 -82
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +77 -77
  471. package/dist/location-activity.js +158 -158
  472. package/dist/location-lifecycle.js +112 -112
  473. package/dist/location-service-map.js +91 -91
  474. package/dist/location-services.js +362 -362
  475. package/dist/location.js +94 -94
  476. package/dist/managed-policy.js +8 -8
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +114 -114
  479. package/dist/mcp/instructions.js +137 -137
  480. package/dist/mcp/oauth.js +82 -82
  481. package/dist/mcp/socket-client.js +1 -1
  482. package/dist/mcp/stdio.js +95 -95
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +96 -96
  485. package/dist/model-resolver.js +104 -104
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +105 -105
  488. package/dist/models-dev.js +104 -104
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +84 -84
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +118 -118
  493. package/dist/persistent-pty/binary.bun.js +1 -1
  494. package/dist/persistent-pty/daemon.js +1 -1
  495. package/dist/persistent-pty/index.js +92 -92
  496. package/dist/persistent-pty/pty-binding.js +1 -1
  497. package/dist/persistent-pty.js +79 -79
  498. package/dist/plugin/agent.js +80 -80
  499. package/dist/plugin/command.js +107 -107
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +220 -220
  502. package/dist/plugin/identity.js +5 -5
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +335 -335
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +101 -101
  507. package/dist/plugin/module.js +119 -119
  508. package/dist/plugin/optimize.js +4 -4
  509. package/dist/plugin/plan.js +107 -107
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  512. package/dist/plugin/provider/azure.js +118 -118
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/chatgpt.js +118 -118
  515. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  516. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  517. package/dist/plugin/provider/cohere.js +2 -2
  518. package/dist/plugin/provider/configured.js +114 -114
  519. package/dist/plugin/provider/databricks.js +1 -1
  520. package/dist/plugin/provider/digitalocean.js +98 -98
  521. package/dist/plugin/provider/dynamic.js +2 -2
  522. package/dist/plugin/provider/factory.js +1 -1
  523. package/dist/plugin/provider/github-copilot.js +100 -100
  524. package/dist/plugin/provider/gitlab.js +98 -98
  525. package/dist/plugin/provider/google-vertex.js +115 -115
  526. package/dist/plugin/provider/kilo.js +1 -1
  527. package/dist/plugin/provider/llmgateway.js +82 -82
  528. package/dist/plugin/provider/lmstudio.js +127 -127
  529. package/dist/plugin/provider/local.js +124 -124
  530. package/dist/plugin/provider/modal.js +97 -97
  531. package/dist/plugin/provider/neon.js +1 -1
  532. package/dist/plugin/provider/nvidia.js +1 -1
  533. package/dist/plugin/provider/ollama.js +127 -127
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +120 -120
  536. package/dist/plugin/provider/opencode.js +104 -104
  537. package/dist/plugin/provider/openrouter.js +96 -96
  538. package/dist/plugin/provider/perplexity.js +2 -2
  539. package/dist/plugin/provider/poe.js +83 -83
  540. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  541. package/dist/plugin/provider/sap-ai-core.js +96 -96
  542. package/dist/plugin/provider/sdk-factory.js +1 -1
  543. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  544. package/dist/plugin/provider/vercel.js +95 -95
  545. package/dist/plugin/provider/vllm.js +127 -127
  546. package/dist/plugin/provider/xai.js +96 -96
  547. package/dist/plugin/provider/zenmux.js +1 -1
  548. package/dist/plugin/provider.js +171 -171
  549. package/dist/plugin/sdk.js +80 -80
  550. package/dist/plugin/service.js +3 -3
  551. package/dist/plugin/skill.js +136 -136
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +354 -354
  554. package/dist/plugin/tool-input-repair.js +4 -4
  555. package/dist/plugin/update.js +6 -6
  556. package/dist/plugin/vcs/git.js +91 -91
  557. package/dist/plugin/vcs/hg.js +91 -91
  558. package/dist/plugin/verbosity.js +98 -98
  559. package/dist/plugin/warming.js +116 -116
  560. package/dist/plugin/websearch/exa.js +7 -7
  561. package/dist/plugin/websearch/firecrawl.js +8 -8
  562. package/dist/plugin/websearch/index.js +9 -9
  563. package/dist/plugin/websearch/mcp.js +4 -4
  564. package/dist/plugin/websearch/parallel.js +6 -6
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +8 -8
  567. package/dist/plugin.js +231 -231
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +93 -93
  571. package/dist/provider.js +106 -106
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +101 -101
  575. package/dist/reference/instructions.js +92 -92
  576. package/dist/reference.js +96 -96
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +1 -1
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +102 -102
  581. package/dist/rpc.js +91 -91
  582. package/dist/schema.js +1 -1
  583. package/dist/session/affinity.js +1 -1
  584. package/dist/session/command.js +78 -78
  585. package/dist/session/compaction.js +139 -139
  586. package/dist/session/context.js +167 -167
  587. package/dist/session/diff.js +93 -93
  588. package/dist/session/environment.js +5 -5
  589. package/dist/session/error.js +3 -3
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +223 -223
  592. package/dist/session/execution.js +133 -133
  593. package/dist/session/generate.js +169 -169
  594. package/dist/session/history.js +15 -15
  595. package/dist/session/inbox.js +99 -99
  596. package/dist/session/info.js +3 -3
  597. package/dist/session/instruction-entry.js +83 -83
  598. package/dist/session/instruction-state.js +8 -8
  599. package/dist/session/instructions.js +102 -102
  600. package/dist/session/message-updater.js +2 -2
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +125 -125
  603. package/dist/session/model-transport.js +9 -9
  604. package/dist/session/move.js +135 -135
  605. package/dist/session/projector.js +93 -93
  606. package/dist/session/prompt.js +110 -110
  607. package/dist/session/recent-text.js +1 -1
  608. package/dist/session/revert.js +99 -99
  609. package/dist/session/run-coordinator.js +3 -3
  610. package/dist/session/runner/index.js +3 -3
  611. package/dist/session/runner/llm.js +233 -233
  612. package/dist/session/runner/max-steps.js +1 -1
  613. package/dist/session/runner/model.js +105 -105
  614. package/dist/session/runner/publish-llm-event.js +118 -118
  615. package/dist/session/runner/retry.js +5 -5
  616. package/dist/session/runner/step.js +131 -131
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +1 -1
  619. package/dist/session/session.js +167 -167
  620. package/dist/session/shell.js +132 -132
  621. package/dist/session/skill.js +108 -108
  622. package/dist/session/sql.js +5 -5
  623. package/dist/session/stats.js +77 -77
  624. package/dist/session/store.js +89 -89
  625. package/dist/session/subagent-completion.js +1 -1
  626. package/dist/session/subagent-job.js +214 -214
  627. package/dist/session/system-prompt.js +5 -5
  628. package/dist/session/title.js +171 -171
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +217 -217
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +212 -212
  633. package/dist/shell/parse.js +8 -8
  634. package/dist/shell/result.js +1 -1
  635. package/dist/shell/scan.js +1 -1
  636. package/dist/shell/select.js +15 -15
  637. package/dist/shell.js +132 -132
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +110 -110
  640. package/dist/skill.js +117 -117
  641. package/dist/snapshot.js +98 -98
  642. package/dist/state.js +1 -1
  643. package/dist/tool/html-markdown.js +1 -1
  644. package/dist/tool/http-body.js +1 -1
  645. package/dist/tool/mcp.js +138 -138
  646. package/dist/tool/plugin/edit.js +125 -125
  647. package/dist/tool/plugin/file-diff.js +1 -1
  648. package/dist/tool/plugin/glob.js +129 -129
  649. package/dist/tool/plugin/grep.js +129 -129
  650. package/dist/tool/plugin/mcp-resource.js +129 -129
  651. package/dist/tool/plugin/opencode.js +114 -114
  652. package/dist/tool/plugin/patch.js +125 -125
  653. package/dist/tool/plugin/question.js +108 -108
  654. package/dist/tool/plugin/read.js +130 -130
  655. package/dist/tool/plugin/shell.js +219 -219
  656. package/dist/tool/plugin/skill.js +116 -116
  657. package/dist/tool/plugin/subagent.js +221 -221
  658. package/dist/tool/plugin/todo.js +140 -140
  659. package/dist/tool/plugin/webfetch.js +114 -114
  660. package/dist/tool/plugin/websearch.js +119 -119
  661. package/dist/tool/plugin/write.js +127 -127
  662. package/dist/tool/read-filesystem.js +103 -103
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +14 -14
  666. package/dist/usage-limits.js +89 -89
  667. package/dist/util/error-summary.js +1 -1
  668. package/dist/util/git-executable.js +3 -3
  669. package/dist/util/lazy.js +1 -1
  670. package/dist/util/slug.js +1 -1
  671. package/dist/util/token.js +1 -1
  672. package/dist/util/which.js +1 -1
  673. package/dist/util/wildcard.js +1 -1
  674. package/dist/v1/config/agent.js +7 -7
  675. package/dist/v1/config/command.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +97 -97
  678. package/dist/v1/config/permission.js +7 -7
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +96 -96
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +94 -94
  685. package/dist/voice.js +92 -92
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +80 -80
  688. package/dist/wellknown.js +85 -85
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +86 -86
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +11 -11
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +94 -94
  696. package/dist/worktree.js +103 -103
  697. package/package.json +8 -8
  698. package/dist/chunks/location-6617700v.js +0 -26
  699. package/dist/chunks/location-d77dj7jw.js +0 -18
  700. package/dist/chunks/location-ge8wzs3p.js +0 -261
  701. package/dist/chunks/location-y7z4tzab.js +0 -517
  702. /package/dist/chunks/{location-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{location-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{location-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{location-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{location-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{location-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{location-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{location-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{location-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{location-3asan66x.js → model-retry-3asan66x.js} +0 -0
  712. /package/dist/chunks/{location-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{location-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{location-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{location-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{location-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{location-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{location-53557ph1.js → model-retry-53557ph1.js} +0 -0
  719. /package/dist/chunks/{location-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{location-6prwharc.js → model-retry-6prwharc.js} +0 -0
  721. /package/dist/chunks/{location-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{location-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{location-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{location-822emrt2.js → model-retry-822emrt2.js} +0 -0
  725. /package/dist/chunks/{location-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{location-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{location-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{location-8whp40kv.js → model-retry-8whp40kv.js} +0 -0
  729. /package/dist/chunks/{location-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{location-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{location-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{location-a058387c.js → model-retry-a058387c.js} +0 -0
  733. /package/dist/chunks/{location-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{location-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{location-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{location-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{location-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{location-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{location-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{location-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{location-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  742. /package/dist/chunks/{location-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{location-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{location-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{location-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{location-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{location-df08tz66.js → model-retry-df08tz66.js} +0 -0
  748. /package/dist/chunks/{location-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{location-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{location-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{location-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{location-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{location-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{location-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{location-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{location-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{location-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{location-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{location-g86h250q.js → model-retry-g86h250q.js} +0 -0
  760. /package/dist/chunks/{location-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{location-gftt206x.js → model-retry-gftt206x.js} +0 -0
  762. /package/dist/chunks/{location-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  763. /package/dist/chunks/{location-hk9envan.js → model-retry-hk9envan.js} +0 -0
  764. /package/dist/chunks/{location-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{location-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{location-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{location-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{location-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{location-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  770. /package/dist/chunks/{location-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
  771. /package/dist/chunks/{location-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{location-m18g726c.js → model-retry-m18g726c.js} +0 -0
  773. /package/dist/chunks/{location-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{location-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{location-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{location-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{location-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{location-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
  779. /package/dist/chunks/{location-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{location-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{location-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{location-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{location-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{location-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{location-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{location-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{location-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{location-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{location-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  790. /package/dist/chunks/{location-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{location-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{location-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{location-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
  794. /package/dist/chunks/{location-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  795. /package/dist/chunks/{location-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  796. /package/dist/chunks/{location-x61499pn.js → model-retry-x61499pn.js} +0 -0
  797. /package/dist/chunks/{location-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  798. /package/dist/chunks/{location-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{location-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{location-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{location-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  802. /package/dist/chunks/{location-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
@@ -0,0 +1,261 @@
1
+ import {
2
+ node74
3
+ } from "./model-retry-nxg0a76y.js";
4
+ import {
5
+ node88
6
+ } from "./model-retry-ny7d5fer.js";
7
+ import {
8
+ node87
9
+ } from "./model-retry-p81fp5vk.js";
10
+ import {
11
+ node81,
12
+ boundNode2
13
+ } from "./model-retry-jvasdgem.js";
14
+ import {
15
+ node79
16
+ } from "./model-retry-yqqqeckg.js";
17
+ import {
18
+ node69
19
+ } from "./model-retry-brkew3yp.js";
20
+ import {
21
+ node78
22
+ } from "./model-retry-vcngc2jq.js";
23
+ import {
24
+ node45
25
+ } from "./model-retry-k46s5hha.js";
26
+ import {
27
+ configured10,
28
+ node75
29
+ } from "./model-retry-w4qj5bhy.js";
30
+ import {
31
+ node60
32
+ } from "./model-retry-1m6xs2a7.js";
33
+ import {
34
+ node16
35
+ } from "./model-retry-q5jvcvf9.js";
36
+ import {
37
+ node15
38
+ } from "./model-retry-hhqqebc6.js";
39
+ import {
40
+ node42
41
+ } from "./model-retry-d9qwxpwd.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node41
45
+ } from "./model-retry-vphhrdzm.js";
46
+ import {
47
+ node68
48
+ } from "./model-retry-nf83kzdy.js";
49
+ import {
50
+ node20
51
+ } from "./model-retry-vp3hqrv6.js";
52
+ import {
53
+ node86
54
+ } from "./model-retry-v6bhxz94.js";
55
+ import {
56
+ node22
57
+ } from "./model-retry-cpmqfxcq.js";
58
+ import {
59
+ node48
60
+ } from "./model-retry-tmgcn98f.js";
61
+ import {
62
+ node39
63
+ } from "./model-retry-qq9g4at8.js";
64
+ import {
65
+ Service63,
66
+ node67
67
+ } from "./model-retry-32rqdfc7.js";
68
+ import {
69
+ node30
70
+ } from "./model-retry-0rax2qmn.js";
71
+ import {
72
+ node80
73
+ } from "./model-retry-v6h5bgwd.js";
74
+ import {
75
+ node71
76
+ } from "./model-retry-fx6779qx.js";
77
+ import {
78
+ node66
79
+ } from "./model-retry-mxjqcj4f.js";
80
+ import {
81
+ configured6,
82
+ node54
83
+ } from "./model-retry-4hbn04c3.js";
84
+ import {
85
+ node33
86
+ } from "./model-retry-f4fcece7.js";
87
+ import {
88
+ node47
89
+ } from "./model-retry-5shay012.js";
90
+ import {
91
+ node59
92
+ } from "./model-retry-ae89zrxe.js";
93
+ import {
94
+ node38
95
+ } from "./model-retry-y2nf64jh.js";
96
+ import {
97
+ node37
98
+ } from "./model-retry-wa0020sp.js";
99
+ import {
100
+ node40
101
+ } from "./model-retry-592w8t9y.js";
102
+ import {
103
+ node34
104
+ } from "./model-retry-5ymyvjqm.js";
105
+ import {
106
+ node49
107
+ } from "./model-retry-rf0yhvg8.js";
108
+ import {
109
+ node35
110
+ } from "./model-retry-f6n6tb5m.js";
111
+ import {
112
+ node28
113
+ } from "./model-retry-bfrx3eet.js";
114
+ import {
115
+ node44
116
+ } from "./model-retry-f34n98jw.js";
117
+ import {
118
+ node63
119
+ } from "./model-retry-p3ns8jke.js";
120
+ import {
121
+ node57
122
+ } from "./model-retry-eqhrgn58.js";
123
+ import {
124
+ node24
125
+ } from "./model-retry-hhtmqaqt.js";
126
+ import {
127
+ node21
128
+ } from "./model-retry-km7czr20.js";
129
+ import {
130
+ node50
131
+ } from "./model-retry-h9wrc0vd.js";
132
+ import {
133
+ node53
134
+ } from "./model-retry-wx4hn9c6.js";
135
+ import {
136
+ node19
137
+ } from "./model-retry-db7k79f7.js";
138
+ import {
139
+ node4
140
+ } from "./model-retry-qk2x4zmh.js";
141
+ import {
142
+ Service20,
143
+ node23
144
+ } from "./model-retry-npaxjfat.js";
145
+ import {
146
+ node25
147
+ } from "./model-retry-t9hc3t3t.js";
148
+ import {
149
+ node11,
150
+ bound2
151
+ } from "./model-retry-enkpkfwx.js";
152
+ import {
153
+ node9
154
+ } from "./model-retry-e1zjyyvc.js";
155
+ import {
156
+ node14
157
+ } from "./model-retry-hbh5g7sq.js";
158
+ import {
159
+ node5
160
+ } from "./model-retry-egv1p4fb.js";
161
+ import {
162
+ node51
163
+ } from "./model-retry-7rt6wz40.js";
164
+ import {
165
+ node3
166
+ } from "./model-retry-gchz44rz.js";
167
+ import {
168
+ node2
169
+ } from "./model-retry-hjg4cfjr.js";
170
+ import {
171
+ __export
172
+ } from "./model-retry-9rqn6x4v.js";
173
+
174
+ // src/instance.ts
175
+ var exports_instance = {};
176
+ __export(exports_instance, {
177
+ Instance: () => exports_instance,
178
+ Service: () => Service63,
179
+ graph: () => graph2,
180
+ layer: () => layer2,
181
+ node: () => node67
182
+ });
183
+ import { Context, Effect, Layer } from "effect";
184
+ import { LayerNode } from "@opencode/util/effect/layer-node";
185
+ import { Node } from "@opencode/util/effect/app-node";
186
+ var nodes = [
187
+ node81,
188
+ node23,
189
+ node60,
190
+ node75,
191
+ node74,
192
+ node45,
193
+ node40,
194
+ node24,
195
+ node50,
196
+ node87,
197
+ node79,
198
+ node78,
199
+ node68,
200
+ node69,
201
+ node19,
202
+ node80,
203
+ node11,
204
+ node5,
205
+ node53,
206
+ node42,
207
+ node41,
208
+ node63,
209
+ node51,
210
+ node57,
211
+ node49,
212
+ node33,
213
+ node54,
214
+ node25,
215
+ node16,
216
+ node15,
217
+ node39,
218
+ node71,
219
+ node47,
220
+ node59,
221
+ node48,
222
+ node35,
223
+ node34,
224
+ node30,
225
+ node88,
226
+ node20,
227
+ node86,
228
+ node22,
229
+ node38,
230
+ node37,
231
+ node14,
232
+ node66,
233
+ node9,
234
+ node3,
235
+ node28,
236
+ node44,
237
+ node2,
238
+ node21,
239
+ node4
240
+ ];
241
+ var graph2 = LayerNode.group(nodes);
242
+ var vanillaReplacements = [
243
+ node75.replace(configured10({ project: false, global: false })),
244
+ node54.replace(configured6({ project: false, global: false }))
245
+ ];
246
+ function layer2(ref, options = {}) {
247
+ const startedAt = performance.now();
248
+ const replacements = [
249
+ ...options.discovery === false ? vanillaReplacements : [],
250
+ ...options.replacements ?? [],
251
+ node81.replace(boundNode2(ref)),
252
+ node11.replace(bound2(options.plugins ?? []))
253
+ ];
254
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service20).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
255
+ directory: ref.directory,
256
+ workspaceID: ref.workspaceID,
257
+ durationMs: Math.round(performance.now() - startedAt)
258
+ })));
259
+ }
260
+
261
+ export { graph2, layer2, exports_instance };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service44
3
- } from "./location-sv689qty.js";
2
+ Service42
3
+ } from "./model-retry-k46s5hha.js";
4
4
  import {
5
- Service53
6
- } from "./location-qah7t4da.js";
5
+ Service63
6
+ } from "./model-retry-32rqdfc7.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./location-d77dj7jw.js";
9
+ } from "./model-retry-2dkjcnxp.js";
10
10
  import {
11
11
  __export
12
- } from "./location-9rqn6x4v.js";
12
+ } from "./model-retry-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service53;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
22
+ const instances = yield* Service63;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./location-e834z07m.js";
3
+ } from "./model-retry-e834z07m.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./location-z5v4ffb3.js";
6
+ } from "./model-retry-z5v4ffb3.js";
7
7
  import {
8
8
  ID4,
9
9
  Name2
10
- } from "./location-f4mz2h0w.js";
10
+ } from "./model-retry-rf0yhvg8.js";
11
11
  import {
12
12
  __export
13
- } from "./location-9rqn6x4v.js";
13
+ } from "./model-retry-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service55,
3
- node57,
2
+ Service66,
3
+ node70,
4
4
  canonical3
5
- } from "./location-xgfj5271.js";
5
+ } from "./model-retry-zewy1hcb.js";
6
6
  import {
7
- Service53,
8
- node55
9
- } from "./location-qah7t4da.js";
7
+ Service63,
8
+ node67
9
+ } from "./model-retry-32rqdfc7.js";
10
10
  import {
11
- Service15
12
- } from "./location-vpnzc5p3.js";
11
+ Service20
12
+ } from "./model-retry-npaxjfat.js";
13
13
  import {
14
14
  layer2
15
- } from "./location-ge8wzs3p.js";
15
+ } from "./model-retry-gfm4ps3x.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service55, Effect.gen(function* () {
20
+ return Layer.effect(Service66, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
27
27
  const finish = Effect.suspend(() => {
28
28
  if (Exit.isSuccess(exit)) {
29
29
  return Effect.gen(function* () {
30
- const lifecycle = Context.get(exit.value, Service15);
30
+ const lifecycle = Context.get(exit.value, Service20);
31
31
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
32
32
  return yield* lifecycle.shutdown;
33
33
  build.close = lifecycle.shutdown;
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
54
54
  }).pipe(Effect.uninterruptible)
55
55
  };
56
56
  const bindings = [
57
- node55.replace(Layer.succeed(Service53, {
57
+ node67.replace(Layer.succeed(Service63, {
58
58
  provide: (session) => Effect.provide(map.get(session.location))
59
59
  })),
60
60
  ...replacements,
61
- node57.replace(Layer.succeed(Service55, map))
61
+ node70.replace(Layer.succeed(Service66, map))
62
62
  ];
63
63
  return map;
64
64
  }));
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-2s1jcspe.js";
3
+ } from "./model-retry-qnz3a88e.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin6,
11
+ Plugin: () => Plugin21,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint3 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin6 = define({
32
+ var Plugin21 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin6 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin6 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin6, exports_tavily };
80
+ export { endpoint3, Plugin21, exports_tavily };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./location-cfchc4zb.js";
4
+ } from "./model-retry-g91txfza.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./location-bntc87tw.js";
6
+ Service81,
7
+ node85
8
+ } from "./model-retry-kwp52g30.js";
9
9
  import {
10
10
  create3
11
- } from "./location-vd3b3yk9.js";
11
+ } from "./model-retry-vd3b3yk9.js";
12
12
  import {
13
13
  __export
14
- } from "./location-9rqn6x4v.js";
14
+ } from "./model-retry-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event11,
20
+ Event: () => Event8,
21
21
  ID: () => ID5,
22
22
  Input: () => Input15,
23
23
  Provider: () => Provider2,
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service45,
31
+ Service: () => Service46,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node48
33
+ node: () => node50
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event11 } from "@opencode/schema/websearch";
40
+ import { Event as Event8 } from "@opencode/schema/websearch";
41
41
  var ID5 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input15 = WebSearch.Input;
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
63
63
  }) {
64
64
  }
65
65
 
66
- class Service45 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service46 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service45, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
69
69
  const bus = yield* Service86;
70
- const kv = yield* Service84;
70
+ const kv = yield* Service81;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service45.of({
127
+ return Service46.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node48 = makeLocationNode({
188
- service: Service45,
187
+ var node50 = makeLocationNode({
188
+ service: Service46,
189
189
  layer,
190
- deps: [node90, node88]
190
+ deps: [node90, node85]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service45, node48, exports_websearch3, Event11 };
193
+ export { ID5, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service46, node50, exports_websearch3, Event8 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./location-njfj8ewx.js";
3
+ } from "./model-retry-skd7ds45.js";
4
4
 
5
5
  // src/plugin/provider/vllm.ts
6
6
  import { Effect, Schema } from "effect";
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
11
11
  max_model_len: Schema.NullOr(Schema.Int)
12
12
  });
13
13
  var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
14
- var make5 = createLocalProviderPlugin2({
14
+ var make10 = createLocalProviderPlugin2({
15
15
  id: "opencode.provider.vllm",
16
16
  providerID,
17
17
  name: "vLLM",
@@ -26,6 +26,6 @@ var make5 = createLocalProviderPlugin2({
26
26
  context: item.max_model_len
27
27
  })
28
28
  });
29
- var VLLMPlugin2 = make5();
29
+ var VLLMPlugin2 = make10();
30
30
 
31
- export { make5, VLLMPlugin2 };
31
+ export { make10, VLLMPlugin2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./location-cfchc4zb.js";
4
+ } from "./model-retry-g91txfza.js";
5
5
  import {
6
- Service81,
7
- node85
8
- } from "./location-ywpksxwp.js";
6
+ Service77,
7
+ node81
8
+ } from "./model-retry-jvasdgem.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./location-ec1grn59.js";
11
+ } from "./model-retry-ec1grn59.js";
12
12
  import {
13
- Service77,
14
- node81
15
- } from "./location-8ggafv1b.js";
13
+ Service68,
14
+ node72
15
+ } from "./model-retry-qwc3x251.js";
16
16
  import {
17
17
  __export
18
- } from "./location-9rqn6x4v.js";
18
+ } from "./model-retry-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service7,
23
+ Service: () => Service12,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node9
25
+ node: () => node14
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service7 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service12 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service7, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
38
38
  const bus = yield* Service86;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service77;
41
- const location = yield* Service81;
40
+ const store = yield* Service68;
41
+ const location = yield* Service77;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service7.of({ load });
87
+ return Service12.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node9 = makeLocationNode({
98
+ var node14 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node90, FSUtil.node, node85, node81]
101
+ deps: [node90, FSUtil.node, node81, node72]
102
102
  });
103
103
 
104
- export { Service7, node9, exports_instructions };
104
+ export { Service12, node14, exports_instructions };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make20,
14
- node: () => node79,
13
+ make: () => make17,
14
+ node: () => node62,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make20 = (driver) => driver;
32
+ var make17 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node79 = registryNode2({});
47
+ var node62 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node79, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node62, exports_driver };
@@ -1,13 +1,13 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./location-ywpksxwp.js";
2
+ Service77,
3
+ node81
4
+ } from "./model-retry-jvasdgem.js";
5
5
  import {
6
6
  create3
7
- } from "./location-vd3b3yk9.js";
7
+ } from "./model-retry-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./location-9rqn6x4v.js";
10
+ } from "./model-retry-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode/util/process";
24
24
  class Service13 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
26
  var layer = Layer.effect(Service13, Effect.gen(function* () {
27
- const location = yield* Service81;
27
+ const location = yield* Service77;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
90
90
  var node15 = makeLocationNode({
91
91
  service: Service13,
92
92
  layer,
93
- deps: [node85, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
96
  export { Service13, node15, exports_formatter2 };