@opencode/core 0.0.0-dev-20221 → 0.0.0-dev-20224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{location-h5e2anyc.js → rpc-01r2c5m8.js} +16 -16
  8. package/dist/chunks/{location-x0p95pq5.js → rpc-0546m1r6.js} +9 -9
  9. package/dist/chunks/{location-cq4wpeev.js → rpc-07x1x1ts.js} +15 -15
  10. package/dist/chunks/{location-7qks8dan.js → rpc-0j8fgfmj.js} +35 -35
  11. package/dist/chunks/{location-xdma2xvk.js → rpc-0ng3qkf0.js} +32 -32
  12. package/dist/chunks/{location-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-n62dhrz9.js → rpc-0qd78r7p.js} +22 -22
  14. package/dist/chunks/{location-hp5fhm3b.js → rpc-0y1sr1c9.js} +11 -11
  15. package/dist/chunks/{location-6mk1zs0m.js → rpc-17b9jkx1.js} +25 -25
  16. package/dist/chunks/{location-w0tr1p2n.js → rpc-17tgjc63.js} +20 -20
  17. package/dist/chunks/{location-hj80damg.js → rpc-1874525a.js} +35 -35
  18. package/dist/chunks/{location-xhkwk9gp.js → rpc-19c28r63.js} +16 -16
  19. package/dist/chunks/{location-1acjjqhc.js → rpc-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{location-6936e3tb.js → rpc-1ck09sm2.js} +30 -30
  21. package/dist/chunks/{location-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{location-bsjb98v5.js → rpc-1ggtwts1.js} +46 -46
  23. package/dist/chunks/{location-vjnhtx5y.js → rpc-1kb4nj88.js} +3 -3
  24. package/dist/chunks/{location-zzmrs7ms.js → rpc-1s473r1k.js} +25 -25
  25. package/dist/chunks/{location-3yzbp4y2.js → rpc-1tkq8rwe.js} +14 -14
  26. package/dist/chunks/{location-2r3apkbr.js → rpc-1ze3xm91.js} +8 -8
  27. package/dist/chunks/{location-21r38tys.js → rpc-21r38tys.js} +1 -1
  28. package/dist/chunks/{location-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
  29. package/dist/chunks/{location-5q41emxe.js → rpc-291mp9vb.js} +10 -10
  30. package/dist/chunks/{location-kvnawng8.js → rpc-29btxg4b.js} +6 -6
  31. package/dist/chunks/{location-z63w68vq.js → rpc-29x78va6.js} +6 -6
  32. package/dist/chunks/{location-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{location-mtsc5q31.js → rpc-2aecba3t.js} +25 -25
  34. package/dist/chunks/{location-0jwsre1p.js → rpc-2k8khapm.js} +5 -5
  35. package/dist/chunks/{location-aktznddm.js → rpc-2qm5zhy8.js} +11 -11
  36. package/dist/chunks/{location-hm2cbah8.js → rpc-2rdwn31h.js} +27 -27
  37. package/dist/chunks/{location-91n38a9p.js → rpc-2swe609t.js} +24 -24
  38. package/dist/chunks/{location-81swgkk7.js → rpc-2w6fc0zt.js} +7 -7
  39. package/dist/chunks/{location-30846h32.js → rpc-30846h32.js} +1 -1
  40. package/dist/chunks/{location-fcbwjxnb.js → rpc-33ed7edk.js} +3 -3
  41. package/dist/chunks/{location-33w4ejhs.js → rpc-33w4ejhs.js} +2 -2
  42. package/dist/chunks/{location-yv7j04vt.js → rpc-33w90mgy.js} +4 -4
  43. package/dist/chunks/{location-w168c8c1.js → rpc-3d9q0z9h.js} +24 -24
  44. package/dist/chunks/{location-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{location-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{location-b95n020p.js → rpc-3p0c6km7.js} +9 -9
  47. package/dist/chunks/{location-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{location-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{location-njwqk4ka.js → rpc-3ynfmtcj.js} +19 -19
  50. package/dist/chunks/{location-3zsf4n22.js → rpc-3zsf4n22.js} +1 -1
  51. package/dist/chunks/{location-0ascw2kk.js → rpc-40p0tn2p.js} +13 -13
  52. package/dist/chunks/{location-zv90g90z.js → rpc-46hzd864.js} +13 -13
  53. package/dist/chunks/{location-4dgbcxzg.js → rpc-4dgbcxzg.js} +1 -1
  54. package/dist/chunks/{location-k3sn4jay.js → rpc-4eq8w0dz.js} +4 -4
  55. package/dist/chunks/{location-rk8e6c4e.js → rpc-4fp42h4f.js} +6 -6
  56. package/dist/chunks/{location-2xw79qf5.js → rpc-4r37mwpa.js} +17 -17
  57. package/dist/chunks/{location-31sb4mzz.js → rpc-55bft698.js} +5 -5
  58. package/dist/chunks/{location-pmtx2bmb.js → rpc-59xqp4q6.js} +15 -15
  59. package/dist/chunks/{location-5daktx2q.js → rpc-5daktx2q.js} +1 -1
  60. package/dist/chunks/{location-4j4tgtq5.js → rpc-5dkn69vz.js} +4 -4
  61. package/dist/chunks/{location-4yg98eve.js → rpc-5eb3a1ca.js} +12 -12
  62. package/dist/chunks/{location-87dxtzj4.js → rpc-5qtbtk4r.js} +24 -24
  63. package/dist/chunks/{location-fvf5cb06.js → rpc-5rb2f846.js} +23 -23
  64. package/dist/chunks/{location-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{location-ka9n7xe0.js → rpc-5th2s8aw.js} +21 -21
  66. package/dist/chunks/{location-8pwagnxc.js → rpc-5xx5bm18.js} +22 -22
  67. package/dist/chunks/{location-xp5qxbch.js → rpc-5ysbk3t6.js} +10 -10
  68. package/dist/chunks/{location-42bm2tdg.js → rpc-60ztnerv.js} +11 -11
  69. package/dist/chunks/{location-zxfsz17a.js → rpc-61hbrkhq.js} +16 -16
  70. package/dist/chunks/{location-693v0dn7.js → rpc-61t48z3p.js} +5 -5
  71. package/dist/chunks/{location-akvdnkta.js → rpc-641ncxkp.js} +24 -24
  72. package/dist/chunks/{location-669tq793.js → rpc-669tq793.js} +1 -1
  73. package/dist/chunks/{location-e6hd9jay.js → rpc-6anwy9fs.js} +4 -4
  74. package/dist/chunks/{location-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{location-4sdz4ba6.js → rpc-6r7xjz6b.js} +62 -62
  76. package/dist/chunks/{location-z38mhgfq.js → rpc-6y58km9h.js} +12 -12
  77. package/dist/chunks/{location-3bc8czyk.js → rpc-705e2ap1.js} +5 -5
  78. package/dist/chunks/{location-eq1pz5kg.js → rpc-73tb2d7t.js} +3 -3
  79. package/dist/chunks/{location-pz026a91.js → rpc-7bftgs18.js} +4 -4
  80. package/dist/chunks/{location-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{location-rnnyhd50.js → rpc-7dn7wph4.js} +17 -17
  82. package/dist/chunks/{location-ef7kd23s.js → rpc-7fw6dmmr.js} +19 -19
  83. package/dist/chunks/{location-pvphy38p.js → rpc-7w3y3331.js} +23 -23
  84. package/dist/chunks/{location-q4gdq19g.js → rpc-82xkvmsx.js} +20 -20
  85. package/dist/chunks/{location-p50sb73r.js → rpc-887sth5f.js} +11 -11
  86. package/dist/chunks/{location-eqrj6z30.js → rpc-8b9pfjqy.js} +30 -30
  87. package/dist/chunks/{location-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{location-vxtm7qfg.js → rpc-8dkrvbda.js} +9 -9
  89. package/dist/chunks/{location-jzg4p26z.js → rpc-8kj5sqfp.js} +11 -11
  90. package/dist/chunks/{location-js0q1b7y.js → rpc-8zw2zqhe.js} +34 -34
  91. package/dist/chunks/{location-ent53862.js → rpc-911xaqx0.js} +24 -24
  92. package/dist/chunks/{location-gfvb90ym.js → rpc-94ek1h2f.js} +2 -2
  93. package/dist/chunks/{location-23xkb9ck.js → rpc-9dgzngwy.js} +1 -1
  94. package/dist/chunks/{location-qyysjfz2.js → rpc-9esz73wg.js} +1 -1
  95. package/dist/chunks/{location-qxvajmf7.js → rpc-9gp4vace.js} +13 -13
  96. package/dist/chunks/{location-4nndrb46.js → rpc-9qth1mer.js} +13 -13
  97. package/dist/chunks/{location-t80zgtse.js → rpc-9wyv5qrm.js} +33 -33
  98. package/dist/chunks/{location-9mm3gyjg.js → rpc-9yff3t6h.js} +12 -12
  99. package/dist/chunks/rpc-9zdhvgqs.js +18 -0
  100. package/dist/chunks/{location-wq9xxgxb.js → rpc-9ze1bqdw.js} +43 -43
  101. package/dist/chunks/{location-t2fc4mz5.js → rpc-a2ew8a62.js} +4 -4
  102. package/dist/chunks/{location-b7kqjy0v.js → rpc-a45xf03t.js} +25 -25
  103. package/dist/chunks/{location-aaet6srn.js → rpc-aaet6srn.js} +2 -2
  104. package/dist/chunks/{location-5767z5qk.js → rpc-ad6wcgn6.js} +42 -42
  105. package/dist/chunks/{location-0bkc3y3d.js → rpc-aj2hwc8g.js} +22 -22
  106. package/dist/chunks/{location-q17xkac2.js → rpc-ataya66t.js} +9 -9
  107. package/dist/chunks/{location-k23qkgd8.js → rpc-avr3epf8.js} +33 -33
  108. package/dist/chunks/{location-f3ngv102.js → rpc-axmvebxj.js} +21 -21
  109. package/dist/chunks/{location-z1wz9sty.js → rpc-b0x6hx13.js} +11 -11
  110. package/dist/chunks/{location-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{location-9qyfdgxc.js → rpc-b7wazbtb.js} +15 -15
  112. package/dist/chunks/{location-rd0fjfer.js → rpc-bdf29vvx.js} +20 -20
  113. package/dist/chunks/{location-ajaf8rr1.js → rpc-bnf6pzzw.js} +11 -11
  114. package/dist/chunks/{location-bqfsqarm.js → rpc-bvcdv2ee.js} +15 -15
  115. package/dist/chunks/{location-10mkqwtm.js → rpc-bvg5gydp.js} +180 -180
  116. package/dist/chunks/{location-c0zy3nqq.js → rpc-bw25a4j5.js} +5 -5
  117. package/dist/chunks/{location-h71w788e.js → rpc-bydnjh3t.js} +2 -2
  118. package/dist/chunks/{location-0x8r1xf8.js → rpc-bz7wthpw.js} +16 -16
  119. package/dist/chunks/{location-54tcyq79.js → rpc-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{location-gy1zbbg8.js → rpc-cm42m14b.js} +16 -16
  121. package/dist/chunks/{location-2sejkfem.js → rpc-cwa6csj7.js} +9 -9
  122. package/dist/chunks/{location-wbkyxrgf.js → rpc-d1khqved.js} +5 -5
  123. package/dist/chunks/{location-7v81x33d.js → rpc-d43tgzm4.js} +9 -9
  124. package/dist/chunks/{location-24vp5xsz.js → rpc-d4z5zpac.js} +27 -27
  125. package/dist/chunks/{location-2n2feb9b.js → rpc-d7a37h98.js} +5 -5
  126. package/dist/chunks/{location-afed7ext.js → rpc-db54agdm.js} +12 -12
  127. package/dist/chunks/{location-qj9xvr5c.js → rpc-dfqbq8r5.js} +6 -6
  128. package/dist/chunks/{location-frbktfyz.js → rpc-dftt7jbf.js} +11 -11
  129. package/dist/chunks/{location-50q9nbwa.js → rpc-dj50hwt2.js} +17 -17
  130. package/dist/chunks/{location-d6r54p0z.js → rpc-djhjy4ry.js} +25 -25
  131. package/dist/chunks/{location-bxg941en.js → rpc-dkw4e9f1.js} +20 -20
  132. package/dist/chunks/{location-f9yek72b.js → rpc-dmdp0vd0.js} +5 -5
  133. package/dist/chunks/{location-3104ney4.js → rpc-dpahde6h.js} +8 -8
  134. package/dist/chunks/{location-y71avatq.js → rpc-dpkg50ah.js} +4 -4
  135. package/dist/chunks/{location-fmq6hapb.js → rpc-dvjgjqby.js} +10 -10
  136. package/dist/chunks/{location-pq0em7mp.js → rpc-dy25nfy6.js} +14 -14
  137. package/dist/chunks/{location-2y6ffh4c.js → rpc-dzmxyd7h.js} +4 -4
  138. package/dist/chunks/{location-5qd3pb7m.js → rpc-e3qxr5gk.js} +2 -2
  139. package/dist/chunks/{location-zqjeymsx.js → rpc-e6a68qvh.js} +4 -4
  140. package/dist/chunks/{location-qe945752.js → rpc-e7a3whya.js} +15 -15
  141. package/dist/chunks/{location-w7zcztdz.js → rpc-e7tvatn9.js} +11 -11
  142. package/dist/chunks/{location-3pbjq009.js → rpc-eaf7bn6e.js} +11 -11
  143. package/dist/chunks/{location-f0vrjwjw.js → rpc-eafppxg9.js} +18 -18
  144. package/dist/chunks/{location-ecfe7b91.js → rpc-ecfe7b91.js} +2 -2
  145. package/dist/chunks/{location-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{location-sbhdk62n.js → rpc-emm42b62.js} +10 -10
  147. package/dist/chunks/{location-f8jv9byx.js → rpc-er7m35t7.js} +35 -35
  148. package/dist/chunks/{location-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{location-xh5xzt4q.js → rpc-f2a55b9w.js} +13 -13
  150. package/dist/chunks/{location-pcsc7bbk.js → rpc-fb1hjgew.js} +3 -3
  151. package/dist/chunks/{location-68hvg95z.js → rpc-fgx6hsxk.js} +9 -9
  152. package/dist/chunks/{location-99fa44nw.js → rpc-ft1g15zq.js} +10 -10
  153. package/dist/chunks/{location-9rak6fg2.js → rpc-fxkepnf0.js} +16 -16
  154. package/dist/chunks/{location-dm5bbsxw.js → rpc-fzj6yzt3.js} +8 -8
  155. package/dist/chunks/{location-f5gy8qwh.js → rpc-g3bs2z4s.js} +8 -8
  156. package/dist/chunks/{location-p4av1y14.js → rpc-g6ypk20d.js} +17 -17
  157. package/dist/chunks/{location-q1b20y97.js → rpc-g7schdde.js} +16 -16
  158. package/dist/chunks/{location-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{location-82mn4p1g.js → rpc-gv66z500.js} +41 -41
  160. package/dist/chunks/{location-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
  161. package/dist/chunks/{location-ahs7fvg1.js → rpc-h3zq03vb.js} +9 -9
  162. package/dist/chunks/{location-hd8vw2pw.js → rpc-h5w29vws.js} +1 -1
  163. package/dist/chunks/{location-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{location-whrbrn4z.js → rpc-hjx66919.js} +16 -16
  165. package/dist/chunks/{location-cvrsk9fd.js → rpc-j2q5esyv.js} +13 -13
  166. package/dist/chunks/{location-j56e64zr.js → rpc-j56e64zr.js} +1 -1
  167. package/dist/chunks/{location-pz6dgdr2.js → rpc-j62efq2m.js} +7 -7
  168. package/dist/chunks/{location-7q8vgb26.js → rpc-j693j56p.js} +7 -7
  169. package/dist/chunks/{location-rh8y0z1p.js → rpc-jb9mn43j.js} +22 -22
  170. package/dist/chunks/{location-xs1m67vf.js → rpc-jc854ahh.js} +9 -9
  171. package/dist/chunks/{location-dg2tseh9.js → rpc-jrrazstp.js} +9 -9
  172. package/dist/chunks/{location-k3c624dm.js → rpc-k3c624dm.js} +3 -3
  173. package/dist/chunks/{location-y6f0p4jw.js → rpc-k6yq57aq.js} +3 -3
  174. package/dist/chunks/{location-j0374pag.js → rpc-k87jrsyw.js} +6 -6
  175. package/dist/chunks/{location-9jhkgaje.js → rpc-k97nvw3s.js} +38 -38
  176. package/dist/chunks/{location-71xcq78h.js → rpc-kdr2y7sc.js} +89 -89
  177. package/dist/chunks/{location-r4yqrmdq.js → rpc-kerhshr9.js} +5 -5
  178. package/dist/chunks/{location-c4rfsmrz.js → rpc-knmp623e.js} +6 -6
  179. package/dist/chunks/{location-pwhkx6jx.js → rpc-kq76ymd0.js} +5 -5
  180. package/dist/chunks/{location-e06d8b03.js → rpc-kqaf077y.js} +35 -35
  181. package/dist/chunks/{location-72nn9jfv.js → rpc-ks4s575r.js} +20 -20
  182. package/dist/chunks/{location-5eq1rvf4.js → rpc-kyvhk9gp.js} +43 -43
  183. package/dist/chunks/{location-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
  184. package/dist/chunks/{location-kwg7c6hr.js → rpc-m9bnbapx.js} +33 -33
  185. package/dist/chunks/{location-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{location-bk7jaeqh.js → rpc-mvksx64m.js} +4 -4
  187. package/dist/chunks/{location-mgmaefw5.js → rpc-mvzp9w89.js} +5 -5
  188. package/dist/chunks/{location-h9shz2e0.js → rpc-n15rqfwk.js} +11 -11
  189. package/dist/chunks/{location-dbb8vp5z.js → rpc-n2srvep7.js} +4 -4
  190. package/dist/chunks/{location-bf4e40v7.js → rpc-nanx9z7d.js} +10 -10
  191. package/dist/chunks/{location-ah251an0.js → rpc-nkbj3xh8.js} +16 -16
  192. package/dist/chunks/{location-bjmftk71.js → rpc-p14jyq32.js} +19 -19
  193. package/dist/chunks/{location-ecrfaaw3.js → rpc-p3zdvk1j.js} +45 -45
  194. package/dist/chunks/{location-86cgss88.js → rpc-p4axxag3.js} +6 -6
  195. package/dist/chunks/{location-4gycnsfp.js → rpc-p57dvf2n.js} +4 -4
  196. package/dist/chunks/{location-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{location-pknna89w.js → rpc-pknna89w.js} +1 -1
  198. package/dist/chunks/{location-snqwywr0.js → rpc-pn1y9y4g.js} +16 -16
  199. package/dist/chunks/{location-nq7qbqzc.js → rpc-pnv527nz.js} +9 -9
  200. package/dist/chunks/{location-8sze2n9a.js → rpc-py3kkmfq.js} +6 -6
  201. package/dist/chunks/{location-fnhn454m.js → rpc-q657g4g7.js} +11 -11
  202. package/dist/chunks/{location-ay4yd4d7.js → rpc-q67f7nmy.js} +11 -11
  203. package/dist/chunks/rpc-qa7zfvr9.js +26 -0
  204. package/dist/chunks/{location-xg3m2ppk.js → rpc-qf39nrvn.js} +85 -85
  205. package/dist/chunks/{location-qsdy395h.js → rpc-qsdy395h.js} +1 -1
  206. package/dist/chunks/{location-5agr9zwd.js → rpc-qyj3y2ty.js} +12 -12
  207. package/dist/chunks/{location-8fhzde2b.js → rpc-r0ng0yj5.js} +32 -32
  208. package/dist/chunks/{location-va698f7d.js → rpc-r0zct088.js} +8 -8
  209. package/dist/chunks/{location-3pfqp9x0.js → rpc-r3wr5xg7.js} +43 -43
  210. package/dist/chunks/{location-vncycja5.js → rpc-r98e92ep.js} +4 -4
  211. package/dist/chunks/{location-zmwna8pt.js → rpc-r993e5vv.js} +21 -21
  212. package/dist/chunks/{location-03b1d2xf.js → rpc-rdpxprv5.js} +8 -8
  213. package/dist/chunks/{location-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{location-wy0rscj2.js → rpc-rexb5wtd.js} +27 -27
  215. package/dist/chunks/{location-rhjbct0v.js → rpc-rhjbct0v.js} +1 -1
  216. package/dist/chunks/{location-va6930fd.js → rpc-rmh2g5sz.js} +5 -5
  217. package/dist/chunks/{location-4jwfw9t7.js → rpc-s2d6nvja.js} +9 -9
  218. package/dist/chunks/{location-yrznvahk.js → rpc-s4enseaf.js} +2 -2
  219. package/dist/chunks/{location-fkgkq2bq.js → rpc-s6x4fzhm.js} +2 -2
  220. package/dist/chunks/{location-xd9p6rte.js → rpc-s7pfdvj0.js} +54 -54
  221. package/dist/chunks/{location-8k1xnzjf.js → rpc-saqncsjt.js} +15 -15
  222. package/dist/chunks/{location-grs5yd9b.js → rpc-sbdrsm1d.js} +54 -54
  223. package/dist/chunks/{location-vth0z15k.js → rpc-sdcd8j0d.js} +23 -23
  224. package/dist/chunks/{location-yeqt6yj4.js → rpc-sdz95h4g.js} +28 -28
  225. package/dist/chunks/{location-dd2mwsqy.js → rpc-smcmav20.js} +22 -22
  226. package/dist/chunks/{location-af04s6ss.js → rpc-sra9araw.js} +5 -5
  227. package/dist/chunks/{location-pty0nb4y.js → rpc-t2qevr0q.js} +8 -8
  228. package/dist/chunks/{location-afdssyjb.js → rpc-t7n9q6bq.js} +4 -4
  229. package/dist/chunks/{location-pbmgymcv.js → rpc-t7x8bg7z.js} +18 -18
  230. package/dist/chunks/{location-8m83jnsx.js → rpc-t8k67vys.js} +48 -48
  231. package/dist/chunks/{location-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{location-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{location-tdstcens.js → rpc-tdstcens.js} +1 -1
  234. package/dist/chunks/{location-n2qcta3r.js → rpc-tgpsmcaa.js} +11 -11
  235. package/dist/chunks/rpc-tj97xa7g.js +252 -0
  236. package/dist/chunks/{location-7mt2gtfj.js → rpc-tk9ve4rs.js} +26 -26
  237. package/dist/chunks/{location-p49hdftr.js → rpc-tkgh5sbc.js} +11 -11
  238. package/dist/chunks/{location-evbgk2k8.js → rpc-tn0aqsam.js} +5 -5
  239. package/dist/chunks/{location-1ajx6rf5.js → rpc-tpw6cwsb.js} +8 -8
  240. package/dist/chunks/{location-hrpea4dg.js → rpc-tvks49a3.js} +309 -309
  241. package/dist/chunks/{location-tvtrv512.js → rpc-tvtrv512.js} +1 -1
  242. package/dist/chunks/{location-jx81s07m.js → rpc-tw9eefyr.js} +5 -5
  243. package/dist/chunks/{location-60k29m3a.js → rpc-v4sm4c0k.js} +3 -3
  244. package/dist/chunks/{location-fgen454y.js → rpc-v7ttk1k5.js} +3 -3
  245. package/dist/chunks/{location-2jhm9eyt.js → rpc-v9cmtvna.js} +32 -32
  246. package/dist/chunks/{location-em7mzjn4.js → rpc-vdptz04f.js} +6 -6
  247. package/dist/chunks/{location-veqvce7d.js → rpc-veqvce7d.js} +1 -1
  248. package/dist/chunks/{location-cpn8fns4.js → rpc-vn4gjnxr.js} +10 -10
  249. package/dist/chunks/{location-b8171w38.js → rpc-vrqsv3fa.js} +21 -21
  250. package/dist/chunks/{location-bf4gbvg4.js → rpc-vtt0yr3x.js} +7 -7
  251. package/dist/chunks/{location-z2sk8n0r.js → rpc-vv97ra8n.js} +11 -11
  252. package/dist/chunks/{location-321x2wtd.js → rpc-vvccsdf3.js} +6 -6
  253. package/dist/chunks/{location-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{location-vzs5sf6e.js → rpc-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{location-6k33h7hv.js → rpc-w30pqdw0.js} +37 -37
  256. package/dist/chunks/{location-t8jhjvab.js → rpc-w3rf13e0.js} +24 -24
  257. package/dist/chunks/{location-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-mnbh32fx.js → rpc-w4axh9wz.js} +6 -6
  259. package/dist/chunks/{location-pdnpx475.js → rpc-w9g9cqgp.js} +6 -6
  260. package/dist/chunks/{location-8j1skqgj.js → rpc-wcxa5cm4.js} +17 -17
  261. package/dist/chunks/{location-1thp3168.js → rpc-wd2dgpck.js} +34 -34
  262. package/dist/chunks/{location-psazpmmj.js → rpc-wd3x2cqz.js} +2 -2
  263. package/dist/chunks/{location-wd87259q.js → rpc-wd87259q.js} +1 -1
  264. package/dist/chunks/{location-gvegpbk5.js → rpc-wjd1eqsf.js} +15 -15
  265. package/dist/chunks/{location-wget8q3v.js → rpc-wk6jwtqz.js} +5 -5
  266. package/dist/chunks/{location-b09hzw3k.js → rpc-wqc6684y.js} +2 -2
  267. package/dist/chunks/{location-yzqmf70x.js → rpc-wqmhqt44.js} +36 -36
  268. package/dist/chunks/{location-x0tasxqz.js → rpc-wwy42dnk.js} +4 -4
  269. package/dist/chunks/{location-42dy8wkf.js → rpc-wyg44cg0.js} +20 -20
  270. package/dist/chunks/{location-wn6ryfvd.js → rpc-wzdtzazs.js} +5 -5
  271. package/dist/chunks/{location-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
  272. package/dist/chunks/{location-sjrr8pwy.js → rpc-xdk4v0b3.js} +25 -25
  273. package/dist/chunks/{location-xfkkasph.js → rpc-xfkkasph.js} +1 -1
  274. package/dist/chunks/{location-xkntkrq7.js → rpc-xkntkrq7.js} +2 -2
  275. package/dist/chunks/{location-qzyph8ek.js → rpc-xv5nxp49.js} +11 -11
  276. package/dist/chunks/{location-g5agzp2h.js → rpc-xvp1j2dc.js} +5 -5
  277. package/dist/chunks/{location-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
  278. package/dist/chunks/{location-7j2qha59.js → rpc-y1qqcj8h.js} +8 -8
  279. package/dist/chunks/{location-me8jvw4v.js → rpc-y98ks474.js} +34 -34
  280. package/dist/chunks/{location-qsjjakye.js → rpc-ye8cnd5y.js} +10 -10
  281. package/dist/chunks/{location-m303x724.js → rpc-yf6pqagp.js} +25 -25
  282. package/dist/chunks/{location-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{location-pgp1nwjn.js → rpc-ywxndyv1.js} +4 -4
  284. package/dist/chunks/{location-bjtzbw4r.js → rpc-z07pqspn.js} +3 -3
  285. package/dist/chunks/{location-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{location-0xqnn6r6.js → rpc-zc7sp5v7.js} +13 -13
  287. package/dist/chunks/{location-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{location-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{location-y1df562v.js → rpc-zsaha2d7.js} +17 -17
  290. package/dist/chunks/{location-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
  291. package/dist/chunks/{location-qcf13vms.js → rpc-zzr03zs4.js} +15 -15
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +5 -5
  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 +82 -82
  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 +142 -142
  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 +122 -122
  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 +79 -79
  326. package/dist/database/database.js +66 -66
  327. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +370 -370
  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 +70 -70
  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/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +99 -99
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +96 -96
  431. package/dist/form.js +76 -76
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +1 -1
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +82 -82
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +132 -132
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +358 -358
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +106 -106
  476. package/dist/mcp/instructions.js +126 -126
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +96 -96
  482. package/dist/model.js +98 -98
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +99 -99
  495. package/dist/plugin/hooks.js +1 -1
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +94 -94
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +77 -77
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +94 -94
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +78 -78
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +161 -161
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +139 -139
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +350 -350
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +6 -6
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +227 -227
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +95 -95
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +74 -74
  576. package/dist/session/compaction.js +134 -134
  577. package/dist/session/context.js +152 -152
  578. package/dist/session/diff.js +88 -88
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +7 -7
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +221 -221
  583. package/dist/session/execution.js +126 -126
  584. package/dist/session/generate.js +153 -153
  585. package/dist/session/history.js +15 -15
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +97 -97
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +119 -119
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +130 -130
  596. package/dist/session/projector.js +86 -86
  597. package/dist/session/prompt.js +105 -105
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +90 -90
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +229 -229
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +98 -98
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +4 -4
  607. package/dist/session/runner/step.js +124 -124
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +170 -170
  611. package/dist/session/shell.js +138 -138
  612. package/dist/session/skill.js +103 -103
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +73 -73
  615. package/dist/session/store.js +87 -87
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +210 -210
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +150 -150
  620. package/dist/session/to-session-error.js +111 -111
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +218 -218
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +140 -140
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +105 -105
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +91 -91
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +125 -125
  637. package/dist/tool/plugin/edit.js +120 -120
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +124 -124
  640. package/dist/tool/plugin/grep.js +124 -124
  641. package/dist/tool/plugin/mcp-resource.js +116 -116
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +215 -215
  647. package/dist/tool/plugin/skill.js +111 -111
  648. package/dist/tool/plugin/subagent.js +219 -219
  649. package/dist/tool/plugin/webfetch.js +102 -102
  650. package/dist/tool/plugin/websearch.js +110 -110
  651. package/dist/tool/plugin/write.js +122 -122
  652. package/dist/tool/read-filesystem.js +96 -96
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +3 -3
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +3 -3
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +92 -92
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +84 -84
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +81 -81
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +80 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +98 -98
  696. package/package.json +8 -8
  697. package/dist/chunks/location-2g5sqqgw.js +0 -252
  698. package/dist/chunks/location-rap9a73h.js +0 -18
  699. package/dist/chunks/location-sb5wy6p1.js +0 -26
  700. /package/dist/chunks/{location-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{location-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{location-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{location-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{location-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{location-24dcb14g.js → rpc-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{location-2710q6r3.js → rpc-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{location-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{location-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{location-34c7v6d4.js → rpc-34c7v6d4.js} +0 -0
  710. /package/dist/chunks/{location-359p4xyc.js → rpc-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{location-3asan66x.js → rpc-3asan66x.js} +0 -0
  712. /package/dist/chunks/{location-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{location-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{location-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{location-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{location-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{location-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{location-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{location-53557ph1.js → rpc-53557ph1.js} +0 -0
  720. /package/dist/chunks/{location-550bvhaj.js → rpc-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{location-6prwharc.js → rpc-6prwharc.js} +0 -0
  722. /package/dist/chunks/{location-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{location-7m9af43g.js → rpc-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{location-822emrt2.js → rpc-822emrt2.js} +0 -0
  725. /package/dist/chunks/{location-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{location-8n3pysct.js → rpc-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{location-8wj87zfr.js → rpc-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{location-922hggd3.js → rpc-922hggd3.js} +0 -0
  729. /package/dist/chunks/{location-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{location-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{location-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{location-af5trqkr.js → rpc-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{location-afrmfg78.js → rpc-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{location-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{location-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{location-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{location-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{location-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{location-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{location-d9fn303g.js → rpc-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{location-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{location-dajrwvna.js → rpc-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{location-dap0rakb.js → rpc-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{location-df08tz66.js → rpc-df08tz66.js} +0 -0
  745. /package/dist/chunks/{location-dy18nga0.js → rpc-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{location-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{location-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{location-ec1grn59.js → rpc-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{location-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{location-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{location-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{location-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{location-faypxj3z.js → rpc-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{location-fd410y7t.js → rpc-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{location-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{location-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{location-g86h250q.js → rpc-g86h250q.js} +0 -0
  758. /package/dist/chunks/{location-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{location-gftt206x.js → rpc-gftt206x.js} +0 -0
  760. /package/dist/chunks/{location-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{location-hk9envan.js → rpc-hk9envan.js} +0 -0
  762. /package/dist/chunks/{location-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{location-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{location-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{location-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{location-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{location-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{location-mp448xyj.js → rpc-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{location-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{location-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{location-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{location-njntx4h6.js → rpc-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{location-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{location-q74kybfr.js → rpc-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{location-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{location-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{location-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{location-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{location-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{location-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{location-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{location-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{location-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{location-w803qqfp.js → rpc-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{location-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{location-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{location-wtztk69x.js → rpc-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{location-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{location-x61499pn.js → rpc-x61499pn.js} +0 -0
  790. /package/dist/chunks/{location-y44na4kk.js → rpc-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{location-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{location-y8f7s663.js → rpc-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{location-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{location-ym463w8f.js → rpc-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{location-z9919s4g.js → rpc-z9919s4g.js} +0 -0
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-vjnhtx5y.js";
4
+ } from "./rpc-1kb4nj88.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make20,
9
9
  combine2
10
- } from "./location-rhjbct0v.js";
10
+ } from "./rpc-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./location-bjtzbw4r.js";
13
+ } from "./rpc-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./location-9rqn6x4v.js";
16
+ } from "./rpc-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info6,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service32,
25
+ Service: () => Service25,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node36,
29
+ node: () => node29,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info6 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service32 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service25 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
@@ -75,7 +75,7 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service32, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service32.of({ list, put, remove, load });
111
+ return Service25.of({ list, put, remove, load });
112
112
  }));
113
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node88] });
113
+ var node29 = makeLocationNode({ service: Service25, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service32, node36, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-yv7j04vt.js";
4
+ } from "./rpc-33w90mgy.js";
5
5
  import {
6
- Service76,
7
- node80
8
- } from "./location-h5e2anyc.js";
6
+ Service74,
7
+ node77
8
+ } from "./rpc-01r2c5m8.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./location-7qks8dan.js";
10
+ Service79,
11
+ node83
12
+ } from "./rpc-0j8fgfmj.js";
13
13
  import {
14
14
  Ref4,
15
- Service77,
16
- node81
17
- } from "./location-zxfsz17a.js";
15
+ Service78,
16
+ node82
17
+ } from "./rpc-61hbrkhq.js";
18
18
  import {
19
19
  canonical3
20
- } from "./location-q17xkac2.js";
20
+ } from "./rpc-ataya66t.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./location-ec1grn59.js";
23
+ } from "./rpc-ec1grn59.js";
24
24
  import {
25
- Service64,
26
- node67
27
- } from "./location-xd9p6rte.js";
25
+ Service51,
26
+ node54
27
+ } from "./rpc-s7pfdvj0.js";
28
28
  import {
29
- Service52,
30
- node56
31
- } from "./location-bqfsqarm.js";
29
+ Service56,
30
+ node59
31
+ } from "./rpc-bvcdv2ee.js";
32
32
  import {
33
33
  __export
34
- } from "./location-9rqn6x4v.js";
34
+ } from "./rpc-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service20,
41
- node: () => node22
40
+ Service: () => Service14,
41
+ node: () => node16
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service20, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
- const location = yield* Service77;
53
- const permission = yield* Service64;
54
- const forms = yield* Service76;
55
- const rpc = yield* Service52;
56
- const project = yield* Service78;
52
+ const location = yield* Service78;
53
+ const permission = yield* Service51;
54
+ const forms = yield* Service74;
55
+ const rpc = yield* Service56;
56
+ const project = yield* Service79;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service20.of({
78
+ return Service14.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node22 = makeLocationNode({
84
- service: Service20,
83
+ var node16 = makeLocationNode({
84
+ service: Service14,
85
85
  layer,
86
- deps: [node87, node81, node67, node82, node80, node56]
86
+ deps: [node87, node82, node54, node83, node77, node59]
87
87
  });
88
88
 
89
- export { Service20, node22, exports_location_lifecycle };
89
+ export { Service14, node16, exports_location_lifecycle };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID11,
2
+ ID7,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./location-t8jhjvab.js";
5
+ } from "./rpc-w3rf13e0.js";
6
6
  import {
7
7
  merge2
8
- } from "./location-xd9p6rte.js";
8
+ } from "./rpc-s7pfdvj0.js";
9
9
  import {
10
10
  __export
11
- } from "./location-9rqn6x4v.js";
11
+ } from "./rpc-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent = {};
15
15
  __export(exports_agent, {
16
16
  AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin30
17
+ Plugin: () => Plugin25
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin30 = define({
93
+ var Plugin25 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin30 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID11.make("general"), (item) => {
103
+ editor.update(ID7.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID11.make("explore"), (item) => {
109
+ editor.update(ID7.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin30 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID11.make("compaction"), (item) => {
128
+ editor.update(ID7.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID11.make("title"), (item) => {
133
+ editor.update(ID7.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID11.make("summary"), (item) => {
140
+ editor.update(ID7.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin30 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin30, exports_agent };
151
+ export { Plugin25, exports_agent };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./rpc-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service30,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service30 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service30, awaitActivation2, exports_service };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./location-922hggd3.js";
3
+ } from "./rpc-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service47
7
- } from "./location-82mn4p1g.js";
6
+ Service64
7
+ } from "./rpc-gv66z500.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./location-2a5m3afh.js";
10
+ } from "./rpc-2a5m3afh.js";
11
11
  import {
12
- Service50
13
- } from "./location-w168c8c1.js";
12
+ Service76
13
+ } from "./rpc-3d9q0z9h.js";
14
14
  import {
15
- Service62
16
- } from "./location-qe945752.js";
15
+ Service49
16
+ } from "./rpc-e7a3whya.js";
17
17
  import {
18
- Service64
19
- } from "./location-xd9p6rte.js";
18
+ Service51
19
+ } from "./rpc-s7pfdvj0.js";
20
20
  import {
21
- Service16,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./location-f0vrjwjw.js";
23
+ } from "./rpc-eafppxg9.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./location-vzs5sf6e.js";
29
+ } from "./rpc-vzs5sf6e.js";
30
30
  import {
31
- Service56,
31
+ Service68,
32
32
  name15
33
- } from "./location-rh8y0z1p.js";
33
+ } from "./rpc-jb9mn43j.js";
34
34
  import {
35
- NotFoundError5,
36
- Service44
37
- } from "./location-3pfqp9x0.js";
35
+ NotFoundError9,
36
+ Service62
37
+ } from "./rpc-r3wr5xg7.js";
38
38
  import {
39
- Service27
40
- } from "./location-71xcq78h.js";
39
+ Service22
40
+ } from "./rpc-kdr2y7sc.js";
41
41
  import {
42
42
  scan2
43
- } from "./location-pz026a91.js";
43
+ } from "./rpc-7bftgs18.js";
44
44
  import {
45
45
  __export
46
- } from "./location-9rqn6x4v.js";
46
+ } from "./rpc-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell = {};
50
50
  __export(exports_shell, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input10,
53
- Plugin: () => Plugin12,
52
+ Input: () => Input7,
53
+ Plugin: () => Plugin8,
54
54
  ShellTool: () => exports_shell,
55
- name: () => name10
55
+ name: () => name7
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name10 = "shell";
59
+ var name7 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input10 = Schema.Struct({
73
+ var Input7 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
116
116
  truncated: false,
117
117
  status: "running"
118
118
  });
119
- var Plugin12 = {
119
+ var Plugin8 = {
120
120
  id: "opencode.tool.shell",
121
121
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
122
- const sessions = yield* Service27;
123
- const jobs = yield* Service62;
122
+ const sessions = yield* Service22;
123
+ const jobs = yield* Service49;
124
124
  const scope = yield* Scope.Scope;
125
- const environment = yield* Service50;
126
- const access = yield* Service16;
127
- const shell = yield* Service44;
128
- const shellSelect = yield* Service56;
125
+ const environment = yield* Service76;
126
+ const access = yield* Service15;
127
+ const shell = yield* Service62;
128
+ const shellSelect = yield* Service68;
129
129
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
130
- const permission = yield* Service64;
131
- const config = yield* Service47;
130
+ const permission = yield* Service51;
131
+ const config = yield* Service64;
132
132
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
133
133
  const source = {
134
134
  type: "tool",
@@ -147,7 +147,7 @@ var Plugin12 = {
147
147
  yield* access.authorizeExternal([target, ...directories], context);
148
148
  if (parsed.commands.length > 0)
149
149
  yield* permission.assert({
150
- action: name10,
150
+ action: name7,
151
151
  resources: parsed.commands.map((command) => command.resource),
152
152
  save: parsed.commands.map((command) => command.save),
153
153
  sessionID: context.sessionID,
@@ -184,10 +184,10 @@ var Plugin12 = {
184
184
  yield* jobs.completeBackground(info.notificationID);
185
185
  }, Effect.forkIn(scope, { startImmediately: true }));
186
186
  yield* ctx.tool.transform((editor) => editor.add({
187
- name: name10,
187
+ name: name7,
188
188
  options: { codemode: false },
189
189
  description: description(),
190
- input: Input10,
190
+ input: Input7,
191
191
  output: Output,
192
192
  execute: (input, context) => Effect.gen(function* () {
193
193
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -206,7 +206,7 @@ var Plugin12 = {
206
206
  const run = Effect.gen(function* () {
207
207
  const result = yield* shell.result(info);
208
208
  if (!result.capture)
209
- return yield* new NotFoundError5({ id: info.id });
209
+ return yield* new NotFoundError9({ id: info.id });
210
210
  const output = output2(result);
211
211
  return {
212
212
  ...output,
@@ -220,7 +220,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
220
220
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
221
221
  const job = yield* jobs.start({
222
222
  id: info.id,
223
- type: name10,
223
+ type: name7,
224
224
  title: info.command,
225
225
  metadata: { sessionID: context.sessionID, shellID: info.id },
226
226
  recovery: {
@@ -250,7 +250,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
250
250
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
251
251
  })).pipe(Effect.orDie);
252
252
  const hook = (event) => Effect.gen(function* () {
253
- const tool = event.tools[name10];
253
+ const tool = event.tools[name7];
254
254
  if (!tool)
255
255
  return;
256
256
  tool.description = description(name15(yield* compatibleShell));
@@ -261,4 +261,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
261
261
  })
262
262
  };
263
263
 
264
- export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin12, exports_shell };
264
+ export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin8, exports_shell };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./rpc-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command5 = {};
7
7
  __export(exports_command5, {
8
8
  ConfigCommandV1: () => exports_command5,
9
- Info: () => Info10
9
+ Info: () => Info18
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info10 = Schema.Struct({
12
+ var Info18 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info10, exports_command5 };
21
+ export { Info18, exports_command5 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-yv7j04vt.js";
4
+ } from "./rpc-33w90mgy.js";
5
5
  import {
6
- Service38,
7
- node41
8
- } from "./location-bsjb98v5.js";
6
+ Service34,
7
+ node37
8
+ } from "./rpc-1ggtwts1.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./location-xd9p6rte.js";
10
+ Service51,
11
+ node54
12
+ } from "./rpc-s7pfdvj0.js";
13
13
  import {
14
- Service42,
15
- node45
16
- } from "./location-b8171w38.js";
14
+ Service39,
15
+ node42
16
+ } from "./rpc-vrqsv3fa.js";
17
17
  import {
18
18
  __export
19
- } from "./location-9rqn6x4v.js";
19
+ } from "./rpc-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service35,
26
- layer: () => layer11,
25
+ Service: () => Service29,
26
+ layer: () => layer12,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node38
29
+ node: () => node33
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service35 extends Context.Service()("@opencode/McpTool") {
38
+ class Service29 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service35, Effect.gen(function* () {
41
- const mcp = yield* Service38;
42
- const tools = yield* Service42;
40
+ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
41
+ const mcp = yield* Service34;
42
+ const tools = yield* Service39;
43
43
  const bus = yield* Service83;
44
- const permission = yield* Service64;
44
+ const permission = yield* Service51;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service35, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service35.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node38 = makeLocationNode({
124
- service: Service35,
125
- layer: layer11,
126
- deps: [node45, node41, node87, node67]
123
+ var node33 = makeLocationNode({
124
+ service: Service29,
125
+ layer: layer12,
126
+ deps: [node42, node37, node87, node54]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service35, layer11, node38, exports_mcp3 };
129
+ export { namespace2, name13, Service29, layer12, node33, exports_mcp3 };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./location-2a5m3afh.js";
5
+ } from "./rpc-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./location-9rqn6x4v.js";
8
+ } from "./rpc-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};