@opencode/core 0.0.0-dev-21681 → 0.0.0-dev-21685

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +3 -3
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{ripgrep-45zwd69n.js → instruction-discovery-02rpsdwq.js} +39 -39
  8. package/dist/chunks/{ripgrep-034tev2y.js → instruction-discovery-034tev2y.js} +2 -2
  9. package/dist/chunks/{ripgrep-xzvgcsw6.js → instruction-discovery-06hkf91z.js} +7 -7
  10. package/dist/chunks/{ripgrep-jxr5ks98.js → instruction-discovery-06tsrf37.js} +6 -6
  11. package/dist/chunks/{ripgrep-2sj7hqj2.js → instruction-discovery-0bfbh6xc.js} +28 -28
  12. package/dist/chunks/{ripgrep-dk5xnaxx.js → instruction-discovery-0p88zpcm.js} +4 -4
  13. package/dist/chunks/{ripgrep-4ssvmfsy.js → instruction-discovery-0z1qyetw.js} +13 -13
  14. package/dist/chunks/{ripgrep-sgywbgaj.js → instruction-discovery-1590c3s1.js} +31 -31
  15. package/dist/chunks/{ripgrep-1ep2p91f.js → instruction-discovery-1ep2p91f.js} +2 -2
  16. package/dist/chunks/{ripgrep-9b28cy4d.js → instruction-discovery-1vdntpm3.js} +5 -5
  17. package/dist/chunks/{ripgrep-1x2knyw4.js → instruction-discovery-1x2knyw4.js} +1 -1
  18. package/dist/chunks/{ripgrep-173t91w5.js → instruction-discovery-1y0wdj51.js} +4 -4
  19. package/dist/chunks/{ripgrep-bf166mt2.js → instruction-discovery-1y33b0wd.js} +26 -26
  20. package/dist/chunks/{ripgrep-tasvem1v.js → instruction-discovery-1z6jjy5p.js} +3 -3
  21. package/dist/chunks/{ripgrep-vb6v44n7.js → instruction-discovery-211y70yv.js} +17 -17
  22. package/dist/chunks/{ripgrep-rxrz6b15.js → instruction-discovery-27bs79w9.js} +2 -2
  23. package/dist/chunks/{ripgrep-r1h56z6d.js → instruction-discovery-2cckbrxm.js} +13 -13
  24. package/dist/chunks/{ripgrep-m1tk4nd6.js → instruction-discovery-2gy537ph.js} +40 -40
  25. package/dist/chunks/{ripgrep-hyjk9r55.js → instruction-discovery-2hbzz1h7.js} +20 -20
  26. package/dist/chunks/{ripgrep-qh12k8gp.js → instruction-discovery-2ns20q01.js} +1 -1
  27. package/dist/chunks/{ripgrep-8bm7axdr.js → instruction-discovery-2xdd02fb.js} +11 -11
  28. package/dist/chunks/{ripgrep-2z1j29yd.js → instruction-discovery-2z1j29yd.js} +1 -1
  29. package/dist/chunks/{ripgrep-zssrpzfh.js → instruction-discovery-30nw9pfg.js} +67 -67
  30. package/dist/chunks/{ripgrep-msfasjrs.js → instruction-discovery-32b2d01b.js} +18 -18
  31. package/dist/chunks/{ripgrep-dvg9k2dh.js → instruction-discovery-39ebgr3a.js} +26 -26
  32. package/dist/chunks/{ripgrep-3kk2jwp7.js → instruction-discovery-3c7qpzd7.js} +8 -8
  33. package/dist/chunks/{ripgrep-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{ripgrep-3nnrz6f6.js → instruction-discovery-3nnrz6f6.js} +1 -1
  35. package/dist/chunks/{ripgrep-s2p2k57b.js → instruction-discovery-45keak5f.js} +15 -15
  36. package/dist/chunks/{ripgrep-69qhactm.js → instruction-discovery-4bg9qwqs.js} +3 -3
  37. package/dist/chunks/{ripgrep-sda31fcg.js → instruction-discovery-4c7nxy6x.js} +29 -29
  38. package/dist/chunks/{ripgrep-3gzarg29.js → instruction-discovery-4g0xe90t.js} +10 -10
  39. package/dist/chunks/{ripgrep-gb9ye6vs.js → instruction-discovery-4kg35d6f.js} +19 -19
  40. package/dist/chunks/{ripgrep-4v008n1t.js → instruction-discovery-4v008n1t.js} +1 -1
  41. package/dist/chunks/{ripgrep-j3eb93p8.js → instruction-discovery-4v651skh.js} +34 -34
  42. package/dist/chunks/{ripgrep-4xvmh7wp.js → instruction-discovery-4xvmh7wp.js} +3 -3
  43. package/dist/chunks/{ripgrep-atet4mee.js → instruction-discovery-4z0we31x.js} +14 -14
  44. package/dist/chunks/{ripgrep-1kzr7jgm.js → instruction-discovery-530caf3d.js} +14 -14
  45. package/dist/chunks/{ripgrep-0w2ve4np.js → instruction-discovery-54m57xnc.js} +28 -28
  46. package/dist/chunks/{ripgrep-cza8pqvg.js → instruction-discovery-5e17hjwv.js} +9 -9
  47. package/dist/chunks/{ripgrep-40za9wsf.js → instruction-discovery-5enarcya.js} +6 -6
  48. package/dist/chunks/{ripgrep-1m0sdz90.js → instruction-discovery-5hwp3mnm.js} +43 -43
  49. package/dist/chunks/{ripgrep-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{ripgrep-b6vsg801.js → instruction-discovery-5nnwax6m.js} +5 -5
  51. package/dist/chunks/{ripgrep-yh0e7xz8.js → instruction-discovery-5vmx498f.js} +32 -32
  52. package/dist/chunks/{ripgrep-r991pz9h.js → instruction-discovery-5wwswtpf.js} +20 -20
  53. package/dist/chunks/{ripgrep-cvdn796p.js → instruction-discovery-5xya02hf.js} +14 -14
  54. package/dist/chunks/{ripgrep-yyjmamy7.js → instruction-discovery-6e8867gw.js} +16 -16
  55. package/dist/chunks/{ripgrep-6esdw8yj.js → instruction-discovery-6esdw8yj.js} +1 -1
  56. package/dist/chunks/{ripgrep-k5aja770.js → instruction-discovery-6fcb95c6.js} +8 -8
  57. package/dist/chunks/{ripgrep-wnvea4fe.js → instruction-discovery-6hkx6zh1.js} +8 -8
  58. package/dist/chunks/{ripgrep-bqwdyg2t.js → instruction-discovery-6kakegn7.js} +9 -9
  59. package/dist/chunks/{ripgrep-rgsds9qv.js → instruction-discovery-6np17vve.js} +11 -11
  60. package/dist/chunks/{ripgrep-6pjqjmy2.js → instruction-discovery-6pjqjmy2.js} +1 -1
  61. package/dist/chunks/{ripgrep-pef6w6b4.js → instruction-discovery-6t1nvg56.js} +19 -19
  62. package/dist/chunks/{ripgrep-6nracgmf.js → instruction-discovery-6xe6qe1z.js} +196 -196
  63. package/dist/chunks/{ripgrep-wj025wy7.js → instruction-discovery-7066n3mz.js} +4 -4
  64. package/dist/chunks/{ripgrep-nbsqgbhj.js → instruction-discovery-744ctw13.js} +25 -25
  65. package/dist/chunks/{ripgrep-ye7j7sbs.js → instruction-discovery-769y8set.js} +32 -32
  66. package/dist/chunks/{ripgrep-8cpd998p.js → instruction-discovery-77afn72v.js} +13 -13
  67. package/dist/chunks/{ripgrep-tpm1qpxt.js → instruction-discovery-799ckdtf.js} +9 -9
  68. package/dist/chunks/{ripgrep-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{ripgrep-0t2h4nxf.js → instruction-discovery-7njvtxjk.js} +5 -5
  70. package/dist/chunks/{ripgrep-7w2ypzdf.js → instruction-discovery-7w2ypzdf.js} +1 -1
  71. package/dist/chunks/instruction-discovery-83cry12x.js +26 -0
  72. package/dist/chunks/{ripgrep-d4ctf4tn.js → instruction-discovery-895h3qj5.js} +4 -4
  73. package/dist/chunks/{ripgrep-rvr9nrxj.js → instruction-discovery-8e6vbpwd.js} +18 -18
  74. package/dist/chunks/{ripgrep-favmj1rd.js → instruction-discovery-8ev1pcqt.js} +4 -4
  75. package/dist/chunks/{ripgrep-7kqnvg9k.js → instruction-discovery-8hsv30j4.js} +20 -20
  76. package/dist/chunks/{ripgrep-8wtp7s3z.js → instruction-discovery-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{ripgrep-g1d2dsmd.js → instruction-discovery-917zkqw6.js} +13 -13
  78. package/dist/chunks/{ripgrep-91rj84md.js → instruction-discovery-91rj84md.js} +1 -1
  79. package/dist/chunks/{ripgrep-cxsv7r2q.js → instruction-discovery-91vtnk5e.js} +16 -16
  80. package/dist/chunks/{ripgrep-6xjhb3qk.js → instruction-discovery-94dxmxj3.js} +12 -12
  81. package/dist/chunks/{ripgrep-0gka690g.js → instruction-discovery-956c56jz.js} +2 -2
  82. package/dist/chunks/{ripgrep-19nkwpt0.js → instruction-discovery-976c7xh0.js} +17 -17
  83. package/dist/chunks/{ripgrep-998yhzzq.js → instruction-discovery-998yhzzq.js} +3 -3
  84. package/dist/chunks/{ripgrep-tnf39wvh.js → instruction-discovery-9btmn35n.js} +46 -46
  85. package/dist/chunks/{ripgrep-rzbnf15d.js → instruction-discovery-9efckeb8.js} +14 -14
  86. package/dist/chunks/{ripgrep-mbaagm2q.js → instruction-discovery-9jjdx8qq.js} +28 -28
  87. package/dist/chunks/{ripgrep-g15zpze4.js → instruction-discovery-9sd5yz6g.js} +23 -23
  88. package/dist/chunks/{ripgrep-2c9g8tdm.js → instruction-discovery-a1s9yrff.js} +16 -16
  89. package/dist/chunks/{ripgrep-vdsdnjgz.js → instruction-discovery-a2a47mdn.js} +18 -18
  90. package/dist/chunks/{ripgrep-cc3tw12v.js → instruction-discovery-afd6s2pj.js} +6 -6
  91. package/dist/chunks/{ripgrep-k1yj6xhg.js → instruction-discovery-arhpxcwy.js} +19 -19
  92. package/dist/chunks/{ripgrep-ebjg363t.js → instruction-discovery-asbvzmdg.js} +1 -1
  93. package/dist/chunks/{ripgrep-ab2zewxm.js → instruction-discovery-ax3f0566.js} +11 -11
  94. package/dist/chunks/{ripgrep-zpmv8s4j.js → instruction-discovery-axxxggh9.js} +3 -3
  95. package/dist/chunks/{ripgrep-ayjs7tqn.js → instruction-discovery-ayjs7tqn.js} +2 -2
  96. package/dist/chunks/{ripgrep-6cmhwkbz.js → instruction-discovery-azzb4j7n.js} +9 -9
  97. package/dist/chunks/{ripgrep-b0mv4wxm.js → instruction-discovery-b0mv4wxm.js} +2 -2
  98. package/dist/chunks/{ripgrep-n6v2b7cw.js → instruction-discovery-b50rsrab.js} +5 -5
  99. package/dist/chunks/{ripgrep-d1v2vbzt.js → instruction-discovery-bjhzkqyk.js} +4 -4
  100. package/dist/chunks/{ripgrep-mvt93af7.js → instruction-discovery-btwbdc9d.js} +26 -26
  101. package/dist/chunks/{ripgrep-7za0dwv2.js → instruction-discovery-bxjrsr3w.js} +7 -7
  102. package/dist/chunks/{ripgrep-9562mf0m.js → instruction-discovery-c3cfh5w6.js} +9 -9
  103. package/dist/chunks/{ripgrep-aeb4sny1.js → instruction-discovery-c5c0bz0t.js} +5 -5
  104. package/dist/chunks/{ripgrep-s62g5239.js → instruction-discovery-c75qkfpz.js} +47 -47
  105. package/dist/chunks/{ripgrep-kya6vn2v.js → instruction-discovery-c8m57xn7.js} +6 -6
  106. package/dist/chunks/{ripgrep-310tqm6v.js → instruction-discovery-cyq9fb3q.js} +4 -4
  107. package/dist/chunks/{ripgrep-d2887f8n.js → instruction-discovery-d2887f8n.js} +1 -1
  108. package/dist/chunks/{ripgrep-d4v9tmah.js → instruction-discovery-d4v9tmah.js} +2 -2
  109. package/dist/chunks/{ripgrep-77w2yzyb.js → instruction-discovery-d5xa8env.js} +11 -11
  110. package/dist/chunks/{ripgrep-jfy2z3aw.js → instruction-discovery-dacekyg1.js} +21 -21
  111. package/dist/chunks/{ripgrep-41scb8pj.js → instruction-discovery-dgj4ks8n.js} +21 -21
  112. package/dist/chunks/{ripgrep-033a0jkt.js → instruction-discovery-dh62xe4r.js} +3 -3
  113. package/dist/chunks/{ripgrep-k47d96va.js → instruction-discovery-dsgd38cz.js} +10 -10
  114. package/dist/chunks/{ripgrep-zs0pprga.js → instruction-discovery-dtq3ahye.js} +32 -32
  115. package/dist/chunks/{ripgrep-5yps8vga.js → instruction-discovery-dvte4szm.js} +5 -5
  116. package/dist/chunks/{ripgrep-ky596kc3.js → instruction-discovery-e45fk36t.js} +4 -4
  117. package/dist/chunks/{ripgrep-xyh4h3t6.js → instruction-discovery-e47h3fva.js} +3 -3
  118. package/dist/chunks/{ripgrep-jchrqzf6.js → instruction-discovery-e5dqjz6v.js} +4 -4
  119. package/dist/chunks/{ripgrep-ev4vjjv8.js → instruction-discovery-e7ha8gsg.js} +12 -12
  120. package/dist/chunks/{ripgrep-e834z07m.js → instruction-discovery-e834z07m.js} +1 -1
  121. package/dist/chunks/{ripgrep-30v5g7xx.js → instruction-discovery-ecqm0jsy.js} +5 -5
  122. package/dist/chunks/{ripgrep-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{ripgrep-4fjhw8k6.js → instruction-discovery-en1fsfyg.js} +6 -6
  124. package/dist/chunks/{ripgrep-qqtfakpy.js → instruction-discovery-eqfewtt2.js} +13 -13
  125. package/dist/chunks/{ripgrep-a17pc1jp.js → instruction-discovery-ezb8g5mg.js} +6 -6
  126. package/dist/chunks/{ripgrep-txe6hs0a.js → instruction-discovery-f2tyvzem.js} +8 -8
  127. package/dist/chunks/{ripgrep-bayr563p.js → instruction-discovery-f4p9w5yx.js} +16 -16
  128. package/dist/chunks/{ripgrep-x3h41a9f.js → instruction-discovery-f6s8y378.js} +7 -7
  129. package/dist/chunks/{ripgrep-fffv3p7h.js → instruction-discovery-fffv3p7h.js} +1 -1
  130. package/dist/chunks/{ripgrep-sxnrxfca.js → instruction-discovery-fhrrk2wn.js} +17 -17
  131. package/dist/chunks/{ripgrep-dsnzvv9e.js → instruction-discovery-fnnrv9gt.js} +4 -4
  132. package/dist/chunks/{ripgrep-r4zhn8a3.js → instruction-discovery-g1xkvxp8.js} +8 -8
  133. package/dist/chunks/{ripgrep-g5h9c0rr.js → instruction-discovery-g5h9c0rr.js} +2 -2
  134. package/dist/chunks/{ripgrep-drxfbsjt.js → instruction-discovery-ga3f1nea.js} +19 -19
  135. package/dist/chunks/{ripgrep-r2nqe40b.js → instruction-discovery-gdv3e3ns.js} +14 -14
  136. package/dist/chunks/{ripgrep-vtz4zgjw.js → instruction-discovery-gfxq0zq2.js} +9 -9
  137. package/dist/chunks/{ripgrep-z6mg6m9w.js → instruction-discovery-ggb9x9sh.js} +4 -4
  138. package/dist/chunks/{ripgrep-tdzaz51m.js → instruction-discovery-gqz3wpgd.js} +11 -11
  139. package/dist/chunks/{ripgrep-7hw2cvx7.js → instruction-discovery-grxvpwc8.js} +27 -27
  140. package/dist/chunks/{ripgrep-f4wjqfv3.js → instruction-discovery-gxe7mkgn.js} +11 -11
  141. package/dist/chunks/{ripgrep-q5ksxkha.js → instruction-discovery-h4p3pyf8.js} +6 -6
  142. package/dist/chunks/instruction-discovery-hcne681p.js +257 -0
  143. package/dist/chunks/{ripgrep-m1qkddhn.js → instruction-discovery-hetnczqw.js} +2 -2
  144. package/dist/chunks/{ripgrep-h3r7ht18.js → instruction-discovery-hj5ewp7g.js} +34 -34
  145. package/dist/chunks/{ripgrep-npgkeycb.js → instruction-discovery-hnypkknm.js} +14 -14
  146. package/dist/chunks/{ripgrep-heq6tkdz.js → instruction-discovery-hsex03fq.js} +15 -15
  147. package/dist/chunks/{ripgrep-qaxt5sce.js → instruction-discovery-htnm7734.js} +4 -4
  148. package/dist/chunks/{ripgrep-tg1vr1qt.js → instruction-discovery-hw621kav.js} +8 -8
  149. package/dist/chunks/{ripgrep-ny49cbs5.js → instruction-discovery-hwackvbn.js} +33 -33
  150. package/dist/chunks/{ripgrep-j113cymg.js → instruction-discovery-j113cymg.js} +1 -1
  151. package/dist/chunks/{ripgrep-k28jwpmn.js → instruction-discovery-j17fdswx.js} +1 -1
  152. package/dist/chunks/{ripgrep-ygj7qvsn.js → instruction-discovery-j4c7ztsh.js} +30 -30
  153. package/dist/chunks/{ripgrep-a8m490ta.js → instruction-discovery-j76t8jdc.js} +50 -50
  154. package/dist/chunks/{ripgrep-73h6c5mr.js → instruction-discovery-jas4yhkp.js} +11 -11
  155. package/dist/chunks/{ripgrep-0xt5rh38.js → instruction-discovery-jd4w9jy7.js} +10 -10
  156. package/dist/chunks/{ripgrep-zjner7m4.js → instruction-discovery-jp3vw6vz.js} +11 -11
  157. package/dist/chunks/{ripgrep-he4vfjva.js → instruction-discovery-jppsgv8k.js} +28 -28
  158. package/dist/chunks/{ripgrep-g9ndtp1p.js → instruction-discovery-jy2czfqv.js} +4 -4
  159. package/dist/chunks/{ripgrep-pj2bksq9.js → instruction-discovery-jz5grvbc.js} +7 -7
  160. package/dist/chunks/{ripgrep-pw806jn0.js → instruction-discovery-jzfegvfv.js} +20 -20
  161. package/dist/chunks/{ripgrep-k814nvkf.js → instruction-discovery-k814nvkf.js} +1 -1
  162. package/dist/chunks/{ripgrep-95gg0e1q.js → instruction-discovery-ka0113cw.js} +20 -20
  163. package/dist/chunks/{ripgrep-kd1werbb.js → instruction-discovery-kam2skhz.js} +10 -10
  164. package/dist/chunks/{ripgrep-gybx331m.js → instruction-discovery-kawh22nd.js} +18 -18
  165. package/dist/chunks/{ripgrep-sfw989kw.js → instruction-discovery-kkvzkess.js} +2 -2
  166. package/dist/chunks/{ripgrep-t9q01d30.js → instruction-discovery-ksdwf8r1.js} +23 -23
  167. package/dist/chunks/{ripgrep-9ejpa58f.js → instruction-discovery-kw6kdjw7.js} +5 -5
  168. package/dist/chunks/{ripgrep-m1714858.js → instruction-discovery-m1714858.js} +1 -1
  169. package/dist/chunks/{ripgrep-vmfhgzt5.js → instruction-discovery-m37sd98t.js} +4 -4
  170. package/dist/chunks/{ripgrep-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{ripgrep-maspj1v3.js → instruction-discovery-maspj1v3.js} +1 -1
  172. package/dist/chunks/{ripgrep-q6v380sb.js → instruction-discovery-mfwfc967.js} +12 -12
  173. package/dist/chunks/{ripgrep-a1tbznxp.js → instruction-discovery-mghkatew.js} +14 -14
  174. package/dist/chunks/{ripgrep-5as2v2bz.js → instruction-discovery-mhgesy0s.js} +11 -11
  175. package/dist/chunks/{ripgrep-3mzdfzhq.js → instruction-discovery-mpa2ejqj.js} +3 -3
  176. package/dist/chunks/instruction-discovery-mrc3e54s.js +523 -0
  177. package/dist/chunks/{ripgrep-n0p0277s.js → instruction-discovery-n0p0277s.js} +1 -1
  178. package/dist/chunks/{ripgrep-6cg3ssar.js → instruction-discovery-n40jn0ye.js} +32 -32
  179. package/dist/chunks/{ripgrep-mxf70ac4.js → instruction-discovery-n58eb8yn.js} +4 -4
  180. package/dist/chunks/{ripgrep-pb1qprq3.js → instruction-discovery-n8ytzayn.js} +22 -22
  181. package/dist/chunks/{ripgrep-770pw0s1.js → instruction-discovery-nah043kf.js} +4 -4
  182. package/dist/chunks/{ripgrep-d2455waf.js → instruction-discovery-nr3623c1.js} +23 -23
  183. package/dist/chunks/{ripgrep-jrcyk1qp.js → instruction-discovery-nrybcd8t.js} +48 -48
  184. package/dist/chunks/{ripgrep-7nn3h2cy.js → instruction-discovery-nwed43a8.js} +35 -35
  185. package/dist/chunks/{ripgrep-vgjn3sfz.js → instruction-discovery-nzjpq5nr.js} +8 -8
  186. package/dist/chunks/{ripgrep-p015t6z3.js → instruction-discovery-p015t6z3.js} +2 -2
  187. package/dist/chunks/{ripgrep-y4vtynzt.js → instruction-discovery-p16pb49z.js} +17 -17
  188. package/dist/chunks/{ripgrep-pyrm1t89.js → instruction-discovery-p6f33tkb.js} +21 -21
  189. package/dist/chunks/{ripgrep-p7vhpwh8.js → instruction-discovery-p7vhpwh8.js} +1 -1
  190. package/dist/chunks/{ripgrep-g33nfd42.js → instruction-discovery-p8mgpvfs.js} +9 -9
  191. package/dist/chunks/{ripgrep-j7xyg8fd.js → instruction-discovery-pazke3n5.js} +28 -28
  192. package/dist/chunks/{ripgrep-bsxvja55.js → instruction-discovery-pchh79h1.js} +18 -18
  193. package/dist/chunks/{ripgrep-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  194. package/dist/chunks/{ripgrep-kp2rkay2.js → instruction-discovery-pndg7662.js} +23 -23
  195. package/dist/chunks/{ripgrep-w2c2mnmy.js → instruction-discovery-ptd3w0tf.js} +17 -17
  196. package/dist/chunks/{ripgrep-5xp2x48q.js → instruction-discovery-ptzd8h59.js} +50 -50
  197. package/dist/chunks/{ripgrep-qj3jeqzz.js → instruction-discovery-pw0xvpce.js} +56 -56
  198. package/dist/chunks/{ripgrep-mrcj6822.js → instruction-discovery-q0yh9qyr.js} +4 -4
  199. package/dist/chunks/{ripgrep-ycgbrrj2.js → instruction-discovery-qh1vdqqc.js} +11 -11
  200. package/dist/chunks/{ripgrep-qjgzc4b4.js → instruction-discovery-qjgzc4b4.js} +1 -1
  201. package/dist/chunks/{ripgrep-wy7xqtjs.js → instruction-discovery-qjne94dq.js} +33 -33
  202. package/dist/chunks/instruction-discovery-qmh7vbk2.js +18 -0
  203. package/dist/chunks/{ripgrep-jpqadng4.js → instruction-discovery-qwqr63vh.js} +17 -17
  204. package/dist/chunks/{ripgrep-50vfe0ee.js → instruction-discovery-qybjhjrg.js} +28 -28
  205. package/dist/chunks/{ripgrep-r0yr0wbs.js → instruction-discovery-r0yr0wbs.js} +1 -1
  206. package/dist/chunks/{ripgrep-6p7ksc7d.js → instruction-discovery-r44rfmgw.js} +14 -14
  207. package/dist/chunks/{ripgrep-jkacm1w4.js → instruction-discovery-r47an33t.js} +3 -3
  208. package/dist/chunks/{ripgrep-tdd1rwdg.js → instruction-discovery-r7tcy11j.js} +5 -5
  209. package/dist/chunks/{ripgrep-rb9dy4dg.js → instruction-discovery-rb9dy4dg.js} +1 -1
  210. package/dist/chunks/{ripgrep-94drbbkf.js → instruction-discovery-revxvk9s.js} +28 -28
  211. package/dist/chunks/{ripgrep-1b015yat.js → instruction-discovery-rfs27yzd.js} +11 -11
  212. package/dist/chunks/{ripgrep-fhbtev1x.js → instruction-discovery-rgv8ccnj.js} +21 -21
  213. package/dist/chunks/{ripgrep-j5e0tcqv.js → instruction-discovery-rmt6m6se.js} +9 -9
  214. package/dist/chunks/{ripgrep-r96bqt38.js → instruction-discovery-rp1ha6gz.js} +7 -7
  215. package/dist/chunks/{ripgrep-0bzett23.js → instruction-discovery-rqmvfmcr.js} +17 -17
  216. package/dist/chunks/{ripgrep-rt5dr6hb.js → instruction-discovery-rt5dr6hb.js} +1 -1
  217. package/dist/chunks/{ripgrep-wg9ke37f.js → instruction-discovery-rx02erg5.js} +35 -35
  218. package/dist/chunks/{ripgrep-k60h0mqe.js → instruction-discovery-s1fwbtwx.js} +15 -15
  219. package/dist/chunks/{ripgrep-rwvswa9y.js → instruction-discovery-s2pfznc4.js} +6 -6
  220. package/dist/chunks/{ripgrep-8yamfpxb.js → instruction-discovery-s4gh6t7c.js} +32 -32
  221. package/dist/chunks/{ripgrep-rjb5m6wk.js → instruction-discovery-s866dxyg.js} +21 -21
  222. package/dist/chunks/{ripgrep-2j72hntm.js → instruction-discovery-s91x7ka3.js} +21 -21
  223. package/dist/chunks/{ripgrep-3g7mg7sy.js → instruction-discovery-s9z6tqcd.js} +15 -15
  224. package/dist/chunks/{ripgrep-ht9phm2k.js → instruction-discovery-sfpq3tbz.js} +5 -5
  225. package/dist/chunks/{ripgrep-vtr9dtkz.js → instruction-discovery-sgr7cxxz.js} +13 -13
  226. package/dist/chunks/{ripgrep-mnad9545.js → instruction-discovery-sn8kn0k4.js} +45 -45
  227. package/dist/chunks/{ripgrep-1gn07jkh.js → instruction-discovery-snzpnf52.js} +47 -47
  228. package/dist/chunks/{ripgrep-jae53m2x.js → instruction-discovery-spa8vgy8.js} +8 -8
  229. package/dist/chunks/{ripgrep-sqjzf8x2.js → instruction-discovery-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{ripgrep-sp56zrrh.js → instruction-discovery-sqks5mt8.js} +33 -33
  231. package/dist/chunks/{ripgrep-qvw98tg0.js → instruction-discovery-sv2aw4yq.js} +5 -5
  232. package/dist/chunks/{ripgrep-jnztxn4f.js → instruction-discovery-sxbjjvas.js} +24 -24
  233. package/dist/chunks/{ripgrep-wmjzvx4b.js → instruction-discovery-t211gxpv.js} +4 -4
  234. package/dist/chunks/{ripgrep-e70s01gt.js → instruction-discovery-t7npxncv.js} +10 -10
  235. package/dist/chunks/{ripgrep-w7svd9fv.js → instruction-discovery-t7sqmb9b.js} +24 -24
  236. package/dist/chunks/{ripgrep-s0kw0bab.js → instruction-discovery-taw06fa3.js} +21 -21
  237. package/dist/chunks/{ripgrep-883mde3e.js → instruction-discovery-tbr3q4wq.js} +42 -42
  238. package/dist/chunks/{ripgrep-tczq8hjw.js → instruction-discovery-tczq8hjw.js} +1 -1
  239. package/dist/chunks/{ripgrep-7dbx9kd5.js → instruction-discovery-ths2029g.js} +18 -18
  240. package/dist/chunks/{ripgrep-6w73wc21.js → instruction-discovery-tvqpdctp.js} +17 -17
  241. package/dist/chunks/{ripgrep-tw8zr1ps.js → instruction-discovery-tw8zr1ps.js} +1 -1
  242. package/dist/chunks/{ripgrep-1fxyteqg.js → instruction-discovery-twhjf934.js} +89 -89
  243. package/dist/chunks/{ripgrep-twv2r8f4.js → instruction-discovery-twv2r8f4.js} +2 -2
  244. package/dist/chunks/{ripgrep-jqy0757m.js → instruction-discovery-tzjzgnfr.js} +10 -10
  245. package/dist/chunks/{ripgrep-4fht16ez.js → instruction-discovery-v15rxc3h.js} +33 -33
  246. package/dist/chunks/{ripgrep-v2r1d0zg.js → instruction-discovery-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{ripgrep-vd3b3yk9.js → instruction-discovery-vd3b3yk9.js} +1 -1
  248. package/dist/chunks/{ripgrep-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  249. package/dist/chunks/{ripgrep-2553426h.js → instruction-discovery-vh9wejw9.js} +42 -42
  250. package/dist/chunks/{ripgrep-kxt91f54.js → instruction-discovery-vkmt8npp.js} +33 -33
  251. package/dist/chunks/{ripgrep-c4fe50v7.js → instruction-discovery-vt5qfbts.js} +4 -4
  252. package/dist/chunks/{ripgrep-294s6qh9.js → instruction-discovery-vwrkd0tw.js} +14 -14
  253. package/dist/chunks/{ripgrep-hzrfc1p4.js → instruction-discovery-vx3jgdek.js} +3 -3
  254. package/dist/chunks/{ripgrep-xwxay0k0.js → instruction-discovery-w3qk2d3s.js} +35 -35
  255. package/dist/chunks/{ripgrep-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{ripgrep-w687dnns.js → instruction-discovery-w687dnns.js} +1 -1
  257. package/dist/chunks/{ripgrep-76cb1hcw.js → instruction-discovery-w8qtt4th.js} +4 -4
  258. package/dist/chunks/{ripgrep-wakvkjy4.js → instruction-discovery-wakvkjy4.js} +1 -1
  259. package/dist/chunks/{ripgrep-40xdmnq6.js → instruction-discovery-wc1rrhfs.js} +37 -37
  260. package/dist/chunks/{ripgrep-5g9sd2wr.js → instruction-discovery-wd0mghyc.js} +5 -5
  261. package/dist/chunks/{ripgrep-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  262. package/dist/chunks/{ripgrep-94ggdtye.js → instruction-discovery-wexbz3y3.js} +10 -10
  263. package/dist/chunks/{ripgrep-m7t05s3q.js → instruction-discovery-wn0pby43.js} +7 -7
  264. package/dist/chunks/{ripgrep-6cjq3rwx.js → instruction-discovery-wnvrcxtc.js} +14 -14
  265. package/dist/chunks/{ripgrep-dj23h38q.js → instruction-discovery-wp1vb0e3.js} +20 -20
  266. package/dist/chunks/{ripgrep-fx9xfnkv.js → instruction-discovery-wqbj2nsw.js} +9 -9
  267. package/dist/chunks/{ripgrep-bt7pct3b.js → instruction-discovery-wvpfhzx7.js} +21 -21
  268. package/dist/chunks/{ripgrep-y5qe5mc0.js → instruction-discovery-wyr759tm.js} +19 -19
  269. package/dist/chunks/{ripgrep-vd41439j.js → instruction-discovery-wz66500m.js} +18 -18
  270. package/dist/chunks/{ripgrep-xngkbgfx.js → instruction-discovery-x10b8zya.js} +15 -15
  271. package/dist/chunks/{ripgrep-cckz6hvv.js → instruction-discovery-x1g9xmqt.js} +16 -16
  272. package/dist/chunks/{ripgrep-rvv5zxkv.js → instruction-discovery-x4y0yvq7.js} +7 -7
  273. package/dist/chunks/{ripgrep-fkjeaz1p.js → instruction-discovery-xak61r58.js} +89 -89
  274. package/dist/chunks/{ripgrep-gk7y8xcq.js → instruction-discovery-xaz7g2t8.js} +4 -4
  275. package/dist/chunks/{ripgrep-bstexjd6.js → instruction-discovery-xd9cc171.js} +5 -5
  276. package/dist/chunks/{ripgrep-aqb8zn2t.js → instruction-discovery-xk1htaes.js} +32 -32
  277. package/dist/chunks/{ripgrep-yb20nhc3.js → instruction-discovery-yb20nhc3.js} +1 -1
  278. package/dist/chunks/{ripgrep-6paamakb.js → instruction-discovery-ykdavcmn.js} +11 -11
  279. package/dist/chunks/{ripgrep-bkwbn9k7.js → instruction-discovery-yye1fjts.js} +12 -12
  280. package/dist/chunks/{ripgrep-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{ripgrep-z38nccrw.js → instruction-discovery-z38nccrw.js} +1 -1
  282. package/dist/chunks/{ripgrep-2k3taesa.js → instruction-discovery-z5wdff31.js} +11 -11
  283. package/dist/chunks/{ripgrep-8krb2gbb.js → instruction-discovery-zhfftf23.js} +9 -9
  284. package/dist/chunks/{ripgrep-zkg84ctx.js → instruction-discovery-zkg84ctx.js} +1 -1
  285. package/dist/chunks/{ripgrep-8922dvha.js → instruction-discovery-znvxebx5.js} +18 -18
  286. package/dist/chunks/{ripgrep-p0e8hqgq.js → instruction-discovery-zxb8j96g.js} +35 -35
  287. package/dist/chunks/{ripgrep-f80yq6ab.js → instruction-discovery-zy3qe4qg.js} +11 -11
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +86 -86
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +118 -118
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +3 -3
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  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/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +94 -94
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +227 -227
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +11 -11
  428. package/dist/filesystem.js +106 -106
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.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 +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +95 -95
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +104 -104
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +109 -109
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +115 -115
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +123 -123
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +92 -92
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +136 -136
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +3 -3
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +216 -216
  627. package/dist/shell/parse.js +8 -8
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +11 -11
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +109 -109
  634. package/dist/skill.js +114 -114
  635. package/dist/snapshot.js +95 -95
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +137 -137
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +124 -124
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +115 -115
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +113 -113
  654. package/dist/tool/plugin/websearch.js +116 -116
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +86 -86
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +102 -102
  690. package/package.json +8 -8
  691. package/dist/chunks/ripgrep-4my81qaj.js +0 -18
  692. package/dist/chunks/ripgrep-6ha07q56.js +0 -523
  693. package/dist/chunks/ripgrep-ca5mcr31.js +0 -26
  694. package/dist/chunks/ripgrep-dnqjcqs4.js +0 -257
  695. /package/dist/chunks/{ripgrep-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{ripgrep-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{ripgrep-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{ripgrep-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{ripgrep-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{ripgrep-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{ripgrep-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{ripgrep-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{ripgrep-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{ripgrep-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  705. /package/dist/chunks/{ripgrep-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{ripgrep-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{ripgrep-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{ripgrep-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{ripgrep-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{ripgrep-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{ripgrep-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  712. /package/dist/chunks/{ripgrep-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{ripgrep-5fjb7ams.js → instruction-discovery-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{ripgrep-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{ripgrep-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  716. /package/dist/chunks/{ripgrep-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{ripgrep-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{ripgrep-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  720. /package/dist/chunks/{ripgrep-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{ripgrep-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{ripgrep-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{ripgrep-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{ripgrep-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{ripgrep-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{ripgrep-a058387c.js → instruction-discovery-a058387c.js} +0 -0
  727. /package/dist/chunks/{ripgrep-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{ripgrep-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{ripgrep-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{ripgrep-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{ripgrep-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{ripgrep-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{ripgrep-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{ripgrep-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{ripgrep-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{ripgrep-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{ripgrep-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{ripgrep-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{ripgrep-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{ripgrep-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  741. /package/dist/chunks/{ripgrep-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{ripgrep-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{ripgrep-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{ripgrep-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{ripgrep-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{ripgrep-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{ripgrep-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{ripgrep-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{ripgrep-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{ripgrep-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{ripgrep-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{ripgrep-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  753. /package/dist/chunks/{ripgrep-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{ripgrep-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hcxmzztb.js → instruction-discovery-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{ripgrep-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  757. /package/dist/chunks/{ripgrep-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{ripgrep-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{ripgrep-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{ripgrep-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{ripgrep-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{ripgrep-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
  765. /package/dist/chunks/{ripgrep-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{ripgrep-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{ripgrep-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{ripgrep-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{ripgrep-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{ripgrep-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{ripgrep-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{ripgrep-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{ripgrep-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{ripgrep-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{ripgrep-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{ripgrep-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{ripgrep-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{ripgrep-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{ripgrep-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{ripgrep-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{ripgrep-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{ripgrep-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{ripgrep-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{ripgrep-wjj7prxr.js → instruction-discovery-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{ripgrep-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{ripgrep-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{ripgrep-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  789. /package/dist/chunks/{ripgrep-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{ripgrep-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{ripgrep-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{ripgrep-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{ripgrep-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{ripgrep-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./ripgrep-z5v4ffb3.js";
5
+ } from "./instruction-discovery-z5v4ffb3.js";
6
6
  import {
7
- Service77,
8
- node81
9
- } from "./ripgrep-w2c2mnmy.js";
7
+ Service82,
8
+ node86
9
+ } from "./instruction-discovery-ptd3w0tf.js";
10
10
  import {
11
- Service48,
12
- node51
13
- } from "./ripgrep-mbaagm2q.js";
11
+ Service56,
12
+ node58
13
+ } from "./instruction-discovery-9jjdx8qq.js";
14
14
  import {
15
15
  __export
16
- } from "./ripgrep-9rqn6x4v.js";
16
+ } from "./instruction-discovery-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event9,
27
+ Event: () => Event10,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError6,
34
- Service: () => Service47,
33
+ NotFoundError: () => NotFoundError7,
34
+ Service: () => Service55,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node50
37
+ node: () => node57
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content3 = Schema.Struct({
68
+ var Content2 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event9 = FileSystem.Event;
95
+ var Event10 = FileSystem.Event;
96
96
 
97
- class Service47 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service55 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service55, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service77;
102
- const search = yield* Service48;
101
+ const location = yield* Service82;
102
+ const search = yield* Service56;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError6({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError6({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError6({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError7({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service47.of({
121
+ return Service55.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError6({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError7({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError7({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node50 = makeLocationNode({
162
- service: Service47,
161
+ var node57 = makeLocationNode({
162
+ service: Service55,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node81, node51]
164
+ deps: [FSUtil.node, node86, node58]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service47, node50, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError7, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service55, node57, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./ripgrep-550bvhaj.js";
3
+ } from "./instruction-discovery-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./ripgrep-j5zkgpj8.js";
6
+ } from "./instruction-discovery-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./ripgrep-3asan66x.js";
9
+ } from "./instruction-discovery-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./ripgrep-aeb4sny1.js";
12
+ } from "./instruction-discovery-c5c0bz0t.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./ripgrep-c4fe50v7.js";
4
+ } from "./instruction-discovery-vt5qfbts.js";
5
5
  import {
6
6
  environment2
7
- } from "./ripgrep-vb6v44n7.js";
7
+ } from "./instruction-discovery-211y70yv.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./ripgrep-a058387c.js";
10
+ } from "./instruction-discovery-a058387c.js";
11
11
  import {
12
12
  __export
13
- } from "./ripgrep-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError2,
20
- Options: () => Options2,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service16,
22
+ Service: () => Service24,
23
23
  UnavailableError: () => UnavailableError3,
24
24
  available: () => available2,
25
- configured: () => configured2,
26
- layer: () => layer10,
27
- node: () => node19
25
+ configured: () => configured3,
26
+ layer: () => layer12,
27
+ node: () => node27
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -35,7 +35,7 @@ import { Global } from "@opencode/util/global";
35
35
  import { resolveBinary } from "#persistent-pty-binary";
36
36
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
37
37
  import { available as available2 } from "#persistent-pty-binary";
38
- var Options2 = Schema.Struct({
38
+ var Options3 = Schema.Struct({
39
39
  handoff: Schema.optional(Handoff),
40
40
  root: Schema.optional(Schema.String)
41
41
  });
@@ -45,14 +45,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
45
45
  }) {
46
46
  }
47
47
 
48
- class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
48
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
49
  ptyID: Pty.ID
50
50
  }) {
51
51
  }
52
52
 
53
- class Service16 extends Context.Service()("@opencode/PersistentPty") {
53
+ class Service24 extends Context.Service()("@opencode/PersistentPty") {
54
54
  }
55
- var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
55
+ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
56
56
  const bus = yield* Service85;
57
57
  const global = yield* Global.Service;
58
58
  const context = yield* Effect.context();
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
75
75
  const get = Effect.fn("PersistentPty.get")(function* (id) {
76
76
  const found = (yield* list()).find((terminal) => terminal.id === id);
77
77
  if (!found)
78
- return yield* new NotFoundError2({ ptyID: id });
78
+ return yield* new NotFoundError3({ ptyID: id });
79
79
  return found;
80
80
  });
81
81
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
242
242
  detach: attachment.detach
243
243
  };
244
244
  });
245
- return Service16.of({
245
+ return Service24.of({
246
246
  list,
247
247
  get,
248
248
  create,
@@ -258,13 +258,13 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
258
258
  attach
259
259
  });
260
260
  }));
261
- var layer10 = makeLayer();
262
- var configured2 = (options) => makeGlobalNode({
263
- service: Service16,
264
- layer: options === undefined ? layer10 : makeLayer(options),
261
+ var layer12 = makeLayer();
262
+ var configured3 = (options) => makeGlobalNode({
263
+ service: Service24,
264
+ layer: options === undefined ? layer12 : makeLayer(options),
265
265
  deps: [node89, Global.node]
266
266
  });
267
- var node19 = configured2();
267
+ var node27 = configured3();
268
268
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
269
269
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
270
270
  var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -300,4 +300,4 @@ function fromID(value) {
300
300
  return parsed;
301
301
  }
302
302
 
303
- export { Options2, UnavailableError3, NotFoundError2, Service16, layer10, configured2, node19, exports_persistent_pty, Handoff2, available2 };
303
+ export { Options3, UnavailableError3, NotFoundError3, Service24, layer12, configured3, node27, exports_persistent_pty, Handoff2, available2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
7
7
  __export(exports_skill_scan, {
8
8
  SkillScan: () => exports_skill_scan,
9
9
  ignore: () => ignore2,
10
- scan: () => scan3
10
+ scan: () => scan2
11
11
  });
12
12
  import { FSUtil } from "@opencode/util/fs-util";
13
13
  import path from "path";
14
14
  import { Effect } from "effect";
15
15
  var MAX_DEPTH = 6;
16
16
  var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
17
- var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
17
+ var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
18
18
  const fs = yield* FSUtil.Service;
19
19
  const files = [];
20
20
  const queue = [{ directory: root, depth: 0 }];
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
39
39
  return files.toSorted();
40
40
  });
41
41
 
42
- export { ignore2, scan3, exports_skill_scan };
42
+ export { ignore2, scan2, exports_skill_scan };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-z5v4ffb3.js";
3
+ } from "./instruction-discovery-z5v4ffb3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./ripgrep-q6v380sb.js";
5
+ Service84,
6
+ node88
7
+ } from "./instruction-discovery-mfwfc967.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./ripgrep-bstexjd6.js";
13
+ } from "./instruction-discovery-xd9cc171.js";
14
14
  import {
15
- Service79,
16
- node83
17
- } from "./ripgrep-0xt5rh38.js";
15
+ Service76,
16
+ node80
17
+ } from "./instruction-discovery-jd4w9jy7.js";
18
18
  import {
19
19
  __export
20
- } from "./ripgrep-9rqn6x4v.js";
20
+ } from "./instruction-discovery-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service73,
33
+ Service: () => Service60,
34
34
  isError: () => isError2,
35
- node: () => node76,
35
+ node: () => node62,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service73 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service60 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service73, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service84;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service79;
110
- return Service73.of({
109
+ const kv = yield* Service76;
110
+ return Service60.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node76 = makeGlobalNode({
171
- service: Service73,
170
+ var node62 = makeGlobalNode({
171
+ service: Service60,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node83]
173
+ deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node80]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service73, isError2, validateBranch2, node76, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service60, isError2, validateBranch2, node62, exports_repository_cache };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./ripgrep-z5v4ffb3.js";
3
+ } from "./instruction-discovery-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service57
7
- } from "./ripgrep-s62g5239.js";
6
+ Service50
7
+ } from "./instruction-discovery-c75qkfpz.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./ripgrep-zkg84ctx.js";
10
+ } from "./instruction-discovery-zkg84ctx.js";
11
11
  import {
12
- Service70
13
- } from "./ripgrep-jnztxn4f.js";
12
+ Service66
13
+ } from "./instruction-discovery-sxbjjvas.js";
14
14
  import {
15
- Service56
16
- } from "./ripgrep-npgkeycb.js";
15
+ Service62
16
+ } from "./instruction-discovery-hnypkknm.js";
17
17
  import {
18
- Service65
19
- } from "./ripgrep-2553426h.js";
18
+ Service70
19
+ } from "./instruction-discovery-vh9wejw9.js";
20
20
  import {
21
- Service64,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./ripgrep-gybx331m.js";
23
+ } from "./instruction-discovery-kawh22nd.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./ripgrep-k814nvkf.js";
29
+ } from "./instruction-discovery-k814nvkf.js";
30
30
  import {
31
- Service50,
31
+ Service44,
32
32
  name16
33
- } from "./ripgrep-vb6v44n7.js";
33
+ } from "./instruction-discovery-211y70yv.js";
34
34
  import {
35
- NotFoundError4,
36
- Service33
37
- } from "./ripgrep-1gn07jkh.js";
35
+ NotFoundError6,
36
+ Service42
37
+ } from "./instruction-discovery-snzpnf52.js";
38
38
  import {
39
- Service17
40
- } from "./ripgrep-1fxyteqg.js";
39
+ Service27
40
+ } from "./instruction-discovery-twhjf934.js";
41
41
  import {
42
- scan2
43
- } from "./ripgrep-r96bqt38.js";
42
+ scan3
43
+ } from "./instruction-discovery-rp1ha6gz.js";
44
44
  import {
45
45
  __export
46
- } from "./ripgrep-9rqn6x4v.js";
46
+ } from "./instruction-discovery-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin20,
54
- ShellTool: () => exports_shell,
55
- name: () => name3
52
+ Input: () => Input6,
53
+ Plugin: () => Plugin42,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name6
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name3 = "shell";
60
+ var name6 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input3 = Schema.Struct({
74
+ var Input6 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin20 = {
120
+ var Plugin42 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service17;
124
- const jobs = yield* Service56;
123
+ const sessions = yield* Service27;
124
+ const jobs = yield* Service62;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service70;
127
- const access = yield* Service64;
128
- const shell = yield* Service33;
129
- const shellSelect = yield* Service50;
126
+ const environment = yield* Service66;
127
+ const access = yield* Service15;
128
+ const shell = yield* Service42;
129
+ const shellSelect = yield* Service44;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service65;
132
- const config = yield* Service57;
131
+ const permission = yield* Service70;
132
+ const config = yield* Service50;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -140,7 +140,7 @@ var Plugin20 = {
140
140
  invocation.cwd = target.absolute;
141
141
  const timeout = invocation.timeout;
142
142
  const portable = latest2(yield* config.entries(), "experimental")?.portable_shell_scanner ?? (shellParserWasm.bash === "" || ctx.app.channel === "local" || ctx.app.channel === "dev");
143
- const parsed = yield* scan2(invocation.command, invocation.shell, target.absolute, { portable });
143
+ const parsed = yield* scan3(invocation.command, invocation.shell, target.absolute, { portable });
144
144
  const directories = yield* Effect.forEach(parsed.directories, (directory) => access.resolve({
145
145
  path: resolvePath2(target.absolute, directory),
146
146
  kind: "directory"
@@ -148,7 +148,7 @@ var Plugin20 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name3,
151
+ action: name6,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin20 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name3,
188
+ name: name6,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input3,
191
+ input: Input6,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin20 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError4({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name3,
228
+ type: name6,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name3];
258
+ const tool = event.tools[name6];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name16(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin20, exports_shell };
269
+ export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin42, exports_shell2 };