@opencode/core 0.0.0-dev-20630 → 0.0.0-dev-20633

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 (780) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-services-6qvzvbch.js → repository-cache-0314bnyz.js} +17 -17
  8. package/dist/chunks/{location-services-ryd2rdzb.js → repository-cache-03xyy9gs.js} +8 -8
  9. package/dist/chunks/{location-services-924j3etv.js → repository-cache-0farmcce.js} +26 -26
  10. package/dist/chunks/{location-services-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{location-services-cg21mtef.js → repository-cache-0r8xnjkd.js} +11 -11
  12. package/dist/chunks/{location-services-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{location-services-aytgv1nz.js → repository-cache-0yq98qfb.js} +24 -24
  14. package/dist/chunks/{location-services-0w7qtn2g.js → repository-cache-13fmgeb3.js} +9 -9
  15. package/dist/chunks/{location-services-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{location-services-1dvck2a7.js → repository-cache-1dvck2a7.js} +2 -2
  17. package/dist/chunks/{location-services-1gpb38yh.js → repository-cache-1gpb38yh.js} +3 -3
  18. package/dist/chunks/{location-services-2t9d70tj.js → repository-cache-1gzs4dwb.js} +5 -5
  19. package/dist/chunks/{location-services-0xdh9cbn.js → repository-cache-1mp78k6j.js} +33 -33
  20. package/dist/chunks/{location-services-ykm82t8q.js → repository-cache-1qp08ady.js} +11 -11
  21. package/dist/chunks/{location-services-1bksgmt8.js → repository-cache-1s3jpj7n.js} +17 -17
  22. package/dist/chunks/{location-services-dh6k37e9.js → repository-cache-27rbdjmf.js} +46 -46
  23. package/dist/chunks/{location-services-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{location-services-mh4e5wj0.js → repository-cache-2awp3nqz.js} +20 -20
  25. package/dist/chunks/{location-services-avdv9knz.js → repository-cache-2epzd39j.js} +78 -78
  26. package/dist/chunks/{location-services-f84qkavr.js → repository-cache-2fxj49dy.js} +32 -32
  27. package/dist/chunks/{location-services-qgn6gcr1.js → repository-cache-2k8khapm.js} +5 -5
  28. package/dist/chunks/{location-services-mfqp6xfm.js → repository-cache-33w4ejhs.js} +9 -9
  29. package/dist/chunks/{location-services-eqytyt2f.js → repository-cache-380yy1tx.js} +166 -166
  30. package/dist/chunks/{location-services-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{location-services-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{location-services-78mj5myg.js → repository-cache-3pv863bm.js} +19 -19
  33. package/dist/chunks/{location-services-amznhvbk.js → repository-cache-3rjdzas3.js} +11 -11
  34. package/dist/chunks/{location-services-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{location-services-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{location-services-2njm4q35.js → repository-cache-3vgk5qpr.js} +27 -27
  37. package/dist/chunks/{location-services-n22hjq3j.js → repository-cache-3vk8kg3r.js} +14 -14
  38. package/dist/chunks/{location-services-qhptqkd3.js → repository-cache-3z4h39tf.js} +8 -8
  39. package/dist/chunks/{location-services-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{location-services-be57hyb1.js → repository-cache-43h714sb.js} +17 -17
  41. package/dist/chunks/{location-services-53baf2sn.js → repository-cache-4725dwfb.js} +9 -9
  42. package/dist/chunks/{location-services-j8afcsyc.js → repository-cache-4eq8w0dz.js} +4 -4
  43. package/dist/chunks/repository-cache-4gw7g1yd.js +507 -0
  44. package/dist/chunks/{location-services-94af2ma0.js → repository-cache-4k8essf6.js} +20 -20
  45. package/dist/chunks/{location-services-7v3yr1bh.js → repository-cache-4kagh904.js} +5 -5
  46. package/dist/chunks/{location-services-4ts7tf6z.js → repository-cache-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{location-services-633ngz6x.js → repository-cache-4x0vy5hp.js} +6 -6
  48. package/dist/chunks/{location-services-hm2a4yzt.js → repository-cache-4ybhn1pz.js} +15 -15
  49. package/dist/chunks/{location-services-v83r3tms.js → repository-cache-4yxz2xtz.js} +3 -3
  50. package/dist/chunks/{location-services-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  51. package/dist/chunks/{location-services-ds7a504r.js → repository-cache-5a1tjkyz.js} +28 -28
  52. package/dist/chunks/{location-services-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  53. package/dist/chunks/{location-services-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{location-services-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{location-services-gac9ztx6.js → repository-cache-60x3zdck.js} +22 -22
  56. package/dist/chunks/{location-services-gm6bhgn2.js → repository-cache-66hfmvvk.js} +12 -12
  57. package/dist/chunks/{location-services-d2za3d2a.js → repository-cache-67fkg7q1.js} +8 -8
  58. package/dist/chunks/{location-services-j9hy8vp2.js → repository-cache-68tetnxs.js} +4 -4
  59. package/dist/chunks/{location-services-0wtqkc8g.js → repository-cache-6j80gscp.js} +13 -13
  60. package/dist/chunks/{location-services-qhj49g1w.js → repository-cache-6kqdj38p.js} +34 -34
  61. package/dist/chunks/{location-services-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{location-services-71az546q.js → repository-cache-71az546q.js} +2 -2
  63. package/dist/chunks/{location-services-mvfsc1pv.js → repository-cache-73tb2d7t.js} +3 -3
  64. package/dist/chunks/{location-services-xabyxep3.js → repository-cache-75jaekcr.js} +11 -11
  65. package/dist/chunks/{location-services-8fg7kjkz.js → repository-cache-7ac9g4dc.js} +28 -28
  66. package/dist/chunks/{location-services-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{location-services-scja77nx.js → repository-cache-7pjv26c7.js} +3 -3
  68. package/dist/chunks/{location-services-t6vsspdg.js → repository-cache-7sbkp4xb.js} +7 -7
  69. package/dist/chunks/{location-services-nb9p6b26.js → repository-cache-80scg3y3.js} +4 -4
  70. package/dist/chunks/{location-services-t36z8tfp.js → repository-cache-81nd2mqz.js} +31 -31
  71. package/dist/chunks/{location-services-bzncxkya.js → repository-cache-83nfeprs.js} +9 -9
  72. package/dist/chunks/{location-services-bnx96qhh.js → repository-cache-8bpbh7v7.js} +7 -7
  73. package/dist/chunks/{location-services-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{location-services-z5ybckhn.js → repository-cache-8ef36zg1.js} +21 -21
  75. package/dist/chunks/{location-services-fssayyez.js → repository-cache-8pdzessb.js} +5 -5
  76. package/dist/chunks/{location-services-p89rmmfc.js → repository-cache-8qf1wa8e.js} +12 -12
  77. package/dist/chunks/{location-services-jjx8np3a.js → repository-cache-8t879spr.js} +43 -43
  78. package/dist/chunks/{location-services-kq5ydq1p.js → repository-cache-90sz55zw.js} +3 -3
  79. package/dist/chunks/repository-cache-97y2hkx4.js +26 -0
  80. package/dist/chunks/{location-services-9e5bzkjp.js → repository-cache-9e5bzkjp.js} +3 -3
  81. package/dist/chunks/{location-services-4h4wqcm2.js → repository-cache-9mvydfy5.js} +11 -11
  82. package/dist/chunks/{location-services-f9yzkqzf.js → repository-cache-9mwb0ww6.js} +9 -9
  83. package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
  84. package/dist/chunks/{location-services-1jmpqbc2.js → repository-cache-9wt051s7.js} +84 -84
  85. package/dist/chunks/{location-services-w74wtxgt.js → repository-cache-9ybrg23s.js} +11 -11
  86. package/dist/chunks/{location-services-23tcjctt.js → repository-cache-a1r14f74.js} +7 -7
  87. package/dist/chunks/{location-services-c05hzb7f.js → repository-cache-a27z7shm.js} +41 -41
  88. package/dist/chunks/{location-services-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  89. package/dist/chunks/{location-services-cbq4209p.js → repository-cache-adws6758.js} +1 -1
  90. package/dist/chunks/{location-services-h6f8n6tj.js → repository-cache-aevez07h.js} +10 -10
  91. package/dist/chunks/{location-services-4gt5053z.js → repository-cache-akqawhrq.js} +9 -9
  92. package/dist/chunks/{location-services-vn72gsba.js → repository-cache-as7cf5zz.js} +4 -4
  93. package/dist/chunks/{location-services-702grjpm.js → repository-cache-asmhed6t.js} +6 -6
  94. package/dist/chunks/{location-services-rvqqqxyw.js → repository-cache-b2p5j8y6.js} +29 -29
  95. package/dist/chunks/{location-services-x3eea197.js → repository-cache-b3y77xh2.js} +36 -36
  96. package/dist/chunks/{location-services-nmw6gh4z.js → repository-cache-b52f6b20.js} +40 -40
  97. package/dist/chunks/{location-services-b674v2dg.js → repository-cache-b674v2dg.js} +2 -2
  98. package/dist/chunks/{location-services-ncnm8wen.js → repository-cache-b69jv39p.js} +1 -1
  99. package/dist/chunks/{location-services-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{location-services-v7e370vs.js → repository-cache-bdqa6k4n.js} +5 -5
  101. package/dist/chunks/{location-services-nkzh8q5t.js → repository-cache-bwtwpct7.js} +23 -23
  102. package/dist/chunks/{location-services-hve86swx.js → repository-cache-cb70s9dt.js} +8 -8
  103. package/dist/chunks/{location-services-8sze2n9a.js → repository-cache-cfsekr6v.js} +6 -6
  104. package/dist/chunks/{location-services-d46e2cta.js → repository-cache-ckbnwpw7.js} +11 -11
  105. package/dist/chunks/{location-services-ndadfcaq.js → repository-cache-ctpb9bd3.js} +5 -5
  106. package/dist/chunks/{location-services-79qaa2kf.js → repository-cache-cwa6csj7.js} +9 -9
  107. package/dist/chunks/{location-services-mbhdtkze.js → repository-cache-d3qedjgv.js} +11 -11
  108. package/dist/chunks/{location-services-5402gscc.js → repository-cache-d7ddzgsf.js} +17 -17
  109. package/dist/chunks/{location-services-6y3bxvxj.js → repository-cache-da75awh4.js} +15 -15
  110. package/dist/chunks/{location-services-q25gd7gx.js → repository-cache-dcksech5.js} +9 -9
  111. package/dist/chunks/{location-services-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
  112. package/dist/chunks/{location-services-drnf6xwf.js → repository-cache-drnf6xwf.js} +2 -2
  113. package/dist/chunks/{location-services-j3e6np1x.js → repository-cache-dt79rr6p.js} +12 -12
  114. package/dist/chunks/{location-services-p37cw4rj.js → repository-cache-dv1qgsyq.js} +6 -6
  115. package/dist/chunks/{location-services-1qq40k4k.js → repository-cache-dwngdq4b.js} +19 -19
  116. package/dist/chunks/{location-services-qs0k33dy.js → repository-cache-dx2074w2.js} +13 -13
  117. package/dist/chunks/{location-services-9cbydn38.js → repository-cache-e0yt5kkj.js} +24 -24
  118. package/dist/chunks/{location-services-rwm5vee1.js → repository-cache-e2hjzebn.js} +4 -4
  119. package/dist/chunks/{location-services-z165pzrq.js → repository-cache-e3f0xn9m.js} +27 -27
  120. package/dist/chunks/{location-services-qg8kd4bn.js → repository-cache-e3f83rfj.js} +13 -13
  121. package/dist/chunks/{location-services-3ye4f2yy.js → repository-cache-e72ekma6.js} +3 -3
  122. package/dist/chunks/{location-services-vgj1g915.js → repository-cache-e8qvsypq.js} +16 -16
  123. package/dist/chunks/{location-services-kwbjrwdw.js → repository-cache-ec2p6e73.js} +34 -34
  124. package/dist/chunks/{location-services-yt6jmjwe.js → repository-cache-ed81rq57.js} +4 -4
  125. package/dist/chunks/{location-services-69j91c1q.js → repository-cache-eeaf82dq.js} +8 -8
  126. package/dist/chunks/{location-services-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{location-services-a686yqn2.js → repository-cache-ejq34man.js} +25 -25
  128. package/dist/chunks/{location-services-bw9zjykr.js → repository-cache-eqkxs06z.js} +6 -6
  129. package/dist/chunks/{location-services-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{location-services-av6x2y0p.js → repository-cache-ezbj1fpr.js} +18 -18
  131. package/dist/chunks/{location-services-p3rd9cb6.js → repository-cache-f7rj482f.js} +8 -8
  132. package/dist/chunks/{location-services-739rnbfk.js → repository-cache-fnd80x7n.js} +69 -69
  133. package/dist/chunks/{location-services-a8et2yjv.js → repository-cache-fw8t8h2a.js} +48 -48
  134. package/dist/chunks/{location-services-7v5tk8rc.js → repository-cache-g01j4dtk.js} +27 -27
  135. package/dist/chunks/{location-services-q8ejgrh7.js → repository-cache-g2g6h4y2.js} +11 -11
  136. package/dist/chunks/{location-services-xfkkasph.js → repository-cache-g5w8qwbj.js} +4 -4
  137. package/dist/chunks/{location-services-2zg5m144.js → repository-cache-g6tpd3f3.js} +10 -10
  138. package/dist/chunks/{location-services-730e0d1f.js → repository-cache-g9kkm8kt.js} +4 -4
  139. package/dist/chunks/{location-services-386maghb.js → repository-cache-gcqqjazk.js} +32 -32
  140. package/dist/chunks/{location-services-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{location-services-jrw3dmfp.js → repository-cache-gdw97pah.js} +7 -7
  142. package/dist/chunks/{location-services-5tcm9639.js → repository-cache-gh5z95q3.js} +9 -9
  143. package/dist/chunks/{location-services-3wb7f3rk.js → repository-cache-gmbhe8g5.js} +4 -4
  144. package/dist/chunks/{location-services-dcfdtrv8.js → repository-cache-gmg4efnw.js} +36 -36
  145. package/dist/chunks/{location-services-038ja56e.js → repository-cache-gq310cps.js} +11 -11
  146. package/dist/chunks/{location-services-8s8y9gwq.js → repository-cache-gsggkbsb.js} +14 -14
  147. package/dist/chunks/{location-services-h2b79v29.js → repository-cache-h2b79v29.js} +2 -2
  148. package/dist/chunks/{location-services-1e7pvmz6.js → repository-cache-h697gncw.js} +20 -20
  149. package/dist/chunks/{location-services-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{location-services-k73vhven.js → repository-cache-hacqhjnc.js} +15 -15
  151. package/dist/chunks/{location-services-v2hrpsne.js → repository-cache-hbrg1y73.js} +8 -8
  152. package/dist/chunks/{location-services-jb2vrk6d.js → repository-cache-her3d2s9.js} +22 -22
  153. package/dist/chunks/{location-services-xcheye7x.js → repository-cache-hhvkpmqw.js} +30 -30
  154. package/dist/chunks/{location-services-qb7w2a5v.js → repository-cache-hk87g4j9.js} +20 -20
  155. package/dist/chunks/{location-services-r24mavdp.js → repository-cache-hpapzrps.js} +3 -3
  156. package/dist/chunks/{location-services-w844490d.js → repository-cache-hpmqkzac.js} +15 -15
  157. package/dist/chunks/{location-services-mjqndqed.js → repository-cache-hs1x7rht.js} +5 -5
  158. package/dist/chunks/{location-services-5m0j2dgq.js → repository-cache-hx274pq4.js} +42 -42
  159. package/dist/chunks/repository-cache-j22twtz4.js +253 -0
  160. package/dist/chunks/{location-services-hpmarter.js → repository-cache-j3600rrf.js} +10 -10
  161. package/dist/chunks/{location-services-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
  162. package/dist/chunks/{location-services-mxrxbngv.js → repository-cache-jby0a0d3.js} +15 -15
  163. package/dist/chunks/{location-services-005ee9q8.js → repository-cache-jj9x1ggj.js} +3 -3
  164. package/dist/chunks/{location-services-kk7eqmr5.js → repository-cache-jqc99esa.js} +5 -5
  165. package/dist/chunks/{location-services-hkf7sqjk.js → repository-cache-js6zmc2m.js} +11 -11
  166. package/dist/chunks/{location-services-92k45pvj.js → repository-cache-jz8pf1gf.js} +6 -6
  167. package/dist/chunks/{location-services-rdjnfax5.js → repository-cache-k0cbva3z.js} +21 -21
  168. package/dist/chunks/{location-services-gfwkqpn3.js → repository-cache-kyrf4g17.js} +16 -16
  169. package/dist/chunks/{location-services-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
  170. package/dist/chunks/{location-services-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{location-services-9hd3r0x1.js → repository-cache-mb54k367.js} +35 -35
  172. package/dist/chunks/{location-services-nrdmrqsx.js → repository-cache-mjymc32g.js} +4 -4
  173. package/dist/chunks/{location-services-w7487c8x.js → repository-cache-mqh9b2r2.js} +8 -8
  174. package/dist/chunks/{location-services-jj72jhew.js → repository-cache-n57qrn3a.js} +6 -6
  175. package/dist/chunks/{location-services-yat6tp29.js → repository-cache-n9yzr3f2.js} +18 -18
  176. package/dist/chunks/{location-services-5qbpkkvq.js → repository-cache-nbevcm7z.js} +17 -17
  177. package/dist/chunks/{location-services-pjmbafvv.js → repository-cache-nd0qz9vn.js} +15 -15
  178. package/dist/chunks/{location-services-jahbehqx.js → repository-cache-ne6stvg8.js} +18 -18
  179. package/dist/chunks/{location-services-vqt5kvc0.js → repository-cache-nfrd3k8n.js} +12 -12
  180. package/dist/chunks/{location-services-tx8az79h.js → repository-cache-ngmk5s4j.js} +10 -10
  181. package/dist/chunks/{location-services-72926355.js → repository-cache-nk0cncdn.js} +4 -4
  182. package/dist/chunks/{location-services-j1jytm4y.js → repository-cache-nppwm206.js} +4 -4
  183. package/dist/chunks/{location-services-ybt4avc4.js → repository-cache-p85401z6.js} +13 -13
  184. package/dist/chunks/{location-services-jhyt1ch8.js → repository-cache-p983wz9k.js} +3 -3
  185. package/dist/chunks/{location-services-tfcxrh0e.js → repository-cache-p9b1de7v.js} +14 -14
  186. package/dist/chunks/{location-services-qa6kg5ce.js → repository-cache-pfc6dryh.js} +19 -19
  187. package/dist/chunks/{location-services-wgxg4mhz.js → repository-cache-pjtd6ph8.js} +29 -29
  188. package/dist/chunks/{location-services-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{location-services-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  190. package/dist/chunks/{location-services-t2cngams.js → repository-cache-prf0q3vs.js} +23 -23
  191. package/dist/chunks/{location-services-twbbseq7.js → repository-cache-pv84kftf.js} +31 -31
  192. package/dist/chunks/{location-services-2vn9xece.js → repository-cache-q0dea8a4.js} +5 -5
  193. package/dist/chunks/{location-services-q0xm7vwc.js → repository-cache-q0xm7vwc.js} +2 -2
  194. package/dist/chunks/{location-services-rf80fxgj.js → repository-cache-q17z9dx8.js} +5 -5
  195. package/dist/chunks/{location-services-9eq5kwq7.js → repository-cache-q8peyv7x.js} +8 -8
  196. package/dist/chunks/{location-services-w2g20c7m.js → repository-cache-q9ekeea5.js} +21 -21
  197. package/dist/chunks/{location-services-evdt0y4h.js → repository-cache-qarnpraq.js} +9 -9
  198. package/dist/chunks/{location-services-1rt6b2ft.js → repository-cache-qaxybd8b.js} +24 -24
  199. package/dist/chunks/{location-services-qwjmgwmn.js → repository-cache-qby9dwvd.js} +8 -8
  200. package/dist/chunks/{location-services-3hf7hgee.js → repository-cache-qmacqzaw.js} +1 -1
  201. package/dist/chunks/{location-services-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{location-services-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  203. package/dist/chunks/{location-services-4kypyv15.js → repository-cache-qssqgjzh.js} +5 -5
  204. package/dist/chunks/{location-services-rcw0hhe5.js → repository-cache-qt205g8k.js} +9 -9
  205. package/dist/chunks/{location-services-b3f8fkhc.js → repository-cache-qygbw77c.js} +5 -5
  206. package/dist/chunks/{location-services-dxr5t5mp.js → repository-cache-qykpeme4.js} +14 -14
  207. package/dist/chunks/{location-services-8v3c42p4.js → repository-cache-r26qgbxz.js} +7 -7
  208. package/dist/chunks/{location-services-qcrsmb16.js → repository-cache-r43h3m0v.js} +19 -19
  209. package/dist/chunks/{location-services-7kjj2hf7.js → repository-cache-r6vweynn.js} +11 -11
  210. package/dist/chunks/{location-services-rhraev7y.js → repository-cache-r8xr0va3.js} +4 -4
  211. package/dist/chunks/{location-services-x328e1v9.js → repository-cache-rbdy6pgn.js} +14 -14
  212. package/dist/chunks/{location-services-bh4tn4kr.js → repository-cache-rd3ygx5h.js} +27 -27
  213. package/dist/chunks/{location-services-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{location-services-reg6q42h.js → repository-cache-reg6q42h.js} +2 -2
  215. package/dist/chunks/{location-services-gq4d2z0j.js → repository-cache-rek1mgnt.js} +22 -22
  216. package/dist/chunks/{location-services-9t7a50xb.js → repository-cache-rhjbct0v.js} +4 -4
  217. package/dist/chunks/{location-services-xa8mwyge.js → repository-cache-rmn3m3gf.js} +2 -2
  218. package/dist/chunks/{location-services-m04va80j.js → repository-cache-rs4nb2xx.js} +9 -9
  219. package/dist/chunks/{location-services-9tadwx83.js → repository-cache-s0xttw3k.js} +19 -19
  220. package/dist/chunks/{location-services-vgr2d9jf.js → repository-cache-s3eybw0p.js} +4 -4
  221. package/dist/chunks/{location-services-bh4jt5aw.js → repository-cache-s93md6f8.js} +9 -9
  222. package/dist/chunks/{location-services-gyb4qk55.js → repository-cache-sbf3786x.js} +27 -27
  223. package/dist/chunks/{location-services-yptt0kpa.js → repository-cache-skcgj51b.js} +45 -45
  224. package/dist/chunks/{location-services-p9gk8ytq.js → repository-cache-spd9hrnc.js} +42 -42
  225. package/dist/chunks/{location-services-jda68ddm.js → repository-cache-srfsq8py.js} +3 -3
  226. package/dist/chunks/{location-services-rfjkawsf.js → repository-cache-stp9c87e.js} +9 -9
  227. package/dist/chunks/{location-services-mctxfbc8.js → repository-cache-sy2a3hb1.js} +20 -20
  228. package/dist/chunks/{location-services-v2wwk919.js → repository-cache-syb2vrbv.js} +24 -24
  229. package/dist/chunks/{location-services-8078vm6x.js → repository-cache-t0ngdjdp.js} +1 -1
  230. package/dist/chunks/{location-services-tyg7s7sx.js → repository-cache-t2bbc9e5.js} +4 -4
  231. package/dist/chunks/{location-services-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{location-services-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
  233. package/dist/chunks/{location-services-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  234. package/dist/chunks/{location-services-5xpjggmg.js → repository-cache-tn65e0xg.js} +3 -3
  235. package/dist/chunks/{location-services-6hz9gy1d.js → repository-cache-trnc8c0p.js} +24 -24
  236. package/dist/chunks/{location-services-kp82j6dq.js → repository-cache-trq2ab9q.js} +8 -8
  237. package/dist/chunks/{location-services-kgwqt2v2.js → repository-cache-txeasv02.js} +18 -18
  238. package/dist/chunks/{location-services-v0es1rhs.js → repository-cache-v0es1rhs.js} +2 -2
  239. package/dist/chunks/{location-services-7h3jskqq.js → repository-cache-v4j9mmzp.js} +23 -23
  240. package/dist/chunks/{location-services-8chc4m14.js → repository-cache-v84b5zdr.js} +18 -18
  241. package/dist/chunks/{location-services-bk6jsxdy.js → repository-cache-vd2wkccw.js} +20 -20
  242. package/dist/chunks/{location-services-57trkbe5.js → repository-cache-vd4xatwq.js} +18 -18
  243. package/dist/chunks/{location-services-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  244. package/dist/chunks/{location-services-05cem0rr.js → repository-cache-vf6jcqzn.js} +12 -12
  245. package/dist/chunks/{location-services-wa9g86nq.js → repository-cache-vfjhn2wd.js} +4 -4
  246. package/dist/chunks/{location-services-7j203v3e.js → repository-cache-vs93n2a0.js} +35 -35
  247. package/dist/chunks/{location-services-p7jevsnv.js → repository-cache-vx0crfcw.js} +8 -8
  248. package/dist/chunks/{location-services-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{location-services-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  250. package/dist/chunks/{location-services-nw3j3z06.js → repository-cache-w33r0n2z.js} +20 -20
  251. package/dist/chunks/{location-services-g6yfr6ja.js → repository-cache-w39jehkq.js} +5 -5
  252. package/dist/chunks/{location-services-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{location-services-qgny21m5.js → repository-cache-w4xn84ph.js} +4 -4
  254. package/dist/chunks/{location-services-tx65gs5j.js → repository-cache-w92qfhy9.js} +8 -8
  255. package/dist/chunks/{location-services-0xqj4dty.js → repository-cache-w9p55wnq.js} +11 -11
  256. package/dist/chunks/{location-services-s1pvsrc7.js → repository-cache-wc9dc547.js} +18 -18
  257. package/dist/chunks/{location-services-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  258. package/dist/chunks/{location-services-pvfx3hsd.js → repository-cache-wf9hhd1y.js} +40 -40
  259. package/dist/chunks/{location-services-gknby1cz.js → repository-cache-wtmfszvm.js} +16 -16
  260. package/dist/chunks/{location-services-sf1gp2bm.js → repository-cache-wtqwpwgf.js} +4 -4
  261. package/dist/chunks/{location-services-bs1dfvba.js → repository-cache-x1yb4nr2.js} +20 -20
  262. package/dist/chunks/{location-services-addxnjmp.js → repository-cache-x661k3y3.js} +4 -4
  263. package/dist/chunks/{location-services-88zs0xv9.js → repository-cache-xgyqszzh.js} +5 -5
  264. package/dist/chunks/{location-services-dmqcgk4z.js → repository-cache-xkntkrq7.js} +5 -5
  265. package/dist/chunks/{location-services-qxjc9qry.js → repository-cache-xyafkbt0.js} +3 -3
  266. package/dist/chunks/{location-services-63kpjth9.js → repository-cache-y16p1w2y.js} +5 -5
  267. package/dist/chunks/{location-services-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-services-jy04fj7c.js → repository-cache-y1t2hwwz.js} +2 -2
  269. package/dist/chunks/{location-services-4nj4bn9q.js → repository-cache-y56ehv6b.js} +5 -5
  270. package/dist/chunks/{location-services-zjdx658e.js → repository-cache-ychejvqa.js} +8 -8
  271. package/dist/chunks/{location-services-zsr4wwhv.js → repository-cache-yrcj3v3g.js} +4 -4
  272. package/dist/chunks/{location-services-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{location-services-xmfmtq35.js → repository-cache-z45tr6e4.js} +10 -10
  274. package/dist/chunks/{location-services-s2kgz93z.js → repository-cache-z8g4t8bg.js} +25 -25
  275. package/dist/chunks/{location-services-ff7xhjp2.js → repository-cache-za3jhw35.js} +11 -11
  276. package/dist/chunks/{location-services-28esxs91.js → repository-cache-zkh24274.js} +31 -31
  277. package/dist/chunks/{location-services-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  278. package/dist/chunks/{location-services-dhdnksaa.js → repository-cache-zsm13mz3.js} +17 -17
  279. package/dist/chunks/{location-services-h8cwnp0z.js → repository-cache-zsqegwh4.js} +9 -9
  280. package/dist/chunks/{location-services-z7z1vh8h.js → repository-cache-zx0w556f.js} +19 -19
  281. package/dist/chunks/{location-services-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{location-services-15akr5x4.js → repository-cache-zyfwwvzs.js} +4 -4
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +3 -3
  286. package/dist/codemode/web.js +1 -1
  287. package/dist/command.js +83 -83
  288. package/dist/config/discovery.js +84 -84
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +99 -99
  291. package/dist/config/plugin/agent.js +118 -118
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +154 -154
  294. package/dist/config/plugin/compatibility.js +134 -134
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +117 -117
  297. package/dist/config/plugin/image.js +116 -116
  298. package/dist/config/plugin/instruction.js +90 -90
  299. package/dist/config/plugin/location-watcher.js +118 -118
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +117 -117
  302. package/dist/config/plugin/provider.js +116 -116
  303. package/dist/config/plugin/reference.js +118 -118
  304. package/dist/config/plugin/shell.js +118 -118
  305. package/dist/config/plugin/skill-file.js +102 -102
  306. package/dist/config/plugin/skill.js +137 -137
  307. package/dist/config/plugin/snapshot.js +116 -116
  308. package/dist/config/plugin/source.js +119 -119
  309. package/dist/config/plugin/tool-output.js +117 -117
  310. package/dist/config/plugin/websearch.js +117 -117
  311. package/dist/config/plugin/worktree.js +118 -118
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +115 -115
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +83 -83
  317. package/dist/database/database.js +66 -66
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  381. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  382. package/dist/database/migration.gen.js +49 -49
  383. package/dist/database/migration.js +51 -51
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +76 -76
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +360 -360
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +93 -93
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +95 -95
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +70 -70
  407. package/dist/file-access.js +104 -104
  408. package/dist/file-mutation.js +94 -94
  409. package/dist/file-retention.js +1 -1
  410. package/dist/filesystem/fff.bun.js +2 -2
  411. package/dist/filesystem/fff.js +1 -1
  412. package/dist/filesystem/fff.node.js +2 -2
  413. package/dist/filesystem/fff.workerd.js +2 -2
  414. package/dist/filesystem/location-watcher-policy.js +6 -6
  415. package/dist/filesystem/location-watcher.js +220 -220
  416. package/dist/filesystem/protected.js +3 -3
  417. package/dist/filesystem/search.js +103 -103
  418. package/dist/filesystem/watcher-binding.js +1 -1
  419. package/dist/filesystem/watcher.js +9 -9
  420. package/dist/filesystem.js +106 -106
  421. package/dist/form.js +76 -76
  422. package/dist/formatter/builtins.js +4 -4
  423. package/dist/formatter.js +87 -87
  424. package/dist/generate.js +103 -103
  425. package/dist/git.js +6 -6
  426. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  427. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  428. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  430. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  432. package/dist/github-copilot/copilot-provider.js +17 -17
  433. package/dist/github-copilot/models.js +99 -99
  434. package/dist/github-copilot/openai-compatible-error.js +1 -1
  435. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  436. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  437. package/dist/github-copilot/responses/openai-error.js +1 -1
  438. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  439. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  440. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  441. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  442. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +4 -4
  447. package/dist/instance/service.js +5 -5
  448. package/dist/instance.js +354 -354
  449. package/dist/instruction-discovery.js +81 -81
  450. package/dist/instructions/builtins.js +87 -87
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +3 -3
  453. package/dist/integration.js +85 -85
  454. package/dist/job.js +76 -76
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +73 -73
  457. package/dist/location-activity.js +130 -130
  458. package/dist/location-lifecycle.js +107 -107
  459. package/dist/location-service-map.js +84 -84
  460. package/dist/location-services.js +351 -351
  461. package/dist/location.js +81 -81
  462. package/dist/managed-policy.js +5 -5
  463. package/dist/mcp/client.js +91 -91
  464. package/dist/mcp/index.js +109 -109
  465. package/dist/mcp/instructions.js +127 -127
  466. package/dist/mcp/oauth.js +78 -78
  467. package/dist/mcp/stdio.js +90 -90
  468. package/dist/mime.js +1 -1
  469. package/dist/modal/models.js +99 -99
  470. package/dist/model-resolver.js +96 -96
  471. package/dist/model.js +100 -100
  472. package/dist/models-dev.js +107 -107
  473. package/dist/oauth/page.js +1 -1
  474. package/dist/permission/saved.js +80 -80
  475. package/dist/permission/sql.js +5 -5
  476. package/dist/permission.js +105 -105
  477. package/dist/persistent-pty/binary.bun.js +1 -1
  478. package/dist/persistent-pty/daemon.js +1 -1
  479. package/dist/persistent-pty/index.js +88 -88
  480. package/dist/persistent-pty/pty-binding.js +1 -1
  481. package/dist/persistent-pty.js +75 -75
  482. package/dist/plugin/agent.js +104 -104
  483. package/dist/plugin/command.js +102 -102
  484. package/dist/plugin/hooks.js +5 -5
  485. package/dist/plugin/host.js +211 -211
  486. package/dist/plugin/identity.js +3 -3
  487. package/dist/plugin/instance.js +3 -3
  488. package/dist/plugin/internal.js +326 -326
  489. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  490. package/dist/plugin/models-dev.js +96 -96
  491. package/dist/plugin/module.js +7 -7
  492. package/dist/plugin/optimize.js +4 -4
  493. package/dist/plugin/plan.js +102 -102
  494. package/dist/plugin/promise.js +1 -1
  495. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  496. package/dist/plugin/provider/azure.js +115 -115
  497. package/dist/plugin/provider/cerebras.js +1 -1
  498. package/dist/plugin/provider/chatgpt.js +93 -93
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +112 -112
  503. package/dist/plugin/provider/digitalocean.js +93 -93
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/github-copilot.js +95 -95
  507. package/dist/plugin/provider/gitlab.js +93 -93
  508. package/dist/plugin/provider/google-vertex.js +90 -90
  509. package/dist/plugin/provider/kilo.js +1 -1
  510. package/dist/plugin/provider/llmgateway.js +78 -78
  511. package/dist/plugin/provider/lmstudio.js +114 -114
  512. package/dist/plugin/provider/local.js +113 -113
  513. package/dist/plugin/provider/modal.js +92 -92
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +116 -116
  516. package/dist/plugin/provider/openai.js +95 -95
  517. package/dist/plugin/provider/opencode.js +96 -96
  518. package/dist/plugin/provider/openrouter.js +91 -91
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +79 -79
  521. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  522. package/dist/plugin/provider/sap-ai-core.js +91 -91
  523. package/dist/plugin/provider/sdk-factory.js +1 -1
  524. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  525. package/dist/plugin/provider/vercel.js +90 -90
  526. package/dist/plugin/provider/vllm.js +116 -116
  527. package/dist/plugin/provider/xai.js +91 -91
  528. package/dist/plugin/provider/zenmux.js +1 -1
  529. package/dist/plugin/provider.js +155 -155
  530. package/dist/plugin/sdk.js +74 -74
  531. package/dist/plugin/service.js +3 -3
  532. package/dist/plugin/skill.js +132 -132
  533. package/dist/plugin/source-directory.js +1 -1
  534. package/dist/plugin/supervisor.js +345 -345
  535. package/dist/plugin/tool-input-repair.js +2 -2
  536. package/dist/plugin/update.js +4 -4
  537. package/dist/plugin/vcs/git.js +86 -86
  538. package/dist/plugin/vcs/hg.js +84 -84
  539. package/dist/plugin/verbosity.js +93 -93
  540. package/dist/plugin/warming.js +114 -114
  541. package/dist/plugin/websearch/exa.js +7 -7
  542. package/dist/plugin/websearch/firecrawl.js +8 -8
  543. package/dist/plugin/websearch/index.js +9 -9
  544. package/dist/plugin/websearch/mcp.js +6 -6
  545. package/dist/plugin/websearch/parallel.js +8 -8
  546. package/dist/plugin/websearch/tavily.js +6 -6
  547. package/dist/plugin/websearch/tinyfish.js +8 -8
  548. package/dist/plugin.js +220 -220
  549. package/dist/project/schema.js +2 -2
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +80 -80
  552. package/dist/provider.js +97 -97
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/ticket.js +1 -1
  555. package/dist/pty.js +99 -99
  556. package/dist/reference/instructions.js +89 -89
  557. package/dist/reference.js +91 -91
  558. package/dist/repository-cache.js +81 -81
  559. package/dist/repository.js +3 -3
  560. package/dist/ripgrep/binary.js +2 -2
  561. package/dist/ripgrep.js +95 -95
  562. package/dist/rpc.js +86 -86
  563. package/dist/schema.js +1 -1
  564. package/dist/session/affinity.js +1 -1
  565. package/dist/session/command.js +74 -74
  566. package/dist/session/compaction.js +133 -133
  567. package/dist/session/context.js +153 -153
  568. package/dist/session/diff.js +88 -88
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +3 -3
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +214 -214
  573. package/dist/session/execution.js +123 -123
  574. package/dist/session/generate.js +152 -152
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +86 -86
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +79 -79
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +97 -97
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +120 -120
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +129 -129
  586. package/dist/session/projector.js +86 -86
  587. package/dist/session/prompt.js +105 -105
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +90 -90
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +224 -224
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +98 -98
  595. package/dist/session/runner/publish-llm-event.js +113 -113
  596. package/dist/session/runner/retry.js +4 -4
  597. package/dist/session/runner/step.js +125 -125
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +1 -1
  600. package/dist/session/session.js +164 -164
  601. package/dist/session/shell.js +130 -130
  602. package/dist/session/skill.js +103 -103
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +73 -73
  605. package/dist/session/store.js +87 -87
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +203 -203
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +157 -157
  610. package/dist/session/to-session-error.js +111 -111
  611. package/dist/session/transfer.js +205 -205
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +207 -207
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +13 -13
  618. package/dist/shell.js +132 -132
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +107 -107
  621. package/dist/skill.js +110 -110
  622. package/dist/snapshot.js +89 -89
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +128 -128
  627. package/dist/tool/plugin/edit.js +120 -120
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +116 -116
  630. package/dist/tool/plugin/grep.js +124 -124
  631. package/dist/tool/plugin/mcp-resource.js +117 -117
  632. package/dist/tool/plugin/opencode.js +3 -3
  633. package/dist/tool/plugin/patch.js +122 -122
  634. package/dist/tool/plugin/question.js +105 -105
  635. package/dist/tool/plugin/read.js +125 -125
  636. package/dist/tool/plugin/shell.js +206 -206
  637. package/dist/tool/plugin/skill.js +109 -109
  638. package/dist/tool/plugin/subagent.js +212 -212
  639. package/dist/tool/plugin/webfetch.js +112 -112
  640. package/dist/tool/plugin/websearch.js +112 -112
  641. package/dist/tool/plugin/write.js +120 -120
  642. package/dist/tool/read-filesystem.js +100 -100
  643. package/dist/tool/runtime.js +1 -1
  644. package/dist/tool-output.js +7 -7
  645. package/dist/tool.js +12 -12
  646. package/dist/util/error-summary.js +1 -1
  647. package/dist/util/error.js +1 -1
  648. package/dist/util/git-executable.js +2 -2
  649. package/dist/util/iife.js +1 -1
  650. package/dist/util/lazy.js +1 -1
  651. package/dist/util/slug.js +1 -1
  652. package/dist/util/token.js +1 -1
  653. package/dist/util/which.js +1 -1
  654. package/dist/util/wildcard.js +1 -1
  655. package/dist/v1/config/agent.js +5 -5
  656. package/dist/v1/config/command.js +5 -5
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/mcp.js +4 -4
  659. package/dist/v1/config/migrate.js +92 -92
  660. package/dist/v1/config/permission.js +3 -3
  661. package/dist/v1/config/plugin.js +3 -3
  662. package/dist/v1/config/provider-options.js +1 -1
  663. package/dist/v1/config/provider.js +2 -2
  664. package/dist/variant.js +91 -91
  665. package/dist/vcs/patch.js +1 -1
  666. package/dist/vcs.js +89 -89
  667. package/dist/websearch.js +82 -82
  668. package/dist/wellknown/plugin.js +76 -76
  669. package/dist/wellknown.js +79 -79
  670. package/dist/workspace/driver.js +5 -5
  671. package/dist/workspace/sql.js +1 -1
  672. package/dist/workspace.js +78 -78
  673. package/dist/worktree/directory.js +2 -2
  674. package/dist/worktree/git.js +10 -10
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree/strategies.js +89 -89
  677. package/dist/worktree.js +98 -98
  678. package/package.json +8 -10
  679. package/dist/chunks/location-services-f50w6s0d.js +0 -253
  680. package/dist/chunks/location-services-fwsqw8dw.js +0 -507
  681. package/dist/chunks/location-services-gvcrjn4k.js +0 -26
  682. package/dist/chunks/location-services-phz3h32g.js +0 -18
  683. /package/dist/chunks/{location-services-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  684. /package/dist/chunks/{location-services-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  685. /package/dist/chunks/{location-services-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  686. /package/dist/chunks/{location-services-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  687. /package/dist/chunks/{location-services-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  688. /package/dist/chunks/{location-services-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  689. /package/dist/chunks/{location-services-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{location-services-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{location-services-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{location-services-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
  693. /package/dist/chunks/{location-services-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  694. /package/dist/chunks/{location-services-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  695. /package/dist/chunks/{location-services-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  696. /package/dist/chunks/{location-services-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  697. /package/dist/chunks/{location-services-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
  698. /package/dist/chunks/{location-services-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  699. /package/dist/chunks/{location-services-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  700. /package/dist/chunks/{location-services-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  701. /package/dist/chunks/{location-services-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  702. /package/dist/chunks/{location-services-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{location-services-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  704. /package/dist/chunks/{location-services-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{location-services-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  706. /package/dist/chunks/{location-services-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  707. /package/dist/chunks/{location-services-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  708. /package/dist/chunks/{location-services-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  709. /package/dist/chunks/{location-services-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  710. /package/dist/chunks/{location-services-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  711. /package/dist/chunks/{location-services-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  712. /package/dist/chunks/{location-services-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  713. /package/dist/chunks/{location-services-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  714. /package/dist/chunks/{location-services-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  715. /package/dist/chunks/{location-services-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  716. /package/dist/chunks/{location-services-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  717. /package/dist/chunks/{location-services-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  718. /package/dist/chunks/{location-services-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  719. /package/dist/chunks/{location-services-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  720. /package/dist/chunks/{location-services-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  721. /package/dist/chunks/{location-services-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  722. /package/dist/chunks/{location-services-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  723. /package/dist/chunks/{location-services-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  724. /package/dist/chunks/{location-services-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  725. /package/dist/chunks/{location-services-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  726. /package/dist/chunks/{location-services-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  727. /package/dist/chunks/{location-services-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  728. /package/dist/chunks/{location-services-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  729. /package/dist/chunks/{location-services-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  730. /package/dist/chunks/{location-services-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  731. /package/dist/chunks/{location-services-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  732. /package/dist/chunks/{location-services-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  733. /package/dist/chunks/{location-services-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  734. /package/dist/chunks/{location-services-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  735. /package/dist/chunks/{location-services-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  736. /package/dist/chunks/{location-services-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  737. /package/dist/chunks/{location-services-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  738. /package/dist/chunks/{location-services-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  739. /package/dist/chunks/{location-services-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  740. /package/dist/chunks/{location-services-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  741. /package/dist/chunks/{location-services-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  742. /package/dist/chunks/{location-services-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  743. /package/dist/chunks/{location-services-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  744. /package/dist/chunks/{location-services-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  745. /package/dist/chunks/{location-services-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  746. /package/dist/chunks/{location-services-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  747. /package/dist/chunks/{location-services-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  748. /package/dist/chunks/{location-services-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  749. /package/dist/chunks/{location-services-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{location-services-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{location-services-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{location-services-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{location-services-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{location-services-my4zabxr.js → repository-cache-my4zabxr.js} +0 -0
  755. /package/dist/chunks/{location-services-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{location-services-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{location-services-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{location-services-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{location-services-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{location-services-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{location-services-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{location-services-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{location-services-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{location-services-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{location-services-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{location-services-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{location-services-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{location-services-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{location-services-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{location-services-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{location-services-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{location-services-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{location-services-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  774. /package/dist/chunks/{location-services-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{location-services-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{location-services-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{location-services-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{location-services-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{location-services-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{location-services-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make22,
4
+ make20,
5
5
  diffByKey2
6
- } from "./location-services-9t7a50xb.js";
6
+ } from "./repository-cache-rhjbct0v.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./location-services-nmw6gh4z.js";
9
+ } from "./repository-cache-b52f6b20.js";
10
10
  import {
11
- Service28,
12
- node31
13
- } from "./location-services-dh6k37e9.js";
11
+ Service33,
12
+ node36
13
+ } from "./repository-cache-27rbdjmf.js";
14
14
  import {
15
15
  namespace2,
16
- name14
17
- } from "./location-services-z165pzrq.js";
16
+ name13
17
+ } from "./repository-cache-e3f0xn9m.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./repository-cache-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions2 = {};
24
24
  __export(exports_instructions2, {
25
25
  McpInstructions: () => exports_instructions2,
26
- Service: () => Service20,
27
- layer: () => layer10,
28
- node: () => node24
26
+ Service: () => Service28,
27
+ layer: () => layer11,
28
+ node: () => node31
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 Service20 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service28 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer10 = Layer.effect(Service20, Effect.gen(function* () {
67
- const mcp = yield* Service28;
68
- return Service20.of({
66
+ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
67
+ const mcp = yield* Service33;
68
+ return Service28.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make22({
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),
@@ -86,7 +86,7 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service20, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node24 = makeLocationNode({ service: Service20, layer: layer10, deps: [node31] });
99
+ var node31 = makeLocationNode({ service: Service28, layer: layer11, deps: [node36] });
100
100
 
101
- export { Service20, layer10, node24, exports_instructions2 };
101
+ export { Service28, layer11, node31, exports_instructions2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./location-services-nrdmrqsx.js";
6
+ } from "./repository-cache-mjymc32g.js";
7
+ import {
8
+ Info10
9
+ } from "./repository-cache-03xyy9gs.js";
7
10
  import {
8
11
  Info8
9
- } from "./location-services-ryd2rdzb.js";
12
+ } from "./repository-cache-7sbkp4xb.js";
10
13
  import {
11
14
  Info9
12
- } from "./location-services-t6vsspdg.js";
13
- import {
14
- Info11
15
- } from "./location-services-g6yfr6ja.js";
15
+ } from "./repository-cache-w39jehkq.js";
16
16
  import {
17
17
  Spec2
18
- } from "./location-services-qgn6gcr1.js";
18
+ } from "./repository-cache-2k8khapm.js";
19
19
  import {
20
20
  Info12
21
- } from "./location-services-b674v2dg.js";
21
+ } from "./repository-cache-b674v2dg.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./location-services-j1jytm4y.js";
30
+ } from "./repository-cache-nppwm206.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./repository-cache-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -97,12 +97,12 @@ function normalize2(input) {
97
97
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
98
98
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
99
99
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
100
- const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
100
+ const legacyCommands = decodeMap(input.command, Info8, ["command"], diagnostics, decodeValue);
101
101
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info11, value, path, diagnostics);
220
+ const server = decodeValue(Info9, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-mbhdtkze.js";
3
+ } from "./repository-cache-d3qedjgv.js";
4
4
  import {
5
5
  __export
6
- } from "./location-services-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin29,
11
+ Plugin: () => Plugin19,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin29 = define({
32
+ var Plugin19 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin29 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin29 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin29, exports_tavily };
80
+ export { endpoint5, Plugin19, exports_tavily };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-mbhdtkze.js";
3
+ } from "./repository-cache-d3qedjgv.js";
4
4
  import {
5
5
  Service83
6
- } from "./location-services-vgr2d9jf.js";
6
+ } from "./repository-cache-s3eybw0p.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./location-services-8fg7kjkz.js";
9
+ Event19
10
+ } from "./repository-cache-7ac9g4dc.js";
11
11
  import {
12
12
  key2
13
- } from "./location-services-addxnjmp.js";
13
+ } from "./repository-cache-x661k3y3.js";
14
14
  import {
15
- ID14,
15
+ ID13,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./location-services-6hz9gy1d.js";
18
+ } from "./repository-cache-trnc8c0p.js";
19
19
  import {
20
- Service54
21
- } from "./location-services-p3rd9cb6.js";
20
+ Service70
21
+ } from "./repository-cache-f7rj482f.js";
22
22
  import {
23
- ID13,
23
+ ID12,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./location-services-t2cngams.js";
26
+ } from "./repository-cache-prf0q3vs.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./location-services-a686yqn2.js";
29
+ } from "./repository-cache-ejq34man.js";
30
30
  import {
31
31
  ID4,
32
- Input14,
32
+ Input13,
33
33
  Response2
34
- } from "./location-services-mctxfbc8.js";
34
+ } from "./repository-cache-sy2a3hb1.js";
35
35
 
36
36
  // src/plugin/provider/opencode.ts
37
37
  import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
99
99
  }
100
100
  function oauth(http) {
101
101
  return {
102
- integrationID: ID14.make("opencode"),
102
+ integrationID: ID13.make("opencode"),
103
103
  method: {
104
104
  id: methodID,
105
105
  type: "oauth",
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
166
166
  const bus = yield* Service83;
167
167
  const client = yield* HttpClient.HttpClient;
168
168
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
169
- const managed = yield* Service54;
169
+ const managed = yield* Service70;
170
170
  const scope = yield* Scope.Scope;
171
171
  const loading = Semaphore.makeUnsafe(1);
172
172
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
215
215
  providers.update(providerID, (provider) => {
216
216
  if (source && source.provider !== provider)
217
217
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
218
- provider.integrationID = ID14.make("opencode");
218
+ provider.integrationID = ID13.make("opencode");
219
219
  if (item.canonical !== undefined)
220
220
  provider.canonical = item.canonical;
221
221
  if (item.name !== undefined)
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
281
281
  sourceConnection: snapshot.connection
282
282
  });
283
283
  }
284
- const item = providers.get(ID13.opencode);
284
+ const item = providers.get(ID12.opencode);
285
285
  if (!item)
286
286
  return;
287
287
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
293
293
  });
294
294
  });
295
295
  yield* ctx.model.transform((models) => {
296
- const item = models.provider.get(ID13.opencode);
296
+ const item = models.provider.get(ID12.opencode);
297
297
  if (!item)
298
298
  return;
299
299
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
327
327
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
328
328
  const token = credential.type === "oauth" ? credential.access : credential.key;
329
329
  const server = yield* normalizeServer(serverUrl(credential));
330
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
330
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
331
331
  query: input.query,
332
332
  providerID: descriptor.providerID
333
333
  }));
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
382
382
  });
383
383
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
384
384
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
385
- explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
385
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
386
386
  });
387
387
  yield* guard(snapshot);
388
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
388
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
389
389
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
390
390
  })
391
391
  });
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service80
3
- } from "./location-services-jy04fj7c.js";
3
+ } from "./repository-cache-y1t2hwwz.js";
4
4
  import {
5
- Service58
6
- } from "./location-services-rdjnfax5.js";
5
+ Service78
6
+ } from "./repository-cache-k0cbva3z.js";
7
7
  import {
8
- Service14,
8
+ Service13,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./location-services-ybt4avc4.js";
11
+ } from "./repository-cache-p85401z6.js";
12
12
  import {
13
- Service13
14
- } from "./location-services-w74wtxgt.js";
13
+ Service71
14
+ } from "./repository-cache-9ybrg23s.js";
15
15
  import {
16
- Service67
17
- } from "./location-services-nmw6gh4z.js";
16
+ Service62
17
+ } from "./repository-cache-b52f6b20.js";
18
18
  import {
19
- Service41,
19
+ Service17,
20
20
  resolvePath2
21
- } from "./location-services-mxrxbngv.js";
21
+ } from "./repository-cache-jby0a0d3.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./location-services-6prwharc.js";
24
+ } from "./repository-cache-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./location-services-9rqn6x4v.js";
27
+ } from "./repository-cache-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input4,
34
- Output: () => Output3,
35
- Plugin: () => Plugin39,
36
- name: () => name4
33
+ Input: () => Input10,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin12,
36
+ name: () => name10
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name4 = "edit";
43
- var Input4 = Schema.Struct({
42
+ var name10 = "edit";
43
+ var Input10 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin39 = {
106
+ var Plugin12 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service41;
110
- const fileMutation = yield* Service14;
111
- const environment = yield* Service58;
112
- const formatter = yield* Service13;
109
+ const access = yield* Service17;
110
+ const fileMutation = yield* Service13;
111
+ const environment = yield* Service78;
112
+ const formatter = yield* Service71;
113
113
  const location = yield* Service80;
114
- const permission = yield* Service67;
114
+ const permission = yield* Service62;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name4,
116
+ name: name10,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input4,
120
- output: Output3,
119
+ input: Input10,
120
+ output: Output7,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin39 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name4, Input4, Output3, Plugin39, exports_edit };
197
+ export { name10, Input10, Output7, Plugin12, exports_edit };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./location-services-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./location-services-mjqndqed.js";
7
+ } from "./repository-cache-hs1x7rht.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./location-services-84txncab.js";
13
+ } from "./repository-cache-w1eejvng.js";
14
14
  import {
15
- Service74,
16
- node78
17
- } from "./location-services-hpmarter.js";
15
+ Service69,
16
+ node72
17
+ } from "./repository-cache-j3600rrf.js";
18
18
  import {
19
19
  __export
20
- } from "./location-services-9rqn6x4v.js";
20
+ } from "./repository-cache-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service37,
33
+ Service: () => Service54,
34
34
  isError: () => isError2,
35
- node: () => node41,
35
+ node: () => node58,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service37 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service54 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service37, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service74;
110
- return Service37.of({
109
+ const kv = yield* Service69;
110
+ return Service54.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node41 = makeGlobalNode({
171
- service: Service37,
170
+ var node58 = makeGlobalNode({
171
+ service: Service54,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node78]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node72]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service37, isError2, validateBranch2, node41, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service54, isError2, validateBranch2, node58, exports_repository_cache };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  jitCompatCheck2
3
- } from "./location-services-emrn6kk6.js";
3
+ } from "./repository-cache-emrn6kk6.js";
4
4
  import {
5
5
  SQLiteEffectDatabase2
6
- } from "./location-services-8v3c42p4.js";
6
+ } from "./repository-cache-r26qgbxz.js";
7
7
  import {
8
8
  EffectSQLiteSession2
9
- } from "./location-services-8078vm6x.js";
9
+ } from "./repository-cache-t0ngdjdp.js";
10
10
 
11
11
  // src/database/drizzle/effect-sqlite/driver.ts
12
12
  import * as Effect from "effect/Effect";
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./location-services-z7z1vh8h.js";
5
+ } from "./repository-cache-zx0w556f.js";
6
6
  import {
7
7
  merge2
8
- } from "./location-services-nmw6gh4z.js";
8
+ } from "./repository-cache-b52f6b20.js";
9
9
  import {
10
10
  __export
11
- } from "./location-services-9rqn6x4v.js";
11
+ } from "./repository-cache-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin35
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin27
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -84,7 +84,7 @@ Rules:
84
84
  - Never ask questions or add new questions
85
85
  - If the conversation ends with an unanswered question to the user, preserve that exact question
86
86
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
87
- var Plugin35 = define({
87
+ var Plugin27 = define({
88
88
  id: "opencode.agent",
89
89
  effect: Effect.fn(function* (ctx) {
90
90
  yield* ctx.agent.transform((editor) => {
@@ -94,13 +94,13 @@ var Plugin35 = define({
94
94
  item.mode = "primary";
95
95
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
96
96
  });
97
- editor.update(ID11.make("general"), (item) => {
97
+ editor.update(ID9.make("general"), (item) => {
98
98
  item.name = Name3.make("General");
99
99
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
100
100
  item.mode = "subagent";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
102
102
  });
103
- editor.update(ID11.make("explore"), (item) => {
103
+ editor.update(ID9.make("explore"), (item) => {
104
104
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
105
105
  item.name = Name3.make("Explore");
106
106
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -120,19 +120,19 @@ var Plugin35 = define({
120
120
  { action: "subagent", resource: "*", effect: "deny" }
121
121
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
122
122
  });
123
- editor.update(ID11.make("compaction"), (item) => {
123
+ editor.update(ID9.make("compaction"), (item) => {
124
124
  item.name = Name3.make("Compaction");
125
125
  item.mode = "primary";
126
126
  item.hidden = true;
127
127
  });
128
- editor.update(ID11.make("title"), (item) => {
128
+ editor.update(ID9.make("title"), (item) => {
129
129
  item.name = Name3.make("Title");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  item.system = PROMPT_TITLE;
133
133
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
134
134
  });
135
- editor.update(ID11.make("summary"), (item) => {
135
+ editor.update(ID9.make("summary"), (item) => {
136
136
  item.name = Name3.make("Summary");
137
137
  item.mode = "primary";
138
138
  item.hidden = true;
@@ -143,4 +143,4 @@ var Plugin35 = define({
143
143
  })
144
144
  });
145
145
 
146
- export { Plugin35, exports_agent2 };
146
+ export { Plugin27, exports_agent };