@opencode/core 0.0.0-dev-19391 → 0.0.0-dev-19392

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 (782) 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 +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{git-s6h26ryx.js → repository-02e0y54q.js} +17 -17
  9. package/dist/chunks/{git-mexw47yp.js → repository-04fcbydd.js} +6 -6
  10. package/dist/chunks/{git-2f3d9t1j.js → repository-0chgf8x9.js} +46 -46
  11. package/dist/chunks/{git-t8g0rz63.js → repository-0h1dgn2a.js} +23 -23
  12. package/dist/chunks/{git-6k7qnnge.js → repository-0jvretd3.js} +13 -13
  13. package/dist/chunks/{git-gve6vxyf.js → repository-0n0mhreg.js} +27 -27
  14. package/dist/chunks/{git-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{git-5d0wqk5a.js → repository-0pcjts55.js} +59 -59
  16. package/dist/chunks/{git-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{git-qc5bn8wy.js → repository-0v13smbh.js} +11 -11
  18. package/dist/chunks/{git-zj4wpktz.js → repository-0wh211te.js} +16 -16
  19. package/dist/chunks/{git-jw59a53t.js → repository-11kz9drc.js} +22 -22
  20. package/dist/chunks/{git-gnn1fpcv.js → repository-17y9e0xf.js} +9 -9
  21. package/dist/chunks/{git-ep79ehza.js → repository-1ck6d65j.js} +16 -16
  22. package/dist/chunks/{git-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{git-7sdps93t.js → repository-1eyaby9q.js} +5 -5
  24. package/dist/chunks/{git-6420c4zj.js → repository-1h8056qn.js} +166 -166
  25. package/dist/chunks/{git-33yrb4zc.js → repository-1mr1b0wr.js} +33 -33
  26. package/dist/chunks/{git-bby00dsd.js → repository-1vtz46z8.js} +8 -8
  27. package/dist/chunks/{git-21r38tys.js → repository-21r38tys.js} +1 -1
  28. package/dist/chunks/{git-4rbykmww.js → repository-24tr1rny.js} +43 -43
  29. package/dist/chunks/{git-w1ad28wa.js → repository-2a4f6v5q.js} +8 -8
  30. package/dist/chunks/{git-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{git-dn02v3xn.js → repository-2az9q9m5.js} +23 -23
  32. package/dist/chunks/{git-y116a4zg.js → repository-2venq07n.js} +12 -12
  33. package/dist/chunks/{git-y1p1x618.js → repository-343vvr6y.js} +13 -13
  34. package/dist/chunks/{git-kkz4yv35.js → repository-37wraq67.js} +9 -9
  35. package/dist/chunks/{git-9gyd2w40.js → repository-39r80e1r.js} +1 -1
  36. package/dist/chunks/{git-0fgcnd78.js → repository-3a6d4gwd.js} +11 -11
  37. package/dist/chunks/{git-2qp6y8xf.js → repository-3cfzdc8e.js} +5 -5
  38. package/dist/chunks/{git-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{git-dh4vxs71.js → repository-3g5b63xy.js} +28 -28
  40. package/dist/chunks/{git-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{git-msn3ckcs.js → repository-3r9tyhmb.js} +18 -18
  42. package/dist/chunks/{git-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{git-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{git-2gnzn4g6.js → repository-3vaccfnm.js} +32 -32
  45. package/dist/chunks/{git-stzp5pqk.js → repository-45yvhxnf.js} +6 -6
  46. package/dist/chunks/{git-h5dbjsx9.js → repository-48974jce.js} +35 -35
  47. package/dist/chunks/{git-pck3w1ab.js → repository-49hrpkdk.js} +4 -4
  48. package/dist/chunks/{git-chg3p55r.js → repository-4hgtqqtz.js} +6 -6
  49. package/dist/chunks/{git-aezjx6de.js → repository-4hnbmwf5.js} +4 -4
  50. package/dist/chunks/{git-4y21m883.js → repository-4jfex6ks.js} +11 -11
  51. package/dist/chunks/{git-sgystvcz.js → repository-4jktxnha.js} +8 -8
  52. package/dist/chunks/{git-vqskmh9d.js → repository-4mtecjc1.js} +26 -26
  53. package/dist/chunks/{git-56gnm113.js → repository-4t0960ha.js} +10 -10
  54. package/dist/chunks/{git-z7wfm2nz.js → repository-4v5k2jq1.js} +21 -21
  55. package/dist/chunks/{git-stz96qh8.js → repository-4vbarqrf.js} +32 -32
  56. package/dist/chunks/repository-4yk32cn1.js +22 -0
  57. package/dist/chunks/{git-k304t88f.js → repository-54q2yb5y.js} +43 -43
  58. package/dist/chunks/{git-1ygqh575.js → repository-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{git-jngqetej.js → repository-57vc1f1w.js} +26 -26
  60. package/dist/chunks/{git-5cvbs26k.js → repository-5a7jwez6.js} +41 -41
  61. package/dist/chunks/{git-q6mfqnjt.js → repository-5b0ze84y.js} +3 -3
  62. package/dist/chunks/{git-5daktx2q.js → repository-5daktx2q.js} +1 -1
  63. package/dist/chunks/{git-hb60fmtr.js → repository-5dczmsbe.js} +8 -8
  64. package/dist/chunks/{git-wgvbtfqc.js → repository-5qp0xphp.js} +25 -25
  65. package/dist/chunks/{git-3stj0jvq.js → repository-5sh276j6.js} +11 -11
  66. package/dist/chunks/{git-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{git-669tq793.js → repository-669tq793.js} +1 -1
  68. package/dist/chunks/{git-2402vzrj.js → repository-6h73sxmp.js} +5 -5
  69. package/dist/chunks/{git-6xy3x0mr.js → repository-6hhx0jg1.js} +27 -27
  70. package/dist/chunks/{git-79xankta.js → repository-6kgdg5m2.js} +17 -17
  71. package/dist/chunks/{git-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{git-2vrs9bvz.js → repository-6pmke597.js} +40 -40
  73. package/dist/chunks/{git-jxxmrcps.js → repository-6vjnk7fh.js} +9 -9
  74. package/dist/chunks/{git-mpnn67vs.js → repository-6yt6jtkp.js} +13 -13
  75. package/dist/chunks/{git-71q4at8m.js → repository-71q4at8m.js} +1 -1
  76. package/dist/chunks/{git-dng8y5a3.js → repository-77e0zb3k.js} +18 -18
  77. package/dist/chunks/{git-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{git-7xvabjvw.js → repository-7ebdzj7v.js} +27 -27
  79. package/dist/chunks/{git-qr42g2ex.js → repository-7g7rfx25.js} +12 -12
  80. package/dist/chunks/{git-e2wxm4gs.js → repository-7y5q31fh.js} +71 -71
  81. package/dist/chunks/{git-81swgkk7.js → repository-81swgkk7.js} +2 -2
  82. package/dist/chunks/{git-971xr3xt.js → repository-85jhkfmq.js} +7 -7
  83. package/dist/chunks/{git-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{git-qkhbq9gn.js → repository-8j0ymjpm.js} +23 -23
  85. package/dist/chunks/{git-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{git-fkxhr6rb.js → repository-8vtetfvn.js} +27 -27
  87. package/dist/chunks/{git-fkzsndak.js → repository-8x8j0yap.js} +7 -7
  88. package/dist/chunks/{git-dn5grvbk.js → repository-919rdka5.js} +25 -25
  89. package/dist/chunks/{git-rf04hjb3.js → repository-93v0v8g0.js} +32 -32
  90. package/dist/chunks/{git-1zbe0hwx.js → repository-98k43r7d.js} +27 -27
  91. package/dist/chunks/{git-7yd68jh1.js → repository-9hm1nb7k.js} +20 -20
  92. package/dist/chunks/{git-nn6nb4dq.js → repository-9s7jgwbd.js} +13 -13
  93. package/dist/chunks/{git-rernzhsx.js → repository-9tvhpt1h.js} +37 -37
  94. package/dist/chunks/{git-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{git-cm4cwf14.js → repository-a29n1zs3.js} +9 -9
  96. package/dist/chunks/{git-aaet6srn.js → repository-aaet6srn.js} +2 -2
  97. package/dist/chunks/{git-8g26s1rr.js → repository-ab1rm27r.js} +14 -14
  98. package/dist/chunks/{git-v87fc2n4.js → repository-aeh5fpw2.js} +35 -35
  99. package/dist/chunks/{git-yzejvhvn.js → repository-aggqyzrf.js} +6 -6
  100. package/dist/chunks/{git-68fh3z7z.js → repository-anrzzgjr.js} +20 -20
  101. package/dist/chunks/{git-a3vgeg8v.js → repository-ar3kqjsa.js} +20 -20
  102. package/dist/chunks/{git-vzm76b3t.js → repository-asn1qnte.js} +6 -6
  103. package/dist/chunks/{git-a4exdnt3.js → repository-b17kd43r.js} +4 -4
  104. package/dist/chunks/{git-nwd3ssra.js → repository-b1h1c68h.js} +11 -11
  105. package/dist/chunks/{git-f9bavhm2.js → repository-b47t4zxj.js} +1 -1
  106. package/dist/chunks/{git-cb0b94q1.js → repository-b67qqecp.js} +11 -11
  107. package/dist/chunks/{git-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{git-hfdr1yjj.js → repository-bajakh74.js} +4 -4
  109. package/dist/chunks/{git-gvphacjb.js → repository-bfhmxbp5.js} +12 -12
  110. package/dist/chunks/{git-ssybtts3.js → repository-bpf5xa8r.js} +6 -6
  111. package/dist/chunks/{git-wfeyvemf.js → repository-bragb0zt.js} +11 -11
  112. package/dist/chunks/{git-nhvhf6q8.js → repository-bv56xrks.js} +2 -2
  113. package/dist/chunks/{git-8fjt75y9.js → repository-bx51kgqc.js} +20 -20
  114. package/dist/chunks/{git-9smnhnck.js → repository-c08088rs.js} +92 -92
  115. package/dist/chunks/{git-xsz6vv8y.js → repository-c5ws0z31.js} +62 -62
  116. package/dist/chunks/{git-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{git-mcq2hdeb.js → repository-cjdhxnc7.js} +28 -28
  118. package/dist/chunks/{git-8bdgxx6d.js → repository-cqmjdmfy.js} +37 -37
  119. package/dist/chunks/{git-f90chkmn.js → repository-cr07tj7n.js} +5 -5
  120. package/dist/chunks/{git-v6xr4mhk.js → repository-crptryd9.js} +9 -9
  121. package/dist/chunks/{git-967tbwmz.js → repository-cv1c066y.js} +44 -44
  122. package/dist/chunks/{git-wa88tsz1.js → repository-cw5vx56j.js} +36 -36
  123. package/dist/chunks/{git-7by8wea0.js → repository-cwsfv75g.js} +5 -5
  124. package/dist/chunks/{git-q26tgv94.js → repository-cxv3b682.js} +8 -8
  125. package/dist/chunks/{git-znt1ym30.js → repository-d1yx4qwh.js} +9 -9
  126. package/dist/chunks/{git-3cxhyqx9.js → repository-d2t4pj3k.js} +24 -24
  127. package/dist/chunks/{git-9p3a0bey.js → repository-d3j72vaa.js} +7 -7
  128. package/dist/chunks/{git-2evyaa68.js → repository-d8nc1xcx.js} +4 -4
  129. package/dist/chunks/{git-57rb2d2p.js → repository-ddbrkqgx.js} +18 -18
  130. package/dist/chunks/{git-6ht6hv3f.js → repository-depcwyj9.js} +24 -24
  131. package/dist/chunks/{git-f1afprnz.js → repository-dk4nfg5s.js} +10 -10
  132. package/dist/chunks/repository-dxj72tfx.js +18 -0
  133. package/dist/chunks/{git-5jtdmvnp.js → repository-e0g3hjre.js} +1 -1
  134. package/dist/chunks/{git-60ng23p3.js → repository-e275mf5g.js} +4 -4
  135. package/dist/chunks/{git-z8kcrd6j.js → repository-e2q75spx.js} +18 -18
  136. package/dist/chunks/{git-n776arpk.js → repository-e6z046pm.js} +11 -11
  137. package/dist/chunks/{git-qe26s0zb.js → repository-eeaf82dq.js} +8 -8
  138. package/dist/chunks/{git-5n9f6zmz.js → repository-epg4pcgt.js} +6 -6
  139. package/dist/chunks/{git-99j83k2z.js → repository-es5b1610.js} +10 -10
  140. package/dist/chunks/{git-4cp288bt.js → repository-es9es8em.js} +92 -92
  141. package/dist/chunks/{git-k79tzb9n.js → repository-esj243wz.js} +9 -9
  142. package/dist/chunks/{git-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{git-f828m53h.js → repository-f828m53h.js} +2 -2
  144. package/dist/chunks/{git-v8ch97zc.js → repository-fa6dyqja.js} +1 -1
  145. package/dist/chunks/{git-at5d07az.js → repository-fdv30zvt.js} +7 -7
  146. package/dist/chunks/{git-hsbe2v8d.js → repository-fmnw6ddm.js} +28 -28
  147. package/dist/chunks/{git-4x81xeqa.js → repository-fpvgn4t1.js} +11 -11
  148. package/dist/chunks/{git-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{git-2d6j2h4j.js → repository-fy497h6e.js} +8 -8
  150. package/dist/chunks/{git-kp844bkx.js → repository-fyjrpq2n.js} +11 -11
  151. package/dist/chunks/{git-qr27hz8v.js → repository-fz21q8me.js} +4 -4
  152. package/dist/chunks/{git-yx8yz41b.js → repository-g2ttgsev.js} +41 -41
  153. package/dist/chunks/{git-0sgtxrs8.js → repository-g5yyevqf.js} +4 -4
  154. package/dist/chunks/{git-jy16bfac.js → repository-gbtq0qkg.js} +1 -1
  155. package/dist/chunks/{git-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{git-7hsf2613.js → repository-gf1vyzcg.js} +12 -12
  157. package/dist/chunks/{git-31dz7cp4.js → repository-gfwf98p3.js} +1 -1
  158. package/dist/chunks/{git-1k8wtqrp.js → repository-gpe6jd74.js} +8 -8
  159. package/dist/chunks/{git-wvgmydwz.js → repository-gr925e17.js} +5 -5
  160. package/dist/chunks/{git-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
  161. package/dist/chunks/{git-y5rc9adv.js → repository-gxcjkrww.js} +299 -299
  162. package/dist/chunks/{git-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{git-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{git-mrem20pc.js → repository-h72eb9sx.js} +30 -30
  165. package/dist/chunks/{git-fxm9f60t.js → repository-ha2ymhej.js} +16 -16
  166. package/dist/chunks/{git-80e0yyk8.js → repository-hc5nrc85.js} +14 -14
  167. package/dist/chunks/{git-nhy5jxhy.js → repository-hjt4xg1x.js} +4 -4
  168. package/dist/chunks/{git-wttsyvcc.js → repository-hkwasy14.js} +24 -24
  169. package/dist/chunks/{git-43710w3q.js → repository-htdwccg2.js} +9 -9
  170. package/dist/chunks/{git-53nby2n7.js → repository-hzy2m5kh.js} +22 -22
  171. package/dist/chunks/{git-p0n6b7j7.js → repository-j4jvep9r.js} +18 -18
  172. package/dist/chunks/{git-j56e64zr.js → repository-j56e64zr.js} +1 -1
  173. package/dist/chunks/{git-8234338a.js → repository-j7as52rv.js} +18 -18
  174. package/dist/chunks/{git-9edcvf27.js → repository-jefma2gq.js} +10 -10
  175. package/dist/chunks/{git-v4b36nj3.js → repository-jfkc9b5n.js} +2 -2
  176. package/dist/chunks/{git-drknmmyh.js → repository-jx8g4evx.js} +9 -9
  177. package/dist/chunks/{git-q3hev8r4.js → repository-jxn3d5qw.js} +2 -2
  178. package/dist/chunks/{git-gyeht8yw.js → repository-jz8tty61.js} +15 -15
  179. package/dist/chunks/{git-sfv52yq4.js → repository-k5f8wpb1.js} +16 -16
  180. package/dist/chunks/{git-5c7438wj.js → repository-k7z88jgs.js} +19 -19
  181. package/dist/chunks/{git-5a1z0ner.js → repository-ka539jxw.js} +13 -13
  182. package/dist/chunks/{git-wxqedpd9.js → repository-kbep69gp.js} +43 -43
  183. package/dist/chunks/{git-wnpvrkxy.js → repository-kedqt550.js} +24 -24
  184. package/dist/chunks/{git-5a7skn1d.js → repository-kf2529h4.js} +35 -35
  185. package/dist/chunks/{git-kg06axw8.js → repository-kg06axw8.js} +1 -1
  186. package/dist/chunks/{git-7yfaff3y.js → repository-kg0jjcwj.js} +11 -11
  187. package/dist/chunks/{git-00fexjy9.js → repository-kj13mq9d.js} +45 -45
  188. package/dist/chunks/{git-5fbvx1w6.js → repository-kq4ab4h1.js} +1 -1
  189. package/dist/chunks/{git-gk8mfka9.js → repository-kr4ape1v.js} +23 -23
  190. package/dist/chunks/{git-dr9j5dyg.js → repository-m06pgbf8.js} +31 -31
  191. package/dist/chunks/{git-f4wfpfa2.js → repository-m3rgfk03.js} +9 -9
  192. package/dist/chunks/{git-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{git-zepncfka.js → repository-magykp64.js} +21 -21
  194. package/dist/chunks/{git-e49xbsfe.js → repository-majq4y6w.js} +18 -18
  195. package/dist/chunks/{git-1ah30sey.js → repository-mbchyd0s.js} +5 -5
  196. package/dist/chunks/{git-hrndf12w.js → repository-mfhfdr54.js} +4 -4
  197. package/dist/chunks/{git-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
  198. package/dist/chunks/{git-07q9q0s0.js → repository-mpshf1ye.js} +5 -5
  199. package/dist/chunks/{git-tqckr4z0.js → repository-mq52b90g.js} +13 -13
  200. package/dist/chunks/{git-mhkvc446.js → repository-mvfsc1pv.js} +3 -3
  201. package/dist/chunks/{git-r66r7cmm.js → repository-nhdt7g4d.js} +15 -15
  202. package/dist/chunks/{git-5skvzk75.js → repository-nkdjhhay.js} +33 -33
  203. package/dist/chunks/{git-7547p87k.js → repository-nr8cezy4.js} +5 -5
  204. package/dist/chunks/{git-0t098hqn.js → repository-nrk5vjbf.js} +5 -5
  205. package/dist/chunks/{git-zbynka28.js → repository-ns2b79zq.js} +24 -24
  206. package/dist/chunks/{git-6jqkynh6.js → repository-nsgsffy1.js} +11 -11
  207. package/dist/chunks/{git-et1r2jf6.js → repository-p5t1en88.js} +15 -15
  208. package/dist/chunks/{git-sgy72gpz.js → repository-p5vq1h1x.js} +32 -32
  209. package/dist/chunks/{git-6gekrhsf.js → repository-p8jw0zjb.js} +6 -6
  210. package/dist/chunks/repository-p9zbhqep.js +247 -0
  211. package/dist/chunks/{git-j935v87r.js → repository-paphc93g.js} +2 -2
  212. package/dist/chunks/{git-0m9zqasy.js → repository-pe4p92xe.js} +15 -15
  213. package/dist/chunks/{git-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{git-pknna89w.js → repository-pknna89w.js} +1 -1
  215. package/dist/chunks/{git-cybh4q4m.js → repository-ppr425jm.js} +19 -19
  216. package/dist/chunks/{git-bj18y5e0.js → repository-ppzcs5qe.js} +24 -24
  217. package/dist/chunks/{git-cz8ja6bv.js → repository-pxv8awr7.js} +30 -30
  218. package/dist/chunks/{git-17rjwhd8.js → repository-q0efknh2.js} +27 -27
  219. package/dist/chunks/{git-azt3fn9h.js → repository-q5sgvk0q.js} +11 -11
  220. package/dist/chunks/{git-b2x839n7.js → repository-q9y68wbv.js} +8 -8
  221. package/dist/chunks/{git-5rcfzxhb.js → repository-qfhza6js.js} +11 -11
  222. package/dist/chunks/{git-fcrkznn8.js → repository-qgn6gcr1.js} +5 -5
  223. package/dist/chunks/{git-qsdy395h.js → repository-qsdy395h.js} +1 -1
  224. package/dist/chunks/repository-qtvmxc8s.js +4 -0
  225. package/dist/chunks/{git-rjrt7vbj.js → repository-r2rry8w2.js} +14 -14
  226. package/dist/chunks/{git-1tq060df.js → repository-r33ff4dw.js} +4 -4
  227. package/dist/chunks/{git-m1qcsqkx.js → repository-r3pdfb8a.js} +27 -27
  228. package/dist/chunks/{git-n7t5qjpz.js → repository-rm2yqhr0.js} +19 -19
  229. package/dist/chunks/{git-8ey0tjev.js → repository-s3fhdh3x.js} +18 -18
  230. package/dist/chunks/{git-9v94xm60.js → repository-s644107t.js} +2 -2
  231. package/dist/chunks/{git-sv9bpgvh.js → repository-s7hhpcvx.js} +5 -5
  232. package/dist/chunks/{git-7r4pq86q.js → repository-s7zz1j9y.js} +30 -30
  233. package/dist/chunks/{git-1a6p2twq.js → repository-sx1n432n.js} +4 -4
  234. package/dist/chunks/{git-p1wf2k30.js → repository-t0x5rdq8.js} +9 -9
  235. package/dist/chunks/{git-s8d7rejh.js → repository-t550f9t1.js} +4 -4
  236. package/dist/chunks/{git-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  237. package/dist/chunks/{git-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{git-tdstcens.js → repository-tdstcens.js} +1 -1
  239. package/dist/chunks/{git-cyj3cv9r.js → repository-tjq77wbb.js} +20 -20
  240. package/dist/chunks/{git-5gfn8sdf.js → repository-tq3hxdpy.js} +51 -51
  241. package/dist/chunks/{git-tvtrv512.js → repository-tvtrv512.js} +1 -1
  242. package/dist/chunks/{git-ca7w653e.js → repository-tz4n1mmd.js} +4 -4
  243. package/dist/chunks/{git-wk2zc65r.js → repository-v34has66.js} +11 -11
  244. package/dist/chunks/{git-hc0zr8pa.js → repository-v7rvz788.js} +29 -29
  245. package/dist/chunks/{git-epqeryd2.js → repository-vd9p42jh.js} +34 -34
  246. package/dist/chunks/{git-veqvce7d.js → repository-veqvce7d.js} +1 -1
  247. package/dist/chunks/{git-t4pzxwv6.js → repository-vyqn3nqs.js} +7 -7
  248. package/dist/chunks/{git-k0zzqzfm.js → repository-vz71brqr.js} +6 -6
  249. package/dist/chunks/{git-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{git-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{git-nmv7fedf.js → repository-w48xm36n.js} +9 -9
  252. package/dist/chunks/{git-6c0cft2p.js → repository-w68crq9a.js} +24 -24
  253. package/dist/chunks/{git-prp4t9gw.js → repository-w6kysxt2.js} +6 -6
  254. package/dist/chunks/{git-wd87259q.js → repository-wd87259q.js} +1 -1
  255. package/dist/chunks/{git-8n0zdm8f.js → repository-wg3j617h.js} +18 -18
  256. package/dist/chunks/{git-9kqp7g4a.js → repository-wny5a0c2.js} +24 -24
  257. package/dist/chunks/{git-r3q6pmcz.js → repository-wpm2rk0p.js} +6 -6
  258. package/dist/chunks/{git-b7zanwxg.js → repository-wt0zt129.js} +18 -18
  259. package/dist/chunks/{git-qmr73083.js → repository-wxyreeq2.js} +1 -1
  260. package/dist/chunks/{git-bvqzzpnc.js → repository-x0nxw1am.js} +5 -5
  261. package/dist/chunks/{git-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{git-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
  263. package/dist/chunks/{git-7verde8t.js → repository-xarast0t.js} +4 -4
  264. package/dist/chunks/{git-sexm24t3.js → repository-xcq99e6n.js} +11 -11
  265. package/dist/chunks/{git-tcxw2wsh.js → repository-xevndded.js} +18 -18
  266. package/dist/chunks/{git-xcmxfd3t.js → repository-xqpzppg3.js} +16 -16
  267. package/dist/chunks/{git-rpk3p4vp.js → repository-xz57177z.js} +46 -46
  268. package/dist/chunks/{git-xaxrq1k6.js → repository-y0s3dbwc.js} +4 -4
  269. package/dist/chunks/{git-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{git-h3ekzffn.js → repository-y5qdajv2.js} +10 -10
  271. package/dist/chunks/{git-dv250zvr.js → repository-y6f0p4jw.js} +3 -3
  272. package/dist/chunks/{git-dpkg50ah.js → repository-y71avatq.js} +4 -4
  273. package/dist/chunks/{git-saq61fd1.js → repository-y8vfbp1t.js} +3 -3
  274. package/dist/chunks/{git-mf8gs4da.js → repository-ydwbxywx.js} +18 -18
  275. package/dist/chunks/{git-81btcj5e.js → repository-ygm68jz5.js} +16 -16
  276. package/dist/chunks/{git-qte5z7bc.js → repository-yjptyezs.js} +5 -5
  277. package/dist/chunks/{git-f2n192rq.js → repository-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{git-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{git-s4enseaf.js → repository-yrznvahk.js} +2 -2
  280. package/dist/chunks/{git-fp7bntjd.js → repository-yw2dvzw4.js} +9 -9
  281. package/dist/chunks/{git-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{git-ezys8rkd.js → repository-z399x6eb.js} +14 -14
  283. package/dist/chunks/{git-29x78va6.js → repository-z63w68vq.js} +6 -6
  284. package/dist/chunks/{git-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{git-zf4p5794.js → repository-zeqg0xp7.js} +19 -19
  286. package/dist/chunks/{git-fbxzb085.js → repository-zewav7xs.js} +20 -20
  287. package/dist/chunks/{git-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{git-7t2bfs77.js → repository-zx243jn3.js} +28 -28
  289. package/dist/chunks/{git-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +83 -83
  294. package/dist/config/discovery.js +77 -77
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -117
  298. package/dist/config/plugin/command.js +209 -209
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +126 -126
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +77 -77
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +361 -361
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +72 -72
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +93 -93
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +94 -94
  426. package/dist/form.js +80 -80
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +91 -91
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +3 -3
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +6 -6
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +79 -79
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +84 -84
  460. package/dist/job.js +77 -77
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +133 -133
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +83 -83
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +80 -80
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +97 -97
  470. package/dist/mcp/instructions.js +122 -122
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +3 -3
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +10 -10
  477. package/dist/models-dev.js +78 -78
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +80 -80
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +112 -112
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +84 -84
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +99 -99
  488. package/dist/plugin/command.js +96 -96
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +117 -117
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +6 -6
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin.js +218 -218
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +7 -7
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +86 -86
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +127 -127
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +219 -219
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +84 -84
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +77 -77
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +205 -205
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +218 -218
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +107 -107
  626. package/dist/snapshot.js +88 -88
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +98 -98
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +210 -210
  640. package/dist/tool/plugin/skill.js +102 -102
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +101 -101
  643. package/dist/tool/plugin/websearch.js +107 -107
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +94 -94
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +11 -11
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +5 -5
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +83 -83
  676. package/dist/websearch.js +78 -78
  677. package/dist/wellknown/plugin.js +74 -74
  678. package/dist/wellknown.js +79 -79
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +78 -78
  682. package/dist/worktree/directory.js +4 -4
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/git-6kdq0pjd.js +0 -4
  689. package/dist/chunks/git-d7szvhg8.js +0 -247
  690. package/dist/chunks/git-q509s3k3.js +0 -18
  691. package/dist/chunks/git-wqy8zhmg.js +0 -22
  692. /package/dist/chunks/{git-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{git-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{git-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{git-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{git-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{git-2710q6r3.js → repository-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{git-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{git-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{git-359p4xyc.js → repository-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{git-3asan66x.js → repository-3asan66x.js} +0 -0
  702. /package/dist/chunks/{git-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{git-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{git-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{git-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{git-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{git-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{git-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{git-53557ph1.js → repository-53557ph1.js} +0 -0
  710. /package/dist/chunks/{git-550bvhaj.js → repository-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{git-6prwharc.js → repository-6prwharc.js} +0 -0
  712. /package/dist/chunks/{git-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{git-7m9af43g.js → repository-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{git-822emrt2.js → repository-822emrt2.js} +0 -0
  715. /package/dist/chunks/{git-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{git-8n3pysct.js → repository-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{git-922hggd3.js → repository-922hggd3.js} +0 -0
  718. /package/dist/chunks/{git-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{git-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{git-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{git-af5trqkr.js → repository-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{git-afrmfg78.js → repository-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{git-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{git-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{git-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{git-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{git-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{git-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{git-d9fn303g.js → repository-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{git-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{git-dajrwvna.js → repository-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{git-dap0rakb.js → repository-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{git-df08tz66.js → repository-df08tz66.js} +0 -0
  734. /package/dist/chunks/{git-dy18nga0.js → repository-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{git-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{git-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{git-ec1grn59.js → repository-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{git-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{git-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{git-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{git-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{git-faypxj3z.js → repository-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{git-fd410y7t.js → repository-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{git-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{git-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{git-g86h250q.js → repository-g86h250q.js} +0 -0
  747. /package/dist/chunks/{git-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{git-gftt206x.js → repository-gftt206x.js} +0 -0
  749. /package/dist/chunks/{git-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{git-hk9envan.js → repository-hk9envan.js} +0 -0
  751. /package/dist/chunks/{git-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{git-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{git-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{git-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{git-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{git-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{git-mp448xyj.js → repository-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{git-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{git-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{git-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{git-njntx4h6.js → repository-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{git-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{git-q74kybfr.js → repository-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{git-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{git-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{git-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{git-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{git-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{git-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{git-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{git-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{git-twg0f83k.js → repository-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{git-w803qqfp.js → repository-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{git-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{git-wtztk69x.js → repository-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{git-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{git-x61499pn.js → repository-x61499pn.js} +0 -0
  778. /package/dist/chunks/{git-y44na4kk.js → repository-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{git-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{git-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{git-ym463w8f.js → repository-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{git-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID13,
3
- Info17,
2
+ ID10,
3
+ Info23,
4
4
  SessionSchema2
5
- } from "./git-dv250zvr.js";
5
+ } from "./repository-y6f0p4jw.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./git-922hggd3.js";
8
+ } from "./repository-922hggd3.js";
9
9
  import {
10
- Service79,
11
- node84
12
- } from "./git-wfeyvemf.js";
10
+ Service80,
11
+ node85
12
+ } from "./repository-bragb0zt.js";
13
13
  import {
14
14
  isSynced2,
15
- Service78,
16
- node83
17
- } from "./git-xcmxfd3t.js";
15
+ Service79,
16
+ node84
17
+ } from "./repository-xqpzppg3.js";
18
18
  import {
19
- Service76,
20
- node81
21
- } from "./git-dn02v3xn.js";
19
+ Service77,
20
+ node82
21
+ } from "./repository-2az9q9m5.js";
22
22
  import {
23
- Service34,
24
- node37
25
- } from "./git-vzm76b3t.js";
23
+ Service37,
24
+ node40
25
+ } from "./repository-asn1qnte.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./git-ec1grn59.js";
28
+ } from "./repository-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./git-a1bz86dw.js";
31
+ } from "./repository-a1bz86dw.js";
32
32
  import {
33
- node38
34
- } from "./git-dn5grvbk.js";
33
+ node39
34
+ } from "./repository-919rdka5.js";
35
35
  import {
36
36
  current2
37
- } from "./git-hfdr1yjj.js";
37
+ } from "./repository-bajakh74.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./git-e49xbsfe.js";
40
+ } from "./repository-majq4y6w.js";
41
41
  import {
42
42
  Slug2
43
- } from "./git-gebd4c9n.js";
43
+ } from "./repository-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node29
47
- } from "./git-bj18y5e0.js";
46
+ node26
47
+ } from "./repository-ppzcs5qe.js";
48
48
  import {
49
49
  Metadata2,
50
- node63
51
- } from "./git-5n9f6zmz.js";
50
+ node65
51
+ } from "./repository-epg4pcgt.js";
52
52
  import {
53
- NotFoundError9,
53
+ NotFoundError5,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,50 +61,50 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./git-jxxmrcps.js";
64
+ } from "./repository-6vjnk7fh.js";
65
65
  import {
66
- ListInput5,
67
- Service66,
68
- node71
69
- } from "./git-cybh4q4m.js";
66
+ ListInput4,
67
+ Service57,
68
+ node60
69
+ } from "./repository-ppr425jm.js";
70
70
  import {
71
- Service55,
72
- node58
73
- } from "./git-s6h26ryx.js";
71
+ Service42,
72
+ node45
73
+ } from "./repository-02e0y54q.js";
74
74
  import {
75
- Service32,
76
- node36
77
- } from "./git-5cvbs26k.js";
75
+ Service34,
76
+ node38
77
+ } from "./repository-5a7jwez6.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./git-5t3nmthw.js";
80
+ } from "./repository-5t3nmthw.js";
81
81
  import {
82
- Service30,
83
- node34
84
- } from "./git-5rcfzxhb.js";
82
+ Service28,
83
+ node33
84
+ } from "./repository-qfhza6js.js";
85
85
  import {
86
86
  generate3
87
- } from "./git-p0n6b7j7.js";
87
+ } from "./repository-j4jvep9r.js";
88
88
  import {
89
89
  execute2
90
- } from "./git-1k8wtqrp.js";
90
+ } from "./repository-gpe6jd74.js";
91
91
  import {
92
92
  DestinationNotFoundError2,
93
93
  DestinationNotDirectoryError2,
94
94
  DestinationUnavailableError2,
95
- Service24,
96
- node28
97
- } from "./git-5d0wqk5a.js";
95
+ Service21,
96
+ node25
97
+ } from "./repository-0pcjts55.js";
98
98
  import {
99
- Service48,
100
- node51
101
- } from "./git-qe26s0zb.js";
99
+ Service40,
100
+ node43
101
+ } from "./repository-eeaf82dq.js";
102
102
  import {
103
- make12
104
- } from "./git-8bdgxx6d.js";
103
+ make13
104
+ } from "./repository-cqmjdmfy.js";
105
105
  import {
106
106
  __export
107
- } from "./git-9rqn6x4v.js";
107
+ } from "./repository-9rqn6x4v.js";
108
108
 
109
109
  // src/session.ts
110
110
  var exports_session = {};
@@ -115,21 +115,21 @@ __export(exports_session, {
115
115
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
116
116
  DestinationNotFoundError: () => DestinationNotFoundError2,
117
117
  DestinationUnavailableError: () => DestinationUnavailableError2,
118
- ID: () => ID13,
118
+ ID: () => ID10,
119
119
  InboxConflictError: () => InboxConflictError2,
120
- Info: () => Info17,
120
+ Info: () => Info23,
121
121
  ListAnchor: () => ListAnchor2,
122
122
  ListInput: () => ListInput3,
123
123
  MessageDecodeError: () => MessageDecodeError2,
124
124
  MessageNotFoundError: () => MessageNotFoundError2,
125
- NotFoundError: () => NotFoundError9,
125
+ NotFoundError: () => NotFoundError5,
126
126
  PromptConflictError: () => PromptConflictError2,
127
- Service: () => Service18,
127
+ Service: () => Service20,
128
128
  Session: () => exports_session,
129
129
  SessionSchema: () => SessionSchema2,
130
130
  SkillNotFoundError: () => SkillNotFoundError2,
131
131
  SyntheticConflictError: () => SyntheticConflictError2,
132
- node: () => node22
132
+ node: () => node24
133
133
  });
134
134
  import { Effect, Layer, Schema, Context, Stream } from "effect";
135
135
  import { LLMClient } from "@opencode/ai";
@@ -139,26 +139,26 @@ import { Model } from "@opencode/schema/model";
139
139
  import path from "path";
140
140
  import { Node } from "@opencode/util/effect/app-node";
141
141
  import { FSUtil } from "@opencode/util/fs-util";
142
- var ListInput3 = ListInput5;
143
- class Service18 extends Context.Service()("@opencode/Session") {
142
+ var ListInput3 = ListInput4;
143
+ class Service20 extends Context.Service()("@opencode/Session") {
144
144
  }
145
- var layer = Layer.effect(Service18, Effect.gen(function* () {
145
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
146
146
  const app = yield* Metadata2;
147
- const database = yield* Service79;
147
+ const database = yield* Service80;
148
148
  const db = database.db;
149
- const bus = yield* Service78;
150
- const projects = yield* Service76;
151
- const execution = yield* Service32;
149
+ const bus = yield* Service79;
150
+ const projects = yield* Service77;
151
+ const execution = yield* Service34;
152
152
  const llm = yield* LLMClient.Service;
153
- const transport = yield* Service30;
154
- const store = yield* Service66;
155
- const instances = yield* Service34;
156
- const moves = yield* Service24;
157
- const jobs = yield* Service55;
158
- const environments = yield* Service48;
159
- const sessions = yield* make12();
153
+ const transport = yield* Service28;
154
+ const store = yield* Service57;
155
+ const instances = yield* Service37;
156
+ const moves = yield* Service21;
157
+ const jobs = yield* Service42;
158
+ const environments = yield* Service40;
159
+ const sessions = yield* make13();
160
160
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
161
- const result = Service18.of({
161
+ const result = Service20.of({
162
162
  create: Effect.fn("Session.create")(function* (input) {
163
163
  const sessionID = input.id ?? SessionSchema2.ID.create();
164
164
  const recorded = yield* store.get(sessionID);
@@ -166,7 +166,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
166
166
  return recorded;
167
167
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
168
168
  if (input.parentID && parent === undefined)
169
- return yield* new NotFoundError9({ sessionID: input.parentID });
169
+ return yield* new NotFoundError5({ sessionID: input.parentID });
170
170
  const location = parent?.location ?? input.location;
171
171
  if (location === undefined)
172
172
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -259,11 +259,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
259
259
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
260
260
  generate: Effect.fn("Session.generate")(function* (input) {
261
261
  const session = yield* result.get(input.sessionID);
262
- return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service34, instances), Effect.provideService(Service79, database), Effect.provideService(LLMClient.Service, llm));
262
+ return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
263
263
  }),
264
264
  command: Effect.fn("Session.command")(function* (input) {
265
265
  const session = yield* result.get(input.sessionID);
266
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service34, instances));
266
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service37, instances));
267
267
  }),
268
268
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
269
269
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -303,26 +303,26 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
303
303
  });
304
304
  return result;
305
305
  }));
306
- var node22 = Node.makeGlobalNode({
307
- service: Service18,
306
+ var node24 = Node.makeGlobalNode({
307
+ service: Service20,
308
308
  layer,
309
309
  deps: [
310
- node58,
311
- node51,
310
+ node45,
311
+ node43,
312
+ node85,
312
313
  node84,
313
- node83,
314
- node81,
315
- node36,
316
- node34,
317
- llmClient2,
318
- node71,
319
- node37,
314
+ node82,
320
315
  node38,
321
- node28,
322
- node29,
316
+ node33,
317
+ llmClient2,
318
+ node60,
319
+ node40,
320
+ node39,
321
+ node25,
322
+ node26,
323
323
  FSUtil.node,
324
- node63
324
+ node65
325
325
  ]
326
326
  });
327
327
 
328
- export { ListAnchor2, ListInput3, Service18, node22, exports_session };
328
+ export { ListAnchor2, ListInput3, Service20, node24, exports_session };
@@ -1,70 +1,70 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./git-xcmxfd3t.js";
2
+ Service79,
3
+ node84
4
+ } from "./repository-xqpzppg3.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./git-ezys8rkd.js";
6
+ Service76,
7
+ node81
8
+ } from "./repository-z399x6eb.js";
9
9
  import {
10
- ID12,
11
- Service67,
12
- node72
13
- } from "./git-17rjwhd8.js";
10
+ ID9,
11
+ Service59,
12
+ node62
13
+ } from "./repository-q0efknh2.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./git-jxxmrcps.js";
15
+ NotFoundError5
16
+ } from "./repository-6vjnk7fh.js";
17
17
  import {
18
- Service66,
19
- node71
20
- } from "./git-cybh4q4m.js";
18
+ Service57,
19
+ node60
20
+ } from "./repository-ppr425jm.js";
21
21
  import {
22
22
  match2
23
- } from "./git-y1fvbwt7.js";
23
+ } from "./repository-y1fvbwt7.js";
24
24
  import {
25
- Service65,
26
- node70
27
- } from "./git-68fh3z7z.js";
25
+ Service58,
26
+ node61
27
+ } from "./repository-anrzzgjr.js";
28
28
  import {
29
- Service68,
30
- node73
31
- } from "./git-bby00dsd.js";
29
+ Service60,
30
+ node63
31
+ } from "./repository-1vtz46z8.js";
32
32
  import {
33
33
  __export
34
- } from "./git-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event15,
46
- ID: () => ID10,
47
- NotFoundError: () => NotFoundError8,
48
- Permission: () => exports_permission,
49
- Reply: () => Reply3,
45
+ Event: () => Event13,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError4,
48
+ Permission: () => exports_permission2,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service64,
54
+ Service: () => Service56,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node69
58
+ node: () => node59
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event15 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID10 = Permission.ID;
67
+ var ID7 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID10.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID12.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID10,
86
- reply: Reply3,
85
+ requestID: ID7,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID10,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID10
113
+ class NotFoundError4 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service64 extends Context.Service()("@opencode/Permission") {
128
+ class Service56 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service64, Effect.gen(function* () {
131
- const bus = yield* Service78;
132
- const location = yield* Service75;
133
- const agents = yield* Service67;
134
- const sessions = yield* Service66;
135
- const saved = yield* Service65;
136
- const hooks = yield* Service68;
130
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
131
+ const bus = yield* Service79;
132
+ const location = yield* Service76;
133
+ const agents = yield* Service59;
134
+ const sessions = yield* Service57;
135
+ const saved = yield* Service58;
136
+ const hooks = yield* Service60;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError9({ sessionID });
153
+ return yield* new NotFoundError5({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return agent?.permissions ?? missingAgentPermissions;
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID10.create(),
183
+ id: input.id ?? ID7.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError8({ requestID: input.requestID });
231
+ return yield* new NotFoundError4({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service64.of({ ask, assert, reply, get, forSession, list });
286
+ return Service56.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node69 = makeLocationNode({
289
- service: Service64,
288
+ var node59 = makeLocationNode({
289
+ service: Service56,
290
290
  layer,
291
- deps: [node83, node80, node72, node71, node70, node73]
291
+ deps: [node84, node81, node62, node60, node61, node63]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID10, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service64, node69, exports_permission, Rule2, Ruleset2, Event15 };
294
+ export { PermissionEffect, ID7, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError4, evaluate2, merge2, Service56, node59, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./git-6msgmcgs.js";
3
+ } from "./repository-6msgmcgs.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./git-8p4f9s12.js";
6
+ } from "./repository-8p4f9s12.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./git-xcmxfd3t.js";
2
+ Service79,
3
+ node84
4
+ } from "./repository-xqpzppg3.js";
5
5
  import {
6
6
  create3
7
- } from "./git-kg06axw8.js";
7
+ } from "./repository-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./git-9rqn6x4v.js";
10
+ } from "./repository-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
- var exports_command4 = {};
14
- __export(exports_command4, {
15
- Command: () => exports_command4,
16
- Event: () => Event8,
13
+ var exports_command5 = {};
14
+ __export(exports_command5, {
15
+ Command: () => exports_command5,
16
+ Event: () => Event18,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info7,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service51,
21
- layer: () => layer20,
22
- node: () => node54
18
+ Info: () => Info28,
19
+ NotFoundError: () => NotFoundError7,
20
+ Service: () => Service67,
21
+ layer: () => layer24,
22
+ node: () => node71
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event8 } from "@opencode/schema/command";
28
- var Info7 = Command.Info;
27
+ import { Event as Event18 } from "@opencode/schema/command";
28
+ var Info28 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service51 extends Context.Service()("@opencode/Command") {
42
+ class Service67 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer20 = Layer.effect(Service51, Effect.gen(function* () {
45
- const bus = yield* Service78;
44
+ var layer24 = Layer.effect(Service67, Effect.gen(function* () {
45
+ const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
48
48
  initial: () => new Map,
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info7.make({
54
+ const info = (definition) => Info28.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service51.of({
58
+ return Service67.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,15 +66,15 @@ var layer20 = Layer.effect(Service51, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node54 = makeLocationNode({
75
- service: Service51,
76
- layer: layer20,
77
- deps: [node83]
74
+ var node71 = makeLocationNode({
75
+ service: Service67,
76
+ layer: layer24,
77
+ deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
80
80
  if (error instanceof Error)
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError5, ExecutionError2, Service51, layer20, node54, exports_command4, Event8 };
89
+ export { Info28, NotFoundError7, ExecutionError2, Service67, layer24, node71, exports_command5, Event18 };