@opencode/core 2.0.9 → 2.0.10

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{tool-57m9tgf1.js → instruction-discovery-00f3x6kk.js} +10 -10
  8. package/dist/chunks/{tool-3mtxmfhx.js → instruction-discovery-0283kbqh.js} +36 -36
  9. package/dist/chunks/instruction-discovery-0ewc2kk9.js +492 -0
  10. package/dist/chunks/{tool-8vvqba33.js → instruction-discovery-0nbz58nf.js} +9 -9
  11. package/dist/chunks/{tool-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{tool-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{tool-r9s1vmbv.js → instruction-discovery-0w5wrk1e.js} +11 -11
  14. package/dist/chunks/{tool-d8dkarbn.js → instruction-discovery-0xkqznxb.js} +11 -11
  15. package/dist/chunks/{tool-4e8vs6eh.js → instruction-discovery-166kng33.js} +8 -8
  16. package/dist/chunks/{tool-f2n192rq.js → instruction-discovery-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{tool-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{tool-rav9e4bf.js → instruction-discovery-1h80sv90.js} +5 -5
  19. package/dist/chunks/{tool-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
  20. package/dist/chunks/{tool-2402vzrj.js → instruction-discovery-2402vzrj.js} +1 -1
  21. package/dist/chunks/{tool-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{tool-b71trcwb.js → instruction-discovery-2b0j0akk.js} +15 -15
  23. package/dist/chunks/{tool-w1tdvvt2.js → instruction-discovery-2emjftfm.js} +9 -9
  24. package/dist/chunks/{tool-n4pqkaym.js → instruction-discovery-2f0bjgcj.js} +5 -5
  25. package/dist/chunks/{tool-zpks96xd.js → instruction-discovery-2hyz8f76.js} +10 -10
  26. package/dist/chunks/{tool-z80n829h.js → instruction-discovery-2pqv22kz.js} +42 -42
  27. package/dist/chunks/{tool-vppzcqrc.js → instruction-discovery-2x03qapy.js} +12 -12
  28. package/dist/chunks/{tool-1ygqh575.js → instruction-discovery-33w4ejhs.js} +6 -6
  29. package/dist/chunks/{tool-p6q10aaw.js → instruction-discovery-358hwc82.js} +15 -15
  30. package/dist/chunks/{tool-3j9bgvtg.js → instruction-discovery-3bc8czyk.js} +5 -5
  31. package/dist/chunks/{tool-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{tool-n24pcqxv.js → instruction-discovery-3gncs5t7.js} +8 -8
  33. package/dist/chunks/{tool-pcfkrm12.js → instruction-discovery-3hdyanjz.js} +4 -4
  34. package/dist/chunks/{tool-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{tool-2s87feef.js → instruction-discovery-3j8hfepr.js} +20 -20
  36. package/dist/chunks/{tool-27arm9z1.js → instruction-discovery-3k8qww1e.js} +5 -5
  37. package/dist/chunks/{tool-v6kqcv79.js → instruction-discovery-3q5ajc3h.js} +15 -15
  38. package/dist/chunks/{tool-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{tool-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{tool-jd6wf3ec.js → instruction-discovery-3xkhh9p9.js} +6 -6
  41. package/dist/chunks/{tool-7037ptb2.js → instruction-discovery-3yhy2zja.js} +24 -24
  42. package/dist/chunks/{tool-h6r3nrb9.js → instruction-discovery-44h5tttr.js} +4 -4
  43. package/dist/chunks/{tool-fkjmw100.js → instruction-discovery-44ke2mar.js} +6 -6
  44. package/dist/chunks/{tool-4gtpy403.js → instruction-discovery-4chzm3y4.js} +21 -21
  45. package/dist/chunks/{tool-mh3xs90e.js → instruction-discovery-4gjfpxjb.js} +27 -27
  46. package/dist/chunks/{tool-qf41qe2n.js → instruction-discovery-4jmq01rm.js} +11 -11
  47. package/dist/chunks/{tool-qzwv76tp.js → instruction-discovery-4jqdxkh4.js} +6 -6
  48. package/dist/chunks/{tool-y5pzn50y.js → instruction-discovery-5b1c2xrt.js} +32 -32
  49. package/dist/chunks/instruction-discovery-5cec8wvt.js +65 -0
  50. package/dist/chunks/{tool-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
  51. package/dist/chunks/{tool-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
  52. package/dist/chunks/{tool-qbp86h8m.js → instruction-discovery-602rhm03.js} +85 -85
  53. package/dist/chunks/{tool-qc9kn75m.js → instruction-discovery-608vgrw9.js} +8 -8
  54. package/dist/chunks/{tool-xhtw6jf1.js → instruction-discovery-613k581x.js} +3 -3
  55. package/dist/chunks/instruction-discovery-619r8v3y.js +18 -0
  56. package/dist/chunks/{tool-1n6jm1r8.js → instruction-discovery-61y8ydm4.js} +12 -12
  57. package/dist/chunks/{tool-669tq793.js → instruction-discovery-669tq793.js} +1 -1
  58. package/dist/chunks/{tool-krc9qdj7.js → instruction-discovery-675x382x.js} +22 -22
  59. package/dist/chunks/{tool-6gc9zjjv.js → instruction-discovery-6ez32nay.js} +9 -9
  60. package/dist/chunks/{tool-tkmwgdpd.js → instruction-discovery-6hh8tjw2.js} +7 -7
  61. package/dist/chunks/{tool-py5ms06j.js → instruction-discovery-6jc59fwf.js} +26 -26
  62. package/dist/chunks/{tool-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{tool-76p4c97e.js → instruction-discovery-6t298p2h.js} +12 -12
  64. package/dist/chunks/{tool-zwfjdtpq.js → instruction-discovery-6v953fwr.js} +22 -22
  65. package/dist/chunks/{tool-fnkqs40h.js → instruction-discovery-6ve6nwe8.js} +33 -33
  66. package/dist/chunks/{tool-tqf8vx6a.js → instruction-discovery-74hc6zjm.js} +13 -13
  67. package/dist/chunks/{tool-fsbk27r1.js → instruction-discovery-76ymgwed.js} +9 -9
  68. package/dist/chunks/{tool-8szgh749.js → instruction-discovery-7a024e9s.js} +4 -4
  69. package/dist/chunks/instruction-discovery-7bhafz2c.js +26 -0
  70. package/dist/chunks/{tool-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{tool-qgn6gcr1.js → instruction-discovery-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{tool-91f0wncr.js → instruction-discovery-7er823xf.js} +11 -11
  73. package/dist/chunks/{tool-4n9mx8v3.js → instruction-discovery-7h1sjwf0.js} +26 -26
  74. package/dist/chunks/{tool-88wb8vtq.js → instruction-discovery-7n580yh3.js} +19 -19
  75. package/dist/chunks/{tool-0e14c09c.js → instruction-discovery-7n97fvxd.js} +27 -27
  76. package/dist/chunks/{tool-vbyfx3mn.js → instruction-discovery-7n9bf5pw.js} +21 -21
  77. package/dist/chunks/{tool-xg0cet8h.js → instruction-discovery-83vtq193.js} +31 -31
  78. package/dist/chunks/{tool-t183he7n.js → instruction-discovery-85vxkr0v.js} +23 -23
  79. package/dist/chunks/{tool-e7q4x2ep.js → instruction-discovery-86swmg3n.js} +20 -20
  80. package/dist/chunks/{tool-vcev46jt.js → instruction-discovery-879n9jmk.js} +24 -24
  81. package/dist/chunks/{tool-nccpag2r.js → instruction-discovery-88afv84h.js} +20 -20
  82. package/dist/chunks/{tool-9thxh3x6.js → instruction-discovery-8ancw64n.js} +7 -7
  83. package/dist/chunks/{tool-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{tool-8rras65h.js → instruction-discovery-8dw5wh32.js} +15 -15
  85. package/dist/chunks/{tool-8t1mk3vk.js → instruction-discovery-8jbq9hes.js} +46 -46
  86. package/dist/chunks/{tool-dj2t23y0.js → instruction-discovery-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{tool-v8z2wyq8.js → instruction-discovery-8t6e0b0v.js} +32 -32
  88. package/dist/chunks/{tool-dz1mzf7h.js → instruction-discovery-90pjtq3h.js} +28 -28
  89. package/dist/chunks/{tool-wyd4vgvd.js → instruction-discovery-9cc9anwb.js} +17 -17
  90. package/dist/chunks/{tool-dssw6a44.js → instruction-discovery-9dz1p9rk.js} +22 -22
  91. package/dist/chunks/{tool-qnc1epre.js → instruction-discovery-9eanvfav.js} +11 -11
  92. package/dist/chunks/{tool-tjmwbj5k.js → instruction-discovery-9ejvnjvn.js} +11 -11
  93. package/dist/chunks/{tool-drz214yv.js → instruction-discovery-9ezfcjjb.js} +17 -17
  94. package/dist/chunks/{tool-2g2cd18n.js → instruction-discovery-9mqj70kv.js} +26 -26
  95. package/dist/chunks/{tool-nj8fcevf.js → instruction-discovery-9nye1eq2.js} +17 -17
  96. package/dist/chunks/{tool-vqfzq50h.js → instruction-discovery-9r15s34d.js} +6 -6
  97. package/dist/chunks/{tool-5c4hm403.js → instruction-discovery-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{tool-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
  99. package/dist/chunks/{tool-d9s573fh.js → instruction-discovery-aamtrqep.js} +9 -9
  100. package/dist/chunks/{tool-sr2ca446.js → instruction-discovery-ac8tgttd.js} +1 -1
  101. package/dist/chunks/{tool-2849xt8w.js → instruction-discovery-aef544xx.js} +11 -11
  102. package/dist/chunks/{tool-3cbaeney.js → instruction-discovery-ajsekwcw.js} +3 -3
  103. package/dist/chunks/{tool-e1ddjrnd.js → instruction-discovery-akbnj5qn.js} +33 -33
  104. package/dist/chunks/{tool-jn4t2z3d.js → instruction-discovery-asz6v789.js} +4 -4
  105. package/dist/chunks/{tool-zxcbkvg1.js → instruction-discovery-avkbmwsy.js} +15 -15
  106. package/dist/chunks/{tool-9ebbd7jr.js → instruction-discovery-b04b8x2j.js} +8 -8
  107. package/dist/chunks/{tool-nr25fmgm.js → instruction-discovery-b2e0z9zn.js} +23 -23
  108. package/dist/chunks/{tool-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{tool-epap41sx.js → instruction-discovery-bktznpht.js} +4 -4
  110. package/dist/chunks/{tool-ek2qcn6v.js → instruction-discovery-bm2neq56.js} +5 -5
  111. package/dist/chunks/{tool-h2t4955r.js → instruction-discovery-bqqzw0hf.js} +21 -21
  112. package/dist/chunks/{tool-5yeq06a0.js → instruction-discovery-bscb95cy.js} +9 -9
  113. package/dist/chunks/{tool-yravmt5v.js → instruction-discovery-btvztn5x.js} +11 -11
  114. package/dist/chunks/{tool-jd81wks2.js → instruction-discovery-bz601h0x.js} +35 -35
  115. package/dist/chunks/{tool-f8ekkhd9.js → instruction-discovery-c3624e00.js} +43 -43
  116. package/dist/chunks/{tool-7ngem68y.js → instruction-discovery-c3tdqdrt.js} +3 -3
  117. package/dist/chunks/{tool-a9jc8qdz.js → instruction-discovery-ce5k5wzz.js} +10 -10
  118. package/dist/chunks/{tool-m0jqrx5p.js → instruction-discovery-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{tool-vy03e0d7.js → instruction-discovery-cfvjb44z.js} +18 -18
  120. package/dist/chunks/{tool-4k6nnmrf.js → instruction-discovery-cg91q9kc.js} +24 -24
  121. package/dist/chunks/{tool-2vmydbdw.js → instruction-discovery-ct6qbr07.js} +5 -5
  122. package/dist/chunks/{tool-5rbeskxf.js → instruction-discovery-cvcaxerb.js} +9 -9
  123. package/dist/chunks/{tool-2sejkfem.js → instruction-discovery-cwa6csj7.js} +9 -9
  124. package/dist/chunks/{tool-zk0g89ph.js → instruction-discovery-cznsp2nq.js} +13 -13
  125. package/dist/chunks/{tool-pf6xmb6f.js → instruction-discovery-d6rcy142.js} +9 -9
  126. package/dist/chunks/{tool-5rdsaqrf.js → instruction-discovery-d8kx0zbg.js} +5 -5
  127. package/dist/chunks/{tool-yp1xsd17.js → instruction-discovery-dar8xkhn.js} +43 -43
  128. package/dist/chunks/{tool-1rf9k0bb.js → instruction-discovery-dfzt6fvr.js} +41 -41
  129. package/dist/chunks/{tool-gbag256c.js → instruction-discovery-dkqv5z6m.js} +24 -24
  130. package/dist/chunks/{tool-6bsje7ws.js → instruction-discovery-dm1py9b3.js} +3 -3
  131. package/dist/chunks/{tool-5yzzbxa7.js → instruction-discovery-dv1qgsyq.js} +8 -8
  132. package/dist/chunks/{tool-vwgz8d7g.js → instruction-discovery-e6d0ha4g.js} +6 -6
  133. package/dist/chunks/{tool-hzfzrbn9.js → instruction-discovery-eex107wk.js} +8 -8
  134. package/dist/chunks/{tool-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{tool-2gch173w.js → instruction-discovery-egb2ktr5.js} +23 -23
  136. package/dist/chunks/{tool-yxjvheq8.js → instruction-discovery-ej4t27pe.js} +18 -18
  137. package/dist/chunks/{tool-cap3n08w.js → instruction-discovery-emsk5da5.js} +16 -16
  138. package/dist/chunks/{tool-erw5rpbs.js → instruction-discovery-erw5rpbs.js} +2 -2
  139. package/dist/chunks/{tool-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{tool-22yzgjh2.js → instruction-discovery-eytmhgbm.js} +42 -42
  141. package/dist/chunks/{tool-hdnk95c8.js → instruction-discovery-f828m53h.js} +2 -2
  142. package/dist/chunks/{tool-dqmvjehx.js → instruction-discovery-f9denjqp.js} +18 -18
  143. package/dist/chunks/{tool-h5msn5dz.js → instruction-discovery-fhxv1a93.js} +13 -13
  144. package/dist/chunks/{tool-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{tool-ye73daeg.js → instruction-discovery-g2c1x2np.js} +22 -22
  146. package/dist/chunks/{tool-pb77jvd0.js → instruction-discovery-g5y5zy0d.js} +11 -11
  147. package/dist/chunks/{tool-ff0svapt.js → instruction-discovery-g84cjvn9.js} +2 -2
  148. package/dist/chunks/{tool-0tkwk172.js → instruction-discovery-g9jxtwsa.js} +20 -20
  149. package/dist/chunks/{tool-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{tool-z89cezv7.js → instruction-discovery-gk3vz0r5.js} +6 -6
  151. package/dist/chunks/{tool-s4fep8mk.js → instruction-discovery-gm5rkd8a.js} +18 -18
  152. package/dist/chunks/{tool-yyb7tjpc.js → instruction-discovery-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{tool-13kry10e.js → instruction-discovery-gvayqkxb.js} +9 -9
  154. package/dist/chunks/{tool-b1syqa90.js → instruction-discovery-gxtdrkx9.js} +8 -8
  155. package/dist/chunks/{tool-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{tool-08ed4zmw.js → instruction-discovery-h7e5g0tn.js} +6 -6
  157. package/dist/chunks/{tool-zy1jay2k.js → instruction-discovery-hac7hjft.js} +4 -4
  158. package/dist/chunks/{tool-89smrnyf.js → instruction-discovery-hfdr1yjj.js} +4 -4
  159. package/dist/chunks/{tool-5e19p4dw.js → instruction-discovery-hnr5yq9h.js} +5 -5
  160. package/dist/chunks/{tool-zhq6vg7a.js → instruction-discovery-hqmr0w3b.js} +1 -1
  161. package/dist/chunks/{tool-0ft9cg2j.js → instruction-discovery-j15mfg1p.js} +6 -6
  162. package/dist/chunks/{tool-r2m639zq.js → instruction-discovery-j1cm15th.js} +9 -9
  163. package/dist/chunks/{tool-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  164. package/dist/chunks/{tool-277eer69.js → instruction-discovery-j5rxtxht.js} +4 -4
  165. package/dist/chunks/{tool-wt8nwjmt.js → instruction-discovery-jdt3tpmz.js} +6 -6
  166. package/dist/chunks/{tool-y1swv0f0.js → instruction-discovery-jfhnzpnz.js} +5 -5
  167. package/dist/chunks/{tool-ww5k9hxf.js → instruction-discovery-jmpaezdp.js} +24 -24
  168. package/dist/chunks/{tool-9pr9fbrd.js → instruction-discovery-jmsev7ka.js} +20 -20
  169. package/dist/chunks/{tool-sd3ysec1.js → instruction-discovery-jyp3kw9k.js} +18 -18
  170. package/dist/chunks/{tool-r6qdpshk.js → instruction-discovery-k04kmmpg.js} +10 -10
  171. package/dist/chunks/{tool-nzks3jc8.js → instruction-discovery-k3c624dm.js} +3 -3
  172. package/dist/chunks/{tool-x0511brf.js → instruction-discovery-keat3kjn.js} +4 -4
  173. package/dist/chunks/{tool-2g7ehmrk.js → instruction-discovery-kg7bac54.js} +7 -7
  174. package/dist/chunks/{tool-60hfzj8m.js → instruction-discovery-kh8f0xxh.js} +4 -4
  175. package/dist/chunks/{tool-t15tae8c.js → instruction-discovery-kr0f3pk7.js} +25 -25
  176. package/dist/chunks/{tool-zz2gaj37.js → instruction-discovery-krc273y1.js} +24 -24
  177. package/dist/chunks/{tool-0mb99r4j.js → instruction-discovery-m0t09dx6.js} +11 -11
  178. package/dist/chunks/{tool-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{tool-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{tool-73tb2d7t.js → instruction-discovery-mhkvc446.js} +3 -3
  181. package/dist/chunks/{tool-rx871m47.js → instruction-discovery-mtes310f.js} +2 -2
  182. package/dist/chunks/{tool-8cpww9tf.js → instruction-discovery-n7s9zdv0.js} +6 -6
  183. package/dist/chunks/{tool-c7hpn42k.js → instruction-discovery-n8rdxf8a.js} +17 -17
  184. package/dist/chunks/{tool-07kta9gz.js → instruction-discovery-n9qab9s6.js} +5 -5
  185. package/dist/chunks/{tool-n3mc6yaw.js → instruction-discovery-nr56gd40.js} +22 -22
  186. package/dist/chunks/{tool-jm3kmfpd.js → instruction-discovery-nw99nb3t.js} +39 -39
  187. package/dist/chunks/{tool-9endzh9e.js → instruction-discovery-nyc5627e.js} +4 -4
  188. package/dist/chunks/{tool-afmcrv4e.js → instruction-discovery-nzyysdrx.js} +11 -11
  189. package/dist/chunks/{tool-p28j5sbe.js → instruction-discovery-p28j5sbe.js} +2 -2
  190. package/dist/chunks/{tool-e1hrzsan.js → instruction-discovery-p2s2r1mh.js} +12 -12
  191. package/dist/chunks/{tool-42djxevb.js → instruction-discovery-p2tee6fj.js} +44 -44
  192. package/dist/chunks/{tool-qqcjb6jx.js → instruction-discovery-p9zrypfp.js} +32 -32
  193. package/dist/chunks/{tool-d0syxqaf.js → instruction-discovery-pa5qep2r.js} +3 -3
  194. package/dist/chunks/{tool-0gpvppac.js → instruction-discovery-pe93tcjs.js} +11 -11
  195. package/dist/chunks/{tool-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{tool-8eg130jy.js → instruction-discovery-pjxdx4mm.js} +9 -9
  197. package/dist/chunks/{tool-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  198. package/dist/chunks/{tool-f7j90zp2.js → instruction-discovery-pnv527nz.js} +9 -9
  199. package/dist/chunks/{tool-czgzge8y.js → instruction-discovery-pw383ktz.js} +8 -8
  200. package/dist/chunks/{tool-06x8he3q.js → instruction-discovery-q5asdkn4.js} +4 -4
  201. package/dist/chunks/{tool-rxerzcr3.js → instruction-discovery-q5gw3b6m.js} +43 -43
  202. package/dist/chunks/{tool-gnrgb9v9.js → instruction-discovery-q5rhn9x0.js} +9 -9
  203. package/dist/chunks/{tool-adffrgan.js → instruction-discovery-q7mf5hpb.js} +18 -18
  204. package/dist/chunks/{tool-cb2k1f8p.js → instruction-discovery-q7v7wfgv.js} +22 -22
  205. package/dist/chunks/{tool-197ae9n4.js → instruction-discovery-qcaqy7wg.js} +66 -66
  206. package/dist/chunks/{tool-133y1x9c.js → instruction-discovery-qerev8b0.js} +5 -5
  207. package/dist/chunks/{tool-cavr175a.js → instruction-discovery-qj8eh1ht.js} +4 -4
  208. package/dist/chunks/{tool-x6z1bn3h.js → instruction-discovery-qrp1b8bd.js} +30 -30
  209. package/dist/chunks/{tool-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  210. package/dist/chunks/{tool-ebdw14y1.js → instruction-discovery-r1hypjdz.js} +22 -22
  211. package/dist/chunks/{tool-1yee1wsw.js → instruction-discovery-r65q7ntx.js} +5 -5
  212. package/dist/chunks/{tool-kcrds6bj.js → instruction-discovery-rbw5mngh.js} +21 -21
  213. package/dist/chunks/{tool-t0e82vdg.js → instruction-discovery-rdhcp51z.js} +16 -16
  214. package/dist/chunks/{tool-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{tool-ns0n9ww9.js → instruction-discovery-rgpxpbmw.js} +18 -18
  216. package/dist/chunks/{tool-stag65f9.js → instruction-discovery-rtv6ahp9.js} +8 -8
  217. package/dist/chunks/{tool-qecsarb4.js → instruction-discovery-rv831twb.js} +25 -25
  218. package/dist/chunks/{tool-w6ertran.js → instruction-discovery-s1sage10.js} +13 -13
  219. package/dist/chunks/{tool-phc8pspp.js → instruction-discovery-s38x4d8v.js} +3 -3
  220. package/dist/chunks/{tool-s8d7rejh.js → instruction-discovery-s8d7rejh.js} +1 -1
  221. package/dist/chunks/{tool-t6rnym7v.js → instruction-discovery-sayy388w.js} +14 -14
  222. package/dist/chunks/{tool-dwktjsma.js → instruction-discovery-sfrfpg6k.js} +1 -1
  223. package/dist/chunks/{tool-vs9wvdae.js → instruction-discovery-srznzmvh.js} +187 -187
  224. package/dist/chunks/{tool-e7vjfaw8.js → instruction-discovery-sv108vp7.js} +90 -90
  225. package/dist/chunks/{tool-xn17ps4b.js → instruction-discovery-t1v9ezhy.js} +3 -3
  226. package/dist/chunks/{tool-dcjp3a2d.js → instruction-discovery-t7wbtjm8.js} +24 -24
  227. package/dist/chunks/{tool-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{tool-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{tool-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  230. package/dist/chunks/{tool-8b03w2b6.js → instruction-discovery-tffpjmpm.js} +46 -46
  231. package/dist/chunks/{tool-qr7xcjfz.js → instruction-discovery-tpnbm2pw.js} +12 -12
  232. package/dist/chunks/{tool-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
  233. package/dist/chunks/{tool-4vjsat8t.js → instruction-discovery-v0bj2g81.js} +17 -17
  234. package/dist/chunks/{tool-pwf27gkd.js → instruction-discovery-v51q15sg.js} +8 -8
  235. package/dist/chunks/{tool-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  236. package/dist/chunks/{tool-m32ek0sw.js → instruction-discovery-vfmrq4xs.js} +4 -4
  237. package/dist/chunks/{tool-7gyssj7x.js → instruction-discovery-vh032p2r.js} +25 -25
  238. package/dist/chunks/{tool-ar0mpfen.js → instruction-discovery-vh6ze0n0.js} +13 -13
  239. package/dist/chunks/{tool-5c0f1prt.js → instruction-discovery-vj81g6vn.js} +4 -4
  240. package/dist/chunks/{tool-5q02cxx3.js → instruction-discovery-vncycja5.js} +4 -4
  241. package/dist/chunks/{tool-9hd1jrv7.js → instruction-discovery-vsw37vpp.js} +10 -10
  242. package/dist/chunks/{tool-5y430q9n.js → instruction-discovery-vx2n8xqp.js} +3 -3
  243. package/dist/chunks/{tool-5y6wgat7.js → instruction-discovery-vxj4hqrj.js} +49 -49
  244. package/dist/chunks/{tool-rq1pz7qt.js → instruction-discovery-vz6m5ypj.js} +24 -24
  245. package/dist/chunks/{tool-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{tool-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{tool-0t9wd588.js → instruction-discovery-w3x9v1nk.js} +8 -8
  248. package/dist/chunks/{tool-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  249. package/dist/chunks/{tool-6hjx5zpb.js → instruction-discovery-wk5z6jzv.js} +9 -9
  250. package/dist/chunks/{tool-2a8ctrw4.js → instruction-discovery-wke66r7v.js} +23 -23
  251. package/dist/chunks/{tool-xxh17bsg.js → instruction-discovery-wx01sddp.js} +8 -8
  252. package/dist/chunks/{tool-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{tool-drwq78ky.js → instruction-discovery-xfkkasph.js} +4 -4
  254. package/dist/chunks/{tool-vgc515rw.js → instruction-discovery-xmwzbncj.js} +11 -11
  255. package/dist/chunks/{tool-dc0tp24d.js → instruction-discovery-xpce3g2p.js} +5 -5
  256. package/dist/chunks/instruction-discovery-xsyztx04.js +252 -0
  257. package/dist/chunks/{tool-nwgfxwxy.js → instruction-discovery-xw5ftbys.js} +12 -12
  258. package/dist/chunks/{tool-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{tool-zdetck8p.js → instruction-discovery-y1qpbc5j.js} +53 -53
  260. package/dist/chunks/{tool-6nma5gxg.js → instruction-discovery-y27t24zj.js} +7 -7
  261. package/dist/chunks/{tool-fcy52zm3.js → instruction-discovery-y6a3b6rc.js} +47 -47
  262. package/dist/chunks/{tool-7a4dnpr3.js → instruction-discovery-y6k2m0kz.js} +37 -37
  263. package/dist/chunks/{tool-y71avatq.js → instruction-discovery-y71avatq.js} +1 -1
  264. package/dist/chunks/{tool-1q4w1hkk.js → instruction-discovery-ya3xcbg8.js} +13 -13
  265. package/dist/chunks/{tool-hxsyww7z.js → instruction-discovery-ybsbh40w.js} +16 -16
  266. package/dist/chunks/{tool-df3x4kde.js → instruction-discovery-yjjxgcgg.js} +9 -9
  267. package/dist/chunks/{tool-rx6gygm6.js → instruction-discovery-ym99va62.js} +3 -3
  268. package/dist/chunks/{tool-eq68chpb.js → instruction-discovery-ypfrwztw.js} +9 -9
  269. package/dist/chunks/{tool-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{tool-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
  271. package/dist/chunks/{tool-bhj4y43k.js → instruction-discovery-yt0fqk68.js} +5 -5
  272. package/dist/chunks/{tool-a012ky48.js → instruction-discovery-yt3zqrbx.js} +10 -10
  273. package/dist/chunks/{tool-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{tool-1tx6fftr.js → instruction-discovery-z2q93yfq.js} +11 -11
  275. package/dist/chunks/{tool-vzt7w0x1.js → instruction-discovery-z3ynxe6c.js} +16 -16
  276. package/dist/chunks/{tool-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
  277. package/dist/chunks/{tool-vh7phyy0.js → instruction-discovery-z85zpx68.js} +38 -38
  278. package/dist/chunks/{tool-rq775frq.js → instruction-discovery-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{tool-4chvkj0g.js → instruction-discovery-zehy6wad.js} +27 -27
  280. package/dist/chunks/{tool-vsbgd8f5.js → instruction-discovery-zgt6sveh.js} +26 -26
  281. package/dist/chunks/{tool-skq2eby0.js → instruction-discovery-zr0cc4jg.js} +18 -18
  282. package/dist/chunks/{tool-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{tool-1y3ke0et.js → instruction-discovery-zrwqjd9x.js} +13 -13
  284. package/dist/chunks/{tool-nt9apy23.js → instruction-discovery-zshvb8bj.js} +7 -7
  285. package/dist/chunks/{tool-7nm0hg1a.js → instruction-discovery-zthbd08v.js} +27 -27
  286. package/dist/chunks/{tool-77m2y8gv.js → instruction-discovery-zvpwq5n9.js} +12 -12
  287. package/dist/chunks/{tool-5d17xbav.js → instruction-discovery-zw4pk1bw.js} +5 -5
  288. package/dist/chunks/{tool-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +122 -122
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +141 -141
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +124 -124
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +127 -127
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +82 -82
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +367 -367
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +1 -1
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +220 -220
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +96 -96
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +97 -97
  428. package/dist/form.js +79 -79
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +88 -88
  431. package/dist/generate.js +102 -102
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +359 -359
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +76 -76
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +131 -131
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +356 -356
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +125 -125
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +97 -97
  479. package/dist/model.js +97 -97
  480. package/dist/models-dev.js +106 -106
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +108 -108
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/compaction.js +130 -130
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +217 -217
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +330 -330
  498. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  499. package/dist/plugin/models-dev.js +95 -95
  500. package/dist/plugin/module.js +7 -7
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +101 -101
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +92 -92
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +92 -92
  516. package/dist/plugin/provider/gitlab.js +90 -90
  517. package/dist/plugin/provider/google-vertex.js +89 -89
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +76 -76
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +91 -91
  522. package/dist/plugin/provider/nvidia.js +1 -1
  523. package/dist/plugin/provider/ollama.js +119 -119
  524. package/dist/plugin/provider/openai.js +93 -93
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  530. package/dist/plugin/provider/sap-ai-core.js +90 -90
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +89 -89
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +90 -90
  537. package/dist/plugin/provider/zenmux.js +1 -1
  538. package/dist/plugin/provider.js +158 -158
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +140 -140
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +349 -349
  544. package/dist/plugin/tool-input-repair.js +4 -4
  545. package/dist/plugin/update.js +6 -6
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +120 -120
  549. package/dist/plugin/websearch/exa.js +5 -5
  550. package/dist/plugin/websearch/firecrawl.js +6 -6
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +4 -4
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +224 -224
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +89 -89
  560. package/dist/provider.js +100 -100
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +1 -1
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +89 -89
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +88 -88
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +129 -129
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +3 -3
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +127 -127
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +13 -13
  584. package/dist/session/inbox.js +89 -89
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +78 -78
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +92 -92
  589. package/dist/session/message-updater.js +2 -2
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +118 -118
  592. package/dist/session/model-transport.js +9 -9
  593. package/dist/session/move.js +129 -129
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +3 -3
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +230 -230
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +97 -97
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +113 -113
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +171 -171
  609. package/dist/session/shell.js +137 -137
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +207 -207
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +110 -110
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +215 -215
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +139 -139
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +111 -111
  630. package/dist/snapshot.js +92 -92
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +124 -124
  635. package/dist/tool/plugin/edit.js +119 -119
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +123 -123
  638. package/dist/tool/plugin/grep.js +115 -115
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +121 -121
  641. package/dist/tool/plugin/question.js +102 -102
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +214 -214
  644. package/dist/tool/plugin/skill.js +110 -110
  645. package/dist/tool/plugin/subagent.js +218 -218
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +111 -111
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +95 -95
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +12 -12
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +5 -5
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +7 -7
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +91 -91
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/variant.js +92 -92
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +83 -83
  683. package/dist/wellknown/plugin.js +73 -73
  684. package/dist/wellknown.js +80 -80
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +10 -10
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree/strategies.js +88 -88
  692. package/dist/worktree.js +95 -95
  693. package/package.json +8 -8
  694. package/dist/chunks/tool-az58nsbk.js +0 -26
  695. package/dist/chunks/tool-gyce5qg1.js +0 -18
  696. package/dist/chunks/tool-rdf0737w.js +0 -252
  697. package/dist/chunks/tool-vzyzcn29.js +0 -65
  698. package/dist/chunks/tool-xr88f9g7.js +0 -492
  699. /package/dist/chunks/{tool-0mesazry.js → instruction-discovery-0mesazry.js} +0 -0
  700. /package/dist/chunks/{tool-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{tool-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{tool-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{tool-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{tool-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{tool-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{tool-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{tool-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{tool-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{tool-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{tool-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  711. /package/dist/chunks/{tool-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{tool-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{tool-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{tool-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{tool-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{tool-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{tool-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{tool-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  719. /package/dist/chunks/{tool-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{tool-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{tool-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  722. /package/dist/chunks/{tool-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{tool-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{tool-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  725. /package/dist/chunks/{tool-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{tool-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{tool-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
  728. /package/dist/chunks/{tool-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{tool-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{tool-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{tool-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{tool-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{tool-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{tool-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{tool-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{tool-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{tool-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{tool-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{tool-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{tool-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{tool-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{tool-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{tool-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  744. /package/dist/chunks/{tool-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{tool-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{tool-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{tool-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{tool-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{tool-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{tool-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{tool-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{tool-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{tool-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{tool-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{tool-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{tool-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  757. /package/dist/chunks/{tool-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{tool-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  759. /package/dist/chunks/{tool-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{tool-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  761. /package/dist/chunks/{tool-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{tool-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{tool-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{tool-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{tool-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{tool-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{tool-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{tool-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{tool-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{tool-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{tool-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{tool-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{tool-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{tool-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{tool-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{tool-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{tool-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{tool-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{tool-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{tool-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{tool-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{tool-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{tool-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{tool-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{tool-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{tool-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{tool-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{tool-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{tool-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  790. /package/dist/chunks/{tool-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{tool-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{tool-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{tool-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{tool-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{tool-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,131 +1,131 @@
1
1
  import {
2
2
  Metadata2,
3
- node61
4
- } from "./tool-vgc515rw.js";
3
+ node53
4
+ } from "./instruction-discovery-xmwzbncj.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./tool-9endzh9e.js";
8
+ } from "./instruction-discovery-nyc5627e.js";
9
9
  import {
10
- ID11,
11
- Service72,
12
- node76
13
- } from "./tool-kcrds6bj.js";
10
+ ID12,
11
+ Service74,
12
+ node78
13
+ } from "./instruction-discovery-rbw5mngh.js";
14
14
  import {
15
- ID15,
15
+ ID18,
16
16
  OAuth3
17
- } from "./tool-dz1mzf7h.js";
17
+ } from "./instruction-discovery-90pjtq3h.js";
18
18
  import {
19
- ID14,
19
+ ID16,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service76,
24
- node80
25
- } from "./tool-mh3xs90e.js";
26
- import {
27
- AbsolutePath2
28
- } from "./tool-922hggd3.js";
29
- import {
30
- Info32,
31
- Ref4,
32
23
  Service79,
33
24
  node83
34
- } from "./tool-wyd4vgvd.js";
25
+ } from "./instruction-discovery-4gjfpxjb.js";
35
26
  import {
36
- ID13,
37
- Service75,
38
- node79
39
- } from "./tool-qqcjb6jx.js";
27
+ AbsolutePath2
28
+ } from "./instruction-discovery-922hggd3.js";
40
29
  import {
41
- Service45,
42
- node47
43
- } from "./tool-91f0wncr.js";
30
+ Info29,
31
+ Ref3,
32
+ Service76,
33
+ node80
34
+ } from "./instruction-discovery-9cc9anwb.js";
44
35
  import {
45
- Service43,
46
- node45
47
- } from "./tool-gbag256c.js";
36
+ ID9,
37
+ Service69,
38
+ node73
39
+ } from "./instruction-discovery-p9zrypfp.js";
48
40
  import {
49
- Service64,
50
- node68
51
- } from "./tool-57m9tgf1.js";
41
+ Service63,
42
+ node66
43
+ } from "./instruction-discovery-7er823xf.js";
52
44
  import {
53
- Service56,
54
- node59
55
- } from "./tool-qnc1epre.js";
45
+ Service49,
46
+ node52
47
+ } from "./instruction-discovery-dkqv5z6m.js";
48
+ import {
49
+ Service62,
50
+ node65
51
+ } from "./instruction-discovery-00f3x6kk.js";
56
52
  import {
57
- ID5,
58
53
  Service58,
59
- node62
60
- } from "./tool-0e14c09c.js";
54
+ node61
55
+ } from "./instruction-discovery-9eanvfav.js";
61
56
  import {
62
- ID4
63
- } from "./tool-4n9mx8v3.js";
57
+ ID7,
58
+ Service60,
59
+ node63
60
+ } from "./instruction-discovery-7n97fvxd.js";
64
61
  import {
65
- Service31,
66
- node34
67
- } from "./tool-5y6wgat7.js";
62
+ ID8
63
+ } from "./instruction-discovery-7h1sjwf0.js";
68
64
  import {
69
- Service73,
70
- node77
71
- } from "./tool-4e8vs6eh.js";
65
+ Service39,
66
+ node42
67
+ } from "./instruction-discovery-vxj4hqrj.js";
72
68
  import {
73
- Service69,
74
- node73
75
- } from "./tool-8t1mk3vk.js";
69
+ Service75,
70
+ node79
71
+ } from "./instruction-discovery-166kng33.js";
76
72
  import {
77
- Service65,
78
- node69
79
- } from "./tool-ebdw14y1.js";
73
+ Service71,
74
+ node75
75
+ } from "./instruction-discovery-8jbq9hes.js";
80
76
  import {
81
- Source3,
82
- Service49,
83
- node52
84
- } from "./tool-dcjp3a2d.js";
77
+ Service64,
78
+ node67
79
+ } from "./instruction-discovery-r1hypjdz.js";
85
80
  import {
86
- Info22,
87
- Service68,
88
- node72
89
- } from "./tool-vcev46jt.js";
81
+ Source4,
82
+ Service47,
83
+ node50
84
+ } from "./instruction-discovery-t7wbtjm8.js";
90
85
  import {
91
- Service19,
92
- node22
93
- } from "./tool-qbp86h8m.js";
86
+ Info7,
87
+ Service46,
88
+ node49
89
+ } from "./instruction-discovery-879n9jmk.js";
94
90
  import {
95
- Service61,
96
- node65
97
- } from "./tool-7nm0hg1a.js";
91
+ Service29,
92
+ node32
93
+ } from "./instruction-discovery-602rhm03.js";
98
94
  import {
99
- Service60,
100
- node64
101
- } from "./tool-e7q4x2ep.js";
95
+ Service21,
96
+ node24
97
+ } from "./instruction-discovery-zthbd08v.js";
102
98
  import {
103
- Service53,
104
- node56
105
- } from "./tool-9pr9fbrd.js";
99
+ Service24,
100
+ node27
101
+ } from "./instruction-discovery-86swmg3n.js";
106
102
  import {
107
- ID6,
108
- Service63,
109
- node67
110
- } from "./tool-7gyssj7x.js";
103
+ Service27,
104
+ node30
105
+ } from "./instruction-discovery-jmsev7ka.js";
106
+ import {
107
+ ID4,
108
+ Service22,
109
+ node25
110
+ } from "./instruction-discovery-vh032p2r.js";
111
111
  import {
112
- Service52,
113
- node55
114
- } from "./tool-h2t4955r.js";
112
+ Service26,
113
+ node29
114
+ } from "./instruction-discovery-bqqzw0hf.js";
115
115
  import {
116
116
  StrategyID2,
117
- Info19,
117
+ Info4,
118
118
  ListEntry3,
119
- Service51,
120
- node54
121
- } from "./tool-z80n829h.js";
119
+ Service25,
120
+ node28
121
+ } from "./instruction-discovery-2pqv22kz.js";
122
122
  import {
123
- Service18,
124
- node21
125
- } from "./tool-cb2k1f8p.js";
123
+ Service23,
124
+ node26
125
+ } from "./instruction-discovery-q7v7wfgv.js";
126
126
  import {
127
127
  __export
128
- } from "./tool-9rqn6x4v.js";
128
+ } from "./instruction-discovery-9rqn6x4v.js";
129
129
 
130
130
  // src/plugin/host.ts
131
131
  var exports_host = {};
@@ -143,49 +143,49 @@ var mutable = (value) => value;
143
143
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
144
144
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
145
145
  const app = yield* Metadata2;
146
- const agents = yield* Service72;
147
- const aisdk = yield* Service45;
148
- const providers = yield* Service75;
149
- const models = yield* Service58;
150
- const commands = yield* Service43;
146
+ const agents = yield* Service74;
147
+ const aisdk = yield* Service63;
148
+ const providers = yield* Service69;
149
+ const models = yield* Service60;
150
+ const commands = yield* Service49;
151
151
  const bus = yield* Service82;
152
- const integration = yield* Service76;
153
- const kv = yield* Service64;
154
- const mcp = yield* Service31;
155
- const location = yield* Service79;
156
- const reference = yield* Service49;
157
- const rpc = yield* Service60;
158
- const skill = yield* Service68;
159
- const tools = yield* Service65;
160
- const vcs = yield* Service53;
161
- const websearch = yield* Service63;
162
- const generate = yield* Service18;
163
- const permission = yield* Service69;
164
- const hooks = yield* Service73;
165
- const sessions = yield* Service19;
166
- const persistentPty = yield* Service61;
167
- const locations = yield* Service56;
168
- const worktrees = yield* Service51;
169
- const worktreeStrategies = yield* Service52;
152
+ const integration = yield* Service79;
153
+ const kv = yield* Service62;
154
+ const mcp = yield* Service39;
155
+ const location = yield* Service76;
156
+ const reference = yield* Service47;
157
+ const rpc = yield* Service24;
158
+ const skill = yield* Service46;
159
+ const tools = yield* Service64;
160
+ const vcs = yield* Service27;
161
+ const websearch = yield* Service22;
162
+ const generate = yield* Service23;
163
+ const permission = yield* Service71;
164
+ const hooks = yield* Service75;
165
+ const sessions = yield* Service29;
166
+ const persistentPty = yield* Service21;
167
+ const locations = yield* Service58;
168
+ const worktrees = yield* Service25;
169
+ const worktreeStrategies = yield* Service26;
170
170
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
171
- const locationInfo = () => new Info32({
171
+ const locationInfo = () => new Info29({
172
172
  directory: location.directory,
173
173
  workspaceID: location.workspaceID,
174
174
  project: location.project
175
175
  });
176
- const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
176
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
177
177
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
178
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID4.make(input.location.workspace)
178
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID8.make(input.location.workspace)
179
179
  });
180
180
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
181
181
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
182
- const decodeWorktree = Schema.decodeUnknownEffect(Info19);
182
+ const decodeWorktree = Schema.decodeUnknownEffect(Info4);
183
183
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
184
184
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
185
- const location = yield* Service79;
186
- const agents = yield* Service72;
185
+ const location = yield* Service76;
186
+ const agents = yield* Service74;
187
187
  return {
188
- location: new Info32({
188
+ location: new Info29({
189
189
  directory: location.directory,
190
190
  workspaceID: location.workspaceID,
191
191
  project: location.project
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
217
217
  transform: (callback) => agents.transform((editor) => {
218
218
  callback({
219
219
  list: () => mutable(editor.list()),
220
- get: (id) => mutable(editor.get(ID11.make(id))),
221
- default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
222
- update: (id, update) => editor.update(ID11.make(id), update),
223
- remove: (id) => editor.remove(ID11.make(id))
220
+ get: (id) => mutable(editor.get(ID12.make(id))),
221
+ default: (id) => editor.default(id === undefined ? undefined : ID12.make(id)),
222
+ update: (id, update) => editor.update(ID12.make(id), update),
223
+ remove: (id) => editor.remove(ID12.make(id))
224
224
  });
225
225
  })
226
226
  },
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
254
254
  },
255
255
  provider: {
256
256
  list: () => response(providers.available()),
257
- get: (input) => providers.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
257
+ get: (input) => providers.get(ID9.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
258
258
  reload: providers.reload,
259
259
  transform: (callback) => providers.transform((editor) => {
260
260
  callback({
261
261
  list: editor.list,
262
- get: (id) => editor.get(ID13.make(id)),
262
+ get: (id) => editor.get(ID9.make(id)),
263
263
  add: (definition) => editor.add({
264
264
  ...definition,
265
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
265
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID18.make(definition.sourceConnection.id) } : definition.sourceConnection
266
266
  }),
267
- update: (id, update) => editor.update(ID13.make(id), update),
268
- remove: (id) => editor.remove(ID13.make(id)),
267
+ update: (id, update) => editor.update(ID9.make(id), update),
268
+ remove: (id) => editor.remove(ID9.make(id)),
269
269
  models: {
270
- set: (id, models) => editor.models.set(ID13.make(id), models),
271
- update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID5.make(modelID), update),
272
- remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID5.make(modelID))
270
+ set: (id, models) => editor.models.set(ID9.make(id), models),
271
+ update: (providerID, modelID, update) => editor.models.update(ID9.make(providerID), ID7.make(modelID), update),
272
+ remove: (providerID, modelID) => editor.models.remove(ID9.make(providerID), ID7.make(modelID))
273
273
  }
274
274
  });
275
275
  })
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
279
279
  default: () => response(models.default()),
280
280
  reload: models.reload,
281
281
  transform: (callback) => models.transform((editor) => callback({
282
- list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
283
- get: (providerID, modelID) => editor.get(ID13.make(providerID), ID5.make(modelID)),
284
- update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID5.make(modelID), update),
285
- remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID5.make(modelID)),
282
+ list: (providerID) => editor.list(providerID === undefined ? undefined : ID9.make(providerID)),
283
+ get: (providerID, modelID) => editor.get(ID9.make(providerID), ID7.make(modelID)),
284
+ update: (providerID, modelID, update) => editor.update(ID9.make(providerID), ID7.make(modelID), update),
285
+ remove: (providerID, modelID) => editor.remove(ID9.make(providerID), ID7.make(modelID)),
286
286
  default: {
287
287
  get: editor.default.get,
288
- set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID5.make(modelID))
288
+ set: (providerID, modelID) => editor.default.set(ID9.make(providerID), ID7.make(modelID))
289
289
  },
290
290
  provider: {
291
291
  list: editor.provider.list,
292
- get: (id) => editor.provider.get(ID13.make(id))
292
+ get: (id) => editor.provider.get(ID9.make(id))
293
293
  }
294
294
  }))
295
295
  },
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
312
312
  integration: {
313
313
  list: () => response(integration.list()),
314
314
  get: Effect.fn(function* (input) {
315
- const item = yield* integration.get(ID14.make(input.integrationID));
315
+ const item = yield* integration.get(ID16.make(input.integrationID));
316
316
  if (!item)
317
317
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
318
318
  return yield* response(Effect.succeed(item));
319
319
  }),
320
320
  connect: {
321
321
  key: (input) => integration.connection.key({
322
- integrationID: ID14.make(input.integrationID),
322
+ integrationID: ID16.make(input.integrationID),
323
323
  key: input.key,
324
324
  answer: input.answer,
325
325
  label: input.label
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
327
327
  },
328
328
  oauth: {
329
329
  connect: (input) => response(integration.oauth.connect({
330
- integrationID: ID14.make(input.integrationID),
330
+ integrationID: ID16.make(input.integrationID),
331
331
  methodID: MethodID2.make(input.methodID),
332
332
  answer: input.answer,
333
333
  label: input.label
334
334
  })),
335
335
  status: (input) => response(integration.oauth.status({
336
- integrationID: ID14.make(input.integrationID),
336
+ integrationID: ID16.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })),
339
339
  complete: (input) => integration.oauth.complete({
340
- integrationID: ID14.make(input.integrationID),
340
+ integrationID: ID16.make(input.integrationID),
341
341
  attemptID: AttemptID2.make(input.attemptID),
342
342
  code: input.code
343
343
  }),
344
344
  cancel: (input) => integration.oauth.cancel({
345
- integrationID: ID14.make(input.integrationID),
345
+ integrationID: ID16.make(input.integrationID),
346
346
  attemptID: AttemptID2.make(input.attemptID)
347
347
  })
348
348
  },
349
349
  command: {
350
350
  connect: (input) => response(integration.command.connect({
351
- integrationID: ID14.make(input.integrationID),
351
+ integrationID: ID16.make(input.integrationID),
352
352
  methodID: MethodID2.make(input.methodID),
353
353
  label: input.label
354
354
  })),
355
355
  status: (input) => response(integration.command.status({
356
- integrationID: ID14.make(input.integrationID),
356
+ integrationID: ID16.make(input.integrationID),
357
357
  attemptID: AttemptID2.make(input.attemptID)
358
358
  })),
359
359
  cancel: (input) => integration.command.cancel({
360
- integrationID: ID14.make(input.integrationID),
360
+ integrationID: ID16.make(input.integrationID),
361
361
  attemptID: AttemptID2.make(input.attemptID)
362
362
  })
363
363
  },
364
364
  reload: integration.reload,
365
365
  connection: {
366
- active: (id) => integration.connection.active(ID14.make(id)),
367
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
366
+ active: (id) => integration.connection.active(ID16.make(id)),
367
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection)
368
368
  },
369
369
  transform: (callback) => integration.transform((editor) => {
370
370
  callback({
371
371
  list: () => mutable(editor.list()),
372
- get: (id) => mutable(editor.get(ID14.make(id))),
373
- update: (id, update) => editor.update(ID14.make(id), update),
374
- remove: (id) => editor.remove(ID14.make(id)),
372
+ get: (id) => mutable(editor.get(ID16.make(id))),
373
+ update: (id, update) => editor.update(ID16.make(id), update),
374
+ remove: (id) => editor.remove(ID16.make(id)),
375
375
  method: {
376
- list: (id) => editor.method.list(ID14.make(id)),
376
+ list: (id) => editor.method.list(ID16.make(id)),
377
377
  update: (input) => editor.method.update(methodImplementation(input)),
378
- remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
378
+ remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
379
379
  }
380
380
  });
381
381
  })
@@ -385,10 +385,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
385
385
  const ref = locationRef(input);
386
386
  if (ref && !isCurrentLocation(ref))
387
387
  return Effect.gen(function* () {
388
- const location = yield* Service79;
389
- const mcp = yield* Service31;
388
+ const location = yield* Service76;
389
+ const mcp = yield* Service39;
390
390
  return {
391
- location: new Info32({
391
+ location: new Info29({
392
392
  directory: location.directory,
393
393
  workspaceID: location.workspaceID,
394
394
  project: location.project
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
423
423
  reload: reference.reload,
424
424
  transform: (callback) => reference.transform((editor) => {
425
425
  callback({
426
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
426
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
427
427
  remove: editor.remove,
428
428
  list: editor.list,
429
429
  get: editor.get
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
437
437
  callback({
438
438
  list: () => mutable(editor.list()),
439
439
  get: editor.get,
440
- add: (value) => editor.add(Schema.decodeUnknownSync(Info22)(value)),
440
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
441
441
  update: editor.update,
442
442
  remove: editor.remove
443
443
  });
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
468
468
  providers: () => response(websearch.providers()),
469
469
  query: (input) => response(websearch.query({
470
470
  query: input.query,
471
- providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
471
+ providerID: input.providerID === undefined ? undefined : ID4.make(input.providerID)
472
472
  })),
473
473
  reload: websearch.reload,
474
474
  transform: (callback) => websearch.transform((editor) => {
475
475
  callback({
476
476
  add: (definition) => editor.add({
477
- id: ID6.make(definition.id),
477
+ id: ID4.make(definition.id),
478
478
  name: definition.name,
479
479
  execute: definition.execute
480
480
  }),
481
481
  default: {
482
482
  get: editor.default.get,
483
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
483
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID4.make(selection))
484
484
  }
485
485
  });
486
486
  })
@@ -509,7 +509,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
509
509
  model: input?.model,
510
510
  metadata: input?.metadata,
511
511
  permissions: input?.permissions,
512
- location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
512
+ location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
513
513
  }),
514
514
  get: (input) => sessions.get(input.sessionID),
515
515
  switchAgent: sessions.switchAgent,
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
534
534
  return context;
535
535
  });
536
536
  var requirements3 = LayerNode.group([
537
- node61,
538
- node76,
539
- node47,
540
- node79,
541
- node62,
542
- node45,
537
+ node53,
538
+ node78,
539
+ node66,
540
+ node73,
541
+ node63,
542
+ node52,
543
543
  node86,
544
- node80,
545
- node68,
546
- node34,
547
544
  node83,
548
- node52,
549
- node64,
550
- node72,
551
- node69,
552
- node56,
553
- node67,
554
- node54,
555
- node55,
556
- node21,
557
- node73,
558
- node77,
559
- node22,
560
545
  node65,
561
- node59
546
+ node42,
547
+ node80,
548
+ node50,
549
+ node27,
550
+ node49,
551
+ node67,
552
+ node30,
553
+ node25,
554
+ node28,
555
+ node29,
556
+ node26,
557
+ node75,
558
+ node79,
559
+ node32,
560
+ node24,
561
+ node61
562
562
  ]);
563
563
  function storage2(kv, pluginID) {
564
564
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -585,7 +585,7 @@ function methodImplementation(input) {
585
585
  if ("authorize" in input) {
586
586
  const refresh = input.refresh;
587
587
  return {
588
- integrationID: ID14.make(input.integrationID),
588
+ integrationID: ID16.make(input.integrationID),
589
589
  method: { ...input.method, id: MethodID2.make(input.method.id) },
590
590
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
591
591
  if (authorization.mode === "auto") {
@@ -605,18 +605,18 @@ function methodImplementation(input) {
605
605
  }
606
606
  if (input.method.type === "env") {
607
607
  return {
608
- integrationID: ID14.make(input.integrationID),
608
+ integrationID: ID16.make(input.integrationID),
609
609
  method: input.method
610
610
  };
611
611
  }
612
612
  if (input.method.type === "command") {
613
613
  return {
614
- integrationID: ID14.make(input.integrationID),
614
+ integrationID: ID16.make(input.integrationID),
615
615
  method: { ...input.method, id: MethodID2.make(input.method.id) }
616
616
  };
617
617
  }
618
618
  return {
619
- integrationID: ID14.make(input.integrationID),
619
+ integrationID: ID16.make(input.integrationID),
620
620
  method: input.method
621
621
  };
622
622
  }