@opencode-ai/core 0.0.0-dev-19186 → 0.0.0-dev-19191

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{bus-0gsy4sqt.js → schema-01ydztrv.js} +6 -6
  9. package/dist/chunks/{bus-rrzvz4w9.js → schema-0c58t30f.js} +11 -11
  10. package/dist/chunks/{bus-0e0xafbb.js → schema-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{bus-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{bus-0s9ayhjt.js → schema-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{bus-7bn4vab1.js → schema-0yqgca25.js} +11 -11
  14. package/dist/chunks/{bus-hwyf1vhw.js → schema-14hmenm3.js} +3 -3
  15. package/dist/chunks/{bus-rrhrq44h.js → schema-197e7f4c.js} +22 -22
  16. package/dist/chunks/{bus-1ct4r87x.js → schema-1ct4r87x.js} +1 -1
  17. package/dist/chunks/{bus-ejbvb9q0.js → schema-1g9zr640.js} +23 -23
  18. package/dist/chunks/{bus-pt34y05q.js → schema-1n116cmy.js} +9 -9
  19. package/dist/chunks/{bus-pm8mksm9.js → schema-1rgpr9ay.js} +20 -20
  20. package/dist/chunks/{bus-a4p546v5.js → schema-1tcf1r1x.js} +20 -20
  21. package/dist/chunks/{bus-kf6gbfrb.js → schema-1xyj8m27.js} +11 -11
  22. package/dist/chunks/{bus-75yf2d83.js → schema-1z80kc63.js} +4 -4
  23. package/dist/chunks/{bus-mcvs2zbw.js → schema-21r37x41.js} +11 -11
  24. package/dist/chunks/{bus-21r38tys.js → schema-21r38tys.js} +1 -1
  25. package/dist/chunks/{bus-5azxvc7x.js → schema-22nnhjev.js} +31 -31
  26. package/dist/chunks/{bus-6h73sxmp.js → schema-2402vzrj.js} +5 -5
  27. package/dist/chunks/schema-260meh2r.js +247 -0
  28. package/dist/chunks/{bus-3q0mzqr9.js → schema-26bs89kh.js} +11 -11
  29. package/dist/chunks/{bus-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{bus-2ht70gj7.js → schema-2ht70gj7.js} +1 -1
  31. package/dist/chunks/{bus-qrz5apad.js → schema-2qajfaf9.js} +43 -43
  32. package/dist/chunks/{bus-q089jhzf.js → schema-2tezgagr.js} +300 -300
  33. package/dist/chunks/{bus-z5n63056.js → schema-2xp7h6d8.js} +11 -11
  34. package/dist/chunks/{bus-aj7dyy80.js → schema-3a2mh29d.js} +13 -13
  35. package/dist/chunks/{bus-x8za3qqf.js → schema-3b1behp0.js} +18 -18
  36. package/dist/chunks/{bus-ktqm69e3.js → schema-3b9q8xmz.js} +57 -57
  37. package/dist/chunks/{bus-e9r133th.js → schema-3e02b6t7.js} +11 -11
  38. package/dist/chunks/{bus-ze67etev.js → schema-3gthbwc2.js} +37 -37
  39. package/dist/chunks/{bus-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{bus-dha1rfzn.js → schema-3mervr2x.js} +32 -32
  41. package/dist/chunks/{bus-wxwbjexe.js → schema-3nbw588s.js} +4 -4
  42. package/dist/chunks/{bus-3qzbfqsy.js → schema-3qzbfqsy.js} +2 -2
  43. package/dist/chunks/{bus-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{bus-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{bus-bpxe412r.js → schema-3wfq9j39.js} +14 -14
  46. package/dist/chunks/{bus-rhjckj9y.js → schema-41mncz27.js} +5 -5
  47. package/dist/chunks/{bus-73gvfjg4.js → schema-42g0bzct.js} +59 -59
  48. package/dist/chunks/{bus-454k5vzh.js → schema-454k5vzh.js} +1 -1
  49. package/dist/chunks/{bus-n0cxab0r.js → schema-472tbdag.js} +9 -9
  50. package/dist/chunks/{bus-9czjfc66.js → schema-49ghghdw.js} +11 -11
  51. package/dist/chunks/{bus-svtn6ftc.js → schema-4j4extwa.js} +9 -9
  52. package/dist/chunks/{bus-6gn07reb.js → schema-4kkp1z8s.js} +47 -47
  53. package/dist/chunks/{bus-4r2nyarf.js → schema-4r2nyarf.js} +1 -1
  54. package/dist/chunks/{bus-r7kgbqwf.js → schema-4z6b0fg6.js} +8 -8
  55. package/dist/chunks/{bus-rz31k017.js → schema-4z9ne5jz.js} +9 -9
  56. package/dist/chunks/{bus-5daktx2q.js → schema-5daktx2q.js} +1 -1
  57. package/dist/chunks/{bus-5fmxt4p5.js → schema-5fmxt4p5.js} +1 -1
  58. package/dist/chunks/{bus-5jvc5tg2.js → schema-5jvc5tg2.js} +1 -1
  59. package/dist/chunks/{bus-6bb2rddz.js → schema-5k3f87xj.js} +1 -1
  60. package/dist/chunks/{bus-bf0ztrs3.js → schema-5q02cxx3.js} +4 -4
  61. package/dist/chunks/{bus-qkawf4bj.js → schema-5y6h07fe.js} +30 -30
  62. package/dist/chunks/{bus-7dqw4kz8.js → schema-607tc6va.js} +5 -5
  63. package/dist/chunks/{bus-3etffxf1.js → schema-66tqe5xe.js} +16 -16
  64. package/dist/chunks/{bus-4rqnb94f.js → schema-68gzwy8a.js} +22 -22
  65. package/dist/chunks/{bus-z0f88jgc.js → schema-69s1z7ph.js} +29 -29
  66. package/dist/chunks/{bus-dad8bk2q.js → schema-6gq1etg2.js} +18 -18
  67. package/dist/chunks/{bus-3g2y1byn.js → schema-6h414ywr.js} +5 -5
  68. package/dist/chunks/{bus-2p9tqta8.js → schema-6jqwmg68.js} +16 -16
  69. package/dist/chunks/{bus-3nepss8s.js → schema-6kmb0a3c.js} +8 -8
  70. package/dist/chunks/{bus-1xf0k5sv.js → schema-6qdzwav0.js} +13 -13
  71. package/dist/chunks/{bus-6abnk40k.js → schema-6z5bwd8g.js} +9 -9
  72. package/dist/chunks/{bus-711hfp6y.js → schema-711hfp6y.js} +2 -2
  73. package/dist/chunks/{bus-f4e8jj35.js → schema-727qrer3.js} +28 -28
  74. package/dist/chunks/{bus-72nftnjy.js → schema-72nftnjy.js} +2 -2
  75. package/dist/chunks/{bus-mvfsc1pv.js → schema-73tb2d7t.js} +3 -3
  76. package/dist/chunks/{bus-wyvwzpgp.js → schema-79hj8smp.js} +25 -25
  77. package/dist/chunks/{bus-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{bus-f25wfmnz.js → schema-7h8vgbk8.js} +26 -26
  79. package/dist/chunks/{bus-kr1vvnwz.js → schema-7kbtra6h.js} +16 -16
  80. package/dist/chunks/{bus-ytyw8mcv.js → schema-7vvqw8st.js} +16 -16
  81. package/dist/chunks/{bus-6wj0fw5p.js → schema-7w74e5nf.js} +9 -9
  82. package/dist/chunks/{bus-wkq0emgv.js → schema-7wmmknre.js} +28 -28
  83. package/dist/chunks/{bus-t00n1yfv.js → schema-84m8dmka.js} +8 -8
  84. package/dist/chunks/{bus-edq94eaw.js → schema-86s3977f.js} +1 -1
  85. package/dist/chunks/{bus-tcezcvh9.js → schema-89znhe33.js} +4 -4
  86. package/dist/chunks/{bus-20ebpt2n.js → schema-8exdn9dc.js} +24 -24
  87. package/dist/chunks/{bus-r1tc6yem.js → schema-8hdnc7r8.js} +25 -25
  88. package/dist/chunks/{bus-z91dmd0w.js → schema-8xe7962d.js} +26 -26
  89. package/dist/chunks/{bus-ga1h0m9y.js → schema-8xrew3hh.js} +5 -5
  90. package/dist/chunks/{bus-gqqnkh8v.js → schema-94dn6ebz.js} +14 -14
  91. package/dist/chunks/{bus-1s8x6ddd.js → schema-9cf43ywr.js} +6 -6
  92. package/dist/chunks/{bus-jfqycs0z.js → schema-9gy4m6h6.js} +20 -20
  93. package/dist/chunks/{bus-ycn7ay9t.js → schema-9jv144rc.js} +21 -21
  94. package/dist/chunks/{bus-804r97dm.js → schema-9myn1xfv.js} +7 -7
  95. package/dist/chunks/{bus-9qm9egsn.js → schema-9qm9egsn.js} +2 -2
  96. package/dist/chunks/{bus-4rh36sjt.js → schema-9w5hc89k.js} +23 -23
  97. package/dist/chunks/{bus-hgsh7sdh.js → schema-9w7f66dc.js} +6 -6
  98. package/dist/chunks/{bus-q1b8pcac.js → schema-a11h1vyp.js} +24 -24
  99. package/dist/chunks/{bus-0xz3dzbq.js → schema-a2ah7emm.js} +18 -18
  100. package/dist/chunks/{bus-1jfdb1er.js → schema-a5gmg2n8.js} +66 -66
  101. package/dist/chunks/{bus-d6v5jdzg.js → schema-a7rzb06g.js} +13 -13
  102. package/dist/chunks/{bus-aaet6srn.js → schema-aaet6srn.js} +2 -2
  103. package/dist/chunks/{bus-ajtjthsy.js → schema-ajtjthsy.js} +2 -2
  104. package/dist/chunks/{bus-gzaq63kr.js → schema-av4ay7w3.js} +7 -7
  105. package/dist/chunks/{bus-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{bus-b9wsbatv.js → schema-b9wsbatv.js} +1 -1
  107. package/dist/chunks/{bus-cmbqfntm.js → schema-bcb5hys9.js} +6 -6
  108. package/dist/chunks/{bus-hnyf01b0.js → schema-bcezcar3.js} +5 -5
  109. package/dist/chunks/{bus-8vb85d8j.js → schema-bfhprby2.js} +4 -4
  110. package/dist/chunks/{bus-qnwfs6wy.js → schema-cbwxped0.js} +40 -40
  111. package/dist/chunks/{bus-83rp9aqa.js → schema-ccag2325.js} +8 -8
  112. package/dist/chunks/{bus-byjqrnh7.js → schema-cdjnsk06.js} +18 -18
  113. package/dist/chunks/{bus-s6a5z1ry.js → schema-cg7fjhyq.js} +9 -9
  114. package/dist/chunks/{bus-434pnv9v.js → schema-cmb92cfd.js} +39 -39
  115. package/dist/chunks/{bus-zp9ajhcp.js → schema-cnj1y1j9.js} +4 -4
  116. package/dist/chunks/{bus-h6dr5ctb.js → schema-czdcbsev.js} +27 -27
  117. package/dist/chunks/{bus-a2ew8a62.js → schema-d216944b.js} +7 -7
  118. package/dist/chunks/{bus-d72308c8.js → schema-d72308c8.js} +2 -2
  119. package/dist/chunks/{bus-myyr5eq0.js → schema-dh8wrsyh.js} +8 -8
  120. package/dist/chunks/{bus-xt2f3af4.js → schema-djdhx5yz.js} +11 -11
  121. package/dist/chunks/{bus-djtdz80w.js → schema-djtdz80w.js} +1 -1
  122. package/dist/chunks/{bus-8h9b3wfc.js → schema-dm6mq6v3.js} +11 -11
  123. package/dist/chunks/{bus-cphw1rrq.js → schema-dq1pfatf.js} +40 -40
  124. package/dist/chunks/{bus-7rr5f4gz.js → schema-dt28z908.js} +17 -17
  125. package/dist/chunks/{bus-r0h1m8yn.js → schema-dt5c7h3t.js} +25 -25
  126. package/dist/chunks/{bus-ggfsjf2v.js → schema-dx71f7x8.js} +1 -1
  127. package/dist/chunks/{bus-av3gzsdm.js → schema-e0tdhtsx.js} +15 -15
  128. package/dist/chunks/{bus-3yq82pb2.js → schema-e5b0qn1c.js} +1 -1
  129. package/dist/chunks/{bus-48e7jqbg.js → schema-e61q4fdz.js} +33 -33
  130. package/dist/chunks/{bus-9qw5sf44.js → schema-ec6cjy13.js} +11 -11
  131. package/dist/chunks/{bus-k97nqm59.js → schema-eja9hfad.js} +9 -9
  132. package/dist/chunks/{bus-ap0e00cv.js → schema-erhsr0sj.js} +20 -20
  133. package/dist/chunks/{bus-56531erc.js → schema-etv9h02v.js} +8 -8
  134. package/dist/chunks/{bus-p9xxfsxh.js → schema-f1kgb3zy.js} +17 -17
  135. package/dist/chunks/{bus-wycvtbqt.js → schema-f46vkye0.js} +12 -12
  136. package/dist/chunks/{bus-0kbdxtg6.js → schema-f7qt83x6.js} +34 -34
  137. package/dist/chunks/{bus-gsnpnfh8.js → schema-f9n9gzws.js} +11 -11
  138. package/dist/chunks/{bus-rmc74c4t.js → schema-fhs66pct.js} +34 -34
  139. package/dist/chunks/{bus-r14a846e.js → schema-fqjmww7h.js} +2 -2
  140. package/dist/chunks/{bus-yf6xxqf2.js → schema-fw4p2fkf.js} +15 -15
  141. package/dist/chunks/{bus-vjmsffxn.js → schema-fx8v60je.js} +29 -29
  142. package/dist/chunks/{bus-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{bus-fxypknc8.js → schema-fxypknc8.js} +1 -1
  144. package/dist/chunks/{bus-bndd36kw.js → schema-g3bd2v2g.js} +5 -5
  145. package/dist/chunks/{bus-bd7er6gs.js → schema-g41n1fn3.js} +5 -5
  146. package/dist/chunks/{bus-w1jbs0y4.js → schema-g5qvr7td.js} +15 -15
  147. package/dist/chunks/{bus-849kvxk3.js → schema-g5yr037w.js} +11 -11
  148. package/dist/chunks/{bus-rxbdfnq0.js → schema-g77vssk4.js} +3 -3
  149. package/dist/chunks/{bus-0ccrtq8e.js → schema-gcged20f.js} +14 -14
  150. package/dist/chunks/{bus-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{bus-gdvy8fx6.js → schema-gdvy8fx6.js} +1 -1
  152. package/dist/chunks/{bus-hha4zry8.js → schema-gsh994c1.js} +4 -4
  153. package/dist/chunks/{bus-tssjvmgn.js → schema-gwjdnazh.js} +39 -39
  154. package/dist/chunks/{bus-m2vxpjnv.js → schema-h46md2jk.js} +16 -16
  155. package/dist/chunks/{bus-0y4twpwd.js → schema-h53052s4.js} +9 -9
  156. package/dist/chunks/{bus-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{bus-ww8c32hp.js → schema-h722e297.js} +5 -5
  158. package/dist/chunks/{bus-ap2t8vcq.js → schema-h9fbwe9v.js} +25 -25
  159. package/dist/chunks/{bus-bmj3d0ka.js → schema-h9rd212d.js} +4 -4
  160. package/dist/chunks/{bus-heyhwy2w.js → schema-heyhwy2w.js} +1 -1
  161. package/dist/chunks/{bus-dq884360.js → schema-hhck17cp.js} +19 -19
  162. package/dist/chunks/{bus-hrvm11jt.js → schema-hrvm11jt.js} +3 -3
  163. package/dist/chunks/schema-ht5y0zrb.js +18 -0
  164. package/dist/chunks/{bus-hw4pv20g.js → schema-hw4pv20g.js} +2 -2
  165. package/dist/chunks/{bus-3bsrcfpb.js → schema-hz9b66t7.js} +26 -26
  166. package/dist/chunks/{bus-gnqaz2e7.js → schema-hzecryb5.js} +18 -18
  167. package/dist/chunks/{bus-bqarnab4.js → schema-j2823k0a.js} +2 -2
  168. package/dist/chunks/{bus-0xwtr52f.js → schema-j3geqf8r.js} +18 -18
  169. package/dist/chunks/{bus-ztherss1.js → schema-jc92eg9v.js} +9 -9
  170. package/dist/chunks/{bus-9gmnkn1a.js → schema-jj81eexz.js} +86 -86
  171. package/dist/chunks/{bus-y71avatq.js → schema-jwcy2c2z.js} +4 -4
  172. package/dist/chunks/{bus-8hksdbz1.js → schema-k1b1zvn1.js} +26 -26
  173. package/dist/chunks/{bus-6t49dzs3.js → schema-k44987ts.js} +17 -17
  174. package/dist/chunks/{bus-k4bwy1x5.js → schema-k4bwy1x5.js} +1 -1
  175. package/dist/chunks/{bus-qas6r648.js → schema-k4yyf4jz.js} +17 -17
  176. package/dist/chunks/{bus-fv4q91yr.js → schema-k6vh52ey.js} +15 -15
  177. package/dist/chunks/{bus-b6rw464e.js → schema-k8r87xab.js} +10 -10
  178. package/dist/chunks/{bus-b270hrwc.js → schema-k970242f.js} +4 -4
  179. package/dist/chunks/{bus-t8wv8e2h.js → schema-kadhpnyd.js} +37 -37
  180. package/dist/chunks/{bus-fy69wkfh.js → schema-kazxkvef.js} +36 -36
  181. package/dist/chunks/{bus-kg06axw8.js → schema-kg06axw8.js} +1 -1
  182. package/dist/chunks/{bus-54sc1s1k.js → schema-kk8zj6de.js} +18 -18
  183. package/dist/chunks/{bus-yw9364ag.js → schema-kx2gvdct.js} +4 -4
  184. package/dist/chunks/{bus-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{bus-1vbp5j7a.js → schema-ma41yzy3.js} +22 -22
  186. package/dist/chunks/{bus-3fwrn7pg.js → schema-mcxg6pmm.js} +1 -1
  187. package/dist/chunks/{bus-e3qsaezh.js → schema-mf6rf3jv.js} +10 -10
  188. package/dist/chunks/{bus-5gyhz2nn.js → schema-mfrs51m8.js} +46 -46
  189. package/dist/chunks/schema-mpwegw5n.js +22 -0
  190. package/dist/chunks/{bus-fyjt0avv.js → schema-mym5dcqt.js} +15 -15
  191. package/dist/chunks/{bus-64z1dcvr.js → schema-na32d9q8.js} +3 -3
  192. package/dist/chunks/{bus-hsg1hj1w.js → schema-ngmbsfd1.js} +27 -27
  193. package/dist/chunks/{bus-wpts28dx.js → schema-nk3f4wfy.js} +6 -6
  194. package/dist/chunks/{bus-wv36qkf9.js → schema-nkyb3pw9.js} +17 -17
  195. package/dist/chunks/{bus-8arghjyt.js → schema-npwbkbcj.js} +23 -23
  196. package/dist/chunks/{bus-fphv0de3.js → schema-nrmg1yey.js} +8 -8
  197. package/dist/chunks/{bus-6t8k13pe.js → schema-ns9ezqyz.js} +89 -89
  198. package/dist/chunks/{bus-rpthx8hq.js → schema-p6gsnnk2.js} +4 -4
  199. package/dist/chunks/{bus-tpc2xyw9.js → schema-p6q2ykt6.js} +6 -6
  200. package/dist/chunks/{bus-2d57kztd.js → schema-pf2hb43r.js} +4 -4
  201. package/dist/chunks/{bus-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{bus-pknna89w.js → schema-pknna89w.js} +1 -1
  203. package/dist/chunks/{bus-tppvcy65.js → schema-ptrvg6rv.js} +9 -9
  204. package/dist/chunks/{bus-j56e7md4.js → schema-q8pp2sp9.js} +46 -46
  205. package/dist/chunks/{bus-85m33w8k.js → schema-qe606rs0.js} +14 -14
  206. package/dist/chunks/{bus-f4b47wcg.js → schema-qgm407s3.js} +25 -25
  207. package/dist/chunks/{bus-nh1jkfpr.js → schema-qhk07rex.js} +6 -6
  208. package/dist/chunks/{bus-hsargt6j.js → schema-qmkt23t2.js} +22 -22
  209. package/dist/chunks/{bus-zf97vnn4.js → schema-qmmnt21p.js} +6 -6
  210. package/dist/chunks/{bus-xevys2wm.js → schema-qqvh8xjt.js} +15 -15
  211. package/dist/chunks/{bus-y2ktbrjm.js → schema-qs81ty4q.js} +17 -17
  212. package/dist/chunks/{bus-qsdy395h.js → schema-qsdy395h.js} +1 -1
  213. package/dist/chunks/{bus-p386207z.js → schema-r80rqf00.js} +6 -6
  214. package/dist/chunks/{bus-r8dhm0tv.js → schema-r8dhm0tv.js} +1 -1
  215. package/dist/chunks/{bus-v2pza5zk.js → schema-rae26gbb.js} +8 -8
  216. package/dist/chunks/{bus-saphkdfh.js → schema-rby1t0fa.js} +5 -5
  217. package/dist/chunks/{bus-r73hqwej.js → schema-rkwwtmcy.js} +11 -11
  218. package/dist/chunks/{bus-khfm06dd.js → schema-rzpxjk4g.js} +12 -12
  219. package/dist/chunks/{bus-grcfym27.js → schema-s2mhcxty.js} +34 -34
  220. package/dist/chunks/{bus-bf3qrb3j.js → schema-s3eqpch7.js} +1 -1
  221. package/dist/chunks/{bus-sba4qhjf.js → schema-sba4qhjf.js} +1 -1
  222. package/dist/chunks/{bus-35ymyeta.js → schema-sm6t64x2.js} +10 -10
  223. package/dist/chunks/{bus-kxw3z6ex.js → schema-sqs4yk0n.js} +14 -14
  224. package/dist/chunks/{bus-e07bfndv.js → schema-svjem3ep.js} +18 -18
  225. package/dist/chunks/{bus-j6nhct4h.js → schema-t2rzjbd1.js} +11 -11
  226. package/dist/chunks/{bus-8w14596t.js → schema-t6x53sfz.js} +29 -29
  227. package/dist/chunks/{bus-d2q1a9h5.js → schema-t7tep13p.js} +4 -4
  228. package/dist/chunks/{bus-w071yvmc.js → schema-ta6v1pw6.js} +25 -25
  229. package/dist/chunks/{bus-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{bus-pxzs1q6p.js → schema-tbbvbjx8.js} +13 -13
  231. package/dist/chunks/{bus-tjykrgmx.js → schema-tjykrgmx.js} +1 -1
  232. package/dist/chunks/{bus-57j0ygqm.js → schema-tk1b2krj.js} +32 -32
  233. package/dist/chunks/{bus-0evdvf3m.js → schema-tpdzbnzn.js} +11 -11
  234. package/dist/chunks/{bus-d2rtq077.js → schema-tswacbxr.js} +25 -25
  235. package/dist/chunks/{bus-qq0s42pd.js → schema-tzfkbvz2.js} +6 -6
  236. package/dist/chunks/{bus-sk616wp9.js → schema-v0yqd4qv.js} +27 -27
  237. package/dist/chunks/{bus-89bfeqfq.js → schema-v2217wga.js} +26 -26
  238. package/dist/chunks/{bus-qs5gpaa7.js → schema-vbk51re5.js} +8 -8
  239. package/dist/chunks/{bus-3jsg4rse.js → schema-vf5pn5gk.js} +12 -12
  240. package/dist/chunks/{bus-gk020jjx.js → schema-vj5te9hp.js} +15 -15
  241. package/dist/chunks/{bus-ss1kepxy.js → schema-vk21e1pw.js} +10 -10
  242. package/dist/chunks/{bus-5wkefnsp.js → schema-vpyt1k32.js} +9 -9
  243. package/dist/chunks/{bus-ndjv4j8j.js → schema-vr7azkaf.js} +7 -7
  244. package/dist/chunks/schema-vs313s01.js +20 -0
  245. package/dist/chunks/{bus-41t7h6jd.js → schema-w2a0kbp2.js} +16 -16
  246. package/dist/chunks/{bus-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{bus-84vjrsce.js → schema-wd3a2z3s.js} +32 -32
  248. package/dist/chunks/{bus-wd87259q.js → schema-wd87259q.js} +1 -1
  249. package/dist/chunks/{bus-cbjj75jx.js → schema-wgxn7ww3.js} +4 -4
  250. package/dist/chunks/{bus-4b1mthq9.js → schema-whh92xcq.js} +4 -4
  251. package/dist/chunks/{bus-n5f15nnr.js → schema-wmw1swn5.js} +9 -9
  252. package/dist/chunks/{bus-96kjkgmk.js → schema-wxh0e7k7.js} +6 -6
  253. package/dist/chunks/{bus-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  254. package/dist/chunks/{bus-23wvan8x.js → schema-x2tb69sg.js} +23 -23
  255. package/dist/chunks/{bus-dpm05p3t.js → schema-x4p9jbh3.js} +37 -37
  256. package/dist/chunks/{bus-63f9ebx5.js → schema-x50jbvsx.js} +46 -46
  257. package/dist/chunks/{bus-v33gch5h.js → schema-xjrkddwa.js} +31 -31
  258. package/dist/chunks/{bus-5aephga1.js → schema-xqsy6kp0.js} +1 -1
  259. package/dist/chunks/{bus-1d2yf5yg.js → schema-xwbhy8am.js} +19 -19
  260. package/dist/chunks/{bus-pxrsnsv2.js → schema-xx3ac82e.js} +21 -21
  261. package/dist/chunks/{bus-5v4d9t1w.js → schema-xzwtfmxp.js} +7 -7
  262. package/dist/chunks/{bus-bvxnc9g4.js → schema-y00gghsa.js} +22 -22
  263. package/dist/chunks/{bus-xjyr936n.js → schema-y18qbtn0.js} +3 -3
  264. package/dist/chunks/{bus-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{bus-93a8yfjt.js → schema-y2cqme3r.js} +5 -5
  266. package/dist/chunks/{bus-f3bqzcfa.js → schema-y5e1a3sd.js} +4 -4
  267. package/dist/chunks/{bus-cmy5y5dg.js → schema-y6nt3k22.js} +2 -2
  268. package/dist/chunks/{bus-gst7axd9.js → schema-yd4mva7c.js} +4 -4
  269. package/dist/chunks/{bus-hhxmypn0.js → schema-ye70tata.js} +20 -20
  270. package/dist/chunks/{bus-yfbd16n1.js → schema-yfbd16n1.js} +2 -2
  271. package/dist/chunks/{bus-gzkr61q0.js → schema-ykcesz1b.js} +4 -4
  272. package/dist/chunks/{bus-mckf4h7b.js → schema-ym594s0z.js} +8 -8
  273. package/dist/chunks/{bus-wppt2sme.js → schema-ywc7t1nw.js} +10 -10
  274. package/dist/chunks/{bus-e8ecwan1.js → schema-z07tm3p8.js} +10 -10
  275. package/dist/chunks/{bus-z1k01bn4.js → schema-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{bus-z63w68vq.js → schema-z63w68vq.js} +2 -2
  277. package/dist/chunks/{bus-2rhspc98.js → schema-z8yntsh8.js} +50 -50
  278. package/dist/chunks/{bus-kerhshr9.js → schema-zk8c4w5t.js} +5 -5
  279. package/dist/chunks/{bus-sfxm1h0s.js → schema-zn2pq4p8.js} +5 -5
  280. package/dist/chunks/{bus-3zyads7b.js → schema-ztfzrca4.js} +16 -16
  281. package/dist/chunks/{bus-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{bus-e832z393.js → schema-zy6nr8rb.js} +175 -175
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +5 -5
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +114 -114
  291. package/dist/config/plugin/command.js +207 -207
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +125 -125
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +117 -117
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +132 -132
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +114 -114
  309. package/dist/config/plugin/worktree.js +117 -117
  310. package/dist/config/variable.js +3 -3
  311. package/dist/config/watch.js +1 -1
  312. package/dist/config.js +118 -118
  313. package/dist/credential/sql.js +2 -2
  314. package/dist/credential.js +78 -78
  315. package/dist/database/database.js +70 -70
  316. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  317. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  318. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  319. package/dist/database/drizzle/index.js +15 -15
  320. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  323. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  325. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  331. package/dist/database/drizzle.js +16 -16
  332. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  333. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  334. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  335. package/dist/database/migration/20260225215848_workspace.js +1 -1
  336. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  337. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  338. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  339. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  340. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  341. package/dist/database/migration/20260323234822_events.js +1 -1
  342. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  343. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  344. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  345. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  346. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  347. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  348. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  349. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  350. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  351. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  352. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  353. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  354. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  355. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  356. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  357. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  358. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  359. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  360. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  361. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  362. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  363. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  364. package/dist/database/migration/20260611035744_credential.js +1 -1
  365. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  366. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  367. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  368. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  369. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  370. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  371. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  372. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  373. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  374. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  375. package/dist/database/migration/20260812213948_worktree.js +1 -1
  376. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  377. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  378. package/dist/database/migration.gen.js +47 -47
  379. package/dist/database/migration.js +49 -49
  380. package/dist/database/path.js +2 -2
  381. package/dist/database/schema.gen.js +1 -1
  382. package/dist/database/schema.sql.js +1 -1
  383. package/dist/database/sqlite.bun.js +1 -1
  384. package/dist/database/sqlite.js +1 -1
  385. package/dist/database/sqlite.node.js +1 -1
  386. package/dist/database/sqlite.workerd.js +1 -1
  387. package/dist/database/v1-migration.bun.js +74 -74
  388. package/dist/database/v1-migration.js +1 -1
  389. package/dist/effect/app-node-builder.js +358 -358
  390. package/dist/effect/app-node-platform.js +2 -2
  391. package/dist/effect/keyed-mutex.js +3 -3
  392. package/dist/effect/websocket-constructor.js +1 -1
  393. package/dist/environment/driver.js +1 -1
  394. package/dist/environment/environment.js +86 -86
  395. package/dist/environment/exec-defaults.js +2 -2
  396. package/dist/environment/files.js +1 -1
  397. package/dist/environment/index.js +88 -88
  398. package/dist/environment/local.js +2 -2
  399. package/dist/environment/memory.js +2 -2
  400. package/dist/environment/unavailable.js +1 -1
  401. package/dist/event/sql.js +1 -1
  402. package/dist/event-logger.js +70 -70
  403. package/dist/file-mutation.js +89 -89
  404. package/dist/file-retention.js +1 -1
  405. package/dist/file.js +1 -1
  406. package/dist/filesystem/fff.bun.js +2 -2
  407. package/dist/filesystem/fff.js +1 -1
  408. package/dist/filesystem/fff.node.js +2 -2
  409. package/dist/filesystem/fff.workerd.js +2 -2
  410. package/dist/filesystem/ignore.js +1 -1
  411. package/dist/filesystem/location-watcher-policy.js +6 -6
  412. package/dist/filesystem/location-watcher.js +220 -220
  413. package/dist/filesystem/protected.js +3 -3
  414. package/dist/filesystem/search.js +99 -99
  415. package/dist/filesystem/watcher-binding.js +1 -1
  416. package/dist/filesystem/watcher.js +15 -15
  417. package/dist/filesystem.js +102 -102
  418. package/dist/form.js +84 -84
  419. package/dist/formatter/builtins.js +4 -4
  420. package/dist/formatter.js +82 -82
  421. package/dist/generate.js +92 -92
  422. package/dist/git.js +7 -7
  423. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  424. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  425. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  427. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  429. package/dist/github-copilot/copilot-provider.js +17 -17
  430. package/dist/github-copilot/models.js +7 -7
  431. package/dist/github-copilot/openai-compatible-error.js +1 -1
  432. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  433. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  434. package/dist/github-copilot/responses/openai-error.js +1 -1
  435. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  436. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  437. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  438. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  439. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  442. package/dist/id/id.js +1 -1
  443. package/dist/image/photon.js +2 -2
  444. package/dist/image.js +6 -6
  445. package/dist/instance/service.js +7 -7
  446. package/dist/instance.js +349 -349
  447. package/dist/instruction-discovery.js +83 -83
  448. package/dist/instructions/builtins.js +82 -82
  449. package/dist/instructions/index.js +3 -3
  450. package/dist/integration/connection.js +1 -1
  451. package/dist/integration.js +83 -83
  452. package/dist/job.js +77 -77
  453. package/dist/kv/sql.js +2 -2
  454. package/dist/kv.js +71 -71
  455. package/dist/location-activity.js +84 -84
  456. package/dist/location-mutation.js +81 -81
  457. package/dist/location-service-map.js +83 -83
  458. package/dist/location-services.js +346 -346
  459. package/dist/location.js +84 -84
  460. package/dist/mcp/client.js +86 -86
  461. package/dist/mcp/index.js +102 -102
  462. package/dist/mcp/instructions.js +116 -116
  463. package/dist/mcp/oauth.js +2 -2
  464. package/dist/mcp/stdio.js +85 -85
  465. package/dist/mime.js +1 -1
  466. package/dist/modal/models.js +7 -7
  467. package/dist/model-resolver.js +85 -85
  468. package/dist/model.js +10 -10
  469. package/dist/models-dev.js +86 -86
  470. package/dist/oauth/page.js +1 -1
  471. package/dist/permission/saved.js +78 -78
  472. package/dist/permission/sql.js +5 -5
  473. package/dist/permission.js +109 -109
  474. package/dist/persistent-pty/binary.bun.js +1 -1
  475. package/dist/persistent-pty/daemon.js +1 -1
  476. package/dist/persistent-pty/index.js +82 -82
  477. package/dist/persistent-pty/pty-binding.js +1 -1
  478. package/dist/persistent-pty.js +73 -73
  479. package/dist/plugin/agent.js +98 -98
  480. package/dist/plugin/command.js +95 -95
  481. package/dist/plugin/hooks.js +5 -5
  482. package/dist/plugin/host.js +211 -211
  483. package/dist/plugin/instance.js +5 -5
  484. package/dist/plugin/internal.js +320 -320
  485. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  486. package/dist/plugin/models-dev.js +75 -75
  487. package/dist/plugin/module.js +7 -7
  488. package/dist/plugin/optimize.js +4 -4
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +79 -79
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +74 -74
  528. package/dist/plugin/service.js +5 -5
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +337 -337
  532. package/dist/plugin/update.js +6 -6
  533. package/dist/plugin/variant.js +4 -4
  534. package/dist/plugin/vcs/git.js +82 -82
  535. package/dist/plugin/vcs/hg.js +82 -82
  536. package/dist/plugin/warming.js +111 -111
  537. package/dist/plugin/websearch/exa.js +7 -7
  538. package/dist/plugin/websearch/firecrawl.js +6 -6
  539. package/dist/plugin/websearch/index.js +8 -8
  540. package/dist/plugin/websearch/mcp.js +6 -6
  541. package/dist/plugin/websearch/parallel.js +8 -8
  542. package/dist/plugin/websearch/tavily.js +6 -6
  543. package/dist/plugin.js +218 -218
  544. package/dist/project/schema.js +8 -8
  545. package/dist/project/sql.js +4 -4
  546. package/dist/project.js +83 -83
  547. package/dist/provider.js +7 -7
  548. package/dist/pty/protocol.js +1 -1
  549. package/dist/pty/schema.js +1 -1
  550. package/dist/pty/ticket.js +1 -1
  551. package/dist/pty.js +86 -86
  552. package/dist/reference/instructions.js +84 -84
  553. package/dist/reference.js +86 -86
  554. package/dist/repository-cache.js +76 -76
  555. package/dist/repository.js +3 -3
  556. package/dist/ripgrep/binary.js +2 -2
  557. package/dist/ripgrep.js +93 -93
  558. package/dist/rpc.js +81 -81
  559. package/dist/schema.js +1 -1
  560. package/dist/session/command.js +72 -72
  561. package/dist/session/compaction.js +127 -127
  562. package/dist/session/context.js +145 -145
  563. package/dist/session/environment.js +5 -5
  564. package/dist/session/error.js +5 -5
  565. package/dist/session/event.js +1 -1
  566. package/dist/session/execution/restart.js +215 -215
  567. package/dist/session/execution.js +120 -120
  568. package/dist/session/generate.js +146 -146
  569. package/dist/session/history.js +12 -12
  570. package/dist/session/inbox.js +86 -86
  571. package/dist/session/info.js +3 -3
  572. package/dist/session/instruction-entry.js +77 -77
  573. package/dist/session/instruction-state.js +8 -8
  574. package/dist/session/instructions.js +91 -91
  575. package/dist/session/message-updater.js +2 -2
  576. package/dist/session/message.js +1 -1
  577. package/dist/session/model-request.js +112 -112
  578. package/dist/session/model-transport.js +9 -9
  579. package/dist/session/move.js +124 -124
  580. package/dist/session/projector.js +84 -84
  581. package/dist/session/prompt.js +99 -99
  582. package/dist/session/revert.js +85 -85
  583. package/dist/session/run-coordinator.js +1 -1
  584. package/dist/session/runner/index.js +3 -3
  585. package/dist/session/runner/llm.js +223 -223
  586. package/dist/session/runner/max-steps.js +1 -1
  587. package/dist/session/runner/model.js +85 -85
  588. package/dist/session/runner/publish-llm-event.js +3 -3
  589. package/dist/session/runner/retry.js +4 -4
  590. package/dist/session/runner/step.js +117 -117
  591. package/dist/session/runner/to-llm-message.js +1 -1
  592. package/dist/session/schema.js +5 -5
  593. package/dist/session/session.js +167 -167
  594. package/dist/session/shell.js +130 -130
  595. package/dist/session/skill.js +97 -97
  596. package/dist/session/sql.js +5 -5
  597. package/dist/session/stats.js +71 -71
  598. package/dist/session/store.js +84 -84
  599. package/dist/session/subagent-completion.js +1 -1
  600. package/dist/session/subagent-job.js +203 -203
  601. package/dist/session/system-prompt.js +3 -3
  602. package/dist/session/title.js +147 -147
  603. package/dist/session/to-session-error.js +105 -105
  604. package/dist/session/transfer.js +212 -212
  605. package/dist/session/usage.js +1 -1
  606. package/dist/session.js +211 -211
  607. package/dist/shell/parse.js +6 -6
  608. package/dist/shell/result.js +1 -1
  609. package/dist/shell/scan.js +1 -1
  610. package/dist/shell/select.js +9 -9
  611. package/dist/shell.js +132 -132
  612. package/dist/skill/discovery.js +6 -6
  613. package/dist/skill/instructions.js +101 -101
  614. package/dist/skill.js +104 -104
  615. package/dist/snapshot.js +86 -86
  616. package/dist/state.js +1 -1
  617. package/dist/tool/html-markdown.js +1 -1
  618. package/dist/tool/http-body.js +1 -1
  619. package/dist/tool/mcp.js +115 -115
  620. package/dist/tool/plugin/edit.js +112 -112
  621. package/dist/tool/plugin/file-diff.js +1 -1
  622. package/dist/tool/plugin/glob.js +119 -119
  623. package/dist/tool/plugin/grep.js +119 -119
  624. package/dist/tool/plugin/opencode.js +3 -3
  625. package/dist/tool/plugin/patch.js +116 -116
  626. package/dist/tool/plugin/question.js +99 -99
  627. package/dist/tool/plugin/read.js +118 -118
  628. package/dist/tool/plugin/shell.js +210 -210
  629. package/dist/tool/plugin/skill.js +105 -105
  630. package/dist/tool/plugin/subagent.js +206 -206
  631. package/dist/tool/plugin/webfetch.js +106 -106
  632. package/dist/tool/plugin/websearch.js +108 -108
  633. package/dist/tool/plugin/write.js +116 -116
  634. package/dist/tool/read-filesystem.js +96 -96
  635. package/dist/tool/runtime.js +1 -1
  636. package/dist/tool-output.js +8 -8
  637. package/dist/tool.js +15 -15
  638. package/dist/util/error.js +1 -1
  639. package/dist/util/iife.js +1 -1
  640. package/dist/util/lazy.js +1 -1
  641. package/dist/util/slug.js +1 -1
  642. package/dist/util/token.js +1 -1
  643. package/dist/util/which.js +1 -1
  644. package/dist/util/wildcard.js +1 -1
  645. package/dist/v1/config/agent.js +5 -5
  646. package/dist/v1/config/attachment.js +4 -4
  647. package/dist/v1/config/command.js +5 -5
  648. package/dist/v1/config/config.js +16 -16
  649. package/dist/v1/config/error.js +2 -2
  650. package/dist/v1/config/formatter.js +5 -5
  651. package/dist/v1/config/layout.js +1 -1
  652. package/dist/v1/config/lsp.js +3 -3
  653. package/dist/v1/config/mcp.js +4 -4
  654. package/dist/v1/config/migrate.js +4 -4
  655. package/dist/v1/config/permission.js +3 -3
  656. package/dist/v1/config/plugin.js +3 -3
  657. package/dist/v1/config/provider-options.js +1 -1
  658. package/dist/v1/config/provider.js +4 -4
  659. package/dist/v1/config/server.js +2 -2
  660. package/dist/v1/config/skills.js +3 -3
  661. package/dist/v1/permission.js +1 -1
  662. package/dist/vcs/patch.js +1 -1
  663. package/dist/vcs.js +85 -85
  664. package/dist/websearch.js +82 -82
  665. package/dist/wellknown/plugin.js +74 -74
  666. package/dist/wellknown.js +77 -77
  667. package/dist/workspace/driver.js +3 -3
  668. package/dist/workspace/sql.js +1 -1
  669. package/dist/workspace.js +76 -76
  670. package/dist/worktree/directory.js +4 -4
  671. package/dist/worktree/git.js +7 -7
  672. package/dist/worktree/refresh.js +338 -338
  673. package/dist/worktree/sql.js +5 -5
  674. package/dist/worktree.js +87 -87
  675. package/package.json +7 -7
  676. package/dist/chunks/bus-a7csy0p6.js +0 -22
  677. package/dist/chunks/bus-w1s1ra18.js +0 -20
  678. package/dist/chunks/bus-ybsh6ht0.js +0 -247
  679. package/dist/chunks/bus-ydckrtmx.js +0 -18
  680. /package/dist/chunks/{bus-0fabt78z.js → schema-0fabt78z.js} +0 -0
  681. /package/dist/chunks/{bus-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  682. /package/dist/chunks/{bus-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  683. /package/dist/chunks/{bus-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  684. /package/dist/chunks/{bus-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  685. /package/dist/chunks/{bus-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  686. /package/dist/chunks/{bus-2710q6r3.js → schema-2710q6r3.js} +0 -0
  687. /package/dist/chunks/{bus-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  688. /package/dist/chunks/{bus-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  689. /package/dist/chunks/{bus-359p4xyc.js → schema-359p4xyc.js} +0 -0
  690. /package/dist/chunks/{bus-3asan66x.js → schema-3asan66x.js} +0 -0
  691. /package/dist/chunks/{bus-3t738kvx.js → schema-3t738kvx.js} +0 -0
  692. /package/dist/chunks/{bus-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  693. /package/dist/chunks/{bus-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  694. /package/dist/chunks/{bus-41nvscxy.js → schema-41nvscxy.js} +0 -0
  695. /package/dist/chunks/{bus-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  696. /package/dist/chunks/{bus-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  697. /package/dist/chunks/{bus-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  698. /package/dist/chunks/{bus-53557ph1.js → schema-53557ph1.js} +0 -0
  699. /package/dist/chunks/{bus-550bvhaj.js → schema-550bvhaj.js} +0 -0
  700. /package/dist/chunks/{bus-6prwharc.js → schema-6prwharc.js} +0 -0
  701. /package/dist/chunks/{bus-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  702. /package/dist/chunks/{bus-7m9af43g.js → schema-7m9af43g.js} +0 -0
  703. /package/dist/chunks/{bus-7zk4hah4.js → schema-7zk4hah4.js} +0 -0
  704. /package/dist/chunks/{bus-822emrt2.js → schema-822emrt2.js} +0 -0
  705. /package/dist/chunks/{bus-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  706. /package/dist/chunks/{bus-8n3pysct.js → schema-8n3pysct.js} +0 -0
  707. /package/dist/chunks/{bus-982e01ww.js → schema-982e01ww.js} +0 -0
  708. /package/dist/chunks/{bus-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  709. /package/dist/chunks/{bus-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  710. /package/dist/chunks/{bus-a1tpkmh4.js → schema-a1tpkmh4.js} +0 -0
  711. /package/dist/chunks/{bus-af5trqkr.js → schema-af5trqkr.js} +0 -0
  712. /package/dist/chunks/{bus-afrmfg78.js → schema-afrmfg78.js} +0 -0
  713. /package/dist/chunks/{bus-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  714. /package/dist/chunks/{bus-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  715. /package/dist/chunks/{bus-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  716. /package/dist/chunks/{bus-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  717. /package/dist/chunks/{bus-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  718. /package/dist/chunks/{bus-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  719. /package/dist/chunks/{bus-d9fn303g.js → schema-d9fn303g.js} +0 -0
  720. /package/dist/chunks/{bus-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  721. /package/dist/chunks/{bus-dajrwvna.js → schema-dajrwvna.js} +0 -0
  722. /package/dist/chunks/{bus-dap0rakb.js → schema-dap0rakb.js} +0 -0
  723. /package/dist/chunks/{bus-df08tz66.js → schema-df08tz66.js} +0 -0
  724. /package/dist/chunks/{bus-dy18nga0.js → schema-dy18nga0.js} +0 -0
  725. /package/dist/chunks/{bus-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  726. /package/dist/chunks/{bus-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  727. /package/dist/chunks/{bus-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  728. /package/dist/chunks/{bus-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  729. /package/dist/chunks/{bus-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  730. /package/dist/chunks/{bus-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  731. /package/dist/chunks/{bus-faypxj3z.js → schema-faypxj3z.js} +0 -0
  732. /package/dist/chunks/{bus-fd410y7t.js → schema-fd410y7t.js} +0 -0
  733. /package/dist/chunks/{bus-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  734. /package/dist/chunks/{bus-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  735. /package/dist/chunks/{bus-g86h250q.js → schema-g86h250q.js} +0 -0
  736. /package/dist/chunks/{bus-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  737. /package/dist/chunks/{bus-hk9envan.js → schema-hk9envan.js} +0 -0
  738. /package/dist/chunks/{bus-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  739. /package/dist/chunks/{bus-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  740. /package/dist/chunks/{bus-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  741. /package/dist/chunks/{bus-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  742. /package/dist/chunks/{bus-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  743. /package/dist/chunks/{bus-mntxs535.js → schema-mntxs535.js} +0 -0
  744. /package/dist/chunks/{bus-mp448xyj.js → schema-mp448xyj.js} +0 -0
  745. /package/dist/chunks/{bus-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  746. /package/dist/chunks/{bus-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  747. /package/dist/chunks/{bus-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  748. /package/dist/chunks/{bus-njntx4h6.js → schema-njntx4h6.js} +0 -0
  749. /package/dist/chunks/{bus-p8qxwesx.js → schema-p8qxwesx.js} +0 -0
  750. /package/dist/chunks/{bus-paphc93g.js → schema-paphc93g.js} +0 -0
  751. /package/dist/chunks/{bus-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{bus-q74kybfr.js → schema-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{bus-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{bus-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{bus-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{bus-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{bus-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{bus-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{bus-se0s1eqw.js → schema-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{bus-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{bus-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{bus-twg0f83k.js → schema-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{bus-w803qqfp.js → schema-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{bus-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{bus-wtztk69x.js → schema-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{bus-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{bus-x1b8g1yb.js → schema-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{bus-x61499pn.js → schema-x61499pn.js} +0 -0
  769. /package/dist/chunks/{bus-y44na4kk.js → schema-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{bus-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{bus-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{bus-z9919s4g.js → schema-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{bus-zbjnn3ac.js → schema-zbjnn3ac.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-p8qxwesx.js";
3
+ } from "./schema-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node83
7
- } from "./bus-wppt2sme.js";
6
+ node79
7
+ } from "./schema-ywc7t1nw.js";
8
8
  import {
9
- ID18
10
- } from "./bus-tppvcy65.js";
9
+ ID15
10
+ } from "./schema-ptrvg6rv.js";
11
11
  import {
12
12
  Slug2
13
- } from "./bus-gebd4c9n.js";
13
+ } from "./schema-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
- node85
17
- } from "./bus-xt2f3af4.js";
16
+ node84
17
+ } from "./schema-djdhx5yz.js";
18
18
  import {
19
19
  Service79,
20
- node84
21
- } from "./bus-mcvs2zbw.js";
20
+ node83
21
+ } from "./schema-21r37x41.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./bus-9qm9egsn.js";
24
+ } from "./schema-9qm9egsn.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./bus-ajtjthsy.js";
27
+ } from "./schema-ajtjthsy.js";
28
28
  import {
29
- Service76,
30
- node81
31
- } from "./bus-6t49dzs3.js";
29
+ Service70,
30
+ node74
31
+ } from "./schema-k44987ts.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical2
35
- } from "./bus-93a8yfjt.js";
34
+ canonical3
35
+ } from "./schema-y2cqme3r.js";
36
36
  import {
37
- make12
38
- } from "./bus-0evdvf3m.js";
37
+ make17
38
+ } from "./schema-tpdzbnzn.js";
39
39
  import {
40
40
  create3
41
- } from "./bus-kg06axw8.js";
41
+ } from "./schema-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./bus-9rqn6x4v.js";
44
+ } from "./schema-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -50,20 +50,20 @@ __export(exports_worktree2, {
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
52
  Event: () => Event5,
53
- Info: () => Info4,
53
+ Info: () => Info17,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service17,
60
+ Service: () => Service45,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node21
66
+ node: () => node48
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info4 = Worktree.Info;
85
+ var Info17 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -102,19 +102,19 @@ class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.Unsupport
102
102
  }
103
103
  var Event5 = Worktree.Event;
104
104
 
105
- class Service17 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service45 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service17, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service45, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service76;
113
+ const location = yield* Service70;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make12;
117
+ const gitStrategy = yield* make17;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical2(fs, sourceDirectory);
164
+ const resolved = yield* canonical3(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical2(fs, created.directory) };
197
- if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical3(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical2(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical3(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service17.of({
262
+ return Service45.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node21 = makeLocationNode({
275
- service: Service17,
274
+ var node48 = makeLocationNode({
275
+ service: Service45,
276
276
  layer,
277
- deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
277
+ deps: [FSUtil.node, node79, node83, node84, AppProcess.node, node74, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service17, node21, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info17, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service45, node48, exports_worktree2, OperationError2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./bus-k4bwy1x5.js";
3
+ } from "./schema-k4bwy1x5.js";
4
4
  import {
5
- Service69,
6
- node74
7
- } from "./bus-r73hqwej.js";
5
+ Service78,
6
+ node82
7
+ } from "./schema-rkwwtmcy.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./bus-982e01ww.js";
10
+ } from "./schema-982e01ww.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./bus-rxbdfnq0.js";
13
+ } from "./schema-g77vssk4.js";
14
14
  import {
15
15
  __export
16
- } from "./bus-9rqn6x4v.js";
16
+ } from "./schema-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service56,
23
- make: () => make19,
24
- node: () => node60
22
+ Service: () => Service64,
23
+ make: () => make18,
24
+ node: () => node67
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service56 extends Context.Service()("@opencode/Job") {
53
+ class Service64 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make19 = Effect.gen(function* () {
81
- const kv = yield* Service69;
80
+ var make18 = Effect.gen(function* () {
81
+ const kv = yield* Service78;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make19 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service56.of({
310
+ return Service64.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make19 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service56, make19);
323
- var node60 = makeGlobalNode({ service: Service56, layer, deps: [node74] });
322
+ var layer = Layer.effect(Service64, make18);
323
+ var node67 = makeGlobalNode({ service: Service64, layer, deps: [node82] });
324
324
 
325
- export { Service56, make19, node60, exports_job };
325
+ export { Service64, make18, node67, exports_job };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
- node84
4
- } from "./bus-mcvs2zbw.js";
3
+ node83
4
+ } from "./schema-21r37x41.js";
5
5
  import {
6
6
  environment2
7
- } from "./bus-d6v5jdzg.js";
7
+ } from "./schema-a7rzb06g.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./bus-sk3qaz4a.js";
10
+ } from "./schema-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./schema-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
19
+ NotFoundError: () => NotFoundError4,
20
20
  Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service21,
23
- UnavailableError: () => UnavailableError3,
22
+ Service: () => Service37,
23
+ UnavailableError: () => UnavailableError2,
24
24
  configured: () => configured3,
25
- layer: () => layer10,
26
- node: () => node25
25
+ layer: () => layer15,
26
+ node: () => node40
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -37,19 +37,19 @@ import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
38
  var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service21 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service37 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service37, Effect.gen(function* () {
53
53
  const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service21.of({
242
+ return Service37.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
258
+ var layer15 = makeLayer();
259
259
  var configured3 = (options) => makeGlobalNode({
260
- service: Service21,
261
- layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node84, Global.node]
260
+ service: Service37,
261
+ layer: options === undefined ? layer15 : makeLayer(options),
262
+ deps: [node83, Global.node]
263
263
  });
264
- var node25 = configured3();
264
+ var node40 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError3, Service21, layer10, configured3, node25, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError2, NotFoundError4, Service37, layer15, configured3, node40, exports_persistent_pty, Handoff2 };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./bus-r14a846e.js";
5
+ } from "./schema-fqjmww7h.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./bus-6t49dzs3.js";
2
+ Service70,
3
+ node74
4
+ } from "./schema-k44987ts.js";
5
5
  import {
6
6
  create3
7
- } from "./bus-kg06axw8.js";
7
+ } from "./schema-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./bus-9rqn6x4v.js";
10
+ } from "./schema-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service16,
17
- node: () => node19
16
+ Service: () => Service15,
17
+ node: () => node18
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode-ai/util/process";
24
- class Service16 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service15 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service16, Effect.gen(function* () {
27
- const location = yield* Service76;
26
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
27
+ const location = yield* Service70;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service16.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service15.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node19 = makeLocationNode({
91
- service: Service16,
90
+ var node18 = makeLocationNode({
91
+ service: Service15,
92
92
  layer,
93
- deps: [node81, AppProcess.node]
93
+ deps: [node74, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service16, node19, exports_formatter2 };
96
+ export { Service15, node18, exports_formatter2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./bus-r7kgbqwf.js";
4
+ } from "./schema-4z6b0fg6.js";
5
5
 
6
6
  // src/plugin/provider/zenmux.ts
7
7
  import { Effect } from "effect";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service80
3
- } from "./bus-xt2f3af4.js";
3
+ } from "./schema-djdhx5yz.js";
4
4
  import {
5
5
  Service79
6
- } from "./bus-mcvs2zbw.js";
6
+ } from "./schema-21r37x41.js";
7
7
  import {
8
- Service40
9
- } from "./bus-w1s1ra18.js";
8
+ Service31
9
+ } from "./schema-vs313s01.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./bus-fxbjtjnd.js";
12
+ } from "./schema-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./bus-982e01ww.js";
15
+ } from "./schema-982e01ww.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError8,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,61 +24,61 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./bus-qq0s42pd.js";
27
+ } from "./schema-tzfkbvz2.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./bus-mntxs535.js";
30
+ } from "./schema-mntxs535.js";
31
31
  import {
32
- Service72
33
- } from "./bus-yf6xxqf2.js";
32
+ Service52
33
+ } from "./schema-fw4p2fkf.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service38
38
- } from "./bus-1vbp5j7a.js";
37
+ Service20
38
+ } from "./schema-ma41yzy3.js";
39
39
  import {
40
- Service36
41
- } from "./bus-dpm05p3t.js";
40
+ Service18
41
+ } from "./schema-x4p9jbh3.js";
42
42
  import {
43
43
  prepare2
44
- } from "./bus-m2vxpjnv.js";
44
+ } from "./schema-h46md2jk.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./bus-hhxmypn0.js";
49
+ } from "./schema-ye70tata.js";
50
50
  import {
51
51
  start2
52
- } from "./bus-n0cxab0r.js";
52
+ } from "./schema-472tbdag.js";
53
53
  import {
54
54
  get4
55
- } from "./bus-svtn6ftc.js";
55
+ } from "./schema-4j4extwa.js";
56
56
  import {
57
57
  __export
58
- } from "./bus-9rqn6x4v.js";
58
+ } from "./schema-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
62
62
  __export(exports_session2, {
63
63
  Session: () => exports_session2,
64
- make: () => make13
64
+ make: () => make12
65
65
  });
66
66
  import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
67
67
  import { Event } from "@opencode-ai/schema/event";
68
68
  import { FSUtil } from "@opencode-ai/util/fs-util";
69
- var make13 = Effect.fn("Session.make")(function* () {
69
+ var make12 = Effect.fn("Session.make")(function* () {
70
70
  const bus = yield* Service79;
71
71
  const database = yield* Service80;
72
- const store = yield* Service72;
73
- const instances = yield* Service40;
74
- const execution = yield* Service36;
75
- const admission = yield* Service38;
72
+ const store = yield* Service52;
73
+ const instances = yield* Service31;
74
+ const execution = yield* Service18;
75
+ const admission = yield* Service20;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError9({ sessionID });
81
+ return yield* new NotFoundError8({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make13 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service40, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service31, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make13 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service40, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service31, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service40, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service31, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service79, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service79, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
348
348
  return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
349
349
  }
350
350
 
351
- export { make13, exports_session2 };
351
+ export { make12, exports_session2 };