@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,24 +1,24 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-rmq5zkvq.js";
4
+ } from "./integration-hzqck04w.js";
5
5
  import {
6
- Service75,
7
- node79
8
- } from "./file-retention-vzkevcde.js";
6
+ Service76,
7
+ node80
8
+ } from "./integration-qxxnpvek.js";
9
9
  import {
10
10
  create3
11
- } from "./file-retention-rdw6cm16.js";
11
+ } from "./integration-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./integration-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
20
  Event: () => Event6,
21
- ID: () => ID5,
21
+ ID: () => ID4,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,9 +28,9 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service37,
31
+ Service: () => Service46,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node40
33
+ node: () => node48
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
@@ -38,19 +38,19 @@ import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import { Event as Event6 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service37 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service46 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service37, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
69
69
  const bus = yield* Service84;
70
- const kv = yield* Service75;
70
+ const kv = yield* Service76;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service37.of({
127
+ return Service46.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node40 = makeLocationNode({
188
- service: Service37,
187
+ var node48 = makeLocationNode({
188
+ service: Service46,
189
189
  layer,
190
- deps: [node88, node79]
190
+ deps: [node88, node80]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service37, node40, exports_websearch3, Event6 };
193
+ export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service46, node48, exports_websearch3, Event6 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./file-retention-3v8g72cx.js";
3
+ } from "./integration-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./integration-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp2 = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./file-retention-rmq5zkvq.js";
4
+ } from "./integration-hzqck04w.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-retention-546spcd1.js";
7
+ } from "./integration-s7nbb837.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-retention-3t0ybcrp.js";
10
+ } from "./integration-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./integration-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError2,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError4,
20
+ Options: () => Options5,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service16,
23
- UnavailableError: () => UnavailableError2,
22
+ Service: () => Service45,
23
+ UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
- configured: () => configured2,
26
- layer: () => layer10,
27
- node: () => node19
25
+ configured: () => configured5,
26
+ layer: () => layer20,
27
+ node: () => node47
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -36,24 +36,24 @@ import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  import { available as available2 } from "#persistent-pty-binary";
39
- var Options2 = Schema.Struct({
39
+ var Options5 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service16 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service45 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service45, Effect.gen(function* () {
57
57
  const bus = yield* Service84;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError2({ ptyID: id });
79
+ return yield* new NotFoundError4({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service16.of({
246
+ return Service45.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer10 = makeLayer();
263
- var configured2 = (options) => makeGlobalNode({
264
- service: Service16,
265
- layer: options === undefined ? layer10 : makeLayer(options),
262
+ var layer20 = makeLayer();
263
+ var configured5 = (options) => makeGlobalNode({
264
+ service: Service45,
265
+ layer: options === undefined ? layer20 : makeLayer(options),
266
266
  deps: [node88, Global.node]
267
267
  });
268
- var node19 = configured2();
268
+ var node47 = configured5();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options2, UnavailableError2, NotFoundError2, Service16, layer10, configured2, node19, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options5, UnavailableError3, NotFoundError4, Service45, layer20, configured5, node47, exports_persistent_pty, Handoff2, available2 };
@@ -1,34 +1,34 @@
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
  Key3,
7
- make21,
7
+ make20,
8
8
  combine2
9
- } from "./file-retention-s8d7rejh.js";
9
+ } from "./integration-rhjbct0v.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./integration-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service23,
19
- node: () => node27
18
+ Service: () => Service32,
19
+ node: () => node35
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service23 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service23, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service78;
29
- return Service23.of({
28
+ const location = yield* Service81;
29
+ return Service32.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make21({
31
+ make20({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make21({
40
+ make20({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node27 = makeLocationNode({ service: Service23, layer, deps: [Global.node, node82] });
63
+ var node35 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node85] });
64
64
 
65
- export { Service23, node27, exports_builtins };
65
+ export { Service32, node35, exports_builtins };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./file-retention-z5v4ffb3.js";
3
+ } from "./integration-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info11
7
- } from "./file-retention-bmr56wjg.js";
6
+ Info17
7
+ } from "./integration-1j6m29mr.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./integration-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info10
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ ConfigAgentV1: () => exports_agent4,
16
+ Info: () => Info16
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info11)
48
+ permission: Schema.optional(Info17)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info10 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info10, exports_agent3 };
72
+ export { Info16, exports_agent4 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-retention-775gj3j1.js";
3
+ } from "./integration-775gj3j1.js";
4
4
  import {
5
- Service72,
6
- node76
7
- } from "./file-retention-3g1hjkyb.js";
5
+ Service42,
6
+ node44
7
+ } from "./integration-f3aj5rkw.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./integration-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service48,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer19,
20
- node: () => node51
17
+ Service: () => Service41,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer18,
20
+ node: () => node43
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
28
28
  }) {
29
29
  }
30
30
 
31
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
32
32
  message: Schema.String,
33
33
  service: Schema.optional(Schema.String)
34
34
  }) {
35
35
  }
36
36
 
37
- class Service48 extends Context.Service()("@opencode/Generate") {
37
+ class Service41 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer19 = Layer.effect(Service48, Effect.gen(function* () {
39
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service72;
41
+ const resolver = yield* Service42;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -48,7 +48,7 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
48
48
  "SessionRunnerModel.UnresolvedProviderVariablesError",
49
49
  "SessionRunnerModel.UnsupportedCompactionError"
50
50
  ], (error) => {
51
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
51
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
52
52
  return Effect.fail(mapped);
53
53
  }));
54
54
  if (!resolved)
@@ -59,21 +59,21 @@ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
59
59
  model: resolved.model,
60
60
  prompt: input.prompt,
61
61
  http: { headers: { "x-opencode-session": SessionID.create() } }
62
- })).pipe(Effect.mapError((error) => new UnavailableError3({
62
+ })).pipe(Effect.mapError((error) => new UnavailableError2({
63
63
  message: error.message,
64
64
  service: resolved.ref.providerID
65
65
  })));
66
66
  return response.text;
67
67
  });
68
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
68
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service48.of({ text });
71
+ return Service41.of({ text });
72
72
  }));
73
- var node51 = makeLocationNode({
74
- service: Service48,
75
- layer: layer19,
76
- deps: [node76, llmClient2]
73
+ var node43 = makeLocationNode({
74
+ service: Service41,
75
+ layer: layer18,
76
+ deps: [node44, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError3, Service48, layer19, node51, exports_generate2 };
79
+ export { ModelSelectionError2, UnavailableError2, Service41, layer18, node43, exports_generate2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID10
3
- } from "./file-retention-h5ac4qh6.js";
2
+ ID8
3
+ } from "./integration-herrfec1.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-retention-z5v4ffb3.js";
6
+ } from "./integration-z5v4ffb3.js";
7
7
  import {
8
- Info10
9
- } from "./file-retention-bfegkxfd.js";
8
+ Info16
9
+ } from "./integration-x5wrmng7.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-retention-9c45fh1a.js";
12
+ } from "./integration-98kt03jn.js";
13
13
  import {
14
14
  latest2,
15
- Service55
16
- } from "./file-retention-957n91hd.js";
15
+ Service72
16
+ } from "./integration-9e55pg5q.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-retention-8m6m0r52.js";
19
+ } from "./integration-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./file-retention-9rqn6x4v.js";
22
+ } from "./integration-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin2
28
+ Plugin: () => Plugin10
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin2 = define({
47
+ var Plugin10 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service55;
50
+ const config = yield* Service72;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin2 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID10.make(configuredDefault));
79
+ editor.default(ID8.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID10.make(id);
85
+ const agentID = ID8.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin2, exports_agent };
164
+ export { Plugin10, exports_agent };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./integration-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
10
- render: () => render2
9
+ make: () => make15,
10
+ render: () => render3
11
11
  });
12
12
 
13
13
  // src/session/runner/prompt/system.txt
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
33
- return render2(system_default, tools);
32
+ function make15(tools) {
33
+ return render3(system_default, tools);
34
34
  }
35
- function render2(prompt, tools) {
35
+ function render3(prompt, tools) {
36
36
  const instructions = [];
37
37
  if (tools.includes("shell")) {
38
38
  instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render2, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };