@opencode/core 0.0.0-dev-20929 → 0.0.0-dev-20931

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{file-retention-49w1mq62.js → integration-075r751x.js} +17 -17
  8. package/dist/chunks/{file-retention-hjz6y5g1.js → integration-0a5svcmh.js} +21 -21
  9. package/dist/chunks/{file-retention-4c3h6hpn.js → integration-0f7d753h.js} +23 -23
  10. package/dist/chunks/{file-retention-q0xm7vwc.js → integration-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{file-retention-6hjx5zpb.js → integration-0jq9fyba.js} +9 -9
  12. package/dist/chunks/{file-retention-6m4cckbz.js → integration-0khr6rqs.js} +33 -33
  13. package/dist/chunks/{file-retention-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{file-retention-2k6rjgm4.js → integration-0wz9q52x.js} +25 -25
  15. package/dist/chunks/{file-retention-gwh9kr66.js → integration-1113as0s.js} +9 -9
  16. package/dist/chunks/{file-retention-vc8we0jp.js → integration-122em65s.js} +38 -38
  17. package/dist/chunks/{file-retention-86jdacch.js → integration-13frkkp2.js} +3 -3
  18. package/dist/chunks/{file-retention-bmr56wjg.js → integration-1j6m29mr.js} +9 -9
  19. package/dist/chunks/{file-retention-zsr4wwhv.js → integration-1rn5pcm9.js} +4 -4
  20. package/dist/chunks/integration-1x11rq2a.js +18 -0
  21. package/dist/chunks/{file-retention-sykc9y4a.js → integration-23kefcxh.js} +5 -5
  22. package/dist/chunks/{file-retention-harftj5f.js → integration-2867kdp4.js} +32 -32
  23. package/dist/chunks/{file-retention-4ts7tf6z.js → integration-2ccvkpx1.js} +2 -2
  24. package/dist/chunks/{file-retention-2rp67tjk.js → integration-2h81vr2k.js} +1 -1
  25. package/dist/chunks/{file-retention-b674v2dg.js → integration-2k9fjx65.js} +5 -5
  26. package/dist/chunks/{file-retention-0afhz533.js → integration-2my82rfs.js} +14 -14
  27. package/dist/chunks/{file-retention-f3742086.js → integration-2n79kke4.js} +9 -9
  28. package/dist/chunks/{file-retention-e5fg3ypj.js → integration-35b68s5f.js} +36 -36
  29. package/dist/chunks/{file-retention-5pyjqqve.js → integration-35ja2k0w.js} +2 -2
  30. package/dist/chunks/{file-retention-130m1mg1.js → integration-39yhh44v.js} +41 -41
  31. package/dist/chunks/{file-retention-407ckzg2.js → integration-3aqjt3pg.js} +5 -5
  32. package/dist/chunks/{file-retention-kt38yczt.js → integration-3cxe7pe8.js} +18 -18
  33. package/dist/chunks/{file-retention-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{file-retention-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{file-retention-3hwn7j4h.js → integration-3hwn7j4h.js} +2 -2
  36. package/dist/chunks/{file-retention-w18z4np3.js → integration-3qbrybdc.js} +29 -29
  37. package/dist/chunks/{file-retention-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{file-retention-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{file-retention-907r1ggt.js → integration-3wemrpgf.js} +19 -19
  40. package/dist/chunks/{file-retention-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{file-retention-2w444tzw.js → integration-46523z4v.js} +3 -3
  42. package/dist/chunks/{file-retention-dkv1mbg1.js → integration-4e0ywfbv.js} +4 -4
  43. package/dist/chunks/{file-retention-w1vcd0s5.js → integration-4f5ba015.js} +24 -24
  44. package/dist/chunks/{file-retention-r7kp6pnd.js → integration-4n721j5p.js} +10 -10
  45. package/dist/chunks/{file-retention-ycdfbb94.js → integration-4p54rqs4.js} +13 -13
  46. package/dist/chunks/{file-retention-w01812f7.js → integration-4x42dj42.js} +23 -23
  47. package/dist/chunks/{file-retention-68fdjxmn.js → integration-4y2z14sc.js} +1 -1
  48. package/dist/chunks/{file-retention-px57te6p.js → integration-52gk8ct8.js} +25 -25
  49. package/dist/chunks/{file-retention-54ma36ye.js → integration-54ma36ye.js} +1 -1
  50. package/dist/chunks/{file-retention-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{file-retention-gj9yzh3a.js → integration-5vaf1r8z.js} +14 -14
  52. package/dist/chunks/{file-retention-x21p8dkz.js → integration-61tfqrb2.js} +24 -24
  53. package/dist/chunks/{file-retention-rvdt2200.js → integration-63km2k09.js} +46 -46
  54. package/dist/chunks/{file-retention-he27pt63.js → integration-68wqtz75.js} +1 -1
  55. package/dist/chunks/{file-retention-8hzkbbdr.js → integration-6erg9bqb.js} +18 -18
  56. package/dist/chunks/{file-retention-9261zm56.js → integration-6gwzkkk2.js} +2 -2
  57. package/dist/chunks/{file-retention-6fptx04m.js → integration-6vmt69ah.js} +6 -6
  58. package/dist/chunks/{file-retention-8q4469mq.js → integration-6w5czgjy.js} +15 -15
  59. package/dist/chunks/{file-retention-6xb47vfp.js → integration-6xb47vfp.js} +1 -1
  60. package/dist/chunks/{file-retention-783ysvwn.js → integration-742a0vbq.js} +11 -11
  61. package/dist/chunks/{file-retention-775gj3j1.js → integration-775gj3j1.js} +2 -2
  62. package/dist/chunks/{file-retention-dk3ttqax.js → integration-7b9jrt6y.js} +13 -13
  63. package/dist/chunks/{file-retention-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{file-retention-dvkf5cf0.js → integration-7f125cag.js} +24 -24
  65. package/dist/chunks/{file-retention-dwkrr1y0.js → integration-7kphep4n.js} +7 -7
  66. package/dist/chunks/{file-retention-481njsdn.js → integration-7rwqf82v.js} +8 -8
  67. package/dist/chunks/{file-retention-1e146akk.js → integration-7scdz1wy.js} +5 -5
  68. package/dist/chunks/{file-retention-0p80cr77.js → integration-7zcs5bwm.js} +20 -20
  69. package/dist/chunks/{file-retention-h90v2x9d.js → integration-80scg3y3.js} +4 -4
  70. package/dist/chunks/{file-retention-84txncab.js → integration-84txncab.js} +1 -1
  71. package/dist/chunks/{file-retention-340vahct.js → integration-86qjnnqk.js} +11 -11
  72. package/dist/chunks/{file-retention-qdq8tkk0.js → integration-8gkj0cby.js} +25 -25
  73. package/dist/chunks/{file-retention-dx3tnnnw.js → integration-8gn5005p.js} +3 -3
  74. package/dist/chunks/{file-retention-ra67jj04.js → integration-8hxtpvs0.js} +9 -9
  75. package/dist/chunks/{file-retention-n8zyss5t.js → integration-8k70me0z.js} +32 -32
  76. package/dist/chunks/{file-retention-8m6m0r52.js → integration-8m6m0r52.js} +1 -1
  77. package/dist/chunks/{file-retention-w92k2e0p.js → integration-8sze2n9a.js} +4 -4
  78. package/dist/chunks/{file-retention-91qna3x0.js → integration-91qna3x0.js} +3 -3
  79. package/dist/chunks/{file-retention-hssp2agn.js → integration-936xvph3.js} +308 -308
  80. package/dist/chunks/{file-retention-p7dmfyes.js → integration-95hjd82g.js} +16 -16
  81. package/dist/chunks/{file-retention-9c45fh1a.js → integration-98kt03jn.js} +4 -4
  82. package/dist/chunks/{file-retention-957n91hd.js → integration-9e55pg5q.js} +41 -41
  83. package/dist/chunks/{file-retention-kdzpz75k.js → integration-9haechzb.js} +23 -23
  84. package/dist/chunks/{file-retention-b5yxd3qt.js → integration-9kjxzw1r.js} +74 -74
  85. package/dist/chunks/{file-retention-0ezdchsb.js → integration-9n61d5ky.js} +36 -36
  86. package/dist/chunks/{file-retention-55bcfe3d.js → integration-9y9g9nyh.js} +9 -9
  87. package/dist/chunks/{file-retention-6hh8tjw2.js → integration-a46v4e4v.js} +4 -4
  88. package/dist/chunks/{file-retention-wtmn5hdc.js → integration-a5q1zm4x.js} +20 -20
  89. package/dist/chunks/{file-retention-3y377wv9.js → integration-addxnjmp.js} +4 -4
  90. package/dist/chunks/{file-retention-fk5agesv.js → integration-ak9qm6ac.js} +77 -77
  91. package/dist/chunks/{file-retention-jqthvcqb.js → integration-ardvwy48.js} +3 -3
  92. package/dist/chunks/{file-retention-9q9s15ep.js → integration-ax5snzm5.js} +15 -15
  93. package/dist/chunks/{file-retention-83s6jst6.js → integration-axcgc2pe.js} +8 -8
  94. package/dist/chunks/{file-retention-wgyjjdzz.js → integration-b1kzy2v1.js} +15 -15
  95. package/dist/chunks/{file-retention-6j520qee.js → integration-b64mf6hy.js} +23 -23
  96. package/dist/chunks/{file-retention-ft6em78h.js → integration-b9xg611c.js} +9 -9
  97. package/dist/chunks/{file-retention-aa66pdc6.js → integration-bd183rbz.js} +5 -5
  98. package/dist/chunks/{file-retention-thtzhryg.js → integration-bf4gbvg4.js} +15 -15
  99. package/dist/chunks/{file-retention-vfqqtxae.js → integration-bf76vypg.js} +11 -11
  100. package/dist/chunks/{file-retention-4cnmy1hv.js → integration-bhazafz4.js} +12 -12
  101. package/dist/chunks/{file-retention-rrah4c93.js → integration-bkv2ee1r.js} +28 -28
  102. package/dist/chunks/{file-retention-5rnnm2b5.js → integration-bkxyw0dr.js} +9 -9
  103. package/dist/chunks/{file-retention-0ys8mqka.js → integration-bkyz4bb0.js} +22 -22
  104. package/dist/chunks/{file-retention-hayrfqfs.js → integration-bm76h7t2.js} +15 -15
  105. package/dist/chunks/{file-retention-30xa71rq.js → integration-btnpmhdq.js} +11 -11
  106. package/dist/chunks/integration-bvc07b1t.js +253 -0
  107. package/dist/chunks/{file-retention-ckt8v05d.js → integration-bwvbm3pe.js} +11 -11
  108. package/dist/chunks/{file-retention-c1fqxshp.js → integration-c1fqxshp.js} +3 -3
  109. package/dist/chunks/{file-retention-ewkrw7p5.js → integration-cmk24ybg.js} +55 -55
  110. package/dist/chunks/{file-retention-zy43x3f1.js → integration-cp937pt4.js} +4 -4
  111. package/dist/chunks/{file-retention-rny20wd4.js → integration-crn1v2gs.js} +9 -9
  112. package/dist/chunks/{file-retention-9mkgz3tx.js → integration-d10j2gb9.js} +2 -2
  113. package/dist/chunks/{file-retention-p8rs9c9y.js → integration-dg4w6che.js} +37 -37
  114. package/dist/chunks/{file-retention-aswnna81.js → integration-dhyfr8yj.js} +17 -17
  115. package/dist/chunks/{file-retention-r2m716tb.js → integration-djszqvmq.js} +9 -9
  116. package/dist/chunks/{file-retention-9x5x79tj.js → integration-dkaf93xt.js} +20 -20
  117. package/dist/chunks/{file-retention-p7x19tm8.js → integration-dq83cx3g.js} +13 -13
  118. package/dist/chunks/{file-retention-t9xc6a05.js → integration-dqd9td72.js} +12 -12
  119. package/dist/chunks/{file-retention-dqxsqydv.js → integration-dqxsqydv.js} +1 -1
  120. package/dist/chunks/{file-retention-2n4tgjth.js → integration-dw9c7k0z.js} +32 -32
  121. package/dist/chunks/{file-retention-5qd3pb7m.js → integration-e3qxr5gk.js} +2 -2
  122. package/dist/chunks/{file-retention-sjj6erxx.js → integration-e4w46ks9.js} +11 -11
  123. package/dist/chunks/{file-retention-jjtj9qbj.js → integration-e70k3x73.js} +17 -17
  124. package/dist/chunks/{file-retention-e80seqcp.js → integration-e80seqcp.js} +1 -1
  125. package/dist/chunks/{file-retention-b45jwz77.js → integration-ea46vrq0.js} +13 -13
  126. package/dist/chunks/{file-retention-eej6y6fw.js → integration-eej6y6fw.js} +2 -2
  127. package/dist/chunks/{file-retention-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
  128. package/dist/chunks/{file-retention-pansz36n.js → integration-ejnm8fa5.js} +1 -1
  129. package/dist/chunks/{file-retention-b0wd5rnp.js → integration-ew7eqw32.js} +4 -4
  130. package/dist/chunks/{file-retention-3g1hjkyb.js → integration-f3aj5rkw.js} +27 -27
  131. package/dist/chunks/{file-retention-7dqw4kz8.js → integration-fcrkznn8.js} +5 -5
  132. package/dist/chunks/integration-fhkyqja4.js +513 -0
  133. package/dist/chunks/{file-retention-fsmmybzd.js → integration-fks1tada.js} +21 -21
  134. package/dist/chunks/{file-retention-m18jmpv4.js → integration-fqeqenmh.js} +3 -3
  135. package/dist/chunks/{file-retention-fxaymqdw.js → integration-fxaymqdw.js} +1 -1
  136. package/dist/chunks/{file-retention-kectex4s.js → integration-fzf4e9h4.js} +4 -4
  137. package/dist/chunks/{file-retention-dh0dkfdj.js → integration-g0t7snpe.js} +18 -18
  138. package/dist/chunks/{file-retention-65x8m6dc.js → integration-g5n5wprh.js} +10 -10
  139. package/dist/chunks/{file-retention-99ah0z8a.js → integration-g8c299f8.js} +8 -8
  140. package/dist/chunks/{file-retention-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{file-retention-636806x1.js → integration-gmc3gxvb.js} +20 -20
  142. package/dist/chunks/{file-retention-56xpv21e.js → integration-gr5wcx1y.js} +11 -11
  143. package/dist/chunks/{file-retention-tdv47sks.js → integration-gsh5zsa2.js} +16 -16
  144. package/dist/chunks/{file-retention-3gnskmkt.js → integration-gsjeqjb2.js} +9 -9
  145. package/dist/chunks/{file-retention-m2p4v8vp.js → integration-h3968h22.js} +15 -15
  146. package/dist/chunks/{file-retention-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{file-retention-h7s7r6s9.js → integration-h7s7r6s9.js} +2 -2
  148. package/dist/chunks/{file-retention-zmjc9nnw.js → integration-hb8krrmj.js} +13 -13
  149. package/dist/chunks/{file-retention-h5ac4qh6.js → integration-herrfec1.js} +24 -24
  150. package/dist/chunks/{file-retention-hgz4x7wa.js → integration-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{file-retention-csxss638.js → integration-hh1dt53r.js} +19 -19
  152. package/dist/chunks/{file-retention-125f3d1c.js → integration-hkp6ymgy.js} +17 -17
  153. package/dist/chunks/{file-retention-ds7q65fv.js → integration-hp5hxv81.js} +7 -7
  154. package/dist/chunks/{file-retention-rmq5zkvq.js → integration-hzqck04w.js} +4 -4
  155. package/dist/chunks/{file-retention-k3hdp3hb.js → integration-j6x6e543.js} +17 -17
  156. package/dist/chunks/{file-retention-3yx7pqq0.js → integration-jgb4whm5.js} +18 -18
  157. package/dist/chunks/{file-retention-0wg8sbbg.js → integration-jhf3jymm.js} +6 -6
  158. package/dist/chunks/{file-retention-tf6k0eez.js → integration-jksafvem.js} +10 -10
  159. package/dist/chunks/{file-retention-59frscb3.js → integration-jn4txd9r.js} +44 -44
  160. package/dist/chunks/{file-retention-4gq5n2cv.js → integration-jsn3ar0v.js} +21 -21
  161. package/dist/chunks/{file-retention-ba3h8fcx.js → integration-jxx2adkw.js} +32 -32
  162. package/dist/chunks/{file-retention-ybp4d719.js → integration-k8b2wsrv.js} +11 -11
  163. package/dist/chunks/{file-retention-bsprd9wx.js → integration-k8s7jp5m.js} +9 -9
  164. package/dist/chunks/{file-retention-szzxx4ta.js → integration-k9car22n.js} +28 -28
  165. package/dist/chunks/{file-retention-w09v0aw8.js → integration-keay7n7p.js} +4 -4
  166. package/dist/chunks/{file-retention-gyszyxna.js → integration-kj2528qg.js} +4 -4
  167. package/dist/chunks/{file-retention-k3wzykfn.js → integration-kmc5179c.js} +46 -46
  168. package/dist/chunks/{file-retention-hkffa77z.js → integration-kqx1b4hy.js} +4 -4
  169. package/dist/chunks/{file-retention-jybzg21y.js → integration-kxaktcx2.js} +9 -9
  170. package/dist/chunks/{file-retention-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{file-retention-maspj1v3.js → integration-maspj1v3.js} +1 -1
  172. package/dist/chunks/{file-retention-y5t31psv.js → integration-mn88zmzx.js} +7 -7
  173. package/dist/chunks/{file-retention-18g55aa2.js → integration-mnp2ym1z.js} +6 -6
  174. package/dist/chunks/{file-retention-dsq6nq8h.js → integration-mvhk56d4.js} +41 -41
  175. package/dist/chunks/{file-retention-1ehz2ew9.js → integration-mxqz6rkr.js} +15 -15
  176. package/dist/chunks/{file-retention-b59hvs9v.js → integration-n4ybcttp.js} +4 -4
  177. package/dist/chunks/{file-retention-7fese2vd.js → integration-nchmws89.js} +11 -11
  178. package/dist/chunks/{file-retention-ev3bmrg9.js → integration-ndgyzz9d.js} +11 -11
  179. package/dist/chunks/{file-retention-d3vx323d.js → integration-npjdgtzp.js} +9 -9
  180. package/dist/chunks/{file-retention-vx3jgdek.js → integration-nvxqht09.js} +3 -3
  181. package/dist/chunks/{file-retention-s3xwr8sx.js → integration-p1jt2dnw.js} +50 -50
  182. package/dist/chunks/{file-retention-y0db3x05.js → integration-p2rbr5nq.js} +8 -8
  183. package/dist/chunks/{file-retention-czfptnv9.js → integration-p37cw4rj.js} +8 -8
  184. package/dist/chunks/{file-retention-4crggz9c.js → integration-p6ca3w3j.js} +20 -20
  185. package/dist/chunks/{file-retention-t7z8krvq.js → integration-p9kbpa46.js} +35 -35
  186. package/dist/chunks/{file-retention-h2p12xqx.js → integration-pazcjgz3.js} +5 -5
  187. package/dist/chunks/{file-retention-mxjpgj4j.js → integration-pck7vvdx.js} +5 -5
  188. package/dist/chunks/{file-retention-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{file-retention-pknna89w.js → integration-pknna89w.js} +1 -1
  190. package/dist/chunks/{file-retention-s728bnse.js → integration-pnt2mqac.js} +8 -8
  191. package/dist/chunks/{file-retention-78s33awm.js → integration-pp4rcfw0.js} +17 -17
  192. package/dist/chunks/{file-retention-tnw1c5tq.js → integration-pv8k32fw.js} +6 -6
  193. package/dist/chunks/integration-pw8prt84.js +26 -0
  194. package/dist/chunks/{file-retention-k705j66n.js → integration-pwh5ap6x.js} +24 -24
  195. package/dist/chunks/{file-retention-8q5e4pj5.js → integration-q7f3h75y.js} +2 -2
  196. package/dist/chunks/{file-retention-at1kfnmk.js → integration-qby9dwvd.js} +8 -8
  197. package/dist/chunks/{file-retention-nps7y7qb.js → integration-qd0qqa4s.js} +37 -37
  198. package/dist/chunks/{file-retention-2med2bx9.js → integration-qgn9hdfm.js} +10 -10
  199. package/dist/chunks/{file-retention-tg1sa0zd.js → integration-qkrw6axx.js} +11 -11
  200. package/dist/chunks/{file-retention-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
  201. package/dist/chunks/{file-retention-qsdy395h.js → integration-qsdy395h.js} +1 -1
  202. package/dist/chunks/{file-retention-vzkevcde.js → integration-qxxnpvek.js} +10 -10
  203. package/dist/chunks/{file-retention-qn56gx0x.js → integration-r01t9b5y.js} +6 -6
  204. package/dist/chunks/{file-retention-kqwjtgnc.js → integration-r0p2m64d.js} +6 -6
  205. package/dist/chunks/{file-retention-ww3rrxb7.js → integration-r20scrd8.js} +13 -13
  206. package/dist/chunks/{file-retention-q04bhbhf.js → integration-r3bw8wf5.js} +3 -3
  207. package/dist/chunks/{file-retention-z702twya.js → integration-r5tsbqp4.js} +18 -18
  208. package/dist/chunks/{file-retention-veczjdfx.js → integration-r7sf6fb8.js} +30 -30
  209. package/dist/chunks/{file-retention-zyex8hp5.js → integration-r9495x2r.js} +34 -34
  210. package/dist/chunks/{file-retention-h5q10y87.js → integration-r9jtscav.js} +22 -22
  211. package/dist/chunks/{file-retention-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{file-retention-rert0e01.js → integration-rert0e01.js} +2 -2
  213. package/dist/chunks/{file-retention-4pgvbcj4.js → integration-rfzmte1w.js} +8 -8
  214. package/dist/chunks/{file-retention-s8d7rejh.js → integration-rhjbct0v.js} +4 -4
  215. package/dist/chunks/{file-retention-rj3eygr5.js → integration-rj3eygr5.js} +2 -2
  216. package/dist/chunks/{file-retention-rmpdr2rv.js → integration-rq04gqh0.js} +11 -11
  217. package/dist/chunks/{file-retention-erp4xdm0.js → integration-rqasrdk8.js} +165 -165
  218. package/dist/chunks/{file-retention-kwb98e0r.js → integration-rsshs73c.js} +10 -10
  219. package/dist/chunks/{file-retention-vbnnw6nt.js → integration-rt2qy71r.js} +9 -9
  220. package/dist/chunks/{file-retention-w8dzr37m.js → integration-rvtxy3cd.js} +16 -16
  221. package/dist/chunks/{file-retention-bekb0t59.js → integration-s1ahwq19.js} +5 -5
  222. package/dist/chunks/{file-retention-wpyfkh8g.js → integration-s706fh8z.js} +30 -30
  223. package/dist/chunks/{file-retention-546spcd1.js → integration-s7nbb837.js} +22 -22
  224. package/dist/chunks/{file-retention-tx6qfw4f.js → integration-s9w6dcwz.js} +8 -8
  225. package/dist/chunks/{file-retention-sa8ekw3f.js → integration-sa8ekw3f.js} +2 -2
  226. package/dist/chunks/{file-retention-scgrse2b.js → integration-scgrse2b.js} +2 -2
  227. package/dist/chunks/{file-retention-6421fqnz.js → integration-sdmkkwk6.js} +33 -33
  228. package/dist/chunks/{file-retention-txk711dm.js → integration-sna59257.js} +62 -62
  229. package/dist/chunks/{file-retention-v57f6cf1.js → integration-srz5vn3p.js} +1 -1
  230. package/dist/chunks/{file-retention-y2d041vx.js → integration-st8w1s27.js} +16 -16
  231. package/dist/chunks/{file-retention-td3rcjyz.js → integration-svcw9x3w.js} +12 -12
  232. package/dist/chunks/{file-retention-rffv7t3r.js → integration-sveg4fqe.js} +20 -20
  233. package/dist/chunks/{file-retention-syv4x271.js → integration-syv4x271.js} +1 -1
  234. package/dist/chunks/{file-retention-94kyw0k2.js → integration-t41sszjr.js} +24 -24
  235. package/dist/chunks/{file-retention-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{file-retention-qby7vps4.js → integration-tc82y08z.js} +11 -11
  237. package/dist/chunks/{file-retention-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{file-retention-tdstcens.js → integration-tdstcens.js} +1 -1
  239. package/dist/chunks/{file-retention-57myy5jh.js → integration-tk14y25j.js} +5 -5
  240. package/dist/chunks/{file-retention-tm0kqsz3.js → integration-tm0kqsz3.js} +1 -1
  241. package/dist/chunks/{file-retention-gj6m04kd.js → integration-txcdme70.js} +47 -47
  242. package/dist/chunks/{file-retention-tyytaxap.js → integration-tyytaxap.js} +1 -1
  243. package/dist/chunks/{file-retention-1vezggaq.js → integration-tz4n1mmd.js} +4 -4
  244. package/dist/chunks/{file-retention-4434d9q2.js → integration-v0es1rhs.js} +9 -9
  245. package/dist/chunks/{file-retention-v7p4zvkq.js → integration-v7p4zvkq.js} +2 -2
  246. package/dist/chunks/{file-retention-rwvt0rje.js → integration-v89z4kp7.js} +4 -4
  247. package/dist/chunks/{file-retention-veqvce7d.js → integration-veqvce7d.js} +1 -1
  248. package/dist/chunks/{file-retention-3aqnw6cv.js → integration-vpavjd7r.js} +18 -18
  249. package/dist/chunks/{file-retention-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{file-retention-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{file-retention-8gtt7xbk.js → integration-w3y421c5.js} +20 -20
  252. package/dist/chunks/{file-retention-seeaz0q7.js → integration-wbvfmsvn.js} +12 -12
  253. package/dist/chunks/{file-retention-wd87259q.js → integration-wd87259q.js} +1 -1
  254. package/dist/chunks/{file-retention-m1mec9wj.js → integration-wh1r923y.js} +3 -3
  255. package/dist/chunks/{file-retention-7gn0kssx.js → integration-whe6hvck.js} +21 -21
  256. package/dist/chunks/{file-retention-wjr9rjd7.js → integration-wjr9rjd7.js} +2 -2
  257. package/dist/chunks/{file-retention-xcq1t7gv.js → integration-wkfp0bdm.js} +27 -27
  258. package/dist/chunks/{file-retention-vhwt8443.js → integration-wqjep7r8.js} +16 -16
  259. package/dist/chunks/{file-retention-bfegkxfd.js → integration-x5wrmng7.js} +11 -11
  260. package/dist/chunks/{file-retention-sy88hhfw.js → integration-x75czxqv.js} +22 -22
  261. package/dist/chunks/{file-retention-v3ezsmzq.js → integration-xf0y7t09.js} +17 -17
  262. package/dist/chunks/{file-retention-57b9ws8p.js → integration-xfkkasph.js} +7 -7
  263. package/dist/chunks/{file-retention-p7hqryzx.js → integration-xh3w1m2r.js} +35 -35
  264. package/dist/chunks/{file-retention-sgzqzbge.js → integration-xjbmwp8c.js} +3 -3
  265. package/dist/chunks/{file-retention-vzpzjna5.js → integration-xsde275j.js} +5 -5
  266. package/dist/chunks/{file-retention-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-retention-fhgh4d8n.js → integration-y2cswm8c.js} +8 -8
  268. package/dist/chunks/{file-retention-me2j8n8g.js → integration-y672t3f6.js} +18 -18
  269. package/dist/chunks/{file-retention-y71avatq.js → integration-y71avatq.js} +1 -1
  270. package/dist/chunks/{file-retention-3jv2hb3r.js → integration-y89aycjh.js} +9 -9
  271. package/dist/chunks/{file-retention-htf0g372.js → integration-ycpec0gb.js} +8 -8
  272. package/dist/chunks/{file-retention-jmvxywvk.js → integration-ydbcqtja.js} +15 -15
  273. package/dist/chunks/{file-retention-wqg9hhs5.js → integration-yddr7m1n.js} +3 -3
  274. package/dist/chunks/{file-retention-rhraev7y.js → integration-yp2x3t23.js} +4 -4
  275. package/dist/chunks/{file-retention-735pkyx8.js → integration-ytp4a2gy.js} +11 -11
  276. package/dist/chunks/{file-retention-vx6rwekq.js → integration-ywsf3z8v.js} +5 -5
  277. package/dist/chunks/{file-retention-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{file-retention-as5kgg97.js → integration-z0qw1pwg.js} +12 -12
  279. package/dist/chunks/{file-retention-xmdd2d0z.js → integration-zfaw8e2q.js} +13 -13
  280. package/dist/chunks/{file-retention-rpgkwa3n.js → integration-zmhzecev.js} +5 -5
  281. package/dist/chunks/{file-retention-b3wcjb56.js → integration-zr1m2fsx.js} +7 -7
  282. package/dist/chunks/{file-retention-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{file-retention-9jjdahev.js → integration-zwbg5n9v.js} +5 -5
  284. package/dist/chunks/{file-retention-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +85 -85
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +97 -97
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +106 -106
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +87 -87
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +91 -91
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +91 -91
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +131 -131
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +96 -96
  476. package/dist/models-dev.js +103 -103
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +90 -90
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +117 -117
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +132 -132
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +348 -348
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +91 -91
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +89 -89
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +137 -137
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +213 -213
  579. package/dist/session/execution.js +129 -129
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +92 -92
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +95 -95
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +127 -127
  592. package/dist/session/projector.js +86 -86
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +125 -125
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +203 -203
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +209 -209
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +15 -15
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +124 -124
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +117 -117
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +103 -103
  641. package/dist/tool/plugin/read.js +127 -127
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +110 -110
  646. package/dist/tool/plugin/websearch.js +112 -112
  647. package/dist/tool/plugin/write.js +122 -122
  648. package/dist/tool/read-filesystem.js +98 -98
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +82 -82
  674. package/dist/wellknown/plugin.js +76 -76
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +98 -98
  684. package/package.json +8 -8
  685. package/dist/chunks/file-retention-4v7qdvcn.js +0 -18
  686. package/dist/chunks/file-retention-k8hky80b.js +0 -26
  687. package/dist/chunks/file-retention-my8wm2zc.js +0 -253
  688. package/dist/chunks/file-retention-zsrsm1dx.js +0 -513
  689. /package/dist/chunks/{file-retention-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-retention-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-retention-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-retention-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-retention-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-retention-24dcb14g.js → integration-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{file-retention-2710q6r3.js → integration-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-retention-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-retention-2bv980vf.js → integration-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{file-retention-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-retention-359p4xyc.js → integration-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-retention-3asan66x.js → integration-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-retention-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{file-retention-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-retention-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-retention-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-retention-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-retention-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-retention-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-retention-53557ph1.js → integration-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-retention-550bvhaj.js → integration-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-retention-6prwharc.js → integration-6prwharc.js} +0 -0
  711. /package/dist/chunks/{file-retention-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{file-retention-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{file-retention-7m9af43g.js → integration-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{file-retention-822emrt2.js → integration-822emrt2.js} +0 -0
  715. /package/dist/chunks/{file-retention-84wd9syh.js → integration-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{file-retention-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{file-retention-8n3pysct.js → integration-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{file-retention-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{file-retention-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{file-retention-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{file-retention-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{file-retention-af5trqkr.js → integration-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{file-retention-afrmfg78.js → integration-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{file-retention-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{file-retention-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{file-retention-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{file-retention-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{file-retention-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{file-retention-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{file-retention-d9fn303g.js → integration-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{file-retention-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{file-retention-dajrwvna.js → integration-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{file-retention-dap0rakb.js → integration-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{file-retention-df08tz66.js → integration-df08tz66.js} +0 -0
  735. /package/dist/chunks/{file-retention-dy18nga0.js → integration-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{file-retention-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{file-retention-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{file-retention-ec1grn59.js → integration-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{file-retention-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{file-retention-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{file-retention-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{file-retention-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{file-retention-faypxj3z.js → integration-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{file-retention-fd410y7t.js → integration-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{file-retention-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{file-retention-g86h250q.js → integration-g86h250q.js} +0 -0
  747. /package/dist/chunks/{file-retention-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{file-retention-gftt206x.js → integration-gftt206x.js} +0 -0
  749. /package/dist/chunks/{file-retention-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{file-retention-hk9envan.js → integration-hk9envan.js} +0 -0
  751. /package/dist/chunks/{file-retention-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{file-retention-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{file-retention-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{file-retention-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{file-retention-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{file-retention-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{file-retention-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{file-retention-m18g726c.js → integration-m18g726c.js} +0 -0
  759. /package/dist/chunks/{file-retention-mp448xyj.js → integration-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{file-retention-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{file-retention-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{file-retention-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{file-retention-njntx4h6.js → integration-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{file-retention-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{file-retention-pyv0edze.js → integration-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{file-retention-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{file-retention-q74kybfr.js → integration-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{file-retention-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{file-retention-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{file-retention-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{file-retention-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{file-retention-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{file-retention-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{file-retention-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{file-retention-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{file-retention-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{file-retention-w803qqfp.js → integration-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{file-retention-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{file-retention-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{file-retention-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{file-retention-wtztk69x.js → integration-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{file-retention-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{file-retention-x61499pn.js → integration-x61499pn.js} +0 -0
  784. /package/dist/chunks/{file-retention-y44na4kk.js → integration-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{file-retention-y8f7s663.js → integration-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{file-retention-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{file-retention-ym463w8f.js → integration-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{file-retention-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{file-retention-z9919s4g.js → integration-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-retention-hgz4x7wa.js";
3
+ } from "./integration-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-retention-z5v4ffb3.js";
6
+ } from "./integration-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./file-retention-k3hdp3hb.js";
8
+ Service81
9
+ } from "./integration-j6x6e543.js";
10
10
  import {
11
- Service58
12
- } from "./file-retention-x21p8dkz.js";
11
+ Service67
12
+ } from "./integration-61tfqrb2.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service45
16
- } from "./file-retention-kt38yczt.js";
15
+ Service59
16
+ } from "./integration-3cxe7pe8.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./file-retention-ba3h8fcx.js";
23
+ } from "./integration-jxx2adkw.js";
24
24
  import {
25
- Service67
26
- } from "./file-retention-ewkrw7p5.js";
25
+ Service54
26
+ } from "./integration-cmk24ybg.js";
27
27
  import {
28
- Service42
29
- } from "./file-retention-z702twya.js";
28
+ Service40
29
+ } from "./integration-r5tsbqp4.js";
30
30
  import {
31
31
  __export
32
- } from "./file-retention-9rqn6x4v.js";
32
+ } from "./integration-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input3,
39
- Output: () => Output3,
40
- Plugin: () => Plugin38,
41
- name: () => name3,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input8,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin44,
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent4
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name3 = "grep";
48
- var Input3 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input3 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output3 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output7 = Schema.Array(Match2);
69
+ var toModelContent4 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin38 = {
86
+ var Plugin44 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service58;
90
- const ripgrep = yield* Service45;
91
- const location = yield* Service78;
92
- const access = yield* Service42;
93
- const permission = yield* Service67;
89
+ const environment = yield* Service67;
90
+ const ripgrep = yield* Service59;
91
+ const location = yield* Service81;
92
+ const access = yield* Service40;
93
+ const permission = yield* Service54;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name3,
95
+ name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input3,
99
- output: Output3,
98
+ input: Input8,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name3,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin38 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent4(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin38 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name3, Input3, Output3, toModelContent2, Plugin38, exports_grep };
157
+ export { name8, Input8, Output7, toModelContent4, Plugin44, exports_grep };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./file-retention-ec1grn59.js";
3
+ } from "./integration-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./file-retention-tdstcens.js";
6
+ } from "./integration-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./file-retention-vx6rwekq.js";
9
+ } from "./integration-ywsf3z8v.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -3,13 +3,13 @@ import {
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
5
  Service31
6
- } from "./file-retention-0ezdchsb.js";
6
+ } from "./integration-9n61d5ky.js";
7
7
  import {
8
- Service67
9
- } from "./file-retention-ewkrw7p5.js";
8
+ Service54
9
+ } from "./integration-cmk24ybg.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./integration-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
@@ -23,7 +23,7 @@ var Plugin48 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
25
  const mcp = yield* Service31;
26
- const permission = yield* Service67;
26
+ const permission = yield* Service54;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service38
3
- } from "./file-retention-4gq5n2cv.js";
2
+ Service52
3
+ } from "./integration-jsn3ar0v.js";
4
4
  import {
5
- Service65
6
- } from "./file-retention-0wg8sbbg.js";
5
+ Service37
6
+ } from "./integration-jhf3jymm.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./file-retention-4v7qdvcn.js";
9
+ } from "./integration-1x11rq2a.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./integration-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service65;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
22
+ const instances = yield* Service37;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make21,
4
+ make20,
5
5
  diffByKey2
6
- } from "./file-retention-s8d7rejh.js";
6
+ } from "./integration-rhjbct0v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./file-retention-ewkrw7p5.js";
9
+ } from "./integration-cmk24ybg.js";
10
10
  import {
11
11
  Service31,
12
12
  node34
13
- } from "./file-retention-0ezdchsb.js";
13
+ } from "./integration-9n61d5ky.js";
14
14
  import {
15
15
  namespace2,
16
16
  name14
17
- } from "./file-retention-y2d041vx.js";
17
+ } from "./integration-st8w1s27.js";
18
18
  import {
19
19
  __export
20
- } from "./file-retention-9rqn6x4v.js";
20
+ } from "./integration-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
- var exports_instructions2 = {};
24
- __export(exports_instructions2, {
25
- McpInstructions: () => exports_instructions2,
26
- Service: () => Service24,
27
- layer: () => layer11,
28
- node: () => node28
23
+ var exports_instructions5 = {};
24
+ __export(exports_instructions5, {
25
+ McpInstructions: () => exports_instructions5,
26
+ Service: () => Service29,
27
+ layer: () => layer12,
28
+ node: () => node32
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,13 +61,13 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service24 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service29 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
66
+ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
67
67
  const mcp = yield* Service31;
68
- return Service24.of({
68
+ return Service29.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make21({
70
+ const source = (value) => make20({
71
71
  key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node28 = makeLocationNode({ service: Service24, layer: layer11, deps: [node34] });
99
+ var node32 = makeLocationNode({ service: Service29, layer: layer12, deps: [node34] });
100
100
 
101
- export { Service24, layer11, node28, exports_instructions2 };
101
+ export { Service29, layer12, node32, exports_instructions5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-retention-z5v4ffb3.js";
5
+ } from "./integration-z5v4ffb3.js";
6
6
  import {
7
- Service58,
8
- node62
9
- } from "./file-retention-x21p8dkz.js";
7
+ Service67,
8
+ node70
9
+ } from "./integration-61tfqrb2.js";
10
10
  import {
11
11
  Content2
12
- } from "./file-retention-ba3h8fcx.js";
12
+ } from "./integration-jxx2adkw.js";
13
13
  import {
14
14
  detect2
15
- } from "./file-retention-3smtnn6g.js";
15
+ } from "./integration-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./integration-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service13, Effect.gen(function* () {
334
- const environment = yield* Service58;
334
+ const environment = yield* Service67;
335
335
  return Service13.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node15 = makeLocationNode({ service: Service13, layer, deps: [node62] });
340
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node70] });
341
341
 
342
342
  export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service13, read2, node15, exports_read_filesystem };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service55
3
- } from "./file-retention-957n91hd.js";
2
+ Service72
3
+ } from "./integration-9e55pg5q.js";
4
4
  import {
5
5
  Service31
6
- } from "./file-retention-0ezdchsb.js";
6
+ } from "./integration-9n61d5ky.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./integration-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp = {};
13
13
  __export(exports_mcp, {
14
14
  ConfigMcpPlugin: () => exports_mcp,
15
- Plugin: () => Plugin10,
15
+ Plugin: () => Plugin18,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin10 = define({
20
+ var Plugin18 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service55;
27
+ const config = yield* Service72;
28
28
  const mcp = yield* Service31;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin10, register2, exports_mcp };
49
+ export { Plugin18, register2, exports_mcp };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-retention-k3hdp3hb.js";
2
+ Service81,
3
+ node85
4
+ } from "./integration-j6x6e543.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./integration-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./integration-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service19,
17
- node: () => node22
16
+ Service: () => Service62,
17
+ node: () => node65
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service19 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service62 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service19, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
27
+ const location = yield* Service81;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service19.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service62.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node22 = makeLocationNode({
91
- service: Service19,
90
+ var node65 = makeLocationNode({
91
+ service: Service62,
92
92
  layer,
93
- deps: [node82, AppProcess.node]
93
+ deps: [node85, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service19, node22, exports_formatter2 };
96
+ export { Service62, node65, exports_formatter2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./file-retention-s3xwr8sx.js";
3
+ } from "./integration-p1jt2dnw.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./file-retention-pkyv6v7h.js";
6
+ } from "./integration-pkyv6v7h.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-9rqn6x4v.js";
9
+ } from "./integration-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make19
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make19 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make19, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service56
3
- } from "./file-retention-94kyw0k2.js";
2
+ Service73
3
+ } from "./integration-t41sszjr.js";
4
4
  import {
5
- Service55
6
- } from "./file-retention-957n91hd.js";
5
+ Service72
6
+ } from "./integration-9e55pg5q.js";
7
7
  import {
8
8
  parse2
9
- } from "./file-retention-kqwjtgnc.js";
9
+ } from "./integration-r0p2m64d.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./integration-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin19
18
+ Plugin: () => Plugin7
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin19 = define({
24
+ var Plugin7 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service55;
27
+ const config = yield* Service72;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service56;
29
+ const watcher = yield* Service73;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin19 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin19, exports_compatibility };
76
+ export { Plugin7, exports_compatibility };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./file-retention-bsprd9wx.js";
4
+ } from "./integration-k8s7jp5m.js";
5
5
  import {
6
6
  CorrectedError2,
7
7
  BlockedError2
8
- } from "./file-retention-ewkrw7p5.js";
8
+ } from "./integration-cmk24ybg.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./file-retention-rrah4c93.js";
11
+ } from "./integration-bkv2ee1r.js";
12
12
  import {
13
13
  VariantUnavailableError2,
14
14
  UnsupportedPackageError2,
@@ -16,11 +16,11 @@ import {
16
16
  ModelInitializationError2,
17
17
  UnresolvedProviderVariablesError2,
18
18
  UnsupportedCompactionError2
19
- } from "./file-retention-3g1hjkyb.js";
19
+ } from "./integration-f3aj5rkw.js";
20
20
  import {
21
21
  ModelNotSelectedError2,
22
22
  ModelUnavailableError2
23
- } from "./file-retention-zmjc9nnw.js";
23
+ } from "./integration-hb8krrmj.js";
24
24
 
25
25
  // src/session/to-session-error.ts
26
26
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./file-retention-ym463w8f.js";
3
+ } from "./integration-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
- Info7,
6
- ID3,
5
+ Info8,
6
+ ID5,
7
7
  Name2
8
- } from "./file-retention-0ys8mqka.js";
8
+ } from "./integration-bkyz4bb0.js";
9
9
  import {
10
- Service55
11
- } from "./file-retention-957n91hd.js";
10
+ Service72
11
+ } from "./integration-9e55pg5q.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./integration-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill2 = {};
@@ -430,15 +430,15 @@ var Plugin31 = define({
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info7.make({
434
- id: ID3.make("opencode"),
433
+ editor.add(Info8.make({
434
+ id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info7.make({
441
- id: ID3.make("report"),
440
+ editor.add(Info8.make({
441
+ id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -467,7 +467,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
467
467
  `);
468
468
  });
469
469
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
470
- const config = yield* Service55;
470
+ const config = yield* Service72;
471
471
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
472
472
  });
473
473
  function terminal() {