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

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  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 +77 -77
  7. package/dist/chunks/{model-retry-8bc2ahr8.js → image-033a0jkt.js} +3 -3
  8. package/dist/chunks/{model-retry-034tev2y.js → image-034tev2y.js} +2 -2
  9. package/dist/chunks/{model-retry-hhtnk8qy.js → image-05nfgzjq.js} +10 -10
  10. package/dist/chunks/{model-retry-bb0y23dv.js → image-07vs3nj0.js} +10 -10
  11. package/dist/chunks/{model-retry-vcngc2jq.js → image-0gc146vq.js} +33 -33
  12. package/dist/chunks/{model-retry-nf83kzdy.js → image-0m97cnkj.js} +37 -37
  13. package/dist/chunks/{model-retry-7n7qp0dz.js → image-0r1vx8v5.js} +31 -31
  14. package/dist/chunks/{model-retry-qq9g4at8.js → image-0s5s6e2d.js} +51 -51
  15. package/dist/chunks/{model-retry-82vzzvc0.js → image-0tg8k0ws.js} +12 -12
  16. package/dist/chunks/{model-retry-qv0xhenj.js → image-0xms9gce.js} +91 -91
  17. package/dist/chunks/{model-retry-f4fcece7.js → image-13a2mh91.js} +16 -16
  18. package/dist/chunks/{model-retry-enkpkfwx.js → image-160yv0cs.js} +8 -8
  19. package/dist/chunks/{model-retry-0rax2qmn.js → image-16hjntf9.js} +15 -15
  20. package/dist/chunks/{model-retry-qqg9c0kv.js → image-184a1rnm.js} +7 -7
  21. package/dist/chunks/{model-retry-1ep2p91f.js → image-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{model-retry-27994c7b.js → image-1f7agfq0.js} +5 -5
  23. package/dist/chunks/{model-retry-jj52rngq.js → image-1fwkns73.js} +5 -5
  24. package/dist/chunks/{model-retry-4drgpw32.js → image-1nwxscpy.js} +5 -5
  25. package/dist/chunks/{model-retry-t9jfkh4s.js → image-1w13evse.js} +17 -17
  26. package/dist/chunks/{model-retry-1x2knyw4.js → image-1x2knyw4.js} +1 -1
  27. package/dist/chunks/{model-retry-1yq9hg58.js → image-1yq9hg58.js} +1 -1
  28. package/dist/chunks/{model-retry-n4g6yntc.js → image-24xfnb6j.js} +12 -12
  29. package/dist/chunks/{model-retry-btcc31mt.js → image-2mrxht5b.js} +13 -13
  30. package/dist/chunks/{model-retry-7pp4cpj7.js → image-2nj0wjyp.js} +2 -2
  31. package/dist/chunks/{model-retry-gj1k22fm.js → image-2yw6w8fw.js} +8 -8
  32. package/dist/chunks/{model-retry-aqd38yqk.js → image-2z1fntxb.js} +16 -16
  33. package/dist/chunks/{model-retry-2z1j29yd.js → image-2z1j29yd.js} +1 -1
  34. package/dist/chunks/{model-retry-j910h5aj.js → image-2z7erwjw.js} +3 -3
  35. package/dist/chunks/{model-retry-a0y3te94.js → image-31r5thkn.js} +11 -11
  36. package/dist/chunks/{model-retry-4jred12r.js → image-326fkxd2.js} +23 -23
  37. package/dist/chunks/{model-retry-6c5cd6ez.js → image-32s59e8p.js} +9 -9
  38. package/dist/chunks/{model-retry-cg67sgqr.js → image-35fhh73b.js} +30 -30
  39. package/dist/chunks/{model-retry-17cjzed1.js → image-36qx82yz.js} +4 -4
  40. package/dist/chunks/{model-retry-qk2x4zmh.js → image-37cktt0g.js} +32 -32
  41. package/dist/chunks/{model-retry-hp8gawhw.js → image-3gqz1bk6.js} +19 -19
  42. package/dist/chunks/{model-retry-3hepkmqq.js → image-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{model-retry-gxvxk964.js → image-3n1ttctm.js} +13 -13
  44. package/dist/chunks/{model-retry-3nnrz6f6.js → image-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{model-retry-0nd9gsrv.js → image-3t73xeyv.js} +2 -2
  46. package/dist/chunks/{model-retry-w4qj5bhy.js → image-3zqzrtkk.js} +49 -49
  47. package/dist/chunks/{model-retry-p8s7ax7s.js → image-40p0fyqq.js} +4 -4
  48. package/dist/chunks/{model-retry-bdw1mhts.js → image-4ad74sg8.js} +32 -32
  49. package/dist/chunks/{model-retry-y2nf64jh.js → image-4jnmqarr.js} +17 -17
  50. package/dist/chunks/{model-retry-17xhxfsn.js → image-4sxex0rx.js} +14 -14
  51. package/dist/chunks/{model-retry-4v008n1t.js → image-4v008n1t.js} +1 -1
  52. package/dist/chunks/{model-retry-hjvwy4ms.js → image-4v1m73gd.js} +33 -33
  53. package/dist/chunks/{model-retry-bzve7h1n.js → image-4wc3fxck.js} +30 -30
  54. package/dist/chunks/{model-retry-4xvmh7wp.js → image-4xvmh7wp.js} +3 -3
  55. package/dist/chunks/{model-retry-kbx45pjb.js → image-4xy1sasq.js} +29 -29
  56. package/dist/chunks/{model-retry-5shay012.js → image-4z67m3qv.js} +25 -25
  57. package/dist/chunks/{model-retry-cbyrzr95.js → image-51xz9zrd.js} +32 -32
  58. package/dist/chunks/{model-retry-5m9w47nd.js → image-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{model-retry-b6vsg801.js → image-5nnwax6m.js} +5 -5
  60. package/dist/chunks/{model-retry-e3qxr5gk.js → image-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{model-retry-1602d4m9.js → image-5qv54f7z.js} +9 -9
  62. package/dist/chunks/{model-retry-2ns8tfyg.js → image-5sdj1qr8.js} +9 -9
  63. package/dist/chunks/{model-retry-mxjqcj4f.js → image-5sf4bm6j.js} +17 -17
  64. package/dist/chunks/{model-retry-678hegmz.js → image-62tfx8ce.js} +9 -9
  65. package/dist/chunks/{model-retry-qwc3x251.js → image-68zmakm4.js} +14 -14
  66. package/dist/chunks/{model-retry-xcbrzhrb.js → image-6b8sz5eq.js} +332 -332
  67. package/dist/chunks/{model-retry-6esdw8yj.js → image-6esdw8yj.js} +1 -1
  68. package/dist/chunks/{model-retry-6pjqjmy2.js → image-6pjqjmy2.js} +1 -1
  69. package/dist/chunks/{model-retry-debkngxd.js → image-6r4vkcek.js} +8 -8
  70. package/dist/chunks/{model-retry-vxp3z339.js → image-6vep9ays.js} +24 -24
  71. package/dist/chunks/{model-retry-a5kv7pbm.js → image-6xd8dker.js} +17 -17
  72. package/dist/chunks/image-6zjm2phc.js +18 -0
  73. package/dist/chunks/{model-retry-t9hc3t3t.js → image-73jz4da7.js} +18 -18
  74. package/dist/chunks/{model-retry-eqhrgn58.js → image-75jwphnh.js} +51 -51
  75. package/dist/chunks/{model-retry-3109wbwk.js → image-76md86nq.js} +22 -22
  76. package/dist/chunks/{model-retry-nah043kf.js → image-770pw0s1.js} +4 -4
  77. package/dist/chunks/{model-retry-7bmhse3q.js → image-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{model-retry-q5jvcvf9.js → image-7ce27r81.js} +7 -7
  79. package/dist/chunks/{model-retry-vp3hqrv6.js → image-7chq9j9h.js} +26 -26
  80. package/dist/chunks/{model-retry-sdxwz4vj.js → image-7ecx6m67.js} +5 -5
  81. package/dist/chunks/{model-retry-h58n2v2h.js → image-7gwka3rf.js} +8 -8
  82. package/dist/chunks/{model-retry-6zcc165v.js → image-7vp7j2yf.js} +6 -6
  83. package/dist/chunks/{model-retry-7w2ypzdf.js → image-7w2ypzdf.js} +1 -1
  84. package/dist/chunks/{model-retry-mvf5yed7.js → image-80de0dpk.js} +15 -15
  85. package/dist/chunks/{model-retry-ca1hzz0z.js → image-87r11qxp.js} +7 -7
  86. package/dist/chunks/{model-retry-q35f0zmw.js → image-8anjt5n3.js} +16 -16
  87. package/dist/chunks/{model-retry-zewy1hcb.js → image-8j5cfpkk.js} +11 -11
  88. package/dist/chunks/{model-retry-7816y9pf.js → image-8satscgr.js} +15 -15
  89. package/dist/chunks/{model-retry-p5t4xveb.js → image-8tmbg2kp.js} +5 -5
  90. package/dist/chunks/{model-retry-8wtp7s3z.js → image-8wtp7s3z.js} +1 -1
  91. package/dist/chunks/{model-retry-pzm5e1e5.js → image-8zef63vm.js} +1 -1
  92. package/dist/chunks/{model-retry-4z907t0k.js → image-91ht5475.js} +20 -20
  93. package/dist/chunks/{model-retry-91rj84md.js → image-91rj84md.js} +1 -1
  94. package/dist/chunks/{model-retry-n9nqya42.js → image-98hqkj1t.js} +11 -11
  95. package/dist/chunks/{model-retry-998yhzzq.js → image-998yhzzq.js} +3 -3
  96. package/dist/chunks/{model-retry-p3ns8jke.js → image-9bdme720.js} +19 -19
  97. package/dist/chunks/{model-retry-9cx9sm2q.js → image-9cx9sm2q.js} +1 -1
  98. package/dist/chunks/{model-retry-g91txfza.js → image-9m4m3tqa.js} +12 -12
  99. package/dist/chunks/{model-retry-4gytfbka.js → image-9r6cxg0d.js} +3 -3
  100. package/dist/chunks/{model-retry-6kqns4w6.js → image-9tmx0py5.js} +23 -23
  101. package/dist/chunks/{model-retry-wa0020sp.js → image-a4y6e5tc.js} +38 -38
  102. package/dist/chunks/{model-retry-hawc6q6s.js → image-acgs9a2s.js} +4 -4
  103. package/dist/chunks/{model-retry-kwp52g30.js → image-afasrztg.js} +10 -10
  104. package/dist/chunks/{model-retry-rf0yhvg8.js → image-asvpa677.js} +22 -22
  105. package/dist/chunks/{model-retry-ayjs7tqn.js → image-ayjs7tqn.js} +2 -2
  106. package/dist/chunks/{model-retry-b0mv4wxm.js → image-b0mv4wxm.js} +2 -2
  107. package/dist/chunks/{model-retry-egv1p4fb.js → image-b0zs6kwq.js} +38 -38
  108. package/dist/chunks/{model-retry-p81fp5vk.js → image-b5fch5tq.js} +31 -31
  109. package/dist/chunks/{model-retry-4q0yhm9h.js → image-bfrs3k34.js} +4 -4
  110. package/dist/chunks/{model-retry-c7w6gk0d.js → image-bh6xg5j5.js} +9 -9
  111. package/dist/chunks/{model-retry-7kjvv3j6.js → image-bjf48tk7.js} +14 -14
  112. package/dist/chunks/{model-retry-zzdv5d93.js → image-bjhzkqyk.js} +4 -4
  113. package/dist/chunks/{model-retry-bfrx3eet.js → image-bjzxnqba.js} +86 -86
  114. package/dist/chunks/{model-retry-hmg9k6g3.js → image-br0sk681.js} +20 -20
  115. package/dist/chunks/{model-retry-b0qepsp5.js → image-c1expc71.js} +27 -27
  116. package/dist/chunks/{model-retry-wx4hn9c6.js → image-c98vtka0.js} +21 -21
  117. package/dist/chunks/{model-retry-ssfehs1z.js → image-c9t2ty9q.js} +4 -4
  118. package/dist/chunks/{model-retry-km7czr20.js → image-ca52p5rq.js} +24 -24
  119. package/dist/chunks/{model-retry-b3mc3p58.js → image-cc7p5mm7.js} +14 -14
  120. package/dist/chunks/{model-retry-58sptegr.js → image-cfvcma3s.js} +43 -43
  121. package/dist/chunks/{model-retry-rrq81g5f.js → image-cymceqyh.js} +19 -19
  122. package/dist/chunks/{model-retry-pk8bqs0r.js → image-d29abm0w.js} +11 -11
  123. package/dist/chunks/{model-retry-d4v9tmah.js → image-d4v9tmah.js} +2 -2
  124. package/dist/chunks/{model-retry-e5nt5pcv.js → image-djkw662e.js} +4 -4
  125. package/dist/chunks/{model-retry-0p88zpcm.js → image-dk5xnaxx.js} +4 -4
  126. package/dist/chunks/{model-retry-425q9h2g.js → image-dvx5xhvb.js} +19 -19
  127. package/dist/chunks/{model-retry-3gv0spa2.js → image-e45fk36t.js} +4 -4
  128. package/dist/chunks/{model-retry-mt48qw68.js → image-e7xzzatt.js} +12 -12
  129. package/dist/chunks/{model-retry-e834z07m.js → image-e834z07m.js} +1 -1
  130. package/dist/chunks/{model-retry-mv9cyhb6.js → image-eq0jjftn.js} +30 -30
  131. package/dist/chunks/{model-retry-335tf8xn.js → image-ers7egr9.js} +13 -13
  132. package/dist/chunks/{model-retry-d8g76yr4.js → image-esj9r7gb.js} +18 -18
  133. package/dist/chunks/{model-retry-745re5am.js → image-etdykhby.js} +5 -5
  134. package/dist/chunks/{model-retry-9dx6tkdq.js → image-ewbwv8zd.js} +14 -14
  135. package/dist/chunks/{model-retry-e1g8hcy1.js → image-f6a8s9j6.js} +18 -18
  136. package/dist/chunks/{model-retry-hjg4cfjr.js → image-f7jaqbwj.js} +65 -65
  137. package/dist/chunks/{model-retry-aqw6e5th.js → image-fbqneh5y.js} +23 -23
  138. package/dist/chunks/{model-retry-fffv3p7h.js → image-fffv3p7h.js} +1 -1
  139. package/dist/chunks/{model-retry-9ye8ngw9.js → image-fgfynbdy.js} +2 -2
  140. package/dist/chunks/{model-retry-wwf1bymv.js → image-fjw90z1x.js} +21 -21
  141. package/dist/chunks/{model-retry-hhqqebc6.js → image-fmt5mq3p.js} +15 -15
  142. package/dist/chunks/{model-retry-9nt4jrra.js → image-frqw5egg.js} +11 -11
  143. package/dist/chunks/{model-retry-wr3re1en.js → image-fznmdakp.js} +4 -4
  144. package/dist/chunks/{model-retry-g5h9c0rr.js → image-g5h9c0rr.js} +2 -2
  145. package/dist/chunks/{model-retry-v2ydvkbp.js → image-g5n2wz6e.js} +35 -35
  146. package/dist/chunks/{model-retry-592w8t9y.js → image-g5sxpg0e.js} +31 -31
  147. package/dist/chunks/image-gbhxq8h0.js +26 -0
  148. package/dist/chunks/{model-retry-acdmrrd1.js → image-gq3cesnx.js} +8 -8
  149. package/dist/chunks/{model-retry-kw23vkf0.js → image-gtns7z1w.js} +1 -1
  150. package/dist/chunks/{model-retry-kspt1gd4.js → image-gwv49t1j.js} +8 -8
  151. package/dist/chunks/{model-retry-ppheb231.js → image-gy2mam1y.js} +1 -1
  152. package/dist/chunks/{model-retry-avfqqwb2.js → image-gympdgax.js} +6 -6
  153. package/dist/chunks/{model-retry-cpmqfxcq.js → image-h83evwjx.js} +27 -27
  154. package/dist/chunks/{model-retry-wc86xy3n.js → image-hcmp2j52.js} +17 -17
  155. package/dist/chunks/{model-retry-jq88ke7r.js → image-hdfrs5mg.js} +9 -9
  156. package/dist/chunks/{model-retry-wdzvz19b.js → image-hdprjw5h.js} +16 -16
  157. package/dist/chunks/{model-retry-d9qwxpwd.js → image-hh06m4mq.js} +28 -28
  158. package/dist/chunks/{model-retry-j113cymg.js → image-j113cymg.js} +1 -1
  159. package/dist/chunks/{model-retry-s44wx98y.js → image-j62djdb6.js} +12 -12
  160. package/dist/chunks/{model-retry-m8kw722f.js → image-j95naedj.js} +52 -52
  161. package/dist/chunks/{model-retry-e5dqjz6v.js → image-jchrqzf6.js} +4 -4
  162. package/dist/chunks/{model-retry-1hm6kjpw.js → image-jheynnxb.js} +9 -9
  163. package/dist/chunks/{model-retry-t6j5m88d.js → image-jhhnbm9k.js} +11 -11
  164. package/dist/chunks/{model-retry-6hwc1pvx.js → image-jhj078t7.js} +20 -20
  165. package/dist/chunks/{model-retry-m81bzjfe.js → image-jj9caqwr.js} +11 -11
  166. package/dist/chunks/{model-retry-tmgcn98f.js → image-jjg5yz1h.js} +9 -9
  167. package/dist/chunks/{model-retry-paae1hvb.js → image-jnew0sa6.js} +10 -10
  168. package/dist/chunks/{model-retry-4g74bq5f.js → image-jxmjtapz.js} +9 -9
  169. package/dist/chunks/{model-retry-k814nvkf.js → image-k814nvkf.js} +1 -1
  170. package/dist/chunks/{model-retry-e1zjyyvc.js → image-kep8e7gv.js} +47 -47
  171. package/dist/chunks/{model-retry-d1aynxky.js → image-kmw1we2g.js} +60 -60
  172. package/dist/chunks/{model-retry-138ss78d.js → image-knsqv29b.js} +9 -9
  173. package/dist/chunks/{model-retry-753xhzz2.js → image-kr6h56mz.js} +3 -3
  174. package/dist/chunks/{model-retry-kt3bjfbg.js → image-kt3bjfbg.js} +1 -1
  175. package/dist/chunks/{model-retry-m1714858.js → image-m1714858.js} +1 -1
  176. package/dist/chunks/{model-retry-ek5jse1b.js → image-m53nxytj.js} +28 -28
  177. package/dist/chunks/{model-retry-hhtmqaqt.js → image-m9a097ew.js} +21 -21
  178. package/dist/chunks/{model-retry-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{model-retry-maspj1v3.js → image-maspj1v3.js} +1 -1
  180. package/dist/chunks/{model-retry-y6413w8f.js → image-mb69sj47.js} +11 -11
  181. package/dist/chunks/{model-retry-mdmq4ayq.js → image-mbxehrxz.js} +6 -6
  182. package/dist/chunks/{model-retry-v6h5bgwd.js → image-me7kxg3j.js} +8 -8
  183. package/dist/chunks/{model-retry-hbjmb8md.js → image-mgcbmcs2.js} +6 -6
  184. package/dist/chunks/{model-retry-mnb0kth4.js → image-mjvp2mh8.js} +19 -19
  185. package/dist/chunks/{model-retry-bje4knzw.js → image-mn53dk4j.js} +6 -6
  186. package/dist/chunks/{model-retry-y4f1fvfh.js → image-ms29xhn4.js} +27 -27
  187. package/dist/chunks/{model-retry-dher8hzb.js → image-mwm3htwg.js} +11 -11
  188. package/dist/chunks/{model-retry-h9wrc0vd.js → image-mz3rk0b0.js} +28 -28
  189. package/dist/chunks/{model-retry-t0vy2dfp.js → image-n37ne1mj.js} +12 -12
  190. package/dist/chunks/{model-retry-0j1r4c82.js → image-nev9sh8h.js} +2 -2
  191. package/dist/chunks/{model-retry-jy2ar7az.js → image-nn9s4rnw.js} +11 -11
  192. package/dist/chunks/{model-retry-y1rtgf89.js → image-nssth8b2.js} +27 -27
  193. package/dist/chunks/{model-retry-kkew1p9e.js → image-nszthedh.js} +6 -6
  194. package/dist/chunks/{model-retry-z3wn5wtx.js → image-nv9yd4aq.js} +9 -9
  195. package/dist/chunks/{model-retry-npaxjfat.js → image-nw37va1b.js} +37 -37
  196. package/dist/chunks/{model-retry-5dewdarb.js → image-ny9zvw5p.js} +15 -15
  197. package/dist/chunks/{model-retry-p015t6z3.js → image-p015t6z3.js} +2 -2
  198. package/dist/chunks/{model-retry-qnz3a88e.js → image-pa402c6d.js} +11 -11
  199. package/dist/chunks/{model-retry-faewc6h3.js → image-pacbbjc0.js} +5 -5
  200. package/dist/chunks/{model-retry-1dswpn68.js → image-pdbd51ba.js} +1 -1
  201. package/dist/chunks/{model-retry-f6n6tb5m.js → image-pdvd7m1f.js} +18 -18
  202. package/dist/chunks/{model-retry-fx6779qx.js → image-pg44jm9h.js} +51 -51
  203. package/dist/chunks/{model-retry-pknna89w.js → image-pknna89w.js} +1 -1
  204. package/dist/chunks/{model-retry-5xypjhga.js → image-prd1yy6a.js} +1 -1
  205. package/dist/chunks/{model-retry-5ymyvjqm.js → image-prfjjx5x.js} +18 -18
  206. package/dist/chunks/{model-retry-yqqqeckg.js → image-q228ra72.js} +28 -28
  207. package/dist/chunks/{model-retry-hkby4gmz.js → image-q5cww84q.js} +16 -16
  208. package/dist/chunks/{model-retry-8322nd6s.js → image-qb6v4vc1.js} +34 -34
  209. package/dist/chunks/{model-retry-7s2q8wx1.js → image-qdk12pb8.js} +9 -9
  210. package/dist/chunks/{model-retry-vphhrdzm.js → image-qdq5fnth.js} +32 -32
  211. package/dist/chunks/{model-retry-qjgzc4b4.js → image-qjgzc4b4.js} +1 -1
  212. package/dist/chunks/{model-retry-b5rpcebs.js → image-qnq98bxd.js} +9 -9
  213. package/dist/chunks/{model-retry-cjn2m544.js → image-qpkxdm9j.js} +67 -53
  214. package/dist/chunks/{model-retry-zzsxzmp1.js → image-qt5zzp9n.js} +21 -21
  215. package/dist/chunks/{model-retry-jmekkt3w.js → image-qv58hjd6.js} +3 -3
  216. package/dist/chunks/{model-retry-gchz44rz.js → image-qvhf4eb3.js} +19 -19
  217. package/dist/chunks/{model-retry-dn3a5ca8.js → image-qx116f43.js} +14 -14
  218. package/dist/chunks/{model-retry-r0yr0wbs.js → image-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{model-retry-k46s5hha.js → image-r2bs0s4v.js} +28 -28
  220. package/dist/chunks/{model-retry-gp4q8kgc.js → image-r2xd4ew5.js} +4 -4
  221. package/dist/chunks/{model-retry-5enarcya.js → image-r41sfy63.js} +9 -9
  222. package/dist/chunks/{model-retry-r542h3bh.js → image-r542h3bh.js} +1 -1
  223. package/dist/chunks/{model-retry-rb9dy4dg.js → image-rb9dy4dg.js} +1 -1
  224. package/dist/chunks/{model-retry-6twykydk.js → image-rjnacbrz.js} +9 -9
  225. package/dist/chunks/{model-retry-n91mh7q3.js → image-rq7797r7.js} +40 -40
  226. package/dist/chunks/{model-retry-rt5dr6hb.js → image-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{model-retry-2we1d0jv.js → image-rxyj7snx.js} +48 -48
  228. package/dist/chunks/{model-retry-brkew3yp.js → image-s1zj6bzn.js} +10 -10
  229. package/dist/chunks/{model-retry-32rqdfc7.js → image-s2pfznc4.js} +6 -6
  230. package/dist/chunks/{model-retry-j17f5p09.js → image-s4x4f4r4.js} +14 -14
  231. package/dist/chunks/{model-retry-mg4jj3cq.js → image-s5psx021.js} +14 -14
  232. package/dist/chunks/{model-retry-sa3fpqfw.js → image-sa3fpqfw.js} +2 -2
  233. package/dist/chunks/{model-retry-503rn88z.js → image-seg26xp6.js} +3 -3
  234. package/dist/chunks/{model-retry-sqjzf8x2.js → image-sqjzf8x2.js} +1 -1
  235. package/dist/chunks/{model-retry-g0ew906k.js → image-stk41r0w.js} +2 -2
  236. package/dist/chunks/{model-retry-kxvkas7c.js → image-sv2aw4yq.js} +5 -5
  237. package/dist/chunks/{model-retry-dbmp929s.js → image-szcgc7h4.js} +5 -5
  238. package/dist/chunks/{model-retry-pcx7njc6.js → image-t6s00cw5.js} +28 -28
  239. package/dist/chunks/{model-retry-tczq8hjw.js → image-tczq8hjw.js} +1 -1
  240. package/dist/chunks/{model-retry-mq1hjbvv.js → image-tm2402v8.js} +15 -15
  241. package/dist/chunks/{model-retry-4hbn04c3.js → image-trdpwh3n.js} +25 -25
  242. package/dist/chunks/{model-retry-8whp40kv.js → image-ts7mkfs9.js} +3 -3
  243. package/dist/chunks/{model-retry-twv2r8f4.js → image-twv2r8f4.js} +2 -2
  244. package/dist/chunks/{model-retry-pzbahg37.js → image-v1c3zz2b.js} +9 -9
  245. package/dist/chunks/{model-retry-v2r1d0zg.js → image-v2r1d0zg.js} +1 -1
  246. package/dist/chunks/{model-retry-7rt6wz40.js → image-vcjzr598.js} +32 -32
  247. package/dist/chunks/{model-retry-vd3b3yk9.js → image-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{model-retry-veqvce7d.js → image-veqvce7d.js} +1 -1
  249. package/dist/chunks/{model-retry-v6bhxz94.js → image-vfm5f3jw.js} +24 -24
  250. package/dist/chunks/{model-retry-vm0wcjea.js → image-vm0wcjea.js} +2 -2
  251. package/dist/chunks/{model-retry-eqmd2tfz.js → image-vmfhgzt5.js} +7 -7
  252. package/dist/chunks/{model-retry-hbh5g7sq.js → image-vprwmse2.js} +22 -22
  253. package/dist/chunks/{model-retry-axqdy1rc.js → image-vy169t87.js} +48 -48
  254. package/dist/chunks/{model-retry-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{model-retry-76cb1hcw.js → image-w8qtt4th.js} +4 -4
  256. package/dist/chunks/{model-retry-wakvkjy4.js → image-wakvkjy4.js} +1 -1
  257. package/dist/chunks/{model-retry-wd87259q.js → image-wd87259q.js} +1 -1
  258. package/dist/chunks/{model-retry-f34n98jw.js → image-wdc9bbpj.js} +33 -33
  259. package/dist/chunks/{model-retry-t42gxy5r.js → image-we1bjw9z.js} +8 -8
  260. package/dist/chunks/{model-retry-s4br5rnc.js → image-wkazdzfr.js} +11 -11
  261. package/dist/chunks/{model-retry-9q8g9sv8.js → image-wqscedq8.js} +9 -9
  262. package/dist/chunks/{model-retry-nxg0a76y.js → image-wrjr8pqm.js} +23 -23
  263. package/dist/chunks/{model-retry-rnf8ygje.js → image-wyc60a8y.js} +3 -3
  264. package/dist/chunks/{model-retry-46h6vvs4.js → image-x20p7pmj.js} +10 -10
  265. package/dist/chunks/{model-retry-zx5t73xg.js → image-x22ax0pw.js} +23 -23
  266. package/dist/chunks/{model-retry-722sdb3d.js → image-x77sr07r.js} +7 -7
  267. package/dist/chunks/{model-retry-bstexjd6.js → image-xd9cc171.js} +5 -5
  268. package/dist/chunks/{model-retry-1a7q9jj4.js → image-xft7rm5f.js} +20 -20
  269. package/dist/chunks/{model-retry-z3ae4np4.js → image-xjd998z8.js} +21 -21
  270. package/dist/chunks/{model-retry-5w1mdqt7.js → image-xsvq7cjt.js} +4 -4
  271. package/dist/chunks/{model-retry-b58bxs6a.js → image-xt2t3akc.js} +189 -189
  272. package/dist/chunks/{model-retry-eg9pnzky.js → image-xxd5pr01.js} +41 -41
  273. package/dist/chunks/image-y6d7k03n.js +261 -0
  274. package/dist/chunks/{model-retry-t3qvsv4x.js → image-y82bb1at.js} +7 -7
  275. package/dist/chunks/{model-retry-yb20nhc3.js → image-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{model-retry-ny7d5fer.js → image-yd49en6q.js} +26 -26
  277. package/dist/chunks/{model-retry-1m6xs2a7.js → image-ydwgre56.js} +24 -24
  278. package/dist/chunks/{model-retry-ae89zrxe.js → image-ye8ddrkf.js} +11 -11
  279. package/dist/chunks/{model-retry-jvasdgem.js → image-ymr836y3.js} +17 -17
  280. package/dist/chunks/{model-retry-hx4n917h.js → image-yx7jxc79.js} +2 -2
  281. package/dist/chunks/{model-retry-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{model-retry-z38nccrw.js → image-z38nccrw.js} +1 -1
  283. package/dist/chunks/{model-retry-skd7ds45.js → image-z418xn19.js} +14 -14
  284. package/dist/chunks/{model-retry-aday876c.js → image-z7ksd8kv.js} +30 -30
  285. package/dist/chunks/{model-retry-db7k79f7.js → image-zcs1bfp9.js} +20 -20
  286. package/dist/chunks/{model-retry-0zn5bfke.js → image-zdpw5xas.js} +31 -31
  287. package/dist/chunks/{model-retry-xfv5zx0r.js → image-ze5bwnkk.js} +11 -11
  288. package/dist/chunks/{model-retry-d4tjs1yx.js → image-zg4bxvx0.js} +17 -17
  289. package/dist/chunks/{model-retry-9bs81pt6.js → image-zjcmeswb.js} +26 -26
  290. package/dist/chunks/{model-retry-zkg84ctx.js → image-zkg84ctx.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +11 -11
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +89 -89
  296. package/dist/config/discovery.js +89 -89
  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 +121 -121
  324. package/dist/console-access.js +1 -1
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +87 -87
  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 +78 -78
  421. package/dist/file-access.js +109 -109
  422. package/dist/file-mutation.js +95 -95
  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 +3 -3
  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 +109 -109
  435. package/dist/form.js +86 -86
  436. package/dist/formatter/builtins.js +4 -4
  437. package/dist/formatter.js +92 -92
  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 +104 -104
  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 +92 -92
  465. package/dist/instructions/index.js +3 -3
  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 +161 -161
  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 +2 -2
  477. package/dist/mcp/client.js +96 -96
  478. package/dist/mcp/index.js +112 -112
  479. package/dist/mcp/instructions.js +143 -143
  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 +104 -104
  485. package/dist/model-resolver.js +104 -104
  486. package/dist/model-retry.js +1 -1
  487. package/dist/model.js +107 -107
  488. package/dist/models-dev.js +112 -112
  489. package/dist/oauth/page.js +1 -1
  490. package/dist/permission/saved.js +86 -86
  491. package/dist/permission/sql.js +5 -5
  492. package/dist/permission.js +116 -116
  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 +105 -105
  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 +117 -117
  508. package/dist/plugin/optimize.js +2 -2
  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 +125 -125
  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 +125 -125
  534. package/dist/plugin/provider/openai-context-caps.js +95 -95
  535. package/dist/plugin/provider/openai.js +118 -118
  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 +78 -78
  550. package/dist/plugin/service.js +3 -3
  551. package/dist/plugin/skill.js +134 -134
  552. package/dist/plugin/source-directory.js +1 -1
  553. package/dist/plugin/supervisor.js +352 -352
  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 +6 -6
  564. package/dist/plugin/websearch/parallel.js +8 -8
  565. package/dist/plugin/websearch/tavily.js +6 -6
  566. package/dist/plugin/websearch/tinyfish.js +6 -6
  567. package/dist/plugin.js +227 -227
  568. package/dist/project/schema.js +8 -8
  569. package/dist/project/sql.js +4 -4
  570. package/dist/project.js +95 -95
  571. package/dist/provider.js +100 -100
  572. package/dist/pty/protocol.js +1 -1
  573. package/dist/pty/ticket.js +1 -1
  574. package/dist/pty.js +99 -99
  575. package/dist/reference/instructions.js +94 -94
  576. package/dist/reference.js +96 -96
  577. package/dist/repository-cache.js +86 -86
  578. package/dist/repository.js +3 -3
  579. package/dist/ripgrep/binary.js +2 -2
  580. package/dist/ripgrep.js +100 -100
  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 +141 -141
  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 +5 -5
  590. package/dist/session/event.js +1 -1
  591. package/dist/session/execution/restart.js +226 -226
  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 +97 -97
  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 +4 -4
  601. package/dist/session/message.js +1 -1
  602. package/dist/session/model-request.js +123 -123
  603. package/dist/session/model-transport.js +7 -7
  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 +231 -231
  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 +129 -129
  617. package/dist/session/runner/to-llm-message.js +14 -14
  618. package/dist/session/schema.js +5 -5
  619. package/dist/session/session.js +165 -165
  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 +165 -165
  629. package/dist/session/to-session-error.js +117 -117
  630. package/dist/session/transfer.js +222 -222
  631. package/dist/session/usage.js +1 -1
  632. package/dist/session.js +220 -220
  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 +13 -13
  637. package/dist/shell.js +134 -134
  638. package/dist/skill/discovery.js +6 -6
  639. package/dist/skill/instructions.js +112 -112
  640. package/dist/skill.js +115 -115
  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 +142 -142
  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 +127 -127
  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 +127 -127
  653. package/dist/tool/plugin/question.js +110 -110
  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 +114 -114
  657. package/dist/tool/plugin/subagent.js +221 -221
  658. package/dist/tool/plugin/todo.js +134 -134
  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 +105 -105
  663. package/dist/tool/runtime.js +1 -1
  664. package/dist/tool-output.js +7 -7
  665. package/dist/tool.js +16 -16
  666. package/dist/usage-limits.js +93 -93
  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 +5 -5
  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 +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/variant.js +98 -98
  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 +88 -88
  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 +101 -101
  697. package/package.json +8 -8
  698. package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
  699. package/dist/chunks/model-retry-ckzsjma5.js +0 -26
  700. package/dist/chunks/model-retry-gfm4ps3x.js +0 -261
  701. /package/dist/chunks/{model-retry-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{model-retry-0zkw76rk.js → image-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{model-retry-17cy0kzp.js → image-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{model-retry-1cnp2v09.js → image-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{model-retry-24dcb14g.js → image-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{model-retry-2710q6r3.js → image-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{model-retry-2bv980vf.js → image-2bv980vf.js} +0 -0
  708. /package/dist/chunks/{model-retry-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{model-retry-359p4xyc.js → image-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{model-retry-3asan66x.js → image-3asan66x.js} +0 -0
  711. /package/dist/chunks/{model-retry-3v8g72cx.js → image-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{model-retry-3wcehsnq.js → image-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{model-retry-43n2bw4t.js → image-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{model-retry-4knz6hnm.js → image-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{model-retry-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{model-retry-4y7fprxs.js → image-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{model-retry-53557ph1.js → image-53557ph1.js} +0 -0
  718. /package/dist/chunks/{model-retry-550bvhaj.js → image-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{model-retry-5fjb7ams.js → image-5fjb7ams.js} +0 -0
  720. /package/dist/chunks/{model-retry-6prwharc.js → image-6prwharc.js} +0 -0
  721. /package/dist/chunks/{model-retry-6q2bdcd1.js → image-6q2bdcd1.js} +0 -0
  722. /package/dist/chunks/{model-retry-7akdwqpd.js → image-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{model-retry-7m9af43g.js → image-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{model-retry-822emrt2.js → image-822emrt2.js} +0 -0
  725. /package/dist/chunks/{model-retry-84wd9syh.js → image-84wd9syh.js} +0 -0
  726. /package/dist/chunks/{model-retry-88xbtdfr.js → image-88xbtdfr.js} +0 -0
  727. /package/dist/chunks/{model-retry-8n3pysct.js → image-8n3pysct.js} +0 -0
  728. /package/dist/chunks/{model-retry-8wj87zfr.js → image-8wj87zfr.js} +0 -0
  729. /package/dist/chunks/{model-retry-9a4afbnw.js → image-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{model-retry-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{model-retry-a058387c.js → image-a058387c.js} +0 -0
  732. /package/dist/chunks/{model-retry-a6k6eb26.js → image-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{model-retry-af5trqkr.js → image-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{model-retry-afrmfg78.js → image-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{model-retry-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{model-retry-atq7p7m5.js → image-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{model-retry-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{model-retry-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{model-retry-cf4snx6d.js → image-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{model-retry-cqv5kn06.js → image-cqv5kn06.js} +0 -0
  741. /package/dist/chunks/{model-retry-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{model-retry-d9fn303g.js → image-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{model-retry-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{model-retry-dajrwvna.js → image-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{model-retry-dap0rakb.js → image-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{model-retry-df08tz66.js → image-df08tz66.js} +0 -0
  747. /package/dist/chunks/{model-retry-dy18nga0.js → image-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{model-retry-e5kj55wp.js → image-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{model-retry-e73j6tqm.js → image-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{model-retry-ec1grn59.js → image-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{model-retry-eh3zwz77.js → image-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{model-retry-emrn6kk6.js → image-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{model-retry-f0mxakyp.js → image-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{model-retry-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{model-retry-faypxj3z.js → image-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{model-retry-fd410y7t.js → image-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{model-retry-g4wezp1m.js → image-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{model-retry-g86h250q.js → image-g86h250q.js} +0 -0
  759. /package/dist/chunks/{model-retry-gebd4c9n.js → image-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{model-retry-gftt206x.js → image-gftt206x.js} +0 -0
  761. /package/dist/chunks/{model-retry-hcxmzztb.js → image-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{model-retry-hk9envan.js → image-hk9envan.js} +0 -0
  763. /package/dist/chunks/{model-retry-j2ntwpah.js → image-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{model-retry-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{model-retry-jjkms2e6.js → image-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{model-retry-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{model-retry-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{model-retry-jwr30sdr.js → image-jwr30sdr.js} +0 -0
  769. /package/dist/chunks/{model-retry-jze0r7bz.js → image-jze0r7bz.js} +0 -0
  770. /package/dist/chunks/{model-retry-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{model-retry-m18g726c.js → image-m18g726c.js} +0 -0
  772. /package/dist/chunks/{model-retry-mp448xyj.js → image-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{model-retry-msx8hqn2.js → image-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{model-retry-n05xt0ee.js → image-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{model-retry-n3j8tn72.js → image-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{model-retry-njntx4h6.js → image-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{model-retry-pkyv6v7h.js → image-pkyv6v7h.js} +0 -0
  778. /package/dist/chunks/{model-retry-q3sfg36h.js → image-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{model-retry-q74kybfr.js → image-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{model-retry-qaymkmh1.js → image-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{model-retry-qb87gjwd.js → image-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{model-retry-qfa1cgps.js → image-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{model-retry-qg3g05ea.js → image-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{model-retry-qrg20bc0.js → image-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{model-retry-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{model-retry-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{model-retry-ssg3fenm.js → image-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{model-retry-ve7vex1e.js → image-ve7vex1e.js} +0 -0
  789. /package/dist/chunks/{model-retry-w803qqfp.js → image-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{model-retry-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{model-retry-wer8tq1h.js → image-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{model-retry-wjj7prxr.js → image-wjj7prxr.js} +0 -0
  793. /package/dist/chunks/{model-retry-wtztk69x.js → image-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{model-retry-x0ckcb58.js → image-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{model-retry-x61499pn.js → image-x61499pn.js} +0 -0
  796. /package/dist/chunks/{model-retry-y44na4kk.js → image-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{model-retry-y8f7s663.js → image-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{model-retry-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{model-retry-ym463w8f.js → image-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{model-retry-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
  801. /package/dist/chunks/{model-retry-z9919s4g.js → image-z9919s4g.js} +0 -0
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./model-retry-503rn88z.js";
4
+ } from "./image-seg26xp6.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./model-retry-jvasdgem.js";
6
+ Service83,
7
+ node87
8
+ } from "./image-ymr836y3.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service74,
13
- node78
14
- } from "./model-retry-vcngc2jq.js";
15
- import {
16
- ID10,
17
12
  Service70,
18
- node74
19
- } from "./model-retry-nxg0a76y.js";
13
+ node73
14
+ } from "./image-0gc146vq.js";
15
+ import {
16
+ ID8,
17
+ Service60,
18
+ node63
19
+ } from "./image-wrjr8pqm.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./model-retry-kkew1p9e.js";
22
+ } from "./image-nszthedh.js";
23
23
  import {
24
24
  combine2
25
- } from "./model-retry-e5dqjz6v.js";
25
+ } from "./image-jchrqzf6.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./model-retry-paae1hvb.js";
28
+ } from "./image-jnew0sa6.js";
29
29
  import {
30
- Service68,
31
- node72
32
- } from "./model-retry-qwc3x251.js";
30
+ Service58,
31
+ node61
32
+ } from "./image-68zmakm4.js";
33
33
  import {
34
34
  merge2
35
- } from "./model-retry-fx6779qx.js";
36
- import {
37
- make14
38
- } from "./model-retry-e1g8hcy1.js";
39
- import {
40
- Service50,
41
- node54
42
- } from "./model-retry-4hbn04c3.js";
35
+ } from "./image-pg44jm9h.js";
43
36
  import {
44
- Service29,
45
- node33
46
- } from "./model-retry-f4fcece7.js";
37
+ make13
38
+ } from "./image-f6a8s9j6.js";
47
39
  import {
48
40
  Service43,
49
- node47
50
- } from "./model-retry-5shay012.js";
41
+ node46
42
+ } from "./image-trdpwh3n.js";
43
+ import {
44
+ Service27,
45
+ node30
46
+ } from "./image-13a2mh91.js";
51
47
  import {
52
48
  Service34,
53
49
  node37
54
- } from "./model-retry-wa0020sp.js";
50
+ } from "./image-4z67m3qv.js";
55
51
  import {
56
- Service33,
57
- node36
58
- } from "./model-retry-6kqns4w6.js";
52
+ Service24,
53
+ node28
54
+ } from "./image-a4y6e5tc.js";
59
55
  import {
60
- Service31,
61
- node34
62
- } from "./model-retry-5ymyvjqm.js";
56
+ Service23,
57
+ node27
58
+ } from "./image-9tmx0py5.js";
63
59
  import {
64
- Service32,
65
- node35
66
- } from "./model-retry-f6n6tb5m.js";
60
+ Service20,
61
+ node23
62
+ } from "./image-prfjjx5x.js";
67
63
  import {
68
- Service26,
69
- node30
70
- } from "./model-retry-0rax2qmn.js";
71
- import {
72
- Service27,
64
+ Service28,
73
65
  node31
74
- } from "./model-retry-bzve7h1n.js";
66
+ } from "./image-pdvd7m1f.js";
67
+ import {
68
+ Service22,
69
+ node26
70
+ } from "./image-16hjntf9.js";
75
71
  import {
76
- Service62,
77
- node66
78
- } from "./model-retry-mxjqcj4f.js";
72
+ Service30,
73
+ node33
74
+ } from "./image-4wc3fxck.js";
75
+ import {
76
+ Service49,
77
+ node51
78
+ } from "./image-5sf4bm6j.js";
79
79
  import {
80
80
  __export
81
- } from "./model-retry-9rqn6x4v.js";
81
+ } from "./image-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service25,
86
+ Service: () => Service19,
87
87
  SessionContext: () => exports_context,
88
- node: () => node28
88
+ node: () => node22
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service25 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service19 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service25, Effect.gen(function* () {
95
- const agents = yield* Service70;
96
- const builtins = yield* Service29;
97
- const model = yield* Service74;
94
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
95
+ const agents = yield* Service60;
96
+ const builtins = yield* Service27;
97
+ const model = yield* Service70;
98
98
  const db = (yield* Service87).db;
99
- const discovery = yield* Service50;
100
- const entries = yield* Service26;
101
- const location = yield* Service77;
102
- const mcpInstructions = yield* Service33;
103
- const mcpTools = yield* Service34;
104
- const models = yield* Service62;
105
- const request = yield* Service27;
106
- const referenceInstructions = yield* Service31;
107
- const skillInstructions = yield* Service32;
108
- const store = yield* Service68;
109
- const registry = yield* Service43;
99
+ const discovery = yield* Service43;
100
+ const entries = yield* Service22;
101
+ const location = yield* Service83;
102
+ const mcpInstructions = yield* Service23;
103
+ const mcpTools = yield* Service24;
104
+ const models = yield* Service49;
105
+ const request = yield* Service30;
106
+ const referenceInstructions = yield* Service20;
107
+ const skillInstructions = yield* Service28;
108
+ const store = yield* Service58;
109
+ const registry = yield* Service34;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID10.make("title"));
112
+ const agent = yield* agents.get(ID8.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
168
168
  session,
169
169
  agent: { ...agent, info: agent.info },
170
170
  instructions: combine2([
171
- make14(loaded.tools.codeModeCatalog),
171
+ make13(loaded.tools.codeModeCatalog),
172
172
  loaded.mcp,
173
173
  loaded.references,
174
174
  loaded.skills,
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service25.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service19.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node28 = makeLocationNode({
203
- service: Service25,
202
+ var node22 = makeLocationNode({
203
+ service: Service19,
204
204
  layer,
205
205
  deps: [
206
- node74,
207
- node78,
206
+ node63,
207
+ node73,
208
208
  node91,
209
- node33,
210
- node54,
211
209
  node30,
212
- node81,
213
- node36,
214
- node37,
215
- node34,
216
- node66,
210
+ node46,
211
+ node26,
212
+ node87,
213
+ node27,
214
+ node28,
215
+ node23,
216
+ node51,
217
+ node33,
218
+ node61,
217
219
  node31,
218
- node72,
219
- node35,
220
- node47
220
+ node37
221
221
  ]
222
222
  });
223
223
 
224
- export { Service25, node28, exports_context };
224
+ export { Service19, node22, exports_context };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service67
3
- } from "./model-retry-fx6779qx.js";
2
+ Service57
3
+ } from "./image-pg44jm9h.js";
4
4
  import {
5
5
  ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service45
10
- } from "./model-retry-rf0yhvg8.js";
9
+ Service35
10
+ } from "./image-asvpa677.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./image-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input9,
16
+ var exports_skill = {};
17
+ __export(exports_skill, {
18
+ Input: () => Input11,
19
19
  Output: () => Output8,
20
- Plugin: () => Plugin44,
21
- SkillTool: () => exports_skill3,
20
+ Plugin: () => Plugin13,
21
+ SkillTool: () => exports_skill,
22
22
  description: () => description3,
23
- name: () => name9,
23
+ name: () => name11,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai/effect";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name9 = "skill";
30
- var Input9 = Schema.Struct({
29
+ var name11 = "skill";
30
+ var Input11 = Schema.Struct({
31
31
  id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
33
  var Output8 = Schema.Struct({
@@ -43,17 +43,17 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin44 = {
46
+ var Plugin13 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service45;
51
- const permission = yield* Service67;
50
+ const skills = yield* Service35;
51
+ const permission = yield* Service57;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name9,
53
+ name: name11,
54
54
  options: { codemode: false },
55
55
  description: description3,
56
- input: Input9,
56
+ input: Input11,
57
57
  output: Output8,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
@@ -61,7 +61,7 @@ var Plugin44 = {
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name9,
64
+ action: name11,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin44 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output8, description3, toModelOutput2, Plugin44, exports_skill3 };
82
+ export { name11, Input11, Output8, description3, toModelOutput2, Plugin13, exports_skill };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./model-retry-zzdv5d93.js";
3
+ } from "./image-bjhzkqyk.js";
4
4
  import {
5
- Service86
6
- } from "./model-retry-g91txfza.js";
5
+ Service85
6
+ } from "./image-9m4m3tqa.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./model-retry-7n7qp0dz.js";
9
+ Event17
10
+ } from "./image-0r1vx8v5.js";
11
11
  import {
12
- ID16,
12
+ ID13,
13
13
  MethodID2
14
- } from "./model-retry-p81fp5vk.js";
14
+ } from "./image-b5fch5tq.js";
15
15
  import {
16
16
  ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service75
20
- } from "./model-retry-yqqqeckg.js";
19
+ Service72
20
+ } from "./image-q228ra72.js";
21
21
  import {
22
- ID11
23
- } from "./model-retry-vcngc2jq.js";
22
+ ID10
23
+ } from "./image-0gc146vq.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./model-retry-1a7q9jj4.js";
25
+ load2,
26
+ derive2
27
+ } from "./image-xft7rm5f.js";
28
28
  import {
29
29
  useragent2
30
- } from "./model-retry-qnz3a88e.js";
30
+ } from "./image-pa402c6d.js";
31
31
  import {
32
- ID10
33
- } from "./model-retry-nxg0a76y.js";
32
+ ID8
33
+ } from "./image-wrjr8pqm.js";
34
34
  import {
35
35
  get5
36
- } from "./model-retry-3nnrz6f6.js";
36
+ } from "./image-3nnrz6f6.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { isRecord } from "@opencode/ai/utils/record";
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
66
66
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
67
67
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
68
68
  var oauth = (app) => ({
69
- integrationID: ID16.make("github-copilot"),
69
+ integrationID: ID13.make("github-copilot"),
70
70
  method: {
71
71
  id: methodID,
72
72
  type: "oauth",
@@ -164,8 +164,8 @@ var oauth = (app) => ({
164
164
  var GithubCopilotPlugin2 = define({
165
165
  id: "opencode.provider.github.copilot",
166
166
  effect: Effect.fn(function* (ctx) {
167
- const providers = yield* Service75;
168
- const bus = yield* Service86;
167
+ const providers = yield* Service72;
168
+ const bus = yield* Service85;
169
169
  const loading = Semaphore.makeUnsafe(1);
170
170
  const loaded = {};
171
171
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -183,7 +183,7 @@ var GithubCopilotPlugin2 = define({
183
183
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
184
184
  const provider = yield* providers.get(ID12.githubCopilot);
185
185
  const remote = yield* Effect.tryPromise({
186
- try: () => load3(url, {
186
+ try: () => load2(url, {
187
187
  ...provider?.headers,
188
188
  Authorization: `Bearer ${credential.refresh}`,
189
189
  "User-Agent": useragent2(ctx.app),
@@ -209,7 +209,7 @@ var GithubCopilotPlugin2 = define({
209
209
  if (loaded.models) {
210
210
  evt.add({
211
211
  info: item.provider,
212
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
213
213
  sourceConnection: loaded.connection
214
214
  });
215
215
  return;
@@ -231,14 +231,14 @@ var GithubCopilotPlugin2 = define({
231
231
  }
232
232
  });
233
233
  yield* ctx.model.transform((models) => {
234
- if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
235
- models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
234
+ if (models.get(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
235
+ models.update(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
236
236
  model.enabled = false;
237
237
  });
238
238
  }
239
239
  });
240
240
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
241
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
241
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
242
242
  yield* refresh().pipe(Effect.forkScoped);
243
243
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
244
244
  if (evt.model.providerID !== ID12.githubCopilot)
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
266
266
  return;
267
267
  if (!loaded.baseURL || !loaded.token || !loaded.models)
268
268
  return;
269
- const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
269
+ const agent = yield* ctx.agent.get({ agentID: ID8.make("title") }).pipe(Effect.orElseSucceed(() => {
270
270
  return;
271
271
  }));
272
272
  if (agent?.data.model)
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./image-z5v4ffb3.js";
4
4
  import {
5
- node83
6
- } from "./model-retry-s44wx98y.js";
5
+ node90
6
+ } from "./image-j62djdb6.js";
7
7
  import {
8
- Service77,
9
- node81
10
- } from "./model-retry-jvasdgem.js";
8
+ Service83,
9
+ node87
10
+ } from "./image-ymr836y3.js";
11
11
  import {
12
12
  create3
13
- } from "./model-retry-vd3b3yk9.js";
13
+ } from "./image-vd3b3yk9.js";
14
14
  import {
15
- make16
16
- } from "./model-retry-kspt1gd4.js";
15
+ make17
16
+ } from "./image-gwv49t1j.js";
17
17
  import {
18
18
  __export
19
- } from "./model-retry-9rqn6x4v.js";
19
+ } from "./image-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service49,
24
+ Service: () => Service55,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node53
26
+ node: () => node57
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service49 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service55 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service49, Effect.gen(function* () {
37
- const location = yield* Service77;
36
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
37
+ const location = yield* Service83;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make16;
39
+ const git = yield* make17;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service49.of({ ...state, directory: location.directory });
58
+ return Service55.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node53 = makeLocationNode({
61
- service: Service49,
60
+ var node57 = makeLocationNode({
61
+ service: Service55,
62
62
  layer,
63
- deps: [node81, Global.node, node83, FSUtil.node]
63
+ deps: [node87, Global.node, node90, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service49, node53, exports_strategies };
66
+ export { Service55, node57, exports_strategies };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./image-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make18
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make18 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -79,4 +79,4 @@ var make18 = (options) => Effect.gen(function* () {
79
79
  return { active: Effect.sync(() => new Set(executions.keys())), isActive, run, wake, interrupt, awaitIdle };
80
80
  });
81
81
 
82
- export { make18, exports_run_coordinator };
82
+ export { make16, exports_run_coordinator };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./model-retry-g91txfza.js";
2
+ Service85,
3
+ node89
4
+ } from "./image-9m4m3tqa.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./model-retry-rb9dy4dg.js";
9
+ } from "./image-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./model-retry-axqdy1rc.js";
12
+ } from "./image-vy169t87.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./model-retry-jvasdgem.js";
14
+ Service83,
15
+ node87
16
+ } from "./image-ymr836y3.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./model-retry-vd3b3yk9.js";
20
+ } from "./image-vd3b3yk9.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./image-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info4,
32
+ Info: () => Info19,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service18,
35
+ Service: () => Service62,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node21
37
+ node: () => node65
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info19, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service18 extends Context.Service()("@opencode/Vcs") {
57
+ class Service62 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service18, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service77;
62
- const bus = yield* Service86;
61
+ const location = yield* Service83;
62
+ const bus = yield* Service85;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info19));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service18.of({
132
+ return Service62.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node21 = makeLocationNode({
191
- service: Service18,
190
+ var node65 = makeLocationNode({
191
+ service: Service62,
192
192
  layer,
193
- deps: [FSUtil.node, node81, node90]
193
+ deps: [FSUtil.node, node87, node89]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info19, Mode2, DiffError2, InitializeError2, Service62, node65, exports_vcs };