@opencode/core 0.0.0-dev-19570 → 0.0.0-dev-19572

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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 +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/app-00f3vtpz.js +26 -0
  9. package/dist/chunks/{bus-1gcg2swa.js → app-09fg0r3g.js} +6 -6
  10. package/dist/chunks/{bus-2djskdmr.js → app-0artwwxx.js} +3 -3
  11. package/dist/chunks/{bus-1r2qyred.js → app-0br9fxds.js} +8 -8
  12. package/dist/chunks/{bus-njsca4c1.js → app-0cgxzyp5.js} +11 -11
  13. package/dist/chunks/{bus-6g49tt7n.js → app-0cysygtg.js} +33 -33
  14. package/dist/chunks/{bus-2k8khapm.js → app-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{bus-y95q8cn7.js → app-0kwc5anp.js} +46 -46
  16. package/dist/chunks/{bus-64wrsgp1.js → app-0nd20gz5.js} +62 -62
  17. package/dist/chunks/{bus-0paq2nw3.js → app-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{bus-ger25q1p.js → app-0pb75hch.js} +5 -5
  19. package/dist/chunks/{bus-0q0f95c6.js → app-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{bus-ghhf1gy0.js → app-0r6zt4xr.js} +8 -8
  21. package/dist/chunks/{bus-g79e3arp.js → app-0yk09q55.js} +4 -4
  22. package/dist/chunks/{bus-th0k3b77.js → app-197zf3mp.js} +26 -26
  23. package/dist/chunks/{bus-1bbkgx8g.js → app-1bbkgx8g.js} +1 -1
  24. package/dist/chunks/{bus-4agbkdj3.js → app-1cbk4m95.js} +12 -12
  25. package/dist/chunks/{bus-1dazxqgg.js → app-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{bus-a0rbwe21.js → app-1dbhq1b6.js} +4 -4
  27. package/dist/chunks/{bus-4fgnkb88.js → app-1fv46ncp.js} +5 -5
  28. package/dist/chunks/{bus-b52vn635.js → app-1r9f1gxg.js} +24 -24
  29. package/dist/chunks/{bus-v00d0rf7.js → app-1v0gvqr8.js} +24 -24
  30. package/dist/chunks/app-1x11rq2a.js +18 -0
  31. package/dist/chunks/{bus-56gdpj1q.js → app-1ygqh575.js} +9 -9
  32. package/dist/chunks/{bus-g6ddfetr.js → app-219neeqh.js} +5 -5
  33. package/dist/chunks/{bus-21r38tys.js → app-21r38tys.js} +1 -1
  34. package/dist/chunks/{bus-2402vzrj.js → app-2402vzrj.js} +1 -1
  35. package/dist/chunks/{bus-wzvxt2x2.js → app-265kqrgy.js} +1 -1
  36. package/dist/chunks/{bus-z63w68vq.js → app-29x78va6.js} +6 -6
  37. package/dist/chunks/{bus-2a5m3afh.js → app-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{bus-1dcmyt7q.js → app-2yh32t8t.js} +17 -17
  39. package/dist/chunks/{bus-8de9g2wa.js → app-30846h32.js} +8 -8
  40. package/dist/chunks/{bus-rncwbxby.js → app-32r2zhfd.js} +15 -15
  41. package/dist/chunks/{bus-nxs71vds.js → app-33n3bzdy.js} +8 -8
  42. package/dist/chunks/{bus-234dm2bj.js → app-35wynegs.js} +2 -2
  43. package/dist/chunks/{bus-7gvwkz6m.js → app-3cz8rj72.js} +5 -5
  44. package/dist/chunks/{bus-kbj8wr2s.js → app-3dz6zcjs.js} +40 -40
  45. package/dist/chunks/{bus-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{bus-j83byb14.js → app-3j8sdtpz.js} +4 -4
  47. package/dist/chunks/{bus-4b40vsya.js → app-3jk7yf42.js} +1 -1
  48. package/dist/chunks/{bus-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{bus-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{bus-qryfzg1h.js → app-3v43m9xt.js} +2 -2
  51. package/dist/chunks/{bus-th5xa07d.js → app-3z60344c.js} +6 -6
  52. package/dist/chunks/{bus-nhy5jxhy.js → app-47gsdddb.js} +5 -5
  53. package/dist/chunks/{bus-qv39a0h3.js → app-48cm3ese.js} +11 -11
  54. package/dist/chunks/{bus-462wv2j1.js → app-4bdt2shk.js} +20 -20
  55. package/dist/chunks/{bus-dphstccg.js → app-4cqajk2a.js} +11 -11
  56. package/dist/chunks/{bus-tns9284t.js → app-4cqdxaxy.js} +22 -22
  57. package/dist/chunks/{bus-neh0hyzc.js → app-4hd03gdg.js} +26 -26
  58. package/dist/chunks/{bus-j8mgqwvx.js → app-4m2spwb8.js} +33 -33
  59. package/dist/chunks/{bus-a7afs06d.js → app-4smtzgwz.js} +24 -24
  60. package/dist/chunks/{bus-5daktx2q.js → app-5daktx2q.js} +1 -1
  61. package/dist/chunks/{bus-nnm0m2vm.js → app-5e926cyq.js} +14 -14
  62. package/dist/chunks/{bus-y8dsy1ds.js → app-5rvfpeh9.js} +4 -4
  63. package/dist/chunks/{bus-5t3nmthw.js → app-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{bus-hkyvkxds.js → app-5vtmfx0c.js} +29 -29
  65. package/dist/chunks/{bus-kbmmzrfa.js → app-5xtgfte3.js} +8 -8
  66. package/dist/chunks/{bus-8ptxwh5a.js → app-60rvf92p.js} +27 -27
  67. package/dist/chunks/{bus-ytjjq03a.js → app-64vbpm9f.js} +27 -27
  68. package/dist/chunks/{bus-bcerr2wv.js → app-655w3vh0.js} +28 -28
  69. package/dist/chunks/{bus-669tq793.js → app-669tq793.js} +1 -1
  70. package/dist/chunks/{bus-w3wqnbwq.js → app-6dk7y5gt.js} +10 -10
  71. package/dist/chunks/{bus-qpmbtp2f.js → app-6h41fqv2.js} +55 -55
  72. package/dist/chunks/{bus-jybjc72p.js → app-6jprretj.js} +16 -16
  73. package/dist/chunks/{bus-sqh6nayk.js → app-6mcq7jm9.js} +14 -14
  74. package/dist/chunks/{bus-6msgmcgs.js → app-6msgmcgs.js} +1 -1
  75. package/dist/chunks/{bus-vj81g6vn.js → app-6p3xbzsx.js} +4 -4
  76. package/dist/chunks/{bus-5g77nda4.js → app-6p8kmet2.js} +18 -18
  77. package/dist/chunks/{bus-nja4g5ja.js → app-6q9nc399.js} +18 -18
  78. package/dist/chunks/{bus-qynpn6w3.js → app-6s8jsf7y.js} +9 -9
  79. package/dist/chunks/{bus-hj3k4jh9.js → app-6y3a7z7q.js} +4 -4
  80. package/dist/chunks/{bus-4td4y4b3.js → app-70d2s7af.js} +1 -1
  81. package/dist/chunks/{bus-71q4at8m.js → app-71q4at8m.js} +1 -1
  82. package/dist/chunks/{bus-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{bus-kjtbq1wq.js → app-7cmqstha.js} +24 -24
  84. package/dist/chunks/{bus-tgnjgtxt.js → app-7d2gt124.js} +3 -3
  85. package/dist/chunks/{bus-pw6fdyzd.js → app-7gbj7169.js} +15 -15
  86. package/dist/chunks/{bus-8ppq07x6.js → app-7s2tn799.js} +8 -8
  87. package/dist/chunks/{bus-6anwy9fs.js → app-7yqjxrmz.js} +6 -6
  88. package/dist/chunks/{bus-g8vphm7h.js → app-80caeh49.js} +10 -10
  89. package/dist/chunks/{bus-27fdv82p.js → app-843pd2wp.js} +7 -7
  90. package/dist/chunks/{bus-ptn3epm2.js → app-874ckvrc.js} +25 -25
  91. package/dist/chunks/{bus-a5fdd1f3.js → app-88hjze0t.js} +9 -9
  92. package/dist/chunks/{bus-894aw507.js → app-89jzje1y.js} +49 -49
  93. package/dist/chunks/{bus-svmeqp0f.js → app-8bkz8jq3.js} +14 -14
  94. package/dist/chunks/{bus-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
  95. package/dist/chunks/{bus-cxjxmgke.js → app-8f7jysjc.js} +10 -10
  96. package/dist/chunks/{bus-8p4f9s12.js → app-8p4f9s12.js} +2 -2
  97. package/dist/chunks/{bus-0ft5728k.js → app-8vj209te.js} +13 -13
  98. package/dist/chunks/{bus-xdgxy0vz.js → app-8xj0m62p.js} +15 -15
  99. package/dist/chunks/{bus-377tdzm5.js → app-93hpb89x.js} +3 -3
  100. package/dist/chunks/{bus-0ch8qyvr.js → app-947nexvd.js} +24 -24
  101. package/dist/chunks/{bus-k1pnz2cv.js → app-98a6070c.js} +10 -10
  102. package/dist/chunks/{bus-gnrgb9v9.js → app-9kregr37.js} +18 -18
  103. package/dist/chunks/{bus-271p385v.js → app-9vh8w842.js} +11 -11
  104. package/dist/chunks/{bus-a1bz86dw.js → app-a1bz86dw.js} +3 -3
  105. package/dist/chunks/{bus-ratrq7cm.js → app-a46v4e4v.js} +4 -4
  106. package/dist/chunks/{bus-s9d6zh0h.js → app-a63ae20j.js} +33 -33
  107. package/dist/chunks/{bus-mp5cac3t.js → app-a6n9gdfw.js} +26 -26
  108. package/dist/chunks/{bus-aaet6srn.js → app-aaet6srn.js} +2 -2
  109. package/dist/chunks/{bus-b51m2zsk.js → app-aehnz2rb.js} +25 -25
  110. package/dist/chunks/{bus-t1c45aet.js → app-ak5w0fh7.js} +37 -37
  111. package/dist/chunks/{bus-xrpv7mmk.js → app-anm66war.js} +9 -9
  112. package/dist/chunks/{bus-7v8mrxea.js → app-av4jxsn8.js} +27 -27
  113. package/dist/chunks/{bus-phre0exm.js → app-ax6xg82t.js} +43 -43
  114. package/dist/chunks/{bus-61r41eaq.js → app-az4m85wh.js} +18 -18
  115. package/dist/chunks/{bus-30pqz63q.js → app-b061vjp9.js} +32 -32
  116. package/dist/chunks/{bus-67dz7xe6.js → app-b11403r6.js} +4 -4
  117. package/dist/chunks/{bus-b6gygkdw.js → app-b6gygkdw.js} +2 -2
  118. package/dist/chunks/{bus-d171mqxg.js → app-ba9gbaff.js} +20 -20
  119. package/dist/chunks/{bus-hfdr1yjj.js → app-bajakh74.js} +4 -4
  120. package/dist/chunks/{bus-d16qd7aj.js → app-be40ghdv.js} +2 -2
  121. package/dist/chunks/{bus-e5nv3ght.js → app-bndc73cn.js} +5 -5
  122. package/dist/chunks/{bus-jggyssmj.js → app-brkvv4wc.js} +16 -16
  123. package/dist/chunks/{bus-kbedzpe2.js → app-bzrt576w.js} +14 -14
  124. package/dist/chunks/{bus-9yzj8nsj.js → app-c0m6k9pb.js} +7 -7
  125. package/dist/chunks/{bus-w5f57rs9.js → app-c3s2gn8c.js} +12 -12
  126. package/dist/chunks/{bus-n6zxh35m.js → app-c8r9g22t.js} +4 -4
  127. package/dist/chunks/{bus-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
  128. package/dist/chunks/{bus-vqq20hcc.js → app-cgr3n6sw.js} +47 -47
  129. package/dist/chunks/{bus-6jb52xp7.js → app-cgv5bxzw.js} +11 -11
  130. package/dist/chunks/{bus-fgw8ghar.js → app-cvsx2zmm.js} +20 -20
  131. package/dist/chunks/{bus-k04vznwt.js → app-cvtmmhw6.js} +1 -1
  132. package/dist/chunks/{bus-846kb21p.js → app-cw9sppwf.js} +6 -6
  133. package/dist/chunks/{bus-zwreznzq.js → app-cwyf4tzg.js} +45 -45
  134. package/dist/chunks/{bus-zcrspsvn.js → app-ddt2bs9e.js} +4 -4
  135. package/dist/chunks/{bus-m8kaps5v.js → app-dxzb6m8c.js} +17 -17
  136. package/dist/chunks/{bus-6dkvr0nf.js → app-e1e2cnnw.js} +7 -7
  137. package/dist/chunks/{bus-fm1a330d.js → app-e8ztz21q.js} +12 -12
  138. package/dist/chunks/{bus-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{bus-4jk0qxj4.js → app-eq20ba7x.js} +4 -4
  140. package/dist/chunks/{bus-hbd7vws1.js → app-eq6c3fte.js} +4 -4
  141. package/dist/chunks/{bus-etq0c3wd.js → app-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{bus-ssx0akr1.js → app-evy5tsgm.js} +8 -8
  143. package/dist/chunks/{bus-ybkecxqz.js → app-exktqakr.js} +15 -15
  144. package/dist/chunks/{bus-ntzps28c.js → app-f2c9c43z.js} +23 -23
  145. package/dist/chunks/{bus-f828m53h.js → app-f828m53h.js} +2 -2
  146. package/dist/chunks/{bus-9gs77c9s.js → app-f9fxyrbg.js} +170 -170
  147. package/dist/chunks/{bus-w3tyj9k1.js → app-fak0r9cx.js} +6 -6
  148. package/dist/chunks/{bus-1g2kwc9g.js → app-fdn4qskz.js} +11 -11
  149. package/dist/chunks/{bus-pekwdztj.js → app-ftm7k12t.js} +15 -15
  150. package/dist/chunks/{bus-m733rx17.js → app-fw0n5e24.js} +6 -6
  151. package/dist/chunks/{bus-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{bus-2xyebys0.js → app-fyygja3k.js} +17 -17
  153. package/dist/chunks/{bus-hfxc90m1.js → app-g0nkfm81.js} +18 -18
  154. package/dist/chunks/{bus-nk8q2g86.js → app-g24jq9rf.js} +12 -12
  155. package/dist/chunks/{bus-17xskt1m.js → app-g6anmqeq.js} +9 -9
  156. package/dist/chunks/{bus-5ze6kv9s.js → app-ga77xda9.js} +11 -11
  157. package/dist/chunks/{bus-1971h2ty.js → app-gb2m4tsa.js} +47 -47
  158. package/dist/chunks/{bus-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{bus-3fc6dm20.js → app-gdvy8fx6.js} +4 -4
  160. package/dist/chunks/{bus-wwkhhn1t.js → app-gek4cbns.js} +20 -20
  161. package/dist/chunks/{bus-cftjh0pp.js → app-ggn5tyje.js} +12 -12
  162. package/dist/chunks/{bus-cby4dax6.js → app-gmrayv9w.js} +24 -24
  163. package/dist/chunks/{bus-gd4ngw4f.js → app-gt5v7hwy.js} +13 -13
  164. package/dist/chunks/{bus-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
  165. package/dist/chunks/{bus-h03wrkyp.js → app-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{bus-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{bus-ggnfx1zm.js → app-h7btkfkz.js} +86 -86
  168. package/dist/chunks/{bus-gsx0ryk4.js → app-h7ygw6q4.js} +9 -9
  169. package/dist/chunks/{bus-yms94mzx.js → app-hcc3dcqg.js} +23 -23
  170. package/dist/chunks/{bus-h08befas.js → app-hjzkvxfk.js} +14 -14
  171. package/dist/chunks/{bus-p1wf2k30.js → app-hrvd6t1f.js} +9 -9
  172. package/dist/chunks/{bus-5hhq8srk.js → app-hte7rbq0.js} +16 -16
  173. package/dist/chunks/{bus-hp2wwktp.js → app-hv8g670q.js} +13 -13
  174. package/dist/chunks/app-hxa7m5za.js +4 -0
  175. package/dist/chunks/{bus-cgns8hyh.js → app-hz9j0f4m.js} +8 -8
  176. package/dist/chunks/{bus-4pk39vze.js → app-j0j00sjx.js} +20 -20
  177. package/dist/chunks/{bus-d01nnmxe.js → app-j1t5chsy.js} +29 -29
  178. package/dist/chunks/{bus-htxnrknq.js → app-j2cafn7q.js} +4 -4
  179. package/dist/chunks/{bus-j56e64zr.js → app-j56e64zr.js} +1 -1
  180. package/dist/chunks/{bus-vhvgae7m.js → app-j6e693f4.js} +11 -11
  181. package/dist/chunks/{bus-paphc93g.js → app-j935v87r.js} +2 -2
  182. package/dist/chunks/{bus-vqy652gj.js → app-jk5d0mzv.js} +85 -85
  183. package/dist/chunks/{bus-8gs75axt.js → app-jkcmfa2v.js} +18 -18
  184. package/dist/chunks/{bus-vgrnjjxn.js → app-jm9980x0.js} +20 -20
  185. package/dist/chunks/{bus-kskytfej.js → app-jng70mr7.js} +13 -13
  186. package/dist/chunks/{bus-vwddtshc.js → app-jpt5ba8t.js} +9 -9
  187. package/dist/chunks/{bus-pd33rgkw.js → app-jth5rdpp.js} +19 -19
  188. package/dist/chunks/{bus-641kt8g4.js → app-kacwvw93.js} +19 -19
  189. package/dist/chunks/{bus-14e5s19a.js → app-kaef12we.js} +9 -9
  190. package/dist/chunks/{bus-kg06axw8.js → app-kg06axw8.js} +1 -1
  191. package/dist/chunks/{bus-22rzttx5.js → app-kh88907v.js} +9 -9
  192. package/dist/chunks/{bus-kq4p5btq.js → app-kp27de7n.js} +16 -16
  193. package/dist/chunks/{bus-rp9eysdn.js → app-krrqw77a.js} +7 -7
  194. package/dist/chunks/{bus-30mvjzmx.js → app-kt8w7nyt.js} +26 -26
  195. package/dist/chunks/{bus-ctzssw83.js → app-m3zza4qd.js} +8 -8
  196. package/dist/chunks/{bus-1mhgpmmh.js → app-m7w0f2z5.js} +22 -22
  197. package/dist/chunks/{bus-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{bus-13f55rxq.js → app-memqfyeh.js} +10 -10
  199. package/dist/chunks/{bus-nt8hxhfc.js → app-mh7g7new.js} +3 -3
  200. package/dist/chunks/{bus-nv5vn7qx.js → app-mw1s64b6.js} +4 -4
  201. package/dist/chunks/{bus-7t19srph.js → app-mz6ae2yf.js} +1 -1
  202. package/dist/chunks/{bus-tmfmshf6.js → app-n08xh122.js} +10 -10
  203. package/dist/chunks/{bus-23saz1kp.js → app-n2ccmr4d.js} +11 -11
  204. package/dist/chunks/{bus-1ffj5hr7.js → app-n32dagvk.js} +11 -11
  205. package/dist/chunks/{bus-n21kq4ae.js → app-nfsehd0f.js} +11 -11
  206. package/dist/chunks/{bus-trqrstes.js → app-nkwnz0wb.js} +14 -14
  207. package/dist/chunks/{bus-wam37p85.js → app-nxbcabge.js} +10 -10
  208. package/dist/chunks/{bus-wzk3psm3.js → app-nzzz2haw.js} +4 -4
  209. package/dist/chunks/{bus-m9wy7qrr.js → app-pjedbq3k.js} +6 -6
  210. package/dist/chunks/{bus-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{bus-pknna89w.js → app-pknna89w.js} +1 -1
  212. package/dist/chunks/{bus-2ckzgqv3.js → app-ppkwfznj.js} +23 -23
  213. package/dist/chunks/{bus-xtgghfpp.js → app-pt5tvm9y.js} +9 -9
  214. package/dist/chunks/{bus-prqh86n1.js → app-pv6ewt2y.js} +11 -11
  215. package/dist/chunks/{bus-9ya5zr4m.js → app-q2f8db2z.js} +4 -4
  216. package/dist/chunks/{bus-shjsgrxb.js → app-qcjwwegh.js} +13 -13
  217. package/dist/chunks/{bus-ezae1qs8.js → app-qd8wwfxt.js} +9 -9
  218. package/dist/chunks/{bus-zt4wyys7.js → app-qeb52aay.js} +26 -26
  219. package/dist/chunks/{bus-djx5tkqn.js → app-qnmb4df7.js} +5 -5
  220. package/dist/chunks/{bus-qsdy395h.js → app-qsdy395h.js} +1 -1
  221. package/dist/chunks/{bus-zh3ex7ps.js → app-qt529f91.js} +10 -10
  222. package/dist/chunks/{bus-amrfq6w6.js → app-qv6mxc70.js} +30 -30
  223. package/dist/chunks/{bus-0bmcfma8.js → app-qz319qzx.js} +13 -13
  224. package/dist/chunks/{bus-0rvzsnzh.js → app-r9asyhme.js} +11 -11
  225. package/dist/chunks/{bus-r9mregkx.js → app-r9mregkx.js} +2 -2
  226. package/dist/chunks/{bus-334mtn2p.js → app-rnp7s5g0.js} +14 -14
  227. package/dist/chunks/{bus-2f536cz1.js → app-rnwqg9yc.js} +9 -9
  228. package/dist/chunks/{bus-2gp10rzn.js → app-rtjvja3r.js} +5 -5
  229. package/dist/chunks/{bus-j0n016qx.js → app-s04efnj3.js} +25 -25
  230. package/dist/chunks/{bus-yrznvahk.js → app-s4enseaf.js} +2 -2
  231. package/dist/chunks/{bus-jw80jp6b.js → app-s8j6jbjj.js} +21 -21
  232. package/dist/chunks/{bus-g7392d0a.js → app-s9a4f9r5.js} +32 -32
  233. package/dist/chunks/{bus-bmfd5zff.js → app-sd7bj7eq.js} +46 -46
  234. package/dist/chunks/{bus-ec8389mk.js → app-shh6fz4q.js} +4 -4
  235. package/dist/chunks/{bus-m437k3d3.js → app-sm299svg.js} +30 -30
  236. package/dist/chunks/{bus-55sraxqh.js → app-stbv4b6b.js} +10 -10
  237. package/dist/chunks/{bus-mhct95dk.js → app-std511v1.js} +38 -38
  238. package/dist/chunks/{bus-3fv80nb4.js → app-t27ydrk5.js} +33 -33
  239. package/dist/chunks/{bus-s8d7rejh.js → app-t550f9t1.js} +4 -4
  240. package/dist/chunks/{bus-gndjvj2z.js → app-t8jgb82e.js} +11 -11
  241. package/dist/chunks/{bus-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  242. package/dist/chunks/{bus-krxgbyqk.js → app-tbcfefrg.js} +27 -27
  243. package/dist/chunks/{bus-89znhe33.js → app-tcezcvh9.js} +4 -4
  244. package/dist/chunks/{bus-tdstcens.js → app-tdstcens.js} +1 -1
  245. package/dist/chunks/{bus-wz2jsvc0.js → app-thsenk6x.js} +20 -20
  246. package/dist/chunks/{bus-c78bbtc9.js → app-tn0aqsam.js} +5 -5
  247. package/dist/chunks/{bus-f9jtafww.js → app-tn5dc3vv.js} +20 -20
  248. package/dist/chunks/{bus-qd28bed1.js → app-tss56qfk.js} +18 -18
  249. package/dist/chunks/{bus-tvtrv512.js → app-tvtrv512.js} +1 -1
  250. package/dist/chunks/{bus-4dd5jxqt.js → app-twcq5tv4.js} +15 -15
  251. package/dist/chunks/{bus-epdwxhd2.js → app-vcmt6bb3.js} +6 -6
  252. package/dist/chunks/{bus-veqvce7d.js → app-veqvce7d.js} +1 -1
  253. package/dist/chunks/{bus-6dc8cscg.js → app-vkfqqgrz.js} +34 -34
  254. package/dist/chunks/{bus-jv01nqvq.js → app-vmq7ehpy.js} +5 -5
  255. package/dist/chunks/{bus-vzcthcp8.js → app-vzcthcp8.js} +1 -1
  256. package/dist/chunks/app-w2xtz9sy.js +247 -0
  257. package/dist/chunks/{bus-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{bus-nvmga65c.js → app-wavq5vqb.js} +1 -1
  259. package/dist/chunks/{bus-0q85yanv.js → app-wb658w3t.js} +14 -14
  260. package/dist/chunks/{bus-wd87259q.js → app-wd87259q.js} +1 -1
  261. package/dist/chunks/{bus-7d52b4ts.js → app-wdwjsxs3.js} +1 -1
  262. package/dist/chunks/{bus-rxx5xmz4.js → app-webf8anp.js} +58 -58
  263. package/dist/chunks/{bus-4ph09amq.js → app-wft93wjr.js} +9 -9
  264. package/dist/chunks/{bus-fpt1t5k9.js → app-wx73y07f.js} +22 -22
  265. package/dist/chunks/{bus-5zr57rw5.js → app-wz9vdazb.js} +22 -22
  266. package/dist/chunks/{bus-3bdnfhpy.js → app-x0h4kn5x.js} +28 -28
  267. package/dist/chunks/{bus-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{bus-hk44n11j.js → app-x52yt50w.js} +19 -19
  269. package/dist/chunks/{bus-6kt1brbc.js → app-x6bwxbe7.js} +29 -29
  270. package/dist/chunks/{bus-pk8w8bk6.js → app-xqrmy91b.js} +6 -6
  271. package/dist/chunks/{bus-9nkb7wgy.js → app-xx3k5fjp.js} +295 -295
  272. package/dist/chunks/{bus-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{bus-81swgkk7.js → app-y5mrfvw4.js} +9 -9
  274. package/dist/chunks/{bus-dpkg50ah.js → app-y71avatq.js} +4 -4
  275. package/dist/chunks/{bus-hfzqgcyy.js → app-y73wgz5k.js} +17 -17
  276. package/dist/chunks/{bus-4g01fjsn.js → app-ya24qazg.js} +5 -5
  277. package/dist/chunks/{bus-g4jtkv0q.js → app-ye3z464r.js} +28 -28
  278. package/dist/chunks/{bus-q6jxhr7p.js → app-ygkgm02b.js} +12 -12
  279. package/dist/chunks/{bus-k4ckfpra.js → app-ygmrnnnx.js} +24 -24
  280. package/dist/chunks/{bus-yp2x3t23.js → app-yp2x3t23.js} +1 -1
  281. package/dist/chunks/{bus-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{bus-kv6faprq.js → app-yrqsvr8q.js} +14 -14
  283. package/dist/chunks/{bus-5ph07jxe.js → app-yy9ssmmb.js} +7 -7
  284. package/dist/chunks/{bus-dxr9kpty.js → app-yz2q2fez.js} +37 -37
  285. package/dist/chunks/{bus-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{bus-7x2gvtfy.js → app-za6yq9hg.js} +5 -5
  287. package/dist/chunks/{bus-ve6nm2s5.js → app-zcqf6png.js} +6 -6
  288. package/dist/chunks/{bus-zeh9ct20.js → app-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{bus-rrsck48p.js → app-znvvv44x.js} +18 -18
  290. package/dist/chunks/{bus-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{bus-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +3 -3
  293. package/dist/codemode/instructions.js +11 -11
  294. package/dist/codemode/tool.js +2 -2
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +19 -19
  299. package/dist/config/plugin/agent.js +121 -121
  300. package/dist/config/plugin/command.js +213 -213
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +137 -137
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +120 -120
  305. package/dist/config/plugin/image.js +119 -119
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +121 -121
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +118 -118
  310. package/dist/config/plugin/provider.js +117 -117
  311. package/dist/config/plugin/reference.js +121 -121
  312. package/dist/config/plugin/shell.js +121 -121
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +138 -138
  315. package/dist/config/plugin/snapshot.js +119 -119
  316. package/dist/config/plugin/source.js +117 -117
  317. package/dist/config/plugin/tool-output.js +121 -121
  318. package/dist/config/plugin/websearch.js +119 -119
  319. package/dist/config/plugin/worktree.js +122 -122
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +123 -123
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +82 -82
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +364 -364
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +92 -92
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +89 -89
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +105 -105
  430. package/dist/form.js +83 -83
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +86 -86
  433. package/dist/generate.js +92 -92
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +3 -3
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +356 -356
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +87 -87
  464. package/dist/job.js +76 -76
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +353 -353
  471. package/dist/location.js +88 -88
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +105 -105
  474. package/dist/mcp/instructions.js +126 -126
  475. package/dist/mcp/oauth.js +3 -3
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +3 -3
  479. package/dist/model-resolver.js +87 -87
  480. package/dist/model.js +8 -8
  481. package/dist/models-dev.js +87 -87
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +116 -116
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +87 -87
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +216 -216
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +327 -327
  497. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  498. package/dist/plugin/models-dev.js +76 -76
  499. package/dist/plugin/module.js +7 -7
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +101 -101
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/alibaba.js +2 -2
  504. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  505. package/dist/plugin/provider/azure.js +121 -121
  506. package/dist/plugin/provider/cerebras.js +2 -2
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +118 -118
  511. package/dist/plugin/provider/digitalocean.js +80 -80
  512. package/dist/plugin/provider/dynamic.js +2 -2
  513. package/dist/plugin/provider/factory.js +1 -1
  514. package/dist/plugin/provider/gateway.js +2 -2
  515. package/dist/plugin/provider/github-copilot.js +81 -81
  516. package/dist/plugin/provider/gitlab.js +3 -3
  517. package/dist/plugin/provider/google-vertex.js +2 -2
  518. package/dist/plugin/provider/kilo.js +2 -2
  519. package/dist/plugin/provider/llmgateway.js +77 -77
  520. package/dist/plugin/provider/lmstudio.js +121 -121
  521. package/dist/plugin/provider/modal.js +80 -80
  522. package/dist/plugin/provider/nvidia.js +2 -2
  523. package/dist/plugin/provider/ollama.js +121 -121
  524. package/dist/plugin/provider/openai-compatible.js +1 -1
  525. package/dist/plugin/provider/openai.js +79 -79
  526. package/dist/plugin/provider/opencode.js +80 -80
  527. package/dist/plugin/provider/openrouter.js +3 -3
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/sap-ai-core.js +3 -3
  531. package/dist/plugin/provider/sdk-factory.js +1 -1
  532. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  533. package/dist/plugin/provider/venice.js +2 -2
  534. package/dist/plugin/provider/vercel.js +2 -2
  535. package/dist/plugin/provider/vllm.js +121 -121
  536. package/dist/plugin/provider/xai.js +78 -78
  537. package/dist/plugin/provider/zenmux.js +2 -2
  538. package/dist/plugin/provider.js +159 -159
  539. package/dist/plugin/sdk.js +75 -75
  540. package/dist/plugin/service.js +3 -3
  541. package/dist/plugin/skill.js +137 -137
  542. package/dist/plugin/source-directory.js +1 -1
  543. package/dist/plugin/supervisor.js +346 -346
  544. package/dist/plugin/update.js +6 -6
  545. package/dist/plugin/variant.js +4 -4
  546. package/dist/plugin/vcs/git.js +85 -85
  547. package/dist/plugin/vcs/hg.js +85 -85
  548. package/dist/plugin/warming.js +116 -116
  549. package/dist/plugin/websearch/exa.js +7 -7
  550. package/dist/plugin/websearch/firecrawl.js +8 -8
  551. package/dist/plugin/websearch/index.js +9 -9
  552. package/dist/plugin/websearch/mcp.js +6 -6
  553. package/dist/plugin/websearch/parallel.js +8 -8
  554. package/dist/plugin/websearch/tavily.js +6 -6
  555. package/dist/plugin/websearch/tinyfish.js +8 -8
  556. package/dist/plugin.js +227 -227
  557. package/dist/project/schema.js +8 -8
  558. package/dist/project/sql.js +4 -4
  559. package/dist/project.js +87 -87
  560. package/dist/provider.js +7 -7
  561. package/dist/pty/protocol.js +1 -1
  562. package/dist/pty/schema.js +3 -3
  563. package/dist/pty/ticket.js +1 -1
  564. package/dist/pty.js +97 -97
  565. package/dist/reference/instructions.js +88 -88
  566. package/dist/reference.js +90 -90
  567. package/dist/repository-cache.js +80 -80
  568. package/dist/repository.js +1 -1
  569. package/dist/ripgrep/binary.js +2 -2
  570. package/dist/ripgrep.js +94 -94
  571. package/dist/rpc.js +85 -85
  572. package/dist/schema.js +1 -1
  573. package/dist/session/command.js +73 -73
  574. package/dist/session/compaction.js +133 -133
  575. package/dist/session/context.js +151 -151
  576. package/dist/session/diff.js +87 -87
  577. package/dist/session/environment.js +5 -5
  578. package/dist/session/error.js +7 -7
  579. package/dist/session/event.js +1 -1
  580. package/dist/session/execution/restart.js +220 -220
  581. package/dist/session/execution.js +124 -124
  582. package/dist/session/generate.js +150 -150
  583. package/dist/session/history.js +15 -15
  584. package/dist/session/inbox.js +83 -83
  585. package/dist/session/info.js +3 -3
  586. package/dist/session/instruction-entry.js +76 -76
  587. package/dist/session/instruction-state.js +8 -8
  588. package/dist/session/instructions.js +96 -96
  589. package/dist/session/message-updater.js +4 -4
  590. package/dist/session/message.js +1 -1
  591. package/dist/session/model-request.js +115 -115
  592. package/dist/session/model-transport.js +7 -7
  593. package/dist/session/move.js +130 -130
  594. package/dist/session/projector.js +85 -85
  595. package/dist/session/prompt.js +104 -104
  596. package/dist/session/provider-context.js +3 -3
  597. package/dist/session/revert.js +89 -89
  598. package/dist/session/run-coordinator.js +1 -1
  599. package/dist/session/runner/index.js +3 -3
  600. package/dist/session/runner/llm.js +228 -228
  601. package/dist/session/runner/max-steps.js +1 -1
  602. package/dist/session/runner/model.js +87 -87
  603. package/dist/session/runner/publish-llm-event.js +3 -3
  604. package/dist/session/runner/retry.js +114 -114
  605. package/dist/session/runner/step.js +125 -125
  606. package/dist/session/runner/to-llm-message.js +2 -2
  607. package/dist/session/schema.js +5 -5
  608. package/dist/session/session.js +172 -172
  609. package/dist/session/shell.js +134 -134
  610. package/dist/session/skill.js +102 -102
  611. package/dist/session/sql.js +5 -5
  612. package/dist/session/stats.js +72 -72
  613. package/dist/session/store.js +84 -84
  614. package/dist/session/subagent-completion.js +1 -1
  615. package/dist/session/subagent-job.js +209 -209
  616. package/dist/session/system-prompt.js +3 -3
  617. package/dist/session/title.js +155 -155
  618. package/dist/session/to-session-error.js +111 -111
  619. package/dist/session/transfer.js +216 -216
  620. package/dist/session/usage.js +1 -1
  621. package/dist/session.js +217 -217
  622. package/dist/shell/parse.js +6 -6
  623. package/dist/shell/result.js +1 -1
  624. package/dist/shell/scan.js +1 -1
  625. package/dist/shell/select.js +15 -15
  626. package/dist/shell.js +136 -136
  627. package/dist/skill/discovery.js +6 -6
  628. package/dist/skill/instructions.js +106 -106
  629. package/dist/skill.js +105 -105
  630. package/dist/snapshot.js +88 -88
  631. package/dist/state.js +1 -1
  632. package/dist/tool/html-markdown.js +1 -1
  633. package/dist/tool/http-body.js +1 -1
  634. package/dist/tool/mcp.js +125 -125
  635. package/dist/tool/plugin/edit.js +117 -117
  636. package/dist/tool/plugin/file-diff.js +1 -1
  637. package/dist/tool/plugin/glob.js +117 -117
  638. package/dist/tool/plugin/grep.js +123 -123
  639. package/dist/tool/plugin/opencode.js +3 -3
  640. package/dist/tool/plugin/patch.js +115 -115
  641. package/dist/tool/plugin/question.js +104 -104
  642. package/dist/tool/plugin/read.js +124 -124
  643. package/dist/tool/plugin/shell.js +216 -216
  644. package/dist/tool/plugin/skill.js +108 -108
  645. package/dist/tool/plugin/subagent.js +212 -212
  646. package/dist/tool/plugin/webfetch.js +111 -111
  647. package/dist/tool/plugin/websearch.js +113 -113
  648. package/dist/tool/plugin/write.js +121 -121
  649. package/dist/tool/read-filesystem.js +97 -97
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +8 -8
  652. package/dist/tool.js +11 -11
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/attachment.js +4 -4
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/config.js +16 -16
  666. package/dist/v1/config/error.js +4 -4
  667. package/dist/v1/config/formatter.js +5 -5
  668. package/dist/v1/config/layout.js +1 -1
  669. package/dist/v1/config/lsp.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +4 -4
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/v1/config/server.js +2 -2
  677. package/dist/v1/config/skills.js +3 -3
  678. package/dist/v1/permission.js +1 -1
  679. package/dist/vcs/patch.js +1 -1
  680. package/dist/vcs.js +88 -88
  681. package/dist/websearch.js +83 -83
  682. package/dist/wellknown/plugin.js +75 -75
  683. package/dist/wellknown.js +80 -80
  684. package/dist/workspace/driver.js +3 -3
  685. package/dist/workspace/sql.js +1 -1
  686. package/dist/workspace.js +79 -79
  687. package/dist/worktree/directory.js +2 -2
  688. package/dist/worktree/git.js +10 -10
  689. package/dist/worktree/refresh.js +343 -343
  690. package/dist/worktree/sql.js +5 -5
  691. package/dist/worktree.js +95 -95
  692. package/package.json +8 -8
  693. package/dist/chunks/bus-0mesazry.js +0 -4
  694. package/dist/chunks/bus-371w62z2.js +0 -247
  695. package/dist/chunks/bus-4kb6yah9.js +0 -26
  696. package/dist/chunks/bus-ht5y0zrb.js +0 -18
  697. /package/dist/chunks/{bus-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  698. /package/dist/chunks/{bus-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  699. /package/dist/chunks/{bus-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  700. /package/dist/chunks/{bus-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  701. /package/dist/chunks/{bus-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  702. /package/dist/chunks/{bus-2710q6r3.js → app-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{bus-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{bus-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{bus-359p4xyc.js → app-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{bus-3asan66x.js → app-3asan66x.js} +0 -0
  707. /package/dist/chunks/{bus-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{bus-3w5fmr99.js → app-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{bus-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{bus-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{bus-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{bus-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{bus-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{bus-53557ph1.js → app-53557ph1.js} +0 -0
  715. /package/dist/chunks/{bus-550bvhaj.js → app-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{bus-6prwharc.js → app-6prwharc.js} +0 -0
  717. /package/dist/chunks/{bus-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{bus-7m9af43g.js → app-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{bus-822emrt2.js → app-822emrt2.js} +0 -0
  720. /package/dist/chunks/{bus-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{bus-8n3pysct.js → app-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{bus-922hggd3.js → app-922hggd3.js} +0 -0
  723. /package/dist/chunks/{bus-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{bus-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{bus-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{bus-af5trqkr.js → app-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{bus-afrmfg78.js → app-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{bus-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{bus-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{bus-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{bus-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{bus-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{bus-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{bus-d9fn303g.js → app-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{bus-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{bus-dajrwvna.js → app-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{bus-dap0rakb.js → app-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{bus-df08tz66.js → app-df08tz66.js} +0 -0
  739. /package/dist/chunks/{bus-dy18nga0.js → app-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{bus-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{bus-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{bus-ec1grn59.js → app-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{bus-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{bus-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{bus-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{bus-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{bus-faypxj3z.js → app-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{bus-fd410y7t.js → app-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{bus-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{bus-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{bus-g86h250q.js → app-g86h250q.js} +0 -0
  752. /package/dist/chunks/{bus-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{bus-gftt206x.js → app-gftt206x.js} +0 -0
  754. /package/dist/chunks/{bus-hjbc5kem.js → app-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{bus-hk9envan.js → app-hk9envan.js} +0 -0
  756. /package/dist/chunks/{bus-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{bus-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{bus-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{bus-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{bus-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{bus-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{bus-mp448xyj.js → app-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{bus-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{bus-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{bus-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{bus-njntx4h6.js → app-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{bus-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{bus-q74kybfr.js → app-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{bus-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{bus-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{bus-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{bus-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{bus-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{bus-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{bus-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{bus-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{bus-twg0f83k.js → app-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{bus-w803qqfp.js → app-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{bus-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{bus-wtztk69x.js → app-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{bus-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{bus-x61499pn.js → app-x61499pn.js} +0 -0
  783. /package/dist/chunks/{bus-y44na4kk.js → app-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{bus-y8cydn3q.js → app-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{bus-y8f7s663.js → app-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{bus-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{bus-ym463w8f.js → app-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{bus-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-922hggd3.js";
3
+ } from "./app-922hggd3.js";
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./bus-nt8hxhfc.js";
7
+ } from "./app-mh7g7new.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./bus-wzk3psm3.js";
11
+ } from "./app-nzzz2haw.js";
12
12
  import {
13
- Service78,
14
- node83
15
- } from "./bus-cftjh0pp.js";
13
+ Service76,
14
+ node80
15
+ } from "./app-ggn5tyje.js";
16
16
  import {
17
- ID18,
17
+ ID16,
18
18
  Current3,
19
- Info33,
19
+ Info31,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event19,
22
22
  Vcs3
23
- } from "./bus-81swgkk7.js";
23
+ } from "./app-y5mrfvw4.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./bus-8p4f9s12.js";
27
+ } from "./app-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./bus-cfpkc3c9.js";
30
+ } from "./app-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./bus-9rqn6x4v.js";
33
+ } from "./app-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info32,
39
+ ID: () => ID15,
40
+ Info: () => Info30,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service75,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node79,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID15 = ID16;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info30 = Info31;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
65
+ projectID: ID15
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service75 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service77, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service78;
98
+ const git = yield* Service76;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service79;
101
101
  const db = (yield* Service80).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event20.Updated, fromRow(row));
109
+ yield* bus.publish(Event19.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID17.global,
146
+ previous: project.previous ?? ID15.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
168
168
  if (!row)
169
169
  return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event20.Updated, project);
171
+ yield* bus.publish(Event19.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID15.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID17.make(root) : undefined;
211
+ return root ? ID15.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID17.make(node) : undefined;
227
+ return node ? ID15.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID17.global,
236
+ id: id ?? ID15.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID17.global,
253
+ id: id ?? ID15.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID17.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID15.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service77.of({ list, update, resolve });
273
+ return Service75.of({ list, update, resolve });
274
274
  }));
275
- var node82 = makeGlobalNode({
276
- service: Service77,
275
+ var node79 = makeGlobalNode({
276
+ service: Service75,
277
277
  layer,
278
- deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
278
+ deps: [node84, node85, FSUtil.node, node80, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node82, exports_project };
281
+ export { ID15, Vcs2, Current2, Info30, UpdateInput3, NotFoundError11, root2, Service75, node79, exports_project };
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service80
3
- } from "./bus-nt8hxhfc.js";
3
+ } from "./app-mh7g7new.js";
4
4
  import {
5
5
  Service79
6
- } from "./bus-wzk3psm3.js";
6
+ } from "./app-nzzz2haw.js";
7
7
  import {
8
- Service43
9
- } from "./bus-ve6nm2s5.js";
8
+ Service39
9
+ } from "./app-zcqf6png.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./bus-fxbjtjnd.js";
12
+ } from "./app-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./bus-gftt206x.js";
15
+ } from "./app-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError7,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./bus-ezae1qs8.js";
23
+ } from "./app-qd8wwfxt.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./bus-ec1grn59.js";
26
+ } from "./app-ec1grn59.js";
27
27
  import {
28
- Service70
29
- } from "./bus-0q85yanv.js";
28
+ Service52
29
+ } from "./app-wb658w3t.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service42
34
- } from "./bus-5g77nda4.js";
33
+ Service38
34
+ } from "./app-6p8kmet2.js";
35
35
  import {
36
- Service40
37
- } from "./bus-s9d6zh0h.js";
36
+ Service35
37
+ } from "./app-a63ae20j.js";
38
38
  import {
39
39
  prepare2
40
- } from "./bus-kq4p5btq.js";
40
+ } from "./app-kp27de7n.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./bus-f9jtafww.js";
45
+ } from "./app-tn5dc3vv.js";
46
46
  import {
47
47
  start2
48
- } from "./bus-17xskt1m.js";
48
+ } from "./app-g6anmqeq.js";
49
49
  import {
50
50
  get4
51
- } from "./bus-14e5s19a.js";
51
+ } from "./app-kaef12we.js";
52
52
  import {
53
53
  __export
54
- } from "./bus-9rqn6x4v.js";
54
+ } from "./app-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service70;
69
- const instances = yield* Service43;
70
- const execution = yield* Service40;
71
- const admission = yield* Service42;
68
+ const store = yield* Service52;
69
+ const instances = yield* Service39;
70
+ const execution = yield* Service35;
71
+ const admission = yield* Service38;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError7({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make12 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service43, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service39, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make12 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service43, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service39, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service43, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service39, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service43, instances), Effect.provideService(Service79, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service79, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make12, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make19,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make19(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured6,
11
- layer: () => layer17,
12
- make: () => make19,
13
- node: () => node51,
10
+ configured: () => configured11,
11
+ layer: () => layer25,
12
+ make: () => make21,
13
+ node: () => node82,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make19()
19
+ defaultValue: () => make21()
20
20
  });
21
- function make19(input = {}) {
21
+ function make21(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make19(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer17 = (input) => Layer.succeed(Metadata2, make19(input));
32
- var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
- var node51 = configured6();
31
+ var layer25 = (input) => Layer.succeed(Metadata2, make21(input));
32
+ var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
33
+ var node82 = configured11();
34
34
 
35
- export { Metadata2, make19, useragent2, layer17, configured6, node51, exports_app };
35
+ export { Metadata2, make21, useragent2, layer25, configured11, node82, exports_app };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./bus-wzk3psm3.js";
4
+ } from "./app-nzzz2haw.js";
5
5
  import {
6
6
  environment2
7
- } from "./bus-5zr57rw5.js";
7
+ } from "./app-wz9vdazb.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./bus-sk3qaz4a.js";
10
+ } from "./app-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./app-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: () => NotFoundError5,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError10,
20
+ Options: () => Options8,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service37,
23
- UnavailableError: () => UnavailableError2,
24
- configured: () => configured3,
25
- layer: () => layer13,
26
- node: () => node41
22
+ Service: () => Service69,
23
+ UnavailableError: () => UnavailableError3,
24
+ configured: () => configured7,
25
+ layer: () => layer23,
26
+ node: () => node72
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError10 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service37 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service69 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service37, Effect.gen(function* () {
52
+ var makeLayer = (options = {}) => Layer.effect(Service69, 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(Service37, 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 NotFoundError5({ ptyID: id });
75
+ return yield* new NotFoundError10({ 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(Service37, 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 UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ 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(Service37, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service37.of({
242
+ return Service69.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service37, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer13 = makeLayer();
259
- var configured3 = (options) => makeGlobalNode({
260
- service: Service37,
261
- layer: options === undefined ? layer13 : makeLayer(options),
258
+ var layer23 = makeLayer();
259
+ var configured7 = (options) => makeGlobalNode({
260
+ service: Service69,
261
+ layer: options === undefined ? layer23 : makeLayer(options),
262
262
  deps: [node84, Global.node]
263
263
  });
264
- var node41 = configured3();
264
+ var node72 = configured7();
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 UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
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) });
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, UnavailableError2, NotFoundError5, Service37, layer13, configured3, node41, exports_persistent_pty, Handoff2 };
304
+ export { Options8, UnavailableError3, NotFoundError10, Service69, layer23, configured7, node72, exports_persistent_pty, Handoff2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};