@opencode-ai/core 0.0.0-dev-19093 → 0.0.0-dev-19094

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 (769) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{kv-0e0xafbb.js → command-0e0xafbb.js} +2 -2
  9. package/dist/chunks/{kv-e6v427vd.js → command-0ez61b8c.js} +2 -2
  10. package/dist/chunks/{kv-0paq2nw3.js → command-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{kv-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
  12. package/dist/chunks/{kv-csjjrfxs.js → command-0yrmd491.js} +15 -15
  13. package/dist/chunks/{kv-7ry09vv5.js → command-14hmenm3.js} +3 -3
  14. package/dist/chunks/{kv-ywss3cf1.js → command-167yerzm.js} +17 -17
  15. package/dist/chunks/{kv-vn7dnbkg.js → command-17ze61ga.js} +22 -22
  16. package/dist/chunks/{kv-7908ykgb.js → command-1bdhjw18.js} +8 -8
  17. package/dist/chunks/{kv-1ct4r87x.js → command-1ct4r87x.js} +1 -1
  18. package/dist/chunks/{kv-0vp2h810.js → command-1eb7zprr.js} +5 -5
  19. package/dist/chunks/{kv-hbhn1exa.js → command-1hzpknhe.js} +35 -35
  20. package/dist/chunks/{kv-mbc7zawv.js → command-1m2qxpbx.js} +9 -9
  21. package/dist/chunks/{kv-xzjsw50f.js → command-1n22b4te.js} +10 -10
  22. package/dist/chunks/{kv-21r38tys.js → command-21r38tys.js} +1 -1
  23. package/dist/chunks/{kv-2402vzrj.js → command-2402vzrj.js} +1 -1
  24. package/dist/chunks/{kv-w9f7wb0e.js → command-26x1nfsd.js} +13 -13
  25. package/dist/chunks/{kv-c2rr8at4.js → command-283x2hdr.js} +11 -11
  26. package/dist/chunks/{kv-z63w68vq.js → command-29x78va6.js} +6 -6
  27. package/dist/chunks/{kv-2a5m3afh.js → command-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{kv-2ht70gj7.js → command-2ht70gj7.js} +1 -1
  29. package/dist/chunks/{kv-2jqmte8w.js → command-2jqmte8w.js} +2 -2
  30. package/dist/chunks/{kv-rt9c2rpv.js → command-2p8f7m2b.js} +4 -4
  31. package/dist/chunks/{kv-n08wtfc0.js → command-2w9k586s.js} +25 -25
  32. package/dist/chunks/{kv-tgc5gq4n.js → command-2wxr2xvt.js} +8 -8
  33. package/dist/chunks/{kv-6c7eyv5g.js → command-32m8x2r5.js} +20 -20
  34. package/dist/chunks/{kv-x7a9f5qc.js → command-332w5sq1.js} +11 -11
  35. package/dist/chunks/{kv-3fc6dm20.js → command-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{kv-3hepkmqq.js → command-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{kv-nc7q88x6.js → command-3jwbxfdj.js} +37 -37
  38. package/dist/chunks/{kv-yhemmazy.js → command-3q0nngn9.js} +6 -6
  39. package/dist/chunks/{kv-fqf57vhm.js → command-3q60g5tw.js} +23 -23
  40. package/dist/chunks/{kv-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{kv-3smtnn6g.js → command-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{kv-3tvqynh2.js → command-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{kv-pmqshxn9.js → command-3wbgnpam.js} +21 -21
  44. package/dist/chunks/{kv-azv14p53.js → command-3wfq9j39.js} +10 -10
  45. package/dist/chunks/{kv-4ahqr3ea.js → command-3zxznrdw.js} +32 -32
  46. package/dist/chunks/{kv-454k5vzh.js → command-454k5vzh.js} +1 -1
  47. package/dist/chunks/{kv-e9zqpvgt.js → command-45kzw0p8.js} +6 -6
  48. package/dist/chunks/{kv-pq3hsm1q.js → command-46xfq78f.js} +18 -18
  49. package/dist/chunks/{kv-x6560wra.js → command-48h7as0e.js} +20 -20
  50. package/dist/chunks/{kv-c7r09442.js → command-4jcgzkct.js} +14 -14
  51. package/dist/chunks/{kv-keptat7v.js → command-4p3f57ee.js} +10 -10
  52. package/dist/chunks/{kv-4r2nyarf.js → command-4r2nyarf.js} +1 -1
  53. package/dist/chunks/{kv-hs1w2bsr.js → command-4sjd4f28.js} +11 -11
  54. package/dist/chunks/{kv-fjp933gm.js → command-4t040z03.js} +16 -16
  55. package/dist/chunks/{kv-v9qvtgmd.js → command-4ved7yaj.js} +7 -7
  56. package/dist/chunks/{kv-94exngkb.js → command-4y9deqpk.js} +24 -24
  57. package/dist/chunks/{kv-64z8z5x5.js → command-4z6b0fg6.js} +6 -6
  58. package/dist/chunks/{kv-07h2bzrz.js → command-518jw6te.js} +11 -11
  59. package/dist/chunks/{kv-y0bse006.js → command-55yvdk0c.js} +11 -11
  60. package/dist/chunks/{kv-2exvmxnk.js → command-578j1xdj.js} +10 -10
  61. package/dist/chunks/{kv-gr3mfh83.js → command-57jd71w6.js} +28 -28
  62. package/dist/chunks/{kv-tk0q86eg.js → command-58dzf215.js} +14 -14
  63. package/dist/chunks/{kv-5daktx2q.js → command-5daktx2q.js} +1 -1
  64. package/dist/chunks/{kv-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{kv-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{kv-hgeb4s25.js → command-5k3f87xj.js} +1 -1
  67. package/dist/chunks/{kv-j935v87r.js → command-5qd3pb7m.js} +2 -2
  68. package/dist/chunks/{kv-cq35m6me.js → command-5rw6je3s.js} +3 -3
  69. package/dist/chunks/{kv-3gqhfq1r.js → command-5w9qjdt3.js} +4 -4
  70. package/dist/chunks/{kv-syctsqr6.js → command-60q8mcwp.js} +8 -8
  71. package/dist/chunks/{kv-rcaq9zsf.js → command-62dw8djd.js} +36 -36
  72. package/dist/chunks/{kv-eszkm5vj.js → command-63bjv6jc.js} +6 -6
  73. package/dist/chunks/{kv-8brfdvrk.js → command-67nkcjnx.js} +17 -17
  74. package/dist/chunks/{kv-6h414ywr.js → command-6h414ywr.js} +2 -2
  75. package/dist/chunks/{kv-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
  76. package/dist/chunks/{kv-6abnk40k.js → command-6z5bwd8g.js} +9 -9
  77. package/dist/chunks/{kv-711hfp6y.js → command-711hfp6y.js} +2 -2
  78. package/dist/chunks/{kv-wh6ksyj4.js → command-73azkrsd.js} +12 -12
  79. package/dist/chunks/{kv-jdszapxk.js → command-77tfyndb.js} +9 -9
  80. package/dist/chunks/{kv-7bmhse3q.js → command-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{kv-cf4t2kv8.js → command-7k848sc6.js} +26 -26
  82. package/dist/chunks/{kv-rr97n57r.js → command-7nbw4m6q.js} +15 -15
  83. package/dist/chunks/{kv-c2pdtwhf.js → command-7rsx16tt.js} +8 -8
  84. package/dist/chunks/{kv-waa9wdep.js → command-7w3s9kd0.js} +6 -6
  85. package/dist/chunks/{kv-0c65v11p.js → command-7ym5twnq.js} +41 -41
  86. package/dist/chunks/{kv-5hwm4egr.js → command-84gdxzwd.js} +8 -8
  87. package/dist/chunks/{kv-6z7yq735.js → command-854ca1e8.js} +24 -24
  88. package/dist/chunks/{kv-f9x6rp1j.js → command-86s3977f.js} +1 -1
  89. package/dist/chunks/{kv-9rjp7yvj.js → command-8asq1gjq.js} +31 -31
  90. package/dist/chunks/{kv-rszjw5nd.js → command-8f30jcen.js} +17 -17
  91. package/dist/chunks/{kv-3gnxtrwc.js → command-8h5q56ar.js} +7 -7
  92. package/dist/chunks/{kv-8npyp30c.js → command-8npyp30c.js} +1 -1
  93. package/dist/chunks/{kv-nyhhhmd8.js → command-8zpj8ga2.js} +3 -3
  94. package/dist/chunks/{kv-93a8yfjt.js → command-93a8yfjt.js} +2 -2
  95. package/dist/chunks/{kv-483apw73.js → command-943mky1d.js} +10 -10
  96. package/dist/chunks/{kv-rvn46zq7.js → command-9qj8fy7h.js} +9 -9
  97. package/dist/chunks/{kv-9qm9egsn.js → command-9qm9egsn.js} +2 -2
  98. package/dist/chunks/command-9sh4wc5j.js +18 -0
  99. package/dist/chunks/{kv-ba79cv5k.js → command-9x7bsm9r.js} +83 -83
  100. package/dist/chunks/{kv-rn7fzfzb.js → command-9ym4a5yt.js} +15 -15
  101. package/dist/chunks/{kv-284xm0g3.js → command-a6ff0ad6.js} +11 -11
  102. package/dist/chunks/{kv-aaet6srn.js → command-aaet6srn.js} +2 -2
  103. package/dist/chunks/{kv-wsfy2223.js → command-ag4rn41e.js} +4 -4
  104. package/dist/chunks/{kv-mw36zcxb.js → command-ajeyjrs8.js} +6 -6
  105. package/dist/chunks/{kv-ajtjthsy.js → command-ajtjthsy.js} +2 -2
  106. package/dist/chunks/{kv-sdrecbr4.js → command-avf2gxwn.js} +27 -27
  107. package/dist/chunks/{kv-9p05ydt5.js → command-b21g3jx5.js} +11 -11
  108. package/dist/chunks/{kv-b6gygkdw.js → command-b6gygkdw.js} +2 -2
  109. package/dist/chunks/{kv-a3mv2pdz.js → command-b89m47td.js} +76 -76
  110. package/dist/chunks/{kv-b9wsbatv.js → command-b9wsbatv.js} +1 -1
  111. package/dist/chunks/{kv-n4qddg0w.js → command-bc8zabkg.js} +8 -8
  112. package/dist/chunks/{kv-tn0mb6rm.js → command-bp4zbqtd.js} +5 -5
  113. package/dist/chunks/{kv-ssbg0cn7.js → command-bs2z2x57.js} +35 -35
  114. package/dist/chunks/{kv-aw8agfgj.js → command-c28brx2k.js} +7 -7
  115. package/dist/chunks/{kv-ztwbsy28.js → command-c80ydkjz.js} +46 -46
  116. package/dist/chunks/{kv-v9m13ysc.js → command-cjy05afp.js} +24 -24
  117. package/dist/chunks/command-csvvt798.js +22 -0
  118. package/dist/chunks/{kv-62pfnrxw.js → command-cxnm9dwg.js} +13 -13
  119. package/dist/chunks/{kv-jtgs360h.js → command-cy3cnjq8.js} +4 -4
  120. package/dist/chunks/{kv-z0r88r3d.js → command-d674kx35.js} +11 -11
  121. package/dist/chunks/{kv-d72308c8.js → command-d72308c8.js} +2 -2
  122. package/dist/chunks/{kv-y8d1ay0e.js → command-df9bnbjn.js} +9 -9
  123. package/dist/chunks/{kv-djtdz80w.js → command-djtdz80w.js} +1 -1
  124. package/dist/chunks/{kv-wb29ggtc.js → command-dqwszdkc.js} +5 -5
  125. package/dist/chunks/{kv-wywtm3b4.js → command-drn755cb.js} +23 -23
  126. package/dist/chunks/{kv-mpsa3nes.js → command-dv0xdbpz.js} +12 -12
  127. package/dist/chunks/{kv-y8gp91n4.js → command-dxvz0qx6.js} +13 -13
  128. package/dist/chunks/{kv-yktzjgkc.js → command-e0nkwt9z.js} +4 -4
  129. package/dist/chunks/{kv-7nxyxket.js → command-e5b0qn1c.js} +1 -1
  130. package/dist/chunks/{kv-fngmbr2j.js → command-e5rv1qf4.js} +15 -15
  131. package/dist/chunks/{kv-pk93fgsn.js → command-e7xh6vke.js} +7 -7
  132. package/dist/chunks/{kv-1j6eeha2.js → command-ehkcz9nm.js} +28 -28
  133. package/dist/chunks/{kv-327n2tt7.js → command-ekmzxrqe.js} +8 -8
  134. package/dist/chunks/{kv-8s5g27jy.js → command-ex99dnp9.js} +8 -8
  135. package/dist/chunks/{kv-ctydmyak.js → command-eynqnfnw.js} +38 -38
  136. package/dist/chunks/{kv-ez5b8bq3.js → command-ez5b8bq3.js} +1 -1
  137. package/dist/chunks/{kv-rbss7vdr.js → command-f18yxx57.js} +6 -6
  138. package/dist/chunks/{kv-pzhf940q.js → command-f1kgb3zy.js} +17 -17
  139. package/dist/chunks/command-f4j0pa50.js +4 -0
  140. package/dist/chunks/{kv-vdex1qw9.js → command-f7pzrnm7.js} +6 -6
  141. package/dist/chunks/{kv-dyrrjrjh.js → command-fbfj6zdn.js} +4 -4
  142. package/dist/chunks/{kv-hsgbf354.js → command-fe9wffpa.js} +25 -25
  143. package/dist/chunks/{kv-grsggjxz.js → command-ff1sw35j.js} +29 -29
  144. package/dist/chunks/{kv-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{kv-fxypknc8.js → command-fxypknc8.js} +1 -1
  146. package/dist/chunks/{kv-986p65m9.js → command-g41n1fn3.js} +5 -5
  147. package/dist/chunks/{kv-zqg3qsz2.js → command-g7csxrs7.js} +4 -4
  148. package/dist/chunks/{kv-t445f1bj.js → command-g8p4v1rh.js} +10 -10
  149. package/dist/chunks/{kv-gd4qta3r.js → command-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{kv-11tw25g0.js → command-gzd7t3bg.js} +4 -4
  151. package/dist/chunks/{kv-g14v1841.js → command-gzzg4n28.js} +44 -44
  152. package/dist/chunks/{kv-cvwaz07y.js → command-h0v6k4wq.js} +19 -19
  153. package/dist/chunks/{kv-hj3nn2ka.js → command-h2st8tcp.js} +20 -20
  154. package/dist/chunks/{kv-h6vf3j39.js → command-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{kv-0c2smd8y.js → command-ha4v9y42.js} +14 -14
  156. package/dist/chunks/{kv-y9deds22.js → command-haxwcv5r.js} +10 -10
  157. package/dist/chunks/{kv-gva7hxj4.js → command-hb55mknr.js} +52 -52
  158. package/dist/chunks/{kv-heyhwy2w.js → command-heyhwy2w.js} +1 -1
  159. package/dist/chunks/{kv-amc59nhp.js → command-hjm0k3fp.js} +2 -2
  160. package/dist/chunks/{kv-41mncz27.js → command-hjrjbgez.js} +5 -5
  161. package/dist/chunks/{kv-hrvm11jt.js → command-hrvm11jt.js} +3 -3
  162. package/dist/chunks/{kv-cyae2b53.js → command-hv5tmyxa.js} +20 -20
  163. package/dist/chunks/{kv-3jn85j34.js → command-hzecryb5.js} +18 -18
  164. package/dist/chunks/{kv-e6hd9jay.js → command-j15mfg1p.js} +6 -6
  165. package/dist/chunks/{kv-a04vk3pp.js → command-j57dr7w8.js} +24 -24
  166. package/dist/chunks/{kv-bct739vz.js → command-j83byb14.js} +4 -4
  167. package/dist/chunks/{kv-5kceqzn1.js → command-jc31v14r.js} +9 -9
  168. package/dist/chunks/{kv-avcz7j5r.js → command-jmkbp1h5.js} +9 -9
  169. package/dist/chunks/{kv-j04nvffp.js → command-jn88vsgf.js} +36 -36
  170. package/dist/chunks/{kv-wtmp9133.js → command-jnbaqc7b.js} +19 -19
  171. package/dist/chunks/{kv-rf1xepha.js → command-js91r231.js} +20 -20
  172. package/dist/chunks/{kv-jnv71sbj.js → command-jvh9gk2c.js} +21 -21
  173. package/dist/chunks/{kv-jwcy2c2z.js → command-jwcy2c2z.js} +1 -1
  174. package/dist/chunks/{kv-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{kv-9dcr27t6.js → command-k5kpsmwm.js} +20 -20
  176. package/dist/chunks/{kv-v5dkyp31.js → command-k8962brh.js} +7 -7
  177. package/dist/chunks/{kv-0rag4e4f.js → command-k8feg6vv.js} +4 -4
  178. package/dist/chunks/{kv-kg06axw8.js → command-kg06axw8.js} +1 -1
  179. package/dist/chunks/{kv-k9jet765.js → command-kj8q7mtc.js} +24 -24
  180. package/dist/chunks/{kv-hw4pv20g.js → command-kvsjn1dr.js} +2 -2
  181. package/dist/chunks/{kv-cgxfzgsr.js → command-kwqsq9eb.js} +1 -1
  182. package/dist/chunks/{kv-rvhss2m2.js → command-kx2gvdct.js} +4 -4
  183. package/dist/chunks/{kv-y5j2xpyk.js → command-m1annk93.js} +11 -11
  184. package/dist/chunks/{kv-0763wtqz.js → command-m28de2s3.js} +139 -139
  185. package/dist/chunks/{kv-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{kv-v8gy3pjr.js → command-mcxg6pmm.js} +1 -1
  187. package/dist/chunks/{kv-51dky10w.js → command-md316dae.js} +24 -24
  188. package/dist/chunks/{kv-3rps85z5.js → command-mh85gtv1.js} +3 -3
  189. package/dist/chunks/{kv-mvfsc1pv.js → command-mhkvc446.js} +3 -3
  190. package/dist/chunks/{kv-fw8cvjkv.js → command-mhsg1yty.js} +10 -10
  191. package/dist/chunks/{kv-6e958v7x.js → command-mtcjf44p.js} +4 -4
  192. package/dist/chunks/{kv-g385kr8a.js → command-mv1gp3nd.js} +33 -33
  193. package/dist/chunks/{kv-2xwcamwv.js → command-mw9mt08r.js} +25 -25
  194. package/dist/chunks/{kv-5w5f5h43.js → command-mxppkm1b.js} +29 -29
  195. package/dist/chunks/{kv-m01f3ztw.js → command-mz1rhhtj.js} +10 -10
  196. package/dist/chunks/{kv-r3y5s33r.js → command-mznxs8d6.js} +36 -36
  197. package/dist/chunks/{kv-2kmdnfsa.js → command-natwdt6v.js} +32 -32
  198. package/dist/chunks/{kv-kg9yxd3j.js → command-nd78q6e5.js} +14 -14
  199. package/dist/chunks/{kv-dec85aak.js → command-njfhyprf.js} +28 -28
  200. package/dist/chunks/{kv-nsdz1sxb.js → command-nkpkrkfc.js} +51 -51
  201. package/dist/chunks/{kv-5ag54q36.js → command-npkajqde.js} +26 -26
  202. package/dist/chunks/{kv-bvtk4tvq.js → command-nxbchyd1.js} +15 -15
  203. package/dist/chunks/{kv-8y3p0gjc.js → command-nxhj2y70.js} +4 -4
  204. package/dist/chunks/{kv-e0vtkr8g.js → command-p4b86tx8.js} +6 -6
  205. package/dist/chunks/{kv-hsm8v5na.js → command-p5d8w6vs.js} +31 -31
  206. package/dist/chunks/command-p83dzjp9.js +243 -0
  207. package/dist/chunks/{kv-0m99z42p.js → command-p8vd7n39.js} +15 -15
  208. package/dist/chunks/{kv-g12117d9.js → command-pcednt3p.js} +42 -42
  209. package/dist/chunks/{kv-9j3fyze8.js → command-pdae5shs.js} +4 -4
  210. package/dist/chunks/{kv-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{kv-pknna89w.js → command-pknna89w.js} +1 -1
  212. package/dist/chunks/{kv-j36q68jf.js → command-pma9t47h.js} +21 -21
  213. package/dist/chunks/{kv-p6nrge75.js → command-ppktrk37.js} +30 -30
  214. package/dist/chunks/{kv-4zamrek1.js → command-q8rpcfw0.js} +8 -8
  215. package/dist/chunks/{kv-set6m918.js → command-qav3zztn.js} +20 -20
  216. package/dist/chunks/{kv-we11dx6z.js → command-qfnycs03.js} +14 -14
  217. package/dist/chunks/{kv-0jwsre1p.js → command-qgn6gcr1.js} +5 -5
  218. package/dist/chunks/{kv-1edtvy0k.js → command-qhdhv0w2.js} +15 -15
  219. package/dist/chunks/{kv-pcdwj75n.js → command-qhghjm17.js} +279 -279
  220. package/dist/chunks/{kv-nde3t6pb.js → command-qr1qsn5r.js} +13 -13
  221. package/dist/chunks/{kv-qsdy395h.js → command-qsdy395h.js} +1 -1
  222. package/dist/chunks/{kv-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
  223. package/dist/chunks/{kv-1ydgq2r4.js → command-r9hy8h05.js} +5 -5
  224. package/dist/chunks/{kv-94kekqj1.js → command-rgks3f05.js} +8 -8
  225. package/dist/chunks/{kv-apjnhj61.js → command-rmy3e5eg.js} +3 -3
  226. package/dist/chunks/{kv-fpdzc529.js → command-rx0dsajq.js} +9 -9
  227. package/dist/chunks/{kv-2xgyk5yr.js → command-rxsvjy6j.js} +27 -27
  228. package/dist/chunks/{kv-3vzcwd0g.js → command-rzhgj3wg.js} +18 -18
  229. package/dist/chunks/{kv-tkd6bwd8.js → command-s1zas8dv.js} +11 -11
  230. package/dist/chunks/{kv-qbyj8qxd.js → command-s3eqpch7.js} +1 -1
  231. package/dist/chunks/{kv-rsdvpskb.js → command-s41xc0fx.js} +6 -6
  232. package/dist/chunks/{kv-zkbmddfw.js → command-s4ye7va7.js} +15 -15
  233. package/dist/chunks/{kv-c9pb9e7v.js → command-s631mnhv.js} +24 -24
  234. package/dist/chunks/{kv-q334rcf3.js → command-s64tx33c.js} +20 -20
  235. package/dist/chunks/{kv-sba4qhjf.js → command-sba4qhjf.js} +1 -1
  236. package/dist/chunks/{kv-bgt6msk1.js → command-t7rtampj.js} +2 -2
  237. package/dist/chunks/{kv-tazgh4e4.js → command-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{kv-89znhe33.js → command-tcezcvh9.js} +4 -4
  239. package/dist/chunks/{kv-r5s1f9ds.js → command-thfv75je.js} +5 -5
  240. package/dist/chunks/{kv-tjykrgmx.js → command-tjykrgmx.js} +1 -1
  241. package/dist/chunks/{kv-8fjpabk1.js → command-tnsej14z.js} +24 -24
  242. package/dist/chunks/{kv-7m27rx9w.js → command-tr5yhgb5.js} +39 -39
  243. package/dist/chunks/{kv-6ycxekxv.js → command-txrprq48.js} +9 -9
  244. package/dist/chunks/{kv-6h1zm1av.js → command-ty47vh7p.js} +9 -9
  245. package/dist/chunks/{kv-4r9k75he.js → command-tz2h76xm.js} +8 -8
  246. package/dist/chunks/{kv-ygze9xf4.js → command-v63xgfyn.js} +3 -3
  247. package/dist/chunks/{kv-hbtmpj90.js → command-vbr4w0aw.js} +19 -19
  248. package/dist/chunks/{kv-4gdhbjcs.js → command-vedqaezr.js} +4 -4
  249. package/dist/chunks/{kv-4a9hv4gp.js → command-vjejhr4b.js} +32 -32
  250. package/dist/chunks/{kv-kawst5yz.js → command-vr2z3agv.js} +62 -62
  251. package/dist/chunks/{kv-91fwk46n.js → command-vvhr8ap4.js} +11 -11
  252. package/dist/chunks/{kv-ynvk86gk.js → command-vw50vsx1.js} +14 -14
  253. package/dist/chunks/{kv-4qjr8vj0.js → command-w0117ta3.js} +24 -24
  254. package/dist/chunks/{kv-xdvenhre.js → command-w16pqxss.js} +22 -22
  255. package/dist/chunks/{kv-54dwvch8.js → command-w21nff9d.js} +28 -28
  256. package/dist/chunks/{kv-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{kv-wd87259q.js → command-wd87259q.js} +1 -1
  258. package/dist/chunks/{kv-pkpgy38q.js → command-wgxn7ww3.js} +4 -4
  259. package/dist/chunks/{kv-7sc33ysb.js → command-wxgpaprx.js} +10 -10
  260. package/dist/chunks/{kv-98p2q5zs.js → command-x0pd42vp.js} +15 -15
  261. package/dist/chunks/{kv-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{kv-0n419b4w.js → command-xnz7e9v2.js} +26 -26
  263. package/dist/chunks/{kv-qyewj5s0.js → command-xqgz45ap.js} +11 -11
  264. package/dist/chunks/{kv-z2wsashg.js → command-xqkd9jrt.js} +13 -13
  265. package/dist/chunks/{kv-7ng7exzm.js → command-xqsy6kp0.js} +1 -1
  266. package/dist/chunks/{kv-sp5wnj6d.js → command-y092mk2a.js} +6 -6
  267. package/dist/chunks/{kv-ghvapxam.js → command-y0kje1kq.js} +3 -3
  268. package/dist/chunks/{kv-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{kv-de6hrhrf.js → command-y3kam97a.js} +35 -35
  270. package/dist/chunks/{kv-qvs4vh02.js → command-y5x79gk7.js} +16 -16
  271. package/dist/chunks/{kv-yfbd16n1.js → command-yfbd16n1.js} +2 -2
  272. package/dist/chunks/{kv-3gng8nv9.js → command-yzsm82be.js} +22 -22
  273. package/dist/chunks/{kv-z1k01bn4.js → command-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{kv-df3bq64p.js → command-z2bjgnfj.js} +18 -18
  275. package/dist/chunks/{kv-4rdnd30x.js → command-zk6hkb9n.js} +37 -37
  276. package/dist/chunks/{kv-ykczf8eq.js → command-zk8c4w5t.js} +5 -5
  277. package/dist/chunks/{kv-tr6k467p.js → command-zmnepbn3.js} +7 -7
  278. package/dist/chunks/{kv-kxnt8qcg.js → command-zn2pq4p8.js} +5 -5
  279. package/dist/chunks/{kv-j0msafmp.js → command-zpgxjj6y.js} +16 -16
  280. package/dist/chunks/{kv-7vqq5csv.js → command-zqj49qgm.js} +32 -32
  281. package/dist/chunks/{kv-zxq2ej10.js → command-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{kv-fn7btw4k.js → command-zzjwypeh.js} +6 -6
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +83 -83
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +116 -116
  291. package/dist/config/plugin/command.js +207 -207
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +112 -112
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +114 -114
  298. package/dist/config/plugin/mcp.js +125 -125
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +132 -132
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +114 -114
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +116 -116
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +74 -74
  314. package/dist/database/database.js +64 -64
  315. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +13 -13
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +14 -14
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +74 -74
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +1 -1
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +90 -90
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +68 -68
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +215 -215
  412. package/dist/filesystem/protected.js +3 -3
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +15 -15
  416. package/dist/filesystem.js +102 -102
  417. package/dist/form.js +80 -80
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +92 -92
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +7 -7
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +5 -5
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +83 -83
  447. package/dist/instructions/builtins.js +80 -80
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +79 -79
  451. package/dist/job.js +77 -77
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +83 -83
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +80 -80
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +98 -98
  461. package/dist/mcp/instructions.js +120 -120
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +7 -7
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +6 -6
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +78 -78
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +107 -107
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +86 -86
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +98 -98
  479. package/dist/plugin/command.js +95 -95
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +2 -2
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +116 -116
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +77 -77
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +3 -3
  527. package/dist/plugin/skill.js +131 -131
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +335 -335
  530. package/dist/plugin/system-prompt.js +1 -1
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +7 -7
  537. package/dist/plugin/websearch/firecrawl.js +6 -6
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +6 -6
  540. package/dist/plugin/websearch/parallel.js +6 -6
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +217 -217
  543. package/dist/project/schema.js +4 -4
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +79 -79
  546. package/dist/provider.js +5 -5
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +90 -90
  551. package/dist/reference/instructions.js +84 -84
  552. package/dist/reference.js +86 -86
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +91 -91
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +127 -127
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +1 -1
  563. package/dist/session/error.js +5 -5
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +214 -214
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +146 -146
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +86 -86
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +91 -91
  574. package/dist/session/message-updater.js +2 -2
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +112 -112
  577. package/dist/session/model-transport.js +9 -9
  578. package/dist/session/move.js +124 -124
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +1 -1
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +4 -4
  589. package/dist/session/runner/step.js +119 -119
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +167 -167
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +71 -71
  597. package/dist/session/store.js +82 -82
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +149 -149
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +210 -210
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +207 -207
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +11 -11
  610. package/dist/shell.js +128 -128
  611. package/dist/skill/discovery.js +4 -4
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +106 -106
  614. package/dist/snapshot.js +82 -82
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +119 -119
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +116 -116
  625. package/dist/tool/plugin/question.js +99 -99
  626. package/dist/tool/plugin/read.js +120 -120
  627. package/dist/tool/plugin/shell.js +210 -210
  628. package/dist/tool/plugin/skill.js +107 -107
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +104 -104
  631. package/dist/tool/plugin/websearch.js +106 -106
  632. package/dist/tool/plugin/write.js +116 -116
  633. package/dist/tool/read-filesystem.js +96 -96
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +13 -13
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +5 -5
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +5 -5
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +2 -2
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +7 -7
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +82 -82
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +75 -75
  666. package/dist/workspace/driver.js +5 -5
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +76 -76
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +90 -90
  673. package/package.json +7 -7
  674. package/dist/chunks/kv-e3ze3pba.js +0 -4
  675. package/dist/chunks/kv-jqh9b0xq.js +0 -18
  676. package/dist/chunks/kv-pba9ahe1.js +0 -22
  677. package/dist/chunks/kv-pbpghnj4.js +0 -243
  678. /package/dist/chunks/{kv-0fabt78z.js → command-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{kv-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{kv-0zkw76rk.js → command-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{kv-17cy0kzp.js → command-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{kv-1cnp2v09.js → command-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{kv-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{kv-2710q6r3.js → command-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{kv-2axfhc9x.js → command-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{kv-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{kv-359p4xyc.js → command-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{kv-3asan66x.js → command-3asan66x.js} +0 -0
  689. /package/dist/chunks/{kv-3t738kvx.js → command-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{kv-3v8g72cx.js → command-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{kv-3wcehsnq.js → command-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{kv-41nvscxy.js → command-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{kv-43n2bw4t.js → command-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{kv-4knz6hnm.js → command-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{kv-4y7fprxs.js → command-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{kv-53557ph1.js → command-53557ph1.js} +0 -0
  697. /package/dist/chunks/{kv-550bvhaj.js → command-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{kv-6prwharc.js → command-6prwharc.js} +0 -0
  699. /package/dist/chunks/{kv-7akdwqpd.js → command-7akdwqpd.js} +0 -0
  700. /package/dist/chunks/{kv-7m9af43g.js → command-7m9af43g.js} +0 -0
  701. /package/dist/chunks/{kv-822emrt2.js → command-822emrt2.js} +0 -0
  702. /package/dist/chunks/{kv-88xbtdfr.js → command-88xbtdfr.js} +0 -0
  703. /package/dist/chunks/{kv-8n3pysct.js → command-8n3pysct.js} +0 -0
  704. /package/dist/chunks/{kv-982e01ww.js → command-982e01ww.js} +0 -0
  705. /package/dist/chunks/{kv-9a4afbnw.js → command-9a4afbnw.js} +0 -0
  706. /package/dist/chunks/{kv-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
  707. /package/dist/chunks/{kv-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
  708. /package/dist/chunks/{kv-af5trqkr.js → command-af5trqkr.js} +0 -0
  709. /package/dist/chunks/{kv-afrmfg78.js → command-afrmfg78.js} +0 -0
  710. /package/dist/chunks/{kv-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
  711. /package/dist/chunks/{kv-atq7p7m5.js → command-atq7p7m5.js} +0 -0
  712. /package/dist/chunks/{kv-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
  713. /package/dist/chunks/{kv-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
  714. /package/dist/chunks/{kv-cf4snx6d.js → command-cf4snx6d.js} +0 -0
  715. /package/dist/chunks/{kv-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{kv-d9fn303g.js → command-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{kv-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{kv-dajrwvna.js → command-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{kv-dap0rakb.js → command-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{kv-df08tz66.js → command-df08tz66.js} +0 -0
  721. /package/dist/chunks/{kv-dy18nga0.js → command-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{kv-e5kj55wp.js → command-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{kv-e73j6tqm.js → command-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{kv-eh3zwz77.js → command-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{kv-emrn6kk6.js → command-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{kv-f0mxakyp.js → command-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{kv-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{kv-faypxj3z.js → command-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{kv-fd410y7t.js → command-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{kv-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{kv-g4wezp1m.js → command-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{kv-g86h250q.js → command-g86h250q.js} +0 -0
  733. /package/dist/chunks/{kv-gebd4c9n.js → command-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{kv-hk9envan.js → command-hk9envan.js} +0 -0
  735. /package/dist/chunks/{kv-j2ntwpah.js → command-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{kv-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{kv-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
  738. /package/dist/chunks/{kv-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
  739. /package/dist/chunks/{kv-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
  740. /package/dist/chunks/{kv-mntxs535.js → command-mntxs535.js} +0 -0
  741. /package/dist/chunks/{kv-mp448xyj.js → command-mp448xyj.js} +0 -0
  742. /package/dist/chunks/{kv-msx8hqn2.js → command-msx8hqn2.js} +0 -0
  743. /package/dist/chunks/{kv-n05xt0ee.js → command-n05xt0ee.js} +0 -0
  744. /package/dist/chunks/{kv-n3j8tn72.js → command-n3j8tn72.js} +0 -0
  745. /package/dist/chunks/{kv-njntx4h6.js → command-njntx4h6.js} +0 -0
  746. /package/dist/chunks/{kv-p8qxwesx.js → command-p8qxwesx.js} +0 -0
  747. /package/dist/chunks/{kv-q3sfg36h.js → command-q3sfg36h.js} +0 -0
  748. /package/dist/chunks/{kv-q74kybfr.js → command-q74kybfr.js} +0 -0
  749. /package/dist/chunks/{kv-qaymkmh1.js → command-qaymkmh1.js} +0 -0
  750. /package/dist/chunks/{kv-qb87gjwd.js → command-qb87gjwd.js} +0 -0
  751. /package/dist/chunks/{kv-qfa1cgps.js → command-qfa1cgps.js} +0 -0
  752. /package/dist/chunks/{kv-qrg20bc0.js → command-qrg20bc0.js} +0 -0
  753. /package/dist/chunks/{kv-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
  754. /package/dist/chunks/{kv-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
  755. /package/dist/chunks/{kv-se0s1eqw.js → command-se0s1eqw.js} +0 -0
  756. /package/dist/chunks/{kv-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
  757. /package/dist/chunks/{kv-ssg3fenm.js → command-ssg3fenm.js} +0 -0
  758. /package/dist/chunks/{kv-twg0f83k.js → command-twg0f83k.js} +0 -0
  759. /package/dist/chunks/{kv-w803qqfp.js → command-w803qqfp.js} +0 -0
  760. /package/dist/chunks/{kv-wer8tq1h.js → command-wer8tq1h.js} +0 -0
  761. /package/dist/chunks/{kv-wtztk69x.js → command-wtztk69x.js} +0 -0
  762. /package/dist/chunks/{kv-x0ckcb58.js → command-x0ckcb58.js} +0 -0
  763. /package/dist/chunks/{kv-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
  764. /package/dist/chunks/{kv-x61499pn.js → command-x61499pn.js} +0 -0
  765. /package/dist/chunks/{kv-y44na4kk.js → command-y44na4kk.js} +0 -0
  766. /package/dist/chunks/{kv-y8cydn3q.js → command-y8cydn3q.js} +0 -0
  767. /package/dist/chunks/{kv-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
  768. /package/dist/chunks/{kv-z9919s4g.js → command-z9919s4g.js} +0 -0
  769. /package/dist/chunks/{kv-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-p8qxwesx.js";
3
+ } from "./command-p8qxwesx.js";
4
4
  import {
5
- Service70
6
- } from "./kv-c7r09442.js";
5
+ Service68
6
+ } from "./command-4jcgzkct.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service15
10
- } from "./kv-j0msafmp.js";
9
+ Service13
10
+ } from "./command-zpgxjj6y.js";
11
11
  import {
12
- Service53
13
- } from "./kv-nsdz1sxb.js";
12
+ Service42
13
+ } from "./command-nkpkrkfc.js";
14
14
  import {
15
- Service6
16
- } from "./kv-wtmp9133.js";
15
+ Service11
16
+ } from "./command-jnbaqc7b.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./kv-2a5m3afh.js";
19
+ } from "./command-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service5
31
- } from "./kv-8brfdvrk.js";
30
+ Service12
31
+ } from "./command-67nkcjnx.js";
32
32
  import {
33
33
  __export
34
- } from "./kv-9rqn6x4v.js";
34
+ } from "./command-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input7,
40
- Plugin: () => Plugin8,
39
+ Input: () => Input10,
40
+ Plugin: () => Plugin41,
41
41
  ReadTool: () => exports_read,
42
- name: () => name7,
43
- toModelContent: () => toModelContent2
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent4
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name7 = "read";
49
+ var name10 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input7 = LocationInput;
60
+ var Input10 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin8 = {
62
+ var Plugin41 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service5;
66
- const mutation = yield* Service15;
67
- const permission = yield* Service53;
68
- const sessionInstructions = yield* Service6;
65
+ const reader = yield* Service12;
66
+ const mutation = yield* Service13;
67
+ const permission = yield* Service42;
68
+ const sessionInstructions = yield* Service11;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service70;
70
+ const location = yield* Service68;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name7,
72
+ name: name10,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input7,
75
+ input: Input10,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin8 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name7,
93
+ action: name10,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin8 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent2(result.path, input.offset, result.output),
144
+ content: toModelContent4(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent2 = (path, offset, output) => {
176
+ var toModelContent4 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent2 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name7, Input7, Plugin8, toModelContent2, exports_read };
211
+ export { name10, Input10, Plugin41, toModelContent4, exports_read };
@@ -0,0 +1,243 @@
1
+ import {
2
+ node47
3
+ } from "./command-cjy05afp.js";
4
+ import {
5
+ node61
6
+ } from "./command-4sjd4f28.js";
7
+ import {
8
+ node77
9
+ } from "./command-jvh9gk2c.js";
10
+ import {
11
+ node76
12
+ } from "./command-vbr4w0aw.js";
13
+ import {
14
+ node75
15
+ } from "./command-3q60g5tw.js";
16
+ import {
17
+ node67
18
+ } from "./command-w0117ta3.js";
19
+ import {
20
+ node71,
21
+ boundNode2
22
+ } from "./command-4jcgzkct.js";
23
+ import {
24
+ configured5,
25
+ node59
26
+ } from "./command-tr5yhgb5.js";
27
+ import {
28
+ node57
29
+ } from "./command-4y9deqpk.js";
30
+ import {
31
+ node52
32
+ } from "./command-cxnm9dwg.js";
33
+ import {
34
+ node55
35
+ } from "./command-e5rv1qf4.js";
36
+ import {
37
+ node17
38
+ } from "./command-3zxznrdw.js";
39
+ import {
40
+ node16
41
+ } from "./command-avf2gxwn.js";
42
+ import {
43
+ node54
44
+ } from "./command-y3kam97a.js";
45
+ import {
46
+ node53
47
+ } from "./command-mw9mt08r.js";
48
+ import {
49
+ node79
50
+ } from "./command-jc31v14r.js";
51
+ import {
52
+ node38
53
+ } from "./command-pcednt3p.js";
54
+ import {
55
+ Service33,
56
+ node35
57
+ } from "./command-y092mk2a.js";
58
+ import {
59
+ node29
60
+ } from "./command-0yrmd491.js";
61
+ import {
62
+ node48
63
+ } from "./command-ekmzxrqe.js";
64
+ import {
65
+ node44
66
+ } from "./command-nkpkrkfc.js";
67
+ import {
68
+ node33
69
+ } from "./command-dxvz0qx6.js";
70
+ import {
71
+ configured7,
72
+ node62
73
+ } from "./command-tnsej14z.js";
74
+ import {
75
+ node36
76
+ } from "./command-73azkrsd.js";
77
+ import {
78
+ node39
79
+ } from "./command-kj8q7mtc.js";
80
+ import {
81
+ node37
82
+ } from "./command-njfhyprf.js";
83
+ import {
84
+ node65
85
+ } from "./command-npkajqde.js";
86
+ import {
87
+ node26
88
+ } from "./command-z2bjgnfj.js";
89
+ import {
90
+ node43
91
+ } from "./command-854ca1e8.js";
92
+ import {
93
+ node28
94
+ } from "./command-s64tx33c.js";
95
+ import {
96
+ node25
97
+ } from "./command-9x7bsm9r.js";
98
+ import {
99
+ node51
100
+ } from "./command-yzsm82be.js";
101
+ import {
102
+ node64
103
+ } from "./command-x0pd42vp.js";
104
+ import {
105
+ node42
106
+ } from "./command-dv0xdbpz.js";
107
+ import {
108
+ node40
109
+ } from "./command-62dw8djd.js";
110
+ import {
111
+ node20
112
+ } from "./command-9ym4a5yt.js";
113
+ import {
114
+ node19
115
+ } from "./command-hv5tmyxa.js";
116
+ import {
117
+ node50
118
+ } from "./command-2w9k586s.js";
119
+ import {
120
+ node18
121
+ } from "./command-pma9t47h.js";
122
+ import {
123
+ node6
124
+ } from "./command-ppktrk37.js";
125
+ import {
126
+ node15
127
+ } from "./command-zpgxjj6y.js";
128
+ import {
129
+ node3,
130
+ bound2
131
+ } from "./command-60q8mcwp.js";
132
+ import {
133
+ node12
134
+ } from "./command-3wbgnpam.js";
135
+ import {
136
+ node13
137
+ } from "./command-jnbaqc7b.js";
138
+ import {
139
+ node14
140
+ } from "./command-67nkcjnx.js";
141
+ import {
142
+ node2
143
+ } from "./command-bs2z2x57.js";
144
+ import {
145
+ refreshNode2
146
+ } from "./command-mznxs8d6.js";
147
+ import {
148
+ node63
149
+ } from "./command-ff1sw35j.js";
150
+ import {
151
+ node11
152
+ } from "./command-xnz7e9v2.js";
153
+ import {
154
+ node10
155
+ } from "./command-vr2z3agv.js";
156
+ import {
157
+ __export
158
+ } from "./command-9rqn6x4v.js";
159
+
160
+ // src/instance.ts
161
+ var exports_instance = {};
162
+ __export(exports_instance, {
163
+ Instance: () => exports_instance,
164
+ Service: () => Service33,
165
+ graph: () => graph2,
166
+ layer: () => layer2,
167
+ node: () => node35
168
+ });
169
+ import { Effect, Layer } from "effect";
170
+ import { LayerNode } from "@opencode-ai/util/effect/layer-node";
171
+ import { Node } from "@opencode-ai/util/effect/app-node";
172
+ var nodes = [
173
+ node71,
174
+ node57,
175
+ node59,
176
+ node47,
177
+ node67,
178
+ node65,
179
+ node20,
180
+ node50,
181
+ node76,
182
+ node75,
183
+ node54,
184
+ node61,
185
+ node18,
186
+ node48,
187
+ node3,
188
+ node2,
189
+ refreshNode2,
190
+ node17,
191
+ node16,
192
+ node64,
193
+ node63,
194
+ node40,
195
+ node43,
196
+ node36,
197
+ node62,
198
+ node15,
199
+ node52,
200
+ node55,
201
+ node38,
202
+ node44,
203
+ node39,
204
+ node42,
205
+ node79,
206
+ node28,
207
+ node26,
208
+ node29,
209
+ node77,
210
+ node53,
211
+ node14,
212
+ node37,
213
+ node13,
214
+ node33,
215
+ node12,
216
+ node11,
217
+ node25,
218
+ node51,
219
+ node10,
220
+ node19,
221
+ node6
222
+ ];
223
+ var graph2 = LayerNode.group(nodes);
224
+ var vanillaReplacements = [
225
+ node59.replace(configured5({ project: false, global: false })),
226
+ node62.replace(configured7({ project: false, global: false }))
227
+ ];
228
+ function layer2(ref, options = {}) {
229
+ const startedAt = performance.now();
230
+ const replacements = [
231
+ ...options.discovery === false ? vanillaReplacements : [],
232
+ ...options.replacements ?? [],
233
+ node71.replace(boundNode2(ref, { discovery: options.discovery })),
234
+ node3.replace(bound2(options.plugins ?? []))
235
+ ];
236
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
237
+ directory: ref.directory,
238
+ workspaceID: ref.workspaceID,
239
+ durationMs: Math.round(performance.now() - startedAt)
240
+ })));
241
+ }
242
+
243
+ export { graph2, layer2, exports_instance };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./kv-3rps85z5.js";
4
+ } from "./command-mh85gtv1.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./kv-d72308c8.js";
7
+ } from "./command-d72308c8.js";
8
8
  import {
9
9
  __export
10
- } from "./kv-9rqn6x4v.js";
10
+ } from "./command-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: () => ID7,
17
- Info: () => Info20,
16
+ ID: () => ID5,
17
+ Info: () => Info7,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service54,
21
- node: () => node57
20
+ Service: () => Service43,
21
+ node: () => node45
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode-ai/schema/project";
26
26
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode-ai/schema/permission-saved";
28
- var ID7 = PermissionSaved.ID;
29
- var Info20 = PermissionSaved.Info;
28
+ var ID5 = PermissionSaved.ID;
29
+ var Info7 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service54 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service43 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service54, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service43, Effect.gen(function* () {
42
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);
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service54, 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: ID7.create(),
56
+ id: ID5.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service54, 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 Service54.of({ list, add, remove });
65
+ return Service43.of({ list, add, remove });
66
66
  }));
67
- var node57 = makeGlobalNode({ service: Service54, layer, deps: [node84] });
67
+ var node45 = makeGlobalNode({ service: Service43, layer, deps: [node84] });
68
68
 
69
- export { ID7, Info20, ListInput4, AddInput2, Service54, node57, exports_saved };
69
+ export { ID5, Info7, ListInput4, AddInput2, Service43, node45, exports_saved };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./kv-jwcy2c2z.js";
3
+ } from "./command-jwcy2c2z.js";
4
4
  import {
5
5
  Service79,
6
6
  node83
7
- } from "./kv-9j3fyze8.js";
7
+ } from "./command-pdae5shs.js";
8
8
  import {
9
9
  Event19,
10
- Service77,
11
- node81
12
- } from "./kv-91fwk46n.js";
10
+ Service75,
11
+ node78
12
+ } from "./command-vvhr8ap4.js";
13
13
  import {
14
- Service70,
15
- node74
16
- } from "./kv-c7r09442.js";
14
+ Service68,
15
+ node71
16
+ } from "./command-4jcgzkct.js";
17
17
  import {
18
- Service62,
19
- node65
20
- } from "./kv-94exngkb.js";
18
+ Service55,
19
+ node57
20
+ } from "./command-4y9deqpk.js";
21
21
  import {
22
- ID18,
23
- Service78,
24
- node82
25
- } from "./kv-jnv71sbj.js";
22
+ ID15,
23
+ Service74,
24
+ node77
25
+ } from "./command-jvh9gk2c.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./kv-kg06axw8.js";
29
+ } from "./command-kg06axw8.js";
30
30
  import {
31
31
  ID14,
32
32
  MethodID2,
33
- Service76,
34
- node80
35
- } from "./kv-hbtmpj90.js";
33
+ Service73,
34
+ node76
35
+ } from "./command-vbr4w0aw.js";
36
36
  import {
37
37
  __export
38
- } from "./kv-9rqn6x4v.js";
38
+ } from "./command-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options3,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options4,
46
46
  Prompt: () => Prompt2,
47
47
  PromptArgument: () => PromptArgument2,
48
48
  PromptMessage: () => PromptMessage2,
@@ -56,13 +56,13 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service35,
59
+ Service: () => Service36,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
63
63
  ToolResult: () => ToolResult2,
64
64
  ToolResultContent: () => ToolResultContent2,
65
- configured: () => configured3,
65
+ configured: () => configured4,
66
66
  layer: () => layer16,
67
67
  node: () => node38
68
68
  });
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
147
147
  var ResourceContentPart2 = Mcp.ResourceContentPart;
148
148
  var ResourceContent2 = Mcp.ResourceContent;
149
149
 
150
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
150
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
151
151
  server: ServerName2
152
152
  }) {
153
153
  get message() {
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service35 extends Context.Service()("@opencode/MCP") {
168
+ class Service36 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
- var Options3 = Schema.Struct({
170
+ var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
172
172
  name: Schema.String,
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
177
- const location = yield* Service70;
178
- const environment = yield* Service62;
176
+ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
177
+ const location = yield* Service68;
178
+ const environment = yield* Service55;
179
179
  const bus = yield* Service79;
180
- const forms = yield* Service78;
181
- const integration = yield* Service76;
182
- const credentials = yield* Service77;
180
+ const forms = yield* Service74;
181
+ const integration = yield* Service73;
182
+ const credentials = yield* Service75;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -216,7 +216,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
216
216
  const name = ServerName2.make(server);
217
217
  const entry = entries.get(name);
218
218
  if (!entry)
219
- return yield* new NotFoundError2({ server: name });
219
+ return yield* new NotFoundError3({ server: name });
220
220
  return { name, entry };
221
221
  });
222
222
  const connectProvider = Effect.fnUntraced(function* (entry) {
@@ -285,7 +285,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
285
285
  const elicitation = {
286
286
  create: (input) => Effect.gen(function* () {
287
287
  if (input.params.mode === "url") {
288
- const formID = ID18.create();
288
+ const formID = ID15.create();
289
289
  const key = input.server + "\x00" + input.params.elicitationId;
290
290
  urlElicitations.set(key, formID);
291
291
  return yield* forms.ask({
@@ -403,7 +403,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
403
403
  entry.scope = scope;
404
404
  const authProvider = yield* connectProvider(entry);
405
405
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
406
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope), Effect.exit);
406
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service55, environment), Scope.provide(scope), Effect.exit);
407
407
  if (Exit.isSuccess(result)) {
408
408
  entry.client = result.value.connection;
409
409
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
557
557
  concurrency: "unbounded",
558
558
  discard: true
559
559
  }));
560
- return Service35.of({
560
+ return Service36.of({
561
561
  transform: state.transform,
562
562
  reload: state.reload,
563
563
  servers: Effect.fn("MCP.servers")(function* () {
@@ -677,14 +677,14 @@ var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
677
677
  })
678
678
  });
679
679
  }));
680
- function configured3(options) {
680
+ function configured4(options) {
681
681
  return makeLocationNode({
682
- service: Service35,
682
+ service: Service36,
683
683
  layer: layer16(options),
684
- deps: [node74, node65, node83, node82, node80, node81]
684
+ deps: [node71, node57, node83, node77, node76, node78]
685
685
  });
686
686
  }
687
- var node38 = configured3();
687
+ var node38 = configured4();
688
688
  function toElicitationField(key, property, required) {
689
689
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
690
690
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
735
735
  }
736
736
  }
737
737
 
738
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service35, Options3, layer16, configured3, node38, exports_mcp4 };
738
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service36, Options4, layer16, configured4, node38, exports_mcp4 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service80,
3
3
  node84
4
- } from "./kv-3rps85z5.js";
4
+ } from "./command-mh85gtv1.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./kv-2710q6r3.js";
8
+ } from "./command-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./kv-jwcy2c2z.js";
11
+ } from "./command-jwcy2c2z.js";
12
12
  import {
13
13
  __export
14
- } from "./kv-9rqn6x4v.js";
14
+ } from "./command-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./command-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./kv-qfa1cgps.js";
3
+ } from "./command-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";