@opencode/core 0.0.0-dev-20111 → 0.0.0-dev-20112

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{state-53cvw98s.js → rpc-02j7ptnp.js} +18 -18
  8. package/dist/chunks/{state-t0cw0c9y.js → rpc-08keq5y2.js} +12 -12
  9. package/dist/chunks/{state-d6qntx8f.js → rpc-0dq61nf6.js} +28 -28
  10. package/dist/chunks/{state-j1ndhnpa.js → rpc-0jq9fyba.js} +9 -9
  11. package/dist/chunks/{state-mh5tff5t.js → rpc-0m77aff1.js} +26 -26
  12. package/dist/chunks/rpc-0mesazry.js +4 -0
  13. package/dist/chunks/{state-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{state-rxstvrrv.js → rpc-0pyxf2ef.js} +326 -326
  15. package/dist/chunks/{state-wz3z8pyw.js → rpc-0tgdwdqv.js} +5 -5
  16. package/dist/chunks/{state-pnm0gwqy.js → rpc-0x9m32q2.js} +10 -10
  17. package/dist/chunks/{state-cjap92xg.js → rpc-0z0pth9f.js} +20 -20
  18. package/dist/chunks/{state-qm7jrdpz.js → rpc-1109kv5r.js} +8 -8
  19. package/dist/chunks/{state-0ryd0fps.js → rpc-150yg2gd.js} +5 -5
  20. package/dist/chunks/{state-603dhr7g.js → rpc-160jmktn.js} +14 -14
  21. package/dist/chunks/{state-3jdz0x4z.js → rpc-18875pbc.js} +34 -34
  22. package/dist/chunks/{state-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{state-mw415x4x.js → rpc-1gm9116q.js} +6 -6
  24. package/dist/chunks/{state-cv7be8vd.js → rpc-1jctj4g8.js} +15 -15
  25. package/dist/chunks/{state-93tv8wdp.js → rpc-1k449z1m.js} +13 -13
  26. package/dist/chunks/{state-axcvfrsj.js → rpc-1ke0c16a.js} +83 -83
  27. package/dist/chunks/{state-0wv1qnc5.js → rpc-1nztb72v.js} +27 -27
  28. package/dist/chunks/{state-yc0p016c.js → rpc-1t7dpstc.js} +22 -22
  29. package/dist/chunks/{state-gj4zkc3e.js → rpc-21287jfx.js} +15 -15
  30. package/dist/chunks/{state-21r38tys.js → rpc-21r38tys.js} +1 -1
  31. package/dist/chunks/{state-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
  32. package/dist/chunks/{state-9q474hct.js → rpc-25p66pf6.js} +27 -27
  33. package/dist/chunks/{state-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{state-z9dz7899.js → rpc-2ehxpneg.js} +12 -12
  35. package/dist/chunks/{state-4sn99hha.js → rpc-2fgn2we9.js} +5 -5
  36. package/dist/chunks/{state-djsrw7d1.js → rpc-2px5d1cj.js} +3 -3
  37. package/dist/chunks/{state-vecx4735.js → rpc-32wtghc5.js} +6 -6
  38. package/dist/chunks/{state-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{state-fcbk657k.js → rpc-3gce9r74.js} +4 -4
  40. package/dist/chunks/{state-p8r8ve68.js → rpc-3ged40bq.js} +21 -21
  41. package/dist/chunks/{state-nbe7vj25.js → rpc-3hdna774.js} +9 -9
  42. package/dist/chunks/{state-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{state-k5kkqdex.js → rpc-3pbjq009.js} +8 -8
  44. package/dist/chunks/rpc-3qfr6q08.js +26 -0
  45. package/dist/chunks/{state-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{state-pnqhyn3v.js → rpc-3smyc0rw.js} +15 -15
  47. package/dist/chunks/{state-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{state-3n6sdpxb.js → rpc-3zf9b344.js} +4 -4
  49. package/dist/chunks/{state-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
  50. package/dist/chunks/{state-ygbc7n1d.js → rpc-42ntqnk3.js} +8 -8
  51. package/dist/chunks/{state-zxxtytjq.js → rpc-44xzctz9.js} +13 -13
  52. package/dist/chunks/{state-dhepbqcv.js → rpc-46k4wjq4.js} +49 -49
  53. package/dist/chunks/{state-bye6v823.js → rpc-4ayfqmf8.js} +44 -44
  54. package/dist/chunks/{state-61f77bz5.js → rpc-4d9efxj2.js} +7 -7
  55. package/dist/chunks/{state-esjrfk95.js → rpc-4jr6cw8d.js} +26 -26
  56. package/dist/chunks/{state-s5hcky19.js → rpc-56a7v9wd.js} +1 -1
  57. package/dist/chunks/{state-w1ye484s.js → rpc-592f8mc2.js} +26 -26
  58. package/dist/chunks/{state-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  59. package/dist/chunks/{state-5ekn9679.js → rpc-5ekn9679.js} +1 -1
  60. package/dist/chunks/{state-vky584v3.js → rpc-5p47na3r.js} +23 -23
  61. package/dist/chunks/{state-myd6n2j2.js → rpc-5qpsfqnr.js} +12 -12
  62. package/dist/chunks/{state-kcw2zge1.js → rpc-5qv4txty.js} +9 -9
  63. package/dist/chunks/{state-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{state-2490deha.js → rpc-5vrqjn89.js} +13 -13
  65. package/dist/chunks/{state-wgtcm0m7.js → rpc-5xpznt2d.js} +4 -4
  66. package/dist/chunks/{state-8xfg6125.js → rpc-616k0a6h.js} +11 -11
  67. package/dist/chunks/{state-669tq793.js → rpc-669tq793.js} +1 -1
  68. package/dist/chunks/{state-ynwt6cba.js → rpc-6b5ctmn8.js} +19 -19
  69. package/dist/chunks/{state-1hy6stnx.js → rpc-6e0fs51c.js} +22 -22
  70. package/dist/chunks/{state-65m83bwr.js → rpc-6kva877z.js} +25 -25
  71. package/dist/chunks/{state-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{state-nggt3w8z.js → rpc-6qsf213n.js} +3 -3
  73. package/dist/chunks/{state-wz3wwytt.js → rpc-70hrh7jj.js} +9 -9
  74. package/dist/chunks/{state-c8xqcx36.js → rpc-75my1bc5.js} +6 -6
  75. package/dist/chunks/{state-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{state-607tc6va.js → rpc-7dqw4kz8.js} +5 -5
  77. package/dist/chunks/{state-dwfbq0zf.js → rpc-7nrcjxnb.js} +18 -18
  78. package/dist/chunks/{state-wzg7zq6j.js → rpc-7w3s9kd0.js} +9 -9
  79. package/dist/chunks/{state-4he9ab31.js → rpc-83yrkjk4.js} +22 -22
  80. package/dist/chunks/{state-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{state-0420h8y3.js → rpc-8qt6w28z.js} +12 -12
  82. package/dist/chunks/{state-b29mbqx6.js → rpc-8ryk0bb9.js} +5 -5
  83. package/dist/chunks/{state-6pc27hjz.js → rpc-8sze2n9a.js} +2 -2
  84. package/dist/chunks/{state-0cqag20n.js → rpc-90cdwc9p.js} +15 -15
  85. package/dist/chunks/{state-1b86pgzt.js → rpc-90jtbgvk.js} +10 -10
  86. package/dist/chunks/{state-94ek1h2f.js → rpc-94ek1h2f.js} +2 -2
  87. package/dist/chunks/{state-sa4z093x.js → rpc-9by6cmmv.js} +2 -2
  88. package/dist/chunks/{state-71gtvxnv.js → rpc-9gs2tt60.js} +12 -12
  89. package/dist/chunks/{state-7t8jd0x5.js → rpc-9mmy3mpq.js} +32 -32
  90. package/dist/chunks/{state-n87e4tgh.js → rpc-9srn6h9v.js} +2 -2
  91. package/dist/chunks/rpc-9zdhvgqs.js +18 -0
  92. package/dist/chunks/{state-jwkbnpgz.js → rpc-a2agkqzv.js} +9 -9
  93. package/dist/chunks/{state-ds16kb98.js → rpc-a7aq638e.js} +11 -11
  94. package/dist/chunks/{state-sk3sbtp0.js → rpc-a9ywh0mk.js} +4 -4
  95. package/dist/chunks/{state-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  96. package/dist/chunks/{state-84hf00xv.js → rpc-ageammbb.js} +7 -7
  97. package/dist/chunks/{state-4mbzwrkh.js → rpc-ah9y71b7.js} +24 -24
  98. package/dist/chunks/{state-h8djq146.js → rpc-am8bfw19.js} +10 -10
  99. package/dist/chunks/{state-gs2vyb2s.js → rpc-amrh86zj.js} +4 -4
  100. package/dist/chunks/{state-15p8vs0j.js → rpc-ar513hmn.js} +4 -4
  101. package/dist/chunks/{state-0sc7p6dz.js → rpc-awt7rzdj.js} +13 -13
  102. package/dist/chunks/{state-c74c7pzc.js → rpc-aym5q422.js} +18 -18
  103. package/dist/chunks/{state-edrmdtr5.js → rpc-b27vhd2z.js} +7 -7
  104. package/dist/chunks/{state-97fcjs0c.js → rpc-b43ddd18.js} +25 -25
  105. package/dist/chunks/{state-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{state-vg54q6kb.js → rpc-b8dwccws.js} +7 -7
  107. package/dist/chunks/{state-bqnnf9m9.js → rpc-bb7a4gay.js} +20 -20
  108. package/dist/chunks/{state-syca5r9y.js → rpc-bdpr2yxd.js} +23 -23
  109. package/dist/chunks/{state-a2rpfkac.js → rpc-btbmdjwj.js} +4 -4
  110. package/dist/chunks/{state-d0k1g5nx.js → rpc-bw9zjykr.js} +6 -6
  111. package/dist/chunks/{state-fhns329a.js → rpc-c0t4dggm.js} +3 -3
  112. package/dist/chunks/{state-cfex3ehp.js → rpc-cb8xxk1c.js} +3 -3
  113. package/dist/chunks/{state-w4ex03qt.js → rpc-cekczfff.js} +9 -9
  114. package/dist/chunks/{state-wb50tz6w.js → rpc-cf0geb50.js} +22 -22
  115. package/dist/chunks/{state-a6760ea6.js → rpc-cjj0byvg.js} +10 -10
  116. package/dist/chunks/{state-ckecvw8r.js → rpc-ckecvw8r.js} +2 -2
  117. package/dist/chunks/{state-0sn5yek2.js → rpc-cpfy4jgt.js} +18 -18
  118. package/dist/chunks/{state-s1ek718r.js → rpc-craeanb6.js} +10 -10
  119. package/dist/chunks/{state-p9avp9ca.js → rpc-cvfqy39w.js} +24 -24
  120. package/dist/chunks/{state-616y4znb.js → rpc-cvwcmr0e.js} +9 -9
  121. package/dist/chunks/{state-3kbtcg3v.js → rpc-cyxaz1t4.js} +3 -3
  122. package/dist/chunks/{state-r3evxqnx.js → rpc-d75rpfa0.js} +39 -39
  123. package/dist/chunks/{state-ttyhffk4.js → rpc-d8zfyja6.js} +10 -10
  124. package/dist/chunks/{state-grep4bve.js → rpc-d97bw4yj.js} +27 -27
  125. package/dist/chunks/{state-wxdt6jme.js → rpc-d9nmg78s.js} +6 -6
  126. package/dist/chunks/{state-nf3zyzex.js → rpc-db9wyxmh.js} +14 -14
  127. package/dist/chunks/{state-evbgk2k8.js → rpc-dj9sq318.js} +5 -5
  128. package/dist/chunks/{state-c765mh8b.js → rpc-djszqvmq.js} +9 -9
  129. package/dist/chunks/{state-9cymjy68.js → rpc-dm9bazky.js} +13 -13
  130. package/dist/chunks/{state-xkntkrq7.js → rpc-dmqcgk4z.js} +5 -5
  131. package/dist/chunks/{state-c1fhnwbe.js → rpc-dq4htvq4.js} +20 -20
  132. package/dist/chunks/{state-c84rynb7.js → rpc-dsbva206.js} +13 -13
  133. package/dist/chunks/{state-m8vajxnx.js → rpc-dsx3tzaj.js} +11 -11
  134. package/dist/chunks/{state-0r7yqxbf.js → rpc-e6hmchc5.js} +5 -5
  135. package/dist/chunks/{state-0wpacstp.js → rpc-ec24a56a.js} +1 -1
  136. package/dist/chunks/{state-6tqm5eet.js → rpc-ee8ybsa7.js} +27 -27
  137. package/dist/chunks/{state-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{state-5vcxbet6.js → rpc-efwhay1c.js} +33 -33
  139. package/dist/chunks/{state-bxhm554n.js → rpc-en82egts.js} +22 -22
  140. package/dist/chunks/{state-7jj4q75w.js → rpc-epshkrxj.js} +45 -45
  141. package/dist/chunks/{state-xhqa6gky.js → rpc-errzdfzw.js} +22 -22
  142. package/dist/chunks/{state-erw5rpbs.js → rpc-erw5rpbs.js} +2 -2
  143. package/dist/chunks/{state-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{state-jjpprn9z.js → rpc-ey2zkte9.js} +12 -12
  145. package/dist/chunks/{state-a8bn8zg0.js → rpc-f3ngv102.js} +4 -4
  146. package/dist/chunks/{state-ktpnacfn.js → rpc-f5gy8qwh.js} +8 -8
  147. package/dist/chunks/{state-b7k3j85e.js → rpc-f83wrjjm.js} +36 -36
  148. package/dist/chunks/{state-xcs63q7q.js → rpc-fhwty967.js} +30 -30
  149. package/dist/chunks/{state-2tbewc66.js → rpc-fkq9zp1n.js} +27 -27
  150. package/dist/chunks/{state-m3k5nkjm.js → rpc-fmd89a87.js} +11 -11
  151. package/dist/chunks/{state-0aebgkqc.js → rpc-fngba3yj.js} +20 -20
  152. package/dist/chunks/{state-s66pfndk.js → rpc-fphqqnk1.js} +41 -41
  153. package/dist/chunks/{state-8v6pyhej.js → rpc-g0445xdp.js} +8 -8
  154. package/dist/chunks/{state-74c75w5k.js → rpc-g09qwev9.js} +23 -23
  155. package/dist/chunks/{state-kdgwstet.js → rpc-g6em6shv.js} +6 -6
  156. package/dist/chunks/{state-reee10jt.js → rpc-g6mjd16v.js} +17 -17
  157. package/dist/chunks/{state-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{state-e9q2vb15.js → rpc-gm88tfws.js} +10 -10
  159. package/dist/chunks/{state-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{state-j9w0sazs.js → rpc-gwzwz5gw.js} +35 -35
  161. package/dist/chunks/{state-a4b1zkbb.js → rpc-h5mkjgng.js} +6 -6
  162. package/dist/chunks/{state-6zbs0edj.js → rpc-h5qcwqyd.js} +14 -14
  163. package/dist/chunks/{state-ebt2th9r.js → rpc-h6rft1z5.js} +26 -26
  164. package/dist/chunks/{state-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{state-deedhb64.js → rpc-ha3ybws3.js} +24 -24
  166. package/dist/chunks/{state-tbym587b.js → rpc-hc0q9rak.js} +6 -6
  167. package/dist/chunks/{state-m7va1g8x.js → rpc-hkagk5ex.js} +2 -2
  168. package/dist/chunks/{state-4phm5153.js → rpc-hkfg6fzm.js} +5 -5
  169. package/dist/chunks/{state-hj47bg5q.js → rpc-hnabnk53.js} +23 -23
  170. package/dist/chunks/{state-2gfneftk.js → rpc-hzaj2ry9.js} +16 -16
  171. package/dist/chunks/{state-xdpsmdge.js → rpc-hzssdpb4.js} +21 -21
  172. package/dist/chunks/{state-p2yhhyr5.js → rpc-j02ebv1w.js} +44 -44
  173. package/dist/chunks/{state-rph3zd4r.js → rpc-j15mfg1p.js} +5 -5
  174. package/dist/chunks/{state-fhs97t90.js → rpc-j3s2z371.js} +9 -9
  175. package/dist/chunks/{state-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  176. package/dist/chunks/{state-h0h24msd.js → rpc-j78e7zh5.js} +16 -16
  177. package/dist/chunks/{state-mhgx8wws.js → rpc-j8afcsyc.js} +4 -4
  178. package/dist/chunks/{state-jbt75933.js → rpc-janxjrdm.js} +18 -18
  179. package/dist/chunks/{state-3vgydj9r.js → rpc-jrf9apsb.js} +8 -8
  180. package/dist/chunks/{state-awvdvje0.js → rpc-jss6bx22.js} +17 -17
  181. package/dist/chunks/{state-zkf32p28.js → rpc-jxj4cffm.js} +11 -11
  182. package/dist/chunks/{state-k3c624dm.js → rpc-k3c624dm.js} +3 -3
  183. package/dist/chunks/{state-ngynwwae.js → rpc-k44eqy5v.js} +3 -3
  184. package/dist/chunks/{state-7vr6z7sd.js → rpc-k6194x68.js} +47 -47
  185. package/dist/chunks/{state-y15vpdnr.js → rpc-k7myrtme.js} +9 -9
  186. package/dist/chunks/{state-ffajfc11.js → rpc-ks70z4bj.js} +21 -21
  187. package/dist/chunks/{state-k9d40v1y.js → rpc-kwrf6mrp.js} +4 -4
  188. package/dist/chunks/{state-n828xn6h.js → rpc-ky6yw5g0.js} +13 -13
  189. package/dist/chunks/{state-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{state-5041hkzc.js → rpc-m47rg5wp.js} +15 -15
  191. package/dist/chunks/{state-0v0cghr8.js → rpc-m70nh5p7.js} +26 -26
  192. package/dist/chunks/{state-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{state-dd4arry7.js → rpc-mb6fym0f.js} +10 -10
  194. package/dist/chunks/{state-fbst39pn.js → rpc-mc914n6b.js} +90 -90
  195. package/dist/chunks/{state-56gdpj1q.js → rpc-mfqp6xfm.js} +6 -6
  196. package/dist/chunks/{state-w2g1ktb9.js → rpc-mmfybyer.js} +11 -11
  197. package/dist/chunks/{state-ahmyyct8.js → rpc-msprqtte.js} +14 -14
  198. package/dist/chunks/{state-mvfsc1pv.js → rpc-mvfsc1pv.js} +1 -1
  199. package/dist/chunks/{state-dbgjbemx.js → rpc-mzn07mdv.js} +72 -72
  200. package/dist/chunks/{state-tzx79ayg.js → rpc-n07x1hvb.js} +33 -33
  201. package/dist/chunks/{state-gjqt4qr1.js → rpc-n0a108gm.js} +18 -18
  202. package/dist/chunks/{state-kkp8zx71.js → rpc-n2srvep7.js} +4 -4
  203. package/dist/chunks/{state-rpg9c19m.js → rpc-n4r3xatb.js} +4 -4
  204. package/dist/chunks/{state-vdzzqhjr.js → rpc-n7sycxe7.js} +9 -9
  205. package/dist/chunks/{state-bm3xcdsh.js → rpc-n9erb8yb.js} +17 -17
  206. package/dist/chunks/{state-256nx13v.js → rpc-ndmv45hp.js} +3 -3
  207. package/dist/chunks/{state-amb2kstc.js → rpc-nede0j6g.js} +26 -26
  208. package/dist/chunks/{state-rn8gya25.js → rpc-ngmtte4a.js} +15 -15
  209. package/dist/chunks/{state-mjv5n8tk.js → rpc-nm0sy9f6.js} +8 -8
  210. package/dist/chunks/{state-m45ax9sm.js → rpc-nr0jgk0c.js} +12 -12
  211. package/dist/chunks/{state-44h5tttr.js → rpc-nzyhnfxz.js} +4 -4
  212. package/dist/chunks/{state-pb85prkd.js → rpc-p122gzsn.js} +21 -21
  213. package/dist/chunks/{state-cb61ev9t.js → rpc-pbjze27a.js} +9 -9
  214. package/dist/chunks/{state-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  215. package/dist/chunks/{state-pknna89w.js → rpc-pknna89w.js} +1 -1
  216. package/dist/chunks/{state-qgarqns8.js → rpc-pv6wngh8.js} +22 -22
  217. package/dist/chunks/{state-y76bxftd.js → rpc-pvjvcgyt.js} +3 -3
  218. package/dist/chunks/{state-9fgjxmjq.js → rpc-q15es7hk.js} +3 -3
  219. package/dist/chunks/{state-rwjbg2zx.js → rpc-q1j1w10e.js} +1 -1
  220. package/dist/chunks/{state-e1025wz1.js → rpc-q3j70ehj.js} +10 -10
  221. package/dist/chunks/{state-c8d35e4t.js → rpc-q4e7r1gk.js} +8 -8
  222. package/dist/chunks/{state-grayh0ey.js → rpc-q5wc9zqy.js} +148 -148
  223. package/dist/chunks/{state-637ve58x.js → rpc-q6gg60g3.js} +22 -22
  224. package/dist/chunks/{state-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  225. package/dist/chunks/{state-x4gw1wa9.js → rpc-r1y847zj.js} +25 -25
  226. package/dist/chunks/{state-t9zs3egg.js → rpc-r98e92ep.js} +4 -4
  227. package/dist/chunks/{state-3k1qem6j.js → rpc-rchfb3zm.js} +29 -29
  228. package/dist/chunks/{state-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{state-r8xr0va3.js → rpc-rhraev7y.js} +4 -4
  230. package/dist/chunks/{state-47dkewx0.js → rpc-s0kayve9.js} +1 -1
  231. package/dist/chunks/{state-bygnyd31.js → rpc-s14aebaz.js} +9 -9
  232. package/dist/chunks/{state-htv31ejh.js → rpc-s25j7sa8.js} +8 -8
  233. package/dist/chunks/{state-ny1ad2m1.js → rpc-s7d02tdr.js} +13 -13
  234. package/dist/chunks/{state-02nrjc1r.js → rpc-s8d7rejh.js} +8 -8
  235. package/dist/chunks/{state-28gfjavm.js → rpc-s8ew652h.js} +37 -37
  236. package/dist/chunks/{state-ywftqwgc.js → rpc-shqtd8bm.js} +11 -11
  237. package/dist/chunks/{state-h04cqsq0.js → rpc-sm965ndy.js} +8 -8
  238. package/dist/chunks/{state-tmydxb1c.js → rpc-sngngj6q.js} +13 -13
  239. package/dist/chunks/rpc-swdzmqd8.js +252 -0
  240. package/dist/chunks/{state-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{state-89znhe33.js → rpc-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{state-tdstcens.js → rpc-tdstcens.js} +1 -1
  243. package/dist/chunks/{state-fabg376z.js → rpc-thwc3zjr.js} +8 -8
  244. package/dist/chunks/{state-7etgy47j.js → rpc-tkkhtz5x.js} +33 -33
  245. package/dist/chunks/{state-2mgvx86f.js → rpc-tqyvsv6h.js} +12 -12
  246. package/dist/chunks/{state-m8369v3w.js → rpc-tvd1hgtw.js} +22 -22
  247. package/dist/chunks/{state-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  248. package/dist/chunks/{state-2eegacq4.js → rpc-tx9w5tca.js} +8 -8
  249. package/dist/chunks/{state-5n3fqch9.js → rpc-v38a5nex.js} +31 -31
  250. package/dist/chunks/{state-wsefyt7b.js → rpc-v5y0b5b2.js} +30 -30
  251. package/dist/chunks/{state-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  252. package/dist/chunks/{state-jcrq5sez.js → rpc-vmtbzx62.js} +48 -48
  253. package/dist/chunks/{state-sqy4ahhk.js → rpc-vtpkq4qf.js} +1 -1
  254. package/dist/chunks/{state-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{state-amam8yz4.js → rpc-w03nsw4g.js} +15 -15
  256. package/dist/chunks/{state-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{state-6ea2fwcg.js → rpc-w5zzhgd0.js} +6 -6
  258. package/dist/chunks/{state-wd3x2cqz.js → rpc-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{state-wd87259q.js → rpc-wd87259q.js} +1 -1
  260. package/dist/chunks/{state-7dvp74te.js → rpc-wre1cpa3.js} +43 -43
  261. package/dist/chunks/{state-h5af1y13.js → rpc-wrmrmykr.js} +3 -3
  262. package/dist/chunks/{state-kf4w80xf.js → rpc-x0hv9k81.js} +29 -29
  263. package/dist/chunks/{state-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{state-yqa1vtse.js → rpc-x2bsex3j.js} +26 -26
  265. package/dist/chunks/{state-xvf9q0q1.js → rpc-xafaaxyb.js} +9 -9
  266. package/dist/chunks/{state-9qxmhsjm.js → rpc-xapef9fq.js} +29 -29
  267. package/dist/chunks/{state-awh9tjk9.js → rpc-xc8dypjx.js} +37 -37
  268. package/dist/chunks/{state-mr1zhvpj.js → rpc-xebmkc4y.js} +16 -16
  269. package/dist/chunks/{state-drwq78ky.js → rpc-xfkkasph.js} +4 -4
  270. package/dist/chunks/{state-ky8gsdfr.js → rpc-xy57vw07.js} +32 -32
  271. package/dist/chunks/{state-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{state-jwcy2c2z.js → rpc-y71avatq.js} +4 -4
  273. package/dist/chunks/{state-78mm5kcz.js → rpc-y77ppgvr.js} +16 -16
  274. package/dist/chunks/{state-vngdvyz2.js → rpc-y7cmcpep.js} +33 -33
  275. package/dist/chunks/{state-9at5y6v8.js → rpc-yay1f6r3.js} +46 -46
  276. package/dist/chunks/{state-z72fcj4r.js → rpc-ybvgs859.js} +10 -10
  277. package/dist/chunks/{state-93k0x0x6.js → rpc-yh94qkne.js} +12 -12
  278. package/dist/chunks/{state-66kbxh8a.js → rpc-yqq29cey.js} +38 -38
  279. package/dist/chunks/{state-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{state-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  281. package/dist/chunks/{state-z07pqspn.js → rpc-z07pqspn.js} +3 -3
  282. package/dist/chunks/{state-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{state-4vdhrt56.js → rpc-z2j710pz.js} +1 -1
  284. package/dist/chunks/{state-7439sjwf.js → rpc-z53v8abx.js} +18 -18
  285. package/dist/chunks/{state-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  286. package/dist/chunks/{state-s7wccmgb.js → rpc-za5mq48x.js} +3 -3
  287. package/dist/chunks/{state-5jc5mgc2.js → rpc-zaj09kck.js} +56 -56
  288. package/dist/chunks/{state-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{state-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{state-f36kh4r4.js → rpc-zsz8dwdy.js} +9 -9
  291. package/dist/chunks/{state-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +83 -83
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +126 -126
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +76 -76
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +3 -3
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +227 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +76 -76
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +83 -83
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +82 -82
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +85 -85
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +104 -104
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +96 -96
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +107 -107
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  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 +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +4 -4
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +84 -84
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +92 -92
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +95 -95
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +124 -124
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  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 +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +114 -114
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +156 -156
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +220 -220
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +85 -85
  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 +125 -125
  640. package/dist/tool/plugin/edit.js +116 -116
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  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 +111 -111
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/state-1x11rq2a.js +0 -18
  701. package/dist/chunks/state-8212ntmz.js +0 -26
  702. package/dist/chunks/state-dntw82rz.js +0 -252
  703. package/dist/chunks/state-qapv375x.js +0 -4
  704. /package/dist/chunks/{state-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{state-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{state-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{state-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{state-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{state-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{state-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{state-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{state-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{state-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{state-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{state-3asan66x.js → rpc-3asan66x.js} +0 -0
  716. /package/dist/chunks/{state-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{state-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{state-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{state-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{state-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{state-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{state-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{state-53557ph1.js → rpc-53557ph1.js} +0 -0
  724. /package/dist/chunks/{state-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{state-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{state-6prwharc.js → rpc-6prwharc.js} +0 -0
  727. /package/dist/chunks/{state-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{state-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{state-822emrt2.js → rpc-822emrt2.js} +0 -0
  730. /package/dist/chunks/{state-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{state-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{state-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{state-922hggd3.js → rpc-922hggd3.js} +0 -0
  734. /package/dist/chunks/{state-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{state-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{state-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{state-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{state-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{state-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{state-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{state-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{state-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{state-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{state-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{state-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{state-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{state-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{state-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{state-df08tz66.js → rpc-df08tz66.js} +0 -0
  750. /package/dist/chunks/{state-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{state-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{state-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{state-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{state-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{state-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{state-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{state-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{state-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{state-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{state-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{state-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{state-g86h250q.js → rpc-g86h250q.js} +0 -0
  763. /package/dist/chunks/{state-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{state-gftt206x.js → rpc-gftt206x.js} +0 -0
  765. /package/dist/chunks/{state-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{state-hk9envan.js → rpc-hk9envan.js} +0 -0
  767. /package/dist/chunks/{state-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{state-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{state-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{state-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{state-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{state-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{state-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{state-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{state-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{state-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{state-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{state-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{state-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{state-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{state-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{state-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{state-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{state-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{state-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{state-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{state-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{state-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{state-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{state-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{state-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{state-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{state-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{state-x61499pn.js → rpc-x61499pn.js} +0 -0
  795. /package/dist/chunks/{state-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{state-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{state-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{state-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{state-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{state-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-ngynwwae.js";
4
+ } from "./rpc-k44eqy5v.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./state-ahmyyct8.js";
6
+ Service79,
7
+ node83
8
+ } from "./rpc-msprqtte.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service60,
13
- node63
14
- } from "./state-3k1qem6j.js";
12
+ Service68,
13
+ node72
14
+ } from "./rpc-rchfb3zm.js";
15
15
  import {
16
16
  ID15,
17
- Service76,
18
- node80
19
- } from "./state-cv7be8vd.js";
17
+ Service77,
18
+ node81
19
+ } from "./rpc-1jctj4g8.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./state-h5af1y13.js";
22
+ } from "./rpc-wrmrmykr.js";
23
23
  import {
24
24
  combine2
25
- } from "./state-02nrjc1r.js";
25
+ } from "./rpc-s8d7rejh.js";
26
26
  import {
27
27
  provenance2
28
- } from "./state-k9d40v1y.js";
28
+ } from "./rpc-kwrf6mrp.js";
29
29
  import {
30
30
  entriesForRunner2
31
- } from "./state-mjv5n8tk.js";
31
+ } from "./rpc-nm0sy9f6.js";
32
32
  import {
33
- Service74,
34
- node78
35
- } from "./state-71gtvxnv.js";
33
+ Service75,
34
+ node79
35
+ } from "./rpc-9gs2tt60.js";
36
36
  import {
37
37
  merge2
38
- } from "./state-9at5y6v8.js";
38
+ } from "./rpc-yay1f6r3.js";
39
39
  import {
40
- make13
41
- } from "./state-n828xn6h.js";
40
+ make14
41
+ } from "./rpc-ky6yw5g0.js";
42
42
  import {
43
- Service35,
44
- node38
45
- } from "./state-xcs63q7q.js";
43
+ Service43,
44
+ node46
45
+ } from "./rpc-fhwty967.js";
46
46
  import {
47
47
  Service23,
48
48
  node27
49
- } from "./state-9cymjy68.js";
49
+ } from "./rpc-dm9bazky.js";
50
50
  import {
51
- Service41,
52
- node44
53
- } from "./state-m8369v3w.js";
51
+ Service40,
52
+ node43
53
+ } from "./rpc-tvd1hgtw.js";
54
54
  import {
55
- Service22,
56
- node26
57
- } from "./state-d6qntx8f.js";
55
+ Service31,
56
+ node34
57
+ } from "./rpc-0dq61nf6.js";
58
58
  import {
59
- Service21,
60
- node25
61
- } from "./state-wb50tz6w.js";
59
+ Service25,
60
+ node29
61
+ } from "./rpc-cf0geb50.js";
62
62
  import {
63
- Service19,
64
- node23
65
- } from "./state-cjap92xg.js";
63
+ Service24,
64
+ node28
65
+ } from "./rpc-0z0pth9f.js";
66
66
  import {
67
- Service18,
68
- node22
69
- } from "./state-xhqa6gky.js";
67
+ Service26,
68
+ node30
69
+ } from "./rpc-errzdfzw.js";
70
70
  import {
71
- Service20,
72
- node24
73
- } from "./state-bm3xcdsh.js";
71
+ Service29,
72
+ node33
73
+ } from "./rpc-n9erb8yb.js";
74
74
  import {
75
- Service24,
76
- node28
77
- } from "./state-wsefyt7b.js";
75
+ Service27,
76
+ node31
77
+ } from "./rpc-v5y0b5b2.js";
78
78
  import {
79
- Service55,
80
- node58
81
- } from "./state-c84rynb7.js";
79
+ Service61,
80
+ node65
81
+ } from "./rpc-dsbva206.js";
82
82
  import {
83
83
  __export
84
- } from "./state-9rqn6x4v.js";
84
+ } from "./rpc-9rqn6x4v.js";
85
85
 
86
86
  // src/session/context.ts
87
87
  var exports_context = {};
88
88
  __export(exports_context, {
89
- Service: () => Service17,
89
+ Service: () => Service22,
90
90
  SessionContext: () => exports_context,
91
- node: () => node21
91
+ node: () => node26
92
92
  });
93
93
  import { Context, Effect, Layer } from "effect";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
- class Service17 extends Context.Service()("@opencode/SessionContext") {
95
+ class Service22 extends Context.Service()("@opencode/SessionContext") {
96
96
  }
97
- var layer = Layer.effect(Service17, Effect.gen(function* () {
98
- const agents = yield* Service76;
97
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
98
+ const agents = yield* Service77;
99
99
  const builtins = yield* Service23;
100
- const model = yield* Service60;
100
+ const model = yield* Service68;
101
101
  const db = (yield* Service84).db;
102
- const discovery = yield* Service35;
103
- const entries = yield* Service20;
104
- const location = yield* Service78;
105
- const mcpInstructions = yield* Service21;
106
- const mcpTools = yield* Service22;
107
- const models = yield* Service55;
108
- const request = yield* Service24;
109
- const referenceInstructions = yield* Service19;
110
- const skillInstructions = yield* Service18;
111
- const store = yield* Service74;
112
- const registry = yield* Service41;
102
+ const discovery = yield* Service43;
103
+ const entries = yield* Service29;
104
+ const location = yield* Service79;
105
+ const mcpInstructions = yield* Service25;
106
+ const mcpTools = yield* Service31;
107
+ const models = yield* Service61;
108
+ const request = yield* Service27;
109
+ const referenceInstructions = yield* Service24;
110
+ const skillInstructions = yield* Service26;
111
+ const store = yield* Service75;
112
+ const registry = yield* Service40;
113
113
  const resolveModel = (session) => models.resolve(session, model.available);
114
114
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
115
115
  const agent = yield* agents.get(ID15.make("title"));
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
166
166
  agent: { ...agent, info: agent.info },
167
167
  instructions: combine2([
168
168
  loaded.builtins,
169
- make13(loaded.tools.codeModeCatalog),
169
+ make14(loaded.tools.codeModeCatalog),
170
170
  loaded.discovery,
171
171
  loaded.skills,
172
172
  loaded.references,
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
188
188
  tools: selection.tools
189
189
  };
190
190
  });
191
- return Service17.of({ select, load, resolveModel, selectTitle, request });
191
+ return Service22.of({ select, load, resolveModel, selectTitle, request });
192
192
  }));
193
193
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
194
- var node21 = makeLocationNode({
195
- service: Service17,
194
+ var node26 = makeLocationNode({
195
+ service: Service22,
196
196
  layer,
197
197
  deps: [
198
- node80,
199
- node63,
198
+ node81,
199
+ node72,
200
200
  node88,
201
201
  node27,
202
- node38,
203
- node24,
204
- node82,
205
- node25,
206
- node26,
207
- node23,
208
- node58,
202
+ node46,
203
+ node33,
204
+ node83,
205
+ node29,
206
+ node34,
209
207
  node28,
210
- node78,
211
- node22,
212
- node44
208
+ node65,
209
+ node31,
210
+ node79,
211
+ node30,
212
+ node43
213
213
  ]
214
214
  });
215
215
 
216
- export { Service17, node21, exports_context };
216
+ export { Service22, node26, exports_context };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service32,
3
- node35
4
- } from "./state-qgarqns8.js";
2
+ Service56,
3
+ node61
4
+ } from "./rpc-pv6wngh8.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./state-ahmyyct8.js";
6
+ Service79,
7
+ node83
8
+ } from "./rpc-msprqtte.js";
9
9
  import {
10
- Service31,
11
- node34
12
- } from "./state-dhepbqcv.js";
10
+ Service55,
11
+ node60
12
+ } from "./rpc-46k4wjq4.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./state-zxq2ej10.js";
16
+ } from "./rpc-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service2,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer4,
28
+ node: () => node3
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service31;
40
- const watcher = yield* Service32;
38
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
+ const config = yield* Service55;
40
+ const watcher = yield* Service56;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service79;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service2.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node34, FSUtil.node, node35, node82]
73
+ var node3 = makeLocationNode({
74
+ service: Service2,
75
+ layer: layer4,
76
+ deps: [node60, FSUtil.node, node61, node83]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service2,
80
+ layer: Layer.succeed(Service2, Service2.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service2, layer4, node3, empty2, exports_source };
@@ -1,48 +1,48 @@
1
- import {
2
- Service81
3
- } from "./state-93k0x0x6.js";
4
1
  import {
5
2
  Service83
6
- } from "./state-h8djq146.js";
3
+ } from "./rpc-yh94qkne.js";
4
+ import {
5
+ Service67
6
+ } from "./rpc-am8bfw19.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./state-rdw6cm16.js";
12
+ } from "./rpc-rdw6cm16.js";
13
13
  import {
14
- Service27,
14
+ Service30,
15
15
  awaitActivation2
16
- } from "./state-1x11rq2a.js";
16
+ } from "./rpc-9zdhvgqs.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./state-grayh0ey.js";
21
+ } from "./rpc-q5wc9zqy.js";
22
22
  import {
23
23
  __export
24
- } from "./state-9rqn6x4v.js";
24
+ } from "./rpc-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event2,
30
- ID: () => ID2,
31
- Info: () => Info2,
29
+ Event: () => Event3,
30
+ ID: () => ID3,
31
+ Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service27,
33
+ Service: () => Service30,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node15
37
+ node: () => node18
38
38
  });
39
- import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service27, Effect.gen(function* () {
44
- const bus = yield* Service81;
45
- const kv = yield* Service83;
43
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
44
+ const bus = yield* Service83;
45
+ const kv = yield* Service67;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service27.of({
208
+ return Service30.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node15 = Node.makeLocationNode({
226
- service: Service27,
225
+ var node18 = Node.makeLocationNode({
226
+ service: Service30,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node15, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
231
+ export { node18, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-e1025wz1.js";
3
+ } from "./rpc-q3j70ehj.js";
4
4
  import {
5
- Service81
6
- } from "./state-93k0x0x6.js";
5
+ Service83
6
+ } from "./rpc-yh94qkne.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service70
11
- } from "./state-5vcxbet6.js";
9
+ Event21,
10
+ Service82
11
+ } from "./rpc-efwhay1c.js";
12
12
  import {
13
13
  ID10,
14
14
  MethodID2,
15
- Service69
16
- } from "./state-grep4bve.js";
15
+ Service70
16
+ } from "./rpc-d97bw4yj.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./state-pjvnvgmy.js";
20
+ } from "./rpc-pjvnvgmy.js";
21
21
  import {
22
22
  ID9
23
- } from "./state-x4gw1wa9.js";
23
+ } from "./rpc-r1y847zj.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./state-kdgwstet.js";
26
+ } from "./rpc-g6em6shv.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service70;
57
- const integrations = yield* Service69;
58
- const bus = yield* Service81;
56
+ const credentials = yield* Service82;
57
+ const integrations = yield* Service70;
58
+ const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
- Service78
6
- } from "./state-ahmyyct8.js";
5
+ Service79
6
+ } from "./rpc-msprqtte.js";
7
7
  import {
8
- Service72
9
- } from "./state-dwfbq0zf.js";
8
+ Service73
9
+ } from "./rpc-7nrcjxnb.js";
10
10
  import {
11
- Service5
12
- } from "./state-1hy6stnx.js";
11
+ Service11
12
+ } from "./rpc-6e0fs51c.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./state-2a5m3afh.js";
15
+ } from "./rpc-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service6
27
- } from "./state-rn8gya25.js";
26
+ Service12
27
+ } from "./rpc-ngmtte4a.js";
28
28
  import {
29
29
  __export
30
- } from "./state-9rqn6x4v.js";
30
+ } from "./rpc-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input11,
36
- Plugin: () => Plugin14,
35
+ Input: () => Input3,
36
+ Plugin: () => Plugin38,
37
37
  ReadTool: () => exports_read,
38
- name: () => name11,
39
- toModelContent: () => toModelContent5
38
+ name: () => name3,
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name11 = "read";
45
+ var name3 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input11 = LocationInput;
56
+ var Input3 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin14 = {
58
+ var Plugin38 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service6;
62
- const access = yield* Service72;
63
- const sessionInstructions = yield* Service5;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service73;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service78;
65
+ const location = yield* Service79;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name11,
67
+ name: name3,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input11,
70
+ input: Input3,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin14 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent5(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent5 = (path, offset, output) => {
148
+ var toModelContent2 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent5 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name11, Input11, Plugin14, toModelContent5, exports_read };
184
+ export { name3, Input3, Plugin38, toModelContent2, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};