@opencode/core 0.0.0-dev-19993 → 0.0.0-dev-19996

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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/instruction-discovery-04hxy07f.js +503 -0
  8. package/dist/chunks/{pty-esmjnf1q.js → instruction-discovery-09mc3296.js} +6 -6
  9. package/dist/chunks/{pty-ecxgrer6.js → instruction-discovery-0a6azg2e.js} +40 -40
  10. package/dist/chunks/{pty-nkasj3c8.js → instruction-discovery-0hagtbv7.js} +7 -7
  11. package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
  12. package/dist/chunks/{pty-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{pty-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{pty-6kg1vfnr.js → instruction-discovery-0w62qmxp.js} +6 -6
  15. package/dist/chunks/{pty-s9na07f2.js → instruction-discovery-0xrqra36.js} +11 -11
  16. package/dist/chunks/{pty-5getdy1k.js → instruction-discovery-160eg20p.js} +25 -25
  17. package/dist/chunks/{pty-yp2x3t23.js → instruction-discovery-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{pty-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{pty-zxeq00ty.js → instruction-discovery-1fp4wcab.js} +16 -16
  20. package/dist/chunks/{pty-ehhpwfhw.js → instruction-discovery-1h03kfwc.js} +35 -35
  21. package/dist/chunks/{pty-hsgwpaad.js → instruction-discovery-1yv1a62b.js} +17 -17
  22. package/dist/chunks/{pty-texm17j6.js → instruction-discovery-1zckm8jh.js} +24 -24
  23. package/dist/chunks/{pty-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
  24. package/dist/chunks/{pty-6h73sxmp.js → instruction-discovery-2402vzrj.js} +5 -5
  25. package/dist/chunks/{pty-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{pty-24dx1hrc.js → instruction-discovery-2aq7ecr3.js} +10 -10
  27. package/dist/chunks/{pty-rf2pre7z.js → instruction-discovery-2dt7wr4s.js} +16 -16
  28. package/dist/chunks/{pty-8pf6zh8g.js → instruction-discovery-2gkn9qbw.js} +7 -7
  29. package/dist/chunks/{pty-typarb9b.js → instruction-discovery-2kxk86ay.js} +20 -20
  30. package/dist/chunks/{pty-1ygqh575.js → instruction-discovery-33w4ejhs.js} +6 -6
  31. package/dist/chunks/{pty-qggqx5pb.js → instruction-discovery-35a9k02a.js} +20 -20
  32. package/dist/chunks/{pty-dh91zd6a.js → instruction-discovery-35vbf9tc.js} +11 -11
  33. package/dist/chunks/{pty-a8mkfh3x.js → instruction-discovery-361b9f49.js} +11 -11
  34. package/dist/chunks/{pty-xc8wbe60.js → instruction-discovery-371kvkjf.js} +25 -25
  35. package/dist/chunks/{pty-x2rw7g36.js → instruction-discovery-3bc8czyk.js} +5 -5
  36. package/dist/chunks/{pty-zg5t6seb.js → instruction-discovery-3daw6e4n.js} +11 -11
  37. package/dist/chunks/{pty-s1x3xehd.js → instruction-discovery-3f0yr7fv.js} +17 -17
  38. package/dist/chunks/{pty-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{pty-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{pty-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{pty-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{pty-78v47nsk.js → instruction-discovery-3w2b2yj4.js} +5 -5
  43. package/dist/chunks/{pty-ba30f0re.js → instruction-discovery-43kbj8b8.js} +26 -26
  44. package/dist/chunks/{pty-8z00fdkb.js → instruction-discovery-44h5tttr.js} +4 -4
  45. package/dist/chunks/{pty-knb7evpn.js → instruction-discovery-44ke2mar.js} +2 -2
  46. package/dist/chunks/{pty-t3444mmx.js → instruction-discovery-473ftn0x.js} +3 -3
  47. package/dist/chunks/{pty-09tf4pjr.js → instruction-discovery-4ernrsx0.js} +86 -86
  48. package/dist/chunks/{pty-sk7gk9f5.js → instruction-discovery-4f2w252g.js} +10 -10
  49. package/dist/chunks/{pty-fmj93vfk.js → instruction-discovery-4fp7zs02.js} +12 -12
  50. package/dist/chunks/{pty-atfs7rhk.js → instruction-discovery-4gycnsfp.js} +9 -9
  51. package/dist/chunks/{pty-29mx63hq.js → instruction-discovery-4hkj21w9.js} +26 -26
  52. package/dist/chunks/{pty-71y3c5ag.js → instruction-discovery-4tc1hqha.js} +19 -19
  53. package/dist/chunks/{pty-sez5jh81.js → instruction-discovery-50mzsvk4.js} +4 -4
  54. package/dist/chunks/{pty-qjnxxf51.js → instruction-discovery-510m7gjw.js} +5 -5
  55. package/dist/chunks/{pty-9dvfkq0c.js → instruction-discovery-59d1t1kc.js} +11 -11
  56. package/dist/chunks/{pty-p7p04q1a.js → instruction-discovery-5cd0sxeq.js} +20 -20
  57. package/dist/chunks/{pty-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
  58. package/dist/chunks/{pty-fxbjtjnd.js → instruction-discovery-5ekn9679.js} +7 -7
  59. package/dist/chunks/{pty-mbfxv7fw.js → instruction-discovery-5nxd8dws.js} +34 -34
  60. package/dist/chunks/{pty-f22wqnxv.js → instruction-discovery-5sp2y267.js} +11 -11
  61. package/dist/chunks/{pty-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{pty-ha666rq4.js → instruction-discovery-5w0cxjq0.js} +3 -3
  63. package/dist/chunks/{pty-2hvjkdzw.js → instruction-discovery-5x7tnjhw.js} +3 -3
  64. package/dist/chunks/{pty-5yzzbxa7.js → instruction-discovery-5xtgfte3.js} +8 -8
  65. package/dist/chunks/{pty-669tq793.js → instruction-discovery-669tq793.js} +1 -1
  66. package/dist/chunks/{pty-fya5n5xa.js → instruction-discovery-680db922.js} +10 -10
  67. package/dist/chunks/{pty-461fsfdt.js → instruction-discovery-6h1myzs3.js} +17 -17
  68. package/dist/chunks/{pty-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{pty-et2qvwfy.js → instruction-discovery-74y2pqnj.js} +10 -10
  70. package/dist/chunks/{pty-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{pty-607tc6va.js → instruction-discovery-7dqw4kz8.js} +5 -5
  72. package/dist/chunks/{pty-p1zevnby.js → instruction-discovery-7fns08e8.js} +34 -34
  73. package/dist/chunks/{pty-050w92qt.js → instruction-discovery-7h64qcjn.js} +8 -8
  74. package/dist/chunks/{pty-nw53exab.js → instruction-discovery-7j2qha59.js} +8 -8
  75. package/dist/chunks/{pty-8m27p9j3.js → instruction-discovery-7q27d8ak.js} +10 -10
  76. package/dist/chunks/{pty-1543s7pr.js → instruction-discovery-80az21bw.js} +4 -4
  77. package/dist/chunks/{pty-zqpw1c2p.js → instruction-discovery-80vnhx64.js} +22 -22
  78. package/dist/chunks/{pty-48yax929.js → instruction-discovery-87ryhpkm.js} +44 -44
  79. package/dist/chunks/instruction-discovery-8cfmw7g8.js +26 -0
  80. package/dist/chunks/{pty-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{pty-qr8qa9bm.js → instruction-discovery-8hvkh9qd.js} +30 -30
  82. package/dist/chunks/{pty-7g9sy6yd.js → instruction-discovery-8jx8k6qg.js} +7 -7
  83. package/dist/chunks/{pty-8p4f9s12.js → instruction-discovery-8p4f9s12.js} +2 -2
  84. package/dist/chunks/{pty-e91xfsxp.js → instruction-discovery-8s5eshva.js} +2 -2
  85. package/dist/chunks/{pty-fvkf5gpn.js → instruction-discovery-8t3r44sf.js} +5 -5
  86. package/dist/chunks/{pty-5vdyt57w.js → instruction-discovery-9hs7fs45.js} +3 -3
  87. package/dist/chunks/{pty-6y2kb6da.js → instruction-discovery-9v27psqe.js} +16 -16
  88. package/dist/chunks/{pty-a1bz86dw.js → instruction-discovery-a1bz86dw.js} +3 -3
  89. package/dist/chunks/{pty-kcnwc050.js → instruction-discovery-a2jb2751.js} +32 -32
  90. package/dist/chunks/{pty-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
  91. package/dist/chunks/{pty-2w6fc0zt.js → instruction-discovery-aamtrqep.js} +9 -9
  92. package/dist/chunks/{pty-xya6rnzh.js → instruction-discovery-ajzsbz6h.js} +11 -11
  93. package/dist/chunks/{pty-pvcnmygp.js → instruction-discovery-ap1tgj32.js} +18 -18
  94. package/dist/chunks/{pty-9n5gchmp.js → instruction-discovery-asznntn8.js} +26 -26
  95. package/dist/chunks/{pty-eyx3sbbq.js → instruction-discovery-b1ek0wtw.js} +4 -4
  96. package/dist/chunks/{pty-rrfm0vdv.js → instruction-discovery-b4nfcdv5.js} +12 -12
  97. package/dist/chunks/{pty-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{pty-2sr83qrg.js → instruction-discovery-b8bvc04a.js} +1 -1
  99. package/dist/chunks/{pty-w2xf1871.js → instruction-discovery-bbxr6jw3.js} +41 -41
  100. package/dist/chunks/{pty-pmr4s4kc.js → instruction-discovery-bct739vz.js} +4 -4
  101. package/dist/chunks/{pty-1avgqjfw.js → instruction-discovery-bd8btjtc.js} +11 -11
  102. package/dist/chunks/{pty-g2eett4k.js → instruction-discovery-bkskqsty.js} +11 -11
  103. package/dist/chunks/{pty-mkmvax1f.js → instruction-discovery-bm1prq2q.js} +10 -10
  104. package/dist/chunks/{pty-pekx08ex.js → instruction-discovery-bn0g70r0.js} +24 -24
  105. package/dist/chunks/{pty-c7w3tbrx.js → instruction-discovery-bnvayccf.js} +9 -9
  106. package/dist/chunks/{pty-j69p7kth.js → instruction-discovery-bq1752a3.js} +22 -22
  107. package/dist/chunks/{pty-q40w5akv.js → instruction-discovery-bvx85a4w.js} +1 -1
  108. package/dist/chunks/{pty-jz67am5p.js → instruction-discovery-c49f7yek.js} +6 -6
  109. package/dist/chunks/{pty-feqpvc5c.js → instruction-discovery-ca8qvqpq.js} +17 -17
  110. package/dist/chunks/{pty-1cd81313.js → instruction-discovery-cbany252.js} +11 -11
  111. package/dist/chunks/{pty-cfpkc3c9.js → instruction-discovery-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{pty-tz4n1mmd.js → instruction-discovery-ckf8nxjz.js} +4 -4
  113. package/dist/chunks/{pty-cbc0wxnt.js → instruction-discovery-cr59q9qa.js} +4 -4
  114. package/dist/chunks/{pty-3shkqxcj.js → instruction-discovery-ctak4ngs.js} +6 -6
  115. package/dist/chunks/{pty-v2cwp70s.js → instruction-discovery-ctq3xf59.js} +47 -47
  116. package/dist/chunks/{pty-djszqvmq.js → instruction-discovery-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{pty-pecb0brz.js → instruction-discovery-d2aac7k2.js} +5 -5
  118. package/dist/chunks/{pty-8vhnwsrf.js → instruction-discovery-d5b773r5.js} +70 -70
  119. package/dist/chunks/{pty-p8z07maz.js → instruction-discovery-d6g71415.js} +21 -21
  120. package/dist/chunks/{pty-q58mka6k.js → instruction-discovery-d737nyfv.js} +9 -9
  121. package/dist/chunks/{pty-x10m976v.js → instruction-discovery-d89ah0rb.js} +32 -32
  122. package/dist/chunks/{pty-3tjpy68d.js → instruction-discovery-dbgp4r1w.js} +31 -31
  123. package/dist/chunks/{pty-qrrcqbrg.js → instruction-discovery-dd9zjddp.js} +13 -13
  124. package/dist/chunks/{pty-r9w3djhf.js → instruction-discovery-depwzj9d.js} +8 -8
  125. package/dist/chunks/{pty-j7c1rfea.js → instruction-discovery-dgt1m6jj.js} +19 -19
  126. package/dist/chunks/{pty-ab845m4a.js → instruction-discovery-dhst5bzj.js} +23 -23
  127. package/dist/chunks/{pty-6svx4vfh.js → instruction-discovery-dj5cbr0h.js} +25 -25
  128. package/dist/chunks/{pty-93hpb89x.js → instruction-discovery-dm1py9b3.js} +2 -2
  129. package/dist/chunks/{pty-15zevn5w.js → instruction-discovery-e6hd9jay.js} +6 -6
  130. package/dist/chunks/{pty-yrbxk7kt.js → instruction-discovery-eesx3r1b.js} +17 -17
  131. package/dist/chunks/{pty-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  132. package/dist/chunks/{pty-mys1tqp3.js → instruction-discovery-enwy0czq.js} +26 -26
  133. package/dist/chunks/{pty-2sbg9ezb.js → instruction-discovery-epkzn4tn.js} +48 -48
  134. package/dist/chunks/{pty-jhf3jymm.js → instruction-discovery-eqkxs06z.js} +6 -6
  135. package/dist/chunks/{pty-erw5rpbs.js → instruction-discovery-erw5rpbs.js} +2 -2
  136. package/dist/chunks/{pty-vqwxbh15.js → instruction-discovery-eth0681n.js} +16 -16
  137. package/dist/chunks/{pty-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{pty-0w94f9zc.js → instruction-discovery-ex0ne5y8.js} +8 -8
  139. package/dist/chunks/{pty-f828m53h.js → instruction-discovery-f828m53h.js} +2 -2
  140. package/dist/chunks/{pty-ca9wasfp.js → instruction-discovery-fck4aavc.js} +18 -18
  141. package/dist/chunks/{pty-1sn1ktbx.js → instruction-discovery-ff6mr1mq.js} +9 -9
  142. package/dist/chunks/{pty-4e8vs6eh.js → instruction-discovery-fqtvmpfq.js} +8 -8
  143. package/dist/chunks/{pty-zab6dek8.js → instruction-discovery-fqzyqcjh.js} +22 -22
  144. package/dist/chunks/{pty-rsf4gv7k.js → instruction-discovery-fxbvhs05.js} +19 -19
  145. package/dist/chunks/{pty-h53kmbdm.js → instruction-discovery-fy1gvxag.js} +54 -54
  146. package/dist/chunks/{pty-jgttmm4a.js → instruction-discovery-fyjp43ss.js} +5 -5
  147. package/dist/chunks/{pty-3srp75sn.js → instruction-discovery-fyrnwbxv.js} +13 -13
  148. package/dist/chunks/{pty-0tay0vp0.js → instruction-discovery-fyx1rh07.js} +15 -15
  149. package/dist/chunks/{pty-9j764z9f.js → instruction-discovery-g0w0m6c8.js} +11 -11
  150. package/dist/chunks/{pty-bhteabqx.js → instruction-discovery-g6jcgrmn.js} +4 -4
  151. package/dist/chunks/{pty-p7zm9vnn.js → instruction-discovery-g7mym6m5.js} +18 -18
  152. package/dist/chunks/{pty-be40ghdv.js → instruction-discovery-g84cjvn9.js} +2 -2
  153. package/dist/chunks/{pty-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{pty-m5j28g6y.js → instruction-discovery-gd8x6j3n.js} +7 -7
  155. package/dist/chunks/{pty-3cs1hnzz.js → instruction-discovery-gegj32p6.js} +20 -20
  156. package/dist/chunks/{pty-s0agc963.js → instruction-discovery-gqawmzqm.js} +8 -8
  157. package/dist/chunks/{pty-d386qjdf.js → instruction-discovery-gsae7mzx.js} +3 -3
  158. package/dist/chunks/{pty-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{pty-xhrfypmh.js → instruction-discovery-gzybrnwp.js} +27 -27
  160. package/dist/chunks/{pty-870m6jn5.js → instruction-discovery-h25pynb9.js} +6 -6
  161. package/dist/chunks/{pty-dc0f92gk.js → instruction-discovery-h35wg768.js} +42 -42
  162. package/dist/chunks/{pty-jgq9btc2.js → instruction-discovery-h3egcphf.js} +46 -46
  163. package/dist/chunks/{pty-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{pty-a5cfpm61.js → instruction-discovery-h7e5g0tn.js} +6 -6
  165. package/dist/chunks/{pty-favr8gmm.js → instruction-discovery-hesh0yqh.js} +15 -15
  166. package/dist/chunks/{pty-bha4atvq.js → instruction-discovery-hfdr1yjj.js} +4 -4
  167. package/dist/chunks/{pty-sgb290x0.js → instruction-discovery-hgxtd65q.js} +13 -13
  168. package/dist/chunks/{pty-hqmr0w3b.js → instruction-discovery-hqmr0w3b.js} +1 -1
  169. package/dist/chunks/{pty-3q7edt44.js → instruction-discovery-hrcn0nnf.js} +11 -11
  170. package/dist/chunks/{pty-k1qrnqst.js → instruction-discovery-hz0q9sdq.js} +8 -8
  171. package/dist/chunks/{pty-h0sprvfa.js → instruction-discovery-j0a35shb.js} +45 -45
  172. package/dist/chunks/{pty-s4w9dbtc.js → instruction-discovery-j2z2bynw.js} +5 -5
  173. package/dist/chunks/{pty-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  174. package/dist/chunks/{pty-ph842b28.js → instruction-discovery-j5rxtxht.js} +4 -4
  175. package/dist/chunks/{pty-mx7gy8pb.js → instruction-discovery-j7zkqwjr.js} +5 -5
  176. package/dist/chunks/{pty-tpnwfd5g.js → instruction-discovery-ja7gyv8y.js} +6 -6
  177. package/dist/chunks/{pty-rgch3z0v.js → instruction-discovery-jkypvzfq.js} +20 -20
  178. package/dist/chunks/{pty-nbgyd66e.js → instruction-discovery-jppyavat.js} +25 -25
  179. package/dist/chunks/{pty-xkr6cyjb.js → instruction-discovery-jq7r7x4m.js} +23 -23
  180. package/dist/chunks/instruction-discovery-jqh9b0xq.js +18 -0
  181. package/dist/chunks/{pty-s23akgaf.js → instruction-discovery-jth2zfp5.js} +5 -5
  182. package/dist/chunks/{pty-nzks3jc8.js → instruction-discovery-k3c624dm.js} +3 -3
  183. package/dist/chunks/{pty-4tajgtbv.js → instruction-discovery-k9mx7t5w.js} +18 -18
  184. package/dist/chunks/{pty-6rjq4ad6.js → instruction-discovery-keat3kjn.js} +4 -4
  185. package/dist/chunks/{pty-cfhq3gyz.js → instruction-discovery-kgpwsj74.js} +28 -28
  186. package/dist/chunks/{pty-r7pg2k45.js → instruction-discovery-m2tc1n0a.js} +31 -31
  187. package/dist/chunks/{pty-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{pty-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{pty-czzrymxc.js → instruction-discovery-madhy2we.js} +24 -24
  190. package/dist/chunks/{pty-mhkvc446.js → instruction-discovery-mhkvc446.js} +1 -1
  191. package/dist/chunks/{pty-4cv6vszb.js → instruction-discovery-mw0271ay.js} +22 -22
  192. package/dist/chunks/{pty-hm7r1852.js → instruction-discovery-mw65zyef.js} +18 -18
  193. package/dist/chunks/{pty-x2jawspn.js → instruction-discovery-n0mnd67y.js} +9 -9
  194. package/dist/chunks/{pty-bpckba2r.js → instruction-discovery-n1fe3aty.js} +11 -11
  195. package/dist/chunks/{pty-2yb6xvw8.js → instruction-discovery-n74rpst0.js} +10 -10
  196. package/dist/chunks/{pty-2s238nn0.js → instruction-discovery-nanpb4nb.js} +187 -187
  197. package/dist/chunks/{pty-w97g4k0g.js → instruction-discovery-nbzsj80d.js} +8 -8
  198. package/dist/chunks/{pty-w9ka22cp.js → instruction-discovery-nkcf2gs9.js} +30 -30
  199. package/dist/chunks/{pty-e163j4jp.js → instruction-discovery-np6jcka8.js} +12 -12
  200. package/dist/chunks/{pty-pcfkrm12.js → instruction-discovery-nqyhrfcc.js} +4 -4
  201. package/dist/chunks/{pty-p28j5sbe.js → instruction-discovery-p28j5sbe.js} +2 -2
  202. package/dist/chunks/{pty-879k3rbz.js → instruction-discovery-pfk7g78r.js} +5 -5
  203. package/dist/chunks/{pty-k5t1vn2m.js → instruction-discovery-pg3xm6en.js} +24 -24
  204. package/dist/chunks/{pty-548d8qnr.js → instruction-discovery-pjcxmf6n.js} +13 -13
  205. package/dist/chunks/{pty-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{pty-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  207. package/dist/chunks/{pty-nscznvay.js → instruction-discovery-pnv527nz.js} +9 -9
  208. package/dist/chunks/{pty-4efdx9rk.js → instruction-discovery-psx79z8s.js} +12 -12
  209. package/dist/chunks/{pty-062r8x8b.js → instruction-discovery-pvv2cx45.js} +89 -89
  210. package/dist/chunks/{pty-emca911v.js → instruction-discovery-pw383ktz.js} +8 -8
  211. package/dist/chunks/{pty-e2sckgsq.js → instruction-discovery-py17fkfh.js} +24 -24
  212. package/dist/chunks/{pty-cp1t7mny.js → instruction-discovery-q1enjrf6.js} +23 -23
  213. package/dist/chunks/{pty-y9g97vsr.js → instruction-discovery-q9dc04tf.js} +30 -30
  214. package/dist/chunks/{pty-6wc135vc.js → instruction-discovery-qe92z5eg.js} +23 -23
  215. package/dist/chunks/{pty-038mqbwm.js → instruction-discovery-qkb3xxtm.js} +5 -5
  216. package/dist/chunks/{pty-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  217. package/dist/chunks/{pty-j2zz4nqv.js → instruction-discovery-qz0c158j.js} +9 -9
  218. package/dist/chunks/{pty-d81wp89e.js → instruction-discovery-qz1pxh76.js} +15 -15
  219. package/dist/chunks/{pty-zcc1n10w.js → instruction-discovery-r5yv3mt8.js} +6 -6
  220. package/dist/chunks/instruction-discovery-r6ma33hb.js +65 -0
  221. package/dist/chunks/{pty-frw7gw9n.js → instruction-discovery-r910kxjq.js} +30 -30
  222. package/dist/chunks/{pty-xcz1w3cx.js → instruction-discovery-r991r44t.js} +26 -26
  223. package/dist/chunks/{pty-tkmwgdpd.js → instruction-discovery-ratrq7cm.js} +7 -7
  224. package/dist/chunks/{pty-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{pty-draats0m.js → instruction-discovery-rnym2nbx.js} +5 -5
  226. package/dist/chunks/{pty-xj2v2q7r.js → instruction-discovery-s38x4d8v.js} +3 -3
  227. package/dist/chunks/{pty-rxdxv3zs.js → instruction-discovery-s59wxs1e.js} +11 -11
  228. package/dist/chunks/{pty-eaj1djv9.js → instruction-discovery-s8d7rejh.js} +6 -6
  229. package/dist/chunks/{pty-6ng8rhkc.js → instruction-discovery-sjf3tctt.js} +12 -12
  230. package/dist/chunks/{pty-hwdkr1sy.js → instruction-discovery-skt6pyyf.js} +6 -6
  231. package/dist/chunks/{pty-7mr8gmff.js → instruction-discovery-sp1y3784.js} +4 -4
  232. package/dist/chunks/{pty-wx15ps39.js → instruction-discovery-spq00ka2.js} +11 -11
  233. package/dist/chunks/{pty-43kxyya3.js → instruction-discovery-srp1awq4.js} +12 -12
  234. package/dist/chunks/{pty-tct3dq34.js → instruction-discovery-sw51tshd.js} +50 -50
  235. package/dist/chunks/{pty-nt2pe6m8.js → instruction-discovery-sy6tmz81.js} +24 -24
  236. package/dist/chunks/{pty-bqjt5s0q.js → instruction-discovery-t2schhr1.js} +44 -44
  237. package/dist/chunks/instruction-discovery-t37sa7x6.js +252 -0
  238. package/dist/chunks/{pty-vw2351hj.js → instruction-discovery-t9msbx01.js} +5 -5
  239. package/dist/chunks/{pty-vbwvxk55.js → instruction-discovery-tada9jhx.js} +4 -4
  240. package/dist/chunks/{pty-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{pty-89znhe33.js → instruction-discovery-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{pty-z7br6qex.js → instruction-discovery-tdmmsys1.js} +30 -30
  243. package/dist/chunks/{pty-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  244. package/dist/chunks/{pty-f8fgzrbf.js → instruction-discovery-terz056s.js} +20 -20
  245. package/dist/chunks/{pty-8exbzf8y.js → instruction-discovery-tmd7t4g3.js} +15 -15
  246. package/dist/chunks/{pty-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
  247. package/dist/chunks/{pty-aemqn3ez.js → instruction-discovery-vamaa9zs.js} +11 -11
  248. package/dist/chunks/{pty-p1cpmwyf.js → instruction-discovery-vc32h82s.js} +22 -22
  249. package/dist/chunks/{pty-rt43k5p5.js → instruction-discovery-vc6yd4eg.js} +32 -32
  250. package/dist/chunks/{pty-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  251. package/dist/chunks/{pty-570bm5aw.js → instruction-discovery-vfykb72z.js} +21 -21
  252. package/dist/chunks/{pty-2shksz5k.js → instruction-discovery-vgajfqke.js} +15 -15
  253. package/dist/chunks/{pty-rzz4s24w.js → instruction-discovery-vgn79txg.js} +20 -20
  254. package/dist/chunks/{pty-vj81g6vn.js → instruction-discovery-vj81g6vn.js} +1 -1
  255. package/dist/chunks/{pty-hs74x4gh.js → instruction-discovery-vqj9jm8c.js} +4 -4
  256. package/dist/chunks/{pty-abcdk8h0.js → instruction-discovery-vvwd60y4.js} +43 -43
  257. package/dist/chunks/{pty-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{pty-bqa7vndz.js → instruction-discovery-w0ymwcrh.js} +27 -27
  259. package/dist/chunks/{pty-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{pty-02xe747d.js → instruction-discovery-wbx60fzd.js} +8 -8
  261. package/dist/chunks/{pty-192rtf0k.js → instruction-discovery-wc2t8fx2.js} +31 -31
  262. package/dist/chunks/{pty-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  263. package/dist/chunks/{pty-njs4fkas.js → instruction-discovery-wgg9hn2t.js} +15 -15
  264. package/dist/chunks/{pty-tms1td0z.js → instruction-discovery-wr9vyhw1.js} +51 -51
  265. package/dist/chunks/{pty-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{pty-e4y0dkgq.js → instruction-discovery-x647g243.js} +17 -17
  267. package/dist/chunks/{pty-026axa4a.js → instruction-discovery-xekc3gqk.js} +24 -24
  268. package/dist/chunks/{pty-drwq78ky.js → instruction-discovery-xfkkasph.js} +4 -4
  269. package/dist/chunks/{pty-7b6h5z22.js → instruction-discovery-xp7ms4x7.js} +23 -23
  270. package/dist/chunks/{pty-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{pty-xvnj5msj.js → instruction-discovery-y5588qvg.js} +3 -3
  272. package/dist/chunks/{pty-dpkg50ah.js → instruction-discovery-y71avatq.js} +4 -4
  273. package/dist/chunks/{pty-53gk70sf.js → instruction-discovery-ya8gxsn0.js} +9 -9
  274. package/dist/chunks/{pty-jbtd89qx.js → instruction-discovery-yazjenkk.js} +13 -13
  275. package/dist/chunks/{pty-9pr215e3.js → instruction-discovery-yhwbjxcp.js} +21 -21
  276. package/dist/chunks/{pty-j1fnkb2v.js → instruction-discovery-yntgqbj8.js} +33 -33
  277. package/dist/chunks/{pty-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{pty-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
  279. package/dist/chunks/{pty-h61ncxx5.js → instruction-discovery-z08gb817.js} +10 -10
  280. package/dist/chunks/{pty-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{pty-rp6xkheg.js → instruction-discovery-z429czhs.js} +10 -10
  282. package/dist/chunks/{pty-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
  283. package/dist/chunks/{pty-1m68c3fq.js → instruction-discovery-zat6j6wm.js} +11 -11
  284. package/dist/chunks/{pty-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{pty-mfcw5yns.js → instruction-discovery-zh8g02qs.js} +5 -5
  286. package/dist/chunks/{pty-41tykhqn.js → instruction-discovery-zhs5mbww.js} +8 -8
  287. package/dist/chunks/{pty-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{pty-jt4eq04m.js → instruction-discovery-zs220xh7.js} +38 -38
  289. package/dist/chunks/{pty-bbd5t3cy.js → instruction-discovery-zwnr1j62.js} +32 -32
  290. package/dist/chunks/{pty-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +84 -84
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +122 -122
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +92 -92
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.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/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +220 -220
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +102 -102
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +98 -98
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +88 -88
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +127 -127
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +98 -98
  481. package/dist/model-resolver.js +95 -95
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +106 -106
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +77 -77
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +108 -108
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +83 -83
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +91 -91
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +119 -119
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +140 -140
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +4 -4
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +228 -228
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +89 -89
  563. package/dist/provider.js +98 -98
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +3 -3
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +97 -97
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +3 -3
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +89 -89
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +78 -78
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +92 -92
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +118 -118
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +1 -1
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +3 -3
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +84 -84
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +209 -209
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +213 -213
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +15 -15
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +104 -104
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +92 -92
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +115 -115
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +117 -117
  641. package/dist/tool/plugin/grep.js +121 -121
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +117 -117
  644. package/dist/tool/plugin/question.js +102 -102
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +110 -110
  648. package/dist/tool/plugin/subagent.js +218 -218
  649. package/dist/tool/plugin/webfetch.js +111 -111
  650. package/dist/tool/plugin/websearch.js +111 -111
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +95 -95
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +5 -5
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +3 -3
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +80 -80
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +79 -79
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +97 -97
  696. package/package.json +8 -8
  697. package/dist/chunks/pty-45th5jwr.js +0 -18
  698. package/dist/chunks/pty-4wwmgmwd.js +0 -26
  699. package/dist/chunks/pty-d8sk975s.js +0 -65
  700. package/dist/chunks/pty-pf0d5y53.js +0 -252
  701. package/dist/chunks/pty-qtvmxc8s.js +0 -4
  702. package/dist/chunks/pty-wwpq4dkc.js +0 -503
  703. /package/dist/chunks/{pty-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{pty-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{pty-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{pty-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{pty-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{pty-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{pty-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{pty-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{pty-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{pty-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{pty-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  714. /package/dist/chunks/{pty-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{pty-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{pty-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{pty-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{pty-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{pty-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{pty-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{pty-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  722. /package/dist/chunks/{pty-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{pty-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{pty-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  725. /package/dist/chunks/{pty-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{pty-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{pty-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  728. /package/dist/chunks/{pty-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{pty-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{pty-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
  731. /package/dist/chunks/{pty-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{pty-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{pty-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{pty-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{pty-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{pty-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{pty-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{pty-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{pty-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{pty-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{pty-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{pty-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{pty-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{pty-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{pty-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{pty-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  747. /package/dist/chunks/{pty-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{pty-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{pty-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{pty-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{pty-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{pty-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{pty-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{pty-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{pty-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{pty-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{pty-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{pty-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{pty-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  760. /package/dist/chunks/{pty-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{pty-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  762. /package/dist/chunks/{pty-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{pty-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  764. /package/dist/chunks/{pty-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{pty-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{pty-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{pty-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{pty-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{pty-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{pty-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{pty-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{pty-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{pty-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{pty-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{pty-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{pty-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{pty-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{pty-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{pty-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{pty-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{pty-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{pty-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{pty-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{pty-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{pty-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{pty-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
  787. /package/dist/chunks/{pty-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{pty-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{pty-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{pty-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{pty-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{pty-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  793. /package/dist/chunks/{pty-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{pty-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{pty-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{pty-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{pty-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{pty-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./instruction-discovery-922hggd3.js";
4
4
  import {
5
- Service80,
6
- node84
7
- } from "./pty-6ng8rhkc.js";
5
+ Service79,
6
+ node83
7
+ } from "./instruction-discovery-sjf3tctt.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./pty-6h73sxmp.js";
13
+ } from "./instruction-discovery-2402vzrj.js";
14
14
  import {
15
- Service82,
16
- node86
17
- } from "./pty-rp6xkheg.js";
15
+ Service63,
16
+ node66
17
+ } from "./instruction-discovery-z429czhs.js";
18
18
  import {
19
19
  __export
20
- } from "./pty-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: () => Service75,
33
+ Service: () => Service49,
34
34
  isError: () => isError2,
35
- node: () => node79,
35
+ node: () => node52,
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 Service75 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service49 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(Service75, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service80;
106
+ const git = yield* Service79;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service82;
110
- return Service75.of({
109
+ const kv = yield* Service63;
110
+ return Service49.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 = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(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 ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(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(Service75, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node79 = makeGlobalNode({
171
- service: Service75,
170
+ var node52 = makeGlobalNode({
171
+ service: Service49,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node86]
173
+ deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node66]
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, Service75, isError2, validateBranch2, node79, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service49, isError2, validateBranch2, node52, exports_repository_cache };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service36,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service36 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service36.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service36, awaitActivation2, exports_service };
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID6
3
- } from "./pty-w9ka22cp.js";
2
+ ID9
3
+ } from "./instruction-discovery-nkcf2gs9.js";
4
4
  import {
5
5
  iife2
6
- } from "./pty-1kg9ymc8.js";
6
+ } from "./instruction-discovery-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./pty-3shkqxcj.js";
9
+ } from "./instruction-discovery-ctak4ngs.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-ai-gateway.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID6.make("cloudflare-ai-gateway");
15
+ var providerID = ID9.make("cloudflare-ai-gateway");
16
16
  var CloudflareAIGatewayPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.ai.gateway",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./pty-3w5fmr99.js";
4
+ } from "./instruction-discovery-3w5fmr99.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./pty-m3fdjcah.js";
8
+ } from "./instruction-discovery-m3fdjcah.js";
9
9
  import {
10
10
  __export
11
- } from "./pty-9rqn6x4v.js";
11
+ } from "./instruction-discovery-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./pty-s1x3xehd.js";
2
+ Service77,
3
+ node81
4
+ } from "./instruction-discovery-3f0yr7fv.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./instruction-discovery-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./instruction-discovery-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter3 = {};
14
- __export(exports_formatter3, {
15
- Formatter: () => exports_formatter3,
16
- Service: () => Service42,
17
- node: () => node44
13
+ var exports_formatter2 = {};
14
+ __export(exports_formatter2, {
15
+ Formatter: () => exports_formatter2,
16
+ Service: () => Service17,
17
+ node: () => node19
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service42 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service17 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service42, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
27
+ const location = yield* Service77;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service42.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service17.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node44 = makeLocationNode({
91
- service: Service42,
90
+ var node19 = makeLocationNode({
91
+ service: Service17,
92
92
  layer,
93
- deps: [node82, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service42, node44, exports_formatter3 };
96
+ export { Service17, node19, exports_formatter2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin18
9
+ Plugin: () => Plugin21
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin18 = define({
14
+ var Plugin21 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin18 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin18, exports_mcp_codemode_exclusion };
37
+ export { Plugin21, exports_mcp_codemode_exclusion };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./pty-vbwvxk55.js";
4
+ } from "./instruction-discovery-tada9jhx.js";
5
5
  import {
6
- parse5,
6
+ parse4,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./pty-6h73sxmp.js";
11
+ } from "./instruction-discovery-2402vzrj.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./pty-922hggd3.js";
14
+ } from "./instruction-discovery-922hggd3.js";
15
15
  import {
16
- Service75,
17
- node79
18
- } from "./pty-xkr6cyjb.js";
16
+ Service49,
17
+ node52
18
+ } from "./instruction-discovery-jq7r7x4m.js";
19
19
  import {
20
20
  create3
21
- } from "./pty-rdw6cm16.js";
21
+ } from "./instruction-discovery-rdw6cm16.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./instruction-discovery-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event19,
29
+ Event: () => Event9,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info30,
31
+ Info: () => Info8,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service74,
35
- Source: () => Source5,
36
- node: () => node78
34
+ Service: () => Service48,
35
+ Source: () => Source4,
36
+ node: () => node51
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Context, Effect, Layer, Scope } from "effect";
40
40
  import { Reference } from "@opencode/schema/reference";
41
41
  import { Global } from "@opencode/util/global";
42
- import { Event as Event19 } from "@opencode/schema/reference";
42
+ import { Event as Event9 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source5 = Reference.Source;
46
- var Info30 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info8 = Reference.Info;
47
47
 
48
- class Service74 extends Context.Service()("@opencode/Reference") {
48
+ class Service48 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service74, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
52
  const bus = yield* Service83;
53
- const cache = yield* Service75;
53
+ const cache = yield* Service49;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info30.make({ ...info, path: source.path })];
64
- const repository = parse5(source.repository);
63
+ return [Info8.make({ ...info, path: source.path })];
64
+ const repository = parse4(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
67
67
  if (source.branch) {
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info30.make({
75
+ Info8.make({
76
76
  ...info,
77
77
  path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
78
78
  })
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service74.of({
107
+ return Service48.of({
108
108
  transform: state.transform,
109
109
  reload: state.reload,
110
110
  list: Effect.fn("Reference.list")(function* () {
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node78 = makeLocationNode({
116
- service: Service74,
115
+ var node51 = makeLocationNode({
116
+ service: Service48,
117
117
  layer,
118
- deps: [Global.node, node87, node79]
118
+ deps: [Global.node, node87, node52]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source5, Info30, Service74, node78, exports_reference2, Event19 };
121
+ export { LocalSource2, GitSource2, Source4, Info8, Service48, node51, exports_reference2, Event9 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84
3
- } from "./pty-t3444mmx.js";
3
+ } from "./instruction-discovery-473ftn0x.js";
4
4
  import {
5
5
  Service83
6
- } from "./pty-vbwvxk55.js";
6
+ } from "./instruction-discovery-tada9jhx.js";
7
7
  import {
8
- Service37
9
- } from "./pty-jhf3jymm.js";
8
+ Service57
9
+ } from "./instruction-discovery-eqkxs06z.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./pty-fxbjtjnd.js";
12
+ } from "./instruction-discovery-5ekn9679.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./pty-gftt206x.js";
15
+ } from "./instruction-discovery-gftt206x.js";
16
16
  import {
17
17
  NotFoundError9,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./pty-xj2v2q7r.js";
23
+ } from "./instruction-discovery-s38x4d8v.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./pty-ec1grn59.js";
26
+ } from "./instruction-discovery-ec1grn59.js";
27
27
  import {
28
- Service66
29
- } from "./pty-rrfm0vdv.js";
28
+ Service73
29
+ } from "./instruction-discovery-b4nfcdv5.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service36
34
- } from "./pty-czzrymxc.js";
33
+ Service56
34
+ } from "./instruction-discovery-madhy2we.js";
35
35
  import {
36
- Service34
37
- } from "./pty-jt4eq04m.js";
36
+ Service54
37
+ } from "./instruction-discovery-zs220xh7.js";
38
38
  import {
39
39
  prepare2
40
- } from "./pty-rf2pre7z.js";
40
+ } from "./instruction-discovery-2dt7wr4s.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./pty-f8fgzrbf.js";
45
+ } from "./instruction-discovery-terz056s.js";
46
46
  import {
47
47
  start2
48
- } from "./pty-53gk70sf.js";
48
+ } from "./instruction-discovery-ya8gxsn0.js";
49
49
  import {
50
50
  get4
51
- } from "./pty-1sn1ktbx.js";
51
+ } from "./instruction-discovery-ff6mr1mq.js";
52
52
  import {
53
53
  __export
54
- } from "./pty-9rqn6x4v.js";
54
+ } from "./instruction-discovery-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service66;
69
- const instances = yield* Service37;
70
- const execution = yield* Service34;
71
- const admission = yield* Service36;
68
+ const store = yield* Service73;
69
+ const instances = yield* Service57;
70
+ const execution = yield* Service54;
71
+ const admission = yield* Service56;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service37, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service57, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service37, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service57, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service37, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service57, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service83, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service83, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./pty-emrn6kk6.js";
7
+ } from "./instruction-discovery-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";