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

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 (898) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +92 -92
  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 +241 -241
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/model-retry-00ve6mdn.js +18 -0
  9. package/dist/chunks/{bus-94e33dpz.js → model-retry-04qc8z7j.js} +3 -3
  10. package/dist/chunks/{bus-h51tqxww.js → model-retry-073yw6wc.js} +374 -374
  11. package/dist/chunks/{bus-p3wvg938.js → model-retry-0ab3knej.js} +12 -12
  12. package/dist/chunks/{bus-nyc4jwvb.js → model-retry-0c7bpw4e.js} +4 -4
  13. package/dist/chunks/{bus-sqjzf8x2.js → model-retry-0j7gp832.js} +4 -4
  14. package/dist/chunks/{bus-n8zbz3r6.js → model-retry-0jzm810r.js} +35 -35
  15. package/dist/chunks/{bus-151fqda0.js → model-retry-0m9mnr46.js} +28 -28
  16. package/dist/chunks/{bus-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{bus-4zcepfyr.js → model-retry-0mgprbja.js} +4 -4
  18. package/dist/chunks/{bus-0em17d49.js → model-retry-0wqvtycd.js} +6 -6
  19. package/dist/chunks/{bus-d95zeqcs.js → model-retry-0x3qq8ad.js} +34 -34
  20. package/dist/chunks/{bus-d61yjsrc.js → model-retry-0z5xst4r.js} +24 -24
  21. package/dist/chunks/{bus-56p6knmh.js → model-retry-10bttd1c.js} +18 -18
  22. package/dist/chunks/{bus-cdbp2khs.js → model-retry-12yrhvkt.js} +11 -11
  23. package/dist/chunks/{bus-nd6558ke.js → model-retry-18fchrwq.js} +30 -30
  24. package/dist/chunks/{bus-6wq2d2af.js → model-retry-19avat12.js} +30 -30
  25. package/dist/chunks/{bus-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
  26. package/dist/chunks/{bus-198m81bp.js → model-retry-1cect6gc.js} +29 -29
  27. package/dist/chunks/{bus-ng6a0rc6.js → model-retry-1gpv500n.js} +26 -26
  28. package/dist/chunks/{bus-7j9nqbx0.js → model-retry-1j97zecb.js} +32 -32
  29. package/dist/chunks/{bus-r32r7z8r.js → model-retry-1tz2kwyc.js} +6 -6
  30. package/dist/chunks/{bus-4ccyxzpx.js → model-retry-1wtrt63p.js} +15 -15
  31. package/dist/chunks/{bus-gvvef5k8.js → model-retry-1wyx1g33.js} +12 -12
  32. package/dist/chunks/{bus-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  33. package/dist/chunks/{bus-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
  34. package/dist/chunks/{bus-x666adrx.js → model-retry-224tp79f.js} +10 -10
  35. package/dist/chunks/{bus-rj7j5fvs.js → model-retry-229tvxdn.js} +4 -4
  36. package/dist/chunks/{bus-r7xar5ns.js → model-retry-233argac.js} +8 -8
  37. package/dist/chunks/{bus-tb2mrvc9.js → model-retry-26wfx3k0.js} +4 -4
  38. package/dist/chunks/{bus-27w5k9zf.js → model-retry-27w5k9zf.js} +2 -2
  39. package/dist/chunks/{bus-kzdam8c6.js → model-retry-2bswbpgz.js} +7 -7
  40. package/dist/chunks/{bus-k5yce6v3.js → model-retry-2btjqdw9.js} +13 -13
  41. package/dist/chunks/{bus-50pah8qy.js → model-retry-2cjfgabw.js} +23 -23
  42. package/dist/chunks/{bus-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
  43. package/dist/chunks/{bus-2p60zmnr.js → model-retry-2p60zmnr.js} +2 -2
  44. package/dist/chunks/{bus-ccsg3nm8.js → model-retry-2q020x4j.js} +18 -18
  45. package/dist/chunks/{bus-xwbhve7h.js → model-retry-2xavcrc6.js} +7 -7
  46. package/dist/chunks/{bus-m0yma98g.js → model-retry-2y341b5t.js} +5 -5
  47. package/dist/chunks/{bus-wgvnftve.js → model-retry-3c7qpzd7.js} +8 -8
  48. package/dist/chunks/{bus-3cbjf1nt.js → model-retry-3cbjf1nt.js} +2 -2
  49. package/dist/chunks/{bus-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{bus-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  51. package/dist/chunks/{bus-36ysmkbx.js → model-retry-3t0ff0x5.js} +43 -43
  52. package/dist/chunks/{bus-cftr61h9.js → model-retry-3w00zpq8.js} +86 -86
  53. package/dist/chunks/{bus-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
  54. package/dist/chunks/model-retry-41hkj30d.js +273 -0
  55. package/dist/chunks/{bus-44pmzq9c.js → model-retry-44pmzq9c.js} +2 -2
  56. package/dist/chunks/{bus-rkwzs9pn.js → model-retry-461vpj4m.js} +22 -22
  57. package/dist/chunks/{bus-801676je.js → model-retry-49astqp4.js} +167 -167
  58. package/dist/chunks/{bus-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
  59. package/dist/chunks/{bus-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
  60. package/dist/chunks/{bus-t8jzx9s4.js → model-retry-4k2c81k4.js} +8 -8
  61. package/dist/chunks/{bus-5qtzhdys.js → model-retry-4m67jbdm.js} +14 -14
  62. package/dist/chunks/{bus-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
  63. package/dist/chunks/{bus-y645zrem.js → model-retry-4qbyyyq5.js} +11 -11
  64. package/dist/chunks/{bus-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  65. package/dist/chunks/{bus-dvh91sh2.js → model-retry-4wsjjvd5.js} +9 -9
  66. package/dist/chunks/{bus-0015kxwm.js → model-retry-4z989wmk.js} +3 -3
  67. package/dist/chunks/{bus-q5880n4k.js → model-retry-58ng2s68.js} +19 -19
  68. package/dist/chunks/{bus-2mkcm49b.js → model-retry-590xyfdn.js} +43 -43
  69. package/dist/chunks/{bus-8x6444sg.js → model-retry-5azf7efg.js} +18 -18
  70. package/dist/chunks/{bus-32gk5by6.js → model-retry-5bbgghc1.js} +16 -16
  71. package/dist/chunks/{bus-k8thje4j.js → model-retry-5cr30h4q.js} +8 -8
  72. package/dist/chunks/{bus-hky59wx7.js → model-retry-5jjvx7xx.js} +18 -18
  73. package/dist/chunks/{bus-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{bus-c8cdzs4e.js → model-retry-62064eay.js} +40 -40
  75. package/dist/chunks/{bus-vzwcg5h4.js → model-retry-622r6tfd.js} +3 -3
  76. package/dist/chunks/{bus-581b71gv.js → model-retry-64997449.js} +11 -11
  77. package/dist/chunks/{bus-1wh2zfrk.js → model-retry-6ckxc65a.js} +6 -6
  78. package/dist/chunks/{bus-f1estfch.js → model-retry-6cspqxjw.js} +17 -17
  79. package/dist/chunks/{bus-gvjzqshq.js → model-retry-6cyzbmrv.js} +46 -46
  80. package/dist/chunks/{bus-d45mbdg7.js → model-retry-6rm3fwry.js} +12 -12
  81. package/dist/chunks/{bus-hdafr18b.js → model-retry-6z91hwt5.js} +6 -6
  82. package/dist/chunks/{bus-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
  83. package/dist/chunks/{bus-2mbrdm9z.js → model-retry-78wx5tja.js} +35 -35
  84. package/dist/chunks/{bus-q6qcva9p.js → model-retry-7ad9y1ne.js} +22 -22
  85. package/dist/chunks/{bus-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  86. package/dist/chunks/model-retry-7cabzjh9.js +201 -0
  87. package/dist/chunks/{bus-j7vr9qw7.js → model-retry-7jevyppt.js} +3 -3
  88. package/dist/chunks/{bus-k8yah48n.js → model-retry-7knzxrdv.js} +8 -8
  89. package/dist/chunks/{bus-hj0xet7m.js → model-retry-7nb8tm12.js} +5 -5
  90. package/dist/chunks/{bus-z18wgake.js → model-retry-7tgwceks.js} +5 -5
  91. package/dist/chunks/{bus-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  92. package/dist/chunks/{bus-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
  93. package/dist/chunks/{bus-tse6wty1.js → model-retry-7x320ssa.js} +8 -8
  94. package/dist/chunks/{bus-ey7q2a1x.js → model-retry-7yv514tw.js} +7 -7
  95. package/dist/chunks/{bus-80pdk984.js → model-retry-80pdk984.js} +1 -1
  96. package/dist/chunks/{bus-x10rxyj2.js → model-retry-82e4q3jm.js} +1 -1
  97. package/dist/chunks/{bus-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
  98. package/dist/chunks/{bus-25h84942.js → model-retry-8b3vzgkx.js} +4 -4
  99. package/dist/chunks/{bus-ebf8vqhv.js → model-retry-8bwrafk7.js} +41 -41
  100. package/dist/chunks/{bus-rh7s0vh6.js → model-retry-8d82pbhg.js} +19 -19
  101. package/dist/chunks/{bus-dcxs0b6s.js → model-retry-8f8gk5ce.js} +17 -17
  102. package/dist/chunks/{bus-av2rnfm3.js → model-retry-8fdmasbt.js} +34 -34
  103. package/dist/chunks/{bus-0n2a1qk2.js → model-retry-8h105pm2.js} +17 -17
  104. package/dist/chunks/{bus-mjj4mtkf.js → model-retry-8jzb4pp6.js} +25 -25
  105. package/dist/chunks/{bus-t9b3vnwe.js → model-retry-8nqscmn3.js} +8 -8
  106. package/dist/chunks/{bus-yt92m3sf.js → model-retry-8qdr79jy.js} +11 -11
  107. package/dist/chunks/{bus-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  108. package/dist/chunks/{bus-ep4f328x.js → model-retry-8yz9yxv8.js} +36 -36
  109. package/dist/chunks/{bus-8z6m94af.js → model-retry-8z6m94af.js} +3 -3
  110. package/dist/chunks/{bus-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
  111. package/dist/chunks/{bus-963hk181.js → model-retry-963hk181.js} +2 -2
  112. package/dist/chunks/{bus-j98by1g6.js → model-retry-9a186w2s.js} +31 -31
  113. package/dist/chunks/{bus-w9bwac65.js → model-retry-9amjngmr.js} +27 -27
  114. package/dist/chunks/{bus-p6camsqx.js → model-retry-9b5pg85y.js} +12 -12
  115. package/dist/chunks/{bus-h5rm7hp5.js → model-retry-9d7e85zn.js} +18 -18
  116. package/dist/chunks/{bus-kz3t0brc.js → model-retry-9eeh18t4.js} +8 -8
  117. package/dist/chunks/{bus-wc7kbwdp.js → model-retry-9g1enhg0.js} +8 -8
  118. package/dist/chunks/{bus-n2qpmnf7.js → model-retry-9wpdsx26.js} +21 -21
  119. package/dist/chunks/{bus-ywkrtdyp.js → model-retry-9x6a782r.js} +4 -4
  120. package/dist/chunks/{bus-5dysszqg.js → model-retry-9xatmekb.js} +25 -25
  121. package/dist/chunks/{bus-0hm4tbfh.js → model-retry-9zce04t0.js} +18 -18
  122. package/dist/chunks/{bus-9sk33afj.js → model-retry-a0f8fvmt.js} +2 -2
  123. package/dist/chunks/{bus-4x5z0db1.js → model-retry-a3ma3nbh.js} +5 -5
  124. package/dist/chunks/{bus-25hf0acc.js → model-retry-a5zgnkhc.js} +28 -28
  125. package/dist/chunks/{bus-801bk1qd.js → model-retry-a8s6gz3j.js} +41 -41
  126. package/dist/chunks/{bus-6y2b864j.js → model-retry-agje4kmn.js} +4 -4
  127. package/dist/chunks/{bus-aj7mw0zk.js → model-retry-aj7mw0zk.js} +2 -2
  128. package/dist/chunks/{bus-6nh09x13.js → model-retry-ak2xzpqz.js} +17 -17
  129. package/dist/chunks/{bus-z080rjh6.js → model-retry-anvcme1c.js} +4 -4
  130. package/dist/chunks/{bus-zkbhzvnx.js → model-retry-aqczazaa.js} +4 -4
  131. package/dist/chunks/{bus-qkba2c8n.js → model-retry-avtca5ff.js} +18 -18
  132. package/dist/chunks/{bus-r2r9xwmr.js → model-retry-ayjza53k.js} +23 -23
  133. package/dist/chunks/{bus-db70zt1b.js → model-retry-az51r80s.js} +19 -19
  134. package/dist/chunks/{bus-b26ddj6h.js → model-retry-b26ddj6h.js} +4 -4
  135. package/dist/chunks/{bus-8brp5tjd.js → model-retry-b30tdb24.js} +2 -2
  136. package/dist/chunks/{bus-m2nt66af.js → model-retry-b49a18dh.js} +17 -17
  137. package/dist/chunks/{bus-yd8wpznk.js → model-retry-b7nkz392.js} +1 -1
  138. package/dist/chunks/{bus-bb3mmwvh.js → model-retry-bb3mmwvh.js} +2 -2
  139. package/dist/chunks/{bus-dn0a84zb.js → model-retry-bbagp5t9.js} +29 -29
  140. package/dist/chunks/{bus-yrffr8qq.js → model-retry-bcdsa9nj.js} +11 -11
  141. package/dist/chunks/{bus-0ectkb14.js → model-retry-bd8h3vex.js} +11 -11
  142. package/dist/chunks/{bus-s818qefp.js → model-retry-bh8z3mjv.js} +5 -5
  143. package/dist/chunks/{bus-ffw8jmjk.js → model-retry-bhpk62b9.js} +5 -5
  144. package/dist/chunks/{bus-zyaj2qhk.js → model-retry-bqnf2xa3.js} +11 -11
  145. package/dist/chunks/{bus-xd9cc171.js → model-retry-bstexjd6.js} +5 -5
  146. package/dist/chunks/{bus-d8razpqw.js → model-retry-bw0fa95q.js} +16 -16
  147. package/dist/chunks/{bus-xacpxd3g.js → model-retry-bwf07z9j.js} +21 -21
  148. package/dist/chunks/{bus-tncgfpd3.js → model-retry-bz3jd329.js} +13 -13
  149. package/dist/chunks/{bus-kxzeq1qr.js → model-retry-c036fsx9.js} +11 -11
  150. package/dist/chunks/{bus-f428d6bc.js → model-retry-c1njvmmr.js} +36 -36
  151. package/dist/chunks/{bus-nv9tsjma.js → model-retry-c4970w7t.js} +6 -6
  152. package/dist/chunks/{bus-p0tsr9h6.js → model-retry-c6x7d2ts.js} +4 -4
  153. package/dist/chunks/{bus-wt99tj4q.js → model-retry-c7cw818c.js} +5 -5
  154. package/dist/chunks/{bus-1ykz8atw.js → model-retry-cavny3st.js} +15 -15
  155. package/dist/chunks/{bus-bza6pfvq.js → model-retry-ce0nvsd2.js} +3 -3
  156. package/dist/chunks/{bus-9gxaxr59.js → model-retry-cgemq9va.js} +41 -41
  157. package/dist/chunks/{bus-b1dp4yt3.js → model-retry-che3sqdn.js} +78 -78
  158. package/dist/chunks/{bus-rrym2d7k.js → model-retry-cjqsf6bw.js} +9 -9
  159. package/dist/chunks/{bus-ez6t7bp1.js → model-retry-cnxvbybj.js} +24 -24
  160. package/dist/chunks/{bus-c2ks2kp5.js → model-retry-cq9ym2th.js} +4 -4
  161. package/dist/chunks/{bus-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
  162. package/dist/chunks/{bus-v3rt7ekk.js → model-retry-cxmgqsjv.js} +7 -7
  163. package/dist/chunks/{bus-3g4ta2mf.js → model-retry-d4cn1j0j.js} +20 -20
  164. package/dist/chunks/{bus-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  165. package/dist/chunks/{bus-wnbdv4gz.js → model-retry-daqw37vd.js} +35 -35
  166. package/dist/chunks/{bus-e2hn6m9v.js → model-retry-dbmdnf83.js} +13 -13
  167. package/dist/chunks/{bus-zd2c73rd.js → model-retry-dc81jdms.js} +12 -12
  168. package/dist/chunks/{bus-06176jfj.js → model-retry-dcd3jvzc.js} +9 -9
  169. package/dist/chunks/{bus-h53ewaq3.js → model-retry-dfbf8dz5.js} +13 -13
  170. package/dist/chunks/{bus-emgta0qf.js → model-retry-dh5k9yhz.js} +50 -50
  171. package/dist/chunks/{bus-dt77769w.js → model-retry-dt77769w.js} +1 -1
  172. package/dist/chunks/{bus-6xp52zax.js → model-retry-e05q9fj3.js} +23 -23
  173. package/dist/chunks/{bus-t3cgs4x0.js → model-retry-e1pw9yh5.js} +11 -11
  174. package/dist/chunks/{bus-1rdwhyj0.js → model-retry-ecysc0gb.js} +30 -30
  175. package/dist/chunks/{bus-rp82cnfd.js → model-retry-edm37t96.js} +6 -6
  176. package/dist/chunks/{bus-xtyctmh1.js → model-retry-ej3jbyd9.js} +15 -15
  177. package/dist/chunks/{bus-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
  178. package/dist/chunks/{bus-n8yxtff3.js → model-retry-f13bcax6.js} +23 -23
  179. package/dist/chunks/{bus-nkzb5f1v.js → model-retry-fc93665r.js} +8 -8
  180. package/dist/chunks/{bus-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
  181. package/dist/chunks/{bus-5h95z62t.js → model-retry-fj34de5z.js} +39 -39
  182. package/dist/chunks/{bus-kp3zbcyf.js → model-retry-fkqdcdp4.js} +18 -18
  183. package/dist/chunks/{bus-79essn6v.js → model-retry-fmbmyz0a.js} +15 -15
  184. package/dist/chunks/{bus-wr3re1en.js → model-retry-fznmdakp.js} +4 -4
  185. package/dist/chunks/{bus-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
  186. package/dist/chunks/{bus-s4pad48m.js → model-retry-gd8a3j2q.js} +3 -3
  187. package/dist/chunks/{bus-rnypq4p5.js → model-retry-ggrpzgdq.js} +31 -31
  188. package/dist/chunks/{bus-54t61653.js → model-retry-ghc68wmr.js} +10 -10
  189. package/dist/chunks/{bus-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
  190. package/dist/chunks/{bus-5t8he5w1.js → model-retry-gkjtf6r3.js} +5 -5
  191. package/dist/chunks/{bus-xsvz6nty.js → model-retry-gn9y5s18.js} +30 -30
  192. package/dist/chunks/{bus-cp4x1195.js → model-retry-gvg2rszq.js} +9 -9
  193. package/dist/chunks/{bus-f8b6mfmk.js → model-retry-gy98380h.js} +44 -44
  194. package/dist/chunks/{bus-6v88d4ef.js → model-retry-gzr3e3k6.js} +2 -2
  195. package/dist/chunks/{bus-jqnjqztd.js → model-retry-h0d0h288.js} +19 -19
  196. package/dist/chunks/{bus-8cg9c955.js → model-retry-h56sm60v.js} +11 -11
  197. package/dist/chunks/{bus-8es3pha2.js → model-retry-h9xvjfqn.js} +11 -11
  198. package/dist/chunks/{bus-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
  199. package/dist/chunks/{bus-s07mf38c.js → model-retry-hj9qde8t.js} +17 -17
  200. package/dist/chunks/{bus-ekb1srkm.js → model-retry-hk0m197d.js} +9 -9
  201. package/dist/chunks/model-retry-hnktkp4a.js +35 -0
  202. package/dist/chunks/{bus-16scm4ef.js → model-retry-hsxn8vdk.js} +5 -5
  203. package/dist/chunks/{bus-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
  204. package/dist/chunks/{bus-cqt8w9dp.js → model-retry-je02mesb.js} +19 -19
  205. package/dist/chunks/{bus-jkdcm5hg.js → model-retry-jkdcm5hg.js} +1 -1
  206. package/dist/chunks/{bus-xp0aamge.js → model-retry-jkxe4gm6.js} +3 -3
  207. package/dist/chunks/{bus-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
  208. package/dist/chunks/{bus-bra5p0kf.js → model-retry-jqydmcqv.js} +40 -40
  209. package/dist/chunks/{bus-zymv40sd.js → model-retry-jv1c2mep.js} +31 -31
  210. package/dist/chunks/{bus-y4n6pw34.js → model-retry-jy2czfqv.js} +4 -4
  211. package/dist/chunks/{bus-nr915jn7.js → model-retry-k46dd5bg.js} +4 -4
  212. package/dist/chunks/{bus-b6n3k85m.js → model-retry-k57jes72.js} +10 -10
  213. package/dist/chunks/{bus-rwkapwv8.js → model-retry-k6hvxyqk.js} +18 -18
  214. package/dist/chunks/{bus-nbxakk53.js → model-retry-kcmrw9d0.js} +28 -28
  215. package/dist/chunks/{bus-mfcfh2mw.js → model-retry-khsc2avm.js} +29 -29
  216. package/dist/chunks/{bus-h6x9tj8n.js → model-retry-kkme10mv.js} +5 -5
  217. package/dist/chunks/{bus-ttm4wxh5.js → model-retry-krd6ac7h.js} +9 -9
  218. package/dist/chunks/{bus-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
  219. package/dist/chunks/{bus-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
  220. package/dist/chunks/{bus-m1714858.js → model-retry-m1714858.js} +1 -1
  221. package/dist/chunks/{bus-ewjc12ba.js → model-retry-m6mdme7q.js} +18 -18
  222. package/dist/chunks/{bus-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  223. package/dist/chunks/{bus-3adw4bt5.js → model-retry-mjrcsjpa.js} +9 -9
  224. package/dist/chunks/{bus-j9h7e5k3.js → model-retry-mq0bmx9g.js} +20 -20
  225. package/dist/chunks/{bus-zcgyh6pc.js → model-retry-mr46kq96.js} +15 -15
  226. package/dist/chunks/{bus-1v2g13eq.js → model-retry-msd2a3qm.js} +4 -4
  227. package/dist/chunks/{bus-n320gsn2.js → model-retry-n320gsn2.js} +1 -1
  228. package/dist/chunks/{bus-9h2twn7g.js → model-retry-n42snndf.js} +11 -11
  229. package/dist/chunks/{bus-nprzpnkx.js → model-retry-n92nzxqg.js} +5 -5
  230. package/dist/chunks/{bus-d9htjgdm.js → model-retry-nbbn0k3v.js} +17 -17
  231. package/dist/chunks/{bus-1pa0bq3j.js → model-retry-ngcw1c4b.js} +3 -3
  232. package/dist/chunks/{bus-3sa3aw4f.js → model-retry-nh2stm5b.js} +12 -12
  233. package/dist/chunks/{bus-9hr42dse.js → model-retry-nm5vnkcb.js} +7 -7
  234. package/dist/chunks/{bus-nx4vzyjd.js → model-retry-nx4vzyjd.js} +2 -2
  235. package/dist/chunks/{bus-rd033cwh.js → model-retry-p664yqdp.js} +37 -37
  236. package/dist/chunks/{bus-p76me67c.js → model-retry-p76me67c.js} +1 -1
  237. package/dist/chunks/{bus-9dmyw2j4.js → model-retry-p8cqk0fa.js} +10 -10
  238. package/dist/chunks/{bus-zk5ckyvg.js → model-retry-pc99nv90.js} +11 -11
  239. package/dist/chunks/{bus-s8zkkj71.js → model-retry-pdaj8qbc.js} +9 -9
  240. package/dist/chunks/{bus-k48z3nds.js → model-retry-pebyzz0n.js} +12 -12
  241. package/dist/chunks/{bus-pknna89w.js → model-retry-pknna89w.js} +1 -1
  242. package/dist/chunks/{bus-73zbh47y.js → model-retry-ppjw42km.js} +18 -18
  243. package/dist/chunks/{bus-q42tzrxa.js → model-retry-q42tzrxa.js} +1 -1
  244. package/dist/chunks/{bus-rtyb78q8.js → model-retry-q4fknq7x.js} +24 -24
  245. package/dist/chunks/{bus-1vtvmq53.js → model-retry-q84jkp8z.js} +17 -17
  246. package/dist/chunks/{bus-556k5691.js → model-retry-qamgg21g.js} +18 -18
  247. package/dist/chunks/{bus-xd081837.js → model-retry-qnad5zz9.js} +26 -26
  248. package/dist/chunks/{bus-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
  249. package/dist/chunks/{bus-tdnhqmff.js → model-retry-qtf35215.js} +3 -3
  250. package/dist/chunks/{bus-9etdqcxj.js → model-retry-qy10zj0h.js} +18 -18
  251. package/dist/chunks/{bus-z5geynz5.js → model-retry-qyfpzaft.js} +45 -45
  252. package/dist/chunks/{bus-8v1093m8.js → model-retry-qzts29w1.js} +14 -14
  253. package/dist/chunks/{bus-40za9wsf.js → model-retry-r41sfy63.js} +6 -6
  254. package/dist/chunks/{bus-vre17ymf.js → model-retry-r45nfa48.js} +9 -9
  255. package/dist/chunks/{bus-vdrdgm3z.js → model-retry-r58y11b8.js} +6 -6
  256. package/dist/chunks/{bus-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  257. package/dist/chunks/{bus-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
  258. package/dist/chunks/{bus-dshtyjtw.js → model-retry-rgpfeh79.js} +15 -15
  259. package/dist/chunks/{bus-ts77hb5k.js → model-retry-rhqr3vhx.js} +17 -17
  260. package/dist/chunks/{bus-eca0ka8c.js → model-retry-rj0s2vsp.js} +7 -7
  261. package/dist/chunks/{bus-8aatcdpk.js → model-retry-rj3e5mt0.js} +4 -4
  262. package/dist/chunks/{bus-f0yx1d0v.js → model-retry-rpchbzyn.js} +13 -13
  263. package/dist/chunks/{bus-6ma32zzk.js → model-retry-rscs01kg.js} +2 -2
  264. package/dist/chunks/{bus-xksw6ev0.js → model-retry-rt5qjrvj.js} +4 -4
  265. package/dist/chunks/{bus-npmkbx31.js → model-retry-rz6d6my6.js} +7 -7
  266. package/dist/chunks/{bus-5whx36p1.js → model-retry-s47rahr7.js} +4 -4
  267. package/dist/chunks/{bus-8vfsrj74.js → model-retry-s97gw63z.js} +23 -23
  268. package/dist/chunks/{bus-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
  269. package/dist/chunks/{bus-658w8b62.js → model-retry-se84e5kf.js} +28 -28
  270. package/dist/chunks/{bus-928yv3s6.js → model-retry-see60j9q.js} +11 -11
  271. package/dist/chunks/{bus-xtvxmv3z.js → model-retry-shqxbeh8.js} +8 -8
  272. package/dist/chunks/{bus-63ctbp5a.js → model-retry-shsabhn6.js} +10 -10
  273. package/dist/chunks/{bus-jxprk461.js → model-retry-sq79gphe.js} +25 -25
  274. package/dist/chunks/{bus-v14nhabx.js → model-retry-st73djt4.js} +6 -6
  275. package/dist/chunks/{bus-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
  276. package/dist/chunks/{bus-t6f09pg1.js → model-retry-sw24ze7h.js} +4 -4
  277. package/dist/chunks/{bus-dzymtfjj.js → model-retry-sw9vjmch.js} +25 -25
  278. package/dist/chunks/{bus-1n53kyqe.js → model-retry-sz25a87n.js} +16 -16
  279. package/dist/chunks/{bus-9rqfe4ad.js → model-retry-t48jrnqq.js} +3 -3
  280. package/dist/chunks/{bus-p94p4v4n.js → model-retry-t62dywgn.js} +4 -4
  281. package/dist/chunks/{bus-bwtkx0y7.js → model-retry-t6nqp9vg.js} +9 -9
  282. package/dist/chunks/{bus-e9rgj90c.js → model-retry-t8npn5et.js} +5 -5
  283. package/dist/chunks/{bus-16wq0j6y.js → model-retry-ta92nb8a.js} +47 -47
  284. package/dist/chunks/{bus-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
  285. package/dist/chunks/{bus-72db5z1x.js → model-retry-tc3psh6n.js} +8 -8
  286. package/dist/chunks/{bus-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  287. package/dist/chunks/{bus-hy8c1z76.js → model-retry-tg1vr1qt.js} +8 -8
  288. package/dist/chunks/{bus-gxs71cxp.js → model-retry-tg7s7b5t.js} +4 -4
  289. package/dist/chunks/{bus-vfm7pq2k.js → model-retry-th79ewyv.js} +10 -10
  290. package/dist/chunks/{bus-2vj8sj7w.js → model-retry-tmr9yjpj.js} +9 -9
  291. package/dist/chunks/{bus-tr8x705m.js → model-retry-tr8x705m.js} +1 -1
  292. package/dist/chunks/{bus-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
  293. package/dist/chunks/{bus-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
  294. package/dist/chunks/{bus-qe8jh99s.js → model-retry-v1wmg1k9.js} +19 -19
  295. package/dist/chunks/{bus-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  296. package/dist/chunks/{bus-6cqkw5v2.js → model-retry-v2x06h94.js} +5 -5
  297. package/dist/chunks/{bus-fcgtcm52.js → model-retry-v40cwbah.js} +8 -8
  298. package/dist/chunks/{bus-5fk6rhyy.js → model-retry-v6xc68wk.js} +6 -6
  299. package/dist/chunks/{bus-m1h42yqa.js → model-retry-v8drvm06.js} +11 -11
  300. package/dist/chunks/{bus-4xyjnezy.js → model-retry-vgs3tmp3.js} +9 -9
  301. package/dist/chunks/{bus-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
  302. package/dist/chunks/{bus-yzd8fzv9.js → model-retry-vpgfvngc.js} +23 -23
  303. package/dist/chunks/{bus-6h8vcvjm.js → model-retry-vq0qa3sh.js} +9 -9
  304. package/dist/chunks/{bus-48rr5x9q.js → model-retry-vr8z95kg.js} +31 -31
  305. package/dist/chunks/{bus-9j8b0v77.js → model-retry-vw3yn5a4.js} +13 -13
  306. package/dist/chunks/{bus-dzxny3rz.js → model-retry-w0avypsn.js} +24 -15
  307. package/dist/chunks/{bus-9ax4h32b.js → model-retry-w2xbgb7q.js} +23 -23
  308. package/dist/chunks/{bus-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  309. package/dist/chunks/{bus-ggx84v7x.js → model-retry-w75qynz4.js} +6 -6
  310. package/dist/chunks/{bus-mmx1mfjr.js → model-retry-w79nt68w.js} +4 -4
  311. package/dist/chunks/{bus-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  312. package/dist/chunks/{bus-qsvk5dwx.js → model-retry-wcfpfg7y.js} +15 -15
  313. package/dist/chunks/{bus-wd87259q.js → model-retry-wd87259q.js} +1 -1
  314. package/dist/chunks/{bus-jg11hrrc.js → model-retry-wfdx5ztx.js} +4 -4
  315. package/dist/chunks/{bus-snyk3k0k.js → model-retry-wggzmsjz.js} +27 -27
  316. package/dist/chunks/{bus-3417wq9v.js → model-retry-wjnrxsxy.js} +16 -16
  317. package/dist/chunks/{bus-8c3892rt.js → model-retry-wk1wsz78.js} +7 -7
  318. package/dist/chunks/{bus-3bgd5sjx.js → model-retry-wpj3mq6t.js} +8 -8
  319. package/dist/chunks/{bus-q9qpc1pg.js → model-retry-wy8qrs1m.js} +5 -5
  320. package/dist/chunks/{bus-qrfb6w5q.js → model-retry-wytbxtva.js} +16 -16
  321. package/dist/chunks/{bus-6cfzbdsr.js → model-retry-x150ncgg.js} +2 -2
  322. package/dist/chunks/{bus-9jj0wnay.js → model-retry-x7dr9wtp.js} +18 -18
  323. package/dist/chunks/{bus-7h63c6pd.js → model-retry-x9ns6bvg.js} +24 -24
  324. package/dist/chunks/{bus-r17fbvme.js → model-retry-xacrkbdt.js} +4 -4
  325. package/dist/chunks/{bus-7j5p66f9.js → model-retry-xd8gvm55.js} +16 -16
  326. package/dist/chunks/{bus-j079p4r2.js → model-retry-xhdzxv2d.js} +16 -16
  327. package/dist/chunks/{bus-xjr6c8m4.js → model-retry-xjr6c8m4.js} +1 -1
  328. package/dist/chunks/{bus-7bqqe1yk.js → model-retry-xx2bks1j.js} +85 -85
  329. package/dist/chunks/{bus-k2eg62ex.js → model-retry-xya7ctxy.js} +19 -19
  330. package/dist/chunks/{bus-scmk72rv.js → model-retry-y3p3hzkr.js} +5 -5
  331. package/dist/chunks/{bus-00fdt2tm.js → model-retry-y7qawec5.js} +23 -23
  332. package/dist/chunks/{bus-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  333. package/dist/chunks/{bus-mf67fygn.js → model-retry-yc146ktt.js} +4 -4
  334. package/dist/chunks/{bus-74v5ckbq.js → model-retry-yf4f4ny8.js} +59 -59
  335. package/dist/chunks/{bus-aqwkm5ba.js → model-retry-yfm9gxzx.js} +10 -10
  336. package/dist/chunks/{bus-ecn0hng3.js → model-retry-yk4ram99.js} +3 -3
  337. package/dist/chunks/{bus-4fbn38qv.js → model-retry-ypybfkk0.js} +22 -22
  338. package/dist/chunks/model-retry-yqwbdse8.js +26 -0
  339. package/dist/chunks/{bus-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
  340. package/dist/chunks/{bus-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
  341. package/dist/chunks/{bus-d52ays1g.js → model-retry-yyv178x8.js} +4 -4
  342. package/dist/chunks/{bus-gb1hs61z.js → model-retry-z9r4pa4x.js} +29 -29
  343. package/dist/chunks/{bus-zpdbqgja.js → model-retry-zpdbqgja.js} +1 -1
  344. package/dist/chunks/{bus-qf1gd9f9.js → model-retry-zq70c3fj.js} +23 -23
  345. package/dist/chunks/{bus-eywx1qkn.js → model-retry-zrnr92js.js} +2 -2
  346. package/dist/chunks/{bus-z7df3a7e.js → model-retry-zvrv6acg.js} +6 -6
  347. package/dist/codemode/catalog.js +1 -1
  348. package/dist/codemode/execution.js +3 -3
  349. package/dist/codemode/fetch.js +148 -148
  350. package/dist/codemode/instructions.js +7 -7
  351. package/dist/codemode/tool.js +155 -155
  352. package/dist/command.js +94 -94
  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 +130 -130
  366. package/dist/config/plugin/location-watcher.js +130 -130
  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 +130 -130
  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 +154 -154
  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 +129 -129
  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 +88 -88
  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 +101 -101
  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 +107 -107
  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 +81 -81
  483. package/dist/file-access.js +160 -160
  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 +88 -88
  492. package/dist/filesystem/location-watcher-policy.js +6 -6
  493. package/dist/filesystem/location-watcher.js +252 -252
  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 +114 -114
  499. package/dist/flag.js +133 -133
  500. package/dist/form.js +85 -85
  501. package/dist/formatter/builtins.js +4 -4
  502. package/dist/formatter.js +100 -100
  503. package/dist/generate.js +118 -118
  504. package/dist/git.js +11 -11
  505. package/dist/github-copilot/models.js +112 -112
  506. package/dist/image/notice.js +3 -3
  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 +95 -95
  514. package/dist/instructions/builtins.js +100 -100
  515. package/dist/instructions/index.js +3 -3
  516. package/dist/integration/connection.js +1 -1
  517. package/dist/integration.js +92 -92
  518. package/dist/job/list.js +5 -5
  519. package/dist/job/recovery.js +2 -2
  520. package/dist/job/sql.js +2 -2
  521. package/dist/job.js +88 -88
  522. package/dist/kv/sql.js +2 -2
  523. package/dist/kv.js +84 -84
  524. package/dist/location-activity.js +179 -179
  525. package/dist/location-lifecycle.js +153 -153
  526. package/dist/location-service-map.js +99 -99
  527. package/dist/location-services.js +429 -429
  528. package/dist/location.js +94 -94
  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 +124 -124
  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 +115 -115
  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 +156 -156
  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 +101 -101
  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 +408 -408
  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 +127 -127
  565. package/dist/plugin/optimize.js +2 -2
  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 +148 -148
  582. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  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 +140 -140
  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 +140 -140
  621. package/dist/plugin/provider/openai-context-caps.js +106 -106
  622. package/dist/plugin/provider/openai.js +133 -133
  623. package/dist/plugin/provider/opencode-watches.js +8 -6
  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 +140 -140
  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 +81 -81
  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 +416 -416
  641. package/dist/plugin/tool-input-repair.js +4 -4
  642. package/dist/plugin/update.js +6 -6
  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 +254 -254
  656. package/dist/project/icon.js +5 -5
  657. package/dist/project/schema.js +2 -2
  658. package/dist/project/sql.js +4 -4
  659. package/dist/project.js +93 -93
  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 +109 -109
  664. package/dist/reference/instructions.js +101 -101
  665. package/dist/reference.js +103 -103
  666. package/dist/repository-cache.js +93 -93
  667. package/dist/repository.js +3 -3
  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 +264 -264
  674. package/dist/schema.js +1 -1
  675. package/dist/session/affinity.js +1 -1
  676. package/dist/session/background.js +1 -1
  677. package/dist/session/blob.js +132 -132
  678. package/dist/session/command.js +85 -85
  679. package/dist/session/compaction.js +173 -173
  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 +249 -249
  686. package/dist/session/execution.js +163 -163
  687. package/dist/session/generate.js +207 -207
  688. package/dist/session/history.js +139 -139
  689. package/dist/session/inbox.js +150 -150
  690. package/dist/session/info.js +3 -3
  691. package/dist/session/instruction-entry.js +90 -90
  692. package/dist/session/instruction-state.js +8 -8
  693. package/dist/session/instructions.js +144 -144
  694. package/dist/session/message-updater.js +4 -4
  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 +3 -3
  704. package/dist/session/runner/index.js +1 -1
  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 +5 -5
  710. package/dist/session/runner/step.js +164 -164
  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 +3 -3
  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 +248 -248
  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 +13 -13
  733. package/dist/shell.js +147 -147
  734. package/dist/skill/discovery.js +6 -6
  735. package/dist/skill/instructions.js +152 -152
  736. package/dist/skill.js +159 -159
  737. package/dist/snapshot.js +104 -104
  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 +168 -168
  744. package/dist/tool/plugin/file-diff.js +1 -1
  745. package/dist/tool/plugin/glob.js +174 -174
  746. package/dist/tool/plugin/grep.js +171 -171
  747. package/dist/tool/plugin/image-generate.js +244 -244
  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 +171 -171
  751. package/dist/tool/plugin/question.js +149 -149
  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 +242 -242
  755. package/dist/tool/plugin/skill.js +154 -154
  756. package/dist/tool/plugin/subagent.js +243 -243
  757. package/dist/tool/plugin/todo.js +156 -156
  758. package/dist/tool/plugin/webfetch.js +160 -160
  759. package/dist/tool/plugin/websearch.js +154 -154
  760. package/dist/tool/plugin/write.js +171 -171
  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 +163 -163
  766. package/dist/types/plugin/provider/opencode-watches.d.ts +3 -2
  767. package/dist/usage-limits.js +100 -100
  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 +5 -5
  776. package/dist/v1/config/command.js +3 -3
  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 +97 -97
  787. package/dist/websearch.js +93 -93
  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 +11 -11
  799. package/dist/chunks/bus-d6mjcrv9.js +0 -26
  800. package/dist/chunks/bus-ek8sxpxj.js +0 -147
  801. package/dist/chunks/bus-ftnqgna6.js +0 -273
  802. package/dist/chunks/bus-h8zsr8hw.js +0 -35
  803. package/dist/chunks/bus-k62y2wy8.js +0 -18
  804. /package/dist/chunks/{bus-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  805. /package/dist/chunks/{bus-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  806. /package/dist/chunks/{bus-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  807. /package/dist/chunks/{bus-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  808. /package/dist/chunks/{bus-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
  809. /package/dist/chunks/{bus-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  810. /package/dist/chunks/{bus-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  811. /package/dist/chunks/{bus-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  812. /package/dist/chunks/{bus-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  813. /package/dist/chunks/{bus-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  814. /package/dist/chunks/{bus-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  815. /package/dist/chunks/{bus-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  816. /package/dist/chunks/{bus-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
  817. /package/dist/chunks/{bus-53557ph1.js → model-retry-53557ph1.js} +0 -0
  818. /package/dist/chunks/{bus-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
  819. /package/dist/chunks/{bus-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
  820. /package/dist/chunks/{bus-6prwharc.js → model-retry-6prwharc.js} +0 -0
  821. /package/dist/chunks/{bus-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  822. /package/dist/chunks/{bus-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  823. /package/dist/chunks/{bus-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  824. /package/dist/chunks/{bus-822emrt2.js → model-retry-822emrt2.js} +0 -0
  825. /package/dist/chunks/{bus-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  826. /package/dist/chunks/{bus-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  827. /package/dist/chunks/{bus-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  828. /package/dist/chunks/{bus-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  829. /package/dist/chunks/{bus-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  830. /package/dist/chunks/{bus-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  831. /package/dist/chunks/{bus-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  832. /package/dist/chunks/{bus-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  833. /package/dist/chunks/{bus-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
  834. /package/dist/chunks/{bus-bhmrqjy3.js → model-retry-bhmrqjy3.js} +0 -0
  835. /package/dist/chunks/{bus-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  836. /package/dist/chunks/{bus-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  837. /package/dist/chunks/{bus-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  838. /package/dist/chunks/{bus-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
  839. /package/dist/chunks/{bus-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  840. /package/dist/chunks/{bus-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  841. /package/dist/chunks/{bus-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  842. /package/dist/chunks/{bus-df08tz66.js → model-retry-df08tz66.js} +0 -0
  843. /package/dist/chunks/{bus-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  844. /package/dist/chunks/{bus-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  845. /package/dist/chunks/{bus-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
  846. /package/dist/chunks/{bus-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  847. /package/dist/chunks/{bus-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  848. /package/dist/chunks/{bus-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  849. /package/dist/chunks/{bus-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  850. /package/dist/chunks/{bus-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  851. /package/dist/chunks/{bus-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  852. /package/dist/chunks/{bus-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
  853. /package/dist/chunks/{bus-g86h250q.js → model-retry-g86h250q.js} +0 -0
  854. /package/dist/chunks/{bus-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  855. /package/dist/chunks/{bus-gftt206x.js → model-retry-gftt206x.js} +0 -0
  856. /package/dist/chunks/{bus-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  857. /package/dist/chunks/{bus-hk9envan.js → model-retry-hk9envan.js} +0 -0
  858. /package/dist/chunks/{bus-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  859. /package/dist/chunks/{bus-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  860. /package/dist/chunks/{bus-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  861. /package/dist/chunks/{bus-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  862. /package/dist/chunks/{bus-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
  863. /package/dist/chunks/{bus-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  864. /package/dist/chunks/{bus-m18g726c.js → model-retry-m18g726c.js} +0 -0
  865. /package/dist/chunks/{bus-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  866. /package/dist/chunks/{bus-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  867. /package/dist/chunks/{bus-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  868. /package/dist/chunks/{bus-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  869. /package/dist/chunks/{bus-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
  870. /package/dist/chunks/{bus-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  871. /package/dist/chunks/{bus-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
  872. /package/dist/chunks/{bus-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  873. /package/dist/chunks/{bus-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  874. /package/dist/chunks/{bus-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  875. /package/dist/chunks/{bus-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  876. /package/dist/chunks/{bus-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  877. /package/dist/chunks/{bus-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  878. /package/dist/chunks/{bus-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  879. /package/dist/chunks/{bus-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  880. /package/dist/chunks/{bus-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  881. /package/dist/chunks/{bus-syrav9an.js → model-retry-syrav9an.js} +0 -0
  882. /package/dist/chunks/{bus-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
  883. /package/dist/chunks/{bus-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
  884. /package/dist/chunks/{bus-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  885. /package/dist/chunks/{bus-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
  886. /package/dist/chunks/{bus-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  887. /package/dist/chunks/{bus-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  888. /package/dist/chunks/{bus-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  889. /package/dist/chunks/{bus-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  890. /package/dist/chunks/{bus-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
  891. /package/dist/chunks/{bus-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  892. /package/dist/chunks/{bus-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  893. /package/dist/chunks/{bus-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  894. /package/dist/chunks/{bus-z0h12gs8.js → model-retry-z0h12gs8.js} +0 -0
  895. /package/dist/chunks/{bus-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  896. /package/dist/chunks/{bus-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
  897. /package/dist/chunks/{bus-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
  898. /package/dist/chunks/{bus-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service92,
3
3
  node94
4
- } from "./bus-wc7kbwdp.js";
4
+ } from "./model-retry-9g1enhg0.js";
5
5
  import {
6
6
  Service90,
7
7
  node92
8
- } from "./bus-8brp5tjd.js";
8
+ } from "./model-retry-b30tdb24.js";
9
9
  import {
10
10
  changes2,
11
11
  create4
12
- } from "./bus-40y6dtc2.js";
12
+ } from "./model-retry-40y6dtc2.js";
13
13
  import {
14
- Service87,
15
- node89
16
- } from "./bus-k5yce6v3.js";
14
+ Service85,
15
+ node87
16
+ } from "./model-retry-2btjqdw9.js";
17
17
  import {
18
- Service62,
19
- node63
20
- } from "./bus-7h63c6pd.js";
18
+ Service78,
19
+ node80
20
+ } from "./model-retry-x9ns6bvg.js";
21
21
  import {
22
22
  detect2
23
- } from "./bus-4pyp9zr9.js";
23
+ } from "./model-retry-4pyp9zr9.js";
24
24
  import {
25
- Service20,
26
- node23
27
- } from "./bus-7bqqe1yk.js";
25
+ Service27,
26
+ node30
27
+ } from "./model-retry-xx2bks1j.js";
28
28
  import {
29
29
  __export
30
- } from "./bus-9rqn6x4v.js";
30
+ } from "./model-retry-9rqn6x4v.js";
31
31
 
32
32
  // src/artifact.ts
33
33
  var exports_artifact2 = {};
@@ -37,10 +37,10 @@ __export(exports_artifact2, {
37
37
  Content: () => Content2,
38
38
  CreateInput: () => CreateInput5,
39
39
  DisabledError: () => DisabledError3,
40
- Event: () => Event6,
40
+ Event: () => Event5,
41
41
  FileMissingError: () => FileMissingError2,
42
42
  ID: () => ID7,
43
- Info: () => Info7,
43
+ Info: () => Info9,
44
44
  InvalidError: () => InvalidError3,
45
45
  LocalProviderID: () => LocalProviderID2,
46
46
  NotFoundError: () => NotFoundError4,
@@ -48,10 +48,10 @@ __export(exports_artifact2, {
48
48
  ProviderError: () => ProviderError2,
49
49
  ProviderID: () => ProviderID2,
50
50
  ProviderNotFoundError: () => ProviderNotFoundError2,
51
- Service: () => Service19,
51
+ Service: () => Service26,
52
52
  UpdateInput: () => UpdateInput3,
53
53
  locate: () => locate2,
54
- node: () => node22
54
+ node: () => node29
55
55
  });
56
56
  import { randomUUID } from "node:crypto";
57
57
  import fs from "node:fs/promises";
@@ -61,9 +61,9 @@ import {
61
61
  Capability as Capability2,
62
62
  Content as Content2,
63
63
  CreateInput as CreateInput5,
64
- Event as Event6,
64
+ Event as Event5,
65
65
  ID as ID7,
66
- Info as Info7,
66
+ Info as Info9,
67
67
  Provider as Provider2,
68
68
  ProviderID as ProviderID2,
69
69
  UpdateInput as UpdateInput3
@@ -123,10 +123,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
123
123
  }
124
124
  }
125
125
 
126
- class Service19 extends Context.Service()("@opencode/Artifact") {
126
+ class Service26 extends Context.Service()("@opencode/Artifact") {
127
127
  }
128
128
  var StoredRecord = Schema.Struct({
129
- info: Info7,
129
+ info: Info9,
130
130
  directory: Schema.String,
131
131
  projectID: Schema.String
132
132
  });
@@ -139,13 +139,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
139
139
  const decoded = decodeStoredRecord(stored);
140
140
  return Option.isSome(decoded) ? decoded.value.directory : undefined;
141
141
  }));
142
- var layer = Layer.effect(Service19, Effect.gen(function* () {
142
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
143
143
  const bus = yield* Service92;
144
- const flags = yield* Service62;
144
+ const flags = yield* Service78;
145
145
  const global = yield* Global.Service;
146
- const kv = yield* Service87;
146
+ const kv = yield* Service85;
147
147
  const location = yield* Service90;
148
- const sessions = yield* Service20;
148
+ const sessions = yield* Service27;
149
149
  const rootDir = path.join(global.data, "artifacts");
150
150
  const itemDir = (id) => path.join(rootDir, id);
151
151
  const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
187
187
  }
188
188
  }
189
189
  }),
190
- notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
190
+ notify: changes2(snapshotProviders, () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid))
191
191
  });
192
192
  const isEnabled = Effect.fn("Artifact.enabled")(() => flags.enabled("artifacts"));
193
193
  const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
@@ -202,7 +202,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
202
202
  return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
203
203
  };
204
204
  const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
205
- return Service19.of({
205
+ return Service26.of({
206
206
  transform: state.transform,
207
207
  reload: state.reload,
208
208
  enabled: isEnabled,
@@ -249,7 +249,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
249
249
  const id = ID7.create();
250
250
  const now = yield* Clock.currentTimeMillis;
251
251
  const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
252
- const info = Info7.make({
252
+ const info = Info9.make({
253
253
  id,
254
254
  provider: provider.id,
255
255
  ...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
293
293
  const now = yield* Clock.currentTimeMillis;
294
294
  const sessionID = input.sessionID ?? existing.info.sessionID;
295
295
  const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
296
- const info = Info7.make({
296
+ const info = Info9.make({
297
297
  id,
298
298
  provider: existing.info.provider,
299
299
  ...sessionID === undefined ? {} : { sessionID },
@@ -337,10 +337,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
337
337
  })
338
338
  });
339
339
  }));
340
- var node22 = makeLocationNode({
341
- service: Service19,
340
+ var node29 = makeLocationNode({
341
+ service: Service26,
342
342
  layer,
343
- deps: [node94, node63, Global.node, node89, node92, node23]
343
+ deps: [node94, node80, Global.node, node87, node92, node30]
344
344
  });
345
345
  function encodeStringFiles(files) {
346
346
  return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
@@ -481,4 +481,4 @@ function readDirectoryFiles(baseDir) {
481
481
  });
482
482
  }
483
483
 
484
- export { Capability2, Content2, CreateInput5, Event6, ID7, Info7, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service19, locate2, node22, exports_artifact2 };
484
+ export { Capability2, Content2, CreateInput5, Event5, ID7, Info9, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service26, locate2, node29, exports_artifact2 };
@@ -1,40 +1,40 @@
1
1
  import {
2
2
  useragent2
3
- } from "./bus-h8zsr8hw.js";
3
+ } from "./model-retry-hnktkp4a.js";
4
4
  import {
5
5
  OAuth3,
6
- Service84
7
- } from "./bus-79essn6v.js";
6
+ Service89
7
+ } from "./model-retry-fmbmyz0a.js";
8
8
  import {
9
9
  ID18,
10
10
  MethodID2
11
- } from "./bus-h5rm7hp5.js";
11
+ } from "./model-retry-9d7e85zn.js";
12
12
  import {
13
- ID15,
13
+ ID17,
14
14
  mergeOverlay2
15
- } from "./bus-00fdt2tm.js";
15
+ } from "./model-retry-y7qawec5.js";
16
16
  import {
17
- ID14,
17
+ ID16,
18
18
  VariantID2,
19
- Info20
20
- } from "./bus-zymv40sd.js";
19
+ Info24
20
+ } from "./model-retry-jv1c2mep.js";
21
21
  import {
22
22
  success2,
23
23
  error2
24
- } from "./bus-yb20nhc3.js";
24
+ } from "./model-retry-yb20nhc3.js";
25
25
  import {
26
26
  get5
27
- } from "./bus-3nnrz6f6.js";
27
+ } from "./model-retry-3nnrz6f6.js";
28
28
  import {
29
29
  configuredSettings2
30
- } from "./bus-vdrdgm3z.js";
30
+ } from "./model-retry-r58y11b8.js";
31
31
  import {
32
32
  onSwitch2,
33
33
  reloadIfChanged2
34
- } from "./bus-nprzpnkx.js";
34
+ } from "./model-retry-n92nzxqg.js";
35
35
  import {
36
36
  activeCredential2
37
- } from "./bus-t6f09pg1.js";
37
+ } from "./model-retry-sw24ze7h.js";
38
38
 
39
39
  // src/plugin/provider/chatgpt.ts
40
40
  import { define } from "@opencode/plugin/effect/plugin";
@@ -46,7 +46,7 @@ var issuer = "https://auth.openai.com";
46
46
  var tokenURL = `${issuer}/api/accounts/oauth/token`;
47
47
  var resource = "https://api.openai.com/v1";
48
48
  var tokenSharingScope = "chatgpt.tokens.use.direct";
49
- var providerID = ID15.openai;
49
+ var providerID = ID17.openai;
50
50
  var integrationID = ID18.make("openai");
51
51
  var methodID = MethodID2.make("chatgpt-token-sharing");
52
52
  var modelCacheKey = (clientID) => `models:${clientID}`;
@@ -185,7 +185,7 @@ function listen(server) {
185
185
  var ChatGPTPlugin2 = define({
186
186
  id: "opencode.provider.chatgpt",
187
187
  effect: Effect.fn(function* (ctx) {
188
- const credentials = yield* Service84;
188
+ const credentials = yield* Service89;
189
189
  const loading = Semaphore.makeUnsafe(1);
190
190
  let chatgpt;
191
191
  let source;
@@ -328,7 +328,7 @@ function deriveModels2(remote, existing) {
328
328
  const found = byID.get(model.modelID);
329
329
  return found ? [deriveModel(found, model)] : [];
330
330
  }),
331
- ...remote.filter((model) => !known.has(ID14.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID15.openai, ID14.make(model.slug))))
331
+ ...remote.filter((model) => !known.has(ID16.make(model.slug))).map((model) => deriveModel(model, Info24.default(ID17.openai, ID16.make(model.slug))))
332
332
  ];
333
333
  }
334
334
  function deriveModel(remote, previous) {
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service67,
3
- node68
4
- } from "./bus-8x6444sg.js";
2
+ Service82,
3
+ node84
4
+ } from "./model-retry-5azf7efg.js";
5
5
  import {
6
6
  Service90,
7
7
  node92
8
- } from "./bus-8brp5tjd.js";
8
+ } from "./model-retry-b30tdb24.js";
9
9
  import {
10
- Service66,
11
- node67
12
- } from "./bus-9gxaxr59.js";
10
+ Service81,
11
+ node83
12
+ } from "./model-retry-cgemq9va.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./bus-7weczvnd.js";
16
+ } from "./model-retry-7weczvnd.js";
17
17
  import {
18
18
  isDirectorySource2
19
- } from "./bus-tvtps2q9.js";
19
+ } from "./model-retry-tvtps2q9.js";
20
20
  import {
21
21
  __export
22
- } from "./bus-9rqn6x4v.js";
22
+ } from "./model-retry-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/source.ts
25
25
  var exports_source = {};
26
26
  __export(exports_source, {
27
27
  ConfigPluginSource: () => exports_source,
28
- Service: () => Service10,
28
+ Service: () => Service12,
29
29
  empty: () => empty2,
30
- layer: () => layer6,
31
- node: () => node12
30
+ layer: () => layer8,
31
+ node: () => node14
32
32
  });
33
33
  import { FSUtil } from "@opencode/util/fs-util";
34
34
  import { Host } from "@opencode/plugin/host";
@@ -36,11 +36,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
37
37
  import path from "path";
38
38
  import { fileURLToPath, pathToFileURL } from "url";
39
- class Service10 extends Context.Service()("@opencode/ConfigPluginSource") {
39
+ class Service12 extends Context.Service()("@opencode/ConfigPluginSource") {
40
40
  }
41
- var layer6 = Layer.effect(Service10, Effect.gen(function* () {
42
- const config = yield* Service66;
43
- const watcher = yield* Service67;
41
+ var layer8 = Layer.effect(Service12, Effect.gen(function* () {
42
+ const config = yield* Service81;
43
+ const watcher = yield* Service82;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const location = yield* Service90;
46
46
  const configuredChanges = yield* PubSub.unbounded();
@@ -61,7 +61,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
61
61
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
62
62
  }
63
63
  });
64
- return Service10.of({
64
+ return Service12.of({
65
65
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
66
66
  const entries = yield* config.entries();
67
67
  const operations = yield* scan(fs, location, entries);
@@ -73,14 +73,14 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
73
73
  })), Stream.fromPubSub(configuredChanges))
74
74
  });
75
75
  }));
76
- var node12 = makeLocationNode({
77
- service: Service10,
78
- layer: layer6,
79
- deps: [node67, FSUtil.node, node68, node92]
76
+ var node14 = makeLocationNode({
77
+ service: Service12,
78
+ layer: layer8,
79
+ deps: [node83, FSUtil.node, node84, node92]
80
80
  });
81
81
  var empty2 = makeLocationNode({
82
- service: Service10,
83
- layer: Layer.succeed(Service10, Service10.of({
82
+ service: Service12,
83
+ layer: Layer.succeed(Service12, Service12.of({
84
84
  operations: () => Effect.succeed([]),
85
85
  changes: () => Stream.never
86
86
  })),
@@ -138,4 +138,4 @@ var scan = Effect.fn("ConfigPluginSource.scan")(function* (fs, location, entries
138
138
  })).pipe(Effect.map((operations) => operations.flat()));
139
139
  });
140
140
 
141
- export { Service10, layer6, node12, empty2, exports_source };
141
+ export { Service12, layer8, node14, empty2, exports_source };
@@ -1,20 +1,20 @@
1
1
  import {
2
- make9
3
- } from "./bus-8es3pha2.js";
2
+ make7
3
+ } from "./model-retry-h9xvjfqn.js";
4
4
  import {
5
5
  HEADER2,
6
6
  SESSION_HEADER2,
7
7
  FORK_HEADER2
8
- } from "./bus-yr705xyq.js";
8
+ } from "./model-retry-yr705xyq.js";
9
9
  import {
10
10
  AGENT_OPTION2,
11
11
  INSTRUCTIONS_OPTION2,
12
- make8,
12
+ make12,
13
13
  utility2
14
- } from "./bus-nr915jn7.js";
14
+ } from "./model-retry-k46dd5bg.js";
15
15
  import {
16
16
  __export
17
- } from "./bus-9rqn6x4v.js";
17
+ } from "./model-retry-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/provider/claude-agent/language-model/claude-agent-language-model.ts
20
20
  var exports_claude_agent_language_model = {};
@@ -56,8 +56,8 @@ class Model2 {
56
56
  const sessionID = primary ? session : undefined;
57
57
  const sourceID = primary ? headers[FORK_HEADER2] : branch ? session : undefined;
58
58
  const offered = primary || branch ? tools : [];
59
- const convert = make9(offered);
60
- const system = primary || branch ? make8(agent, instructions) : utility2(options.prompt);
59
+ const convert = make7(offered);
60
+ const system = primary || branch ? make12(agent, instructions) : utility2(options.prompt);
61
61
  let cancelled = false;
62
62
  let task;
63
63
  const stream = new ReadableStream({
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./bus-tczq8hjw.js";
3
+ } from "./model-retry-tczq8hjw.js";
4
4
  import {
5
5
  create4
6
- } from "./bus-40y6dtc2.js";
6
+ } from "./model-retry-40y6dtc2.js";
7
7
  import {
8
8
  __export
9
- } from "./bus-9rqn6x4v.js";
9
+ } from "./model-retry-9rqn6x4v.js";
10
10
 
11
11
  // src/tool-output.ts
12
12
  var exports_tool_output2 = {};
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service88,
18
+ Service: () => Service45,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node90
21
+ node: () => node48
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service88 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service45 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service88, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
121
121
  yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
122
122
  return file;
123
123
  });
124
- return Service88.of({
124
+ return Service45.of({
125
125
  transform: state.transform,
126
126
  reload: state.reload,
127
127
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node90 = makeLocationNode({
143
- service: Service88,
142
+ var node48 = makeLocationNode({
143
+ service: Service45,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service88, node90, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service45, node48, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  Service92,
3
3
  node94
4
- } from "./bus-wc7kbwdp.js";
4
+ } from "./model-retry-9g1enhg0.js";
5
5
  import {
6
- Service31,
7
- node34
8
- } from "./bus-emgta0qf.js";
6
+ Service38,
7
+ node41
8
+ } from "./model-retry-dh5k9yhz.js";
9
9
  import {
10
10
  isTextual2
11
- } from "./bus-4pyp9zr9.js";
11
+ } from "./model-retry-4pyp9zr9.js";
12
12
  import {
13
13
  invocation2,
14
14
  CorrectedError2,
15
15
  BlockedError2,
16
- Service59,
17
- node60
18
- } from "./bus-ebf8vqhv.js";
16
+ Service74,
17
+ node76
18
+ } from "./model-retry-8bwrafk7.js";
19
19
  import {
20
20
  normalizedName2,
21
21
  effectiveName2
22
- } from "./bus-z0h12gs8.js";
22
+ } from "./model-retry-z0h12gs8.js";
23
23
  import {
24
- Service56,
25
- node58
26
- } from "./bus-7j9nqbx0.js";
24
+ Service68,
25
+ node71
26
+ } from "./model-retry-1j97zecb.js";
27
27
  import {
28
- Service88,
29
- node90
30
- } from "./bus-yt92m3sf.js";
28
+ Service45,
29
+ node48
30
+ } from "./model-retry-8qdr79jy.js";
31
31
  import {
32
32
  MEDIA_MIMES2
33
- } from "./bus-xtyctmh1.js";
33
+ } from "./model-retry-ej3jbyd9.js";
34
34
  import {
35
35
  __export
36
- } from "./bus-9rqn6x4v.js";
36
+ } from "./model-retry-9rqn6x4v.js";
37
37
 
38
38
  // src/tool/mcp.ts
39
39
  var exports_mcp3 = {};
40
40
  __export(exports_mcp3, {
41
41
  McpTool: () => exports_mcp3,
42
- Service: () => Service29,
43
- layer: () => layer14,
44
- name: () => name16,
42
+ Service: () => Service33,
43
+ layer: () => layer13,
44
+ name: () => name15,
45
45
  namespace: () => namespace2,
46
- node: () => node32
46
+ node: () => node36
47
47
  });
48
48
  import { ToolFailure } from "@opencode/ai/effect";
49
49
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -52,16 +52,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import { extension } from "mime-types";
53
53
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
54
54
  var namespace2 = (server) => normalizedName2({ name: server });
55
- var name16 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
55
+ var name15 = (server, tool) => effectiveName2({ name: tool, options: { namespace: namespace2(server) } });
56
56
 
57
- class Service29 extends Context.Service()("@opencode/McpTool") {
57
+ class Service33 extends Context.Service()("@opencode/McpTool") {
58
58
  }
59
- var layer14 = Layer.effect(Service29, Effect.gen(function* () {
60
- const mcp = yield* Service31;
61
- const tools = yield* Service56;
59
+ var layer13 = Layer.effect(Service33, Effect.gen(function* () {
60
+ const mcp = yield* Service38;
61
+ const tools = yield* Service68;
62
62
  const bus = yield* Service92;
63
- const permission = yield* Service59;
64
- const toolOutput = yield* Service88;
63
+ const permission = yield* Service74;
64
+ const toolOutput = yield* Service45;
65
65
  const lock = Semaphore.makeUnsafe(1);
66
66
  let discovered = [];
67
67
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -76,7 +76,7 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
76
76
  output: tool.outputSchema ?? {},
77
77
  execute: (input, context) => Effect.gen(function* () {
78
78
  yield* permission.assert({
79
- action: name16(tool.server, tool.name),
79
+ action: name15(tool.server, tool.name),
80
80
  resources: ["*"],
81
81
  save: ["*"],
82
82
  metadata: { input: input ?? {} },
@@ -119,7 +119,7 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
119
119
  return new ToolFailure({ message: error.message, error });
120
120
  if (error instanceof CorrectedError2)
121
121
  return new ToolFailure({ message: error.feedback, error });
122
- return new ToolFailure({ message: `Unable to execute ${name16(tool.server, tool.name)}`, error });
122
+ return new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}`, error });
123
123
  }))
124
124
  });
125
125
  }
@@ -133,7 +133,7 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
133
133
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
134
134
  const updates = yield* PubSub.subscribe(changes);
135
135
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
136
- return Service29.of({
136
+ return Service33.of({
137
137
  flush: Effect.gen(function* () {
138
138
  yield* Fiber.await(initial);
139
139
  yield* mcp.awaitStartup();
@@ -161,10 +161,10 @@ ${bytes.toString("utf8")}` };
161
161
  text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
162
162
  };
163
163
  });
164
- var node32 = makeLocationNode({
165
- service: Service29,
166
- layer: layer14,
167
- deps: [node58, node34, node94, node60, node90]
164
+ var node36 = makeLocationNode({
165
+ service: Service33,
166
+ layer: layer13,
167
+ deps: [node71, node41, node94, node76, node48]
168
168
  });
169
169
 
170
- export { namespace2, name16, Service29, layer14, node32, exports_mcp3 };
170
+ export { namespace2, name15, Service33, layer13, node36, exports_mcp3 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./bus-wakvkjy4.js";
4
+ } from "./model-retry-wakvkjy4.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./bus-qfa1cgps.js";
7
+ } from "./model-retry-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./bus-aj7mw0zk.js";
10
+ } from "./model-retry-aj7mw0zk.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { blob, sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./model-retry-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/scan.ts
6
6
  var exports_scan = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./model-retry-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./bus-9rqn6x4v.js";
6
+ } from "./model-retry-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};