@opencode/core 0.0.0-dev-20632 → 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 +81 -81
  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 +75 -75
  7. package/dist/chunks/{instruction-discovery-183kybdv.js → repository-cache-0314bnyz.js} +15 -15
  8. package/dist/chunks/{instruction-discovery-jervv9x6.js → repository-cache-03xyy9gs.js} +8 -8
  9. package/dist/chunks/{instruction-discovery-9g4rk4x2.js → repository-cache-0farmcce.js} +32 -32
  10. package/dist/chunks/{instruction-discovery-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{instruction-discovery-sxfhvche.js → repository-cache-0r8xnjkd.js} +11 -11
  12. package/dist/chunks/{instruction-discovery-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{instruction-discovery-1arz3s5f.js → repository-cache-0yq98qfb.js} +36 -36
  14. package/dist/chunks/{instruction-discovery-jn0jhhvs.js → repository-cache-13fmgeb3.js} +9 -9
  15. package/dist/chunks/{instruction-discovery-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{instruction-discovery-84h8c373.js → repository-cache-1dvck2a7.js} +2 -2
  17. package/dist/chunks/{instruction-discovery-pxka6q5y.js → repository-cache-1gpb38yh.js} +3 -3
  18. package/dist/chunks/{instruction-discovery-r8yv96k8.js → repository-cache-1gzs4dwb.js} +5 -5
  19. package/dist/chunks/{instruction-discovery-csy15vh0.js → repository-cache-1mp78k6j.js} +35 -35
  20. package/dist/chunks/{instruction-discovery-xmvewwn8.js → repository-cache-1qp08ady.js} +13 -13
  21. package/dist/chunks/{instruction-discovery-szcaatyn.js → repository-cache-1s3jpj7n.js} +24 -24
  22. package/dist/chunks/{instruction-discovery-kmftt7d2.js → repository-cache-27rbdjmf.js} +48 -48
  23. package/dist/chunks/{instruction-discovery-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{instruction-discovery-yr6bmngk.js → repository-cache-2awp3nqz.js} +27 -27
  25. package/dist/chunks/{instruction-discovery-qwnftk75.js → repository-cache-2epzd39j.js} +95 -95
  26. package/dist/chunks/{instruction-discovery-sjrcq81y.js → repository-cache-2fxj49dy.js} +38 -38
  27. package/dist/chunks/{instruction-discovery-qgn6gcr1.js → repository-cache-2k8khapm.js} +5 -5
  28. package/dist/chunks/{instruction-discovery-56gdpj1q.js → repository-cache-33w4ejhs.js} +6 -6
  29. package/dist/chunks/{instruction-discovery-a8rgxaz5.js → repository-cache-380yy1tx.js} +178 -178
  30. package/dist/chunks/{instruction-discovery-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  31. package/dist/chunks/{instruction-discovery-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  32. package/dist/chunks/{instruction-discovery-95wx2n6h.js → repository-cache-3pv863bm.js} +21 -21
  33. package/dist/chunks/{instruction-discovery-46ymrqgy.js → repository-cache-3rjdzas3.js} +8 -8
  34. package/dist/chunks/{instruction-discovery-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{instruction-discovery-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{instruction-discovery-dn1tm2pd.js → repository-cache-3vgk5qpr.js} +36 -36
  37. package/dist/chunks/{instruction-discovery-853hcjrv.js → repository-cache-3vk8kg3r.js} +14 -14
  38. package/dist/chunks/{instruction-discovery-b27gyhng.js → repository-cache-3z4h39tf.js} +8 -8
  39. package/dist/chunks/{instruction-discovery-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{instruction-discovery-ph9bhja9.js → repository-cache-43h714sb.js} +30 -30
  41. package/dist/chunks/{instruction-discovery-0rdtx5rk.js → repository-cache-4725dwfb.js} +6 -6
  42. package/dist/chunks/{instruction-discovery-mwwxnxty.js → repository-cache-4eq8w0dz.js} +4 -4
  43. package/dist/chunks/repository-cache-4gw7g1yd.js +507 -0
  44. package/dist/chunks/{instruction-discovery-wq2kqft7.js → repository-cache-4k8essf6.js} +21 -21
  45. package/dist/chunks/{instruction-discovery-m2sskxzc.js → repository-cache-4kagh904.js} +5 -5
  46. package/dist/chunks/{instruction-discovery-4ts7tf6z.js → repository-cache-4ts7tf6z.js} +2 -2
  47. package/dist/chunks/{instruction-discovery-g69kn8d0.js → repository-cache-4x0vy5hp.js} +8 -8
  48. package/dist/chunks/{instruction-discovery-q095e4ka.js → repository-cache-4ybhn1pz.js} +20 -20
  49. package/dist/chunks/{instruction-discovery-knkdddfr.js → repository-cache-4yxz2xtz.js} +3 -3
  50. package/dist/chunks/{instruction-discovery-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
  51. package/dist/chunks/{instruction-discovery-wxjjr4dj.js → repository-cache-5a1tjkyz.js} +29 -29
  52. package/dist/chunks/{instruction-discovery-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  53. package/dist/chunks/{instruction-discovery-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{instruction-discovery-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
  55. package/dist/chunks/{instruction-discovery-5j8gw0vj.js → repository-cache-60x3zdck.js} +22 -22
  56. package/dist/chunks/{instruction-discovery-jgw72612.js → repository-cache-66hfmvvk.js} +14 -14
  57. package/dist/chunks/{instruction-discovery-ebkmdq3k.js → repository-cache-67fkg7q1.js} +10 -10
  58. package/dist/chunks/{instruction-discovery-19ews09r.js → repository-cache-68tetnxs.js} +1 -1
  59. package/dist/chunks/{instruction-discovery-8zgtn0t3.js → repository-cache-6j80gscp.js} +16 -16
  60. package/dist/chunks/{instruction-discovery-xpca8v77.js → repository-cache-6kqdj38p.js} +36 -36
  61. package/dist/chunks/{instruction-discovery-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
  62. package/dist/chunks/{instruction-discovery-f75zav2x.js → repository-cache-71az546q.js} +2 -2
  63. package/dist/chunks/{instruction-discovery-mvfsc1pv.js → repository-cache-73tb2d7t.js} +3 -3
  64. package/dist/chunks/{instruction-discovery-84cjzns6.js → repository-cache-75jaekcr.js} +11 -11
  65. package/dist/chunks/{instruction-discovery-vrkm0f1x.js → repository-cache-7ac9g4dc.js} +36 -36
  66. package/dist/chunks/{instruction-discovery-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{instruction-discovery-507ndah0.js → repository-cache-7pjv26c7.js} +3 -3
  68. package/dist/chunks/{instruction-discovery-d216944b.js → repository-cache-7sbkp4xb.js} +7 -7
  69. package/dist/chunks/{instruction-discovery-tbmac1c7.js → repository-cache-80scg3y3.js} +4 -4
  70. package/dist/chunks/{instruction-discovery-hjp32rjf.js → repository-cache-81nd2mqz.js} +35 -35
  71. package/dist/chunks/{instruction-discovery-d4he4nc8.js → repository-cache-83nfeprs.js} +11 -11
  72. package/dist/chunks/{instruction-discovery-r8qtb7qx.js → repository-cache-8bpbh7v7.js} +11 -11
  73. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{instruction-discovery-fkg89wek.js → repository-cache-8ef36zg1.js} +25 -25
  75. package/dist/chunks/{instruction-discovery-82bpwnv2.js → repository-cache-8pdzessb.js} +5 -5
  76. package/dist/chunks/{instruction-discovery-psrzn7pb.js → repository-cache-8qf1wa8e.js} +13 -13
  77. package/dist/chunks/{instruction-discovery-cxsqhebf.js → repository-cache-8t879spr.js} +45 -45
  78. package/dist/chunks/{instruction-discovery-gxmp6baz.js → repository-cache-90sz55zw.js} +5 -5
  79. package/dist/chunks/repository-cache-97y2hkx4.js +26 -0
  80. package/dist/chunks/{instruction-discovery-kb9j3d72.js → repository-cache-9e5bzkjp.js} +3 -3
  81. package/dist/chunks/{instruction-discovery-p36tqhm4.js → repository-cache-9mvydfy5.js} +15 -15
  82. package/dist/chunks/{instruction-discovery-kfv6wrv8.js → repository-cache-9mwb0ww6.js} +8 -8
  83. package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
  84. package/dist/chunks/{instruction-discovery-359cessa.js → repository-cache-9wt051s7.js} +88 -88
  85. package/dist/chunks/{instruction-discovery-qc6fmz5t.js → repository-cache-9ybrg23s.js} +15 -15
  86. package/dist/chunks/{instruction-discovery-n1jvnar0.js → repository-cache-a1r14f74.js} +11 -11
  87. package/dist/chunks/{instruction-discovery-kcjvx8fm.js → repository-cache-a27z7shm.js} +50 -50
  88. package/dist/chunks/{instruction-discovery-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  89. package/dist/chunks/{instruction-discovery-cvnhmw62.js → repository-cache-adws6758.js} +4 -4
  90. package/dist/chunks/{instruction-discovery-qj42z0jq.js → repository-cache-aevez07h.js} +15 -15
  91. package/dist/chunks/{instruction-discovery-hdtnhvcr.js → repository-cache-akqawhrq.js} +11 -11
  92. package/dist/chunks/{instruction-discovery-0ntvdsg8.js → repository-cache-as7cf5zz.js} +4 -4
  93. package/dist/chunks/{instruction-discovery-a554nrhr.js → repository-cache-asmhed6t.js} +8 -8
  94. package/dist/chunks/{instruction-discovery-qmm9pzcg.js → repository-cache-b2p5j8y6.js} +46 -46
  95. package/dist/chunks/{instruction-discovery-4t1fcac6.js → repository-cache-b3y77xh2.js} +41 -41
  96. package/dist/chunks/{instruction-discovery-yj7xxne7.js → repository-cache-b52f6b20.js} +50 -50
  97. package/dist/chunks/{instruction-discovery-6kzp9tjq.js → repository-cache-b674v2dg.js} +5 -5
  98. package/dist/chunks/{instruction-discovery-hd8vw2pw.js → repository-cache-b69jv39p.js} +1 -1
  99. package/dist/chunks/{instruction-discovery-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{instruction-discovery-7d91w09k.js → repository-cache-bdqa6k4n.js} +7 -7
  101. package/dist/chunks/{instruction-discovery-85bmqqw5.js → repository-cache-bwtwpct7.js} +23 -23
  102. package/dist/chunks/{instruction-discovery-hxg6y58f.js → repository-cache-cb70s9dt.js} +8 -8
  103. package/dist/chunks/{instruction-discovery-1p07q0wb.js → repository-cache-cfsekr6v.js} +4 -4
  104. package/dist/chunks/{instruction-discovery-qtg64bph.js → repository-cache-ckbnwpw7.js} +13 -13
  105. package/dist/chunks/{instruction-discovery-de9tkdjv.js → repository-cache-ctpb9bd3.js} +5 -5
  106. package/dist/chunks/{instruction-discovery-r2m716tb.js → repository-cache-cwa6csj7.js} +9 -9
  107. package/dist/chunks/{instruction-discovery-nqjmnyjs.js → repository-cache-d3qedjgv.js} +11 -11
  108. package/dist/chunks/{instruction-discovery-2y83tmz0.js → repository-cache-d7ddzgsf.js} +19 -19
  109. package/dist/chunks/{instruction-discovery-5b86wzxx.js → repository-cache-da75awh4.js} +17 -17
  110. package/dist/chunks/{instruction-discovery-g9xze95r.js → repository-cache-dcksech5.js} +9 -9
  111. package/dist/chunks/{instruction-discovery-nxm207yx.js → repository-cache-dpkg50ah.js} +4 -4
  112. package/dist/chunks/{instruction-discovery-k6t9754k.js → repository-cache-drnf6xwf.js} +2 -2
  113. package/dist/chunks/{instruction-discovery-vjbxqx8s.js → repository-cache-dt79rr6p.js} +18 -18
  114. package/dist/chunks/{instruction-discovery-g0445xdp.js → repository-cache-dv1qgsyq.js} +8 -8
  115. package/dist/chunks/{instruction-discovery-42p1btpp.js → repository-cache-dwngdq4b.js} +19 -19
  116. package/dist/chunks/{instruction-discovery-sk55r5zj.js → repository-cache-dx2074w2.js} +13 -13
  117. package/dist/chunks/{instruction-discovery-w6vm9h7t.js → repository-cache-e0yt5kkj.js} +27 -27
  118. package/dist/chunks/{instruction-discovery-ca7w653e.js → repository-cache-e2hjzebn.js} +4 -4
  119. package/dist/chunks/{instruction-discovery-qb40584p.js → repository-cache-e3f0xn9m.js} +28 -28
  120. package/dist/chunks/{instruction-discovery-jg1g89g5.js → repository-cache-e3f83rfj.js} +17 -17
  121. package/dist/chunks/{instruction-discovery-05db2g3w.js → repository-cache-e72ekma6.js} +3 -3
  122. package/dist/chunks/{instruction-discovery-p41j6jd1.js → repository-cache-e8qvsypq.js} +22 -22
  123. package/dist/chunks/{instruction-discovery-t7b4zpbk.js → repository-cache-ec2p6e73.js} +43 -43
  124. package/dist/chunks/{instruction-discovery-14zw3pcy.js → repository-cache-ed81rq57.js} +4 -4
  125. package/dist/chunks/{instruction-discovery-rqqqmm2x.js → repository-cache-eeaf82dq.js} +8 -8
  126. package/dist/chunks/{instruction-discovery-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{instruction-discovery-fzmxfn3h.js → repository-cache-ejq34man.js} +33 -33
  128. package/dist/chunks/{instruction-discovery-cdm0dq9n.js → repository-cache-eqkxs06z.js} +6 -6
  129. package/dist/chunks/{instruction-discovery-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
  130. package/dist/chunks/{instruction-discovery-vyc5xhan.js → repository-cache-ezbj1fpr.js} +22 -22
  131. package/dist/chunks/{instruction-discovery-9wncg805.js → repository-cache-f7rj482f.js} +8 -8
  132. package/dist/chunks/{instruction-discovery-6v1thfxt.js → repository-cache-fnd80x7n.js} +77 -77
  133. package/dist/chunks/{instruction-discovery-rzgr6m3a.js → repository-cache-fw8t8h2a.js} +48 -48
  134. package/dist/chunks/{instruction-discovery-f5hnr5rh.js → repository-cache-g01j4dtk.js} +26 -26
  135. package/dist/chunks/{instruction-discovery-eehbx3dc.js → repository-cache-g2g6h4y2.js} +11 -11
  136. package/dist/chunks/{instruction-discovery-57b9ws8p.js → repository-cache-g5w8qwbj.js} +7 -7
  137. package/dist/chunks/{instruction-discovery-k1a5j42v.js → repository-cache-g6tpd3f3.js} +10 -10
  138. package/dist/chunks/{instruction-discovery-0zss2637.js → repository-cache-g9kkm8kt.js} +4 -4
  139. package/dist/chunks/{instruction-discovery-j4fn7my5.js → repository-cache-gcqqjazk.js} +30 -30
  140. package/dist/chunks/{instruction-discovery-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{instruction-discovery-2yfz57s1.js → repository-cache-gdw97pah.js} +9 -9
  142. package/dist/chunks/{instruction-discovery-k70p9jzb.js → repository-cache-gh5z95q3.js} +9 -9
  143. package/dist/chunks/{instruction-discovery-fmc4xz56.js → repository-cache-gmbhe8g5.js} +9 -9
  144. package/dist/chunks/{instruction-discovery-1t0c2e14.js → repository-cache-gmg4efnw.js} +38 -38
  145. package/dist/chunks/{instruction-discovery-haaczr03.js → repository-cache-gq310cps.js} +18 -18
  146. package/dist/chunks/{instruction-discovery-emwp4ew9.js → repository-cache-gsggkbsb.js} +16 -16
  147. package/dist/chunks/{instruction-discovery-3cegwx68.js → repository-cache-h2b79v29.js} +2 -2
  148. package/dist/chunks/{instruction-discovery-yq7yc303.js → repository-cache-h697gncw.js} +18 -18
  149. package/dist/chunks/{instruction-discovery-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{instruction-discovery-tmaeqf2t.js → repository-cache-hacqhjnc.js} +18 -18
  151. package/dist/chunks/{instruction-discovery-pny4kpp6.js → repository-cache-hbrg1y73.js} +5 -5
  152. package/dist/chunks/{instruction-discovery-jcr2ekjh.js → repository-cache-her3d2s9.js} +24 -24
  153. package/dist/chunks/{instruction-discovery-qcyg1qdr.js → repository-cache-hhvkpmqw.js} +32 -32
  154. package/dist/chunks/{instruction-discovery-jyvz2dey.js → repository-cache-hk87g4j9.js} +20 -20
  155. package/dist/chunks/{instruction-discovery-redq7ywh.js → repository-cache-hpapzrps.js} +6 -6
  156. package/dist/chunks/{instruction-discovery-k2fr4nns.js → repository-cache-hpmqkzac.js} +15 -15
  157. package/dist/chunks/{instruction-discovery-d1sprev3.js → repository-cache-hs1x7rht.js} +12 -12
  158. package/dist/chunks/{instruction-discovery-g47nec2f.js → repository-cache-hx274pq4.js} +47 -47
  159. package/dist/chunks/repository-cache-j22twtz4.js +253 -0
  160. package/dist/chunks/{instruction-discovery-7ynra03g.js → repository-cache-j3600rrf.js} +13 -13
  161. package/dist/chunks/{instruction-discovery-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
  162. package/dist/chunks/{instruction-discovery-5fqs50nj.js → repository-cache-jby0a0d3.js} +18 -18
  163. package/dist/chunks/{instruction-discovery-yh84h8ff.js → repository-cache-jj9x1ggj.js} +3 -3
  164. package/dist/chunks/{instruction-discovery-6fge9qrm.js → repository-cache-jqc99esa.js} +5 -5
  165. package/dist/chunks/{instruction-discovery-0knzz76g.js → repository-cache-js6zmc2m.js} +13 -13
  166. package/dist/chunks/{instruction-discovery-yhj4pxny.js → repository-cache-jz8pf1gf.js} +6 -6
  167. package/dist/chunks/{instruction-discovery-yexc5tev.js → repository-cache-k0cbva3z.js} +23 -23
  168. package/dist/chunks/{instruction-discovery-sm88safq.js → repository-cache-kyrf4g17.js} +23 -23
  169. package/dist/chunks/{instruction-discovery-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
  170. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{instruction-discovery-xdmrmc43.js → repository-cache-mb54k367.js} +38 -38
  172. package/dist/chunks/{instruction-discovery-nrdmrqsx.js → repository-cache-mjymc32g.js} +4 -4
  173. package/dist/chunks/{instruction-discovery-hqpwwhxs.js → repository-cache-mqh9b2r2.js} +8 -8
  174. package/dist/chunks/{instruction-discovery-w8yd89gy.js → repository-cache-my4zabxr.js} +3 -3
  175. package/dist/chunks/{instruction-discovery-w4axh9wz.js → repository-cache-n57qrn3a.js} +6 -6
  176. package/dist/chunks/{instruction-discovery-bmrathgk.js → repository-cache-n9yzr3f2.js} +18 -18
  177. package/dist/chunks/{instruction-discovery-4e94bxbr.js → repository-cache-nbevcm7z.js} +19 -19
  178. package/dist/chunks/{instruction-discovery-ejhwxq0t.js → repository-cache-nd0qz9vn.js} +18 -18
  179. package/dist/chunks/{instruction-discovery-g0ym6t6p.js → repository-cache-ne6stvg8.js} +20 -20
  180. package/dist/chunks/{instruction-discovery-n7sq0xmn.js → repository-cache-nfrd3k8n.js} +16 -16
  181. package/dist/chunks/{instruction-discovery-kaa5x7b9.js → repository-cache-ngmk5s4j.js} +12 -12
  182. package/dist/chunks/{instruction-discovery-1b4k9meb.js → repository-cache-nk0cncdn.js} +4 -4
  183. package/dist/chunks/{instruction-discovery-khxavvx1.js → repository-cache-nppwm206.js} +4 -4
  184. package/dist/chunks/{instruction-discovery-hg2hvgk4.js → repository-cache-p85401z6.js} +13 -13
  185. package/dist/chunks/{instruction-discovery-38pdywbg.js → repository-cache-p983wz9k.js} +3 -3
  186. package/dist/chunks/{instruction-discovery-bnjmxvh8.js → repository-cache-p9b1de7v.js} +11 -11
  187. package/dist/chunks/{instruction-discovery-cvnfbg23.js → repository-cache-pfc6dryh.js} +26 -26
  188. package/dist/chunks/{instruction-discovery-xnvc2f42.js → repository-cache-pjtd6ph8.js} +32 -32
  189. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{instruction-discovery-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  191. package/dist/chunks/{instruction-discovery-9wvh9an7.js → repository-cache-prf0q3vs.js} +35 -35
  192. package/dist/chunks/{instruction-discovery-nt6p1fr7.js → repository-cache-pv84kftf.js} +28 -28
  193. package/dist/chunks/{instruction-discovery-y9wah6x3.js → repository-cache-q0dea8a4.js} +5 -5
  194. package/dist/chunks/{instruction-discovery-q0xm7vwc.js → repository-cache-q0xm7vwc.js} +2 -2
  195. package/dist/chunks/{instruction-discovery-6vq97qmv.js → repository-cache-q17z9dx8.js} +5 -5
  196. package/dist/chunks/{instruction-discovery-h10s6dah.js → repository-cache-q8peyv7x.js} +8 -8
  197. package/dist/chunks/{instruction-discovery-09b03axd.js → repository-cache-q9ekeea5.js} +27 -27
  198. package/dist/chunks/{instruction-discovery-bm4g32fx.js → repository-cache-qarnpraq.js} +6 -6
  199. package/dist/chunks/{instruction-discovery-n7xm3spt.js → repository-cache-qaxybd8b.js} +20 -20
  200. package/dist/chunks/{instruction-discovery-sk5hrgtc.js → repository-cache-qby9dwvd.js} +8 -8
  201. package/dist/chunks/{instruction-discovery-w22ybt8h.js → repository-cache-qmacqzaw.js} +1 -1
  202. package/dist/chunks/{instruction-discovery-qnc92qwc.js → repository-cache-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{instruction-discovery-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  204. package/dist/chunks/{instruction-discovery-hv0rmnyk.js → repository-cache-qssqgjzh.js} +5 -5
  205. package/dist/chunks/{instruction-discovery-021wam1y.js → repository-cache-qt205g8k.js} +11 -11
  206. package/dist/chunks/{instruction-discovery-qygbw77c.js → repository-cache-qygbw77c.js} +2 -2
  207. package/dist/chunks/{instruction-discovery-2x4zy19a.js → repository-cache-qykpeme4.js} +17 -17
  208. package/dist/chunks/{instruction-discovery-awvqz26y.js → repository-cache-r26qgbxz.js} +7 -7
  209. package/dist/chunks/{instruction-discovery-tc7dnr6g.js → repository-cache-r43h3m0v.js} +30 -30
  210. package/dist/chunks/{instruction-discovery-4skrpyv2.js → repository-cache-r6vweynn.js} +11 -11
  211. package/dist/chunks/{instruction-discovery-yp2x3t23.js → repository-cache-r8xr0va3.js} +4 -4
  212. package/dist/chunks/{instruction-discovery-q3vdns0z.js → repository-cache-rbdy6pgn.js} +16 -16
  213. package/dist/chunks/{instruction-discovery-t16ansz0.js → repository-cache-rd3ygx5h.js} +26 -26
  214. package/dist/chunks/{instruction-discovery-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{instruction-discovery-h4z1mxff.js → repository-cache-reg6q42h.js} +5 -5
  216. package/dist/chunks/{instruction-discovery-6http0mh.js → repository-cache-rek1mgnt.js} +20 -20
  217. package/dist/chunks/{instruction-discovery-02nrjc1r.js → repository-cache-rhjbct0v.js} +6 -6
  218. package/dist/chunks/{instruction-discovery-87b6mkq8.js → repository-cache-rmn3m3gf.js} +2 -2
  219. package/dist/chunks/{instruction-discovery-j8m7wrkr.js → repository-cache-rs4nb2xx.js} +9 -9
  220. package/dist/chunks/{instruction-discovery-nqv5kksq.js → repository-cache-s0xttw3k.js} +22 -22
  221. package/dist/chunks/{instruction-discovery-mrnkzzba.js → repository-cache-s3eybw0p.js} +18 -18
  222. package/dist/chunks/{instruction-discovery-ttyrvqjf.js → repository-cache-s93md6f8.js} +13 -13
  223. package/dist/chunks/{instruction-discovery-mb5a61em.js → repository-cache-sbf3786x.js} +26 -26
  224. package/dist/chunks/{instruction-discovery-tw45btvp.js → repository-cache-skcgj51b.js} +59 -59
  225. package/dist/chunks/{instruction-discovery-t035pbdh.js → repository-cache-spd9hrnc.js} +44 -44
  226. package/dist/chunks/{instruction-discovery-eqtykngz.js → repository-cache-srfsq8py.js} +15 -15
  227. package/dist/chunks/{instruction-discovery-etc4cap1.js → repository-cache-stp9c87e.js} +11 -11
  228. package/dist/chunks/{instruction-discovery-e37zedam.js → repository-cache-sy2a3hb1.js} +23 -23
  229. package/dist/chunks/{instruction-discovery-7c36dqvb.js → repository-cache-syb2vrbv.js} +28 -28
  230. package/dist/chunks/{instruction-discovery-x2fv4gny.js → repository-cache-t0ngdjdp.js} +1 -1
  231. package/dist/chunks/{instruction-discovery-dnq42t7h.js → repository-cache-t2bbc9e5.js} +1 -1
  232. package/dist/chunks/{instruction-discovery-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{instruction-discovery-tcezcvh9.js → repository-cache-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{instruction-discovery-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  235. package/dist/chunks/{instruction-discovery-6wvxqx1m.js → repository-cache-tn65e0xg.js} +3 -3
  236. package/dist/chunks/{instruction-discovery-hscd7yg3.js → repository-cache-trnc8c0p.js} +33 -33
  237. package/dist/chunks/{instruction-discovery-rw2pnpq9.js → repository-cache-trq2ab9q.js} +12 -12
  238. package/dist/chunks/{instruction-discovery-1218zaap.js → repository-cache-txeasv02.js} +15 -15
  239. package/dist/chunks/{instruction-discovery-v0es1rhs.js → repository-cache-v0es1rhs.js} +2 -2
  240. package/dist/chunks/{instruction-discovery-tj41h7f1.js → repository-cache-v4j9mmzp.js} +17 -17
  241. package/dist/chunks/{instruction-discovery-gafjjxfd.js → repository-cache-v84b5zdr.js} +22 -22
  242. package/dist/chunks/{instruction-discovery-7x7e9yhe.js → repository-cache-vd2wkccw.js} +35 -35
  243. package/dist/chunks/{instruction-discovery-2s3bs05a.js → repository-cache-vd4xatwq.js} +20 -20
  244. package/dist/chunks/{instruction-discovery-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  245. package/dist/chunks/{instruction-discovery-tbj7d09m.js → repository-cache-vf6jcqzn.js} +14 -14
  246. package/dist/chunks/{instruction-discovery-bgc5ggmx.js → repository-cache-vfjhn2wd.js} +4 -4
  247. package/dist/chunks/{instruction-discovery-hfvkpe30.js → repository-cache-vs93n2a0.js} +46 -46
  248. package/dist/chunks/{instruction-discovery-x4cn09xy.js → repository-cache-vx0crfcw.js} +5 -5
  249. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{instruction-discovery-w1eejvng.js → repository-cache-w1eejvng.js} +1 -1
  251. package/dist/chunks/{instruction-discovery-r3pcm0ae.js → repository-cache-w33r0n2z.js} +22 -22
  252. package/dist/chunks/{instruction-discovery-dssbfrwz.js → repository-cache-w39jehkq.js} +5 -5
  253. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{instruction-discovery-f2g2n16b.js → repository-cache-w4xn84ph.js} +4 -4
  255. package/dist/chunks/{instruction-discovery-a23h851b.js → repository-cache-w92qfhy9.js} +26 -26
  256. package/dist/chunks/{instruction-discovery-885b2myt.js → repository-cache-w9p55wnq.js} +15 -15
  257. package/dist/chunks/{instruction-discovery-j8qefefr.js → repository-cache-wc9dc547.js} +22 -22
  258. package/dist/chunks/{instruction-discovery-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-1zzjy5k7.js → repository-cache-wf9hhd1y.js} +46 -46
  260. package/dist/chunks/{instruction-discovery-cw46khms.js → repository-cache-wtmfszvm.js} +21 -21
  261. package/dist/chunks/{instruction-discovery-4gynkwvk.js → repository-cache-wtqwpwgf.js} +6 -6
  262. package/dist/chunks/{instruction-discovery-8jyv0d6m.js → repository-cache-x1yb4nr2.js} +28 -28
  263. package/dist/chunks/{instruction-discovery-gqtdsdt7.js → repository-cache-x661k3y3.js} +4 -4
  264. package/dist/chunks/{instruction-discovery-kybwqxrd.js → repository-cache-xgyqszzh.js} +7 -7
  265. package/dist/chunks/{instruction-discovery-xkntkrq7.js → repository-cache-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{instruction-discovery-xyafkbt0.js → repository-cache-xyafkbt0.js} +3 -3
  267. package/dist/chunks/{instruction-discovery-3qd45x85.js → repository-cache-y16p1w2y.js} +9 -9
  268. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{instruction-discovery-adgbvja2.js → repository-cache-y1t2hwwz.js} +14 -14
  270. package/dist/chunks/{instruction-discovery-g1tha7b9.js → repository-cache-y56ehv6b.js} +9 -9
  271. package/dist/chunks/{instruction-discovery-qgy0j8ap.js → repository-cache-ychejvqa.js} +9 -9
  272. package/dist/chunks/{instruction-discovery-4j4tgtq5.js → repository-cache-yrcj3v3g.js} +4 -4
  273. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{instruction-discovery-2jct5get.js → repository-cache-z45tr6e4.js} +22 -22
  275. package/dist/chunks/{instruction-discovery-6khhy92z.js → repository-cache-z8g4t8bg.js} +24 -24
  276. package/dist/chunks/{instruction-discovery-51atwtwh.js → repository-cache-za3jhw35.js} +11 -11
  277. package/dist/chunks/{instruction-discovery-n9jgy2vr.js → repository-cache-zkh24274.js} +33 -33
  278. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  279. package/dist/chunks/{instruction-discovery-9z7wf92y.js → repository-cache-zsm13mz3.js} +24 -24
  280. package/dist/chunks/{instruction-discovery-b5q36dx4.js → repository-cache-zsqegwh4.js} +11 -11
  281. package/dist/chunks/{instruction-discovery-1fap17a2.js → repository-cache-zx0w556f.js} +24 -24
  282. package/dist/chunks/{instruction-discovery-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{instruction-discovery-qsjv40ab.js → repository-cache-zyfwwvzs.js} +4 -4
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +83 -83
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +74 -74
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +220 -220
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +99 -99
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +76 -76
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +3 -3
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +105 -105
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +82 -82
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +114 -114
  517. package/dist/plugin/provider/openai.js +93 -93
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +114 -114
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +72 -72
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +345 -345
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +6 -6
  547. package/dist/plugin/websearch/tavily.js +4 -4
  548. package/dist/plugin/websearch/tinyfish.js +6 -6
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +93 -93
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +133 -133
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +127 -127
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +90 -90
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +2 -2
  598. package/dist/session/runner/step.js +125 -125
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +87 -87
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +157 -157
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +207 -207
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +15 -15
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +91 -91
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +126 -126
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +123 -123
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +113 -113
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +108 -108
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +14 -14
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +4 -4
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +76 -76
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +76 -76
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -10
  680. package/dist/chunks/instruction-discovery-0merk48q.js +0 -253
  681. package/dist/chunks/instruction-discovery-b77ntgpc.js +0 -507
  682. package/dist/chunks/instruction-discovery-k5rmtwrb.js +0 -26
  683. package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
  684. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{instruction-discovery-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{instruction-discovery-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{instruction-discovery-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{instruction-discovery-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  696. /package/dist/chunks/{instruction-discovery-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./instruction-discovery-mrnkzzba.js";
2
+ Service83,
3
+ node87
4
+ } from "./repository-cache-s3eybw0p.js";
5
5
  import {
6
- Key3,
7
- Service63,
8
- node65
9
- } from "./instruction-discovery-vrkm0f1x.js";
6
+ Key4,
7
+ Service75,
8
+ node78
9
+ } from "./repository-cache-7ac9g4dc.js";
10
10
  import {
11
11
  create3
12
- } from "./instruction-discovery-rdw6cm16.js";
12
+ } from "./repository-cache-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./instruction-discovery-gqtdsdt7.js";
15
+ } from "./repository-cache-x661k3y3.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./instruction-discovery-xmvewwn8.js";
19
+ } from "./repository-cache-1qp08ady.js";
20
20
  import {
21
21
  __export
22
- } from "./instruction-discovery-9rqn6x4v.js";
22
+ } from "./repository-cache-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event15,
38
- ID: () => ID9,
39
- Info: () => Info18,
37
+ Event: () => Event18,
38
+ ID: () => ID13,
39
+ Info: () => Info22,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service62,
47
- node: () => node64
46
+ Service: () => Service74,
47
+ node: () => node77
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event15 } from "@opencode/schema/integration";
70
- var ID9 = Integration.ID;
69
+ import { Event as Event18 } from "@opencode/schema/integration";
70
+ var ID13 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info18 = Integration.Info;
78
+ var Info22 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,20 +98,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID9,
101
+ integrationID: ID13,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service62 extends Context.Service()("@opencode/Integration") {
107
+ class Service74 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service62, Effect.gen(function* () {
113
- const credentials = yield* Service63;
114
- const bus = yield* Service81;
112
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
113
+ const credentials = yield* Service75;
114
+ const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
116
116
  const scope = yield* Scope.Scope;
117
117
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info18.make({
210
+ const project = (entry, connections) => Info22.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
294
294
  const persistence = yield* createCredential({
295
295
  integrationID: attempt.integrationID,
296
296
  label: attempt.label,
297
- value: Key3.make({ type: "key", key: exit.value })
297
+ value: Key4.make({ type: "key", key: exit.value })
298
298
  }).pipe(Effect.asVoid, Effect.exit);
299
299
  const settledAt = yield* Clock.currentTimeMillis;
300
300
  const terminal = Exit.isSuccess(persistence) ? {
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service62.of({
443
+ return Service74.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
462
462
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
463
463
  if (connection.type === "env") {
464
464
  const key = process.env[connection.name];
465
- return key ? Key3.make({ type: "key", key }) : undefined;
465
+ return key ? Key4.make({ type: "key", key }) : undefined;
466
466
  }
467
467
  const credential = yield* credentials.get(connection.id);
468
468
  if (!credential)
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
495
495
  yield* createCredential({
496
496
  integrationID: input.integrationID,
497
497
  label: input.label,
498
- value: Key3.make({
498
+ value: Key4.make({
499
499
  type: "key",
500
500
  key: input.key,
501
501
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node64 = makeLocationNode({
603
- service: Service62,
602
+ var node77 = makeLocationNode({
603
+ service: Service74,
604
604
  layer,
605
- deps: [node65, node84, AppProcess.node]
605
+ deps: [node78, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service62, node64, exports_integration, Event15 };
608
+ export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node77, exports_integration, Event18 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service81
3
- } from "./instruction-discovery-mrnkzzba.js";
2
+ Service83
3
+ } from "./repository-cache-s3eybw0p.js";
4
4
  import {
5
- Service48,
6
- Event10
7
- } from "./instruction-discovery-sm88safq.js";
5
+ Service49,
6
+ Event11
7
+ } from "./repository-cache-kyrf4g17.js";
8
8
  import {
9
9
  __export
10
- } from "./instruction-discovery-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin4,
15
+ Plugin: () => Plugin15,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin4 = define({
20
+ var Plugin15 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service81;
24
- const wellknown = yield* Service48;
23
+ const bus = yield* Service83;
24
+ const wellknown = yield* Service49;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin4 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin4, exports_plugin };
48
+ export { Plugin15, exports_plugin };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  make20,
5
5
  diffByKey2
6
- } from "./instruction-discovery-02nrjc1r.js";
6
+ } from "./repository-cache-rhjbct0v.js";
7
7
  import {
8
8
  ID5,
9
9
  Name2,
10
10
  available3,
11
- Service52,
12
- node54
13
- } from "./instruction-discovery-vyc5xhan.js";
11
+ Service41,
12
+ node44
13
+ } from "./repository-cache-ezbj1fpr.js";
14
14
  import {
15
15
  __export
16
- } from "./instruction-discovery-9rqn6x4v.js";
16
+ } from "./repository-cache-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
19
  var exports_instructions5 = {};
20
20
  __export(exports_instructions5, {
21
- Service: () => Service29,
21
+ Service: () => Service37,
22
22
  SkillInstructions: () => exports_instructions5,
23
- node: () => node32
23
+ node: () => node40
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service29 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service37 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service29, Effect.gen(function* () {
66
- const skills = yield* Service52;
67
- return Service29.of({
65
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
66
+ const skills = yield* Service41;
67
+ return Service37.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
70
  return make20({
71
- key: Key4.make("core/skill-guidance"),
71
+ key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node54] });
83
+ var node40 = makeLocationNode({ service: Service37, layer, deps: [node44] });
84
84
 
85
- export { Service29, node32, exports_instructions5 };
85
+ export { Service37, node40, exports_instructions5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./repository-cache-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service69
3
- } from "./instruction-discovery-yj7xxne7.js";
2
+ Service62
3
+ } from "./repository-cache-b52f6b20.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./instruction-discovery-4vcrnpx2.js";
7
+ } from "./repository-cache-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./instruction-discovery-3v8g72cx.js";
10
+ } from "./repository-cache-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./instruction-discovery-9rqn6x4v.js";
13
+ } from "./repository-cache-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input9,
19
+ Input: () => Input11,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin30,
22
+ Plugin: () => Plugin13,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description5,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name9
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name9 = "webfetch";
33
+ var name11 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
@@ -38,7 +38,7 @@ var description5 = `Fetch content from an HTTP or HTTPS URL and return it as tex
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input9 = Schema.Struct({
41
+ var Input11 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input9 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input9.fields.format,
51
+ format: Input11.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin30 = {
95
+ var Plugin13 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service69;
99
+ const permission = yield* Service62;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name9,
101
+ name: name11,
102
102
  options: { codemode: false },
103
103
  description: description5,
104
- input: Input9,
104
+ input: Input11,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin30 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name9,
112
+ action: name11,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input9, Plugin30, extractTextFromHTML2, exports_webfetch };
170
+ export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin13, extractTextFromHTML2, exports_webfetch };
@@ -1,61 +1,61 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./instruction-discovery-eqtykngz.js";
2
+ Service84,
3
+ node88
4
+ } from "./repository-cache-srfsq8py.js";
5
5
  import {
6
6
  reserveSequence2,
7
- Service81,
8
- node84
9
- } from "./instruction-discovery-mrnkzzba.js";
7
+ Service83,
8
+ node87
9
+ } from "./repository-cache-s3eybw0p.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./instruction-discovery-ec1grn59.js";
12
+ } from "./repository-cache-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./instruction-discovery-gftt206x.js";
15
+ } from "./repository-cache-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./instruction-discovery-xkntkrq7.js";
18
+ } from "./repository-cache-xkntkrq7.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./instruction-discovery-z5v4ffb3.js";
22
+ } from "./repository-cache-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./instruction-discovery-3cegwx68.js";
25
+ } from "./repository-cache-h2b79v29.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./instruction-discovery-kb9j3d72.js";
30
+ } from "./repository-cache-9e5bzkjp.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./instruction-discovery-tc7dnr6g.js";
36
+ } from "./repository-cache-r43h3m0v.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./instruction-discovery-0ntvdsg8.js";
42
+ } from "./repository-cache-as7cf5zz.js";
43
43
  import {
44
44
  initialize2
45
- } from "./instruction-discovery-ejhwxq0t.js";
45
+ } from "./repository-cache-nd0qz9vn.js";
46
46
  import {
47
47
  Slug2
48
- } from "./instruction-discovery-gebd4c9n.js";
48
+ } from "./repository-cache-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./instruction-discovery-9rqn6x4v.js";
51
+ } from "./repository-cache-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node22
58
+ node: () => node32
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -276,8 +276,8 @@ function projectIdle(db, event) {
276
276
  });
277
277
  }
278
278
  var layer = Layer.effectDiscard(Effect.gen(function* () {
279
- const bus = yield* Service81;
280
- const db = (yield* Service82).db;
279
+ const bus = yield* Service83;
280
+ const db = (yield* Service84).db;
281
281
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
282
282
  const stored = yield* db.insert(SessionTable2).values({
283
283
  id: event.data.sessionID,
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
459
459
  return publishSessionUsage(db, bus, event.data.sessionID);
460
460
  }), Effect.forkScoped({ startImmediately: true }));
461
461
  }));
462
- var node22 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
462
+ var node32 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
463
463
 
464
- export { SessionAlreadyProjected2, node22, exports_projector };
464
+ export { SessionAlreadyProjected2, node32, exports_projector };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./instruction-discovery-2a5m3afh.js";
3
+ } from "./repository-cache-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./instruction-discovery-z5v4ffb3.js";
6
+ } from "./repository-cache-z5v4ffb3.js";
7
7
  import {
8
- Service79
9
- } from "./instruction-discovery-adgbvja2.js";
8
+ Service80
9
+ } from "./repository-cache-y1t2hwwz.js";
10
10
  import {
11
- Service77
12
- } from "./instruction-discovery-yexc5tev.js";
11
+ Service78
12
+ } from "./repository-cache-k0cbva3z.js";
13
13
  import {
14
- Service76
15
- } from "./instruction-discovery-853hcjrv.js";
14
+ Service77
15
+ } from "./repository-cache-3vk8kg3r.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./instruction-discovery-t16ansz0.js";
21
+ } from "./repository-cache-rd3ygx5h.js";
22
22
  import {
23
- Service69
24
- } from "./instruction-discovery-yj7xxne7.js";
23
+ Service62
24
+ } from "./repository-cache-b52f6b20.js";
25
25
  import {
26
- Service49
27
- } from "./instruction-discovery-5fqs50nj.js";
26
+ Service17
27
+ } from "./repository-cache-jby0a0d3.js";
28
28
  import {
29
29
  __export
30
- } from "./instruction-discovery-9rqn6x4v.js";
30
+ } from "./repository-cache-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input11,
37
- Output: () => Output7,
38
- Plugin: () => Plugin32,
39
- name: () => name11,
40
- toModelContent: () => toModelContent5
36
+ Input: () => Input3,
37
+ Output: () => Output2,
38
+ Plugin: () => Plugin4,
39
+ name: () => name3,
40
+ toModelContent: () => toModelContent2
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name11 = "glob";
46
- var Input11 = Schema.Struct({
45
+ var name3 = "glob";
46
+ var Input3 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input11 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output7 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
58
+ var Output2 = Schema.Array(Entry2);
59
+ var toModelContent2 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin32 = {
66
+ var Plugin4 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service77;
70
- const ripgrep = yield* Service76;
71
- const location = yield* Service79;
72
- const access = yield* Service49;
73
- const permission = yield* Service69;
69
+ const environment = yield* Service78;
70
+ const ripgrep = yield* Service77;
71
+ const location = yield* Service80;
72
+ const access = yield* Service17;
73
+ const permission = yield* Service62;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name11,
75
+ name: name3,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input11,
79
- output: Output7,
78
+ input: Input3,
79
+ output: Output2,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name11,
86
+ action: name3,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin32 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name11, Input11, Output7, toModelContent5, Plugin32, exports_glob };
128
+ export { name3, Input3, Output2, toModelContent2, Plugin4, exports_glob };