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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +94 -94
  4. package/dist/aisdk.js +100 -100
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-retry-8bc2ahr8.js → integration-033a0jkt.js} +3 -3
  8. package/dist/chunks/{model-retry-034tev2y.js → integration-034tev2y.js} +2 -2
  9. package/dist/chunks/{model-retry-avfqqwb2.js → integration-099h1hwj.js} +6 -6
  10. package/dist/chunks/{model-retry-wr3re1en.js → integration-0h8y3ex8.js} +4 -4
  11. package/dist/chunks/{model-retry-0p88zpcm.js → integration-0p88zpcm.js} +4 -4
  12. package/dist/chunks/{model-retry-b3mc3p58.js → integration-0v8grjzs.js} +11 -11
  13. package/dist/chunks/{model-retry-ny7d5fer.js → integration-1bs2cpw9.js} +24 -24
  14. package/dist/chunks/{model-retry-y4f1fvfh.js → integration-1cymfj1p.js} +15 -15
  15. package/dist/chunks/{model-retry-1ep2p91f.js → integration-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{model-retry-nf83kzdy.js → integration-1ghdp8kk.js} +28 -28
  17. package/dist/chunks/{model-retry-wwf1bymv.js → integration-1nys593y.js} +14 -14
  18. package/dist/chunks/{model-retry-gp4q8kgc.js → integration-1qx3pmcb.js} +6 -6
  19. package/dist/chunks/{model-retry-b5rpcebs.js → integration-1smgd7ca.js} +9 -9
  20. package/dist/chunks/{model-retry-npaxjfat.js → integration-1txcpx25.js} +33 -33
  21. package/dist/chunks/{model-retry-1x2knyw4.js → integration-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{model-retry-h9wrc0vd.js → integration-1xcgmt4f.js} +23 -23
  23. package/dist/chunks/{model-retry-q5jvcvf9.js → integration-21wsmemr.js} +13 -13
  24. package/dist/chunks/{model-retry-w4qj5bhy.js → integration-22vn2tfc.js} +46 -46
  25. package/dist/chunks/{model-retry-2ns8tfyg.js → integration-24dnymca.js} +9 -9
  26. package/dist/chunks/{model-retry-4z907t0k.js → integration-27z7tz04.js} +17 -17
  27. package/dist/chunks/{model-retry-d8g76yr4.js → integration-2a7m102q.js} +18 -18
  28. package/dist/chunks/{model-retry-a5kv7pbm.js → integration-2jzy5gvp.js} +17 -17
  29. package/dist/chunks/{model-retry-4g74bq5f.js → integration-2k41ftbf.js} +9 -9
  30. package/dist/chunks/{model-retry-g0ew906k.js → integration-2m9ncb4x.js} +2 -2
  31. package/dist/chunks/{model-retry-mxjqcj4f.js → integration-2qzjejty.js} +17 -17
  32. package/dist/chunks/{model-retry-722sdb3d.js → integration-2wvpxzhr.js} +7 -7
  33. package/dist/chunks/{model-retry-2z1j29yd.js → integration-2z1j29yd.js} +1 -1
  34. package/dist/chunks/{model-retry-6c5cd6ez.js → integration-32s59e8p.js} +9 -9
  35. package/dist/chunks/{model-retry-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{model-retry-9bs81pt6.js → integration-3k0zbkzd.js} +20 -20
  37. package/dist/chunks/{model-retry-cpmqfxcq.js → integration-3myyj9jx.js} +25 -25
  38. package/dist/chunks/{model-retry-3nnrz6f6.js → integration-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{model-retry-4gytfbka.js → integration-3qncy4kt.js} +3 -3
  40. package/dist/chunks/{model-retry-17xhxfsn.js → integration-3vj2p3vv.js} +11 -11
  41. package/dist/chunks/{model-retry-aday876c.js → integration-3zmhjc9p.js} +23 -23
  42. package/dist/chunks/{model-retry-yqqqeckg.js → integration-414jxfdf.js} +19 -19
  43. package/dist/chunks/{model-retry-d1aynxky.js → integration-43sfaggh.js} +54 -54
  44. package/dist/chunks/{model-retry-pk8bqs0r.js → integration-4739vc91.js} +11 -11
  45. package/dist/chunks/{model-retry-5w1mdqt7.js → integration-4pw98qd4.js} +4 -4
  46. package/dist/chunks/{model-retry-4v008n1t.js → integration-4v008n1t.js} +1 -1
  47. package/dist/chunks/{model-retry-n9nqya42.js → integration-4vgk4w6a.js} +21 -21
  48. package/dist/chunks/{model-retry-nxg0a76y.js → integration-4wvhc9k4.js} +19 -19
  49. package/dist/chunks/{model-retry-4xvmh7wp.js → integration-4xvmh7wp.js} +3 -3
  50. package/dist/chunks/{model-retry-z3ae4np4.js → integration-54emna5z.js} +13 -13
  51. package/dist/chunks/{model-retry-g91txfza.js → integration-582km8zz.js} +4 -4
  52. package/dist/chunks/{model-retry-jmekkt3w.js → integration-5bffra33.js} +3 -3
  53. package/dist/chunks/{model-retry-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{model-retry-f6n6tb5m.js → integration-5qee7q8k.js} +15 -15
  55. package/dist/chunks/{model-retry-v2ydvkbp.js → integration-5v3c0w31.js} +35 -35
  56. package/dist/chunks/{model-retry-acdmrrd1.js → integration-6285fq4d.js} +5 -5
  57. package/dist/chunks/{model-retry-kbx45pjb.js → integration-62ecjyyq.js} +26 -26
  58. package/dist/chunks/{model-retry-vxp3z339.js → integration-6a013r1n.js} +17 -17
  59. package/dist/chunks/{model-retry-e1g8hcy1.js → integration-6a7ezx2c.js} +13 -13
  60. package/dist/chunks/{model-retry-kxvkas7c.js → integration-6d6xnsqa.js} +5 -5
  61. package/dist/chunks/{model-retry-t0vy2dfp.js → integration-6es4hneh.js} +10 -10
  62. package/dist/chunks/{model-retry-6esdw8yj.js → integration-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{model-retry-gchz44rz.js → integration-6gyjkw7v.js} +16 -16
  64. package/dist/chunks/{model-retry-6pjqjmy2.js → integration-6pjqjmy2.js} +1 -1
  65. package/dist/chunks/{model-retry-1hm6kjpw.js → integration-6yretb28.js} +11 -11
  66. package/dist/chunks/{model-retry-qq9g4at8.js → integration-74yt0vzq.js} +46 -46
  67. package/dist/chunks/{model-retry-76cb1hcw.js → integration-76cb1hcw.js} +1 -1
  68. package/dist/chunks/{model-retry-kwp52g30.js → integration-77zdhryd.js} +10 -10
  69. package/dist/chunks/{model-retry-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{model-retry-zx5t73xg.js → integration-7d9wahhq.js} +23 -23
  71. package/dist/chunks/{model-retry-hmg9k6g3.js → integration-7jv8arzj.js} +28 -28
  72. package/dist/chunks/{model-retry-vcngc2jq.js → integration-7msw3csv.js} +20 -20
  73. package/dist/chunks/{model-retry-7w2ypzdf.js → integration-7w2ypzdf.js} +1 -1
  74. package/dist/chunks/{model-retry-y2nf64jh.js → integration-7xwzfpqh.js} +15 -15
  75. package/dist/chunks/{model-retry-v6h5bgwd.js → integration-7ye4ae45.js} +8 -8
  76. package/dist/chunks/{model-retry-eg9pnzky.js → integration-8aqd9tw0.js} +29 -29
  77. package/dist/chunks/{model-retry-t42gxy5r.js → integration-8b714bza.js} +8 -8
  78. package/dist/chunks/{model-retry-9ye8ngw9.js → integration-8vg666x5.js} +2 -2
  79. package/dist/chunks/{model-retry-dbmp929s.js → integration-8wc2fpae.js} +5 -5
  80. package/dist/chunks/{model-retry-kspt1gd4.js → integration-8wht8kc5.js} +8 -8
  81. package/dist/chunks/{model-retry-8wtp7s3z.js → integration-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{model-retry-hhtmqaqt.js → integration-8x2emzdm.js} +15 -15
  83. package/dist/chunks/{model-retry-s4br5rnc.js → integration-8zgwz0zm.js} +11 -11
  84. package/dist/chunks/{model-retry-91rj84md.js → integration-91rj84md.js} +1 -1
  85. package/dist/chunks/{model-retry-998yhzzq.js → integration-998yhzzq.js} +3 -3
  86. package/dist/chunks/{model-retry-7s2q8wx1.js → integration-9cdp65mn.js} +14 -14
  87. package/dist/chunks/{model-retry-9cx9sm2q.js → integration-9cx9sm2q.js} +1 -1
  88. package/dist/chunks/{model-retry-btcc31mt.js → integration-9e9qdt9b.js} +10 -10
  89. package/dist/chunks/{model-retry-enkpkfwx.js → integration-9kg5w032.js} +8 -8
  90. package/dist/chunks/{model-retry-fx6779qx.js → integration-9r1sq0hf.js} +45 -45
  91. package/dist/chunks/integration-a4baghsc.js +26 -0
  92. package/dist/chunks/{model-retry-p81fp5vk.js → integration-a5hswdc1.js} +18 -18
  93. package/dist/chunks/integration-a610t88q.js +18 -0
  94. package/dist/chunks/{model-retry-j910h5aj.js → integration-a9jemgtr.js} +3 -3
  95. package/dist/chunks/{model-retry-aqw6e5th.js → integration-aevv1b27.js} +20 -20
  96. package/dist/chunks/{model-retry-jq88ke7r.js → integration-af0k6e03.js} +7 -7
  97. package/dist/chunks/{model-retry-ayjs7tqn.js → integration-ayjs7tqn.js} +2 -2
  98. package/dist/chunks/{model-retry-q35f0zmw.js → integration-azcb3gk3.js} +16 -16
  99. package/dist/chunks/{model-retry-b0mv4wxm.js → integration-b0mv4wxm.js} +2 -2
  100. package/dist/chunks/{model-retry-cg67sgqr.js → integration-b68fg4f6.js} +29 -29
  101. package/dist/chunks/{model-retry-b6vsg801.js → integration-b6vsg801.js} +2 -2
  102. package/dist/chunks/{model-retry-hkby4gmz.js → integration-bdx4kxdv.js} +21 -21
  103. package/dist/chunks/{model-retry-kkew1p9e.js → integration-bh1et42v.js} +6 -6
  104. package/dist/chunks/{model-retry-km7czr20.js → integration-bmavx65t.js} +21 -21
  105. package/dist/chunks/{model-retry-mg4jj3cq.js → integration-btjvwe70.js} +11 -11
  106. package/dist/chunks/{model-retry-1dswpn68.js → integration-bvafcta0.js} +4 -4
  107. package/dist/chunks/{model-retry-7kjvv3j6.js → integration-c3nr5wcj.js} +11 -11
  108. package/dist/chunks/{model-retry-6kqns4w6.js → integration-c445b2ma.js} +21 -21
  109. package/dist/chunks/{model-retry-7rt6wz40.js → integration-c5vw9ajk.js} +32 -32
  110. package/dist/chunks/{model-retry-wa0020sp.js → integration-cdpx3xqr.js} +35 -35
  111. package/dist/chunks/{model-retry-qqg9c0kv.js → integration-cpvd08na.js} +4 -4
  112. package/dist/chunks/{model-retry-qk2x4zmh.js → integration-cqjv9nck.js} +22 -22
  113. package/dist/chunks/{model-retry-wx4hn9c6.js → integration-cvx8nhbw.js} +16 -16
  114. package/dist/chunks/{model-retry-d4v9tmah.js → integration-d4v9tmah.js} +2 -2
  115. package/dist/chunks/{model-retry-aqd38yqk.js → integration-d9f8cqns.js} +16 -16
  116. package/dist/chunks/{model-retry-6hwc1pvx.js → integration-dd3y08z3.js} +18 -18
  117. package/dist/chunks/{model-retry-n91mh7q3.js → integration-dggevncg.js} +37 -37
  118. package/dist/chunks/{model-retry-v6bhxz94.js → integration-dr0fct71.js} +22 -22
  119. package/dist/chunks/{model-retry-32rqdfc7.js → integration-dwwyec8z.js} +6 -6
  120. package/dist/chunks/{model-retry-4hbn04c3.js → integration-e2p6x81g.js} +21 -21
  121. package/dist/chunks/{model-retry-e5dqjz6v.js → integration-e5dqjz6v.js} +1 -1
  122. package/dist/chunks/{model-retry-vm0wcjea.js → integration-e5gw6wwr.js} +10 -10
  123. package/dist/chunks/{model-retry-e834z07m.js → integration-e834z07m.js} +1 -1
  124. package/dist/chunks/{model-retry-335tf8xn.js → integration-eegzrrtz.js} +13 -13
  125. package/dist/chunks/{model-retry-mdmq4ayq.js → integration-ehfeyf7e.js} +3 -3
  126. package/dist/chunks/{model-retry-c7w6gk0d.js → integration-ej3th1h3.js} +3 -3
  127. package/dist/chunks/{model-retry-b58bxs6a.js → integration-ek9rkj5r.js} +141 -141
  128. package/dist/chunks/{model-retry-4jred12r.js → integration-enar5c8c.js} +24 -24
  129. package/dist/chunks/{model-retry-678hegmz.js → integration-ewf8e1z3.js} +9 -9
  130. package/dist/chunks/{model-retry-jj52rngq.js → integration-ez61m5xe.js} +3 -3
  131. package/dist/chunks/{model-retry-wdzvz19b.js → integration-f9bma1qn.js} +16 -16
  132. package/dist/chunks/{model-retry-d9qwxpwd.js → integration-fcvr1d3d.js} +24 -24
  133. package/dist/chunks/{model-retry-fffv3p7h.js → integration-fffv3p7h.js} +1 -1
  134. package/dist/chunks/{model-retry-a0y3te94.js → integration-fkgr69m7.js} +13 -13
  135. package/dist/chunks/{model-retry-p8s7ax7s.js → integration-fzjtn9cy.js} +4 -4
  136. package/dist/chunks/{model-retry-f4fcece7.js → integration-g4netsws.js} +13 -13
  137. package/dist/chunks/{model-retry-g5h9c0rr.js → integration-g5h9c0rr.js} +2 -2
  138. package/dist/chunks/{model-retry-j17f5p09.js → integration-g8dxatgd.js} +12 -12
  139. package/dist/chunks/{model-retry-1m6xs2a7.js → integration-gjatpjy7.js} +24 -24
  140. package/dist/chunks/{model-retry-wc86xy3n.js → integration-gjw4pr93.js} +14 -14
  141. package/dist/chunks/{model-retry-753xhzz2.js → integration-gs020t2a.js} +3 -3
  142. package/dist/chunks/{model-retry-jy2ar7az.js → integration-gt45kfe9.js} +11 -11
  143. package/dist/chunks/{model-retry-ek5jse1b.js → integration-h27fzsgv.js} +25 -25
  144. package/dist/chunks/{model-retry-eqhrgn58.js → integration-h4k78rza.js} +46 -46
  145. package/dist/chunks/{model-retry-brkew3yp.js → integration-hd1zzqtm.js} +10 -10
  146. package/dist/chunks/{model-retry-3gv0spa2.js → integration-hd3k4wz8.js} +4 -4
  147. package/dist/chunks/{model-retry-gj1k22fm.js → integration-hhn1e55x.js} +8 -8
  148. package/dist/chunks/{model-retry-0rax2qmn.js → integration-hwx3r6b1.js} +11 -11
  149. package/dist/chunks/{model-retry-j113cymg.js → integration-j113cymg.js} +1 -1
  150. package/dist/chunks/{model-retry-d4tjs1yx.js → integration-j4a3jt28.js} +17 -17
  151. package/dist/chunks/{model-retry-592w8t9y.js → integration-jdfk1cmv.js} +26 -26
  152. package/dist/chunks/{model-retry-mvf5yed7.js → integration-jh0qv5w1.js} +9 -9
  153. package/dist/chunks/{model-retry-mq1hjbvv.js → integration-jjpbn9y3.js} +12 -12
  154. package/dist/chunks/{model-retry-dn3a5ca8.js → integration-jr035f3y.js} +14 -14
  155. package/dist/chunks/{model-retry-pcx7njc6.js → integration-jry8eft3.js} +28 -28
  156. package/dist/chunks/{model-retry-7n7qp0dz.js → integration-jtp9n393.js} +28 -28
  157. package/dist/chunks/{model-retry-503rn88z.js → integration-k02enjmv.js} +3 -3
  158. package/dist/chunks/{model-retry-y6413w8f.js → integration-k3knae48.js} +11 -11
  159. package/dist/chunks/{model-retry-zewy1hcb.js → integration-k4z47hf4.js} +9 -9
  160. package/dist/chunks/{model-retry-k814nvkf.js → integration-k814nvkf.js} +1 -1
  161. package/dist/chunks/{model-retry-f34n98jw.js → integration-kj42jrrq.js} +25 -25
  162. package/dist/chunks/{model-retry-paae1hvb.js → integration-kjg0r6wn.js} +7 -7
  163. package/dist/chunks/{model-retry-xcbrzhrb.js → integration-kpsjcb79.js} +329 -329
  164. package/dist/chunks/{model-retry-qv0xhenj.js → integration-kqy4hbwk.js} +87 -87
  165. package/dist/chunks/{model-retry-kt3bjfbg.js → integration-kt3bjfbg.js} +1 -1
  166. package/dist/chunks/{model-retry-cjn2m544.js → integration-kv3ttt63.js} +46 -32
  167. package/dist/chunks/{model-retry-hbjmb8md.js → integration-kxgkgtx4.js} +6 -6
  168. package/dist/chunks/{model-retry-5xypjhga.js → integration-kyjtz1sy.js} +1 -1
  169. package/dist/chunks/{model-retry-m1714858.js → integration-m1714858.js} +1 -1
  170. package/dist/chunks/{model-retry-k46s5hha.js → integration-m2xmg036.js} +21 -21
  171. package/dist/chunks/{model-retry-mnb0kth4.js → integration-m5e9s2n3.js} +12 -12
  172. package/dist/chunks/{model-retry-t9jfkh4s.js → integration-m676x6pr.js} +13 -13
  173. package/dist/chunks/{model-retry-e5nt5pcv.js → integration-m7g89f9n.js} +4 -4
  174. package/dist/chunks/{model-retry-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{model-retry-maspj1v3.js → integration-maspj1v3.js} +1 -1
  176. package/dist/chunks/{model-retry-rnf8ygje.js → integration-mdp36yda.js} +1 -1
  177. package/dist/chunks/{model-retry-138ss78d.js → integration-mh81y02m.js} +6 -6
  178. package/dist/chunks/{model-retry-hp8gawhw.js → integration-mmhxtjpe.js} +16 -16
  179. package/dist/chunks/{model-retry-9q8g9sv8.js → integration-mmx1mfjr.js} +4 -4
  180. package/dist/chunks/{model-retry-rf0yhvg8.js → integration-mn0kbaek.js} +19 -19
  181. package/dist/chunks/{model-retry-egv1p4fb.js → integration-mnx664ps.js} +35 -35
  182. package/dist/chunks/{model-retry-ppheb231.js → integration-mpg7afbk.js} +4 -4
  183. package/dist/chunks/{model-retry-ssfehs1z.js → integration-mtkfycnh.js} +4 -4
  184. package/dist/chunks/{model-retry-mt48qw68.js → integration-mvc3vb2a.js} +10 -10
  185. package/dist/chunks/{model-retry-hbh5g7sq.js → integration-mw8s5zmh.js} +19 -19
  186. package/dist/chunks/{model-retry-8whp40kv.js → integration-my4zabxr.js} +3 -3
  187. package/dist/chunks/{model-retry-s44wx98y.js → integration-mzzay4f0.js} +12 -12
  188. package/dist/chunks/{model-retry-7816y9pf.js → integration-n0p57zwx.js} +15 -15
  189. package/dist/chunks/{model-retry-skd7ds45.js → integration-n6y7mxjs.js} +12 -12
  190. package/dist/chunks/{model-retry-nah043kf.js → integration-nah043kf.js} +1 -1
  191. package/dist/chunks/{model-retry-e1zjyyvc.js → integration-ncys0ejx.js} +42 -42
  192. package/dist/chunks/{model-retry-gxvxk964.js → integration-ndw46kc6.js} +13 -13
  193. package/dist/chunks/{model-retry-ca1hzz0z.js → integration-nhfzsa1p.js} +7 -7
  194. package/dist/chunks/{model-retry-9nt4jrra.js → integration-ns1gkfmt.js} +11 -11
  195. package/dist/chunks/{model-retry-bzve7h1n.js → integration-ns4tg1vk.js} +30 -30
  196. package/dist/chunks/{model-retry-t3qvsv4x.js → integration-nsew6na4.js} +4 -4
  197. package/dist/chunks/{model-retry-1a7q9jj4.js → integration-nt2e7ypv.js} +14 -14
  198. package/dist/chunks/{model-retry-bfrx3eet.js → integration-nw3gns4q.js} +83 -83
  199. package/dist/chunks/{model-retry-p015t6z3.js → integration-p015t6z3.js} +2 -2
  200. package/dist/chunks/{model-retry-kw23vkf0.js → integration-pa7nwqm2.js} +1 -1
  201. package/dist/chunks/{model-retry-faewc6h3.js → integration-pacbbjc0.js} +5 -5
  202. package/dist/chunks/{model-retry-pknna89w.js → integration-pknna89w.js} +1 -1
  203. package/dist/chunks/{model-retry-6zcc165v.js → integration-pmz7p4sy.js} +6 -6
  204. package/dist/chunks/{model-retry-ae89zrxe.js → integration-pp110xbz.js} +11 -11
  205. package/dist/chunks/{model-retry-mv9cyhb6.js → integration-pq8a5ftn.js} +32 -32
  206. package/dist/chunks/{model-retry-vp3hqrv6.js → integration-pvhdzchd.js} +26 -26
  207. package/dist/chunks/{model-retry-5ymyvjqm.js → integration-pzh119na.js} +12 -12
  208. package/dist/chunks/{model-retry-m8kw722f.js → integration-q0sfsmmy.js} +52 -52
  209. package/dist/chunks/{model-retry-z3wn5wtx.js → integration-q0x40dkk.js} +9 -9
  210. package/dist/chunks/{model-retry-hhtnk8qy.js → integration-q820hr6k.js} +10 -10
  211. package/dist/chunks/{model-retry-qjgzc4b4.js → integration-qjgzc4b4.js} +1 -1
  212. package/dist/chunks/{model-retry-hjvwy4ms.js → integration-qjj39fzk.js} +35 -35
  213. package/dist/chunks/{model-retry-pzbahg37.js → integration-qmxyfk6f.js} +9 -9
  214. package/dist/chunks/{model-retry-3109wbwk.js → integration-qqfn68em.js} +17 -17
  215. package/dist/chunks/{model-retry-hawc6q6s.js → integration-qr09n5wa.js} +4 -4
  216. package/dist/chunks/{model-retry-r0yr0wbs.js → integration-r0yr0wbs.js} +1 -1
  217. package/dist/chunks/{model-retry-r542h3bh.js → integration-r542h3bh.js} +1 -1
  218. package/dist/chunks/{model-retry-m81bzjfe.js → integration-r7xar5ns.js} +8 -8
  219. package/dist/chunks/{model-retry-7pp4cpj7.js → integration-r9478m04.js} +2 -2
  220. package/dist/chunks/{model-retry-rb9dy4dg.js → integration-rb9dy4dg.js} +1 -1
  221. package/dist/chunks/{model-retry-6twykydk.js → integration-rjnacbrz.js} +9 -9
  222. package/dist/chunks/{model-retry-0zn5bfke.js → integration-rkpdfm1f.js} +27 -27
  223. package/dist/chunks/{model-retry-4q0yhm9h.js → integration-rrewaqtd.js} +4 -4
  224. package/dist/chunks/{model-retry-rt5dr6hb.js → integration-rt5dr6hb.js} +1 -1
  225. package/dist/chunks/{model-retry-db7k79f7.js → integration-s4vbq7v2.js} +20 -20
  226. package/dist/chunks/{model-retry-17cjzed1.js → integration-s7xmnr8t.js} +8 -8
  227. package/dist/chunks/{model-retry-h58n2v2h.js → integration-s8hzhf5a.js} +5 -5
  228. package/dist/chunks/{model-retry-9dx6tkdq.js → integration-s8p4z092.js} +14 -14
  229. package/dist/chunks/{model-retry-sa3fpqfw.js → integration-sa3fpqfw.js} +2 -2
  230. package/dist/chunks/{model-retry-bdw1mhts.js → integration-sjc0rtcr.js} +32 -32
  231. package/dist/chunks/{model-retry-t6j5m88d.js → integration-sp4szsb6.js} +11 -11
  232. package/dist/chunks/{model-retry-sqjzf8x2.js → integration-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{model-retry-425q9h2g.js → integration-sztnemvs.js} +19 -19
  234. package/dist/chunks/{model-retry-8322nd6s.js → integration-t63ar4cc.js} +36 -36
  235. package/dist/chunks/{model-retry-dher8hzb.js → integration-ta7szm67.js} +11 -11
  236. package/dist/chunks/{model-retry-tczq8hjw.js → integration-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{model-retry-hx4n917h.js → integration-tep6g6t6.js} +2 -2
  238. package/dist/chunks/{model-retry-tmgcn98f.js → integration-tq47yr9q.js} +9 -9
  239. package/dist/chunks/integration-twhys2c4.js +261 -0
  240. package/dist/chunks/{model-retry-twv2r8f4.js → integration-twv2r8f4.js} +2 -2
  241. package/dist/chunks/{model-retry-qnz3a88e.js → integration-txmkmbh1.js} +11 -11
  242. package/dist/chunks/{model-retry-v2r1d0zg.js → integration-v2r1d0zg.js} +1 -1
  243. package/dist/chunks/{model-retry-bb0y23dv.js → integration-v3v80szh.js} +6 -6
  244. package/dist/chunks/{model-retry-1yq9hg58.js → integration-v9ez2kgh.js} +5 -5
  245. package/dist/chunks/{model-retry-hhqqebc6.js → integration-vcz53cnc.js} +15 -15
  246. package/dist/chunks/{model-retry-vd3b3yk9.js → integration-vd3b3yk9.js} +1 -1
  247. package/dist/chunks/{model-retry-veqvce7d.js → integration-veqvce7d.js} +1 -1
  248. package/dist/chunks/{model-retry-eqmd2tfz.js → integration-vmfhgzt5.js} +7 -7
  249. package/dist/chunks/{model-retry-82vzzvc0.js → integration-vs2m3t8d.js} +15 -15
  250. package/dist/chunks/{model-retry-pzm5e1e5.js → integration-w1qfq64t.js} +1 -1
  251. package/dist/chunks/{model-retry-2we1d0jv.js → integration-w22292kr.js} +37 -37
  252. package/dist/chunks/{model-retry-1602d4m9.js → integration-w22yp63b.js} +9 -9
  253. package/dist/chunks/{model-retry-5enarcya.js → integration-w2eysc6j.js} +6 -6
  254. package/dist/chunks/{model-retry-jvasdgem.js → integration-w3ewejsb.js} +16 -16
  255. package/dist/chunks/{model-retry-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{model-retry-wakvkjy4.js → integration-wakvkjy4.js} +1 -1
  257. package/dist/chunks/{model-retry-vphhrdzm.js → integration-wb5aj4gb.js} +30 -30
  258. package/dist/chunks/{model-retry-wd87259q.js → integration-wd87259q.js} +1 -1
  259. package/dist/chunks/{model-retry-y1rtgf89.js → integration-weewmp9q.js} +24 -24
  260. package/dist/chunks/{model-retry-745re5am.js → integration-wf2cyww0.js} +5 -5
  261. package/dist/chunks/{model-retry-27994c7b.js → integration-wr8dn7z1.js} +5 -5
  262. package/dist/chunks/{model-retry-46h6vvs4.js → integration-x38zy5q9.js} +5 -5
  263. package/dist/chunks/{model-retry-58sptegr.js → integration-x5jmwpjz.js} +43 -43
  264. package/dist/chunks/{model-retry-n4g6yntc.js → integration-xap91x1p.js} +10 -10
  265. package/dist/chunks/{model-retry-bstexjd6.js → integration-xd9cc171.js} +5 -5
  266. package/dist/chunks/{model-retry-bje4knzw.js → integration-xgb9jx38.js} +6 -6
  267. package/dist/chunks/{model-retry-rrq81g5f.js → integration-xjdsgsgc.js} +15 -15
  268. package/dist/chunks/{model-retry-cbyrzr95.js → integration-xkpbrv2c.js} +30 -30
  269. package/dist/chunks/{model-retry-t9hc3t3t.js → integration-xm8dep68.js} +18 -18
  270. package/dist/chunks/{model-retry-sdxwz4vj.js → integration-xs0pgsh6.js} +3 -3
  271. package/dist/chunks/{model-retry-zzsxzmp1.js → integration-y8bhjcew.js} +21 -21
  272. package/dist/chunks/{model-retry-yb20nhc3.js → integration-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{model-retry-5shay012.js → integration-yc8z54tz.js} +22 -22
  274. package/dist/chunks/{model-retry-b0qepsp5.js → integration-yh280zkr.js} +20 -20
  275. package/dist/chunks/{model-retry-0j1r4c82.js → integration-yyqzfxc7.js} +2 -2
  276. package/dist/chunks/{model-retry-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{model-retry-4drgpw32.js → integration-z2qbjhyn.js} +5 -5
  278. package/dist/chunks/{model-retry-z38nccrw.js → integration-z38nccrw.js} +1 -1
  279. package/dist/chunks/{model-retry-axqdy1rc.js → integration-z7qgckdk.js} +41 -41
  280. package/dist/chunks/{model-retry-p5t4xveb.js → integration-z7wnyb4t.js} +5 -5
  281. package/dist/chunks/{model-retry-5dewdarb.js → integration-z8ym8esj.js} +13 -13
  282. package/dist/chunks/{model-retry-xfv5zx0r.js → integration-z9kr5gn7.js} +11 -11
  283. package/dist/chunks/{model-retry-zkg84ctx.js → integration-zkg84ctx.js} +1 -1
  284. package/dist/chunks/{model-retry-0nd9gsrv.js → integration-zmwx25fz.js} +2 -2
  285. package/dist/chunks/{model-retry-qwc3x251.js → integration-zrdtx4x3.js} +12 -12
  286. package/dist/chunks/{model-retry-debkngxd.js → integration-zwmk0vgz.js} +8 -8
  287. package/dist/chunks/{model-retry-p3ns8jke.js → integration-zx7azpzt.js} +22 -22
  288. package/dist/chunks/{model-retry-zzdv5d93.js → integration-zzdv5d93.js} +1 -1
  289. package/dist/chunks/{model-retry-hjg4cfjr.js → integration-zzpc27z9.js} +61 -61
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +87 -87
  295. package/dist/config/discovery.js +87 -87
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +104 -104
  298. package/dist/config/plugin/agent.js +118 -118
  299. package/dist/config/plugin/command.js +214 -214
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +119 -119
  304. package/dist/config/plugin/image.js +118 -118
  305. package/dist/config/plugin/instruction.js +118 -118
  306. package/dist/config/plugin/location-watcher.js +118 -118
  307. package/dist/config/plugin/mcp.js +125 -125
  308. package/dist/config/plugin/policy.js +119 -119
  309. package/dist/config/plugin/provider.js +118 -118
  310. package/dist/config/plugin/reference.js +120 -120
  311. package/dist/config/plugin/shell.js +120 -120
  312. package/dist/config/plugin/skill-file.js +107 -107
  313. package/dist/config/plugin/skill-scan.js +1 -1
  314. package/dist/config/plugin/skill.js +140 -140
  315. package/dist/config/plugin/snapshot.js +118 -118
  316. package/dist/config/plugin/source.js +115 -115
  317. package/dist/config/plugin/tool-output.js +119 -119
  318. package/dist/config/plugin/websearch.js +119 -119
  319. package/dist/config/plugin/worktree.js +120 -120
  320. package/dist/config/variable.js +1 -1
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/console-access.js +1 -1
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +87 -87
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  392. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  393. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  394. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  395. package/dist/database/migration.gen.js +53 -53
  396. package/dist/database/migration.js +55 -55
  397. package/dist/database/path.js +2 -2
  398. package/dist/database/schema.gen.js +1 -1
  399. package/dist/database/schema.sql.js +1 -1
  400. package/dist/database/sqlite.bun.js +1 -1
  401. package/dist/database/sqlite.js +1 -1
  402. package/dist/database/sqlite.node.js +1 -1
  403. package/dist/database/sqlite.workerd.js +1 -1
  404. package/dist/database/v1-migration.bun.js +97 -97
  405. package/dist/database/v1-migration.js +1 -1
  406. package/dist/effect/app-node-builder.js +374 -374
  407. package/dist/effect/app-node-platform.js +2 -2
  408. package/dist/effect/keyed-mutex.js +1 -1
  409. package/dist/effect/websocket-constructor.js +1 -1
  410. package/dist/environment/driver.js +1 -1
  411. package/dist/environment/environment.js +98 -98
  412. package/dist/environment/exec-defaults.js +2 -2
  413. package/dist/environment/files.js +1 -1
  414. package/dist/environment/index.js +98 -98
  415. package/dist/environment/local.js +2 -2
  416. package/dist/environment/memory.js +2 -2
  417. package/dist/environment/unavailable.js +3 -3
  418. package/dist/event/sql.js +1 -1
  419. package/dist/event-logger.js +74 -74
  420. package/dist/file-access.js +109 -109
  421. package/dist/file-mutation.js +99 -99
  422. package/dist/file-retention.js +1 -1
  423. package/dist/filesystem/fff.bun.js +2 -2
  424. package/dist/filesystem/fff.js +1 -1
  425. package/dist/filesystem/fff.node.js +2 -2
  426. package/dist/filesystem/fff.workerd.js +2 -2
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +223 -223
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +102 -102
  431. package/dist/filesystem/watcher-binding.js +1 -1
  432. package/dist/filesystem/watcher.js +11 -11
  433. package/dist/filesystem.js +107 -107
  434. package/dist/form.js +88 -88
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +92 -92
  437. package/dist/generate.js +112 -112
  438. package/dist/git.js +11 -11
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +104 -104
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +365 -365
  462. package/dist/instruction-discovery.js +88 -88
  463. package/dist/instructions/builtins.js +92 -92
  464. package/dist/instructions/index.js +1 -1
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +85 -85
  467. package/dist/job.js +82 -82
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +77 -77
  470. package/dist/location-activity.js +158 -158
  471. package/dist/location-lifecycle.js +112 -112
  472. package/dist/location-service-map.js +91 -91
  473. package/dist/location-services.js +362 -362
  474. package/dist/location.js +92 -92
  475. package/dist/managed-policy.js +8 -8
  476. package/dist/mcp/client.js +96 -96
  477. package/dist/mcp/index.js +110 -110
  478. package/dist/mcp/instructions.js +143 -143
  479. package/dist/mcp/oauth.js +82 -82
  480. package/dist/mcp/socket-client.js +1 -1
  481. package/dist/mcp/stdio.js +95 -95
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +104 -104
  484. package/dist/model-resolver.js +104 -104
  485. package/dist/model-retry.js +1 -1
  486. package/dist/model.js +101 -101
  487. package/dist/models-dev.js +102 -102
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +86 -86
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +114 -114
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +92 -92
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +79 -79
  497. package/dist/plugin/agent.js +78 -78
  498. package/dist/plugin/command.js +105 -105
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +5 -5
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +335 -335
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +101 -101
  506. package/dist/plugin/module.js +119 -119
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +107 -107
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +95 -95
  511. package/dist/plugin/provider/azure.js +118 -118
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/chatgpt.js +118 -118
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +114 -114
  518. package/dist/plugin/provider/databricks.js +1 -1
  519. package/dist/plugin/provider/digitalocean.js +98 -98
  520. package/dist/plugin/provider/dynamic.js +2 -2
  521. package/dist/plugin/provider/factory.js +1 -1
  522. package/dist/plugin/provider/github-copilot.js +100 -100
  523. package/dist/plugin/provider/gitlab.js +98 -98
  524. package/dist/plugin/provider/google-vertex.js +115 -115
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +82 -82
  527. package/dist/plugin/provider/lmstudio.js +127 -127
  528. package/dist/plugin/provider/local.js +124 -124
  529. package/dist/plugin/provider/modal.js +97 -97
  530. package/dist/plugin/provider/neon.js +1 -1
  531. package/dist/plugin/provider/nvidia.js +1 -1
  532. package/dist/plugin/provider/ollama.js +127 -127
  533. package/dist/plugin/provider/openai-context-caps.js +95 -95
  534. package/dist/plugin/provider/openai.js +120 -120
  535. package/dist/plugin/provider/opencode.js +104 -104
  536. package/dist/plugin/provider/openrouter.js +96 -96
  537. package/dist/plugin/provider/perplexity.js +2 -2
  538. package/dist/plugin/provider/poe.js +83 -83
  539. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  540. package/dist/plugin/provider/sap-ai-core.js +96 -96
  541. package/dist/plugin/provider/sdk-factory.js +1 -1
  542. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  543. package/dist/plugin/provider/vercel.js +95 -95
  544. package/dist/plugin/provider/vllm.js +127 -127
  545. package/dist/plugin/provider/xai.js +96 -96
  546. package/dist/plugin/provider/zenmux.js +1 -1
  547. package/dist/plugin/provider.js +171 -171
  548. package/dist/plugin/sdk.js +80 -80
  549. package/dist/plugin/service.js +3 -3
  550. package/dist/plugin/skill.js +136 -136
  551. package/dist/plugin/source-directory.js +1 -1
  552. package/dist/plugin/supervisor.js +350 -350
  553. package/dist/plugin/tool-input-repair.js +4 -4
  554. package/dist/plugin/update.js +6 -6
  555. package/dist/plugin/vcs/git.js +91 -91
  556. package/dist/plugin/vcs/hg.js +91 -91
  557. package/dist/plugin/verbosity.js +98 -98
  558. package/dist/plugin/warming.js +116 -116
  559. package/dist/plugin/websearch/exa.js +5 -5
  560. package/dist/plugin/websearch/firecrawl.js +8 -8
  561. package/dist/plugin/websearch/index.js +9 -9
  562. package/dist/plugin/websearch/mcp.js +4 -4
  563. package/dist/plugin/websearch/parallel.js +8 -8
  564. package/dist/plugin/websearch/tavily.js +4 -4
  565. package/dist/plugin/websearch/tinyfish.js +6 -6
  566. package/dist/plugin.js +231 -231
  567. package/dist/project/schema.js +6 -6
  568. package/dist/project/sql.js +4 -4
  569. package/dist/project.js +95 -95
  570. package/dist/provider.js +98 -98
  571. package/dist/pty/protocol.js +1 -1
  572. package/dist/pty/ticket.js +1 -1
  573. package/dist/pty.js +101 -101
  574. package/dist/reference/instructions.js +92 -92
  575. package/dist/reference.js +94 -94
  576. package/dist/repository-cache.js +86 -86
  577. package/dist/repository.js +3 -3
  578. package/dist/ripgrep/binary.js +2 -2
  579. package/dist/ripgrep.js +100 -100
  580. package/dist/rpc.js +91 -91
  581. package/dist/schema.js +1 -1
  582. package/dist/session/affinity.js +1 -1
  583. package/dist/session/command.js +78 -78
  584. package/dist/session/compaction.js +141 -141
  585. package/dist/session/context.js +167 -167
  586. package/dist/session/diff.js +93 -93
  587. package/dist/session/environment.js +5 -5
  588. package/dist/session/error.js +5 -5
  589. package/dist/session/event.js +1 -1
  590. package/dist/session/execution/restart.js +223 -223
  591. package/dist/session/execution.js +133 -133
  592. package/dist/session/generate.js +169 -169
  593. package/dist/session/history.js +13 -13
  594. package/dist/session/inbox.js +99 -99
  595. package/dist/session/info.js +3 -3
  596. package/dist/session/instruction-entry.js +81 -81
  597. package/dist/session/instruction-state.js +8 -8
  598. package/dist/session/instructions.js +102 -102
  599. package/dist/session/message-updater.js +2 -2
  600. package/dist/session/message.js +1 -1
  601. package/dist/session/model-request.js +125 -125
  602. package/dist/session/model-transport.js +9 -9
  603. package/dist/session/move.js +135 -135
  604. package/dist/session/projector.js +93 -93
  605. package/dist/session/prompt.js +110 -110
  606. package/dist/session/recent-text.js +1 -1
  607. package/dist/session/revert.js +99 -99
  608. package/dist/session/run-coordinator.js +3 -3
  609. package/dist/session/runner/index.js +3 -3
  610. package/dist/session/runner/llm.js +231 -231
  611. package/dist/session/runner/max-steps.js +1 -1
  612. package/dist/session/runner/model.js +105 -105
  613. package/dist/session/runner/publish-llm-event.js +118 -118
  614. package/dist/session/runner/retry.js +5 -5
  615. package/dist/session/runner/step.js +129 -129
  616. package/dist/session/runner/to-llm-message.js +14 -14
  617. package/dist/session/schema.js +5 -5
  618. package/dist/session/session.js +165 -165
  619. package/dist/session/shell.js +132 -132
  620. package/dist/session/skill.js +108 -108
  621. package/dist/session/sql.js +5 -5
  622. package/dist/session/stats.js +77 -77
  623. package/dist/session/store.js +89 -89
  624. package/dist/session/subagent-completion.js +1 -1
  625. package/dist/session/subagent-job.js +214 -214
  626. package/dist/session/system-prompt.js +5 -5
  627. package/dist/session/title.js +165 -165
  628. package/dist/session/to-session-error.js +117 -117
  629. package/dist/session/transfer.js +219 -219
  630. package/dist/session/usage.js +1 -1
  631. package/dist/session.js +220 -220
  632. package/dist/shell/parse.js +6 -6
  633. package/dist/shell/result.js +1 -1
  634. package/dist/shell/scan.js +1 -1
  635. package/dist/shell/select.js +15 -15
  636. package/dist/shell.js +134 -134
  637. package/dist/skill/discovery.js +6 -6
  638. package/dist/skill/instructions.js +110 -110
  639. package/dist/skill.js +113 -113
  640. package/dist/snapshot.js +96 -96
  641. package/dist/state.js +1 -1
  642. package/dist/tool/html-markdown.js +1 -1
  643. package/dist/tool/http-body.js +1 -1
  644. package/dist/tool/mcp.js +142 -142
  645. package/dist/tool/plugin/edit.js +125 -125
  646. package/dist/tool/plugin/file-diff.js +1 -1
  647. package/dist/tool/plugin/glob.js +129 -129
  648. package/dist/tool/plugin/grep.js +127 -127
  649. package/dist/tool/plugin/mcp-resource.js +129 -129
  650. package/dist/tool/plugin/opencode.js +114 -114
  651. package/dist/tool/plugin/patch.js +127 -127
  652. package/dist/tool/plugin/question.js +108 -108
  653. package/dist/tool/plugin/read.js +128 -128
  654. package/dist/tool/plugin/shell.js +215 -215
  655. package/dist/tool/plugin/skill.js +118 -118
  656. package/dist/tool/plugin/subagent.js +221 -221
  657. package/dist/tool/plugin/todo.js +140 -140
  658. package/dist/tool/plugin/webfetch.js +116 -116
  659. package/dist/tool/plugin/websearch.js +117 -117
  660. package/dist/tool/plugin/write.js +125 -125
  661. package/dist/tool/read-filesystem.js +105 -105
  662. package/dist/tool/runtime.js +1 -1
  663. package/dist/tool-output.js +7 -7
  664. package/dist/tool.js +12 -12
  665. package/dist/usage-limits.js +93 -93
  666. package/dist/util/error-summary.js +1 -1
  667. package/dist/util/git-executable.js +3 -3
  668. package/dist/util/lazy.js +1 -1
  669. package/dist/util/slug.js +1 -1
  670. package/dist/util/token.js +1 -1
  671. package/dist/util/which.js +1 -1
  672. package/dist/util/wildcard.js +1 -1
  673. package/dist/v1/config/agent.js +5 -5
  674. package/dist/v1/config/command.js +3 -3
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +97 -97
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/variant.js +96 -96
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +94 -94
  684. package/dist/voice.js +92 -92
  685. package/dist/websearch.js +86 -86
  686. package/dist/wellknown/plugin.js +80 -80
  687. package/dist/wellknown.js +85 -85
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +86 -86
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +11 -11
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +92 -92
  695. package/dist/worktree.js +99 -99
  696. package/package.json +8 -8
  697. package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
  698. package/dist/chunks/model-retry-ckzsjma5.js +0 -26
  699. package/dist/chunks/model-retry-gfm4ps3x.js +0 -261
  700. /package/dist/chunks/{model-retry-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{model-retry-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{model-retry-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{model-retry-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{model-retry-24dcb14g.js → integration-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{model-retry-2710q6r3.js → integration-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{model-retry-2bv980vf.js → integration-2bv980vf.js} +0 -0
  707. /package/dist/chunks/{model-retry-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{model-retry-359p4xyc.js → integration-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{model-retry-3asan66x.js → integration-3asan66x.js} +0 -0
  710. /package/dist/chunks/{model-retry-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{model-retry-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{model-retry-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{model-retry-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{model-retry-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{model-retry-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{model-retry-53557ph1.js → integration-53557ph1.js} +0 -0
  717. /package/dist/chunks/{model-retry-550bvhaj.js → integration-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{model-retry-5fjb7ams.js → integration-5fjb7ams.js} +0 -0
  719. /package/dist/chunks/{model-retry-6prwharc.js → integration-6prwharc.js} +0 -0
  720. /package/dist/chunks/{model-retry-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
  721. /package/dist/chunks/{model-retry-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{model-retry-7m9af43g.js → integration-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{model-retry-822emrt2.js → integration-822emrt2.js} +0 -0
  724. /package/dist/chunks/{model-retry-84wd9syh.js → integration-84wd9syh.js} +0 -0
  725. /package/dist/chunks/{model-retry-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{model-retry-8n3pysct.js → integration-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{model-retry-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{model-retry-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{model-retry-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{model-retry-a058387c.js → integration-a058387c.js} +0 -0
  731. /package/dist/chunks/{model-retry-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{model-retry-af5trqkr.js → integration-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{model-retry-afrmfg78.js → integration-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{model-retry-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{model-retry-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{model-retry-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{model-retry-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{model-retry-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{model-retry-cqv5kn06.js → integration-cqv5kn06.js} +0 -0
  740. /package/dist/chunks/{model-retry-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{model-retry-d9fn303g.js → integration-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{model-retry-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{model-retry-dajrwvna.js → integration-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{model-retry-dap0rakb.js → integration-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{model-retry-df08tz66.js → integration-df08tz66.js} +0 -0
  746. /package/dist/chunks/{model-retry-dy18nga0.js → integration-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{model-retry-e3qxr5gk.js → integration-e3qxr5gk.js} +0 -0
  748. /package/dist/chunks/{model-retry-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{model-retry-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{model-retry-ec1grn59.js → integration-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{model-retry-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{model-retry-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{model-retry-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{model-retry-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{model-retry-faypxj3z.js → integration-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{model-retry-fd410y7t.js → integration-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{model-retry-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{model-retry-g86h250q.js → integration-g86h250q.js} +0 -0
  759. /package/dist/chunks/{model-retry-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{model-retry-gftt206x.js → integration-gftt206x.js} +0 -0
  761. /package/dist/chunks/{model-retry-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
  762. /package/dist/chunks/{model-retry-hk9envan.js → integration-hk9envan.js} +0 -0
  763. /package/dist/chunks/{model-retry-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{model-retry-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{model-retry-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{model-retry-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{model-retry-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{model-retry-jwr30sdr.js → integration-jwr30sdr.js} +0 -0
  769. /package/dist/chunks/{model-retry-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
  770. /package/dist/chunks/{model-retry-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{model-retry-m18g726c.js → integration-m18g726c.js} +0 -0
  772. /package/dist/chunks/{model-retry-mp448xyj.js → integration-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{model-retry-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{model-retry-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{model-retry-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{model-retry-njntx4h6.js → integration-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{model-retry-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
  778. /package/dist/chunks/{model-retry-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{model-retry-q74kybfr.js → integration-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{model-retry-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{model-retry-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{model-retry-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{model-retry-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{model-retry-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{model-retry-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{model-retry-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{model-retry-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{model-retry-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
  789. /package/dist/chunks/{model-retry-w803qqfp.js → integration-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{model-retry-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{model-retry-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{model-retry-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
  793. /package/dist/chunks/{model-retry-wtztk69x.js → integration-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{model-retry-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{model-retry-x61499pn.js → integration-x61499pn.js} +0 -0
  796. /package/dist/chunks/{model-retry-y44na4kk.js → integration-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{model-retry-y8f7s663.js → integration-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{model-retry-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{model-retry-ym463w8f.js → integration-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{model-retry-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
  801. /package/dist/chunks/{model-retry-z9919s4g.js → integration-z9919s4g.js} +0 -0
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service56
3
- } from "./model-retry-1m6xs2a7.js";
2
+ Service74
3
+ } from "./integration-gjatpjy7.js";
4
4
  import {
5
- Service14,
5
+ Service68,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./model-retry-q5jvcvf9.js";
8
+ } from "./integration-21wsmemr.js";
9
9
  import {
10
- Service13
11
- } from "./model-retry-hhqqebc6.js";
10
+ Service14
11
+ } from "./integration-vcz53cnc.js";
12
12
  import {
13
- Service67
14
- } from "./model-retry-fx6779qx.js";
13
+ Service52
14
+ } from "./integration-9r1sq0hf.js";
15
15
  import {
16
- Service22
17
- } from "./model-retry-t9hc3t3t.js";
16
+ Service15
17
+ } from "./integration-xm8dep68.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./model-retry-6prwharc.js";
20
+ } from "./integration-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./integration-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input10,
29
- Output: () => Output9,
30
- Plugin: () => Plugin45,
28
+ Input: () => Input11,
29
+ Output: () => Output8,
30
+ Plugin: () => Plugin12,
31
31
  WriteTool: () => exports_write,
32
- name: () => name10,
32
+ name: () => name11,
33
33
  toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai/effect";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name10 = "write";
39
- var Input10 = Schema.Struct({
38
+ var name11 = "write";
39
+ var Input11 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output9 = Schema.Struct({
45
+ var Output8 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
51
  var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin45 = {
52
+ var Plugin12 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service22;
56
- const fileMutation = yield* Service14;
57
- const environment = yield* Service56;
58
- const formatter = yield* Service13;
59
- const permission = yield* Service67;
55
+ const access = yield* Service15;
56
+ const fileMutation = yield* Service68;
57
+ const environment = yield* Service74;
58
+ const formatter = yield* Service14;
59
+ const permission = yield* Service52;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name10,
61
+ name: name11,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input10,
69
- output: Output9,
68
+ input: Input11,
69
+ output: Output8,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
98
98
  })
99
99
  };
100
100
 
101
- export { name10, Input10, Output9, toModelContent6, Plugin45, exports_write };
101
+ export { name11, Input11, Output8, toModelContent6, Plugin12, exports_write };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-retry-gftt206x.js";
3
+ } from "./integration-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./integration-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  isTextual2
3
- } from "./model-retry-2z1j29yd.js";
3
+ } from "./integration-2z1j29yd.js";
4
4
  import {
5
- Service67
6
- } from "./model-retry-fx6779qx.js";
5
+ Service52
6
+ } from "./integration-9r1sq0hf.js";
7
7
  import {
8
8
  MAX_MARKDOWN_BYTES2,
9
9
  convertHTMLToMarkdown2
10
- } from "./model-retry-4vcrnpx2.js";
10
+ } from "./integration-4vcrnpx2.js";
11
11
  import {
12
12
  collectBoundedResponseBody2
13
- } from "./model-retry-3v8g72cx.js";
13
+ } from "./integration-3v8g72cx.js";
14
14
  import {
15
15
  __export
16
- } from "./model-retry-9rqn6x4v.js";
16
+ } from "./integration-9rqn6x4v.js";
17
17
 
18
18
  // src/tool/plugin/webfetch.ts
19
19
  var exports_webfetch = {};
20
20
  __export(exports_webfetch, {
21
21
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
22
- Input: () => Input12,
23
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
22
+ Input: () => Input8,
23
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
24
24
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
25
- Plugin: () => Plugin48,
25
+ Plugin: () => Plugin9,
26
26
  WebFetchTool: () => exports_webfetch,
27
27
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
28
28
  description: () => description5,
29
29
  extractTextFromHTML: () => extractTextFromHTML2,
30
- name: () => name12
30
+ name: () => name8
31
31
  });
32
32
  import { ToolFailure } from "@opencode/ai/effect";
33
33
  import { Duration, Effect, Schema } from "effect";
34
34
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
35
35
  import { Parser } from "htmlparser2";
36
- var name12 = "webfetch";
37
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
36
+ var name8 = "webfetch";
37
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
38
38
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
39
39
  var MAX_TIMEOUT_SECONDS2 = 120;
40
40
  var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
41
41
 
42
42
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
43
43
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
44
- var Input12 = Schema.Struct({
44
+ var Input8 = Schema.Struct({
45
45
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
46
46
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
47
47
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -51,7 +51,7 @@ var Input12 = Schema.Struct({
51
51
  var Output = Schema.Struct({
52
52
  url: Schema.String,
53
53
  contentType: Schema.String,
54
- format: Input12.fields.format,
54
+ format: Input8.fields.format,
55
55
  output: Schema.String
56
56
  });
57
57
  var acceptHeader = (format) => {
@@ -82,7 +82,7 @@ var assertHttpUrl = (url) => {
82
82
  throw new Error("URL must use http:// or https://");
83
83
  };
84
84
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
85
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
85
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
86
86
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
87
87
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
88
88
  var convert = (content, contentType, format) => {
@@ -94,16 +94,16 @@ var convert = (content, contentType, format) => {
94
94
  return extractTextFromHTML2(content);
95
95
  return content;
96
96
  };
97
- var Plugin48 = {
97
+ var Plugin9 = {
98
98
  id: "opencode.tool.webfetch",
99
99
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
100
100
  const http = yield* HttpClient.HttpClient;
101
- const permission = yield* Service67;
101
+ const permission = yield* Service52;
102
102
  yield* ctx.tool.transform((editor) => editor.add({
103
- name: name12,
103
+ name: name8,
104
104
  options: { codemode: false },
105
105
  description: description5,
106
- input: Input12,
106
+ input: Input8,
107
107
  output: Output,
108
108
  execute: (input, context) => Effect.gen(function* () {
109
109
  yield* Effect.try({
@@ -111,7 +111,7 @@ var Plugin48 = {
111
111
  catch: (error) => error
112
112
  });
113
113
  yield* permission.assert({
114
- action: name12,
114
+ action: name8,
115
115
  resources: [input.url],
116
116
  save: ["*"],
117
117
  metadata: input,
@@ -169,4 +169,4 @@ function extractTextFromHTML2(html) {
169
169
  parser.end();
170
170
  return text.trim();
171
171
  }
172
- export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin48, extractTextFromHTML2, exports_webfetch };
172
+ export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input8, Plugin9, extractTextFromHTML2, exports_webfetch };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./model-retry-gftt206x.js";
3
+ } from "./integration-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./model-retry-8whp40kv.js";
6
+ } from "./integration-my4zabxr.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./integration-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -20,7 +20,7 @@ __export(exports_error, {
20
20
  InvalidListCursorError: () => InvalidListCursorError2,
21
21
  MessageDecodeError: () => MessageDecodeError2,
22
22
  MessageNotFoundError: () => MessageNotFoundError2,
23
- NotFoundError: () => NotFoundError9,
23
+ NotFoundError: () => NotFoundError8,
24
24
  PromptConflictError: () => PromptConflictError2,
25
25
  SessionErrors: () => exports_error,
26
26
  SkillNotFoundError: () => SkillNotFoundError2,
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
32
32
  import { Skill } from "@opencode/schema/skill";
33
33
  import { SessionError } from "@opencode/schema/session-error";
34
34
 
35
- class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
35
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
36
36
  sessionID: SessionSchema2.ID
37
37
  }) {
38
38
  }
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
123
123
  }) {
124
124
  }
125
125
 
126
- export { NotFoundError9, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
126
+ export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-retry-g91txfza.js";
4
+ } from "./integration-582km8zz.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./model-retry-rb9dy4dg.js";
9
+ } from "./integration-rb9dy4dg.js";
10
10
  import {
11
11
  root2
12
- } from "./model-retry-axqdy1rc.js";
12
+ } from "./integration-z7qgckdk.js";
13
13
  import {
14
- Service77,
15
- node81
16
- } from "./model-retry-jvasdgem.js";
14
+ Service76,
15
+ node80
16
+ } from "./integration-w3ewejsb.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./model-retry-vd3b3yk9.js";
20
+ } from "./integration-vd3b3yk9.js";
21
21
  import {
22
22
  __export
23
- } from "./model-retry-9rqn6x4v.js";
23
+ } from "./integration-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info4,
32
+ Info: () => Info20,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service18,
35
+ Service: () => Service65,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node21
37
+ node: () => node67
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service18 extends Context.Service()("@opencode/Vcs") {
57
+ class Service65 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service18, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service77;
61
+ const location = yield* Service76;
62
62
  const bus = yield* Service86;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service18.of({
132
+ return Service65.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node21 = makeLocationNode({
191
- service: Service18,
190
+ var node67 = makeLocationNode({
191
+ service: Service65,
192
192
  layer,
193
- deps: [FSUtil.node, node81, node90]
193
+ deps: [FSUtil.node, node80, node90]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service18, node21, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info20, Mode2, DiffError2, InitializeError2, Service65, node67, exports_vcs };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service86
3
- } from "./model-retry-g91txfza.js";
3
+ } from "./integration-582km8zz.js";
4
4
  import {
5
- Service77
6
- } from "./model-retry-jvasdgem.js";
5
+ Service76
6
+ } from "./integration-w3ewejsb.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service36
10
- } from "./model-retry-qq9g4at8.js";
9
+ Service32
10
+ } from "./integration-74yt0vzq.js";
11
11
  import {
12
12
  __export
13
- } from "./model-retry-9rqn6x4v.js";
13
+ } from "./integration-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
16
  var exports_command2 = {};
17
17
  __export(exports_command2, {
18
18
  CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin31
19
+ Plugin: () => Plugin45
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin31 = define({
196
+ var Plugin45 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service77;
200
- const mcp = yield* Service36;
199
+ const location = yield* Service76;
200
+ const mcp = yield* Service32;
201
201
  const bus = yield* Service86;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin31, exports_command2 };
283
+ export { Plugin45, exports_command2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./model-retry-skd7ds45.js";
3
+ } from "./integration-n6y7mxjs.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make8 = createLocalProviderPlugin2({
22
+ var make7 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make8();
41
+ var LMStudioPlugin2 = make7();
42
42
 
43
- export { make8, LMStudioPlugin2 };
43
+ export { make7, LMStudioPlugin2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service84
3
- } from "./model-retry-ny7d5fer.js";
2
+ Service82
3
+ } from "./integration-1bs2cpw9.js";
4
4
  import {
5
- Service67
6
- } from "./model-retry-fx6779qx.js";
5
+ Service52
6
+ } from "./integration-9r1sq0hf.js";
7
7
  import {
8
8
  __export
9
- } from "./model-retry-9rqn6x4v.js";
9
+ } from "./integration-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin51,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name15,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai/effect";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name15 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin51 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service84;
57
- const permission = yield* Service67;
56
+ const forms = yield* Service82;
57
+ const permission = yield* Service52;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name15,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
120
+ export { name15, description6, Input14, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
@@ -3,29 +3,29 @@ import {
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./model-retry-e5dqjz6v.js";
6
+ } from "./integration-e5dqjz6v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./model-retry-fx6779qx.js";
9
+ } from "./integration-9r1sq0hf.js";
10
10
  import {
11
- Service36,
12
- node39
13
- } from "./model-retry-qq9g4at8.js";
11
+ Service32,
12
+ node36
13
+ } from "./integration-74yt0vzq.js";
14
14
  import {
15
15
  namespace2,
16
- name15
17
- } from "./model-retry-wa0020sp.js";
16
+ name14
17
+ } from "./integration-cdpx3xqr.js";
18
18
  import {
19
19
  __export
20
- } from "./model-retry-9rqn6x4v.js";
20
+ } from "./integration-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions5 = {};
24
- __export(exports_instructions5, {
25
- McpInstructions: () => exports_instructions5,
26
- Service: () => Service33,
27
- layer: () => layer15,
28
- node: () => node36
23
+ var exports_instructions2 = {};
24
+ __export(exports_instructions2, {
25
+ McpInstructions: () => exports_instructions2,
26
+ Service: () => Service23,
27
+ layer: () => layer12,
28
+ node: () => node26
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -65,11 +65,11 @@ var update = (previous, current) => {
65
65
  `);
66
66
  };
67
67
 
68
- class Service33 extends Context.Service()("@opencode/McpInstructions") {
68
+ class Service23 extends Context.Service()("@opencode/McpInstructions") {
69
69
  }
70
- var layer15 = Layer.effect(Service33, Effect.gen(function* () {
71
- const mcp = yield* Service36;
72
- return Service33.of({
70
+ var layer12 = Layer.effect(Service23, Effect.gen(function* () {
71
+ const mcp = yield* Service32;
72
+ return Service23.of({
73
73
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
74
74
  const source = (value) => make20({
75
75
  key: Key3.make("core/mcp-guidance"),
@@ -90,7 +90,7 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
90
90
  const codemode = owned[0]?.codemode !== false;
91
91
  if (codemode && !canExecute)
92
92
  return [];
93
- if (!owned.some((tool) => evaluate2(name15(tool.server, tool.name), "*", permissions).effect !== "deny"))
93
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
94
94
  return [];
95
95
  return [
96
96
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -100,6 +100,6 @@ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node36 = makeLocationNode({ service: Service33, layer: layer15, deps: [node39] });
103
+ var node26 = makeLocationNode({ service: Service23, layer: layer12, deps: [node36] });
104
104
 
105
- export { Service33, layer15, node36, exports_instructions5 };
105
+ export { Service23, layer12, node26, exports_instructions2 };