@opencode/core 0.0.0-dev-1063 → 0.0.0-dev-1074

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 (900) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +11 -11
  6. package/dist/artifact.js +249 -249
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{model-retry-aj7mw0zk.js → flag-034tev2y.js} +2 -2
  9. package/dist/chunks/{model-retry-963hk181.js → flag-07er45j8.js} +9 -9
  10. package/dist/chunks/{model-retry-8nqscmn3.js → flag-0cvmjxzj.js} +8 -8
  11. package/dist/chunks/{model-retry-zvrv6acg.js → flag-0f1bzeag.js} +3 -3
  12. package/dist/chunks/{model-retry-0j7gp832.js → flag-0j7gp832.js} +1 -1
  13. package/dist/chunks/{model-retry-590xyfdn.js → flag-0js2qngn.js} +51 -51
  14. package/dist/chunks/{model-retry-nh2stm5b.js → flag-0kpeq0we.js} +12 -12
  15. package/dist/chunks/{model-retry-p664yqdp.js → flag-0kwzgdeb.js} +40 -40
  16. package/dist/chunks/{model-retry-cxmgqsjv.js → flag-0m1bhm6r.js} +7 -7
  17. package/dist/chunks/{model-retry-0ma9gw4f.js → flag-0ma9gw4f.js} +2 -2
  18. package/dist/chunks/{model-retry-az51r80s.js → flag-0q8fsvvw.js} +19 -19
  19. package/dist/chunks/{model-retry-rj3e5mt0.js → flag-0rdd31y4.js} +1 -1
  20. package/dist/chunks/{model-retry-7nb8tm12.js → flag-10pn4eb5.js} +5 -5
  21. package/dist/chunks/{model-retry-f13bcax6.js → flag-13r4fayz.js} +24 -24
  22. package/dist/chunks/{model-retry-tg1vr1qt.js → flag-160yv0cs.js} +8 -8
  23. package/dist/chunks/{model-retry-h9xvjfqn.js → flag-17b8a7h3.js} +11 -11
  24. package/dist/chunks/{model-retry-wy8qrs1m.js → flag-18y47bc0.js} +5 -5
  25. package/dist/chunks/{model-retry-6z91hwt5.js → flag-1903bv4e.js} +8 -8
  26. package/dist/chunks/{model-retry-1aqsckx4.js → flag-1aqsckx4.js} +1 -1
  27. package/dist/chunks/{model-retry-zrnr92js.js → flag-1cnqgpws.js} +13 -13
  28. package/dist/chunks/{model-retry-27w5k9zf.js → flag-1ep2p91f.js} +2 -2
  29. package/dist/chunks/{model-retry-vpgfvngc.js → flag-1faxacy3.js} +23 -23
  30. package/dist/chunks/{model-retry-k57jes72.js → flag-1fk5m7tx.js} +10 -10
  31. package/dist/chunks/{model-retry-ggrpzgdq.js → flag-1hs6f0d4.js} +31 -31
  32. package/dist/chunks/{model-retry-49astqp4.js → flag-1pvtqtz6.js} +199 -199
  33. package/dist/chunks/{model-retry-v1wmg1k9.js → flag-1qjvkd3v.js} +16 -16
  34. package/dist/chunks/{model-retry-k6hvxyqk.js → flag-1ty3xv4a.js} +11 -11
  35. package/dist/chunks/{model-retry-msd2a3qm.js → flag-1v2g13eq.js} +4 -4
  36. package/dist/chunks/{model-retry-xx2bks1j.js → flag-1x0b376f.js} +95 -95
  37. package/dist/chunks/{model-retry-1x2knyw4.js → flag-1x2knyw4.js} +1 -1
  38. package/dist/chunks/{model-retry-1yq9hg58.js → flag-1yq9hg58.js} +1 -1
  39. package/dist/chunks/{model-retry-ypybfkk0.js → flag-1zzk7pqc.js} +17 -17
  40. package/dist/chunks/{model-retry-r45nfa48.js → flag-23ef35a7.js} +5 -5
  41. package/dist/chunks/{model-retry-9wpdsx26.js → flag-277htx7a.js} +19 -19
  42. package/dist/chunks/{model-retry-rj0s2vsp.js → flag-28mt2z7k.js} +10 -10
  43. package/dist/chunks/{model-retry-x150ncgg.js → flag-2c6sxtb9.js} +2 -2
  44. package/dist/chunks/{model-retry-2fc7eemy.js → flag-2fc7eemy.js} +1 -1
  45. package/dist/chunks/{model-retry-gzr3e3k6.js → flag-2nnyjy97.js} +2 -2
  46. package/dist/chunks/{model-retry-2p60zmnr.js → flag-2p60zmnr.js} +2 -2
  47. package/dist/chunks/{model-retry-w75qynz4.js → flag-2s9mae96.js} +3 -3
  48. package/dist/chunks/{model-retry-gn9y5s18.js → flag-2vskb396.js} +32 -32
  49. package/dist/chunks/{model-retry-sz25a87n.js → flag-33r1frnd.js} +19 -19
  50. package/dist/chunks/flag-365eavge.js +16 -0
  51. package/dist/chunks/{model-retry-mjrcsjpa.js → flag-3adw4bt5.js} +9 -9
  52. package/dist/chunks/{model-retry-qtf35215.js → flag-3beq3wdw.js} +3 -3
  53. package/dist/chunks/{model-retry-cq9ym2th.js → flag-3fvft6n0.js} +4 -4
  54. package/dist/chunks/{model-retry-3hepkmqq.js → flag-3hepkmqq.js} +1 -1
  55. package/dist/chunks/{model-retry-qnad5zz9.js → flag-3k5g6q0g.js} +23 -23
  56. package/dist/chunks/{model-retry-rscs01kg.js → flag-3mxnwz29.js} +2 -2
  57. package/dist/chunks/{model-retry-3nnrz6f6.js → flag-3nnrz6f6.js} +1 -1
  58. package/dist/chunks/{model-retry-40y6dtc2.js → flag-40y6dtc2.js} +1 -1
  59. package/dist/chunks/{model-retry-r41sfy63.js → flag-40za9wsf.js} +6 -6
  60. package/dist/chunks/{model-retry-44pmzq9c.js → flag-44pmzq9c.js} +2 -2
  61. package/dist/chunks/{model-retry-th79ewyv.js → flag-48ywh6sc.js} +10 -10
  62. package/dist/chunks/{model-retry-4dx1dgte.js → flag-4dx1dgte.js} +1 -1
  63. package/dist/chunks/{model-retry-4f25tdd0.js → flag-4f25tdd0.js} +1 -1
  64. package/dist/chunks/{model-retry-cgemq9va.js → flag-4mnrzaa3.js} +53 -53
  65. package/dist/chunks/{model-retry-4pyp9zr9.js → flag-4pyp9zr9.js} +1 -1
  66. package/dist/chunks/{model-retry-4v008n1t.js → flag-4v008n1t.js} +1 -1
  67. package/dist/chunks/{model-retry-4z989wmk.js → flag-51m2wpqb.js} +3 -3
  68. package/dist/chunks/{model-retry-jy2czfqv.js → flag-55jhk77d.js} +4 -4
  69. package/dist/chunks/{model-retry-d4cn1j0j.js → flag-5kk1xax8.js} +25 -25
  70. package/dist/chunks/{model-retry-daqw37vd.js → flag-5m7msdtz.js} +32 -32
  71. package/dist/chunks/{model-retry-5m9w47nd.js → flag-5m9w47nd.js} +1 -1
  72. package/dist/chunks/{model-retry-78wx5tja.js → flag-5q95pcte.js} +35 -35
  73. package/dist/chunks/{model-retry-224tp79f.js → flag-5qfz1mav.js} +10 -10
  74. package/dist/chunks/{model-retry-mr46kq96.js → flag-5ym4qw1m.js} +20 -20
  75. package/dist/chunks/{model-retry-4m67jbdm.js → flag-60bnsg3p.js} +20 -20
  76. package/dist/chunks/{model-retry-h56sm60v.js → flag-62b0mtf4.js} +11 -11
  77. package/dist/chunks/{model-retry-bz3jd329.js → flag-63ch0rt9.js} +15 -15
  78. package/dist/chunks/{model-retry-c036fsx9.js → flag-69kfgtv8.js} +14 -14
  79. package/dist/chunks/{model-retry-yyv178x8.js → flag-69n0j3d0.js} +4 -4
  80. package/dist/chunks/{model-retry-v2x06h94.js → flag-6cqkw5v2.js} +5 -5
  81. package/dist/chunks/{model-retry-5cr30h4q.js → flag-6es1dp4c.js} +8 -8
  82. package/dist/chunks/{model-retry-wjnrxsxy.js → flag-6ex4p21c.js} +14 -14
  83. package/dist/chunks/{model-retry-rhqr3vhx.js → flag-6py65z06.js} +20 -20
  84. package/dist/chunks/{model-retry-8qdr79jy.js → flag-6t40r86m.js} +11 -11
  85. package/dist/chunks/{model-retry-gy98380h.js → flag-6w8zbb77.js} +49 -49
  86. package/dist/chunks/{model-retry-agje4kmn.js → flag-6y2b864j.js} +4 -4
  87. package/dist/chunks/{model-retry-8bwrafk7.js → flag-6za54cjk.js} +42 -42
  88. package/dist/chunks/{model-retry-2cjfgabw.js → flag-749r8arz.js} +31 -31
  89. package/dist/chunks/{model-retry-775hqbnd.js → flag-775hqbnd.js} +3 -3
  90. package/dist/chunks/{model-retry-6cyzbmrv.js → flag-77cykhvt.js} +38 -38
  91. package/dist/chunks/{model-retry-y3p3hzkr.js → flag-78p2h4ex.js} +5 -5
  92. package/dist/chunks/{model-retry-7bmhse3q.js → flag-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{model-retry-fmbmyz0a.js → flag-7e7kydwc.js} +34 -34
  94. package/dist/chunks/{model-retry-rz6d6my6.js → flag-7hk66atm.js} +7 -7
  95. package/dist/chunks/{model-retry-6cspqxjw.js → flag-7j9hf6qv.js} +17 -17
  96. package/dist/chunks/{model-retry-1wyx1g33.js → flag-7rxm668g.js} +12 -12
  97. package/dist/chunks/{model-retry-7w2ypzdf.js → flag-7w2ypzdf.js} +1 -1
  98. package/dist/chunks/{model-retry-7weczvnd.js → flag-7weczvnd.js} +1 -1
  99. package/dist/chunks/{model-retry-1gpv500n.js → flag-7y8hgd6s.js} +31 -31
  100. package/dist/chunks/flag-7yv5xa0k.js +18 -0
  101. package/dist/chunks/{model-retry-80pdk984.js → flag-80pdk984.js} +1 -1
  102. package/dist/chunks/{model-retry-kkme10mv.js → flag-82c4hw63.js} +5 -5
  103. package/dist/chunks/{model-retry-8yz9yxv8.js → flag-82k687r2.js} +39 -39
  104. package/dist/chunks/{model-retry-85jq8dht.js → flag-85jq8dht.js} +1 -1
  105. package/dist/chunks/{model-retry-shsabhn6.js → flag-8apzqgqr.js} +10 -10
  106. package/dist/chunks/{model-retry-8b3vzgkx.js → flag-8b3vzgkx.js} +1 -1
  107. package/dist/chunks/{model-retry-s47rahr7.js → flag-8cg7mtm3.js} +4 -4
  108. package/dist/chunks/{model-retry-b30tdb24.js → flag-8h2dhp77.js} +16 -16
  109. package/dist/chunks/{model-retry-7jevyppt.js → flag-8hdkvpj2.js} +3 -3
  110. package/dist/chunks/{model-retry-c4970w7t.js → flag-8jkrp6cd.js} +6 -6
  111. package/dist/chunks/{model-retry-bb3mmwvh.js → flag-8sxe6kv8.js} +2 -2
  112. package/dist/chunks/{model-retry-xacrkbdt.js → flag-8t99kr38.js} +4 -4
  113. package/dist/chunks/{model-retry-8wtp7s3z.js → flag-8wtp7s3z.js} +1 -1
  114. package/dist/chunks/{model-retry-8zv0xmg5.js → flag-8zv0xmg5.js} +1 -1
  115. package/dist/chunks/{model-retry-anvcme1c.js → flag-90ct6wq4.js} +4 -4
  116. package/dist/chunks/{model-retry-8h105pm2.js → flag-918txkc6.js} +20 -20
  117. package/dist/chunks/{model-retry-rgpfeh79.js → flag-93vd13pj.js} +14 -14
  118. package/dist/chunks/{model-retry-ngcw1c4b.js → flag-9909h7f5.js} +5 -5
  119. package/dist/chunks/{model-retry-62064eay.js → flag-9a8agz88.js} +41 -41
  120. package/dist/chunks/{model-retry-9amjngmr.js → flag-9bhwcwx3.js} +36 -36
  121. package/dist/chunks/{model-retry-cnxvbybj.js → flag-9sjmchs9.js} +26 -26
  122. package/dist/chunks/{model-retry-v6xc68wk.js → flag-9wbdrf72.js} +6 -6
  123. package/dist/chunks/{model-retry-p8cqk0fa.js → flag-a0p5xek2.js} +12 -12
  124. package/dist/chunks/{model-retry-bcdsa9nj.js → flag-a34m2tj3.js} +11 -11
  125. package/dist/chunks/{model-retry-8f8gk5ce.js → flag-a5as8n7c.js} +24 -24
  126. package/dist/chunks/{model-retry-s97gw63z.js → flag-aa1hstq6.js} +23 -23
  127. package/dist/chunks/{model-retry-hsxn8vdk.js → flag-anwt6rn6.js} +5 -5
  128. package/dist/chunks/{model-retry-4wsjjvd5.js → flag-asqc9vne.js} +9 -9
  129. package/dist/chunks/{model-retry-ecysc0gb.js → flag-awnn6p4w.js} +30 -30
  130. package/dist/chunks/{model-retry-3cbjf1nt.js → flag-ayjs7tqn.js} +2 -2
  131. package/dist/chunks/{model-retry-rpchbzyn.js → flag-b23g5v4w.js} +15 -15
  132. package/dist/chunks/{model-retry-b26ddj6h.js → flag-b26ddj6h.js} +4 -4
  133. package/dist/chunks/{model-retry-ghc68wmr.js → flag-b40zfh34.js} +10 -10
  134. package/dist/chunks/{model-retry-kcmrw9d0.js → flag-b41p3mcf.js} +27 -27
  135. package/dist/chunks/{model-retry-5azf7efg.js → flag-b5tshgn5.js} +18 -18
  136. package/dist/chunks/{model-retry-ce0nvsd2.js → flag-bcm19mpq.js} +3 -3
  137. package/dist/chunks/{model-retry-3t0ff0x5.js → flag-be1w1smn.js} +45 -45
  138. package/dist/chunks/{model-retry-t62dywgn.js → flag-bfmm6xpm.js} +6 -6
  139. package/dist/chunks/{model-retry-w2xbgb7q.js → flag-bkd4s5n3.js} +36 -36
  140. package/dist/chunks/{model-retry-b49a18dh.js → flag-bnwjjayw.js} +24 -24
  141. package/dist/chunks/{model-retry-2y341b5t.js → flag-bpfxs6nz.js} +5 -5
  142. package/dist/chunks/flag-bq4t7p48.js +168 -0
  143. package/dist/chunks/{model-retry-bstexjd6.js → flag-bstexjd6.js} +1 -1
  144. package/dist/chunks/{model-retry-zpdbqgja.js → flag-by8ty0bx.js} +4 -4
  145. package/dist/chunks/{model-retry-nbbn0k3v.js → flag-c631swd6.js} +23 -23
  146. package/dist/chunks/flag-c64zn4v7.js +273 -0
  147. package/dist/chunks/{model-retry-c6x7d2ts.js → flag-c6x7d2ts.js} +1 -1
  148. package/dist/chunks/{model-retry-c7cw818c.js → flag-c7cw818c.js} +2 -2
  149. package/dist/chunks/{model-retry-a8s6gz3j.js → flag-ce0rhbcr.js} +43 -43
  150. package/dist/chunks/{model-retry-gkjtf6r3.js → flag-ck4z0wzc.js} +5 -5
  151. package/dist/chunks/{model-retry-2btjqdw9.js → flag-csztv6mn.js} +13 -13
  152. package/dist/chunks/{model-retry-vq0qa3sh.js → flag-ctmpqb7w.js} +9 -9
  153. package/dist/chunks/{model-retry-cwrgdav8.js → flag-cwrgdav8.js} +2 -2
  154. package/dist/chunks/{model-retry-dcd3jvzc.js → flag-d3hxh1w7.js} +9 -9
  155. package/dist/chunks/{model-retry-bqnf2xa3.js → flag-d3r68fkq.js} +11 -11
  156. package/dist/chunks/{model-retry-7ad9y1ne.js → flag-d4khjp6k.js} +23 -23
  157. package/dist/chunks/{model-retry-d4v9tmah.js → flag-d4v9tmah.js} +2 -2
  158. package/dist/chunks/{model-retry-q4fknq7x.js → flag-d7prbx9s.js} +24 -24
  159. package/dist/chunks/{model-retry-a5zgnkhc.js → flag-ddxfxztf.js} +29 -29
  160. package/dist/chunks/{model-retry-sw9vjmch.js → flag-de19fg2d.js} +25 -25
  161. package/dist/chunks/{model-retry-t8npn5et.js → flag-djyxf4fb.js} +5 -5
  162. package/dist/chunks/{model-retry-qy10zj0h.js → flag-dqc4vexc.js} +18 -18
  163. package/dist/chunks/{model-retry-dt77769w.js → flag-dt77769w.js} +1 -1
  164. package/dist/chunks/{model-retry-9eeh18t4.js → flag-dzxkcwf2.js} +11 -11
  165. package/dist/chunks/{model-retry-1tz2kwyc.js → flag-e4059ec9.js} +6 -6
  166. package/dist/chunks/{model-retry-ak2xzpqz.js → flag-e4ptapmk.js} +20 -20
  167. package/dist/chunks/{model-retry-3c7qpzd7.js → flag-e71bb87j.js} +8 -8
  168. package/dist/chunks/{model-retry-bh8z3mjv.js → flag-ecj07vsr.js} +5 -5
  169. package/dist/chunks/{model-retry-qamgg21g.js → flag-ecwxhh4d.js} +18 -18
  170. package/dist/chunks/{model-retry-m6mdme7q.js → flag-ed2vaebb.js} +18 -18
  171. package/dist/chunks/{model-retry-0z5xst4r.js → flag-ef261vm2.js} +21 -21
  172. package/dist/chunks/{model-retry-eqw4pqj1.js → flag-eqw4pqj1.js} +2 -2
  173. package/dist/chunks/{model-retry-8d82pbhg.js → flag-eyv5mk44.js} +22 -22
  174. package/dist/chunks/{model-retry-9d7e85zn.js → flag-f0cr0yvp.js} +29 -29
  175. package/dist/chunks/{model-retry-dc81jdms.js → flag-f0ympyz5.js} +12 -12
  176. package/dist/chunks/{model-retry-8fdmasbt.js → flag-fc0vyv5p.js} +52 -52
  177. package/dist/chunks/{model-retry-n320gsn2.js → flag-fcrd7kek.js} +4 -4
  178. package/dist/chunks/{model-retry-fg9p65nk.js → flag-fg9p65nk.js} +2 -2
  179. package/dist/chunks/{model-retry-7x320ssa.js → flag-fp8qaqcz.js} +10 -10
  180. package/dist/chunks/{model-retry-che3sqdn.js → flag-fqz5xkqs.js} +81 -81
  181. package/dist/chunks/{model-retry-p76me67c.js → flag-fstdtr31.js} +4 -4
  182. package/dist/chunks/{model-retry-9xatmekb.js → flag-fyckznk3.js} +22 -22
  183. package/dist/chunks/{model-retry-5bbgghc1.js → flag-fze60c2f.js} +17 -17
  184. package/dist/chunks/{model-retry-gd8a3j2q.js → flag-gajtttdk.js} +3 -3
  185. package/dist/chunks/{model-retry-gbjdnr5j.js → flag-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{model-retry-6rm3fwry.js → flag-gh58psrt.js} +12 -12
  187. package/dist/chunks/{model-retry-ghrv1g9c.js → flag-ghrv1g9c.js} +1 -1
  188. package/dist/chunks/{model-retry-sq79gphe.js → flag-gv1hzty8.js} +22 -22
  189. package/dist/chunks/{model-retry-tg7s7b5t.js → flag-gxs71cxp.js} +4 -4
  190. package/dist/chunks/{model-retry-vw3yn5a4.js → flag-h0a85q8s.js} +11 -11
  191. package/dist/chunks/{model-retry-19avat12.js → flag-h26hgerk.js} +33 -33
  192. package/dist/chunks/{model-retry-hk0m197d.js → flag-h2pzz84q.js} +9 -9
  193. package/dist/chunks/{model-retry-dbmdnf83.js → flag-h4mysg09.js} +16 -16
  194. package/dist/chunks/{model-retry-2q020x4j.js → flag-h5nm911w.js} +16 -16
  195. package/dist/chunks/{model-retry-hgzwgvze.js → flag-hgzwgvze.js} +2 -2
  196. package/dist/chunks/{model-retry-9b5pg85y.js → flag-hhdkyhhw.js} +9 -9
  197. package/dist/chunks/{model-retry-st73djt4.js → flag-hhrn2a5y.js} +6 -6
  198. package/dist/chunks/{model-retry-2xavcrc6.js → flag-hj6fcrxw.js} +7 -7
  199. package/dist/chunks/{model-retry-wk1wsz78.js → flag-hsntjmej.js} +7 -7
  200. package/dist/chunks/{model-retry-yf4f4ny8.js → flag-htg0q2sg.js} +59 -59
  201. package/dist/chunks/{model-retry-xhdzxv2d.js → flag-j0ctama5.js} +18 -18
  202. package/dist/chunks/{model-retry-r58y11b8.js → flag-j269w22v.js} +6 -6
  203. package/dist/chunks/{model-retry-j9nxzz3g.js → flag-j9nxzz3g.js} +3 -3
  204. package/dist/chunks/{model-retry-yfm9gxzx.js → flag-jd3xq71t.js} +12 -12
  205. package/dist/chunks/{model-retry-jkdcm5hg.js → flag-jkdcm5hg.js} +1 -1
  206. package/dist/chunks/{model-retry-jm70asfg.js → flag-jm70asfg.js} +1 -1
  207. package/dist/chunks/{model-retry-5jjvx7xx.js → flag-jrr82f3r.js} +18 -18
  208. package/dist/chunks/{model-retry-ppjw42km.js → flag-jwarzfk1.js} +21 -21
  209. package/dist/chunks/{model-retry-sw24ze7h.js → flag-jzpf4wf5.js} +6 -6
  210. package/dist/chunks/{model-retry-see60j9q.js → flag-k93rj7bk.js} +9 -9
  211. package/dist/chunks/{model-retry-dfbf8dz5.js → flag-kb5gnmd0.js} +13 -13
  212. package/dist/chunks/{model-retry-wpj3mq6t.js → flag-kc3vxs66.js} +8 -8
  213. package/dist/chunks/{model-retry-k46dd5bg.js → flag-kj9n5bvh.js} +4 -4
  214. package/dist/chunks/{model-retry-cavny3st.js → flag-kks1sbjd.js} +15 -15
  215. package/dist/chunks/{model-retry-1wtrt63p.js → flag-kr05as7n.js} +15 -15
  216. package/dist/chunks/{model-retry-0c7bpw4e.js → flag-krq6hmv5.js} +4 -4
  217. package/dist/chunks/{model-retry-kt3bjfbg.js → flag-kt3bjfbg.js} +1 -1
  218. package/dist/chunks/{model-retry-kzczzf4v.js → flag-kzczzf4v.js} +1 -1
  219. package/dist/chunks/{model-retry-2bswbpgz.js → flag-kzdam8c6.js} +7 -7
  220. package/dist/chunks/{model-retry-3w00zpq8.js → flag-kzhqjt3b.js} +85 -85
  221. package/dist/chunks/{model-retry-m1714858.js → flag-m1714858.js} +1 -1
  222. package/dist/chunks/{model-retry-6ckxc65a.js → flag-m79wmg2b.js} +6 -6
  223. package/dist/chunks/{model-retry-m9w0rfyh.js → flag-m9w0rfyh.js} +1 -1
  224. package/dist/chunks/{model-retry-82e4q3jm.js → flag-mb4tbnzd.js} +1 -1
  225. package/dist/chunks/{model-retry-8z6m94af.js → flag-mb7mbhnz.js} +3 -3
  226. package/dist/chunks/{model-retry-cjqsf6bw.js → flag-mbk8h3wg.js} +9 -9
  227. package/dist/chunks/{model-retry-wcfpfg7y.js → flag-mebsk1tv.js} +15 -15
  228. package/dist/chunks/{model-retry-dh5k9yhz.js → flag-mphfcbh2.js} +67 -67
  229. package/dist/chunks/{model-retry-ayjza53k.js → flag-mv034xfq.js} +29 -29
  230. package/dist/chunks/{model-retry-b7nkz392.js → flag-mym403hh.js} +1 -1
  231. package/dist/chunks/{model-retry-jkxe4gm6.js → flag-myrg2sx3.js} +5 -5
  232. package/dist/chunks/{model-retry-xd8gvm55.js → flag-n2b2sxve.js} +51 -51
  233. package/dist/chunks/{model-retry-n42snndf.js → flag-n5qh2tpm.js} +18 -18
  234. package/dist/chunks/{model-retry-ta92nb8a.js → flag-n6fgs16y.js} +61 -61
  235. package/dist/chunks/{model-retry-vr8z95kg.js → flag-n7q3rp51.js} +33 -33
  236. package/dist/chunks/{model-retry-edm37t96.js → flag-n8kk02wn.js} +6 -6
  237. package/dist/chunks/{model-retry-tmr9yjpj.js → flag-n9ptaqng.js} +9 -9
  238. package/dist/chunks/{model-retry-h0d0h288.js → flag-nbe4xnz9.js} +21 -21
  239. package/dist/chunks/{model-retry-z9r4pa4x.js → flag-ngbtdw7d.js} +20 -20
  240. package/dist/chunks/{model-retry-04qc8z7j.js → flag-nt907s04.js} +3 -3
  241. package/dist/chunks/{model-retry-0m9mnr46.js → flag-nvqn0jgd.js} +29 -29
  242. package/dist/chunks/{model-retry-pebyzz0n.js → flag-nysrxf73.js} +14 -14
  243. package/dist/chunks/{model-retry-v8drvm06.js → flag-p4dpe8bh.js} +14 -14
  244. package/dist/chunks/{model-retry-bwf07z9j.js → flag-p6hyt91k.js} +19 -19
  245. package/dist/chunks/{model-retry-q84jkp8z.js → flag-p7wsn8hq.js} +17 -17
  246. package/dist/chunks/{model-retry-pknna89w.js → flag-pknna89w.js} +1 -1
  247. package/dist/chunks/{model-retry-9zce04t0.js → flag-pmgs19gv.js} +23 -23
  248. package/dist/chunks/{model-retry-nm5vnkcb.js → flag-prw0raw9.js} +9 -9
  249. package/dist/chunks/{model-retry-e05q9fj3.js → flag-pvqrc4ed.js} +20 -20
  250. package/dist/chunks/{model-retry-229tvxdn.js → flag-px7qpgcn.js} +4 -4
  251. package/dist/chunks/{model-retry-x9ns6bvg.js → flag-pzz9yege.js} +24 -24
  252. package/dist/chunks/flag-q1cvymj3.js +26 -0
  253. package/dist/chunks/{model-retry-q42tzrxa.js → flag-q42tzrxa.js} +1 -1
  254. package/dist/chunks/{model-retry-7yv514tw.js → flag-qdshsf4w.js} +9 -9
  255. package/dist/chunks/{model-retry-qyfpzaft.js → flag-qf5aknd5.js} +47 -47
  256. package/dist/chunks/{model-retry-bw0fa95q.js → flag-qfct020g.js} +16 -16
  257. package/dist/chunks/{model-retry-qp7r0hxv.js → flag-qp7r0hxv.js} +1 -1
  258. package/dist/chunks/{model-retry-fj34de5z.js → flag-qzch5wfa.js} +39 -39
  259. package/dist/chunks/{model-retry-rt5qjrvj.js → flag-qzgp0jr4.js} +4 -4
  260. package/dist/chunks/{model-retry-10bttd1c.js → flag-r413b5dt.js} +28 -28
  261. package/dist/chunks/{model-retry-0wqvtycd.js → flag-r5xncg2p.js} +6 -6
  262. package/dist/chunks/{model-retry-a3ma3nbh.js → flag-r7xr30vf.js} +5 -5
  263. package/dist/chunks/{model-retry-vgs3tmp3.js → flag-rb6qnysm.js} +9 -9
  264. package/dist/chunks/{model-retry-rb9dy4dg.js → flag-rb9dy4dg.js} +1 -1
  265. package/dist/chunks/{model-retry-wggzmsjz.js → flag-rf3vkmdk.js} +27 -27
  266. package/dist/chunks/{model-retry-rgc9cx3e.js → flag-rgc9cx3e.js} +2 -2
  267. package/dist/chunks/{model-retry-c1njvmmr.js → flag-rq33375m.js} +43 -43
  268. package/dist/chunks/{model-retry-bbagp5t9.js → flag-rz5vsqxg.js} +28 -28
  269. package/dist/chunks/flag-s08zthfz.js +35 -0
  270. package/dist/chunks/{model-retry-0ab3knej.js → flag-s3s53skt.js} +12 -12
  271. package/dist/chunks/{model-retry-fc93665r.js → flag-s5zrq09q.js} +8 -8
  272. package/dist/chunks/{model-retry-fkqdcdp4.js → flag-sa3qvtqf.js} +16 -16
  273. package/dist/chunks/{model-retry-sbya78hr.js → flag-sbya78hr.js} +1 -1
  274. package/dist/chunks/{model-retry-svcy3p9a.js → flag-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{model-retry-wytbxtva.js → flag-sxear5nx.js} +20 -20
  276. package/dist/chunks/{model-retry-mq0bmx9g.js → flag-t0hc4t0r.js} +14 -14
  277. package/dist/chunks/{model-retry-shqxbeh8.js → flag-t2jj1q7e.js} +8 -8
  278. package/dist/chunks/{model-retry-jv1c2mep.js → flag-t2w8e7sf.js} +35 -35
  279. package/dist/chunks/{model-retry-0x3qq8ad.js → flag-t411jmby.js} +31 -31
  280. package/dist/chunks/{model-retry-t48jrnqq.js → flag-t48jrnqq.js} +1 -1
  281. package/dist/chunks/{model-retry-26wfx3k0.js → flag-tb2mrvc9.js} +4 -4
  282. package/dist/chunks/{model-retry-tbpn7jtk.js → flag-tbpn7jtk.js} +1 -1
  283. package/dist/chunks/{model-retry-tczq8hjw.js → flag-tczq8hjw.js} +1 -1
  284. package/dist/chunks/{model-retry-233argac.js → flag-tf9r37f3.js} +11 -11
  285. package/dist/chunks/{model-retry-n92nzxqg.js → flag-tfsnnnpk.js} +9 -9
  286. package/dist/chunks/{model-retry-gvg2rszq.js → flag-tnbe8zb9.js} +12 -12
  287. package/dist/chunks/{model-retry-tr8x705m.js → flag-tr8x705m.js} +1 -1
  288. package/dist/chunks/{model-retry-tvtps2q9.js → flag-tvtps2q9.js} +1 -1
  289. package/dist/chunks/{model-retry-twssxy5n.js → flag-twssxy5n.js} +2 -2
  290. package/dist/chunks/{model-retry-7knzxrdv.js → flag-tx08s06b.js} +11 -11
  291. package/dist/chunks/{model-retry-18fchrwq.js → flag-tz757gp5.js} +34 -34
  292. package/dist/chunks/{model-retry-0jzm810r.js → flag-tzm8sen6.js} +40 -40
  293. package/dist/chunks/flag-v19fhjf9.js +577 -0
  294. package/dist/chunks/{model-retry-v2r1d0zg.js → flag-v2r1d0zg.js} +1 -1
  295. package/dist/chunks/{model-retry-bhpk62b9.js → flag-v88k3e1r.js} +5 -5
  296. package/dist/chunks/{model-retry-xya7ctxy.js → flag-v8dhzynh.js} +15 -15
  297. package/dist/chunks/{model-retry-1j97zecb.js → flag-v8gdxbgn.js} +33 -33
  298. package/dist/chunks/{model-retry-4k2c81k4.js → flag-vbjndfas.js} +8 -8
  299. package/dist/chunks/{model-retry-vjf35v1f.js → flag-vjf35v1f.js} +1 -1
  300. package/dist/chunks/{model-retry-x7dr9wtp.js → flag-vpa563n1.js} +20 -20
  301. package/dist/chunks/{model-retry-e1pw9yh5.js → flag-vve4apvj.js} +13 -13
  302. package/dist/chunks/{model-retry-1cect6gc.js → flag-vxp66wc3.js} +43 -43
  303. package/dist/chunks/{model-retry-w0avypsn.js → flag-w0avypsn.js} +2 -2
  304. package/dist/chunks/{model-retry-58ng2s68.js → flag-w0rqan0q.js} +25 -25
  305. package/dist/chunks/{model-retry-w79nt68w.js → flag-w35wzz9x.js} +4 -4
  306. package/dist/chunks/{model-retry-w3wsvvr9.js → flag-w3wsvvr9.js} +1 -1
  307. package/dist/chunks/{model-retry-yc146ktt.js → flag-w72kfpv0.js} +1 -1
  308. package/dist/chunks/{model-retry-wakvkjy4.js → flag-wakvkjy4.js} +1 -1
  309. package/dist/chunks/{model-retry-461vpj4m.js → flag-wd77xymj.js} +22 -22
  310. package/dist/chunks/{model-retry-wd87259q.js → flag-wd87259q.js} +1 -1
  311. package/dist/chunks/{model-retry-nx4vzyjd.js → flag-wegkxhrn.js} +2 -2
  312. package/dist/chunks/{model-retry-wfdx5ztx.js → flag-wfdx5ztx.js} +1 -1
  313. package/dist/chunks/{model-retry-y7qawec5.js → flag-wgntp26c.js} +33 -33
  314. package/dist/chunks/{model-retry-fznmdakp.js → flag-wr3re1en.js} +4 -4
  315. package/dist/chunks/{model-retry-v40cwbah.js → flag-x945cdt3.js} +8 -8
  316. package/dist/chunks/{model-retry-khsc2avm.js → flag-xbamcx65.js} +32 -32
  317. package/dist/chunks/{model-retry-krd6ac7h.js → flag-xe7df2tz.js} +9 -9
  318. package/dist/chunks/{model-retry-622r6tfd.js → flag-xfh1sx4x.js} +5 -5
  319. package/dist/chunks/{model-retry-xjr6c8m4.js → flag-xjr6c8m4.js} +1 -1
  320. package/dist/chunks/{model-retry-bd8h3vex.js → flag-xtsk5bdt.js} +11 -11
  321. package/dist/chunks/{model-retry-se84e5kf.js → flag-xtv3hy5v.js} +43 -43
  322. package/dist/chunks/{model-retry-a0f8fvmt.js → flag-xz07m27x.js} +6 -6
  323. package/dist/chunks/{model-retry-t6nqp9vg.js → flag-xzjweb72.js} +21 -21
  324. package/dist/chunks/{model-retry-avtca5ff.js → flag-y1f42pkz.js} +16 -16
  325. package/dist/chunks/{model-retry-ej3jbyd9.js → flag-y2e6369g.js} +17 -17
  326. package/dist/chunks/{model-retry-tc3psh6n.js → flag-y5w9jtb1.js} +8 -8
  327. package/dist/chunks/{model-retry-12yrhvkt.js → flag-y81zskp9.js} +15 -15
  328. package/dist/chunks/{model-retry-pdaj8qbc.js → flag-y9r2j4dk.js} +13 -13
  329. package/dist/chunks/{model-retry-jqydmcqv.js → flag-yay1wkz3.js} +43 -43
  330. package/dist/chunks/{model-retry-yb20nhc3.js → flag-yb20nhc3.js} +1 -1
  331. package/dist/chunks/{model-retry-0mgprbja.js → flag-yfmbdz01.js} +6 -6
  332. package/dist/chunks/{model-retry-9x6a782r.js → flag-ygfne632.js} +1 -1
  333. package/dist/chunks/{model-retry-zq70c3fj.js → flag-yht0v6tc.js} +28 -28
  334. package/dist/chunks/{model-retry-qzts29w1.js → flag-ym36e6ms.js} +14 -14
  335. package/dist/chunks/{model-retry-pc99nv90.js → flag-yn38pgvr.js} +6 -6
  336. package/dist/chunks/{model-retry-hj9qde8t.js → flag-yqsf7wkv.js} +19 -19
  337. package/dist/chunks/{model-retry-yr705xyq.js → flag-yr705xyq.js} +1 -1
  338. package/dist/chunks/{model-retry-8jzb4pp6.js → flag-yvqbfgs2.js} +28 -28
  339. package/dist/chunks/{model-retry-yvtc2x31.js → flag-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{model-retry-7tgwceks.js → flag-yxynkdzd.js} +5 -5
  341. package/dist/chunks/{model-retry-je02mesb.js → flag-z0w9vd8h.js} +23 -23
  342. package/dist/chunks/{model-retry-64997449.js → flag-zcv8sgyy.js} +14 -14
  343. package/dist/chunks/{model-retry-9g1enhg0.js → flag-ze4fkgdz.js} +16 -16
  344. package/dist/chunks/{model-retry-9a186w2s.js → flag-zmv41ng7.js} +28 -28
  345. package/dist/chunks/{model-retry-yk4ram99.js → flag-zsr0j9xc.js} +6 -6
  346. package/dist/chunks/{model-retry-4qbyyyq5.js → flag-ztjcysxb.js} +11 -11
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +5 -5
  349. package/dist/codemode/fetch.js +148 -148
  350. package/dist/codemode/instructions.js +5 -5
  351. package/dist/codemode/tool.js +155 -155
  352. package/dist/command.js +90 -90
  353. package/dist/config/discovery.js +95 -95
  354. package/dist/config/integration.js +3 -3
  355. package/dist/config/managed.js +1 -1
  356. package/dist/config/markdown.js +1 -1
  357. package/dist/config/normalize.js +112 -112
  358. package/dist/config/plugin/agent.js +131 -131
  359. package/dist/config/plugin/command.js +239 -239
  360. package/dist/config/plugin/compaction.js +173 -173
  361. package/dist/config/plugin/compatibility.js +153 -153
  362. package/dist/config/plugin/entry-observer.js +1 -1
  363. package/dist/config/plugin/formatter.js +131 -131
  364. package/dist/config/plugin/image.js +130 -130
  365. package/dist/config/plugin/instruction.js +128 -128
  366. package/dist/config/plugin/location-watcher.js +132 -132
  367. package/dist/config/plugin/mcp.js +141 -141
  368. package/dist/config/plugin/policy.js +130 -130
  369. package/dist/config/plugin/provider.js +130 -130
  370. package/dist/config/plugin/reference.js +132 -132
  371. package/dist/config/plugin/shell.js +132 -132
  372. package/dist/config/plugin/skill-file.js +149 -149
  373. package/dist/config/plugin/skill-scan.js +1 -1
  374. package/dist/config/plugin/skill.js +156 -156
  375. package/dist/config/plugin/snapshot.js +130 -130
  376. package/dist/config/plugin/source.js +134 -134
  377. package/dist/config/plugin/tool-output.js +131 -131
  378. package/dist/config/plugin/websearch.js +131 -131
  379. package/dist/config/plugin/worktree.js +132 -132
  380. package/dist/config/variable.js +1 -1
  381. package/dist/config/watch.js +1 -1
  382. package/dist/config.js +133 -133
  383. package/dist/console-access.js +1 -1
  384. package/dist/credential/sql.js +2 -2
  385. package/dist/credential.js +94 -94
  386. package/dist/database/batch.js +1 -1
  387. package/dist/database/database.js +81 -81
  388. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  389. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  390. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  391. package/dist/database/drizzle/index.js +15 -15
  392. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  393. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  394. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  395. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  396. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  397. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  399. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  400. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  402. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  403. package/dist/database/drizzle.js +16 -16
  404. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  405. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  406. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  407. package/dist/database/migration/20260225215848_workspace.js +1 -1
  408. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  409. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  410. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  411. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  412. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  413. package/dist/database/migration/20260323234822_events.js +1 -1
  414. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  415. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  416. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  417. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  418. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  419. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  420. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  421. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  422. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  423. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  424. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  425. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  426. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  427. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  428. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  429. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  430. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  431. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  432. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  433. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  434. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  435. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  436. package/dist/database/migration/20260611035744_credential.js +1 -1
  437. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  438. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  439. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  440. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  441. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  442. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  443. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  444. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  445. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  446. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  447. package/dist/database/migration/20260812213948_worktree.js +1 -1
  448. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  449. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  450. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  451. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  452. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  453. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  454. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  455. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  456. package/dist/database/migration/20261025123711_blob.js +1 -1
  457. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  458. package/dist/database/migration/20261026223005_schedule.js +1 -1
  459. package/dist/database/migration/20261029002625_session_part.js +1 -1
  460. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  461. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  462. package/dist/database/migration/20261030054400_job.js +1 -1
  463. package/dist/database/migration.gen.js +60 -60
  464. package/dist/database/migration.js +76 -76
  465. package/dist/database/path.js +2 -2
  466. package/dist/database/schema.gen.js +1 -1
  467. package/dist/database/schema.sql.js +1 -1
  468. package/dist/database/v1-migration.bun.js +108 -108
  469. package/dist/effect/app-node-builder.js +441 -441
  470. package/dist/effect/app-node-platform.js +2 -2
  471. package/dist/effect/keyed-mutex.js +3 -3
  472. package/dist/effect/websocket-constructor.js +1 -1
  473. package/dist/environment/driver.js +1 -1
  474. package/dist/environment/environment.js +105 -105
  475. package/dist/environment/exec-defaults.js +2 -2
  476. package/dist/environment/files.js +1 -1
  477. package/dist/environment/index.js +108 -108
  478. package/dist/environment/local.js +2 -2
  479. package/dist/environment/memory.js +2 -2
  480. package/dist/environment/unavailable.js +3 -3
  481. package/dist/event/sql.js +1 -1
  482. package/dist/event-logger.js +85 -85
  483. package/dist/file-access.js +156 -156
  484. package/dist/file-mutation.js +108 -108
  485. package/dist/file-retention.js +1 -1
  486. package/dist/file-write.js +164 -164
  487. package/dist/filesystem/fff.bun.js +2 -2
  488. package/dist/filesystem/fff.js +1 -1
  489. package/dist/filesystem/fff.node.js +2 -2
  490. package/dist/filesystem/fff.workerd.js +2 -2
  491. package/dist/filesystem/file-watch.js +91 -91
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +254 -254
  494. package/dist/filesystem/protected.js +1 -1
  495. package/dist/filesystem/search.js +113 -113
  496. package/dist/filesystem/watcher-binding.js +1 -1
  497. package/dist/filesystem/watcher.js +11 -11
  498. package/dist/filesystem.js +116 -116
  499. package/dist/flag.js +133 -133
  500. package/dist/form.js +89 -89
  501. package/dist/formatter/builtins.js +2 -2
  502. package/dist/formatter.js +100 -100
  503. package/dist/generate.js +116 -116
  504. package/dist/git.js +11 -11
  505. package/dist/github-copilot/models.js +112 -112
  506. package/dist/image/notice.js +1 -1
  507. package/dist/image/photon-normalize.js +1 -1
  508. package/dist/image/photon-worker.js +1 -1
  509. package/dist/image/photon.js +4 -4
  510. package/dist/image.js +6 -6
  511. package/dist/instance/service.js +5 -5
  512. package/dist/instance.js +432 -432
  513. package/dist/instruction-discovery.js +93 -93
  514. package/dist/instructions/builtins.js +100 -100
  515. package/dist/instructions/index.js +5 -5
  516. package/dist/integration/connection.js +3 -3
  517. package/dist/integration.js +98 -98
  518. package/dist/job/list.js +7 -7
  519. package/dist/job/recovery.js +2 -2
  520. package/dist/job/sql.js +2 -2
  521. package/dist/job.js +90 -90
  522. package/dist/kv/sql.js +2 -2
  523. package/dist/kv.js +84 -84
  524. package/dist/location-activity.js +183 -183
  525. package/dist/location-lifecycle.js +149 -149
  526. package/dist/location-service-map.js +99 -99
  527. package/dist/location-services.js +429 -429
  528. package/dist/location.js +100 -100
  529. package/dist/managed-policy.js +3 -3
  530. package/dist/mcp/client.js +158 -158
  531. package/dist/mcp/connection.js +106 -106
  532. package/dist/mcp/index.js +126 -126
  533. package/dist/mcp/instructions.js +189 -189
  534. package/dist/mcp/oauth.js +89 -89
  535. package/dist/mcp/pool.js +112 -112
  536. package/dist/mcp/socket-client.js +1 -1
  537. package/dist/mcp/stdio.js +157 -157
  538. package/dist/mime.js +1 -1
  539. package/dist/modal/models.js +112 -112
  540. package/dist/model-resolver.js +112 -112
  541. package/dist/model-retry.js +1 -1
  542. package/dist/model.js +113 -113
  543. package/dist/models-dev/v1.js +1 -1
  544. package/dist/models-dev.js +121 -121
  545. package/dist/oauth/page.js +1 -1
  546. package/dist/permission/saved.js +93 -93
  547. package/dist/permission/sql.js +5 -5
  548. package/dist/permission.js +152 -152
  549. package/dist/persistent-pty/binary.bun.js +1 -1
  550. package/dist/persistent-pty/daemon.js +1 -1
  551. package/dist/persistent-pty/index.js +99 -99
  552. package/dist/persistent-pty/pty-binding.js +1 -1
  553. package/dist/persistent-pty.js +86 -86
  554. package/dist/plugin/agent.js +85 -85
  555. package/dist/plugin/command.js +117 -117
  556. package/dist/plugin/goal.js +3 -3
  557. package/dist/plugin/hooks.js +5 -5
  558. package/dist/plugin/host.js +245 -245
  559. package/dist/plugin/identity.js +5 -5
  560. package/dist/plugin/instance.js +5 -5
  561. package/dist/plugin/internal.js +410 -410
  562. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  563. package/dist/plugin/models-dev.js +110 -110
  564. package/dist/plugin/module.js +129 -129
  565. package/dist/plugin/optimize.js +4 -4
  566. package/dist/plugin/plan.js +149 -149
  567. package/dist/plugin/promise.js +1 -1
  568. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  569. package/dist/plugin/provider/azure.js +133 -133
  570. package/dist/plugin/provider/cerebras.js +1 -1
  571. package/dist/plugin/provider/chatgpt.js +133 -133
  572. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  573. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  574. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  575. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  576. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  577. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  578. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  580. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  581. package/dist/plugin/provider/claude-agent/index.js +146 -146
  582. package/dist/plugin/provider/claude-agent/instructions.js +110 -110
  583. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  584. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  585. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  586. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  587. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  588. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  589. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  590. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  591. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  592. package/dist/plugin/provider/claude-agent/session.js +112 -112
  593. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  594. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  595. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  596. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  597. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  598. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  599. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  600. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  601. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  603. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  604. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  605. package/dist/plugin/provider/configured.js +126 -126
  606. package/dist/plugin/provider/credential-settings.js +88 -88
  607. package/dist/plugin/provider/databricks.js +1 -1
  608. package/dist/plugin/provider/digitalocean.js +109 -109
  609. package/dist/plugin/provider/dynamic.js +2 -2
  610. package/dist/plugin/provider/github-copilot.js +111 -111
  611. package/dist/plugin/provider/gitlab.js +109 -109
  612. package/dist/plugin/provider/google-vertex.js +127 -127
  613. package/dist/plugin/provider/kilo.js +1 -1
  614. package/dist/plugin/provider/llmgateway.js +89 -89
  615. package/dist/plugin/provider/lmstudio.js +138 -138
  616. package/dist/plugin/provider/local.js +137 -137
  617. package/dist/plugin/provider/modal.js +108 -108
  618. package/dist/plugin/provider/neon.js +1 -1
  619. package/dist/plugin/provider/nvidia.js +1 -1
  620. package/dist/plugin/provider/ollama.js +138 -138
  621. package/dist/plugin/provider/openai-context-caps.js +106 -106
  622. package/dist/plugin/provider/openai.js +135 -135
  623. package/dist/plugin/provider/opencode-watches.js +2 -2
  624. package/dist/plugin/provider/opencode.js +161 -161
  625. package/dist/plugin/provider/openrouter.js +104 -104
  626. package/dist/plugin/provider/poe.js +90 -90
  627. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  628. package/dist/plugin/provider/refresh.js +87 -87
  629. package/dist/plugin/provider/sap-ai-core.js +104 -104
  630. package/dist/plugin/provider/sdk-factory.js +1 -1
  631. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  632. package/dist/plugin/provider/vllm.js +138 -138
  633. package/dist/plugin/provider/xai.js +104 -104
  634. package/dist/plugin/provider/zenmux.js +1 -1
  635. package/dist/plugin/provider.js +239 -239
  636. package/dist/plugin/sdk.js +87 -87
  637. package/dist/plugin/service.js +3 -3
  638. package/dist/plugin/skill.js +152 -152
  639. package/dist/plugin/source-directory.js +1 -1
  640. package/dist/plugin/supervisor.js +420 -420
  641. package/dist/plugin/tool-input-repair.js +4 -4
  642. package/dist/plugin/update.js +4 -4
  643. package/dist/plugin/vcs/git.js +99 -99
  644. package/dist/plugin/vcs/hg.js +99 -99
  645. package/dist/plugin/verbosity.js +106 -106
  646. package/dist/plugin/warming.js +130 -130
  647. package/dist/plugin/websearch/exa.js +8 -8
  648. package/dist/plugin/websearch/firecrawl.js +9 -9
  649. package/dist/plugin/websearch/index.js +10 -10
  650. package/dist/plugin/websearch/mcp.js +4 -4
  651. package/dist/plugin/websearch/parallel.js +9 -9
  652. package/dist/plugin/websearch/provider.js +1 -1
  653. package/dist/plugin/websearch/tavily.js +7 -7
  654. package/dist/plugin/websearch/tinyfish.js +7 -7
  655. package/dist/plugin.js +252 -252
  656. package/dist/project/icon.js +5 -5
  657. package/dist/project/schema.js +8 -8
  658. package/dist/project/sql.js +4 -4
  659. package/dist/project.js +101 -101
  660. package/dist/provider.js +112 -112
  661. package/dist/pty/protocol.js +1 -1
  662. package/dist/pty/ticket.js +1 -1
  663. package/dist/pty.js +101 -101
  664. package/dist/reference/instructions.js +97 -97
  665. package/dist/reference.js +103 -103
  666. package/dist/repository-cache.js +93 -93
  667. package/dist/repository.js +1 -1
  668. package/dist/ripgrep/binary.js +2 -2
  669. package/dist/ripgrep.js +111 -111
  670. package/dist/rpc.js +99 -99
  671. package/dist/schedule/check.js +250 -250
  672. package/dist/schedule/sql.js +6 -6
  673. package/dist/schedule.js +256 -256
  674. package/dist/schema.js +1 -1
  675. package/dist/session/affinity.js +1 -1
  676. package/dist/session/background.js +3 -3
  677. package/dist/session/blob.js +134 -134
  678. package/dist/session/command.js +85 -85
  679. package/dist/session/compaction.js +175 -175
  680. package/dist/session/context.js +205 -205
  681. package/dist/session/diff.js +101 -101
  682. package/dist/session/environment.js +5 -5
  683. package/dist/session/error.js +5 -5
  684. package/dist/session/event.js +1 -1
  685. package/dist/session/execution/restart.js +250 -250
  686. package/dist/session/execution.js +171 -171
  687. package/dist/session/generate.js +205 -205
  688. package/dist/session/history.js +139 -139
  689. package/dist/session/inbox.js +148 -148
  690. package/dist/session/info.js +3 -3
  691. package/dist/session/instruction-entry.js +88 -88
  692. package/dist/session/instruction-state.js +8 -8
  693. package/dist/session/instructions.js +144 -144
  694. package/dist/session/message-updater.js +2 -2
  695. package/dist/session/message.js +1 -1
  696. package/dist/session/model-request.js +171 -171
  697. package/dist/session/model-transport.js +9 -9
  698. package/dist/session/move.js +171 -171
  699. package/dist/session/projector.js +146 -146
  700. package/dist/session/prompt.js +151 -151
  701. package/dist/session/recent-text.js +1 -1
  702. package/dist/session/revert.js +142 -142
  703. package/dist/session/run-coordinator.js +1 -1
  704. package/dist/session/runner/index.js +3 -3
  705. package/dist/session/runner/llm.js +258 -258
  706. package/dist/session/runner/max-steps.js +1 -1
  707. package/dist/session/runner/model.js +113 -113
  708. package/dist/session/runner/publish-llm-event.js +153 -153
  709. package/dist/session/runner/retry.js +3 -3
  710. package/dist/session/runner/step.js +166 -166
  711. package/dist/session/runner/to-llm-message.js +140 -140
  712. package/dist/session/schema.js +5 -5
  713. package/dist/session/session.js +186 -186
  714. package/dist/session/shell.js +145 -145
  715. package/dist/session/skill.js +150 -150
  716. package/dist/session/sql.js +5 -5
  717. package/dist/session/stats.js +87 -87
  718. package/dist/session/store.js +145 -145
  719. package/dist/session/stored.js +2 -2
  720. package/dist/session/subagent-completion.js +1 -1
  721. package/dist/session/subagent-job.js +238 -238
  722. package/dist/session/system-prompt.js +3 -3
  723. package/dist/session/title.js +209 -209
  724. package/dist/session/to-session-error.js +152 -152
  725. package/dist/session/transfer.js +254 -254
  726. package/dist/session/usage.js +1 -1
  727. package/dist/session.js +244 -244
  728. package/dist/shared-cache.js +5 -5
  729. package/dist/shell/parse.js +6 -6
  730. package/dist/shell/result.js +1 -1
  731. package/dist/shell/scan.js +1 -1
  732. package/dist/shell/select.js +11 -11
  733. package/dist/shell.js +147 -147
  734. package/dist/skill/discovery.js +6 -6
  735. package/dist/skill/instructions.js +154 -154
  736. package/dist/skill.js +161 -161
  737. package/dist/snapshot.js +100 -100
  738. package/dist/state.js +1 -1
  739. package/dist/tool/html-markdown.js +1 -1
  740. package/dist/tool/http-body.js +1 -1
  741. package/dist/tool/mcp.js +188 -188
  742. package/dist/tool/plugin/artifact.js +237 -237
  743. package/dist/tool/plugin/edit.js +170 -170
  744. package/dist/tool/plugin/file-diff.js +1 -1
  745. package/dist/tool/plugin/glob.js +172 -172
  746. package/dist/tool/plugin/grep.js +173 -173
  747. package/dist/tool/plugin/image-generate.js +248 -248
  748. package/dist/tool/plugin/mcp-resource.js +169 -169
  749. package/dist/tool/plugin/opencode.js +166 -166
  750. package/dist/tool/plugin/patch.js +169 -169
  751. package/dist/tool/plugin/question.js +151 -151
  752. package/dist/tool/plugin/read.js +175 -175
  753. package/dist/tool/plugin/schedule.js +256 -256
  754. package/dist/tool/plugin/shell.js +244 -244
  755. package/dist/tool/plugin/skill.js +160 -160
  756. package/dist/tool/plugin/subagent.js +245 -245
  757. package/dist/tool/plugin/todo.js +154 -154
  758. package/dist/tool/plugin/webfetch.js +158 -158
  759. package/dist/tool/plugin/websearch.js +158 -158
  760. package/dist/tool/plugin/write.js +169 -169
  761. package/dist/tool/read-filesystem.js +114 -114
  762. package/dist/tool/runtime.js +1 -1
  763. package/dist/tool/search.js +109 -109
  764. package/dist/tool-output.js +7 -7
  765. package/dist/tool.js +165 -165
  766. package/dist/types/plugin/warming.d.ts +1 -2
  767. package/dist/usage-limits.js +98 -98
  768. package/dist/util/error-summary.js +1 -1
  769. package/dist/util/git-executable.js +3 -3
  770. package/dist/util/lazy.js +1 -1
  771. package/dist/util/slug.js +1 -1
  772. package/dist/util/token.js +1 -1
  773. package/dist/util/which.js +1 -1
  774. package/dist/util/wildcard.js +1 -1
  775. package/dist/v1/config/agent.js +7 -7
  776. package/dist/v1/config/command.js +1 -1
  777. package/dist/v1/config/mcp.js +4 -4
  778. package/dist/v1/config/migrate.js +105 -105
  779. package/dist/v1/config/permission.js +3 -3
  780. package/dist/v1/config/plugin.js +1 -1
  781. package/dist/v1/config/provider-options.js +1 -1
  782. package/dist/v1/config/provider.js +4 -4
  783. package/dist/variant.js +104 -104
  784. package/dist/vcs/patch.js +1 -1
  785. package/dist/vcs.js +102 -102
  786. package/dist/voice.js +99 -99
  787. package/dist/websearch.js +101 -101
  788. package/dist/wellknown/plugin.js +87 -87
  789. package/dist/wellknown.js +90 -90
  790. package/dist/workspace/driver.js +7 -7
  791. package/dist/workspace/sql.js +1 -1
  792. package/dist/workspace.js +93 -93
  793. package/dist/worktree/directory.js +2 -2
  794. package/dist/worktree/git.js +9 -9
  795. package/dist/worktree/sql.js +5 -5
  796. package/dist/worktree/strategies.js +102 -102
  797. package/dist/worktree.js +109 -109
  798. package/package.json +8 -8
  799. package/dist/chunks/model-retry-00ve6mdn.js +0 -18
  800. package/dist/chunks/model-retry-073yw6wc.js +0 -577
  801. package/dist/chunks/model-retry-41hkj30d.js +0 -273
  802. package/dist/chunks/model-retry-7cabzjh9.js +0 -201
  803. package/dist/chunks/model-retry-aqczazaa.js +0 -16
  804. package/dist/chunks/model-retry-hnktkp4a.js +0 -35
  805. package/dist/chunks/model-retry-yqwbdse8.js +0 -26
  806. /package/dist/chunks/{model-retry-0qkdqm5v.js → flag-0qkdqm5v.js} +0 -0
  807. /package/dist/chunks/{model-retry-0zkw76rk.js → flag-0zkw76rk.js} +0 -0
  808. /package/dist/chunks/{model-retry-17cy0kzp.js → flag-17cy0kzp.js} +0 -0
  809. /package/dist/chunks/{model-retry-1cnp2v09.js → flag-1cnp2v09.js} +0 -0
  810. /package/dist/chunks/{model-retry-1kah00gy.js → flag-1kah00gy.js} +0 -0
  811. /package/dist/chunks/{model-retry-24dcb14g.js → flag-24dcb14g.js} +0 -0
  812. /package/dist/chunks/{model-retry-2710q6r3.js → flag-2710q6r3.js} +0 -0
  813. /package/dist/chunks/{model-retry-2c3vjs8z.js → flag-2c3vjs8z.js} +0 -0
  814. /package/dist/chunks/{model-retry-359p4xyc.js → flag-359p4xyc.js} +0 -0
  815. /package/dist/chunks/{model-retry-3v8g72cx.js → flag-3v8g72cx.js} +0 -0
  816. /package/dist/chunks/{model-retry-43n2bw4t.js → flag-43n2bw4t.js} +0 -0
  817. /package/dist/chunks/{model-retry-4knz6hnm.js → flag-4knz6hnm.js} +0 -0
  818. /package/dist/chunks/{model-retry-4qk9sjk2.js → flag-4qk9sjk2.js} +0 -0
  819. /package/dist/chunks/{model-retry-53557ph1.js → flag-53557ph1.js} +0 -0
  820. /package/dist/chunks/{model-retry-5w3e23ze.js → flag-5w3e23ze.js} +0 -0
  821. /package/dist/chunks/{model-retry-6agm2x70.js → flag-6agm2x70.js} +0 -0
  822. /package/dist/chunks/{model-retry-6prwharc.js → flag-6prwharc.js} +0 -0
  823. /package/dist/chunks/{model-retry-6q2bdcd1.js → flag-6q2bdcd1.js} +0 -0
  824. /package/dist/chunks/{model-retry-7akdwqpd.js → flag-7akdwqpd.js} +0 -0
  825. /package/dist/chunks/{model-retry-7m9af43g.js → flag-7m9af43g.js} +0 -0
  826. /package/dist/chunks/{model-retry-822emrt2.js → flag-822emrt2.js} +0 -0
  827. /package/dist/chunks/{model-retry-84wd9syh.js → flag-84wd9syh.js} +0 -0
  828. /package/dist/chunks/{model-retry-88xbtdfr.js → flag-88xbtdfr.js} +0 -0
  829. /package/dist/chunks/{model-retry-8n3pysct.js → flag-8n3pysct.js} +0 -0
  830. /package/dist/chunks/{model-retry-8wj87zfr.js → flag-8wj87zfr.js} +0 -0
  831. /package/dist/chunks/{model-retry-9a4afbnw.js → flag-9a4afbnw.js} +0 -0
  832. /package/dist/chunks/{model-retry-9rqn6x4v.js → flag-9rqn6x4v.js} +0 -0
  833. /package/dist/chunks/{model-retry-aqzs7mqg.js → flag-aqzs7mqg.js} +0 -0
  834. /package/dist/chunks/{model-retry-atq7p7m5.js → flag-atq7p7m5.js} +0 -0
  835. /package/dist/chunks/{model-retry-beh6qq61.js → flag-beh6qq61.js} +0 -0
  836. /package/dist/chunks/{model-retry-bhmrqjy3.js → flag-bhmrqjy3.js} +0 -0
  837. /package/dist/chunks/{model-retry-bkyjaxrp.js → flag-bkyjaxrp.js} +0 -0
  838. /package/dist/chunks/{model-retry-bmr6ed5q.js → flag-bmr6ed5q.js} +0 -0
  839. /package/dist/chunks/{model-retry-cf4snx6d.js → flag-cf4snx6d.js} +0 -0
  840. /package/dist/chunks/{model-retry-cqv5kn06.js → flag-cqv5kn06.js} +0 -0
  841. /package/dist/chunks/{model-retry-cvy3z8tj.js → flag-cvy3z8tj.js} +0 -0
  842. /package/dist/chunks/{model-retry-d9fn303g.js → flag-d9fn303g.js} +0 -0
  843. /package/dist/chunks/{model-retry-d9jj8t3e.js → flag-d9jj8t3e.js} +0 -0
  844. /package/dist/chunks/{model-retry-df08tz66.js → flag-df08tz66.js} +0 -0
  845. /package/dist/chunks/{model-retry-dy18nga0.js → flag-dy18nga0.js} +0 -0
  846. /package/dist/chunks/{model-retry-e5kj55wp.js → flag-e5kj55wp.js} +0 -0
  847. /package/dist/chunks/{model-retry-ean2d8b5.js → flag-ean2d8b5.js} +0 -0
  848. /package/dist/chunks/{model-retry-ec1grn59.js → flag-ec1grn59.js} +0 -0
  849. /package/dist/chunks/{model-retry-emrn6kk6.js → flag-emrn6kk6.js} +0 -0
  850. /package/dist/chunks/{model-retry-f0mxakyp.js → flag-f0mxakyp.js} +0 -0
  851. /package/dist/chunks/{model-retry-f6n9ztr4.js → flag-f6n9ztr4.js} +0 -0
  852. /package/dist/chunks/{model-retry-faypxj3z.js → flag-faypxj3z.js} +0 -0
  853. /package/dist/chunks/{model-retry-fd410y7t.js → flag-fd410y7t.js} +0 -0
  854. /package/dist/chunks/{model-retry-fkpq3x5p.js → flag-fkpq3x5p.js} +0 -0
  855. /package/dist/chunks/{model-retry-g86h250q.js → flag-g86h250q.js} +0 -0
  856. /package/dist/chunks/{model-retry-gebd4c9n.js → flag-gebd4c9n.js} +0 -0
  857. /package/dist/chunks/{model-retry-gftt206x.js → flag-gftt206x.js} +0 -0
  858. /package/dist/chunks/{model-retry-hcxmzztb.js → flag-hcxmzztb.js} +0 -0
  859. /package/dist/chunks/{model-retry-hk9envan.js → flag-hk9envan.js} +0 -0
  860. /package/dist/chunks/{model-retry-j2ntwpah.js → flag-j2ntwpah.js} +0 -0
  861. /package/dist/chunks/{model-retry-jjkms2e6.js → flag-jjkms2e6.js} +0 -0
  862. /package/dist/chunks/{model-retry-jr7sbwjy.js → flag-jr7sbwjy.js} +0 -0
  863. /package/dist/chunks/{model-retry-jwfs4k6c.js → flag-jwfs4k6c.js} +0 -0
  864. /package/dist/chunks/{model-retry-jwr30sdr.js → flag-jwr30sdr.js} +0 -0
  865. /package/dist/chunks/{model-retry-jzg6c2d5.js → flag-jzg6c2d5.js} +0 -0
  866. /package/dist/chunks/{model-retry-m18g726c.js → flag-m18g726c.js} +0 -0
  867. /package/dist/chunks/{model-retry-mp448xyj.js → flag-mp448xyj.js} +0 -0
  868. /package/dist/chunks/{model-retry-msx8hqn2.js → flag-msx8hqn2.js} +0 -0
  869. /package/dist/chunks/{model-retry-n05xt0ee.js → flag-n05xt0ee.js} +0 -0
  870. /package/dist/chunks/{model-retry-n3j8tn72.js → flag-n3j8tn72.js} +0 -0
  871. /package/dist/chunks/{model-retry-nh4v3znn.js → flag-nh4v3znn.js} +0 -0
  872. /package/dist/chunks/{model-retry-njntx4h6.js → flag-njntx4h6.js} +0 -0
  873. /package/dist/chunks/{model-retry-p71gwv9c.js → flag-p71gwv9c.js} +0 -0
  874. /package/dist/chunks/{model-retry-q3sfg36h.js → flag-q3sfg36h.js} +0 -0
  875. /package/dist/chunks/{model-retry-q74kybfr.js → flag-q74kybfr.js} +0 -0
  876. /package/dist/chunks/{model-retry-qb87gjwd.js → flag-qb87gjwd.js} +0 -0
  877. /package/dist/chunks/{model-retry-qfa1cgps.js → flag-qfa1cgps.js} +0 -0
  878. /package/dist/chunks/{model-retry-qg3g05ea.js → flag-qg3g05ea.js} +0 -0
  879. /package/dist/chunks/{model-retry-qrg20bc0.js → flag-qrg20bc0.js} +0 -0
  880. /package/dist/chunks/{model-retry-rcb2kzg1.js → flag-rcb2kzg1.js} +0 -0
  881. /package/dist/chunks/{model-retry-sdp7kfr6.js → flag-sdp7kfr6.js} +0 -0
  882. /package/dist/chunks/{model-retry-ssg3fenm.js → flag-ssg3fenm.js} +0 -0
  883. /package/dist/chunks/{model-retry-syrav9an.js → flag-syrav9an.js} +0 -0
  884. /package/dist/chunks/{model-retry-t03h4f5z.js → flag-t03h4f5z.js} +0 -0
  885. /package/dist/chunks/{model-retry-ty7weeps.js → flag-ty7weeps.js} +0 -0
  886. /package/dist/chunks/{model-retry-ve7vex1e.js → flag-ve7vex1e.js} +0 -0
  887. /package/dist/chunks/{model-retry-vtarvj67.js → flag-vtarvj67.js} +0 -0
  888. /package/dist/chunks/{model-retry-w803qqfp.js → flag-w803qqfp.js} +0 -0
  889. /package/dist/chunks/{model-retry-wc3fc9cn.js → flag-wc3fc9cn.js} +0 -0
  890. /package/dist/chunks/{model-retry-wer8tq1h.js → flag-wer8tq1h.js} +0 -0
  891. /package/dist/chunks/{model-retry-wtztk69x.js → flag-wtztk69x.js} +0 -0
  892. /package/dist/chunks/{model-retry-x4th4bpe.js → flag-x4th4bpe.js} +0 -0
  893. /package/dist/chunks/{model-retry-y44na4kk.js → flag-y44na4kk.js} +0 -0
  894. /package/dist/chunks/{model-retry-y8f7s663.js → flag-y8f7s663.js} +0 -0
  895. /package/dist/chunks/{model-retry-ygaqb7jw.js → flag-ygaqb7jw.js} +0 -0
  896. /package/dist/chunks/{model-retry-z0h12gs8.js → flag-z0h12gs8.js} +0 -0
  897. /package/dist/chunks/{model-retry-z5v4ffb3.js → flag-z5v4ffb3.js} +0 -0
  898. /package/dist/chunks/{model-retry-z9919s4g.js → flag-z9919s4g.js} +0 -0
  899. /package/dist/chunks/{model-retry-zxpyjp51.js → flag-zxpyjp51.js} +0 -0
  900. /package/dist/chunks/{model-retry-zz5vv3aq.js → flag-zz5vv3aq.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service93,
3
- node95
4
- } from "./model-retry-nh2stm5b.js";
2
+ Service94,
3
+ node96
4
+ } from "./flag-0kpeq0we.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./model-retry-s47rahr7.js";
7
+ } from "./flag-8cg7mtm3.js";
8
8
  import {
9
- Service92,
10
- node94
11
- } from "./model-retry-9g1enhg0.js";
9
+ Service91,
10
+ node93
11
+ } from "./flag-ze4fkgdz.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./model-retry-ec1grn59.js";
14
+ } from "./flag-ec1grn59.js";
15
15
  import {
16
16
  SessionMessageTable2,
17
17
  SessionInboxTable2
18
- } from "./model-retry-8z6m94af.js";
18
+ } from "./flag-mb7mbhnz.js";
19
19
  import {
20
20
  SessionMessage2
21
- } from "./model-retry-gftt206x.js";
21
+ } from "./flag-gftt206x.js";
22
22
  import {
23
23
  UserPayload3
24
- } from "./model-retry-fg9p65nk.js";
24
+ } from "./flag-fg9p65nk.js";
25
25
  import {
26
26
  hydrateInbox2,
27
27
  keepInboxRefs2,
@@ -29,13 +29,13 @@ import {
29
29
  externalizePayload2,
30
30
  recordRefs2,
31
31
  releaseMessage2
32
- } from "./model-retry-rj0s2vsp.js";
32
+ } from "./flag-28mt2z7k.js";
33
33
  import {
34
34
  decodeMessageRows2
35
- } from "./model-retry-p8cqk0fa.js";
35
+ } from "./flag-a0p5xek2.js";
36
36
  import {
37
37
  __export
38
- } from "./model-retry-9rqn6x4v.js";
38
+ } from "./flag-9rqn6x4v.js";
39
39
 
40
40
  // src/session/inbox.ts
41
41
  var exports_inbox = {};
@@ -51,7 +51,7 @@ __export(exports_inbox, {
51
51
  MediaUserPayload: () => MediaUserPayload2,
52
52
  Move: () => Move2,
53
53
  MovePayload: () => MovePayload2,
54
- Service: () => Service52,
54
+ Service: () => Service65,
55
55
  SessionInbox: () => exports_inbox,
56
56
  Synthetic: () => Synthetic2,
57
57
  SyntheticPayload: () => SyntheticPayload2,
@@ -59,13 +59,13 @@ __export(exports_inbox, {
59
59
  UserPayload: () => UserPayload2,
60
60
  find: () => find2,
61
61
  has: () => has2,
62
- layer: () => layer21,
63
- list: () => list4,
62
+ layer: () => layer23,
63
+ list: () => list5,
64
64
  listWithRefs: () => listWithRefs2,
65
65
  make: () => make29,
66
66
  moveIDs: () => moveIDs2,
67
67
  nextPromotable: () => nextPromotable2,
68
- node: () => node54,
68
+ node: () => node66,
69
69
  projectAdmitted: () => projectAdmitted2,
70
70
  projectCancelled: () => projectCancelled2,
71
71
  projectDelivered: () => projectDelivered2,
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
184
184
  });
185
185
  });
186
186
 
187
- class Service52 extends Context.Service()("@opencode/SessionInbox") {
187
+ class Service65 extends Context.Service()("@opencode/SessionInbox") {
188
188
  }
189
189
  var make29 = Effect.fn("SessionInbox.make")(function* () {
190
- const database = yield* Service93;
190
+ const database = yield* Service94;
191
191
  const db = database.db;
192
- const bus = yield* Service92;
192
+ const bus = yield* Service91;
193
193
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
194
194
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
195
195
  if (existing === undefined)
@@ -226,7 +226,7 @@ var make29 = Effect.fn("SessionInbox.make")(function* () {
226
226
  }
227
227
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
228
228
  return yield* new LifecycleConflict2({ id: input.id });
229
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
229
+ const pending = (yield* list5(db, input.sessionID)).find((item) => item.type === "compaction");
230
230
  if (pending)
231
231
  return pending;
232
232
  return yield* admit({
@@ -251,7 +251,7 @@ var make29 = Effect.fn("SessionInbox.make")(function* () {
251
251
  delivery: "queue"
252
252
  })));
253
253
  return {
254
- list: (sessionID) => list4(db, sessionID),
254
+ list: (sessionID) => list5(db, sessionID),
255
255
  reconcile,
256
256
  admit,
257
257
  admitCompaction,
@@ -260,8 +260,8 @@ var make29 = Effect.fn("SessionInbox.make")(function* () {
260
260
  queue
261
261
  };
262
262
  });
263
- var layer21 = Layer.effect(Service52, make29());
264
- var node54 = makeGlobalNode({ service: Service52, layer: layer21, deps: [node95, node94] });
263
+ var layer23 = Layer.effect(Service65, make29());
264
+ var node66 = makeGlobalNode({ service: Service65, layer: layer23, deps: [node96, node93] });
265
265
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
266
266
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
267
267
  if (message !== undefined)
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
310
310
  to: input.delivery
311
311
  }));
312
312
  var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
313
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
313
+ var list5 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
314
314
  return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
315
315
  });
316
316
  var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
388
388
  return rows;
389
389
  }));
390
390
 
391
- export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service52, make29, layer21, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
391
+ export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service65, make29, layer23, node66, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list5, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  lazy2
3
- } from "./model-retry-88xbtdfr.js";
3
+ } from "./flag-88xbtdfr.js";
4
4
  import {
5
5
  load7
6
- } from "./model-retry-4qk9sjk2.js";
6
+ } from "./flag-4qk9sjk2.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./flag-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
14
  Native: () => Native2,
15
- Service: () => Service82,
15
+ Service: () => Service75,
16
16
  Test: () => Test3,
17
17
  Watcher: () => exports_watcher,
18
- configured: () => configured11,
18
+ configured: () => configured9,
19
19
  hasNativeBinding: () => hasNativeBinding2,
20
- layer: () => layer28,
20
+ layer: () => layer26,
21
21
  nativeLayer: () => nativeLayer2,
22
- node: () => node84,
22
+ node: () => node76,
23
23
  testLayer: () => testLayer4
24
24
  });
25
25
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -50,14 +50,14 @@ var hasNativeBinding2 = () => !!watcher();
50
50
  class Native2 extends Context.Service()("@opencode/Watcher/Native") {
51
51
  }
52
52
 
53
- class Service82 extends Context.Service()("@opencode/Watcher") {
53
+ class Service75 extends Context.Service()("@opencode/Watcher") {
54
54
  }
55
55
 
56
56
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
57
57
  }
58
- var layer28 = (options) => Layer.effect(Service82, Effect.gen(function* () {
58
+ var layer26 = (options) => Layer.effect(Service75, Effect.gen(function* () {
59
59
  if (options?.enabled === false) {
60
- return Service82.of({ subscribe: () => Effect.succeed(Stream.empty) });
60
+ return Service75.of({ subscribe: () => Effect.succeed(Stream.empty) });
61
61
  }
62
62
  const native = yield* Native2;
63
63
  const watchers = yield* RcMap.make({
@@ -98,7 +98,7 @@ var layer28 = (options) => Layer.effect(Service82, Effect.gen(function* () {
98
98
  return Stream.fromSubscription(subscription);
99
99
  }));
100
100
  });
101
- return Service82.of({ subscribe });
101
+ return Service75.of({ subscribe });
102
102
  }));
103
103
  var testLayer4 = Layer.effectContext(Effect.gen(function* () {
104
104
  const subscriptions = [];
@@ -122,9 +122,9 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
122
122
  };
123
123
  })
124
124
  });
125
- const context = yield* Layer.build(layer28().pipe(Layer.provide(Layer.succeed(Native2, native))));
125
+ const context = yield* Layer.build(layer26().pipe(Layer.provide(Layer.succeed(Native2, native))));
126
126
  const test = Test3.of({
127
- subscribe: Context.get(context, Service82).subscribe,
127
+ subscribe: Context.get(context, Service75).subscribe,
128
128
  emit: (update) => Effect.sync(() => {
129
129
  const target = path.resolve(update.path);
130
130
  active.forEach((matches, publish) => {
@@ -134,7 +134,7 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
134
134
  }),
135
135
  subscriptions: () => Effect.sync(() => [...subscriptions])
136
136
  });
137
- return Context.empty().pipe(Context.add(Service82, test), Context.add(Test3, test));
137
+ return Context.empty().pipe(Context.add(Service75, test), Context.add(Test3, test));
138
138
  }));
139
139
  var nativeLayer2 = Layer.succeed(Native2, Native2.of({
140
140
  subscribe: (input) => {
@@ -159,10 +159,10 @@ var nativeLayer2 = Layer.succeed(Native2, Native2.of({
159
159
  }
160
160
  }));
161
161
  var nativeNode = makeGlobalNode({ service: Native2, layer: nativeLayer2, deps: [] });
162
- function configured11(options) {
163
- return makeGlobalNode({ service: Service82, layer: layer28(options), deps: [nativeNode] });
162
+ function configured9(options) {
163
+ return makeGlobalNode({ service: Service75, layer: layer26(options), deps: [nativeNode] });
164
164
  }
165
- var node84 = configured11();
165
+ var node76 = configured9();
166
166
  function subscribeDirectory(native, backend, directory, ignore, publish) {
167
167
  if (!native || !backend) {
168
168
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -182,4 +182,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
182
182
  }).pipe(Effect.as(undefined))));
183
183
  }
184
184
 
185
- export { hasNativeBinding2, Native2, Service82, Test3, layer28, testLayer4, nativeLayer2, configured11, node84, exports_watcher };
185
+ export { hasNativeBinding2, Native2, Service75, Test3, layer26, testLayer4, nativeLayer2, configured9, node76, exports_watcher };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-retry-svcy3p9a.js";
3
+ } from "./flag-svcy3p9a.js";
4
4
  import {
5
5
  DEFAULT_SEARCH_TIMEOUT_MS2
6
- } from "./model-retry-9zce04t0.js";
6
+ } from "./flag-pmgs19gv.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./flag-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/search.ts
12
12
  var exports_search = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID18,
3
- Service87,
4
- node89
5
- } from "./model-retry-9d7e85zn.js";
2
+ ID16,
3
+ Service84,
4
+ node86
5
+ } from "./flag-f0cr0yvp.js";
6
6
  import {
7
- ID17,
7
+ ID15,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service86,
19
- node88
20
- } from "./model-retry-y7qawec5.js";
18
+ Service83,
19
+ node85
20
+ } from "./flag-wgntp26c.js";
21
21
  import {
22
- Service73,
23
- node75
24
- } from "./model-retry-6rm3fwry.js";
22
+ Service79,
23
+ node80
24
+ } from "./flag-gh58psrt.js";
25
25
  import {
26
- ID16,
26
+ ID13,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service84,
30
- node86,
29
+ Service80,
30
+ node81,
31
31
  supportsText2
32
- } from "./model-retry-jv1c2mep.js";
32
+ } from "./flag-t2w8e7sf.js";
33
33
  import {
34
34
  __export
35
- } from "./model-retry-9rqn6x4v.js";
35
+ } from "./flag-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service72,
44
+ Service: () => Service78,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer24,
52
- node: () => node74,
51
+ layer: () => layer28,
52
+ node: () => node79,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
@@ -66,8 +66,8 @@ import { Auth, mergeTransport } from "@opencode/ai/route";
66
66
  import { Context, Effect, Layer, Schema, Struct } from "effect";
67
67
  import { Npm } from "@opencode/util/npm";
68
68
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
69
- providerID: ID17,
70
- modelID: ID16,
69
+ providerID: ID15,
70
+ modelID: ID13,
71
71
  variant: VariantID2
72
72
  }) {
73
73
  get message() {
@@ -76,8 +76,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  }
77
77
 
78
78
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
79
- providerID: ID17,
80
- modelID: ID16,
79
+ providerID: ID15,
80
+ modelID: ID13,
81
81
  package: Schema.String
82
82
  }) {
83
83
  get message() {
@@ -87,8 +87,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
88
88
 
89
89
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
90
- providerID: ID17,
91
- modelID: ID16,
90
+ providerID: ID15,
91
+ modelID: ID13,
92
92
  package: Schema.String,
93
93
  detail: Schema.String
94
94
  }) {
@@ -98,8 +98,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
98
98
  }
99
99
 
100
100
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
101
- providerID: ID17,
102
- modelID: ID16,
101
+ providerID: ID15,
102
+ modelID: ID13,
103
103
  package: Schema.String,
104
104
  phase: InitializationPhase2,
105
105
  detail: Schema.String
@@ -110,8 +110,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
110
110
  }
111
111
 
112
112
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
113
- providerID: ID17,
114
- modelID: ID16,
113
+ providerID: ID15,
114
+ modelID: ID13,
115
115
  variables: Schema.Array(Schema.String)
116
116
  }) {
117
117
  get message() {
@@ -120,8 +120,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
120
120
  }
121
121
 
122
122
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
123
- providerID: ID17,
124
- modelID: ID16,
123
+ providerID: ID15,
124
+ modelID: ID13,
125
125
  route: Schema.String
126
126
  }) {
127
127
  get message() {
@@ -129,7 +129,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
129
129
  }
130
130
  }
131
131
 
132
- class Service72 extends Context.Service()("@opencode/ModelResolver") {
132
+ class Service78 extends Context.Service()("@opencode/ModelResolver") {
133
133
  }
134
134
  var withVariant2 = (model, variantID) => {
135
135
  const id = variantID === "default" ? undefined : variantID;
@@ -273,7 +273,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
273
273
  return tokenSettings(specifier, credential.access);
274
274
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
275
275
  return { auth: "sigv4" };
276
- if (model.providerID === ID17.azure)
276
+ if (model.providerID === ID15.azure)
277
277
  return tokenSettings(specifier, "azure-cli");
278
278
  return {};
279
279
  };
@@ -308,19 +308,19 @@ var causeMessage = (cause) => {
308
308
  };
309
309
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
310
310
  var hasPackage2 = (model) => Boolean(model.package);
311
- var layer24 = Layer.effect(Service72, Effect.gen(function* () {
312
- const providers = yield* Service86;
313
- const models = yield* Service84;
314
- const integrations = yield* Service87;
311
+ var layer28 = Layer.effect(Service78, Effect.gen(function* () {
312
+ const providers = yield* Service83;
313
+ const models = yield* Service80;
314
+ const integrations = yield* Service84;
315
315
  const npm = yield* Npm.Service;
316
- const aisdk = yield* Service73;
316
+ const aisdk = yield* Service79;
317
317
  const dependencies = {
318
318
  loadPackage: (specifier) => loadPackage2(specifier, npm),
319
319
  loadAISDK: (model) => aisdk.model(model)
320
320
  };
321
321
  const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
322
322
  const provider = yield* providers.get(selected.providerID);
323
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID18.make(selected.providerID));
323
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
324
324
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
325
325
  const selectedVariant = yield* withVariant2(selected, variant);
326
326
  const runtimeInfo = {
@@ -356,7 +356,7 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
356
356
  const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
357
357
  return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
358
358
  });
359
- return Service72.of({
359
+ return Service78.of({
360
360
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
361
361
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
362
362
  if (!selected)
@@ -415,10 +415,10 @@ function usesAPIKeyAuth(packageName) {
415
415
  return false;
416
416
  return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
417
417
  }
418
- var node74 = makeLocationNode({
419
- service: Service72,
420
- layer: layer24,
421
- deps: [node88, node86, node89, Npm.node, node75]
418
+ var node79 = makeLocationNode({
419
+ service: Service78,
420
+ layer: layer28,
421
+ deps: [node85, node81, node86, Npm.node, node80]
422
422
  });
423
423
 
424
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service72, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node74, exports_model_resolver };
424
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service78, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer28, node79, exports_model_resolver };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./flag-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions7 = {};
@@ -20,8 +20,8 @@ __export(exports_instructions7, {
20
20
  hash: () => hash2,
21
21
  join: () => join2,
22
22
  listUpdate: () => listUpdate2,
23
- make: () => make32,
24
- read: () => read5,
23
+ make: () => make30,
24
+ read: () => read4,
25
25
  removed: () => removed2,
26
26
  renderInitial: () => renderInitial2,
27
27
  renderUpdate: () => renderUpdate2,
@@ -52,7 +52,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
52
52
  }
53
53
  }
54
54
  var empty3 = [];
55
- function make32(source) {
55
+ function make30(source) {
56
56
  const decode = Schema.decodeUnknownOption(source.codec);
57
57
  const encode = Schema.encodeSync(source.codec);
58
58
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -98,7 +98,7 @@ function combine2(values) {
98
98
  }
99
99
  return sources;
100
100
  }
101
- function read5(value) {
101
+ function read4(value) {
102
102
  return Effect.forEach(value, (source) => source.read.pipe(Effect.map((observed) => ({ key: source.key, value: observed }))), { concurrency: "unbounded" });
103
103
  }
104
104
  function diff2(observed, previous) {
@@ -213,4 +213,4 @@ function requireText(key, kind, text) {
213
213
  return text;
214
214
  }
215
215
 
216
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make32, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
216
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make30, combine2, read4, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
@@ -1,74 +1,74 @@
1
1
  import {
2
- Service92,
3
- node94
4
- } from "./model-retry-9g1enhg0.js";
2
+ Service91,
3
+ node93
4
+ } from "./flag-ze4fkgdz.js";
5
5
  import {
6
- Service85,
7
- node87
8
- } from "./model-retry-2btjqdw9.js";
6
+ Service93,
7
+ node95
8
+ } from "./flag-csztv6mn.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./model-retry-40y6dtc2.js";
12
+ } from "./flag-40y6dtc2.js";
13
13
  import {
14
14
  __export
15
- } from "./model-retry-9rqn6x4v.js";
15
+ } from "./flag-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
19
19
  __export(exports_websearch3, {
20
- DisabledError: () => DisabledError4,
21
- Event: () => Event10,
22
- ID: () => ID10,
23
- Input: () => Input16,
24
- Provider: () => Provider3,
20
+ DisabledError: () => DisabledError3,
21
+ Event: () => Event6,
22
+ ID: () => ID7,
23
+ Input: () => Input15,
24
+ Provider: () => Provider2,
25
25
  ProviderKey: () => ProviderKey2,
26
- ProviderNotFoundError: () => ProviderNotFoundError3,
26
+ ProviderNotFoundError: () => ProviderNotFoundError2,
27
27
  ProviderRequiredError: () => ProviderRequiredError2,
28
28
  RequestError: () => RequestError2,
29
29
  Response: () => Response2,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service56,
32
+ Service: () => Service27,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node58
34
+ node: () => node30
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
38
38
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
39
39
  import { HttpClientError } from "effect/http";
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
- import { Event as Event10 } from "@opencode/schema/websearch";
42
- var ID10 = WebSearch.ID;
43
- var Provider3 = WebSearch.Provider;
44
- var Input16 = WebSearch.Input;
41
+ import { Event as Event6 } from "@opencode/schema/websearch";
42
+ var ID7 = WebSearch.ID;
43
+ var Provider2 = WebSearch.Provider;
44
+ var Input15 = WebSearch.Input;
45
45
  var Result2 = WebSearch.Result;
46
46
  var Response2 = WebSearch.Response;
47
47
  var ProviderKey2 = "websearch:provider";
48
- var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
48
+ var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
49
49
 
50
50
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
51
51
  }
52
52
 
53
- class ProviderNotFoundError3 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
- providerID: ID10
53
+ class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
+ providerID: ID7
55
55
  }) {
56
56
  }
57
57
 
58
- class DisabledError4 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
+ class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
59
59
  }
60
60
 
61
61
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
62
- providerID: ID10,
62
+ providerID: ID7,
63
63
  cause: Schema.Defect()
64
64
  }) {
65
65
  }
66
66
 
67
- class Service56 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service27 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service56, Effect.gen(function* () {
70
- const bus = yield* Service92;
71
- const kv = yield* Service85;
69
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
70
+ const bus = yield* Service91;
71
+ const kv = yield* Service93;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
73
73
  const cooldowns = new Map;
74
74
  const preferred = new Map;
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
95
95
  });
96
96
  const requireProvider = (providers, providerID) => {
97
97
  const provider = providers.get(providerID);
98
- return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError3({ providerID }));
98
+ return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
99
99
  };
100
100
  const selection = Effect.fn("WebSearch.selection")(function* () {
101
101
  const data = state.get();
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
124
124
  };
125
125
  const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
126
126
  if (choice === false)
127
- return yield* new DisabledError4;
127
+ return yield* new DisabledError3;
128
128
  if (choice === "random") {
129
129
  const active = preferred.get(undefined)?.provider;
130
130
  return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
131
131
  }
132
132
  return choice ? state.get().providers.get(choice) : undefined;
133
133
  });
134
- return Service56.of({
134
+ return Service27.of({
135
135
  transform: state.transform,
136
136
  reload: state.reload,
137
137
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
188
188
  const date = Date.parse(value);
189
189
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
190
190
  }
191
- var node58 = makeLocationNode({
192
- service: Service56,
191
+ var node30 = makeLocationNode({
192
+ service: Service27,
193
193
  layer,
194
- deps: [node94, node87]
194
+ deps: [node93, node95]
195
195
  });
196
196
 
197
- export { ID10, Provider3, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError3, DisabledError4, RequestError2, Service56, node58, exports_websearch3, Event10 };
197
+ export { ID7, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service27, node30, exports_websearch3, Event6 };