@opencode/core 0.0.0-dev-19896 → 0.0.0-dev-19898

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-e8mvkq4k.js → repository-03ajav8s.js} +15 -15
  8. package/dist/chunks/{file-0qad3ttb.js → repository-08e6decx.js} +32 -32
  9. package/dist/chunks/{file-00af4kh8.js → repository-08v0y3hn.js} +8 -8
  10. package/dist/chunks/{file-7ygdg4wh.js → repository-0bgghbta.js} +317 -317
  11. package/dist/chunks/{file-w8vgje9p.js → repository-0ej8hn87.js} +9 -9
  12. package/dist/chunks/{file-gghxsv2g.js → repository-0fnnvvtf.js} +32 -32
  13. package/dist/chunks/{file-d93gxzhm.js → repository-0kwr4h1p.js} +16 -16
  14. package/dist/chunks/{file-tkmzzze4.js → repository-0n0z2jxy.js} +22 -22
  15. package/dist/chunks/{file-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{file-h85dz378.js → repository-0pdxzthh.js} +8 -8
  17. package/dist/chunks/{file-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{file-haa19701.js → repository-156zzd6s.js} +4 -4
  19. package/dist/chunks/{file-xm7z07hf.js → repository-16nrxpzh.js} +22 -22
  20. package/dist/chunks/{file-f8e7pbj3.js → repository-19h9n27t.js} +11 -11
  21. package/dist/chunks/{file-73tb2d7t.js → repository-1bbkgx8g.js} +3 -3
  22. package/dist/chunks/{file-7ahgtxs9.js → repository-1bgmqjfz.js} +18 -18
  23. package/dist/chunks/{file-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{file-jfqtm2ew.js → repository-1g7epwpd.js} +7 -7
  25. package/dist/chunks/{file-gw23creq.js → repository-1k5ynee8.js} +30 -30
  26. package/dist/chunks/{file-bade5gr5.js → repository-1kzmjx2c.js} +3 -3
  27. package/dist/chunks/repository-1qq6zhmr.js +26 -0
  28. package/dist/chunks/{file-xfhar90w.js → repository-1yry28cj.js} +31 -31
  29. package/dist/chunks/{file-21r38tys.js → repository-21r38tys.js} +1 -1
  30. package/dist/chunks/{file-6h73sxmp.js → repository-2402vzrj.js} +5 -5
  31. package/dist/chunks/{file-nscznvay.js → repository-24dd53tp.js} +9 -9
  32. package/dist/chunks/{file-tac0hfxd.js → repository-25dp4z6d.js} +53 -53
  33. package/dist/chunks/{file-qkxsz2mg.js → repository-27th7jhh.js} +20 -20
  34. package/dist/chunks/{file-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{file-hx99ev5f.js → repository-2aj92ezp.js} +15 -15
  36. package/dist/chunks/{file-sw35dprj.js → repository-2ax7wrr2.js} +5 -5
  37. package/dist/chunks/{file-ee73fed3.js → repository-2b63vbac.js} +47 -47
  38. package/dist/chunks/{file-0493g1vy.js → repository-2b9gc1bn.js} +21 -21
  39. package/dist/chunks/{file-5n76hmjp.js → repository-2gxdjdr0.js} +5 -5
  40. package/dist/chunks/{file-fcrkznn8.js → repository-2k8khapm.js} +5 -5
  41. package/dist/chunks/{file-r4xn8cgd.js → repository-32eyc9pz.js} +5 -5
  42. package/dist/chunks/{file-vykevjvn.js → repository-35ng7dkh.js} +5 -5
  43. package/dist/chunks/{file-2zqpyx7j.js → repository-3dxbc1k2.js} +3 -3
  44. package/dist/chunks/{file-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{file-vx7aa5m2.js → repository-3h63p6gh.js} +27 -27
  46. package/dist/chunks/{file-s7y6nykf.js → repository-3hcj8h5a.js} +20 -20
  47. package/dist/chunks/{file-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{file-ymd9ngfh.js → repository-3r3w1wnb.js} +24 -24
  49. package/dist/chunks/{file-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{file-4mg090da.js → repository-3t9hcx1j.js} +27 -27
  51. package/dist/chunks/{file-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{file-04k65yr5.js → repository-3wb601pz.js} +5 -5
  53. package/dist/chunks/{file-2rk3cq7y.js → repository-3xtyrk98.js} +13 -13
  54. package/dist/chunks/{file-kztag27a.js → repository-40jd367m.js} +26 -26
  55. package/dist/chunks/{file-ayykrmcz.js → repository-4687882h.js} +32 -32
  56. package/dist/chunks/{file-x00jkr1b.js → repository-47dd7mnd.js} +44 -44
  57. package/dist/chunks/{file-2jwpwh9n.js → repository-48dzx0v6.js} +44 -44
  58. package/dist/chunks/{file-p41fbzgp.js → repository-4bycmxaz.js} +6 -6
  59. package/dist/chunks/{file-44h5tttr.js → repository-4dgbcxzg.js} +4 -4
  60. package/dist/chunks/{file-z9k7j840.js → repository-4jegkhqk.js} +14 -14
  61. package/dist/chunks/{file-pq65tk6f.js → repository-4qhnatmg.js} +7 -7
  62. package/dist/chunks/{file-4whbgcxk.js → repository-4tvtkt0r.js} +18 -18
  63. package/dist/chunks/{file-mxvdmhxd.js → repository-4xpxjm9m.js} +11 -11
  64. package/dist/chunks/{file-1ygqh575.js → repository-56gdpj1q.js} +9 -9
  65. package/dist/chunks/{file-5daktx2q.js → repository-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-vsmvdy9p.js → repository-5eqe6y7x.js} +11 -11
  67. package/dist/chunks/{file-dqezrhz2.js → repository-5nncaxqn.js} +16 -16
  68. package/dist/chunks/{file-ndqtf2h8.js → repository-5qkxfyep.js} +6 -6
  69. package/dist/chunks/{file-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  70. package/dist/chunks/{file-669tq793.js → repository-669tq793.js} +1 -1
  71. package/dist/chunks/{file-n9hnzybb.js → repository-68df76cx.js} +20 -20
  72. package/dist/chunks/{file-40cw0428.js → repository-6dp2jh4b.js} +4 -4
  73. package/dist/chunks/{file-78ghsz8c.js → repository-6j0pmg7r.js} +35 -35
  74. package/dist/chunks/{file-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{file-hg6thggv.js → repository-6te9s930.js} +23 -23
  76. package/dist/chunks/{file-jjpeq0x6.js → repository-6zh7xxe6.js} +26 -26
  77. package/dist/chunks/{file-4ecc57dw.js → repository-747xp0mp.js} +47 -47
  78. package/dist/chunks/{file-k53nzgjr.js → repository-76sy9xf8.js} +14 -14
  79. package/dist/chunks/{file-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  80. package/dist/chunks/{file-6dmrh5a8.js → repository-7j0nqdr6.js} +24 -24
  81. package/dist/chunks/{file-6xapaz12.js → repository-7j8hvj8b.js} +23 -23
  82. package/dist/chunks/{file-zhgmxcrc.js → repository-7z2ktkw9.js} +81 -81
  83. package/dist/chunks/{file-6hkwt5ks.js → repository-84wmtamg.js} +21 -21
  84. package/dist/chunks/repository-85dxg7gk.js +252 -0
  85. package/dist/chunks/{file-xqc9z03y.js → repository-8aj7zczc.js} +12 -12
  86. package/dist/chunks/{file-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{file-3n6mfbkh.js → repository-8fpgymmv.js} +28 -28
  88. package/dist/chunks/{file-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{file-2dw84gmp.js → repository-8r1x53s2.js} +13 -13
  90. package/dist/chunks/{file-k2ceccft.js → repository-8v20qymr.js} +5 -5
  91. package/dist/chunks/{file-58b9fvpm.js → repository-8x9d09d3.js} +14 -14
  92. package/dist/chunks/{file-5eh7kyv5.js → repository-9689nk70.js} +31 -31
  93. package/dist/chunks/{file-56m60q16.js → repository-97h7kfy1.js} +8 -8
  94. package/dist/chunks/{file-bv2epnby.js → repository-988jgs45.js} +26 -26
  95. package/dist/chunks/{file-0e9pe9hx.js → repository-98bk72ht.js} +11 -11
  96. package/dist/chunks/{file-safzyg6n.js → repository-9c3z8b76.js} +16 -16
  97. package/dist/chunks/{file-42yzn4t5.js → repository-9e7ete8t.js} +8 -8
  98. package/dist/chunks/{file-7ynk84wd.js → repository-9e95qk9h.js} +55 -55
  99. package/dist/chunks/{file-85czmsy6.js → repository-9hrvpbwe.js} +9 -9
  100. package/dist/chunks/{file-w9nahaws.js → repository-9ptzfgq2.js} +11 -11
  101. package/dist/chunks/{file-3a13mzqq.js → repository-9tm7cnby.js} +11 -11
  102. package/dist/chunks/{file-5ydw7gt2.js → repository-9yyq1p31.js} +17 -17
  103. package/dist/chunks/{file-nbep77rb.js → repository-9zq497jr.js} +15 -15
  104. package/dist/chunks/{file-5c4hm403.js → repository-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{file-0wtnvkaq.js → repository-a358nvtm.js} +9 -9
  106. package/dist/chunks/{file-y3qff3a1.js → repository-a7csrj9g.js} +5 -5
  107. package/dist/chunks/{file-aaet6srn.js → repository-aaet6srn.js} +2 -2
  108. package/dist/chunks/{file-v5gzehfd.js → repository-adkkytg4.js} +3 -3
  109. package/dist/chunks/{file-p11pfbbp.js → repository-ah0pkc8z.js} +23 -23
  110. package/dist/chunks/{file-57ez7d0k.js → repository-ajmg8w9c.js} +9 -9
  111. package/dist/chunks/{file-jca4demv.js → repository-b09hzw3k.js} +2 -2
  112. package/dist/chunks/{file-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  113. package/dist/chunks/{file-k13v7s70.js → repository-b79km0je.js} +20 -20
  114. package/dist/chunks/{file-d7w252zj.js → repository-bfbk1002.js} +28 -28
  115. package/dist/chunks/{file-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
  116. package/dist/chunks/{file-xhd31qk1.js → repository-cj19zege.js} +5 -5
  117. package/dist/chunks/{file-y9heqbmp.js → repository-cjjby783.js} +30 -30
  118. package/dist/chunks/{file-jcemy7wp.js → repository-cmadtng6.js} +66 -66
  119. package/dist/chunks/{file-2tfmgkzg.js → repository-cq37gk0t.js} +4 -4
  120. package/dist/chunks/{file-cwa6csj7.js → repository-cwa6csj7.js} +2 -2
  121. package/dist/chunks/{file-cmwkp3r5.js → repository-czfptnv9.js} +6 -6
  122. package/dist/chunks/{file-ccfa4wxs.js → repository-d0k1g5nx.js} +6 -6
  123. package/dist/chunks/{file-3hpdt92y.js → repository-d27vxjpb.js} +13 -13
  124. package/dist/chunks/{file-p8tq6xht.js → repository-d28d7nnv.js} +20 -20
  125. package/dist/chunks/{file-mzgjcq6e.js → repository-d3cpk3py.js} +25 -25
  126. package/dist/chunks/{file-285smrwa.js → repository-d4jrjdy2.js} +7 -7
  127. package/dist/chunks/{file-d1j0qnxw.js → repository-drr72fqk.js} +18 -18
  128. package/dist/chunks/{file-3ktbe3hf.js → repository-e5xpd6yj.js} +6 -6
  129. package/dist/chunks/{file-xvfb9kxe.js → repository-e7hxwpth.js} +7 -7
  130. package/dist/chunks/{file-targrq6s.js → repository-e9c9m0xn.js} +6 -6
  131. package/dist/chunks/{file-ygwg1shg.js → repository-e9xyjmyr.js} +6 -6
  132. package/dist/chunks/{file-5y2rckg7.js → repository-ebahehhd.js} +6 -6
  133. package/dist/chunks/{file-s0bk0r1z.js → repository-edst9kjn.js} +13 -13
  134. package/dist/chunks/{file-d0edxsh7.js → repository-eenrddpm.js} +15 -15
  135. package/dist/chunks/{file-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{file-2wz5cap4.js → repository-ekgj01x9.js} +10 -10
  137. package/dist/chunks/{file-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
  138. package/dist/chunks/{file-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{file-evbgk2k8.js → repository-evbgk2k8.js} +2 -2
  140. package/dist/chunks/{file-2kj4nmmg.js → repository-evfkrj3r.js} +27 -27
  141. package/dist/chunks/{file-vtm79yg5.js → repository-eycga54b.js} +11 -11
  142. package/dist/chunks/{file-atwefz46.js → repository-f0yxj968.js} +9 -9
  143. package/dist/chunks/{file-9m9h8fve.js → repository-f3tw885h.js} +5 -5
  144. package/dist/chunks/{file-hdnk95c8.js → repository-f828m53h.js} +2 -2
  145. package/dist/chunks/{file-px76j0pk.js → repository-fmcqyzhx.js} +9 -9
  146. package/dist/chunks/{file-p8s1tbxz.js → repository-fn5ac5xw.js} +26 -26
  147. package/dist/chunks/{file-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{file-9cvk2t4j.js → repository-gbccyn0s.js} +180 -180
  149. package/dist/chunks/{file-yrn7vwjt.js → repository-gbjvjkny.js} +11 -11
  150. package/dist/chunks/{file-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{file-gfnjd6a9.js → repository-gnx9acxh.js} +5 -5
  152. package/dist/chunks/{file-yvvvp4gn.js → repository-grxcxy9j.js} +8 -8
  153. package/dist/chunks/{file-4zn875z0.js → repository-gsep8nmr.js} +35 -35
  154. package/dist/chunks/{file-a313qmz8.js → repository-gtqq653r.js} +27 -27
  155. package/dist/chunks/{file-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{file-dj631km8.js → repository-gxpss1xa.js} +6 -6
  157. package/dist/chunks/{file-ttzf9e0x.js → repository-gyq044ef.js} +24 -24
  158. package/dist/chunks/{file-et91bqp9.js → repository-h0kzdnr9.js} +7 -7
  159. package/dist/chunks/{file-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{file-6t8a2cxv.js → repository-hc1zqxnq.js} +35 -35
  161. package/dist/chunks/{file-ead3g9p8.js → repository-hkfg6fzm.js} +5 -5
  162. package/dist/chunks/{file-t4ep399p.js → repository-hqt53cmn.js} +12 -12
  163. package/dist/chunks/{file-j7t2khjb.js → repository-hqxaqnsz.js} +11 -11
  164. package/dist/chunks/{file-eq0qfh2k.js → repository-hwm7e8aj.js} +38 -38
  165. package/dist/chunks/{file-bp02r99k.js → repository-hwvyndb6.js} +4 -4
  166. package/dist/chunks/{file-y1s26r5f.js → repository-hx4pgqer.js} +20 -20
  167. package/dist/chunks/{file-5a3rkb7m.js → repository-j3m96k93.js} +21 -21
  168. package/dist/chunks/{file-j56e64zr.js → repository-j56e64zr.js} +1 -1
  169. package/dist/chunks/{file-rtkpxbf2.js → repository-j6sswngc.js} +19 -19
  170. package/dist/chunks/{file-k56qavf2.js → repository-j7fpsdt2.js} +33 -33
  171. package/dist/chunks/{file-nwswft9z.js → repository-jbj23068.js} +1 -1
  172. package/dist/chunks/{file-j381zx68.js → repository-jczd64ef.js} +32 -32
  173. package/dist/chunks/{file-2nr7b2rh.js → repository-jv89nw97.js} +9 -9
  174. package/dist/chunks/{file-f3ngv102.js → repository-jw80jp6b.js} +4 -4
  175. package/dist/chunks/{file-t69pkn8h.js → repository-jzpydyb7.js} +14 -14
  176. package/dist/chunks/{file-3t889vdt.js → repository-k6s7pzm2.js} +24 -24
  177. package/dist/chunks/{file-ttqh24zm.js → repository-k76fn4kw.js} +4 -4
  178. package/dist/chunks/{file-k9kj6xed.js → repository-k9kj6xed.js} +2 -2
  179. package/dist/chunks/{file-kvxz1nnx.js → repository-kcafpss3.js} +10 -10
  180. package/dist/chunks/{file-4nwvt2ek.js → repository-kd7vez3r.js} +4 -4
  181. package/dist/chunks/{file-e8nv9k1e.js → repository-kg6v633v.js} +7 -7
  182. package/dist/chunks/{file-829kak1e.js → repository-khkheph3.js} +7 -7
  183. package/dist/chunks/{file-d7fqxd0w.js → repository-kmektthr.js} +20 -20
  184. package/dist/chunks/{file-s6c03qyq.js → repository-m38spqgz.js} +17 -17
  185. package/dist/chunks/{file-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  186. package/dist/chunks/{file-8pryv8c2.js → repository-m4wm6chx.js} +29 -29
  187. package/dist/chunks/{file-df6g96g5.js → repository-m5e6x1g3.js} +5 -5
  188. package/dist/chunks/{file-c1495ybz.js → repository-m9d03vsf.js} +8 -8
  189. package/dist/chunks/{file-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{file-w1k39n5e.js → repository-msq0jde0.js} +4 -4
  191. package/dist/chunks/{file-j33mnh1x.js → repository-mst8n3qf.js} +25 -25
  192. package/dist/chunks/{file-dkn9b9f5.js → repository-mtwknp0b.js} +9 -9
  193. package/dist/chunks/{file-mhstgcjq.js → repository-n63r6n5d.js} +14 -14
  194. package/dist/chunks/{file-wrxzva30.js → repository-n7349v29.js} +11 -11
  195. package/dist/chunks/repository-n95b3jav.js +18 -0
  196. package/dist/chunks/{file-2k71kv7p.js → repository-n9arjmkd.js} +4 -4
  197. package/dist/chunks/{file-hp7eqkgq.js → repository-ngph99ba.js} +2 -2
  198. package/dist/chunks/{file-n37c4crj.js → repository-njhqdk9p.js} +8 -8
  199. package/dist/chunks/{file-rph3zd4r.js → repository-nqnxh7mc.js} +6 -6
  200. package/dist/chunks/{file-djqf8388.js → repository-nse74gxk.js} +30 -30
  201. package/dist/chunks/{file-6gchxkvz.js → repository-nt7esxsj.js} +15 -15
  202. package/dist/chunks/{file-3ythc6yv.js → repository-nw2nz702.js} +4 -4
  203. package/dist/chunks/{file-3j9bgvtg.js → repository-nz569jqt.js} +5 -5
  204. package/dist/chunks/{file-nzks3jc8.js → repository-nzks3jc8.js} +3 -3
  205. package/dist/chunks/{file-p28j5sbe.js → repository-p28j5sbe.js} +2 -2
  206. package/dist/chunks/{file-4kqngsvt.js → repository-pa6m2t5v.js} +26 -26
  207. package/dist/chunks/{file-gkbem5z3.js → repository-pbrwaaym.js} +41 -41
  208. package/dist/chunks/{file-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  209. package/dist/chunks/{file-pknna89w.js → repository-pknna89w.js} +1 -1
  210. package/dist/chunks/{file-bem8brcd.js → repository-pqsm87s1.js} +4 -4
  211. package/dist/chunks/{file-4jc5c4h4.js → repository-pstg3rfm.js} +1 -1
  212. package/dist/chunks/{file-53bvc5b3.js → repository-q57fswbt.js} +15 -15
  213. package/dist/chunks/{file-1hbpk5ma.js → repository-q8ypk1e3.js} +12 -12
  214. package/dist/chunks/repository-qapv375x.js +4 -0
  215. package/dist/chunks/{file-4091at3p.js → repository-qeg0a57n.js} +4 -4
  216. package/dist/chunks/{file-63nnbv2k.js → repository-qftbwg1s.js} +1 -1
  217. package/dist/chunks/{file-g0bdsd7s.js → repository-qgsw5m5h.js} +10 -10
  218. package/dist/chunks/{file-510m7gjw.js → repository-qjnxxf51.js} +5 -5
  219. package/dist/chunks/{file-0z78d6d4.js → repository-qng17q6g.js} +9 -9
  220. package/dist/chunks/{file-vy9gj3hz.js → repository-qnqcwk6h.js} +10 -10
  221. package/dist/chunks/{file-7bsn99y2.js → repository-qrnms2rq.js} +6 -6
  222. package/dist/chunks/{file-qsdy395h.js → repository-qsdy395h.js} +1 -1
  223. package/dist/chunks/{file-bcnbwanc.js → repository-qxp26m5h.js} +17 -17
  224. package/dist/chunks/{file-d5jzmsg2.js → repository-r1zsm33h.js} +19 -19
  225. package/dist/chunks/{file-rhraev7y.js → repository-r8xr0va3.js} +4 -4
  226. package/dist/chunks/{file-64tp9nsp.js → repository-rckqc9qz.js} +27 -27
  227. package/dist/chunks/{file-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  228. package/dist/chunks/{file-eaj1djv9.js → repository-rhjbct0v.js} +8 -8
  229. package/dist/chunks/{file-tzdy52s7.js → repository-rkn40jbr.js} +13 -13
  230. package/dist/chunks/{file-evsjhyqp.js → repository-rnnxe44a.js} +4 -4
  231. package/dist/chunks/{file-2mvmpsyq.js → repository-s9fzvpf3.js} +3 -3
  232. package/dist/chunks/{file-h1a82ttv.js → repository-sktfb2et.js} +32 -32
  233. package/dist/chunks/{file-vadan2xk.js → repository-smgr690m.js} +12 -12
  234. package/dist/chunks/{file-h0qt5e5y.js → repository-sndbe2vj.js} +3 -3
  235. package/dist/chunks/{file-24ez7j11.js → repository-ssx6an5f.js} +10 -10
  236. package/dist/chunks/{file-bypvmvbc.js → repository-sxe2hh18.js} +5 -5
  237. package/dist/chunks/{file-xgj79bh7.js → repository-t9fdrpzp.js} +24 -24
  238. package/dist/chunks/{file-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{file-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{file-wf5bnb3c.js → repository-tdmh7t0y.js} +37 -37
  241. package/dist/chunks/{file-tdstcens.js → repository-tdstcens.js} +1 -1
  242. package/dist/chunks/{file-a7atmr7r.js → repository-tkk5atn2.js} +20 -20
  243. package/dist/chunks/{file-tvtrv512.js → repository-tvtrv512.js} +1 -1
  244. package/dist/chunks/{file-ry1kfgw7.js → repository-tx9qah43.js} +41 -41
  245. package/dist/chunks/{file-r52efjxa.js → repository-txd4xrw4.js} +43 -43
  246. package/dist/chunks/{file-dkm5q57s.js → repository-v2p627ht.js} +87 -87
  247. package/dist/chunks/{file-9d4g2rgm.js → repository-v7wd1yc6.js} +3 -3
  248. package/dist/chunks/{file-852d7py8.js → repository-v92tbnm7.js} +13 -13
  249. package/dist/chunks/{file-veqvce7d.js → repository-veqvce7d.js} +1 -1
  250. package/dist/chunks/{file-an7cqtb7.js → repository-vncycja5.js} +4 -4
  251. package/dist/chunks/{file-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{file-w1ezb4ke.js → repository-w10e1hs6.js} +16 -16
  253. package/dist/chunks/{file-tv8tew1t.js → repository-w1s085t3.js} +17 -17
  254. package/dist/chunks/{file-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{file-fr6sv4wz.js → repository-w9k1b9tw.js} +23 -23
  256. package/dist/chunks/{file-m7e4enkd.js → repository-wcjfyzwp.js} +44 -44
  257. package/dist/chunks/{file-wd87259q.js → repository-wd87259q.js} +1 -1
  258. package/dist/chunks/{file-de9ewzfh.js → repository-wm8pq2ft.js} +14 -14
  259. package/dist/chunks/{file-dq8nh84r.js → repository-wztfkr7b.js} +15 -15
  260. package/dist/chunks/{file-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{file-3149hxjv.js → repository-xa025a22.js} +16 -16
  262. package/dist/chunks/{file-m6nr1r89.js → repository-xcf3vq4w.js} +11 -11
  263. package/dist/chunks/{file-636j21cx.js → repository-xfc5qsak.js} +15 -15
  264. package/dist/chunks/{file-xfkkasph.js → repository-xfkkasph.js} +1 -1
  265. package/dist/chunks/{file-h41rq5z1.js → repository-xsr3yw12.js} +23 -23
  266. package/dist/chunks/{file-4brxhqy9.js → repository-xznas7s2.js} +30 -30
  267. package/dist/chunks/{file-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-as3hmkts.js → repository-y3x7e78c.js} +9 -9
  269. package/dist/chunks/{file-9xqd5pe1.js → repository-y5fdqert.js} +25 -25
  270. package/dist/chunks/{file-t1q5pb01.js → repository-y62pexj6.js} +4 -4
  271. package/dist/chunks/{file-q3t37ft6.js → repository-y6f0p4jw.js} +3 -3
  272. package/dist/chunks/{file-7qcewr7x.js → repository-y6mpqspj.js} +15 -15
  273. package/dist/chunks/{file-dpkg50ah.js → repository-y71avatq.js} +4 -4
  274. package/dist/chunks/{file-5sdemcz3.js → repository-ydgy0jv4.js} +8 -8
  275. package/dist/chunks/{file-bwm9bx21.js → repository-ygwgyd6z.js} +3 -3
  276. package/dist/chunks/{file-w2a5z8kt.js → repository-yhhseat7.js} +5 -5
  277. package/dist/chunks/{file-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{file-yrznvahk.js → repository-yrznvahk.js} +2 -2
  279. package/dist/chunks/{file-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{file-zpyz6kjf.js → repository-z39st4x2.js} +8 -8
  281. package/dist/chunks/{file-z63w68vq.js → repository-z63w68vq.js} +2 -2
  282. package/dist/chunks/{file-96vdq9fw.js → repository-z8h8vbg2.js} +15 -15
  283. package/dist/chunks/{file-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{file-xxnqwd1r.js → repository-zhfk7ysy.js} +40 -40
  285. package/dist/chunks/{file-1v56nqpw.js → repository-zncvfkhn.js} +19 -19
  286. package/dist/chunks/{file-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-2eegacq4.js → repository-zrq8kphx.js} +8 -8
  288. package/dist/chunks/{file-b1ers0rt.js → repository-ztvvx4d5.js} +15 -15
  289. package/dist/chunks/{file-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +124 -124
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +123 -123
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +112 -112
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +79 -79
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +119 -119
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +119 -119
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +119 -119
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +73 -73
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +4 -4
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +4 -4
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +228 -228
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +89 -89
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +133 -133
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +220 -220
  582. package/dist/session/execution.js +123 -123
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +87 -87
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +76 -76
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +114 -114
  593. package/dist/session/model-transport.js +5 -5
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +1 -1
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +215 -215
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +102 -102
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +86 -86
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +124 -124
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +121 -121
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +119 -119
  642. package/dist/tool/plugin/question.js +100 -100
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +212 -212
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +113 -113
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +2 -2
  665. package/dist/v1/config/command.js +5 -5
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +79 -79
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +7 -7
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +8 -8
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/file-0mesazry.js +0 -4
  696. package/dist/chunks/file-96byh0hv.js +0 -252
  697. package/dist/chunks/file-dxj72tfx.js +0 -18
  698. package/dist/chunks/file-xb0ahqs4.js +0 -26
  699. /package/dist/chunks/{file-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{file-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{file-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{file-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{file-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{file-24dcb14g.js → repository-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{file-2710q6r3.js → repository-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{file-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{file-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{file-359p4xyc.js → repository-359p4xyc.js} +0 -0
  709. /package/dist/chunks/{file-3asan66x.js → repository-3asan66x.js} +0 -0
  710. /package/dist/chunks/{file-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  711. /package/dist/chunks/{file-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  712. /package/dist/chunks/{file-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  713. /package/dist/chunks/{file-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  714. /package/dist/chunks/{file-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  715. /package/dist/chunks/{file-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  716. /package/dist/chunks/{file-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  717. /package/dist/chunks/{file-53557ph1.js → repository-53557ph1.js} +0 -0
  718. /package/dist/chunks/{file-550bvhaj.js → repository-550bvhaj.js} +0 -0
  719. /package/dist/chunks/{file-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
  720. /package/dist/chunks/{file-6prwharc.js → repository-6prwharc.js} +0 -0
  721. /package/dist/chunks/{file-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  722. /package/dist/chunks/{file-7m9af43g.js → repository-7m9af43g.js} +0 -0
  723. /package/dist/chunks/{file-822emrt2.js → repository-822emrt2.js} +0 -0
  724. /package/dist/chunks/{file-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  725. /package/dist/chunks/{file-8n3pysct.js → repository-8n3pysct.js} +0 -0
  726. /package/dist/chunks/{file-922hggd3.js → repository-922hggd3.js} +0 -0
  727. /package/dist/chunks/{file-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  728. /package/dist/chunks/{file-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  729. /package/dist/chunks/{file-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  730. /package/dist/chunks/{file-af5trqkr.js → repository-af5trqkr.js} +0 -0
  731. /package/dist/chunks/{file-afrmfg78.js → repository-afrmfg78.js} +0 -0
  732. /package/dist/chunks/{file-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  733. /package/dist/chunks/{file-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  734. /package/dist/chunks/{file-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  735. /package/dist/chunks/{file-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  736. /package/dist/chunks/{file-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  737. /package/dist/chunks/{file-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  738. /package/dist/chunks/{file-d9fn303g.js → repository-d9fn303g.js} +0 -0
  739. /package/dist/chunks/{file-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  740. /package/dist/chunks/{file-dajrwvna.js → repository-dajrwvna.js} +0 -0
  741. /package/dist/chunks/{file-dap0rakb.js → repository-dap0rakb.js} +0 -0
  742. /package/dist/chunks/{file-df08tz66.js → repository-df08tz66.js} +0 -0
  743. /package/dist/chunks/{file-dy18nga0.js → repository-dy18nga0.js} +0 -0
  744. /package/dist/chunks/{file-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  745. /package/dist/chunks/{file-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  746. /package/dist/chunks/{file-ec1grn59.js → repository-ec1grn59.js} +0 -0
  747. /package/dist/chunks/{file-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  748. /package/dist/chunks/{file-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  749. /package/dist/chunks/{file-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  750. /package/dist/chunks/{file-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  751. /package/dist/chunks/{file-faypxj3z.js → repository-faypxj3z.js} +0 -0
  752. /package/dist/chunks/{file-fd410y7t.js → repository-fd410y7t.js} +0 -0
  753. /package/dist/chunks/{file-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  754. /package/dist/chunks/{file-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  755. /package/dist/chunks/{file-g86h250q.js → repository-g86h250q.js} +0 -0
  756. /package/dist/chunks/{file-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  757. /package/dist/chunks/{file-gftt206x.js → repository-gftt206x.js} +0 -0
  758. /package/dist/chunks/{file-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  759. /package/dist/chunks/{file-hk9envan.js → repository-hk9envan.js} +0 -0
  760. /package/dist/chunks/{file-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  761. /package/dist/chunks/{file-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  762. /package/dist/chunks/{file-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  763. /package/dist/chunks/{file-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  764. /package/dist/chunks/{file-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  765. /package/dist/chunks/{file-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  766. /package/dist/chunks/{file-mp448xyj.js → repository-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{file-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{file-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{file-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{file-njntx4h6.js → repository-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{file-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{file-q74kybfr.js → repository-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{file-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{file-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{file-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{file-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{file-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{file-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{file-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{file-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  781. /package/dist/chunks/{file-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{file-twg0f83k.js → repository-twg0f83k.js} +0 -0
  783. /package/dist/chunks/{file-w803qqfp.js → repository-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{file-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{file-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{file-wtztk69x.js → repository-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{file-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{file-x61499pn.js → repository-x61499pn.js} +0 -0
  789. /package/dist/chunks/{file-y44na4kk.js → repository-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{file-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{file-y8f7s663.js → repository-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{file-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{file-ym463w8f.js → repository-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{file-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./file-88xbtdfr.js";
3
+ } from "./repository-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./file-5qd3pb7m.js";
6
+ } from "./repository-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event12,
14
+ Event: () => Event10,
15
15
  Native: () => Native3,
16
16
  Options: () => Options9,
17
- Service: () => Service62,
17
+ Service: () => Service47,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured11,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node66,
25
+ node: () => node51,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event12 = { Updated: FileSystem.Event.Changed };
36
+ var Event10 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -57,14 +57,14 @@ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service62 extends Context.Service()("@opencode/Watcher") {
60
+ class Service47 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service47, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service62.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service62.of({ subscribe });
108
+ return Service47.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service62).subscribe,
134
+ subscribe: Context.get(context, Service47).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service62, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured11(options) {
168
- return makeGlobalNode({ service: Service62, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service47, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node66 = configured11();
170
+ var node51 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event12, hasNativeBinding2, Native3, Options9, Service62, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node66, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options9, Service47, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node51, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./file-2zqpyx7j.js";
7
+ } from "./repository-3dxbc1k2.js";
8
8
  import {
9
9
  Service81,
10
10
  node85
11
- } from "./file-4091at3p.js";
11
+ } from "./repository-qeg0a57n.js";
12
12
  import {
13
- Service83,
14
- node87
15
- } from "./file-vadan2xk.js";
13
+ Service78,
14
+ node81
15
+ } from "./repository-smgr690m.js";
16
16
  import {
17
- ID18,
17
+ ID16,
18
18
  Current3,
19
- Info34,
19
+ Info32,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./file-57ez7d0k.js";
23
+ } from "./repository-ajmg8w9c.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./file-dj2t23y0.js";
27
+ } from "./repository-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./file-m0jqrx5p.js";
30
+ } from "./repository-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./file-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info33,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID15,
40
+ Info: () => Info31,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service77,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node80,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID15 = ID16;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info31 = Info32;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID15
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service80 extends Context.Service()("@opencode/Project") {
74
+ class Service77 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service80, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service83;
98
+ const git = yield* Service78;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service81;
101
101
  const db = (yield* Service82).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event21.Updated, fromRow(row));
109
+ yield* bus.publish(Event20.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID17.global,
146
+ previous: project.previous ?? ID15.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError11({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event21.Updated, project);
171
+ yield* bus.publish(Event20.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID15.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID17.make(root) : undefined;
211
+ return root ? ID15.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID17.make(node) : undefined;
227
+ return node ? ID15.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID17.global,
236
+ id: id ?? ID15.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID17.global,
253
+ id: id ?? ID15.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID17.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID15.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service80.of({ list, update, resolve });
273
+ return Service77.of({ list, update, resolve });
274
274
  }));
275
- var node84 = makeGlobalNode({
276
- service: Service80,
275
+ var node80 = makeGlobalNode({
276
+ service: Service77,
277
277
  layer,
278
- deps: [node85, node86, FSUtil.node, node87, AppProcess.node]
278
+ deps: [node85, node86, FSUtil.node, node81, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
281
+ export { ID15, Vcs2, Current2, Info31, UpdateInput3, NotFoundError10, root2, Service77, node80, exports_project };
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./file-4091at3p.js";
4
+ } from "./repository-qeg0a57n.js";
5
5
  import {
6
- Event17,
7
- Service68,
8
- node72
9
- } from "./file-4brxhqy9.js";
6
+ Event19,
7
+ Service75,
8
+ node78
9
+ } from "./repository-xznas7s2.js";
10
10
  import {
11
- Service62,
12
- node66
13
- } from "./file-a7atmr7r.js";
11
+ Service47,
12
+ node51
13
+ } from "./repository-tkk5atn2.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./file-922hggd3.js";
16
+ } from "./repository-922hggd3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./file-safzyg6n.js";
18
+ Service76,
19
+ node79
20
+ } from "./repository-9c3z8b76.js";
21
21
  import {
22
22
  substitute2
23
- } from "./file-yrznvahk.js";
23
+ } from "./repository-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./file-tkmzzze4.js";
26
+ } from "./repository-0n0z2jxy.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./file-df6g96g5.js";
30
+ } from "./repository-m5e6x1g3.js";
31
31
  import {
32
32
  plan2
33
- } from "./file-j56e64zr.js";
33
+ } from "./repository-j56e64zr.js";
34
34
  import {
35
- Service63,
36
- Event13,
37
- node67
38
- } from "./file-n9hnzybb.js";
35
+ Service48,
36
+ Event11,
37
+ node52
38
+ } from "./repository-68df76cx.js";
39
39
  import {
40
40
  __export
41
- } from "./file-9rqn6x4v.js";
41
+ } from "./repository-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options8,
48
- Service: () => Service61,
47
+ Options: () => Options7,
48
+ Service: () => Service46,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured8,
51
51
  latest: () => latest2,
52
- layer: () => layer23,
53
- node: () => node65,
52
+ layer: () => layer18,
53
+ node: () => node50,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options8 = Schema.Struct({
67
+ var Options7 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service61 extends Context.Service()("@opencode/Config") {
74
+ class Service46 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service61, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
93
93
  }));
94
- var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
94
+ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service79;
97
- const watcher = yield* Service62;
96
+ const location = yield* Service76;
97
+ const watcher = yield* Service47;
98
98
  const bus = yield* Service81;
99
- const credentials = yield* Service68;
99
+ const credentials = yield* Service75;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service63;
101
+ const wellknown = yield* Service48;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
@@ -221,8 +221,8 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service61.of({
253
+ return Service46.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service61, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured10(options) {
265
+ function configured8(options) {
266
266
  return makeLocationNode({
267
- service: Service61,
268
- layer: layer23(options),
269
- deps: [node66, node85, FSUtil.node, Global.node, node83, node72, node67]
267
+ service: Service46,
268
+ layer: layer18(options),
269
+ deps: [node51, node85, FSUtil.node, Global.node, node79, node78, node52]
270
270
  });
271
271
  }
272
- var node65 = configured10();
272
+ var node50 = configured8();
273
273
 
274
- export { latest2, Options8, Service61, Test2, testLayer2, layer23, configured10, node65, exports_config };
274
+ export { latest2, Options7, Service46, Test2, testLayer2, layer18, configured8, node50, exports_config };