@opencode/core 0.0.0-dev-19561 → 0.0.0-dev-19563

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{app-21spz6s2.js → rpc-04mfqke3.js} +3 -3
  9. package/dist/chunks/{app-zzn8fca5.js → rpc-04rqewrt.js} +5 -5
  10. package/dist/chunks/{app-2v2p0zkw.js → rpc-09d6vmh1.js} +9 -9
  11. package/dist/chunks/{app-yt5vak3w.js → rpc-0mvp0mh7.js} +24 -24
  12. package/dist/chunks/{app-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{app-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{app-qrr9kfam.js → rpc-0w5xhpes.js} +20 -20
  15. package/dist/chunks/{app-rph3zd4r.js → rpc-15zevn5w.js} +6 -6
  16. package/dist/chunks/{app-kaph4dp2.js → rpc-16fh04ec.js} +18 -18
  17. package/dist/chunks/{app-sbvg55hg.js → rpc-16ryaddz.js} +13 -13
  18. package/dist/chunks/{app-f2n192rq.js → rpc-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{app-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{app-7039s2ae.js → rpc-1js01x30.js} +34 -34
  21. package/dist/chunks/{app-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
  22. package/dist/chunks/{app-eymr46he.js → rpc-1zjf9yvn.js} +37 -37
  23. package/dist/chunks/{app-21r38tys.js → rpc-21r38tys.js} +1 -1
  24. package/dist/chunks/{app-ctzssw83.js → rpc-2336b01z.js} +8 -8
  25. package/dist/chunks/{app-wavq5vqb.js → rpc-24zysf4r.js} +1 -1
  26. package/dist/chunks/{app-8mv32mqt.js → rpc-286te107.js} +51 -51
  27. package/dist/chunks/{app-r1wvay4d.js → rpc-29ykcmqg.js} +55 -55
  28. package/dist/chunks/{app-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{app-3p1t101e.js → rpc-2gq7g35w.js} +10 -10
  30. package/dist/chunks/{app-as64xgvx.js → rpc-2gvej5bs.js} +22 -22
  31. package/dist/chunks/{app-1f9kgyzc.js → rpc-2pfz77pe.js} +28 -28
  32. package/dist/chunks/{app-3aabf6yx.js → rpc-37m66rke.js} +19 -19
  33. package/dist/chunks/{app-3n9gdh1k.js → rpc-3ard968h.js} +15 -15
  34. package/dist/chunks/{app-pbfzwbsy.js → rpc-3cg5qkzz.js} +13 -13
  35. package/dist/chunks/{app-99xay3p1.js → rpc-3cwb9jzf.js} +8 -8
  36. package/dist/chunks/{app-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{app-xaxvdqwz.js → rpc-3h752403.js} +19 -19
  38. package/dist/chunks/{app-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{app-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{app-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{app-mz6ae2yf.js → rpc-3ztdxds0.js} +1 -1
  42. package/dist/chunks/{app-9y8671sk.js → rpc-41f61ev5.js} +11 -11
  43. package/dist/chunks/{app-y598pph1.js → rpc-46t3hpnf.js} +11 -11
  44. package/dist/chunks/{app-jhvcngzp.js → rpc-49mee5h8.js} +17 -17
  45. package/dist/chunks/{app-bb47nq2s.js → rpc-4aqwh667.js} +18 -18
  46. package/dist/chunks/{app-k91vn9qt.js → rpc-4gbc8xkz.js} +13 -13
  47. package/dist/chunks/{app-a2re09g1.js → rpc-4hct64pd.js} +24 -24
  48. package/dist/chunks/{app-79by68xe.js → rpc-4jmdj23e.js} +9 -9
  49. package/dist/chunks/{app-djhgwtj8.js → rpc-4jyw83yv.js} +7 -7
  50. package/dist/chunks/{app-30c1nq7z.js → rpc-4ns3h2re.js} +6 -6
  51. package/dist/chunks/rpc-4s989epk.js +247 -0
  52. package/dist/chunks/{app-heqg70k2.js → rpc-4ssmbb9f.js} +20 -20
  53. package/dist/chunks/{app-e3mxans8.js → rpc-4xbskmpe.js} +5 -5
  54. package/dist/chunks/{app-fen7mw99.js → rpc-4xr4bg31.js} +8 -8
  55. package/dist/chunks/{app-219neeqh.js → rpc-500m5zw2.js} +5 -5
  56. package/dist/chunks/{app-0pb75hch.js → rpc-524b8jaz.js} +5 -5
  57. package/dist/chunks/{app-4tgepgz2.js → rpc-56s2cdtz.js} +38 -38
  58. package/dist/chunks/{app-5c4hm403.js → rpc-5c4hm403.js} +3 -3
  59. package/dist/chunks/{app-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  60. package/dist/chunks/{app-v2f6dcv3.js → rpc-5frpvc34.js} +2 -2
  61. package/dist/chunks/{app-nyzamb02.js → rpc-5pbbnjst.js} +18 -18
  62. package/dist/chunks/{app-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{app-0bed1fzj.js → rpc-5tstk5gw.js} +17 -17
  64. package/dist/chunks/{app-wmsmh04t.js → rpc-5vsdfptq.js} +1 -1
  65. package/dist/chunks/{app-bpccfqd3.js → rpc-5x59cjg9.js} +12 -12
  66. package/dist/chunks/{app-t29fdsch.js → rpc-5za0zb7s.js} +30 -30
  67. package/dist/chunks/{app-2k8khapm.js → rpc-607tc6va.js} +5 -5
  68. package/dist/chunks/{app-kragzxm7.js → rpc-645wt9kv.js} +8 -8
  69. package/dist/chunks/{app-knb92ksz.js → rpc-65h43r7m.js} +9 -9
  70. package/dist/chunks/{app-669tq793.js → rpc-669tq793.js} +1 -1
  71. package/dist/chunks/rpc-68fqf9yb.js +4 -0
  72. package/dist/chunks/{app-6h73sxmp.js → rpc-6h73sxmp.js} +1 -1
  73. package/dist/chunks/{app-4m51zt69.js → rpc-6hdhgy3w.js} +6 -6
  74. package/dist/chunks/{app-99sec61k.js → rpc-6kjxaxcs.js} +9 -9
  75. package/dist/chunks/{app-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{app-sgr3arpp.js → rpc-6pdgntxq.js} +41 -41
  77. package/dist/chunks/{app-4xqwm4r2.js → rpc-6sf48m2m.js} +14 -14
  78. package/dist/chunks/{app-b6tnvp33.js → rpc-6wbdxn87.js} +15 -15
  79. package/dist/chunks/{app-71q4at8m.js → rpc-71q4at8m.js} +1 -1
  80. package/dist/chunks/{app-ngybnnec.js → rpc-720ed7zc.js} +42 -42
  81. package/dist/chunks/{app-9v3m3k6g.js → rpc-72cpxe3g.js} +9 -9
  82. package/dist/chunks/{app-1bbkgx8g.js → rpc-73tb2d7t.js} +3 -3
  83. package/dist/chunks/{app-z436s2b4.js → rpc-78qgck3m.js} +12 -12
  84. package/dist/chunks/{app-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{app-ee0f5b90.js → rpc-7etsmvw3.js} +11 -11
  86. package/dist/chunks/{app-t7scepzc.js → rpc-7jdjd6ea.js} +32 -32
  87. package/dist/chunks/{app-k8f4e1q1.js → rpc-7jjvc4sd.js} +15 -15
  88. package/dist/chunks/{app-wmwr0kv0.js → rpc-7k1v1939.js} +25 -30
  89. package/dist/chunks/{app-c5gn303e.js → rpc-7z7az0f5.js} +4 -4
  90. package/dist/chunks/{app-1hc11dc4.js → rpc-81czwxpn.js} +4 -4
  91. package/dist/chunks/{app-tcezcvh9.js → rpc-89znhe33.js} +4 -4
  92. package/dist/chunks/{app-0zeytkd6.js → rpc-8cmvxv2n.js} +5 -5
  93. package/dist/chunks/{app-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{app-q4fmv0xv.js → rpc-8dff8bqa.js} +5 -5
  95. package/dist/chunks/{app-3p827y1v.js → rpc-8fbcvdxz.js} +18 -18
  96. package/dist/chunks/{app-9vs0xtad.js → rpc-8q7cq0y1.js} +3 -3
  97. package/dist/chunks/{app-s0j1fbfd.js → rpc-8tgg60xp.js} +4 -4
  98. package/dist/chunks/{app-3qamp8r0.js → rpc-900rp600.js} +24 -24
  99. package/dist/chunks/{app-tf7xy0nv.js → rpc-919kr58w.js} +15 -15
  100. package/dist/chunks/{app-ysancpsm.js → rpc-9fvtqfah.js} +33 -33
  101. package/dist/chunks/{app-dwkgsnj0.js → rpc-9nbg9rgn.js} +306 -302
  102. package/dist/chunks/{app-k6qndfad.js → rpc-9pa4pdaw.js} +28 -28
  103. package/dist/chunks/{app-mc3s7fb4.js → rpc-9qxv0saq.js} +47 -47
  104. package/dist/chunks/{app-pezvt5x4.js → rpc-9tp6rg03.js} +70 -70
  105. package/dist/chunks/{app-ysp9ar34.js → rpc-9vqpc88m.js} +31 -31
  106. package/dist/chunks/{app-pkaeh3jp.js → rpc-9zvw9xqf.js} +11 -11
  107. package/dist/chunks/{app-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  108. package/dist/chunks/{app-s1w7wtw7.js → rpc-adgw0vx1.js} +20 -20
  109. package/dist/chunks/{app-7g1vzt8j.js → rpc-ak9cgfv8.js} +35 -35
  110. package/dist/chunks/{app-tnpb702e.js → rpc-an5xxpg3.js} +18 -18
  111. package/dist/chunks/{app-p1yhy00c.js → rpc-aq925jnm.js} +15 -15
  112. package/dist/chunks/{app-265kqrgy.js → rpc-as02qwds.js} +1 -1
  113. package/dist/chunks/{app-7bt1mwkz.js → rpc-at188k7x.js} +32 -32
  114. package/dist/chunks/{app-0nwgmm4h.js → rpc-awbdwcvp.js} +7 -7
  115. package/dist/chunks/{app-qtfeymnv.js → rpc-awy0m2ht.js} +7 -7
  116. package/dist/chunks/{app-j6kg5r8z.js → rpc-azwf31fh.js} +11 -11
  117. package/dist/chunks/{app-ndqtf2h8.js → rpc-b0awdqvx.js} +9 -9
  118. package/dist/chunks/{app-xrefmav4.js → rpc-b3wv5y56.js} +4 -4
  119. package/dist/chunks/{app-z263g23a.js → rpc-b5xr9r4a.js} +4 -4
  120. package/dist/chunks/{app-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{app-kpvyk30t.js → rpc-b8b3f19r.js} +9 -9
  122. package/dist/chunks/{app-e5nv3ght.js → rpc-bndc73cn.js} +5 -5
  123. package/dist/chunks/{app-gq1a1j0q.js → rpc-bqttd0y0.js} +29 -29
  124. package/dist/chunks/{app-kv3ch0es.js → rpc-c0qvan2f.js} +67 -115
  125. package/dist/chunks/{app-xaq2s33m.js → rpc-c14aw737.js} +18 -18
  126. package/dist/chunks/{app-z01ksdxp.js → rpc-c2z3ng5v.js} +23 -23
  127. package/dist/chunks/{app-j92hx5ks.js → rpc-czfakrh3.js} +5 -5
  128. package/dist/chunks/{app-te6cpsjw.js → rpc-d11nd7zh.js} +4 -4
  129. package/dist/chunks/{app-2s388hy2.js → rpc-d4wz6bh8.js} +22 -22
  130. package/dist/chunks/{app-d08jv58j.js → rpc-dbekd7wq.js} +19 -19
  131. package/dist/chunks/{app-dj2t23y0.js → rpc-dj2t23y0.js} +2 -2
  132. package/dist/chunks/{app-yk9xxxbm.js → rpc-dnz2amen.js} +16 -16
  133. package/dist/chunks/{app-y71avatq.js → rpc-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{app-2e9kmw2e.js → rpc-dq8t8fv9.js} +8 -8
  135. package/dist/chunks/{app-v0vna0hr.js → rpc-e171vef2.js} +32 -32
  136. package/dist/chunks/{app-zhmtbbwy.js → rpc-e2vkambt.js} +21 -21
  137. package/dist/chunks/{app-jc17n9gv.js → rpc-e4mg6za6.js} +27 -27
  138. package/dist/chunks/{app-dpcg14ab.js → rpc-e7dhmq2r.js} +45 -45
  139. package/dist/chunks/{app-3z9f67a4.js → rpc-eac5h0qb.js} +27 -27
  140. package/dist/chunks/{app-y47n03xn.js → rpc-ecstd3x3.js} +19 -19
  141. package/dist/chunks/{app-ds9cym46.js → rpc-egrr39fs.js} +6 -6
  142. package/dist/chunks/{app-h86eetsm.js → rpc-ekej3swh.js} +13 -13
  143. package/dist/chunks/{app-jvf3yq6v.js → rpc-embw8kgh.js} +4 -4
  144. package/dist/chunks/{app-4s7s6hns.js → rpc-ensxwhj5.js} +16 -16
  145. package/dist/chunks/{app-xfd3m1ss.js → rpc-ep0qqy8y.js} +9 -9
  146. package/dist/chunks/{app-nv5vn7qx.js → rpc-eraanh1f.js} +6 -6
  147. package/dist/chunks/{app-gpsmm3ta.js → rpc-et9a5mt7.js} +26 -26
  148. package/dist/chunks/{app-4xd8swbf.js → rpc-etjfar9p.js} +11 -11
  149. package/dist/chunks/{app-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  150. package/dist/chunks/{app-axqjetvy.js → rpc-evc8ed70.js} +28 -28
  151. package/dist/chunks/{app-488jmg72.js → rpc-ezv1a6xh.js} +6 -6
  152. package/dist/chunks/{app-b99ewpxx.js → rpc-f04pyqpn.js} +11 -11
  153. package/dist/chunks/{app-4c7t2hb3.js → rpc-f2kyhx0b.js} +9 -9
  154. package/dist/chunks/{app-7jf3rx6v.js → rpc-f5paykxm.js} +13 -13
  155. package/dist/chunks/{app-7x2xfc77.js → rpc-f7bvpx2e.js} +11 -11
  156. package/dist/chunks/{app-nk310e7d.js → rpc-fb3dn1g4.js} +10 -10
  157. package/dist/chunks/{app-4ske52ay.js → rpc-fbprdydg.js} +4 -4
  158. package/dist/chunks/{app-qkk52kd6.js → rpc-fe21mgs2.js} +2 -2
  159. package/dist/chunks/{app-nfbtqdky.js → rpc-fhq59srp.js} +30 -30
  160. package/dist/chunks/rpc-fka8kn59.js +26 -0
  161. package/dist/chunks/{app-9wgnr44e.js → rpc-fkgz1789.js} +8 -8
  162. package/dist/chunks/{app-ebk5y3wp.js → rpc-fve14tsv.js} +12 -12
  163. package/dist/chunks/{app-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
  164. package/dist/chunks/{app-wafhz9z5.js → rpc-gbtk5xpy.js} +16 -16
  165. package/dist/chunks/{app-z5ptqwzc.js → rpc-gd1sanb3.js} +33 -33
  166. package/dist/chunks/{app-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  167. package/dist/chunks/{app-f6h44vt5.js → rpc-ghtm10aa.js} +6 -6
  168. package/dist/chunks/{app-dd52qhkk.js → rpc-gmt7v2f0.js} +26 -26
  169. package/dist/chunks/{app-5msnf33t.js → rpc-gnqpece3.js} +27 -27
  170. package/dist/chunks/{app-6fmew5e2.js → rpc-gsepd1qv.js} +13 -13
  171. package/dist/chunks/{app-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
  172. package/dist/chunks/{app-0yxmk81s.js → rpc-h2hjeshg.js} +28 -28
  173. package/dist/chunks/{app-hax2xkfs.js → rpc-h2kayq98.js} +6 -6
  174. package/dist/chunks/{app-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  175. package/dist/chunks/{app-hdnk95c8.js → rpc-hdnk95c8.js} +2 -2
  176. package/dist/chunks/{app-tqkfp8mb.js → rpc-hgk9zqwm.js} +23 -23
  177. package/dist/chunks/{app-rs3tpxgz.js → rpc-hrb636hh.js} +11 -11
  178. package/dist/chunks/{app-p1wf2k30.js → rpc-hrvd6t1f.js} +9 -9
  179. package/dist/chunks/{app-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  180. package/dist/chunks/{app-gnz55c53.js → rpc-j6tr09r7.js} +36 -36
  181. package/dist/chunks/{app-cbxv00zf.js → rpc-jada9zq5.js} +5 -5
  182. package/dist/chunks/{app-z88hp0aa.js → rpc-jkttvqfz.js} +4 -4
  183. package/dist/chunks/{app-2c0gfpva.js → rpc-jyd6wsh8.js} +11 -11
  184. package/dist/chunks/{app-t1wwgba0.js → rpc-jyes105x.js} +26 -26
  185. package/dist/chunks/{app-n863r4pp.js → rpc-jz2xfere.js} +37 -37
  186. package/dist/chunks/{app-xg6w0apm.js → rpc-k4ar8njc.js} +47 -47
  187. package/dist/chunks/{app-70d2s7af.js → rpc-k6vfasqn.js} +1 -1
  188. package/dist/chunks/{app-5z426dhq.js → rpc-k9h47z0e.js} +11 -11
  189. package/dist/chunks/{app-cvtmmhw6.js → rpc-kd92mjtq.js} +1 -1
  190. package/dist/chunks/{app-962tx2qa.js → rpc-keedsq9y.js} +22 -22
  191. package/dist/chunks/{app-kg06axw8.js → rpc-kg06axw8.js} +1 -1
  192. package/dist/chunks/{app-zjxmyx9h.js → rpc-kkxr41sk.js} +18 -18
  193. package/dist/chunks/{app-h4wmnrav.js → rpc-kvh0q0w5.js} +27 -27
  194. package/dist/chunks/{app-1e7h8b71.js → rpc-m060z7eb.js} +16 -16
  195. package/dist/chunks/{app-m0jqrx5p.js → rpc-m0jqrx5p.js} +2 -2
  196. package/dist/chunks/{app-g1ww8e3f.js → rpc-m5j6zs5f.js} +15 -15
  197. package/dist/chunks/{app-4fgsg95c.js → rpc-m7y1vdp5.js} +20 -20
  198. package/dist/chunks/{app-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  199. package/dist/chunks/{app-qj8eh1ht.js → rpc-magykp64.js} +4 -4
  200. package/dist/chunks/{app-q0g9019d.js → rpc-mc7c43gw.js} +26 -26
  201. package/dist/chunks/{app-6ytr2r1k.js → rpc-mkf7r8vc.js} +5 -5
  202. package/dist/chunks/{app-y8j74zyv.js → rpc-mpjjaxhm.js} +10 -10
  203. package/dist/chunks/{app-qrv0hc0e.js → rpc-mqqw7r41.js} +10 -10
  204. package/dist/chunks/{app-grskzymy.js → rpc-n1abx18w.js} +6 -6
  205. package/dist/chunks/{app-d1r29v35.js → rpc-n8pzc7q0.js} +5 -5
  206. package/dist/chunks/{app-nhy5jxhy.js → rpc-nhy5jxhy.js} +1 -1
  207. package/dist/chunks/{app-vcjpx2p6.js → rpc-njqd2r1p.js} +60 -60
  208. package/dist/chunks/{app-ez7tesda.js → rpc-p4zt19y4.js} +11 -11
  209. package/dist/chunks/rpc-pfhnemj1.js +76 -0
  210. package/dist/chunks/{app-sgvj2xz6.js → rpc-pg92xra1.js} +22 -22
  211. package/dist/chunks/{app-kcw8n58a.js → rpc-phrpww5q.js} +6 -6
  212. package/dist/chunks/{app-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{app-79a0b5rg.js → rpc-pkcwckcb.js} +97 -97
  214. package/dist/chunks/{app-pknna89w.js → rpc-pknna89w.js} +1 -1
  215. package/dist/chunks/{app-j8v4na37.js → rpc-q5zm5rbh.js} +173 -173
  216. package/dist/chunks/{app-q8qja58b.js → rpc-q8qja58b.js} +2 -2
  217. package/dist/chunks/{app-e7eq38wk.js → rpc-qc9m528a.js} +9 -9
  218. package/dist/chunks/{app-b3f68z6w.js → rpc-qra50pcy.js} +6 -6
  219. package/dist/chunks/{app-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  220. package/dist/chunks/{app-nx7mgqwr.js → rpc-qzfy2ng8.js} +17 -17
  221. package/dist/chunks/{app-r9mregkx.js → rpc-r9mregkx.js} +2 -2
  222. package/dist/chunks/{app-1wnf822w.js → rpc-ra10epn0.js} +4 -4
  223. package/dist/chunks/{app-95fq9yxk.js → rpc-rq0td61g.js} +10 -10
  224. package/dist/chunks/{app-rq775frq.js → rpc-rq775frq.js} +2 -2
  225. package/dist/chunks/{app-1a0mjceb.js → rpc-s3be4ryk.js} +22 -22
  226. package/dist/chunks/{app-7bdqzs13.js → rpc-s51qhtww.js} +32 -32
  227. package/dist/chunks/{app-r0mcpz4e.js → rpc-s6q7j8c1.js} +10 -10
  228. package/dist/chunks/{app-4vf9gwg8.js → rpc-sdbkfcvv.js} +4 -4
  229. package/dist/chunks/{app-j83byb14.js → rpc-sx1n432n.js} +4 -4
  230. package/dist/chunks/{app-6hh8tjw2.js → rpc-sxz6gkc3.js} +5 -5
  231. package/dist/chunks/{app-0ayjakrc.js → rpc-t04z7qz2.js} +53 -53
  232. package/dist/chunks/{app-kkgs1rnq.js → rpc-t0nby5tn.js} +13 -13
  233. package/dist/chunks/{app-dx9cm0t0.js → rpc-t4dwhhvw.js} +17 -17
  234. package/dist/chunks/{app-eaj1djv9.js → rpc-t550f9t1.js} +8 -8
  235. package/dist/chunks/{app-35wynegs.js → rpc-t97x3sry.js} +2 -2
  236. package/dist/chunks/{app-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{app-tdstcens.js → rpc-tdstcens.js} +1 -1
  238. package/dist/chunks/{app-e5teavnc.js → rpc-tfpzm518.js} +9 -9
  239. package/dist/chunks/{app-d9yh24m3.js → rpc-tkptyfyx.js} +43 -43
  240. package/dist/chunks/{app-p9bng2jk.js → rpc-ttmwpwhe.js} +24 -24
  241. package/dist/chunks/{app-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  242. package/dist/chunks/{app-8am9vma6.js → rpc-v30ysbtp.js} +24 -24
  243. package/dist/chunks/{app-drhmh129.js → rpc-v4hh8mmn.js} +93 -93
  244. package/dist/chunks/{app-ff0htmxq.js → rpc-v8jfbz3g.js} +6 -6
  245. package/dist/chunks/{app-c25j16b6.js → rpc-v95aebz8.js} +18 -18
  246. package/dist/chunks/{app-r3ft6425.js → rpc-vaz4vjgg.js} +25 -25
  247. package/dist/chunks/{app-3f1qtj92.js → rpc-vbpsb3q0.js} +6 -6
  248. package/dist/chunks/{app-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  249. package/dist/chunks/{app-0c36z3qz.js → rpc-vhkqx8kk.js} +11 -11
  250. package/dist/chunks/{app-mkw2wvv0.js → rpc-vkd6hz7d.js} +16 -16
  251. package/dist/chunks/{app-wjbb3v96.js → rpc-vn9kcpf2.js} +4 -4
  252. package/dist/chunks/rpc-vnkjks7b.js +18 -0
  253. package/dist/chunks/{app-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{app-qs7kc60q.js → rpc-w0r53wm9.js} +8 -8
  255. package/dist/chunks/{app-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{app-1mt2ceq3.js → rpc-w6393bmh.js} +7 -7
  257. package/dist/chunks/{app-wd87259q.js → rpc-wd87259q.js} +1 -1
  258. package/dist/chunks/{app-ymk0y6rr.js → rpc-wegwrt47.js} +30 -30
  259. package/dist/chunks/{app-9s9rwn5z.js → rpc-why2nj5b.js} +5 -5
  260. package/dist/chunks/{app-2k6rfqm0.js → rpc-wm96jmrs.js} +37 -37
  261. package/dist/chunks/{app-5fasnjbz.js → rpc-wq9p3fvr.js} +16 -16
  262. package/dist/chunks/{app-mew188h6.js → rpc-wtzvqa7t.js} +32 -32
  263. package/dist/chunks/{app-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{app-kcvdw7hq.js → rpc-x2ec7fj2.js} +21 -21
  265. package/dist/chunks/{app-844ef7ks.js → rpc-x3et2xth.js} +8 -8
  266. package/dist/chunks/{app-xhgrbxjr.js → rpc-x3ry4399.js} +29 -29
  267. package/dist/chunks/{app-815rpf75.js → rpc-x4az3p4k.js} +20 -20
  268. package/dist/chunks/{app-33n3bzdy.js → rpc-xjk8cg32.js} +6 -6
  269. package/dist/chunks/{app-h9dy7g3k.js → rpc-xwk582wh.js} +29 -29
  270. package/dist/chunks/{app-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{app-0artwwxx.js → rpc-y3gka0kp.js} +3 -3
  272. package/dist/chunks/{app-v4tagf9s.js → rpc-y5gmhs7b.js} +4 -4
  273. package/dist/chunks/{app-e5batswc.js → rpc-ybj7n8sc.js} +23 -23
  274. package/dist/chunks/{app-tb89zjsd.js → rpc-yjtcv9b8.js} +5 -5
  275. package/dist/chunks/{app-zc923k6h.js → rpc-ymcp9qdd.js} +31 -31
  276. package/dist/chunks/{app-btxxvpyy.js → rpc-yn742pxh.js} +12 -12
  277. package/dist/chunks/{app-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{app-3q9crshv.js → rpc-yrxgw5z8.js} +1 -1
  279. package/dist/chunks/{app-yrznvahk.js → rpc-yrznvahk.js} +2 -2
  280. package/dist/chunks/{app-19d3sct9.js → rpc-yyb7tjpc.js} +5 -5
  281. package/dist/chunks/{app-m44y384t.js → rpc-z05rcarj.js} +11 -11
  282. package/dist/chunks/{app-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{app-z63w68vq.js → rpc-z63w68vq.js} +2 -2
  284. package/dist/chunks/{app-wp14g9ps.js → rpc-zctxc6dq.js} +30 -30
  285. package/dist/chunks/{app-13yh26v0.js → rpc-zdmpy1w1.js} +18 -18
  286. package/dist/chunks/{app-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{app-8de9g2wa.js → rpc-zsdfvbwd.js} +8 -8
  288. package/dist/chunks/{app-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{app-v0rnkkan.js → rpc-zy7p2nkg.js} +25 -25
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +119 -119
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +157 -157
  300. package/dist/config/plugin/compatibility.js +140 -0
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +119 -119
  303. package/dist/config/plugin/image.js +117 -117
  304. package/dist/config/plugin/instruction.js +87 -87
  305. package/dist/config/plugin/location-watcher.js +117 -117
  306. package/dist/config/plugin/mcp.js +128 -128
  307. package/dist/config/plugin/policy.js +116 -116
  308. package/dist/config/plugin/provider.js +115 -115
  309. package/dist/config/plugin/reference.js +119 -119
  310. package/dist/config/plugin/shell.js +118 -118
  311. package/dist/config/plugin/skill-file.js +99 -99
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +117 -117
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +119 -119
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +120 -120
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +69 -69
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +364 -363
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +90 -90
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +101 -101
  413. package/dist/file-mutation.js +91 -91
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +222 -222
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +101 -101
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +106 -106
  428. package/dist/form.js +83 -83
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +94 -94
  432. package/dist/git.js +8 -8
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +3 -3
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +355 -354
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +84 -84
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +1 -1
  461. package/dist/integration.js +87 -87
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +101 -101
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +352 -351
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +88 -88
  471. package/dist/mcp/index.js +105 -105
  472. package/dist/mcp/instructions.js +124 -124
  473. package/dist/mcp/oauth.js +3 -3
  474. package/dist/mcp/stdio.js +87 -87
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +3 -3
  477. package/dist/model-resolver.js +87 -87
  478. package/dist/model.js +8 -8
  479. package/dist/models-dev.js +79 -79
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +215 -215
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +326 -325
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +76 -76
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +99 -99
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  503. package/dist/plugin/provider/azure.js +120 -120
  504. package/dist/plugin/provider/cerebras.js +2 -2
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +116 -116
  509. package/dist/plugin/provider/digitalocean.js +80 -80
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +81 -81
  514. package/dist/plugin/provider/gitlab.js +3 -3
  515. package/dist/plugin/provider/google-vertex.js +2 -2
  516. package/dist/plugin/provider/kilo.js +2 -2
  517. package/dist/plugin/provider/llmgateway.js +77 -77
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +80 -80
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +119 -119
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +81 -81
  524. package/dist/plugin/provider/opencode.js +80 -80
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +119 -119
  534. package/dist/plugin/provider/xai.js +78 -78
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +135 -135
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +341 -340
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +83 -83
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +114 -114
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +6 -6
  554. package/dist/plugin.js +226 -226
  555. package/dist/project/schema.js +6 -6
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +85 -85
  558. package/dist/provider.js +5 -5
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +96 -96
  563. package/dist/reference/instructions.js +86 -86
  564. package/dist/reference.js +88 -88
  565. package/dist/repository-cache.js +78 -78
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +93 -93
  569. package/dist/rpc.js +83 -83
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +149 -149
  574. package/dist/session/diff.js +85 -85
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +222 -222
  579. package/dist/session/execution.js +124 -124
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +85 -85
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +94 -94
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +115 -115
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +128 -128
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +102 -102
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +87 -87
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +227 -227
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +87 -87
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +112 -112
  603. package/dist/session/runner/step.js +121 -121
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +171 -171
  607. package/dist/session/shell.js +133 -133
  608. package/dist/session/skill.js +100 -100
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +74 -74
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +208 -208
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +151 -151
  616. package/dist/session/to-session-error.js +109 -109
  617. package/dist/session/transfer.js +220 -220
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +218 -218
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +11 -11
  624. package/dist/shell.js +135 -135
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +107 -107
  628. package/dist/snapshot.js +86 -86
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +121 -121
  633. package/dist/tool/plugin/edit.js +117 -117
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +114 -114
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +123 -123
  641. package/dist/tool/plugin/shell.js +213 -213
  642. package/dist/tool/plugin/skill.js +110 -110
  643. package/dist/tool/plugin/subagent.js +217 -217
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +109 -109
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +98 -98
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +15 -15
  651. package/dist/types/config/plugin/compatibility.d.ts +5 -0
  652. package/dist/types/config/plugin/entry-observer.d.ts +1 -1
  653. package/dist/types/config.d.ts +11 -6
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +3 -3
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +2 -2
  667. package/dist/v1/config/formatter.js +7 -7
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +4 -4
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +86 -86
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +78 -78
  684. package/dist/workspace/driver.js +5 -5
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +77 -77
  687. package/dist/worktree/directory.js +4 -4
  688. package/dist/worktree/git.js +8 -8
  689. package/dist/worktree/refresh.js +342 -341
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +93 -93
  692. package/package.json +8 -8
  693. package/dist/chunks/app-0mesazry.js +0 -4
  694. package/dist/chunks/app-by5v678g.js +0 -18
  695. package/dist/chunks/app-h6ka0qq8.js +0 -26
  696. package/dist/chunks/app-se2r9bmm.js +0 -247
  697. /package/dist/chunks/{app-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{app-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{app-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{app-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{app-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{app-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{app-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{app-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{app-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{app-3asan66x.js → rpc-3asan66x.js} +0 -0
  707. /package/dist/chunks/{app-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{app-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{app-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{app-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{app-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{app-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{app-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{app-53557ph1.js → rpc-53557ph1.js} +0 -0
  715. /package/dist/chunks/{app-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{app-6prwharc.js → rpc-6prwharc.js} +0 -0
  717. /package/dist/chunks/{app-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{app-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{app-822emrt2.js → rpc-822emrt2.js} +0 -0
  720. /package/dist/chunks/{app-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{app-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{app-922hggd3.js → rpc-922hggd3.js} +0 -0
  723. /package/dist/chunks/{app-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{app-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{app-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{app-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{app-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{app-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{app-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{app-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{app-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{app-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{app-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{app-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{app-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{app-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{app-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{app-df08tz66.js → rpc-df08tz66.js} +0 -0
  739. /package/dist/chunks/{app-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{app-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{app-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{app-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{app-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{app-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{app-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{app-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{app-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{app-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{app-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{app-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{app-g86h250q.js → rpc-g86h250q.js} +0 -0
  752. /package/dist/chunks/{app-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{app-gftt206x.js → rpc-gftt206x.js} +0 -0
  754. /package/dist/chunks/{app-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{app-hk9envan.js → rpc-hk9envan.js} +0 -0
  756. /package/dist/chunks/{app-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{app-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{app-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{app-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{app-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{app-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{app-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{app-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{app-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{app-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{app-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{app-paphc93g.js → rpc-paphc93g.js} +0 -0
  768. /package/dist/chunks/{app-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{app-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{app-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{app-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{app-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{app-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{app-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{app-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{app-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{app-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{app-twg0f83k.js → rpc-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{app-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{app-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{app-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{app-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{app-x61499pn.js → rpc-x61499pn.js} +0 -0
  784. /package/dist/chunks/{app-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{app-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  786. /package/dist/chunks/{app-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{app-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{app-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{app-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./app-yk9xxxbm.js";
2
+ Service79,
3
+ node84
4
+ } from "./rpc-dnz2amen.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./app-1e7h8b71.js";
6
+ Service76,
7
+ node81
8
+ } from "./rpc-m060z7eb.js";
9
9
  import {
10
- ID2
11
- } from "./app-0mesazry.js";
10
+ ID14
11
+ } from "./rpc-68fqf9yb.js";
12
12
  import {
13
- Service54,
13
+ Service63,
14
14
  login2,
15
- node57
16
- } from "./app-b6tnvp33.js";
15
+ node66
16
+ } from "./rpc-6wbdxn87.js";
17
17
  import {
18
18
  lazy2
19
- } from "./app-88xbtdfr.js";
19
+ } from "./rpc-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./app-9rqn6x4v.js";
22
+ } from "./rpc-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput2,
28
- Event: () => Event3,
27
+ CreateInput: () => CreateInput3,
28
+ Event: () => Event18,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info2,
31
- NotFoundError: () => NotFoundError2,
30
+ Info: () => Info27,
31
+ NotFoundError: () => NotFoundError9,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service15,
33
+ Service: () => Service62,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node18
35
+ node: () => node65
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event3 } from "@opencode/schema/pty";
40
+ import { Event as Event18 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info2 = Pty.Info;
45
- var CreateInput2 = Pty.CreateInput;
44
+ var Info27 = Pty.Info;
45
+ var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID2
48
+ class NotFoundError9 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID14
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID2
54
+ ptyID: ID14
55
55
  }) {
56
56
  }
57
57
 
58
- class Service15 extends Context.Service()("@opencode/Pty") {
58
+ class Service62 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service15, Effect.gen(function* () {
61
- const bus = yield* Service78;
62
- const location = yield* Service75;
63
- const shell = yield* Service54;
60
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
61
+ const bus = yield* Service79;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service63;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError2({ ptyID: id });
100
+ return yield* new NotFoundError9({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID2.ascending();
126
+ const id = ID14.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service15.of({ list, get, create, update, remove, write, attach });
271
+ return Service62.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node18 = makeLocationNode({
274
- service: Service15,
273
+ var node65 = makeLocationNode({
274
+ service: Service62,
275
275
  layer,
276
- deps: [node83, node80, node57]
276
+ deps: [node84, node81, node66]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event3 };
279
+ export { Info27, CreateInput3, UpdateInput2, NotFoundError9, ExitedError2, Service62, node65, exports_pty, Event18 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service75,
3
- node80
4
- } from "./app-1e7h8b71.js";
2
+ Service76,
3
+ node81
4
+ } from "./rpc-m060z7eb.js";
5
5
  import {
6
- Service34
7
- } from "./app-by5v678g.js";
6
+ Service22
7
+ } from "./rpc-vnkjks7b.js";
8
8
  import {
9
- Service69,
10
- node74
11
- } from "./app-xg6w0apm.js";
9
+ Service41,
10
+ node45
11
+ } from "./rpc-k4ar8njc.js";
12
12
  import {
13
- node23
14
- } from "./app-sgvj2xz6.js";
13
+ node18
14
+ } from "./rpc-pg92xra1.js";
15
15
  import {
16
16
  node6
17
- } from "./app-gnz55c53.js";
17
+ } from "./rpc-j6tr09r7.js";
18
18
  import {
19
19
  __export
20
- } from "./app-9rqn6x4v.js";
20
+ } from "./rpc-9rqn6x4v.js";
21
21
 
22
22
  // src/worktree/refresh.ts
23
23
  var exports_refresh = {};
@@ -28,9 +28,9 @@ __export(exports_refresh, {
28
28
  import { Effect, Layer } from "effect";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  var layer = Layer.effectDiscard(Effect.gen(function* () {
31
- const location = yield* Service75;
32
- const plugins = yield* Service34;
33
- const worktrees = yield* Service69;
31
+ const location = yield* Service76;
32
+ const plugins = yield* Service22;
33
+ const worktrees = yield* Service41;
34
34
  if (location.workspaceID)
35
35
  return;
36
36
  yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
38
38
  var node5 = makeLocationNode({
39
39
  name: "worktree-refresh",
40
40
  layer,
41
- deps: [node74, node80, node23, node6]
41
+ deps: [node45, node81, node18, node6]
42
42
  });
43
43
 
44
44
  export { node5, exports_refresh };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./app-922hggd3.js";
4
+ } from "./rpc-922hggd3.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./app-1e7h8b71.js";
6
+ Service76,
7
+ node81
8
+ } from "./rpc-m060z7eb.js";
9
9
  import {
10
- Service17,
11
- node20
12
- } from "./app-t7scepzc.js";
10
+ Service69,
11
+ node73
12
+ } from "./rpc-7jdjd6ea.js";
13
13
  import {
14
14
  __export
15
- } from "./app-9rqn6x4v.js";
15
+ } from "./rpc-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content2,
20
+ Content: () => Content3,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
- Entry: () => Entry2,
24
- Event: () => Event4,
23
+ Entry: () => Entry4,
24
+ Event: () => Event19,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput2,
29
+ ListInput: () => ListInput5,
30
30
  Match: () => Match2,
31
- NotFoundError: () => NotFoundError3,
31
+ NotFoundError: () => NotFoundError10,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service16,
33
+ Service: () => Service68,
34
34
  Submatch: () => Submatch2,
35
- node: () => node19
35
+ node: () => node72
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
39
39
  import { Context, Effect, Layer, Schema } from "effect";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  import { Entry, FileSystem, FindInput as FindInput2 } from "@opencode/schema/filesystem";
42
- import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
42
+ import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
43
43
  var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
+ class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
48
48
  path: RelativePath2
49
49
  }) {
50
50
  }
51
- var Content2 = Schema.Struct({
51
+ var Content3 = Schema.Struct({
52
52
  uri: Schema.String,
53
53
  name: Schema.String.pipe(Schema.optional),
54
54
  content: Schema.String,
55
55
  encoding: Schema.Literals(["utf8", "base64"]),
56
56
  mime: Schema.String
57
57
  }).annotate({ identifier: "FileSystem.Content" });
58
- var ListInput2 = Schema.Struct({
58
+ var ListInput5 = Schema.Struct({
59
59
  path: Schema.String.pipe(Schema.optional)
60
60
  });
61
61
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event4 = FileSystem.Event;
81
+ var Event19 = FileSystem.Event;
82
82
 
83
- class Service16 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service68 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service68, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service75;
88
- const search = yield* Service17;
87
+ const location = yield* Service76;
88
+ const search = yield* Service69;
89
89
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
90
90
  const resolve = Effect.fnUntraced(function* (input) {
91
91
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
96
96
  return yield* Effect.die(new Error("Path escapes the location"));
97
97
  return { absolute, real, directory: location.directory };
98
98
  });
99
- return Service16.of({
99
+ return Service68.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
103
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
102
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
103
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
104
104
  if (info.type !== "File")
105
105
  return yield* Effect.die(new Error("Path is not a file"));
106
106
  return {
107
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
107
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error))),
108
108
  mime: FSUtil.mimeType(target.real)
109
109
  };
110
110
  }),
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node19 = makeLocationNode({
132
- service: Service16,
131
+ var node72 = makeLocationNode({
132
+ service: Service68,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node80, node20]
134
+ deps: [FSUtil.node, node81, node73]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError10, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event19, Service68, node72, exports_filesystem, Entry4, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service79
3
- } from "./app-j6kg5r8z.js";
2
+ Service80
3
+ } from "./rpc-azwf31fh.js";
4
4
  import {
5
- Service78
6
- } from "./app-yk9xxxbm.js";
5
+ Service79
6
+ } from "./rpc-dnz2amen.js";
7
7
  import {
8
- Service45
9
- } from "./app-ff0htmxq.js";
8
+ Service49
9
+ } from "./rpc-v8jfbz3g.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./app-922hggd3.js";
12
+ } from "./rpc-922hggd3.js";
13
13
  import {
14
14
  ID4,
15
- Service37
16
- } from "./app-h9dy7g3k.js";
15
+ Service31
16
+ } from "./rpc-xwk582wh.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./app-ec1grn59.js";
19
+ } from "./rpc-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./app-gftt206x.js";
22
+ } from "./rpc-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./app-ds9cym46.js";
25
+ } from "./rpc-egrr39fs.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./app-5c4hm403.js";
28
+ } from "./rpc-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./app-9rqn6x4v.js";
31
+ } from "./rpc-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,11 +42,11 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service45;
46
- const database = yield* Service79;
47
- const bus = yield* Service78;
45
+ const instances = yield* Service49;
46
+ const database = yield* Service80;
47
+ const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service37;
49
+ const snapshot = yield* Service31;
50
50
  const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service45;
78
- const bus = yield* Service78;
77
+ const instances = yield* Service49;
78
+ const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service37;
80
+ const snapshot = yield* Service31;
81
81
  if (!session.revert)
82
82
  return;
83
83
  const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./app-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node8
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node8 = makeLocationNode({
19
- service: Service5,
18
+ var node7 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node8, bound2, exports_instance2 };
32
+ export { Service4, node7, bound2, exports_instance2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./app-yk9xxxbm.js";
2
+ Service79,
3
+ node84
4
+ } from "./rpc-dnz2amen.js";
5
5
  import {
6
6
  parse5,
7
7
  parseRemote2,
8
8
  validateBranch3,
9
9
  isRemote2,
10
10
  cachePath2
11
- } from "./app-6h73sxmp.js";
11
+ } from "./rpc-6h73sxmp.js";
12
12
  import {
13
13
  AbsolutePath2
14
- } from "./app-922hggd3.js";
14
+ } from "./rpc-922hggd3.js";
15
15
  import {
16
- Service40,
17
- node44
18
- } from "./app-heqg70k2.js";
16
+ Service64,
17
+ node67
18
+ } from "./rpc-4ssmbb9f.js";
19
19
  import {
20
20
  create3
21
- } from "./app-kg06axw8.js";
21
+ } from "./rpc-kg06axw8.js";
22
22
  import {
23
23
  __export
24
- } from "./app-9rqn6x4v.js";
24
+ } from "./rpc-9rqn6x4v.js";
25
25
 
26
26
  // src/reference.ts
27
27
  var exports_reference2 = {};
28
28
  __export(exports_reference2, {
29
- Event: () => Event8,
29
+ Event: () => Event6,
30
30
  GitSource: () => GitSource2,
31
- Info: () => Info7,
31
+ Info: () => Info5,
32
32
  LocalSource: () => LocalSource2,
33
33
  Reference: () => exports_reference2,
34
- Service: () => Service39,
35
- Source: () => Source3,
36
- node: () => node43
34
+ Service: () => Service33,
35
+ Source: () => Source4,
36
+ node: () => node37
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 Event8 } from "@opencode/schema/reference";
42
+ import { Event as Event6 } from "@opencode/schema/reference";
43
43
  var LocalSource2 = Reference.LocalSource;
44
44
  var GitSource2 = Reference.GitSource;
45
- var Source3 = Reference.Source;
46
- var Info7 = Reference.Info;
45
+ var Source4 = Reference.Source;
46
+ var Info5 = Reference.Info;
47
47
 
48
- class Service39 extends Context.Service()("@opencode/Reference") {
48
+ class Service33 extends Context.Service()("@opencode/Reference") {
49
49
  }
50
- var layer = Layer.effect(Service39, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
51
51
  const global = yield* Global.Service;
52
- const bus = yield* Service78;
53
- const cache = yield* Service40;
52
+ const bus = yield* Service79;
53
+ const cache = yield* Service64;
54
54
  const scope = yield* Scope.Scope;
55
55
  const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
56
56
  const info = {
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
60
60
  ...source.hidden === undefined ? {} : { hidden: source.hidden }
61
61
  };
62
62
  if (source.type === "local")
63
- return [Info7.make({ ...info, path: source.path })];
63
+ return [Info5.make({ ...info, path: source.path })];
64
64
  const repository = parse5(source.repository);
65
65
  if (!repository || !isRemote2(repository))
66
66
  return [];
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
72
72
  }
73
73
  }
74
74
  return [
75
- Info7.make({
75
+ Info5.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(Service39, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
107
- return Service39.of({
107
+ return Service33.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(Service39, Effect.gen(function* () {
112
112
  })
113
113
  });
114
114
  }));
115
- var node43 = makeLocationNode({
116
- service: Service39,
115
+ var node37 = makeLocationNode({
116
+ service: Service33,
117
117
  layer,
118
- deps: [Global.node, node83, node44]
118
+ deps: [Global.node, node84, node67]
119
119
  });
120
120
 
121
- export { LocalSource2, GitSource2, Source3, Info7, Service39, node43, exports_reference2, Event8 };
121
+ export { LocalSource2, GitSource2, Source4, Info5, Service33, node37, exports_reference2, Event6 };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./app-j6kg5r8z.js";
2
+ Service80,
3
+ node85
4
+ } from "./rpc-azwf31fh.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./app-hdnk95c8.js";
7
+ } from "./rpc-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./app-9rqn6x4v.js";
10
+ } from "./rpc-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID13,
17
- Info: () => Info27,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID7,
17
+ Info: () => Info20,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service72,
21
- node: () => node77
20
+ Service: () => Service55,
21
+ node: () => node58
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID13 = PermissionSaved.ID;
29
- var Info27 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID7 = PermissionSaved.ID;
29
+ var Info20 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service72 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service55 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service72, Effect.gen(function* () {
42
- const db = (yield* Service79).db;
41
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
42
+ const db = (yield* Service80).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID13.create(),
56
+ id: ID7.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service72.of({ list, add, remove });
65
+ return Service55.of({ list, add, remove });
66
66
  }));
67
- var node77 = makeGlobalNode({ service: Service72, layer, deps: [node84] });
67
+ var node58 = makeGlobalNode({ service: Service55, layer, deps: [node85] });
68
68
 
69
- export { ID13, Info27, ListInput5, AddInput2, Service72, node77, exports_saved };
69
+ export { ID7, Info20, ListInput4, AddInput2, Service55, node58, exports_saved };